From 15116d6825aed464b6d6fc0a2d75c6fb57568cfc Mon Sep 17 00:00:00 2001 From: Lurkars Date: Sun, 14 Mar 2021 13:14:35 +0100 Subject: [PATCH] fix prod --- dist/we-bstly-angular/index.html | 2 +- ...ain.cdbec2fe05c279c9016e.js => main.9863e96f5a248b959256.js} | 2 +- src/environments/environment.prod.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename dist/we-bstly-angular/{main.cdbec2fe05c279c9016e.js => main.9863e96f5a248b959256.js} (62%) diff --git a/dist/we-bstly-angular/index.html b/dist/we-bstly-angular/index.html index 1449f42..46d0b5b 100644 --- a/dist/we-bstly-angular/index.html +++ b/dist/we-bstly-angular/index.html @@ -9,5 +9,5 @@ - + diff --git a/dist/we-bstly-angular/main.cdbec2fe05c279c9016e.js b/dist/we-bstly-angular/main.9863e96f5a248b959256.js similarity index 62% rename from dist/we-bstly-angular/main.cdbec2fe05c279c9016e.js rename to dist/we-bstly-angular/main.9863e96f5a248b959256.js index f61a2cc..4fb11eb 100644 --- a/dist/we-bstly-angular/main.cdbec2fe05c279c9016e.js +++ b/dist/we-bstly-angular/main.9863e96f5a248b959256.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"+s0g":function(e,t,r){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),r="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),n=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?r[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",w:"\xe9\xe9n week",ww:"%d weken",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(r("wd/R"))},"//9w":function(e,t,r){!function(e){"use strict";e.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r("wd/R"))},"/X5v":function(e,t,r){!function(e){"use strict";e.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(r("wd/R"))},0:function(e,t,r){e.exports=r("zUnb")},"0FX9":function(e,t,r){var n=r("Z92M"),i=r("qmMu"),s=r("QUaw"),a=r("QAZZ");function o(e,t,r,s,a){var o=[].slice.call(arguments,1),l=o.length,c="function"==typeof o[l-1];if(!c&&!n())throw new Error("Callback required as last argument");if(!c){if(l<1)throw new Error("Too few arguments provided");return 1===l?(r=t,t=s=void 0):2!==l||t.getContext||(s=r,r=t,t=void 0),new Promise((function(n,a){try{var o=i.create(r,s);n(e(o,t,s))}catch(l){a(l)}}))}if(l<2)throw new Error("Too few arguments provided");2===l?(a=r,r=t,t=s=void 0):3===l&&(t.getContext&&void 0===a?(a=s,s=void 0):(a=s,s=r,r=t,t=void 0));try{var d=i.create(r,s);a(null,e(d,t,s))}catch(u){a(u)}}t.create=i.create,t.toCanvas=o.bind(null,s.render),t.toDataURL=o.bind(null,s.renderToDataURL),t.toString=o.bind(null,(function(e,t,r){return a.render(e,r)}))},"0mo+":function(e,t,r){!function(e){"use strict";var t={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},r={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};e.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(e){return e.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===t&&e>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===t&&e<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===t?e+12:e},meridiem:function(e,t,r){return e<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":e<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":e<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":e<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(r("wd/R"))},"0tRk":function(e,t,r){!function(e){"use strict";e.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",invalidDate:"Data inv\xe1lida"})}(r("wd/R"))},"1ppg":function(e,t,r){!function(e){"use strict";e.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(r("wd/R"))},"1rYy":function(e,t,r){!function(e){"use strict";e.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(e){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(e)},meridiem:function(e){return e<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":e<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":e<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-\u056b\u0576":e+"-\u0580\u0564";default:return e}},week:{dow:1,doy:7}})}(r("wd/R"))},"1sBl":function(e,t,r){var n=r("e/Dd").getSymbolSize;t.getRowColCoords=function(e){if(1===e)return[];for(var t=Math.floor(e/7)+2,r=n(e),i=145===r?26:2*Math.ceil((r-13)/(2*t-2)),s=[r-7],a=1;a=20?"ste":"de")},week:{dow:1,doy:4}})}(r("wd/R"))},"3E1r":function(e,t,r){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},r={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},n=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];e.defineLocale("hi",{months:{format:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\u092c\u0930".split("_")},monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},monthsParse:n,longMonthsParse:n,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908?|\u0905\u0917\u0938\u094d\u0924?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\u091c\u0928\.?|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\.?|\u0905\u0917\.?|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\.?|\u0926\u093f\u0938\.?)/i,calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924"===t?e<4?e:e+12:"\u0938\u0941\u092c\u0939"===t?e:"\u0926\u094b\u092a\u0939\u0930"===t?e>=10?e:e+12:"\u0936\u093e\u092e"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"\u0930\u093e\u0924":e<10?"\u0938\u0941\u092c\u0939":e<17?"\u0926\u094b\u092a\u0939\u0930":e<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(r("wd/R"))},"3X7Y":function(e,t,r){var n=r("u/Db");function i(e){this.mode=n.NUMERIC,this.data=e.toString()}i.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(e){var t,r,n;for(t=0;t+3<=this.data.length;t+=3)r=this.data.substr(t,3),n=parseInt(r,10),e.put(n,10);var i=this.data.length-t;i>0&&(r=this.data.substr(t),n=parseInt(r,10),e.put(n,3*i+1))},e.exports=i},"4MV3":function(e,t,r){!function(e){"use strict";var t={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},r={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};e.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ab9\u0ac7\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(e){return e.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0ab0\u0abe\u0aa4"===t?e<4?e:e+12:"\u0ab8\u0ab5\u0abe\u0ab0"===t?e:"\u0aac\u0aaa\u0acb\u0ab0"===t?e>=10?e:e+12:"\u0ab8\u0abe\u0a82\u0a9c"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"\u0ab0\u0abe\u0aa4":e<10?"\u0ab8\u0ab5\u0abe\u0ab0":e<17?"\u0aac\u0aaa\u0acb\u0ab0":e<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(r("wd/R"))},"4dOw":function(e,t,r){!function(e){"use strict";e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(r("wd/R"))},"6+QB":function(e,t,r){!function(e){"use strict";e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,r){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(r("wd/R"))},"6B0Y":function(e,t,r){!function(e){"use strict";var t={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},r={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};e.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(e){return"\u179b\u17d2\u1784\u17b6\u1785"===e},meridiem:function(e,t,r){return e<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(e){return e.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(r("wd/R"))},"7BjC":function(e,t,r){!function(e){"use strict";function t(e,t,r,n){var i={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[e+" minuti",e+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[e+" tunni",e+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[e+" kuu",e+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[e+" aasta",e+" aastat"]};return t?i[r][2]?i[r][2]:i[r][1]:n?i[r][0]:i[r][1]}e.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d p\xe4eva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r("wd/R"))},"7C5Q":function(e,t,r){!function(e){"use strict";e.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:6}})}(r("wd/R"))},"7aV9":function(e,t,r){!function(e){"use strict";e.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(e){return e+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(e){return"\u0db4.\u0dc0."===e||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===e},meridiem:function(e,t,r){return e>11?r?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":r?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(r("wd/R"))},"7uVY":function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},"8/+R":function(e,t,r){!function(e){"use strict";var t={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},r={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};e.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(e){return e.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0a30\u0a3e\u0a24"===t?e<4?e:e+12:"\u0a38\u0a35\u0a47\u0a30"===t?e:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===t?e>=10?e:e+12:"\u0a38\u0a3c\u0a3e\u0a2e"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"\u0a30\u0a3e\u0a24":e<10?"\u0a38\u0a35\u0a47\u0a30":e<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":e<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(r("wd/R"))},"8mBD":function(e,t,r){!function(e){"use strict";e.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(r("wd/R"))},"9rRi":function(e,t,r){!function(e){"use strict";e.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(r("wd/R"))},"A+xa":function(e,t,r){!function(e){"use strict";e.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(e){return e+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(e)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(e)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(r("wd/R"))},AQ68:function(e,t,r){!function(e){"use strict";e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(r("wd/R"))},AZa5:function(e,t,r){var n=r("Wogr"),i=r("u/Db");function s(e){this.mode=i.BYTE,this.data=new n(e)}s.getBitsLength=function(e){return 8*e},s.prototype.getLength=function(){return this.data.length},s.prototype.getBitsLength=function(){return s.getBitsLength(this.data.length)},s.prototype.write=function(e){for(var t=0,r=this.data.length;t=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===t||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===t?e+12:e},meridiem:function(e,t,r){return e<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":e<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":e<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":e<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(r("wd/R"))},B55N:function(e,t,r){!function(e){"use strict";e.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(e,t){return"\u5143"===t[1]?1:parseInt(t[1]||e,10)},months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(e){return"\u5348\u5f8c"===e},meridiem:function(e,t,r){return e<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(e){return e.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(e){return this.week()!==e.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(e,t){switch(t){case"y":return 1===e?"\u5143\u5e74":e+"\u5e74";case"d":case"D":case"DDD":return e+"\u65e5";default:return e}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(r("wd/R"))},BCVQ:function(e,t){var r="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+",n="(?:(?![A-Z0-9 $%*+\\-./:]|"+(r=r.replace(/u/g,"\\u"))+")(?:.|[\r\n]))+";t.KANJI=new RegExp(r,"g"),t.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),t.BYTE=new RegExp(n,"g"),t.NUMERIC=new RegExp("[0-9]+","g"),t.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");var i=new RegExp("^"+r+"$"),s=new RegExp("^[0-9]+$"),a=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");t.testKanji=function(e){return i.test(e)},t.testNumeric=function(e){return s.test(e)},t.testAlphanumeric=function(e){return a.test(e)}},BVg3:function(e,t,r){!function(e){"use strict";function t(e){return e%100==11||e%10!=1}function r(e,r,n,i){var s=e+" ";switch(n){case"s":return r||i?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return t(e)?s+(r||i?"sek\xfandur":"sek\xfandum"):s+"sek\xfanda";case"m":return r?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return t(e)?s+(r||i?"m\xedn\xfatur":"m\xedn\xfatum"):r?s+"m\xedn\xfata":s+"m\xedn\xfatu";case"hh":return t(e)?s+(r||i?"klukkustundir":"klukkustundum"):s+"klukkustund";case"d":return r?"dagur":i?"dag":"degi";case"dd":return t(e)?r?s+"dagar":s+(i?"daga":"d\xf6gum"):r?s+"dagur":s+(i?"dag":"degi");case"M":return r?"m\xe1nu\xf0ur":i?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return t(e)?r?s+"m\xe1nu\xf0ir":s+(i?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):r?s+"m\xe1nu\xf0ur":s+(i?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return r||i?"\xe1r":"\xe1ri";case"yy":return t(e)?s+(r||i?"\xe1r":"\xe1rum"):s+(r||i?"\xe1r":"\xe1ri")}}e.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:r,ss:r,m:r,mm:r,h:"klukkustund",hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r("wd/R"))},ByF4:function(e,t,r){!function(e){"use strict";e.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r("wd/R"))},CjzT:function(e,t,r){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),r="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?r[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(r("wd/R"))},CoRJ:function(e,t,r){!function(e){"use strict";e.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(r("wd/R"))},"D/JM":function(e,t,r){!function(e){"use strict";e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(r("wd/R"))},"DKr+":function(e,t,r){!function(e){"use strict";function t(e,t,r,n){var i={s:["thoddea sekondamni","thodde sekond"],ss:[e+" sekondamni",e+" sekond"],m:["eka mintan","ek minut"],mm:[e+" mintamni",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voramni",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disamni",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineamni",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsamni",e+" vorsam"]};return n?i[r][0]:i[r][1]}e.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokallim"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}})}(r("wd/R"))},Dkky:function(e,t,r){!function(e){"use strict";e.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(r("wd/R"))},Dmvi:function(e,t,r){!function(e){"use strict";e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:4}})}(r("wd/R"))},DoHr:function(e,t,r){!function(e){"use strict";var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};e.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(e,t,r){return e<12?r?"\xf6\xf6":"\xd6\xd6":r?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(e){return"\xf6s"===e||"\xd6S"===e},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(e,r){switch(r){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'\u0131nc\u0131";var n=e%10;return e+(t[n]||t[e%100-n]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(r("wd/R"))},DxQv:function(e,t,r){!function(e){"use strict";e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r("wd/R"))},Dzi0:function(e,t,r){!function(e){"use strict";e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(r("wd/R"))},"E+lV":function(e,t,r){!function(e){"use strict";var t={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u0435 \u043c\u0438\u043d\u0443\u0442\u0435"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0435","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],yy:["\u0433\u043e\u0434\u0438\u043d\u0430","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,r,n){var i=t.words[n];return 1===n.length?r?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}};e.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"\u0434\u0430\u043d",dd:t.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:t.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(r("wd/R"))},ELBg:function(e,t,r){"use strict";var n={single_source_shortest_paths:function(e,t,r){var i={},s={};s[t]=0;var a,o,l,c,d,u,h=n.PriorityQueue.make();for(h.push(t,0);!h.empty();)for(l in c=(a=h.pop()).cost,d=e[o=a.value]||{})d.hasOwnProperty(l)&&(u=c+d[l],(void 0===s[l]||s[l]>u)&&(s[l]=u,h.push(l,u),i[l]=o));if(void 0!==r&&void 0===s[r]){var f=["Could not find a path from ",t," to ",r,"."].join("");throw new Error(f)}return i},extract_shortest_path_from_predecessor_list:function(e,t){for(var r=[],n=t;n;)r.push(n),n=e[n];return r.reverse(),r},find_path:function(e,t,r){var i=n.single_source_shortest_paths(e,t,r);return n.extract_shortest_path_from_predecessor_list(i,r)},PriorityQueue:{make:function(e){var t,r=n.PriorityQueue,i={};for(t in e=e||{},r)r.hasOwnProperty(t)&&(i[t]=r[t]);return i.queue=[],i.sorter=e.sorter||r.default_sorter,i},default_sorter:function(e,t){return e.cost-t.cost},push:function(e,t){this.queue.push({value:e,cost:t}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};e.exports=n},EOgW:function(e,t,r){!function(e){"use strict";e.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(e){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===e},meridiem:function(e,t,r){return e<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(r("wd/R"))},Fnuy:function(e,t,r){!function(e){"use strict";e.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(e,t){var r=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"\xe8";return"w"!==t&&"W"!==t||(r="a"),e+r},week:{dow:1,doy:4}})}(r("wd/R"))},G0Uy:function(e,t,r){!function(e){"use strict";e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(r("wd/R"))},H8ED:function(e,t,r){!function(e){"use strict";function t(e,t,r){return"m"===r?t?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===r?t?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":e+" "+(n=+e,i={ss:t?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:t?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:t?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[r].split("_"),n%10==1&&n%100!=11?i[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?i[1]:i[2]);var n,i}e.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:t,mm:t,h:t,hh:t,d:"\u0434\u0437\u0435\u043d\u044c",dd:t,M:"\u043c\u0435\u0441\u044f\u0446",MM:t,y:"\u0433\u043e\u0434",yy:t},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(e)},meridiem:function(e,t,r){return e<4?"\u043d\u043e\u0447\u044b":e<12?"\u0440\u0430\u043d\u0456\u0446\u044b":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-\u044b":e+"-\u0456";case"D":return e+"-\u0433\u0430";default:return e}},week:{dow:1,doy:7}})}(r("wd/R"))},HP3h:function(e,t,r){!function(e){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},r=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},n={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},i=function(e){return function(t,i,s,a){var o=r(t),l=n[e][r(t)];return 2===o&&(l=l[i?0:1]),l.replace(/%d/i,t)}},s=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];e.defineLocale("ar-ly",{months:s,monthsShort:s,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,r){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(r("wd/R"))},IBtZ:function(e,t,r){!function(e){"use strict";e.defineLocale("ka",{months:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(e){return e.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,(function(e,t,r){return"\u10d8"===r?t+"\u10e8\u10d8":t+r+"\u10e8\u10d8"}))},past:function(e){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(e)?e.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(e)?e.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):e},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(e){return 0===e?e:1===e?e+"-\u10da\u10d8":e<20||e<=100&&e%20==0||e%100==0?"\u10db\u10d4-"+e:e+"-\u10d4"},week:{dow:1,doy:7}})}(r("wd/R"))},"Ivi+":function(e,t,r){!function(e){"use strict";e.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\uc77c";case"M":return e+"\uc6d4";case"w":case"W":return e+"\uc8fc";default:return e}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(e){return"\uc624\ud6c4"===e},meridiem:function(e,t,r){return e<12?"\uc624\uc804":"\uc624\ud6c4"}})}(r("wd/R"))},J6Nv:function(e,t){t.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}},"JCF/":function(e,t,r){!function(e){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},r={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},n=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];e.defineLocale("ku",{months:n,monthsShort:n,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(e){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(e)},meridiem:function(e,t,r){return e<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,(function(e){return r[e]})).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(r("wd/R"))},JVSJ:function(e,t,r){!function(e){"use strict";function t(e,t,r){var n=e+" ";switch(r){case"ss":return n+(1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi");case"m":return t?"jedna minuta":"jedne minute";case"mm":return n+(1===e?"minuta":2===e||3===e||4===e?"minute":"minuta");case"h":return t?"jedan sat":"jednog sata";case"hh":return n+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return n+(1===e?"dan":"dana");case"MM":return n+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return n+(1===e?"godina":2===e||3===e||4===e?"godine":"godina")}}e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(r("wd/R"))},JvlW:function(e,t,r){!function(e){"use strict";var t={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function r(e,t,r,n){return t?i(r)[0]:n?i(r)[1]:i(r)[2]}function n(e){return e%10==0||e>10&&e<20}function i(e){return t[e].split("_")}function s(e,t,s,a){var o=e+" ";return 1===e?o+r(0,t,s[0],a):t?o+(n(e)?i(s)[1]:i(s)[0]):a?o+i(s)[1]:o+(n(e)?i(s)[1]:i(s)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function(e,t,r,n){return t?"kelios sekund\u0117s":n?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:s,m:r,mm:s,h:r,hh:s,d:r,dd:s,M:r,MM:s,y:r,yy:s},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(r("wd/R"))},JzKC:function(e,t,r){var n=r("Wogr"),i=r("aZ40");t.mul=function(e,t){var r=new n(e.length+t.length-1);r.fill(0);for(var s=0;s=0;){for(var s=r[0],a=0;a=20?"ste":"de")},week:{dow:1,doy:4}})}(r("wd/R"))},KSF8:function(e,t,r){!function(e){"use strict";e.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,r){return e<12?r?"sa":"SA":r?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(r("wd/R"))},KTz0:function(e,t,r){!function(e){"use strict";var t={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,r,n){var i=t.words[n];return 1===n.length?r?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(r("wd/R"))},Loxo:function(e,t,r){!function(e){"use strict";e.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(r("wd/R"))},Lzq4:function(e,t,r){var n=r("u/Db"),i=r("e/Dd");function s(e){this.mode=n.KANJI,this.data=e}s.getBitsLength=function(e){return 13*e},s.prototype.getLength=function(){return this.data.length},s.prototype.getBitsLength=function(){return s.getBitsLength(this.data.length)},s.prototype.write=function(e){var t;for(t=0;t=33088&&r<=40956)r-=33088;else{if(!(r>=57408&&r<=60351))throw new Error("Invalid SJIS character: "+this.data[t]+"\nMake sure your charset is UTF-8");r-=49472}e.put(r=192*(r>>>8&255)+(255&r),13)}},e.exports=s},NPxG:function(e,t,r){var n=r("ekOh"),i=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],s=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];t.getBlocksCount=function(e,t){switch(t){case n.L:return i[4*(e-1)+0];case n.M:return i[4*(e-1)+1];case n.Q:return i[4*(e-1)+2];case n.H:return i[4*(e-1)+3];default:return}},t.getTotalCodewordsCount=function(e,t){switch(t){case n.L:return s[4*(e-1)+0];case n.M:return s[4*(e-1)+1];case n.Q:return s[4*(e-1)+2];case n.H:return s[4*(e-1)+3];default:return}}},OIYi:function(e,t,r){!function(e){"use strict";e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(r("wd/R"))},Oaa7:function(e,t,r){!function(e){"use strict";e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(r("wd/R"))},Ob0Z:function(e,t,r){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},r={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function n(e,t,r,n){var i="";if(t)switch(r){case"s":i="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":i="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":i="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":i="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":i="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":i="%d \u0924\u093e\u0938";break;case"d":i="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":i="%d \u0926\u093f\u0935\u0938";break;case"M":i="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":i="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":i="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":i="%d \u0935\u0930\u094d\u0937\u0947"}else switch(r){case"s":i="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":i="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":i="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":i="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":i="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":i="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":i="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":i="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":i="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":i="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":i="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":i="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return i.replace(/%d/i,e)}e.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u092a\u0939\u093e\u091f\u0947"===t||"\u0938\u0915\u093e\u0933\u0940"===t?e:"\u0926\u0941\u092a\u093e\u0930\u0940"===t||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===t||"\u0930\u093e\u0924\u094d\u0930\u0940"===t?e>=12?e:e+12:void 0},meridiem:function(e,t,r){return e>=0&&e<6?"\u092a\u0939\u093e\u091f\u0947":e<12?"\u0938\u0915\u093e\u0933\u0940":e<17?"\u0926\u0941\u092a\u093e\u0930\u0940":e<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(r("wd/R"))},OjkT:function(e,t,r){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},r={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};e.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924\u093f"===t?e<4?e:e+12:"\u092c\u093f\u0939\u093e\u0928"===t?e:"\u0926\u093f\u0909\u0901\u0938\u094b"===t?e>=10?e:e+12:"\u0938\u093e\u0901\u091d"===t?e+12:void 0},meridiem:function(e,t,r){return e<3?"\u0930\u093e\u0924\u093f":e<12?"\u092c\u093f\u0939\u093e\u0928":e<16?"\u0926\u093f\u0909\u0901\u0938\u094b":e<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(r("wd/R"))},OmwH:function(e,t,r){!function(e){"use strict";e.defineLocale("zh-mo",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e2d\u5348"===t?e>=11?e:e+12:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:void 0},meridiem:function(e,t,r){var n=100*e+t;return n<600?"\u51cc\u6668":n<900?"\u65e9\u4e0a":n<1130?"\u4e0a\u5348":n<1230?"\u4e2d\u5348":n<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(r("wd/R"))},Oxv6:function(e,t,r){!function(e){"use strict";var t={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};e.defineLocale("tg",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_")},monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u0424\u0430\u0440\u0434\u043e \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0448\u0430\u0431"===t?e<4?e:e+12:"\u0441\u0443\u0431\u04b3"===t?e:"\u0440\u04ef\u0437"===t?e>=11?e:e+12:"\u0431\u0435\u0433\u043e\u04b3"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"\u0448\u0430\u0431":e<11?"\u0441\u0443\u0431\u04b3":e<16?"\u0440\u04ef\u0437":e<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(r("wd/R"))},PA2r:function(e,t,r){!function(e){"use strict";var t="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),r="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),n=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],i=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function s(e){return e>1&&e<5&&1!=~~(e/10)}function a(e,t,r,n){var i=e+" ";switch(r){case"s":return t||n?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return t||n?i+(s(e)?"sekundy":"sekund"):i+"sekundami";case"m":return t?"minuta":n?"minutu":"minutou";case"mm":return t||n?i+(s(e)?"minuty":"minut"):i+"minutami";case"h":return t?"hodina":n?"hodinu":"hodinou";case"hh":return t||n?i+(s(e)?"hodiny":"hodin"):i+"hodinami";case"d":return t||n?"den":"dnem";case"dd":return t||n?i+(s(e)?"dny":"dn\xed"):i+"dny";case"M":return t||n?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return t||n?i+(s(e)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):i+"m\u011bs\xedci";case"y":return t||n?"rok":"rokem";case"yy":return t||n?i+(s(e)?"roky":"let"):i+"lety"}}e.defineLocale("cs",{months:t,monthsShort:r,monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r("wd/R"))},PeUW:function(e,t,r){!function(e){"use strict";var t={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},r={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};e.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(e){return e+"\u0bb5\u0ba4\u0bc1"},preparse:function(e){return e.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(e,t,r){return e<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":e<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":e<10?" \u0b95\u0bbe\u0bb2\u0bc8":e<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":e<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":e<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(e,t){return 12===e&&(e=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===t?e<2?e:e+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===t||"\u0b95\u0bbe\u0bb2\u0bc8"===t||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})}(r("wd/R"))},PpIw:function(e,t,r){!function(e){"use strict";var t={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},r={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};e.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(e){return e.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===t?e<4?e:e+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===t?e:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===t?e>=10?e:e+12:"\u0cb8\u0c82\u0c9c\u0cc6"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":e<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":e<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":e<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(e){return e+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(r("wd/R"))},QAZZ:function(e,t,r){var n=r("Rb7d");function i(e,t){var r=e.a/255,n=t+'="'+e.hex+'"';return r<1?n+" "+t+'-opacity="'+r.toFixed(2).slice(1)+'"':n}function s(e,t,r){var n=e+t;return void 0!==r&&(n+=" "+r),n}t.render=function(e,t,r){var a=n.getOptions(t),o=e.modules.size,l=e.modules.data,c=o+2*a.margin,d=a.color.light.a?"':"",u="0&&c>0&&e[l-1]||(n+=a?s("M",c+r,.5+d+r):s("m",i,0),i=0,a=!1),c+1',h=''+d+u+"\n";return"function"==typeof r&&r(null,h),h}},QUaw:function(e,t,r){var n=r("Rb7d");t.render=function(e,t,r){var i=r,s=t;void 0!==i||t&&t.getContext||(i=t,t=void 0),t||(s=function(){try{return document.createElement("canvas")}catch(e){throw new Error("You need to specify a canvas element")}}()),i=n.getOptions(i);var a=n.getImageWidth(e.modules.size,i),o=s.getContext("2d"),l=o.createImageData(a,a);return n.qrToImageData(l.data,e,i),function(e,t,r){e.clearRect(0,0,t.width,t.height),t.style||(t.style={}),t.height=r,t.width=r,t.style.height=r+"px",t.style.width=r+"px"}(o,s,a),o.putImageData(l,0,0),s},t.renderToDataURL=function(e,r,n){var i=n;return void 0!==i||r&&r.getContext||(i=r,r=void 0),i||(i={}),t.render(e,r,i).toDataURL(i.type||"image/png",(i.rendererOpts||{}).quality)}},QYcz:function(e,t,r){e.exports=function e(t,r,n){function i(a,o){if(!r[a]){if(!t[a]){if(s)return s(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var c=r[a]={exports:{}};t[a][0].call(c.exports,(function(e){return i(t[a][1][e]||e)}),c,c.exports,e,t,r,n)}return r[a].exports}for(var s=!1,a=0;a`Symbol(${e})`,n="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:void 0,i=Number.isNaN||function(e){return e!=e};function s(e){return"object"==typeof e&&null!==e||"function"==typeof e}function a(e,t,r){Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0})}function o(e){return e.slice()}function l(e,t,r,n,i){new Uint8Array(e).set(new Uint8Array(r,n,i),t)}function c(e){return!1!==function(e){return!("number"!=typeof e||i(e)||e<0)}(e)&&e!==1/0}function d(e,t,r){if("function"!=typeof e)throw new TypeError("Argument is not a function");return Function.prototype.apply.call(e,t,r)}function u(e,t,r,n){const i=e[t];if(void 0!==i){if("function"!=typeof i)throw new TypeError(i+" is not a method");switch(r){case 0:return()=>f(i,e,n);case 1:return t=>{const r=[t].concat(n);return f(i,e,r)}}}return()=>Promise.resolve()}function h(e,t,r){const n=e[t];if(void 0!==n)return d(n,e,r)}function f(e,t,r){try{return Promise.resolve(d(e,t,r))}catch(e){return Promise.reject(e)}}function m(e){if(e=Number(e),i(e)||e<0)throw new RangeError("highWaterMark property of a queuing strategy must be non-negative and non-NaN");return e}function p(e){if(void 0===e)return()=>1;if("function"!=typeof e)throw new TypeError("size property of a queuing strategy must be a function");return t=>e(t)}function _(e,t,r){return Promise.prototype.then.call(e,t,r)}function g(e,t,r){let n,i;const s=new Promise((e,t)=>{n=e,i=t});return void 0===r&&(r=e=>{throw e}),function(e,t,r){let n=!1;const i=e=>{!1===n&&(n=!0,r(e))};let s=0,a=0;const o=e.length,l=new Array(o);for(const c of e){const e=s;_(c,r=>{l[e]=r,++a===o&&t(l)},i),++s}}(e,e=>{try{const r=t(e);n(r)}catch(e){i(e)}},e=>{try{const t=r(e);n(t)}catch(e){i(e)}}),s}function y(e){}function b(e){e&&e instanceof y.AssertionError&&setTimeout(()=>{throw e},0)}function v(e){const t=e._queue.shift();return e._queueTotalSize-=t.size,e._queueTotalSize<0&&(e._queueTotalSize=0),t.value}function w(e,t,r){if(!c(r=Number(r)))throw new RangeError("Size must be a finite, non-NaN, non-negative number.");e._queue.push({value:t,size:r}),e._queueTotalSize+=r}function k(e){e._queue=[],e._queueTotalSize=0}y.AssertionError=function(){};const M=r("[[AbortSteps]]"),S=r("[[ErrorSteps]]");class x{constructor(e={},t={}){D(this);const r=t.size;let n=t.highWaterMark;if(void 0!==e.type)throw new RangeError("Invalid type is specified");const i=p(r);void 0===n&&(n=1),function(e,t,r,n){const i=Object.create(U.prototype),s=u(t,"write",1,[i]),a=u(t,"close",0,[]),o=u(t,"abort",1,[]);V(e,i,(function(){return h(t,"start",[i])}),s,a,o,r,n)}(this,e,n=m(n),i)}get locked(){if(!1===L(this))throw J("locked");return A(this)}abort(e){return!1===L(this)?Promise.reject(J("abort")):!0===A(this)?Promise.reject(new TypeError("Cannot abort a stream that already has a writer")):E(this,e)}getWriter(){if(!1===L(this))throw J("getWriter");return C(this)}}function C(e){return new j(e)}function D(e){e._state="writable",e._storedError=void 0,e._writer=void 0,e._writableStreamController=void 0,e._writeRequests=[],e._inFlightWriteRequest=void 0,e._closeRequest=void 0,e._inFlightCloseRequest=void 0,e._pendingAbortRequest=void 0,e._backpressure=!1}function L(e){return!!s(e)&&!!Object.prototype.hasOwnProperty.call(e,"_writableStreamController")}function A(e){return void 0!==e._writer}function E(e,t){const r=e._state;if("closed"===r||"errored"===r)return Promise.resolve(void 0);if(void 0!==e._pendingAbortRequest)return e._pendingAbortRequest._promise;let n=!1;"erroring"===r&&(n=!0,t=void 0);const i=new Promise((r,i)=>{e._pendingAbortRequest={_promise:void 0,_resolve:r,_reject:i,_reason:t,_wasAlreadyErroring:n}});return e._pendingAbortRequest._promise=i,!1===n&&P(e,t),i}function T(e,t){"writable"!==e._state?Y(e):P(e,t)}function P(e,t){const r=e._writableStreamController;e._state="erroring",e._storedError=t;const n=e._writer;void 0!==n&&N(n,t),!1===function(e){return void 0!==e._inFlightWriteRequest||void 0!==e._inFlightCloseRequest}(e)&&!0===r._started&&Y(e)}function Y(e){e._state="errored",e._writableStreamController[S]();const t=e._storedError;for(const n of e._writeRequests)n._reject(t);if(e._writeRequests=[],void 0===e._pendingAbortRequest)return void O(e);const r=e._pendingAbortRequest;if(e._pendingAbortRequest=void 0,!0===r._wasAlreadyErroring)return r._reject(t),void O(e);e._writableStreamController[M](r._reason).then(()=>{r._resolve(),O(e)},t=>{r._reject(t),O(e)})}function R(e){return void 0!==e._closeRequest||void 0!==e._inFlightCloseRequest}function O(e){void 0!==e._closeRequest&&(e._closeRequest._reject(e._storedError),e._closeRequest=void 0);const t=e._writer;void 0!==t&&re(t,e._storedError)}function I(e,t){const r=e._writer;void 0!==r&&t!==e._backpressure&&(!0===t?function(e){ie(e)}(r):le(r)),e._backpressure=t}class j{constructor(e){if(!1===L(e))throw new TypeError("WritableStreamDefaultWriter can only be constructed with a WritableStream instance");if(!0===A(e))throw new TypeError("This stream has already been locked for exclusive writing by another writer");this._ownerWritableStream=e,e._writer=this;const t=e._state;if("writable"===t)!1===R(e)&&!0===e._backpressure?ie(this):ae(this),ee(this);else if("erroring"===t)se(this,e._storedError),ee(this);else if("closed"===t)ae(this),function(e){ee(e),ne(e)}(this);else{const t=e._storedError;se(this,t),te(this,t)}}get closed(){return!1===F(this)?Promise.reject(Q("closed")):this._closedPromise}get desiredSize(){if(!1===F(this))throw Q("desiredSize");if(void 0===this._ownerWritableStream)throw X("desiredSize");return function(e){const t=e._ownerWritableStream,r=t._state;return"errored"===r||"erroring"===r?null:"closed"===r?0:W(t._writableStreamController)}(this)}get ready(){return!1===F(this)?Promise.reject(Q("ready")):this._readyPromise}abort(e){return!1===F(this)?Promise.reject(Q("abort")):void 0===this._ownerWritableStream?Promise.reject(X("abort")):function(e,t){return E(e._ownerWritableStream,t)}(this,e)}close(){if(!1===F(this))return Promise.reject(Q("close"));const e=this._ownerWritableStream;return void 0===e?Promise.reject(X("close")):!0===R(e)?Promise.reject(new TypeError("cannot close an already-closing stream")):H(this)}releaseLock(){if(!1===F(this))throw Q("releaseLock");void 0!==this._ownerWritableStream&&B(this)}write(e){return!1===F(this)?Promise.reject(Q("write")):void 0===this._ownerWritableStream?Promise.reject(X("write to")):z(this,e)}}function F(e){return!!s(e)&&!!Object.prototype.hasOwnProperty.call(e,"_ownerWritableStream")}function H(e){const t=e._ownerWritableStream,r=t._state;if("closed"===r||"errored"===r)return Promise.reject(new TypeError(`The stream (in ${r} state) is not in the writable state and cannot be closed`));const n=new Promise((e,r)=>{t._closeRequest={_resolve:e,_reject:r}});return!0===t._backpressure&&"writable"===r&&le(e),function(e){w(e,"close",0),q(e)}(t._writableStreamController),n}function N(e,t){"pending"===e._readyPromiseState?oe(e,t):function(e,t){se(e,t)}(e,t)}function B(e){const t=e._ownerWritableStream,r=new TypeError("Writer was released and can no longer be used to monitor the stream's closedness");N(e,r),function(e,t){"pending"===e._closedPromiseState?re(e,t):function(e,t){te(e,t)}(e,t)}(e,r),t._writer=void 0,e._ownerWritableStream=void 0}function z(e,t){const r=e._ownerWritableStream,n=r._writableStreamController,i=function(e,t){try{return e._strategySizeAlgorithm(t)}catch(t){return G(e,t),1}}(n,t);if(r!==e._ownerWritableStream)return Promise.reject(X("write to"));const s=r._state;if("errored"===s)return Promise.reject(r._storedError);if(!0===R(r)||"closed"===s)return Promise.reject(new TypeError("The stream is closing or closed and cannot be written to"));if("erroring"===s)return Promise.reject(r._storedError);const a=function(e){return new Promise((t,r)=>{e._writeRequests.push({_resolve:t,_reject:r})})}(r);return function(e,t,r){const n={chunk:t};try{w(e,n,r)}catch(t){return void G(e,t)}const i=e._controlledWritableStream;!1===R(i)&&"writable"===i._state&&I(i,$(e)),q(e)}(n,t,i),a}class U{constructor(){throw new TypeError("WritableStreamDefaultController cannot be constructed explicitly")}error(e){if(!1===function(e){return!!s(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledWritableStream")}(this))throw new TypeError("WritableStreamDefaultController.prototype.error can only be used on a WritableStreamDefaultController");"writable"===this._controlledWritableStream._state&&Z(this,e)}[M](e){const t=this._abortAlgorithm(e);return K(this),t}[S](){k(this)}}function V(e,t,r,n,i,s,a,o){t._controlledWritableStream=e,e._writableStreamController=t,t._queue=void 0,t._queueTotalSize=void 0,k(t),t._started=!1,t._strategySizeAlgorithm=o,t._strategyHWM=a,t._writeAlgorithm=n,t._closeAlgorithm=i,t._abortAlgorithm=s;const l=$(t);I(e,l);const c=r();Promise.resolve(c).then(()=>{t._started=!0,q(t)},r=>{t._started=!0,T(e,r)}).catch(b)}function K(e){e._writeAlgorithm=void 0,e._closeAlgorithm=void 0,e._abortAlgorithm=void 0,e._strategySizeAlgorithm=void 0}function W(e){return e._strategyHWM-e._queueTotalSize}function q(e){const t=e._controlledWritableStream;if(!1===e._started)return;if(void 0!==t._inFlightWriteRequest)return;const r=t._state;if("closed"===r||"errored"===r)return;if("erroring"===r)return void Y(t);if(0===e._queue.length)return;const n=function(e){return e._queue[0].value}(e);"close"===n?function(e){const t=e._controlledWritableStream;(function(e){e._inFlightCloseRequest=e._closeRequest,e._closeRequest=void 0})(t),v(e);const r=e._closeAlgorithm();K(e),r.then(()=>{!function(e){e._inFlightCloseRequest._resolve(void 0),e._inFlightCloseRequest=void 0,"erroring"===e._state&&(e._storedError=void 0,void 0!==e._pendingAbortRequest&&(e._pendingAbortRequest._resolve(),e._pendingAbortRequest=void 0)),e._state="closed";const t=e._writer;void 0!==t&&ne(t)}(t)},e=>{!function(e,t){e._inFlightCloseRequest._reject(t),e._inFlightCloseRequest=void 0,void 0!==e._pendingAbortRequest&&(e._pendingAbortRequest._reject(t),e._pendingAbortRequest=void 0),T(e,t)}(t,e)}).catch(b)}(e):function(e,t){const r=e._controlledWritableStream;(function(e){e._inFlightWriteRequest=e._writeRequests.shift()})(r),e._writeAlgorithm(t).then(()=>{!function(e){e._inFlightWriteRequest._resolve(void 0),e._inFlightWriteRequest=void 0}(r);const t=r._state;if(v(e),!1===R(r)&&"writable"===t){const t=$(e);I(r,t)}q(e)},t=>{"writable"===r._state&&K(e),function(e,t){e._inFlightWriteRequest._reject(t),e._inFlightWriteRequest=void 0,T(e,t)}(r,t)}).catch(b)}(e,n.chunk)}function G(e,t){"writable"===e._controlledWritableStream._state&&Z(e,t)}function $(e){return W(e)<=0}function Z(e,t){const r=e._controlledWritableStream;K(e),P(r,t)}function J(e){return new TypeError(`WritableStream.prototype.${e} can only be used on a WritableStream`)}function Q(e){return new TypeError(`WritableStreamDefaultWriter.prototype.${e} can only be used on a WritableStreamDefaultWriter`)}function X(e){return new TypeError("Cannot "+e+" a stream using a released writer")}function ee(e){e._closedPromise=new Promise((t,r)=>{e._closedPromise_resolve=t,e._closedPromise_reject=r,e._closedPromiseState="pending"})}function te(e,t){ee(e),re(e,t)}function re(e,t){e._closedPromise.catch(()=>{}),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromiseState="rejected"}function ne(e){e._closedPromise_resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromiseState="resolved"}function ie(e){e._readyPromise=new Promise((t,r)=>{e._readyPromise_resolve=t,e._readyPromise_reject=r}),e._readyPromiseState="pending"}function se(e,t){ie(e),oe(e,t)}function ae(e){ie(e),le(e)}function oe(e,t){e._readyPromise.catch(()=>{}),e._readyPromise_reject(t),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="rejected"}function le(e){e._readyPromise_resolve(void 0),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="fulfilled"}const ce=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e},de=r("[[CancelSteps]]"),ue=r("[[PullSteps]]");class he{constructor(e={},t={}){pe(this);const r=t.size;let n=t.highWaterMark;const i=e.type;if("bytes"===String(i)){if(void 0!==r)throw new RangeError("The strategy for a byte stream cannot have a size function");void 0===n&&(n=0),function(e,t,r){const n=Object.create(Ze.prototype),i=u(t,"pull",0,[n]),s=u(t,"cancel",1,[]);let a=t.autoAllocateChunkSize;if(void 0!==a&&(a=Number(a),!1===ce(a)||a<=0))throw new RangeError("autoAllocateChunkSize must be a positive integer");!function(e,t,r,n,i,s,a){t._controlledReadableByteStream=e,t._pullAgain=!1,t._pulling=!1,et(t),t._queue=t._queueTotalSize=void 0,k(t),t._closeRequested=!1,t._started=!1,t._strategyHWM=m(s),t._pullAlgorithm=n,t._cancelAlgorithm=i,t._autoAllocateChunkSize=a,t._pendingPullIntos=[],e._readableStreamController=t;const o=r();Promise.resolve(o).then(()=>{t._started=!0,Xe(t)},e=>{ht(t,e)}).catch(b)}(e,n,(function(){return h(t,"start",[n])}),i,s,r,a)}(this,e,n=m(n))}else{if(void 0!==i)throw new RangeError("Invalid type is specified");{const t=p(r);void 0===n&&(n=1),function(e,t,r,n){const i=Object.create(Fe.prototype),s=u(t,"pull",0,[i]),a=u(t,"cancel",1,[]);Ge(e,i,(function(){return h(t,"start",[i])}),s,a,r,n)}(this,e,n=m(n),t)}}}get locked(){if(!1===_e(this))throw pt("locked");return ge(this)}cancel(e){return!1===_e(this)?Promise.reject(pt("cancel")):!0===ge(this)?Promise.reject(new TypeError("Cannot cancel a stream that already has a reader")):we(this,e)}getReader({mode:e}={}){if(!1===_e(this))throw pt("getReader");if(void 0===e)return fe(this);if("byob"===(e=String(e)))return function(e){return new Te(e)}(this);throw new RangeError("Invalid mode is specified")}pipeThrough({writable:e,readable:t},{preventClose:r,preventAbort:n,preventCancel:i,signal:s}={}){if(!1===_e(this))throw pt("pipeThrough");if(!1===L(e))throw new TypeError("writable argument to pipeThrough must be a WritableStream");if(!1===_e(t))throw new TypeError("readable argument to pipeThrough must be a ReadableStream");if(r=Boolean(r),n=Boolean(n),i=Boolean(i),void 0!==s&&!mt(s))throw new TypeError("ReadableStream.prototype.pipeThrough's signal option must be an AbortSignal");if(!0===ge(this))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream");if(!0===A(e))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream");return ye(this,e,r,n,i,s).catch(()=>{}),t}pipeTo(e,{preventClose:t,preventAbort:r,preventCancel:n,signal:i}={}){return!1===_e(this)?Promise.reject(pt("pipeTo")):!1===L(e)?Promise.reject(new TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream")):(t=Boolean(t),r=Boolean(r),n=Boolean(n),void 0===i||mt(i)?!0===ge(this)?Promise.reject(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream")):!0===A(e)?Promise.reject(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream")):ye(this,e,t,r,n,i):Promise.reject(new TypeError("ReadableStream.prototype.pipeTo's signal option must be an AbortSignal")))}tee(){if(!1===_e(this))throw pt("tee");const e=function(e,t){const r=fe(e);let n,i,s,a,l,c=!1,d=!1,u=!1;const h=new Promise(e=>{l=e});function f(){return je(r).then(e=>{const t=e.value;if(!0===e.done&&!1===c&&(!1===d&&Ue(s._readableStreamController),!1===u&&Ue(a._readableStreamController),c=!0),!0===c)return;const r=t;!1===d&&Ve(s._readableStreamController,t),!1===u&&Ve(a._readableStreamController,r)})}function m(){}return s=me(m,f,(function(t){if(d=!0,n=t,!0===u){const t=o([n,i]),r=we(e,t);l(r)}return h})),a=me(m,f,(function(t){if(u=!0,i=t,!0===d){const t=o([n,i]),r=we(e,t);l(r)}return h})),r._closedPromise.catch(e=>{!0!==c&&(Ke(s._readableStreamController,e),Ke(a._readableStreamController,e),c=!0)}),[s,a]}(this);return o(e)}}function fe(e){return new Ee(e)}function me(e,t,r,n=1,i=(()=>1)){const s=Object.create(he.prototype);return pe(s),Ge(s,Object.create(Fe.prototype),e,t,r,n,i),s}function pe(e){e._state="readable",e._reader=void 0,e._storedError=void 0,e._disturbed=!1}function _e(e){return!!s(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readableStreamController")}function ge(e){return void 0!==e._reader}function ye(e,t,r,n,i,s){const a=fe(e),o=C(t);let l=!1,c=Promise.resolve();return new Promise((d,u)=>{let h;if(void 0!==s){if(h=()=>{const r=new DOMException("Aborted","AbortError"),s=[];!1===n&&s.push(()=>"writable"===t._state?E(t,r):Promise.resolve()),!1===i&&s.push(()=>"readable"===e._state?we(e,r):Promise.resolve()),p(()=>g(s.map(e=>e()),e=>e),!0,r)},!0===s.aborted)return void h();s.addEventListener("abort",h)}if(m(e,a._closedPromise,e=>{!1===n?p(()=>E(t,e),!0,e):_(!0,e)}),m(t,o._closedPromise,t=>{!1===i?p(()=>we(e,t),!0,t):_(!0,t)}),function(e,t,r){"closed"===e._state?r():t.then(r).catch(b)}(e,a._closedPromise,()=>{!1===r?p(()=>function(e){const t=e._ownerWritableStream,r=t._state;return!0===R(t)||"closed"===r?Promise.resolve():"errored"===r?Promise.reject(t._storedError):H(e)}(o)):_()}),!0===R(t)||"closed"===t._state){const t=new TypeError("the destination writable stream closed before all data could be piped to it");!1===i?p(()=>we(e,t),!0,t):_(!0,t)}function f(){const e=c;return c.then(()=>e!==c?f():void 0)}function m(e,t,r){"errored"===e._state?r(e._storedError):t.catch(r).catch(b)}function p(e,r,n){function i(){e().then(()=>y(r,n),e=>y(!0,e)).catch(b)}!0!==l&&(l=!0,"writable"===t._state&&!1===R(t)?f().then(i):i())}function _(e,r){!0!==l&&(l=!0,"writable"===t._state&&!1===R(t)?f().then(()=>y(e,r)).catch(b):y(e,r))}function y(e,t){B(o),Ie(a),void 0!==s&&s.removeEventListener("abort",h),e?u(t):d(void 0)}new Promise((e,t)=>{!function r(n){n?e():(!0===l?Promise.resolve(!0):o._readyPromise.then(()=>je(a).then(({value:e,done:t})=>!0===t||(c=z(o,e).catch(()=>{}),!1)))).then(r,t)}(!1)}).catch(e=>{c=Promise.resolve(),b(e)})})}function be(e,t){return new Promise((r,n)=>{e._reader._readIntoRequests.push({_resolve:r,_reject:n,_forAuthorCode:t})})}function ve(e,t){return new Promise((r,n)=>{e._reader._readRequests.push({_resolve:r,_reject:n,_forAuthorCode:t})})}function we(e,t){return e._disturbed=!0,"closed"===e._state?Promise.resolve(void 0):"errored"===e._state?Promise.reject(e._storedError):(ke(e),e._readableStreamController[de](t).then(()=>{}))}function ke(e){e._state="closed";const t=e._reader;if(void 0!==t){if(Ye(t)){for(const e of t._readRequests)(0,e._resolve)(Me(void 0,!0,e._forAuthorCode));t._readRequests=[]}wt(t)}}function Me(e,t,r){let n=null;!0===r&&(n=Object.prototype);const i=Object.create(n);return Object.defineProperty(i,"value",{value:e,enumerable:!0,writable:!0,configurable:!0}),Object.defineProperty(i,"done",{value:t,enumerable:!0,writable:!0,configurable:!0}),i}function Se(e,t){e._state="errored",e._storedError=t;const r=e._reader;if(void 0!==r){if(Ye(r)){for(const e of r._readRequests)e._reject(t);r._readRequests=[]}else{for(const e of r._readIntoRequests)e._reject(t);r._readIntoRequests=[]}vt(r,t)}}function xe(e,t,r){const n=e._reader._readRequests.shift();n._resolve(Me(t,r,n._forAuthorCode))}function Ce(e){return e._reader._readIntoRequests.length}function De(e){return e._reader._readRequests.length}function Le(e){const t=e._reader;return void 0!==t&&!!Pe(t)}function Ae(e){const t=e._reader;return void 0!==t&&!!Ye(t)}class Ee{constructor(e){if(!1===_e(e))throw new TypeError("ReadableStreamDefaultReader can only be constructed with a ReadableStream instance");if(!0===ge(e))throw new TypeError("This stream has already been locked for exclusive reading by another reader");Re(this,e),this._readRequests=[]}get closed(){return Ye(this)?this._closedPromise:Promise.reject(gt("closed"))}cancel(e){return Ye(this)?void 0===this._ownerReadableStream?Promise.reject(_t("cancel")):Oe(this,e):Promise.reject(gt("cancel"))}read(){return Ye(this)?void 0===this._ownerReadableStream?Promise.reject(_t("read from")):je(this,!0):Promise.reject(gt("read"))}releaseLock(){if(!Ye(this))throw gt("releaseLock");if(void 0!==this._ownerReadableStream){if(this._readRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");Ie(this)}}}class Te{constructor(e){if(!_e(e))throw new TypeError("ReadableStreamBYOBReader can only be constructed with a ReadableStream instance given a byte source");if(!1===Je(e._readableStreamController))throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");if(ge(e))throw new TypeError("This stream has already been locked for exclusive reading by another reader");Re(this,e),this._readIntoRequests=[]}get closed(){return Pe(this)?this._closedPromise:Promise.reject(kt("closed"))}cancel(e){return Pe(this)?void 0===this._ownerReadableStream?Promise.reject(_t("cancel")):Oe(this,e):Promise.reject(kt("cancel"))}read(e){return Pe(this)?void 0===this._ownerReadableStream?Promise.reject(_t("read from")):ArrayBuffer.isView(e)?0===e.byteLength?Promise.reject(new TypeError("view must have non-zero byteLength")):function(e,t,r=!1){const n=e._ownerReadableStream;return n._disturbed=!0,"errored"===n._state?Promise.reject(n._storedError):function(e,t,r){const n=e._controlledReadableByteStream;let i=1;t.constructor!==DataView&&(i=t.constructor.BYTES_PER_ELEMENT);const s=t.constructor,a={buffer:t.buffer,byteOffset:t.byteOffset,byteLength:t.byteLength,bytesFilled:0,elementSize:i,ctor:s,readerType:"byob"};if(e._pendingPullIntos.length>0)return e._pendingPullIntos.push(a),be(n,r);if("closed"===n._state){const e=new s(a.buffer,a.byteOffset,0);return Promise.resolve(Me(e,!0,r))}if(e._queueTotalSize>0){if(!0===it(e,a)){const t=rt(a);return at(e),Promise.resolve(Me(t,!1,r))}if(!0===e._closeRequested){const t=new TypeError("Insufficient bytes to fill elements in the given buffer");return ht(e,t),Promise.reject(t)}}e._pendingPullIntos.push(a);const o=be(n,r);return Xe(e),o}(n._readableStreamController,t,r)}(this,e,!0):Promise.reject(new TypeError("view must be an array buffer view")):Promise.reject(kt("read"))}releaseLock(){if(!Pe(this))throw kt("releaseLock");if(void 0!==this._ownerReadableStream){if(this._readIntoRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");Ie(this)}}}function Pe(e){return!!s(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readIntoRequests")}function Ye(e){return!!s(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readRequests")}function Re(e,t){e._ownerReadableStream=t,t._reader=e,"readable"===t._state?yt(e):"closed"===t._state?function(e){yt(e),wt(e)}(e):bt(e,t._storedError)}function Oe(e,t){return we(e._ownerReadableStream,t)}function Ie(e){"readable"===e._ownerReadableStream._state?vt(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):function(e,t){bt(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness"))}(e),e._ownerReadableStream._reader=void 0,e._ownerReadableStream=void 0}function je(e,t=!1){const r=e._ownerReadableStream;return r._disturbed=!0,"closed"===r._state?Promise.resolve(Me(void 0,!0,t)):"errored"===r._state?Promise.reject(r._storedError):r._readableStreamController[ue](t)}class Fe{constructor(){throw new TypeError}get desiredSize(){if(!1===He(this))throw Mt("desiredSize");return We(this)}close(){if(!1===He(this))throw Mt("close");if(!1===qe(this))throw new TypeError("The stream is not in a state that permits close");Ue(this)}enqueue(e){if(!1===He(this))throw Mt("enqueue");if(!1===qe(this))throw new TypeError("The stream is not in a state that permits enqueue");return Ve(this,e)}error(e){if(!1===He(this))throw Mt("error");Ke(this,e)}[de](e){k(this);const t=this._cancelAlgorithm(e);return ze(this),t}[ue](e){const t=this._controlledReadableStream;if(this._queue.length>0){const r=v(this);return!0===this._closeRequested&&0===this._queue.length?(ze(this),ke(t)):Ne(this),Promise.resolve(Me(r,!1,e))}const r=ve(t,e);return Ne(this),r}}function He(e){return!!s(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledReadableStream")}function Ne(e){!1!==Be(e)&&(!0!==e._pulling?(e._pulling=!0,e._pullAlgorithm().then(()=>{if(e._pulling=!1,!0===e._pullAgain)return e._pullAgain=!1,Ne(e)},t=>{Ke(e,t)}).catch(b)):e._pullAgain=!0)}function Be(e){const t=e._controlledReadableStream;return!1!==qe(e)&&!1!==e._started&&(!0===ge(t)&&De(t)>0||We(e)>0)}function ze(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0,e._strategySizeAlgorithm=void 0}function Ue(e){const t=e._controlledReadableStream;e._closeRequested=!0,0===e._queue.length&&(ze(e),ke(t))}function Ve(e,t){const r=e._controlledReadableStream;if(!0===ge(r)&&De(r)>0)xe(r,t,!1);else{let r;try{r=e._strategySizeAlgorithm(t)}catch(t){throw Ke(e,t),t}try{w(e,t,r)}catch(t){throw Ke(e,t),t}}Ne(e)}function Ke(e,t){const r=e._controlledReadableStream;"readable"===r._state&&(k(e),ze(e),Se(r,t))}function We(e){const t=e._controlledReadableStream._state;return"errored"===t?null:"closed"===t?0:e._strategyHWM-e._queueTotalSize}function qe(e){return!1===e._closeRequested&&"readable"===e._controlledReadableStream._state}function Ge(e,t,r,n,i,s,a){t._controlledReadableStream=e,t._queue=void 0,t._queueTotalSize=void 0,k(t),t._started=!1,t._closeRequested=!1,t._pullAgain=!1,t._pulling=!1,t._strategySizeAlgorithm=a,t._strategyHWM=s,t._pullAlgorithm=n,t._cancelAlgorithm=i,e._readableStreamController=t;const o=r();Promise.resolve(o).then(()=>{t._started=!0,Ne(t)},e=>{Ke(t,e)}).catch(b)}class $e{constructor(){throw new TypeError("ReadableStreamBYOBRequest cannot be used directly")}get view(){if(!1===Qe(this))throw St("view");return this._view}respond(e){if(!1===Qe(this))throw St("respond");if(void 0===this._associatedReadableByteStreamController)throw new TypeError("This BYOB request has been invalidated");!function(e,t){if(!1===c(t=Number(t)))throw new RangeError("bytesWritten must be a finite");ct(e,t)}(this._associatedReadableByteStreamController,e)}respondWithNewView(e){if(!1===Qe(this))throw St("respond");if(void 0===this._associatedReadableByteStreamController)throw new TypeError("This BYOB request has been invalidated");if(!ArrayBuffer.isView(e))throw new TypeError("You can only respond with array buffer views");!function(e,t){const r=e._pendingPullIntos[0];if(r.byteOffset+r.bytesFilled!==t.byteOffset)throw new RangeError("The region specified by view does not match byobRequest");if(r.byteLength!==t.byteLength)throw new RangeError("The buffer of view has different capacity than byobRequest");r.buffer=t.buffer,ct(e,t.byteLength)}(this._associatedReadableByteStreamController,e)}}class Ze{constructor(){throw new TypeError("ReadableByteStreamController constructor cannot be used directly")}get byobRequest(){if(!1===Je(this))throw xt("byobRequest");if(void 0===this._byobRequest&&this._pendingPullIntos.length>0){const e=this._pendingPullIntos[0],t=new Uint8Array(e.buffer,e.byteOffset+e.bytesFilled,e.byteLength-e.bytesFilled),r=Object.create($e.prototype);!function(e,t,r){e._associatedReadableByteStreamController=t,e._view=r}(r,this,t),this._byobRequest=r}return this._byobRequest}get desiredSize(){if(!1===Je(this))throw xt("desiredSize");return ft(this)}close(){if(!1===Je(this))throw xt("close");if(!0===this._closeRequested)throw new TypeError("The stream has already been closed; do not close it again!");const e=this._controlledReadableByteStream._state;if("readable"!==e)throw new TypeError(`The stream (in ${e} state) is not in the readable state and cannot be closed`);!function(e){const t=e._controlledReadableByteStream;if(e._queueTotalSize>0)e._closeRequested=!0;else{if(e._pendingPullIntos.length>0&&e._pendingPullIntos[0].bytesFilled>0){const t=new TypeError("Insufficient bytes to fill elements in the given buffer");throw ht(e,t),t}ut(e),ke(t)}}(this)}enqueue(e){if(!1===Je(this))throw xt("enqueue");if(!0===this._closeRequested)throw new TypeError("stream is closed or draining");const t=this._controlledReadableByteStream._state;if("readable"!==t)throw new TypeError(`The stream (in ${t} state) is not in the readable state and cannot be enqueued to`);if(!ArrayBuffer.isView(e))throw new TypeError("You can only enqueue array buffer views when using a ReadableByteStreamController");!function(e,t){const r=e._controlledReadableByteStream,n=t.byteOffset,i=t.byteLength,s=t.buffer;!0===Ae(r)?0===De(r)?nt(e,s,n,i):xe(r,new Uint8Array(s,n,i),!1):!0===Le(r)?(nt(e,s,n,i),lt(e)):nt(e,s,n,i),Xe(e)}(this,e)}error(e){if(!1===Je(this))throw xt("error");ht(this,e)}[de](e){this._pendingPullIntos.length>0&&(this._pendingPullIntos[0].bytesFilled=0),k(this);const t=this._cancelAlgorithm(e);return ut(this),t}[ue](e){const t=this._controlledReadableByteStream;if(this._queueTotalSize>0){const t=this._queue.shift();let r;this._queueTotalSize-=t.byteLength,at(this);try{r=new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}catch(e){return Promise.reject(e)}return Promise.resolve(Me(r,!1,e))}const r=this._autoAllocateChunkSize;if(void 0!==r){let t;try{t=new ArrayBuffer(r)}catch(e){return Promise.reject(e)}const n={buffer:t,byteOffset:0,byteLength:r,bytesFilled:0,elementSize:1,ctor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(n)}const n=ve(t,e);return Xe(this),n}}function Je(e){return!!s(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledReadableByteStream")}function Qe(e){return!!s(e)&&!!Object.prototype.hasOwnProperty.call(e,"_associatedReadableByteStreamController")}function Xe(e){!1!==function(e){const t=e._controlledReadableByteStream;return"readable"===t._state&&!0!==e._closeRequested&&!1!==e._started&&(!0===Ae(t)&&De(t)>0||!0===Le(t)&&Ce(t)>0||ft(e)>0)}(e)&&(!0!==e._pulling?(e._pulling=!0,e._pullAlgorithm().then(()=>{e._pulling=!1,!0===e._pullAgain&&(e._pullAgain=!1,Xe(e))},t=>{ht(e,t)}).catch(b)):e._pullAgain=!0)}function et(e){ot(e),e._pendingPullIntos=[]}function tt(e,t){let r=!1;"closed"===e._state&&(r=!0);const n=rt(t);"default"===t.readerType?xe(e,n,r):function(e,t,r){const n=e._reader._readIntoRequests.shift();n._resolve(Me(t,r,n._forAuthorCode))}(e,n,r)}function rt(e){return new e.ctor(e.buffer,e.byteOffset,e.bytesFilled/e.elementSize)}function nt(e,t,r,n){e._queue.push({buffer:t,byteOffset:r,byteLength:n}),e._queueTotalSize+=n}function it(e,t){const r=t.elementSize,n=t.bytesFilled-t.bytesFilled%r,i=Math.min(e._queueTotalSize,t.byteLength-t.bytesFilled),s=t.bytesFilled+i,a=s-s%r;let o=i,c=!1;a>n&&(o=a-t.bytesFilled,c=!0);const d=e._queue;for(;o>0;){const r=d[0],n=Math.min(o,r.byteLength);l(t.buffer,t.byteOffset+t.bytesFilled,r.buffer,r.byteOffset,n),r.byteLength===n?d.shift():(r.byteOffset+=n,r.byteLength-=n),e._queueTotalSize-=n,st(e,n,t),o-=n}return c}function st(e,t,r){ot(e),r.bytesFilled+=t}function at(e){0===e._queueTotalSize&&!0===e._closeRequested?(ut(e),ke(e._controlledReadableByteStream)):Xe(e)}function ot(e){void 0!==e._byobRequest&&(e._byobRequest._associatedReadableByteStreamController=void 0,e._byobRequest._view=void 0,e._byobRequest=void 0)}function lt(e){for(;e._pendingPullIntos.length>0;){if(0===e._queueTotalSize)return;const t=e._pendingPullIntos[0];!0===it(e,t)&&(dt(e),tt(e._controlledReadableByteStream,t))}}function ct(e,t){const r=e._pendingPullIntos[0];if("closed"===e._controlledReadableByteStream._state){if(0!==t)throw new TypeError("bytesWritten must be 0 when calling respond() on a closed stream");!function(e,t){t.buffer=t.buffer;const r=e._controlledReadableByteStream;if(!0===Le(r))for(;Ce(r)>0;)tt(r,dt(e))}(e,r)}else!function(e,t,r){if(r.bytesFilled+t>r.byteLength)throw new RangeError("bytesWritten out of range");if(st(e,t,r),r.bytesFilled0){const t=r.byteOffset+r.bytesFilled,i=r.buffer.slice(t-n,t);nt(e,i,0,i.byteLength)}r.buffer=r.buffer,r.bytesFilled-=n,tt(e._controlledReadableByteStream,r),lt(e)}(e,t,r);Xe(e)}function dt(e){const t=e._pendingPullIntos.shift();return ot(e),t}function ut(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0}function ht(e,t){const r=e._controlledReadableByteStream;"readable"===r._state&&(et(e),k(e),ut(e),Se(r,t))}function ft(e){const t=e._controlledReadableByteStream._state;return"errored"===t?null:"closed"===t?0:e._strategyHWM-e._queueTotalSize}function mt(e){if("object"!=typeof e||null===e)return!1;const t=Object.getOwnPropertyDescriptor(AbortSignal.prototype,"aborted").get;try{return t.call(e),!0}catch(e){return!1}}function pt(e){return new TypeError(`ReadableStream.prototype.${e} can only be used on a ReadableStream`)}function _t(e){return new TypeError("Cannot "+e+" a stream using a released reader")}function gt(e){return new TypeError(`ReadableStreamDefaultReader.prototype.${e} can only be used on a ReadableStreamDefaultReader`)}function yt(e){e._closedPromise=new Promise((t,r)=>{e._closedPromise_resolve=t,e._closedPromise_reject=r})}function bt(e,t){yt(e),vt(e,t)}function vt(e,t){e._closedPromise.catch(()=>{}),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0}function wt(e){e._closedPromise_resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0}function kt(e){return new TypeError(`ReadableStreamBYOBReader.prototype.${e} can only be used on a ReadableStreamBYOBReader`)}function Mt(e){return new TypeError(`ReadableStreamDefaultController.prototype.${e} can only be used on a ReadableStreamDefaultController`)}function St(e){return new TypeError(`ReadableStreamBYOBRequest.prototype.${e} can only be used on a ReadableStreamBYOBRequest`)}function xt(e){return new TypeError(`ReadableByteStreamController.prototype.${e} can only be used on a ReadableByteStreamController`)}class Ct{constructor({highWaterMark:e}){a(this,"highWaterMark",e)}size(e){return e.byteLength}}class Dt{constructor({highWaterMark:e}){a(this,"highWaterMark",e)}size(){return 1}}class Lt{constructor(e={},t={},r={}){const n=t.size;let i=t.highWaterMark;const s=r.size;let a=r.highWaterMark;if(void 0!==e.writableType)throw new RangeError("Invalid writable type specified");const o=p(n);if(void 0===i&&(i=1),i=m(i),void 0!==e.readableType)throw new RangeError("Invalid readable type specified");const l=p(s);let c;void 0===a&&(a=0),a=m(a),function(e,t,r,n,i,s){function a(){return t}e._writable=function(e,t,r,n,i=1,s=(()=>1)){const a=Object.create(x.prototype);return D(a),V(a,Object.create(U.prototype),e,t,r,n,i,s),a}(a,(function(t){return function(e,t){const r=e._transformStreamController;return!0===e._backpressure?e._backpressureChangePromise.then(()=>{const n=e._writable;if("erroring"===n._state)throw n._storedError;return jt(r,t)}):jt(r,t)}(e,t)}),(function(){return function(e){const t=e._readable,r=e._transformStreamController,n=r._flushAlgorithm();return Ot(r),n.then(()=>{if("errored"===t._state)throw t._storedError;const e=t._readableStreamController;!0===qe(e)&&Ue(e)}).catch(r=>{throw Et(e,r),t._storedError})}(e)}),(function(t){return function(e,t){return Et(e,t),Promise.resolve()}(e,t)}),r,n),e._readable=me(a,(function(){return function(e){return Pt(e,!1),e._backpressureChangePromise}(e)}),(function(t){return Tt(e,t),Promise.resolve()}),i,s),e._backpressure=void 0,e._backpressureChangePromise=void 0,e._backpressureChangePromise_resolve=void 0,Pt(e,!0),e._transformStreamController=void 0}(this,new Promise(e=>{c=e}),i,o,a,l),function(e,t){const r=Object.create(Yt.prototype);let n=e=>{try{return It(r,e),Promise.resolve()}catch(e){return Promise.reject(e)}};const i=t.transform;if(void 0!==i){if("function"!=typeof i)throw new TypeError("transform is not a method");n=e=>f(i,t,[e,r])}const s=u(t,"flush",0,[r]);!function(e,t,r,n){t._controlledTransformStream=e,e._transformStreamController=t,t._transformAlgorithm=r,t._flushAlgorithm=n}(e,r,n,s)}(this,e);const d=h(e,"start",[this._transformStreamController]);c(d)}get readable(){if(!1===At(this))throw Ht("readable");return this._readable}get writable(){if(!1===At(this))throw Ht("writable");return this._writable}}function At(e){return!!s(e)&&!!Object.prototype.hasOwnProperty.call(e,"_transformStreamController")}function Et(e,t){Ke(e._readable._readableStreamController,t),Tt(e,t)}function Tt(e,t){Ot(e._transformStreamController),G(e._writable._writableStreamController,t),!0===e._backpressure&&Pt(e,!1)}function Pt(e,t){void 0!==e._backpressureChangePromise&&e._backpressureChangePromise_resolve(),e._backpressureChangePromise=new Promise(t=>{e._backpressureChangePromise_resolve=t}),e._backpressure=t}class Yt{constructor(){throw new TypeError("TransformStreamDefaultController instances cannot be created directly")}get desiredSize(){if(!1===Rt(this))throw Ft("desiredSize");return We(this._controlledTransformStream._readable._readableStreamController)}enqueue(e){if(!1===Rt(this))throw Ft("enqueue");It(this,e)}error(e){if(!1===Rt(this))throw Ft("error");!function(e,t){Et(e._controlledTransformStream,t)}(this,e)}terminate(){if(!1===Rt(this))throw Ft("terminate");!function(e){const t=e._controlledTransformStream,r=t._readable._readableStreamController;!0===qe(r)&&Ue(r),Tt(t,new TypeError("TransformStream terminated"))}(this)}}function Rt(e){return!!s(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledTransformStream")}function Ot(e){e._transformAlgorithm=void 0,e._flushAlgorithm=void 0}function It(e,t){const r=e._controlledTransformStream,n=r._readable._readableStreamController;if(!1===qe(n))throw new TypeError("Readable side is not in a state that permits enqueue");try{Ve(n,t)}catch(e){throw Tt(r,e),r._readable._storedError}(function(e){return!0!==Be(e)})(n)!==r._backpressure&&Pt(r,!0)}function jt(e,t){return e._transformAlgorithm(t).catch(t=>{throw Et(e._controlledTransformStream,t),t})}function Ft(e){return new TypeError(`TransformStreamDefaultController.prototype.${e} can only be used on a TransformStreamDefaultController`)}function Ht(e){return new TypeError(`TransformStream.prototype.${e} can only be used on a TransformStream`)}void 0!==n&&Object.assign(n,{ReadableStream:he,WritableStream:x,ByteLengthQueuingStrategy:Ct,CountQueuingStrategy:Dt,TransformStream:Lt}),t.ReadableStream=he,t.WritableStream=x,t.ByteLengthQueuingStrategy=Ct,t.CountQueuingStrategy=Dt,t.TransformStream=Lt,Object.defineProperty(t,"__esModule",{value:!0})}("object"==typeof r&&void 0!==t?r:(n=n||self).WebStreamsPolyfill={})}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.AES_asm=function(){var e,t,r=!1;function n(r,n){var i=e[(t[r]+t[n])%255];return 0!==r&&0!==n||(i=0),i}var i,s,a,o,l=!1;var c=function(c,d){l||function(){function c(r){var n,i,s;for(i=s=function(r){var n=e[255-t[r]];return 0===r&&(n=0),n}(r),n=0;n<4;n++)s^=i=255&(i<<1|i>>>7);return 99^s}r||function(){e=[],t=[];var n,i,s=1;for(n=0;n<255;n++)e[n]=s,i=128&s,s<<=1,s&=255,128===i&&(s^=27),s^=e[n],t[e[n]]=n;e[255]=e[0],t[0]=0,r=!0}(),i=[],s=[],a=[[],[],[],[]],o=[[],[],[],[]];for(var d=0;d<256;d++){var u=c(d);i[d]=u,s[u]=d,a[0][d]=n(2,u)<<24|u<<16|u<<8|n(3,u),o[0][u]=n(14,d)<<24|n(9,d)<<16|n(13,d)<<8|n(11,d);for(var h=1;h<4;h++)a[h][d]=a[h-1][d]>>>8|a[h-1][d]<<24,o[h][u]=o[h-1][u]>>>8|o[h-1][u]<<24}l=!0}();var u=new Uint32Array(d);u.set(i,512),u.set(s,768);for(var h=0;h<4;h++)u.set(a[h],4096+1024*h>>2),u.set(o[h],8192+1024*h>>2);var f=function(e,t,r){"use asm";var n=0,i=0,s=0,a=0,o=0,l=0,c=0,d=0,u=0,h=0,f=0,m=0,p=0,_=0,g=0,y=0,b=0,v=0,w=0,k=0,M=0;var S=new e.Uint32Array(r),x=new e.Uint8Array(r);function C(e,t,r,o,l,c,d,u){e=e|0;t=t|0;r=r|0;o=o|0;l=l|0;c=c|0;d=d|0;u=u|0;var h=0,f=0,m=0,p=0,_=0,g=0,y=0,b=0;h=r|0x400,f=r|0x800,m=r|0xc00;l=l^S[(e|0)>>2],c=c^S[(e|4)>>2],d=d^S[(e|8)>>2],u=u^S[(e|12)>>2];for(b=16;(b|0)<=o<<4;b=b+16|0){p=S[(r|l>>22&1020)>>2]^S[(h|c>>14&1020)>>2]^S[(f|d>>6&1020)>>2]^S[(m|u<<2&1020)>>2]^S[(e|b|0)>>2],_=S[(r|c>>22&1020)>>2]^S[(h|d>>14&1020)>>2]^S[(f|u>>6&1020)>>2]^S[(m|l<<2&1020)>>2]^S[(e|b|4)>>2],g=S[(r|d>>22&1020)>>2]^S[(h|u>>14&1020)>>2]^S[(f|l>>6&1020)>>2]^S[(m|c<<2&1020)>>2]^S[(e|b|8)>>2],y=S[(r|u>>22&1020)>>2]^S[(h|l>>14&1020)>>2]^S[(f|c>>6&1020)>>2]^S[(m|d<<2&1020)>>2]^S[(e|b|12)>>2];l=p,c=_,d=g,u=y}n=S[(t|l>>22&1020)>>2]<<24^S[(t|c>>14&1020)>>2]<<16^S[(t|d>>6&1020)>>2]<<8^S[(t|u<<2&1020)>>2]^S[(e|b|0)>>2],i=S[(t|c>>22&1020)>>2]<<24^S[(t|d>>14&1020)>>2]<<16^S[(t|u>>6&1020)>>2]<<8^S[(t|l<<2&1020)>>2]^S[(e|b|4)>>2],s=S[(t|d>>22&1020)>>2]<<24^S[(t|u>>14&1020)>>2]<<16^S[(t|l>>6&1020)>>2]<<8^S[(t|c<<2&1020)>>2]^S[(e|b|8)>>2],a=S[(t|u>>22&1020)>>2]<<24^S[(t|l>>14&1020)>>2]<<16^S[(t|c>>6&1020)>>2]<<8^S[(t|d<<2&1020)>>2]^S[(e|b|12)>>2]}function D(e,t,r,n){e=e|0;t=t|0;r=r|0;n=n|0;C(0x0000,0x0800,0x1000,M,e,t,r,n)}function L(e,t,r,n){e=e|0;t=t|0;r=r|0;n=n|0;var s=0;C(0x0400,0x0c00,0x2000,M,e,n,r,t);s=i,i=a,a=s}function A(e,t,r,u){e=e|0;t=t|0;r=r|0;u=u|0;C(0x0000,0x0800,0x1000,M,o^e,l^t,c^r,d^u);o=n,l=i,c=s,d=a}function E(e,t,r,u){e=e|0;t=t|0;r=r|0;u=u|0;var h=0;C(0x0400,0x0c00,0x2000,M,e,u,r,t);h=i,i=a,a=h;n=n^o,i=i^l,s=s^c,a=a^d;o=e,l=t,c=r,d=u}function T(e,t,r,u){e=e|0;t=t|0;r=r|0;u=u|0;C(0x0000,0x0800,0x1000,M,o,l,c,d);o=n=n^e,l=i=i^t,c=s=s^r,d=a=a^u}function P(e,t,r,u){e=e|0;t=t|0;r=r|0;u=u|0;C(0x0000,0x0800,0x1000,M,o,l,c,d);n=n^e,i=i^t,s=s^r,a=a^u;o=e,l=t,c=r,d=u}function Y(e,t,r,u){e=e|0;t=t|0;r=r|0;u=u|0;C(0x0000,0x0800,0x1000,M,o,l,c,d);o=n,l=i,c=s,d=a;n=n^e,i=i^t,s=s^r,a=a^u}function R(e,t,r,o){e=e|0;t=t|0;r=r|0;o=o|0;C(0x0000,0x0800,0x1000,M,u,h,f,m);m=~y&m|y&m+1;f=~g&f|g&f+((m|0)==0);h=~_&h|_&h+((f|0)==0);u=~p&u|p&u+((h|0)==0);n=n^e;i=i^t;s=s^r;a=a^o}function O(e,t,r,n){e=e|0;t=t|0;r=r|0;n=n|0;var i=0,s=0,a=0,u=0,h=0,f=0,m=0,p=0,_=0,g=0;e=e^o,t=t^l,r=r^c,n=n^d;i=b|0,s=v|0,a=w|0,u=k|0;for(;(_|0)<128;_=_+1|0){if(i>>>31){h=h^e,f=f^t,m=m^r,p=p^n}i=i<<1|s>>>31,s=s<<1|a>>>31,a=a<<1|u>>>31,u=u<<1;g=n&1;n=n>>>1|r<<31,r=r>>>1|t<<31,t=t>>>1|e<<31,e=e>>>1;if(g)e=e^0xe1000000}o=h,l=f,c=m,d=p}function I(e){e=e|0;M=e}function j(e,t,r,o){e=e|0;t=t|0;r=r|0;o=o|0;n=e,i=t,s=r,a=o}function F(e,t,r,n){e=e|0;t=t|0;r=r|0;n=n|0;o=e,l=t,c=r,d=n}function H(e,t,r,n){e=e|0;t=t|0;r=r|0;n=n|0;u=e,h=t,f=r,m=n}function N(e,t,r,n){e=e|0;t=t|0;r=r|0;n=n|0;p=e,_=t,g=r,y=n}function B(e,t,r,n){e=e|0;t=t|0;r=r|0;n=n|0;m=~y&m|y&n,f=~g&f|g&r,h=~_&h|_&t,u=~p&u|p&e}function z(e){e=e|0;if(e&15)return-1;x[e|0]=n>>>24,x[e|1]=n>>>16&255,x[e|2]=n>>>8&255,x[e|3]=n&255,x[e|4]=i>>>24,x[e|5]=i>>>16&255,x[e|6]=i>>>8&255,x[e|7]=i&255,x[e|8]=s>>>24,x[e|9]=s>>>16&255,x[e|10]=s>>>8&255,x[e|11]=s&255,x[e|12]=a>>>24,x[e|13]=a>>>16&255,x[e|14]=a>>>8&255,x[e|15]=a&255;return 16}function U(e){e=e|0;if(e&15)return-1;x[e|0]=o>>>24,x[e|1]=o>>>16&255,x[e|2]=o>>>8&255,x[e|3]=o&255,x[e|4]=l>>>24,x[e|5]=l>>>16&255,x[e|6]=l>>>8&255,x[e|7]=l&255,x[e|8]=c>>>24,x[e|9]=c>>>16&255,x[e|10]=c>>>8&255,x[e|11]=c&255,x[e|12]=d>>>24,x[e|13]=d>>>16&255,x[e|14]=d>>>8&255,x[e|15]=d&255;return 16}function V(){D(0,0,0,0);b=n,v=i,w=s,k=a}function K(e,t,r){e=e|0;t=t|0;r=r|0;var o=0;if(t&15)return-1;while((r|0)>=16){q[e&7](x[t|0]<<24|x[t|1]<<16|x[t|2]<<8|x[t|3],x[t|4]<<24|x[t|5]<<16|x[t|6]<<8|x[t|7],x[t|8]<<24|x[t|9]<<16|x[t|10]<<8|x[t|11],x[t|12]<<24|x[t|13]<<16|x[t|14]<<8|x[t|15]);x[t|0]=n>>>24,x[t|1]=n>>>16&255,x[t|2]=n>>>8&255,x[t|3]=n&255,x[t|4]=i>>>24,x[t|5]=i>>>16&255,x[t|6]=i>>>8&255,x[t|7]=i&255,x[t|8]=s>>>24,x[t|9]=s>>>16&255,x[t|10]=s>>>8&255,x[t|11]=s&255,x[t|12]=a>>>24,x[t|13]=a>>>16&255,x[t|14]=a>>>8&255,x[t|15]=a&255;o=o+16|0,t=t+16|0,r=r-16|0}return o|0}function W(e,t,r){e=e|0;t=t|0;r=r|0;var n=0;if(t&15)return-1;while((r|0)>=16){G[e&1](x[t|0]<<24|x[t|1]<<16|x[t|2]<<8|x[t|3],x[t|4]<<24|x[t|5]<<16|x[t|6]<<8|x[t|7],x[t|8]<<24|x[t|9]<<16|x[t|10]<<8|x[t|11],x[t|12]<<24|x[t|13]<<16|x[t|14]<<8|x[t|15]);n=n+16|0,t=t+16|0,r=r-16|0}return n|0}var q=[D,L,A,E,T,P,Y,R];var G=[A,O];return{set_rounds:I,set_state:j,set_iv:F,set_nonce:H,set_mask:N,set_counter:B,get_state:z,get_iv:U,gcm_init:V,cipher:K,mac:W}}({Uint8Array:Uint8Array,Uint32Array:Uint32Array},0,d);return f.set_key=function(e,t,r,n,s,a,l,c,d){var h=u.subarray(0,60),m=u.subarray(256,316);h.set([t,r,n,s,a,l,c,d]);for(var p=e,_=1;p<4*e+28;p++){var g=h[p-1];(p%e==0||8===e&&p%e==4)&&(g=i[g>>>24]<<24^i[g>>>16&255]<<16^i[g>>>8&255]<<8^i[255&g]),p%e==0&&(g=g<<8^g>>>24^_<<24,_=_<<1^(128&_?27:0)),h[p]=h[p-e]^g}for(var y=0;y=p-4?g:o[0][i[g>>>24]]^o[1][i[g>>>16&255]]^o[2][i[g>>>8&255]]^o[3][i[255&g]];f.set_rounds(e+5)},f};return c.ENC={ECB:0,CBC:2,CFB:4,OFB:6,CTR:7},c.DEC={ECB:1,CBC:3,CFB:5,OFB:6,CTR:7},c.MAC={CBC:0,GCM:1},c.HEAP_DATA=16384,c}()},{}],3:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.AES=void 0;var n=e("./aes.asm"),i=e("../other/utils"),s=e("../other/errors"),a=[],o=[],l=function(){function e(e,t,r,n){void 0===r&&(r=!0),this.pos=0,this.len=0,this.mode=n,this.pos=0,this.len=0,this.key=e,this.iv=t,this.padding=r,this.acquire_asm()}return e.prototype.acquire_asm=function(){void 0===this.heap&&void 0===this.asm&&(this.heap=a.pop()||(0,i._heap_init)().subarray(n.AES_asm.HEAP_DATA),this.asm=o.pop()||(0,n.AES_asm)(null,this.heap.buffer),this.reset(this.key,this.iv))},e.prototype.release_asm=function(){a.push(this.heap),o.push(this.asm),this.heap=void 0,this.asm=void 0},e.prototype.reset=function(e,t){var r=e.length;if(16!==r&&24!==r&&32!==r)throw new s.IllegalArgumentError("illegal key size");var n=new DataView(e.buffer,e.byteOffset,e.byteLength);if(this.asm.set_key(r>>2,n.getUint32(0),n.getUint32(4),n.getUint32(8),n.getUint32(12),r>16?n.getUint32(16):0,r>16?n.getUint32(20):0,r>24?n.getUint32(24):0,r>24?n.getUint32(28):0),void 0!==t){if(16!==t.length)throw new s.IllegalArgumentError("illegal iv size");var i=new DataView(t.buffer,t.byteOffset,t.byteLength);this.asm.set_iv(i.getUint32(0),i.getUint32(4),i.getUint32(8),i.getUint32(12))}else this.asm.set_iv(0,0,0,0)},e.prototype.AES_Encrypt_process=function(e){if(!(0,i.is_bytes)(e))throw new TypeError("data isn't of expected type");this.acquire_asm();for(var t=this.asm,r=this.heap,s=n.AES_asm.ENC[this.mode],a=n.AES_asm.HEAP_DATA,o=this.pos,l=this.len,c=0,d=e.length||0,u=0,h=0,f=new Uint8Array(l+d&-16);d>0;)c+=h=(0,i._heap_write)(r,o+l,e,c,d),d-=h,(h=t.cipher(s,a+o,l+=h))&&f.set(r.subarray(o,o+h),u),u+=h,h0;)c+=m=(0,i._heap_write)(r,o+l,e,c,d),(m=t.cipher(s,a+o,(l+=m)-((d-=m)?0:f)))&&p.set(r.subarray(o,o+m),u),u+=m,m0){if(o%16){if(this.hasOwnProperty("padding"))throw new s.IllegalArgumentError("data length must be a multiple of the block size");o+=16-o%16}if(e.cipher(r,i+a,o),this.hasOwnProperty("padding")&&this.padding){var c=t[a+l-1];if(c<1||c>16||c>l)throw new s.SecurityError("bad padding");for(var d=0,u=c;u>1;u--)d|=c^t[a+l-u];if(d)throw new s.SecurityError("bad padding");l-=c}}var h=new Uint8Array(l);return l>0&&h.set(t.subarray(a,a+l)),this.pos=0,this.len=0,this.release_asm(),h},e}();r.AES=l},{"../other/errors":14,"../other/utils":15,"./aes.asm":2}],4:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.AES_CBC=void 0;var n,i=e("./aes"),s=e("../other/utils"),a=(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=function(e){function t(t,r,n){return void 0===n&&(n=!0),e.call(this,t,r,n,"CBC")||this}return a(t,e),t.encrypt=function(e,r,n,i){return void 0===n&&(n=!0),new t(r,i,n).encrypt(e)},t.decrypt=function(e,r,n,i){return void 0===n&&(n=!0),new t(r,i,n).decrypt(e)},t.prototype.encrypt=function(e){var t=this.AES_Encrypt_process(e),r=this.AES_Encrypt_finish();return(0,s.joinBytes)(t,r)},t.prototype.decrypt=function(e){var t=this.AES_Decrypt_process(e),r=this.AES_Decrypt_finish();return(0,s.joinBytes)(t,r)},t}(i.AES);r.AES_CBC=o},{"../other/utils":15,"./aes":3}],5:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.AES_CFB=void 0;var n,i=e("./aes"),s=e("../other/utils"),a=(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=function(e){function t(t,r){var n=e.call(this,t,r,!0,"CFB")||this;return delete n.padding,n}return a(t,e),t.encrypt=function(e,r,n){return new t(r,n).encrypt(e)},t.decrypt=function(e,r,n){return new t(r,n).decrypt(e)},t.prototype.encrypt=function(e){var t=this.AES_Encrypt_process(e),r=this.AES_Encrypt_finish();return(0,s.joinBytes)(t,r)},t.prototype.decrypt=function(e){var t=this.AES_Decrypt_process(e),r=this.AES_Decrypt_finish();return(0,s.joinBytes)(t,r)},t}(i.AES);r.AES_CFB=o},{"../other/utils":15,"./aes":3}],6:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.AES_CTR=void 0;var n,i=e("./aes"),s=e("../other/errors"),a=e("../other/utils"),o=(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),l=function(e){function t(t,r){var n=e.call(this,t,void 0,!1,"CTR")||this;return delete n.padding,n.AES_CTR_set_options(r),n}return o(t,e),t.encrypt=function(e,r,n){return new t(r,n).encrypt(e)},t.decrypt=function(e,r,n){return new t(r,n).encrypt(e)},t.prototype.encrypt=function(e){var t=this.AES_Encrypt_process(e),r=this.AES_Encrypt_finish();return(0,a.joinBytes)(t,r)},t.prototype.decrypt=function(e){var t=this.AES_Encrypt_process(e),r=this.AES_Encrypt_finish();return(0,a.joinBytes)(t,r)},t.prototype.AES_CTR_set_options=function(e,t,r){if(void 0!==r){if(r<8||r>48)throw new s.IllegalArgumentError("illegal counter size");var n=Math.pow(2,r)-1;this.asm.set_mask(0,0,n/4294967296|0,0|n)}else r=48,this.asm.set_mask(0,0,65535,4294967295);if(void 0===e)throw new Error("nonce is required");var i=e.length;if(!i||i>16)throw new s.IllegalArgumentError("illegal nonce size");var a=new DataView(new ArrayBuffer(16));if(new Uint8Array(a.buffer).set(e),this.asm.set_nonce(a.getUint32(0),a.getUint32(4),a.getUint32(8),a.getUint32(12)),void 0!==t){if(t<0||t>=Math.pow(2,r))throw new s.IllegalArgumentError("illegal counter value");this.asm.set_counter(0,0,t/4294967296|0,0|t)}},t}(i.AES);r.AES_CTR=l},{"../other/errors":14,"../other/utils":15,"./aes":3}],7:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.AES_ECB=void 0;var n,i=e("./aes"),s=e("../other/utils"),a=(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=function(e){function t(t,r){return void 0===r&&(r=!1),e.call(this,t,void 0,r,"ECB")||this}return a(t,e),t.encrypt=function(e,r,n){return void 0===n&&(n=!1),new t(r,n).encrypt(e)},t.decrypt=function(e,r,n){return void 0===n&&(n=!1),new t(r,n).decrypt(e)},t.prototype.encrypt=function(e){var t=this.AES_Encrypt_process(e),r=this.AES_Encrypt_finish();return(0,s.joinBytes)(t,r)},t.prototype.decrypt=function(e){var t=this.AES_Decrypt_process(e),r=this.AES_Decrypt_finish();return(0,s.joinBytes)(t,r)},t}(i.AES);r.AES_ECB=o},{"../other/utils":15,"./aes":3}],8:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.AES_GCM=void 0;var n,i=e("../other/errors"),s=e("../other/utils"),a=e("./aes"),o=e("./aes.asm"),l=(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),c=68719476704,d=function(e){function t(t,r,n,s){void 0===s&&(s=16);var a=e.call(this,t,void 0,!1,"CTR")||this;if(a.tagSize=s,a.gamma0=0,a.counter=1,a.asm.gcm_init(),a.tagSize<4||a.tagSize>16)throw new i.IllegalArgumentError("illegal tagSize value");var l=r.length||0,d=new Uint8Array(16);12!==l?(a._gcm_mac_process(r),a.heap[0]=0,a.heap[1]=0,a.heap[2]=0,a.heap[3]=0,a.heap[4]=0,a.heap[5]=0,a.heap[6]=0,a.heap[7]=0,a.heap[8]=0,a.heap[9]=0,a.heap[10]=0,a.heap[11]=l>>>29,a.heap[12]=l>>>21&255,a.heap[13]=l>>>13&255,a.heap[14]=l>>>5&255,a.heap[15]=l<<3&255,a.asm.mac(o.AES_asm.MAC.GCM,o.AES_asm.HEAP_DATA,16),a.asm.get_iv(o.AES_asm.HEAP_DATA),a.asm.set_iv(0,0,0,0),d.set(a.heap.subarray(0,16))):(d.set(r),d[15]=1);var u=new DataView(d.buffer);if(a.gamma0=u.getUint32(12),a.asm.set_nonce(u.getUint32(0),u.getUint32(4),u.getUint32(8),0),a.asm.set_mask(0,0,0,4294967295),void 0!==n){if(n.length>c)throw new i.IllegalArgumentError("illegal adata length");n.length?(a.adata=n,a._gcm_mac_process(n)):a.adata=void 0}else a.adata=void 0;if(a.counter<1||a.counter>4294967295)throw new RangeError("counter must be a positive 32-bit integer");return a.asm.set_counter(0,0,0,a.gamma0+a.counter|0),a}return l(t,e),t.encrypt=function(e,r,n,i,s){return new t(r,n,i,s).encrypt(e)},t.decrypt=function(e,r,n,i,s){return new t(r,n,i,s).decrypt(e)},t.prototype.encrypt=function(e){return this.AES_GCM_encrypt(e)},t.prototype.decrypt=function(e){return this.AES_GCM_decrypt(e)},t.prototype.AES_GCM_Encrypt_process=function(e){var t=0,r=e.length||0,n=this.asm,i=this.heap,a=this.counter,l=this.pos,d=this.len,u=0,h=d+r&-16,f=0;if((a-1<<4)+d+r>c)throw new RangeError("counter overflow");for(var m=new Uint8Array(h);r>0;)t+=f=(0,s._heap_write)(i,l+d,e,t,r),r-=f,f=n.cipher(o.AES_asm.ENC.CTR,o.AES_asm.HEAP_DATA+l,d+=f),(f=n.mac(o.AES_asm.MAC.GCM,o.AES_asm.HEAP_DATA+l,f))&&m.set(i.subarray(l,l+f),u),a+=f>>>4,u+=f,f>>29,t[4]=d>>>21,t[5]=d>>>13&255,t[6]=d>>>5&255,t[7]=d<<3&255,t[8]=t[9]=t[10]=0,t[11]=u>>>29,t[12]=u>>>21&255,t[13]=u>>>13&255,t[14]=u>>>5&255,t[15]=u<<3&255,e.mac(o.AES_asm.MAC.GCM,o.AES_asm.HEAP_DATA,16),e.get_iv(o.AES_asm.HEAP_DATA),e.set_counter(0,0,0,this.gamma0),e.cipher(o.AES_asm.ENC.CTR,o.AES_asm.HEAP_DATA,16),l.set(t.subarray(0,n),a),this.counter=1,this.pos=0,this.len=0,l},t.prototype.AES_GCM_Decrypt_process=function(e){var t=0,r=e.length||0,n=this.asm,i=this.heap,a=this.counter,l=this.tagSize,d=this.pos,u=this.len,h=0,f=u+r>l?u+r-l&-16:0,m=u+r-f,p=0;if((a-1<<4)+u+r>c)throw new RangeError("counter overflow");for(var _=new Uint8Array(f);r>m;)u+=p=(0,s._heap_write)(i,d+u,e,t,r-m),t+=p,r-=p,p=n.mac(o.AES_asm.MAC.GCM,o.AES_asm.HEAP_DATA+d,p),(p=n.cipher(o.AES_asm.DEC.CTR,o.AES_asm.HEAP_DATA+d,p))&&_.set(i.subarray(d,d+p),h),a+=p>>>4,h+=p,d=0,u=0;return r>0&&(u+=(0,s._heap_write)(i,0,e,t,r)),this.counter=a,this.pos=d,this.len=u,_},t.prototype.AES_GCM_Decrypt_finish=function(){var e=this.asm,t=this.heap,r=this.tagSize,n=this.adata,s=this.counter,a=this.pos,l=this.len,c=l-r;if(l>>29,t[4]=f>>>21,t[5]=f>>>13&255,t[6]=f>>>5&255,t[7]=f<<3&255,t[8]=t[9]=t[10]=0,t[11]=m>>>29,t[12]=m>>>21&255,t[13]=m>>>13&255,t[14]=m>>>5&255,t[15]=m<<3&255,e.mac(o.AES_asm.MAC.GCM,o.AES_asm.HEAP_DATA,16),e.get_iv(o.AES_asm.HEAP_DATA),e.set_counter(0,0,0,this.gamma0),e.cipher(o.AES_asm.ENC.CTR,o.AES_asm.HEAP_DATA,16);for(var p=0,_=0;_0;){for(n+=a=(0,s._heap_write)(t,0,e,n,i),i-=a;15&a;)t[a++]=0;r.mac(o.AES_asm.MAC.GCM,o.AES_asm.HEAP_DATA,a)}},t}(a.AES);r.AES_GCM=d},{"../other/errors":14,"../other/utils":15,"./aes":3,"./aes.asm":2}],9:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Hash=void 0;var n=e("../other/utils"),i=e("../other/errors"),s=function(){function e(){this.pos=0,this.len=0,this.acquire_asm()}return e.prototype.acquire_asm=function(){void 0===this.heap&&void 0===this.asm&&(this.heap=this.constructor.heap_pool.pop()||(0,n._heap_init)(),this.asm=this.constructor.asm_pool.pop()||this.constructor.asm_function({Uint8Array:Uint8Array},null,this.heap.buffer),this.reset())},e.prototype.release_asm=function(){this.constructor.heap_pool.push(this.heap),this.constructor.asm_pool.push(this.asm),this.heap=void 0,this.asm=void 0},e.prototype.reset=function(){return this.acquire_asm(),this.result=null,this.pos=0,this.len=0,this.asm.reset(),this},e.prototype.process=function(e){if(null!==this.result)throw new i.IllegalStateError("state must be reset before processing new data");this.acquire_asm();for(var t=this.asm,r=this.heap,s=this.pos,a=this.len,o=0,l=e.length,c=0;l>0;)o+=c=(0,n._heap_write)(r,s+a,e,o,l),l-=c,s+=c=t.process(s,a+=c),(a-=c)||(s=0);return this.pos=s,this.len=a,this},e.prototype.finish=function(){if(null!==this.result)throw new i.IllegalStateError("state must be reset before processing new data");return this.acquire_asm(),this.asm.finish(this.pos,this.len,0),this.result=new Uint8Array(this.HASH_SIZE),this.result.set(this.heap.subarray(0,this.HASH_SIZE)),this.pos=0,this.len=0,this.release_asm(),this},e}();r.Hash=s},{"../other/errors":14,"../other/utils":15}],10:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.sha1_asm=function(e,t,r){"use asm";var n=0,i=0,s=0,a=0,o=0,l=0,c=0;var d=0,u=0,h=0,f=0,m=0,p=0,_=0,g=0,y=0,b=0;var v=new e.Uint8Array(r);function w(e,t,r,l,c,d,u,h,f,m,p,_,g,y,b,v){e=e|0;t=t|0;r=r|0;l=l|0;c=c|0;d=d|0;u=u|0;h=h|0;f=f|0;m=m|0;p=p|0;_=_|0;g=g|0;y=y|0;b=b|0;v=v|0;var w=0,k=0,M=0,S=0,x=0,C=0,D=0,L=0,A=0,E=0,T=0,P=0,Y=0,R=0,O=0,I=0,j=0,F=0,H=0,N=0,B=0,z=0,U=0,V=0,K=0,W=0,q=0,G=0,$=0,Z=0,J=0,Q=0,X=0,ee=0,te=0,re=0,ne=0,ie=0,se=0,ae=0,oe=0,le=0,ce=0,de=0,ue=0,he=0,fe=0,me=0,pe=0,_e=0,ge=0,ye=0,be=0,ve=0,we=0,ke=0,Me=0,Se=0,xe=0,Ce=0,De=0,Le=0,Ae=0,Ee=0,Te=0,Pe=0,Ye=0,Re=0,Oe=0,Ie=0,je=0;w=n;k=i;M=s;S=a;x=o;D=e+(w<<5|w>>>27)+x+(k&M|~k&S)+0x5a827999|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;D=t+(w<<5|w>>>27)+x+(k&M|~k&S)+0x5a827999|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;D=r+(w<<5|w>>>27)+x+(k&M|~k&S)+0x5a827999|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;D=l+(w<<5|w>>>27)+x+(k&M|~k&S)+0x5a827999|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;D=c+(w<<5|w>>>27)+x+(k&M|~k&S)+0x5a827999|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;D=d+(w<<5|w>>>27)+x+(k&M|~k&S)+0x5a827999|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;D=u+(w<<5|w>>>27)+x+(k&M|~k&S)+0x5a827999|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;D=h+(w<<5|w>>>27)+x+(k&M|~k&S)+0x5a827999|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;D=f+(w<<5|w>>>27)+x+(k&M|~k&S)+0x5a827999|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;D=m+(w<<5|w>>>27)+x+(k&M|~k&S)+0x5a827999|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;D=p+(w<<5|w>>>27)+x+(k&M|~k&S)+0x5a827999|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;D=_+(w<<5|w>>>27)+x+(k&M|~k&S)+0x5a827999|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;D=g+(w<<5|w>>>27)+x+(k&M|~k&S)+0x5a827999|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;D=y+(w<<5|w>>>27)+x+(k&M|~k&S)+0x5a827999|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;D=b+(w<<5|w>>>27)+x+(k&M|~k&S)+0x5a827999|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;D=v+(w<<5|w>>>27)+x+(k&M|~k&S)+0x5a827999|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=y^f^r^e;L=C<<1|C>>>31;D=L+(w<<5|w>>>27)+x+(k&M|~k&S)+0x5a827999|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=b^m^l^t;A=C<<1|C>>>31;D=A+(w<<5|w>>>27)+x+(k&M|~k&S)+0x5a827999|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=v^p^c^r;E=C<<1|C>>>31;D=E+(w<<5|w>>>27)+x+(k&M|~k&S)+0x5a827999|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=L^_^d^l;T=C<<1|C>>>31;D=T+(w<<5|w>>>27)+x+(k&M|~k&S)+0x5a827999|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=A^g^u^c;P=C<<1|C>>>31;D=P+(w<<5|w>>>27)+x+(k^M^S)+0x6ed9eba1|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=E^y^h^d;Y=C<<1|C>>>31;D=Y+(w<<5|w>>>27)+x+(k^M^S)+0x6ed9eba1|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=T^b^f^u;R=C<<1|C>>>31;D=R+(w<<5|w>>>27)+x+(k^M^S)+0x6ed9eba1|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=P^v^m^h;O=C<<1|C>>>31;D=O+(w<<5|w>>>27)+x+(k^M^S)+0x6ed9eba1|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=Y^L^p^f;I=C<<1|C>>>31;D=I+(w<<5|w>>>27)+x+(k^M^S)+0x6ed9eba1|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=R^A^_^m;j=C<<1|C>>>31;D=j+(w<<5|w>>>27)+x+(k^M^S)+0x6ed9eba1|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=O^E^g^p;F=C<<1|C>>>31;D=F+(w<<5|w>>>27)+x+(k^M^S)+0x6ed9eba1|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=I^T^y^_;H=C<<1|C>>>31;D=H+(w<<5|w>>>27)+x+(k^M^S)+0x6ed9eba1|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=j^P^b^g;N=C<<1|C>>>31;D=N+(w<<5|w>>>27)+x+(k^M^S)+0x6ed9eba1|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=F^Y^v^y;B=C<<1|C>>>31;D=B+(w<<5|w>>>27)+x+(k^M^S)+0x6ed9eba1|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=H^R^L^b;z=C<<1|C>>>31;D=z+(w<<5|w>>>27)+x+(k^M^S)+0x6ed9eba1|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=N^O^A^v;U=C<<1|C>>>31;D=U+(w<<5|w>>>27)+x+(k^M^S)+0x6ed9eba1|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=B^I^E^L;V=C<<1|C>>>31;D=V+(w<<5|w>>>27)+x+(k^M^S)+0x6ed9eba1|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=z^j^T^A;K=C<<1|C>>>31;D=K+(w<<5|w>>>27)+x+(k^M^S)+0x6ed9eba1|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=U^F^P^E;W=C<<1|C>>>31;D=W+(w<<5|w>>>27)+x+(k^M^S)+0x6ed9eba1|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=V^H^Y^T;q=C<<1|C>>>31;D=q+(w<<5|w>>>27)+x+(k^M^S)+0x6ed9eba1|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=K^N^R^P;G=C<<1|C>>>31;D=G+(w<<5|w>>>27)+x+(k^M^S)+0x6ed9eba1|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=W^B^O^Y;$=C<<1|C>>>31;D=$+(w<<5|w>>>27)+x+(k^M^S)+0x6ed9eba1|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=q^z^I^R;Z=C<<1|C>>>31;D=Z+(w<<5|w>>>27)+x+(k^M^S)+0x6ed9eba1|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=G^U^j^O;J=C<<1|C>>>31;D=J+(w<<5|w>>>27)+x+(k^M^S)+0x6ed9eba1|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=$^V^F^I;Q=C<<1|C>>>31;D=Q+(w<<5|w>>>27)+x+(k&M|k&S|M&S)-0x70e44324|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=Z^K^H^j;X=C<<1|C>>>31;D=X+(w<<5|w>>>27)+x+(k&M|k&S|M&S)-0x70e44324|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=J^W^N^F;ee=C<<1|C>>>31;D=ee+(w<<5|w>>>27)+x+(k&M|k&S|M&S)-0x70e44324|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=Q^q^B^H;te=C<<1|C>>>31;D=te+(w<<5|w>>>27)+x+(k&M|k&S|M&S)-0x70e44324|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=X^G^z^N;re=C<<1|C>>>31;D=re+(w<<5|w>>>27)+x+(k&M|k&S|M&S)-0x70e44324|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=ee^$^U^B;ne=C<<1|C>>>31;D=ne+(w<<5|w>>>27)+x+(k&M|k&S|M&S)-0x70e44324|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=te^Z^V^z;ie=C<<1|C>>>31;D=ie+(w<<5|w>>>27)+x+(k&M|k&S|M&S)-0x70e44324|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=re^J^K^U;se=C<<1|C>>>31;D=se+(w<<5|w>>>27)+x+(k&M|k&S|M&S)-0x70e44324|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=ne^Q^W^V;ae=C<<1|C>>>31;D=ae+(w<<5|w>>>27)+x+(k&M|k&S|M&S)-0x70e44324|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=ie^X^q^K;oe=C<<1|C>>>31;D=oe+(w<<5|w>>>27)+x+(k&M|k&S|M&S)-0x70e44324|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=se^ee^G^W;le=C<<1|C>>>31;D=le+(w<<5|w>>>27)+x+(k&M|k&S|M&S)-0x70e44324|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=ae^te^$^q;ce=C<<1|C>>>31;D=ce+(w<<5|w>>>27)+x+(k&M|k&S|M&S)-0x70e44324|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=oe^re^Z^G;de=C<<1|C>>>31;D=de+(w<<5|w>>>27)+x+(k&M|k&S|M&S)-0x70e44324|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=le^ne^J^$;ue=C<<1|C>>>31;D=ue+(w<<5|w>>>27)+x+(k&M|k&S|M&S)-0x70e44324|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=ce^ie^Q^Z;he=C<<1|C>>>31;D=he+(w<<5|w>>>27)+x+(k&M|k&S|M&S)-0x70e44324|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=de^se^X^J;fe=C<<1|C>>>31;D=fe+(w<<5|w>>>27)+x+(k&M|k&S|M&S)-0x70e44324|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=ue^ae^ee^Q;me=C<<1|C>>>31;D=me+(w<<5|w>>>27)+x+(k&M|k&S|M&S)-0x70e44324|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=he^oe^te^X;pe=C<<1|C>>>31;D=pe+(w<<5|w>>>27)+x+(k&M|k&S|M&S)-0x70e44324|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=fe^le^re^ee;_e=C<<1|C>>>31;D=_e+(w<<5|w>>>27)+x+(k&M|k&S|M&S)-0x70e44324|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=me^ce^ne^te;ge=C<<1|C>>>31;D=ge+(w<<5|w>>>27)+x+(k&M|k&S|M&S)-0x70e44324|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=pe^de^ie^re;ye=C<<1|C>>>31;D=ye+(w<<5|w>>>27)+x+(k^M^S)-0x359d3e2a|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=_e^ue^se^ne;be=C<<1|C>>>31;D=be+(w<<5|w>>>27)+x+(k^M^S)-0x359d3e2a|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=ge^he^ae^ie;ve=C<<1|C>>>31;D=ve+(w<<5|w>>>27)+x+(k^M^S)-0x359d3e2a|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=ye^fe^oe^se;we=C<<1|C>>>31;D=we+(w<<5|w>>>27)+x+(k^M^S)-0x359d3e2a|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=be^me^le^ae;ke=C<<1|C>>>31;D=ke+(w<<5|w>>>27)+x+(k^M^S)-0x359d3e2a|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=ve^pe^ce^oe;Me=C<<1|C>>>31;D=Me+(w<<5|w>>>27)+x+(k^M^S)-0x359d3e2a|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=we^_e^de^le;Se=C<<1|C>>>31;D=Se+(w<<5|w>>>27)+x+(k^M^S)-0x359d3e2a|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=ke^ge^ue^ce;xe=C<<1|C>>>31;D=xe+(w<<5|w>>>27)+x+(k^M^S)-0x359d3e2a|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=Me^ye^he^de;Ce=C<<1|C>>>31;D=Ce+(w<<5|w>>>27)+x+(k^M^S)-0x359d3e2a|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=Se^be^fe^ue;De=C<<1|C>>>31;D=De+(w<<5|w>>>27)+x+(k^M^S)-0x359d3e2a|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=xe^ve^me^he;Le=C<<1|C>>>31;D=Le+(w<<5|w>>>27)+x+(k^M^S)-0x359d3e2a|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=Ce^we^pe^fe;Ae=C<<1|C>>>31;D=Ae+(w<<5|w>>>27)+x+(k^M^S)-0x359d3e2a|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=De^ke^_e^me;Ee=C<<1|C>>>31;D=Ee+(w<<5|w>>>27)+x+(k^M^S)-0x359d3e2a|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=Le^Me^ge^pe;Te=C<<1|C>>>31;D=Te+(w<<5|w>>>27)+x+(k^M^S)-0x359d3e2a|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=Ae^Se^ye^_e;Pe=C<<1|C>>>31;D=Pe+(w<<5|w>>>27)+x+(k^M^S)-0x359d3e2a|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=Ee^xe^be^ge;Ye=C<<1|C>>>31;D=Ye+(w<<5|w>>>27)+x+(k^M^S)-0x359d3e2a|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=Te^Ce^ve^ye;Re=C<<1|C>>>31;D=Re+(w<<5|w>>>27)+x+(k^M^S)-0x359d3e2a|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=Pe^De^we^be;Oe=C<<1|C>>>31;D=Oe+(w<<5|w>>>27)+x+(k^M^S)-0x359d3e2a|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=Ye^Le^ke^ve;Ie=C<<1|C>>>31;D=Ie+(w<<5|w>>>27)+x+(k^M^S)-0x359d3e2a|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=Re^Ae^Me^we;je=C<<1|C>>>31;D=je+(w<<5|w>>>27)+x+(k^M^S)-0x359d3e2a|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;n=n+w|0;i=i+k|0;s=s+M|0;a=a+S|0;o=o+x|0}function k(e){e=e|0;w(v[e|0]<<24|v[e|1]<<16|v[e|2]<<8|v[e|3],v[e|4]<<24|v[e|5]<<16|v[e|6]<<8|v[e|7],v[e|8]<<24|v[e|9]<<16|v[e|10]<<8|v[e|11],v[e|12]<<24|v[e|13]<<16|v[e|14]<<8|v[e|15],v[e|16]<<24|v[e|17]<<16|v[e|18]<<8|v[e|19],v[e|20]<<24|v[e|21]<<16|v[e|22]<<8|v[e|23],v[e|24]<<24|v[e|25]<<16|v[e|26]<<8|v[e|27],v[e|28]<<24|v[e|29]<<16|v[e|30]<<8|v[e|31],v[e|32]<<24|v[e|33]<<16|v[e|34]<<8|v[e|35],v[e|36]<<24|v[e|37]<<16|v[e|38]<<8|v[e|39],v[e|40]<<24|v[e|41]<<16|v[e|42]<<8|v[e|43],v[e|44]<<24|v[e|45]<<16|v[e|46]<<8|v[e|47],v[e|48]<<24|v[e|49]<<16|v[e|50]<<8|v[e|51],v[e|52]<<24|v[e|53]<<16|v[e|54]<<8|v[e|55],v[e|56]<<24|v[e|57]<<16|v[e|58]<<8|v[e|59],v[e|60]<<24|v[e|61]<<16|v[e|62]<<8|v[e|63])}function M(e){e=e|0;v[e|0]=n>>>24;v[e|1]=n>>>16&255;v[e|2]=n>>>8&255;v[e|3]=n&255;v[e|4]=i>>>24;v[e|5]=i>>>16&255;v[e|6]=i>>>8&255;v[e|7]=i&255;v[e|8]=s>>>24;v[e|9]=s>>>16&255;v[e|10]=s>>>8&255;v[e|11]=s&255;v[e|12]=a>>>24;v[e|13]=a>>>16&255;v[e|14]=a>>>8&255;v[e|15]=a&255;v[e|16]=o>>>24;v[e|17]=o>>>16&255;v[e|18]=o>>>8&255;v[e|19]=o&255}function S(){n=0x67452301;i=0xefcdab89;s=0x98badcfe;a=0x10325476;o=0xc3d2e1f0;l=c=0}function x(e,t,r,d,u,h,f){e=e|0;t=t|0;r=r|0;d=d|0;u=u|0;h=h|0;f=f|0;n=e;i=t;s=r;a=d;o=u;l=h;c=f}function C(e,t){e=e|0;t=t|0;var r=0;if(e&63)return-1;while((t|0)>=64){k(e);e=e+64|0;t=t-64|0;r=r+64|0}l=l+r|0;if(l>>>0>>0)c=c+1|0;return r|0}function D(e,t,r){e=e|0;t=t|0;r=r|0;var n=0,i=0;if(e&63)return-1;if(~r)if(r&31)return-1;if((t|0)>=64){n=C(e,t)|0;if((n|0)==-1)return-1;e=e+n|0;t=t-n|0}n=n+t|0;l=l+t|0;if(l>>>0>>0)c=c+1|0;v[e|t]=0x80;if((t|0)>=56){for(i=t+1|0;(i|0)<64;i=i+1|0)v[e|i]=0x00;k(e);t=0;v[e|0]=0}for(i=t+1|0;(i|0)<59;i=i+1|0)v[e|i]=0;v[e|56]=c>>>21&255;v[e|57]=c>>>13&255;v[e|58]=c>>>5&255;v[e|59]=c<<3&255|l>>>29;v[e|60]=l>>>21&255;v[e|61]=l>>>13&255;v[e|62]=l>>>5&255;v[e|63]=l<<3&255;k(e);if(~r)M(r);return n|0}function L(){n=d;i=u;s=h;a=f;o=m;l=64;c=0}function A(){n=p;i=_;s=g;a=y;o=b;l=64;c=0}function E(e,t,r,v,k,M,x,C,D,L,A,E,T,P,Y,R){e=e|0;t=t|0;r=r|0;v=v|0;k=k|0;M=M|0;x=x|0;C=C|0;D=D|0;L=L|0;A=A|0;E=E|0;T=T|0;P=P|0;Y=Y|0;R=R|0;S();w(e^0x5c5c5c5c,t^0x5c5c5c5c,r^0x5c5c5c5c,v^0x5c5c5c5c,k^0x5c5c5c5c,M^0x5c5c5c5c,x^0x5c5c5c5c,C^0x5c5c5c5c,D^0x5c5c5c5c,L^0x5c5c5c5c,A^0x5c5c5c5c,E^0x5c5c5c5c,T^0x5c5c5c5c,P^0x5c5c5c5c,Y^0x5c5c5c5c,R^0x5c5c5c5c);p=n;_=i;g=s;y=a;b=o;S();w(e^0x36363636,t^0x36363636,r^0x36363636,v^0x36363636,k^0x36363636,M^0x36363636,x^0x36363636,C^0x36363636,D^0x36363636,L^0x36363636,A^0x36363636,E^0x36363636,T^0x36363636,P^0x36363636,Y^0x36363636,R^0x36363636);d=n;u=i;h=s;f=a;m=o;l=64;c=0}function T(e,t,r){e=e|0;t=t|0;r=r|0;var l=0,c=0,d=0,u=0,h=0,f=0;if(e&63)return-1;if(~r)if(r&31)return-1;f=D(e,t,-1)|0;l=n,c=i,d=s,u=a,h=o;A();w(l,c,d,u,h,0x80000000,0,0,0,0,0,0,0,0,0,672);if(~r)M(r);return f|0}function P(e,t,r,l,c){e=e|0;t=t|0;r=r|0;l=l|0;c=c|0;var d=0,u=0,h=0,f=0,m=0,p=0,_=0,g=0,y=0,b=0;if(e&63)return-1;if(~c)if(c&31)return-1;v[e+t|0]=r>>>24;v[e+t+1|0]=r>>>16&255;v[e+t+2|0]=r>>>8&255;v[e+t+3|0]=r&255;T(e,t+4|0,-1)|0;d=p=n,u=_=i,h=g=s,f=y=a,m=b=o;l=l-1|0;while((l|0)>0){L();w(p,_,g,y,b,0x80000000,0,0,0,0,0,0,0,0,0,672);p=n,_=i,g=s,y=a,b=o;A();w(p,_,g,y,b,0x80000000,0,0,0,0,0,0,0,0,0,672);p=n,_=i,g=s,y=a,b=o;d=d^n;u=u^i;h=h^s;f=f^a;m=m^o;l=l-1|0}n=d;i=u;s=h;a=f;o=m;if(~c)M(c);return 0}return{reset:S,init:x,process:C,finish:D,hmac_reset:L,hmac_init:E,hmac_finish:T,pbkdf2_generate_block:P}}},{}],11:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Sha1=r._sha1_hash_size=r._sha1_block_size=void 0;var n,i=e("./sha1.asm"),s=e("../hash"),a=(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=r._sha1_block_size=64,l=r._sha1_hash_size=20,c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.NAME="sha1",t.BLOCK_SIZE=o,t.HASH_SIZE=l,t}return a(t,e),t.bytes=function(e){return(new t).process(e).finish().result},t.NAME="sha1",t.heap_pool=[],t.asm_pool=[],t.asm_function=i.sha1_asm,t}(s.Hash);r.Sha1=c},{"../hash":9,"./sha1.asm":10}],12:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.sha256_asm=function(e,t,r){"use asm";var n=0,i=0,s=0,a=0,o=0,l=0,c=0,d=0,u=0,h=0;var f=0,m=0,p=0,_=0,g=0,y=0,b=0,v=0,w=0,k=0,M=0,S=0,x=0,C=0,D=0,L=0;var A=new e.Uint8Array(r);function E(e,t,r,u,h,f,m,p,_,g,y,b,v,w,k,M){e=e|0;t=t|0;r=r|0;u=u|0;h=h|0;f=f|0;m=m|0;p=p|0;_=_|0;g=g|0;y=y|0;b=b|0;v=v|0;w=w|0;k=k|0;M=M|0;var S=0,x=0,C=0,D=0,L=0,A=0,E=0,T=0;S=n;x=i;C=s;D=a;L=o;A=l;E=c;T=d;T=e+T+(L>>>6^L>>>11^L>>>25^L<<26^L<<21^L<<7)+(E^L&(A^E))+0x428a2f98|0;D=D+T|0;T=T+(S&x^C&(S^x))+(S>>>2^S>>>13^S>>>22^S<<30^S<<19^S<<10)|0;E=t+E+(D>>>6^D>>>11^D>>>25^D<<26^D<<21^D<<7)+(A^D&(L^A))+0x71374491|0;C=C+E|0;E=E+(T&S^x&(T^S))+(T>>>2^T>>>13^T>>>22^T<<30^T<<19^T<<10)|0;A=r+A+(C>>>6^C>>>11^C>>>25^C<<26^C<<21^C<<7)+(L^C&(D^L))+0xb5c0fbcf|0;x=x+A|0;A=A+(E&T^S&(E^T))+(E>>>2^E>>>13^E>>>22^E<<30^E<<19^E<<10)|0;L=u+L+(x>>>6^x>>>11^x>>>25^x<<26^x<<21^x<<7)+(D^x&(C^D))+0xe9b5dba5|0;S=S+L|0;L=L+(A&E^T&(A^E))+(A>>>2^A>>>13^A>>>22^A<<30^A<<19^A<<10)|0;D=h+D+(S>>>6^S>>>11^S>>>25^S<<26^S<<21^S<<7)+(C^S&(x^C))+0x3956c25b|0;T=T+D|0;D=D+(L&A^E&(L^A))+(L>>>2^L>>>13^L>>>22^L<<30^L<<19^L<<10)|0;C=f+C+(T>>>6^T>>>11^T>>>25^T<<26^T<<21^T<<7)+(x^T&(S^x))+0x59f111f1|0;E=E+C|0;C=C+(D&L^A&(D^L))+(D>>>2^D>>>13^D>>>22^D<<30^D<<19^D<<10)|0;x=m+x+(E>>>6^E>>>11^E>>>25^E<<26^E<<21^E<<7)+(S^E&(T^S))+0x923f82a4|0;A=A+x|0;x=x+(C&D^L&(C^D))+(C>>>2^C>>>13^C>>>22^C<<30^C<<19^C<<10)|0;S=p+S+(A>>>6^A>>>11^A>>>25^A<<26^A<<21^A<<7)+(T^A&(E^T))+0xab1c5ed5|0;L=L+S|0;S=S+(x&C^D&(x^C))+(x>>>2^x>>>13^x>>>22^x<<30^x<<19^x<<10)|0;T=_+T+(L>>>6^L>>>11^L>>>25^L<<26^L<<21^L<<7)+(E^L&(A^E))+0xd807aa98|0;D=D+T|0;T=T+(S&x^C&(S^x))+(S>>>2^S>>>13^S>>>22^S<<30^S<<19^S<<10)|0;E=g+E+(D>>>6^D>>>11^D>>>25^D<<26^D<<21^D<<7)+(A^D&(L^A))+0x12835b01|0;C=C+E|0;E=E+(T&S^x&(T^S))+(T>>>2^T>>>13^T>>>22^T<<30^T<<19^T<<10)|0;A=y+A+(C>>>6^C>>>11^C>>>25^C<<26^C<<21^C<<7)+(L^C&(D^L))+0x243185be|0;x=x+A|0;A=A+(E&T^S&(E^T))+(E>>>2^E>>>13^E>>>22^E<<30^E<<19^E<<10)|0;L=b+L+(x>>>6^x>>>11^x>>>25^x<<26^x<<21^x<<7)+(D^x&(C^D))+0x550c7dc3|0;S=S+L|0;L=L+(A&E^T&(A^E))+(A>>>2^A>>>13^A>>>22^A<<30^A<<19^A<<10)|0;D=v+D+(S>>>6^S>>>11^S>>>25^S<<26^S<<21^S<<7)+(C^S&(x^C))+0x72be5d74|0;T=T+D|0;D=D+(L&A^E&(L^A))+(L>>>2^L>>>13^L>>>22^L<<30^L<<19^L<<10)|0;C=w+C+(T>>>6^T>>>11^T>>>25^T<<26^T<<21^T<<7)+(x^T&(S^x))+0x80deb1fe|0;E=E+C|0;C=C+(D&L^A&(D^L))+(D>>>2^D>>>13^D>>>22^D<<30^D<<19^D<<10)|0;x=k+x+(E>>>6^E>>>11^E>>>25^E<<26^E<<21^E<<7)+(S^E&(T^S))+0x9bdc06a7|0;A=A+x|0;x=x+(C&D^L&(C^D))+(C>>>2^C>>>13^C>>>22^C<<30^C<<19^C<<10)|0;S=M+S+(A>>>6^A>>>11^A>>>25^A<<26^A<<21^A<<7)+(T^A&(E^T))+0xc19bf174|0;L=L+S|0;S=S+(x&C^D&(x^C))+(x>>>2^x>>>13^x>>>22^x<<30^x<<19^x<<10)|0;e=(t>>>7^t>>>18^t>>>3^t<<25^t<<14)+(k>>>17^k>>>19^k>>>10^k<<15^k<<13)+e+g|0;T=e+T+(L>>>6^L>>>11^L>>>25^L<<26^L<<21^L<<7)+(E^L&(A^E))+0xe49b69c1|0;D=D+T|0;T=T+(S&x^C&(S^x))+(S>>>2^S>>>13^S>>>22^S<<30^S<<19^S<<10)|0;t=(r>>>7^r>>>18^r>>>3^r<<25^r<<14)+(M>>>17^M>>>19^M>>>10^M<<15^M<<13)+t+y|0;E=t+E+(D>>>6^D>>>11^D>>>25^D<<26^D<<21^D<<7)+(A^D&(L^A))+0xefbe4786|0;C=C+E|0;E=E+(T&S^x&(T^S))+(T>>>2^T>>>13^T>>>22^T<<30^T<<19^T<<10)|0;r=(u>>>7^u>>>18^u>>>3^u<<25^u<<14)+(e>>>17^e>>>19^e>>>10^e<<15^e<<13)+r+b|0;A=r+A+(C>>>6^C>>>11^C>>>25^C<<26^C<<21^C<<7)+(L^C&(D^L))+0x0fc19dc6|0;x=x+A|0;A=A+(E&T^S&(E^T))+(E>>>2^E>>>13^E>>>22^E<<30^E<<19^E<<10)|0;u=(h>>>7^h>>>18^h>>>3^h<<25^h<<14)+(t>>>17^t>>>19^t>>>10^t<<15^t<<13)+u+v|0;L=u+L+(x>>>6^x>>>11^x>>>25^x<<26^x<<21^x<<7)+(D^x&(C^D))+0x240ca1cc|0;S=S+L|0;L=L+(A&E^T&(A^E))+(A>>>2^A>>>13^A>>>22^A<<30^A<<19^A<<10)|0;h=(f>>>7^f>>>18^f>>>3^f<<25^f<<14)+(r>>>17^r>>>19^r>>>10^r<<15^r<<13)+h+w|0;D=h+D+(S>>>6^S>>>11^S>>>25^S<<26^S<<21^S<<7)+(C^S&(x^C))+0x2de92c6f|0;T=T+D|0;D=D+(L&A^E&(L^A))+(L>>>2^L>>>13^L>>>22^L<<30^L<<19^L<<10)|0;f=(m>>>7^m>>>18^m>>>3^m<<25^m<<14)+(u>>>17^u>>>19^u>>>10^u<<15^u<<13)+f+k|0;C=f+C+(T>>>6^T>>>11^T>>>25^T<<26^T<<21^T<<7)+(x^T&(S^x))+0x4a7484aa|0;E=E+C|0;C=C+(D&L^A&(D^L))+(D>>>2^D>>>13^D>>>22^D<<30^D<<19^D<<10)|0;m=(p>>>7^p>>>18^p>>>3^p<<25^p<<14)+(h>>>17^h>>>19^h>>>10^h<<15^h<<13)+m+M|0;x=m+x+(E>>>6^E>>>11^E>>>25^E<<26^E<<21^E<<7)+(S^E&(T^S))+0x5cb0a9dc|0;A=A+x|0;x=x+(C&D^L&(C^D))+(C>>>2^C>>>13^C>>>22^C<<30^C<<19^C<<10)|0;p=(_>>>7^_>>>18^_>>>3^_<<25^_<<14)+(f>>>17^f>>>19^f>>>10^f<<15^f<<13)+p+e|0;S=p+S+(A>>>6^A>>>11^A>>>25^A<<26^A<<21^A<<7)+(T^A&(E^T))+0x76f988da|0;L=L+S|0;S=S+(x&C^D&(x^C))+(x>>>2^x>>>13^x>>>22^x<<30^x<<19^x<<10)|0;_=(g>>>7^g>>>18^g>>>3^g<<25^g<<14)+(m>>>17^m>>>19^m>>>10^m<<15^m<<13)+_+t|0;T=_+T+(L>>>6^L>>>11^L>>>25^L<<26^L<<21^L<<7)+(E^L&(A^E))+0x983e5152|0;D=D+T|0;T=T+(S&x^C&(S^x))+(S>>>2^S>>>13^S>>>22^S<<30^S<<19^S<<10)|0;g=(y>>>7^y>>>18^y>>>3^y<<25^y<<14)+(p>>>17^p>>>19^p>>>10^p<<15^p<<13)+g+r|0;E=g+E+(D>>>6^D>>>11^D>>>25^D<<26^D<<21^D<<7)+(A^D&(L^A))+0xa831c66d|0;C=C+E|0;E=E+(T&S^x&(T^S))+(T>>>2^T>>>13^T>>>22^T<<30^T<<19^T<<10)|0;y=(b>>>7^b>>>18^b>>>3^b<<25^b<<14)+(_>>>17^_>>>19^_>>>10^_<<15^_<<13)+y+u|0;A=y+A+(C>>>6^C>>>11^C>>>25^C<<26^C<<21^C<<7)+(L^C&(D^L))+0xb00327c8|0;x=x+A|0;A=A+(E&T^S&(E^T))+(E>>>2^E>>>13^E>>>22^E<<30^E<<19^E<<10)|0;b=(v>>>7^v>>>18^v>>>3^v<<25^v<<14)+(g>>>17^g>>>19^g>>>10^g<<15^g<<13)+b+h|0;L=b+L+(x>>>6^x>>>11^x>>>25^x<<26^x<<21^x<<7)+(D^x&(C^D))+0xbf597fc7|0;S=S+L|0;L=L+(A&E^T&(A^E))+(A>>>2^A>>>13^A>>>22^A<<30^A<<19^A<<10)|0;v=(w>>>7^w>>>18^w>>>3^w<<25^w<<14)+(y>>>17^y>>>19^y>>>10^y<<15^y<<13)+v+f|0;D=v+D+(S>>>6^S>>>11^S>>>25^S<<26^S<<21^S<<7)+(C^S&(x^C))+0xc6e00bf3|0;T=T+D|0;D=D+(L&A^E&(L^A))+(L>>>2^L>>>13^L>>>22^L<<30^L<<19^L<<10)|0;w=(k>>>7^k>>>18^k>>>3^k<<25^k<<14)+(b>>>17^b>>>19^b>>>10^b<<15^b<<13)+w+m|0;C=w+C+(T>>>6^T>>>11^T>>>25^T<<26^T<<21^T<<7)+(x^T&(S^x))+0xd5a79147|0;E=E+C|0;C=C+(D&L^A&(D^L))+(D>>>2^D>>>13^D>>>22^D<<30^D<<19^D<<10)|0;k=(M>>>7^M>>>18^M>>>3^M<<25^M<<14)+(v>>>17^v>>>19^v>>>10^v<<15^v<<13)+k+p|0;x=k+x+(E>>>6^E>>>11^E>>>25^E<<26^E<<21^E<<7)+(S^E&(T^S))+0x06ca6351|0;A=A+x|0;x=x+(C&D^L&(C^D))+(C>>>2^C>>>13^C>>>22^C<<30^C<<19^C<<10)|0;M=(e>>>7^e>>>18^e>>>3^e<<25^e<<14)+(w>>>17^w>>>19^w>>>10^w<<15^w<<13)+M+_|0;S=M+S+(A>>>6^A>>>11^A>>>25^A<<26^A<<21^A<<7)+(T^A&(E^T))+0x14292967|0;L=L+S|0;S=S+(x&C^D&(x^C))+(x>>>2^x>>>13^x>>>22^x<<30^x<<19^x<<10)|0;e=(t>>>7^t>>>18^t>>>3^t<<25^t<<14)+(k>>>17^k>>>19^k>>>10^k<<15^k<<13)+e+g|0;T=e+T+(L>>>6^L>>>11^L>>>25^L<<26^L<<21^L<<7)+(E^L&(A^E))+0x27b70a85|0;D=D+T|0;T=T+(S&x^C&(S^x))+(S>>>2^S>>>13^S>>>22^S<<30^S<<19^S<<10)|0;t=(r>>>7^r>>>18^r>>>3^r<<25^r<<14)+(M>>>17^M>>>19^M>>>10^M<<15^M<<13)+t+y|0;E=t+E+(D>>>6^D>>>11^D>>>25^D<<26^D<<21^D<<7)+(A^D&(L^A))+0x2e1b2138|0;C=C+E|0;E=E+(T&S^x&(T^S))+(T>>>2^T>>>13^T>>>22^T<<30^T<<19^T<<10)|0;r=(u>>>7^u>>>18^u>>>3^u<<25^u<<14)+(e>>>17^e>>>19^e>>>10^e<<15^e<<13)+r+b|0;A=r+A+(C>>>6^C>>>11^C>>>25^C<<26^C<<21^C<<7)+(L^C&(D^L))+0x4d2c6dfc|0;x=x+A|0;A=A+(E&T^S&(E^T))+(E>>>2^E>>>13^E>>>22^E<<30^E<<19^E<<10)|0;u=(h>>>7^h>>>18^h>>>3^h<<25^h<<14)+(t>>>17^t>>>19^t>>>10^t<<15^t<<13)+u+v|0;L=u+L+(x>>>6^x>>>11^x>>>25^x<<26^x<<21^x<<7)+(D^x&(C^D))+0x53380d13|0;S=S+L|0;L=L+(A&E^T&(A^E))+(A>>>2^A>>>13^A>>>22^A<<30^A<<19^A<<10)|0;h=(f>>>7^f>>>18^f>>>3^f<<25^f<<14)+(r>>>17^r>>>19^r>>>10^r<<15^r<<13)+h+w|0;D=h+D+(S>>>6^S>>>11^S>>>25^S<<26^S<<21^S<<7)+(C^S&(x^C))+0x650a7354|0;T=T+D|0;D=D+(L&A^E&(L^A))+(L>>>2^L>>>13^L>>>22^L<<30^L<<19^L<<10)|0;f=(m>>>7^m>>>18^m>>>3^m<<25^m<<14)+(u>>>17^u>>>19^u>>>10^u<<15^u<<13)+f+k|0;C=f+C+(T>>>6^T>>>11^T>>>25^T<<26^T<<21^T<<7)+(x^T&(S^x))+0x766a0abb|0;E=E+C|0;C=C+(D&L^A&(D^L))+(D>>>2^D>>>13^D>>>22^D<<30^D<<19^D<<10)|0;m=(p>>>7^p>>>18^p>>>3^p<<25^p<<14)+(h>>>17^h>>>19^h>>>10^h<<15^h<<13)+m+M|0;x=m+x+(E>>>6^E>>>11^E>>>25^E<<26^E<<21^E<<7)+(S^E&(T^S))+0x81c2c92e|0;A=A+x|0;x=x+(C&D^L&(C^D))+(C>>>2^C>>>13^C>>>22^C<<30^C<<19^C<<10)|0;p=(_>>>7^_>>>18^_>>>3^_<<25^_<<14)+(f>>>17^f>>>19^f>>>10^f<<15^f<<13)+p+e|0;S=p+S+(A>>>6^A>>>11^A>>>25^A<<26^A<<21^A<<7)+(T^A&(E^T))+0x92722c85|0;L=L+S|0;S=S+(x&C^D&(x^C))+(x>>>2^x>>>13^x>>>22^x<<30^x<<19^x<<10)|0;_=(g>>>7^g>>>18^g>>>3^g<<25^g<<14)+(m>>>17^m>>>19^m>>>10^m<<15^m<<13)+_+t|0;T=_+T+(L>>>6^L>>>11^L>>>25^L<<26^L<<21^L<<7)+(E^L&(A^E))+0xa2bfe8a1|0;D=D+T|0;T=T+(S&x^C&(S^x))+(S>>>2^S>>>13^S>>>22^S<<30^S<<19^S<<10)|0;g=(y>>>7^y>>>18^y>>>3^y<<25^y<<14)+(p>>>17^p>>>19^p>>>10^p<<15^p<<13)+g+r|0;E=g+E+(D>>>6^D>>>11^D>>>25^D<<26^D<<21^D<<7)+(A^D&(L^A))+0xa81a664b|0;C=C+E|0;E=E+(T&S^x&(T^S))+(T>>>2^T>>>13^T>>>22^T<<30^T<<19^T<<10)|0;y=(b>>>7^b>>>18^b>>>3^b<<25^b<<14)+(_>>>17^_>>>19^_>>>10^_<<15^_<<13)+y+u|0;A=y+A+(C>>>6^C>>>11^C>>>25^C<<26^C<<21^C<<7)+(L^C&(D^L))+0xc24b8b70|0;x=x+A|0;A=A+(E&T^S&(E^T))+(E>>>2^E>>>13^E>>>22^E<<30^E<<19^E<<10)|0;b=(v>>>7^v>>>18^v>>>3^v<<25^v<<14)+(g>>>17^g>>>19^g>>>10^g<<15^g<<13)+b+h|0;L=b+L+(x>>>6^x>>>11^x>>>25^x<<26^x<<21^x<<7)+(D^x&(C^D))+0xc76c51a3|0;S=S+L|0;L=L+(A&E^T&(A^E))+(A>>>2^A>>>13^A>>>22^A<<30^A<<19^A<<10)|0;v=(w>>>7^w>>>18^w>>>3^w<<25^w<<14)+(y>>>17^y>>>19^y>>>10^y<<15^y<<13)+v+f|0;D=v+D+(S>>>6^S>>>11^S>>>25^S<<26^S<<21^S<<7)+(C^S&(x^C))+0xd192e819|0;T=T+D|0;D=D+(L&A^E&(L^A))+(L>>>2^L>>>13^L>>>22^L<<30^L<<19^L<<10)|0;w=(k>>>7^k>>>18^k>>>3^k<<25^k<<14)+(b>>>17^b>>>19^b>>>10^b<<15^b<<13)+w+m|0;C=w+C+(T>>>6^T>>>11^T>>>25^T<<26^T<<21^T<<7)+(x^T&(S^x))+0xd6990624|0;E=E+C|0;C=C+(D&L^A&(D^L))+(D>>>2^D>>>13^D>>>22^D<<30^D<<19^D<<10)|0;k=(M>>>7^M>>>18^M>>>3^M<<25^M<<14)+(v>>>17^v>>>19^v>>>10^v<<15^v<<13)+k+p|0;x=k+x+(E>>>6^E>>>11^E>>>25^E<<26^E<<21^E<<7)+(S^E&(T^S))+0xf40e3585|0;A=A+x|0;x=x+(C&D^L&(C^D))+(C>>>2^C>>>13^C>>>22^C<<30^C<<19^C<<10)|0;M=(e>>>7^e>>>18^e>>>3^e<<25^e<<14)+(w>>>17^w>>>19^w>>>10^w<<15^w<<13)+M+_|0;S=M+S+(A>>>6^A>>>11^A>>>25^A<<26^A<<21^A<<7)+(T^A&(E^T))+0x106aa070|0;L=L+S|0;S=S+(x&C^D&(x^C))+(x>>>2^x>>>13^x>>>22^x<<30^x<<19^x<<10)|0;e=(t>>>7^t>>>18^t>>>3^t<<25^t<<14)+(k>>>17^k>>>19^k>>>10^k<<15^k<<13)+e+g|0;T=e+T+(L>>>6^L>>>11^L>>>25^L<<26^L<<21^L<<7)+(E^L&(A^E))+0x19a4c116|0;D=D+T|0;T=T+(S&x^C&(S^x))+(S>>>2^S>>>13^S>>>22^S<<30^S<<19^S<<10)|0;t=(r>>>7^r>>>18^r>>>3^r<<25^r<<14)+(M>>>17^M>>>19^M>>>10^M<<15^M<<13)+t+y|0;E=t+E+(D>>>6^D>>>11^D>>>25^D<<26^D<<21^D<<7)+(A^D&(L^A))+0x1e376c08|0;C=C+E|0;E=E+(T&S^x&(T^S))+(T>>>2^T>>>13^T>>>22^T<<30^T<<19^T<<10)|0;r=(u>>>7^u>>>18^u>>>3^u<<25^u<<14)+(e>>>17^e>>>19^e>>>10^e<<15^e<<13)+r+b|0;A=r+A+(C>>>6^C>>>11^C>>>25^C<<26^C<<21^C<<7)+(L^C&(D^L))+0x2748774c|0;x=x+A|0;A=A+(E&T^S&(E^T))+(E>>>2^E>>>13^E>>>22^E<<30^E<<19^E<<10)|0;u=(h>>>7^h>>>18^h>>>3^h<<25^h<<14)+(t>>>17^t>>>19^t>>>10^t<<15^t<<13)+u+v|0;L=u+L+(x>>>6^x>>>11^x>>>25^x<<26^x<<21^x<<7)+(D^x&(C^D))+0x34b0bcb5|0;S=S+L|0;L=L+(A&E^T&(A^E))+(A>>>2^A>>>13^A>>>22^A<<30^A<<19^A<<10)|0;h=(f>>>7^f>>>18^f>>>3^f<<25^f<<14)+(r>>>17^r>>>19^r>>>10^r<<15^r<<13)+h+w|0;D=h+D+(S>>>6^S>>>11^S>>>25^S<<26^S<<21^S<<7)+(C^S&(x^C))+0x391c0cb3|0;T=T+D|0;D=D+(L&A^E&(L^A))+(L>>>2^L>>>13^L>>>22^L<<30^L<<19^L<<10)|0;f=(m>>>7^m>>>18^m>>>3^m<<25^m<<14)+(u>>>17^u>>>19^u>>>10^u<<15^u<<13)+f+k|0;C=f+C+(T>>>6^T>>>11^T>>>25^T<<26^T<<21^T<<7)+(x^T&(S^x))+0x4ed8aa4a|0;E=E+C|0;C=C+(D&L^A&(D^L))+(D>>>2^D>>>13^D>>>22^D<<30^D<<19^D<<10)|0;m=(p>>>7^p>>>18^p>>>3^p<<25^p<<14)+(h>>>17^h>>>19^h>>>10^h<<15^h<<13)+m+M|0;x=m+x+(E>>>6^E>>>11^E>>>25^E<<26^E<<21^E<<7)+(S^E&(T^S))+0x5b9cca4f|0;A=A+x|0;x=x+(C&D^L&(C^D))+(C>>>2^C>>>13^C>>>22^C<<30^C<<19^C<<10)|0;p=(_>>>7^_>>>18^_>>>3^_<<25^_<<14)+(f>>>17^f>>>19^f>>>10^f<<15^f<<13)+p+e|0;S=p+S+(A>>>6^A>>>11^A>>>25^A<<26^A<<21^A<<7)+(T^A&(E^T))+0x682e6ff3|0;L=L+S|0;S=S+(x&C^D&(x^C))+(x>>>2^x>>>13^x>>>22^x<<30^x<<19^x<<10)|0;_=(g>>>7^g>>>18^g>>>3^g<<25^g<<14)+(m>>>17^m>>>19^m>>>10^m<<15^m<<13)+_+t|0;T=_+T+(L>>>6^L>>>11^L>>>25^L<<26^L<<21^L<<7)+(E^L&(A^E))+0x748f82ee|0;D=D+T|0;T=T+(S&x^C&(S^x))+(S>>>2^S>>>13^S>>>22^S<<30^S<<19^S<<10)|0;g=(y>>>7^y>>>18^y>>>3^y<<25^y<<14)+(p>>>17^p>>>19^p>>>10^p<<15^p<<13)+g+r|0;E=g+E+(D>>>6^D>>>11^D>>>25^D<<26^D<<21^D<<7)+(A^D&(L^A))+0x78a5636f|0;C=C+E|0;E=E+(T&S^x&(T^S))+(T>>>2^T>>>13^T>>>22^T<<30^T<<19^T<<10)|0;y=(b>>>7^b>>>18^b>>>3^b<<25^b<<14)+(_>>>17^_>>>19^_>>>10^_<<15^_<<13)+y+u|0;A=y+A+(C>>>6^C>>>11^C>>>25^C<<26^C<<21^C<<7)+(L^C&(D^L))+0x84c87814|0;x=x+A|0;A=A+(E&T^S&(E^T))+(E>>>2^E>>>13^E>>>22^E<<30^E<<19^E<<10)|0;b=(v>>>7^v>>>18^v>>>3^v<<25^v<<14)+(g>>>17^g>>>19^g>>>10^g<<15^g<<13)+b+h|0;L=b+L+(x>>>6^x>>>11^x>>>25^x<<26^x<<21^x<<7)+(D^x&(C^D))+0x8cc70208|0;S=S+L|0;L=L+(A&E^T&(A^E))+(A>>>2^A>>>13^A>>>22^A<<30^A<<19^A<<10)|0;v=(w>>>7^w>>>18^w>>>3^w<<25^w<<14)+(y>>>17^y>>>19^y>>>10^y<<15^y<<13)+v+f|0;D=v+D+(S>>>6^S>>>11^S>>>25^S<<26^S<<21^S<<7)+(C^S&(x^C))+0x90befffa|0;T=T+D|0;D=D+(L&A^E&(L^A))+(L>>>2^L>>>13^L>>>22^L<<30^L<<19^L<<10)|0;w=(k>>>7^k>>>18^k>>>3^k<<25^k<<14)+(b>>>17^b>>>19^b>>>10^b<<15^b<<13)+w+m|0;C=w+C+(T>>>6^T>>>11^T>>>25^T<<26^T<<21^T<<7)+(x^T&(S^x))+0xa4506ceb|0;E=E+C|0;C=C+(D&L^A&(D^L))+(D>>>2^D>>>13^D>>>22^D<<30^D<<19^D<<10)|0;k=(M>>>7^M>>>18^M>>>3^M<<25^M<<14)+(v>>>17^v>>>19^v>>>10^v<<15^v<<13)+k+p|0;x=k+x+(E>>>6^E>>>11^E>>>25^E<<26^E<<21^E<<7)+(S^E&(T^S))+0xbef9a3f7|0;A=A+x|0;x=x+(C&D^L&(C^D))+(C>>>2^C>>>13^C>>>22^C<<30^C<<19^C<<10)|0;M=(e>>>7^e>>>18^e>>>3^e<<25^e<<14)+(w>>>17^w>>>19^w>>>10^w<<15^w<<13)+M+_|0;S=M+S+(A>>>6^A>>>11^A>>>25^A<<26^A<<21^A<<7)+(T^A&(E^T))+0xc67178f2|0;L=L+S|0;S=S+(x&C^D&(x^C))+(x>>>2^x>>>13^x>>>22^x<<30^x<<19^x<<10)|0;n=n+S|0;i=i+x|0;s=s+C|0;a=a+D|0;o=o+L|0;l=l+A|0;c=c+E|0;d=d+T|0}function T(e){e=e|0;E(A[e|0]<<24|A[e|1]<<16|A[e|2]<<8|A[e|3],A[e|4]<<24|A[e|5]<<16|A[e|6]<<8|A[e|7],A[e|8]<<24|A[e|9]<<16|A[e|10]<<8|A[e|11],A[e|12]<<24|A[e|13]<<16|A[e|14]<<8|A[e|15],A[e|16]<<24|A[e|17]<<16|A[e|18]<<8|A[e|19],A[e|20]<<24|A[e|21]<<16|A[e|22]<<8|A[e|23],A[e|24]<<24|A[e|25]<<16|A[e|26]<<8|A[e|27],A[e|28]<<24|A[e|29]<<16|A[e|30]<<8|A[e|31],A[e|32]<<24|A[e|33]<<16|A[e|34]<<8|A[e|35],A[e|36]<<24|A[e|37]<<16|A[e|38]<<8|A[e|39],A[e|40]<<24|A[e|41]<<16|A[e|42]<<8|A[e|43],A[e|44]<<24|A[e|45]<<16|A[e|46]<<8|A[e|47],A[e|48]<<24|A[e|49]<<16|A[e|50]<<8|A[e|51],A[e|52]<<24|A[e|53]<<16|A[e|54]<<8|A[e|55],A[e|56]<<24|A[e|57]<<16|A[e|58]<<8|A[e|59],A[e|60]<<24|A[e|61]<<16|A[e|62]<<8|A[e|63])}function P(e){e=e|0;A[e|0]=n>>>24;A[e|1]=n>>>16&255;A[e|2]=n>>>8&255;A[e|3]=n&255;A[e|4]=i>>>24;A[e|5]=i>>>16&255;A[e|6]=i>>>8&255;A[e|7]=i&255;A[e|8]=s>>>24;A[e|9]=s>>>16&255;A[e|10]=s>>>8&255;A[e|11]=s&255;A[e|12]=a>>>24;A[e|13]=a>>>16&255;A[e|14]=a>>>8&255;A[e|15]=a&255;A[e|16]=o>>>24;A[e|17]=o>>>16&255;A[e|18]=o>>>8&255;A[e|19]=o&255;A[e|20]=l>>>24;A[e|21]=l>>>16&255;A[e|22]=l>>>8&255;A[e|23]=l&255;A[e|24]=c>>>24;A[e|25]=c>>>16&255;A[e|26]=c>>>8&255;A[e|27]=c&255;A[e|28]=d>>>24;A[e|29]=d>>>16&255;A[e|30]=d>>>8&255;A[e|31]=d&255}function Y(){n=0x6a09e667;i=0xbb67ae85;s=0x3c6ef372;a=0xa54ff53a;o=0x510e527f;l=0x9b05688c;c=0x1f83d9ab;d=0x5be0cd19;u=h=0}function R(e,t,r,f,m,p,_,g,y,b){e=e|0;t=t|0;r=r|0;f=f|0;m=m|0;p=p|0;_=_|0;g=g|0;y=y|0;b=b|0;n=e;i=t;s=r;a=f;o=m;l=p;c=_;d=g;u=y;h=b}function O(e,t){e=e|0;t=t|0;var r=0;if(e&63)return-1;while((t|0)>=64){T(e);e=e+64|0;t=t-64|0;r=r+64|0}u=u+r|0;if(u>>>0>>0)h=h+1|0;return r|0}function I(e,t,r){e=e|0;t=t|0;r=r|0;var n=0,i=0;if(e&63)return-1;if(~r)if(r&31)return-1;if((t|0)>=64){n=O(e,t)|0;if((n|0)==-1)return-1;e=e+n|0;t=t-n|0}n=n+t|0;u=u+t|0;if(u>>>0>>0)h=h+1|0;A[e|t]=0x80;if((t|0)>=56){for(i=t+1|0;(i|0)<64;i=i+1|0)A[e|i]=0x00;T(e);t=0;A[e|0]=0}for(i=t+1|0;(i|0)<59;i=i+1|0)A[e|i]=0;A[e|56]=h>>>21&255;A[e|57]=h>>>13&255;A[e|58]=h>>>5&255;A[e|59]=h<<3&255|u>>>29;A[e|60]=u>>>21&255;A[e|61]=u>>>13&255;A[e|62]=u>>>5&255;A[e|63]=u<<3&255;T(e);if(~r)P(r);return n|0}function j(){n=f;i=m;s=p;a=_;o=g;l=y;c=b;d=v;u=64;h=0}function F(){n=w;i=k;s=M;a=S;o=x;l=C;c=D;d=L;u=64;h=0}function H(e,t,r,A,T,P,R,O,I,j,F,H,N,B,z,U){e=e|0;t=t|0;r=r|0;A=A|0;T=T|0;P=P|0;R=R|0;O=O|0;I=I|0;j=j|0;F=F|0;H=H|0;N=N|0;B=B|0;z=z|0;U=U|0;Y();E(e^0x5c5c5c5c,t^0x5c5c5c5c,r^0x5c5c5c5c,A^0x5c5c5c5c,T^0x5c5c5c5c,P^0x5c5c5c5c,R^0x5c5c5c5c,O^0x5c5c5c5c,I^0x5c5c5c5c,j^0x5c5c5c5c,F^0x5c5c5c5c,H^0x5c5c5c5c,N^0x5c5c5c5c,B^0x5c5c5c5c,z^0x5c5c5c5c,U^0x5c5c5c5c);w=n;k=i;M=s;S=a;x=o;C=l;D=c;L=d;Y();E(e^0x36363636,t^0x36363636,r^0x36363636,A^0x36363636,T^0x36363636,P^0x36363636,R^0x36363636,O^0x36363636,I^0x36363636,j^0x36363636,F^0x36363636,H^0x36363636,N^0x36363636,B^0x36363636,z^0x36363636,U^0x36363636);f=n;m=i;p=s;_=a;g=o;y=l;b=c;v=d;u=64;h=0}function N(e,t,r){e=e|0;t=t|0;r=r|0;var u=0,h=0,f=0,m=0,p=0,_=0,g=0,y=0,b=0;if(e&63)return-1;if(~r)if(r&31)return-1;b=I(e,t,-1)|0;u=n,h=i,f=s,m=a,p=o,_=l,g=c,y=d;F();E(u,h,f,m,p,_,g,y,0x80000000,0,0,0,0,0,0,768);if(~r)P(r);return b|0}function B(e,t,r,u,h){e=e|0;t=t|0;r=r|0;u=u|0;h=h|0;var f=0,m=0,p=0,_=0,g=0,y=0,b=0,v=0,w=0,k=0,M=0,S=0,x=0,C=0,D=0,L=0;if(e&63)return-1;if(~h)if(h&31)return-1;A[e+t|0]=r>>>24;A[e+t+1|0]=r>>>16&255;A[e+t+2|0]=r>>>8&255;A[e+t+3|0]=r&255;N(e,t+4|0,-1)|0;f=w=n,m=k=i,p=M=s,_=S=a,g=x=o,y=C=l,b=D=c,v=L=d;u=u-1|0;while((u|0)>0){j();E(w,k,M,S,x,C,D,L,0x80000000,0,0,0,0,0,0,768);w=n,k=i,M=s,S=a,x=o,C=l,D=c,L=d;F();E(w,k,M,S,x,C,D,L,0x80000000,0,0,0,0,0,0,768);w=n,k=i,M=s,S=a,x=o,C=l,D=c,L=d;f=f^n;m=m^i;p=p^s;_=_^a;g=g^o;y=y^l;b=b^c;v=v^d;u=u-1|0}n=f;i=m;s=p;a=_;o=g;l=y;c=b;d=v;if(~h)P(h);return 0}return{reset:Y,init:R,process:O,finish:I,hmac_reset:j,hmac_init:H,hmac_finish:N,pbkdf2_generate_block:B}}},{}],13:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Sha256=r._sha256_hash_size=r._sha256_block_size=void 0;var n,i=e("./sha256.asm"),s=e("../hash"),a=(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=r._sha256_block_size=64,l=r._sha256_hash_size=32,c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.NAME="sha256",t.BLOCK_SIZE=o,t.HASH_SIZE=l,t}return a(t,e),t.bytes=function(e){return(new t).process(e).finish().result},t.NAME="sha256",t.heap_pool=[],t.asm_pool=[],t.asm_function=i.sha256_asm,t}(s.Hash);r.Sha256=c},{"../hash":9,"./sha256.asm":12}],14:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n,i=(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=function(e){function t(){for(var t=[],r=0;r>1),n=0;n>1]=parseInt(e.substr(n,2),16);return r},r.base64_to_bytes=function(e){return s(n(e))},r.bytes_to_string=a,r.bytes_to_hex=function(e){for(var t="",r=0;r>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,(e|=e>>>16)+1},r.is_number=function(e){return"number"==typeof e},r.is_string=function(e){return"string"==typeof e},r.is_buffer=function(e){return e instanceof ArrayBuffer},r.is_bytes=function(e){return e instanceof Uint8Array},r.is_typed_array=function(e){return e instanceof Int8Array||e instanceof Uint8Array||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array},r._heap_init=function(e,t){var r=e?e.byteLength:t||65536;if(4095&r||r<=0)throw new Error("heap size must be a positive integer and a multiple of 4096");return e||new Uint8Array(new ArrayBuffer(r))},r._heap_write=function(e,t,r,n,i){var s=e.length-t,a=s=r)throw new Error("Malformed string, low surrogate expected at position "+i);a=(55296^a)<<10|65536|56320^e.charCodeAt(i)}else if(!t&&a>>>8)throw new Error("Wide characters are not allowed.");!t||a<=127?n[s++]=a:a<=2047?(n[s++]=192|a>>6,n[s++]=128|63&a):a<=65535?(n[s++]=224|a>>12,n[s++]=128|a>>6&63,n[s++]=128|63&a):(n[s++]=240|a>>18,n[s++]=128|a>>12&63,n[s++]=128|a>>6&63,n[s++]=128|63&a)}return n.subarray(0,s)}function a(e,t){void 0===t&&(t=!1);for(var r=e.length,n=new Array(r),i=0,s=0;i=192&&a<224&&i+1=224&&a<240&&i+2=240&&a<248&&i+3>10,n[s++]=56320|1023&o)}}var l="",c=16384;for(i=0;i=49&&a<=54?a-49+10:a>=17&&a<=22?a-17+10:15&a}return n}function l(e,t,r,n){for(var i=0,s=Math.min(e.length,r),a=t;a=49?o-49+10:o>=17?o-17+10:o}return i}s.isBN=function(e){return e instanceof s||null!==e&&"object"==typeof e&&e.constructor.wordSize===s.wordSize&&Array.isArray(e.words)},s.max=function(e,t){return e.cmp(t)>0?e:t},s.min=function(e,t){return e.cmp(t)<0?e:t},s.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&i++,16===t?this._parseHex(e,i):this._parseBase(e,t,i),"-"===e[0]&&(this.negative=1),this.strip(),"le"===r&&this._initArray(this.toArray(),t,r)},s.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},s.prototype._initArray=function(e,t,r){if(n("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i=0;i-=3)this.words[s]|=(a=e[i]|e[i-1]<<8|e[i-2]<<16)<>>26-o&67108863,(o+=24)>=26&&(o-=26,s++);else if("le"===r)for(i=0,s=0;i>>26-o&67108863,(o+=24)>=26&&(o-=26,s++);return this.strip()},s.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r=t;r-=6)i=o(e,r,r+6),this.words[n]|=i<>>26-s&4194303,(s+=24)>=26&&(s-=26,n++);r+6!==t&&(i=o(e,t,r+6),this.words[n]|=i<>>26-s&4194303),this.strip()},s.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=t)n++;n--,i=i/t|0;for(var s=e.length-r,a=s%n,o=Math.min(s,s-a)+r,c=0,d=r;d1&&0===this.words[this.length-1];)this.length--;return this._normSign()},s.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},s.prototype.inspect=function(){return(this.red?""};var c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],u=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function h(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var i=0|e.words[0],s=0|t.words[0],a=i*s,o=a/67108864|0;r.words[0]=67108863&a;for(var l=1;l>>26,d=67108863&o,u=Math.min(l,t.length-1),h=Math.max(0,l-e.length+1);h<=u;h++)c+=(a=(i=0|e.words[l-h|0])*(s=0|t.words[h])+d)/67108864|0,d=67108863&a;r.words[l]=0|d,o=0|c}return 0!==o?r.words[l]=0|o:r.length--,r.strip()}s.prototype.toString=function(e,t){var r;if(t=0|t||1,16===(e=e||10)||"hex"===e){r="";for(var i=0,s=0,a=0;a>>24-i&16777215)||a!==this.length-1?c[6-l.length]+l+r:l+r,(i+=2)>=26&&(i-=26,a--)}for(0!==s&&(r=s.toString(16)+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var h=d[e],f=u[e];r="";var m=this.clone();for(m.negative=0;!m.isZero();){var p=m.modn(f).toString(e);r=(m=m.idivn(f)).isZero()?p+r:c[h-p.length]+p+r}for(this.isZero()&&(r="0"+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},s.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},s.prototype.toJSON=function(){return this.toString(16)},s.prototype.toBuffer=function(e,t){return n(void 0!==a),this.toArrayLike(a,e,t)},s.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},s.prototype.toArrayLike=function(e,t,r){var i=this.byteLength(),s=r||Math.max(1,i);n(i<=s,"byte array longer than desired length"),n(s>0,"Requested array length <= 0"),this.strip();var a,o,l="le"===t,c=new e(s),d=this.clone();if(l){for(o=0;!d.isZero();o++)a=d.andln(255),d.iushrn(8),c[o]=a;for(;o=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},s.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0==(8191&t)&&(r+=13,t>>>=13),0==(127&t)&&(r+=7,t>>>=7),0==(15&t)&&(r+=4,t>>>=4),0==(3&t)&&(r+=2,t>>>=2),0==(1&t)&&r++,r},s.prototype.bitLength=function(){var e=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+e},s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},s.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},s.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;re.length?this.clone().iand(e):e.clone().iand(this)},s.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},s.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;ne.length?this.clone().ixor(e):e.clone().ixor(this)},s.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},s.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},s.prototype.notn=function(e){return this.clone().inotn(e)},s.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var r=e/26|0,i=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<e.length?(r=this,n=e):(r=e,n=this);for(var i=0,s=0;s>>26;for(;0!==i&&s>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;se.length?this.clone().iadd(e):e.clone().iadd(this)},s.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=e):(r=e,n=this);for(var s=0,a=0;a>26,this.words[a]=67108863&t;for(;0!==s&&a>26,this.words[a]=67108863&t;if(0===s&&a>>13,f=0|a[1],m=8191&f,p=f>>>13,_=0|a[2],g=8191&_,y=_>>>13,b=0|a[3],v=8191&b,w=b>>>13,k=0|a[4],M=8191&k,S=k>>>13,x=0|a[5],C=8191&x,D=x>>>13,L=0|a[6],A=8191&L,E=L>>>13,T=0|a[7],P=8191&T,Y=T>>>13,R=0|a[8],O=8191&R,I=R>>>13,j=0|a[9],F=8191&j,H=j>>>13,N=0|o[0],B=8191&N,z=N>>>13,U=0|o[1],V=8191&U,K=U>>>13,W=0|o[2],q=8191&W,G=W>>>13,$=0|o[3],Z=8191&$,J=$>>>13,Q=0|o[4],X=8191&Q,ee=Q>>>13,te=0|o[5],re=8191&te,ne=te>>>13,ie=0|o[6],se=8191&ie,ae=ie>>>13,oe=0|o[7],le=8191&oe,ce=oe>>>13,de=0|o[8],ue=8191&de,he=de>>>13,fe=0|o[9],me=8191&fe,pe=fe>>>13;r.negative=e.negative^t.negative,r.length=19;var _e=(c+(n=Math.imul(u,B))|0)+((8191&(i=(i=Math.imul(u,z))+Math.imul(h,B)|0))<<13)|0;c=((s=Math.imul(h,z))+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(m,B),i=(i=Math.imul(m,z))+Math.imul(p,B)|0,s=Math.imul(p,z);var ge=(c+(n=n+Math.imul(u,V)|0)|0)+((8191&(i=(i=i+Math.imul(u,K)|0)+Math.imul(h,V)|0))<<13)|0;c=((s=s+Math.imul(h,K)|0)+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(g,B),i=(i=Math.imul(g,z))+Math.imul(y,B)|0,s=Math.imul(y,z),n=n+Math.imul(m,V)|0,i=(i=i+Math.imul(m,K)|0)+Math.imul(p,V)|0,s=s+Math.imul(p,K)|0;var ye=(c+(n=n+Math.imul(u,q)|0)|0)+((8191&(i=(i=i+Math.imul(u,G)|0)+Math.imul(h,q)|0))<<13)|0;c=((s=s+Math.imul(h,G)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(v,B),i=(i=Math.imul(v,z))+Math.imul(w,B)|0,s=Math.imul(w,z),n=n+Math.imul(g,V)|0,i=(i=i+Math.imul(g,K)|0)+Math.imul(y,V)|0,s=s+Math.imul(y,K)|0,n=n+Math.imul(m,q)|0,i=(i=i+Math.imul(m,G)|0)+Math.imul(p,q)|0,s=s+Math.imul(p,G)|0;var be=(c+(n=n+Math.imul(u,Z)|0)|0)+((8191&(i=(i=i+Math.imul(u,J)|0)+Math.imul(h,Z)|0))<<13)|0;c=((s=s+Math.imul(h,J)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(M,B),i=(i=Math.imul(M,z))+Math.imul(S,B)|0,s=Math.imul(S,z),n=n+Math.imul(v,V)|0,i=(i=i+Math.imul(v,K)|0)+Math.imul(w,V)|0,s=s+Math.imul(w,K)|0,n=n+Math.imul(g,q)|0,i=(i=i+Math.imul(g,G)|0)+Math.imul(y,q)|0,s=s+Math.imul(y,G)|0,n=n+Math.imul(m,Z)|0,i=(i=i+Math.imul(m,J)|0)+Math.imul(p,Z)|0,s=s+Math.imul(p,J)|0;var ve=(c+(n=n+Math.imul(u,X)|0)|0)+((8191&(i=(i=i+Math.imul(u,ee)|0)+Math.imul(h,X)|0))<<13)|0;c=((s=s+Math.imul(h,ee)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(C,B),i=(i=Math.imul(C,z))+Math.imul(D,B)|0,s=Math.imul(D,z),n=n+Math.imul(M,V)|0,i=(i=i+Math.imul(M,K)|0)+Math.imul(S,V)|0,s=s+Math.imul(S,K)|0,n=n+Math.imul(v,q)|0,i=(i=i+Math.imul(v,G)|0)+Math.imul(w,q)|0,s=s+Math.imul(w,G)|0,n=n+Math.imul(g,Z)|0,i=(i=i+Math.imul(g,J)|0)+Math.imul(y,Z)|0,s=s+Math.imul(y,J)|0,n=n+Math.imul(m,X)|0,i=(i=i+Math.imul(m,ee)|0)+Math.imul(p,X)|0,s=s+Math.imul(p,ee)|0;var we=(c+(n=n+Math.imul(u,re)|0)|0)+((8191&(i=(i=i+Math.imul(u,ne)|0)+Math.imul(h,re)|0))<<13)|0;c=((s=s+Math.imul(h,ne)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(A,B),i=(i=Math.imul(A,z))+Math.imul(E,B)|0,s=Math.imul(E,z),n=n+Math.imul(C,V)|0,i=(i=i+Math.imul(C,K)|0)+Math.imul(D,V)|0,s=s+Math.imul(D,K)|0,n=n+Math.imul(M,q)|0,i=(i=i+Math.imul(M,G)|0)+Math.imul(S,q)|0,s=s+Math.imul(S,G)|0,n=n+Math.imul(v,Z)|0,i=(i=i+Math.imul(v,J)|0)+Math.imul(w,Z)|0,s=s+Math.imul(w,J)|0,n=n+Math.imul(g,X)|0,i=(i=i+Math.imul(g,ee)|0)+Math.imul(y,X)|0,s=s+Math.imul(y,ee)|0,n=n+Math.imul(m,re)|0,i=(i=i+Math.imul(m,ne)|0)+Math.imul(p,re)|0,s=s+Math.imul(p,ne)|0;var ke=(c+(n=n+Math.imul(u,se)|0)|0)+((8191&(i=(i=i+Math.imul(u,ae)|0)+Math.imul(h,se)|0))<<13)|0;c=((s=s+Math.imul(h,ae)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(P,B),i=(i=Math.imul(P,z))+Math.imul(Y,B)|0,s=Math.imul(Y,z),n=n+Math.imul(A,V)|0,i=(i=i+Math.imul(A,K)|0)+Math.imul(E,V)|0,s=s+Math.imul(E,K)|0,n=n+Math.imul(C,q)|0,i=(i=i+Math.imul(C,G)|0)+Math.imul(D,q)|0,s=s+Math.imul(D,G)|0,n=n+Math.imul(M,Z)|0,i=(i=i+Math.imul(M,J)|0)+Math.imul(S,Z)|0,s=s+Math.imul(S,J)|0,n=n+Math.imul(v,X)|0,i=(i=i+Math.imul(v,ee)|0)+Math.imul(w,X)|0,s=s+Math.imul(w,ee)|0,n=n+Math.imul(g,re)|0,i=(i=i+Math.imul(g,ne)|0)+Math.imul(y,re)|0,s=s+Math.imul(y,ne)|0,n=n+Math.imul(m,se)|0,i=(i=i+Math.imul(m,ae)|0)+Math.imul(p,se)|0,s=s+Math.imul(p,ae)|0;var Me=(c+(n=n+Math.imul(u,le)|0)|0)+((8191&(i=(i=i+Math.imul(u,ce)|0)+Math.imul(h,le)|0))<<13)|0;c=((s=s+Math.imul(h,ce)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(O,B),i=(i=Math.imul(O,z))+Math.imul(I,B)|0,s=Math.imul(I,z),n=n+Math.imul(P,V)|0,i=(i=i+Math.imul(P,K)|0)+Math.imul(Y,V)|0,s=s+Math.imul(Y,K)|0,n=n+Math.imul(A,q)|0,i=(i=i+Math.imul(A,G)|0)+Math.imul(E,q)|0,s=s+Math.imul(E,G)|0,n=n+Math.imul(C,Z)|0,i=(i=i+Math.imul(C,J)|0)+Math.imul(D,Z)|0,s=s+Math.imul(D,J)|0,n=n+Math.imul(M,X)|0,i=(i=i+Math.imul(M,ee)|0)+Math.imul(S,X)|0,s=s+Math.imul(S,ee)|0,n=n+Math.imul(v,re)|0,i=(i=i+Math.imul(v,ne)|0)+Math.imul(w,re)|0,s=s+Math.imul(w,ne)|0,n=n+Math.imul(g,se)|0,i=(i=i+Math.imul(g,ae)|0)+Math.imul(y,se)|0,s=s+Math.imul(y,ae)|0,n=n+Math.imul(m,le)|0,i=(i=i+Math.imul(m,ce)|0)+Math.imul(p,le)|0,s=s+Math.imul(p,ce)|0;var Se=(c+(n=n+Math.imul(u,ue)|0)|0)+((8191&(i=(i=i+Math.imul(u,he)|0)+Math.imul(h,ue)|0))<<13)|0;c=((s=s+Math.imul(h,he)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(F,B),i=(i=Math.imul(F,z))+Math.imul(H,B)|0,s=Math.imul(H,z),n=n+Math.imul(O,V)|0,i=(i=i+Math.imul(O,K)|0)+Math.imul(I,V)|0,s=s+Math.imul(I,K)|0,n=n+Math.imul(P,q)|0,i=(i=i+Math.imul(P,G)|0)+Math.imul(Y,q)|0,s=s+Math.imul(Y,G)|0,n=n+Math.imul(A,Z)|0,i=(i=i+Math.imul(A,J)|0)+Math.imul(E,Z)|0,s=s+Math.imul(E,J)|0,n=n+Math.imul(C,X)|0,i=(i=i+Math.imul(C,ee)|0)+Math.imul(D,X)|0,s=s+Math.imul(D,ee)|0,n=n+Math.imul(M,re)|0,i=(i=i+Math.imul(M,ne)|0)+Math.imul(S,re)|0,s=s+Math.imul(S,ne)|0,n=n+Math.imul(v,se)|0,i=(i=i+Math.imul(v,ae)|0)+Math.imul(w,se)|0,s=s+Math.imul(w,ae)|0,n=n+Math.imul(g,le)|0,i=(i=i+Math.imul(g,ce)|0)+Math.imul(y,le)|0,s=s+Math.imul(y,ce)|0,n=n+Math.imul(m,ue)|0,i=(i=i+Math.imul(m,he)|0)+Math.imul(p,ue)|0,s=s+Math.imul(p,he)|0;var xe=(c+(n=n+Math.imul(u,me)|0)|0)+((8191&(i=(i=i+Math.imul(u,pe)|0)+Math.imul(h,me)|0))<<13)|0;c=((s=s+Math.imul(h,pe)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(F,V),i=(i=Math.imul(F,K))+Math.imul(H,V)|0,s=Math.imul(H,K),n=n+Math.imul(O,q)|0,i=(i=i+Math.imul(O,G)|0)+Math.imul(I,q)|0,s=s+Math.imul(I,G)|0,n=n+Math.imul(P,Z)|0,i=(i=i+Math.imul(P,J)|0)+Math.imul(Y,Z)|0,s=s+Math.imul(Y,J)|0,n=n+Math.imul(A,X)|0,i=(i=i+Math.imul(A,ee)|0)+Math.imul(E,X)|0,s=s+Math.imul(E,ee)|0,n=n+Math.imul(C,re)|0,i=(i=i+Math.imul(C,ne)|0)+Math.imul(D,re)|0,s=s+Math.imul(D,ne)|0,n=n+Math.imul(M,se)|0,i=(i=i+Math.imul(M,ae)|0)+Math.imul(S,se)|0,s=s+Math.imul(S,ae)|0,n=n+Math.imul(v,le)|0,i=(i=i+Math.imul(v,ce)|0)+Math.imul(w,le)|0,s=s+Math.imul(w,ce)|0,n=n+Math.imul(g,ue)|0,i=(i=i+Math.imul(g,he)|0)+Math.imul(y,ue)|0,s=s+Math.imul(y,he)|0;var Ce=(c+(n=n+Math.imul(m,me)|0)|0)+((8191&(i=(i=i+Math.imul(m,pe)|0)+Math.imul(p,me)|0))<<13)|0;c=((s=s+Math.imul(p,pe)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(F,q),i=(i=Math.imul(F,G))+Math.imul(H,q)|0,s=Math.imul(H,G),n=n+Math.imul(O,Z)|0,i=(i=i+Math.imul(O,J)|0)+Math.imul(I,Z)|0,s=s+Math.imul(I,J)|0,n=n+Math.imul(P,X)|0,i=(i=i+Math.imul(P,ee)|0)+Math.imul(Y,X)|0,s=s+Math.imul(Y,ee)|0,n=n+Math.imul(A,re)|0,i=(i=i+Math.imul(A,ne)|0)+Math.imul(E,re)|0,s=s+Math.imul(E,ne)|0,n=n+Math.imul(C,se)|0,i=(i=i+Math.imul(C,ae)|0)+Math.imul(D,se)|0,s=s+Math.imul(D,ae)|0,n=n+Math.imul(M,le)|0,i=(i=i+Math.imul(M,ce)|0)+Math.imul(S,le)|0,s=s+Math.imul(S,ce)|0,n=n+Math.imul(v,ue)|0,i=(i=i+Math.imul(v,he)|0)+Math.imul(w,ue)|0,s=s+Math.imul(w,he)|0;var De=(c+(n=n+Math.imul(g,me)|0)|0)+((8191&(i=(i=i+Math.imul(g,pe)|0)+Math.imul(y,me)|0))<<13)|0;c=((s=s+Math.imul(y,pe)|0)+(i>>>13)|0)+(De>>>26)|0,De&=67108863,n=Math.imul(F,Z),i=(i=Math.imul(F,J))+Math.imul(H,Z)|0,s=Math.imul(H,J),n=n+Math.imul(O,X)|0,i=(i=i+Math.imul(O,ee)|0)+Math.imul(I,X)|0,s=s+Math.imul(I,ee)|0,n=n+Math.imul(P,re)|0,i=(i=i+Math.imul(P,ne)|0)+Math.imul(Y,re)|0,s=s+Math.imul(Y,ne)|0,n=n+Math.imul(A,se)|0,i=(i=i+Math.imul(A,ae)|0)+Math.imul(E,se)|0,s=s+Math.imul(E,ae)|0,n=n+Math.imul(C,le)|0,i=(i=i+Math.imul(C,ce)|0)+Math.imul(D,le)|0,s=s+Math.imul(D,ce)|0,n=n+Math.imul(M,ue)|0,i=(i=i+Math.imul(M,he)|0)+Math.imul(S,ue)|0,s=s+Math.imul(S,he)|0;var Le=(c+(n=n+Math.imul(v,me)|0)|0)+((8191&(i=(i=i+Math.imul(v,pe)|0)+Math.imul(w,me)|0))<<13)|0;c=((s=s+Math.imul(w,pe)|0)+(i>>>13)|0)+(Le>>>26)|0,Le&=67108863,n=Math.imul(F,X),i=(i=Math.imul(F,ee))+Math.imul(H,X)|0,s=Math.imul(H,ee),n=n+Math.imul(O,re)|0,i=(i=i+Math.imul(O,ne)|0)+Math.imul(I,re)|0,s=s+Math.imul(I,ne)|0,n=n+Math.imul(P,se)|0,i=(i=i+Math.imul(P,ae)|0)+Math.imul(Y,se)|0,s=s+Math.imul(Y,ae)|0,n=n+Math.imul(A,le)|0,i=(i=i+Math.imul(A,ce)|0)+Math.imul(E,le)|0,s=s+Math.imul(E,ce)|0,n=n+Math.imul(C,ue)|0,i=(i=i+Math.imul(C,he)|0)+Math.imul(D,ue)|0,s=s+Math.imul(D,he)|0;var Ae=(c+(n=n+Math.imul(M,me)|0)|0)+((8191&(i=(i=i+Math.imul(M,pe)|0)+Math.imul(S,me)|0))<<13)|0;c=((s=s+Math.imul(S,pe)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(F,re),i=(i=Math.imul(F,ne))+Math.imul(H,re)|0,s=Math.imul(H,ne),n=n+Math.imul(O,se)|0,i=(i=i+Math.imul(O,ae)|0)+Math.imul(I,se)|0,s=s+Math.imul(I,ae)|0,n=n+Math.imul(P,le)|0,i=(i=i+Math.imul(P,ce)|0)+Math.imul(Y,le)|0,s=s+Math.imul(Y,ce)|0,n=n+Math.imul(A,ue)|0,i=(i=i+Math.imul(A,he)|0)+Math.imul(E,ue)|0,s=s+Math.imul(E,he)|0;var Ee=(c+(n=n+Math.imul(C,me)|0)|0)+((8191&(i=(i=i+Math.imul(C,pe)|0)+Math.imul(D,me)|0))<<13)|0;c=((s=s+Math.imul(D,pe)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(F,se),i=(i=Math.imul(F,ae))+Math.imul(H,se)|0,s=Math.imul(H,ae),n=n+Math.imul(O,le)|0,i=(i=i+Math.imul(O,ce)|0)+Math.imul(I,le)|0,s=s+Math.imul(I,ce)|0,n=n+Math.imul(P,ue)|0,i=(i=i+Math.imul(P,he)|0)+Math.imul(Y,ue)|0,s=s+Math.imul(Y,he)|0;var Te=(c+(n=n+Math.imul(A,me)|0)|0)+((8191&(i=(i=i+Math.imul(A,pe)|0)+Math.imul(E,me)|0))<<13)|0;c=((s=s+Math.imul(E,pe)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(F,le),i=(i=Math.imul(F,ce))+Math.imul(H,le)|0,s=Math.imul(H,ce),n=n+Math.imul(O,ue)|0,i=(i=i+Math.imul(O,he)|0)+Math.imul(I,ue)|0,s=s+Math.imul(I,he)|0;var Pe=(c+(n=n+Math.imul(P,me)|0)|0)+((8191&(i=(i=i+Math.imul(P,pe)|0)+Math.imul(Y,me)|0))<<13)|0;c=((s=s+Math.imul(Y,pe)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(F,ue),i=(i=Math.imul(F,he))+Math.imul(H,ue)|0,s=Math.imul(H,he);var Ye=(c+(n=n+Math.imul(O,me)|0)|0)+((8191&(i=(i=i+Math.imul(O,pe)|0)+Math.imul(I,me)|0))<<13)|0;c=((s=s+Math.imul(I,pe)|0)+(i>>>13)|0)+(Ye>>>26)|0,Ye&=67108863;var Re=(c+(n=Math.imul(F,me))|0)+((8191&(i=(i=Math.imul(F,pe))+Math.imul(H,me)|0))<<13)|0;return c=((s=Math.imul(H,pe))+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,l[0]=_e,l[1]=ge,l[2]=ye,l[3]=be,l[4]=ve,l[5]=we,l[6]=ke,l[7]=Me,l[8]=Se,l[9]=xe,l[10]=Ce,l[11]=De,l[12]=Le,l[13]=Ae,l[14]=Ee,l[15]=Te,l[16]=Pe,l[17]=Ye,l[18]=Re,0!==c&&(l[19]=c,r.length++),r};function m(e,t,r){return(new p).mulp(e,t,r)}function p(e,t){this.x=e,this.y=t}Math.imul||(f=h),s.prototype.mulTo=function(e,t){var r=this.length+e.length;return 10===this.length&&10===e.length?f(this,e,t):r<63?h(this,e,t):r<1024?function(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,i=0,s=0;s>>26)|0)>>>26,a&=67108863}r.words[s]=o,n=a,a=i}return 0!==n?r.words[s]=n:r.length--,r.strip()}(this,e,t):m(this,e,t)},p.prototype.makeRBT=function(e){for(var t=new Array(e),r=s.prototype._countBits(e)-1,n=0;n>=1;return n},p.prototype.permute=function(e,t,r,n,i,s){for(var a=0;a>>=1)i++;return 1<>>=13),s>>>=13;for(a=2*t;a>=26,t+=i/67108864|0,t+=s>>>26,this.words[r]=67108863&s}return 0!==t&&(this.words[r]=t,this.length++),this},s.prototype.muln=function(e){return this.clone().imuln(e)},s.prototype.sqr=function(){return this.mul(this)},s.prototype.isqr=function(){return this.imul(this.clone())},s.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r>>n}return t}(e);if(0===t.length)return new s(1);for(var r=this,n=0;n=0);var t,r=e%26,i=(e-r)/26,s=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(t=0;t>>26-r}a&&(this.words[t]=a,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t=0),i=t?(t-t%26)/26:0;var s=e%26,a=Math.min((e-s)/26,this.length),o=67108863^67108863>>>s<a)for(this.length-=a,c=0;c=0&&(0!==d||c>=i);c--){var u=0|this.words[c];this.words[c]=d<<26-s|u>>>s,d=u&o}return l&&0!==d&&(l.words[l.length++]=d),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},s.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},s.prototype.shln=function(e){return this.clone().ishln(e)},s.prototype.ushln=function(e){return this.clone().iushln(e)},s.prototype.shrn=function(e){return this.clone().ishrn(e)},s.prototype.ushrn=function(e){return this.clone().iushrn(e)},s.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26;return!(this.length<=r||!(this.words[r]&1<=0);var t=e%26,r=(e-t)/26;return n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r?this:(0!==t&&r++,this.length=Math.min(r,this.length),0!==t&&(this.words[this.length-1]&=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},s.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(o/67108864|0),this.words[i+r]=67108863&s}for(;i>26,this.words[i+r]=67108863&s;if(0===a)return this.strip();for(n(-1===a),a=0,i=0;i>26,this.words[i]=67108863&s;return this.negative=1,this.strip()},s.prototype._wordDiv=function(e,t){var r,n=this.clone(),i=e,a=0|i.words[i.length-1];0!=(r=26-this._countBits(a))&&(i=i.ushln(r),n.iushln(r),a=0|i.words[i.length-1]);var o,l=n.length-i.length;if("mod"!==t){(o=new s(null)).length=l+1,o.words=new Array(o.length);for(var c=0;c=0;u--){var h=67108864*(0|n.words[i.length+u])+(0|n.words[i.length+u-1]);for(h=Math.min(h/a|0,67108863),n._ishlnsubmul(i,h,u);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(i,1,u),n.isZero()||(n.negative^=1);o&&(o.words[u]=h)}return o&&o.strip(),n.strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:o||null,mod:n}},s.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new s(0),mod:new s(0)}:0!==this.negative&&0===e.negative?(o=this.neg().divmod(e,t),"mod"!==t&&(i=o.div.neg()),"div"!==t&&(a=o.mod.neg(),r&&0!==a.negative&&a.iadd(e)),{div:i,mod:a}):0===this.negative&&0!==e.negative?(o=this.divmod(e.neg(),t),"mod"!==t&&(i=o.div.neg()),{div:i,mod:o.mod}):0!=(this.negative&e.negative)?(o=this.neg().divmod(e.neg(),t),"div"!==t&&(a=o.mod.neg(),r&&0!==a.negative&&a.isub(e)),{div:o.div,mod:a}):e.length>this.length||this.cmp(e)<0?{div:new s(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new s(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new s(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,a,o},s.prototype.div=function(e){return this.divmod(e,"div",!1).div},s.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},s.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},s.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),i=e.andln(1),s=r.cmp(n);return s<0||1===i&&0===s?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},s.prototype.modn=function(e){n(e<=67108863);for(var t=(1<<26)%e,r=0,i=this.length-1;i>=0;i--)r=(t*r+(0|this.words[i]))%e;return r},s.prototype.idivn=function(e){n(e<=67108863);for(var t=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*t;this.words[r]=i/e|0,t=i%e}return this.strip()},s.prototype.divn=function(e){return this.clone().idivn(e)},s.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new s(1),a=new s(0),o=new s(0),l=new s(1),c=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++c;for(var d=r.clone(),u=t.clone();!t.isZero();){for(var h=0,f=1;0==(t.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(d),a.isub(u)),i.iushrn(1),a.iushrn(1);for(var m=0,p=1;0==(r.words[0]&p)&&m<26;++m,p<<=1);if(m>0)for(r.iushrn(m);m-- >0;)(o.isOdd()||l.isOdd())&&(o.iadd(d),l.isub(u)),o.iushrn(1),l.iushrn(1);t.cmp(r)>=0?(t.isub(r),i.isub(o),a.isub(l)):(r.isub(t),o.isub(i),l.isub(a))}return{a:o,b:l,gcd:r.iushln(c)}},s.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i,a=new s(1),o=new s(0),l=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var c=0,d=1;0==(t.words[0]&d)&&c<26;++c,d<<=1);if(c>0)for(t.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(l),a.iushrn(1);for(var u=0,h=1;0==(r.words[0]&h)&&u<26;++u,h<<=1);if(u>0)for(r.iushrn(u);u-- >0;)o.isOdd()&&o.iadd(l),o.iushrn(1);t.cmp(r)>=0?(t.isub(r),a.isub(o)):(r.isub(t),o.isub(a))}return(i=0===t.cmpn(1)?a:o).cmpn(0)<0&&i.iadd(e),i},s.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=t.cmp(r);if(i<0){var s=t;t=r,r=s}else if(0===i||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},s.prototype.invm=function(e){return this.egcd(e).a.umod(e)},s.prototype.isEven=function(){return 0==(1&this.words[0])},s.prototype.isOdd=function(){return 1==(1&this.words[0])},s.prototype.andln=function(e){return this.words[0]&e},s.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,r=(e-t)/26,i=1<>>26,this.words[a]=o&=67108863}return 0!==s&&(this.words[a]=s,this.length++),this},s.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},s.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:ie.length)return 1;if(this.length=0;r--){var n=0|this.words[r],i=0|e.words[r];if(n!==i){ni&&(t=1);break}}return t},s.prototype.gtn=function(e){return 1===this.cmpn(e)},s.prototype.gt=function(e){return 1===this.cmp(e)},s.prototype.gten=function(e){return this.cmpn(e)>=0},s.prototype.gte=function(e){return this.cmp(e)>=0},s.prototype.ltn=function(e){return-1===this.cmpn(e)},s.prototype.lt=function(e){return-1===this.cmp(e)},s.prototype.lten=function(e){return this.cmpn(e)<=0},s.prototype.lte=function(e){return this.cmp(e)<=0},s.prototype.eqn=function(e){return 0===this.cmpn(e)},s.prototype.eq=function(e){return 0===this.cmp(e)},s.red=function(e){return new k(e)},s.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},s.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},s.prototype._forceRed=function(e){return this.red=e,this},s.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},s.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},s.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},s.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},s.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},s.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},s.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},s.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},s.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var _={k256:null,p224:null,p192:null,p25519:null};function g(e,t){this.name=e,this.p=new s(t,16),this.n=this.p.bitLength(),this.k=new s(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function y(){g.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function b(){g.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function v(){g.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function w(){g.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function k(e){if("string"==typeof e){var t=s._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function M(e){k.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new s(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}g.prototype._tmp=function(){var e=new s(null);return e.words=new Array(Math.ceil(this.n/13)),e},g.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t0?r.isub(this.p):r.strip(),r},g.prototype.split=function(e,t){e.iushrn(this.n,0,t)},g.prototype.imulK=function(e){return e.imul(this.k)},i(y,g),y.prototype.split=function(e,t){for(var r=4194303,n=Math.min(e.length,9),i=0;i>>22,s=a}e.words[i-10]=s>>>=22,e.length-=0===s&&e.length>10?10:9},y.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r>>=26,e.words[r]=i,t=n}return 0!==t&&(e.words[e.length++]=t),e},s._prime=function(e){if(_[e])return _[e];var t;if("k256"===e)t=new y;else if("p224"===e)t=new b;else if("p192"===e)t=new v;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new w}return _[e]=t,t},k.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},k.prototype._verify2=function(e,t){n(0==(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},k.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},k.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},k.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},k.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},k.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},k.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},k.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},k.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},k.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},k.prototype.isqr=function(e){return this.imul(e,e.clone())},k.prototype.sqr=function(e){return this.mul(e,e)},k.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var r=this.m.add(new s(1)).iushrn(2);return this.pow(e,r)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);n(!i.isZero());var o=new s(1).toRed(this),l=o.redNeg(),c=this.m.subn(1).iushrn(1),d=this.m.bitLength();for(d=new s(2*d*d).toRed(this);0!==this.pow(d,c).cmp(l);)d.redIAdd(l);for(var u=this.pow(d,i),h=this.pow(e,i.addn(1).iushrn(1)),f=this.pow(e,i),m=a;0!==f.cmp(o);){for(var p=f,_=0;0!==p.cmp(o);_++)p=p.redSqr();n(_=0;n--){for(var c=t.words[n],d=l-1;d>=0;d--){var u=c>>d&1;i!==r[0]&&(i=this.sqr(i)),0!==u||0!==a?(a<<=1,a|=u,(4==++o||0===n&&0===d)&&(i=this.mul(i,r[a]),o=0,a=0)):o=0}l=26}return i},k.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},k.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},s.mont=function(e){return new M(e)},i(M,k),M.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},M.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},M.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),s=i;return i.cmp(this.m)>=0?s=i.isub(this.m):i.cmpn(0)<0&&(s=i.iadd(this.m)),s._forceRed(this)},M.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new s(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},M.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(void 0===t||t,this)},{buffer:"buffer"}],17:[function(e,t,r){var n;function i(e){this.rand=e}if(t.exports=function(e){return n||(n=new i(null)),n.generate(e)},t.exports.Rand=i,i.prototype.generate=function(e){return this._rand(e)},i.prototype._rand=function(e){if(this.rand.getBytes)return this.rand.getBytes(e);for(var t=new Uint8Array(e),r=0;r0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function c(e,t){this.curve=e,this.type=t,this.precomputed=null}t.exports=l,l.prototype.point=function(){throw new Error("Not implemented")},l.prototype.validate=function(){throw new Error("Not implemented")},l.prototype._fixedNafMul=function(e,t){o(e.precomputed);var r=e._getDoubles(),n=s(t,1),i=(1<=l;t--)c=(c<<1)+n[t];a.push(c)}for(var d=this.jpoint(null,null,null),u=this.jpoint(null,null,null),h=i;h>0;h--){for(l=0;l=0;c--){for(t=0;c>=0&&0===a[c];c--)t++;if(c>=0&&t++,l=l.dblp(t),c<0)break;var d=a[c];o(0!==d),l="affine"===e.type?l.mixedAdd(d>0?i[d-1>>1]:i[-d-1>>1].neg()):l.add(d>0?i[d-1>>1]:i[-d-1>>1].neg())}return"affine"===e.type?l.toP():l},l.prototype._wnafMulAdd=function(e,t,r,n,i){for(var o=this._wnafT1,l=this._wnafT2,c=this._wnafT3,d=0,u=0;u=1;u-=2){var f=u-1,m=u;if(1===o[f]&&1===o[m]){var p=[t[f],null,null,t[m]];0===t[f].y.cmp(t[m].y)?(p[1]=t[f].add(t[m]),p[2]=t[f].toJ().mixedAdd(t[m].neg())):0===t[f].y.cmp(t[m].y.redNeg())?(p[1]=t[f].toJ().mixedAdd(t[m]),p[2]=t[f].add(t[m].neg())):(p[1]=t[f].toJ().mixedAdd(t[m]),p[2]=t[f].toJ().mixedAdd(t[m].neg()));var _=[-3,-1,-5,-7,0,7,5,1,3],g=a(r[f],r[m]);d=Math.max(g[0].length,d),c[f]=new Array(d),c[m]=new Array(d);for(var y=0;y=0;u--){for(var w=0;u>=0;){var k=!0;for(y=0;y=0&&w++,b=b.dblp(w),u<0)break;for(y=0;y0?M=l[y][S-1>>1]:S<0&&(M=l[y][-S-1>>1].neg()),b="affine"===M.type?b.mixedAdd(M):b.add(M))}}for(u=0;u=Math.ceil((e.bitLength()+1)/t.step)},c.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,i=0;i":""},c.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},c.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr();r=r.redIAdd(r);var n=this.curve._mulA(e),i=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),s=n.redAdd(t),a=s.redSub(r),o=n.redSub(t),l=i.redMul(a),c=s.redMul(o),d=i.redMul(o),u=a.redMul(s);return this.curve.point(l,c,u,d)},c.prototype._projDbl=function(){var e,t,r,n=this.x.redAdd(this.y).redSqr(),i=this.x.redSqr(),s=this.y.redSqr();if(this.curve.twisted){var a=(c=this.curve._mulA(i)).redAdd(s);if(this.zOne)e=n.redSub(i).redSub(s).redMul(a.redSub(this.curve.two)),t=a.redMul(c.redSub(s)),r=a.redSqr().redSub(a).redSub(a);else{var o=this.z.redSqr(),l=a.redSub(o).redISub(o);e=n.redSub(i).redISub(s).redMul(l),t=a.redMul(c.redSub(s)),r=a.redMul(l)}}else{var c=i.redAdd(s);o=this.curve._mulC(this.z).redSqr(),l=c.redSub(o).redSub(o),e=this.curve._mulC(n.redISub(c)).redMul(l),t=this.curve._mulC(c).redMul(i.redISub(s)),r=c.redMul(l)}return this.curve.point(e,t,r)},c.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},c.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),r=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),n=this.t.redMul(this.curve.dd).redMul(e.t),i=this.z.redMul(e.z.redAdd(e.z)),s=r.redSub(t),a=i.redSub(n),o=i.redAdd(n),l=r.redAdd(t),c=s.redMul(a),d=o.redMul(l),u=s.redMul(l),h=a.redMul(o);return this.curve.point(c,d,h,u)},c.prototype._projAdd=function(e){var t,r,n=this.z.redMul(e.z),i=n.redSqr(),s=this.x.redMul(e.x),a=this.y.redMul(e.y),o=this.curve.d.redMul(s).redMul(a),l=i.redSub(o),c=i.redAdd(o),d=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(s).redISub(a),u=n.redMul(l).redMul(d);return this.curve.twisted?(t=n.redMul(c).redMul(a.redSub(this.curve._mulA(s))),r=l.redMul(c)):(t=n.redMul(c).redMul(a.redSub(s)),r=this.curve._mulC(l).redMul(c)),this.curve.point(u,t,r)},c.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},c.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},c.prototype.mulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!1)},c.prototype.jmulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!0)},c.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},c.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()},c.prototype.getY=function(){return this.normalize(),this.y.fromRed()},c.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},c.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var r=e.clone(),n=this.curve.redN.redMul(this.z);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(n),0===this.x.cmp(t))return!0}},c.prototype.toP=c.prototype.normalize,c.prototype.mixedAdd=c.prototype.add},{"../utils":32,"./base":19,"bn.js":16,inherits:47}],21:[function(e,t,r){"use strict";var n=r;n.base=e("./base"),n.short=e("./short"),n.mont=e("./mont"),n.edwards=e("./edwards")},{"./base":19,"./edwards":20,"./mont":22,"./short":23}],22:[function(e,t,r){"use strict";var n=e("bn.js"),i=e("inherits"),s=e("./base"),a=e("../utils");function o(e){s.call(this,"mont",e),this.a=new n(e.a,16).toRed(this.red),this.b=new n(e.b,16).toRed(this.red),this.i4=new n(4).toRed(this.red).redInvm(),this.two=new n(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function l(e,t,r){s.BasePoint.call(this,e,"projective"),null===t&&null===r?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new n(t,16),this.z=new n(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}i(o,s),t.exports=o,o.prototype.validate=function(e){var t=e.normalize().x,r=t.redSqr(),n=r.redMul(t).redAdd(r.redMul(this.a)).redAdd(t);return 0===n.redSqrt().redSqr().cmp(n)},i(l,s.BasePoint),o.prototype.decodePoint=function(e,t){if(33===(e=a.toArray(e,t)).length&&64===e[0]&&(e=e.slice(1,33).reverse()),32!==e.length)throw new Error("Unknown point compression format");return this.point(e,1)},o.prototype.point=function(e,t){return new l(this,e,t)},o.prototype.pointFromJSON=function(e){return l.fromJSON(this,e)},l.prototype.precompute=function(){},l.prototype._encode=function(e){var t=this.curve.p.byteLength();return e?[64].concat(this.getX().toArray("le",t)):this.getX().toArray("be",t)},l.fromJSON=function(e,t){return new l(e,t[0],t[1]||e.one)},l.prototype.inspect=function(){return this.isInfinity()?"":""},l.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},l.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),r=e.redSub(t),n=e.redMul(t),i=r.redMul(t.redAdd(this.curve.a24.redMul(r)));return this.curve.point(n,i)},l.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},l.prototype.diffAdd=function(e,t){var r=this.x.redAdd(this.z),n=this.x.redSub(this.z),i=e.x.redAdd(e.z),s=e.x.redSub(e.z).redMul(r),a=i.redMul(n),o=t.z.redMul(s.redAdd(a).redSqr()),l=t.x.redMul(s.redISub(a).redSqr());return this.curve.point(o,l)},l.prototype.mul=function(e){for(var t=(e=new n(e,16)).clone(),r=this,i=this.curve.point(null,null),s=[];0!==t.cmpn(0);t.iushrn(1))s.push(t.andln(1));for(var a=s.length-1;a>=0;a--)0===s[a]?(r=r.diffAdd(i,this),i=i.dbl()):(i=r.diffAdd(i,this),r=r.dbl());return i},l.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},l.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},l.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},l.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},l.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},{"../utils":32,"./base":19,"bn.js":16,inherits:47}],23:[function(e,t,r){"use strict";var n=e("../utils"),i=e("bn.js"),s=e("inherits"),a=e("./base"),o=n.assert;function l(e){a.call(this,"short",e),this.a=new i(e.a,16).toRed(this.red),this.b=new i(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function c(e,t,r,n){a.BasePoint.call(this,e,"affine"),null===t&&null===r?(this.x=null,this.y=null,this.inf=!0):(this.x=new i(t,16),this.y=new i(r,16),n&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function d(e,t,r,n){a.BasePoint.call(this,e,"jacobian"),null===t&&null===r&&null===n?(this.x=this.curve.one,this.y=this.curve.one,this.z=new i(0)):(this.x=new i(t,16),this.y=new i(r,16),this.z=new i(n,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}s(l,a),t.exports=l,l.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,r;if(e.beta)t=new i(e.beta,16).toRed(this.red);else{var n=this._getEndoRoots(this.p);t=(t=n[0].cmp(n[1])<0?n[0]:n[1]).toRed(this.red)}if(e.lambda)r=new i(e.lambda,16);else{var s=this._getEndoRoots(this.n);0===this.g.mul(s[0]).x.cmp(this.g.x.redMul(t))?r=s[0]:o(0===this.g.mul(r=s[1]).x.cmp(this.g.x.redMul(t)))}return{beta:t,lambda:r,basis:e.basis?e.basis.map((function(e){return{a:new i(e.a,16),b:new i(e.b,16)}})):this._getEndoBasis(r)}}},l.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:i.mont(e),r=new i(2).toRed(t).redInvm(),n=r.redNeg(),s=new i(3).toRed(t).redNeg().redSqrt().redMul(r);return[n.redAdd(s).fromRed(),n.redSub(s).fromRed()]},l.prototype._getEndoBasis=function(e){for(var t,r,n,s,a,o,l,c,d,u=this.n.ushrn(Math.floor(this.n.bitLength()/2)),h=e,f=this.n.clone(),m=new i(1),p=new i(0),_=new i(0),g=new i(1),y=0;0!==h.cmpn(0);){var b=f.div(h);c=f.sub(b.mul(h)),d=_.sub(b.mul(m));var v=g.sub(b.mul(p));if(!n&&c.cmp(u)<0)t=l.neg(),r=m,n=c.neg(),s=d;else if(n&&2==++y)break;l=c,f=h,h=c,_=m,m=d,g=p,p=v}a=c.neg(),o=d;var w=n.sqr().add(s.sqr());return a.sqr().add(o.sqr()).cmp(w)>=0&&(a=t,o=r),n.negative&&(n=n.neg(),s=s.neg()),a.negative&&(a=a.neg(),o=o.neg()),[{a:n,b:s},{a:a,b:o}]},l.prototype._endoSplit=function(e){var t=this.endo.basis,r=t[0],n=t[1],i=n.b.mul(e).divRound(this.n),s=r.b.neg().mul(e).divRound(this.n),a=i.mul(r.a),o=s.mul(n.a),l=i.mul(r.b),c=s.mul(n.b);return{k1:e.sub(a).sub(o),k2:l.add(c).neg()}},l.prototype.pointFromX=function(e,t){(e=new i(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),n=r.redSqrt();if(0!==n.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var s=n.fromRed().isOdd();return(t&&!s||!t&&s)&&(n=n.redNeg()),this.point(e,n)},l.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,r=e.y,n=this.a.redMul(t),i=t.redSqr().redMul(t).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(i).cmpn(0)},l.prototype._endoWnafMulAdd=function(e,t,r){for(var n=this._endoWnafT1,i=this._endoWnafT2,s=0;s":""},c.prototype.isInfinity=function(){return this.inf},c.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var r=t.redSqr().redISub(this.x).redISub(e.x),n=t.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,n)},c.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,r=this.x.redSqr(),n=e.redInvm(),i=r.redAdd(r).redIAdd(r).redIAdd(t).redMul(n),s=i.redSqr().redISub(this.x.redAdd(this.x)),a=i.redMul(this.x.redSub(s)).redISub(this.y);return this.curve.point(s,a)},c.prototype.getX=function(){return this.x.fromRed()},c.prototype.getY=function(){return this.y.fromRed()},c.prototype.mul=function(e){return e=new i(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},c.prototype.mulAdd=function(e,t,r){var n=[this,t],i=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i):this.curve._wnafMulAdd(1,n,i,2)},c.prototype.jmulAdd=function(e,t,r){var n=[this,t],i=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i,!0):this.curve._wnafMulAdd(1,n,i,2,!0)},c.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},c.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var r=this.precomputed,n=function(e){return e.neg()};t.precomputed={naf:r.naf&&{wnd:r.naf.wnd,points:r.naf.points.map(n)},doubles:r.doubles&&{step:r.doubles.step,points:r.doubles.points.map(n)}}}return t},c.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},s(d,a.BasePoint),l.prototype.jpoint=function(e,t,r){return new d(this,e,t,r)},d.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),r=this.x.redMul(t),n=this.y.redMul(t).redMul(e);return this.curve.point(r,n)},d.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},d.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),r=this.z.redSqr(),n=this.x.redMul(t),i=e.x.redMul(r),s=this.y.redMul(t.redMul(e.z)),a=e.y.redMul(r.redMul(this.z)),o=n.redSub(i),l=s.redSub(a);if(0===o.cmpn(0))return 0!==l.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=o.redSqr(),d=c.redMul(o),u=n.redMul(c),h=l.redSqr().redIAdd(d).redISub(u).redISub(u),f=l.redMul(u.redISub(h)).redISub(s.redMul(d)),m=this.z.redMul(e.z).redMul(o);return this.curve.jpoint(h,f,m)},d.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),r=this.x,n=e.x.redMul(t),i=this.y,s=e.y.redMul(t).redMul(this.z),a=r.redSub(n),o=i.redSub(s);if(0===a.cmpn(0))return 0!==o.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var l=a.redSqr(),c=l.redMul(a),d=r.redMul(l),u=o.redSqr().redIAdd(c).redISub(d).redISub(d),h=o.redMul(d.redISub(u)).redISub(i.redMul(c)),f=this.z.redMul(a);return this.curve.jpoint(u,h,f)},d.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var t=this,r=0;r=0)return!1;if(r.redIAdd(i),0===this.x.cmp(r))return!0}},d.prototype.inspect=function(){return this.isInfinity()?"":""},d.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},{"../utils":32,"./base":19,"bn.js":16,inherits:47}],24:[function(e,t,r){"use strict";var n,i=r,s=e("hash.js"),a=e("./curve"),o=e("./utils").assert;function l(e){if("short"===e.type)this.curve=new a.short(e);else if("edwards"===e.type)this.curve=new a.edwards(e);else{if("mont"!==e.type)throw new Error("Unknown curve type.");this.curve=new a.mont(e)}this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,o(this.g.validate(),"Invalid curve"),o(this.g.mul(this.n).isInfinity(),"Invalid curve, n*G != O")}function c(e,t){Object.defineProperty(i,e,{configurable:!0,enumerable:!0,get:function(){var r=new l(t);return Object.defineProperty(i,e,{configurable:!0,enumerable:!0,value:r}),r}})}i.PresetCurve=l,c("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:s.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),c("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:s.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),c("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:s.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),c("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:s.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),c("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:s.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),c("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",cofactor:"8",hash:s.sha256,gRed:!1,g:["9"]}),c("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",cofactor:"8",hash:s.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]}),c("brainpoolP256r1",{type:"short",prime:null,p:"A9FB57DB A1EEA9BC 3E660A90 9D838D72 6E3BF623 D5262028 2013481D 1F6E5377",a:"7D5A0975 FC2C3057 EEF67530 417AFFE7 FB8055C1 26DC5C6C E94A4B44 F330B5D9",b:"26DC5C6C E94A4B44 F330B5D9 BBD77CBF 95841629 5CF7E1CE 6BCCDC18 FF8C07B6",n:"A9FB57DB A1EEA9BC 3E660A90 9D838D71 8C397AA3 B561A6F7 901E0E82 974856A7",hash:s.sha256,gRed:!1,g:["8BD2AEB9CB7E57CB2C4B482FFC81B7AFB9DE27E1E3BD23C23A4453BD9ACE3262","547EF835C3DAC4FD97F8461A14611DC9C27745132DED8E545C1D54C72F046997"]}),c("brainpoolP384r1",{type:"short",prime:null,p:"8CB91E82 A3386D28 0F5D6F7E 50E641DF 152F7109 ED5456B4 12B1DA19 7FB71123ACD3A729 901D1A71 87470013 3107EC53",a:"7BC382C6 3D8C150C 3C72080A CE05AFA0 C2BEA28E 4FB22787 139165EF BA91F90F8AA5814A 503AD4EB 04A8C7DD 22CE2826",b:"04A8C7DD 22CE2826 8B39B554 16F0447C 2FB77DE1 07DCD2A6 2E880EA5 3EEB62D57CB43902 95DBC994 3AB78696 FA504C11",n:"8CB91E82 A3386D28 0F5D6F7E 50E641DF 152F7109 ED5456B3 1F166E6C AC0425A7CF3AB6AF 6B7FC310 3B883202 E9046565",hash:s.sha384,gRed:!1,g:["1D1C64F068CF45FFA2A63A81B7C13F6B8847A3E77EF14FE3DB7FCAFE0CBD10E8E826E03436D646AAEF87B2E247D4AF1E","8ABE1D7520F9C2A45CB1EB8E95CFD55262B70B29FEEC5864E19C054FF99129280E4646217791811142820341263C5315"]}),c("brainpoolP512r1",{type:"short",prime:null,p:"AADD9DB8 DBE9C48B 3FD4E6AE 33C9FC07 CB308DB3 B3C9D20E D6639CCA 703308717D4D9B00 9BC66842 AECDA12A E6A380E6 2881FF2F 2D82C685 28AA6056 583A48F3",a:"7830A331 8B603B89 E2327145 AC234CC5 94CBDD8D 3DF91610 A83441CA EA9863BC2DED5D5A A8253AA1 0A2EF1C9 8B9AC8B5 7F1117A7 2BF2C7B9 E7C1AC4D 77FC94CA",b:"3DF91610 A83441CA EA9863BC 2DED5D5A A8253AA1 0A2EF1C9 8B9AC8B5 7F1117A72BF2C7B9 E7C1AC4D 77FC94CA DC083E67 984050B7 5EBAE5DD 2809BD63 8016F723",n:"AADD9DB8 DBE9C48B 3FD4E6AE 33C9FC07 CB308DB3 B3C9D20E D6639CCA 70330870553E5C41 4CA92619 41866119 7FAC1047 1DB1D381 085DDADD B5879682 9CA90069",hash:s.sha512,gRed:!1,g:["81AEE4BDD82ED9645A21322E9C4C6A9385ED9F70B5D916C1B43B62EEF4D0098EFF3B1F78E2D0D48D50D1687B93B97D5F7C6D5047406A5E688B352209BCB9F822","7DDE385D566332ECC0EABFA9CF7822FDF209F70024A57B1AA000C55B881F8111B2DCDE494A5F485E5BCA4BD88A2763AED1CA2B2FA8F0540678CD1E0F3AD80892"]});try{n=e("./precomputed/secp256k1")}catch(d){n=void 0}c("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:s.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",n]})},{"./curve":21,"./precomputed/secp256k1":31,"./utils":32,"hash.js":34}],25:[function(e,t,r){"use strict";var n=e("bn.js"),i=e("hmac-drbg"),s=e("../utils"),a=e("../curves"),o=e("brorand"),l=s.assert,c=e("./key"),d=e("./signature");function u(e){if(!(this instanceof u))return new u(e);"string"==typeof e&&(l(a.hasOwnProperty(e),"Unknown curve "+e),e=a[e]),e instanceof a.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}t.exports=u,u.prototype.keyPair=function(e){return new c(this,e)},u.prototype.keyFromPrivate=function(e,t){return c.fromPrivate(this,e,t)},u.prototype.keyFromPublic=function(e,t){return c.fromPublic(this,e,t)},u.prototype.genKeyPair=function(e){e||(e={});var t=new i({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||o(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()});if("mont"===this.curve.type){var r=new n(t.generate(32));return this.keyFromPrivate(r)}for(var s=this.n.byteLength(),a=this.n.sub(new n(2));;)if(!((r=new n(t.generate(s))).cmp(a)>0))return r.iaddn(1),this.keyFromPrivate(r)},u.prototype._truncateToN=function(e,t,r){var n=(r=r||8*e.byteLength())-this.n.bitLength();return n>0&&(e=e.ushrn(n)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},u.prototype.truncateMsg=function(e){var t;return e instanceof Uint8Array?(t=8*e.byteLength,e=this._truncateToN(new n(e,16),!1,t)):"string"==typeof e?(t=4*e.length,e=this._truncateToN(new n(e,16),!1,t)):e=this._truncateToN(new n(e,16)),e},u.prototype.sign=function(e,t,r,s){"object"==typeof r&&(s=r,r=null),s||(s={}),t=this.keyFromPrivate(t,r),e=this.truncateMsg(e);for(var a=this.n.byteLength(),o=t.getPrivate().toArray("be",a),l=e.toArray("be",a),c=new i({hash:this.hash,entropy:o,nonce:l,pers:s.pers,persEnc:s.persEnc||"utf8"}),u=this.n.sub(new n(1)),h=0;;h++){var f=s.k?s.k(h):new n(c.generate(this.n.byteLength()));if(!((f=this._truncateToN(f,!0)).cmpn(1)<=0||f.cmp(u)>=0)){var m=this.g.mul(f);if(!m.isInfinity()){var p=m.getX(),_=p.umod(this.n);if(0!==_.cmpn(0)){var g=f.invm(this.n).mul(_.mul(t.getPrivate()).iadd(e));if(0!==(g=g.umod(this.n)).cmpn(0)){var y=(m.getY().isOdd()?1:0)|(0!==p.cmp(_)?2:0);return s.canonical&&g.cmp(this.nh)>0&&(g=this.n.sub(g),y^=1),new d({r:_,s:g,recoveryParam:y})}}}}}},u.prototype.verify=function(e,t,r,i){return r=this.keyFromPublic(r,i),t=new d(t,"hex"),this._verify(this.truncateMsg(e),t,r)||this._verify(this._truncateToN(new n(e,16)),t,r)},u.prototype._verify=function(e,t,r){var n=t.r,i=t.s;if(n.cmpn(1)<0||n.cmp(this.n)>=0)return!1;if(i.cmpn(1)<0||i.cmp(this.n)>=0)return!1;var s,a=i.invm(this.n),o=a.mul(e).umod(this.n),l=a.mul(n).umod(this.n);return this.curve._maxwellTrick?!(s=this.g.jmulAdd(o,r.getPublic(),l)).isInfinity()&&s.eqXToP(n):!(s=this.g.mulAdd(o,r.getPublic(),l)).isInfinity()&&0===s.getX().umod(this.n).cmp(n)},u.prototype.recoverPubKey=function(e,t,r,i){l((3&r)===r,"The recovery param is more than two bits"),t=new d(t,i);var s=this.n,a=new n(e),o=t.r,c=t.s,u=1&r,h=r>>1;if(o.cmp(this.curve.p.umod(this.curve.n))>=0&&h)throw new Error("Unable to find sencond key candinate");o=this.curve.pointFromX(h?o.add(this.curve.n):o,u);var f=t.r.invm(s),m=s.sub(a).mul(f).umod(s),p=c.mul(f).umod(s);return this.g.mulAdd(m,o,p)},u.prototype.getKeyRecoveryParam=function(e,t,r,n){if(null!==(t=new d(t,n)).recoveryParam)return t.recoveryParam;for(var i=0;i<4;i++){var s;try{s=this.recoverPubKey(e,t,i)}catch(e){continue}if(s.eq(r))return i}throw new Error("Unable to find valid recovery factor")}},{"../curves":24,"../utils":32,"./key":26,"./signature":27,"bn.js":16,brorand:17,"hmac-drbg":46}],26:[function(e,t,r){"use strict";var n=e("bn.js"),i=e("../utils").assert;function s(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}t.exports=s,s.fromPublic=function(e,t,r){return t instanceof s?t:new s(e,{pub:t,pubEnc:r})},s.fromPrivate=function(e,t,r){return t instanceof s?t:new s(e,{priv:t,privEnc:r})},s.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},s.prototype.getPublic=function(e,t){return this.pub||(this.pub=this.ec.g.mul(this.priv)),e?this.pub.encode(e,t):this.pub},s.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},s.prototype._importPrivate=function(e,t){if(this.priv=new n(e,t||16),"mont"===this.ec.curve.type){var r=this.ec.curve.one,i=r.ushln(252).sub(r).ushln(3);this.priv=this.priv.or(r.ushln(254)),this.priv=this.priv.and(i)}else this.priv=this.priv.umod(this.ec.curve.n)},s.prototype._importPublic=function(e,t){if(e.x||e.y)return"mont"===this.ec.curve.type?i(e.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||i(e.x&&e.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(e.x,e.y));this.pub=this.ec.curve.decodePoint(e,t)},s.prototype.derive=function(e){return e.mul(this.priv).getX()},s.prototype.sign=function(e,t,r){return this.ec.sign(e,this,t,r)},s.prototype.verify=function(e,t){return this.ec.verify(e,t,this)},s.prototype.inspect=function(){return""}},{"../utils":32,"bn.js":16}],27:[function(e,t,r){"use strict";var n=e("bn.js"),i=e("../utils"),s=i.assert;function a(e,t){if(e instanceof a)return e;this._importDER(e,t)||(s(e.r&&e.s,"Signature without r or s"),this.r=new n(e.r,16),this.s=new n(e.s,16),this.recoveryParam=void 0===e.recoveryParam?null:e.recoveryParam)}function o(){this.place=0}function l(e,t){var r=e[t.place++];if(!(128&r))return r;for(var n=15&r,i=0,s=0,a=t.place;s>>3);for(e.push(128|r);--r;)e.push(t>>>(r<<3)&255);e.push(t)}}t.exports=a,a.prototype._importDER=function(e,t){e=i.toArray(e,t);var r=new o;if(48!==e[r.place++])return!1;if(l(e,r)+r.place!==e.length)return!1;if(2!==e[r.place++])return!1;var s=l(e,r),a=e.slice(r.place,s+r.place);if(r.place+=s,2!==e[r.place++])return!1;var c=l(e,r);if(e.length!==c+r.place)return!1;var d=e.slice(r.place,c+r.place);return 0===a[0]&&128&a[1]&&(a=a.slice(1)),0===d[0]&&128&d[1]&&(d=d.slice(1)),this.r=new n(a),this.s=new n(d),this.recoveryParam=null,!0},a.prototype.toDER=function(e){var t=this.r.toArray(),r=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&r[0]&&(r=[0].concat(r)),t=c(t),r=c(r);!(r[0]||128&r[1]);)r=r.slice(1);var n=[2];d(n,t.length),(n=n.concat(t)).push(2),d(n,r.length);var s=n.concat(r),a=[48];return d(a,s.length),a=a.concat(s),i.encode(a,e)}},{"../utils":32,"bn.js":16}],28:[function(e,t,r){"use strict";var n=e("hash.js"),i=e("hmac-drbg"),s=e("brorand"),a=e("../curves"),o=e("../utils"),l=o.assert,c=o.parseBytes,d=e("./key"),u=e("./signature");function h(e){if(l("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof h))return new h(e);this.curve=e=a[e].curve,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=n.sha512}t.exports=h,h.prototype.sign=function(e,t){e=c(e);var r=this.keyFromSecret(t),n=this.hashInt(r.messagePrefix(),e),i=this.g.mul(n),s=this.encodePoint(i),a=this.hashInt(s,r.pubBytes(),e).mul(r.priv()),o=n.add(a).umod(this.curve.n);return this.makeSignature({R:i,S:o,Rencoded:s})},h.prototype.verify=function(e,t,r){e=c(e),t=this.makeSignature(t);var n=this.keyFromPublic(r),i=this.hashInt(t.Rencoded(),n.pubBytes(),e),s=this.g.mul(t.S());return t.R().add(n.pub().mul(i)).eq(s)},h.prototype.hashInt=function(){for(var e=this.hash(),t=0;t=0;){var s;if(i.isOdd()){var a=i.andln(n-1);i.isubn(s=a>(n>>1)-1?(n>>1)-a:a)}else s=0;r.push(s);for(var o=0!==i.cmpn(0)&&0===i.andln(n-1)?t+1:1,l=1;l0||t.cmpn(-i)>0;){var s,a,o,l=e.andln(3)+n&3,c=t.andln(3)+i&3;3===l&&(l=-1),3===c&&(c=-1),s=0==(1&l)?0:3!=(o=e.andln(7)+n&7)&&5!==o||2!==c?l:-l,r[0].push(s),a=0==(1&c)?0:3!=(o=t.andln(7)+i&7)&&5!==o||2!==l?c:-c,r[1].push(a),2*n===s+1&&(n=1-n),2*i===a+1&&(i=1-i),e.iushrn(1),t.iushrn(1)}return r},n.cachedProperty=function(e,t,r){var n="_"+t;e.prototype[t]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}},n.parseBytes=function(e){return"string"==typeof e?n.toArray(e,"hex"):e},n.intFromLE=function(e){return new i(e,"hex","le")}},{"bn.js":16,"minimalistic-assert":48,"minimalistic-crypto-utils":49}],33:[function(e,t,r){"use strict";!function(e){function r(e){function t(){return Me0&&(t.semantic=" "),t}}function _(e,t){return function(){var n,s,o,c,d;for(c=r(),n=a("star"),o=0,d=void 0===t?0:t;null!==(s=e());)o+=1,l(n,s);return o>=d?n:(i(c),null)}}function g(e){return e.charCodeAt(0)>=128}function y(){return o("cr",d("\r")())}function b(){return o("crlf",u(y,k)())}function v(){return o("dquote",d('"')())}function w(){return o("htab",d("\t")())}function k(){return o("lf",d("\n")())}function M(){return o("sp",d(" ")())}function S(){return o("vchar",c((function(t){var r=t.charCodeAt(0),n=33<=r&&r<=126;return e.rfc6532&&(n=n||g(t)),n})))}function x(){return o("wsp",h(M,w)())}function C(){var e=o("quoted-pair",h(u(d("\\"),h(S,x)),ne)());return null===e?null:(e.semantic=e.semantic[1],e)}function D(){return o("fws",h(se,u(f(u(_(x),m(b))),_(x,1)))())}function L(){return o("ctext",h((function(){return c((function(t){var r=t.charCodeAt(0),n=33<=r&&r<=39||42<=r&&r<=91||93<=r&&r<=126;return e.rfc6532&&(n=n||g(t)),n}))}),te)())}function A(){return o("ccontent",h(L,C,E)())}function E(){return o("comment",u(d("("),_(u(f(D),A)),f(D),d(")"))())}function T(){return o("cfws",h(u(_(u(f(D),E),1),f(D)),D)())}function P(){return o("atext",c((function(t){var r="a"<=t&&t<="z"||"A"<=t&&t<="Z"||"0"<=t&&t<="9"||["!","#","$","%","&","'","*","+","-","/","=","?","^","_","`","{","|","}","~"].indexOf(t)>=0;return e.rfc6532&&(r=r||g(t)),r})))}function Y(){return o("atom",u(p(f(T)),_(P,1),p(f(T)))())}function R(){var e,t;return null===(e=o("dot-atom-text",_(P,1)()))||null!==(t=_(u(d("."),_(P,1)))())&&l(e,t),e}function O(){return o("dot-atom",u(m(f(T)),R,m(f(T)))())}function I(){return o("qtext",h((function(){return c((function(t){var r=t.charCodeAt(0),n=33===r||35<=r&&r<=91||93<=r&&r<=126;return e.rfc6532&&(n=n||g(t)),n}))}),re)())}function j(){return o("qcontent",h(I,C)())}function F(){return o("quoted-string",u(m(f(T)),m(v),_(u(f(p(D)),j)),f(m(D)),m(v),m(f(T)))())}function H(){return o("word",h(Y,F)())}function N(){return o("address",h(B,V)())}function B(){return o("mailbox",h(z,X)())}function z(){return o("name-addr",u(f(K),U)())}function U(){return o("angle-addr",h(u(m(f(T)),d("<"),X,d(">"),m(f(T))),ae)())}function V(){return o("group",u(K,d(":"),f(G),d(";"),m(f(T)))())}function K(){return o("display-name",(null!==(e=o("phrase",h(ie,_(H,1))()))&&(e.semantic=e.semantic.replace(/([ \t]|\r\n)+/g," ").replace(/^\s*/,"").replace(/\s*$/,"")),e));var e}function W(){return o("mailbox-list",h(u(B,_(u(d(","),B))),ce)())}function q(){return o("address-list",h(u(N,_(u(d(","),N))),de)())}function G(){return o("group-list",h(W,m(T),ue)())}function $(){return o("local-part",h(he,O,F)())}function Z(){return o("dtext",h((function(){return c((function(t){var r=t.charCodeAt(0),n=33<=r&&r<=90||94<=r&&r<=126;return e.rfc6532&&(n=n||g(t)),n}))}),me)())}function J(){return o("domain-literal",u(m(f(T)),d("["),_(u(f(D),Z)),f(D),d("]"),m(f(T)))())}function Q(){return o("domain",(t=h(fe,O,J)(),e.rejectTLD&&t&&t.semantic&&t.semantic.indexOf(".")<0?null:(t&&(t.semantic=t.semantic.replace(/\s+/g,"")),t)));var t}function X(){return o("addr-spec",u($,d("@"),Q)())}function ee(){return e.strict?null:o("obs-NO-WS-CTL",c((function(e){var t=e.charCodeAt(0);return 1<=t&&t<=8||11===t||12===t||14<=t&&t<=31||127===t})))}function te(){return e.strict?null:o("obs-ctext",ee())}function re(){return e.strict?null:o("obs-qtext",ee())}function ne(){return e.strict?null:o("obs-qp",u(d("\\"),h(d("\0"),ee,k,y))())}function ie(){return e.strict?null:o("obs-phrase",e.atInDisplayName?u(H,_(h(H,d("."),d("@"),p(T))))():u(H,_(h(H,d("."),p(T))))())}function se(){return e.strict?null:o("obs-FWS",_(u(m(f(b)),x),1)())}function ae(){return e.strict?null:o("obs-angle-addr",u(m(f(T)),d("<"),oe,X,d(">"),m(f(T)))())}function oe(){return e.strict?null:o("obs-route",u(le,d(":"))())}function le(){return e.strict?null:o("obs-domain-list",u(_(h(m(T),d(","))),d("@"),Q,_(u(d(","),m(f(T)),f(u(d("@"),Q)))))())}function ce(){return e.strict?null:o("obs-mbox-list",u(_(u(m(f(T)),d(","))),B,_(u(d(","),f(u(B,m(T))))))())}function de(){return e.strict?null:o("obs-addr-list",u(_(u(m(f(T)),d(","))),N,_(u(d(","),f(u(N,m(T))))))())}function ue(){return e.strict?null:o("obs-group-list",u(_(u(m(f(T)),d(",")),1),m(f(T)))())}function he(){return e.strict?null:o("obs-local-part",u(H,_(u(d("."),H)))())}function fe(){return e.strict?null:o("obs-domain",u(Y,_(u(d("."),Y)))())}function me(){return e.strict?null:o("obs-dtext",h(ee,C)())}function pe(e,t){var r,n,i;if(null==t)return null;for(n=[t];n.length>0;){if((i=n.pop()).name===e)return i;for(r=i.children.length-1;r>=0;r-=1)n.push(i.children[r])}return null}function _e(e,t){var r,n,i,s,a;if(null==t)return null;for(n=[t],s=[],a={},r=0;r0;)if((i=n.pop()).name in a)s.push(i);else for(r=i.children.length-1;r>=0;r-=1)n.push(i.children[r]);return s}function ge(t){var r,n,i,s,a;if(null===t)return null;for(r=[],n=_e(["group","mailbox"],t),i=0;i1?null:t.addresses&&t.addresses[0]:null}(a):e.simple?a&&a.addresses:a}function ye(e){var t,r=pe("display-name",e),n=[],i=_e(["mailbox"],e);for(t=0;t0;)for("cfws"===(i=n.pop()).name&&s.push(i),r=i.children.length-1;r>=0;r-=1)n.push(i.children[r]);return s}(0,e),i=_e(["comment"],e),s=pe("local-part",r),a=pe("domain",r);return{node:e,parts:{name:t,address:r,local:s,domain:a,comments:n},type:e.name,name:ve(t),address:ve(r),local:ve(s),domain:ve(a),comments:we(i),groupName:ve(e.groupName)}}function ve(e){return null!=e?e.semantic:null}function we(e){var t="";if(e)for(var r=0;r=this._delta8){var r=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-r,e.length),0===this.pending.length&&(this.pending=null),e=n.join32(e,0,e.length-r,this.endian);for(var i=0;i>>24&255,n[i++]=e>>>16&255,n[i++]=e>>>8&255,n[i++]=255&e}else for(n[i++]=255&e,n[i++]=e>>>8&255,n[i++]=e>>>16&255,n[i++]=e>>>24&255,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,s=8;sthis.blockSize&&(e=(new this.Hash).update(e).digest()),i(e.length<=this.blockSize);for(var t=e.length;t>>3},r.g1_256=function(e){return n(e,17)^n(e,19)^e>>>10}},{"../utils":45}],45:[function(e,t,r){"use strict";var n=e("minimalistic-assert"),i=e("inherits");function s(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function a(e){return 1===e.length?"0"+e:e}function o(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}r.inherits=i,r.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),n=0;n>8,a=255&i;s?r.push(s,a):r.push(a)}else for(n=0;n>>0;return a},r.split32=function(e,t){for(var r=new Array(4*e.length),n=0,i=0;n>>24,r[i+1]=s>>>16&255,r[i+2]=s>>>8&255,r[i+3]=255&s):(r[i+3]=s>>>24,r[i+2]=s>>>16&255,r[i+1]=s>>>8&255,r[i]=255&s)}return r},r.rotr32=function(e,t){return e>>>t|e<<32-t},r.rotl32=function(e,t){return e<>>32-t},r.sum32=function(e,t){return e+t>>>0},r.sum32_3=function(e,t,r){return e+t+r>>>0},r.sum32_4=function(e,t,r,n){return e+t+r+n>>>0},r.sum32_5=function(e,t,r,n,i){return e+t+r+n+i>>>0},r.sum64=function(e,t,r,n){var i=n+e[t+1]>>>0;e[t]=(i>>0,e[t+1]=i},r.sum64_hi=function(e,t,r,n){return(t+n>>>0>>0},r.sum64_lo=function(e,t,r,n){return t+n>>>0},r.sum64_4_hi=function(e,t,r,n,i,s,a,o){var l=0,c=t;return l+=(c=c+n>>>0)>>0)>>0)>>0},r.sum64_4_lo=function(e,t,r,n,i,s,a,o){return t+n+s+o>>>0},r.sum64_5_hi=function(e,t,r,n,i,s,a,o,l,c){var d=0,u=t;return d+=(u=u+n>>>0)>>0)>>0)>>0)>>0},r.sum64_5_lo=function(e,t,r,n,i,s,a,o,l,c){return t+n+s+o+c>>>0},r.rotr64_hi=function(e,t,r){return(t<<32-r|e>>>r)>>>0},r.rotr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0},r.shr64_hi=function(e,t,r){return e>>>r},r.shr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0}},{inherits:47,"minimalistic-assert":48}],46:[function(e,t,r){"use strict";var n=e("hash.js"),i=e("minimalistic-crypto-utils"),s=e("minimalistic-assert");function a(e){if(!(this instanceof a))return new a(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=i.toArray(e.entropy,e.entropyEnc||"hex"),r=i.toArray(e.nonce,e.nonceEnc||"hex"),n=i.toArray(e.pers,e.persEnc||"hex");s(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,r,n)}t.exports=a,a.prototype._init=function(e,t,r){var n=e.concat(t).concat(r);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(r||[])),this._reseed=1},a.prototype.generate=function(e,t,r,n){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof t&&(n=r,r=t,t=null),r&&(r=i.toArray(r,n||"hex"),this._update(r));for(var s=[];s.length>8,a=255&i;s?r.push(s,a):r.push(a)}return r},n.zero2=i,n.toHex=s,n.encode=function(e,t){return"hex"===t?s(e):e}},{}],50:[function(e,t,r){"use strict";var n={};(0,e("./lib/utils/common").assign)(n,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),t.exports=n},{"./lib/deflate":51,"./lib/inflate":52,"./lib/utils/common":53,"./lib/zlib/constants":56}],51:[function(e,t,r){"use strict";var n=e("./zlib/deflate"),i=e("./utils/common"),s=e("./utils/strings"),a=e("./zlib/messages"),o=e("./zlib/zstream"),l=Object.prototype.toString;function c(e){if(!(this instanceof c))return new c(e);this.options=i.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new o,this.strm.avail_out=0;var r=n.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(0!==r)throw new Error(a[r]);if(t.header&&n.deflateSetHeader(this.strm,t.header),t.dictionary){var d;if(d="string"==typeof t.dictionary?s.string2buf(t.dictionary):"[object ArrayBuffer]"===l.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,0!==(r=n.deflateSetDictionary(this.strm,d)))throw new Error(a[r]);this._dict_set=!0}}function d(e,t){var r=new c(t);if(r.push(e,!0),r.err)throw r.msg||a[r.err];return r.result}c.prototype.push=function(e,t){var r,a,o=this.strm,c=this.options.chunkSize;if(this.ended)return!1;a=t===~~t?t:!0===t?4:0,o.input="string"==typeof e?s.string2buf(e):"[object ArrayBuffer]"===l.call(e)?new Uint8Array(e):e,o.next_in=0,o.avail_in=o.input.length;do{if(0===o.avail_out&&(o.output=new i.Buf8(c),o.next_out=0,o.avail_out=c),1!==(r=n.deflate(o,a))&&0!==r)return this.onEnd(r),this.ended=!0,!1;0!==o.avail_out&&(0!==o.avail_in||4!==a&&2!==a)||this.onData("string"===this.options.to?s.buf2binstring(i.shrinkBuf(o.output,o.next_out)):i.shrinkBuf(o.output,o.next_out))}while((o.avail_in>0||0===o.avail_out)&&1!==r);return 4===a?(r=n.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,0===r):2!==a||(this.onEnd(0),o.avail_out=0,!0)},c.prototype.onData=function(e){this.chunks.push(e)},c.prototype.onEnd=function(e){0===e&&(this.result="string"===this.options.to?this.chunks.join(""):i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},r.Deflate=c,r.deflate=d,r.deflateRaw=function(e,t){return(t=t||{}).raw=!0,d(e,t)},r.gzip=function(e,t){return(t=t||{}).gzip=!0,d(e,t)}},{"./utils/common":53,"./utils/strings":54,"./zlib/deflate":58,"./zlib/messages":63,"./zlib/zstream":65}],52:[function(e,t,r){"use strict";var n=e("./zlib/inflate"),i=e("./utils/common"),s=e("./utils/strings"),a=e("./zlib/constants"),o=e("./zlib/messages"),l=e("./zlib/zstream"),c=e("./zlib/gzheader"),d=Object.prototype.toString;function u(e){if(!(this instanceof u))return new u(e);this.options=i.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var r=n.inflateInit2(this.strm,t.windowBits);if(r!==a.Z_OK)throw new Error(o[r]);this.header=new c,n.inflateGetHeader(this.strm,this.header)}function h(e,t){var r=new u(t);if(r.push(e,!0),r.err)throw r.msg||o[r.err];return r.result}u.prototype.push=function(e,t){var r,o,l,c,u,h,f=this.strm,m=this.options.chunkSize,p=this.options.dictionary,_=!1;if(this.ended)return!1;o=t===~~t?t:!0===t?a.Z_FINISH:a.Z_NO_FLUSH,f.input="string"==typeof e?s.binstring2buf(e):"[object ArrayBuffer]"===d.call(e)?new Uint8Array(e):e,f.next_in=0,f.avail_in=f.input.length;do{if(0===f.avail_out&&(f.output=new i.Buf8(m),f.next_out=0,f.avail_out=m),(r=n.inflate(f,a.Z_NO_FLUSH))===a.Z_NEED_DICT&&p&&(h="string"==typeof p?s.string2buf(p):"[object ArrayBuffer]"===d.call(p)?new Uint8Array(p):p,r=n.inflateSetDictionary(this.strm,h)),r===a.Z_BUF_ERROR&&!0===_&&(r=a.Z_OK,_=!1),r!==a.Z_STREAM_END&&r!==a.Z_OK)return this.onEnd(r),this.ended=!0,!1;f.next_out&&(0!==f.avail_out&&r!==a.Z_STREAM_END&&(0!==f.avail_in||o!==a.Z_FINISH&&o!==a.Z_SYNC_FLUSH)||("string"===this.options.to?(l=s.utf8border(f.output,f.next_out),c=f.next_out-l,u=s.buf2string(f.output,l),f.next_out=c,f.avail_out=m-c,c&&i.arraySet(f.output,f.output,l,c,0),this.onData(u)):this.onData(i.shrinkBuf(f.output,f.next_out)))),0===f.avail_in&&0===f.avail_out&&(_=!0)}while((f.avail_in>0||0===f.avail_out)&&r!==a.Z_STREAM_END);return r===a.Z_STREAM_END&&(o=a.Z_FINISH),o===a.Z_FINISH?(r=n.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===a.Z_OK):o!==a.Z_SYNC_FLUSH||(this.onEnd(a.Z_OK),f.avail_out=0,!0)},u.prototype.onData=function(e){this.chunks.push(e)},u.prototype.onEnd=function(e){e===a.Z_OK&&(this.result="string"===this.options.to?this.chunks.join(""):i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},r.Inflate=u,r.inflate=h,r.inflateRaw=function(e,t){return(t=t||{}).raw=!0,h(e,t)},r.ungzip=h},{"./utils/common":53,"./utils/strings":54,"./zlib/constants":56,"./zlib/gzheader":59,"./zlib/inflate":61,"./zlib/messages":63,"./zlib/zstream":65}],53:[function(e,t,r){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;function i(e,t){return Object.prototype.hasOwnProperty.call(e,t)}r.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var r=t.shift();if(r){if("object"!=typeof r)throw new TypeError(r+"must be non-object");for(var n in r)i(r,n)&&(e[n]=r[n])}}return e},r.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var s={arraySet:function(e,t,r,n,i){if(t.subarray&&e.subarray)e.set(t.subarray(r,r+n),i);else for(var s=0;s=252?6:o>=248?5:o>=240?4:o>=224?3:o>=192?2:1;function l(e,t){if(t<65537&&(e.subarray&&s||!e.subarray&&i))return String.fromCharCode.apply(null,n.shrinkBuf(e,t));for(var r="",a=0;a>>6,t[a++]=128|63&r):r<65536?(t[a++]=224|r>>>12,t[a++]=128|r>>>6&63,t[a++]=128|63&r):(t[a++]=240|r>>>18,t[a++]=128|r>>>12&63,t[a++]=128|r>>>6&63,t[a++]=128|63&r);return t},r.buf2binstring=function(e){return l(e,e.length)},r.binstring2buf=function(e){for(var t=new n.Buf8(e.length),r=0,i=t.length;r4)c[n++]=65533,r+=s-1;else{for(i&=2===s?31:3===s?15:7;s>1&&r1?c[n++]=65533:i<65536?c[n++]=i:(c[n++]=55296|(i-=65536)>>10&1023,c[n++]=56320|1023&i)}return l(c,n)},r.utf8border=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;r>=0&&128==(192&e[r]);)r--;return r<0||0===r?t:r+a[e[r]]>t?r:t}},{"./common":53}],55:[function(e,t,r){"use strict";t.exports=function(e,t,r,n){for(var i=65535&e|0,s=e>>>16&65535|0,a=0;0!==r;){r-=a=r>2e3?2e3:r;do{s=s+(i=i+t[n++]|0)|0}while(--a);i%=65521,s%=65521}return i|s<<16|0}},{}],56:[function(e,t,r){"use strict";t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],57:[function(e,t,r){"use strict";var n=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();t.exports=function(e,t,r,i){var s=n,a=i+r;e^=-1;for(var o=i;o>>8^s[255&(e^t[o])];return-1^e}},{}],58:[function(e,t,r){"use strict";var n,i=e("../utils/common"),s=e("./trees"),a=e("./adler32"),o=e("./crc32"),l=e("./messages"),c=-2,d=258,u=262,h=103,f=113,m=666;function p(e,t){return e.msg=l[t],t}function _(e){return(e<<1)-(e>4?9:0)}function g(e){for(var t=e.length;--t>=0;)e[t]=0}function y(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),0!==r&&(i.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,0===t.pending&&(t.pending_out=0))}function b(e,t){s._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,y(e.strm)}function v(e,t){e.pending_buf[e.pending++]=t}function w(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function k(e,t){var r,n,i=e.max_chain_length,s=e.strstart,a=e.prev_length,o=e.nice_match,l=e.strstart>e.w_size-u?e.strstart-(e.w_size-u):0,c=e.window,h=e.w_mask,f=e.prev,m=e.strstart+d,p=c[s+a-1],_=c[s+a];e.prev_length>=e.good_match&&(i>>=2),o>e.lookahead&&(o=e.lookahead);do{if(c[(r=t)+a]===_&&c[r+a-1]===p&&c[r]===c[s]&&c[++r]===c[s+1]){s+=2,r++;do{}while(c[++s]===c[++r]&&c[++s]===c[++r]&&c[++s]===c[++r]&&c[++s]===c[++r]&&c[++s]===c[++r]&&c[++s]===c[++r]&&c[++s]===c[++r]&&c[++s]===c[++r]&&sa){if(e.match_start=t,a=n,n>=o)break;p=c[s+a-1],_=c[s+a]}}}while((t=f[t&h])>l&&0!=--i);return a<=e.lookahead?a:e.lookahead}function M(e){var t,r,n,s,l,c,d,h,f,m,p=e.w_size;do{if(s=e.window_size-e.lookahead-e.strstart,e.strstart>=p+(p-u)){i.arraySet(e.window,e.window,p,p,0),e.match_start-=p,e.strstart-=p,e.block_start-=p,t=r=e.hash_size;do{n=e.head[--t],e.head[t]=n>=p?n-p:0}while(--r);t=r=p;do{n=e.prev[--t],e.prev[t]=n>=p?n-p:0}while(--r);s+=p}if(0===e.strm.avail_in)break;if(d=e.window,h=e.strstart+e.lookahead,m=void 0,(m=(c=e.strm).avail_in)>(f=s)&&(m=f),r=0===m?0:(c.avail_in-=m,i.arraySet(d,c.input,c.next_in,m,h),1===c.state.wrap?c.adler=a(c.adler,d,m,h):2===c.state.wrap&&(c.adler=o(c.adler,d,m,h)),c.next_in+=m,c.total_in+=m,m),e.lookahead+=r,e.lookahead+e.insert>=3)for(e.ins_h=e.window[l=e.strstart-e.insert],e.ins_h=(e.ins_h<=3&&(e.ins_h=(e.ins_h<=3)if(n=s._tr_tally(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<=3&&(e.ins_h=(e.ins_h<4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-3,n=s._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=i&&(e.ins_h=(e.ins_h<15&&(o=2,n-=16),s<1||s>9||8!==r||n<8||n>15||t<0||t>9||a<0||a>4)return p(e,c);8===n&&(n=9);var l=new D;return e.state=l,l.strm=e,l.wrap=o,l.gzhead=null,l.w_bits=n,l.w_size=1<e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(M(e),0===e.lookahead&&0===t)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var n=e.block_start+r;if((0===e.strstart||e.strstart>=n)&&(e.lookahead=e.strstart-n,e.strstart=n,b(e,!1),0===e.strm.avail_out))return 1;if(e.strstart-e.block_start>=e.w_size-u&&(b(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(b(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&b(e,!1),1)})),new C(4,4,8,4,S),new C(4,5,16,8,S),new C(4,6,32,32,S),new C(4,4,16,16,x),new C(8,16,32,32,x),new C(8,16,128,128,x),new C(8,32,128,256,x),new C(32,128,258,1024,x),new C(32,258,258,4096,x)],r.deflateInit=function(e,t){return E(e,t,8,15,8,0)},r.deflateInit2=E,r.deflateReset=A,r.deflateResetKeep=L,r.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?c:(e.state.gzhead=t,0):c},r.deflate=function(e,t){var r,i,a,l;if(!e||!e.state||t>5||t<0)return e?p(e,c):c;if(i=e.state,!e.output||!e.input&&0!==e.avail_in||i.status===m&&4!==t)return p(e,0===e.avail_out?-5:c);if(i.strm=e,r=i.last_flush,i.last_flush=t,42===i.status)if(2===i.wrap)e.adler=0,v(i,31),v(i,139),v(i,8),i.gzhead?(v(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),v(i,255&i.gzhead.time),v(i,i.gzhead.time>>8&255),v(i,i.gzhead.time>>16&255),v(i,i.gzhead.time>>24&255),v(i,9===i.level?2:i.strategy>=2||i.level<2?4:0),v(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(v(i,255&i.gzhead.extra.length),v(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=o(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(v(i,0),v(i,0),v(i,0),v(i,0),v(i,0),v(i,9===i.level?2:i.strategy>=2||i.level<2?4:0),v(i,3),i.status=f);else{var u=8+(i.w_bits-8<<4)<<8;u|=(i.strategy>=2||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(u|=32),u+=31-u%31,i.status=f,w(i,u),0!==i.strstart&&(w(i,e.adler>>>16),w(i,65535&e.adler)),e.adler=1}if(69===i.status)if(i.gzhead.extra){for(a=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>a&&(e.adler=o(e.adler,i.pending_buf,i.pending-a,a)),y(e),a=i.pending,i.pending!==i.pending_buf_size));)v(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>a&&(e.adler=o(e.adler,i.pending_buf,i.pending-a,a)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=o(e.adler,i.pending_buf,i.pending-a,a)),y(e),a=i.pending,i.pending===i.pending_buf_size)){l=1;break}l=i.gzindexa&&(e.adler=o(e.adler,i.pending_buf,i.pending-a,a)),0===l&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=o(e.adler,i.pending_buf,i.pending-a,a)),y(e),a=i.pending,i.pending===i.pending_buf_size)){l=1;break}l=i.gzindexa&&(e.adler=o(e.adler,i.pending_buf,i.pending-a,a)),0===l&&(i.status=h)}else i.status=h;if(i.status===h&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&y(e),i.pending+2<=i.pending_buf_size&&(v(i,255&e.adler),v(i,e.adler>>8&255),e.adler=0,i.status=f)):i.status=f),0!==i.pending){if(y(e),0===e.avail_out)return i.last_flush=-1,0}else if(0===e.avail_in&&_(t)<=_(r)&&4!==t)return p(e,-5);if(i.status===m&&0!==e.avail_in)return p(e,-5);if(0!==e.avail_in||0!==i.lookahead||0!==t&&i.status!==m){var k=2===i.strategy?function(e,t){for(var r;;){if(0===e.lookahead&&(M(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,r=s._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(b(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(b(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(b(e,!1),0===e.strm.avail_out)?1:2}(i,t):3===i.strategy?function(e,t){for(var r,n,i,a,o=e.window;;){if(e.lookahead<=d){if(M(e),e.lookahead<=d&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(n=o[i=e.strstart-1])===o[++i]&&n===o[++i]&&n===o[++i]){a=e.strstart+d;do{}while(n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&ie.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(r=s._tr_tally(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=s._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(b(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(b(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(b(e,!1),0===e.strm.avail_out)?1:2}(i,t):n[i.level].func(i,t);if(3!==k&&4!==k||(i.status=m),1===k||3===k)return 0===e.avail_out&&(i.last_flush=-1),0;if(2===k&&(1===t?s._tr_align(i):5!==t&&(s._tr_stored_block(i,0,0,!1),3===t&&(g(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),y(e),0===e.avail_out))return i.last_flush=-1,0}return 4!==t?0:i.wrap<=0?1:(2===i.wrap?(v(i,255&e.adler),v(i,e.adler>>8&255),v(i,e.adler>>16&255),v(i,e.adler>>24&255),v(i,255&e.total_in),v(i,e.total_in>>8&255),v(i,e.total_in>>16&255),v(i,e.total_in>>24&255)):(w(i,e.adler>>>16),w(i,65535&e.adler)),y(e),i.wrap>0&&(i.wrap=-i.wrap),0!==i.pending?0:1)},r.deflateEnd=function(e){var t;return e&&e.state?42!==(t=e.state.status)&&69!==t&&73!==t&&91!==t&&t!==h&&t!==f&&t!==m?p(e,c):(e.state=null,t===f?p(e,-3):0):c},r.deflateSetDictionary=function(e,t){var r,n,s,o,l,d,u,h,f=t.length;if(!e||!e.state)return c;if(2===(o=(r=e.state).wrap)||1===o&&42!==r.status||r.lookahead)return c;for(1===o&&(e.adler=a(e.adler,t,f,0)),r.wrap=0,f>=r.w_size&&(0===o&&(g(r.head),r.strstart=0,r.block_start=0,r.insert=0),h=new i.Buf8(r.w_size),i.arraySet(h,t,f-r.w_size,r.w_size,0),t=h,f=r.w_size),l=e.avail_in,d=e.next_in,u=e.input,e.avail_in=f,e.next_in=0,e.input=t,M(r);r.lookahead>=3;){n=r.strstart,s=r.lookahead-2;do{r.ins_h=(r.ins_h<>>=v=b>>>24,m-=v,0==(v=b>>>16&255))C[s++]=65535&b;else{if(!(16&v)){if(0==(64&v)){b=p[(65535&b)+(f&(1<>>=v,m-=v),m<15&&(f+=x[n++]<>>=v=b>>>24,m-=v,!(16&(v=b>>>16&255))){if(0==(64&v)){b=_[(65535&b)+(f&(1<l){e.msg="invalid distance too far back",r.mode=30;break e}if(f>>>=v,m-=v,k>(v=s-a)){if((v=k-v)>d&&r.sane){e.msg="invalid distance too far back",r.mode=30;break e}if(M=0,S=h,0===u){if(M+=c-v,v2;)C[s++]=S[M++],C[s++]=S[M++],C[s++]=S[M++],w-=3;w&&(C[s++]=S[M++],w>1&&(C[s++]=S[M++]))}else{M=s-k;do{C[s++]=C[M++],C[s++]=C[M++],C[s++]=C[M++],w-=3}while(w>2);w&&(C[s++]=C[M++],w>1&&(C[s++]=C[M++]))}break}}break}}while(n>3)<<3))-1,e.next_in=n-=w,e.next_out=s,e.avail_in=n>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function h(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function f(e){var t;return e&&e.state?(e.total_in=e.total_out=(t=e.state).total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new n.Buf32(852),t.distcode=t.distdyn=new n.Buf32(592),t.sane=1,t.back=-1,0):l}function m(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,f(e)):l}function p(e,t){var r,n;return e&&e.state?(t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?l:(null!==(n=e.state).window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,m(e))):l}function _(e,t){var r,n;return e?(n=new h,e.state=n,n.window=null,0!==(r=p(e,t))&&(e.state=null),r):l}var g,y,b=!0;function v(e){if(b){var t;for(g=new n.Buf32(512),y=new n.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(o(1,e.lens,0,288,g,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;o(2,e.lens,0,32,y,0,e.work,{bits:5}),b=!1}e.lencode=g,e.lenbits=9,e.distcode=y,e.distbits=5}function w(e,t,r,i){var s,a=e.state;return null===a.window&&(a.wsize=1<=a.wsize?(n.arraySet(a.window,t,r-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):((s=a.wsize-a.wnext)>i&&(s=i),n.arraySet(a.window,t,r-i,s,a.wnext),(i-=s)?(n.arraySet(a.window,t,r-i,i,0),a.wnext=i,a.whave=a.wsize):(a.wnext+=s,a.wnext===a.wsize&&(a.wnext=0),a.whave>>8&255,r.check=s(r.check,F,2,0),y=0,b=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&y)<<8)+(y>>8))%31){e.msg="incorrect header check",r.mode=d;break}if(8!=(15&y)){e.msg="unknown compression method",r.mode=d;break}if(b-=4,Y=8+(15&(y>>>=4)),0===r.wbits)r.wbits=Y;else if(Y>r.wbits){e.msg="invalid window size",r.mode=d;break}r.dmax=1<>8&1),512&r.flags&&(F[0]=255&y,F[1]=y>>>8&255,r.check=s(r.check,F,2,0)),y=0,b=0,r.mode=3;case 3:for(;b<32;){if(0===_)break e;_--,y+=h[m++]<>>8&255,F[2]=y>>>16&255,F[3]=y>>>24&255,r.check=s(r.check,F,4,0)),y=0,b=0,r.mode=4;case 4:for(;b<16;){if(0===_)break e;_--,y+=h[m++]<>8),512&r.flags&&(F[0]=255&y,F[1]=y>>>8&255,r.check=s(r.check,F,2,0)),y=0,b=0,r.mode=5;case 5:if(1024&r.flags){for(;b<16;){if(0===_)break e;_--,y+=h[m++]<>>8&255,r.check=s(r.check,F,2,0)),y=0,b=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&((S=r.length)>_&&(S=_),S&&(r.head&&(Y=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),n.arraySet(r.head.extra,h,m,S,Y)),512&r.flags&&(r.check=s(r.check,h,S,m)),_-=S,m+=S,r.length-=S),r.length))break e;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===_)break e;S=0;do{Y=h[m+S++],r.head&&Y&&r.length<65536&&(r.head.name+=String.fromCharCode(Y))}while(Y&&S<_);if(512&r.flags&&(r.check=s(r.check,h,S,m)),_-=S,m+=S,Y)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=8;case 8:if(4096&r.flags){if(0===_)break e;S=0;do{Y=h[m+S++],r.head&&Y&&r.length<65536&&(r.head.comment+=String.fromCharCode(Y))}while(Y&&S<_);if(512&r.flags&&(r.check=s(r.check,h,S,m)),_-=S,m+=S,Y)break e}else r.head&&(r.head.comment=null);r.mode=9;case 9:if(512&r.flags){for(;b<16;){if(0===_)break e;_--,y+=h[m++]<>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=c;break;case 10:for(;b<32;){if(0===_)break e;_--,y+=h[m++]<>>=7&b,b-=7&b,r.mode=27;break}for(;b<3;){if(0===_)break e;_--,y+=h[m++]<>>=1)){case 0:r.mode=14;break;case 1:if(v(r),r.mode=20,6===t){y>>>=2,b-=2;break e}break;case 2:r.mode=17;break;case 3:e.msg="invalid block type",r.mode=d}y>>>=2,b-=2;break;case 14:for(y>>>=7&b,b-=7&b;b<32;){if(0===_)break e;_--,y+=h[m++]<>>16^65535)){e.msg="invalid stored block lengths",r.mode=d;break}if(r.length=65535&y,y=0,b=0,r.mode=15,6===t)break e;case 15:r.mode=16;case 16:if(S=r.length){if(S>_&&(S=_),S>g&&(S=g),0===S)break e;n.arraySet(f,h,m,S,p),_-=S,m+=S,g-=S,p+=S,r.length-=S;break}r.mode=c;break;case 17:for(;b<14;){if(0===_)break e;_--,y+=h[m++]<>>=5)),b-=5,r.ncode=4+(15&(y>>>=5)),y>>>=4,b-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=d;break}r.have=0,r.mode=18;case 18:for(;r.have>>=3,b-=3}for(;r.have<19;)r.lens[H[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,R=o(0,r.lens,0,19,r.lencode,0,r.work,O={bits:r.lenbits}),r.lenbits=O.bits,R){e.msg="invalid code lengths set",r.mode=d;break}r.have=0,r.mode=19;case 19:for(;r.have>>16&255,A=65535&j,!((D=j>>>24)<=b);){if(0===_)break e;_--,y+=h[m++]<>>=D,b-=D,r.lens[r.have++]=A;else{if(16===A){for(I=D+2;b>>=D,b-=D,0===r.have){e.msg="invalid bit length repeat",r.mode=d;break}Y=r.lens[r.have-1],S=3+(3&y),y>>>=2,b-=2}else if(17===A){for(I=D+3;b>>=D)),y>>>=3,b-=3}else{for(I=D+7;b>>=D)),y>>>=7,b-=7}if(r.have+S>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=d;break}for(;S--;)r.lens[r.have++]=Y}}if(r.mode===d)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=d;break}if(r.lenbits=9,R=o(1,r.lens,0,r.nlen,r.lencode,0,r.work,O={bits:r.lenbits}),r.lenbits=O.bits,R){e.msg="invalid literal/lengths set",r.mode=d;break}if(r.distbits=6,r.distcode=r.distdyn,R=o(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,O={bits:r.distbits}),r.distbits=O.bits,R){e.msg="invalid distances set",r.mode=d;break}if(r.mode=20,6===t)break e;case 20:r.mode=21;case 21:if(_>=6&&g>=258){e.next_out=p,e.avail_out=g,e.next_in=m,e.avail_in=_,r.hold=y,r.bits=b,a(e,M),p=e.next_out,f=e.output,g=e.avail_out,m=e.next_in,h=e.input,_=e.avail_in,y=r.hold,b=r.bits,r.mode===c&&(r.back=-1);break}for(r.back=0;L=(j=r.lencode[y&(1<>>16&255,A=65535&j,!((D=j>>>24)<=b);){if(0===_)break e;_--,y+=h[m++]<>E)])>>>16&255,A=65535&j,!(E+(D=j>>>24)<=b);){if(0===_)break e;_--,y+=h[m++]<>>=E,b-=E,r.back+=E}if(y>>>=D,b-=D,r.back+=D,r.length=A,0===L){r.mode=26;break}if(32&L){r.back=-1,r.mode=c;break}if(64&L){e.msg="invalid literal/length code",r.mode=d;break}r.extra=15&L,r.mode=22;case 22:if(r.extra){for(I=r.extra;b>>=r.extra,b-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;L=(j=r.distcode[y&(1<>>16&255,A=65535&j,!((D=j>>>24)<=b);){if(0===_)break e;_--,y+=h[m++]<>E)])>>>16&255,A=65535&j,!(E+(D=j>>>24)<=b);){if(0===_)break e;_--,y+=h[m++]<>>=E,b-=E,r.back+=E}if(y>>>=D,b-=D,r.back+=D,64&L){e.msg="invalid distance code",r.mode=d;break}r.offset=A,r.extra=15&L,r.mode=24;case 24:if(r.extra){for(I=r.extra;b>>=r.extra,b-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=d;break}r.mode=25;case 25:if(0===g)break e;if(r.offset>(S=M-g)){if((S=r.offset-S)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=d;break}x=S>r.wnext?r.wsize-(S-=r.wnext):r.wnext-S,S>r.length&&(S=r.length),C=r.window}else C=f,x=p-r.offset,S=r.length;S>g&&(S=g),g-=S,r.length-=S;do{f[p++]=C[x++]}while(--S);0===r.length&&(r.mode=21);break;case 26:if(0===g)break e;f[p++]=r.length,g--,r.mode=21;break;case 27:if(r.wrap){for(;b<32;){if(0===_)break e;_--,y|=h[m++]<=1&&0===O[C];C--);if(D>C&&(D=C),0===C)return c[d++]=20971520,c[d++]=20971520,h.bits=1,0;for(x=1;x0&&(0===e||1!==C))return-1;for(I[1]=0,M=1;M<15;M++)I[M+1]=I[M]+O[M];for(S=0;S852||2===e&&T>592)return 1;for(;;){b=M-A,u[S]y?(v=j[F+u[S]],w=Y[R+u[S]]):(v=96,w=0),f=1<>A)+(m-=f)]=b<<24|v<<16|w|0}while(0!==m);for(f=1<>=1;if(0!==f?(P&=f-1,P+=f):P=0,S++,0==--O[M]){if(M===C)break;M=t[r+u[S]]}if(M>D&&(P&_)!==p){for(0===A&&(A=D),g+=x,E=1<<(L=M-A);L+A852||2===e&&T>592)return 1;c[p=P&_]=D<<24|L<<16|g-d|0}}return 0!==P&&(c[g+P]=M-A<<24|64<<16|0),h.bits=D,0}},{"../utils/common":53}],63:[function(e,t,r){"use strict";t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],64:[function(e,t,r){"use strict";var n=e("../utils/common");function i(e){for(var t=e.length;--t>=0;)e[t]=0}var s=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],a=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],l=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],c=new Array(576);i(c);var d=new Array(60);i(d);var u=new Array(512);i(u);var h=new Array(256);i(h);var f=new Array(29);i(f);var m,p,_,g=new Array(30);function y(e,t,r,n,i){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=n,this.max_length=i,this.has_stree=e&&e.length}function b(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function v(e){return e<256?u[e]:u[256+(e>>>7)]}function w(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function k(e,t,r){e.bi_valid>16-r?(e.bi_buf|=t<>16-e.bi_valid,e.bi_valid+=r-16):(e.bi_buf|=t<>>=1,r<<=1}while(--t>0);return r>>>1}function x(e,t,r){var n,i,s=new Array(16),a=0;for(n=1;n<=15;n++)s[n]=a=a+r[n-1]<<1;for(i=0;i<=t;i++){var o=e[2*i+1];0!==o&&(e[2*i]=S(s[o]++,o))}}function C(e){var t;for(t=0;t<286;t++)e.dyn_ltree[2*t]=0;for(t=0;t<30;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function D(e){e.bi_valid>8?w(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function L(e,t,r,n){var i=2*t,s=2*r;return e[i]>1;r>=1;r--)A(e,s,r);i=l;do{r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],A(e,s,1),n=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=n,s[2*i]=s[2*r]+s[2*n],e.depth[i]=(e.depth[r]>=e.depth[n]?e.depth[r]:e.depth[n])+1,s[2*r+1]=s[2*n+1]=i,e.heap[1]=i++,A(e,s,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var r,n,i,s,a,o,l=t.dyn_tree,c=t.max_code,d=t.stat_desc.static_tree,u=t.stat_desc.has_stree,h=t.stat_desc.extra_bits,f=t.stat_desc.extra_base,m=t.stat_desc.max_length,p=0;for(s=0;s<=15;s++)e.bl_count[s]=0;for(l[2*e.heap[e.heap_max]+1]=0,r=e.heap_max+1;r<573;r++)(s=l[2*l[2*(n=e.heap[r])+1]+1]+1)>m&&(s=m,p++),l[2*n+1]=s,n>c||(e.bl_count[s]++,a=0,n>=f&&(a=h[n-f]),e.opt_len+=(o=l[2*n])*(s+a),u&&(e.static_len+=o*(d[2*n+1]+a)));if(0!==p){do{for(s=m-1;0===e.bl_count[s];)s--;e.bl_count[s]--,e.bl_count[s+1]+=2,e.bl_count[m]--,p-=2}while(p>0);for(s=m;0!==s;s--)for(n=e.bl_count[s];0!==n;)(i=e.heap[--r])>c||(l[2*i+1]!==s&&(e.opt_len+=(s-l[2*i+1])*l[2*i],l[2*i+1]=s),n--)}}(e,t),x(s,c,e.bl_count)}function P(e,t,r){var n,i,s=-1,a=t[1],o=0,l=7,c=4;for(0===a&&(l=138,c=3),t[2*(r+1)+1]=65535,n=0;n<=r;n++)i=a,a=t[2*(n+1)+1],++o>=7;n<30;n++)for(g[n]=i<<7,e=0;e<1<0?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,r=4093624447;for(t=0;t<=31;t++,r>>>=1)if(1&r&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<256;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),T(e,e.l_desc),T(e,e.d_desc),a=function(e){var t;for(P(e,e.dyn_ltree,e.l_desc.max_code),P(e,e.dyn_dtree,e.d_desc.max_code),T(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*l[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),(s=e.static_len+3+7>>>3)<=(i=e.opt_len+3+7>>>3)&&(i=s)):i=s=r+5,r+4<=i&&-1!==t?O(e,t,r,n):4===e.strategy||s===i?(k(e,2+(n?1:0),3),E(e,c,d)):(k(e,4+(n?1:0),3),function(e,t,r,n){var i;for(k(e,t-257,5),k(e,r-1,5),k(e,n-4,4),i=0;i>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&r,e.last_lit++,0===t?e.dyn_ltree[2*r]++:(e.matches++,t--,e.dyn_ltree[2*(h[r]+256+1)]++,e.dyn_dtree[2*v(t)]++),e.last_lit===e.lit_bufsize-1},r._tr_align=function(e){k(e,2,3),M(e,256,c),function(e){16===e.bi_valid?(w(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},{"../utils/common":53}],65:[function(e,t,r){"use strict";t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],66:[function(e,t,r){var n,i,s=t.exports={};function a(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function l(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{i="function"==typeof clearTimeout?clearTimeout:o}catch(e){i=o}}();var c,d=[],u=!1,h=-1;function f(){u&&c&&(u=!1,c.length?d=c.concat(d):h=-1,d.length&&m())}function m(){if(!u){var e=l(f);u=!0;for(var t=d.length;t;){for(c=d,d=[];++h1)for(var r=1;r0;){this._ensureByte();var r=8-this.bitOffset;if(e>=r)t<<=r,t|=n[r]&this.curByte,this.hasByte=!1,this.bitOffset=0,e-=r;else{t<<=e;var i=r-e;t|=(this.curByte&n[e]<>i,this.bitOffset+=e,e=0}}return t},i.prototype.seek=function(e){var t=e%8,r=(e-t)/8;this.bitOffset=t,this.stream.seek(r),this.hasByte=!1},i.prototype.pi=function(){var e,t=new Uint8Array(6);for(e=0;e("00"+e.toString(16)).slice(-2)).join("")}(t)},t.exports=i},{}],68:[function(e,t,r){"use strict";var n;t.exports=(n=new Uint32Array([0,79764919,159529838,222504665,319059676,398814059,445009330,507990021,638119352,583659535,797628118,726387553,890018660,835552979,1015980042,944750013,1276238704,1221641927,1167319070,1095957929,1595256236,1540665371,1452775106,1381403509,1780037320,1859660671,1671105958,1733955601,2031960084,2111593891,1889500026,1952343757,2552477408,2632100695,2443283854,2506133561,2334638140,2414271883,2191915858,2254759653,3190512472,3135915759,3081330742,3009969537,2905550212,2850959411,2762807018,2691435357,3560074640,3505614887,3719321342,3648080713,3342211916,3287746299,3467911202,3396681109,4063920168,4143685023,4223187782,4286162673,3779000052,3858754371,3904687514,3967668269,881225847,809987520,1023691545,969234094,662832811,591600412,771767749,717299826,311336399,374308984,453813921,533576470,25881363,88864420,134795389,214552010,2023205639,2086057648,1897238633,1976864222,1804852699,1867694188,1645340341,1724971778,1587496639,1516133128,1461550545,1406951526,1302016099,1230646740,1142491917,1087903418,2896545431,2825181984,2770861561,2716262478,3215044683,3143675388,3055782693,3001194130,2326604591,2389456536,2200899649,2280525302,2578013683,2640855108,2418763421,2498394922,3769900519,3832873040,3912640137,3992402750,4088425275,4151408268,4197601365,4277358050,3334271071,3263032808,3476998961,3422541446,3585640067,3514407732,3694837229,3640369242,1762451694,1842216281,1619975040,1682949687,2047383090,2127137669,1938468188,2001449195,1325665622,1271206113,1183200824,1111960463,1543535498,1489069629,1434599652,1363369299,622672798,568075817,748617968,677256519,907627842,853037301,1067152940,995781531,51762726,131386257,177728840,240578815,269590778,349224269,429104020,491947555,4046411278,4126034873,4172115296,4234965207,3794477266,3874110821,3953728444,4016571915,3609705398,3555108353,3735388376,3664026991,3290680682,3236090077,3449943556,3378572211,3174993278,3120533705,3032266256,2961025959,2923101090,2868635157,2813903052,2742672763,2604032198,2683796849,2461293480,2524268063,2284983834,2364738477,2175806836,2238787779,1569362073,1498123566,1409854455,1355396672,1317987909,1246755826,1192025387,1137557660,2072149281,2135122070,1912620623,1992383480,1753615357,1816598090,1627664531,1707420964,295390185,358241886,404320391,483945776,43990325,106832002,186451547,266083308,932423249,861060070,1041341759,986742920,613929101,542559546,756411363,701822548,3316196985,3244833742,3425377559,3370778784,3601682597,3530312978,3744426955,3689838204,3819031489,3881883254,3928223919,4007849240,4037393693,4100235434,4180117107,4259748804,2310601993,2373574846,2151335527,2231098320,2596047829,2659030626,2470359227,2550115596,2947551409,2876312838,2788305887,2733848168,3165939309,3094707162,3040238851,2985771188]),function(){var e=4294967295;this.getCRC=function(){return~e>>>0},this.updateCRC=function(t){e=e<<8^n[255&(e>>>24^t)]},this.updateCRCRun=function(t,r){for(;r-- >0;)e=e<<8^n[255&(e>>>24^t)]}})},{}],69:[function(e,t,r){"use strict";var n=e("./bitreader"),i=e("./stream"),s=e("./crc32"),a=function(e,t){var r,n=e[t];for(r=t;r>0;r--)e[r]=e[r-1];return e[0]=n,n},o={OK:0,LAST_BLOCK:-1,NOT_BZIP_DATA:-2,UNEXPECTED_INPUT_EOF:-3,UNEXPECTED_OUTPUT_EOF:-4,DATA_ERROR:-5,OUT_OF_MEMORY:-6,OBSOLETE_INPUT:-7,END_OF_BLOCK:-8},l={};l[o.LAST_BLOCK]="Bad file checksum",l[o.NOT_BZIP_DATA]="Not bzip data",l[o.UNEXPECTED_INPUT_EOF]="Unexpected input EOF",l[o.UNEXPECTED_OUTPUT_EOF]="Unexpected output EOF",l[o.DATA_ERROR]="Data error",l[o.OUT_OF_MEMORY]="Out of memory",l[o.OBSOLETE_INPUT]="Obsolete (pre 0.9.5) bzip format not supported.";var c=function(e,t){var r=l[e]||"unknown error";t&&(r+=": "+t);var n=new TypeError(r);throw n.errorCode=e,n},d=function(e,t){this.writePos=this.writeCurrent=this.writeCount=0,this._start_bunzip(e,t)};d.prototype._init_block=function(){return this._get_next_block()?(this.blockCRC=new s,!0):(this.writeCount=-1,!1)},d.prototype._start_bunzip=function(e,t){var r=new Uint8Array(4);4===e.read(r,0,4)&&"BZh"===String.fromCharCode(r[0],r[1],r[2])||c(o.NOT_BZIP_DATA,"bad magic");var i=r[3]-48;(i<1||i>9)&&c(o.NOT_BZIP_DATA,"level out of range"),this.reader=new n(e),this.dbufSize=1e5*i,this.nextoutput=0,this.outputStream=t,this.streamCRC=0},d.prototype._get_next_block=function(){var e,t,r,n=this.reader,i=n.pi();if("177245385090"===i)return!1;"314159265359"!==i&&c(o.NOT_BZIP_DATA),this.targetBlockCRC=n.read(32)>>>0,this.streamCRC=(this.targetBlockCRC^(this.streamCRC<<1|this.streamCRC>>>31))>>>0,n.read(1)&&c(o.OBSOLETE_INPUT);var s=n.read(24);s>this.dbufSize&&c(o.DATA_ERROR,"initial position out of bounds");var l=n.read(16),d=new Uint8Array(256),u=0;for(e=0;e<16;e++)if(l&1<<15-e){var h=16*e;for(r=n.read(16),t=0;t<16;t++)r&1<<15-t&&(d[u++]=h+t)}var f=n.read(3);(f<2||f>6)&&c(o.DATA_ERROR);var m=n.read(15);0===m&&c(o.DATA_ERROR);var p=new Uint8Array(256);for(e=0;e=f&&c(o.DATA_ERROR);_[e]=a(p,t)}var g,y=u+2,b=[];for(t=0;t20)&&c(o.DATA_ERROR),n.read(1);)n.read(1)?l--:l++;k[e]=l}for(v=w=k[0],e=1;ew?w=k[e]:k[e]=m&&c(o.DATA_ERROR),g=b[_[A++]]),t=n.read(e=g.minLen);e>g.maxLen&&c(o.DATA_ERROR),!(t<=g.limit[e]);e++)t=t<<1|n.read(1);((t-=g.base[e])<0||t>=258)&&c(o.DATA_ERROR);var T=g.permute[t];if(0!==T&&1!==T){if(D)for(D=0,L+l>this.dbufSize&&c(o.DATA_ERROR),x[C=d[p[0]]]+=l;l--;)E[L++]=C;if(T>u)break;L>=this.dbufSize&&c(o.DATA_ERROR),x[C=d[C=a(p,e=T-1)]]++,E[L++]=C}else D||(D=1,l=0),l+=0===T?D:2*D,D<<=1}for((s<0||s>=L)&&c(o.DATA_ERROR),t=0,e=0;e<256;e++)r=t+x[e],x[e]=t,t=r;for(e=0;e>=8,R=-1),this.writePos=P,this.writeCurrent=Y,this.writeCount=L,this.writeRun=R,!0},d.prototype._read_bunzip=function(e,t){var r,n,i;if(this.writeCount<0)return 0;for(var s=this.dbuf,a=this.writePos,l=this.writeCurrent,d=this.writeCount,u=this.writeRun;d;){for(d--,n=l,l=255&(a=s[a]),a>>=8,3==u++?(r=l,i=n,l=-1):(r=1,i=l),this.blockCRC.updateCRCRun(i,r);r--;)this.outputStream.writeByte(i),this.nextoutput++;l!=n&&(u=0)}return this.writeCount=d,this.blockCRC.getCRC()!==this.targetBlockCRC&&c(o.DATA_ERROR,"Bad block CRC (got "+this.blockCRC.getCRC().toString(16)+" expected "+this.targetBlockCRC.toString(16)+")"),this.nextoutput};var u=function(e){if("readByte"in e)return e;var t=new i;return t.pos=0,t.readByte=function(){return e[this.pos++]},t.seek=function(e){this.pos=e},t.eof=function(){return this.pos>=e.length},t},h=function(e){var t=new i,r=!0;if(e)if("number"==typeof e)t.buffer=new Uint8Array(e),r=!1;else{if("writeByte"in e)return e;t.buffer=e,r=!1}else t.buffer=new Uint8Array(16384);return t.pos=0,t.writeByte=function(e){if(r&&this.pos>=this.buffer.length){var t=new Uint8Array(2*this.buffer.length);t.set(this.buffer),this.buffer=t}this.buffer[this.pos++]=e},t.getBuffer=function(){if(this.pos!==this.buffer.length){if(!r)throw new TypeError("outputsize does not match decoded input");var e=new Uint8Array(this.pos);e.set(this.buffer.subarray(0,this.pos)),this.buffer=e}return this.buffer},t._coerced=!0,t};d.Err=o,d.decode=function(e,t,r){for(var n=u(e),i=h(t),s=new d(n,i);!("eof"in n)||!n.eof();)if(s._init_block())s._read_bunzip();else{var a=s.reader.read(32)>>>0;if(a!==s.streamCRC&&c(o.DATA_ERROR,"Bad stream CRC (got "+s.streamCRC.toString(16)+" expected "+a.toString(16)+")"),!r||!("eof"in n)||n.eof())break;s._start_bunzip(n,i)}if("getBuffer"in i)return i.getBuffer()},d.decodeBlock=function(e,t,r){var n=u(e),i=h(r),a=new d(n,i);if(a.reader.seek(t),a._get_next_block()&&(a.blockCRC=new s,a.writeCopies=0,a._read_bunzip()),"getBuffer"in i)return i.getBuffer()},d.table=function(e,t,r){var n=new i;n.delegate=u(e),n.pos=0,n.readByte=function(){return this.pos++,this.delegate.readByte()},n.delegate.eof&&(n.eof=n.delegate.eof.bind(n.delegate));var s=new i;s.pos=0,s.writeByte=function(){this.pos++};for(var a=new d(n,s),o=a.dbufSize;!("eof"in n)||!n.eof();){var l=8*n.pos+a.reader.bitOffset;if(a.reader.hasByte&&(l-=8),a._init_block()){var c=s.pos;a._read_bunzip(),t(l,s.pos-c)}else{if(a.reader.read(32),!r||!("eof"in n)||n.eof())break;a._start_bunzip(n,s),console.assert(a.dbufSize===o,"shouldn't change block size within multistream file")}}},d.Stream=i,t.exports=d},{"./bitreader":67,"./crc32":68,"./stream":70}],70:[function(e,t,r){"use strict";var n=function(){};n.prototype.readByte=function(){throw new Error("abstract method readByte() not implemented")},n.prototype.read=function(e,t,r){for(var n=0;n>6*r)+i];r>0;)s.push(128|63&t>>6*(r-1)),r-=1;return s}}c.prototype={decode:function(e,t){var r;r="object"==typeof e&&e instanceof ArrayBuffer?new Uint8Array(e):"object"==typeof e&&"buffer"in e&&e.buffer instanceof ArrayBuffer?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):new Uint8Array(0),t=i(t),this._streaming||(this._decoder=new u({fatal:this._fatal}),this._BOMseen=!1),this._streaming=Boolean(t.stream);for(var n,o=new s(r),l=[];!o.endOfStream()&&(n=this._decoder.handler(o,o.read()))!==a;)null!==n&&(Array.isArray(n)?l.push.apply(l,n):l.push(n));if(!this._streaming){do{if((n=this._decoder.handler(o,o.read()))===a)break;null!==n&&(Array.isArray(n)?l.push.apply(l,n):l.push(n))}while(!o.endOfStream());this._decoder=null}return l.length&&(-1===["utf-8"].indexOf(this.encoding)||this._ignoreBOM||this._BOMseen||(65279===l[0]?(this._BOMseen=!0,l.shift()):this._BOMseen=!0)),function(e){for(var t="",r=0;r>10),56320+(1023&n)))}return t}(l)}},d.prototype={encode:function(e,t){e=e?String(e):"",t=i(t),this._streaming||(this._encoder=new h(this._options)),this._streaming=Boolean(t.stream);for(var r,n=[],o=new s(function(e){for(var t=String(e),r=t.length,n=0,i=[];n57343)i.push(s);else if(56320<=s&&s<=57343)i.push(65533);else if(55296<=s&&s<=56319)if(n===r-1)i.push(65533);else{var a=e.charCodeAt(n+1);56320<=a&&a<=57343?(i.push(65536+((1023&s)<<10)+(1023&a)),n+=1):i.push(65533)}n+=1}return i}(e));!o.endOfStream()&&(r=this._encoder.handler(o,o.read()))!==a;)Array.isArray(r)?n.push.apply(n,r):n.push(r);if(!this._streaming){for(;(r=this._encoder.handler(o,o.read()))!==a;)Array.isArray(r)?n.push.apply(n,r):n.push(r);this._encoder=null}return new Uint8Array(n)}},r.TextEncoder=d,r.TextDecoder=c},{}],72:[function(e,t,r){!function(t){"use strict";var r=function(e){var t,r=new Float64Array(16);if(e)for(t=0;t>>8)-1}(e,t,r,n)}function m(e,t){var r;for(r=0;r<16;r++)e[r]=0|t[r]}function p(e){var t,r,n=1;for(t=0;t<16;t++)r=e[t]+n+65535,n=Math.floor(r/65536),e[t]=r-65536*n;e[0]+=n-1+37*(n-1)}function _(e,t,r){for(var n,i=~(r-1),s=0;s<16;s++)e[s]^=n=i&(e[s]^t[s]),t[s]^=n}function g(e,t){var n,i,s,a=r(),o=r();for(n=0;n<16;n++)o[n]=t[n];for(p(o),p(o),p(o),i=0;i<2;i++){for(a[0]=o[0]-65517,n=1;n<15;n++)a[n]=o[n]-65535-(a[n-1]>>16&1),a[n-1]&=65535;a[15]=o[15]-32767-(a[14]>>16&1),s=a[15]>>16&1,a[14]&=65535,_(o,a,1-s)}for(n=0;n<16;n++)e[2*n]=255&o[n],e[2*n+1]=o[n]>>8}function y(e,t){var r=new Uint8Array(32),n=new Uint8Array(32);return g(r,e),g(n,t),f(r,0,n,0)}function b(e){var t=new Uint8Array(32);return g(t,e),1&t[0]}function v(e,t){var r;for(r=0;r<16;r++)e[r]=t[2*r]+(t[2*r+1]<<8);e[15]&=32767}function w(e,t,r){for(var n=0;n<16;n++)e[n]=t[n]+r[n]}function k(e,t,r){for(var n=0;n<16;n++)e[n]=t[n]-r[n]}function M(e,t,r){var n,i,s=0,a=0,o=0,l=0,c=0,d=0,u=0,h=0,f=0,m=0,p=0,_=0,g=0,y=0,b=0,v=0,w=0,k=0,M=0,S=0,x=0,C=0,D=0,L=0,A=0,E=0,T=0,P=0,Y=0,R=0,O=0,I=r[0],j=r[1],F=r[2],H=r[3],N=r[4],B=r[5],z=r[6],U=r[7],V=r[8],K=r[9],W=r[10],q=r[11],G=r[12],$=r[13],Z=r[14],J=r[15];s+=(n=t[0])*I,a+=n*j,o+=n*F,l+=n*H,c+=n*N,d+=n*B,u+=n*z,h+=n*U,f+=n*V,m+=n*K,p+=n*W,_+=n*q,g+=n*G,y+=n*$,b+=n*Z,v+=n*J,a+=(n=t[1])*I,o+=n*j,l+=n*F,c+=n*H,d+=n*N,u+=n*B,h+=n*z,f+=n*U,m+=n*V,p+=n*K,_+=n*W,g+=n*q,y+=n*G,b+=n*$,v+=n*Z,w+=n*J,o+=(n=t[2])*I,l+=n*j,c+=n*F,d+=n*H,u+=n*N,h+=n*B,f+=n*z,m+=n*U,p+=n*V,_+=n*K,g+=n*W,y+=n*q,b+=n*G,v+=n*$,w+=n*Z,k+=n*J,l+=(n=t[3])*I,c+=n*j,d+=n*F,u+=n*H,h+=n*N,f+=n*B,m+=n*z,p+=n*U,_+=n*V,g+=n*K,y+=n*W,b+=n*q,v+=n*G,w+=n*$,k+=n*Z,M+=n*J,c+=(n=t[4])*I,d+=n*j,u+=n*F,h+=n*H,f+=n*N,m+=n*B,p+=n*z,_+=n*U,g+=n*V,y+=n*K,b+=n*W,v+=n*q,w+=n*G,k+=n*$,M+=n*Z,S+=n*J,d+=(n=t[5])*I,u+=n*j,h+=n*F,f+=n*H,m+=n*N,p+=n*B,_+=n*z,g+=n*U,y+=n*V,b+=n*K,v+=n*W,w+=n*q,k+=n*G,M+=n*$,S+=n*Z,x+=n*J,u+=(n=t[6])*I,h+=n*j,f+=n*F,m+=n*H,p+=n*N,_+=n*B,g+=n*z,y+=n*U,b+=n*V,v+=n*K,w+=n*W,k+=n*q,M+=n*G,S+=n*$,x+=n*Z,C+=n*J,h+=(n=t[7])*I,f+=n*j,m+=n*F,p+=n*H,_+=n*N,g+=n*B,y+=n*z,b+=n*U,v+=n*V,w+=n*K,k+=n*W,M+=n*q,S+=n*G,x+=n*$,C+=n*Z,D+=n*J,f+=(n=t[8])*I,m+=n*j,p+=n*F,_+=n*H,g+=n*N,y+=n*B,b+=n*z,v+=n*U,w+=n*V,k+=n*K,M+=n*W,S+=n*q,x+=n*G,C+=n*$,D+=n*Z,L+=n*J,m+=(n=t[9])*I,p+=n*j,_+=n*F,g+=n*H,y+=n*N,b+=n*B,v+=n*z,w+=n*U,k+=n*V,M+=n*K,S+=n*W,x+=n*q,C+=n*G,D+=n*$,L+=n*Z,A+=n*J,p+=(n=t[10])*I,_+=n*j,g+=n*F,y+=n*H,b+=n*N,v+=n*B,w+=n*z,k+=n*U,M+=n*V,S+=n*K,x+=n*W,C+=n*q,D+=n*G,L+=n*$,A+=n*Z,E+=n*J,_+=(n=t[11])*I,g+=n*j,y+=n*F,b+=n*H,v+=n*N,w+=n*B,k+=n*z,M+=n*U,S+=n*V,x+=n*K,C+=n*W,D+=n*q,L+=n*G,A+=n*$,E+=n*Z,T+=n*J,g+=(n=t[12])*I,y+=n*j,b+=n*F,v+=n*H,w+=n*N,k+=n*B,M+=n*z,S+=n*U,x+=n*V,C+=n*K,D+=n*W,L+=n*q,A+=n*G,E+=n*$,T+=n*Z,P+=n*J,y+=(n=t[13])*I,b+=n*j,v+=n*F,w+=n*H,k+=n*N,M+=n*B,S+=n*z,x+=n*U,C+=n*V,D+=n*K,L+=n*W,A+=n*q,E+=n*G,T+=n*$,P+=n*Z,Y+=n*J,b+=(n=t[14])*I,v+=n*j,w+=n*F,k+=n*H,M+=n*N,S+=n*B,x+=n*z,C+=n*U,D+=n*V,L+=n*K,A+=n*W,E+=n*q,T+=n*G,P+=n*$,Y+=n*Z,R+=n*J,v+=(n=t[15])*I,a+=38*(k+=n*F),o+=38*(M+=n*H),l+=38*(S+=n*N),c+=38*(x+=n*B),d+=38*(C+=n*z),u+=38*(D+=n*U),h+=38*(L+=n*V),f+=38*(A+=n*K),m+=38*(E+=n*W),p+=38*(T+=n*q),_+=38*(P+=n*G),g+=38*(Y+=n*$),y+=38*(R+=n*Z),b+=38*(O+=n*J),s=(n=(s+=38*(w+=n*j))+(i=1)+65535)-65536*(i=Math.floor(n/65536)),a=(n=a+i+65535)-65536*(i=Math.floor(n/65536)),o=(n=o+i+65535)-65536*(i=Math.floor(n/65536)),l=(n=l+i+65535)-65536*(i=Math.floor(n/65536)),c=(n=c+i+65535)-65536*(i=Math.floor(n/65536)),d=(n=d+i+65535)-65536*(i=Math.floor(n/65536)),u=(n=u+i+65535)-65536*(i=Math.floor(n/65536)),h=(n=h+i+65535)-65536*(i=Math.floor(n/65536)),f=(n=f+i+65535)-65536*(i=Math.floor(n/65536)),m=(n=m+i+65535)-65536*(i=Math.floor(n/65536)),p=(n=p+i+65535)-65536*(i=Math.floor(n/65536)),_=(n=_+i+65535)-65536*(i=Math.floor(n/65536)),g=(n=g+i+65535)-65536*(i=Math.floor(n/65536)),y=(n=y+i+65535)-65536*(i=Math.floor(n/65536)),b=(n=b+i+65535)-65536*(i=Math.floor(n/65536)),v=(n=v+i+65535)-65536*(i=Math.floor(n/65536)),s=(n=(s+=i-1+37*(i-1))+(i=1)+65535)-65536*(i=Math.floor(n/65536)),a=(n=a+i+65535)-65536*(i=Math.floor(n/65536)),o=(n=o+i+65535)-65536*(i=Math.floor(n/65536)),l=(n=l+i+65535)-65536*(i=Math.floor(n/65536)),c=(n=c+i+65535)-65536*(i=Math.floor(n/65536)),d=(n=d+i+65535)-65536*(i=Math.floor(n/65536)),u=(n=u+i+65535)-65536*(i=Math.floor(n/65536)),h=(n=h+i+65535)-65536*(i=Math.floor(n/65536)),f=(n=f+i+65535)-65536*(i=Math.floor(n/65536)),m=(n=m+i+65535)-65536*(i=Math.floor(n/65536)),p=(n=p+i+65535)-65536*(i=Math.floor(n/65536)),_=(n=_+i+65535)-65536*(i=Math.floor(n/65536)),g=(n=g+i+65535)-65536*(i=Math.floor(n/65536)),y=(n=y+i+65535)-65536*(i=Math.floor(n/65536)),b=(n=b+i+65535)-65536*(i=Math.floor(n/65536)),v=(n=v+i+65535)-65536*(i=Math.floor(n/65536)),e[0]=s+=i-1+37*(i-1),e[1]=a,e[2]=o,e[3]=l,e[4]=c,e[5]=d,e[6]=u,e[7]=h,e[8]=f,e[9]=m,e[10]=p,e[11]=_,e[12]=g,e[13]=y,e[14]=b,e[15]=v}function S(e,t){M(e,t,t)}function x(e,t){var n,i=r();for(n=0;n<16;n++)i[n]=t[n];for(n=253;n>=0;n--)S(i,i),2!==n&&4!==n&&M(i,i,t);for(n=0;n<16;n++)e[n]=i[n]}function C(e,t,n){var i,s,a=new Uint8Array(32),l=new Float64Array(80),c=r(),d=r(),u=r(),h=r(),f=r(),m=r();for(s=0;s<31;s++)a[s]=t[s];for(a[31]=127&t[31]|64,a[0]&=248,v(l,n),s=0;s<16;s++)d[s]=l[s],h[s]=c[s]=u[s]=0;for(c[0]=h[0]=1,s=254;s>=0;--s)_(c,d,i=a[s>>>3]>>>(7&s)&1),_(u,h,i),w(f,c,u),k(c,c,u),w(u,d,h),k(d,d,h),S(h,f),S(m,c),M(c,u,c),M(u,d,f),w(f,c,u),k(c,c,u),S(d,c),k(u,h,m),M(c,u,o),w(c,c,h),M(u,u,c),M(c,h,m),M(h,d,l),S(d,f),_(c,d,i),_(u,h,i);for(s=0;s<16;s++)l[s+16]=c[s],l[s+32]=u[s],l[s+48]=d[s],l[s+64]=h[s];var p=l.subarray(32),y=l.subarray(16);return x(p,p),M(y,y,p),g(e,y),0}function D(e,t){return C(e,t,i)}function L(e,t){var n=r(),i=r(),s=r(),a=r(),o=r(),l=r(),d=r(),u=r(),h=r();k(n,e[1],e[0]),k(h,t[1],t[0]),M(n,n,h),w(i,e[0],e[1]),w(h,t[0],t[1]),M(i,i,h),M(s,e[3],t[3]),M(s,s,c),M(a,e[2],t[2]),w(a,a,a),k(o,i,n),k(l,a,s),w(d,a,s),w(u,i,n),M(e[0],o,l),M(e[1],u,d),M(e[2],d,l),M(e[3],o,u)}function A(e,t,r){var n;for(n=0;n<4;n++)_(e[n],t[n],r)}function E(e,t){var n=r(),i=r(),s=r();x(s,t[2]),M(n,t[0],s),M(i,t[1],s),g(e,i),e[31]^=b(n)<<7}function T(e,t,r){var n,i;for(m(e[0],s),m(e[1],a),m(e[2],a),m(e[3],s),i=255;i>=0;--i)A(e,t,n=r[i/8|0]>>(7&i)&1),L(t,e),L(e,e),A(e,t,n)}function P(e,t){var n=[r(),r(),r(),r()];m(n[0],d),m(n[1],u),m(n[2],a),M(n[3],d,u),T(e,n,t)}function Y(e,i,s){var a,o,l=[r(),r(),r(),r()];for(s||n(i,32),(a=t.hash(i.subarray(0,32)))[0]&=248,a[31]&=127,a[31]|=64,P(l,a),E(e,l),o=0;o<32;o++)i[o+32]=e[o];return 0}var R=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function O(e,t){var r,n,i,s;for(n=63;n>=32;--n){for(r=0,i=n-32,s=n-12;i>8);t[i]+=r,t[n]=0}for(r=0,i=0;i<32;i++)t[i]+=r-(t[31]>>4)*R[i],r=t[i]>>8,t[i]&=255;for(i=0;i<32;i++)t[i]-=r*R[i];for(n=0;n<32;n++)t[n+1]+=t[n]>>8,e[n]=255&t[n]}function I(e){var t,r=new Float64Array(64);for(t=0;t<64;t++)r[t]=e[t];for(t=0;t<64;t++)e[t]=0;O(e,r)}var j=64;function F(){for(var e=0;e=0;n--)S(i,i),1!==n&&M(i,i,t);for(n=0;n<16;n++)e[n]=i[n]}(n,n),M(n,n,o),M(n,n,c),M(n,n,c),M(e[0],n,c),S(i,e[0]),M(i,i,c),y(i,o)&&M(e[0],e[0],h),S(i,e[0]),M(i,i,c),y(i,o)?-1:(b(e[0])===t[31]>>7&&k(e[0],s,e[0]),M(e[3],e[0],e[1]),0)}(_,o))return-1;for(c=0;c=0},t.sign.keyPair=function(){var e=new Uint8Array(32),t=new Uint8Array(64);return Y(e,t),{publicKey:e,secretKey:t}},t.sign.keyPair.fromSecretKey=function(e){if(F(e),64!==e.length)throw new Error("bad secret key size");for(var t=new Uint8Array(32),r=0;r{t.enqueue(r),e.pause()}),e.on("end",()=>t.close()),e.on("error",e=>t.error(e))},pull(){e.resume()},cancel(t){if(e.pause(),e.cancel)return e.cancel(t)}})};class e extends a{constructor(e,t){super(t),this._webStream=e,this._reader=s.default.getReader(e),this._reading=!1,this._doneReadingPromise=Promise.resolve(),this._cancelling=!1}_read(e){this._reading||this._cancelling||(this._reading=!0,this._doneReadingPromise=(async()=>{try{for(;;){var e=await this._reader.read();const t=e.value;if(e.done){this.push(null);break}if(!this.push(t)||this._cancelling){this._reading=!1;break}}}catch(t){this.emit("error",t)}})())}async cancel(e){return this._cancelling=!0,await this._doneReadingPromise,this._reader.releaseLock(),this._webStream.cancel(e)}}r.webToNode=l=function(t){return new e(t)}}r.nodeToWeb=o,r.webToNode=l},{"./streams":75,"./util":76,stream:"stream"}],74:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.externalBuffer=r.Reader=void 0;var n,i=(n=e("./streams"))&&n.__esModule?n:{default:n};const s=new WeakSet,a=Symbol("externalBuffer");function o(e){this.stream=e,e[a]&&(this[a]=e[a].slice());let t=i.default.isStream(e);if("node"===t&&(e=i.default.nodeToWeb(e)),t){const t=e.getReader();return this._read=t.read.bind(t),void(this._releaseLock=()=>{t.closed.catch((function(){})),t.releaseLock()})}let r=!1;this._read=async()=>r||s.has(e)?{value:void 0,done:!0}:(r=!0,{value:e,done:!1}),this._releaseLock=()=>{if(r)try{s.add(e)}catch(t){}}}o.prototype.read=async function(){return this[a]&&this[a].length?{done:!1,value:this[a].shift()}:this._read()},o.prototype.releaseLock=function(){this[a]&&(this.stream[a]=this[a]),this._releaseLock()},o.prototype.readLine=async function(){let e,t=[];for(;!e;){var r=await this.read();let n=r.value;if(n+="",r.done)return t.length?i.default.concat(t):void 0;const s=n.indexOf("\n")+1;s&&(e=i.default.concat(t.concat(n.substr(0,s))),t=[]),s!==n.length&&t.push(n.substr(s))}return this.unshift(...t),e},o.prototype.readByte=async function(){var e=await this.read();const t=e.value;if(e.done)return;const r=t[0];return this.unshift(i.default.slice(t,1)),r},o.prototype.readBytes=async function(e){const t=[];let r=0;for(;;){var n=await this.read();const s=n.value;if(n.done)return t.length?i.default.concat(t):void 0;if(t.push(s),r+=s.length,r>=e){const r=i.default.concat(t);return this.unshift(i.default.slice(r,e)),i.default.slice(r,0,e)}}},o.prototype.peekBytes=async function(e){const t=await this.readBytes(e);return this.unshift(t),t},o.prototype.unshift=function(...e){this[a]||(this[a]=[]),this[a].unshift(...e.filter(e=>e&&e.length))},o.prototype.readToEnd=async function(e=i.default.concat){const t=[];for(;;){var r=await this.read();const e=r.value;if(r.done)break;t.push(e)}return e(t)},r.Reader=o,r.externalBuffer=a},{"./streams":75}],75:[function(e,t,r){(function(t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=e("./util"),i=e("./node-conversions"),s=e("./reader");const a=n.isNode&&e("buffer").Buffer;function o(e){let t=(0,n.isStream)(e);return"node"===t?(0,i.nodeToWeb)(e):t?e:new ReadableStream({start(t){t.enqueue(e),t.close()}})}function l(e){return e.some(n.isStream)?c(e):"string"==typeof e[0]?e.join(""):a&&a.isBuffer(e[0])?a.concat(e):(0,n.concatUint8Array)(e)}function c(e){e=e.map(o);const t=m((async function(e){await Promise.all(n.map(t=>v(t,e)))}));let r=Promise.resolve();const n=e.map((n,i)=>_(n,(n,s)=>(r=r.then(()=>h(n,t.writable,{preventClose:i!==e.length-1})),r)));return t.readable}function d(e){return new s.Reader(e)}function u(e){const t=e.getWriter(),r=t.releaseLock;return t.releaseLock=()=>{t.closed.catch((function(){})),r.call(t)},t}async function h(e,t,r){e=o(e);try{if(e[s.externalBuffer]){const r=u(t);for(let t=0;t{t=e}),t=null)},close:r.close.bind(r),abort:r.error.bind(r)})}}function p(e,t=(()=>{}),r=(()=>{})){if((0,n.isStream)(e))return f(e,{async transform(e,r){try{const n=await t(e);void 0!==n&&r.enqueue(n)}catch(n){r.error(n)}},async flush(e){try{const t=await r();void 0!==t&&e.enqueue(t)}catch(t){e.error(t)}}});const i=t(e),s=r();return void 0!==i&&void 0!==s?l([i,s]):void 0!==i?i:s}function _(e,t){let r;const n=new TransformStream({start(e){r=e}}),i=h(e,n.writable),s=m((async function(){r.error(new Error("Readable side was canceled.")),await i,await new Promise(setTimeout)}));return t(n.readable,s.writable),s.readable}function g(e,t){Object.entries(Object.getOwnPropertyDescriptors(ReadableStream.prototype)).forEach(([r,n])=>{"constructor"!==r&&(n.value?n.value=n.value.bind(t):n.get=n.get.bind(t),Object.defineProperty(e,r,n))})}function y(e,t=0,r=1/0){if((0,n.isStream)(e)){if(t>=0&&r>=0){let n=0;return f(e,{transform(e,i){n=t&&i.enqueue(y(e,Math.max(t-n,0),r-n)),n+=e.length):i.terminate()}})}if(t<0&&(r<0||r===1/0)){let n=[];return p(e,e=>{e.length>=-t?n=[e]:n.push(e)},()=>y(l(n),t,r))}if(0===t&&r<0){let n;return p(e,e=>{const i=n?l([n,e]):e;if(i.length>=-r)return n=y(i,r),y(i,t,r);n=i})}return console.warn(`stream.slice(input, ${t}, ${r}) not implemented efficiently.`),w(async()=>y(await b(e),t,r))}return e[s.externalBuffer]&&(e=l(e[s.externalBuffer].concat([e]))),!(0,n.isUint8Array)(e)||a&&a.isBuffer(e)?e.slice(t,r):(r===1/0&&(r=e.length),e.subarray(t,r))}async function b(e,t){return(0,n.isStream)(e)?d(e).readToEnd(t):e}async function v(e,t){if((0,n.isStream)(e)&&e.cancel)return e.cancel(t)}function w(e){return new ReadableStream({pull:async t=>{try{t.enqueue(await e()),t.close()}catch(r){t.error(r)}}})}r.default={isStream:n.isStream,isUint8Array:n.isUint8Array,toStream:o,concatUint8Array:n.concatUint8Array,concatStream:c,concat:l,getReader:d,getWriter:u,pipe:h,transformRaw:f,transform:p,transformPair:_,parse:function(e,t){let r;const n=_(e,(e,i)=>{const s=d(e);s.remainder=()=>(s.releaseLock(),h(e,i),n),r=t(s)});return r},clone:function(e){if((0,n.isStream)(e)){const t=function(e){if((0,n.isStream)(e)){const t=o(e).tee();return t[0][s.externalBuffer]=t[1][s.externalBuffer]=e[s.externalBuffer],t}return[y(e),y(e)]}(e);return g(e,t[0]),t[1]}return y(e)},passiveClone:function(e){return(0,n.isStream)(e)?new ReadableStream({start(t){const r=_(e,async(e,r)=>{const n=d(e),i=u(r);try{for(;;){await i.ready;var s=await n.read();const e=s.value;if(s.done){try{t.close()}catch(a){}return void(await i.close())}try{t.enqueue(e)}catch(a){}await i.write(e)}}catch(a){t.error(a),await i.abort(a)}});g(e,r)}}):y(e)},slice:y,readToEnd:b,cancel:v,fromAsync:w,nodeToWeb:i.nodeToWeb,webToNode:i.webToNode}}).call(this,e("_process"))},{"./node-conversions":73,"./reader":74,"./util":76,_process:66,buffer:"buffer"}],76:[function(e,t,r){(function(t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});const n="object"==typeof t.process&&"object"==typeof t.process.versions,i=n&&e("stream").Readable;function s(e){return Uint8Array.prototype.isPrototypeOf(e)}r.isNode=n,r.isStream=function(e){return ReadableStream.prototype.isPrototypeOf(e)?"web":!(!i||!i.prototype.isPrototypeOf(e))&&"node"},r.isUint8Array=s,r.concatUint8Array=function(e){if(1===e.length)return e[0];let t=0;for(let i=0;it=>e.hashAlgorithm===t;for(let n=0;n=0;--n)for(let e=d-1;e>=0;--e)u[1]=d*n+(e+1),h[0]=l[0]^u[0],h[1]=l[1]^u[1],h[2]=c[2*e],h[3]=c[2*e+1],h=a(r.decrypt(o(h))),l=h.subarray(0,2),c[2*e]=h[2],c[2*e+1]=h[3];if(l[0]===i[0]&&l[1]===i[1])return o(c);throw new Error("Key Data Integrity failed")}}},{"../util":158,"./cipher":86}],81:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=e("asmcrypto.js/dist_es5/aes/cfb"),i=l(e("web-stream-tools")),s=l(e("./cipher")),a=l(e("../config")),o=l(e("../util"));function l(e){return e&&e.__esModule?e:{default:e}}const c=o.default.getWebCrypto(),d=o.default.getNodeCrypto(),u=o.default.getNodeBuffer(),h=d?d.getCiphers():[],f={idea:h.includes("idea-cfb")?"idea-cfb":void 0,"3des":h.includes("des-ede3-cfb")?"des-ede3-cfb":void 0,tripledes:h.includes("des-ede3-cfb")?"des-ede3-cfb":void 0,cast5:h.includes("cast5-cfb")?"cast5-cfb":void 0,blowfish:h.includes("bf-cfb")?"bf-cfb":void 0,aes128:h.includes("aes-128-cfb")?"aes-128-cfb":void 0,aes192:h.includes("aes-192-cfb")?"aes-192-cfb":void 0,aes256:h.includes("aes-256-cfb")?"aes-256-cfb":void 0};r.default={encrypt:function(e,t,r,l){if(o.default.getNodeCrypto()&&f[e])return function(e,t,r,n){t=u.from(t),n=u.from(n);const s=new d.createCipheriv(f[e],t,n);return i.default.transform(r,e=>new Uint8Array(s.update(u.from(e))))}(e,t,r,l);if("aes"===e.substr(0,3))return function(e,t,r,l){if(o.default.getWebCrypto()&&24!==t.length&&!o.default.isStream(r)&&r.length>=3e3*a.default.min_bytes_for_web_crypto)return async function(e,t,r,n){const i="AES-CBC",a=await c.importKey("raw",t,{name:i},!1,["encrypt"]),l=o.default.concatUint8Array([new Uint8Array(s.default[e].blockSize),r]),d=new Uint8Array(await c.encrypt({name:i,iv:n},a,l)).subarray(0,r.length);return function(e,t){for(let r=0;rd.AES_Encrypt_process(e),()=>d.AES_Encrypt_finish())}(e,t,r,l);const h=new s.default[e](t),m=h.blockSize,p=l.slice();let _=new Uint8Array;const g=e=>{e&&(_=o.default.concatUint8Array([_,e]));const t=new Uint8Array(_.length);let r,n=0;for(;e?_.length>=m:_.length;){const e=h.encrypt(p);for(r=0;rnew Uint8Array(s.update(u.from(e))))}(e,t,r,a);if("aes"===e.substr(0,3))return function(e,t,r,s){if(o.default.isStream(r)){const e=new n.AES_CFB(t,s);return i.default.transform(r,t=>e.AES_Decrypt_process(t),()=>e.AES_Decrypt_finish())}return n.AES_CFB.decrypt(r,t,s)}(0,t,r,a);const l=new s.default[e](t),c=l.blockSize;let h=a,m=new Uint8Array;const p=e=>{e&&(m=o.default.concatUint8Array([m,e]));const t=new Uint8Array(m.length);let r,n=0;for(;e?m.length>=c:m.length;){const e=l.encrypt(h);for(h=m,r=0;r>>=8),i=255&(e>>>=8);return t=this.sboxes[0][255&(e>>>=8)]+this.sboxes[1][i],t^=this.sboxes[2][n],t+=this.sboxes[3][r],t},n.prototype._encrypt_block=function(e){let t,r=e[0],n=e[1];for(t=0;t>>24-8*t&255,i[t+n]=r[1]>>>24-8*t&255;return i},n.prototype._decrypt_block=function(e){let t,r=e[0],n=e[1];for(t=this.NN+1;t>1;--t){r^=this.parray[t],n=this._F(r)^n;const e=r;r=n,n=e}r^=this.parray[1],n^=this.parray[0],e[0]=this._clean(n),e[1]=this._clean(r)},n.prototype.init=function(e){let t,r=0;for(this.parray=[],t=0;t=e.length&&(r=0);this.parray[t]=this.PARRAY[t]^n}for(this.sboxes=[],t=0;t<4;++t)for(this.sboxes[t]=[],r=0;r<256;++r)this.sboxes[t][r]=this.SBOXES[t][r];const n=[0,0];for(t=0;t>>24&255,t[s+1]=l>>>16&255,t[s+2]=l>>>8&255,t[s+3]=255&l,t[s+4]=o>>>24&255,t[s+5]=o>>>16&255,t[s+6]=o>>>8&255,t[s+7]=255&o}return t},this.decrypt=function(e){const t=new Array(e.length);for(let s=0;s>>24&255,t[s+1]=l>>>16&255,t[s+2]=l>>>8&255,t[s+3]=255&l,t[s+4]=o>>>24&255,t[s+5]=o>>16&255,t[s+6]=o>>8&255,t[s+7]=255&o}return t};const e=new Array(4);e[0]=new Array(4),e[0][0]=[4,0,13,15,12,14,8],e[0][1]=[5,2,16,18,17,19,10],e[0][2]=[6,3,23,22,21,20,9],e[0][3]=[7,1,26,25,27,24,11],e[1]=new Array(4),e[1][0]=[0,6,21,23,20,22,16],e[1][1]=[1,4,0,2,1,3,18],e[1][2]=[2,5,7,6,5,4,17],e[1][3]=[3,7,10,9,11,8,19],e[2]=new Array(4),e[2][0]=[4,0,13,15,12,14,8],e[2][1]=[5,2,16,18,17,19,10],e[2][2]=[6,3,23,22,21,20,9],e[2][3]=[7,1,26,25,27,24,11],e[3]=new Array(4),e[3][0]=[0,6,21,23,20,22,16],e[3][1]=[1,4,0,2,1,3,18],e[3][2]=[2,5,7,6,5,4,17],e[3][3]=[3,7,10,9,11,8,19];const t=new Array(4);function r(e,t,r){const n=t+e,i=n<>>32-r;return(s[0][i>>>24]^s[1][i>>>16&255])-s[2][i>>>8&255]+s[3][255&i]}function n(e,t,r){const n=t^e,i=n<>>32-r;return s[0][i>>>24]-s[1][i>>>16&255]+s[2][i>>>8&255]^s[3][255&i]}function i(e,t,r){const n=t-e,i=n<>>32-r;return(s[0][i>>>24]+s[1][i>>>16&255]^s[2][i>>>8&255])-s[3][255&i]}t[0]=new Array(4),t[0][0]=[24,25,23,22,18],t[0][1]=[26,27,21,20,22],t[0][2]=[28,29,19,18,25],t[0][3]=[30,31,17,16,28],t[1]=new Array(4),t[1][0]=[3,2,12,13,8],t[1][1]=[1,0,14,15,13],t[1][2]=[7,6,8,9,3],t[1][3]=[5,4,10,11,7],t[2]=new Array(4),t[2][0]=[19,18,28,29,25],t[2][1]=[17,16,30,31,28],t[2][2]=[23,22,24,25,18],t[2][3]=[21,20,26,27,22],t[3]=new Array(4),t[3][0]=[8,9,7,6,3],t[3][1]=[10,11,5,4,7],t[3][2]=[12,13,3,2,8],t[3][3]=[14,15,1,0,13],this.keySchedule=function(r){const n=new Array(8),i=new Array(32);let a;for(let e=0;e<4;e++)a=4*e,n[e]=r[a]<<24|r[a+1]<<16|r[a+2]<<8|r[a+3];const o=[6,7,4,5];let l,c=0;for(let d=0;d<2;d++)for(let r=0;r<4;r++){for(a=0;a<4;a++){const t=e[r][a];l=n[t[1]],l^=s[4][n[t[2]>>>2]>>>24-8*(3&t[2])&255],l^=s[5][n[t[3]>>>2]>>>24-8*(3&t[3])&255],l^=s[6][n[t[4]>>>2]>>>24-8*(3&t[4])&255],l^=s[7][n[t[5]>>>2]>>>24-8*(3&t[5])&255],l^=s[o[a]][n[t[6]>>>2]>>>24-8*(3&t[6])&255],n[t[0]]=l}for(a=0;a<4;a++){const e=t[r][a];l=s[4][n[e[0]>>>2]>>>24-8*(3&e[0])&255],l^=s[5][n[e[1]>>>2]>>>24-8*(3&e[1])&255],l^=s[6][n[e[2]>>>2]>>>24-8*(3&e[2])&255],l^=s[7][n[e[3]>>>2]>>>24-8*(3&e[3])&255],l^=s[4+a][n[e[4]>>>2]>>>24-8*(3&e[4])&255],i[c]=l,c++}}for(let e=0;e<16;e++)this.masking[e]=i[e],this.rotate[e]=31&i[16+e]};const s=new Array(8);s[0]=[821772500,2678128395,1810681135,1059425402,505495343,2617265619,1610868032,3483355465,3218386727,2294005173,3791863952,2563806837,1852023008,365126098,3269944861,584384398,677919599,3229601881,4280515016,2002735330,1136869587,3744433750,2289869850,2731719981,2714362070,879511577,1639411079,575934255,717107937,2857637483,576097850,2731753936,1725645e3,2810460463,5111599,767152862,2543075244,1251459544,1383482551,3052681127,3089939183,3612463449,1878520045,1510570527,2189125840,2431448366,582008916,3163445557,1265446783,1354458274,3529918736,3202711853,3073581712,3912963487,3029263377,1275016285,4249207360,2905708351,3304509486,1442611557,3585198765,2712415662,2731849581,3248163920,2283946226,208555832,2766454743,1331405426,1447828783,3315356441,3108627284,2957404670,2981538698,3339933917,1669711173,286233437,1465092821,1782121619,3862771680,710211251,980974943,1651941557,430374111,2051154026,704238805,4128970897,3144820574,2857402727,948965521,3333752299,2227686284,718756367,2269778983,2731643755,718440111,2857816721,3616097120,1113355533,2478022182,410092745,1811985197,1944238868,2696854588,1415722873,1682284203,1060277122,1998114690,1503841958,82706478,2315155686,1068173648,845149890,2167947013,1768146376,1993038550,3566826697,3390574031,940016341,3355073782,2328040721,904371731,1205506512,4094660742,2816623006,825647681,85914773,2857843460,1249926541,1417871568,3287612,3211054559,3126306446,1975924523,1353700161,2814456437,2438597621,1800716203,722146342,2873936343,1151126914,4160483941,2877670899,458611604,2866078500,3483680063,770352098,2652916994,3367839148,3940505011,3585973912,3809620402,718646636,2504206814,2914927912,3631288169,2857486607,2860018678,575749918,2857478043,718488780,2069512688,3548183469,453416197,1106044049,3032691430,52586708,3378514636,3459808877,3211506028,1785789304,218356169,3571399134,3759170522,1194783844,1523787992,3007827094,1975193539,2555452411,1341901877,3045838698,3776907964,3217423946,2802510864,2889438986,1057244207,1636348243,3761863214,1462225785,2632663439,481089165,718503062,24497053,3332243209,3344655856,3655024856,3960371065,1195698900,2971415156,3710176158,2115785917,4027663609,3525578417,2524296189,2745972565,3564906415,1372086093,1452307862,2780501478,1476592880,3389271281,18495466,2378148571,901398090,891748256,3279637769,3157290713,2560960102,1447622437,4284372637,216884176,2086908623,1879786977,3588903153,2242455666,2938092967,3559082096,2810645491,758861177,1121993112,215018983,642190776,4169236812,1196255959,2081185372,3508738393,941322904,4124243163,2877523539,1848581667,2205260958,3180453958,2589345134,3694731276,550028657,2519456284,3789985535,2973870856,2093648313,443148163,46942275,2734146937,1117713533,1115362972,1523183689,3717140224,1551984063],s[1]=[522195092,4010518363,1776537470,960447360,4267822970,4005896314,1435016340,1929119313,2913464185,1310552629,3579470798,3724818106,2579771631,1594623892,417127293,2715217907,2696228731,1508390405,3994398868,3925858569,3695444102,4019471449,3129199795,3770928635,3520741761,990456497,4187484609,2783367035,21106139,3840405339,631373633,3783325702,532942976,396095098,3548038825,4267192484,2564721535,2011709262,2039648873,620404603,3776170075,2898526339,3612357925,4159332703,1645490516,223693667,1567101217,3362177881,1029951347,3470931136,3570957959,1550265121,119497089,972513919,907948164,3840628539,1613718692,3594177948,465323573,2659255085,654439692,2575596212,2699288441,3127702412,277098644,624404830,4100943870,2717858591,546110314,2403699828,3655377447,1321679412,4236791657,1045293279,4010672264,895050893,2319792268,494945126,1914543101,2777056443,3894764339,2219737618,311263384,4275257268,3458730721,669096869,3584475730,3835122877,3319158237,3949359204,2005142349,2713102337,2228954793,3769984788,569394103,3855636576,1425027204,108000370,2736431443,3671869269,3043122623,1750473702,2211081108,762237499,3972989403,2798899386,3061857628,2943854345,867476300,964413654,1591880597,1594774276,2179821409,552026980,3026064248,3726140315,2283577634,3110545105,2152310760,582474363,1582640421,1383256631,2043843868,3322775884,1217180674,463797851,2763038571,480777679,2718707717,2289164131,3118346187,214354409,200212307,3810608407,3025414197,2674075964,3997296425,1847405948,1342460550,510035443,4080271814,815934613,833030224,1620250387,1945732119,2703661145,3966000196,1388869545,3456054182,2687178561,2092620194,562037615,1356438536,3409922145,3261847397,1688467115,2150901366,631725691,3840332284,549916902,3455104640,394546491,837744717,2114462948,751520235,2221554606,2415360136,3999097078,2063029875,803036379,2702586305,821456707,3019566164,360699898,4018502092,3511869016,3677355358,2402471449,812317050,49299192,2570164949,3259169295,2816732080,3331213574,3101303564,2156015656,3705598920,3546263921,143268808,3200304480,1638124008,3165189453,3341807610,578956953,2193977524,3638120073,2333881532,807278310,658237817,2969561766,1641658566,11683945,3086995007,148645947,1138423386,4158756760,1981396783,2401016740,3699783584,380097457,2680394679,2803068651,3334260286,441530178,4016580796,1375954390,761952171,891809099,2183123478,157052462,3683840763,1592404427,341349109,2438483839,1417898363,644327628,2233032776,2353769706,2201510100,220455161,1815641738,182899273,2995019788,3627381533,3702638151,2890684138,1052606899,588164016,1681439879,4038439418,2405343923,4229449282,167996282,1336969661,1688053129,2739224926,1543734051,1046297529,1138201970,2121126012,115334942,1819067631,1902159161,1941945968,2206692869,1159982321],s[2]=[2381300288,637164959,3952098751,3893414151,1197506559,916448331,2350892612,2932787856,3199334847,4009478890,3905886544,1373570990,2450425862,4037870920,3778841987,2456817877,286293407,124026297,3001279700,1028597854,3115296800,4208886496,2691114635,2188540206,1430237888,1218109995,3572471700,308166588,570424558,2187009021,2455094765,307733056,1310360322,3135275007,1384269543,2388071438,863238079,2359263624,2801553128,3380786597,2831162807,1470087780,1728663345,4072488799,1090516929,532123132,2389430977,1132193179,2578464191,3051079243,1670234342,1434557849,2711078940,1241591150,3314043432,3435360113,3091448339,1812415473,2198440252,267246943,796911696,3619716990,38830015,1526438404,2806502096,374413614,2943401790,1489179520,1603809326,1920779204,168801282,260042626,2358705581,1563175598,2397674057,1356499128,2217211040,514611088,2037363785,2186468373,4022173083,2792511869,2913485016,1173701892,4200428547,3896427269,1334932762,2455136706,602925377,2835607854,1613172210,41346230,2499634548,2457437618,2188827595,41386358,4172255629,1313404830,2405527007,3801973774,2217704835,873260488,2528884354,2478092616,4012915883,2555359016,2006953883,2463913485,575479328,2218240648,2099895446,660001756,2341502190,3038761536,3888151779,3848713377,3286851934,1022894237,1620365795,3449594689,1551255054,15374395,3570825345,4249311020,4151111129,3181912732,310226346,1133119310,530038928,136043402,2476768958,3107506709,2544909567,1036173560,2367337196,1681395281,1758231547,3641649032,306774401,1575354324,3716085866,1990386196,3114533736,2455606671,1262092282,3124342505,2768229131,4210529083,1833535011,423410938,660763973,2187129978,1639812e3,3508421329,3467445492,310289298,272797111,2188552562,2456863912,310240523,677093832,1013118031,901835429,3892695601,1116285435,3036471170,1337354835,243122523,520626091,277223598,4244441197,4194248841,1766575121,594173102,316590669,742362309,3536858622,4176435350,3838792410,2501204839,1229605004,3115755532,1552908988,2312334149,979407927,3959474601,1148277331,176638793,3614686272,2083809052,40992502,1340822838,2731552767,3535757508,3560899520,1354035053,122129617,7215240,2732932949,3118912700,2718203926,2539075635,3609230695,3725561661,1928887091,2882293555,1988674909,2063640240,2491088897,1459647954,4189817080,2302804382,1113892351,2237858528,1927010603,4002880361,1856122846,1594404395,2944033133,3855189863,3474975698,1643104450,4054590833,3431086530,1730235576,2984608721,3084664418,2131803598,4178205752,267404349,1617849798,1616132681,1462223176,736725533,2327058232,551665188,2945899023,1749386277,2575514597,1611482493,674206544,2201269090,3642560800,728599968,1680547377,2620414464,1388111496,453204106,4156223445,1094905244,2754698257,2201108165,3757000246,2704524545,3922940700,3996465027],s[3]=[2645754912,532081118,2814278639,3530793624,1246723035,1689095255,2236679235,4194438865,2116582143,3859789411,157234593,2045505824,4245003587,1687664561,4083425123,605965023,672431967,1336064205,3376611392,214114848,4258466608,3232053071,489488601,605322005,3998028058,264917351,1912574028,756637694,436560991,202637054,135989450,85393697,2152923392,3896401662,2895836408,2145855233,3535335007,115294817,3147733898,1922296357,3464822751,4117858305,1037454084,2725193275,2127856640,1417604070,1148013728,1827919605,642362335,2929772533,909348033,1346338451,3547799649,297154785,1917849091,4161712827,2883604526,3968694238,1469521537,3780077382,3375584256,1763717519,136166297,4290970789,1295325189,2134727907,2798151366,1566297257,3672928234,2677174161,2672173615,965822077,2780786062,289653839,1133871874,3491843819,35685304,1068898316,418943774,672553190,642281022,2346158704,1954014401,3037126780,4079815205,2030668546,3840588673,672283427,1776201016,359975446,3750173538,555499703,2769985273,1324923,69110472,152125443,3176785106,3822147285,1340634837,798073664,1434183902,15393959,216384236,1303690150,3881221631,3711134124,3960975413,106373927,2578434224,1455997841,1801814300,1578393881,1854262133,3188178946,3258078583,2302670060,1539295533,3505142565,3078625975,2372746020,549938159,3278284284,2620926080,181285381,2865321098,3970029511,68876850,488006234,1728155692,2608167508,836007927,2435231793,919367643,3339422534,3655756360,1457871481,40520939,1380155135,797931188,234455205,2255801827,3990488299,397000196,739833055,3077865373,2871719860,4022553888,772369276,390177364,3853951029,557662966,740064294,1640166671,1699928825,3535942136,622006121,3625353122,68743880,1742502,219489963,1664179233,1577743084,1236991741,410585305,2366487942,823226535,1050371084,3426619607,3586839478,212779912,4147118561,1819446015,1911218849,530248558,3486241071,3252585495,2886188651,3410272728,2342195030,20547779,2982490058,3032363469,3631753222,312714466,1870521650,1493008054,3491686656,615382978,4103671749,2534517445,1932181,2196105170,278426614,6369430,3274544417,2913018367,697336853,2143000447,2946413531,701099306,1558357093,2805003052,3500818408,2321334417,3567135975,216290473,3591032198,23009561,1996984579,3735042806,2024298078,3739440863,569400510,2339758983,3016033873,3097871343,3639523026,3844324983,3256173865,795471839,2951117563,4101031090,4091603803,3603732598,971261452,534414648,428311343,3389027175,2844869880,694888862,1227866773,2456207019,3043454569,2614353370,3749578031,3676663836,459166190,4132644070,1794958188,51825668,2252611902,3084671440,2036672799,3436641603,1099053433,2469121526,3059204941,1323291266,2061838604,1018778475,2233344254,2553501054,334295216,3556750194,1065731521,183467730],s[4]=[2127105028,745436345,2601412319,2788391185,3093987327,500390133,1155374404,389092991,150729210,3891597772,3523549952,1935325696,716645080,946045387,2901812282,1774124410,3869435775,4039581901,3293136918,3438657920,948246080,363898952,3867875531,1286266623,1598556673,68334250,630723836,1104211938,1312863373,613332731,2377784574,1101634306,441780740,3129959883,1917973735,2510624549,3238456535,2544211978,3308894634,1299840618,4076074851,1756332096,3977027158,297047435,3790297736,2265573040,3621810518,1311375015,1667687725,47300608,3299642885,2474112369,201668394,1468347890,576830978,3594690761,3742605952,1958042578,1747032512,3558991340,1408974056,3366841779,682131401,1033214337,1545599232,4265137049,206503691,103024618,2855227313,1337551222,2428998917,2963842932,4015366655,3852247746,2796956967,3865723491,3747938335,247794022,3755824572,702416469,2434691994,397379957,851939612,2314769512,218229120,1380406772,62274761,214451378,3170103466,2276210409,3845813286,28563499,446592073,1693330814,3453727194,29968656,3093872512,220656637,2470637031,77972100,1667708854,1358280214,4064765667,2395616961,325977563,4277240721,4220025399,3605526484,3355147721,811859167,3069544926,3962126810,652502677,3075892249,4132761541,3498924215,1217549313,3250244479,3858715919,3053989961,1538642152,2279026266,2875879137,574252750,3324769229,2651358713,1758150215,141295887,2719868960,3515574750,4093007735,4194485238,1082055363,3417560400,395511885,2966884026,179534037,3646028556,3738688086,1092926436,2496269142,257381841,3772900718,1636087230,1477059743,2499234752,3811018894,2675660129,3285975680,90732309,1684827095,1150307763,1723134115,3237045386,1769919919,1240018934,815675215,750138730,2239792499,1234303040,1995484674,138143821,675421338,1145607174,1936608440,3238603024,2345230278,2105974004,323969391,779555213,3004902369,2861610098,1017501463,2098600890,2628620304,2940611490,2682542546,1171473753,3656571411,3687208071,4091869518,393037935,159126506,1662887367,1147106178,391545844,3452332695,1891500680,3016609650,1851642611,546529401,1167818917,3194020571,2848076033,3953471836,575554290,475796850,4134673196,450035699,2351251534,844027695,1080539133,86184846,1554234488,3692025454,1972511363,2018339607,1491841390,1141460869,1061690759,4244549243,2008416118,2351104703,2868147542,1598468138,722020353,1027143159,212344630,1387219594,1725294528,3745187956,2500153616,458938280,4129215917,1828119673,544571780,3503225445,2297937496,1241802790,267843827,2694610800,1397140384,1558801448,3782667683,1806446719,929573330,2234912681,400817706,616011623,4121520928,3603768725,1761550015,1968522284,4053731006,4192232858,4005120285,872482584,3140537016,3894607381,2287405443,1963876937,3663887957,1584857e3,2975024454,1833426440,4025083860],s[5]=[4143615901,749497569,1285769319,3795025788,2514159847,23610292,3974978748,844452780,3214870880,3751928557,2213566365,1676510905,448177848,3730751033,4086298418,2307502392,871450977,3222878141,4110862042,3831651966,2735270553,1310974780,2043402188,1218528103,2736035353,4274605013,2702448458,3936360550,2693061421,162023535,2827510090,687910808,23484817,3784910947,3371371616,779677500,3503626546,3473927188,4157212626,3500679282,4248902014,2466621104,3899384794,1958663117,925738300,1283408968,3669349440,1840910019,137959847,2679828185,1239142320,1315376211,1547541505,1690155329,739140458,3128809933,3933172616,3876308834,905091803,1548541325,4040461708,3095483362,144808038,451078856,676114313,2861728291,2469707347,993665471,373509091,2599041286,4025009006,4170239449,2149739950,3275793571,3749616649,2794760199,1534877388,572371878,2590613551,1753320020,3467782511,1405125690,4270405205,633333386,3026356924,3475123903,632057672,2846462855,1404951397,3882875879,3915906424,195638627,2385783745,3902872553,1233155085,3355999740,2380578713,2702246304,2144565621,3663341248,3894384975,2502479241,4248018925,3094885567,1594115437,572884632,3385116731,767645374,1331858858,1475698373,3793881790,3532746431,1321687957,619889600,1121017241,3440213920,2070816767,2833025776,1933951238,4095615791,890643334,3874130214,859025556,360630002,925594799,1764062180,3920222280,4078305929,979562269,2810700344,4087740022,1949714515,546639971,1165388173,3069891591,1495988560,922170659,1291546247,2107952832,1813327274,3406010024,3306028637,4241950635,153207855,2313154747,1608695416,1150242611,1967526857,721801357,1220138373,3691287617,3356069787,2112743302,3281662835,1111556101,1778980689,250857638,2298507990,673216130,2846488510,3207751581,3562756981,3008625920,3417367384,2198807050,529510932,3547516680,3426503187,2364944742,102533054,2294910856,1617093527,1204784762,3066581635,1019391227,1069574518,1317995090,1691889997,3661132003,510022745,3238594800,1362108837,1817929911,2184153760,805817662,1953603311,3699844737,120799444,2118332377,207536705,2282301548,4120041617,145305846,2508124933,3086745533,3261524335,1877257368,2977164480,3160454186,2503252186,4221677074,759945014,254147243,2767453419,3801518371,629083197,2471014217,907280572,3900796746,940896768,2751021123,2625262786,3161476951,3661752313,3260732218,1425318020,2977912069,1496677566,3988592072,2140652971,3126511541,3069632175,977771578,1392695845,1698528874,1411812681,1369733098,1343739227,3620887944,1142123638,67414216,3102056737,3088749194,1626167401,2546293654,3941374235,697522451,33404913,143560186,2595682037,994885535,1247667115,3859094837,2699155541,3547024625,4114935275,2968073508,3199963069,2732024527,1237921620,951448369,1898488916,1211705605,2790989240,2233243581,3598044975],s[6]=[2246066201,858518887,1714274303,3485882003,713916271,2879113490,3730835617,539548191,36158695,1298409750,419087104,1358007170,749914897,2989680476,1261868530,2995193822,2690628854,3443622377,3780124940,3796824509,2976433025,4259637129,1551479e3,512490819,1296650241,951993153,2436689437,2460458047,144139966,3136204276,310820559,3068840729,643875328,1969602020,1680088954,2185813161,3283332454,672358534,198762408,896343282,276269502,3014846926,84060815,197145886,376173866,3943890818,3813173521,3545068822,1316698879,1598252827,2633424951,1233235075,859989710,2358460855,3503838400,3409603720,1203513385,1193654839,2792018475,2060853022,207403770,1144516871,3068631394,1121114134,177607304,3785736302,326409831,1929119770,2983279095,4183308101,3474579288,3200513878,3228482096,119610148,1170376745,3378393471,3163473169,951863017,3337026068,3135789130,2907618374,1183797387,2015970143,4045674555,2182986399,2952138740,3928772205,384012900,2454997643,10178499,2879818989,2596892536,111523738,2995089006,451689641,3196290696,235406569,1441906262,3890558523,3013735005,4158569349,1644036924,376726067,1006849064,3664579700,2041234796,1021632941,1374734338,2566452058,371631263,4007144233,490221539,206551450,3140638584,1053219195,1853335209,3412429660,3562156231,735133835,1623211703,3104214392,2738312436,4096837757,3366392578,3110964274,3956598718,3196820781,2038037254,3877786376,2339753847,300912036,3766732888,2372630639,1516443558,4200396704,1574567987,4069441456,4122592016,2699739776,146372218,2748961456,2043888151,35287437,2596680554,655490400,1132482787,110692520,1031794116,2188192751,1324057718,1217253157,919197030,686247489,3261139658,1028237775,3135486431,3059715558,2460921700,986174950,2661811465,4062904701,2752986992,3709736643,367056889,1353824391,731860949,1650113154,1778481506,784341916,357075625,3608602432,1074092588,2480052770,3811426202,92751289,877911070,3600361838,1231880047,480201094,3756190983,3094495953,434011822,87971354,363687820,1717726236,1901380172,3926403882,2481662265,400339184,1490350766,2661455099,1389319756,2558787174,784598401,1983468483,30828846,3550527752,2716276238,3841122214,1765724805,1955612312,1277890269,1333098070,1564029816,2704417615,1026694237,3287671188,1260819201,3349086767,1016692350,1582273796,1073413053,1995943182,694588404,1025494639,3323872702,3551898420,4146854327,453260480,1316140391,1435673405,3038941953,3486689407,1622062951,403978347,817677117,950059133,4246079218,3278066075,1486738320,1417279718,481875527,2549965225,3933690356,760697757,1452955855,3897451437,1177426808,1702951038,4085348628,2447005172,1084371187,3516436277,3068336338,1073369276,1027665953,3284188590,1230553676,1368340146,2226246512,267243139,2274220762,4070734279,2497715176,2423353163,2504755875],s[7]=[3793104909,3151888380,2817252029,895778965,2005530807,3871412763,237245952,86829237,296341424,3851759377,3974600970,2475086196,709006108,1994621201,2972577594,937287164,3734691505,168608556,3189338153,2225080640,3139713551,3033610191,3025041904,77524477,185966941,1208824168,2344345178,1721625922,3354191921,1066374631,1927223579,1971335949,2483503697,1551748602,2881383779,2856329572,3003241482,48746954,1398218158,2050065058,313056748,4255789917,393167848,1912293076,940740642,3465845460,3091687853,2522601570,2197016661,1727764327,364383054,492521376,1291706479,3264136376,1474851438,1685747964,2575719748,1619776915,1814040067,970743798,1561002147,2925768690,2123093554,1880132620,3151188041,697884420,2550985770,2607674513,2659114323,110200136,1489731079,997519150,1378877361,3527870668,478029773,2766872923,1022481122,431258168,1112503832,897933369,2635587303,669726182,3383752315,918222264,163866573,3246985393,3776823163,114105080,1903216136,761148244,3571337562,1690750982,3166750252,1037045171,1888456500,2010454850,642736655,616092351,365016990,1185228132,4174898510,1043824992,2023083429,2241598885,3863320456,3279669087,3674716684,108438443,2132974366,830746235,606445527,4173263986,2204105912,1844756978,2532684181,4245352700,2969441100,3796921661,1335562986,4061524517,2720232303,2679424040,634407289,885462008,3294724487,3933892248,2094100220,339117932,4048830727,3202280980,1458155303,2689246273,1022871705,2464987878,3714515309,353796843,2822958815,4256850100,4052777845,551748367,618185374,3778635579,4020649912,1904685140,3069366075,2670879810,3407193292,2954511620,4058283405,2219449317,3135758300,1120655984,3447565834,1474845562,3577699062,550456716,3466908712,2043752612,881257467,869518812,2005220179,938474677,3305539448,3850417126,1315485940,3318264702,226533026,965733244,321539988,1136104718,804158748,573969341,3708209826,937399083,3290727049,2901666755,1461057207,4013193437,4066861423,3242773476,2421326174,1581322155,3028952165,786071460,3900391652,3918438532,1485433313,4023619836,3708277595,3678951060,953673138,1467089153,1930354364,1533292819,2492563023,1346121658,1685000834,1965281866,3765933717,4190206607,2052792609,3515332758,690371149,3125873887,2180283551,2903598061,3933952357,436236910,289419410,14314871,1242357089,2904507907,1616633776,2666382180,585885352,3471299210,2699507360,1432659641,277164553,3354103607,770115018,2303809295,3741942315,3177781868,2853364978,2269453327,3774259834,987383833,1290892879,225909803,1741533526,890078084,1496906255,1111072499,916028167,243534141,1252605537,2204162171,531204876,290011180,3916834213,102027703,237315147,209093447,1486785922,220223953,2758195998,4175039106,82940208,3127791296,2569425252,518464269,1353887104,3941492737,2377294467,3935040926]}function i(e){this.cast5=new n,this.cast5.setKey(e),this.encrypt=function(e){return this.cast5.encrypt(e)}}Object.defineProperty(r,"__esModule",{value:!0}),i.blockSize=i.prototype.blockSize=8,i.keySize=i.prototype.keySize=16,r.default=i},{}],85:[function(e,t,r){"use strict";function n(e,t,r,n,i,s){const a=[16843776,0,65536,16843780,16842756,66564,4,65536,1024,16843776,16843780,1024,16778244,16842756,16777216,4,1028,16778240,16778240,66560,66560,16842752,16842752,16778244,65540,16777220,16777220,65540,0,1028,66564,16777216,65536,16843780,4,16842752,16843776,16777216,16777216,1024,16842756,65536,66560,16777220,1024,4,16778244,66564,16843780,65540,16842752,16778244,16777220,1028,66564,16843776,1028,16778240,16778240,0,65540,66560,0,16842756],o=[-2146402272,-2147450880,32768,1081376,1048576,32,-2146435040,-2147450848,-2147483616,-2146402272,-2146402304,-2147483648,-2147450880,1048576,32,-2146435040,1081344,1048608,-2147450848,0,-2147483648,32768,1081376,-2146435072,1048608,-2147483616,0,1081344,32800,-2146402304,-2146435072,32800,0,1081376,-2146435040,1048576,-2147450848,-2146435072,-2146402304,32768,-2146435072,-2147450880,32,-2146402272,1081376,32,32768,-2147483648,32800,-2146402304,1048576,-2147483616,1048608,-2147450848,-2147483616,1048608,1081344,0,-2147450880,32800,-2147483648,-2146435040,-2146402272,1081344],l=[520,134349312,0,134348808,134218240,0,131592,134218240,131080,134217736,134217736,131072,134349320,131080,134348800,520,134217728,8,134349312,512,131584,134348800,134348808,131592,134218248,131584,131072,134218248,8,134349320,512,134217728,134349312,134217728,131080,520,131072,134349312,134218240,0,512,131080,134349320,134218240,134217736,512,0,134348808,134218248,131072,134217728,134349320,8,131592,131584,134217736,134348800,134218248,520,134348800,131592,8,134348808,131584],c=[8396801,8321,8321,128,8396928,8388737,8388609,8193,0,8396800,8396800,8396929,129,0,8388736,8388609,1,8192,8388608,8396801,128,8388608,8193,8320,8388737,1,8320,8388736,8192,8396928,8396929,129,8388736,8388609,8396800,8396929,129,0,0,8396800,8320,8388736,8388737,1,8396801,8321,8321,128,8396929,129,1,8192,8388609,8193,8396928,8388737,8193,8320,8388608,8396801,128,8388608,8192,8396928],d=[256,34078976,34078720,1107296512,524288,256,1073741824,34078720,1074266368,524288,33554688,1074266368,1107296512,1107820544,524544,1073741824,33554432,1074266112,1074266112,0,1073742080,1107820800,1107820800,33554688,1107820544,1073742080,0,1107296256,34078976,33554432,1107296256,524544,524288,1107296512,256,33554432,1073741824,34078720,1107296512,1074266368,33554688,1073741824,1107820544,34078976,1074266368,256,33554432,1107820544,1107820800,524544,1107296256,1107820800,34078720,0,1074266112,1107296256,524544,33554688,1073742080,524288,0,1074266112,34078976,1073742080],u=[536870928,541065216,16384,541081616,541065216,16,541081616,4194304,536887296,4210704,4194304,536870928,4194320,536887296,536870912,16400,0,4194320,536887312,16384,4210688,536887312,16,541065232,541065232,0,4210704,541081600,16400,4210688,541081600,536870912,536887296,16,541065232,4210688,541081616,4194304,16400,536870928,4194304,536887296,536870912,16400,536870928,541081616,4210688,541065216,4210704,541081600,0,541065232,16,16384,541065216,4210704,16384,4194320,536887312,0,541081600,536870912,4194320,536887312],h=[2097152,69206018,67110914,0,2048,67110914,2099202,69208064,69208066,2097152,0,67108866,2,67108864,69206018,2050,67110912,2099202,2097154,67110912,67108866,69206016,69208064,2097154,69206016,2048,2050,69208066,2099200,2,67108864,2099200,67108864,2099200,2097152,67110914,67110914,69206018,69206018,2,2097154,67108864,67110912,2097152,69208064,2050,2099202,69208064,2050,67108866,69208066,69206016,2099200,0,2,69208066,0,2099202,69206016,2048,67108866,67110912,2048,2097154],f=[268439616,4096,262144,268701760,268435456,268439616,64,268435456,262208,268697600,268701760,266240,268701696,266304,4096,64,268697600,268435520,268439552,4160,266240,262208,268697664,268701696,4160,0,0,268697664,268435520,268439552,266304,262144,266304,262144,268701696,4096,64,268697664,4096,266304,268439552,64,268435520,268697600,268697664,268435456,262144,268439616,0,268701760,262208,268435520,268697600,268439552,268439616,0,268701760,266240,266240,4160,4160,262208,268435456,268701696];let m,p,_,g,y,b,v,w,k,M,S,x,C,D,L=0,A=t.length;const E=32===e.length?3:9;w=3===E?r?[0,32,2]:[30,-2,-2]:r?[0,32,2,62,30,-2,64,96,2]:[94,62,-2,32,64,2,30,-2,-2],r&&(A=(t=function(e,t){const r=8-e.length%8;let n;if(2===t&&r<8)n=" ".charCodeAt(0);else if(1===t)n=r;else{if(t||!(r<8)){if(8===r)return e;throw new Error("des: invalid padding")}n=0}const i=new Uint8Array(e.length+r);for(let s=0;s>>4^v),v^=_,b^=_<<4,_=65535&(b>>>16^v),v^=_,b^=_<<16,_=858993459&(v>>>2^b),b^=_,v^=_<<2,_=16711935&(v>>>8^b),b^=_,v^=_<<8,_=1431655765&(b>>>1^v),v^=_,b^=_<<1,b=b<<1|b>>>31,v=v<<1|v>>>31,p=0;p>>4|v<<28)^e[m+1],_=b,b=v,v=_^(o[g>>>24&63]|c[g>>>16&63]|u[g>>>8&63]|f[63&g]|a[y>>>24&63]|l[y>>>16&63]|d[y>>>8&63]|h[63&y]);_=b,b=v,v=_}b=b>>>1|b<<31,v=v>>>1|v<<31,_=1431655765&(b>>>1^v),v^=_,b^=_<<1,_=16711935&(v>>>8^b),b^=_,v^=_<<8,_=858993459&(v>>>2^b),b^=_,v^=_<<2,_=65535&(b>>>16^v),v^=_,b^=_<<16,_=252645135&(b>>>4^v),v^=_,b^=_<<4,1===n&&(r?(k=b,S=v):(b^=M,v^=x)),T[P++]=b>>>24,T[P++]=b>>>16&255,T[P++]=b>>>8&255,T[P++]=255&b,T[P++]=v>>>24,T[P++]=v>>>16&255,T[P++]=v>>>8&255,T[P++]=255&v}return r||(T=function(e,t){let r,n=null;if(2===t)r=" ".charCodeAt(0);else if(1===t)n=e[e.length-1];else{if(t)throw new Error("des: invalid padding");r=0}if(!n){for(n=1;e[e.length-n]===r;)n++;n--}return e.subarray(0,e.length-n)}(T,s)),T}function i(e){const t=[0,4,536870912,536870916,65536,65540,536936448,536936452,512,516,536871424,536871428,66048,66052,536936960,536936964],r=[0,1,1048576,1048577,67108864,67108865,68157440,68157441,256,257,1048832,1048833,67109120,67109121,68157696,68157697],n=[0,8,2048,2056,16777216,16777224,16779264,16779272,0,8,2048,2056,16777216,16777224,16779264,16779272],i=[0,2097152,134217728,136314880,8192,2105344,134225920,136323072,131072,2228224,134348800,136445952,139264,2236416,134356992,136454144],s=[0,262144,16,262160,0,262144,16,262160,4096,266240,4112,266256,4096,266240,4112,266256],a=[0,1024,32,1056,0,1024,32,1056,33554432,33555456,33554464,33555488,33554432,33555456,33554464,33555488],o=[0,268435456,524288,268959744,2,268435458,524290,268959746,0,268435456,524288,268959744,2,268435458,524290,268959746],l=[0,65536,2048,67584,536870912,536936448,536872960,536938496,131072,196608,133120,198656,537001984,537067520,537004032,537069568],c=[0,262144,0,262144,2,262146,2,262146,33554432,33816576,33554432,33816576,33554434,33816578,33554434,33816578],d=[0,268435456,8,268435464,0,268435456,8,268435464,1024,268436480,1032,268436488,1024,268436480,1032,268436488],u=[0,32,0,32,1048576,1048608,1048576,1048608,8192,8224,8192,8224,1056768,1056800,1056768,1056800],h=[0,16777216,512,16777728,2097152,18874368,2097664,18874880,67108864,83886080,67109376,83886592,69206016,85983232,69206528,85983744],f=[0,4096,134217728,134221824,524288,528384,134742016,134746112,16,4112,134217744,134221840,524304,528400,134742032,134746128],m=[0,4,256,260,0,4,256,260,1,5,257,261,1,5,257,261],p=e.length>8?3:1,_=new Array(32*p),g=[0,0,1,1,1,1,1,1,0,1,1,1,1,1,1,0];let y,b,v,w=0,k=0;for(let M=0;M>>4^M),M^=v,p^=v<<4,v=65535&(M>>>-16^p),p^=v,M^=v<<-16,v=858993459&(p>>>2^M),M^=v,p^=v<<2,v=65535&(M>>>-16^p),p^=v,M^=v<<-16,v=1431655765&(p>>>1^M),M^=v,p^=v<<1,v=16711935&(M>>>8^p),p^=v,M^=v<<8,v=1431655765&(p>>>1^M),M^=v,p^=v<<1,v=p<<8|M>>>20&240,p=M<<24|M<<8&16711680|M>>>8&65280|M>>>24&240,M=v;for(let e=0;e>>26,M=M<<2|M>>>26):(p=p<<1|p>>>27,M=M<<1|M>>>27),p&=-15,M&=-15,y=t[p>>>28]|r[p>>>24&15]|n[p>>>20&15]|i[p>>>16&15]|s[p>>>12&15]|a[p>>>8&15]|o[p>>>4&15],b=l[M>>>28]|c[M>>>24&15]|d[M>>>20&15]|u[M>>>16&15]|h[M>>>12&15]|f[M>>>8&15]|m[M>>>4&15],v=65535&(b>>>16^y),_[k++]=y^v,_[k++]=b^v<<16}return _}function s(e){this.key=[];for(let t=0;t<3;t++)this.key.push(new Uint8Array(e.subarray(8*t,8*t+8)));this.encrypt=function(e){return n(i(this.key[2]),n(i(this.key[1]),n(i(this.key[0]),e,!0,0,null,null),!1,0,null,null),!0,0,null,null)}}Object.defineProperty(r,"__esModule",{value:!0}),s.keySize=s.prototype.keySize=24,s.blockSize=s.prototype.blockSize=8,r.default={DES:function(e){this.key=e,this.encrypt=function(e,t){return n(i(this.key),e,!0,0,null,t)},this.decrypt=function(e,t){return n(i(this.key),e,!1,0,null,t)}},TripleDES:s}},{}],86:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=l(e("./aes")),i=l(e("./des.js")),s=l(e("./cast5")),a=l(e("./twofish")),o=l(e("./blowfish"));function l(e){return e&&e.__esModule?e:{default:e}}r.default={aes128:(0,n.default)(128),aes192:(0,n.default)(192),aes256:(0,n.default)(256),des:i.default.DES,tripledes:i.default.TripleDES,"3des":i.default.TripleDES,cast5:s.default,twofish:a.default,blowfish:o.default,idea:function(){throw new Error("IDEA symmetric-key algorithm not implemented")}}},{"./aes":82,"./blowfish":83,"./cast5":84,"./des.js":85,"./twofish":87}],87:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});const n=4294967295;function i(e,t){return(e<>>32-t)&n}function s(e,t){return e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24}function a(e,t,r){e.splice(t,4,255&r,r>>>8&255,r>>>16&255,r>>>24&255)}function o(e,t){return e>>>8*t&255}function l(e){this.tf=function(){let e=null,t=null,r=-1,l=[],c=[[],[],[],[]];function d(e){return c[0][o(e,0)]^c[1][o(e,1)]^c[2][o(e,2)]^c[3][o(e,3)]}function u(e){return c[0][o(e,3)]^c[1][o(e,0)]^c[2][o(e,1)]^c[3][o(e,2)]}function h(e,t){let r=d(t[0]),s=u(t[1]);t[2]=i(t[2]^r+s+l[4*e+8]&n,31),t[3]=i(t[3],1)^r+2*s+l[4*e+9]&n,r=d(t[2]),s=u(t[3]),t[0]=i(t[0]^r+s+l[4*e+10]&n,31),t[1]=i(t[1],1)^r+2*s+l[4*e+11]&n}function f(e,t){let r=d(t[0]),s=u(t[1]);t[2]=i(t[2],1)^r+s+l[4*e+10]&n,t[3]=i(t[3]^r+2*s+l[4*e+11]&n,31),r=d(t[2]),s=u(t[3]),t[0]=i(t[0],1)^r+s+l[4*e+8]&n,t[1]=i(t[1]^r+2*s+l[4*e+9]&n,31)}return{name:"twofish",blocksize:16,open:function(t){let r,a,d,u,h;e=t;const f=[],m=[],p=[];let _;const g=[];let y,b,v;const w=[[8,1,7,13,6,15,3,2,0,11,5,9,14,12,10,4],[2,8,11,13,15,7,6,14,3,1,9,4,0,10,12,5]],k=[[14,12,11,8,1,2,3,5,15,4,10,6,7,0,9,13],[1,14,2,11,4,12,3,7,6,13,10,5,15,9,0,8]],M=[[11,10,5,14,6,13,9,0,12,8,15,3,2,4,7,1],[4,12,7,5,1,6,9,10,0,14,13,8,2,11,3,15]],S=[[13,7,15,4,1,2,6,14,9,11,3,0,8,5,12,10],[11,9,5,1,12,3,13,14,6,4,7,15,2,0,8,10]],x=[0,8,1,9,2,10,3,11,4,12,5,13,6,14,7,15],C=[0,9,2,11,4,13,6,15,8,1,10,3,12,5,14,7],D=[[],[]],L=[[],[],[],[]];function A(e){return e^e>>2^[0,90,180,238][3&e]}function E(e){return e^e>>1^e>>2^[0,238,180,90][3&e]}function T(e,t){let r,i,s;for(r=0;r<8;r++)i=t>>>24,t=t<<8&n|e>>>24,e=e<<8&n,s=i<<1,128&i&&(s^=333),t^=i^s<<16,s^=i>>>1,1&i&&(s^=166),t^=s<<24|s<<8;return t}function P(e,t){const r=t>>4,n=15&t,i=w[e][r^n],s=k[e][x[n]^C[r]];return S[e][x[s]^C[i]]<<4|M[e][i^s]}function Y(e,t){let r=o(e,0),n=o(e,1),i=o(e,2),s=o(e,3);switch(_){case 4:r=D[1][r]^o(t[3],0),n=D[0][n]^o(t[3],1),i=D[0][i]^o(t[3],2),s=D[1][s]^o(t[3],3);case 3:r=D[1][r]^o(t[2],0),n=D[1][n]^o(t[2],1),i=D[0][i]^o(t[2],2),s=D[0][s]^o(t[2],3);case 2:r=D[0][D[0][r]^o(t[1],0)]^o(t[0],0),n=D[0][D[1][n]^o(t[1],1)]^o(t[0],1),i=D[1][D[0][i]^o(t[1],2)]^o(t[0],2),s=D[1][D[1][s]^o(t[1],3)]^o(t[0],3)}return L[0][r]^L[1][n]^L[2][i]^L[3][s]}for(e=e.slice(0,32),r=e.length;16!==r&&24!==r&&32!==r;)e[r++]=0;for(r=0;r>2]=s(e,r);for(r=0;r<256;r++)D[0][r]=P(0,r),D[1][r]=P(1,r);for(r=0;r<256;r++)y=D[1][r],b=A(y),v=E(y),L[0][r]=y+(b<<8)+(v<<16)+(v<<24),L[2][r]=b+(v<<8)+(y<<16)+(v<<24),y=D[0][r],b=A(y),v=E(y),L[1][r]=v+(v<<8)+(b<<16)+(y<<24),L[3][r]=b+(y<<8)+(v<<16)+(b<<24);for(_=p.length/2,r=0;r<_;r++)a=p[r+r],f[r]=a,d=p[r+r+1],m[r]=d,g[_-r-1]=T(a,d);for(r=0;r<40;r+=2)a=16843009*r,d=a+16843009,a=Y(a,f),d=i(Y(d,m),8),l[r]=a+d&n,l[r+1]=i(a+2*d,9);for(r=0;r<256;r++)switch(a=d=u=h=r,_){case 4:a=D[1][a]^o(g[3],0),d=D[0][d]^o(g[3],1),u=D[0][u]^o(g[3],2),h=D[1][h]^o(g[3],3);case 3:a=D[1][a]^o(g[2],0),d=D[1][d]^o(g[2],1),u=D[0][u]^o(g[2],2),h=D[0][h]^o(g[2],3);case 2:c[0][r]=L[0][D[0][D[0][a]^o(g[1],0)]^o(g[0],0)],c[1][r]=L[1][D[0][D[1][d]^o(g[1],1)]^o(g[0],1)],c[2][r]=L[2][D[1][D[0][u]^o(g[1],2)]^o(g[0],2)],c[3][r]=L[3][D[1][D[1][h]^o(g[1],3)]^o(g[0],3)]}},close:function(){l=[],c=[[],[],[],[]]},encrypt:function(e,n){t=e,r=n;const i=[s(t,r)^l[0],s(t,r+4)^l[1],s(t,r+8)^l[2],s(t,r+12)^l[3]];for(let t=0;t<8;t++)h(t,i);return a(t,r,i[2]^l[4]),a(t,r+4,i[3]^l[5]),a(t,r+8,i[0]^l[6]),a(t,r+12,i[1]^l[7]),r+=16,t},decrypt:function(e,n){t=e,r=n;const i=[s(t,r)^l[4],s(t,r+4)^l[5],s(t,r+8)^l[6],s(t,r+12)^l[7]];for(let t=7;t>=0;t--)f(t,i);a(t,r,i[2]^l[0]),a(t,r+4,i[3]^l[1]),a(t,r+8,i[0]^l[2]),a(t,r+12,i[1]^l[3]),r+=16},finalize:function(){return t}}}(),this.tf.open(Array.from(e),0),this.encrypt=function(e){return this.tf.encrypt(Array.from(e),0)}}l.keySize=l.prototype.keySize=32,l.blockSize=l.prototype.blockSize=16,r.default=l},{}],88:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n,i=e("asmcrypto.js/dist_es5/aes/cbc"),s=(n=e("../util"))&&n.__esModule?n:{default:n};const a=s.default.getWebCrypto(),o=s.default.getNodeCrypto(),l=s.default.getNodeBuffer(),c=16;function d(e,t){const r=e.length-c;for(let n=0;n{r.update(_.from(e))},()=>new Uint8Array(r.digest()))}}function y(e,t){return async function(r){if(!h.default.isStream(r)&&m&&t&&r.length>=u.default.min_bytes_for_web_crypto)return new Uint8Array(await m.digest(t,r));const n=e();return c.default.transform(r,e=>{n.update(e)},()=>new Uint8Array(n.digest()))}}function b(e,t){return async function(r){if(h.default.isStream(r)){const t=new e;return c.default.transform(r,e=>{t.process(e)},()=>t.finish().result)}return m&&t&&r.length>=u.default.min_bytes_for_web_crypto?new Uint8Array(await m.digest(t,r)):e.bytes(r)}}let v;v=p?{md5:g("md5"),sha1:g("sha1"),sha224:g("sha224"),sha256:g("sha256"),sha384:g("sha384"),sha512:g("sha512"),ripemd:g("ripemd160")}:{md5:d.default,sha1:b(n.Sha1,-1===navigator.userAgent.indexOf("Edge")&&"SHA-1"),sha224:y(s.default),sha256:b(i.Sha256,"SHA-256"),sha384:y(a.default,"SHA-384"),sha512:y(o.default,"SHA-512"),ripemd:y(l.ripemd160)},r.default={md5:v.md5,sha1:v.sha1,sha224:v.sha224,sha256:v.sha256,sha384:v.sha384,sha512:v.sha512,ripemd:v.ripemd,digest:function(e,t){switch(e){case 1:return this.md5(t);case 2:return this.sha1(t);case 3:return this.ripemd(t);case 8:return this.sha256(t);case 9:return this.sha384(t);case 10:return this.sha512(t);case 11:return this.sha224(t);default:throw new Error("Invalid hash function.")}},getHashByteLength:function(e){switch(e){case 1:return 16;case 2:case 3:return 20;case 8:return 32;case 9:return 48;case 10:return 64;case 11:return 28;default:throw new Error("Invalid hash algorithm.")}}}},{"../../config":79,"../../util":158,"./md5":93,"asmcrypto.js/dist_es5/hash/sha1/sha1":11,"asmcrypto.js/dist_es5/hash/sha256/sha256":13,"hash.js/lib/hash/ripemd":37,"hash.js/lib/hash/sha/224":40,"hash.js/lib/hash/sha/384":42,"hash.js/lib/hash/sha/512":43,"web-stream-tools":75}],93:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n,i=(n=e("../../util"))&&n.__esModule?n:{default:n};function s(e,t){let r=e[0],n=e[1],i=e[2],s=e[3];r=o(r,n,i,s,t[0],7,-680876936),s=o(s,r,n,i,t[1],12,-389564586),i=o(i,s,r,n,t[2],17,606105819),n=o(n,i,s,r,t[3],22,-1044525330),r=o(r,n,i,s,t[4],7,-176418897),s=o(s,r,n,i,t[5],12,1200080426),i=o(i,s,r,n,t[6],17,-1473231341),n=o(n,i,s,r,t[7],22,-45705983),r=o(r,n,i,s,t[8],7,1770035416),s=o(s,r,n,i,t[9],12,-1958414417),i=o(i,s,r,n,t[10],17,-42063),n=o(n,i,s,r,t[11],22,-1990404162),r=o(r,n,i,s,t[12],7,1804603682),s=o(s,r,n,i,t[13],12,-40341101),i=o(i,s,r,n,t[14],17,-1502002290),n=o(n,i,s,r,t[15],22,1236535329),r=l(r,n,i,s,t[1],5,-165796510),s=l(s,r,n,i,t[6],9,-1069501632),i=l(i,s,r,n,t[11],14,643717713),n=l(n,i,s,r,t[0],20,-373897302),r=l(r,n,i,s,t[5],5,-701558691),s=l(s,r,n,i,t[10],9,38016083),i=l(i,s,r,n,t[15],14,-660478335),n=l(n,i,s,r,t[4],20,-405537848),r=l(r,n,i,s,t[9],5,568446438),s=l(s,r,n,i,t[14],9,-1019803690),i=l(i,s,r,n,t[3],14,-187363961),n=l(n,i,s,r,t[8],20,1163531501),r=l(r,n,i,s,t[13],5,-1444681467),s=l(s,r,n,i,t[2],9,-51403784),i=l(i,s,r,n,t[7],14,1735328473),n=l(n,i,s,r,t[12],20,-1926607734),r=c(r,n,i,s,t[5],4,-378558),s=c(s,r,n,i,t[8],11,-2022574463),i=c(i,s,r,n,t[11],16,1839030562),n=c(n,i,s,r,t[14],23,-35309556),r=c(r,n,i,s,t[1],4,-1530992060),s=c(s,r,n,i,t[4],11,1272893353),i=c(i,s,r,n,t[7],16,-155497632),n=c(n,i,s,r,t[10],23,-1094730640),r=c(r,n,i,s,t[13],4,681279174),s=c(s,r,n,i,t[0],11,-358537222),i=c(i,s,r,n,t[3],16,-722521979),n=c(n,i,s,r,t[6],23,76029189),r=c(r,n,i,s,t[9],4,-640364487),s=c(s,r,n,i,t[12],11,-421815835),i=c(i,s,r,n,t[15],16,530742520),n=c(n,i,s,r,t[2],23,-995338651),r=d(r,n,i,s,t[0],6,-198630844),s=d(s,r,n,i,t[7],10,1126891415),i=d(i,s,r,n,t[14],15,-1416354905),n=d(n,i,s,r,t[5],21,-57434055),r=d(r,n,i,s,t[12],6,1700485571),s=d(s,r,n,i,t[3],10,-1894986606),i=d(i,s,r,n,t[10],15,-1051523),n=d(n,i,s,r,t[1],21,-2054922799),r=d(r,n,i,s,t[8],6,1873313359),s=d(s,r,n,i,t[15],10,-30611744),i=d(i,s,r,n,t[6],15,-1560198380),n=d(n,i,s,r,t[13],21,1309151649),r=d(r,n,i,s,t[4],6,-145523070),s=d(s,r,n,i,t[11],10,-1120210379),i=d(i,s,r,n,t[2],15,718787259),n=d(n,i,s,r,t[9],21,-343485551),e[0]=m(r,e[0]),e[1]=m(n,e[1]),e[2]=m(i,e[2]),e[3]=m(s,e[3])}function a(e,t,r,n,i,s){return t=m(m(t,e),m(n,s)),m(t<>>32-i,r)}function o(e,t,r,n,i,s,o){return a(t&r|~t&n,e,t,i,s,o)}function l(e,t,r,n,i,s,o){return a(t&n|r&~n,e,t,i,s,o)}function c(e,t,r,n,i,s,o){return a(t^r^n,e,t,i,s,o)}function d(e,t,r,n,i,s,o){return a(r^(t|~n),e,t,i,s,o)}function u(e){const t=[];let r;for(r=0;r<64;r+=4)t[r>>2]=e.charCodeAt(r)+(e.charCodeAt(r+1)<<8)+(e.charCodeAt(r+2)<<16)+(e.charCodeAt(r+3)<<24);return t}const h="0123456789abcdef".split("");function f(e){let t="",r=0;for(;r<4;r++)t+=h[e>>8*r+4&15]+h[e>>8*r&15];return t}function m(e,t){return e+t&4294967295}r.default=async function(e){const t=function(e){const t=e.length,r=[1732584193,-271733879,-1732584194,271733878];let n;for(n=64;n<=e.length;n+=64)s(r,u(e.substring(n-64,n)));e=e.substring(n-64);const i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(n=0;n>2]|=e.charCodeAt(n)<<(n%4<<3);if(i[n>>2]|=128<<(n%4<<3),n>55)for(s(r,i),n=0;n<16;n++)i[n]=0;return i[14]=8*t,s(r,i),r}(i.default.Uint8Array_to_str(e));return i.default.hex_to_Uint8Array(function(e){for(let t=0;t>3),17+(_>>3)),8-(7&_)).subarray(1),v=new Uint8Array(a),w=new Uint8Array(t.length+16);let k,M=0;for(k=0;kt-11)throw new Error("Message too long");const i=await async function(e){let t="";for(;t.length=8&&0===s)return e.substr(n);throw new Error("Decryption error")},l.encode=async function(e,t,r){let n;const a=s.default.Uint8Array_to_str(t);if(a.length!==i.default.getHashByteLength(e))throw new Error("Invalid hash length");let o="";for(n=0;n0){const r=e.charCodeAt(t-1);if(r>=1&&e.substr(t-r)===String.fromCharCode(r).repeat(r))return e.substr(0,t-r)}throw new Error("Invalid padding")}}},{}],98:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=o(e("bn.js")),i=o(e("../random")),s=o(e("../../util")),a=o(e("./prime"));function o(e){return e&&e.__esModule?e:{default:e}}const l=new n.default(1),c=new n.default(0);r.default={sign:async function(e,t,r,s,a,o){let d,u,h,f;const m=new n.default.red(s),p=new n.default.red(a),_=r.toRed(m),g=o.toRed(p),y=new n.default(t.subarray(0,a.byteLength())).toRed(p);for(;d=await i.default.getRandomBN(l,a),u=_.redPow(d).fromRed().toRed(p),0===c.cmp(u)||(f=y.redAdd(g.redMul(u)),h=d.toRed(p).redInvm().redMul(f),0===c.cmp(h)););return{r:u.toArrayLike(Uint8Array,"be",a.byteLength()),s:h.toArrayLike(Uint8Array,"be",a.byteLength())}},verify:async function(e,t,r,i,a,o,l,d){if(c.ucmp(t)>=0||t.ucmp(l)>=0||c.ucmp(r)>=0||r.ucmp(l)>=0)return s.default.print_debug("invalid DSA Signature"),null;const u=new n.default.red(o),h=new n.default.red(l),f=new n.default(i.subarray(0,l.byteLength())),m=r.toRed(h).redInvm();if(0===c.cmp(m))return s.default.print_debug("invalid DSA Signature"),null;const p=f.toRed(h).redMul(m),_=t.toRed(h).redMul(m),g=a.toRed(u).redPow(p.fromRed()),y=d.toRed(u).redPow(_.fromRed());return 0===g.redMul(y).fromRed().mod(l).cmp(t)},validateParams:async function(e,t,r,s,o){e=new n.default(e),t=new n.default(t),r=new n.default(r),s=new n.default(s);const l=new n.default(1);if(r.lte(l)||r.gte(e))return!1;if(!e.sub(l).mod(t).isZero())return!1;const c=new n.default.red(e),d=r.toRed(c);if(!d.redPow(t).eq(l))return!1;const u=t.bitLength();if(u<150||!(await a.default.isProbablePrime(t,null,32)))return!1;o=new n.default(o);const h=await i.default.getRandomBN(new n.default(2).shln(u-1),new n.default(2).shln(u)),f=t.mul(h).add(o);return!!s.eq(d.redPow(f))}}},{"../../util":158,"../random":109,"./prime":107,"bn.js":16}],99:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=s(e("bn.js")),i=s(e("../random"));function s(e){return e&&e.__esModule?e:{default:e}}const a=new n.default(0);r.default={encrypt:async function(e,t,r,s){const o=new n.default.red(t),l=e.toRed(o),c=r.toRed(o),d=s.toRed(o),u=await i.default.getRandomBN(a,t);return{c1:c.redPow(u).fromRed(),c2:d.redPow(u).redMul(l).fromRed()}},decrypt:async function(e,t,r,i){const s=new n.default.red(r),a=e.toRed(s),o=t.toRed(s);return a.redPow(i).redInvm().redMul(o).fromRed()},validateParams:async function(e,t,r,s){e=new n.default(e),t=new n.default(t),r=new n.default(r);const a=new n.default(1);if(t.lte(a)||t.gte(e))return!1;const o=e.subn(1).bitLength();if(o<1023)return!1;const l=new n.default.red(e),c=t.toRed(l);if(!c.redPow(e.subn(1)).eq(a))return!1;let d=t;const u=new n.default(1),h=new n.default(2).shln(17);for(;u.lt(h);){if(d=d.mul(t).mod(e),d.eqn(1))return!1;u.iaddn(1)}s=new n.default(s);const f=await i.default.getRandomBN(new n.default(2).shln(o-1),new n.default(2).shln(o)),m=e.subn(1).mul(f).add(s);return!!r.eq(c.redPow(m))}}},{"../random":109,"bn.js":16}],100:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.validateStandardParams=r.privateToJwk=r.rawPublicToJwk=r.jwkToRawPublic=r.getPreferredHashAlgo=r.generate=r.nodeCurves=r.webCurves=r.curves=void 0;var n=d(e("bn.js")),i=d(e("tweetnacl/nacl-fast-light.js")),s=d(e("../../random")),a=d(e("../../../enums")),o=d(e("../../../util")),l=d(e("../../../type/oid")),c=e("./indutnyKey");function d(e){return e&&e.__esModule?e:{default:e}}const u=o.default.getWebCrypto(),h=o.default.getNodeCrypto(),f={p256:"P-256",p384:"P-384",p521:"P-521"},m=h?h.getCurves():[],p=h?{secp256k1:m.includes("secp256k1")?"secp256k1":void 0,p256:m.includes("prime256v1")?"prime256v1":void 0,p384:m.includes("secp384r1")?"secp384r1":void 0,p521:m.includes("secp521r1")?"secp521r1":void 0,ed25519:m.includes("ED25519")?"ED25519":void 0,curve25519:m.includes("X25519")?"X25519":void 0,brainpoolP256r1:m.includes("brainpoolP256r1")?"brainpoolP256r1":void 0,brainpoolP384r1:m.includes("brainpoolP384r1")?"brainpoolP384r1":void 0,brainpoolP512r1:m.includes("brainpoolP512r1")?"brainpoolP512r1":void 0}:{},_={p256:{oid:[6,8,42,134,72,206,61,3,1,7],keyType:a.default.publicKey.ecdsa,hash:a.default.hash.sha256,cipher:a.default.symmetric.aes128,node:p.p256,web:f.p256,payloadSize:32,sharedSize:256},p384:{oid:[6,5,43,129,4,0,34],keyType:a.default.publicKey.ecdsa,hash:a.default.hash.sha384,cipher:a.default.symmetric.aes192,node:p.p384,web:f.p384,payloadSize:48,sharedSize:384},p521:{oid:[6,5,43,129,4,0,35],keyType:a.default.publicKey.ecdsa,hash:a.default.hash.sha512,cipher:a.default.symmetric.aes256,node:p.p521,web:f.p521,payloadSize:66,sharedSize:528},secp256k1:{oid:[6,5,43,129,4,0,10],keyType:a.default.publicKey.ecdsa,hash:a.default.hash.sha256,cipher:a.default.symmetric.aes128,node:p.secp256k1,payloadSize:32},ed25519:{oid:[6,9,43,6,1,4,1,218,71,15,1],keyType:a.default.publicKey.eddsa,hash:a.default.hash.sha512,node:!1,payloadSize:32},curve25519:{oid:[6,10,43,6,1,4,1,151,85,1,5,1],keyType:a.default.publicKey.ecdh,hash:a.default.hash.sha256,cipher:a.default.symmetric.aes128,node:!1,payloadSize:32},brainpoolP256r1:{oid:[6,9,43,36,3,3,2,8,1,1,7],keyType:a.default.publicKey.ecdsa,hash:a.default.hash.sha256,cipher:a.default.symmetric.aes128,node:p.brainpoolP256r1,payloadSize:32},brainpoolP384r1:{oid:[6,9,43,36,3,3,2,8,1,1,11],keyType:a.default.publicKey.ecdsa,hash:a.default.hash.sha384,cipher:a.default.symmetric.aes192,node:p.brainpoolP384r1,payloadSize:48},brainpoolP512r1:{oid:[6,9,43,36,3,3,2,8,1,1,13],keyType:a.default.publicKey.ecdsa,hash:a.default.hash.sha512,cipher:a.default.symmetric.aes256,node:p.brainpoolP512r1,payloadSize:64}};function g(e,t){try{(o.default.isArray(e)||o.default.isUint8Array(e))&&(e=new l.default(e)),e instanceof l.default&&(e=e.getName()),this.name=a.default.write(a.default.curve,e)}catch(r){throw new Error("Not valid curve")}this.keyType=(t=t||_[this.name]).keyType,this.oid=t.oid,this.hash=t.hash,this.cipher=t.cipher,this.node=t.node&&_[this.name],this.web=t.web&&_[this.name],this.payloadSize=t.payloadSize,this.web&&o.default.getWebCrypto()?this.type="web":this.node&&o.default.getNodeCrypto()?this.type="node":"curve25519"===this.name?this.type="curve25519":"ed25519"===this.name&&(this.type="ed25519")}function y(e){const t=o.default.b64_to_Uint8Array(e.x),r=o.default.b64_to_Uint8Array(e.y),n=new Uint8Array(t.length+r.length+1);return n[0]=4,n.set(t,1),n.set(r,t.length+1),n}function b(e,t,r){const n=e,i=r.slice(1,n+1),s=r.slice(n+1,2*n+1);return{kty:"EC",crv:t,x:o.default.Uint8Array_to_b64(i,!0),y:o.default.Uint8Array_to_b64(s,!0),ext:!0}}g.prototype.genKeyPair=async function(){let e;switch(this.type){case"web":try{return await async function(e){const t=await u.generateKey({name:"ECDSA",namedCurve:f[e]},!0,["sign","verify"]),r=await u.exportKey("jwk",t.privateKey);return{publicKey:y(await u.exportKey("jwk",t.publicKey)),privateKey:o.default.b64_to_Uint8Array(r.d,!0)}}(this.name)}catch(r){o.default.print_debug_error("Browser did not support generating ec key "+r.message);break}case"node":return async function(e){const t=h.createECDH(p[e]);return await t.generateKeys(),{publicKey:new Uint8Array(t.getPublicKey()),privateKey:new Uint8Array(t.getPrivateKey())}}(this.name);case"curve25519":{const t=await s.default.getRandomBytes(32);t[0]=127&t[0]|64,t[31]&=248;const r=t.slice().reverse();return e=i.default.box.keyPair.fromSecretKey(r),{publicKey:o.default.concatUint8Array([new Uint8Array([64]),e.publicKey]),privateKey:t}}case"ed25519":{const e=await s.default.getRandomBytes(32),t=i.default.sign.keyPair.fromSeed(e);return{publicKey:o.default.concatUint8Array([new Uint8Array([64]),t.publicKey]),privateKey:e}}}const t=await(0,c.getIndutnyCurve)(this.name);return e=await t.genKeyPair({entropy:o.default.Uint8Array_to_str(await s.default.getRandomBytes(32))}),{publicKey:new Uint8Array(e.getPublic("array",!1)),privateKey:e.getPrivate().toArrayLike(Uint8Array)}},r.default=g,r.curves=_,r.webCurves=f,r.nodeCurves=p,r.generate=async function(e){e=new g(e);const t=await e.genKeyPair();return{oid:e.oid,Q:new n.default(t.publicKey),d:new n.default(t.privateKey),hash:e.hash,cipher:e.cipher}},r.getPreferredHashAlgo=function(e){return _[a.default.write(a.default.curve,e.toHex())].hash},r.jwkToRawPublic=y,r.rawPublicToJwk=b,r.privateToJwk=function(e,t,r,n){const i=b(e,t,r);return i.d=o.default.Uint8Array_to_b64(n,!0),i},r.validateStandardParams=async function(e,t,r,s){const l={p256:!0,p384:!0,p521:!0,secp256k1:!0,curve25519:e===a.default.publicKey.ecdh,brainpoolP256r1:!0,brainpoolP384r1:!0,brainpoolP512r1:!0},d=t.getName();if(!l[d])return!1;if("curve25519"===d){s=s.slice().reverse();const e=i.default.box.keyPair.fromSecretKey(s).publicKey;r=new Uint8Array(r);const t=new Uint8Array([64,...e]);return!!o.default.equalsUint8Array(t,r)}const u=await(0,c.getIndutnyCurve)(d);try{r=(0,c.keyFromPublic)(u,r).getPublic()}catch(h){return!1}return s=new n.default(s),!!(0,c.keyFromPrivate)(u,s).getPublic().eq(r)}},{"../../../enums":113,"../../../type/oid":156,"../../../util":158,"../../random":109,"./indutnyKey":105,"bn.js":16,"tweetnacl/nacl-fast-light.js":72}],101:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,s=void 0;try{for(var a,o=e[Symbol.iterator]();!(n=(a=o.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(l){i=!0,s=l}finally{try{!n&&o.return&&o.return()}finally{if(i)throw s}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=p(e("bn.js")),s=p(e("tweetnacl/nacl-fast-light.js")),a=e("./curves"),o=p(a),l=p(e("../../aes_kw")),c=p(e("../../cipher")),d=p(e("../../random")),u=p(e("../../hash")),h=p(e("../../../enums")),f=p(e("../../../util")),m=e("./indutnyKey");function p(e){return e&&e.__esModule?e:{default:e}}const _=f.default.getWebCrypto(),g=f.default.getNodeCrypto();function y(e,t,r,n){return f.default.concatUint8Array([t.write(),new Uint8Array([e]),r.write(),f.default.str_to_Uint8Array("Anonymous Sender "),n.subarray(0,20)])}async function b(e,t,r,n,i=!1,s=!1){let a;if(i){for(a=0;a=0&&0===t[a];a--);t=t.subarray(0,a+1)}return(await u.default.digest(e,f.default.concatUint8Array([new Uint8Array([0,0,0,1]),t,n]))).subarray(0,r)}async function v(e,t){switch(e.type){case"curve25519":{const n=await d.default.getRandomBytes(32);var r=await w(e,t,null,n);const i=r.sharedKey;let a=s.default.box.keyPair.fromSecretKey(r.secretKey).publicKey;return a=f.default.concatUint8Array([new Uint8Array([64]),a]),{publicKey:a,sharedKey:i}}case"web":if(e.web&&f.default.getWebCrypto())try{return await M(e,t)}catch(n){f.default.print_debug_error(n)}break;case"node":return D(e,t)}return x(e,t)}async function w(e,t,r,n){if(n.length!==e.payloadSize){const t=new Uint8Array(e.payloadSize);t.set(n,e.payloadSize-n.length),n=t}switch(e.type){case"curve25519":{const e=n.slice().reverse();return{secretKey:e,sharedKey:s.default.scalarMult(e,t.subarray(1))}}case"web":if(e.web&&f.default.getWebCrypto())try{return await k(e,t,r,n)}catch(i){f.default.print_debug_error(i)}break;case"node":return C(e,t,n)}return S(e,t,n)}async function k(e,t,r,i){const s=(0,a.privateToJwk)(e.payloadSize,e.web.web,r,i);let o=_.importKey("jwk",s,{name:"ECDH",namedCurve:e.web.web},!0,["deriveKey","deriveBits"]);const l=(0,a.rawPublicToJwk)(e.payloadSize,e.web.web,t);let c=_.importKey("jwk",l,{name:"ECDH",namedCurve:e.web.web},!0,[]);var d=await Promise.all([o,c]),u=n(d,2);o=u[0],c=u[1];let h=_.deriveBits({name:"ECDH",namedCurve:e.web.web,public:c},o,e.web.sharedSize),m=_.exportKey("jwk",o);var p=await Promise.all([h,m]),g=n(p,2);h=g[0],m=g[1];const y=new Uint8Array(h);return{secretKey:f.default.b64_to_Uint8Array(m.d,!0),sharedKey:y}}async function M(e,t){const r=(0,a.rawPublicToJwk)(e.payloadSize,e.web.web,t);let i=_.generateKey({name:"ECDH",namedCurve:e.web.web},!0,["deriveKey","deriveBits"]),s=_.importKey("jwk",r,{name:"ECDH",namedCurve:e.web.web},!1,[]);var o=await Promise.all([i,s]),l=n(o,2);i=l[0],s=l[1];let c=_.deriveBits({name:"ECDH",namedCurve:e.web.web,public:s},i.privateKey,e.web.sharedSize),d=_.exportKey("jwk",i.publicKey);var u=await Promise.all([c,d]),h=n(u,2);c=h[0],d=h[1];const f=new Uint8Array(c);return{publicKey:new Uint8Array((0,a.jwkToRawPublic)(d)),sharedKey:f}}async function S(e,t,r){const n=await(0,m.getIndutnyCurve)(e.name);t=(0,m.keyFromPublic)(n,t),r=(0,m.keyFromPrivate)(n,r);const i=new Uint8Array(r.getPrivate()),s=r.derive(t.getPublic()),a=n.curve.p.byteLength();return{secretKey:i,sharedKey:s.toArrayLike(Uint8Array,"be",a)}}async function x(e,t){const r=await(0,m.getIndutnyCurve)(e.name),n=await e.genKeyPair();t=(0,m.keyFromPublic)(r,t);const i=(0,m.keyFromPrivate)(r,n.privateKey),s=n.publicKey,a=i.derive(t.getPublic()),o=r.curve.p.byteLength();return{publicKey:s,sharedKey:a.toArrayLike(Uint8Array,"be",o)}}async function C(e,t,r){const n=g.createECDH(e.node.node);n.setPrivateKey(r);const i=new Uint8Array(n.computeSecret(t));return{secretKey:new Uint8Array(n.getPrivateKey()),sharedKey:i}}async function D(e,t){const r=g.createECDH(e.node.node);r.generateKeys();const n=new Uint8Array(r.computeSecret(t));return{publicKey:new Uint8Array(r.getPublicKey()),sharedKey:n}}r.default={encrypt:async function(e,t,r,n,i){const s=new o.default(e);var a=await v(s,n);const d=a.publicKey,u=a.sharedKey,f=y(h.default.publicKey.ecdh,e,t,i),m=h.default.read(h.default.symmetric,t.cipher),p=await b(t.hash,u,c.default[m].keySize,f);return{publicKey:d,wrappedKey:l.default.wrap(p,r.toString())}},decrypt:async function(e,t,r,n,s,a,d){const u=new o.default(e),f=(await w(u,r,s,a)).sharedKey,m=y(h.default.publicKey.ecdh,e,t,d),p=h.default.read(h.default.symmetric,t.cipher);let _;for(let o=0;o<3;o++)try{const e=await b(t.hash,f,c.default[p].keySize,m,1===o,2===o);return new i.default(l.default.unwrap(e,n))}catch(g){_=g}throw _},genPublicEphemeralKey:v,genPrivateEphemeralKey:w,buildEcdhParam:y,kdf:b,webPublicEphemeralKey:M,webPrivateEphemeralKey:k,ellipticPublicEphemeralKey:x,ellipticPrivateEphemeralKey:S,nodePublicEphemeralKey:D,nodePrivateEphemeralKey:C,validateParams:async function(e,t,r){return(0,a.validateStandardParams)(h.default.publicKey.ecdh,e,t,r)},parseParams:function(e){if(e.length<3||e.length>4)throw new Error("Unexpected number of parameters");const t=e[0],r=new o.default(t),n={oid:t};return n.Q=e[1].toUint8Array(),n.kdfParams=e[2],4===e.length&&(n.d=e[3].toUint8Array("be",r.payloadSize)),n}}},{"../../../enums":113,"../../../util":158,"../../aes_kw":80,"../../cipher":86,"../../hash":92,"../../random":109,"./curves":100,"./indutnyKey":105,"bn.js":16,"tweetnacl/nacl-fast-light.js":72}],102:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=u(e("bn.js")),i=u(e("../../../enums")),s=u(e("../../../util")),a=u(e("../../random")),o=u(e("../../hash")),l=e("./curves"),c=u(l),d=e("./indutnyKey");function u(e){return e&&e.__esModule?e:{default:e}}const h=s.default.getWebCrypto(),f=s.default.getNodeCrypto();async function m(e,t,r,n,a,o){const d=new c.default(e);if(r&&!s.default.isStream(r)){const e={publicKey:n,privateKey:a};switch(d.type){case"web":try{return await async function(e,t,r,n){const s=e.payloadSize,a=(0,l.privateToJwk)(e.payloadSize,l.webCurves[e.name],n.publicKey,n.privateKey),o=await h.importKey("jwk",a,{name:"ECDSA",namedCurve:l.webCurves[e.name],hash:{name:i.default.read(i.default.webHash,e.hash)}},!1,["sign"]),c=new Uint8Array(await h.sign({name:"ECDSA",namedCurve:l.webCurves[e.name],hash:{name:i.default.read(i.default.webHash,t)}},o,r));return{r:c.slice(0,s),s:c.slice(s,s<<1)}}(d,t,r,e)}catch(u){if("p521"!==d.name&&("DataError"===u.name||"OperationError"===u.name))throw u;s.default.print_debug_error("Browser did not support verifying: "+u.message)}break;case"node":{const n=await async function(e,t,r,n){const s=f.createSign(i.default.read(i.default.hash,t));s.write(r),s.end();const a=v.encode({version:1,parameters:e.oid,privateKey:Array.from(n.privateKey),publicKey:{unused:0,data:Array.from(n.publicKey)}},"pem",{label:"EC PRIVATE KEY"});return b.decode(s.sign(a),"der")}(d,t,r,e);return{r:n.r.toArrayLike(Uint8Array),s:n.s.toArrayLike(Uint8Array)}}}}return _(d,o,a)}async function p(e,t,r,a,o,d){const u=new c.default(e);if(a&&!s.default.isStream(a))switch(u.type){case"web":try{return await async function(e,t,{r:r,s:n},a,o){const c=e.payloadSize,d=(0,l.rawPublicToJwk)(e.payloadSize,l.webCurves[e.name],o),u=await h.importKey("jwk",d,{name:"ECDSA",namedCurve:l.webCurves[e.name],hash:{name:i.default.read(i.default.webHash,e.hash)}},!1,["verify"]),f=s.default.concatUint8Array([new Uint8Array(c-r.length),r,new Uint8Array(c-n.length),n]).buffer;return h.verify({name:"ECDSA",namedCurve:l.webCurves[e.name],hash:{name:i.default.read(i.default.webHash,t)}},u,f,a)}(u,t,r,a,o)}catch(m){if("p521"!==u.name&&("DataError"===m.name||"OperationError"===m.name))throw m;s.default.print_debug_error("Browser did not support verifying: "+m.message)}break;case"node":return async function(e,t,{r:r,s:s},a,o){const l=f.createVerify(i.default.read(i.default.hash,t));l.write(a),l.end();const c=k.encode({algorithm:{algorithm:[1,2,840,10045,2,1],parameters:e.oid},subjectPublicKey:{unused:0,data:Array.from(o)}},"pem",{label:"PUBLIC KEY"}),d=b.encode({r:new n.default(r),s:new n.default(s)},"der");try{return l.verify(c,d)}catch(m){return!1}}(u,t,r,a,o)}return g(u,r,void 0===t?a:d,o)}async function _(e,t,r){const n=await(0,d.getIndutnyCurve)(e.name),i=(0,d.keyFromPrivate)(n,r).sign(t);return{r:i.r.toArrayLike(Uint8Array),s:i.s.toArrayLike(Uint8Array)}}async function g(e,t,r,n){const i=await(0,d.getIndutnyCurve)(e.name);return(0,d.keyFromPublic)(i,n).verify(r,t)}r.default={sign:m,verify:p,ellipticVerify:g,ellipticSign:_,validateParams:async function(e,t,r){const n=new c.default(e);if(n.keyType!==i.default.publicKey.ecdsa)return!1;switch(n.type){case"web":case"node":{const n=await a.default.getRandomBytes(8),l=i.default.hash.sha256,c=await o.default.digest(l,n);try{const i=await m(e,l,n,t,r,c);return await p(e,l,i,n,t,c)}catch(s){return!1}}default:return(0,l.validateStandardParams)(i.default.publicKey.ecdsa,e,t,r)}},parseParams:function(e){if(e.length<2||e.length>3)throw new Error("Unexpected number of parameters");const t=e[0],r=new c.default(t),n={oid:t};return n.Q=e[1].toUint8Array(),3===e.length&&(n.d=e[2].toUint8Array("be",r.payloadSize)),n}};const y=f?e("asn1.js"):void 0,b=f?y.define("ECDSASignature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())})):void 0,v=f?y.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").explicit(0).optional().any(),this.key("publicKey").explicit(1).optional().bitstr())})):void 0,w=f?y.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional().any())})):void 0,k=f?y.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(w),this.key("subjectPublicKey").bitstr())})):void 0},{"../../../enums":113,"../../../util":158,"../../hash":92,"../../random":109,"./curves":100,"./indutnyKey":105,"asn1.js":"asn1.js","bn.js":16}],103:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=a(e("hash.js/lib/hash/sha/512")),i=a(e("tweetnacl/nacl-fast-light.js")),s=a(e("../../../util"));function a(e){return e&&e.__esModule?e:{default:e}}i.default.hash=e=>new Uint8Array((0,n.default)().update(e).digest()),r.default={sign:async function(e,t,r,n,a,o){const l=s.default.concatUint8Array([a,n.subarray(1)]),c=i.default.sign.detached(o,l);return{R:c.subarray(0,32),S:c.subarray(32)}},verify:async function(e,t,{R:r,S:n},a,o,l){const c=s.default.concatUint8Array([r,n]);return i.default.sign.detached.verify(l,c,o.subarray(1))},validateParams:async function(e,t,r){if("ed25519"!==e.getName())return!1;var n=i.default.sign.keyPair.fromSeed(r);const a=new Uint8Array([64,...n.publicKey]);return s.default.equalsUint8Array(t,a)},parseParams:function(e){if(e.length<2||e.length>3)throw new Error("Unexpected number of parameters");const t={oid:e[0],Q:e[1].toUint8Array("be",33)};return 3===e.length&&(t.seed=e[2].toUint8Array("be",32)),t}}},{"../../../util":158,"hash.js/lib/hash/sha/512":43,"tweetnacl/nacl-fast-light.js":72}],104:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=e("./curves"),i=l(n),s=l(e("./ecdsa")),a=l(e("./eddsa")),o=l(e("./ecdh"));function l(e){return e&&e.__esModule?e:{default:e}}r.default={Curve:i.default,ecdh:o.default,ecdsa:s.default,eddsa:a.default,generate:n.generate,getPreferredHashAlgo:n.getPreferredHashAlgo}},{"./curves":100,"./ecdh":101,"./ecdsa":102,"./eddsa":103}],105:[function(e,t,r){(function(t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.keyFromPrivate=function(e,t){return e.keyPair({priv:t})},r.keyFromPublic=function(e,t){const r=e.keyPair({pub:t});if(!0!==r.validate().result)throw new Error("Invalid elliptic public key");return r},r.getIndutnyCurve=async function(r){if(!i.default.use_indutny_elliptic)throw new Error("This curve is only supported in the full build of OpenPGP.js");return new((await(i.default.external_indutny_elliptic?s.default.detectNode()?e(i.default.indutny_elliptic_path):(o||(o=async function(){const e=i.default.indutny_elliptic_path,r=i.default.indutny_elliptic_fetch_options,s=(0,n.dl)(e,r).catch(()=>(0,n.dl)(e,r)),a=await s,o=URL.createObjectURL(new Blob([a],{type:"text/javascript"}));if(await(0,n.loadScript)(o),URL.revokeObjectURL(o),!t.openpgp.elliptic)throw new Error("Elliptic library failed to load correctly");return t.openpgp.elliptic}().catch(e=>{throw o=void 0,e})),o):e("elliptic"))).ec)(r)};var n=e("../../../lightweight_helper"),i=a(e("../../../config")),s=a(e("../../../util"));function a(e){return e&&e.__esModule?e:{default:e}}let o}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../../../config":79,"../../../lightweight_helper":125,"../../../util":158,elliptic:18}],106:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=l(e("tweetnacl/nacl-fast-light.js")),i=l(e("./rsa")),s=l(e("./elgamal")),a=l(e("./elliptic")),o=l(e("./dsa"));function l(e){return e&&e.__esModule?e:{default:e}}r.default={rsa:i.default,elgamal:s.default,elliptic:a.default,dsa:o.default,nacl:n.default}},{"./dsa":98,"./elgamal":99,"./elliptic":104,"./rsa":108,"tweetnacl/nacl-fast-light.js":72}],107:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=s(e("bn.js")),i=s(e("../random"));function s(e){return e&&e.__esModule?e:{default:e}}async function a(e,t,r){return!(t&&!e.subn(1).gcd(t).eqn(1)||!l(e)||!o(e)||!(await d(e,r)))}function o(e,t){return 0===(t=t||new n.default(2)).toRed(n.default.mont(e)).redPow(e.subn(1)).fromRed().cmpn(1)}function l(e){return c.every(t=>0!==e.modn(t))}r.default={randomProbablePrime:async function(e,t,r){const s=new n.default(1).shln(e-1),o=new n.default(30),l=[1,6,5,4,3,2,1,4,3,2,1,2,1,4,3,2,1,2,1,4,3,2,1,6,5,4,3,2,1,2];let c=await i.default.getRandomBN(s,s.shln(1)),d=c.mod(o).toNumber();do{c.iaddn(l[d]),d=(d+l[d])%l.length,c.bitLength()>e&&(c=c.mod(s.shln(1)).iadd(s),d=c.mod(o).toNumber())}while(!(await a(c,t,r)));return c},isProbablePrime:a,fermat:o,millerRabin:d,divisionTest:l};const c=[7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997,1009,1013,1019,1021,1031,1033,1039,1049,1051,1061,1063,1069,1087,1091,1093,1097,1103,1109,1117,1123,1129,1151,1153,1163,1171,1181,1187,1193,1201,1213,1217,1223,1229,1231,1237,1249,1259,1277,1279,1283,1289,1291,1297,1301,1303,1307,1319,1321,1327,1361,1367,1373,1381,1399,1409,1423,1427,1429,1433,1439,1447,1451,1453,1459,1471,1481,1483,1487,1489,1493,1499,1511,1523,1531,1543,1549,1553,1559,1567,1571,1579,1583,1597,1601,1607,1609,1613,1619,1621,1627,1637,1657,1663,1667,1669,1693,1697,1699,1709,1721,1723,1733,1741,1747,1753,1759,1777,1783,1787,1789,1801,1811,1823,1831,1847,1861,1867,1871,1873,1877,1879,1889,1901,1907,1913,1931,1933,1949,1951,1973,1979,1987,1993,1997,1999,2003,2011,2017,2027,2029,2039,2053,2063,2069,2081,2083,2087,2089,2099,2111,2113,2129,2131,2137,2141,2143,2153,2161,2179,2203,2207,2213,2221,2237,2239,2243,2251,2267,2269,2273,2281,2287,2293,2297,2309,2311,2333,2339,2341,2347,2351,2357,2371,2377,2381,2383,2389,2393,2399,2411,2417,2423,2437,2441,2447,2459,2467,2473,2477,2503,2521,2531,2539,2543,2549,2551,2557,2579,2591,2593,2609,2617,2621,2633,2647,2657,2659,2663,2671,2677,2683,2687,2689,2693,2699,2707,2711,2713,2719,2729,2731,2741,2749,2753,2767,2777,2789,2791,2797,2801,2803,2819,2833,2837,2843,2851,2857,2861,2879,2887,2897,2903,2909,2917,2927,2939,2953,2957,2963,2969,2971,2999,3001,3011,3019,3023,3037,3041,3049,3061,3067,3079,3083,3089,3109,3119,3121,3137,3163,3167,3169,3181,3187,3191,3203,3209,3217,3221,3229,3251,3253,3257,3259,3271,3299,3301,3307,3313,3319,3323,3329,3331,3343,3347,3359,3361,3371,3373,3389,3391,3407,3413,3433,3449,3457,3461,3463,3467,3469,3491,3499,3511,3517,3527,3529,3533,3539,3541,3547,3557,3559,3571,3581,3583,3593,3607,3613,3617,3623,3631,3637,3643,3659,3671,3673,3677,3691,3697,3701,3709,3719,3727,3733,3739,3761,3767,3769,3779,3793,3797,3803,3821,3823,3833,3847,3851,3853,3863,3877,3881,3889,3907,3911,3917,3919,3923,3929,3931,3943,3947,3967,3989,4001,4003,4007,4013,4019,4021,4027,4049,4051,4057,4073,4079,4091,4093,4099,4111,4127,4129,4133,4139,4153,4157,4159,4177,4201,4211,4217,4219,4229,4231,4241,4243,4253,4259,4261,4271,4273,4283,4289,4297,4327,4337,4339,4349,4357,4363,4373,4391,4397,4409,4421,4423,4441,4447,4451,4457,4463,4481,4483,4493,4507,4513,4517,4519,4523,4547,4549,4561,4567,4583,4591,4597,4603,4621,4637,4639,4643,4649,4651,4657,4663,4673,4679,4691,4703,4721,4723,4729,4733,4751,4759,4783,4787,4789,4793,4799,4801,4813,4817,4831,4861,4871,4877,4889,4903,4909,4919,4931,4933,4937,4943,4951,4957,4967,4969,4973,4987,4993,4999];async function d(e,t,r){const s=e.bitLength(),a=n.default.mont(e),o=new n.default(1).toRed(a);t||(t=Math.max(1,s/48|0));const l=e.subn(1),c=l.toRed(a);let d=0;for(;!l.testn(d);)d++;const u=e.shrn(d);for(;t>0;t--){let e,t=(r?r():await i.default.getRandomBN(new n.default(2),l)).toRed(a).redPow(u);if(!t.eq(o)&&!t.eq(c)){for(e=1;ef.generateKeyPair("rsa",t,(t,n,i)=>{t?r(t):e(_.decode(i,"der"))}));return{n:n.modulus,e:n.publicExponent,d:n.privateExponent,p:n.prime2,q:n.prime1,u:n.coefficient}}let a=await i.default.randomProbablePrime(e-(e>>1),r,40),l=await i.default.randomProbablePrime(e>>1,r,40);if(a.cmp(l)<0){var c=[a,l];l=c[0],a=c[1]}const d=l.subn(1).mul(a.subn(1));return{n:l.mul(a),e:r,d:r.invm(d),p:l,q:a,u:l.invm(a)}},validateParams:async function(e,t,r,i,a,o){if(e=new n.default(e),i=new n.default(i),a=new n.default(a),!i.mul(a).eq(e))return!1;const l=new n.default(1),c=new n.default(2);if(o=new n.default(o),!i.mul(o).umod(a).eq(l))return!1;t=new n.default(t),r=new n.default(r);const d=await s.default.getRandomBN(c,c.shln(e.bitLength()/3)),u=d.mul(r).mul(t);return!(!u.umod(i.sub(l)).eq(d)||!u.umod(a.sub(l)).eq(d))},bnSign:async function(e,t,r,i){t=new n.default(t);const s=new n.default(await l.default.emsa.encode(e,i,t.byteLength()),16);if(r=new n.default(r),t.cmp(s)<=0)throw new Error("Message size cannot exceed modulus size");const a=new n.default.red(t);return s.toRed(a).redPow(r).toArrayLike(Uint8Array,"be",t.byteLength())},webSign:async function(e,t,r,i,s,a,l,c){const d=function(e,t,r,i,s,a){const l=new n.default(i),c=new n.default(s),d=new n.default(r);let u=d.mod(c.subn(1)),h=d.mod(l.subn(1));return h=h.toArrayLike(Uint8Array),u=u.toArrayLike(Uint8Array),{kty:"RSA",n:o.default.Uint8Array_to_b64(e,!0),e:o.default.Uint8Array_to_b64(t,!0),d:o.default.Uint8Array_to_b64(r,!0),p:o.default.Uint8Array_to_b64(s,!0),q:o.default.Uint8Array_to_b64(i,!0),dp:o.default.Uint8Array_to_b64(u,!0),dq:o.default.Uint8Array_to_b64(h,!0),qi:o.default.Uint8Array_to_b64(a,!0),ext:!0}}(r,i,s,a,l,c),u={name:"RSASSA-PKCS1-v1_5",hash:{name:e}},f=await h.importKey("jwk",d,u,!1,["sign"]);return new Uint8Array(await h.sign({name:"RSASSA-PKCS1-v1_5",hash:e},f,t))},nodeSign:async function(e,t,r,i,s,a,o,l){const d=new n.default(a),u=new n.default(o),h=new n.default(s),m=h.mod(u.subn(1)),p=h.mod(d.subn(1)),g=f.createSign(c.default.read(c.default.hash,e));g.write(t),g.end();const y={version:0,modulus:new n.default(r),publicExponent:new n.default(i),privateExponent:new n.default(s),prime1:new n.default(o),prime2:new n.default(a),exponent1:m,exponent2:p,coefficient:new n.default(l)};if(void 0!==f.createPrivateKey){const e=_.encode(y,"der");return new Uint8Array(g.sign({key:e,format:"der",type:"pkcs1"}))}const b=_.encode(y,"pem",{label:"RSA PRIVATE KEY"});return new Uint8Array(g.sign(b))},bnVerify:async function(e,t,r,i,s){if(r=new n.default(r),t=new n.default(t),i=new n.default(i),r.cmp(t)<=0)throw new Error("Signature size cannot exceed modulus size");const a=new n.default.red(r),c=t.toRed(a).redPow(i).toArrayLike(Uint8Array,"be",r.byteLength()),d=await l.default.emsa.encode(e,s,r.byteLength());return o.default.Uint8Array_to_hex(c)===d},webVerify:async function(e,t,r,n,i){const s=function(e,t){return{kty:"RSA",n:o.default.Uint8Array_to_b64(e,!0),e:o.default.Uint8Array_to_b64(t,!0),ext:!0}}(n,i),a=await h.importKey("jwk",s,{name:"RSASSA-PKCS1-v1_5",hash:{name:e}},!1,["verify"]);return h.verify({name:"RSASSA-PKCS1-v1_5",hash:e},a,r,t)},nodeVerify:async function(e,t,r,i,s){const a=f.createVerify(c.default.read(c.default.hash,e));a.write(t),a.end();const o={modulus:new n.default(i),publicExponent:new n.default(s)};let l;l=void 0!==f.createPrivateKey?{key:g.encode(o,"der"),format:"der",type:"pkcs1"}:g.encode(o,"pem",{label:"RSA PUBLIC KEY"});try{return await a.verify(l,r)}catch(d){return!1}},nodeEncrypt:async function(e,t,r){const i={modulus:new n.default(t),publicExponent:new n.default(r)};let s;return s=void 0!==f.createPrivateKey?{key:g.encode(i,"der"),format:"der",type:"pkcs1",padding:f.constants.RSA_PKCS1_PADDING}:{key:g.encode(i,"pem",{label:"RSA PUBLIC KEY"}),padding:f.constants.RSA_PKCS1_PADDING},new Uint8Array(f.publicEncrypt(s,e))},bnEncrypt:async function(e,t,r){if(t=new n.default(t),e=(e=new d.default(await l.default.eme.encode(o.default.Uint8Array_to_str(e),t.byteLength()))).toBN(),r=new n.default(r),t.cmp(e)<=0)throw new Error("Message size cannot exceed modulus size");const i=new n.default.red(t);return e.toRed(i).redPow(r).toArrayLike(Uint8Array,"be",t.byteLength())},nodeDecrypt:function(e,t,r,i,s,a,l){const c=new n.default(s),d=new n.default(a),u=new n.default(i),h=u.mod(d.subn(1)),m=u.mod(c.subn(1)),p={version:0,modulus:new n.default(t),publicExponent:new n.default(r),privateExponent:new n.default(i),prime1:new n.default(a),prime2:new n.default(s),exponent1:h,exponent2:m,coefficient:new n.default(l)};let g;return g=void 0!==f.createPrivateKey?{key:_.encode(p,"der"),format:"der",type:"pkcs1",padding:f.constants.RSA_PKCS1_PADDING}:{key:_.encode(p,"pem",{label:"RSA PRIVATE KEY"}),padding:f.constants.RSA_PKCS1_PADDING},o.default.Uint8Array_to_str(f.privateDecrypt(g,e))},bnDecrypt:async function(e,t,r,i,o,c,u){if(e=new n.default(e),t=new n.default(t),r=new n.default(r),i=new n.default(i),o=new n.default(o),c=new n.default(c),u=new n.default(u),t.cmp(e)<=0)throw new Error("Data too large.");const h=i.mod(c.subn(1)),f=i.mod(o.subn(1)),m=new n.default.red(o),p=new n.default.red(c),_=new n.default.red(t);let g,y;a.default.rsa_blinding&&(y=(await s.default.getRandomBN(new n.default(2),t)).toRed(_),g=y.redInvm().redPow(r),e=e.toRed(_).redMul(g).fromRed());const b=e.toRed(m).redPow(f),v=e.toRed(p).redPow(h).redSub(b.fromRed().toRed(p));let w=u.toRed(p).redMul(v).fromRed().mul(o).add(b).toRed(_);return a.default.rsa_blinding&&(w=w.redMul(y)),l.default.eme.decode(new d.default(w).toString())},prime:i.default}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../../config":79,"../../enums":113,"../../type/mpi":155,"../../util":158,"../pkcs1":96,"../random":109,"./prime":107,"asn1.js":"asn1.js","bn.js":16}],109:[function(e,t,r){(function(t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=i(e("bn.js"));function i(e){return e&&e.__esModule?e:{default:e}}const s=i(e("../util")).default.detectNode()&&e("crypto");function a(){this.buffer=null,this.size=null,this.callback=null}r.default={getRandomBytes:async function(e){const r=new Uint8Array(e);if("undefined"!=typeof crypto&&crypto.getRandomValues)crypto.getRandomValues(r);else if(void 0!==t&&"object"==typeof t.msCrypto&&"function"==typeof t.msCrypto.getRandomValues)t.msCrypto.getRandomValues(r);else if(s){const e=s.randomBytes(r.length);r.set(e)}else{if(!this.randomBuffer.buffer)throw new Error("No secure random number generator available.");await this.randomBuffer.get(r)}return r},getRandomBN:async function(e,t){if(t.cmp(e)<=0)throw new Error("Illegal parameter value: max <= min");const r=t.sub(e),i=r.byteLength();return new n.default(await this.getRandomBytes(i+8)).mod(r).add(e)},randomBuffer:new a},a.prototype.init=function(e,t){this.buffer=new Uint8Array(e),this.size=0,this.callback=t},a.prototype.set=function(e){if(!this.buffer)throw new Error("RandomBuffer is not initialized");if(!(e instanceof Uint8Array))throw new Error("Invalid type: buf not an Uint8Array");const t=this.buffer.length-this.size;e.length>t&&(e=e.subarray(0,t)),this.buffer.set(e,this.size),this.size+=e.length},a.prototype.get=async function(e){if(!this.buffer)throw new Error("RandomBuffer is not initialized");if(!(e instanceof Uint8Array))throw new Error("Invalid type: buf not an Uint8Array");if(this.size{const r=f?Math.floor(e.length/4):0,n=new Uint32Array(e.buffer,e.byteOffset,r);for(let i=0;i>24&255]^h[1][t>>16&255]^h[2][t>>8&255]^h[3][t>>0&255];for(let i=4*r;i>8^h[0][255&t^e[i]]},()=>new Uint8Array([t,t>>8,t>>16]))}(e);return i.default.encode(t)}const h=[new Array(255),new Array(255),new Array(255),new Array(255)];for(let _=0;_<=255;_++){let e=_<<16;for(let t=0;t<8;t++)e=e<<1^(0!=(8388608&e)?8801531:0);h[0][_]=(16711680&e)>>16|65280&e|(255&e)<<16}for(let _=0;_<=255;_++)h[1][_]=h[0][_]>>8^h[0][255&h[0][_]];for(let _=0;_<=255;_++)h[2][_]=h[1][_]>>8^h[0][255&h[1][_]];for(let _=0;_<=255;_++)h[3][_]=h[2][_]>>8^h[0][255&h[2][_]];const f=function(){const e=new ArrayBuffer(2);return new DataView(e).setInt16(0,255,!0),255===new Int16Array(e)[0]}();function m(e){for(let t=0;t=0&&n!==e.length-1&&(t=e.slice(0,n),r=e.slice(n+1).substr(0,4)),{body:t,checksum:r}}r.default={encode:function(e,t,r,a,l){let c,h;e===s.default.armor.signed&&(c=t.text,h=t.hash,t=t.data);const f=n.default.passiveClone(t),m=[];switch(e){case s.default.armor.multipart_section:m.push("-----BEGIN PGP MESSAGE, PART "+r+"/"+a+"-----\r\n"),m.push(d(l)),m.push(i.default.encode(t)),m.push("=",u(f)),m.push("-----END PGP MESSAGE, PART "+r+"/"+a+"-----\r\n");break;case s.default.armor.multipart_last:m.push("-----BEGIN PGP MESSAGE, PART "+r+"-----\r\n"),m.push(d(l)),m.push(i.default.encode(t)),m.push("=",u(f)),m.push("-----END PGP MESSAGE, PART "+r+"-----\r\n");break;case s.default.armor.signed:m.push("\r\n-----BEGIN PGP SIGNED MESSAGE-----\r\n"),m.push("Hash: "+h+"\r\n\r\n"),m.push(c.replace(/^-/gm,"- -")),m.push("\r\n-----BEGIN PGP SIGNATURE-----\r\n"),m.push(d(l)),m.push(i.default.encode(t)),m.push("=",u(f)),m.push("-----END PGP SIGNATURE-----\r\n");break;case s.default.armor.message:m.push("-----BEGIN PGP MESSAGE-----\r\n"),m.push(d(l)),m.push(i.default.encode(t)),m.push("=",u(f)),m.push("-----END PGP MESSAGE-----\r\n");break;case s.default.armor.public_key:m.push("-----BEGIN PGP PUBLIC KEY BLOCK-----\r\n"),m.push(d(l)),m.push(i.default.encode(t)),m.push("=",u(f)),m.push("-----END PGP PUBLIC KEY BLOCK-----\r\n");break;case s.default.armor.private_key:m.push("-----BEGIN PGP PRIVATE KEY BLOCK-----\r\n"),m.push(d(l)),m.push(i.default.encode(t)),m.push("=",u(f)),m.push("-----END PGP PRIVATE KEY BLOCK-----\r\n");break;case s.default.armor.signature:m.push("-----BEGIN PGP SIGNATURE-----\r\n"),m.push(d(l)),m.push(i.default.encode(t)),m.push("=",u(f)),m.push("-----END PGP SIGNATURE-----\r\n")}return o.default.concat(m)},decode:function(e){return new Promise(async(t,r)=>{try{const s=/^-----[^-]+-----$/m,l=/^[ \f\r\t\u00a0\u2000-\u200a\u202f\u205f\u3000]*$/;let d;const h=[];let f,_,g,y=h,b=[],v=i.default.decode(n.default.transformPair(e,async(e,i)=>{const a=n.default.getReader(e);try{for(;;){let e=await a.readLine();if(void 0===e)throw new Error("Misformed armored text");if(e=o.default.removeTrailingSpaces(e.replace(/[\r\n]/g,"")),d)if(f)_||2!==d||(s.test(e)?(b=b.join("\r\n"),_=!0,m(y),y=[],f=!1):b.push(e.replace(/^- /,"")));else if(s.test(e)&&r(new Error("Mandatory blank line missing between armor headers and armor data")),l.test(e)){if(m(y),f=!0,_||2!==d){t({text:b,data:v,headers:h,type:d});break}}else y.push(e);else s.test(e)&&(d=c(e))}}catch(k){return void r(k)}const u=n.default.getWriter(i);try{for(;;){await u.ready;var w=await a.read();const e=w.value;if(w.done)throw new Error("Misformed armored text");const t=e+"";if(-1!==t.indexOf("=")||-1!==t.indexOf("-")){let e=await a.readToEnd();e.length||(e=""),e=t+e,e=o.default.removeTrailingSpaces(e.replace(/\r/g,""));const r=e.split(s);if(1===r.length)throw new Error("Misformed armored text");const n=p(r[0].slice(0,-1));g=n.checksum,await u.write(n.body);break}await u.write(t)}await u.ready,await u.close()}catch(k){await u.abort(k)}}));v=n.default.transformPair(v,async(e,t)=>{const r=n.default.readToEnd(u(n.default.passiveClone(e)));r.catch(()=>{}),await n.default.pipe(e,t,{preventClose:!0});const i=n.default.getWriter(t);try{const e=(await r).replace("\r\n","");if(g!==e&&(g||a.default.checksum_required))throw new Error("Ascii armor integrity check on message failed: '"+g+"' should be '"+e+"'");await i.ready,await i.close()}catch(s){await i.abort(s)}})}catch(s){r(s)}})}}},{"../config":79,"../enums.js":113,"../util":158,"./base64.js":112,"web-stream-tools":75}],112:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=s(e("web-stream-tools")),i=s(e("../util"));function s(e){return e&&e.__esModule?e:{default:e}}const a=i.default.getNodeBuffer();let o,l;a?(o=e=>a.from(e).toString("base64"),l=e=>{const t=a.from(e,"base64");return new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}):(o=e=>btoa(i.default.Uint8Array_to_str(e)),l=e=>i.default.str_to_Uint8Array(atob(e))),r.default={encode:function(e){let t=new Uint8Array;return n.default.transform(e,e=>{t=i.default.concatUint8Array([t,e]);const r=[],n=Math.floor(t.length/45),s=45*n,a=o(t.subarray(0,s));for(let t=0;tt.length?o(t)+"\r\n":"")},decode:function(e){let t="";return n.default.transform(e,e=>{t+=e;let r=0;const n=[" ","\t","\r","\n"];for(let a=0;a0&&(i-r)%4!=0;i--)n.includes(t[i])&&r--;const s=l(t.substr(0,i));return t=t.substr(i),s},()=>l(t))}}},{"../util":158,"web-stream-tools":75}],113:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});const n=Symbol("byValue");r.default={curve:{p256:"p256","P-256":"p256",secp256r1:"p256",prime256v1:"p256","1.2.840.10045.3.1.7":"p256","2a8648ce3d030107":"p256","2A8648CE3D030107":"p256",p384:"p384","P-384":"p384",secp384r1:"p384","1.3.132.0.34":"p384","2b81040022":"p384","2B81040022":"p384",p521:"p521","P-521":"p521",secp521r1:"p521","1.3.132.0.35":"p521","2b81040023":"p521","2B81040023":"p521",secp256k1:"secp256k1","1.3.132.0.10":"secp256k1","2b8104000a":"secp256k1","2B8104000A":"secp256k1",ED25519:"ed25519",ed25519:"ed25519",Ed25519:"ed25519","1.3.6.1.4.1.11591.15.1":"ed25519","2b06010401da470f01":"ed25519","2B06010401DA470F01":"ed25519",X25519:"curve25519",cv25519:"curve25519",curve25519:"curve25519",Curve25519:"curve25519","1.3.6.1.4.1.3029.1.5.1":"curve25519","2b060104019755010501":"curve25519","2B060104019755010501":"curve25519",brainpoolP256r1:"brainpoolP256r1","1.3.36.3.3.2.8.1.1.7":"brainpoolP256r1","2b2403030208010107":"brainpoolP256r1","2B2403030208010107":"brainpoolP256r1",brainpoolP384r1:"brainpoolP384r1","1.3.36.3.3.2.8.1.1.11":"brainpoolP384r1","2b240303020801010b":"brainpoolP384r1","2B240303020801010B":"brainpoolP384r1",brainpoolP512r1:"brainpoolP512r1","1.3.36.3.3.2.8.1.1.13":"brainpoolP512r1","2b240303020801010d":"brainpoolP512r1","2B240303020801010D":"brainpoolP512r1"},s2k:{simple:0,salted:1,iterated:3,gnu:101},publicKey:{rsa_encrypt_sign:1,rsa_encrypt:2,rsa_sign:3,elgamal:16,dsa:17,ecdh:18,ecdsa:19,eddsa:22,aedh:23,aedsa:24},symmetric:{plaintext:0,idea:1,"3des":2,tripledes:2,cast5:3,blowfish:4,aes128:7,aes192:8,aes256:9,twofish:10},compression:{uncompressed:0,zip:1,zlib:2,bzip2:3},hash:{md5:1,sha1:2,ripemd:3,sha256:8,sha384:9,sha512:10,sha224:11},webHash:{"SHA-1":2,"SHA-256":8,"SHA-384":9,"SHA-512":10},aead:{eax:1,ocb:2,experimental_gcm:100},packet:{publicKeyEncryptedSessionKey:1,signature:2,symEncryptedSessionKey:3,onePassSignature:4,secretKey:5,publicKey:6,secretSubkey:7,compressed:8,symmetricallyEncrypted:9,marker:10,literal:11,trust:12,userid:13,publicSubkey:14,userAttribute:17,symEncryptedIntegrityProtected:18,modificationDetectionCode:19,symEncryptedAEADProtected:20},literal:{binary:"b".charCodeAt(),text:"t".charCodeAt(),utf8:"u".charCodeAt(),mime:"m".charCodeAt()},signature:{binary:0,text:1,standalone:2,cert_generic:16,cert_persona:17,cert_casual:18,cert_positive:19,cert_revocation:48,subkey_binding:24,key_binding:25,key:31,key_revocation:32,subkey_revocation:40,timestamp:64,third_party:80},signatureSubpacket:{signature_creation_time:2,signature_expiration_time:3,exportable_certification:4,trust_signature:5,regular_expression:6,revocable:7,key_expiration_time:9,placeholder_backwards_compatibility:10,preferred_symmetric_algorithms:11,revocation_key:12,issuer:16,notation_data:20,preferred_hash_algorithms:21,preferred_compression_algorithms:22,key_server_preferences:23,preferred_key_server:24,primary_user_id:25,policy_uri:26,key_flags:27,signers_user_id:28,reason_for_revocation:29,features:30,signature_target:31,embedded_signature:32,issuer_fingerprint:33,preferred_aead_algorithms:34},keyFlags:{certify_keys:1,sign_data:2,encrypt_communication:4,encrypt_storage:8,split_private_key:16,authentication:32,shared_private_key:128},armor:{multipart_section:0,multipart_last:1,signed:2,message:3,public_key:4,private_key:5,signature:6},reasonForRevocation:{no_reason:0,key_superseded:1,key_compromised:2,key_retired:3,userid_invalid:32},features:{modification_detection:1,aead:2,v5_keys:4},write:function(e,t){if("number"==typeof t&&(t=this.read(e,t)),void 0!==e[t])return e[t];throw new Error("Invalid enum value.")},read:function(e,t){if(e[n]||(e[n]=[],Object.entries(e).forEach(([t,r])=>{e[n][r]=t})),void 0!==e[n][t])return e[n][t];throw new Error("Invalid enum value.")}}},{}],114:[function(e,t,r){(function(t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n,i=(n=e("./config"))&&n.__esModule?n:{default:n};function s(r){this._baseUrl=r||i.default.keyserver,this._fetch="function"==typeof t.fetch?t.fetch:e("node-fetch")}s.prototype.lookup=function(e){let t=this._baseUrl+"/pks/lookup?op=get&options=mr&search=";const r=this._fetch;if(e.keyId)t+="0x"+encodeURIComponent(e.keyId);else{if(!e.query)throw new Error("You must provide a query parameter!");t+=encodeURIComponent(e.query)}return r(t).then((function(e){if(200===e.status)return e.text()})).then((function(e){if(e&&!(e.indexOf("-----END PGP PUBLIC KEY BLOCK-----")<0))return e.trim()}))},s.prototype.upload=function(e){return(0,this._fetch)(this._baseUrl+"/pks/add",{method:"post",headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},body:"keytext="+encodeURIComponent(e)})},r.default=s}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./config":79,"node-fetch":"node-fetch"}],115:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.lightweight=r.WKD=r.HKP=r.AsyncProxy=r.Keyring=r.crypto=r.config=r.enums=r.armor=r.stream=r.OID=r.KDFParams=r.ECDHSymmetricKey=r.Keyid=r.S2K=r.MPI=r.packet=r.util=r.cleartext=r.message=r.signature=r.key=r.destroyWorker=r.getWorker=r.initWorker=r.decryptSessionKeys=r.encryptSessionKey=r.decryptKey=r.revokeKey=r.reformatKey=r.generateKey=r.verify=r.sign=r.decrypt=r.encrypt=void 0;var n=e("./openpgp");Object.defineProperty(r,"encrypt",{enumerable:!0,get:function(){return n.encrypt}}),Object.defineProperty(r,"decrypt",{enumerable:!0,get:function(){return n.decrypt}}),Object.defineProperty(r,"sign",{enumerable:!0,get:function(){return n.sign}}),Object.defineProperty(r,"verify",{enumerable:!0,get:function(){return n.verify}}),Object.defineProperty(r,"generateKey",{enumerable:!0,get:function(){return n.generateKey}}),Object.defineProperty(r,"reformatKey",{enumerable:!0,get:function(){return n.reformatKey}}),Object.defineProperty(r,"revokeKey",{enumerable:!0,get:function(){return n.revokeKey}}),Object.defineProperty(r,"decryptKey",{enumerable:!0,get:function(){return n.decryptKey}}),Object.defineProperty(r,"encryptSessionKey",{enumerable:!0,get:function(){return n.encryptSessionKey}}),Object.defineProperty(r,"decryptSessionKeys",{enumerable:!0,get:function(){return n.decryptSessionKeys}}),Object.defineProperty(r,"initWorker",{enumerable:!0,get:function(){return n.initWorker}}),Object.defineProperty(r,"getWorker",{enumerable:!0,get:function(){return n.getWorker}}),Object.defineProperty(r,"destroyWorker",{enumerable:!0,get:function(){return n.destroyWorker}});var i=e("./util");Object.defineProperty(r,"util",{enumerable:!0,get:function(){return L(i).default}});var s=e("./packet");Object.defineProperty(r,"packet",{enumerable:!0,get:function(){return L(s).default}});var a=e("./type/mpi");Object.defineProperty(r,"MPI",{enumerable:!0,get:function(){return L(a).default}});var o=e("./type/s2k");Object.defineProperty(r,"S2K",{enumerable:!0,get:function(){return L(o).default}});var l=e("./type/keyid");Object.defineProperty(r,"Keyid",{enumerable:!0,get:function(){return L(l).default}});var c=e("./type/ecdh_symkey");Object.defineProperty(r,"ECDHSymmetricKey",{enumerable:!0,get:function(){return L(c).default}});var d=e("./type/kdf_params");Object.defineProperty(r,"KDFParams",{enumerable:!0,get:function(){return L(d).default}});var u=e("./type/oid");Object.defineProperty(r,"OID",{enumerable:!0,get:function(){return L(u).default}});var h=e("web-stream-tools");Object.defineProperty(r,"stream",{enumerable:!0,get:function(){return L(h).default}});var f=e("./encoding/armor");Object.defineProperty(r,"armor",{enumerable:!0,get:function(){return L(f).default}});var m=e("./enums");Object.defineProperty(r,"enums",{enumerable:!0,get:function(){return L(m).default}});var p=e("./config/config");Object.defineProperty(r,"config",{enumerable:!0,get:function(){return L(p).default}});var _=e("./crypto");Object.defineProperty(r,"crypto",{enumerable:!0,get:function(){return L(_).default}});var g=e("./keyring");Object.defineProperty(r,"Keyring",{enumerable:!0,get:function(){return L(g).default}});var y=e("./worker/async_proxy");Object.defineProperty(r,"AsyncProxy",{enumerable:!0,get:function(){return L(y).default}});var b=e("./hkp");Object.defineProperty(r,"HKP",{enumerable:!0,get:function(){return L(b).default}});var v=e("./wkd");Object.defineProperty(r,"WKD",{enumerable:!0,get:function(){return L(v).default}});var w=D(n),k=D(e("./key")),M=D(e("./signature")),S=D(e("./message")),x=D(e("./cleartext")),C=D(e("./lightweight_helper"));function D(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function L(e){return e&&e.__esModule?e:{default:e}}r.default=w,r.key=k,r.signature=M,r.message=S,r.cleartext=x,r.lightweight=C},{"./cleartext":77,"./config/config":78,"./crypto":94,"./encoding/armor":111,"./enums":113,"./hkp":114,"./key":118,"./keyring":122,"./lightweight_helper":125,"./message":126,"./openpgp":127,"./packet":131,"./signature":151,"./type/ecdh_symkey":152,"./type/kdf_params":153,"./type/keyid":154,"./type/mpi":155,"./type/oid":156,"./type/s2k":157,"./util":158,"./wkd":159,"./worker/async_proxy":160,"web-stream-tools":75}],116:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.generate=async function(e){e.sign=!0,(e=s.sanitizeKeyOptions(e)).subkeys=e.subkeys.map((function(t,r){return s.sanitizeKeyOptions(e.subkeys[r],e)}));let t=[s.generateSecretKey(e)];return t=t.concat(e.subkeys.map(s.generateSecretSubkey)),Promise.all(t).then(t=>u(t[0],t.slice(1),e))},r.reformat=async function(e){e=i(e);try{e.privateKey.getKeys().every(e=>e.isDecrypted())||await e.privateKey.decrypt()}catch(s){throw new Error("Key not decrypted")}const t=e.privateKey.toPacketlist();let r;const n=[];for(let o=0;o({sign:await e.privateKey.getSigningKey(t.getKeyId(),null).catch(()=>{})&&!(await e.privateKey.getEncryptionKey(t.getKeyId(),null).catch(()=>{}))})))),e.subkeys.length!==n.length)throw new Error("Number of subkey options does not match number of subkeys");return e.subkeys=e.subkeys.map((function(t,r){return i(e.subkeys[r],e)})),u(r,n,e);function i(e,t={}){return e.keyExpirationTime=e.keyExpirationTime||t.keyExpirationTime,e.passphrase=o.default.isString(e.passphrase)?e.passphrase:t.passphrase,e.date=e.date||t.date,e}},r.read=h,r.readArmored=async function(e){try{const t=await c.default.decode(e);if(t.type!==a.default.armor.public_key&&t.type!==a.default.armor.private_key)throw new Error("Armored text not of type key");return h(t.data)}catch(t){const e={keys:[],err:[]};return e.err.push(t),e}};var n=d(e("../packet")),i=d(e("./key")),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(e("./helper")),a=d(e("../enums")),o=d(e("../util")),l=d(e("../config")),c=d(e("../encoding/armor"));function d(e){return e&&e.__esModule?e:{default:e}}async function u(e,t,r){r.passphrase&&await e.encrypt(r.passphrase),await Promise.all(t.map((async function(e,t){const n=r.subkeys[t].passphrase;n&&await e.encrypt(n)})));const o=new n.default.List;o.push(e),await Promise.all(r.userIds.map((async function(t,i){function o(e,t){if(t){const r=e.indexOf(t);r>=1&&e.splice(r,1),0!==r&&e.unshift(t)}return e}const c=new n.default.Userid;c.format(t);const d={};d.userId=c,d.key=e;const u=new n.default.Signature(r.date);return u.signatureType=a.default.signature.cert_generic,u.publicKeyAlgorithm=e.algorithm,u.hashAlgorithm=await s.getPreferredHashAlgo(null,e),u.keyFlags=[a.default.keyFlags.certify_keys|a.default.keyFlags.sign_data],u.preferredSymmetricAlgorithms=o([a.default.symmetric.aes256,a.default.symmetric.aes128,a.default.symmetric.aes192,a.default.symmetric.cast5,a.default.symmetric.tripledes],l.default.encryption_cipher),l.default.aead_protect&&(u.preferredAeadAlgorithms=o([a.default.aead.eax,a.default.aead.ocb],l.default.aead_mode)),u.preferredHashAlgorithms=o([a.default.hash.sha256,a.default.hash.sha512,a.default.hash.sha1],l.default.prefer_hash_algorithm),u.preferredCompressionAlgorithms=o([a.default.compression.zlib,a.default.compression.zip,a.default.compression.uncompressed],l.default.compression),0===i&&(u.isPrimaryUserID=!0),l.default.integrity_protect&&(u.features=[0],u.features[0]|=a.default.features.modification_detection),l.default.aead_protect&&(u.features||(u.features=[0]),u.features[0]|=a.default.features.aead),l.default.v5_keys&&(u.features||(u.features=[0]),u.features[0]|=a.default.features.v5_keys),r.keyExpirationTime>0&&(u.keyExpirationTime=r.keyExpirationTime,u.keyNeverExpires=!1),await u.sign(e,d),{userIdPacket:c,signaturePacket:u}}))).then(e=>{e.forEach(({userIdPacket:e,signaturePacket:t})=>{o.push(e),o.push(t)})}),await Promise.all(t.map((async function(t,n){const i=r.subkeys[n];return{secretSubkeyPacket:t,subkeySignaturePacket:await s.createBindingSignature(t,e,i)}}))).then(e=>{e.forEach(({secretSubkeyPacket:e,subkeySignaturePacket:t})=>{o.push(e),o.push(t)})});const c={key:e};return o.push(await s.createSignaturePacket(c,null,e,{signatureType:a.default.signature.key_revocation,reasonForRevocationFlag:a.default.reasonForRevocation.no_reason,reasonForRevocationString:""},r.date)),r.passphrase&&e.clearPrivateParams(),await Promise.all(t.map((async function(e,t){r.subkeys[t].passphrase&&e.clearPrivateParams()}))),new i.default(o)}async function h(e){const t={keys:[]},r=[];try{const o=new n.default.List;await o.read(e);const l=o.indexOfTag(a.default.packet.publicKey,a.default.packet.secretKey);if(0===l.length)throw new Error("No key packet found");for(let e=0;e=0;i--)try{a&&!(e[i].created>=a.created)||e[i].isExpired(s)||!e[i].verified&&!(await e[i].verify(t,r,n))||(a=e[i])}catch(c){l=c}if(!a)throw o.default.wrapError(`Could not find valid ${i.default.read(i.default.signature,r)} signature in key ${t.getKeyId().toHex()}`.replace("cert_generic ","self-").replace("_"," "),l);return a},r.isDataExpired=function(e,t,r=new Date){const n=o.default.normalizeDate(r);if(null!==n){const i=u(e,t);return!(e.created<=n&&n<=i)||t&&t.isExpired(r)}return!1},r.createBindingSignature=async function(e,t,r){const s={};s.key=t,s.bind=e;const a=new n.default.Signature(r.date);return a.signatureType=i.default.signature.subkey_binding,a.publicKeyAlgorithm=t.algorithm,a.hashAlgorithm=await c(null,e),r.sign?(a.keyFlags=[i.default.keyFlags.sign_data],a.embeddedSignature=await d(s,null,e,{signatureType:i.default.signature.key_binding},r.date)):a.keyFlags=[i.default.keyFlags.encrypt_communication|i.default.keyFlags.encrypt_storage],r.keyExpirationTime>0&&(a.keyExpirationTime=r.keyExpirationTime,a.keyNeverExpires=!1),await a.sign(t,s),a},r.getPreferredHashAlgo=c,r.getPreferredAlgo=async function(e,t,r=new Date,n=[]){const s="symmetric"===e?"preferredSymmetricAlgorithms":"preferredAeadAlgorithms",a="symmetric"===e?i.default.symmetric.aes128:i.default.aead.eax,o={};await Promise.all(t.map((async function(e,t){const i=await e.getPrimaryUser(r,n[t]);if(!i.selfCertification[s])return a;i.selfCertification[s].forEach((function(e,t){const r=o[e]||(o[e]={prio:0,count:0,algo:e});r.prio+=64>>t,r.count++}))})));let l={prio:0,algo:a};return Object.values(o).forEach(({prio:r,count:n,algo:s})=>{try{s!==i.default[e].plaintext&&s!==i.default[e].idea&&i.default.read(i.default[e],s)&&n===t.length&&r>l.prio&&(l=o[s])}catch(a){}}),l.algo},r.createSignaturePacket=d,r.mergeSignatures=async function(e,t,r,n){(e=e[r])&&(t[r].length?await Promise.all(e.map((async function(e){e.isExpired()||n&&!(await n(e))||t[r].some((function(t){return o.default.equalsUint8Array(t.signature,e.signature)}))||t[r].push(e)}))):t[r]=e)},r.isDataRevoked=async function(e,t,r,n,i,a,l=new Date){a=a||e;const c=o.default.normalizeDate(l),d=[];return await Promise.all(n.map((async function(e){try{i&&!e.issuerKeyId.equals(i.issuerKeyId)||s.default.revocations_expire&&e.isExpired(c)||!e.verified&&!(await e.verify(a,t,r))||d.push(e.issuerKeyId)}catch(n){}}))),i?(i.revoked=!!d.some(e=>e.equals(i.issuerKeyId))||i.revoked||!1,i.revoked):d.length>0},r.getExpirationTime=u,r.isAeadSupported=async function(e,t=new Date,r=[]){let n=!0;return await Promise.all(e.map((async function(e,s){const a=await e.getPrimaryUser(t,r[s]);a.selfCertification.features&&a.selfCertification.features[0]&i.default.features.aead||(n=!1)}))),n},r.sanitizeKeyOptions=function(e,t={}){if(e.curve=e.curve||t.curve,e.rsaBits=e.rsaBits||t.rsaBits,e.keyExpirationTime=void 0!==e.keyExpirationTime?e.keyExpirationTime:t.keyExpirationTime,e.passphrase=o.default.isString(e.passphrase)?e.passphrase:t.passphrase,e.date=e.date||t.date,e.sign=e.sign||!1,e.curve){try{e.curve=i.default.write(i.default.curve,e.curve)}catch(r){throw new Error("Not valid curve.")}e.curve!==i.default.curve.ed25519&&e.curve!==i.default.curve.curve25519||(e.curve=e.sign?i.default.curve.ed25519:i.default.curve.curve25519),e.algorithm=e.sign?e.curve===i.default.curve.ed25519?i.default.publicKey.eddsa:i.default.publicKey.ecdsa:i.default.publicKey.ecdh}else{if(!e.rsaBits)throw new Error("Unrecognized key type");e.algorithm=i.default.publicKey.rsa_encrypt_sign}return e},r.isValidSigningKeyPacket=function(e,t){if(!t.verified||!1!==t.revoked)throw new Error("Signature not verified");return e.algorithm!==i.default.read(i.default.publicKey,i.default.publicKey.rsa_encrypt)&&e.algorithm!==i.default.read(i.default.publicKey,i.default.publicKey.elgamal)&&e.algorithm!==i.default.read(i.default.publicKey,i.default.publicKey.ecdh)&&(!t.keyFlags||0!=(t.keyFlags[0]&i.default.keyFlags.sign_data))},r.isValidEncryptionKeyPacket=function(e,t){if(!t.verified||!1!==t.revoked)throw new Error("Signature not verified");return e.algorithm!==i.default.read(i.default.publicKey,i.default.publicKey.dsa)&&e.algorithm!==i.default.read(i.default.publicKey,i.default.publicKey.rsa_sign)&&e.algorithm!==i.default.read(i.default.publicKey,i.default.publicKey.ecdsa)&&e.algorithm!==i.default.read(i.default.publicKey,i.default.publicKey.eddsa)&&(!t.keyFlags||0!=(t.keyFlags[0]&i.default.keyFlags.encrypt_communication)||0!=(t.keyFlags[0]&i.default.keyFlags.encrypt_storage))},r.isValidDecryptionKeyPacket=function(e){if(!e.verified)throw new Error("Signature not verified");return!!s.default.allow_insecure_decryption_with_signing_keys||!e.keyFlags||0!=(e.keyFlags[0]&i.default.keyFlags.encrypt_communication)||0!=(e.keyFlags[0]&i.default.keyFlags.encrypt_storage)};var n=l(e("../packet")),i=l(e("../enums")),s=l(e("../config")),a=l(e("../crypto")),o=l(e("../util"));function l(e){return e&&e.__esModule?e:{default:e}}async function c(e,t,r=new Date,i={}){let o=s.default.prefer_hash_algorithm,l=o;if(e){const t=await e.getPrimaryUser(r,i);t.selfCertification.preferredHashAlgorithms&&(l=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,s=void 0;try{for(var a,o=e[Symbol.iterator]();!(n=(a=o.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(l){i=!0,s=l}finally{try{!n&&o.return&&o.return()}finally{if(i)throw s}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(t.selfCertification.preferredHashAlgorithms,1)[0],o=a.default.hash.getHashByteLength(o)<=a.default.hash.getHashByteLength(l)?l:o)}switch(Object.getPrototypeOf(t)){case n.default.SecretKey.prototype:case n.default.PublicKey.prototype:case n.default.SecretSubkey.prototype:case n.default.PublicSubkey.prototype:switch(t.algorithm){case"ecdh":case"ecdsa":case"eddsa":l=a.default.publicKey.elliptic.getPreferredHashAlgo(t.params[0])}}return a.default.hash.getHashByteLength(o)<=a.default.hash.getHashByteLength(l)?l:o}async function d(e,t,r,i,s,a,o=!1,l=!1){if(!r.isDecrypted())throw new Error("Private key is not decrypted.");const d=new n.default.Signature(s);return Object.assign(d,i),d.publicKeyAlgorithm=r.algorithm,d.hashAlgorithm=await c(t,r,s,a),await d.sign(r,e,o,l),d}function u(e,t){let r;return!1===t.keyNeverExpires&&(r=e.created.getTime()+1e3*t.keyExpirationTime),r?new Date(r):1/0}},{"../config":79,"../crypto":94,"../enums":113,"../packet":131,"../util":158}],118:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Key=r.createSignaturePacket=r.getPreferredHashAlgo=r.isAeadSupported=r.getPreferredAlgo=r.reformat=r.read=r.generate=r.readArmored=void 0;var n,i=e("./factory"),s=e("./helper"),a=(n=e("./key.js"))&&n.__esModule?n:{default:n};r.readArmored=i.readArmored,r.generate=i.generate,r.read=i.read,r.reformat=i.reformat,r.getPreferredAlgo=s.getPreferredAlgo,r.isAeadSupported=s.isAeadSupported,r.getPreferredHashAlgo=s.getPreferredHashAlgo,r.createSignaturePacket=s.createSignaturePacket,r.Key=a.default},{"./factory":116,"./helper":117,"./key.js":119}],119:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=u;var n=d(e("../encoding/armor")),i=d(e("../packet")),s=d(e("../enums")),a=d(e("../util")),o=d(e("./user")),l=d(e("./subkey")),c=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(e("./helper"));function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if(!(this instanceof u))return new u(e);if(this.keyPacket=null,this.revocationSignatures=[],this.directSignatures=[],this.users=[],this.subKeys=[],this.packetlist2structure(e),!this.keyPacket||!this.users.length)throw new Error("Invalid key: need at least key and user ID packet")}Object.defineProperty(u.prototype,"primaryKey",{get(){return this.keyPacket},configurable:!0,enumerable:!0}),u.prototype.packetlist2structure=function(e){let t,r,n;for(let i=0;ie.concat(t.toPacketlist())),this.subKeys.map(t=>e.concat(t.toPacketlist())),e},u.prototype.getSubkeys=function(e=null){const t=[];return this.subKeys.forEach(r=>{e&&!r.getKeyId().equals(e,!0)||t.push(r)}),t},u.prototype.getKeys=function(e=null){const t=[];return e&&!this.getKeyId().equals(e,!0)||t.push(this),t.concat(this.getSubkeys(e))},u.prototype.getKeyIds=function(){return this.getKeys().map(e=>e.getKeyId())},u.prototype.getUserIds=function(){return this.users.map(e=>e.userId?e.userId.userid:null).filter(e=>null!==e)},u.prototype.isPublic=function(){return this.keyPacket.tag===s.default.packet.publicKey},u.prototype.isPrivate=function(){return this.keyPacket.tag===s.default.packet.secretKey},u.prototype.toPublic=function(){const e=new i.default.List,t=this.toPacketlist();let r,n,a;for(let o=0;ot.keyPacket.created-e.keyPacket.created);let o;for(let a=0;at.keyPacket.created-e.keyPacket.created);let o;for(let a=0;a!0===e)},u.prototype.validate=async function(){if(!this.isPrivate())throw new Error("Cannot validate a public key");let e;if(this.primaryKey.isDummy()){const t=await this.getSigningKey(null,null);t&&!t.keyPacket.isDummy()&&(e=t.keyPacket)}else e=this.primaryKey;if(e)return e.validate();{const e=this.getKeys();if(e.map(e=>e.keyPacket.isDummy()).every(Boolean))throw new Error("Cannot validate an all-gnu-dummy key");return Promise.all(e.map(async e=>e.keyPacket.validate()))}},u.prototype.clearPrivateParams=function(){if(!this.isPrivate())throw new Error("Can't clear private parameters of a public key");this.getKeys().forEach(({keyPacket:e})=>{e.isDecrypted()&&e.clearPrivateParams()})},u.prototype.isRevoked=async function(e,t,r=new Date){return c.isDataRevoked(this.keyPacket,s.default.signature.key_revocation,{key:this.keyPacket},this.revocationSignatures,e,t,r)},u.prototype.verifyPrimaryKey=async function(e=new Date,t={}){const r=this.keyPacket;if(await this.isRevoked(null,null,e))throw new Error("Primary key is revoked");if(!this.users.some(e=>e.userId&&e.selfCertifications.length))throw new Error("No self-certifications");var n=await this.getPrimaryUser(e,t);if(c.isDataExpired(r,n.selfCertification,e))throw new Error("Primary key is expired")},u.prototype.getExpirationTime=async function(e,t,r){const n=(await this.getPrimaryUser(null,r)).selfCertification,i=c.getExpirationTime(this.keyPacket,n),s=n.getExpirationTime();let a=i{})||await this.getEncryptionKey(t,null,r).catch(()=>{});if(!e)return null;const n=await e.getExpirationTime(this.keyPacket);n{})||await this.getSigningKey(t,null,r).catch(()=>{});if(!e)return null;const n=await e.getExpirationTime(this.keyPacket);ne.subKeys.some(e=>t.hasSameFingerprintAs(e))))throw new Error("Cannot update public key with private key if subkey mismatch");this.keyPacket=e.keyPacket}await c.mergeSignatures(e,this,"revocationSignatures",t=>c.isDataRevoked(this.keyPacket,s.default.signature.key_revocation,this,[t],null,e.keyPacket)),await c.mergeSignatures(e,this,"directSignatures"),await Promise.all(e.users.map(async e=>{let t=!1;await Promise.all(this.users.map(async r=>{(e.userId&&r.userId&&e.userId.userid===r.userId.userid||e.userAttribute&&e.userAttribute.equals(r.userAttribute))&&(await r.update(e,this.keyPacket),t=!0)})),t||this.users.push(e)})),await Promise.all(e.subKeys.map(async e=>{let t=!1;await Promise.all(this.subKeys.map(async r=>{r.hasSameFingerprintAs(e)&&(await r.update(e,this.keyPacket),t=!0)})),t||this.subKeys.push(e)}))},u.prototype.revoke=async function({flag:e=s.default.reasonForRevocation.no_reason,string:t=""}={},r=new Date){if(this.isPublic())throw new Error("Need private key for revoking");const n={key:this.keyPacket},i=new u(this.toPacketlist());return i.revocationSignatures.push(await c.createSignaturePacket(n,null,this.keyPacket,{signatureType:s.default.signature.key_revocation,reasonForRevocationFlag:s.default.write(s.default.reasonForRevocation,e),reasonForRevocationString:t},r)),i},u.prototype.getRevocationCertificate=async function(e=new Date){const t={key:this.keyPacket},r=await c.getLatestValidSignature(this.revocationSignatures,this.keyPacket,s.default.signature.key_revocation,t,e),a=new i.default.List;return a.push(r),n.default.encode(s.default.armor.public_key,a.write(),null,null,"This is a revocation certificate")},u.prototype.applyRevocationCertificate=async function(e){const t=await n.default.decode(e),r=new i.default.List;await r.read(t.data);const o=r.findPacket(s.default.packet.signature);if(!o||o.signatureType!==s.default.signature.key_revocation)throw new Error("Could not find revocation signature packet");if(!o.issuerKeyId.equals(this.getKeyId()))throw new Error("Revocation signature does not match key");if(o.isExpired())throw new Error("Revocation signature is expired");try{await o.verify(this.keyPacket,s.default.signature.key_revocation,{key:this.keyPacket})}catch(c){throw a.default.wrapError("Could not verify revocation signature",c)}const l=new u(this.toPacketlist());return l.revocationSignatures.push(o),l},u.prototype.signPrimaryUser=async function(e,t,r){var n=await this.getPrimaryUser(t,r);const i=n.index,s=n.user,a=await s.sign(this.keyPacket,e),o=new u(this.toPacketlist());return o.users[i]=a,o},u.prototype.signAllUsers=async function(e){const t=this,r=new u(this.toPacketlist());return r.users=await Promise.all(this.users.map((function(r){return r.sign(t.keyPacket,e)}))),r},u.prototype.verifyPrimaryUser=async function(e,t,r){const n=this.keyPacket,i=(await this.getPrimaryUser(t,r)).user;return e?await i.verifyAllCertifications(n,e):[{keyid:n.keyid,valid:await i.verify(n).catch(()=>!1)}]},u.prototype.verifyAllUsers=async function(e){const t=[],r=this.keyPacket;return await Promise.all(this.users.map((async function(n){(e?await n.verifyAllCertifications(r,e):[{keyid:r.keyid,valid:await n.verify(r).catch(()=>!1)}]).forEach(e=>{t.push({userid:n.userId.userid,keyid:e.keyid,valid:e.valid})})}))),t},u.prototype.addSubkey=async function(e={}){if(!this.isPrivate())throw new Error("Cannot add a subkey to a public key");if(e.passphrase)throw new Error("Subkey could not be encrypted here, please encrypt whole key");if(a.default.getWebCryptoAll()&&e.rsaBits<2048)throw new Error("When using webCrypto rsaBits should be 2048 or 4096, found: "+e.rsaBits);const t=this.primaryKey;if(!t.isDecrypted())throw new Error("Key is not decrypted");const r=t.getAlgorithmInfo();e=c.sanitizeKeyOptions(e,r);const n=await c.generateSecretSubkey(e),i=await c.createBindingSignature(n,t,e),s=this.toPacketlist();return s.push(n),s.push(i),new u(s)},["getKeyId","getFingerprint","getAlgorithmInfo","getCreationTime","isDecrypted","hasSameFingerprintAs"].forEach(e=>{u.prototype[e]=l.default.prototype[e]})},{"../encoding/armor":111,"../enums":113,"../packet":131,"../util":158,"./helper":117,"./subkey":120,"./user":121}],120:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=o;var n=a(e("../enums")),i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(e("./helper")),s=a(e("../packet"));function a(e){return e&&e.__esModule?e:{default:e}}function o(e){if(!(this instanceof o))return new o(e);this.keyPacket=e,this.bindingSignatures=[],this.revocationSignatures=[]}o.prototype.toPacketlist=function(){const e=new s.default.List;return e.push(this.keyPacket),e.concat(this.revocationSignatures),e.concat(this.bindingSignatures),e},o.prototype.isRevoked=async function(e,t,r,s=new Date){return i.isDataRevoked(e,n.default.signature.subkey_revocation,{key:e,bind:this.keyPacket},this.revocationSignatures,t,r,s)},o.prototype.verify=async function(e,t=new Date){const r={key:e,bind:this.keyPacket},s=await i.getLatestValidSignature(this.bindingSignatures,e,n.default.signature.subkey_binding,r,t);if(s.revoked||await this.isRevoked(e,s,null,t))throw new Error("Subkey is revoked");if(i.isDataExpired(this.keyPacket,s,t))throw new Error("Subkey is expired")},o.prototype.getExpirationTime=async function(e,t=new Date){const r={key:e,bind:this.keyPacket};let s;try{s=await i.getLatestValidSignature(this.bindingSignatures,e,n.default.signature.subkey_binding,r,t)}catch(l){return null}const a=i.getExpirationTime(this.keyPacket,s),o=s.getExpirationTime();return ar.bindingSignatures[t].created&&(r.bindingSignatures[t]=e),!1;try{return e.verified||await e.verify(t,n.default.signature.subkey_binding,s)}catch(i){return!1}})),await i.mergeSignatures(e,this,"revocationSignatures",(function(e){return i.isDataRevoked(t,n.default.signature.subkey_revocation,s,[e])}))},o.prototype.revoke=async function(e,{flag:t=n.default.reasonForRevocation.no_reason,string:r=""}={},s=new Date){const a={key:e,bind:this.keyPacket},l=new o(this.keyPacket);return l.revocationSignatures.push(await i.createSignaturePacket(a,null,e,{signatureType:n.default.signature.subkey_revocation,reasonForRevocationFlag:n.default.write(n.default.reasonForRevocation,t),reasonForRevocationString:r},s)),await l.update(this,e),l},["getKeyId","getFingerprint","getAlgorithmInfo","getCreationTime","isDecrypted"].forEach(e=>{o.prototype[e]=function(){return this.keyPacket[e]()}}),o.prototype.hasSameFingerprintAs=function(e){return this.keyPacket.hasSameFingerprintAs(e.keyPacket||e)}},{"../enums":113,"../packet":131,"./helper":117}],121:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=l;var n=o(e("../enums")),i=o(e("../util")),s=o(e("../packet")),a=e("./helper");function o(e){return e&&e.__esModule?e:{default:e}}function l(e){if(!(this instanceof l))return new l(e);this.userId=e.tag===n.default.packet.userid?e:null,this.userAttribute=e.tag===n.default.packet.userAttribute?e:null,this.selfCertifications=[],this.otherCertifications=[],this.revocationSignatures=[]}l.prototype.toPacketlist=function(){const e=new s.default.List;return e.push(this.userId||this.userAttribute),e.concat(this.revocationSignatures),e.concat(this.selfCertifications),e.concat(this.otherCertifications),e},l.prototype.sign=async function(e,t){const r={userId:this.userId,userAttribute:this.userAttribute,key:e},i=new l(r.userId||r.userAttribute);return i.otherCertifications=await Promise.all(t.map((async function(t){if(t.isPublic())throw new Error("Need private key for signing");if(t.hasSameFingerprintAs(e))throw new Error("Not implemented for self signing");const i=await t.getSigningKey();return(0,a.createSignaturePacket)(r,t,i.keyPacket,{signatureType:n.default.signature.cert_generic,keyFlags:[n.default.keyFlags.certify_keys|n.default.keyFlags.sign_data]})}))),await i.update(this,e),i},l.prototype.isRevoked=async function(e,t,r,i=new Date){return(0,a.isDataRevoked)(e,n.default.signature.cert_revocation,{key:e,userId:this.userId,userAttribute:this.userAttribute},this.revocationSignatures,t,r,i)},l.prototype.verifyCertificate=async function(e,t,r,s=new Date){const a=this,o=t.issuerKeyId,l={userId:this.userId,userAttribute:this.userAttribute,key:e};return(await Promise.all(r.map((async function(r){if(!r.getKeyIds().some(e=>e.equals(o)))return null;const c=await r.getSigningKey(o,s);if(t.revoked||await a.isRevoked(e,t,c.keyPacket,s))throw new Error("User certificate is revoked");try{t.verified||await t.verify(c.keyPacket,n.default.signature.cert_generic,l)}catch(d){throw i.default.wrapError("User certificate is invalid",d)}if(t.isExpired(s))throw new Error("User certificate is expired");return!0})))).find(e=>null!==e)||null},l.prototype.verifyAllCertifications=async function(e,t,r=new Date){const n=this,i=this.selfCertifications.concat(this.otherCertifications);return Promise.all(i.map((async function(i){return{keyid:i.issuerKeyId,valid:await n.verifyCertificate(e,i,t,r).catch(()=>!1)}})))},l.prototype.verify=async function(e,t=new Date){if(!this.selfCertifications.length)throw new Error("No self-certifications");const r=this,s={userId:this.userId,userAttribute:this.userAttribute,key:e};let a;for(let l=this.selfCertifications.length-1;l>=0;l--)try{const a=this.selfCertifications[l];if(a.revoked||await r.isRevoked(e,a,void 0,t))throw new Error("Self-certification is revoked");try{a.verified||await a.verify(e,n.default.signature.cert_generic,s)}catch(o){throw i.default.wrapError("Self-certification is invalid",o)}if(a.isExpired(t))throw new Error("Self-certification is expired");return!0}catch(o){a=o}throw a},l.prototype.update=async function(e,t){const r={userId:this.userId,userAttribute:this.userAttribute,key:t};await(0,a.mergeSignatures)(e,this,"selfCertifications",(async function(e){try{return e.verified||e.verify(t,n.default.signature.cert_generic,r)}catch(i){return!1}})),await(0,a.mergeSignatures)(e,this,"otherCertifications"),await(0,a.mergeSignatures)(e,this,"revocationSignatures",(function(e){return(0,a.isDataRevoked)(t,n.default.signature.cert_revocation,r,[e])}))}},{"../enums":113,"../packet":131,"../util":158,"./helper":117}],122:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=s(e("./keyring.js")),i=s(e("./localstore.js"));function s(e){return e&&e.__esModule?e:{default:e}}n.default.localstore=i.default,r.default=n.default},{"./keyring.js":123,"./localstore.js":124}],123:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n,i=e("../key"),s=(n=e("./localstore"))&&n.__esModule?n:{default:n};function a(e){this.storeHandler=e||new s.default}function o(e){this.keys=e}function l(e,t){const r=(e=e.toLowerCase()).replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),n=new RegExp("<"+r+">"),i=t.getUserIds();for(let s=0;sn.default.readToEnd(e.armor())));e.setItem(t,JSON.stringify(i))}else e.removeItem(t)}l.prototype.publicKeysItem="public-keys",l.prototype.privateKeysItem="private-keys",l.prototype.loadPublic=async function(){return c(this.storage,this.publicKeysItem)},l.prototype.loadPrivate=async function(){return c(this.storage,this.privateKeysItem)},l.prototype.storePublic=async function(e){await d(this.storage,this.publicKeysItem,e)},l.prototype.storePrivate=async function(e){await d(this.storage,this.privateKeysItem,e)},r.default=l}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../config":79,"../key":118,"../util":158,"node-localstorage":"node-localstorage","web-stream-tools":75}],125:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.loadScript=e=>"undefined"!=typeof importScripts?importScripts(e):new Promise((t,r)=>{const n=document.createElement("script");n.src=e,n.onload=()=>t(),n.onerror=e=>r(new Error(e.message)),document.head.appendChild(n)}),r.dl=async function(e,t){return(await fetch(e,t)).arrayBuffer()}},{}],126:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Message=m,r.encryptSessionKey=p,r.createSignaturePackets=_,r.createVerificationObjects=g,r.readArmored=async function(e){const t=c.default.isStream(e);return"node"===t&&(e=n.default.nodeToWeb(e)),y((await i.default.decode(e)).data,t)},r.read=y,r.fromText=function(e,t,r=new Date,i="utf8"){const s=c.default.isStream(e);"node"===s&&(e=n.default.nodeToWeb(e));const a=new d.default.Literal(r);a.setText(e,i),void 0!==t&&a.setFilename(t);const o=new d.default.List;o.push(a);const l=new m(o);return l.fromStream=s,l},r.fromBinary=function(e,t,r=new Date,i="binary"){const s=c.default.isStream(e);if(!c.default.isUint8Array(e)&&!s)throw new Error("Data must be in the form of a Uint8Array or Stream");"node"===s&&(e=n.default.nodeToWeb(e));const a=new d.default.Literal(r);a.setBytes(e,i),void 0!==t&&a.setFilename(t);const o=new d.default.List;o.push(a);const l=new m(o);return l.fromStream=s,l};var n=f(e("web-stream-tools")),i=f(e("./encoding/armor")),s=f(e("./type/keyid")),a=f(e("./config")),o=f(e("./crypto")),l=f(e("./enums")),c=f(e("./util")),d=f(e("./packet")),u=e("./signature"),h=e("./key");function f(e){return e&&e.__esModule?e:{default:e}}function m(e){if(!(this instanceof m))return new m(e);this.packets=e||new d.default.List}async function p(e,t,r,n,i,o=!1,l=new Date,c=[]){const u=new d.default.List;if(n){const r=await Promise.all(n.map((async function(r){const n=await r.getEncryptionKey(void 0,l,c),i=new d.default.PublicKeyEncryptedSessionKey;return i.publicKeyId=o?s.default.wildcard():n.getKeyId(),i.publicKeyAlgorithm=n.keyPacket.algorithm,i.sessionKey=e,i.sessionKeyAlgorithm=t,await i.encrypt(n.keyPacket),delete i.sessionKey,i})));u.concat(r)}if(i){const n=async function(e,t){try{return await e.decrypt(t),1}catch(r){return 0}},s=(e,t)=>e+t,o=async function e(t,r,o,l){const c=new d.default.SymEncryptedSessionKey;return c.sessionKey=t,c.sessionKeyAlgorithm=r,o&&(c.aeadAlgorithm=o),await c.encrypt(l),a.default.password_collision_check&&1!==(await Promise.all(i.map(e=>n(c,e)))).reduce(s)?e(t,r,l):(delete c.sessionKey,c)},l=await Promise.all(i.map(n=>o(e,t,r,n)));u.concat(l)}return new m(u)}async function _(e,t,r=null,n=new Date,i=[],s=!1,a=!1){const o=new d.default.List,c=null===e.text?l.default.signature.binary:l.default.signature.text;if(await Promise.all(t.map(async(t,r)=>{const o=i[r];if(t.isPublic())throw new Error("Need private key for signing");const l=await t.getSigningKey(void 0,n,o);return(0,h.createSignaturePacket)(e,t,l.keyPacket,{signatureType:c},n,o,s,a)})).then(e=>{e.forEach(e=>o.push(e))}),r){const e=r.packets.filterByTag(l.default.packet.signature);o.concat(e)}return o}async function g(e,t,r,n=new Date,i=!1,s=!1){return Promise.all(e.filter((function(e){return["text","binary"].includes(l.default.read(l.default.signature,e.signatureType))})).map((async function(e){return async function(e,t,r,n=new Date,i=!1,s=!1){let a=null,o=null;await Promise.all(r.map((async function(t){try{o=await t.getSigningKey(e.issuerKeyId,null),a=t}catch(r){}})));const l=e.correspondingSig||e,c={keyid:e.issuerKeyId,verified:(async()=>{if(!o)return null;const r=await e.verify(o.keyPacket,e.signatureType,t[0],i,s),c=await l;if(c.isExpired(n)||!(c.created>=o.getCreationTime()&&c.created{const e=await l,t=new d.default.List;return t.push(e),new u.Signature(t)})()};return c.signature.catch(()=>{}),c.verified.catch(()=>{}),c}(e,t,r,n,i,s)})))}async function y(e,t=c.default.isStream(e)){"node"===c.default.isStream(e)&&(e=n.default.nodeToWeb(e));const r=new d.default.List;await r.read(e,t);const i=new m(r);return i.fromStream=t,i}m.prototype.getEncryptionKeyIds=function(){const e=[];return this.packets.filterByTag(l.default.packet.publicKeyEncryptedSessionKey).forEach((function(t){e.push(t.publicKeyId)})),e},m.prototype.getSigningKeyIds=function(){const e=[],t=this.unwrapCompressed();return t.packets.filterByTag(l.default.packet.onePassSignature).forEach((function(t){e.push(t.issuerKeyId)})),e.length||t.packets.filterByTag(l.default.packet.signature).forEach((function(t){e.push(t.issuerKeyId)})),e},m.prototype.decrypt=async function(e,t,r,i){const s=r||await this.decryptSessionKeys(e,t),a=this.packets.filterByTag(l.default.packet.symmetricallyEncrypted,l.default.packet.symEncryptedIntegrityProtected,l.default.packet.symEncryptedAEADProtected);if(0===a.length)return this;const o=a[0];let u=null;const h=Promise.all(s.map(async e=>{if(!e||!c.default.isUint8Array(e.data)||!c.default.isString(e.algorithm))throw new Error("Invalid session key for decryption.");try{await o.decrypt(e.algorithm,e.data,i)}catch(t){c.default.print_debug_error(t),u=t}}));if(n.default.cancel(o.encrypted),o.encrypted=null,await h,!o.packets||!o.packets.length)throw u||new Error("Decryption failed.");const f=new m(o.packets);return o.packets=new d.default.List,f},m.prototype.decryptSessionKeys=async function(e,t){let r,i=[];if(t){const e=this.packets.filterByTag(l.default.packet.symEncryptedSessionKey);if(!e)throw new Error("No symmetrically encrypted session key packet found.");await Promise.all(t.map((async function(t,r){let n;r?(n=new d.default.List,await n.read(e.write())):n=e,await Promise.all(n.map((async function(e){try{await e.decrypt(t),i.push(e)}catch(r){c.default.print_debug_error(r)}})))})))}else{if(!e)throw new Error("No key or password specified.");{const t=this.packets.filterByTag(l.default.packet.publicKeyEncryptedSessionKey);if(!t)throw new Error("No public key encrypted session key packet found.");await Promise.all(t.map((async function(t){await Promise.all(e.map((async function(e){let n=[l.default.symmetric.aes256,l.default.symmetric.aes128,l.default.symmetric.tripledes,l.default.symmetric.cast5];try{const t=await e.getPrimaryUser();t.selfCertification.preferredSymmetricAlgorithms&&(n=n.concat(t.selfCertification.preferredSymmetricAlgorithms))}catch(a){}const s=(await e.getDecryptionKeys(t.publicKeyId,null)).map(e=>e.keyPacket);await Promise.all(s.map((async function(e){if(e){if(!e.isDecrypted())throw new Error("Private key is not decrypted.");try{if(await t.decrypt(e),!n.includes(l.default.write(l.default.symmetric,t.sessionKeyAlgorithm)))throw new Error("A non-preferred symmetric algorithm was used.");i.push(t)}catch(s){c.default.print_debug_error(s),r=s}}})))}))),n.default.cancel(t.encrypted),t.encrypted=null})))}}if(i.length){if(i.length>1){const e={};i=i.filter((function(t){const r=t.sessionKeyAlgorithm+c.default.Uint8Array_to_str(t.sessionKey);return!e.hasOwnProperty(r)&&(e[r]=!0,!0)}))}return i.map(e=>({data:e.sessionKey,algorithm:e.sessionKeyAlgorithm}))}throw r||new Error("Session key decryption failed.")},m.prototype.getLiteralData=function(){const e=this.unwrapCompressed().packets.findPacket(l.default.packet.literal);return e&&e.getBytes()||null},m.prototype.getFilename=function(){const e=this.unwrapCompressed().packets.findPacket(l.default.packet.literal);return e&&e.getFilename()||null},m.prototype.getText=function(){const e=this.unwrapCompressed().packets.findPacket(l.default.packet.literal);return e?e.getText():null},m.prototype.encrypt=async function(e,t,r,n=!1,i=new Date,s=[],u){let f,m,_;if(r){if(!c.default.isUint8Array(r.data)||!c.default.isString(r.algorithm))throw new Error("Invalid session key for encryption.");f=r.algorithm,m=r.aeadAlgorithm,r=r.data}else if(e&&e.length)f=l.default.read(l.default.symmetric,await(0,h.getPreferredAlgo)("symmetric",e,i,s)),a.default.aead_protect&&await(0,h.isAeadSupported)(e,i,s)&&(m=l.default.read(l.default.aead,await(0,h.getPreferredAlgo)("aead",e,i,s)));else{if(!t||!t.length)throw new Error("No keys, passwords, or session key provided.");f=l.default.read(l.default.symmetric,a.default.encryption_cipher),m=l.default.read(l.default.aead,a.default.aead_mode)}r||(r=await o.default.generateSessionKey(f));const g=await p(r,f,m,e,t,n,i,s);return a.default.aead_protect&&m?(_=new d.default.SymEncryptedAEADProtected,_.aeadAlgorithm=m):_=a.default.integrity_protect?new d.default.SymEncryptedIntegrityProtected:new d.default.SymmetricallyEncrypted,_.packets=this.packets,await _.encrypt(f,r,u),g.packets.push(_),_.packets=new d.default.List,{message:g,sessionKey:{data:r,algorithm:f,aeadAlgorithm:m}}},m.prototype.sign=async function(e=[],t=null,r=new Date,n=[],i=!1){const s=new d.default.List,a=this.packets.findPacket(l.default.packet.literal);if(!a)throw new Error("No literal data packet to sign.");let o,c;const u=null===a.text?l.default.signature.binary:l.default.signature.text;if(t)for(c=t.packets.filterByTag(l.default.packet.signature),o=c.length-1;o>=0;o--){const t=c[o],r=new d.default.OnePassSignature;r.signatureType=t.signatureType,r.hashAlgorithm=t.hashAlgorithm,r.publicKeyAlgorithm=t.publicKeyAlgorithm,r.issuerKeyId=t.issuerKeyId,e.length||0!==o||(r.flags=1),s.push(r)}return await Promise.all(Array.from(e).reverse().map((async function(t,i){if(t.isPublic())throw new Error("Need private key for signing");const s=await t.getSigningKey(void 0,r,n),a=new d.default.OnePassSignature;return a.signatureType=u,a.hashAlgorithm=await(0,h.getPreferredHashAlgo)(t,s.keyPacket,r,n),a.publicKeyAlgorithm=s.keyPacket.algorithm,a.issuerKeyId=s.getKeyId(),i===e.length-1&&(a.flags=1),a}))).then(e=>{e.forEach(e=>s.push(e))}),s.push(a),s.concat(await _(a,e,t,r,n,!1,i)),new m(s)},m.prototype.compress=function(e){if(e===l.default.compression.uncompressed)return this;const t=new d.default.Compressed;t.packets=this.packets,t.algorithm=l.default.read(l.default.compression,e);const r=new d.default.List;return r.push(t),new m(r)},m.prototype.signDetached=async function(e=[],t=null,r=new Date,n=[],i=!1){const s=this.packets.findPacket(l.default.packet.literal);if(!s)throw new Error("No literal data packet to sign.");return new u.Signature(await _(s,e,t,r,n,!0,i))},m.prototype.verify=async function(e,t=new Date,r){const i=this.unwrapCompressed(),s=i.packets.filterByTag(l.default.packet.literal);if(1!==s.length)throw new Error("Can only verify message with one literal data packet.");r||i.packets.concat(await n.default.readToEnd(i.packets.stream,e=>e));const a=i.packets.filterByTag(l.default.packet.onePassSignature).reverse(),o=i.packets.filterByTag(l.default.packet.signature);return r&&a.length&&!o.length&&i.packets.stream?(await Promise.all(a.map(async e=>{e.correspondingSig=new Promise((t,r)=>{e.correspondingSigResolve=t,e.correspondingSigReject=r}),e.signatureData=n.default.fromAsync(async()=>(await e.correspondingSig).signatureData),e.hashed=n.default.readToEnd(await e.hash(e.signatureType,s[0],void 0,!1,r)),e.hashed.catch(()=>{})})),i.packets.stream=n.default.transformPair(i.packets.stream,async(e,t)=>{const r=n.default.getReader(e),i=n.default.getWriter(t);try{for(let e=0;e{e.correspondingSigReject(o)}),await i.abort(o)}}),g(a,s,e,t,!1,r)):g(o,s,e,t,!1,r)},m.prototype.verifyDetached=function(e,t,r=new Date){const n=this.unwrapCompressed().packets.filterByTag(l.default.packet.literal);if(1!==n.length)throw new Error("Can only verify message with one literal data packet.");return g(e.packets,n,t,r,!0)},m.prototype.unwrapCompressed=function(){const e=this.packets.filterByTag(l.default.packet.compressed);return e.length?new m(e[0].packets):this},m.prototype.appendSignature=async function(e){await this.packets.read(c.default.isUint8Array(e)?e:(await i.default.decode(e)).data)},m.prototype.armor=function(){return i.default.encode(l.default.armor.message,this.packets.write())}},{"./config":79,"./crypto":94,"./encoding/armor":111,"./enums":113,"./key":118,"./packet":131,"./signature":151,"./type/keyid":154,"./util":158,"web-stream-tools":75}],127:[function(e,t,r){(function(t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.initWorker=async function({path:e="openpgp.worker.js",n:r=1,workers:n=[]}={}){if(n.length||void 0!==t&&t.Worker&&t.MessageChannel){const t=new d.default({path:e,n:r,workers:n,config:o.default});if(await t.loaded())return h=t,!0}return!1},r.getWorker=function(){return h},r.destroyWorker=async function(){const e=h;h=void 0,e&&(await e.clearKeyCache(),e.terminate())},r.generateKey=function({userIds:e=[],passphrase:t="",numBits:r=2048,rsaBits:n=r,keyExpirationTime:i=0,curve:s="",date:o=new Date,subkeys:l=[{}]}){const d={userIds:e=p(e),passphrase:t,rsaBits:n,keyExpirationTime:i,curve:s,date:o,subkeys:l};if(c.default.getWebCryptoAll()&&n<2048)throw new Error("rsaBits should be 2048 or 4096, found: "+n);return!c.default.getWebCryptoAll()&&h?h.delegate("generateKey",d):(0,a.generate)(d).then(async e=>{const t=await e.getRevocationCertificate(o);return e.revocationSignatures=[],g({key:e,privateKeyArmored:e.armor(),publicKeyArmored:e.toPublic().armor(),revocationCertificate:t})}).catch(v.bind(null,"Error generating keypair"))},r.reformatKey=function({privateKey:e,userIds:t=[],passphrase:r="",keyExpirationTime:n=0,date:i}){const s={privateKey:e,userIds:t=p(t),passphrase:r,keyExpirationTime:n,date:i};return h?h.delegate("reformatKey",s):(0,a.reformat)(s).then(async e=>{const t=await e.getRevocationCertificate(i);return e.revocationSignatures=[],g({key:e,privateKeyArmored:e.armor(),publicKeyArmored:e.toPublic().armor(),revocationCertificate:t})}).catch(v.bind(null,"Error reformatting keypair"))},r.revokeKey=function({key:e,revocationCertificate:t,reasonForRevocation:r}={}){const n={key:e,revocationCertificate:t,reasonForRevocation:r};return!c.default.getWebCryptoAll()&&h?h.delegate("revokeKey",n):Promise.resolve().then(()=>t?e.applyRevocationCertificate(t):e.revoke(r)).then(async e=>{if(await g(e),e.isPrivate()){const t=e.toPublic();return{privateKey:e,privateKeyArmored:e.armor(),publicKey:t,publicKeyArmored:t.armor()}}return{publicKey:e,publicKeyArmored:e.armor()}}).catch(v.bind(null,"Error revoking key"))},r.decryptKey=function({privateKey:e,passphrase:t}){return h?h.delegate("decryptKey",{privateKey:e,passphrase:t}):Promise.resolve().then((async function(){return await e.decrypt(t),{key:e}})).catch(v.bind(null,"Error decrypting private key"))},r.encryptKey=function({privateKey:e,passphrase:t}){return h?h.delegate("encryptKey",{privateKey:e,passphrase:t}):Promise.resolve().then((async function(){return await e.encrypt(t),{key:e}})).catch(v.bind(null,"Error decrypting private key"))},r.encrypt=function({message:e,publicKeys:t,privateKeys:r,passwords:n,sessionKey:i,compression:s=o.default.compression,armor:a=!0,streaming:l=e&&e.fromStream,detached:c=!1,signature:d=null,returnSessionKey:u=!1,wildcard:m=!1,date:_=new Date,fromUserIds:y=[],toUserIds:b=[]}){if(f(e),t=p(t),r=p(r),n=p(n),y=p(y),b=p(b),!w()&&h)return h.delegate("encrypt",{message:e,publicKeys:t,privateKeys:r,passwords:n,sessionKey:i,compression:s,armor:a,streaming:l,detached:c,signature:d,returnSessionKey:u,wildcard:m,date:_,fromUserIds:y,toUserIds:b});const k={};return Promise.resolve().then((async function(){if(r||(r=[]),r.length||d)if(c){const t=await e.signDetached(r,d,_,y,e.fromStream);k.signature=a?t.armor():t}else e=await e.sign(r,d,_,y,e.fromStream);return(e=e.compress(s)).encrypt(t,n,i,m,_,b,l)})).then(async e=>(a?k.data=e.message.armor():k.message=e.message,u&&(k.sessionKey=e.sessionKey),g(k,l,a?["signature","data"]:[]))).catch(v.bind(null,"Error encrypting message"))},r.decrypt=function({message:e,privateKeys:t,passwords:r,sessionKeys:n,publicKeys:i,format:s="utf8",streaming:a=e&&e.fromStream,signature:o=null,date:l=new Date}){return f(e),i=p(i),t=p(t),r=p(r),n=p(n),!w()&&h?h.delegate("decrypt",{message:e,privateKeys:t,passwords:r,sessionKeys:n,publicKeys:i,format:s,streaming:a,signature:o,date:l}):e.decrypt(t,r,n,a).then((async function(t){i||(i=[]);const r={};return r.signatures=o?await t.verifyDetached(o,i,l,a):await t.verify(i,l,a),r.data="binary"===s?t.getLiteralData():t.getText(),r.filename=t.getFilename(),a&&y(r,e),r.data=await _(r.data,a),a||await b(r.signatures),r})).catch(v.bind(null,"Error decrypting message"))},r.sign=function({message:e,privateKeys:t,armor:r=!0,streaming:i=e&&e.fromStream,detached:s=!1,date:a=new Date,fromUserIds:o=[]}){if(m(e),t=p(t),o=p(o),h)return h.delegate("sign",{message:e,privateKeys:t,armor:r,streaming:i,detached:s,date:a,fromUserIds:o});const l={};return Promise.resolve().then((async function(){if(s){const i=await e.signDetached(t,void 0,a,o,e.fromStream);l.signature=r?i.armor():i,e.packets&&(l.signature=n.default.transformPair(e.packets.write(),async(e,t)=>{await Promise.all([n.default.pipe(l.signature,t),n.default.readToEnd(e).catch(()=>{})])}))}else e=await e.sign(t,void 0,a,o,e.fromStream),r?l.data=e.armor():l.message=e;return g(l,i,r?["signature","data"]:[])})).catch(v.bind(null,"Error signing cleartext message"))},r.verify=function({message:e,publicKeys:t,streaming:r=e&&e.fromStream,signature:n=null,date:i=new Date}){return m(e),t=p(t),h?h.delegate("verify",{message:e,publicKeys:t,streaming:r,signature:n,date:i}):Promise.resolve().then((async function(){const a={};return a.signatures=n?await e.verifyDetached(n,t,i,r):await e.verify(t,i,r),a.data=e instanceof s.CleartextMessage?e.getText():e.getLiteralData(),r&&y(a,e),a.data=await _(a.data,r),r||await b(a.signatures),a})).catch(v.bind(null,"Error verifying cleartext signed message"))},r.encryptSessionKey=function({data:e,algorithm:t,aeadAlgorithm:r,publicKeys:n,passwords:s,wildcard:a=!1,date:o=new Date,toUserIds:l=[]}){return function(e,t){if(!c.default.isUint8Array(e))throw new Error("Parameter [data] must be of type Uint8Array")}(e),function(e,t){if(!c.default.isString(e))throw new Error("Parameter [algorithm] must be of type String")}(t),n=p(n),s=p(s),l=p(l),h?h.delegate("encryptSessionKey",{data:e,algorithm:t,aeadAlgorithm:r,publicKeys:n,passwords:s,wildcard:a,date:o,toUserIds:l}):Promise.resolve().then((async function(){return{message:await i.encryptSessionKey(e,t,r,n,s,a,o,l)}})).catch(v.bind(null,"Error encrypting session key"))},r.decryptSessionKeys=function({message:e,privateKeys:t,passwords:r}){return f(e),t=p(t),r=p(r),h?h.delegate("decryptSessionKeys",{message:e,privateKeys:t,passwords:r}):Promise.resolve().then((async function(){return e.decryptSessionKeys(t,r)})).catch(v.bind(null,"Error decrypting session keys"))};var n=u(e("web-stream-tools")),i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(e("./message")),s=e("./cleartext"),a=e("./key"),o=u(e("./config/config")),l=u(e("./enums"));e("./polyfills");var c=u(e("./util")),d=u(e("./worker/async_proxy"));function u(e){return e&&e.__esModule?e:{default:e}}let h;function f(e){if(!(e instanceof i.Message))throw new Error("Parameter [message] needs to be of type Message")}function m(e){if(!(e instanceof s.CleartextMessage||e instanceof i.Message))throw new Error("Parameter [message] needs to be of type Message or CleartextMessage")}function p(e){return e&&!c.default.isArray(e)&&(e=[e]),e}async function _(e,t){return!t&&c.default.isStream(e)?n.default.readToEnd(e):(t&&!c.default.isStream(e)&&(e=new ReadableStream({start(t){t.enqueue(e),t.close()}})),"node"===t&&(e=n.default.webToNode(e)),e)}async function g(e,t,r=[]){return Object.prototype.isPrototypeOf(e)&&!Uint8Array.prototype.isPrototypeOf(e)&&await Promise.all(Object.entries(e).map(async([n,i])=>{c.default.isStream(i)||r.includes(n)?e[n]=await _(i,t):await g(e[n],t)})),e}function y(e,t){e.data=n.default.transformPair(t.packets.stream,async(t,r)=>{await n.default.pipe(e.data,r)})}async function b(e){await Promise.all(e.map(async e=>{e.signature=await e.signature;try{e.valid=await e.verified}catch(t){e.valid=!1,e.error=t,c.default.print_debug_error(t)}}))}function v(e,t){c.default.print_debug_error(t);try{t.message=e+": "+t.message}catch(r){}throw t}function w(){return o.default.aead_protect&&(o.default.aead_mode===l.default.aead.eax||o.default.aead_mode===l.default.aead.experimental_gcm)&&c.default.getWebCrypto()}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./cleartext":77,"./config/config":78,"./enums":113,"./key":118,"./message":126,"./polyfills":150,"./util":158,"./worker/async_proxy":160,"web-stream-tools":75}],128:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Trust=r.Signature=r.SecretSubkey=r.Userid=r.SecretKey=r.OnePassSignature=r.UserAttribute=r.PublicSubkey=r.Marker=r.SymmetricallyEncrypted=r.PublicKey=r.Literal=r.SymEncryptedSessionKey=r.PublicKeyEncryptedSessionKey=r.SymEncryptedAEADProtected=r.SymEncryptedIntegrityProtected=r.Compressed=void 0;var n=e("./compressed.js");Object.defineProperty(r,"Compressed",{enumerable:!0,get:function(){return k(n).default}});var i=e("./sym_encrypted_integrity_protected.js");Object.defineProperty(r,"SymEncryptedIntegrityProtected",{enumerable:!0,get:function(){return k(i).default}});var s=e("./sym_encrypted_aead_protected.js");Object.defineProperty(r,"SymEncryptedAEADProtected",{enumerable:!0,get:function(){return k(s).default}});var a=e("./public_key_encrypted_session_key.js");Object.defineProperty(r,"PublicKeyEncryptedSessionKey",{enumerable:!0,get:function(){return k(a).default}});var o=e("./sym_encrypted_session_key.js");Object.defineProperty(r,"SymEncryptedSessionKey",{enumerable:!0,get:function(){return k(o).default}});var l=e("./literal.js");Object.defineProperty(r,"Literal",{enumerable:!0,get:function(){return k(l).default}});var c=e("./public_key.js");Object.defineProperty(r,"PublicKey",{enumerable:!0,get:function(){return k(c).default}});var d=e("./symmetrically_encrypted.js");Object.defineProperty(r,"SymmetricallyEncrypted",{enumerable:!0,get:function(){return k(d).default}});var u=e("./marker.js");Object.defineProperty(r,"Marker",{enumerable:!0,get:function(){return k(u).default}});var h=e("./public_subkey.js");Object.defineProperty(r,"PublicSubkey",{enumerable:!0,get:function(){return k(h).default}});var f=e("./user_attribute.js");Object.defineProperty(r,"UserAttribute",{enumerable:!0,get:function(){return k(f).default}});var m=e("./one_pass_signature.js");Object.defineProperty(r,"OnePassSignature",{enumerable:!0,get:function(){return k(m).default}});var p=e("./secret_key.js");Object.defineProperty(r,"SecretKey",{enumerable:!0,get:function(){return k(p).default}});var _=e("./userid.js");Object.defineProperty(r,"Userid",{enumerable:!0,get:function(){return k(_).default}});var g=e("./secret_subkey.js");Object.defineProperty(r,"SecretSubkey",{enumerable:!0,get:function(){return k(g).default}});var y=e("./signature.js");Object.defineProperty(r,"Signature",{enumerable:!0,get:function(){return k(y).default}});var b=e("./trust.js");Object.defineProperty(r,"Trust",{enumerable:!0,get:function(){return k(b).default}}),r.newPacketFromTag=M,r.fromStructuredClone=function(e){const t=M(v.default.read(v.default.packet,e.tag));return Object.assign(t,e),t.postCloneTypeFix&&t.postCloneTypeFix(),t};var v=k(e("../enums.js")),w=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(e("./all_packets.js"));function k(e){return e&&e.__esModule?e:{default:e}}function M(e){return new(w[function(e){return e.substr(0,1).toUpperCase()+e.substr(1)}(e)])}},{"../enums.js":113,"./all_packets.js":128,"./compressed.js":130,"./literal.js":132,"./marker.js":133,"./one_pass_signature.js":134,"./public_key.js":137,"./public_key_encrypted_session_key.js":138,"./public_subkey.js":139,"./secret_key.js":140,"./secret_subkey.js":141,"./signature.js":142,"./sym_encrypted_aead_protected.js":143,"./sym_encrypted_integrity_protected.js":144,"./sym_encrypted_session_key.js":145,"./symmetrically_encrypted.js":146,"./trust.js":147,"./user_attribute.js":148,"./userid.js":149}],129:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.clonePackets=function(e){return e.publicKeys&&(e.publicKeys=e.publicKeys.map(e=>e.toPacketlist())),e.privateKeys&&(e.privateKeys=e.privateKeys.map(e=>e.toPacketlist())),e.publicKey&&(e.publicKey=e.publicKey.toPacketlist()),e.privateKey&&(e.privateKey=e.privateKey.toPacketlist()),e.key&&(e.key=e.key.toPacketlist()),e.message&&(e.message instanceof s.Message?e.message={packets:e.message.packets,fromStream:e.message.fromStream}:e.message instanceof a.CleartextMessage&&(e.message={text:e.message.text,signature:e.message.signature.packets})),e.signature&&e.signature instanceof o.Signature&&(e.signature=e.signature.packets),e.signatures&&e.signatures.forEach(h),e},r.parseClonedPackets=function(e){return e.publicKeys&&(e.publicKeys=e.publicKeys.map(f)),e.privateKeys&&(e.privateKeys=e.privateKeys.map(f)),e.publicKey&&(e.publicKey=f(e.publicKey)),e.privateKey&&(e.privateKey=f(e.privateKey)),e.key&&(e.key=f(e.key)),e.message&&e.message.signature?e.message=function(e){const t=l.default.fromStructuredClone(e.signature);return new a.CleartextMessage(e.text,new o.Signature(t))}(e.message):e.message&&(e.message=function(e){const t=l.default.fromStructuredClone(e.packets),r=new s.Message(t);return r.fromStream=e.fromStream,r}(e.message)),e.signatures&&(e.signatures=e.signatures.map(m)),e.signature&&(e.signature=function(e){if(d.default.isString(e)||d.default.isStream(e))return e;const t=l.default.fromStructuredClone(e);return new o.Signature(t)}(e.signature)),e};var n=u(e("web-stream-tools")),i=e("../key"),s=e("../message"),a=e("../cleartext"),o=e("../signature"),l=u(e("./packetlist")),c=u(e("../type/keyid")),d=u(e("../util"));function u(e){return e&&e.__esModule?e:{default:e}}function h(e){const t=e.verified;if(e.verified=n.default.fromAsync(()=>t),e.signature instanceof Promise){const r=e.signature;e.signature=n.default.fromAsync(async()=>{const e=(await r).packets;try{await t}catch(n){}return e&&e[0]&&(delete e[0].signature,delete e[0].hashed),e})}else e.signature=e.signature.packets;return e.error&&(e.error=e.error.message),e}function f(e){const t=l.default.fromStructuredClone(e);return new i.Key(t)}function m(e){return e.keyid=c.default.fromClone(e.keyid),d.default.isStream(e.signature)?(e.signature=n.default.readToEnd(e.signature,([e])=>new o.Signature(l.default.fromStructuredClone(e))),e.signature.catch(()=>{})):e.signature=new o.Signature(l.default.fromStructuredClone(e.signature)),e.verified=n.default.readToEnd(e.verified,([e])=>e),e.verified.catch(()=>{}),e.error&&(e.error=new Error(e.error)),e}},{"../cleartext":77,"../key":118,"../message":126,"../signature":151,"../type/keyid":154,"../util":158,"./packetlist":136,"web-stream-tools":75}],130:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=c(e("pako")),i=c(e("seek-bzip")),s=c(e("web-stream-tools")),a=c(e("../config")),o=c(e("../enums")),l=c(e("../util"));function c(e){return e&&e.__esModule?e:{default:e}}function d(){this.tag=o.default.packet.compressed,this.packets=null,this.algorithm="zip",this.compressed=null}d.prototype.read=async function(e,t){await s.default.parse(e,async e=>{this.algorithm=o.default.read(o.default.compression,await e.readByte()),this.compressed=e.remainder(),await this.decompress(t)})},d.prototype.write=function(){return null===this.compressed&&this.compress(),l.default.concat([new Uint8Array([o.default.write(o.default.compression,this.algorithm)]),this.compressed])},d.prototype.decompress=async function(e){if(!g[this.algorithm])throw new Error(this.algorithm+" decompression not supported");await this.packets.read(g[this.algorithm](this.compressed),e)},d.prototype.compress=function(){if(!_[this.algorithm])throw new Error(this.algorithm+" compression not supported");this.compressed=_[this.algorithm](this.packets.write())},r.default=d;const u=l.default.getNodeZlib();function h(e){return e}function f(e,t={}){return function(r){return s.default.nodeToWeb(s.default.webToNode(r).pipe(e(t)))}}function m(e,t={}){return function(r){const i=new e(t);return s.default.transform(r,e=>{if(e.length)return i.push(e,n.default.Z_SYNC_FLUSH),i.result},()=>{if(e===n.default.Deflate)return i.push([],n.default.Z_FINISH),i.result})}}function p(e){return function(t){return s.default.fromAsync(async()=>e(await s.default.readToEnd(t)))}}let _,g;u?(_={zip:f(u.createDeflateRaw,{level:a.default.deflate_level}),zlib:f(u.createDeflate,{level:a.default.deflate_level})},g={uncompressed:h,zip:f(u.createInflateRaw),zlib:f(u.createInflate),bzip2:p(i.default.decode)}):(_={zip:m(n.default.Deflate,{raw:!0,level:a.default.deflate_level}),zlib:m(n.default.Deflate,{level:a.default.deflate_level})},g={uncompressed:h,zip:m(n.default.Inflate,{raw:!0}),zlib:m(n.default.Inflate),bzip2:p(i.default.decode)})},{"../config":79,"../enums":113,"../util":158,pako:50,"seek-bzip":69,"web-stream-tools":75}],131:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=s(e("./all_packets")),i=s(e("./clone"));function s(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}const a={List:(o=e("./packetlist"),o&&o.__esModule?o:{default:o}).default,clone:i};var o;Object.assign(a,n),r.default=a},{"./all_packets":128,"./clone":129,"./packetlist":136}],132:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=a(e("web-stream-tools")),i=a(e("../enums")),s=a(e("../util"));function a(e){return e&&e.__esModule?e:{default:e}}function o(e=new Date){this.tag=i.default.packet.literal,this.format="utf8",this.date=s.default.normalizeDate(e),this.text=null,this.data=null,this.filename="msg.txt"}o.prototype.setText=function(e,t="utf8"){this.format=t,this.text=e,this.data=null},o.prototype.getText=function(e=!1){return(null===this.text||s.default.isStream(this.text))&&(this.text=s.default.decode_utf8(s.default.nativeEOL(this.getBytes(e)))),this.text},o.prototype.setBytes=function(e,t){this.format=t,this.data=e,this.text=null},o.prototype.getBytes=function(e=!1){return null===this.data&&(this.data=s.default.canonicalizeEOL(s.default.encode_utf8(this.text))),e?n.default.passiveClone(this.data):this.data},o.prototype.setFilename=function(e){this.filename=e},o.prototype.getFilename=function(){return this.filename},o.prototype.read=async function(e){await n.default.parse(e,async e=>{const t=i.default.read(i.default.literal,await e.readByte()),r=await e.readByte();this.filename=s.default.decode_utf8(await e.readBytes(r)),this.date=s.default.readDate(await e.readBytes(4));const n=e.remainder();this.setBytes(n,t)})},o.prototype.writeHeader=function(){const e=s.default.encode_utf8(this.filename),t=new Uint8Array([e.length]),r=new Uint8Array([i.default.write(i.default.literal,this.format)]),n=s.default.writeDate(this.date);return s.default.concatUint8Array([r,t,e,n])},o.prototype.write=function(){const e=this.writeHeader(),t=this.getBytes();return s.default.concat([e,t])},r.default=o},{"../enums":113,"../util":158,"web-stream-tools":75}],133:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n,i=(n=e("../enums"))&&n.__esModule?n:{default:n};function s(){this.tag=i.default.packet.marker}s.prototype.read=function(e){return 80===e[0]&&71===e[1]&&80===e[2]},r.default=s},{"../enums":113}],134:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=l(e("web-stream-tools")),i=l(e("./signature")),s=l(e("../type/keyid")),a=l(e("../enums")),o=l(e("../util"));function l(e){return e&&e.__esModule?e:{default:e}}function c(){this.tag=a.default.packet.onePassSignature,this.version=null,this.signatureType=null,this.hashAlgorithm=null,this.publicKeyAlgorithm=null,this.issuerKeyId=null,this.flags=null}c.prototype.read=function(e){let t=0;return this.version=e[t++],this.signatureType=e[t++],this.hashAlgorithm=e[t++],this.publicKeyAlgorithm=e[t++],this.issuerKeyId=new s.default,this.issuerKeyId.read(e.subarray(t,t+8)),t+=8,this.flags=e[t++],this},c.prototype.write=function(){const e=new Uint8Array([3,a.default.write(a.default.signature,this.signatureType),a.default.write(a.default.hash,this.hashAlgorithm),a.default.write(a.default.publicKey,this.publicKeyAlgorithm)]),t=new Uint8Array([this.flags]);return o.default.concatUint8Array([e,this.issuerKeyId.write(),t])},c.prototype.postCloneTypeFix=function(){this.issuerKeyId=s.default.fromClone(this.issuerKeyId)},c.prototype.hash=i.default.prototype.hash,c.prototype.toHash=i.default.prototype.toHash,c.prototype.toSign=i.default.prototype.toSign,c.prototype.calculateTrailer=function(...e){return n.default.fromAsync(async()=>i.default.prototype.calculateTrailer.apply(await this.correspondingSig,e))},c.prototype.verify=async function(){const e=await this.correspondingSig;if(!e||e.tag!==a.default.packet.signature)throw new Error("Corresponding signature packet missing");if(e.signatureType!==this.signatureType||e.hashAlgorithm!==this.hashAlgorithm||e.publicKeyAlgorithm!==this.publicKeyAlgorithm||!e.issuerKeyId.equals(this.issuerKeyId))throw new Error("Corresponding signature packet does not match one-pass signature packet");return e.hashed=this.hashed,e.verify.apply(e,arguments)},r.default=c},{"../enums":113,"../type/keyid":154,"../util":158,"./signature":142,"web-stream-tools":75}],135:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=a(e("web-stream-tools")),i=a(e("../enums")),s=a(e("../util"));function a(e){return e&&e.__esModule?e:{default:e}}r.default={readSimpleLength:function(e){let t,r=0;const n=e[0];return n<192?(r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,s=void 0;try{for(var a,o=e[Symbol.iterator]();!(n=(a=o.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(l){i=!0,s=l}finally{try{!n&&o.return&&o.return()}finally{if(i)throw s}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(e,1)[0],t=1):n<255?(r=(e[0]-192<<8)+e[1]+192,t=2):255===n&&(r=s.default.readNumber(e.subarray(1,5)),t=5),{len:r,offset:t}},writeSimpleLength:function(e){return e<192?new Uint8Array([e]):e>191&&e<8384?new Uint8Array([192+(e-192>>8),e-192&255]):s.default.concatUint8Array([new Uint8Array([255]),s.default.writeNumber(e,4)])},writePartialLength:function(e){if(e<0||e>30)throw new Error("Partial Length power must be between 1 and 30");return new Uint8Array([224+e])},writeTag:function(e){return new Uint8Array([192|e])},writeHeader:function(e,t){return s.default.concatUint8Array([this.writeTag(e),this.writeSimpleLength(t)])},supportsStreaming:function(e){return[i.default.packet.literal,i.default.packet.compressed,i.default.packet.symmetricallyEncrypted,i.default.packet.symEncryptedIntegrityProtected,i.default.packet.symEncryptedAEADProtected].includes(e)},read:async function(e,t,r){const i=n.default.getReader(e);let a,o;try{const e=await i.peekBytes(2);if(!e||e.length<2||0==(128&e[0]))throw new Error("Error during parsing. This message / key probably does not conform to a valid OpenPGP format.");const c=await i.readByte();let d,u,h=-1,f=-1;f=0,0!=(64&c)&&(f=1),f?h=63&c:(h=(63&c)>>2,u=3&c);const m=this.supportsStreaming(h);let p,_=null;if(t&&m){const e=new TransformStream;a=n.default.getWriter(e.writable),_=e.readable,o=r({tag:h,packet:_})}else _=[];do{if(f){const e=await i.readByte();if(p=!1,e<192)d=e;else if(e>=192&&e<224)d=(e-192<<8)+await i.readByte()+192;else if(e>223&&e<255){if(d=1<<(31&e),p=!0,!m)throw new TypeError("This packet type does not support partial lengths.")}else d=await i.readByte()<<24|await i.readByte()<<16|await i.readByte()<<8|await i.readByte()}else switch(u){case 0:d=await i.readByte();break;case 1:d=await i.readByte()<<8|await i.readByte();break;case 2:d=await i.readByte()<<24|await i.readByte()<<16|await i.readByte()<<8|await i.readByte();break;default:d=1/0}if(d>0){let e=0;for(;;){a&&await a.ready;var l=await i.read();const t=l.value;if(l.done){if(d===1/0)break;throw new Error("Unexpected end of packet")}const r=d===1/0?t:t.subarray(0,d-e);if(a?await a.write(r):_.push(r),e+=t.length,e>=d){i.unshift(t.subarray(d-e+t.length));break}}}}while(p);const g=await i.peekBytes(m?1/0:2);return a?(await a.ready,await a.close()):(_=s.default.concatUint8Array(_),await r({tag:h,packet:_})),!g||!g.length}catch(c){if(a)return await a.abort(c),!0;throw c}finally{a&&await o,i.releaseLock()}}}},{"../enums":113,"../util":158,"web-stream-tools":75}],136:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=c(e("web-stream-tools")),i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(e("./all_packets")),s=c(e("./packet")),a=c(e("../config")),o=c(e("../enums")),l=c(e("../util"));function c(e){return e&&e.__esModule?e:{default:e}}function d(){this.length=0}(d.prototype=[]).read=async function(e,t){this.stream=n.default.transformPair(e,async(e,r)=>{const c=n.default.getWriter(r);try{for(;;)if(await c.ready,await s.default.read(e,t,async e=>{try{const r=o.default.read(o.default.packet,e.tag),n=i.newPacketFromTag(r);n.packets=new d,n.fromStream=l.default.isStream(e.packet),await n.read(e.packet,t),await c.write(n)}catch(r){a.default.tolerant&&!s.default.supportsStreaming(e.tag)||await c.abort(r),l.default.print_debug_error(r)}}))return await c.ready,void(await c.close())}catch(u){await c.abort(u)}});const r=n.default.getReader(this.stream);for(;;){var c=await r.read();const e=c.done,t=c.value;if(e?this.stream=null:this.push(t),e||s.default.supportsStreaming(t.tag))break}r.releaseLock()},d.prototype.write=function(){const e=[];for(let t=0;t{if(i.push(e),a+=e.length,a>=o){const e=Math.min(Math.log(a)/Math.LN2|0,30),t=2**e,r=l.default.concat([s.default.writePartialLength(e)].concat(i));return i=[r.subarray(1+t)],a=i[0].length,r.subarray(0,1+t)}},()=>l.default.concat([s.default.writeSimpleLength(a)].concat(i))))}else{if(l.default.isStream(r)){let i=0;e.push(n.default.transform(n.default.clone(r),e=>{i+=e.length},()=>s.default.writeHeader(this[t].tag,i)))}else e.push(s.default.writeHeader(this[t].tag,r.length));e.push(r)}}return l.default.concat(e)},d.prototype.push=function(e){e&&(e.packets=e.packets||new d,this[this.length]=e,this.length++)},d.prototype.filterByTag=function(...e){const t=new d,r=e=>t=>e===t;for(let n=0;nt.tag===e)},d.prototype.indexOfTag=function(...e){const t=[],r=this,n=e=>t=>e===t;for(let i=0;ii.fromStructuredClone(e))),t},r.default=d},{"../config":79,"../enums":113,"../util":158,"./all_packets":128,"./packet":135,"web-stream-tools":75}],137:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=e("asmcrypto.js/dist_es5/hash/sha1/sha1"),i=e("asmcrypto.js/dist_es5/hash/sha256/sha256"),s=u(e("../type/keyid")),a=u(e("../type/mpi")),o=u(e("../config")),l=u(e("../crypto")),c=u(e("../enums")),d=u(e("../util"));function u(e){return e&&e.__esModule?e:{default:e}}function h(e=new Date){this.tag=c.default.packet.publicKey,this.version=o.default.v5_keys?5:4,this.created=d.default.normalizeDate(e),this.algorithm=null,this.params=[],this.expirationTimeV3=0,this.fingerprint=null,this.keyid=null}h.prototype.readPublicKey=h.prototype.read=function(e){let t=0;if(this.version=e[t++],4===this.version||5===this.version){this.created=d.default.readDate(e.subarray(t,t+4)),t+=4,this.algorithm=c.default.read(c.default.publicKey,e[t++]);const r=c.default.write(c.default.publicKey,this.algorithm);5===this.version&&(t+=4);const n=l.default.getPubKeyParamTypes(r);this.params=l.default.constructParams(n);for(let i=0;ie.length)throw new Error("Error reading MPI @:"+t);return t}throw new Error("Version "+this.version+" of the key packet is unsupported.")},h.prototype.writePublicKey=h.prototype.write=function(){const e=[];e.push(new Uint8Array([this.version])),e.push(d.default.writeDate(this.created));const t=c.default.write(c.default.publicKey,this.algorithm);e.push(new Uint8Array([t]));const r=l.default.getPubKeyParamTypes(t).length,n=d.default.concatUint8Array(this.params.slice(0,r).map(e=>e.write()));return 5===this.version&&e.push(d.default.writeNumber(n.length,4)),e.push(n),d.default.concatUint8Array(e)},h.prototype.writeForHash=function(e){const t=this.writePublicKey();return d.default.concatUint8Array(5===e?[new Uint8Array([154]),d.default.writeNumber(t.length,4),t]:[new Uint8Array([153]),d.default.writeNumber(t.length,2),t])},h.prototype.isDecrypted=function(){return null},h.prototype.getCreationTime=function(){return this.created},h.prototype.getKeyId=function(){return this.keyid||(this.keyid=new s.default,5===this.version?this.keyid.read(d.default.hex_to_Uint8Array(this.getFingerprint()).subarray(0,8)):4===this.version&&this.keyid.read(d.default.hex_to_Uint8Array(this.getFingerprint()).subarray(12,20))),this.keyid},h.prototype.getFingerprintBytes=function(){if(this.fingerprint)return this.fingerprint;const e=this.writeForHash(this.version);return 5===this.version?this.fingerprint=i.Sha256.bytes(e):4===this.version&&(this.fingerprint=n.Sha1.bytes(e)),this.fingerprint},h.prototype.getFingerprint=function(){return d.default.Uint8Array_to_hex(this.getFingerprintBytes())},h.prototype.hasSameFingerprintAs=function(e){return this.version===e.version&&d.default.equalsUint8Array(this.writePublicKey(),e.writePublicKey())},h.prototype.getAlgorithmInfo=function(){const e={};return e.algorithm=this.algorithm,this.params[0]instanceof a.default?(e.rsaBits=8*this.params[0].byteLength(),e.bits=e.rsaBits):e.curve=this.params[0].getName(),e},h.prototype.postCloneTypeFix=function(){const e=c.default.write(c.default.publicKey,this.algorithm),t=l.default.getPubKeyParamTypes(e);for(let r=0;re.length)throw new Error("Error reading param @:"+s);return i}function h(e,t){const r=[],n=o.default.write(o.default.publicKey,t);for(let i=a.default.getPubKeyParamTypes(n).length;i{e.data.fill(0)}),this.params.length=t,this.isEncrypted=!0},d.prototype.postCloneTypeFix=function(){const e=o.default.write(o.default.publicKey,this.algorithm),t=[].concat(a.default.getPubKeyParamTypes(e),a.default.getPrivKeyParamTypes(e));for(let r=0;ro.default.signature.sign(a,d,m,h,await n.default.readToEnd(f));return i?this.signature=n.default.fromAsync(p):(this.signature=await p(),this.verified=!0),!0},h.prototype.write_hashed_sub_packets=function(){const e=l.default.signatureSubpacket,t=[];let r;null!==this.created&&t.push(f(e.signature_creation_time,c.default.writeDate(this.created))),null!==this.signatureExpirationTime&&t.push(f(e.signature_expiration_time,c.default.writeNumber(this.signatureExpirationTime,4))),null!==this.exportable&&t.push(f(e.exportable_certification,new Uint8Array([this.exportable?1:0]))),null!==this.trustLevel&&(r=new Uint8Array([this.trustLevel,this.trustAmount]),t.push(f(e.trust_signature,r))),null!==this.regularExpression&&t.push(f(e.regular_expression,this.regularExpression)),null!==this.revocable&&t.push(f(e.revocable,new Uint8Array([this.revocable?1:0]))),null!==this.keyExpirationTime&&t.push(f(e.key_expiration_time,c.default.writeNumber(this.keyExpirationTime,4))),null!==this.preferredSymmetricAlgorithms&&(r=c.default.str_to_Uint8Array(c.default.Uint8Array_to_str(this.preferredSymmetricAlgorithms)),t.push(f(e.preferred_symmetric_algorithms,r))),null!==this.revocationKeyClass&&(r=new Uint8Array([this.revocationKeyClass,this.revocationKeyAlgorithm]),r=c.default.concat([r,this.revocationKeyFingerprint]),t.push(f(e.revocation_key,r))),this.rawNotations.forEach(([{name:n,value:i,humanReadable:s}])=>{r=[new Uint8Array([s?128:0,0,0,0])],r.push(c.default.writeNumber(n.length,2)),r.push(c.default.writeNumber(i.length,2)),r.push(c.default.str_to_Uint8Array(n)),r.push(i),r=c.default.concat(r),t.push(f(e.notation_data,r))}),null!==this.preferredHashAlgorithms&&(r=c.default.str_to_Uint8Array(c.default.Uint8Array_to_str(this.preferredHashAlgorithms)),t.push(f(e.preferred_hash_algorithms,r))),null!==this.preferredCompressionAlgorithms&&(r=c.default.str_to_Uint8Array(c.default.Uint8Array_to_str(this.preferredCompressionAlgorithms)),t.push(f(e.preferred_compression_algorithms,r))),null!==this.keyServerPreferences&&(r=c.default.str_to_Uint8Array(c.default.Uint8Array_to_str(this.keyServerPreferences)),t.push(f(e.key_server_preferences,r))),null!==this.preferredKeyServer&&t.push(f(e.preferred_key_server,c.default.str_to_Uint8Array(this.preferredKeyServer))),null!==this.isPrimaryUserID&&t.push(f(e.primary_user_id,new Uint8Array([this.isPrimaryUserID?1:0]))),null!==this.policyURI&&t.push(f(e.policy_uri,c.default.str_to_Uint8Array(this.policyURI))),null!==this.keyFlags&&(r=c.default.str_to_Uint8Array(c.default.Uint8Array_to_str(this.keyFlags)),t.push(f(e.key_flags,r))),null!==this.signersUserId&&t.push(f(e.signers_user_id,c.default.str_to_Uint8Array(this.signersUserId))),null!==this.reasonForRevocationFlag&&(r=c.default.str_to_Uint8Array(String.fromCharCode(this.reasonForRevocationFlag)+this.reasonForRevocationString),t.push(f(e.reason_for_revocation,r))),null!==this.features&&(r=c.default.str_to_Uint8Array(c.default.Uint8Array_to_str(this.features)),t.push(f(e.features,r))),null!==this.signatureTargetPublicKeyAlgorithm&&(r=[new Uint8Array([this.signatureTargetPublicKeyAlgorithm,this.signatureTargetHashAlgorithm])],r.push(c.default.str_to_Uint8Array(this.signatureTargetHash)),r=c.default.concat(r),t.push(f(e.signature_target,r))),null!==this.preferredAeadAlgorithms&&(r=c.default.str_to_Uint8Array(c.default.Uint8Array_to_str(this.preferredAeadAlgorithms)),t.push(f(e.preferred_aead_algorithms,r)));const n=c.default.concat(t),i=c.default.writeNumber(n.length,2);return c.default.concat([i,n])},h.prototype.write_unhashed_sub_packets=function(){const e=l.default.signatureSubpacket,t=[];let r;this.issuerKeyId.isNull()||5===this.issuerKeyVersion||t.push(f(e.issuer,this.issuerKeyId.write())),null!==this.embeddedSignature&&t.push(f(e.embedded_signature,this.embeddedSignature.write())),null!==this.issuerFingerprint&&(r=[new Uint8Array([this.issuerKeyVersion]),this.issuerFingerprint],r=c.default.concat(r),t.push(f(e.issuer_fingerprint,r))),this.unhashedSubpackets.forEach(e=>{t.push(i.default.writeSimpleLength(e.length)),t.push(e)});const n=c.default.concat(t),s=c.default.writeNumber(n.length,2);return c.default.concat([s,n])},h.prototype.read_sub_packet=function(e,t=!0){let r=0;const n=(e,t)=>{this[e]=[];for(let r=0;r{r+=e.length},()=>{const n=[];return 5!==this.version||this.signatureType!==l.default.signature.binary&&this.signatureType!==l.default.signature.text||n.push(t?new Uint8Array(6):e.writeHeader()),n.push(new Uint8Array([this.version,255])),5===this.version&&n.push(new Uint8Array(4)),n.push(c.default.writeNumber(r,4)),c.default.concat(n)})},h.prototype.toHash=function(e,t,r=!1){const n=this.toSign(e,t);return c.default.concat([n,this.signatureData,this.calculateTrailer(t,r)])},h.prototype.hash=async function(e,t,r,i=!1,s=!0){const a=l.default.write(l.default.hash,this.hashAlgorithm);return r||(r=this.toHash(e,t,i)),!s&&c.default.isStream(r)?n.default.fromAsync(async()=>this.hash(e,t,await n.default.readToEnd(r),i)):o.default.hash.digest(a,r)},h.prototype.verify=async function(e,t,r,i=!1,s=!1){const c=l.default.write(l.default.publicKey,this.publicKeyAlgorithm),u=l.default.write(l.default.hash,this.hashAlgorithm);if(c!==l.default.write(l.default.publicKey,e.algorithm))throw new Error("Public key algorithm used to sign signature does not match issuer key algorithm.");let h,f;if(this.hashed?f=await this.hashed:(h=this.toHash(t,r,i),s||(h=await n.default.readToEnd(h)),f=await this.hash(t,r,h)),f=await n.default.readToEnd(f),this.signedHashValue[0]!==f[0]||this.signedHashValue[1]!==f[1])throw new Error("Message digest did not match");let m=0;c>0&&c<4?m=1:c!==l.default.publicKey.dsa&&c!==l.default.publicKey.ecdsa&&c!==l.default.publicKey.eddsa||(m=2);const p=c===l.default.publicKey.eddsa?"le":"be",_=[];let g=0;this.signature=await n.default.readToEnd(this.signature);for(let n=0;n{if(1!==await e.readByte())throw new Error("Invalid packet version.");this.cipherAlgo=await e.readByte(),this.aeadAlgo=await e.readByte(),this.chunkSizeByte=await e.readByte();const t=s.default[a.default.read(a.default.aead,this.aeadAlgo)];this.iv=await e.readBytes(t.ivLength),this.encrypted=e.remainder()})},c.prototype.write=function(){return o.default.concat([new Uint8Array([this.version,this.cipherAlgo,this.aeadAlgo,this.chunkSizeByte]),this.iv,this.encrypted])},c.prototype.decrypt=async function(e,t,r){return await this.packets.read(await this.crypt("decrypt",t,n.default.clone(this.encrypted),r),r),!0},c.prototype.encrypt=async function(e,t,r){this.cipherAlgo=a.default.write(a.default.symmetric,e),this.aeadAlgo=a.default.write(a.default.aead,this.aeadAlgorithm);const n=s.default[a.default.read(a.default.aead,this.aeadAlgo)];this.iv=await s.default.random.getRandomBytes(n.ivLength),this.chunkSizeByte=i.default.aead_chunk_size_byte;const o=this.packets.write();this.encrypted=await this.crypt("encrypt",t,o,r)},c.prototype.crypt=async function(e,t,r,i){const l=a.default.read(a.default.symmetric,this.cipherAlgo),c=s.default[a.default.read(a.default.aead,this.aeadAlgo)],d=await c(l,t),u="decrypt"===e?c.tagLength:0,h="encrypt"===e?c.tagLength:0,f=2**(this.chunkSizeByte+6)+u,m=new ArrayBuffer(21),p=new Uint8Array(m,0,13),_=new Uint8Array(m),g=new DataView(m),y=new Uint8Array(m,5,8);p.set([192|this.tag,this.version,this.cipherAlgo,this.aeadAlgo,this.chunkSizeByte],0);let b=0,v=Promise.resolve(),w=0,k=0;const M=this.iv;return n.default.transformPair(r,async(t,r)=>{const s=n.default.getReader(t),a=new TransformStream({},{highWaterMark:i?o.default.getHardwareConcurrency()*2**(this.chunkSizeByte+6):1/0,size:e=>e.length});n.default.pipe(a.readable,r);const l=n.default.getWriter(a.writable);try{for(;;){let t=await s.readBytes(f+u)||new Uint8Array;const r=t.subarray(t.length-u);let n,i;if(t=t.subarray(0,t.length-u),!b||t.length?(s.unshift(r),n=d[e](t,c.getNonce(M,y),p),k+=t.length-u+h):(g.setInt32(17,w),n=d[e](r,c.getNonce(M,y),_),k+=h,i=!0),w+=t.length-u,v=v.then(()=>n).then(async e=>{await l.ready,await l.write(e),k-=e.length}).catch(e=>l.abort(e)),(i||k>l.desiredSize)&&await v,i){await l.close();break}g.setInt32(9,++b)}}catch(m){await l.abort(m)}})}},{"../config":79,"../crypto":94,"../enums":113,"../util":158,"web-stream-tools":75}],144:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=l(e("web-stream-tools")),i=l(e("../config")),s=l(e("../crypto")),a=l(e("../enums")),o=l(e("../util"));function l(e){return e&&e.__esModule?e:{default:e}}function c(){this.tag=a.default.packet.symEncryptedIntegrityProtected,this.version=1,this.encrypted=null,this.modification=!1,this.packets=null}c.prototype.read=async function(e){await n.default.parse(e,async e=>{if(1!==await e.readByte())throw new Error("Invalid packet version.");this.encrypted=e.remainder()})},c.prototype.write=function(){return o.default.concat([new Uint8Array([1]),this.encrypted])},c.prototype.encrypt=async function(e,t,r){let i=this.packets.write();r||(i=await n.default.readToEnd(i));const a=await s.default.getPrefixRandom(e),l=new Uint8Array([211,20]),c=o.default.concat([a,i,l]),d=await s.default.hash.sha1(n.default.passiveClone(c)),u=o.default.concat([c,d]);return this.encrypted=await s.default.cfb.encrypt(e,t,u,new Uint8Array(s.default.cipher[e].blockSize)),!0},c.prototype.decrypt=async function(e,t,r){let a=n.default.clone(this.encrypted);r||(a=await n.default.readToEnd(a));const l=await s.default.cfb.decrypt(e,t,a,new Uint8Array(s.default.cipher[e].blockSize)),c=n.default.slice(n.default.passiveClone(l),-20),d=n.default.slice(l,0,-20),u=Promise.all([n.default.readToEnd(await s.default.hash.sha1(n.default.passiveClone(d))),n.default.readToEnd(c)]).then(([e,t])=>{if(!o.default.equalsUint8Array(e,t))throw new Error("Modification detected.");return new Uint8Array}),h=n.default.slice(d,s.default.cipher[e].blockSize+2);let f=n.default.slice(h,0,-2);return f=n.default.concat([f,n.default.fromAsync(()=>u)]),o.default.isStream(a)&&i.default.allow_unauthenticated_stream||(f=await n.default.readToEnd(f)),await this.packets.read(f,r),!0},r.default=c},{"../config":79,"../crypto":94,"../enums":113,"../util":158,"web-stream-tools":75}],145:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=l(e("../type/s2k")),i=l(e("../config")),s=l(e("../crypto")),a=l(e("../enums")),o=l(e("../util"));function l(e){return e&&e.__esModule?e:{default:e}}function c(){this.tag=a.default.packet.symEncryptedSessionKey,this.version=i.default.aead_protect?5:4,this.sessionKey=null,this.sessionKeyEncryptionAlgorithm=null,this.sessionKeyAlgorithm="aes256",this.aeadAlgorithm=a.default.read(a.default.aead,i.default.aead_mode),this.encrypted=null,this.s2k=null,this.iv=null}c.prototype.read=function(e){let t=0;this.version=e[t++];const r=a.default.read(a.default.symmetric,e[t++]);5===this.version&&(this.aeadAlgorithm=a.default.read(a.default.aead,e[t++])),this.s2k=new n.default,t+=this.s2k.read(e.subarray(t,e.length)),5===this.version&&(this.iv=e.subarray(t,t+=s.default[this.aeadAlgorithm].ivLength)),5===this.version||t=1){const t=e[0];if(e.length>=1+t)return this.data=e.subarray(1,1+t),1+this.data.length}throw new Error("Invalid symmetric key")},s.prototype.write=function(){return i.default.concatUint8Array([new Uint8Array([this.data.length]),this.data])},s.fromClone=function(e){return new s(e.data)},r.default=s},{"../util":158}],153:[function(e,t,r){"use strict";function n(e){if(e){const t=e.cipher;this.hash=e.hash,this.cipher=t}else this.hash=null,this.cipher=null}Object.defineProperty(r,"__esModule",{value:!0}),n.prototype.read=function(e){if(e.length<4||3!==e[0]||1!==e[1])throw new Error("Cannot read KDFParams");return this.hash=e[2],this.cipher=e[3],4},n.prototype.write=function(){return new Uint8Array([3,1,this.hash,this.cipher])},n.fromClone=function(e){return new n({hash:e.hash,cipher:e.cipher})},r.default=n},{}],154:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n,i=(n=e("../util.js"))&&n.__esModule?n:{default:n};function s(){this.bytes=""}s.prototype.read=function(e){this.bytes=i.default.Uint8Array_to_str(e.subarray(0,8))},s.prototype.write=function(){return i.default.str_to_Uint8Array(this.bytes)},s.prototype.toHex=function(){return i.default.str_to_hex(this.bytes)},s.prototype.equals=function(e,t=!1){return t&&(e.isWildcard()||this.isWildcard())||this.bytes===e.bytes},s.prototype.isNull=function(){return""===this.bytes},s.prototype.isWildcard=function(){return/^0+$/.test(this.toHex())},s.mapToHex=function(e){return e.toHex()},s.fromClone=function(e){const t=new s;return t.bytes=e.bytes,t},s.fromId=function(e){const t=new s;return t.read(i.default.hex_to_Uint8Array(e)),t},s.wildcard=function(){const e=new s;return e.read(new Uint8Array(8)),e},r.default=s},{"../util.js":158}],155:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=s(e("bn.js")),i=s(e("../util"));function s(e){return e&&e.__esModule?e:{default:e}}function a(e){e instanceof a?this.data=e.data:n.default.isBN(e)?this.fromBN(e):i.default.isUint8Array(e)?this.fromUint8Array(e):i.default.isString(e)?this.fromString(e):this.data=null}a.prototype.read=function(e,t="be"){i.default.isString(e)&&(e=i.default.str_to_Uint8Array(e));const r=7+(e[0]<<8|e[1])>>>3,n=e.subarray(2,2+r);return this.fromUint8Array(n,t),2+r},a.prototype.write=function(e,t){return i.default.Uint8Array_to_MPI(this.toUint8Array(e,t))},a.prototype.bitLength=function(){return 8*(this.data.length-1)+i.default.nbits(this.data[0])},a.prototype.byteLength=function(){return this.data.length},a.prototype.toUint8Array=function(e,t){e=e||"be",t=t||this.data.length;const r=new Uint8Array(t);return r.set(this.data,"le"===e?0:t-this.data.length),"le"===e&&r.reverse(),r},a.prototype.fromUint8Array=function(e,t="be"){this.data=new Uint8Array(e.length),this.data.set(e),"le"===t&&this.data.reverse()},a.prototype.toString=function(){return i.default.Uint8Array_to_str(this.toUint8Array())},a.prototype.fromString=function(e,t="be"){this.fromUint8Array(i.default.str_to_Uint8Array(e),t)},a.prototype.toBN=function(){return new n.default(this.toUint8Array())},a.prototype.fromBN=function(e){this.data=e.toArrayLike(Uint8Array)},a.fromClone=function(e){return new a(e.data)},r.default=a},{"../util":158,"bn.js":16}],156:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=s(e("../util")),i=s(e("../enums"));function s(e){return e&&e.__esModule?e:{default:e}}function a(e){if(e instanceof a)this.oid=e.oid;else if(n.default.isArray(e)||n.default.isUint8Array(e)){if(6===(e=new Uint8Array(e))[0]){if(e[1]!==e.length-2)throw new Error("Length mismatch in DER encoded oid");e=e.subarray(2)}this.oid=e}else this.oid=""}a.prototype.read=function(e){if(e.length>=1){const t=e[0];if(e.length>=1+t)return this.oid=e.subarray(1,1+t),1+this.oid.length}throw new Error("Invalid oid")},a.prototype.write=function(){return n.default.concatUint8Array([new Uint8Array([this.oid.length]),this.oid])},a.prototype.toHex=function(){return n.default.Uint8Array_to_hex(this.oid)},a.prototype.getName=function(){const e=this.toHex();if(i.default.curve[e])return i.default.write(i.default.curve,e);throw new Error("Unknown curve object identifier.")},a.fromClone=function(e){return new a(e.oid)},r.default=a},{"../enums":113,"../util":158}],157:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=o(e("../config")),i=o(e("../crypto")),s=o(e("../enums.js")),a=o(e("../util.js"));function o(e){return e&&e.__esModule?e:{default:e}}function l(){this.algorithm="sha256",this.type="iterated",this.c=n.default.s2k_iteration_count_byte,this.salt=null}l.prototype.get_count=function(){return 16+(15&this.c)<<6+(this.c>>4)},l.prototype.read=function(e){let t=0;switch(this.type=s.default.read(s.default.s2k,e[t++]),this.algorithm=e[t++],"gnu"!==this.type&&(this.algorithm=s.default.read(s.default.hash,this.algorithm)),this.type){case"simple":break;case"salted":this.salt=e.subarray(t,t+8),t+=8;break;case"iterated":this.salt=e.subarray(t,t+8),t+=8,this.c=e[t++];break;case"gnu":if("GNU"!==a.default.Uint8Array_to_str(e.subarray(t,t+3)))throw new Error("Unknown s2k type.");if(t+=3,1001!==1e3+e[t++])throw new Error("Unknown s2k gnu protection mode.");this.type="gnu-dummy";break;default:throw new Error("Unknown s2k type.")}return t},l.prototype.write=function(){if("gnu-dummy"===this.type)return new Uint8Array([101,0,...a.default.str_to_Uint8Array("GNU"),1]);const e=[new Uint8Array([s.default.write(s.default.s2k,this.type),s.default.write(s.default.hash,this.algorithm)])];switch(this.type){case"simple":break;case"salted":e.push(this.salt);break;case"iterated":e.push(this.salt),e.push(new Uint8Array([this.c]));break;case"gnu":throw new Error("GNU s2k type not supported.");default:throw new Error("Unknown s2k type.")}return a.default.concatUint8Array(e)},l.prototype.produce_key=async function(e,t){e=a.default.encode_utf8(e);const r=s.default.write(s.default.hash,this.algorithm),n=[];let o=0,l=0;for(;o{if(a.default.isStream(s))if(s.locked)e[n]=null;else{const r=i.default.transformPair(s,async s=>{const o=i.default.getReader(s);var l=new MessageChannel;const c=l.port1,d=l.port2;c.onmessage=async function({data:{action:e}}){if("read"===e)try{const e=await o.read();c.postMessage(e,a.default.getTransferables(e))}catch(t){c.postMessage({error:t.message})}else"cancel"===e&&(await r.cancel(),c.postMessage())},e[n]=d,t.push(d)})}else{if("[object MessagePort]"===Object.prototype.toString.call(s))throw new Error("Can't transfer the same stream twice.");a.default.collectTransferables(s,t,r)}}))},restoreStreams:function(e){return Object.prototype.isPrototypeOf(e)&&!Uint8Array.prototype.isPrototypeOf(e)&&Object.entries(e).forEach(([t,r])=>{"[object MessagePort]"!==Object.prototype.toString.call(r)?a.default.restoreStreams(r):e[t]=new ReadableStream({pull:e=>new Promise(t=>{r.onmessage=r=>{var n=r.data;const i=n.done,s=n.value,a=n.error;a?e.error(new Error(a)):i?e.close():e.enqueue(s),t()},r.postMessage({action:"read"})}),cancel:()=>new Promise(e=>{r.onmessage=e,r.postMessage({action:"cancel"})})},{highWaterMark:0})}),e},readNumber:function(e){let t=0;for(let r=0;r>8*(t-n-1)&255;return r},readDate:function(e){const t=a.default.readNumber(e);return new Date(1e3*t)},writeDate:function(e){const t=Math.floor(e.getTime()/1e3);return a.default.writeNumber(t,4)},normalizeDate:function(e=Date.now()){return null===e||e===1/0?e:new Date(1e3*Math.floor(+e/1e3))},str_to_hex:function(e){if(null===e)return"";const t=[],r=e.length;let n,i=0;for(;i>8,255&t]);return a.default.concatUint8Array([r,e])},b64_to_Uint8Array:function(e){return o.default.decode(e.replace(/-/g,"+").replace(/_/g,"/"))},Uint8Array_to_b64:function(e,t){let r=o.default.encode(e).replace(/[\r\n]/g,"");return t&&(r=r.replace(/[+]/g,"-").replace(/[/]/g,"_").replace(/[=]/g,"")),r},hex_to_Uint8Array:function(e){const t=new Uint8Array(e.length>>1);for(let r=0;r>1;r++)t[r]=parseInt(e.substr(r<<1,2),16);return t},Uint8Array_to_hex:function(e){const t=[],r=e.length;let n,i=0;for(;i{if(!a.default.isString(e))throw new Error("str_to_Uint8Array: Data must be in the form of a string");const t=new Uint8Array(e.length);for(let r=0;rr("",!0))},decode_utf8:function(e){const t=new TextDecoder("utf-8");function r(e,r=!1){return t.decode(e,{stream:!r})}return i.default.transform(e,r,()=>r(new Uint8Array,!0))},concat:i.default.concat,concatUint8Array:i.default.concatUint8Array,equalsUint8Array:function(e,t){if(!a.default.isUint8Array(e)||!a.default.isUint8Array(t))throw new Error("Data must be in the form of a Uint8Array");if(e.length!==t.length)return!1;for(let r=0;r{console.log(e+": ",t)})},nbits:function(e){let t=1,r=e>>>16;return 0!==r&&(e=r,t+=16),r=e>>8,0!==r&&(e=r,t+=8),r=e>>4,0!==r&&(e=r,t+=4),r=e>>2,0!==r&&(e=r,t+=2),r=e>>1,0!==r&&(e=r,t+=1),t},double:function(e){const t=new Uint8Array(e.length),r=e.length-1;for(let n=0;n>7;return t[r]=e[r]<<1^135*(e[0]>>7),t},shiftRight:function(e,t){if(t)for(let r=e.length-1;r>=0;r--)e[r]>>=t,r>0&&(e[r]|=e[r-1]<<8-t);return e},getWebCrypto:function(){if(s.default.use_native)return void 0!==t&&t.crypto&&t.crypto.subtle},getWebCryptoAll:function(){if(s.default.use_native&&void 0!==t){if(t.crypto)return t.crypto.subtle||t.crypto.webkitSubtle;if(t.msCrypto)return t.msCrypto.subtle}},detectNode:function(){return"object"==typeof t.process&&"object"==typeof t.process.versions},nodeRequire:function(t){if(a.default.detectNode())return e(t)},getNodeCrypto:function(){if(s.default.use_native)return a.default.nodeRequire("crypto")},getNodeZlib:function(){if(s.default.use_native)return a.default.nodeRequire("zlib")},getNodeBuffer:function(){return(a.default.nodeRequire("buffer")||{}).Buffer},getNodeStream:function(){return(a.default.nodeRequire("stream")||{}).Readable},getHardwareConcurrency:function(){return a.default.detectNode()?a.default.nodeRequire("os").cpus().length:navigator.hardwareConcurrency||1},isEmailAddress:function(e){return!!a.default.isString(e)&&/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+([a-zA-Z]{2,}|xn--[a-zA-Z\-0-9]+)))$/.test(e)},formatUserId:function(e){if(e.name&&!a.default.isString(e.name)||e.email&&!a.default.isEmailAddress(e.email)||e.comment&&!a.default.isString(e.comment))throw new Error("Invalid user id format");const t=[];return e.name&&t.push(e.name),e.comment&&t.push(`(${e.comment})`),e.email&&t.push(`<${e.email}>`),t.join(" ")},parseUserId:function(e){if(e.length>s.default.max_userid_length)throw new Error("User id string is too long");try{var t=n.default.parseOneAddress({input:e,atInDisplayName:!0});return{name:t.name,email:t.address,comment:t.comments.replace(/^\(|\)$/g,"")}}catch(r){throw new Error("Invalid user id format")}},canonicalizeEOL:function(e){let t=!1;return i.default.transform(e,e=>{let r;t&&(e=a.default.concatUint8Array([new Uint8Array([13]),e])),13===e[e.length-1]?(t=!0,e=e.subarray(0,-1)):t=!1;const n=[];for(let t=0;r=e.indexOf(10,t)+1,r;t=r)13!==e[r-2]&&n.push(r);if(!n.length)return e;const i=new Uint8Array(e.length+n.length);let s=0;for(let t=0;tt?new Uint8Array([13]):void 0)},nativeEOL:function(e){let t=!1;return i.default.transform(e,e=>{let r;13===(e=t&&10!==e[0]?a.default.concatUint8Array([new Uint8Array([13]),e]):new Uint8Array(e))[e.length-1]?(t=!0,e=e.subarray(0,-1)):t=!1;let n=0;for(let t=0;t!==e.length;t=r){r=e.indexOf(13,t)+1,r||(r=e.length);const i=r-(10===e[r]?1:0);t&&e.copyWithin(n,t,i),n+=i-t}return e.subarray(0,n)},()=>t?new Uint8Array([13]):void 0)},removeTrailingSpaces:function(e){return e.split("\n").map(e=>{let t=e.length-1;for(;t>=0&&(" "===e[t]||"\t"===e[t]);t--);return e.substr(0,t+1)}).join("\n")},encodeZBase32:function(e){if(0===e.length)return"";let t=e[0],r=1,n=8,i="";for(;n>0||r>n]}return i},wrapError:function(e,t){if(!t)return new Error(e);try{t.message=e+": "+t.message}catch(r){}return t}}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./config":79,"./encoding/base64":112,"./util":158,"email-addresses":33,"web-stream-tools":75}],159:[function(e,t,r){(function(t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=a(e("./util")),i=a(e("./crypto")),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(e("./key"));function a(e){return e&&e.__esModule?e:{default:e}}function o(){this._fetch=void 0!==t?t.fetch:e("node-fetch")}o.prototype.lookup=async function(e){const t=this._fetch;if(!e.email)throw new Error("You must provide an email parameter!");if(!n.default.isEmailAddress(e.email))throw new Error("Invalid e-mail address.");var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,s=void 0;try{for(var a,o=e[Symbol.iterator]();!(n=(a=o.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(l){i=!0,s=l}finally{try{!n&&o.return&&o.return()}finally{if(i)throw s}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(/(.*)@(.*)/.exec(e.email),3);const a=r[1],o=r[2],l=n.default.encodeZBase32(await i.default.hash.sha1(n.default.str_to_Uint8Array(a.toLowerCase()))),c=`https://openpgpkey.${o}/.well-known/openpgpkey/${o}/hu/${l}`,d=`https://${o}/.well-known/openpgpkey/hu/${l}`;let u;try{if(u=await t(c),200!==u.status)throw new Error("Advanced WKD lookup failed: "+u.statusText)}catch(f){if(n.default.print_debug_error(f),u=await t(d),200!==u.status)throw new Error("Direct WKD lookup failed: "+u.statusText)}const h=new Uint8Array(await u.arrayBuffer());return e.rawBytes?h:s.read(h)},r.default=o}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./crypto":94,"./key":118,"./util":158,"node-fetch":"node-fetch"}],160:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=o(e("../util.js")),i=o(e("../config")),s=o(e("../crypto")),a=o(e("../packet"));function o(e){return e&&e.__esModule?e:{default:e}}function l({path:e="openpgp.worker.js",n:t=1,workers:r=[],config:n}={}){const i=e=>t=>{const r=t.data;switch(r.event){case"loaded":this.workers[e].loadedResolve(!0);break;case"method-return":if(r.err){const e=new Error(r.err);e.workerStack=r.stack,this.tasks[r.id].reject(e)}else this.tasks[r.id].resolve(r.data);delete this.tasks[r.id],this.workers[e].requests--;break;case"request-seed":this.seedRandom(e,r.amount);break;default:throw new Error("Unknown Worker Event.")}};if(r.length)this.workers=r;else for(this.workers=[];this.workers.length{e.loadedPromise=new Promise(t=>{e.loadedResolve=t}),e.requests=0,e.onmessage=i(s++),e.onerror=t=>(e.loadedResolve(!1),console.error("Unhandled error in openpgp worker: "+t.message+" ("+t.filename+":"+t.lineno+")"),!1),n&&e.postMessage({event:"configure",config:n})}),this.tasks={},this.currentID=0}l.prototype.loaded=async function(){return(await Promise.all(this.workers.map(e=>e.loadedPromise))).every(Boolean)},l.prototype.getID=function(){return this.currentID++},l.prototype.seedRandom=async function(e,t){const r=await s.default.random.getRandomBytes(t);this.workers[e].postMessage({event:"seed-random",buf:r},n.default.getTransferables(r,!0))},l.prototype.clearKeyCache=async function(){await Promise.all(this.workers.map(e=>new Promise((t,r)=>{const n=this.getID();e.postMessage({id:n,event:"clear-key-cache"}),this.tasks[n]={resolve:t,reject:r}})))},l.prototype.terminate=function(){this.workers.forEach(e=>{e.terminate()})},l.prototype.delegate=function(e,t){const r=this.getID(),s=this.workers.map(e=>e.requests),o=Math.min(...s);let l=0;for(;l{this.workers[l].postMessage({id:r,event:e,options:a.default.clone.clonePackets(t)},n.default.getTransferables(t,i.default.zero_copy)),this.workers[l].requests++,this.tasks[r]={resolve:t=>s(a.default.clone.parseClonedPackets(n.default.restoreStreams(t),e)),reject:o}})},r.default=l},{"../config":79,"../crypto":94,"../packet":131,"../util.js":158}]},{},[115])(115)},Qj4J:function(e,t,r){!function(e){"use strict";e.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(r("wd/R"))},RAwQ:function(e,t,r){!function(e){"use strict";function t(e,t,r,n){var i={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?i[r][0]:i[r][1]}function r(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10;return r(0===t?e/10:t)}if(e<1e4){for(;e>=10;)e/=10;return r(e)}return r(e/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(e){return r(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return r(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d M\xe9int",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r("wd/R"))},Rb7d:function(e,t){function r(e){if("number"==typeof e&&(e=e.toString()),"string"!=typeof e)throw new Error("Color should be defined as hex string");var t=e.slice().replace("#","").split("");if(t.length<3||5===t.length||t.length>8)throw new Error("Invalid hex color: "+e);3!==t.length&&4!==t.length||(t=Array.prototype.concat.apply([],t.map((function(e){return[e,e]})))),6===t.length&&t.push("F","F");var r=parseInt(t.join(""),16);return{r:r>>24&255,g:r>>16&255,b:r>>8&255,a:255&r,hex:"#"+t.slice(0,6).join("")}}t.getOptions=function(e){e||(e={}),e.color||(e.color={});var t=e.width&&e.width>=21?e.width:void 0;return{width:t,scale:t?4:e.scale||4,margin:null==e.margin||e.margin<0?4:e.margin,color:{dark:r(e.color.dark||"#000000ff"),light:r(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}},t.getScale=function(e,t){return t.width&&t.width>=e+2*t.margin?t.width/(e+2*t.margin):t.scale},t.getImageWidth=function(e,r){var n=t.getScale(e,r);return Math.floor((e+2*r.margin)*n)},t.qrToImageData=function(e,r,n){for(var i=r.modules.size,s=r.modules.data,a=t.getScale(i,n),o=Math.floor((i+2*n.margin)*a),l=n.margin*a,c=[n.color.light,n.color.dark],d=0;d=l&&u>=l&&d=100?100:null])},week:{dow:1,doy:7}})}(r("wd/R"))},SatO:function(e,t,r){!function(e){"use strict";e.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e2d\u5348"===t?e>=11?e:e+12:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:void 0},meridiem:function(e,t,r){var n=100*e+t;return n<600?"\u51cc\u6668":n<900?"\u65e9\u4e0a":n<1200?"\u4e0a\u5348":1200===n?"\u4e2d\u5348":n<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(r("wd/R"))},UDhR:function(e,t,r){!function(e){"use strict";e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,r){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(r("wd/R"))},USCx:function(e,t,r){!function(e){"use strict";e.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(r("wd/R"))},UpQW:function(e,t,r){!function(e){"use strict";var t=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],r=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];e.defineLocale("ur",{months:t,monthsShort:t,weekdays:r,weekdaysShort:r,weekdaysMin:r,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(e){return"\u0634\u0627\u0645"===e},meridiem:function(e,t,r){return e<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(r("wd/R"))},Ur1D:function(e,t,r){!function(e){"use strict";e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,r){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(r("wd/R"))},V2x9:function(e,t,r){!function(e){"use strict";e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(r("wd/R"))},V35J:function(e,t,r){var n=r("Wogr");function i(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new n(e*e),this.data.fill(0),this.reservedBit=new n(e*e),this.reservedBit.fill(0)}i.prototype.set=function(e,t,r,n){var i=e*this.size+t;this.data[i]=r,n&&(this.reservedBit[i]=!0)},i.prototype.get=function(e,t){return this.data[e*this.size+t]},i.prototype.xor=function(e,t,r){this.data[e*this.size+t]^=r},i.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]},e.exports=i},Vclq:function(e,t,r){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),r="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?r[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(r("wd/R"))},WYrj:function(e,t,r){!function(e){"use strict";var t=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],r=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];e.defineLocale("dv",{months:t,monthsShort:t,weekdays:r,weekdaysShort:r,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(e){return"\u0789\u078a"===e},meridiem:function(e,t,r){return e<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(r("wd/R"))},Wogr:function(e,t,r){"use strict";var n=r("7uVY"),i=(s.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()}catch(t){return!1}}())?2147483647:1073741823;function s(e,t,r){return s.TYPED_ARRAY_SUPPORT||this instanceof s?"number"==typeof e?l(this,e):function(e,t,r,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,n){if(r<0||t.byteLength=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return 0|e}function o(e,t){var r;return s.TYPED_ARRAY_SUPPORT?(r=new Uint8Array(t)).__proto__=s.prototype:(null===(r=e)&&(r=new s(t)),r.length=t),r}function l(e,t){var r=o(e,t<0?0:0|a(t));if(!s.TYPED_ARRAY_SUPPORT)for(var n=0;n55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&s.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&s.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&s.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&s.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;s.push(r)}else if(r<2048){if((t-=2)<0)break;s.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;s.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;s.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return s}function u(e){return s.isBuffer(e)?e.length:"undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer)?e.byteLength:("string"!=typeof e&&(e=""+e),0===e.length?0:d(e).length)}s.TYPED_ARRAY_SUPPORT&&(s.prototype.__proto__=Uint8Array.prototype,s.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&s[Symbol.species]===s&&Object.defineProperty(s,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1})),s.prototype.write=function(e,t,r){void 0===t||void 0===r&&"string"==typeof t?(r=this.length,t=0):isFinite(t)&&(t|=0,isFinite(r)?r|=0:r=void 0);var n=this.length-t;if((void 0===r||r>n)&&(r=n),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");return function(e,t,r,n){return function(e,t,r,n){for(var i=0;i=t.length||i>=e.length);++i)t[i+r]=e[i];return i}(d(t,e.length-r),e,r,n)}(this,e,t,r)},s.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t=0;--i)e[i+t]=this[i+r];else if(a<1e3||!s.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i=100?100:null])}},week:{dow:1,doy:7}})}(r("wd/R"))},WxRl:function(e,t,r){!function(e){"use strict";var t="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function r(e,t,r,n){var i=e;switch(r){case"s":return n||t?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return i+(n||t)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(n||t?" perc":" perce");case"mm":return i+(n||t?" perc":" perce");case"h":return"egy"+(n||t?" \xf3ra":" \xf3r\xe1ja");case"hh":return i+(n||t?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(n||t?" nap":" napja");case"dd":return i+(n||t?" nap":" napja");case"M":return"egy"+(n||t?" h\xf3nap":" h\xf3napja");case"MM":return i+(n||t?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(n||t?" \xe9v":" \xe9ve");case"yy":return i+(n||t?" \xe9v":" \xe9ve")}return""}function n(e){return(e?"":"[m\xfalt] ")+"["+t[this.day()]+"] LT[-kor]"}e.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan._feb._m\xe1rc._\xe1pr._m\xe1j._j\xfan._j\xfal._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,r){return e<12?!0===r?"de":"DE":!0===r?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return n.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return n.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r("wd/R"))},X709:function(e,t,r){!function(e){"use strict";e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?":e":1===t||2===t?":a":":e")},week:{dow:1,doy:4}})}(r("wd/R"))},XDpg:function(e,t,r){!function(e){"use strict";e.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,r){var n=100*e+t;return n<600?"\u51cc\u6668":n<900?"\u65e9\u4e0a":n<1130?"\u4e0a\u5348":n<1230?"\u4e2d\u5348":n<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(e){return e.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(e){return this.week()!==e.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u5468";default:return e}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(r("wd/R"))},XLvN:function(e,t,r){!function(e){"use strict";e.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===t?e<4?e:e+12:"\u0c09\u0c26\u0c2f\u0c02"===t?e:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===t?e>=10?e:e+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":e<10?"\u0c09\u0c26\u0c2f\u0c02":e<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":e<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(r("wd/R"))},YRex:function(e,t,r){!function(e){"use strict";e.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===t||"\u0633\u06d5\u06be\u06d5\u0631"===t||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===t?e:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===t||"\u0643\u06d5\u0686"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,r){var n=100*e+t;return n<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":n<900?"\u0633\u06d5\u06be\u06d5\u0631":n<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":n<1230?"\u0686\u06c8\u0634":n<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return e+"-\u06be\u06d5\u067e\u062a\u06d5";default:return e}},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(r("wd/R"))},YuTi:function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},Z4QM:function(e,t,r){!function(e){"use strict";var t=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],r=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];e.defineLocale("sd",{months:t,monthsShort:t,weekdays:r,weekdaysShort:r,weekdaysMin:r,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(e){return"\u0634\u0627\u0645"===e},meridiem:function(e,t,r){return e<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(r("wd/R"))},Z92M:function(e,t){e.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},ZAMP:function(e,t,r){!function(e){"use strict";e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,r){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(r("wd/R"))},Zduo:function(e,t,r){!function(e){"use strict";e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,r){return e>11?r?"p.t.m.":"P.T.M.":r?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(r("wd/R"))},aIdf:function(e,t,r){!function(e){"use strict";function t(e,t,r){return e+" "+function(e,t){return 2===t?function(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[r],e)}var r=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],n=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,i=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];e.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:i,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:i,monthsRegex:n,monthsShortRegex:n,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(function e(t){return t>9?e(t%10):t}(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(e){return e+(1===e?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return"g.m."===e},meridiem:function(e,t,r){return e<12?"a.m.":"g.m."}})}(r("wd/R"))},aIsn:function(e,t,r){!function(e){"use strict";e.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(r("wd/R"))},aQkU:function(e,t,r){!function(e){"use strict";e.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(e){var t=e%10,r=e%100;return 0===e?e+"-\u0435\u0432":0===r?e+"-\u0435\u043d":r>10&&r<20?e+"-\u0442\u0438":1===t?e+"-\u0432\u0438":2===t?e+"-\u0440\u0438":7===t||8===t?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}})}(r("wd/R"))},aZ40:function(e,t,r){var n,i,s=r("Wogr");s.alloc?(n=s.alloc(512),i=s.alloc(256)):(n=new s(512),i=new s(256)),function(){for(var e=1,t=0;t<255;t++)n[t]=e,i[e]=t,256&(e<<=1)&&(e^=285);for(t=255;t<512;t++)n[t]=n[t-255]}(),t.log=function(e){if(e<1)throw new Error("log("+e+")");return i[e]},t.exp=function(e){return n[e]},t.mul=function(e,t){return 0===e||0===t?0:n[i[e]+i[t]]}},b1Dy:function(e,t,r){!function(e){"use strict";e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(r("wd/R"))},bOMt:function(e,t,r){!function(e){"use strict";e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r("wd/R"))},bXm7:function(e,t,r){!function(e){"use strict";var t={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};e.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(r("wd/R"))},bYM6:function(e,t,r){!function(e){"use strict";e.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(r("wd/R"))},bpih:function(e,t,r){!function(e){"use strict";e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){switch(this.day()){case 0:return"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT";default:return"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"}},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(r("wd/R"))},bxKX:function(e,t,r){!function(e){"use strict";e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(r("wd/R"))},cRix:function(e,t,r){!function(e){"use strict";var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),r="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?r[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(r("wd/R"))},czMo:function(e,t,r){!function(e){"use strict";e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(r("wd/R"))},dNwA:function(e,t,r){!function(e){"use strict";e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(r("wd/R"))},"e+ae":function(e,t,r){!function(e){"use strict";var t="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),r="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function n(e){return e>1&&e<5}function i(e,t,r,i){var s=e+" ";switch(r){case"s":return t||i?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return t||i?s+(n(e)?"sekundy":"sek\xfand"):s+"sekundami";case"m":return t?"min\xfata":i?"min\xfatu":"min\xfatou";case"mm":return t||i?s+(n(e)?"min\xfaty":"min\xfat"):s+"min\xfatami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?s+(n(e)?"hodiny":"hod\xedn"):s+"hodinami";case"d":return t||i?"de\u0148":"d\u0148om";case"dd":return t||i?s+(n(e)?"dni":"dn\xed"):s+"d\u0148ami";case"M":return t||i?"mesiac":"mesiacom";case"MM":return t||i?s+(n(e)?"mesiace":"mesiacov"):s+"mesiacmi";case"y":return t||i?"rok":"rokom";case"yy":return t||i?s+(n(e)?"roky":"rokov"):s+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:r,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 4:case 5:return"[minul\xfd] dddd [o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r("wd/R"))},"e/Dd":function(e,t){var r,n=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];t.getSymbolSize=function(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return 4*e+17},t.getSymbolTotalCodewords=function(e){return n[e]},t.getBCHDigit=function(e){for(var t=0;0!==e;)t++,e>>>=1;return t},t.setToSJISFunction=function(e){if("function"!=typeof e)throw new Error('"toSJISFunc" is not a valid function.');r=e},t.isKanjiModeEnabled=function(){return void 0!==r},t.toSJIS=function(e){return r(e)}},e6BP:function(e,t){function r(){this.buffer=[],this.length=0}r.prototype={get:function(e){var t=Math.floor(e/8);return 1==(this.buffer[t]>>>7-e%8&1)},put:function(e,t){for(var r=0;r>>t-r-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},e.exports=r},eQOe:function(e,t){function r(e,r,n){switch(e){case t.Patterns.PATTERN000:return(r+n)%2==0;case t.Patterns.PATTERN001:return r%2==0;case t.Patterns.PATTERN010:return n%3==0;case t.Patterns.PATTERN011:return(r+n)%3==0;case t.Patterns.PATTERN100:return(Math.floor(r/2)+Math.floor(n/3))%2==0;case t.Patterns.PATTERN101:return r*n%2+r*n%3==0;case t.Patterns.PATTERN110:return(r*n%2+r*n%3)%2==0;case t.Patterns.PATTERN111:return(r*n%3+(r+n)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}}t.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},t.isValid=function(e){return null!=e&&""!==e&&!isNaN(e)&&e>=0&&e<=7},t.from=function(e){return t.isValid(e)?parseInt(e,10):void 0},t.getPenaltyN1=function(e){for(var t=e.size,r=0,n=0,i=0,s=null,a=null,o=0;o=5&&(r+=n-5+3),s=c,n=1),(c=e.get(l,o))===a?i++:(i>=5&&(r+=i-5+3),a=c,i=1)}n>=5&&(r+=n-5+3),i>=5&&(r+=i-5+3)}return r},t.getPenaltyN2=function(e){for(var t=e.size,r=0,n=0;n=10&&(1488===n||93===n)&&r++,i=i<<1&2047|e.get(a,s),a>=10&&(1488===i||93===i)&&r++}return 40*r},t.getPenaltyN4=function(e){for(var t=0,r=e.data.length,n=0;n=0&&e.bit<4},t.from=function(e,r){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"l":case"low":return t.L;case"m":case"medium":return t.M;case"q":case"quartile":return t.Q;case"h":case"high":return t.H;default:throw new Error("Unknown EC Level: "+e)}}(e)}catch(n){return r}}},fzPg:function(e,t,r){!function(e){"use strict";e.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(r("wd/R"))},gVVK:function(e,t,r){!function(e){"use strict";function t(e,t,r,n){var i=e+" ";switch(r){case"s":return t||n?"nekaj sekund":"nekaj sekundami";case"ss":return i+(1===e?t?"sekundo":"sekundi":2===e?t||n?"sekundi":"sekundah":e<5?t||n?"sekunde":"sekundah":"sekund");case"m":return t?"ena minuta":"eno minuto";case"mm":return i+(1===e?t?"minuta":"minuto":2===e?t||n?"minuti":"minutama":e<5?t||n?"minute":"minutami":t||n?"minut":"minutami");case"h":return t?"ena ura":"eno uro";case"hh":return i+(1===e?t?"ura":"uro":2===e?t||n?"uri":"urama":e<5?t||n?"ure":"urami":t||n?"ur":"urami");case"d":return t||n?"en dan":"enim dnem";case"dd":return i+(1===e?t||n?"dan":"dnem":2===e?t||n?"dni":"dnevoma":t||n?"dni":"dnevi");case"M":return t||n?"en mesec":"enim mesecem";case"MM":return i+(1===e?t||n?"mesec":"mesecem":2===e?t||n?"meseca":"mesecema":e<5?t||n?"mesece":"meseci":t||n?"mesecev":"meseci");case"y":return t||n?"eno leto":"enim letom";case"yy":return i+(1===e?t||n?"leto":"letom":2===e?t||n?"leti":"letoma":e<5?t||n?"leta":"leti":t||n?"let":"leti")}}e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(r("wd/R"))},gekB:function(e,t,r){!function(e){"use strict";var t="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),r=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",t[7],t[8],t[9]];function n(e,n,i,s){var a="";switch(i){case"s":return s?"muutaman sekunnin":"muutama sekunti";case"ss":a=s?"sekunnin":"sekuntia";break;case"m":return s?"minuutin":"minuutti";case"mm":a=s?"minuutin":"minuuttia";break;case"h":return s?"tunnin":"tunti";case"hh":a=s?"tunnin":"tuntia";break;case"d":return s?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":a=s?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return s?"kuukauden":"kuukausi";case"MM":a=s?"kuukauden":"kuukautta";break;case"y":return s?"vuoden":"vuosi";case"yy":a=s?"vuoden":"vuotta"}return function(e,n){return e<10?n?r[e]:t[e]:e}(e,s)+" "+a}e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r("wd/R"))},gjCT:function(e,t,r){!function(e){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},r={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};e.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,r){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,(function(e){return r[e]})).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(r("wd/R"))},hKrs:function(e,t,r){!function(e){"use strict";e.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0443_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(e){var t=e%10,r=e%100;return 0===e?e+"-\u0435\u0432":0===r?e+"-\u0435\u043d":r>10&&r<20?e+"-\u0442\u0438":1===t?e+"-\u0432\u0438":2===t?e+"-\u0440\u0438":7===t||8===t?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}})}(r("wd/R"))},honF:function(e,t,r){!function(e){"use strict";var t={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},r={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};e.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(e){return e.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(r("wd/R"))},iEDd:function(e,t,r){!function(e){"use strict";e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(r("wd/R"))},iYuL:function(e,t,r){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),r="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?r[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4},invalidDate:"Fecha inv\xe1lida"})}(r("wd/R"))},jSPq:function(e,t,r){var n=r("Wogr"),i=r("JzKC");function s(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}s.prototype.initialize=function(e){this.degree=e,this.genPoly=i.generateECPolynomial(this.degree)},s.prototype.encode=function(e){if(!this.genPoly)throw new Error("Encoder not initialized");var t=new n(this.degree);t.fill(0);var r=n.concat([e,t],e.length+this.degree),s=i.mod(r,this.genPoly),a=this.degree-s.length;if(a>0){var o=new n(this.degree);return o.fill(0),s.copy(o,a),o}return s},e.exports=s},jUeY:function(e,t,r){!function(e){"use strict";e.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(e,t,r){return e>11?r?"\u03bc\u03bc":"\u039c\u039c":r?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(e){return"\u03bc"===(e+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT";default:return"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,t){var r,n=this._calendarEl[e],i=t&&t.hours();return r=n,("undefined"!=typeof Function&&r instanceof Function||"[object Function]"===Object.prototype.toString.call(r))&&(n=n.apply(t)),n.replace("{}",i%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(r("wd/R"))},jVdC:function(e,t,r){!function(e){"use strict";var t="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),r="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),n=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function i(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function s(e,t,r){var n=e+" ";switch(r){case"ss":return n+(i(e)?"sekundy":"sekund");case"m":return t?"minuta":"minut\u0119";case"mm":return n+(i(e)?"minuty":"minut");case"h":return t?"godzina":"godzin\u0119";case"hh":return n+(i(e)?"godziny":"godzin");case"ww":return n+(i(e)?"tygodnie":"tygodni");case"MM":return n+(i(e)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return n+(i(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,n){return e?/D MMMM/.test(n)?r[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:s,m:s,mm:s,h:s,hh:s,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:s,M:"miesi\u0105c",MM:s,y:"rok",yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r("wd/R"))},jfSC:function(e,t,r){!function(e){"use strict";var t={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},r={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};e.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(e){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(e)},meridiem:function(e,t,r){return e<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"%d \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/[\u06f0-\u06f9]/g,(function(e){return r[e]})).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(r("wd/R"))},jnO4:function(e,t,r){!function(e){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},r={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},i={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},s=function(e){return function(t,r,s,a){var o=n(t),l=i[e][n(t)];return 2===o&&(l=l[r?0:1]),l.replace(/%d/i,t)}},a=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];e.defineLocale("ar",{months:a,monthsShort:a,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,r){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:s("s"),ss:s("s"),m:s("m"),mm:s("m"),h:s("h"),hh:s("h"),d:s("d"),dd:s("d"),M:s("M"),MM:s("M"),y:s("y"),yy:s("y")},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,(function(e){return r[e]})).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(r("wd/R"))},kEOa:function(e,t,r){!function(e){"use strict";var t={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},r={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};e.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(e){return e.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u09b0\u09be\u09a4"===t&&e>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===t&&e<5||"\u09ac\u09bf\u0995\u09be\u09b2"===t?e+12:e},meridiem:function(e,t,r){return e<4?"\u09b0\u09be\u09a4":e<10?"\u09b8\u0995\u09be\u09b2":e<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":e<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(r("wd/R"))},kOpN:function(e,t,r){!function(e){"use strict";e.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e2d\u5348"===t?e>=11?e:e+12:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:void 0},meridiem:function(e,t,r){var n=100*e+t;return n<600?"\u51cc\u6668":n<900?"\u65e9\u4e0a":n<1130?"\u4e0a\u5348":n<1230?"\u4e2d\u5348":n<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(r("wd/R"))},"kk9/":function(e,t,r){var n=r("e/Dd").getSymbolSize;t.getPositions=function(e){var t=n(e);return[[0,0],[t-7,0],[0,t-7]]}},l5ep:function(e,t,r){!function(e){"use strict";e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t="";return e>20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})}(r("wd/R"))},lXzo:function(e,t,r){!function(e){"use strict";function t(e,t,r){return"m"===r?t?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":e+" "+(n=+e,i={ss:t?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:t?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[r].split("_"),n%10==1&&n%100!=11?i[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?i[1]:i[2]);var n,i}var r=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];e.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:r,longMonthsParse:r,shortMonthsParse:r,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:t,m:t,mm:t,h:"\u0447\u0430\u0441",hh:t,d:"\u0434\u0435\u043d\u044c",dd:t,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:t,M:"\u043c\u0435\u0441\u044f\u0446",MM:t,y:"\u0433\u043e\u0434",yy:t},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(e)},meridiem:function(e,t,r){return e<4?"\u043d\u043e\u0447\u0438":e<12?"\u0443\u0442\u0440\u0430":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-\u0439";case"D":return e+"-\u0433\u043e";case"w":case"W":return e+"-\u044f";default:return e}},week:{dow:1,doy:4}})}(r("wd/R"))},lYJp:function(e,t,r){var n=r("e/Dd"),i=n.getBCHDigit(1335);t.getEncodedBits=function(e,t){for(var r=e.bit<<3|t,s=r<<10;n.getBCHDigit(s)-i>=0;)s^=1335<=100?100:null])},week:{dow:1,doy:7}})}(r("wd/R"))},loYQ:function(e,t,r){!function(e){"use strict";var t={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},r={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};e.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(e){return e.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u09b0\u09be\u09a4"===t?e<4?e:e+12:"\u09ad\u09cb\u09b0"===t||"\u09b8\u0995\u09be\u09b2"===t?e:"\u09a6\u09c1\u09aa\u09c1\u09b0"===t?e>=3?e:e+12:"\u09ac\u09bf\u0995\u09be\u09b2"===t||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"\u09b0\u09be\u09a4":e<6?"\u09ad\u09cb\u09b0":e<12?"\u09b8\u0995\u09be\u09b2":e<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":e<18?"\u09ac\u09bf\u0995\u09be\u09b2":e<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(r("wd/R"))},lyxo:function(e,t,r){!function(e){"use strict";function t(e,t,r){var n=" ";return(e%100>=20||e>=100&&e%100==0)&&(n=" de "),e+n+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[r]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:t,m:"un minut",mm:t,h:"o or\u0103",hh:t,d:"o zi",dd:t,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:t,M:"o lun\u0103",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(r("wd/R"))},nZSm:function(e,t,r){var n=r("u/Db"),i=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function s(e){this.mode=n.ALPHANUMERIC,this.data=e}s.getBitsLength=function(e){return 11*Math.floor(e/2)+e%2*6},s.prototype.getLength=function(){return this.data.length},s.prototype.getBitsLength=function(){return s.getBitsLength(this.data.length)},s.prototype.write=function(e){var t;for(t=0;t+2<=this.data.length;t+=2){var r=45*i.indexOf(this.data[t]);r+=i.indexOf(this.data[t+1]),e.put(r,11)}this.data.length%2&&e.put(i.indexOf(this.data[t]),6)},e.exports=s},nyYc:function(e,t,r){!function(e){"use strict";var t=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,r=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];e.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsRegex:t,monthsShortRegex:t,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(r("wd/R"))},o1bE:function(e,t,r){!function(e){"use strict";var t=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},r={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},n=function(e){return function(n,i,s,a){var o=t(n),l=r[e][t(n)];return 2===o&&(l=l[i?0:1]),l.replace(/%d/i,n)}},i=["\u062c\u0627\u0646\u0641\u064a","\u0641\u064a\u0641\u0631\u064a","\u0645\u0627\u0631\u0633","\u0623\u0641\u0631\u064a\u0644","\u0645\u0627\u064a","\u062c\u0648\u0627\u0646","\u062c\u0648\u064a\u0644\u064a\u0629","\u0623\u0648\u062a","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];e.defineLocale("ar-dz",{months:i,monthsShort:i,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,r){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:n("s"),ss:n("s"),m:n("m"),mm:n("m"),h:n("h"),hh:n("h"),d:n("d"),dd:n("d"),M:n("M"),MM:n("M"),y:n("y"),yy:n("y")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(r("wd/R"))},"p/rL":function(e,t,r){!function(e){"use strict";e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(r("wd/R"))},qmMu:function(e,t,r){var n=r("Wogr"),i=r("e/Dd"),s=r("ekOh"),a=r("e6BP"),o=r("V35J"),l=r("1sBl"),c=r("kk9/"),d=r("eQOe"),u=r("NPxG"),h=r("jSPq"),f=r("yKow"),m=r("lYJp"),p=r("u/Db"),_=r("vvrf"),g=r("7uVY");function y(e,t,r){var n,i,s=e.size,a=m.getEncodedBits(t,r);for(n=0;n<15;n++)e.set(n<6?n:n<8?n+1:s-15+n,8,i=1==(a>>n&1),!0),e.set(8,n<8?s-n-1:n<9?15-n-1+1:15-n-1,i,!0);e.set(s-8,8,1,!0)}t.create=function(e,t){if(void 0===e||""===e)throw new Error("No input text");var r,m,b=s.M;return void 0!==t&&(b=s.from(t.errorCorrectionLevel,s.M),r=f.from(t.version),m=d.from(t.maskPattern),t.toSJISFunc&&i.setToSJISFunction(t.toSJISFunc)),function(e,t,r,s){var m;if(g(e))m=_.fromArray(e);else{if("string"!=typeof e)throw new Error("Invalid data");var b=t;if(!b){var v=_.rawSplit(e);b=f.getBestVersionForData(v,r)}m=_.fromString(e,b||40)}var w=f.getBestVersionForData(m,r);if(!w)throw new Error("The amount of data is too big to be stored in a QR Code");if(t){if(t=0&&o<=6&&(0===l||6===l)||l>=0&&l<=6&&(0===o||6===o)||o>=2&&o<=4&&l>=2&&l<=4,!0)}(S,t),function(e){for(var t=e.size,r=8;r=7&&function(e,t){for(var r,n,i,s=e.size,a=f.getEncodedBits(t),o=0;o<18;o++)r=Math.floor(o/3),e.set(r,n=o%3+s-8-3,i=1==(a>>o&1),!0),e.set(n,r,i,!0)}(S,t),function(e,t){for(var r=e.size,n=-1,i=r-1,s=7,a=0,o=r-1;o>0;o-=2)for(6===o&&o--;;){for(var l=0;l<2;l++)if(!e.isReserved(i,o-l)){var c=!1;a>>s&1)),e.set(i,o-l,c),-1==--s&&(a++,s=7)}if((i+=n)<0||r<=i){i-=n,n=-n;break}}}(S,k),isNaN(s)&&(s=d.getBestMask(S,y.bind(null,S,r))),d.applyMask(s,S),y(S,r,s),{modules:S,version:t,errorCorrectionLevel:r,maskPattern:s,segments:m}}(e,r,b,m)}},qvJo:function(e,t,r){!function(e){"use strict";function t(e,t,r,n){var i={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[e+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",e+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[e+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",e+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[e+" \u0935\u0930\u093e\u0902\u0928\u0940",e+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[e+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",e+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[e+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",e+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[e+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",e+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return n?i[r][0]:i[r][1]}e.defineLocale("gom-deva",{months:{standalone:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(e,t){switch(t){case"D":return e+"\u0935\u0947\u0930";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924\u0940"===t?e<4?e:e+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===t?e:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===t?e>12?e:e+12:"\u0938\u093e\u0902\u091c\u0947"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"\u0930\u093e\u0924\u0940":e<12?"\u0938\u0915\u093e\u0933\u0940\u0902":e<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":e<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(r("wd/R"))},raLr:function(e,t,r){!function(e){"use strict";function t(e,t,r){return"m"===r?t?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===r?t?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":e+" "+(n=+e,i={ss:t?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:t?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:t?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[r].split("_"),n%10==1&&n%100!=11?i[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?i[1]:i[2]);var n,i}function r(e){return function(){return e+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}e.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function(e,t){var r={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===e?r.nominative.slice(1,7).concat(r.nominative.slice(0,1)):e?r[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(t)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:r.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:r("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:r("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:r("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:r("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return r("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return r("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:t,m:t,mm:t,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:t,d:"\u0434\u0435\u043d\u044c",dd:t,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:t,y:"\u0440\u0456\u043a",yy:t},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(e)},meridiem:function(e,t,r){return e<4?"\u043d\u043e\u0447\u0456":e<12?"\u0440\u0430\u043d\u043a\u0443":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-\u0439";case"D":return e+"-\u0433\u043e";default:return e}},week:{dow:1,doy:7}})}(r("wd/R"))},"s+uk":function(e,t,r){!function(e){"use strict";function t(e,t,r,n){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[r][0]:i[r][1]}e.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r("wd/R"))},sp3z:function(e,t,r){!function(e){"use strict";e.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(e){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===e},meridiem:function(e,t,r){return e<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(e){return"\u0e97\u0eb5\u0ec8"+e}})}(r("wd/R"))},"t+mt":function(e,t,r){!function(e){"use strict";e.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(r("wd/R"))},tGlX:function(e,t,r){!function(e){"use strict";function t(e,t,r,n){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[r][0]:i[r][1]}e.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r("wd/R"))},tT3J:function(e,t,r){!function(e){"use strict";e.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(r("wd/R"))},tUCv:function(e,t,r){!function(e){"use strict";e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,r){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(r("wd/R"))},tbfe:function(e,t,r){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),r="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?r[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:4},invalidDate:"Fecha inv\xe1lida"})}(r("wd/R"))},"u/Db":function(e,t,r){var n=r("J6Nv"),i=r("BCVQ");t.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},t.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},t.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},t.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},t.MIXED={bit:-1},t.getCharCountIndicator=function(e,t){if(!e.ccBits)throw new Error("Invalid mode: "+e);if(!n.isValid(t))throw new Error("Invalid version: "+t);return t>=1&&t<10?e.ccBits[0]:t<27?e.ccBits[1]:e.ccBits[2]},t.getBestModeForData=function(e){return i.testNumeric(e)?t.NUMERIC:i.testAlphanumeric(e)?t.ALPHANUMERIC:i.testKanji(e)?t.KANJI:t.BYTE},t.toString=function(e){if(e&&e.id)return e.id;throw new Error("Invalid mode")},t.isValid=function(e){return e&&e.bit&&e.ccBits},t.from=function(e,r){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"numeric":return t.NUMERIC;case"alphanumeric":return t.ALPHANUMERIC;case"kanji":return t.KANJI;case"byte":return t.BYTE;default:throw new Error("Unknown mode: "+e)}}(e)}catch(n){return r}}},u3GI:function(e,t,r){!function(e){"use strict";function t(e,t,r,n){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[r][0]:i[r][1]}e.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r("wd/R"))},uEye:function(e,t,r){!function(e){"use strict";e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r("wd/R"))},uXwI:function(e,t,r){!function(e){"use strict";var t={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function r(e,t,r){return r?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function n(e,n,i){return e+" "+r(t[i],e,n)}function i(e,n,i){return r(t[i],e,n)}e.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function(e,t){return t?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:n,m:i,mm:n,h:i,hh:n,d:i,dd:n,M:i,MM:n,y:i,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r("wd/R"))},vvrf:function(e,t,r){var n=r("u/Db"),i=r("3X7Y"),s=r("nZSm"),a=r("AZa5"),o=r("Lzq4"),l=r("BCVQ"),c=r("e/Dd"),d=r("ELBg");function u(e){return unescape(encodeURIComponent(e)).length}function h(e,t,r){for(var n,i=[];null!==(n=e.exec(r));)i.push({data:n[0],index:n.index,mode:t,length:n[0].length});return i}function f(e){var t,r,i=h(l.NUMERIC,n.NUMERIC,e),s=h(l.ALPHANUMERIC,n.ALPHANUMERIC,e);return c.isKanjiModeEnabled()?(t=h(l.BYTE,n.BYTE,e),r=h(l.KANJI,n.KANJI,e)):(t=h(l.BYTE_KANJI,n.BYTE,e),r=[]),i.concat(s,t,r).sort((function(e,t){return e.index-t.index})).map((function(e){return{data:e.data,mode:e.mode,length:e.length}}))}function m(e,t){switch(t){case n.NUMERIC:return i.getBitsLength(e);case n.ALPHANUMERIC:return s.getBitsLength(e);case n.KANJI:return o.getBitsLength(e);case n.BYTE:return a.getBitsLength(e)}}function p(e,t){var r,l=n.getBestModeForData(e);if((r=n.from(t,l))!==n.BYTE&&r.bit=0?e[e.length-1]:null;return r&&r.mode===t.mode?(e[e.length-1].data+=t.data,e):(e.push(t),e)}),[]))},t.rawSplit=function(e){return t.fromArray(f(e,c.isKanjiModeEnabled()))}},wQk9:function(e,t,r){!function(e){"use strict";e.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(r("wd/R"))},"wd/R":function(e,t,r){(function(e){e.exports=function(){"use strict";var t,n;function i(){return t.apply(null,arguments)}function s(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function o(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(o(e,t))return!1;return!0}function c(e){return void 0===e}function d(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function u(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function h(e,t){var r,n=[];for(r=0;r>>0;for(t=0;t0)for(r=0;r=0?r?"+":"":"-")+Math.pow(10,Math.max(0,t-n.length)).toString().substr(1)+n}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,x=Object.keys?Object.keys:function(e){var t,r=[];for(t in e)o(e,t)&&r.push(t);return r};var P=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Y=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,R={},O={};function I(e,t,r,n){var i=n;"string"==typeof n&&(i=function(){return this[n]()}),e&&(O[e]=i),t&&(O[t[0]]=function(){return T(i.apply(this,arguments),t[1],t[2])}),r&&(O[r]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function j(e,t){return e.isValid()?(t=F(t,e.localeData()),R[t]=R[t]||function(e){var t,r,n,i=e.match(P);for(t=0,r=i.length;t=0&&Y.test(e);)e=e.replace(Y,n),Y.lastIndex=0,r-=1;return e}var H={};function N(e,t){var r=e.toLowerCase();H[r]=H[r+"s"]=H[t]=e}function B(e){return"string"==typeof e?H[e]||H[e.toLowerCase()]:void 0}function z(e){var t,r,n={};for(r in e)o(e,r)&&(t=B(r))&&(n[t]=e[r]);return n}var U={};function V(e,t){U[e]=t}function K(e){return e%4==0&&e%100!=0||e%400==0}function W(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function q(e){var t=+e,r=0;return 0!==t&&isFinite(t)&&(r=W(t)),r}function G(e,t){return function(r){return null!=r?(Z(this,e,r),i.updateOffset(this,t),this):$(this,e)}}function $(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Z(e,t,r){e.isValid()&&!isNaN(r)&&("FullYear"===t&&K(e.year())&&1===e.month()&&29===e.date()?(r=q(r),e._d["set"+(e._isUTC?"UTC":"")+t](r,e.month(),ke(r,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](r))}var J,Q=/\d/,X=/\d\d/,ee=/\d{3}/,te=/\d{4}/,re=/[+-]?\d{6}/,ne=/\d\d?/,ie=/\d\d\d\d?/,se=/\d\d\d\d\d\d?/,ae=/\d{1,3}/,oe=/\d{1,4}/,le=/[+-]?\d{1,6}/,ce=/\d+/,de=/[+-]?\d+/,ue=/Z|[+-]\d\d:?\d\d/gi,he=/Z|[+-]\d\d(?::?\d\d)?/gi,fe=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function me(e,t,r){J[e]=L(t)?t:function(e,n){return e&&r?r:t}}function pe(e,t){return o(J,e)?J[e](t._strict,t._locale):new RegExp(_e(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,r,n,i){return t||r||n||i}))))}function _e(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}J={};var ge,ye={};function be(e,t){var r,n=t;for("string"==typeof e&&(e=[e]),d(t)&&(n=function(e,r){r[t]=q(e)}),r=0;r68?1900:2e3)};var Ye=G("FullYear",!0);function Re(e,t,r,n,i,s,a){var o;return e<100&&e>=0?(o=new Date(e+400,t,r,n,i,s,a),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,r,n,i,s,a),o}function Oe(e){var t,r;return e<100&&e>=0?((r=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ie(e,t,r){var n=7+t-r;return-(7+Oe(e,0,n).getUTCDay()-t)%7+n-1}function je(e,t,r,n,i){var s,a,o=1+7*(t-1)+(7+r-n)%7+Ie(e,n,i);return o<=0?a=Pe(s=e-1)+o:o>Pe(e)?(s=e+1,a=o-Pe(e)):(s=e,a=o),{year:s,dayOfYear:a}}function Fe(e,t,r){var n,i,s=Ie(e.year(),t,r),a=Math.floor((e.dayOfYear()-s-1)/7)+1;return a<1?n=a+He(i=e.year()-1,t,r):a>He(e.year(),t,r)?(n=a-He(e.year(),t,r),i=e.year()+1):(i=e.year(),n=a),{week:n,year:i}}function He(e,t,r){var n=Ie(e,t,r),i=Ie(e+1,t,r);return(Pe(e)-n+i)/7}function Ne(e,t){return e.slice(t,7).concat(e.slice(0,t))}I("w",["ww",2],"wo","week"),I("W",["WW",2],"Wo","isoWeek"),N("week","w"),N("isoWeek","W"),V("week",5),V("isoWeek",5),me("w",ne),me("ww",ne,X),me("W",ne),me("WW",ne,X),ve(["w","ww","W","WW"],(function(e,t,r,n){t[n.substr(0,1)]=q(e)})),I("d",0,"do","day"),I("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),I("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),I("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),I("e",0,0,"weekday"),I("E",0,0,"isoWeekday"),N("day","d"),N("weekday","e"),N("isoWeekday","E"),V("day",11),V("weekday",11),V("isoWeekday",11),me("d",ne),me("e",ne),me("E",ne),me("dd",(function(e,t){return t.weekdaysMinRegex(e)})),me("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),me("dddd",(function(e,t){return t.weekdaysRegex(e)})),ve(["dd","ddd","dddd"],(function(e,t,r,n){var i=r._locale.weekdaysParse(e,n,r._strict);null!=i?t.d=i:p(r).invalidWeekday=e})),ve(["d","e","E"],(function(e,t,r,n){t[n]=q(e)}));var Be="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ze="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ue="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ve=fe,Ke=fe,We=fe;function qe(e,t,r){var n,i,s,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)s=m([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(s,"").toLocaleLowerCase();return r?"dddd"===t?-1!==(i=ge.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=ge.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=ge.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=ge.call(this._weekdaysParse,a))||-1!==(i=ge.call(this._shortWeekdaysParse,a))||-1!==(i=ge.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=ge.call(this._shortWeekdaysParse,a))||-1!==(i=ge.call(this._weekdaysParse,a))||-1!==(i=ge.call(this._minWeekdaysParse,a))?i:null:-1!==(i=ge.call(this._minWeekdaysParse,a))||-1!==(i=ge.call(this._weekdaysParse,a))||-1!==(i=ge.call(this._shortWeekdaysParse,a))?i:null}function Ge(){function e(e,t){return t.length-e.length}var t,r,n,i,s,a=[],o=[],l=[],c=[];for(t=0;t<7;t++)r=m([2e3,1]).day(t),n=_e(this.weekdaysMin(r,"")),i=_e(this.weekdaysShort(r,"")),s=_e(this.weekdays(r,"")),a.push(n),o.push(i),l.push(s),c.push(n),c.push(i),c.push(s);a.sort(e),o.sort(e),l.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function $e(){return this.hours()%12||12}function Ze(e,t){I(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Je(e,t){return t._meridiemParse}I("H",["HH",2],0,"hour"),I("h",["hh",2],0,$e),I("k",["kk",2],0,(function(){return this.hours()||24})),I("hmm",0,0,(function(){return""+$e.apply(this)+T(this.minutes(),2)})),I("hmmss",0,0,(function(){return""+$e.apply(this)+T(this.minutes(),2)+T(this.seconds(),2)})),I("Hmm",0,0,(function(){return""+this.hours()+T(this.minutes(),2)})),I("Hmmss",0,0,(function(){return""+this.hours()+T(this.minutes(),2)+T(this.seconds(),2)})),Ze("a",!0),Ze("A",!1),N("hour","h"),V("hour",13),me("a",Je),me("A",Je),me("H",ne),me("h",ne),me("k",ne),me("HH",ne,X),me("hh",ne,X),me("kk",ne,X),me("hmm",ie),me("hmmss",se),me("Hmm",ie),me("Hmmss",se),be(["H","HH"],3),be(["k","kk"],(function(e,t,r){var n=q(e);t[3]=24===n?0:n})),be(["a","A"],(function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e})),be(["h","hh"],(function(e,t,r){t[3]=q(e),p(r).bigHour=!0})),be("hmm",(function(e,t,r){var n=e.length-2;t[3]=q(e.substr(0,n)),t[4]=q(e.substr(n)),p(r).bigHour=!0})),be("hmmss",(function(e,t,r){var n=e.length-4,i=e.length-2;t[3]=q(e.substr(0,n)),t[4]=q(e.substr(n,2)),t[5]=q(e.substr(i)),p(r).bigHour=!0})),be("Hmm",(function(e,t,r){var n=e.length-2;t[3]=q(e.substr(0,n)),t[4]=q(e.substr(n))})),be("Hmmss",(function(e,t,r){var n=e.length-4,i=e.length-2;t[3]=q(e.substr(0,n)),t[4]=q(e.substr(n,2)),t[5]=q(e.substr(i))}));var Qe,Xe=G("Hours",!0),et={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Me,monthsShort:Se,week:{dow:0,doy:6},weekdays:Be,weekdaysMin:Ue,weekdaysShort:ze,meridiemParse:/[ap]\.?m?\.?/i},tt={},rt={};function nt(e,t){var r,n=Math.min(e.length,t.length);for(r=0;r0;){if(n=st(i.slice(0,t).join("-")))return n;if(r&&r.length>=t&&nt(i,r)>=t-1)break;t--}s++}return Qe}(e)}function ct(e){var t,r=e._a;return r&&-2===p(e).overflow&&(t=r[1]<0||r[1]>11?1:r[2]<1||r[2]>ke(r[0],r[1])?2:r[3]<0||r[3]>24||24===r[3]&&(0!==r[4]||0!==r[5]||0!==r[6])?3:r[4]<0||r[4]>59?4:r[5]<0||r[5]>59?5:r[6]<0||r[6]>999?6:-1,p(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),p(e)._overflowWeeks&&-1===t&&(t=7),p(e)._overflowWeekday&&-1===t&&(t=8),p(e).overflow=t),e}var dt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ut=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ht=/Z|[+-]\d\d(?::?\d\d)?/,ft=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],mt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],pt=/^\/?Date\((-?\d+)/i,_t=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,gt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function yt(e){var t,r,n,i,s,a,o=e._i,l=dt.exec(o)||ut.exec(o);if(l){for(p(e).iso=!0,t=0,r=ft.length;t7)&&(l=!0)):(s=e._locale._week.dow,a=e._locale._week.doy,c=Fe(xt(),s,a),r=vt(t.gg,e._a[0],c.year),n=vt(t.w,c.week),null!=t.d?((i=t.d)<0||i>6)&&(l=!0):null!=t.e?(i=t.e+s,(t.e<0||t.e>6)&&(l=!0)):i=s),n<1||n>He(r,s,a)?p(e)._overflowWeeks=!0:null!=l?p(e)._overflowWeekday=!0:(o=je(r,n,i,s,a),e._a[0]=o.year,e._dayOfYear=o.dayOfYear)}(e),null!=e._dayOfYear&&(a=vt(e._a[0],n[0]),(e._dayOfYear>Pe(a)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),r=Oe(a,0,e._dayOfYear),e._a[1]=r.getUTCMonth(),e._a[2]=r.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=n[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?Oe:Re).apply(null,o),s=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==s&&(p(e).weekdayMismatch=!0)}}function kt(e){if(e._f!==i.ISO_8601)if(e._f!==i.RFC_2822){e._a=[],p(e).empty=!0;var t,r,n,s,a,o,l=""+e._i,c=l.length,d=0;for(n=F(e._f,e._locale).match(P)||[],t=0;t0&&p(e).unusedInput.push(a),l=l.slice(l.indexOf(r)+r.length),d+=r.length),O[s]?(r?p(e).empty=!1:p(e).unusedTokens.push(s),we(s,r,e)):e._strict&&!r&&p(e).unusedTokens.push(s);p(e).charsLeftOver=c-d,l.length>0&&p(e).unusedInput.push(l),e._a[3]<=12&&!0===p(e).bigHour&&e._a[3]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[3]=function(e,t,r){var n;return null==r?t:null!=e.meridiemHour?e.meridiemHour(t,r):null!=e.isPM?((n=e.isPM(r))&&t<12&&(t+=12),n||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),null!==(o=p(e).era)&&(e._a[0]=e._locale.erasConvertYear(o,e._a[0])),wt(e),ct(e)}else bt(e);else yt(e)}function Mt(e){var t=e._i,r=e._f;return e._locale=e._locale||lt(e._l),null===t||void 0===r&&""===t?g({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),k(t)?new w(ct(t)):(u(t)?e._d=t:s(r)?function(e){var t,r,n,i,s,a,o=!1;if(0===e._f.length)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis?this:e:g()}));function Lt(e,t){var r,n;if(1===t.length&&s(t[0])&&(t=t[0]),!t.length)return xt();for(r=t[0],n=1;n=0?new Date(e+400,t,r)-ir:new Date(e,t,r).valueOf()}function or(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-ir:Date.UTC(e,t,r)}function lr(e,t){return t.erasAbbrRegex(e)}function cr(){var e,t,r=[],n=[],i=[],s=[],a=this.eras();for(e=0,t=a.length;e(s=He(e,n,i))&&(t=s),hr.call(this,e,t,r,n,i))}function hr(e,t,r,n,i){var s=je(e,t,r,n,i),a=Oe(s.year,0,s.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}I("N",0,0,"eraAbbr"),I("NN",0,0,"eraAbbr"),I("NNN",0,0,"eraAbbr"),I("NNNN",0,0,"eraName"),I("NNNNN",0,0,"eraNarrow"),I("y",["y",1],"yo","eraYear"),I("y",["yy",2],0,"eraYear"),I("y",["yyy",3],0,"eraYear"),I("y",["yyyy",4],0,"eraYear"),me("N",lr),me("NN",lr),me("NNN",lr),me("NNNN",(function(e,t){return t.erasNameRegex(e)})),me("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),be(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,r,n){var i=r._locale.erasParse(e,n,r._strict);i?p(r).era=i:p(r).invalidEra=e})),me("y",ce),me("yy",ce),me("yyy",ce),me("yyyy",ce),me("yo",(function(e,t){return t._eraYearOrdinalRegex||ce})),be(["y","yy","yyy","yyyy"],0),be(["yo"],(function(e,t,r,n){var i;r._locale._eraYearOrdinalRegex&&(i=e.match(r._locale._eraYearOrdinalRegex)),t[0]=r._locale.eraYearOrdinalParse?r._locale.eraYearOrdinalParse(e,i):parseInt(e,10)})),I(0,["gg",2],0,(function(){return this.weekYear()%100})),I(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),dr("gggg","weekYear"),dr("ggggg","weekYear"),dr("GGGG","isoWeekYear"),dr("GGGGG","isoWeekYear"),N("weekYear","gg"),N("isoWeekYear","GG"),V("weekYear",1),V("isoWeekYear",1),me("G",de),me("g",de),me("GG",ne,X),me("gg",ne,X),me("GGGG",oe,te),me("gggg",oe,te),me("GGGGG",le,re),me("ggggg",le,re),ve(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,r,n){t[n.substr(0,2)]=q(e)})),ve(["gg","GG"],(function(e,t,r,n){t[n]=i.parseTwoDigitYear(e)})),I("Q",0,"Qo","quarter"),N("quarter","Q"),V("quarter",7),me("Q",Q),be("Q",(function(e,t){t[1]=3*(q(e)-1)})),I("D",["DD",2],"Do","date"),N("date","D"),V("date",9),me("D",ne),me("DD",ne,X),me("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),be(["D","DD"],2),be("Do",(function(e,t){t[2]=q(e.match(ne)[0])}));var fr=G("Date",!0);I("DDD",["DDDD",3],"DDDo","dayOfYear"),N("dayOfYear","DDD"),V("dayOfYear",4),me("DDD",ae),me("DDDD",ee),be(["DDD","DDDD"],(function(e,t,r){r._dayOfYear=q(e)})),I("m",["mm",2],0,"minute"),N("minute","m"),V("minute",14),me("m",ne),me("mm",ne,X),be(["m","mm"],4);var mr=G("Minutes",!1);I("s",["ss",2],0,"second"),N("second","s"),V("second",15),me("s",ne),me("ss",ne,X),be(["s","ss"],5);var pr,_r,gr=G("Seconds",!1);for(I("S",0,0,(function(){return~~(this.millisecond()/100)})),I(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),I(0,["SSS",3],0,"millisecond"),I(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),I(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),I(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),I(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),I(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),I(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),N("millisecond","ms"),V("millisecond",16),me("S",ae,Q),me("SS",ae,X),me("SSS",ae,ee),pr="SSSS";pr.length<=9;pr+="S")me(pr,ce);function yr(e,t){t[6]=q(1e3*("0."+e))}for(pr="S";pr.length<=9;pr+="S")be(pr,yr);_r=G("Milliseconds",!1),I("z",0,0,"zoneAbbr"),I("zz",0,0,"zoneName");var br=w.prototype;function vr(e){return e}br.add=Wt,br.calendar=function(e,t){1===arguments.length&&(arguments[0]?$t(arguments[0])?(e=arguments[0],t=void 0):Zt(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||xt(),n=It(r,this).startOf("day"),s=i.calendarFormat(this,n)||"sameElse",a=t&&(L(t[s])?t[s].call(this,r):t[s]);return this.format(a||this.localeData().calendar(s,this,xt(r)))},br.clone=function(){return new w(this)},br.diff=function(e,t,r){var n,i,s;if(!this.isValid())return NaN;if(!(n=It(e,this)).isValid())return NaN;switch(i=6e4*(n.utcOffset()-this.utcOffset()),t=B(t)){case"year":s=Jt(this,n)/12;break;case"month":s=Jt(this,n);break;case"quarter":s=Jt(this,n)/3;break;case"second":s=(this-n)/1e3;break;case"minute":s=(this-n)/6e4;break;case"hour":s=(this-n)/36e5;break;case"day":s=(this-n-i)/864e5;break;case"week":s=(this-n-i)/6048e5;break;default:s=this-n}return r?s:W(s)},br.endOf=function(e){var t,r;if(void 0===(e=B(e))||"millisecond"===e||!this.isValid())return this;switch(r=this._isUTC?or:ar,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=nr-sr(t+(this._isUTC?0:this.utcOffset()*rr),nr)-1;break;case"minute":t=this._d.valueOf(),t+=rr-sr(t,rr)-1;break;case"second":t=this._d.valueOf(),t+=tr-sr(t,tr)-1}return this._d.setTime(t),i.updateOffset(this,!0),this},br.format=function(e){e||(e=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var t=j(this,e);return this.localeData().postformat(t)},br.from=function(e,t){return this.isValid()&&(k(e)&&e.isValid()||xt(e).isValid())?Bt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},br.fromNow=function(e){return this.from(xt(),e)},br.to=function(e,t){return this.isValid()&&(k(e)&&e.isValid()||xt(e).isValid())?Bt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},br.toNow=function(e){return this.to(xt(),e)},br.get=function(e){return L(this[e=B(e)])?this[e]():this},br.invalidAt=function(){return p(this).overflow},br.isAfter=function(e,t){var r=k(e)?e:xt(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=B(t)||"millisecond")?this.valueOf()>r.valueOf():r.valueOf()9999?j(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):L(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",j(r,"Z")):j(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},br.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,r="moment",n="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),e="["+r+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(br[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),br.toJSON=function(){return this.isValid()?this.toISOString():null},br.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},br.unix=function(){return Math.floor(this.valueOf()/1e3)},br.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},br.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},br.eraName=function(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;ethis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},br.isLocal=function(){return!!this.isValid()&&!this._isUTC},br.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},br.isUtc=Ft,br.isUTC=Ft,br.zoneAbbr=function(){return this._isUTC?"UTC":""},br.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},br.dates=S("dates accessor is deprecated. Use date instead.",fr),br.months=S("months accessor is deprecated. Use month instead",Ee),br.years=S("years accessor is deprecated. Use year instead",Ye),br.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),br.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e,t={};return v(t,this),(t=Mt(t))._a?(e=t._isUTC?m(t._a):xt(t._a),this._isDSTShifted=this.isValid()&&function(e,t,r){var n,i=Math.min(e.length,t.length),s=Math.abs(e.length-t.length),a=0;for(n=0;n0):this._isDSTShifted=!1,this._isDSTShifted}));var wr=E.prototype;function kr(e,t,r,n){var i=lt(),s=m().set(n,t);return i[r](s,e)}function Mr(e,t,r){if(d(e)&&(t=e,e=void 0),e=e||"",null!=t)return kr(e,t,r,"month");var n,i=[];for(n=0;n<12;n++)i[n]=kr(e,n,r,"month");return i}function Sr(e,t,r,n){"boolean"==typeof e?(d(t)&&(r=t,t=void 0),t=t||""):(r=t=e,e=!1,d(t)&&(r=t,t=void 0),t=t||"");var i,s=lt(),a=e?s._week.dow:0,o=[];if(null!=r)return kr(t,(r+a)%7,n,"day");for(i=0;i<7;i++)o[i]=kr(t,(i+a)%7,n,"day");return o}wr.calendar=function(e,t,r){var n=this._calendar[e]||this._calendar.sameElse;return L(n)?n.call(t,r):n},wr.longDateFormat=function(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(P).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},wr.invalidDate=function(){return this._invalidDate},wr.ordinal=function(e){return this._ordinal.replace("%d",e)},wr.preparse=vr,wr.postformat=vr,wr.relativeTime=function(e,t,r,n){var i=this._relativeTime[r];return L(i)?i(e,t,r,n):i.replace(/%d/i,e)},wr.pastFuture=function(e,t){var r=this._relativeTime[e>0?"future":"past"];return L(r)?r(t):r.replace(/%s/i,t)},wr.set=function(e){var t,r;for(r in e)o(e,r)&&(L(t=e[r])?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},wr.eras=function(e,t){var r,n,s,a=this._eras||lt("en")._eras;for(r=0,n=a.length;r=0)return l[n]},wr.erasConvertYear=function(e,t){var r=e.since<=e.until?1:-1;return void 0===t?i(e.since).year():i(e.since).year()+(t-e.offset)*r},wr.erasAbbrRegex=function(e){return o(this,"_erasAbbrRegex")||cr.call(this),e?this._erasAbbrRegex:this._erasRegex},wr.erasNameRegex=function(e){return o(this,"_erasNameRegex")||cr.call(this),e?this._erasNameRegex:this._erasRegex},wr.erasNarrowRegex=function(e){return o(this,"_erasNarrowRegex")||cr.call(this),e?this._erasNarrowRegex:this._erasRegex},wr.months=function(e,t){return e?s(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||xe).test(t)?"format":"standalone"][e.month()]:s(this._months)?this._months:this._months.standalone},wr.monthsShort=function(e,t){return e?s(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[xe.test(t)?"format":"standalone"][e.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},wr.monthsParse=function(e,t,r){var n,i,s;if(this._monthsParseExact)return Le.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(i=m([2e3,n]),r&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),r||this._monthsParse[n]||(s="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[n]=new RegExp(s.replace(".",""),"i")),r&&"MMMM"===t&&this._longMonthsParse[n].test(e))return n;if(r&&"MMM"===t&&this._shortMonthsParse[n].test(e))return n;if(!r&&this._monthsParse[n].test(e))return n}},wr.monthsRegex=function(e){return this._monthsParseExact?(o(this,"_monthsRegex")||Te.call(this),e?this._monthsStrictRegex:this._monthsRegex):(o(this,"_monthsRegex")||(this._monthsRegex=De),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},wr.monthsShortRegex=function(e){return this._monthsParseExact?(o(this,"_monthsRegex")||Te.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(o(this,"_monthsShortRegex")||(this._monthsShortRegex=Ce),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},wr.week=function(e){return Fe(e,this._week.dow,this._week.doy).week},wr.firstDayOfYear=function(){return this._week.doy},wr.firstDayOfWeek=function(){return this._week.dow},wr.weekdays=function(e,t){var r=s(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ne(r,this._week.dow):e?r[e.day()]:r},wr.weekdaysMin=function(e){return!0===e?Ne(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},wr.weekdaysShort=function(e){return!0===e?Ne(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},wr.weekdaysParse=function(e,t,r){var n,i,s;if(this._weekdaysParseExact)return qe.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(i=m([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(s="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[n]=new RegExp(s.replace(".",""),"i")),r&&"dddd"===t&&this._fullWeekdaysParse[n].test(e))return n;if(r&&"ddd"===t&&this._shortWeekdaysParse[n].test(e))return n;if(r&&"dd"===t&&this._minWeekdaysParse[n].test(e))return n;if(!r&&this._weekdaysParse[n].test(e))return n}},wr.weekdaysRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(o(this,"_weekdaysRegex")||(this._weekdaysRegex=Ve),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},wr.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(o(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ke),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},wr.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(o(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=We),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},wr.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},wr.meridiem=function(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"},at("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===q(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),i.lang=S("moment.lang is deprecated. Use moment.locale instead.",at),i.langData=S("moment.langData is deprecated. Use moment.localeData instead.",lt);var xr=Math.abs;function Cr(e,t,r,n){var i=Bt(t,r);return e._milliseconds+=n*i._milliseconds,e._days+=n*i._days,e._months+=n*i._months,e._bubble()}function Dr(e){return e<0?Math.floor(e):Math.ceil(e)}function Lr(e){return 4800*e/146097}function Ar(e){return 146097*e/4800}function Er(e){return function(){return this.as(e)}}var Tr=Er("ms"),Pr=Er("s"),Yr=Er("m"),Rr=Er("h"),Or=Er("d"),Ir=Er("w"),jr=Er("M"),Fr=Er("Q"),Hr=Er("y");function Nr(e){return function(){return this.isValid()?this._data[e]:NaN}}var Br=Nr("milliseconds"),zr=Nr("seconds"),Ur=Nr("minutes"),Vr=Nr("hours"),Kr=Nr("days"),Wr=Nr("months"),qr=Nr("years"),Gr=Math.round,$r={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Zr(e,t,r,n,i){return i.relativeTime(t||1,!!r,e,n)}var Jr=Math.abs;function Qr(e){return(e>0)-(e<0)||+e}function Xr(){if(!this.isValid())return this.localeData().invalidDate();var e,t,r,n,i,s,a,o,l=Jr(this._milliseconds)/1e3,c=Jr(this._days),d=Jr(this._months),u=this.asSeconds();return u?(e=W(l/60),t=W(e/60),l%=60,e%=60,r=W(d/12),d%=12,n=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=u<0?"-":"",s=Qr(this._months)!==Qr(u)?"-":"",a=Qr(this._days)!==Qr(u)?"-":"",o=Qr(this._milliseconds)!==Qr(u)?"-":"",i+"P"+(r?s+r+"Y":"")+(d?s+d+"M":"")+(c?a+c+"D":"")+(t||e||l?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(l?o+n+"S":"")):"P0D"}var en=Et.prototype;return en.isValid=function(){return this._isValid},en.abs=function(){var e=this._data;return this._milliseconds=xr(this._milliseconds),this._days=xr(this._days),this._months=xr(this._months),e.milliseconds=xr(e.milliseconds),e.seconds=xr(e.seconds),e.minutes=xr(e.minutes),e.hours=xr(e.hours),e.months=xr(e.months),e.years=xr(e.years),this},en.add=function(e,t){return Cr(this,e,t,1)},en.subtract=function(e,t){return Cr(this,e,t,-1)},en.as=function(e){if(!this.isValid())return NaN;var t,r,n=this._milliseconds;if("month"===(e=B(e))||"quarter"===e||"year"===e)switch(r=this._months+Lr(t=this._days+n/864e5),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(Ar(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return 24*t+n/36e5;case"minute":return 1440*t+n/6e4;case"second":return 86400*t+n/1e3;case"millisecond":return Math.floor(864e5*t)+n;default:throw new Error("Unknown unit "+e)}},en.asMilliseconds=Tr,en.asSeconds=Pr,en.asMinutes=Yr,en.asHours=Rr,en.asDays=Or,en.asWeeks=Ir,en.asMonths=jr,en.asQuarters=Fr,en.asYears=Hr,en.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*q(this._months/12):NaN},en._bubble=function(){var e,t,r,n,i,s=this._milliseconds,a=this._days,o=this._months,l=this._data;return s>=0&&a>=0&&o>=0||s<=0&&a<=0&&o<=0||(s+=864e5*Dr(Ar(o)+a),a=0,o=0),l.milliseconds=s%1e3,e=W(s/1e3),l.seconds=e%60,t=W(e/60),l.minutes=t%60,r=W(t/60),l.hours=r%24,a+=W(r/24),o+=i=W(Lr(a)),a-=Dr(Ar(i)),n=W(o/12),o%=12,l.days=a,l.months=o,l.years=n,this},en.clone=function(){return Bt(this)},en.get=function(e){return e=B(e),this.isValid()?this[e+"s"]():NaN},en.milliseconds=Br,en.seconds=zr,en.minutes=Ur,en.hours=Vr,en.days=Kr,en.weeks=function(){return W(this.days()/7)},en.months=Wr,en.years=qr,en.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var r,n,i=!1,s=$r;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(i=e),"object"==typeof t&&(s=Object.assign({},$r,t),null!=t.s&&null==t.ss&&(s.ss=t.s-1)),n=function(e,t,r,n){var i=Bt(e).abs(),s=Gr(i.as("s")),a=Gr(i.as("m")),o=Gr(i.as("h")),l=Gr(i.as("d")),c=Gr(i.as("M")),d=Gr(i.as("w")),u=Gr(i.as("y")),h=s<=r.ss&&["s",s]||s0,h[4]=n,Zr.apply(null,h)}(this,!i,s,r=this.localeData()),i&&(n=r.pastFuture(+this,n)),r.postformat(n)},en.toISOString=Xr,en.toString=Xr,en.toJSON=Xr,en.locale=Qt,en.localeData=er,en.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Xr),en.lang=Xt,I("X",0,0,"unix"),I("x",0,0,"valueOf"),me("x",de),me("X",/[+-]?\d+(\.\d{1,3})?/),be("X",(function(e,t,r){r._d=new Date(1e3*parseFloat(e))})),be("x",(function(e,t,r){r._d=new Date(q(e))})),i.version="2.29.1",t=xt,i.fn=br,i.min=function(){return Lt("isBefore",[].slice.call(arguments,0))},i.max=function(){return Lt("isAfter",[].slice.call(arguments,0))},i.now=function(){return Date.now?Date.now():+new Date},i.utc=m,i.unix=function(e){return xt(1e3*e)},i.months=function(e,t){return Mr(e,t,"months")},i.isDate=u,i.locale=at,i.invalid=g,i.duration=Bt,i.isMoment=k,i.weekdays=function(e,t,r){return Sr(e,t,r,"weekdays")},i.parseZone=function(){return xt.apply(null,arguments).parseZone()},i.localeData=lt,i.isDuration=Tt,i.monthsShort=function(e,t){return Mr(e,t,"monthsShort")},i.weekdaysMin=function(e,t,r){return Sr(e,t,r,"weekdaysMin")},i.defineLocale=ot,i.updateLocale=function(e,t){if(null!=t){var r,n,i=et;null!=tt[e]&&null!=tt[e].parentLocale?tt[e].set(A(tt[e]._config,t)):(null!=(n=st(e))&&(i=n._config),t=A(i,t),null==n&&(t.abbr=e),(r=new E(t)).parentLocale=tt[e],tt[e]=r),at(e)}else null!=tt[e]&&(null!=tt[e].parentLocale?(tt[e]=tt[e].parentLocale,e===at()&&at(e)):null!=tt[e]&&delete tt[e]);return tt[e]},i.locales=function(){return x(tt)},i.weekdaysShort=function(e,t,r){return Sr(e,t,r,"weekdaysShort")},i.normalizeUnits=B,i.relativeTimeRounding=function(e){return void 0===e?Gr:"function"==typeof e&&(Gr=e,!0)},i.relativeTimeThreshold=function(e,t){return void 0!==$r[e]&&(void 0===t?$r[e]:($r[e]=t,"s"===e&&($r.ss=t-1),!0))},i.calendarFormat=function(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"},i.prototype=br,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}()}).call(this,r("YuTi")(e))},x6pH:function(e,t,r){!function(e){"use strict";e.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(e){return 2===e?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":e+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(e){return 2===e?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":e+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(e){return 2===e?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":e+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(e){return 2===e?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":e%10==0&&10!==e?e+" \u05e9\u05e0\u05d4":e+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(e){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(e)},meridiem:function(e,t,r){return e<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":e<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":e<12?r?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":e<18?r?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(r("wd/R"))},yKow:function(e,t,r){var n=r("e/Dd"),i=r("NPxG"),s=r("ekOh"),a=r("u/Db"),o=r("J6Nv"),l=r("7uVY"),c=n.getBCHDigit(7973);function d(e,t){return a.getCharCountIndicator(e,t)+4}function u(e,t){var r=0;return e.forEach((function(e){var n=d(e.mode,t);r+=n+e.getBitsLength()})),r}t.from=function(e,t){return o.isValid(e)?parseInt(e,10):t},t.getCapacity=function(e,t,r){if(!o.isValid(e))throw new Error("Invalid QR Code version");void 0===r&&(r=a.BYTE);var s=8*(n.getSymbolTotalCodewords(e)-i.getTotalCodewordsCount(e,t));if(r===a.MIXED)return s;var l=s-d(r,e);switch(r){case a.NUMERIC:return Math.floor(l/10*3);case a.ALPHANUMERIC:return Math.floor(l/11*2);case a.KANJI:return Math.floor(l/13);case a.BYTE:default:return Math.floor(l/8)}},t.getBestVersionForData=function(e,r){var n,i=s.from(r,s.M);if(l(e)){if(e.length>1)return function(e,r){for(var n=1;n<=40;n++)if(u(e,n)<=t.getCapacity(n,r,a.MIXED))return n}(e,i);if(0===e.length)return 1;n=e[0]}else n=e;return function(e,r,n){for(var i=1;i<=40;i++)if(r<=t.getCapacity(i,n,e))return i}(n.mode,n.getLength(),i)},t.getEncodedBits=function(e){if(!o.isValid(e)||e<7)throw new Error("Invalid QR Code version");for(var t=e<<12;n.getBCHDigit(t)-c>=0;)t^=7973<11?r?"d'o":"D'O":r?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r("wd/R"))},z3Vd:function(e,t,r){!function(e){"use strict";var t="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function r(e,r,n,i){var s=function(e){var r=Math.floor(e%1e3/100),n=Math.floor(e%100/10),i=e%10,s="";return r>0&&(s+=t[r]+"vatlh"),n>0&&(s+=(""!==s?" ":"")+t[n]+"maH"),i>0&&(s+=(""!==s?" ":"")+t[i]),""===s?"pagh":s}(e);switch(n){case"ss":return s+" lup";case"mm":return s+" tup";case"hh":return s+" rep";case"dd":return s+" jaj";case"MM":return s+" jar";case"yy":return s+" DIS"}}e.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"},past:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu\u2019":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"},s:"puS lup",ss:r,m:"wa\u2019 tup",mm:r,h:"wa\u2019 rep",hh:r,d:"wa\u2019 jaj",dd:r,M:"wa\u2019 jar",MM:r,y:"wa\u2019 DIS",yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r("wd/R"))},zUnb:function(e,t,r){"use strict";function n(e){return"function"==typeof e}r.r(t);let i=!1;const s={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){const e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=e},get useDeprecatedSynchronousErrorHandling(){return i}};function a(e){setTimeout(()=>{throw e},0)}const o={closed:!0,next(e){},error(e){if(s.useDeprecatedSynchronousErrorHandling)throw e;a(e)},complete(){}},l=(()=>Array.isArray||(e=>e&&"number"==typeof e.length))();function c(e){return null!==e&&"object"==typeof e}const d=(()=>{function e(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((e,t)=>`${t+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e})();let u=(()=>{class e{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:r,_ctorUnsubscribe:i,_unsubscribe:s,_subscriptions:a}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,r instanceof e)r.remove(this);else if(null!==r)for(let e=0;ee.concat(t instanceof d?t.errors:t),[])}const f=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())();class m extends u{constructor(e,t,r){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=o;break;case 1:if(!e){this.destination=o;break}if("object"==typeof e){e instanceof m?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new p(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new p(this,e,t,r)}}[f](){return this}static create(e,t,r){const n=new m(e,t,r);return n.syncErrorThrowable=!1,n}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:e}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}class p extends m{constructor(e,t,r,i){let s;super(),this._parentSubscriber=e;let a=this;n(t)?s=t:t&&(s=t.next,r=t.error,i=t.complete,t!==o&&(a=Object.create(t),n(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=s,this._error=r,this._complete=i}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;s.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:r}=s;if(this._error)r&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)r?(t.syncErrorValue=e,t.syncErrorThrown=!0):a(e),this.unsubscribe();else{if(this.unsubscribe(),r)throw e;a(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);s.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,t){try{e.call(this._context,t)}catch(r){if(this.unsubscribe(),s.useDeprecatedSynchronousErrorHandling)throw r;a(r)}}__tryOrSetError(e,t,r){if(!s.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,r)}catch(n){return s.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=n,e.syncErrorThrown=!0,!0):(a(n),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}const _=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")();function g(e){return e}let y=(()=>{class e{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(t){const r=new e;return r.source=this,r.operator=t,r}subscribe(e,t,r){const{operator:n}=this,i=function(e,t,r){if(e){if(e instanceof m)return e;if(e[f])return e[f]()}return e||t||r?new m(e,t,r):new m(o)}(e,t,r);if(i.add(n?n.call(i,this.source):this.source||s.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),s.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i}_trySubscribe(e){try{return this._subscribe(e)}catch(t){s.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){const{closed:t,destination:r,isStopped:n}=e;if(t||n)return!1;e=r&&r instanceof m?r:null}return!0}(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=b(t))((t,r)=>{let n;n=this.subscribe(t=>{try{e(t)}catch(i){r(i),n&&n.unsubscribe()}},r,t)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[_](){return this}pipe(...e){return 0===e.length?this:(0===(t=e).length?g:1===t.length?t[0]:function(e){return t.reduce((e,t)=>t(e),e)})(this);var t}toPromise(e){return new(e=b(e))((e,t)=>{let r;this.subscribe(e=>r=e,e=>t(e),()=>e(r))})}}return e.create=t=>new e(t),e})();function b(e){if(e||(e=s.Promise||Promise),!e)throw new Error("no Promise impl found");return e}const v=(()=>{function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e})();class w extends u{constructor(e,t){super(),this.subject=e,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,t=e.observers;if(this.subject=null,!t||0===t.length||e.isStopped||e.closed)return;const r=t.indexOf(this.subscriber);-1!==r&&t.splice(r,1)}}class k extends m{constructor(e){super(e),this.destination=e}}let M=(()=>{class e extends y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[f](){return new k(this)}lift(e){const t=new S(this,this);return t.operator=e,t}next(e){if(this.closed)throw new v;if(!this.isStopped){const{observers:t}=this,r=t.length,n=t.slice();for(let i=0;inew S(e,t),e})();class S extends M{constructor(e,t){super(),this.destination=e,this.source=t}next(e){const{destination:t}=this;t&&t.next&&t.next(e)}error(e){const{destination:t}=this;t&&t.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:t}=this;return t?this.source.subscribe(e):u.EMPTY}}function x(e){return e&&"function"==typeof e.schedule}function C(e,t){return function(r){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return r.lift(new D(e,t))}}class D{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new L(e,this.project,this.thisArg))}}class L extends m{constructor(e,t,r){super(e),this.project=t,this.count=0,this.thisArg=r||this}_next(e){let t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(r){return void this.destination.error(r)}this.destination.next(t)}}const A=e=>t=>{for(let r=0,n=e.length;re&&"number"==typeof e.length&&"function"!=typeof e;function Y(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}const R=e=>{if(e&&"function"==typeof e[_])return n=e,e=>{const t=n[_]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(P(e))return A(e);if(Y(e))return r=e,e=>(r.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,a),e);if(e&&"function"==typeof e[T])return t=e,e=>{const r=t[T]();for(;;){let t;try{t=r.next()}catch(n){return e.error(n),e}if(t.done){e.complete();break}if(e.next(t.value),e.closed)break}return"function"==typeof r.return&&e.add(()=>{r.return&&r.return()}),e};{const t=c(e)?"an invalid object":`'${e}'`;throw new TypeError(`You provided ${t} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var t,r,n};function O(e,t){return new y(r=>{const n=new u;let i=0;return n.add(t.schedule((function(){i!==e.length?(r.next(e[i++]),r.closed||n.add(this.schedule())):r.complete()}))),n})}function I(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[_]}(e))return function(e,t){return new y(r=>{const n=new u;return n.add(t.schedule(()=>{const i=e[_]();n.add(i.subscribe({next(e){n.add(t.schedule(()=>r.next(e)))},error(e){n.add(t.schedule(()=>r.error(e)))},complete(){n.add(t.schedule(()=>r.complete()))}}))})),n})}(e,t);if(Y(e))return function(e,t){return new y(r=>{const n=new u;return n.add(t.schedule(()=>e.then(e=>{n.add(t.schedule(()=>{r.next(e),n.add(t.schedule(()=>r.complete()))}))},e=>{n.add(t.schedule(()=>r.error(e)))}))),n})}(e,t);if(P(e))return O(e,t);if(function(e){return e&&"function"==typeof e[T]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new y(r=>{const n=new u;let i;return n.add(()=>{i&&"function"==typeof i.return&&i.return()}),n.add(t.schedule(()=>{i=e[T](),n.add(t.schedule((function(){if(r.closed)return;let e,t;try{const r=i.next();e=r.value,t=r.done}catch(n){return void r.error(n)}t?r.complete():(r.next(e),this.schedule())})))})),n})}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof y?e:new y(R(e))}class j extends m{constructor(e){super(),this.parent=e}_next(e){this.parent.notifyNext(e)}_error(e){this.parent.notifyError(e),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class F extends m{notifyNext(e){this.destination.next(e)}notifyError(e){this.destination.error(e)}notifyComplete(){this.destination.complete()}}function H(e,t){if(!t.closed)return e instanceof y?e.subscribe(t):R(e)(t)}function N(e,t,r=Number.POSITIVE_INFINITY){return"function"==typeof t?n=>n.pipe(N((r,n)=>I(e(r,n)).pipe(C((e,i)=>t(r,e,n,i))),r)):("number"==typeof t&&(r=t),t=>t.lift(new B(e,r)))}class B{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new z(e,this.project,this.concurrent))}}class z extends F{constructor(e,t,r=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=r,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function U(e=Number.POSITIVE_INFINITY){return N(g,e)}function V(e,t){return t?O(e,t):new y(A(e))}function K(...e){let t=Number.POSITIVE_INFINITY,r=null,n=e[e.length-1];return x(n)?(r=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof n&&(t=e.pop()),null===r&&1===e.length&&e[0]instanceof y?e[0]:U(t)(V(e,r))}function W(){return function(e){return e.lift(new q(e))}}class q{constructor(e){this.connectable=e}call(e,t){const{connectable:r}=this;r._refCount++;const n=new G(e,r),i=t.subscribe(n);return n.closed||(n.connection=r.connect()),i}}class G extends m{constructor(e,t){super(e),this.connectable=t}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const t=e._refCount;if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);const{connection:r}=this,n=e._connection;this.connection=null,!n||r&&n!==r||n.unsubscribe()}}class $ extends y{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,e=this._connection=new u,e.add(this.source.subscribe(new J(this.getSubject(),this))),e.closed&&(this._connection=null,e=u.EMPTY)),e}refCount(){return W()(this)}}const Z=(()=>{const e=$.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}})();class J extends k{constructor(e,t){super(e),this.connectable=t}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}function Q(){return new M}function X(){return e=>{return W()((t=Q,function(e){let r;r="function"==typeof t?t:function(){return t};const n=Object.create(e,Z);return n.source=e,n.subjectFactory=r,n})(e));var t}}function ee(e){return{toString:e}.toString()}const te="__parameters__";function re(e,t,r){return ee(()=>{const n=function(e){return function(...t){if(e){const r=e(...t);for(const e in r)this[e]=r[e]}}}(t);function i(...e){if(this instanceof i)return n.apply(this,e),this;const t=new i(...e);return r.annotation=t,r;function r(e,r,n){const i=e.hasOwnProperty(te)?e[te]:Object.defineProperty(e,te,{value:[]})[te];for(;i.length<=n;)i.push(null);return(i[n]=i[n]||[]).push(t),e}}return r&&(i.prototype=Object.create(r.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}const ne=re("Inject",e=>({token:e})),ie=re("Optional"),se=re("Self"),ae=re("SkipSelf");var oe=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});function le(e){for(let t in e)if(e[t]===le)return t;throw Error("Could not find renamed property on target object.")}function ce(e,t){for(const r in t)t.hasOwnProperty(r)&&!e.hasOwnProperty(r)&&(e[r]=t[r])}function de(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ue(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function he(e){return fe(e,e[pe])||fe(e,e[ye])}function fe(e,t){return t&&t.token===e?t:null}function me(e){return e&&(e.hasOwnProperty(_e)||e.hasOwnProperty(be))?e[_e]:null}const pe=le({"\u0275prov":le}),_e=le({"\u0275inj":le}),ge=le({"\u0275provFallback":le}),ye=le({ngInjectableDef:le}),be=le({ngInjectorDef:le});function ve(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ve).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;const t=e.toString();if(null==t)return""+t;const r=t.indexOf("\n");return-1===r?t:t.substring(0,r)}function we(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const ke=le({__forward_ref__:le});function Me(e){return e.__forward_ref__=Me,e.toString=function(){return ve(this())},e}function Se(e){return xe(e)?e():e}function xe(e){return"function"==typeof e&&e.hasOwnProperty(ke)&&e.__forward_ref__===Me}const Ce="undefined"!=typeof globalThis&&globalThis,De="undefined"!=typeof window&&window,Le="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Ae="undefined"!=typeof global&&global,Ee=Ce||Ae||De||Le,Te=le({"\u0275cmp":le}),Pe=le({"\u0275dir":le}),Ye=le({"\u0275pipe":le}),Re=le({"\u0275mod":le}),Oe=le({"\u0275loc":le}),Ie=le({"\u0275fac":le}),je=le({__NG_ELEMENT_ID__:le});class Fe{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=de({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return"InjectionToken "+this._desc}}const He=new Fe("INJECTOR",-1),Ne={},Be=/\n/gm,ze="__source",Ue=le({provide:String,useValue:le});let Ve,Ke=void 0;function We(e){const t=Ke;return Ke=e,t}function qe(e){const t=Ve;return Ve=e,t}function Ge(e,t=oe.Default){if(void 0===Ke)throw new Error("inject() must be called from an injection context");return null===Ke?Je(e,void 0,t):Ke.get(e,t&oe.Optional?null:void 0,t)}function $e(e,t=oe.Default){return(Ve||Ge)(Se(e),t)}const Ze=$e;function Je(e,t,r){const n=he(e);if(n&&"root"==n.providedIn)return void 0===n.value?n.value=n.factory():n.value;if(r&oe.Optional)return null;if(void 0!==t)return t;throw new Error(`Injector: NOT_FOUND [${ve(e)}]`)}function Qe(e){const t=[];for(let r=0;rArray.isArray(e)?rt(e,t):t(e))}function nt(e,t,r){t>=e.length?e.push(r):e.splice(t,0,r)}function it(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function st(e,t){const r=[];for(let n=0;n=0?e[1|n]=r:(n=~n,function(e,t,r,n){let i=e.length;if(i==t)e.push(r,n);else if(1===i)e.push(n,e[0]),e[0]=r;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=r,e[t+1]=n}}(e,n,t,r)),n}function ot(e,t){const r=lt(e,t);if(r>=0)return e[1|r]}function lt(e,t){return function(e,t,r){let n=0,i=e.length>>1;for(;i!==n;){const r=n+(i-n>>1),s=e[r<<1];if(t===s)return r<<1;s>t?i=r:n=r+1}return~(i<<1)}(e,t)}var ct=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}({}),dt=function(e){return e[e.Emulated=0]="Emulated",e[e.Native=1]="Native",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({});const ut={},ht=[];let ft=0;function mt(e){return ee(()=>{const t={},r={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===ct.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||ht,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||dt.Emulated,id:"c",styles:e.styles||ht,_:null,setInput:null,schemas:e.schemas||null,tView:null},n=e.directives,i=e.features,s=e.pipes;return r.id+=ft++,r.inputs=bt(e.inputs,t),r.outputs=bt(e.outputs),i&&i.forEach(e=>e(r)),r.directiveDefs=n?()=>("function"==typeof n?n():n).map(pt):null,r.pipeDefs=s?()=>("function"==typeof s?s():s).map(_t):null,r})}function pt(e){return kt(e)||function(e){return e[Pe]||null}(e)}function _t(e){return function(e){return e[Ye]||null}(e)}const gt={};function yt(e){const t={type:e.type,bootstrap:e.bootstrap||ht,declarations:e.declarations||ht,imports:e.imports||ht,exports:e.exports||ht,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&ee(()=>{gt[e.id]=e.type}),t}function bt(e,t){if(null==e)return ut;const r={};for(const n in e)if(e.hasOwnProperty(n)){let i=e[n],s=i;Array.isArray(i)&&(s=i[1],i=i[0]),r[i]=n,t&&(t[i]=s)}return r}const vt=mt;function wt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function kt(e){return e[Te]||null}function Mt(e,t){return e.hasOwnProperty(Ie)?e[Ie]:null}function St(e,t){const r=e[Re]||null;if(!r&&!0===t)throw new Error(`Type ${ve(e)} does not have '\u0275mod' property.`);return r}const xt=20,Ct=10;function Dt(e){return Array.isArray(e)&&"object"==typeof e[1]}function Lt(e){return Array.isArray(e)&&!0===e[1]}function At(e){return 0!=(8&e.flags)}function Et(e){return 2==(2&e.flags)}function Tt(e){return 1==(1&e.flags)}function Pt(e){return null!==e.template}function Yt(e){return 0!=(512&e[2])}class Rt{constructor(e,t,r){this.previousValue=e,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}}function Ot(){return It}function It(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ft),jt}function jt(){const e=Ht(this),t=null==e?void 0:e.current;if(t){const r=e.previous;if(r===ut)e.previous=t;else for(let e in t)r[e]=t[e];e.current=null,this.ngOnChanges(t)}}function Ft(e,t,r,n){const i=Ht(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:ut,current:null}),s=i.current||(i.current={}),a=i.previous,o=this.declaredInputs[r],l=a[o];s[o]=new Rt(l&&l.currentValue,t,a===ut),e[n]=t}function Ht(e){return e.__ngSimpleChanges__||null}Ot.ngInherit=!0;const Nt="http://www.w3.org/2000/svg";let Bt=void 0;function zt(){return void 0!==Bt?Bt:"undefined"!=typeof document?document:void 0}function Ut(e){return!!e.listen}const Vt={createRenderer:(e,t)=>zt()};function Kt(e){for(;Array.isArray(e);)e=e[0];return e}function Wt(e,t){return Kt(t[e+xt])}function qt(e,t){return Kt(t[e.index])}function Gt(e,t){return e.data[t+xt]}function $t(e,t){return e[t+xt]}function Zt(e,t){const r=t[e];return Dt(r)?r:r[0]}function Jt(e){const t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function Qt(e){return 4==(4&e[2])}function Xt(e){return 128==(128&e[2])}function er(e,t){return null===e||null==t?null:e[t]}function tr(e){e[18]=0}function rr(e,t){e[5]+=t;let r=e,n=e[3];for(;null!==n&&(1===t&&1===r[5]||-1===t&&0===r[5]);)n[5]+=t,r=n,n=n[3]}const nr={lFrame:Cr(null),bindingsEnabled:!0,checkNoChangesMode:!1};function ir(){return nr.bindingsEnabled}function sr(){return nr.lFrame.lView}function ar(){return nr.lFrame.tView}function or(e){nr.lFrame.contextLView=e}function lr(){return nr.lFrame.currentTNode}function cr(e,t){nr.lFrame.currentTNode=e,nr.lFrame.isParent=t}function dr(){return nr.lFrame.isParent}function ur(){nr.lFrame.isParent=!1}function hr(){return nr.checkNoChangesMode}function fr(e){nr.checkNoChangesMode=e}function mr(){const e=nr.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function pr(){return nr.lFrame.bindingIndex}function _r(){return nr.lFrame.bindingIndex++}function gr(e){const t=nr.lFrame,r=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,r}function yr(e,t){const r=nr.lFrame;r.bindingIndex=r.bindingRootIndex=e,br(t)}function br(e){nr.lFrame.currentDirectiveIndex=e}function vr(e){const t=nr.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function wr(){return nr.lFrame.currentQueryIndex}function kr(e){nr.lFrame.currentQueryIndex=e}function Mr(e,t){const r=xr();nr.lFrame=r,r.currentTNode=t,r.lView=e}function Sr(e){const t=xr(),r=e[1];nr.lFrame=t,t.currentTNode=r.firstChild,t.lView=e,t.tView=r,t.contextLView=e,t.bindingIndex=r.bindingStartIndex}function xr(){const e=nr.lFrame,t=null===e?null:e.child;return null===t?Cr(e):t}function Cr(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null};return null!==e&&(e.child=t),t}function Dr(){const e=nr.lFrame;return nr.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Lr=Dr;function Ar(){const e=Dr();e.isParent=!0,e.tView=null,e.selectedIndex=0,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Er(){return nr.lFrame.selectedIndex}function Tr(e){nr.lFrame.selectedIndex=e}function Pr(){const e=nr.lFrame;return Gt(e.tView,e.selectedIndex)}function Yr(){nr.lFrame.currentNamespace=Nt}function Rr(e,t){for(let r=t.directiveStart,n=t.directiveEnd;r=n)break}else t[a]<0&&(e[18]+=65536),(s>11>16&&(3&e[2])===t&&(e[2]+=2048,s.call(a)):s.call(a)}const Nr=-1;class Br{constructor(e,t,r){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=r}}function zr(e,t,r){const n=Ut(e);let i=0;for(;it){a=s-1;break}}}for(;s>16,n=t;for(;r>0;)n=n[15],r--;return n}function Zr(e){return"string"==typeof e?e:null==e?"":""+e}function Jr(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Zr(e)}const Qr=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Ee))();function Xr(e){return{name:"window",target:e.ownerDocument.defaultView}}function en(e){return{name:"body",target:e.ownerDocument.body}}function tn(e){return e instanceof Function?e():e}let rn=!0;function nn(e){const t=rn;return rn=e,t}let sn=0;function an(e,t){const r=ln(e,t);if(-1!==r)return r;const n=t[1];n.firstCreatePass&&(e.injectorIndex=t.length,on(n.data,e),on(t,null),on(n.blueprint,null));const i=cn(e,t),s=e.injectorIndex;if(qr(i)){const e=Gr(i),r=$r(i,t),n=r[1].data;for(let i=0;i<8;i++)t[s+i]=r[e+i]|n[e+i]}return t[s+8]=i,s}function on(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ln(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function cn(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let r=0,n=null,i=t;for(;null!==i;){const e=i[1],t=e.type;if(n=2===t?e.declTNode:1===t?i[6]:null,null===n)return Nr;if(r++,i=i[15],-1!==n.injectorIndex)return n.injectorIndex|r<<16}return Nr}function dn(e,t,r){!function(e,t,r){let n;"string"==typeof r?n=r.charCodeAt(0)||0:r.hasOwnProperty(je)&&(n=r[je]),null==n&&(n=r[je]=sn++);const i=255&n,s=1<0?255&t:t}(r);if("function"==typeof i){Mr(t,e);try{const e=i();if(null!=e||n&oe.Optional)return e;throw new Error(`No provider for ${Jr(r)}!`)}finally{Lr()}}else if("number"==typeof i){if(-1===i)return new yn(e,t);let s=null,a=ln(e,t),o=Nr,l=n&oe.Host?t[16][6]:null;for((-1===a||n&oe.SkipSelf)&&(o=-1===a?cn(e,t):t[a+8],o!==Nr&&gn(n,!1)?(s=t[1],a=Gr(o),t=$r(o,t)):a=-1);-1!==a;){const e=t[1];if(_n(i,a,e.data)){const e=fn(a,t,r,s,n,l);if(e!==hn)return e}o=t[a+8],o!==Nr&&gn(n,t[1].data[a+8]===l)&&_n(i,a,t)?(s=e,a=Gr(o),t=$r(o,t)):a=-1}}}if(n&oe.Optional&&void 0===i&&(i=null),0==(n&(oe.Self|oe.Host))){const e=t[9],s=qe(void 0);try{return e?e.get(r,i,n&oe.Optional):Je(r,i,n&oe.Optional)}finally{qe(s)}}if(n&oe.Optional)return i;throw new Error(`NodeInjector: NOT_FOUND [${Jr(r)}]`)}const hn={};function fn(e,t,r,n,i,s){const a=t[1],o=a.data[e+8],l=mn(o,a,r,null==n?Et(o)&&rn:n!=a&&2===o.type,i&oe.Host&&s===o);return null!==l?pn(t,a,l,o):hn}function mn(e,t,r,n,i){const s=e.providerIndexes,a=t.data,o=1048575&s,l=e.directiveStart,c=s>>20,d=i?o+c:e.directiveEnd;for(let u=n?o:o+c;u=l&&e.type===r)return u}if(i){const e=a[l];if(e&&Pt(e)&&e.type===r)return l}return null}function pn(e,t,r,n){let i=e[r];const s=t.data;if(i instanceof Br){const a=i;if(a.resolving)throw new Error("Circular dep for "+Jr(s[r]));const o=nn(a.canSeeViewProviders);a.resolving=!0;const l=a.injectImpl?qe(a.injectImpl):null;Mr(e,n);try{i=e[r]=a.factory(void 0,s,e,n),t.firstCreatePass&&r>=n.directiveStart&&function(e,t,r){const{ngOnChanges:n,ngOnInit:i,ngDoCheck:s}=t.type.prototype;if(n){const n=It(t);(r.preOrderHooks||(r.preOrderHooks=[])).push(e,n),(r.preOrderCheckHooks||(r.preOrderCheckHooks=[])).push(e,n)}i&&(r.preOrderHooks||(r.preOrderHooks=[])).push(0-e,i),s&&((r.preOrderHooks||(r.preOrderHooks=[])).push(e,s),(r.preOrderCheckHooks||(r.preOrderCheckHooks=[])).push(e,s))}(r,s[r],t)}finally{null!==l&&qe(l),nn(o),a.resolving=!1,Lr()}}return i}function _n(e,t,r){const n=64&e,i=32&e;let s;return s=128&e?n?i?r[t+7]:r[t+6]:i?r[t+5]:r[t+4]:n?i?r[t+3]:r[t+2]:i?r[t+1]:r[t],!!(s&1<{const e=bn(Se(t));return e?e():null};let r=Mt(t);if(null===r){const e=me(t);r=e&&e.factory}return r||null}function vn(e){return ee(()=>{const t=e.prototype.constructor,r=t[Ie]||bn(t),n=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==n;){const e=i[Ie]||bn(i);if(e&&e!==r)return e;i=Object.getPrototypeOf(i)}return e=>new e})}function wn(e){return e.ngDebugContext}function kn(e){return e.ngOriginalError}function Mn(e,...t){e.error(...t)}class Sn{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),r=this._findContext(e),n=function(e){return e.ngErrorLogger||Mn}(e);n(this._console,"ERROR",e),t&&n(this._console,"ORIGINAL ERROR",t),r&&n(this._console,"ERROR CONTEXT",r)}_findContext(e){return e?wn(e)?wn(e):this._findContext(kn(e)):null}_findOriginalError(e){let t=kn(e);for(;t&&kn(t);)t=kn(t);return t}}class xn{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"}}class Cn extends xn{getTypeName(){return"HTML"}}class Dn extends xn{getTypeName(){return"Style"}}class Ln extends xn{getTypeName(){return"Script"}}class An extends xn{getTypeName(){return"URL"}}class En extends xn{getTypeName(){return"ResourceURL"}}function Tn(e){return e instanceof xn?e.changingThisBreaksApplicationSecurity:e}function Pn(e,t){const r=Yn(e);if(null!=r&&r!==t){if("ResourceURL"===r&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${r} (see http://g.co/ng/security#xss)`)}return r===t}function Yn(e){return e instanceof xn&&e.getTypeName()||null}let Rn=!0,On=!1;function In(){return On=!0,Rn}class jn{getInertBodyElement(e){e=""+e;try{const t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(t){return null}}}class Fn{constructor(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const t=this.inertDocument.createElement("body");e.appendChild(t)}}getInertBodyElement(e){const t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=e,t;const r=this.inertDocument.createElement("body");return r.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(e){const t=e.attributes;for(let n=t.length-1;0Bn(e.trim())).join(", ")),this.buf.push(" ",t,'="',ri(a),'"')}var n;return this.buf.push(">"),!0}endElement(e){const t=e.nodeName.toLowerCase();Gn.hasOwnProperty(t)&&!Vn.hasOwnProperty(t)&&(this.buf.push(""))}chars(e){this.buf.push(ri(e))}checkClobberedElement(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t}}const ei=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ti=/([^\#-~ |!])/g;function ri(e){return e.replace(/&/g,"&").replace(ei,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(ti,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(//g,">")}let ni;function ii(e,t){let r=null;try{ni=ni||function(e){return function(){try{return!!(new window.DOMParser).parseFromString("","text/html")}catch(e){return!1}}()?new jn:new Fn(e)}(e);let n=t?String(t):"";r=ni.getInertBodyElement(n);let i=5,s=n;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,n=s,s=r.innerHTML,r=ni.getInertBodyElement(n)}while(n!==s);const a=new Xn,o=a.sanitizeChildren(si(r)||r);return In()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),o}finally{if(r){const e=si(r)||r;for(;e.firstChild;)e.removeChild(e.firstChild)}}}function si(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ai=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}({});function oi(e){const t=ci();return t?t.sanitize(ai.HTML,e)||"":Pn(e,"HTML")?Tn(e):ii(zt(),Zr(e))}function li(e){const t=ci();return t?t.sanitize(ai.URL,e)||"":Pn(e,"URL")?Tn(e):Bn(Zr(e))}function ci(){const e=sr();return e&&e[12]}function di(e,t){e.__ngContext__=t}function ui(e,t,r){let n=e.length;for(;;){const i=e.indexOf(t,r);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const r=t.length;if(i+r===n||e.charCodeAt(i+r)<=32)return i}r=i+1}}const hi="ng-template";function fi(e,t,r){let n=0;for(;ns?"":i[d+1].toLowerCase();const t=8&n?e:null;if(t&&-1!==ui(t,c,0)||2&n&&c!==e){if(gi(n))return!1;a=!0}}}}else{if(!a&&!gi(n)&&!gi(l))return!1;if(a&&gi(l))continue;a=!1,n=l|1&n}}return gi(n)||a}function gi(e){return 0==(1&e)}function yi(e,t,r,n){if(null===t)return-1;let i=0;if(n||!r){let r=!1;for(;i-1)for(r++;r0?'="'+t+'"':"")+"]"}else 8&n?i+="."+a:4&n&&(i+=" "+a);else""===i||gi(a)||(t+=wi(s,i),i=""),n=a,s=s||!gi(n);r++}return""!==i&&(t+=wi(s,i)),t}const Mi={};function Si(e){const t=e[3];return Lt(t)?t[3]:t}function xi(e){return Di(e[13])}function Ci(e){return Di(e[4])}function Di(e){for(;null!==e&&!Lt(e);)e=e[4];return e}function Li(e){Ai(ar(),sr(),Er()+e,hr())}function Ai(e,t,r,n){if(!n)if(3==(3&t[2])){const n=e.preOrderCheckHooks;null!==n&&Or(t,n,r)}else{const n=e.preOrderHooks;null!==n&&Ir(t,n,0,r)}Tr(r)}function Ei(e,t){return e<<17|t<<2}function Ti(e){return e>>17&32767}function Pi(e){return 2|e}function Yi(e){return(131068&e)>>2}function Ri(e,t){return-131069&e|t<<2}function Oi(e){return 1|e}function Ii(e,t){const r=e.contentQueries;if(null!==r)for(let n=0;nxt&&Ai(e,t,0,hr()),r(n,i)}finally{Tr(s)}}function Vi(e,t,r){if(At(t)){const n=t.directiveEnd;for(let i=t.directiveStart;i0&&function e(t){for(let n=xi(t);null!==n;n=Ci(n))for(let t=Ct;t0&&e(r)}const r=t[1].components;if(null!==r)for(let n=0;n0&&e(i)}}(r)}}function hs(e,t){const r=Zt(t,e),n=r[1];!function(e,t){for(let r=t.length;rPromise.resolve(null))();function bs(e){return e[7]||(e[7]=[])}function vs(e,t,r){return(null===e||Pt(e))&&(r=function(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(r[t.index])),r[11]}function ws(e,t){const r=e[9],n=r?r.get(Sn,null):null;n&&n.handleError(t)}function ks(e,t,r,n,i){for(let s=0;s0&&(e[r-1][4]=n[4]);const a=it(e,Ct+t);js(n[1],i=n,i[11],2,null,null),i[0]=null,i[6]=null;const o=a[19];null!==o&&o.detachView(a[1]),n[3]=null,n[4]=null,n[2]&=-129}var i;return n}function Ds(e,t){if(!(256&t[2])){const r=t[11];Ut(r)&&r.destroyNode&&js(e,t,r,3,null,null),function(e){let t=e[13];if(!t)return Ls(e[1],e);for(;t;){let r=null;if(Dt(t))r=t[13];else{const e=t[10];e&&(r=e)}if(!r){for(;t&&!t[4]&&t!==e;)Dt(t)&&Ls(t[1],t),t=t[3];null===t&&(t=e),Dt(t)&&Ls(t[1],t),r=t&&t[4]}t=r}}(t)}}function Ls(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let r;if(null!=e&&null!=(r=e.destroyHooks))for(let n=0;n=0?e[o]():e[-o].unsubscribe(),n+=2}else r[n].call(e[r[n+1]]);t[7]=null}}(e,t),1===t[1].type&&Ut(t[11])&&t[11].destroy();const r=t[17];if(null!==r&&Lt(t[3])){r!==t[3]&&xs(r,t);const n=t[19];null!==n&&n.detachView(e)}}}function As(e,t,r){let n=t.parent;for(;null!=n&&(3===n.type||4===n.type);)n=(t=n).parent;if(null===n)return r[0];if(t&&4===t.type&&4&t.flags)return qt(t,r).parentNode;if(2&n.flags){const t=e.data,r=t[t[n.index].directiveStart].encapsulation;if(r!==dt.ShadowDom&&r!==dt.Native)return null}return qt(n,r)}function Es(e,t,r,n){Ut(e)?e.insertBefore(t,r,n):t.insertBefore(r,n,!0)}function Ts(e,t,r){Ut(e)?e.appendChild(t,r):t.appendChild(r)}function Ps(e,t,r,n){null!==n?Es(e,t,r,n):Ts(e,t,r)}function Ys(e,t){return Ut(e)?e.parentNode(t):t.parentNode}function Rs(e,t){return 3===e.type||4===e.type?qt(e,t):null}function Os(e,t,r,n){const i=As(e,n,t);if(null!=i){const e=t[11],s=Rs(n.parent||t[6],t);if(Array.isArray(r))for(let t=0;t-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}Ds(this._lView[1],this._lView)}onDestroy(e){$i(this._lView[1],this._lView,null,e)}markForCheck(){ms(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){ps(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,r){fr(!0);try{ps(e,t,r)}finally{fr(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}detachFromAppRef(){var e;this._appRef=null,js(this._lView[1],e=this._lView,e[11],2,null,null)}attachToAppRef(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}class zs extends Bs{constructor(e){super(e),this._view=e}detectChanges(){_s(this._view)}checkNoChanges(){!function(e){fr(!0);try{_s(e)}finally{fr(!1)}}(this._view)}get context(){return null}}let Us,Vs,Ks;function Ws(e,t,r){return Us||(Us=class extends e{}),new Us(qt(t,r))}function qs(e,t,r,n){return Vs||(Vs=class extends e{constructor(e,t,r){super(),this._declarationView=e,this._declarationTContainer=t,this.elementRef=r}createEmbeddedView(e){const t=this._declarationTContainer.tViews,r=Fi(this._declarationView,t,e,16,null,t.declTNode,null,null,null,null);r[17]=this._declarationView[this._declarationTContainer.index];const n=this._declarationView[19];return null!==n&&(r[19]=n.createEmbeddedView(t)),Ni(t,r,e),new Bs(r)}}),0===r.type?new Vs(n,r,Ws(t,r,n)):null}function Gs(e,t,r,n){let i;Ks||(Ks=class extends e{constructor(e,t,r){super(),this._lContainer=e,this._hostTNode=t,this._hostView=r}get element(){return Ws(t,this._hostTNode,this._hostView)}get injector(){return new yn(this._hostTNode,this._hostView)}get parentInjector(){const e=cn(this._hostTNode,this._hostView);if(qr(e)){const t=$r(e,this._hostView),r=Gr(e);return new yn(t[1].data[r+8],t)}return new yn(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){return null!==this._lContainer[8]&&this._lContainer[8][e]||null}get length(){return this._lContainer.length-Ct}createEmbeddedView(e,t,r){const n=e.createEmbeddedView(t||{});return this.insert(n,r),n}createComponent(e,t,r,n,i){const s=r||this.parentInjector;if(!i&&null==e.ngModule&&s){const e=s.get(et,null);e&&(i=e)}const a=e.create(s,n,void 0,i);return this.insert(a.hostView,t),a}insert(e,t){const r=e._lView,n=r[1];if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),Lt(r[3])){const t=this.indexOf(e);if(-1!==t)this.detach(t);else{const t=r[3],n=new Ks(t,t[6],t[3]);n.detach(n.indexOf(e))}}const i=this._adjustIndex(t),s=this._lContainer;!function(e,t,r,n){const i=Ct+n,s=r.length;n>0&&(r[i-1][4]=t),n{class e{}return e.__NG_ELEMENT_ID__=()=>Js(),e})();const Js=$s,Qs=Function,Xs=new Fe("Set Injector scope."),ea={},ta={},ra=[];let na=void 0;function ia(){return void 0===na&&(na=new Xe),na}function sa(e,t=null,r=null,n){return new aa(e,r,t||ia(),n)}class aa{constructor(e,t,r,n=null){this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const i=[];t&&rt(t,r=>this.processProvider(r,e,t)),rt([e],e=>this.processInjectorType(e,[],i)),this.records.set(He,ca(void 0,this));const s=this.records.get(Xs);this.scope=null!=s?s.value:null,this.source=n||("object"==typeof e?null:ve(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(e=>e.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,t=Ne,r=oe.Default){this.assertNotDestroyed();const n=We(this);try{if(!(r&oe.SkipSelf)){let t=this.records.get(e);if(void 0===t){const r=("function"==typeof(i=e)||"object"==typeof i&&i instanceof Fe)&&he(e);t=r&&this.injectableDefInScope(r)?ca(oa(e),ea):null,this.records.set(e,t)}if(null!=t)return this.hydrate(e,t)}return(r&oe.Self?ia():this.parent).get(e,t=r&oe.Optional&&t===Ne?null:t)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(ve(e)),n)throw s;return function(e,t,r,n){const i=e.ngTempTokenPath;throw t[ze]&&i.unshift(t[ze]),e.message=function(e,t,r,n=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let i=ve(t);if(Array.isArray(t))i=t.map(ve).join(" -> ");else if("object"==typeof t){let e=[];for(let r in t)if(t.hasOwnProperty(r)){let n=t[r];e.push(r+":"+("string"==typeof n?JSON.stringify(n):ve(n)))}i=`{${e.join(", ")}}`}return`${r}${n?"("+n+")":""}[${i}]: ${e.replace(Be,"\n ")}`}("\n"+e.message,i,r,n),e.ngTokenPath=i,e.ngTempTokenPath=null,e}(s,e,"R3InjectorError",this.source)}throw s}finally{We(n)}var i}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((t,r)=>e.push(ve(r))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,t,r){if(!(e=Se(e)))return!1;let n=me(e);const i=null==n&&e.ngModule||void 0,s=void 0===i?e:i,a=-1!==r.indexOf(s);if(void 0!==i&&(n=me(i)),null==n)return!1;if(null!=n.imports&&!a){let e;r.push(s);try{rt(n.imports,n=>{this.processInjectorType(n,t,r)&&(void 0===e&&(e=[]),e.push(n))})}finally{}if(void 0!==e)for(let t=0;tthis.processProvider(e,r,n||ra))}}this.injectorDefTypes.add(s),this.records.set(s,ca(n.factory,ea));const o=n.providers;if(null!=o&&!a){const t=e;rt(o,e=>this.processProvider(e,t,o))}return void 0!==i&&void 0!==e.providers}processProvider(e,t,r){let n=ua(e=Se(e))?e:Se(e&&e.provide);const i=function(e,t,r){return da(e)?ca(void 0,e.useValue):ca(la(e),ea)}(e);if(ua(e)||!0!==e.multi)this.records.get(n);else{let t=this.records.get(n);t||(t=ca(void 0,ea,!0),t.factory=()=>Qe(t.multi),this.records.set(n,t)),n=e,t.multi.push(e)}this.records.set(n,i)}hydrate(e,t){var r;return t.value===ea&&(t.value=ta,t.value=t.factory()),"object"==typeof t.value&&t.value&&null!==(r=t.value)&&"object"==typeof r&&"function"==typeof r.ngOnDestroy&&this.onDestroy.add(t.value),t.value}injectableDefInScope(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||e.providedIn===this.scope:this.injectorDefTypes.has(e.providedIn))}}function oa(e){const t=he(e),r=null!==t?t.factory:Mt(e);if(null!==r)return r;const n=me(e);if(null!==n)return n.factory;if(e instanceof Fe)throw new Error(`Token ${ve(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const r=st(t,"?");throw new Error(`Can't resolve all parameters for ${ve(e)}: (${r.join(", ")}).`)}const r=function(e){const t=e&&(e[pe]||e[ye]||e[ge]&&e[ge]());if(t){const r=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${r}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${r}" class.`),t}return null}(e);return null!==r?()=>r.factory(e):()=>new e}(e);throw new Error("unreachable")}function la(e,t,r){let n=void 0;if(ua(e)){const t=Se(e);return Mt(t)||oa(t)}if(da(e))n=()=>Se(e.useValue);else if((i=e)&&i.useFactory)n=()=>e.useFactory(...Qe(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))n=()=>$e(Se(e.useExisting));else{const t=Se(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return Mt(t)||oa(t);n=()=>new t(...Qe(e.deps))}var i;return n}function ca(e,t,r=!1){return{factory:e,value:t,multi:r?[]:void 0}}function da(e){return null!==e&&"object"==typeof e&&Ue in e}function ua(e){return"function"==typeof e}const ha=function(e,t,r){return function(e,t=null,r=null,n){const i=sa(e,t,r,n);return i._resolveInjectorDefTypes(),i}({name:r},t,e,r)};let fa=(()=>{class e{static create(e,t){return Array.isArray(e)?ha(e,t,""):ha(e.providers,e.parent,e.name||"")}}return e.THROW_IF_NOT_FOUND=Ne,e.NULL=new Xe,e.\u0275prov=de({token:e,providedIn:"any",factory:()=>$e(He)}),e.__NG_ELEMENT_ID__=-1,e})();const ma=new Fe("AnalyzeForEntryComponents");function pa(e,t,r){let n=r?e.styles:null,i=r?e.classes:null,s=0;if(null!==t)for(let a=0;a=0;n--){const i=e[n];i.hostVars=t+=i.hostVars,i.hostAttrs=Kr(i.hostAttrs,r=Kr(r,i.hostAttrs))}}(n)}function ya(e){return e===ut?{}:e===ht?[]:e}function ba(e,t){const r=e.viewQuery;e.viewQuery=r?(e,n)=>{t(e,n),r(e,n)}:t}function va(e,t){const r=e.contentQueries;e.contentQueries=r?(e,n,i)=>{t(e,n,i),r(e,n,i)}:t}function wa(e,t){const r=e.hostBindings;e.hostBindings=r?(e,n)=>{t(e,n),r(e,n)}:t}let ka=null;function Ma(){if(!ka){const e=Ee.Symbol;if(e&&e.iterator)ka=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;to(Kt(e[n.index])).target:n.index;if(Ut(r)){let a=null;if(!o&&l&&(a=function(e,t,r,n){const i=e.cleanup;if(null!=i)for(let s=0;sr?e[r]:null}"string"==typeof e&&(s+=2)}return null}(e,t,i,n.index)),null!==a)(a.__ngLastListenerFn__||a).__ngNextListenerFn__=s,a.__ngLastListenerFn__=s,u=!1;else{s=Ja(n,t,s,!1);const e=r.listen(f.name||m,i,s);d.push(s,e),c&&c.push(i,_,p,p+1)}}else s=Ja(n,t,s,!0),m.addEventListener(i,s,a),d.push(s),c&&c.push(i,_,p,a)}const h=n.outputs;let f;if(u&&null!==h&&(f=h[i])){const e=f.length;if(e)for(let r=0;r0;)t=t[15],e--;return t}(e,nr.lFrame.contextLView))[8]}(e)}function Xa(e,t){let r=null;const n=function(e){const t=e.attrs;if(null!=t){const e=t.indexOf(5);if(0==(1&e))return t[e+1]}return null}(e);for(let i=0;i=0}const oo={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function lo(e){return e.substring(oo.key,oo.keyEnd)}function co(e,t){const r=oo.textEnd;return r===t?-1:(t=oo.keyEnd=function(e,t,r){for(;t32;)t++;return t}(e,oo.key=t,r),uo(e,t,r))}function uo(e,t,r){for(;t=0;r=co(t,r))at(e,lo(t),!0)}function po(e,t,r,n){const i=sr(),s=ar(),a=gr(2);s.firstUpdatePass&&yo(s,e,a,n),t!==Mi&&La(i,a,t)&&wo(s,s.data[Er()+xt],i,i[11],e,i[a+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=ve(Tn(e)))),e}(t,r),n,a)}function _o(e,t,r,n){const i=ar(),s=gr(2);i.firstUpdatePass&&yo(i,null,s,n);const a=sr();if(r!==Mi&&La(a,s,r)){const o=i.data[Er()+xt];if(So(o,n)&&!go(i,s)){let e=n?o.classesWithoutHost:o.stylesWithoutHost;null!==e&&(r=we(e,r||"")),ja(i,o,a,r,n)}else!function(e,t,r,n,i,s,a,o){i===Mi&&(i=io);let l=0,c=0,d=0=e.expandoStartIndex}function yo(e,t,r,n){const i=e.data;if(null===i[r+1]){const s=i[Er()+xt],a=go(e,r);So(s,n)&&null===t&&!a&&(t=!1),t=function(e,t,r,n){const i=vr(e);let s=n?t.residualClasses:t.residualStyles;if(null===i)0===(n?t.classBindings:t.styleBindings)&&(r=vo(r=bo(null,e,t,r,n),t.attrs,n),s=null);else{const a=t.directiveStylingLast;if(-1===a||e[a]!==i)if(r=bo(i,e,t,r,n),null===s){let r=function(e,t,r){const n=r?t.classBindings:t.styleBindings;if(0!==Yi(n))return e[Ti(n)]}(e,t,n);void 0!==r&&Array.isArray(r)&&(r=bo(null,e,t,r[1],n),r=vo(r,t.attrs,n),function(e,t,r,n){e[Ti(r?t.classBindings:t.styleBindings)]=n}(e,t,n,r))}else s=function(e,t,r){let n=void 0;const i=t.directiveEnd;for(let s=1+t.directiveStylingLast;s0)&&(d=!0)}else c=r;if(i)if(0!==l){const t=Ti(e[o+1]);e[n+1]=Ei(t,o),0!==t&&(e[t+1]=Ri(e[t+1],n)),e[o+1]=131071&e[o+1]|n<<17}else e[n+1]=Ei(o,0),0!==o&&(e[o+1]=Ri(e[o+1],n)),o=n;else e[n+1]=Ei(l,0),0===o?o=n:e[l+1]=Ri(e[l+1],n),l=n;d&&(e[n+1]=Pi(e[n+1])),so(e,c,n,!0),so(e,c,n,!1),function(e,t,r,n,i){const s=i?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&<(s,t)>=0&&(r[n+1]=Oi(r[n+1]))}(t,c,e,n,s),a=Ei(o,l),s?t.classBindings=a:t.styleBindings=a}(i,s,t,r,a,n)}}function bo(e,t,r,n,i){let s=null;const a=r.directiveEnd;let o=r.directiveStylingLast;for(-1===o?o=r.directiveStart:o++;o0;){const t=e[i],s=Array.isArray(t),l=s?t[1]:t,c=null===l;let d=r[i+1];d===Mi&&(d=c?io:void 0);let u=c?ot(d,n):l===n?d:void 0;if(s&&!Mo(u)&&(u=ot(t,n)),Mo(u)&&(o=u,a))return o;const h=e[i+1];i=a?Ti(h):Yi(h)}if(null!==t){let e=s?t.residualClasses:t.residualStyles;null!=e&&(o=ot(e,n))}return o}function Mo(e){return void 0!==e}function So(e,t){return 0!=(e.flags&(t?16:32))}function xo(e,t=""){const r=sr(),n=ar(),i=e+xt,s=n.firstCreatePass?Hi(n,e,2,null,null):n.data[i],a=r[i]=function(e,t){return Ut(t)?t.createText(e):t.createTextNode(e)}(t,r[11]);Os(n,r,a,s),cr(s,!1)}function Co(e){return Do("",e,""),Co}function Do(e,t,r){const n=sr(),i=Ta(n,e,t,r);return i!==Mi&&Ms(n,Er(),i),Do}function Lo(e,t,r,n,i){const s=sr(),a=function(e,t,r,n,i,s){const a=Aa(e,pr(),r,i);return gr(2),a?t+Zr(r)+n+Zr(i)+s:Mi}(s,e,t,r,n,i);return a!==Mi&&Ms(s,Er(),a),Lo}function Ao(e,t,r){const n=sr();return La(n,_r(),t)&&Ji(ar(),Pr(),n,e,t,n[11],r,!0),Ao}function Eo(e,t,r){const n=sr();if(La(n,_r(),t)){const i=ar(),s=Pr();Ji(i,s,n,e,t,vs(vr(i.data),s,n),r,!0)}return Eo}function To(e,t,r,n,i){if(e=Se(e),Array.isArray(e))for(let s=0;s>20;if(ua(e)||!e.multi){const n=new Br(l,i,Ra),f=Ro(o,t,i?d:d+h,u);-1===f?(dn(an(c,a),s,o),Po(s,e,t.length),t.push(o),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),r.push(n),a.push(n)):(r[f]=n,a[f]=n)}else{const f=Ro(o,t,d+h,u),m=Ro(o,t,d,d+h),p=f>=0&&r[f],_=m>=0&&r[m];if(i&&!_||!i&&!p){dn(an(c,a),s,o);const d=function(e,t,r,n,i){const s=new Br(e,r,Ra);return s.multi=[],s.index=t,s.componentProviders=0,Yo(s,i,n&&!r),s}(i?Io:Oo,r.length,i,n,l);!i&&_&&(r[m].providerFactory=d),Po(s,e,t.length,0),t.push(o),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),r.push(d),a.push(d)}else Po(s,e,f>-1?f:m,Yo(r[i?m:f],l,!i&&n));!i&&n&&_&&r[m].componentProviders++}}}function Po(e,t,r,n){const i=ua(t);if(i||t.useClass){const s=(t.useClass||t).prototype.ngOnDestroy;if(s){const a=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const e=a.indexOf(r);-1===e?a.push(r,[n,s]):a[e+1].push(n,s)}else a.push(r,s)}}}function Yo(e,t,r){return r&&e.componentProviders++,e.multi.push(t)-1}function Ro(e,t,r,n){for(let i=r;i{r.providersResolver=(r,n)=>function(e,t,r){const n=ar();if(n.firstCreatePass){const i=Pt(e);To(r,n.data,n.blueprint,i,!0),To(t,n.data,n.blueprint,i,!1)}}(r,n?n(e):e,t)}}class Ho{}class No{resolveComponentFactory(e){throw function(e){const t=Error(`No component factory found for ${ve(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(e)}}let Bo=(()=>{class e{}return e.NULL=new No,e})(),zo=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=()=>Uo(e),e})();const Uo=function(e){return Ws(e,lr(),sr())};class Vo{}var Ko=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({});let Wo=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>qo(),e})();const qo=function(){const e=sr(),t=Zt(lr().index,e);return function(e){const t=e[11];if(Ut(t))return t;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(Dt(t)?t:e)};let Go=(()=>{class e{}return e.\u0275prov=de({token:e,providedIn:"root",factory:()=>null}),e})();class $o{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const Zo=new $o("10.1.5");class Jo{constructor(){}supports(e){return xa(e)}create(e){return new Xo(e)}}const Qo=(e,t)=>t;class Xo{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||Qo}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,r=this._removalsHead,n=0,i=null;for(;t||r;){const s=!r||t&&t.currentIndex{n=this._trackByFn(t,e),null!==i&&Object.is(i.trackById,n)?(s&&(i=this._verifyReinsertion(i,e,n,t)),Object.is(i.item,e)||this._addIdentityChange(i,e)):(i=this._mismatch(i,e,n,t),s=!0),i=i._next,t++}),this.length=t;return this._truncate(i),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,r,n){let i;return null===e?i=this._itTail:(i=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(r,n))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,i,n)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,i,n)):e=this._addAfter(new el(t,r),i,n),e}_verifyReinsertion(e,t,r,n){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?e=this._reinsertAfter(i,e._prev,n):e.currentIndex!=n&&(e.currentIndex=n,this._addToMoves(e,n)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const n=e._prevRemoved,i=e._nextRemoved;return null===n?this._removalsHead=i:n._nextRemoved=i,null===i?this._removalsTail=n:i._prevRemoved=n,this._insertAfter(e,t,r),this._addToMoves(e,r),e}_moveAfter(e,t,r){return this._unlink(e),this._insertAfter(e,t,r),this._addToMoves(e,r),e}_addAfter(e,t,r){return this._insertAfter(e,t,r),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,r){const n=null===t?this._itHead:t._next;return e._next=n,e._prev=t,null===n?this._itTail=e:n._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new rl),this._linkedRecords.put(e),e.currentIndex=r,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,r=e._next;return null===t?this._itHead=r:t._next=r,null===r?this._itTail=t:r._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new rl),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class el{constructor(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class tl{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===t||t<=r.currentIndex)&&Object.is(r.trackById,e))return r;return null}remove(e){const t=e._prevDup,r=e._nextDup;return null===t?this._head=r:t._nextDup=r,null===r?this._tail=t:r._prevDup=t,null===this._head}}class rl{constructor(){this.map=new Map}put(e){const t=e.trackById;let r=this.map.get(t);r||(r=new tl,this.map.set(t,r)),r.add(e)}get(e,t){const r=this.map.get(e);return r?r.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function nl(e,t,r){const n=e.previousIndex;if(null===n)return n;let i=0;return r&&n{if(t&&t.key===r)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const n=this._getOrCreateRecordForKey(r,e);t=this._insertBeforeOrAppend(t,n)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const r=e._prev;return t._next=e,t._prev=r,e._prev=t,r&&(r._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const r=this._records.get(e);this._maybeAddToChanges(r,t);const n=r._prev,i=r._next;return n&&(n._next=i),i&&(i._prev=n),r._next=null,r._prev=null,r}const r=new al(e);return this._records.set(e,r),r.currentValue=t,this._addToAdditions(r),r}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(r=>t(e[r],r))}}class al{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}let ol=(()=>{class e{constructor(e){this.factories=e}static create(t,r){if(null!=r){const e=r.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:r=>{if(!r)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,r)},deps:[[e,new ae,new ie]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(null!=t)return t;throw new Error(`Cannot find a differ supporting object '${e}' of type '${r=e,r.name||typeof r}'`);var r}}return e.\u0275prov=de({token:e,providedIn:"root",factory:()=>new e([new Jo])}),e})(),ll=(()=>{class e{constructor(e){this.factories=e}static create(t,r){if(r){const e=r.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:r=>{if(!r)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,r)},deps:[[e,new ae,new ie]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(t)return t;throw new Error(`Cannot find a differ supporting object '${e}'`)}}return e.\u0275prov=de({token:e,providedIn:"root",factory:()=>new e([new il])}),e})();const cl=[new il],dl=new ol([new Jo]),ul=new ll(cl);let hl=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>fl(e,zo),e})();const fl=function(e,t){return qs(e,t,lr(),sr())};let ml=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>pl(e,zo),e})();const pl=function(e,t){return Gs(e,t,lr(),sr())},_l={};class gl extends Bo{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const t=kt(e);return new vl(t,this.ngModule)}}function yl(e){const t=[];for(let r in e)e.hasOwnProperty(r)&&t.push({propName:e[r],templateName:r});return t}const bl=new Fe("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Qr});class vl extends Ho{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=e.selectors.map(ki).join(","),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return yl(this.componentDef.inputs)}get outputs(){return yl(this.componentDef.outputs)}create(e,t,r,n){const i=(n=n||this.ngModule)?function(e,t){return{get:(r,n,i)=>{const s=e.get(r,_l,i);return s!==_l||n===_l?s:t.get(r,n,i)}}}(e,n.injector):e,s=i.get(Vo,Vt),a=i.get(Go,null),o=s.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=r?function(e,t,r){if(Ut(e))return e.selectRootElement(t,r===dt.ShadowDom);let n="string"==typeof t?e.querySelector(t):t;return n.textContent="",n}(o,r,this.componentDef.encapsulation):ji(l,s.createRenderer(null,this.componentDef),function(e){const t=e.toLowerCase();return"svg"===t?Nt:"math"===t?"http://www.w3.org/1998/MathML/":null}(l)),d=this.componentDef.onPush?576:528,u={components:[],scheduler:Qr,clean:ys,playerHandler:null,flags:0},h=Gi(0,null,null,1,0,null,null,null,null,null),f=Fi(null,h,u,d,null,null,s,o,a,i);let m,p;Sr(f);try{const e=function(e,t,r,n,i,s){const a=r[1];r[20]=e;const o=Hi(a,0,2,null,null),l=o.mergedAttrs=t.hostAttrs;null!==l&&(pa(o,l,!0),null!==e&&(zr(i,e,l),null!==o.classes&&Ns(i,e,o.classes),null!==o.styles&&Hs(i,e,o.styles)));const c=n.createRenderer(e,t),d=Fi(r,qi(t),null,t.onPush?64:16,r[20],o,n,c,null,null);return a.firstCreatePass&&(dn(an(o,r),a,t.type),ns(a,o),ss(o,r.length,1)),fs(r,d),r[20]=d}(c,this.componentDef,f,s,o);if(c)if(r)zr(o,c,["ng-version",Zo.full]);else{const{attrs:e,classes:t}=function(e){const t=[],r=[];let n=1,i=2;for(;n0&&Ns(o,c,t.join(" "))}if(p=Gt(h,0),void 0!==t){const e=p.projection=[];for(let r=0;re(a,t)),t.contentQueries&&t.contentQueries(1,a,r.length-1);const o=lr();if(s.firstCreatePass&&(null!==t.hostBindings||null!==t.hostAttrs)){Tr(o.index-xt);const e=r[1];Xi(e,t),es(e,r,t.hostVars),ts(t,a)}return a}(e,this.componentDef,f,u,[_a]),Ni(h,f,null)}finally{Ar()}return new wl(this.componentType,m,Ws(zo,p,f),f,p)}}class wl extends class{}{constructor(e,t,r,n,i){super(),this.location=r,this._rootLView=n,this._tNode=i,this.destroyCbs=[],this.instance=t,this.hostView=this.changeDetectorRef=new zs(n),this.componentType=e}get injector(){return new yn(this._tNode,this._rootLView)}destroy(){this.destroyCbs&&(this.destroyCbs.forEach(e=>e()),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}onDestroy(e){this.destroyCbs&&this.destroyCbs.push(e)}}const kl=void 0;var Ml=["en",[["a","p"],["AM","PM"],kl],[["AM","PM"],kl,kl],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],kl,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],kl,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",kl,"{1} 'at' {0}",kl],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===r?1:5}];let Sl={};function xl(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let r=Cl(t);if(r)return r;const n=t.split("-")[0];if(r=Cl(n),r)return r;if("en"===n)return Ml;throw new Error(`Missing locale data for the locale "${e}".`)}function Cl(e){return e in Sl||(Sl[e]=Ee.ng&&Ee.ng.common&&Ee.ng.common.locales&&Ee.ng.common.locales[e]),Sl[e]}var Dl=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}({});const Ll="en-US";let Al=Ll;function El(e){var t,r;r="Expected localeId to be defined",null==(t=e)&&function(e,t,r,n){throw new Error("ASSERTION ERROR: "+e+` [Expected=> null != ${t} <=Actual]`)}(r,t),"string"==typeof e&&(Al=e.toLowerCase().replace(/_/g,"-"))}const Tl=new Map;class Pl extends et{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new gl(this);const r=St(e),n=e[Oe]||null;n&&El(n),this._bootstrapComponents=tn(r.bootstrap),this._r3Injector=sa(e,t,[{provide:et,useValue:this},{provide:Bo,useValue:this.componentFactoryResolver}],ve(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,t=fa.THROW_IF_NOT_FOUND,r=oe.Default){return e===fa||e===et||e===He?this:this._r3Injector.get(e,t,r)}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class Yl extends tt{constructor(e){super(),this.moduleType=e,null!==St(e)&&function e(t){if(null!==t.\u0275mod.id){const e=t.\u0275mod.id;(function(e,t,r){if(t&&t!==r)throw new Error(`Duplicate module registered for ${e} - ${ve(t)} vs ${ve(t.name)}`)})(e,Tl.get(e),t),Tl.set(e,t)}let r=t.\u0275mod.imports;r instanceof Function&&(r=r()),r&&r.forEach(t=>e(t))}(e)}create(e){return new Pl(this.moduleType,e)}}function Rl(e,t,r){const n=mr()+e,i=sr();return i[n]===Mi?Da(i,n,r?t.call(r):t()):function(e,t){return e[t]}(i,n)}function Ol(e,t){const r=e[t];return r===Mi?void 0:r}function Il(e,t){const r=ar();let n;const i=e+xt;r.firstCreatePass?(n=function(e,t){if(t)for(let r=t.length-1;r>=0;r--){const n=t[r];if(e===n.name)return n}throw new Error(`The pipe '${e}' could not be found!`)}(t,r.pipeRegistry),r.data[i]=n,n.onDestroy&&(r.destroyHooks||(r.destroyHooks=[])).push(i,n.onDestroy)):n=r.data[i];const s=n.factory||(n.factory=Mt(n.type)),a=qe(Ra);try{const t=nn(!1),n=s();return nn(t),function(e,t,r,n){const i=r+xt;i>=e.data.length&&(e.data[i]=null,e.blueprint[i]=null),t[i]=n}(r,sr(),e,n),n}finally{qe(a)}}function jl(e,t,r){const n=sr(),i=$t(n,e);return Nl(n,Hl(n,e)?function(e,t,r,n,i,s){const a=t+r;return La(e,a,i)?Da(e,a+1,s?n.call(s,i):n(i)):Ol(e,a+1)}(n,mr(),t,i.transform,r,i):i.transform(r))}function Fl(e,t,r,n){const i=sr(),s=$t(i,e);return Nl(i,Hl(i,e)?function(e,t,r,n,i,s,a){const o=t+r;return Aa(e,o,i,s)?Da(e,o+2,a?n.call(a,i,s):n(i,s)):Ol(e,o+2)}(i,mr(),t,s.transform,r,n,s):s.transform(r,n))}function Hl(e,t){return e[1].data[t+xt].pure}function Nl(e,t){return Sa.isWrapped(t)&&(t=Sa.unwrap(t),e[pr()]=Mi),t}const Bl=class extends M{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,r){let n,i=e=>null,s=()=>null;e&&"object"==typeof e?(n=this.__isAsync?t=>{setTimeout(()=>e.next(t))}:t=>{e.next(t)},e.error&&(i=this.__isAsync?t=>{setTimeout(()=>e.error(t))}:t=>{e.error(t)}),e.complete&&(s=this.__isAsync?()=>{setTimeout(()=>e.complete())}:()=>{e.complete()})):(n=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)},t&&(i=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)}),r&&(s=this.__isAsync?()=>{setTimeout(()=>r())}:()=>{r()}));const a=super.subscribe(n,i,s);return e instanceof u&&e.add(a),a}};function zl(){return this._results[Ma()]()}class Ul{constructor(){this.dirty=!0,this._results=[],this.changes=new Bl,this.length=0;const e=Ma(),t=Ul.prototype;t[e]||(t[e]=zl)}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e){this._results=function e(t,r){void 0===r&&(r=t);for(let n=0;n0)i.push(o[t/2]);else{const s=a[t+1],o=r[-n];for(let t=Ct;t{class e{constructor(e){this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let r=0;r{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}return e.\u0275fac=function(t){return new(t||e)($e(cc,8))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();const uc=new Fe("AppId"),hc={provide:uc,useFactory:function(){return`${fc()}${fc()}${fc()}`},deps:[]};function fc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const mc=new Fe("Platform Initializer"),pc=new Fe("Platform ID"),_c=new Fe("appBootstrapListener");let gc=(()=>{class e{log(e){console.log(e)}warn(e){console.warn(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();const yc=new Fe("LocaleId"),bc=new Fe("DefaultCurrencyCode");class vc{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}const wc=function(e){return new Yl(e)},kc=wc,Mc=function(e){return Promise.resolve(wc(e))},Sc=function(e){const t=wc(e),r=tn(St(e).declarations).reduce((e,t)=>{const r=kt(t);return r&&e.push(new vl(r)),e},[]);return new vc(t,r)},xc=Sc,Cc=function(e){return Promise.resolve(Sc(e))};let Dc=(()=>{class e{constructor(){this.compileModuleSync=kc,this.compileModuleAsync=Mc,this.compileModuleAndAllComponentsSync=xc,this.compileModuleAndAllComponentsAsync=Cc}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();const Lc=(()=>Promise.resolve(0))();function Ac(e){"undefined"==typeof Zone?Lc.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Ec{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Bl(!1),this.onMicrotaskEmpty=new Bl(!1),this.onStable=new Bl(!1),this.onError=new Bl(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.wtfZoneSpec&&(r._inner=r._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=t,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function(){let e=Ee.requestAnimationFrame,t=Ee.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r);const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=!!e.shouldCoalesceEventChangeDetection&&e.nativeRequestAnimationFrame&&(()=>{!function(e){-1===e.lastRequestAnimationFrameId&&(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Ee,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Rc(e),Yc(e)},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Rc(e))}(e)});e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:t},onInvokeTask:(r,n,i,s,a,o)=>{try{return Oc(e),r.invokeTask(i,s,a,o)}finally{t&&"eventTask"===s.type&&t(),Ic(e)}},onInvoke:(t,r,n,i,s,a,o)=>{try{return Oc(e),t.invoke(n,i,s,a,o)}finally{Ic(e)}},onHasTask:(t,r,n,i)=>{t.hasTask(n,i),r===n&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Rc(e),Yc(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(t,r,n,i)=>(t.handleError(n,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(r)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ec.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Ec.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,r){return this._inner.run(e,t,r)}runTask(e,t,r,n){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+n,e,Pc,Tc,Tc);try{return i.runTask(s,t,r)}finally{i.cancelTask(s)}}runGuarded(e,t,r){return this._inner.runGuarded(e,t,r)}runOutsideAngular(e){return this._outer.run(e)}}function Tc(){}const Pc={};function Yc(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Rc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||e.shouldCoalesceEventChangeDetection&&-1!==e.lastRequestAnimationFrameId)}function Oc(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ic(e){e._nesting--,Yc(e)}class jc{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Bl,this.onMicrotaskEmpty=new Bl,this.onStable=new Bl,this.onError=new Bl}run(e,t,r){return e.apply(t,r)}runGuarded(e,t,r){return e.apply(t,r)}runOutsideAngular(e){return e()}runTask(e,t,r,n){return e.apply(t,r)}}let Fc=(()=>{class e{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ec.assertNotInAngularZone(),Ac(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Ac(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,r){let n=-1;t&&t>0&&(n=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==n),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:n,updateCb:r})}whenStable(e,t,r){if(r&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,t,r){return[]}}return e.\u0275fac=function(t){return new(t||e)($e(Ec))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})(),Hc=(()=>{class e{constructor(){this._applications=new Map,zc.addToWindow(this)}registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return zc.findTestabilityInTree(this,e,t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();class Nc{addToWindow(e){}findTestabilityInTree(e,t,r){return null}}let Bc,zc=new Nc;const Uc=new Fe("AllowMultipleToken");class Vc{constructor(e,t){this.name=e,this.token=t}}function Kc(e,t,r=[]){const n="Platform: "+t,i=new Fe(n);return(t=[])=>{let s=Wc();if(!s||s.injector.get(Uc,!1))if(e)e(r.concat(t).concat({provide:i,useValue:!0}));else{const e=r.concat(t).concat({provide:i,useValue:!0},{provide:Xs,useValue:"platform"});!function(e){if(Bc&&!Bc.destroyed&&!Bc.injector.get(Uc,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Bc=e.get(qc);const t=e.get(mc,null);t&&t.forEach(e=>e())}(fa.create({providers:e,name:n}))}return function(e){const t=Wc();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(i)}}function Wc(){return Bc&&!Bc.destroyed?Bc:null}let qc=(()=>{class e{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const r=function(e,t){let r;return r="noop"===e?new jc:("zone.js"===e?void 0:e)||new Ec({enableLongStackTrace:In(),shouldCoalesceEventChangeDetection:t}),r}(t?t.ngZone:void 0,t&&t.ngZoneEventCoalescing||!1),n=[{provide:Ec,useValue:r}];return r.run(()=>{const t=fa.create({providers:n,parent:this.injector,name:e.moduleType.name}),i=e.create(t),s=i.injector.get(Sn,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return i.onDestroy(()=>Zc(this._modules,i)),r.runOutsideAngular(()=>r.onError.subscribe({next:e=>{s.handleError(e)}})),function(e,t,r){try{const n=r();return Ka(n)?n.catch(r=>{throw t.runOutsideAngular(()=>e.handleError(r)),r}):n}catch(n){throw t.runOutsideAngular(()=>e.handleError(n)),n}}(s,r,()=>{const e=i.injector.get(dc);return e.runInitializers(),e.donePromise.then(()=>(El(i.injector.get(yc,Ll)||Ll),this._moduleDoBootstrap(i),i))})})}bootstrapModule(e,t=[]){const r=Gc({},t);return function(e,t,r){const n=new Yl(r);return Promise.resolve(n)}(0,0,e).then(e=>this.bootstrapModuleFactory(e,r))}_moduleDoBootstrap(e){const t=e.injector.get($c);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${ve(e.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);e.instance.ngDoBootstrap(t)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(t){return new(t||e)($e(fa))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();function Gc(e,t){return Array.isArray(t)?t.reduce(Gc,e):Object.assign(Object.assign({},e),t)}let $c=(()=>{class e{constructor(e,t,r,n,i,s){this._zone=e,this._console=t,this._injector=r,this._exceptionHandler=n,this._componentFactoryResolver=i,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=In(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const a=new y(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),o=new y(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{Ec.assertNotInAngularZone(),Ac(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const r=this._zone.onUnstable.subscribe(()=>{Ec.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),r.unsubscribe()}});this.isStable=K(a,o.pipe(X()))}bootstrap(e,t){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let r;r=e instanceof Ho?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(r.componentType);const n=r.isBoundToModule?void 0:this._injector.get(et),i=r.create(fa.NULL,[],t||r.selector,n);i.onDestroy(()=>{this._unloadComponent(i)});const s=i.injector.get(Fc,null);return s&&i.injector.get(Hc).registerApplication(i.location.nativeElement,s),this._loadComponent(i),In()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),i}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let e of this._views)e.detectChanges();if(this._enforceNoNewChanges)for(let e of this._views)e.checkNoChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;Zc(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(_c,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}_unloadComponent(e){this.detachView(e.hostView),Zc(this.components,e)}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy())}get viewCount(){return this._views.length}}return e.\u0275fac=function(t){return new(t||e)($e(Ec),$e(gc),$e(fa),$e(Sn),$e(Bo),$e(dc))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();function Zc(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}class Jc{}class Qc{}const Xc={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let ed=(()=>{class e{constructor(e,t){this._compiler=e,this._config=t||Xc}load(e){return this.loadAndCompile(e)}loadAndCompile(e){let[t,n]=e.split("#");return void 0===n&&(n="default"),r("zn8P")(t).then(e=>e[n]).then(e=>td(e,t,n)).then(e=>this._compiler.compileModuleAsync(e))}loadFactory(e){let[t,n]=e.split("#"),i="NgFactory";return void 0===n&&(n="default",i=""),r("zn8P")(this._config.factoryPathPrefix+t+this._config.factoryPathSuffix).then(e=>e[n+i]).then(e=>td(e,t,n))}}return e.\u0275fac=function(t){return new(t||e)($e(Dc),$e(Qc,8))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();function td(e,t,r){if(!e)throw new Error(`Cannot find '${r}' in '${t}'`);return e}const rd=Kc(null,"core",[{provide:pc,useValue:"unknown"},{provide:qc,deps:[fa]},{provide:Hc,deps:[]},{provide:gc,deps:[]}]),nd=[{provide:$c,useClass:$c,deps:[Ec,gc,fa,Sn,Bo,dc]},{provide:bl,deps:[Ec],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:dc,useClass:dc,deps:[[new ie,cc]]},{provide:Dc,useClass:Dc,deps:[]},hc,{provide:ol,useFactory:function(){return dl},deps:[]},{provide:ll,useFactory:function(){return ul},deps:[]},{provide:yc,useFactory:function(e){return El(e=e||"undefined"!=typeof $localize&&$localize.locale||Ll),e},deps:[[new ne(yc),new ie,new ae]]},{provide:bc,useValue:"USD"}];let id=(()=>{class e{constructor(e){}}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)($e($c))},providers:nd}),e})();const sd="https://api.mig.bstly.de";let ad=null;function od(){return ad}const ld=new Fe("DocumentToken");let cd=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=de({factory:dd,token:e,providedIn:"platform"}),e})();function dd(){return $e(hd)}const ud=new Fe("Location Initialized");let hd=(()=>{class e extends cd{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=od().getLocation(),this._history=od().getHistory()}getBaseHrefFromDOM(){return od().getBaseHref(this._doc)}onPopState(e){od().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}onHashChange(e){od().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(e){this.location.pathname=e}pushState(e,t,r){fd()?this._history.pushState(e,t,r):this.location.hash=r}replaceState(e,t,r){fd()?this._history.replaceState(e,t,r):this.location.hash=r}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return e.\u0275fac=function(t){return new(t||e)($e(ld))},e.\u0275prov=de({factory:md,token:e,providedIn:"platform"}),e})();function fd(){return!!window.history.pushState}function md(){return new hd($e(ld))}function pd(e,t){if(0==e.length)return t;if(0==t.length)return e;let r=0;return e.endsWith("/")&&r++,t.startsWith("/")&&r++,2==r?e+t.substring(1):1==r?e+t:e+"/"+t}function _d(e){const t=e.match(/#|\?|$/),r=t&&t.index||e.length;return e.slice(0,r-("/"===e[r-1]?1:0))+e.slice(r)}function gd(e){return e&&"?"!==e[0]?"?"+e:e}let yd=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=de({factory:bd,token:e,providedIn:"root"}),e})();function bd(e){const t=$e(ld).location;return new wd($e(cd),t&&t.origin||"")}const vd=new Fe("appBaseHref");let wd=(()=>{class e extends yd{constructor(e,t){if(super(),this._platformLocation=e,null==t&&(t=this._platformLocation.getBaseHrefFromDOM()),null==t)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=t}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return pd(this._baseHref,e)}path(e=!1){const t=this._platformLocation.pathname+gd(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${t}${r}`:t}pushState(e,t,r,n){const i=this.prepareExternalUrl(r+gd(n));this._platformLocation.pushState(e,t,i)}replaceState(e,t,r,n){const i=this.prepareExternalUrl(r+gd(n));this._platformLocation.replaceState(e,t,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return e.\u0275fac=function(t){return new(t||e)($e(cd),$e(vd,8))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})(),kd=(()=>{class e extends yd{constructor(e,t){super(),this._platformLocation=e,this._baseHref="",null!=t&&(this._baseHref=t)}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}path(e=!1){let t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t}prepareExternalUrl(e){const t=pd(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,r,n){let i=this.prepareExternalUrl(r+gd(n));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(e,t,i)}replaceState(e,t,r,n){let i=this.prepareExternalUrl(r+gd(n));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return e.\u0275fac=function(t){return new(t||e)($e(cd),$e(vd,8))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})(),Md=(()=>{class e{constructor(e,t){this._subject=new Bl,this._urlChangeListeners=[],this._platformStrategy=e;const r=this._platformStrategy.getBaseHref();this._platformLocation=t,this._baseHref=_d(xd(r)),this._platformStrategy.onPopState(e=>{this._subject.emit({url:this.path(!0),pop:!0,state:e.state,type:e.type})})}path(e=!1){return this.normalize(this._platformStrategy.path(e))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(e,t=""){return this.path()==this.normalize(e+gd(t))}normalize(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,xd(t)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}go(e,t="",r=null){this._platformStrategy.pushState(r,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+gd(t)),r)}replaceState(e,t="",r=null){this._platformStrategy.replaceState(r,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+gd(t)),r)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(e){this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(e=>{this._notifyUrlChangeListeners(e.url,e.state)}))}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(r=>r(e,t))}subscribe(e,t,r){return this._subject.subscribe({next:e,error:t,complete:r})}}return e.\u0275fac=function(t){return new(t||e)($e(yd),$e(cd))},e.normalizeQueryParams=gd,e.joinWithSlash=pd,e.stripTrailingSlash=_d,e.\u0275prov=de({factory:Sd,token:e,providedIn:"root"}),e})();function Sd(){return new Md($e(yd),$e(cd))}function xd(e){return e.replace(/\/index.html$/,"")}var Cd=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({}),Dd=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}({}),Ld=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}({}),Ad=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}({}),Ed=function(e){return e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e[1/0]=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup",e}({});function Td(e,t){return Id(xl(e)[Dl.DateFormat],t)}function Pd(e,t){return Id(xl(e)[Dl.TimeFormat],t)}function Yd(e,t){return Id(xl(e)[Dl.DateTimeFormat],t)}function Rd(e,t){const r=xl(e),n=r[Dl.NumberSymbols][t];if(void 0===n){if(t===Ed.CurrencyDecimal)return r[Dl.NumberSymbols][Ed.Decimal];if(t===Ed.CurrencyGroup)return r[Dl.NumberSymbols][Ed.Group]}return n}function Od(e){if(!e[Dl.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[Dl.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Id(e,t){for(let r=t;r>-1;r--)if(void 0!==e[r])return e[r];throw new Error("Locale data API: locale data undefined")}function jd(e){const[t,r]=e.split(":");return{hours:+t,minutes:+r}}const Fd=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Hd={},Nd=/((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var Bd=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}({}),zd=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}({}),Ud=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}({});function Vd(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,(function(e,r){return null!=t&&r in t?t[r]:e}))),e}function Kd(e,t,r="-",n,i){let s="";(e<0||i&&e<=0)&&(i?e=1-e:(e=-e,s=r));let a=String(e);for(;a.length0||o>-r)&&(o+=r),e===zd.Hours)0===o&&-12===r&&(o=12);else if(e===zd.FractionalSeconds)return l=t,Kd(o,3).substr(0,l);var l;const c=Rd(a,Ed.MinusSign);return Kd(o,t,c,n,i)}}function qd(e,t,r=Dd.Format,n=!1){return function(i,s){return function(e,t,r,n,i,s){switch(r){case Ud.Months:return function(e,t,r){const n=xl(e),i=Id([n[Dl.MonthsFormat],n[Dl.MonthsStandalone]],t);return Id(i,r)}(t,i,n)[e.getMonth()];case Ud.Days:return function(e,t,r){const n=xl(e),i=Id([n[Dl.DaysFormat],n[Dl.DaysStandalone]],t);return Id(i,r)}(t,i,n)[e.getDay()];case Ud.DayPeriods:const a=e.getHours(),o=e.getMinutes();if(s){const e=function(e){const t=xl(e);return Od(t),(t[Dl.ExtraData][2]||[]).map(e=>"string"==typeof e?jd(e):[jd(e[0]),jd(e[1])])}(t),r=function(e,t,r){const n=xl(e);Od(n);const i=Id([n[Dl.ExtraData][0],n[Dl.ExtraData][1]],t)||[];return Id(i,r)||[]}(t,i,n),s=e.findIndex(e=>{if(Array.isArray(e)){const[t,r]=e,n=a>=t.hours&&o>=t.minutes,i=a0?Math.floor(i/60):Math.ceil(i/60);switch(e){case Bd.Short:return(i>=0?"+":"")+Kd(a,2,s)+Kd(Math.abs(i%60),2,s);case Bd.ShortGMT:return"GMT"+(i>=0?"+":"")+Kd(a,1,s);case Bd.Long:return"GMT"+(i>=0?"+":"")+Kd(a,2,s)+":"+Kd(Math.abs(i%60),2,s);case Bd.Extended:return 0===n?"Z":(i>=0?"+":"")+Kd(a,2,s)+":"+Kd(Math.abs(i%60),2,s);default:throw new Error(`Unknown zone width "${e}"`)}}}function $d(e,t=!1){return function(r,n){let i;if(t){const e=new Date(r.getFullYear(),r.getMonth(),1).getDay()-1,t=r.getDate();i=1+Math.floor((t+e)/7)}else{const e=(s=r,new Date(s.getFullYear(),s.getMonth(),s.getDate()+(4-s.getDay()))),t=function(e){const t=new Date(e,0,1).getDay();return new Date(e,0,1+(t<=4?4:11)-t)}(e.getFullYear()),n=e.getTime()-t.getTime();i=1+Math.round(n/6048e5)}var s;return Kd(i,e,Rd(n,Ed.MinusSign))}}const Zd={};function Jd(e,t){e=e.replace(/:/g,"");const r=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(r)?t:r}function Qd(e){return e instanceof Date&&!isNaN(e.valueOf())}class Xd{}let eu=(()=>{class e extends Xd{constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(function(e){return xl(e)[Dl.PluralCase]}(t||this.locale)(e)){case Cd.Zero:return"zero";case Cd.One:return"one";case Cd.Two:return"two";case Cd.Few:return"few";case Cd.Many:return"many";default:return"other"}}}return e.\u0275fac=function(t){return new(t||e)($e(yc))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();function tu(e,t){t=encodeURIComponent(t);for(const r of e.split(";")){const e=r.indexOf("="),[n,i]=-1==e?[r,""]:[r.slice(0,e),r.slice(e+1)];if(n.trim()===t)return decodeURIComponent(i)}return null}let ru=(()=>{class e{constructor(e,t,r,n){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=r,this._renderer=n,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(xa(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachChangedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachRemovedItem(e=>{e.previousValue&&this._toggleClass(e.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(e=>{if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+ve(e.item));this._toggleClass(e.item,!0)}),e.forEachRemovedItem(e=>this._toggleClass(e.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!0)):Object.keys(e).forEach(t=>this._toggleClass(t,!!e[t])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!1)):Object.keys(e).forEach(e=>this._toggleClass(e,!1)))}_toggleClass(e,t){(e=e.trim())&&e.split(/\s+/g).forEach(e=>{t?this._renderer.addClass(this._ngEl.nativeElement,e):this._renderer.removeClass(this._ngEl.nativeElement,e)})}}return e.\u0275fac=function(t){return new(t||e)(Ra(ol),Ra(ll),Ra(zo),Ra(Wo))},e.\u0275dir=vt({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e})();class nu{constructor(e,t,r,n){this.$implicit=e,this.ngForOf=t,this.index=r,this.count=n}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let iu=(()=>{class e{constructor(e,t,r){this._viewContainer=e,this._template=t,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){In()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(e)}. See https://angular.io/api/common/NgForOf#change-propagation for more information.`),this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const r=this._ngForOf;if(!this._differ&&r)try{this._differ=this._differs.find(r).create(this.ngForTrackBy)}catch(t){throw new Error(`Cannot find a differ supporting object '${r}' of type '${e=r,e.name||typeof e}'. NgFor only supports binding to Iterables such as Arrays.`)}}var e;if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const t=[];e.forEachOperation((e,r,n)=>{if(null==e.previousIndex){const r=this._viewContainer.createEmbeddedView(this._template,new nu(null,this._ngForOf,-1,-1),null===n?void 0:n),i=new su(e,r);t.push(i)}else if(null==n)this._viewContainer.remove(null===r?void 0:r);else if(null!==r){const i=this._viewContainer.get(r);this._viewContainer.move(i,n);const s=new su(e,i);t.push(s)}});for(let r=0;r{this._viewContainer.get(e.currentIndex).context.$implicit=e.item})}_perViewChange(e,t){e.context.$implicit=t.item}static ngTemplateContextGuard(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(Ra(ml),Ra(hl),Ra(ol))},e.\u0275dir=vt({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e})();class su{constructor(e,t){this.record=e,this.view=t}}let au=(()=>{class e{constructor(e,t){this._viewContainer=e,this._context=new ou,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){lu("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){lu("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(Ra(ml),Ra(hl))},e.\u0275dir=vt({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e})();class ou{constructor(){this.$implicit=null,this.ngIf=null}}function lu(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${ve(t)}'.`)}class cu{constructor(e,t){this._viewContainerRef=e,this._templateRef=t,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}}let du=(()=>{class e{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}_matchCase(e){const t=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||t,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t}_updateDefaultCases(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(let t=0;t{class e{constructor(e,t,r){this.ngSwitch=r,r._addCase(),this._view=new cu(e,t)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return e.\u0275fac=function(t){return new(t||e)(Ra(ml),Ra(hl),Ra(du,1))},e.\u0275dir=vt({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),e})(),hu=(()=>{class e{constructor(e,t,r){r._addDefault(new cu(e,t))}}return e.\u0275fac=function(t){return new(t||e)(Ra(ml),Ra(hl),Ra(du,1))},e.\u0275dir=vt({type:e,selectors:[["","ngSwitchDefault",""]]}),e})(),fu=(()=>{class e{constructor(e,t,r){this._ngEl=e,this._differs=t,this._renderer=r,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,t){const[r,n]=e.split(".");null!=(t=null!=t&&n?`${t}${n}`:t)?this._renderer.setStyle(this._ngEl.nativeElement,r,t):this._renderer.removeStyle(this._ngEl.nativeElement,r)}_applyChanges(e){e.forEachRemovedItem(e=>this._setStyle(e.key,null)),e.forEachAddedItem(e=>this._setStyle(e.key,e.currentValue)),e.forEachChangedItem(e=>this._setStyle(e.key,e.currentValue))}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(ll),Ra(Wo))},e.\u0275dir=vt({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),e})();function mu(e,t){return Error(`InvalidPipeArgument: '${t}' for pipe '${ve(e)}'`)}class pu{createSubscription(e,t){return e.subscribe({next:t,error:e=>{throw e}})}dispose(e){e.unsubscribe()}onDestroy(e){e.unsubscribe()}}class _u{createSubscription(e,t){return e.then(t,e=>{throw e})}dispose(e){}onDestroy(e){}}const gu=new _u,yu=new pu;let bu=(()=>{class e{constructor(e){this._ref=e,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,t=>this._updateLatestValue(e,t))}_selectStrategy(t){if(Ka(t))return gu;if(Wa(t))return yu;throw mu(e,t)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())}}return e.\u0275fac=function(t){return new(t||e)(function(e=oe.Default){const t=$s(!0);if(null!=t||e&oe.Optional)return t;throw new Error("No provider for ChangeDetectorRef!")}())},e.\u0275pipe=wt({name:"async",type:e,pure:!1}),e})(),vu=(()=>{class e{constructor(e){this.locale=e}transform(t,r="mediumDate",n,i){if(null==t||""===t||t!=t)return null;try{return function(e,t,r,n){let i=function(e){if(Qd(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){e=e.trim();const t=parseFloat(e);if(!isNaN(e-t))return new Date(t);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(e)){const[t,r,n]=e.split("-").map(e=>+e);return new Date(t,r-1,n)}let r;if(r=e.match(Fd))return function(e){const t=new Date(0);let r=0,n=0;const i=e[8]?t.setUTCFullYear:t.setFullYear,s=e[8]?t.setUTCHours:t.setHours;e[9]&&(r=Number(e[9]+e[10]),n=Number(e[9]+e[11])),i.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));const a=Number(e[4]||0)-r,o=Number(e[5]||0)-n,l=Number(e[6]||0),c=Math.round(1e3*parseFloat("0."+(e[7]||0)));return s.call(t,a,o,l,c),t}(r)}const t=new Date(e);if(!Qd(t))throw new Error(`Unable to convert "${e}" into a date`);return t}(e);t=function e(t,r){const n=function(e){return xl(e)[Dl.LocaleId]}(t);if(Hd[n]=Hd[n]||{},Hd[n][r])return Hd[n][r];let i="";switch(r){case"shortDate":i=Td(t,Ad.Short);break;case"mediumDate":i=Td(t,Ad.Medium);break;case"longDate":i=Td(t,Ad.Long);break;case"fullDate":i=Td(t,Ad.Full);break;case"shortTime":i=Pd(t,Ad.Short);break;case"mediumTime":i=Pd(t,Ad.Medium);break;case"longTime":i=Pd(t,Ad.Long);break;case"fullTime":i=Pd(t,Ad.Full);break;case"short":const r=e(t,"shortTime"),n=e(t,"shortDate");i=Vd(Yd(t,Ad.Short),[r,n]);break;case"medium":const s=e(t,"mediumTime"),a=e(t,"mediumDate");i=Vd(Yd(t,Ad.Medium),[s,a]);break;case"long":const o=e(t,"longTime"),l=e(t,"longDate");i=Vd(Yd(t,Ad.Long),[o,l]);break;case"full":const c=e(t,"fullTime"),d=e(t,"fullDate");i=Vd(Yd(t,Ad.Full),[c,d])}return i&&(Hd[n][r]=i),i}(r,t)||t;let s,a=[];for(;t;){if(s=Nd.exec(t),!s){a.push(t);break}{a=a.concat(s.slice(1));const e=a.pop();if(!e)break;t=e}}let o=i.getTimezoneOffset();n&&(o=Jd(n,o),i=function(e,t,r){const n=e.getTimezoneOffset();return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,-1*(Jd(t,n)-n))}(i,n));let l="";return a.forEach(e=>{const t=function(e){if(Zd[e])return Zd[e];let t;switch(e){case"G":case"GG":case"GGG":t=qd(Ud.Eras,Ld.Abbreviated);break;case"GGGG":t=qd(Ud.Eras,Ld.Wide);break;case"GGGGG":t=qd(Ud.Eras,Ld.Narrow);break;case"y":t=Wd(zd.FullYear,1,0,!1,!0);break;case"yy":t=Wd(zd.FullYear,2,0,!0,!0);break;case"yyy":t=Wd(zd.FullYear,3,0,!1,!0);break;case"yyyy":t=Wd(zd.FullYear,4,0,!1,!0);break;case"M":case"L":t=Wd(zd.Month,1,1);break;case"MM":case"LL":t=Wd(zd.Month,2,1);break;case"MMM":t=qd(Ud.Months,Ld.Abbreviated);break;case"MMMM":t=qd(Ud.Months,Ld.Wide);break;case"MMMMM":t=qd(Ud.Months,Ld.Narrow);break;case"LLL":t=qd(Ud.Months,Ld.Abbreviated,Dd.Standalone);break;case"LLLL":t=qd(Ud.Months,Ld.Wide,Dd.Standalone);break;case"LLLLL":t=qd(Ud.Months,Ld.Narrow,Dd.Standalone);break;case"w":t=$d(1);break;case"ww":t=$d(2);break;case"W":t=$d(1,!0);break;case"d":t=Wd(zd.Date,1);break;case"dd":t=Wd(zd.Date,2);break;case"E":case"EE":case"EEE":t=qd(Ud.Days,Ld.Abbreviated);break;case"EEEE":t=qd(Ud.Days,Ld.Wide);break;case"EEEEE":t=qd(Ud.Days,Ld.Narrow);break;case"EEEEEE":t=qd(Ud.Days,Ld.Short);break;case"a":case"aa":case"aaa":t=qd(Ud.DayPeriods,Ld.Abbreviated);break;case"aaaa":t=qd(Ud.DayPeriods,Ld.Wide);break;case"aaaaa":t=qd(Ud.DayPeriods,Ld.Narrow);break;case"b":case"bb":case"bbb":t=qd(Ud.DayPeriods,Ld.Abbreviated,Dd.Standalone,!0);break;case"bbbb":t=qd(Ud.DayPeriods,Ld.Wide,Dd.Standalone,!0);break;case"bbbbb":t=qd(Ud.DayPeriods,Ld.Narrow,Dd.Standalone,!0);break;case"B":case"BB":case"BBB":t=qd(Ud.DayPeriods,Ld.Abbreviated,Dd.Format,!0);break;case"BBBB":t=qd(Ud.DayPeriods,Ld.Wide,Dd.Format,!0);break;case"BBBBB":t=qd(Ud.DayPeriods,Ld.Narrow,Dd.Format,!0);break;case"h":t=Wd(zd.Hours,1,-12);break;case"hh":t=Wd(zd.Hours,2,-12);break;case"H":t=Wd(zd.Hours,1);break;case"HH":t=Wd(zd.Hours,2);break;case"m":t=Wd(zd.Minutes,1);break;case"mm":t=Wd(zd.Minutes,2);break;case"s":t=Wd(zd.Seconds,1);break;case"ss":t=Wd(zd.Seconds,2);break;case"S":t=Wd(zd.FractionalSeconds,1);break;case"SS":t=Wd(zd.FractionalSeconds,2);break;case"SSS":t=Wd(zd.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=Gd(Bd.Short);break;case"ZZZZZ":t=Gd(Bd.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Gd(Bd.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=Gd(Bd.Long);break;default:return null}return Zd[e]=t,t}(e);l+=t?t(i,r,o):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}(t,r,i||this.locale,n)}catch(s){throw mu(e,s.message)}}}return e.\u0275fac=function(t){return new(t||e)(Ra(yc))},e.\u0275pipe=wt({name:"date",type:e,pure:!0}),e})(),wu=(()=>{class e{constructor(e){this.differs=e,this.keyValues=[]}transform(e,t=ku){if(!e||!(e instanceof Map)&&"object"!=typeof e)return null;this.differ||(this.differ=this.differs.find(e).create());const r=this.differ.diff(e);return r&&(this.keyValues=[],r.forEachItem(e=>{this.keyValues.push({key:e.key,value:e.currentValue})}),this.keyValues.sort(t)),this.keyValues}}return e.\u0275fac=function(t){return new(t||e)(Ra(ll))},e.\u0275pipe=wt({name:"keyvalue",type:e,pure:!1}),e})();function ku(e,t){const r=e.key,n=t.key;if(r===n)return 0;if(void 0===r)return 1;if(void 0===n)return-1;if(null===r)return 1;if(null===n)return-1;if("string"==typeof r&&"string"==typeof n)return r{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[{provide:Xd,useClass:eu}]}),e})();function Su(e){return"browser"===e}function xu(e){return"server"===e}let Cu=(()=>{class e{}return e.\u0275prov=de({token:e,providedIn:"root",factory:()=>new Du($e(ld),window,$e(Sn))}),e})();class Du{constructor(e,t,r){this.document=e,this.window=t,this.errorHandler=r,this.offset=()=>[0,0]}setOffset(e){this.offset=Array.isArray(e)?()=>e:e}getScrollPosition(){return this.supportsScrolling()?[this.window.scrollX,this.window.scrollY]:[0,0]}scrollToPosition(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(this.supportsScrolling()){const t=this.document.getElementById(e)||this.document.getElementsByName(e)[0];t&&this.scrollToElement(t)}}setHistoryScrollRestoration(e){if(this.supportScrollRestoration()){const t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}scrollToElement(e){const t=e.getBoundingClientRect(),r=t.left+this.window.pageXOffset,n=t.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],n-i[1])}supportScrollRestoration(){try{if(!this.window||!this.window.scrollTo)return!1;const e=Lu(this.window.history)||Lu(Object.getPrototypeOf(this.window.history));return!(!e||!e.writable&&!e.set)}catch(e){return!1}}supportsScrolling(){try{return!!this.window.scrollTo}catch(e){return!1}}}function Lu(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class Au extends class extends class{}{constructor(){super()}supportsDOMEvents(){return!0}}{static makeCurrent(){var e;e=new Au,ad||(ad=e)}getProperty(e,t){return e[t]}log(e){window.console&&window.console.log&&window.console.log(e)}logGroup(e){window.console&&window.console.group&&window.console.group(e)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(e,t,r){return e.addEventListener(t,r,!1),()=>{e.removeEventListener(t,r,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){return e.parentNode&&e.parentNode.removeChild(e),e}getValue(e){return e.value}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(e){const t=Tu||(Tu=document.querySelector("base"),Tu)?Tu.getAttribute("href"):null;return null==t?null:(r=t,Eu||(Eu=document.createElement("a")),Eu.setAttribute("href",r),"/"===Eu.pathname.charAt(0)?Eu.pathname:"/"+Eu.pathname);var r}resetBaseElement(){Tu=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(e){return tu(document.cookie,e)}}let Eu,Tu=null;const Pu=new Fe("TRANSITION_ID"),Yu=[{provide:cc,useFactory:function(e,t,r){return()=>{r.get(dc).donePromise.then(()=>{const r=od();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(t=>t.getAttribute("ng-transition")===e).forEach(e=>r.remove(e))})}},deps:[Pu,ld,fa],multi:!0}];class Ru{static init(){var e;e=new Ru,zc=e}addToWindow(e){Ee.getAngularTestability=(t,r=!0)=>{const n=e.findTestabilityInTree(t,r);if(null==n)throw new Error("Could not find testability for element.");return n},Ee.getAllAngularTestabilities=()=>e.getAllTestabilities(),Ee.getAllAngularRootElements=()=>e.getAllRootElements(),Ee.frameworkStabilizers||(Ee.frameworkStabilizers=[]),Ee.frameworkStabilizers.push(e=>{const t=Ee.getAllAngularTestabilities();let r=t.length,n=!1;const i=function(t){n=n||t,r--,0==r&&e(n)};t.forEach((function(e){e.whenStable(i)}))})}findTestabilityInTree(e,t,r){if(null==t)return null;const n=e.getTestability(t);return null!=n?n:r?od().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}const Ou=new Fe("EventManagerPlugins");let Iu=(()=>{class e{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(e=>e.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,r){return this._findPluginFor(t).addEventListener(e,t,r)}addGlobalEventListener(e,t,r){return this._findPluginFor(t).addGlobalEventListener(e,t,r)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const r=this._plugins;for(let n=0;n{class e{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(e=>{this._stylesSet.has(e)||(this._stylesSet.add(e),t.add(e))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})(),Hu=(()=>{class e extends Fu{constructor(e){super(),this._doc=e,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(e.head)}_addStylesToHost(e,t){e.forEach(e=>{const r=this._doc.createElement("style");r.textContent=e,this._styleNodes.add(t.appendChild(r))})}addHost(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)}removeHost(e){this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach(t=>this._addStylesToHost(e,t))}ngOnDestroy(){this._styleNodes.forEach(e=>od().remove(e))}}return e.\u0275fac=function(t){return new(t||e)($e(ld))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();const Nu={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},Bu=/%COMP%/g;function zu(e,t,r){for(let n=0;n{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let Vu=(()=>{class e{constructor(e,t,r){this.eventManager=e,this.sharedStylesHost=t,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new Ku(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case dt.Emulated:{let r=this.rendererByCompId.get(t.id);return r||(r=new Wu(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,r)),r.applyToHost(e),r}case dt.Native:case dt.ShadowDom:return new qu(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=zu(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(t){return new(t||e)($e(Iu),$e(Hu),$e(uc))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();class Ku{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(Nu[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){e.appendChild(t)}insertBefore(e,t,r){e&&e.insertBefore(t,r)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let r="string"==typeof e?document.querySelector(e):e;if(!r)throw new Error(`The selector "${e}" did not match any elements`);return t||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,r,n){if(n){t=n+":"+t;const i=Nu[n];i?e.setAttributeNS(i,t,r):e.setAttribute(t,r)}else e.setAttribute(t,r)}removeAttribute(e,t,r){if(r){const n=Nu[r];n?e.removeAttributeNS(n,t):e.removeAttribute(`${r}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,r,n){n&Ko.DashCase?e.style.setProperty(t,r,n&Ko.Important?"important":""):e.style[t]=r}removeStyle(e,t,r){r&Ko.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,r){e[t]=r}setValue(e,t){e.nodeValue=t}listen(e,t,r){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,Uu(r)):this.eventManager.addEventListener(e,t,Uu(r))}}class Wu extends Ku{constructor(e,t,r,n){super(e),this.component=r;const i=zu(n+"-"+r.id,r.styles,[]);t.addStyles(i),this.contentAttr="_ngcontent-%COMP%".replace(Bu,n+"-"+r.id),this.hostAttr="_nghost-%COMP%".replace(Bu,n+"-"+r.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const r=super.createElement(e,t);return super.setAttribute(r,this.contentAttr,""),r}}class qu extends Ku{constructor(e,t,r,n){super(e),this.sharedStylesHost=t,this.hostEl=r,this.component=n,this.shadowRoot=n.encapsulation===dt.ShadowDom?r.attachShadow({mode:"open"}):r.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const i=zu(n.id,n.styles,[]);for(let s=0;s{class e extends ju{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,r){return e.addEventListener(t,r,!1),()=>this.removeEventListener(e,t,r)}removeEventListener(e,t,r){return e.removeEventListener(t,r)}}return e.\u0275fac=function(t){return new(t||e)($e(ld))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();const $u=["alt","control","meta","shift"],Zu={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Ju={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},Qu={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let Xu=(()=>{class e extends ju{constructor(e){super(e)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,r,n){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>od().onAndCancel(t,i.domEventName,s))}static parseEventName(t){const r=t.toLowerCase().split("."),n=r.shift();if(0===r.length||"keydown"!==n&&"keyup"!==n)return null;const i=e._normalizeKey(r.pop());let s="";if($u.forEach(e=>{const t=r.indexOf(e);t>-1&&(r.splice(t,1),s+=e+".")}),s+=i,0!=r.length||0===i.length)return null;const a={};return a.domEventName=n,a.fullKey=s,a}static getEventFullKey(e){let t="",r=function(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&Ju.hasOwnProperty(t)&&(t=Ju[t]))}return Zu[t]||t}(e);return r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),$u.forEach(n=>{n!=r&&(0,Qu[n])(e)&&(t+=n+".")}),t+=r,t}static eventCallback(t,r,n){return i=>{e.getEventFullKey(i)===t&&n.runGuarded(()=>r(i))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}return e.\u0275fac=function(t){return new(t||e)($e(ld))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})(),eh=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=de({factory:function(){return $e(th)},token:e,providedIn:"root"}),e})(),th=(()=>{class e extends eh{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case ai.NONE:return t;case ai.HTML:return Pn(t,"HTML")?Tn(t):ii(this._doc,String(t));case ai.STYLE:return Pn(t,"Style")?Tn(t):t;case ai.SCRIPT:if(Pn(t,"Script"))return Tn(t);throw new Error("unsafe value used in a script context");case ai.URL:return Yn(t),Pn(t,"URL")?Tn(t):Bn(String(t));case ai.RESOURCE_URL:if(Pn(t,"ResourceURL"))return Tn(t);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see http://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return new Cn(e)}bypassSecurityTrustStyle(e){return new Dn(e)}bypassSecurityTrustScript(e){return new Ln(e)}bypassSecurityTrustUrl(e){return new An(e)}bypassSecurityTrustResourceUrl(e){return new En(e)}}return e.\u0275fac=function(t){return new(t||e)($e(ld))},e.\u0275prov=de({factory:function(){return e=$e(He),new th(e.get(ld));var e},token:e,providedIn:"root"}),e})();const rh=Kc(rd,"browser",[{provide:pc,useValue:"browser"},{provide:mc,useValue:function(){Au.makeCurrent(),Ru.init()},multi:!0},{provide:ld,useFactory:function(){return function(e){Bt=e}(document),document},deps:[]}]),nh=[[],{provide:Xs,useValue:"root"},{provide:Sn,useFactory:function(){return new Sn},deps:[]},{provide:Ou,useClass:Gu,multi:!0,deps:[ld,Ec,pc]},{provide:Ou,useClass:Xu,multi:!0,deps:[ld]},[],{provide:Vu,useClass:Vu,deps:[Iu,Hu,uc]},{provide:Vo,useExisting:Vu},{provide:Fu,useExisting:Hu},{provide:Hu,useClass:Hu,deps:[ld]},{provide:Fc,useClass:Fc,deps:[Ec]},{provide:Iu,useClass:Iu,deps:[Ou,Ec]},[]];let ih=(()=>{class e{constructor(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(t){return{ngModule:e,providers:[{provide:uc,useValue:t.appId},{provide:Pu,useExisting:uc},Yu]}}}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)($e(e,12))},providers:nh,imports:[Mu,id]}),e})();function sh(...e){let t=e[e.length-1];return x(t)?(e.pop(),O(e,t)):V(e)}"undefined"!=typeof window&&window;class ah extends M{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return t&&!t.closed&&e.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new v;return this._value}next(e){super.next(this._value=e)}}class oh extends m{notifyNext(e,t,r,n,i){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}class lh extends m{constructor(e,t,r){super(),this.parent=e,this.outerValue=t,this.outerIndex=r,this.index=0}_next(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}_error(e){this.parent.notifyError(e,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}function ch(e,t,r,n,i=new lh(e,r,n)){if(!i.closed)return t instanceof y?t.subscribe(i):R(t)(i)}const dh={};function uh(...e){let t=void 0,r=void 0;return x(e[e.length-1])&&(r=e.pop()),"function"==typeof e[e.length-1]&&(t=e.pop()),1===e.length&&l(e[0])&&(e=e[0]),V(e,r).lift(new hh(t))}class hh{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new fh(e,this.resultSelector))}}class fh extends oh{constructor(e,t){super(e),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(e){this.values.push(dh),this.observables.push(e)}_complete(){const e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(let r=0;r{function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e})(),ph=new y(e=>e.complete());function _h(e){return e?function(e){return new y(t=>e.schedule(()=>t.complete()))}(e):ph}function gh(e){return new y(t=>{let r;try{r=e()}catch(n){return void t.error(n)}return(r?I(r):_h()).subscribe(t)})}function yh(){return U(1)}function bh(e,t){return function(r){return r.lift(new vh(e,t))}}class vh{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new wh(e,this.predicate,this.thisArg))}}class wh extends m{constructor(e,t,r){super(e),this.predicate=t,this.thisArg=r,this.count=0}_next(e){let t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(r){return void this.destination.error(r)}t&&this.destination.next(e)}}const kh=(()=>{function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e})();function Mh(e){return function(t){return 0===e?_h():t.lift(new Sh(e))}}class Sh{constructor(e){if(this.total=e,this.total<0)throw new kh}call(e,t){return t.subscribe(new xh(e,this.total))}}class xh extends m{constructor(e,t){super(e),this.total=t,this.ring=new Array,this.count=0}_next(e){const t=this.ring,r=this.total,n=this.count++;t.length0){const r=this.count>=this.total?this.total:this.count,n=this.ring;for(let i=0;it.lift(new Dh(e))}class Dh{constructor(e){this.errorFactory=e}call(e,t){return t.subscribe(new Lh(e,this.errorFactory))}}class Lh extends m{constructor(e,t){super(e),this.errorFactory=t,this.hasValue=!1}_next(e){this.hasValue=!0,this.destination.next(e)}_complete(){if(this.hasValue)return this.destination.complete();{let t;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)}}}function Ah(){return new mh}function Eh(e=null){return t=>t.lift(new Th(e))}class Th{constructor(e){this.defaultValue=e}call(e,t){return t.subscribe(new Ph(e,this.defaultValue))}}class Ph extends m{constructor(e,t){super(e),this.defaultValue=t,this.isEmpty=!0}_next(e){this.isEmpty=!1,this.destination.next(e)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function Yh(e,t){return"function"==typeof t?r=>r.pipe(Yh((r,n)=>I(e(r,n)).pipe(C((e,i)=>t(r,e,n,i))))):t=>t.lift(new Rh(e))}class Rh{constructor(e){this.project=e}call(e,t){return t.subscribe(new Oh(e,this.project))}}class Oh extends F{constructor(e,t){super(e),this.project=t,this.index=0}_next(e){let t;const r=this.index++;try{t=this.project(e,r)}catch(n){return void this.destination.error(n)}this._innerSub(t)}_innerSub(e){const t=this.innerSubscription;t&&t.unsubscribe();const r=new j(this),n=this.destination;n.add(r),this.innerSubscription=H(e,r),this.innerSubscription!==r&&n.add(this.innerSubscription)}_complete(){const{innerSubscription:e}=this;e&&!e.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(e){this.destination.next(e)}}function Ih(e){return t=>0===e?_h():t.lift(new jh(e))}class jh{constructor(e){if(this.total=e,this.total<0)throw new kh}call(e,t){return t.subscribe(new Fh(e,this.total))}}class Fh extends m{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){const t=this.total,r=++this.count;r<=t&&(this.destination.next(e),r===t&&(this.destination.complete(),this.unsubscribe()))}}function Hh(...e){return yh()(sh(...e))}function Nh(...e){const t=e[e.length-1];return x(t)?(e.pop(),r=>Hh(e,r,t)):t=>Hh(e,t)}class Bh{constructor(e,t,r=!1){this.accumulator=e,this.seed=t,this.hasSeed=r}call(e,t){return t.subscribe(new zh(e,this.accumulator,this.seed,this.hasSeed))}}class zh extends m{constructor(e,t,r,n){super(e),this.accumulator=t,this._seed=r,this.hasSeed=n,this.index=0}get seed(){return this._seed}set seed(e){this.hasSeed=!0,this._seed=e}_next(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}_tryNext(e){const t=this.index++;let r;try{r=this.accumulator(this.seed,e,t)}catch(n){this.destination.error(n)}this.seed=r,this.destination.next(r)}}function Uh(e){return function(t){const r=new Vh(e),n=t.lift(r);return r.caught=n}}class Vh{constructor(e){this.selector=e}call(e,t){return t.subscribe(new Kh(e,this.selector,this.caught))}}class Kh extends F{constructor(e,t,r){super(e),this.selector=t,this.caught=r}error(e){if(!this.isStopped){let r;try{r=this.selector(e,this.caught)}catch(t){return void super.error(t)}this._unsubscribeAndRecycle();const n=new j(this);this.add(n);const i=H(r,n);i!==n&&this.add(i)}}}function Wh(e,t){return N(e,t,1)}function qh(e,t){const r=arguments.length>=2;return n=>n.pipe(e?bh((t,r)=>e(t,r,n)):g,Ih(1),r?Eh(t):Ch(()=>new mh))}function Gh(){}function $h(e,t,r){return function(n){return n.lift(new Zh(e,t,r))}}class Zh{constructor(e,t,r){this.nextOrObserver=e,this.error=t,this.complete=r}call(e,t){return t.subscribe(new Jh(e,this.nextOrObserver,this.error,this.complete))}}class Jh extends m{constructor(e,t,r,i){super(e),this._tapNext=Gh,this._tapError=Gh,this._tapComplete=Gh,this._tapError=r||Gh,this._tapComplete=i||Gh,n(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||Gh,this._tapError=t.error||Gh,this._tapComplete=t.complete||Gh)}_next(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}_error(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}_complete(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}function Qh(e){return t=>t.lift(new Xh(e))}class Xh{constructor(e){this.callback=e}call(e,t){return t.subscribe(new ef(e,this.callback))}}class ef extends m{constructor(e,t){super(e),this.add(new u(t))}}class tf{constructor(e,t){this.id=e,this.url=t}}class rf extends tf{constructor(e,t,r="imperative",n=null){super(e,t),this.navigationTrigger=r,this.restoredState=n}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class nf extends tf{constructor(e,t,r){super(e,t),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class sf extends tf{constructor(e,t,r){super(e,t),this.reason=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class af extends tf{constructor(e,t,r){super(e,t),this.error=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class of extends tf{constructor(e,t,r,n){super(e,t),this.urlAfterRedirects=r,this.state=n}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class lf extends tf{constructor(e,t,r,n){super(e,t),this.urlAfterRedirects=r,this.state=n}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class cf extends tf{constructor(e,t,r,n,i){super(e,t),this.urlAfterRedirects=r,this.state=n,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class df extends tf{constructor(e,t,r,n){super(e,t),this.urlAfterRedirects=r,this.state=n}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class uf extends tf{constructor(e,t,r,n){super(e,t),this.urlAfterRedirects=r,this.state=n}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class hf{constructor(e){this.route=e}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class ff{constructor(e){this.route=e}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class mf{constructor(e){this.snapshot=e}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class pf{constructor(e){this.snapshot=e}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class _f{constructor(e){this.snapshot=e}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class gf{constructor(e){this.snapshot=e}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class yf{constructor(e,t,r){this.routerEvent=e,this.position=t,this.anchor=r}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const bf="primary";class vf{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t[0]:t}return null}getAll(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function wf(e){return new vf(e)}function kf(e){const t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function Mf(e,t,r){const n=r.path.split("/");if(n.length>e.length)return null;if("full"===r.pathMatch&&(t.hasChildren()||n.lengthn[t]===e)}return e===t}function Cf(e){return Array.prototype.concat.apply([],e)}function Df(e){return e.length>0?e[e.length-1]:null}function Lf(e,t){for(const r in e)e.hasOwnProperty(r)&&t(e[r],r)}function Af(e){return Wa(e)?e:Ka(e)?I(Promise.resolve(e)):sh(e)}function Ef(e,t,r){return r?function(e,t){return Sf(e,t)}(e.queryParams,t.queryParams)&&function e(t,r){if(!Rf(t.segments,r.segments))return!1;if(t.numberOfChildren!==r.numberOfChildren)return!1;for(const n in r.children){if(!t.children[n])return!1;if(!e(t.children[n],r.children[n]))return!1}return!0}(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(r=>xf(e[r],t[r]))}(e.queryParams,t.queryParams)&&function e(t,r){return function t(r,n,i){if(r.segments.length>i.length)return!!Rf(r.segments.slice(0,i.length),i)&&!n.hasChildren();if(r.segments.length===i.length){if(!Rf(r.segments,i))return!1;for(const t in n.children){if(!r.children[t])return!1;if(!e(r.children[t],n.children[t]))return!1}return!0}{const e=i.slice(0,r.segments.length),s=i.slice(r.segments.length);return!!Rf(r.segments,e)&&!!r.children.primary&&t(r.children.primary,n,s)}}(t,r,r.segments)}(e.root,t.root)}class Tf{constructor(e,t,r){this.root=e,this.queryParams=t,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=wf(this.queryParams)),this._queryParamMap}toString(){return Ff.serialize(this)}}class Pf{constructor(e,t){this.segments=e,this.children=t,this.parent=null,Lf(t,(e,t)=>e.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Hf(this)}}class Yf{constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=wf(this.parameters)),this._parameterMap}toString(){return Kf(this)}}function Rf(e,t){return e.length===t.length&&e.every((e,r)=>e.path===t[r].path)}function Of(e,t){let r=[];return Lf(e.children,(e,n)=>{n===bf&&(r=r.concat(t(e,n)))}),Lf(e.children,(e,n)=>{n!==bf&&(r=r.concat(t(e,n)))}),r}class If{}class jf{parse(e){const t=new Zf(e);return new Tf(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){return`${"/"+function e(t,r){if(!t.hasChildren())return Hf(t);if(r){const r=t.children.primary?e(t.children.primary,!1):"",n=[];return Lf(t.children,(t,r)=>{r!==bf&&n.push(`${r}:${e(t,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}{const r=Of(t,(r,n)=>n===bf?[e(t.children.primary,!1)]:[`${n}:${e(r,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children.primary?`${Hf(t)}/${r[0]}`:`${Hf(t)}/(${r.join("//")})`}}(e.root,!0)}${function(e){const t=Object.keys(e).map(t=>{const r=e[t];return Array.isArray(r)?r.map(e=>`${Bf(t)}=${Bf(e)}`).join("&"):`${Bf(t)}=${Bf(r)}`});return t.length?"?"+t.join("&"):""}(e.queryParams)}${"string"==typeof e.fragment?"#"+(t=e.fragment,encodeURI(t)):""}`;var t}}const Ff=new jf;function Hf(e){return e.segments.map(e=>Kf(e)).join("/")}function Nf(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Bf(e){return Nf(e).replace(/%3B/gi,";")}function zf(e){return Nf(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Uf(e){return decodeURIComponent(e)}function Vf(e){return Uf(e.replace(/\+/g,"%20"))}function Kf(e){return`${zf(e.path)}${t=e.parameters,Object.keys(t).map(e=>`;${zf(e)}=${zf(t[e])}`).join("")}`;var t}const Wf=/^[^\/()?;=#]+/;function qf(e){const t=e.match(Wf);return t?t[0]:""}const Gf=/^[^=?&#]+/,$f=/^[^?&#]+/;class Zf{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Pf([],{}):new Pf([],this.parseChildren())}parseQueryParams(){const e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(r.primary=new Pf(e,t)),r}parseSegment(){const e=qf(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(e),new Yf(Uf(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const t=qf(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){const e=qf(this.remaining);e&&(r=e,this.capture(r))}e[Uf(t)]=Uf(r)}parseQueryParam(e){const t=function(e){const t=e.match(Gf);return t?t[0]:""}(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){const e=function(e){const t=e.match($f);return t?t[0]:""}(this.remaining);e&&(r=e,this.capture(r))}const n=Vf(t),i=Vf(r);if(e.hasOwnProperty(n)){let t=e[n];Array.isArray(t)||(t=[t],e[n]=t),t.push(i)}else e[n]=i}parseParens(e){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=qf(this.remaining),n=this.remaining[r.length];if("/"!==n&&")"!==n&&";"!==n)throw new Error(`Cannot parse url '${this.url}'`);let i=void 0;r.indexOf(":")>-1?(i=r.substr(0,r.indexOf(":")),this.capture(i),this.capture(":")):e&&(i=bf);const s=this.parseChildren();t[i]=1===Object.keys(s).length?s.primary:new Pf([],s),this.consumeOptional("//")}return t}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}capture(e){if(!this.consumeOptional(e))throw new Error(`Expected "${e}".`)}}class Jf{constructor(e){this._root=e}get root(){return this._root.value}parent(e){const t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}children(e){const t=Qf(e,this._root);return t?t.children.map(e=>e.value):[]}firstChild(e){const t=Qf(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){const t=Xf(e,this._root);return t.length<2?[]:t[t.length-2].children.map(e=>e.value).filter(t=>t!==e)}pathFromRoot(e){return Xf(e,this._root).map(e=>e.value)}}function Qf(e,t){if(e===t.value)return t;for(const r of t.children){const t=Qf(e,r);if(t)return t}return null}function Xf(e,t){if(e===t.value)return[t];for(const r of t.children){const n=Xf(e,r);if(n.length)return n.unshift(t),n}return[]}class em{constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}}function tm(e){const t={};return e&&e.children.forEach(e=>t[e.value.outlet]=e),t}class rm extends Jf{constructor(e,t){super(e),this.snapshot=t,lm(this,e)}toString(){return this.snapshot.toString()}}function nm(e,t){const r=function(e,t){const r=new am([],{},{},"",{},bf,t,null,e.root,-1,{});return new om("",new em(r,[]))}(e,t),n=new ah([new Yf("",{})]),i=new ah({}),s=new ah({}),a=new ah({}),o=new ah(""),l=new im(n,i,a,o,s,bf,t,r.root);return l.snapshot=r.root,new rm(new em(l,[]),r)}class im{constructor(e,t,r,n,i,s,a,o){this.url=e,this.params=t,this.queryParams=r,this.fragment=n,this.data=i,this.outlet=s,this.component=a,this._futureSnapshot=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(C(e=>wf(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(C(e=>wf(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function sm(e,t="emptyOnly"){const r=e.pathFromRoot;let n=0;if("always"!==t)for(n=r.length-1;n>=1;){const e=r[n],t=r[n-1];if(e.routeConfig&&""===e.routeConfig.path)n--;else{if(t.component)break;n--}}return function(e){return e.reduce((e,t)=>({params:Object.assign(Object.assign({},e.params),t.params),data:Object.assign(Object.assign({},e.data),t.data),resolve:Object.assign(Object.assign({},e.resolve),t._resolvedData)}),{params:{},data:{},resolve:{}})}(r.slice(n))}class am{constructor(e,t,r,n,i,s,a,o,l,c,d){this.url=e,this.params=t,this.queryParams=r,this.fragment=n,this.data=i,this.outlet=s,this.component=a,this.routeConfig=o,this._urlSegment=l,this._lastPathIndex=c,this._resolve=d}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=wf(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=wf(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(e=>e.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class om extends Jf{constructor(e,t){super(t),this.url=e,lm(this,t)}toString(){return cm(this._root)}}function lm(e,t){t.value._routerState=e,t.children.forEach(t=>lm(e,t))}function cm(e){const t=e.children.length>0?` { ${e.children.map(cm).join(", ")} } `:"";return`${e.value}${t}`}function dm(e){if(e.snapshot){const t=e.snapshot,r=e._futureSnapshot;e.snapshot=r,Sf(t.queryParams,r.queryParams)||e.queryParams.next(r.queryParams),t.fragment!==r.fragment&&e.fragment.next(r.fragment),Sf(t.params,r.params)||e.params.next(r.params),function(e,t){if(e.length!==t.length)return!1;for(let r=0;rSf(e.parameters,n[t].parameters))&&!(!e.parent!=!t.parent)&&(!e.parent||um(e.parent,t.parent))}function hm(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function fm(e,t,r,n,i){let s={};return n&&Lf(n,(e,t)=>{s[t]=Array.isArray(e)?e.map(e=>""+e):""+e}),new Tf(r.root===e?t:function e(t,r,n){const i={};return Lf(t.children,(t,s)=>{i[s]=t===r?n:e(t,r,n)}),new Pf(t.segments,i)}(r.root,e,t),s,i)}class mm{constructor(e,t,r){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=r,e&&r.length>0&&hm(r[0]))throw new Error("Root segment cannot have matrix parameters");const n=r.find(e=>"object"==typeof e&&null!=e&&e.outlets);if(n&&n!==Df(r))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class pm{constructor(e,t,r){this.segmentGroup=e,this.processChildren=t,this.index=r}}function _m(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets.primary:""+e}function gm(e,t,r){if(e||(e=new Pf([],{})),0===e.segments.length&&e.hasChildren())return ym(e,t,r);const n=function(e,t,r){let n=0,i=t;const s={match:!1,pathIndex:0,commandIndex:0};for(;i=r.length)return s;const t=e.segments[i],a=_m(r[n]),o=n0&&void 0===a)break;if(a&&o&&"object"==typeof o&&void 0===o.outlets){if(!km(a,o,t))return s;n+=2}else{if(!km(a,{},t))return s;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}(e,t,r),i=r.slice(n.commandIndex);if(n.match&&n.pathIndex{null!==r&&(i[n]=gm(e.children[n],t,r))}),Lf(e.children,(e,t)=>{void 0===n[t]&&(i[t]=e)}),new Pf(e.segments,i)}}function bm(e,t,r){const n=e.segments.slice(0,t);let i=0;for(;i{null!==e&&(t[r]=bm(new Pf([],{}),0,e))}),t}function wm(e){const t={};return Lf(e,(e,r)=>t[r]=""+e),t}function km(e,t,r){return e==r.path&&Sf(t,r.parameters)}class Mm{constructor(e,t,r,n){this.routeReuseStrategy=e,this.futureState=t,this.currState=r,this.forwardEvent=n}activate(e){const t=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,r,e),dm(this.futureState.root),this.activateChildRoutes(t,r,e)}deactivateChildRoutes(e,t,r){const n=tm(t);e.children.forEach(e=>{const t=e.value.outlet;this.deactivateRoutes(e,n[t],r),delete n[t]}),Lf(n,(e,t)=>{this.deactivateRouteAndItsChildren(e,r)})}deactivateRoutes(e,t,r){const n=e.value,i=t?t.value:null;if(n===i)if(n.component){const i=r.getContext(n.outlet);i&&this.deactivateChildRoutes(e,t,i.children)}else this.deactivateChildRoutes(e,t,r);else i&&this.deactivateRouteAndItsChildren(t,r)}deactivateRouteAndItsChildren(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}detachAndStoreRouteSubtree(e,t){const r=t.getContext(e.value.outlet);if(r&&r.outlet){const t=r.outlet.detach(),n=r.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:t,route:e,contexts:n})}}deactivateRouteAndOutlet(e,t){const r=t.getContext(e.value.outlet);if(r){const n=tm(e),i=e.value.component?r.children:t;Lf(n,(e,t)=>this.deactivateRouteAndItsChildren(e,i)),r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated())}}activateChildRoutes(e,t,r){const n=tm(t);e.children.forEach(e=>{this.activateRoutes(e,n[e.value.outlet],r),this.forwardEvent(new gf(e.value.snapshot))}),e.children.length&&this.forwardEvent(new pf(e.value.snapshot))}activateRoutes(e,t,r){const n=e.value,i=t?t.value:null;if(dm(n),n===i)if(n.component){const i=r.getOrCreateContext(n.outlet);this.activateChildRoutes(e,t,i.children)}else this.activateChildRoutes(e,t,r);else if(n.component){const t=r.getOrCreateContext(n.outlet);if(this.routeReuseStrategy.shouldAttach(n.snapshot)){const e=this.routeReuseStrategy.retrieve(n.snapshot);this.routeReuseStrategy.store(n.snapshot,null),t.children.onOutletReAttached(e.contexts),t.attachRef=e.componentRef,t.route=e.route.value,t.outlet&&t.outlet.attach(e.componentRef,e.route.value),Sm(e.route)}else{const r=function(e){for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(n.snapshot),i=r?r.module.componentFactoryResolver:null;t.attachRef=null,t.route=n,t.resolver=i,t.outlet&&t.outlet.activateWith(n,i),this.activateChildRoutes(e,null,t.children)}}else this.activateChildRoutes(e,null,r)}}function Sm(e){dm(e.value),e.children.forEach(Sm)}class xm{constructor(e,t){this.routes=e,this.module=t}}function Cm(e){return"function"==typeof e}function Dm(e){return e instanceof Tf}const Lm=Symbol("INITIAL_VALUE");function Am(){return Yh(e=>uh(...e.map(e=>e.pipe(Ih(1),Nh(Lm)))).pipe(function(e,t){let r=!1;return arguments.length>=2&&(r=!0),function(n){return n.lift(new Bh(e,t,r))}}((e,t)=>{let r=!1;return t.reduce((e,n,i)=>{if(e!==Lm)return e;if(n===Lm&&(r=!0),!r){if(!1===n)return n;if(i===t.length-1||Dm(n))return n}return e},e)},Lm),bh(e=>e!==Lm),C(e=>Dm(e)?e:!0===e),Ih(1)))}class Em{constructor(e){this.segmentGroup=e||null}}class Tm{constructor(e){this.urlTree=e}}function Pm(e){return new y(t=>t.error(new Em(e)))}function Ym(e){return new y(t=>t.error(new Tm(e)))}function Rm(e){return new y(t=>t.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${e}'`)))}class Om{constructor(e,t,r,n,i){this.configLoader=t,this.urlSerializer=r,this.urlTree=n,this.config=i,this.allowRedirects=!0,this.ngModule=e.get(et)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,bf).pipe(C(e=>this.createUrlTree(e,this.urlTree.queryParams,this.urlTree.fragment))).pipe(Uh(e=>{if(e instanceof Tm)return this.allowRedirects=!1,this.match(e.urlTree);if(e instanceof Em)throw this.noMatchError(e);throw e}))}match(e){return this.expandSegmentGroup(this.ngModule,this.config,e.root,bf).pipe(C(t=>this.createUrlTree(t,e.queryParams,e.fragment))).pipe(Uh(e=>{if(e instanceof Em)throw this.noMatchError(e);throw e}))}noMatchError(e){return new Error(`Cannot match any routes. URL Segment: '${e.segmentGroup}'`)}createUrlTree(e,t,r){const n=e.segments.length>0?new Pf([],{[bf]:e}):e;return new Tf(n,t,r)}expandSegmentGroup(e,t,r,n){return 0===r.segments.length&&r.hasChildren()?this.expandChildren(e,t,r).pipe(C(e=>new Pf([],e))):this.expandSegment(e,r,t,r.segments,n,!0)}expandChildren(e,t,r){return function(e,t){if(0===Object.keys(e).length)return sh({});const r=[],n=[],i={};return Lf(e,(e,s)=>{const a=t(s,e).pipe(C(e=>i[s]=e));s===bf?r.push(a):n.push(a)}),sh.apply(null,r.concat(n)).pipe(yh(),function(e,t){const r=arguments.length>=2;return n=>n.pipe(e?bh((t,r)=>e(t,r,n)):g,Mh(1),r?Eh(t):Ch(()=>new mh))}(),C(()=>i))}(r.children,(r,n)=>this.expandSegmentGroup(e,t,n,r))}expandSegment(e,t,r,n,i,s){return sh(...r).pipe(Wh(a=>this.expandSegmentAgainstRoute(e,t,r,a,n,i,s).pipe(Uh(e=>{if(e instanceof Em)return sh(null);throw e}))),qh(e=>!!e),Uh((e,r)=>{if(e instanceof mh||"EmptyError"===e.name){if(this.noLeftoversInUrl(t,n,i))return sh(new Pf([],{}));throw new Em(t)}throw e}))}noLeftoversInUrl(e,t,r){return 0===t.length&&!e.children[r]}expandSegmentAgainstRoute(e,t,r,n,i,s,a){return Hm(n)!==s?Pm(t):void 0===n.redirectTo?this.matchSegmentAgainstRoute(e,t,n,i):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,r,n,i,s):Pm(t)}expandSegmentAgainstRouteUsingRedirect(e,t,r,n,i,s){return"**"===n.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,r,n,s):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,r,n,i,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,t,r,n){const i=this.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith("/")?Ym(i):this.lineralizeSegments(r,i).pipe(N(r=>{const i=new Pf(r,{});return this.expandSegment(e,i,t,r,n,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,t,r,n,i,s){const{matched:a,consumedSegments:o,lastChild:l,positionalParamSegments:c}=Im(t,n,i);if(!a)return Pm(t);const d=this.applyRedirectCommands(o,n.redirectTo,c);return n.redirectTo.startsWith("/")?Ym(d):this.lineralizeSegments(n,d).pipe(N(n=>this.expandSegment(e,t,r,n.concat(i.slice(l)),s,!1)))}matchSegmentAgainstRoute(e,t,r,n){if("**"===r.path)return r.loadChildren?this.configLoader.load(e.injector,r).pipe(C(e=>(r._loadedConfig=e,new Pf(n,{})))):sh(new Pf(n,{}));const{matched:i,consumedSegments:s,lastChild:a}=Im(t,r,n);if(!i)return Pm(t);const o=n.slice(a);return this.getChildConfig(e,r,n).pipe(N(e=>{const r=e.module,n=e.routes,{segmentGroup:i,slicedSegments:a}=function(e,t,r,n){return r.length>0&&function(e,t,r){return r.some(r=>Fm(e,t,r)&&Hm(r)!==bf)}(e,r,n)?{segmentGroup:jm(new Pf(t,function(e,t){const r={};r.primary=t;for(const n of e)""===n.path&&Hm(n)!==bf&&(r[Hm(n)]=new Pf([],{}));return r}(n,new Pf(r,e.children)))),slicedSegments:[]}:0===r.length&&function(e,t,r){return r.some(r=>Fm(e,t,r))}(e,r,n)?{segmentGroup:jm(new Pf(e.segments,function(e,t,r,n){const i={};for(const s of r)Fm(e,t,s)&&!n[Hm(s)]&&(i[Hm(s)]=new Pf([],{}));return Object.assign(Object.assign({},n),i)}(e,r,n,e.children))),slicedSegments:r}:{segmentGroup:e,slicedSegments:r}}(t,s,o,n);return 0===a.length&&i.hasChildren()?this.expandChildren(r,n,i).pipe(C(e=>new Pf(s,e))):0===n.length&&0===a.length?sh(new Pf(s,{})):this.expandSegment(r,i,n,a,bf,!0).pipe(C(e=>new Pf(s.concat(e.segments),e.children)))}))}getChildConfig(e,t,r){return t.children?sh(new xm(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?sh(t._loadedConfig):this.runCanLoadGuards(e.injector,t,r).pipe(N(r=>r?this.configLoader.load(e.injector,t).pipe(C(e=>(t._loadedConfig=e,e))):function(e){return new y(t=>t.error(kf(`Cannot load children because the guard of the route "path: '${e.path}'" returned false`)))}(t))):sh(new xm([],e))}runCanLoadGuards(e,t,r){const n=t.canLoad;return n&&0!==n.length?sh(n.map(n=>{const i=e.get(n);let s;if(function(e){return e&&Cm(e.canLoad)}(i))s=i.canLoad(t,r);else{if(!Cm(i))throw new Error("Invalid CanLoad guard");s=i(t,r)}return Af(s)})).pipe(Am(),$h(e=>{if(!Dm(e))return;const t=kf(`Redirecting to "${this.urlSerializer.serialize(e)}"`);throw t.url=e,t}),C(e=>!0===e)):sh(!0)}lineralizeSegments(e,t){let r=[],n=t.root;for(;;){if(r=r.concat(n.segments),0===n.numberOfChildren)return sh(r);if(n.numberOfChildren>1||!n.children.primary)return Rm(e.redirectTo);n=n.children.primary}}applyRedirectCommands(e,t,r){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,r)}applyRedirectCreatreUrlTree(e,t,r,n){const i=this.createSegmentGroup(e,t.root,r,n);return new Tf(i,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(e,t){const r={};return Lf(e,(e,n)=>{if("string"==typeof e&&e.startsWith(":")){const i=e.substring(1);r[n]=t[i]}else r[n]=e}),r}createSegmentGroup(e,t,r,n){const i=this.createSegments(e,t.segments,r,n);let s={};return Lf(t.children,(t,i)=>{s[i]=this.createSegmentGroup(e,t,r,n)}),new Pf(i,s)}createSegments(e,t,r,n){return t.map(t=>t.path.startsWith(":")?this.findPosParam(e,t,n):this.findOrReturn(t,r))}findPosParam(e,t,r){const n=r[t.path.substring(1)];if(!n)throw new Error(`Cannot redirect to '${e}'. Cannot find '${t.path}'.`);return n}findOrReturn(e,t){let r=0;for(const n of t){if(n.path===e.path)return t.splice(r),n;r++}return e}}function Im(e,t,r){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||r.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};const n=(t.matcher||Mf)(r,e,t);return n?{matched:!0,consumedSegments:n.consumed,lastChild:n.consumed.length,positionalParamSegments:n.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function jm(e){if(1===e.numberOfChildren&&e.children.primary){const t=e.children.primary;return new Pf(e.segments.concat(t.segments),t.children)}return e}function Fm(e,t,r){return(!(e.hasChildren()||t.length>0)||"full"!==r.pathMatch)&&""===r.path&&void 0!==r.redirectTo}function Hm(e){return e.outlet||bf}class Nm{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class Bm{constructor(e,t){this.component=e,this.route=t}}function zm(e,t,r){const n=e._root;return function e(t,r,n,i,s={canDeactivateChecks:[],canActivateChecks:[]}){const a=tm(r);return t.children.forEach(t=>{!function(t,r,n,i,s={canDeactivateChecks:[],canActivateChecks:[]}){const a=t.value,o=r?r.value:null,l=n?n.getContext(t.value.outlet):null;if(o&&a.routeConfig===o.routeConfig){const c=function(e,t,r){if("function"==typeof r)return r(e,t);switch(r){case"pathParamsChange":return!Rf(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Rf(e.url,t.url)||!Sf(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!um(e,t)||!Sf(e.queryParams,t.queryParams);case"paramsChange":default:return!um(e,t)}}(o,a,a.routeConfig.runGuardsAndResolvers);c?s.canActivateChecks.push(new Nm(i)):(a.data=o.data,a._resolvedData=o._resolvedData),e(t,r,a.component?l?l.children:null:n,i,s),c&&l&&l.outlet&&l.outlet.isActivated&&s.canDeactivateChecks.push(new Bm(l.outlet.component,o))}else o&&Vm(r,l,s),s.canActivateChecks.push(new Nm(i)),e(t,null,a.component?l?l.children:null:n,i,s)}(t,a[t.value.outlet],n,i.concat([t.value]),s),delete a[t.value.outlet]}),Lf(a,(e,t)=>Vm(e,n.getContext(t),s)),s}(n,t?t._root:null,r,[n.value])}function Um(e,t,r){const n=function(e){if(!e)return null;for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(t);return(n?n.module.injector:r).get(e)}function Vm(e,t,r){const n=tm(e),i=e.value;Lf(n,(e,n)=>{Vm(e,i.component?t?t.children.getContext(n):null:t,r)}),r.canDeactivateChecks.push(new Bm(i.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,i))}function Km(e,t){return null!==e&&t&&t(new _f(e)),sh(!0)}function Wm(e,t){return null!==e&&t&&t(new mf(e)),sh(!0)}function qm(e,t,r){const n=t.routeConfig?t.routeConfig.canActivate:null;return n&&0!==n.length?sh(n.map(n=>gh(()=>{const i=Um(n,t,r);let s;if(function(e){return e&&Cm(e.canActivate)}(i))s=Af(i.canActivate(t,e));else{if(!Cm(i))throw new Error("Invalid CanActivate guard");s=Af(i(t,e))}return s.pipe(qh())}))).pipe(Am()):sh(!0)}function Gm(e,t,r){const n=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(e=>function(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)).filter(e=>null!==e).map(t=>gh(()=>sh(t.guards.map(i=>{const s=Um(i,t.node,r);let a;if(function(e){return e&&Cm(e.canActivateChild)}(s))a=Af(s.canActivateChild(n,e));else{if(!Cm(s))throw new Error("Invalid CanActivateChild guard");a=Af(s(n,e))}return a.pipe(qh())})).pipe(Am())));return sh(i).pipe(Am())}class $m{}class Zm{constructor(e,t,r,n,i,s){this.rootComponentType=e,this.config=t,this.urlTree=r,this.url=n,this.paramsInheritanceStrategy=i,this.relativeLinkResolution=s}recognize(){try{const e=Xm(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,bf),r=new am([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},bf,this.rootComponentType,null,this.urlTree.root,-1,{}),n=new em(r,t),i=new om(this.url,n);return this.inheritParamsAndData(i._root),sh(i)}catch(e){return new y(t=>t.error(e))}}inheritParamsAndData(e){const t=e.value,r=sm(t,this.paramsInheritanceStrategy);t.params=Object.freeze(r.params),t.data=Object.freeze(r.data),e.children.forEach(e=>this.inheritParamsAndData(e))}processSegmentGroup(e,t,r){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,r)}processChildren(e,t){const r=Of(t,(t,r)=>this.processSegmentGroup(e,t,r));return function(e){const t={};e.forEach(e=>{const r=t[e.value.outlet];if(r){const t=r.url.map(e=>e.toString()).join("/"),n=e.value.url.map(e=>e.toString()).join("/");throw new Error(`Two segments cannot have the same outlet name: '${t}' and '${n}'.`)}t[e.value.outlet]=e.value})}(r),r.sort((e,t)=>e.value.outlet===bf?-1:t.value.outlet===bf?1:e.value.outlet.localeCompare(t.value.outlet)),r}processSegment(e,t,r,n){for(const s of e)try{return this.processSegmentAgainstRoute(s,t,r,n)}catch(i){if(!(i instanceof $m))throw i}if(this.noLeftoversInUrl(t,r,n))return[];throw new $m}noLeftoversInUrl(e,t,r){return 0===t.length&&!e.children[r]}processSegmentAgainstRoute(e,t,r,n){if(e.redirectTo)throw new $m;if((e.outlet||bf)!==n)throw new $m;let i,s=[],a=[];if("**"===e.path){const s=r.length>0?Df(r).parameters:{};i=new am(r,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,rp(e),n,e.component,e,Jm(t),Qm(t)+r.length,np(e))}else{const o=function(e,t,r){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||r.length>0))throw new $m;return{consumedSegments:[],lastChild:0,parameters:{}}}const n=(t.matcher||Mf)(r,e,t);if(!n)throw new $m;const i={};Lf(n.posParams,(e,t)=>{i[t]=e.path});const s=n.consumed.length>0?Object.assign(Object.assign({},i),n.consumed[n.consumed.length-1].parameters):i;return{consumedSegments:n.consumed,lastChild:n.consumed.length,parameters:s}}(t,e,r);s=o.consumedSegments,a=r.slice(o.lastChild),i=new am(s,o.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,rp(e),n,e.component,e,Jm(t),Qm(t)+s.length,np(e))}const o=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),{segmentGroup:l,slicedSegments:c}=Xm(t,s,a,o,this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const e=this.processChildren(o,l);return[new em(i,e)]}if(0===o.length&&0===c.length)return[new em(i,[])];const d=this.processSegment(o,l,c,bf);return[new em(i,d)]}}function Jm(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function Qm(e){let t=e,r=t._segmentIndexShift?t._segmentIndexShift:0;for(;t._sourceSegment;)t=t._sourceSegment,r+=t._segmentIndexShift?t._segmentIndexShift:0;return r-1}function Xm(e,t,r,n,i){if(r.length>0&&function(e,t,r){return r.some(r=>ep(e,t,r)&&tp(r)!==bf)}(e,r,n)){const i=new Pf(t,function(e,t,r,n){const i={};i.primary=n,n._sourceSegment=e,n._segmentIndexShift=t.length;for(const s of r)if(""===s.path&&tp(s)!==bf){const r=new Pf([],{});r._sourceSegment=e,r._segmentIndexShift=t.length,i[tp(s)]=r}return i}(e,t,n,new Pf(r,e.children)));return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:[]}}if(0===r.length&&function(e,t,r){return r.some(r=>ep(e,t,r))}(e,r,n)){const s=new Pf(e.segments,function(e,t,r,n,i,s){const a={};for(const o of n)if(ep(e,r,o)&&!i[tp(o)]){const r=new Pf([],{});r._sourceSegment=e,r._segmentIndexShift="legacy"===s?e.segments.length:t.length,a[tp(o)]=r}return Object.assign(Object.assign({},i),a)}(e,t,r,n,e.children,i));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:r}}const s=new Pf(e.segments,e.children);return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:r}}function ep(e,t,r){return(!(e.hasChildren()||t.length>0)||"full"!==r.pathMatch)&&""===r.path&&void 0===r.redirectTo}function tp(e){return e.outlet||bf}function rp(e){return e.data||{}}function np(e){return e.resolve||{}}function ip(e){return function(t){return t.pipe(Yh(t=>{const r=e(t);return r?I(r).pipe(C(()=>t)):I([t])}))}}class sp extends class{shouldDetach(e){return!1}store(e,t){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,t){return e.routeConfig===t.routeConfig}}{}let ap=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=mt({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&Na(0,"router-outlet")},directives:function(){return[Sp]},encapsulation:2}),e})();function op(e,t=""){for(let r=0;r{this.onLoadEndListener&&this.onLoadEndListener(t);const n=r.create(e);return new xm(Cf(n.injector.get(up)).map(dp),n)}))}loadModuleFactory(e){return"string"==typeof e?I(this.loader.load(e)):Af(e()).pipe(N(e=>e instanceof tt?sh(e):I(this.compiler.compileModuleAsync(e))))}}class fp{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new mp,this.attachRef=null}}class mp{constructor(){this.contexts=new Map}onChildOutletCreated(e,t){const r=this.getOrCreateContext(e);r.outlet=t,this.contexts.set(e,r)}onChildOutletDestroyed(e){const t=this.getContext(e);t&&(t.outlet=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let t=this.getContext(e);return t||(t=new fp,this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}}class pp{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}}function _p(e){throw e}function gp(e,t,r){return t.parse("/")}function yp(e,t){return sh(null)}let bp=(()=>{class e{constructor(e,t,r,n,i,s,a,o){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=r,this.location=n,this.config=o,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.lastLocationChangeInfo=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new M,this.errorHandler=_p,this.malformedUriErrorHandler=gp,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:yp,afterPreactivation:yp},this.urlHandlingStrategy=new pp,this.routeReuseStrategy=new sp,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=i.get(et),this.console=i.get(gc);const l=i.get(Ec);this.isNgZoneEnabled=l instanceof Ec,this.resetConfig(o),this.currentUrlTree=new Tf(new Pf([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new hp(s,a,e=>this.triggerEvent(new hf(e)),e=>this.triggerEvent(new ff(e))),this.routerState=nm(this.currentUrlTree,this.rootComponentType),this.transitions=new ah({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}setupNavigations(e){const t=this.events;return e.pipe(bh(e=>0!==e.id),C(e=>Object.assign(Object.assign({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl)})),Yh(e=>{let r=!1,n=!1;return sh(e).pipe($h(e=>{this.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Yh(e=>{const r=!this.navigated||e.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||r)&&this.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return sh(e).pipe(Yh(e=>{const r=this.transitions.getValue();return t.next(new rf(e.id,this.serializeUrl(e.extractedUrl),e.source,e.restoredState)),r!==this.transitions.getValue()?ph:[e]}),Yh(e=>Promise.resolve(e)),(n=this.ngModule.injector,i=this.configLoader,s=this.urlSerializer,a=this.config,function(e){return e.pipe(Yh(e=>function(e,t,r,n,i){return new Om(e,t,r,n,i).apply()}(n,i,s,e.extractedUrl,a).pipe(C(t=>Object.assign(Object.assign({},e),{urlAfterRedirects:t})))))}),$h(e=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:e.urlAfterRedirects})}),function(e,t,r,n,i){return function(s){return s.pipe(N(s=>function(e,t,r,n,i="emptyOnly",s="legacy"){return new Zm(e,t,r,n,i,s).recognize()}(e,t,s.urlAfterRedirects,r(s.urlAfterRedirects),n,i).pipe(C(e=>Object.assign(Object.assign({},s),{targetSnapshot:e})))))}}(this.rootComponentType,this.config,e=>this.serializeUrl(e),this.paramsInheritanceStrategy,this.relativeLinkResolution),$h(e=>{"eager"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects)}),$h(e=>{const r=new of(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.next(r)}));var n,i,s,a;if(r&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:r,extractedUrl:n,source:i,restoredState:s,extras:a}=e,o=new rf(r,this.serializeUrl(n),i,s);t.next(o);const l=nm(n,this.rootComponentType).snapshot;return sh(Object.assign(Object.assign({},e),{targetSnapshot:l,urlAfterRedirects:n,extras:Object.assign(Object.assign({},a),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=e.rawUrl,this.browserUrlTree=e.urlAfterRedirects,e.resolve(null),ph}),ip(e=>{const{targetSnapshot:t,id:r,extractedUrl:n,rawUrl:i,extras:{skipLocationChange:s,replaceUrl:a}}=e;return this.hooks.beforePreactivation(t,{navigationId:r,appliedUrlTree:n,rawUrlTree:i,skipLocationChange:!!s,replaceUrl:!!a})}),$h(e=>{const t=new lf(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),C(e=>Object.assign(Object.assign({},e),{guards:zm(e.targetSnapshot,e.currentSnapshot,this.rootContexts)})),function(e,t){return function(r){return r.pipe(N(r=>{const{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:s,canDeactivateChecks:a}}=r;return 0===a.length&&0===s.length?sh(Object.assign(Object.assign({},r),{guardsResult:!0})):function(e,t,r,n){return I(e).pipe(N(e=>function(e,t,r,n,i){const s=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return s&&0!==s.length?sh(s.map(s=>{const a=Um(s,t,i);let o;if(function(e){return e&&Cm(e.canDeactivate)}(a))o=Af(a.canDeactivate(e,t,r,n));else{if(!Cm(a))throw new Error("Invalid CanDeactivate guard");o=Af(a(e,t,r,n))}return o.pipe(qh())})).pipe(Am()):sh(!0)}(e.component,e.route,r,t,n)),qh(e=>!0!==e,!0))}(a,n,i,e).pipe(N(r=>r&&"boolean"==typeof r?function(e,t,r,n){return I(t).pipe(Wh(t=>I([Wm(t.route.parent,n),Km(t.route,n),Gm(e,t.path,r),qm(e,t.route,r)]).pipe(yh(),qh(e=>!0!==e,!0))),qh(e=>!0!==e,!0))}(n,s,e,t):sh(r)),C(e=>Object.assign(Object.assign({},r),{guardsResult:e})))}))}}(this.ngModule.injector,e=>this.triggerEvent(e)),$h(e=>{if(Dm(e.guardsResult)){const t=kf(`Redirecting to "${this.serializeUrl(e.guardsResult)}"`);throw t.url=e.guardsResult,t}}),$h(e=>{const t=new cf(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);this.triggerEvent(t)}),bh(e=>{if(!e.guardsResult){this.resetUrlToCurrentUrlTree();const r=new sf(e.id,this.serializeUrl(e.extractedUrl),"");return t.next(r),e.resolve(!1),!1}return!0}),ip(e=>{if(e.guards.canActivateChecks.length)return sh(e).pipe($h(e=>{const t=new df(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),Yh(e=>{let r=!1;return sh(e).pipe((n=this.paramsInheritanceStrategy,i=this.ngModule.injector,function(e){return e.pipe(N(e=>{const{targetSnapshot:t,guards:{canActivateChecks:r}}=e;if(!r.length)return sh(e);let s=0;return I(r).pipe(Wh(e=>function(e,t,r,n){return function(e,t,r,n){const i=Object.keys(e);if(0===i.length)return sh({});const s={};return I(i).pipe(N(i=>function(e,t,r,n){const i=Um(e,t,n);return Af(i.resolve?i.resolve(t,r):i(t,r))}(e[i],t,r,n).pipe($h(e=>{s[i]=e}))),Mh(1),N(()=>Object.keys(s).length===i.length?sh(s):ph))}(e._resolve,e,t,n).pipe(C(t=>(e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),sm(e,r).resolve),null)))}(e.route,t,n,i)),$h(()=>s++),Mh(1),N(t=>s===r.length?sh(e):ph))}))}),$h({next:()=>r=!0,complete:()=>{if(!r){const r=new sf(e.id,this.serializeUrl(e.extractedUrl),"At least one route resolver didn't emit any value.");t.next(r),e.resolve(!1)}}}));var n,i}),$h(e=>{const t=new uf(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}))}),ip(e=>{const{targetSnapshot:t,id:r,extractedUrl:n,rawUrl:i,extras:{skipLocationChange:s,replaceUrl:a}}=e;return this.hooks.afterPreactivation(t,{navigationId:r,appliedUrlTree:n,rawUrlTree:i,skipLocationChange:!!s,replaceUrl:!!a})}),C(e=>{const t=function(e,t,r){const n=function e(t,r,n){if(n&&t.shouldReuseRoute(r.value,n.value.snapshot)){const i=n.value;i._futureSnapshot=r.value;const s=function(t,r,n){return r.children.map(r=>{for(const i of n.children)if(t.shouldReuseRoute(i.value.snapshot,r.value))return e(t,r,i);return e(t,r)})}(t,r,n);return new em(i,s)}{const n=t.retrieve(r.value);if(n){const e=n.route;return function e(t,r){if(t.value.routeConfig!==r.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==r.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");r.value._futureSnapshot=t.value;for(let n=0;ne(t,r));return new em(n,s)}}var i}(e,t._root,r?r._root:void 0);return new rm(n,t)}(this.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign(Object.assign({},e),{targetRouterState:t})}),$h(e=>{this.currentUrlTree=e.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl),this.routerState=e.targetRouterState,"deferred"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects)}),(i=this.rootContexts,s=this.routeReuseStrategy,a=e=>this.triggerEvent(e),C(e=>(new Mm(s,e.targetRouterState,e.currentRouterState,a).activate(i),e))),$h({next(){r=!0},complete(){r=!0}}),Qh(()=>{if(!r&&!n){this.resetUrlToCurrentUrlTree();const r=new sf(e.id,this.serializeUrl(e.extractedUrl),`Navigation ID ${e.id} is not equal to the current navigation id ${this.navigationId}`);t.next(r),e.resolve(!1)}this.currentNavigation=null}),Uh(r=>{if(n=!0,(i=r)&&i.ngNavigationCancelingError){const n=Dm(r.url);n||(this.navigated=!0,this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));const i=new sf(e.id,this.serializeUrl(e.extractedUrl),r.message);t.next(i),n?setTimeout(()=>{const t=this.urlHandlingStrategy.merge(r.url,this.rawUrlTree);return this.scheduleNavigation(t,"imperative",null,{skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:e.resolve,reject:e.reject,promise:e.promise})},0):e.resolve(!1)}else{this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);const n=new af(e.id,this.serializeUrl(e.extractedUrl),r);t.next(n);try{e.resolve(this.errorHandler(r))}catch(s){e.reject(s)}}var i;return ph}));var i,s,a}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}getTransition(){const e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}setTransition(e){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const t=this.extractLocationChangeInfoFromEvent(e);this.shouldScheduleNavigation(this.lastLocationChangeInfo,t)&&setTimeout(()=>{const{source:e,state:r,urlTree:n}=t,i={replaceUrl:!0};if(r){const e=Object.assign({},r);delete e.navigationId,0!==Object.keys(e).length&&(i.state=e)}this.scheduleNavigation(n,e,r,i)},0),this.lastLocationChangeInfo=t}))}extractLocationChangeInfoFromEvent(e){var t;return{source:"popstate"===e.type?"popstate":"hashchange",urlTree:this.parseUrl(e.url),state:(null===(t=e.state)||void 0===t?void 0:t.navigationId)?e.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(e,t){if(!e)return!0;const r=t.urlTree.toString()===e.urlTree.toString();return!(t.transitionId===e.transitionId&&r&&("hashchange"===t.source&&"popstate"===e.source||"popstate"===t.source&&"hashchange"===e.source))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){op(e),this.config=e.map(dp),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0)}createUrlTree(e,t={}){const{relativeTo:r,queryParams:n,fragment:i,preserveQueryParams:s,queryParamsHandling:a,preserveFragment:o}=t;In()&&s&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");const l=r||this.routerState.root,c=o?this.currentUrlTree.fragment:i;let d=null;if(a)switch(a){case"merge":d=Object.assign(Object.assign({},this.currentUrlTree.queryParams),n);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=n||null}else d=s?this.currentUrlTree.queryParams:n||null;return null!==d&&(d=this.removeEmptyProps(d)),function(e,t,r,n,i){if(0===r.length)return fm(t.root,t.root,t,n,i);const s=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new mm(!0,0,e);let t=0,r=!1;const n=e.reduce((e,n,i)=>{if("object"==typeof n&&null!=n){if(n.outlets){const t={};return Lf(n.outlets,(e,r)=>{t[r]="string"==typeof e?e.split("/"):e}),[...e,{outlets:t}]}if(n.segmentPath)return[...e,n.segmentPath]}return"string"!=typeof n?[...e,n]:0===i?(n.split("/").forEach((n,i)=>{0==i&&"."===n||(0==i&&""===n?r=!0:".."===n?t++:""!=n&&e.push(n))}),e):[...e,n]},[]);return new mm(r,t,n)}(r);if(s.toRoot())return fm(t.root,new Pf([],{}),t,n,i);const a=function(e,t,r){if(e.isAbsolute)return new pm(t.root,!0,0);if(-1===r.snapshot._lastPathIndex){const e=r.snapshot._urlSegment;return new pm(e,e===t.root,0)}const n=hm(e.commands[0])?0:1;return function(e,t,r){let n=e,i=t,s=r;for(;s>i;){if(s-=i,n=n.parent,!n)throw new Error("Invalid number of '../'");i=n.segments.length}return new pm(n,!1,i-s)}(r.snapshot._urlSegment,r.snapshot._lastPathIndex+n,e.numberOfDoubleDots)}(s,t,e),o=a.processChildren?ym(a.segmentGroup,a.index,s.commands):gm(a.segmentGroup,a.index,s.commands);return fm(a.segmentGroup,o,t,n,i)}(l,this.currentUrlTree,e,d,c)}navigateByUrl(e,t={skipLocationChange:!1}){In()&&this.isNgZoneEnabled&&!Ec.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");const r=Dm(e)?e:this.parseUrl(e),n=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(n,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function(e){for(let t=0;t{const n=e[r];return null!=n&&(t[r]=n),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.events.next(new nf(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,e.resolve(!0)},e=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(e,t,r,n,i){const s=this.getTransition(),a="imperative"!==t&&"imperative"===(null==s?void 0:s.source),o=(this.lastSuccessfulId===s.id||this.currentNavigation?s.rawUrl:s.urlAfterRedirects).toString()===e.toString();if(a&&o)return Promise.resolve(!0);let l,c,d;i?(l=i.resolve,c=i.reject,d=i.promise):d=new Promise((e,t)=>{l=e,c=t});const u=++this.navigationId;return this.setTransition({id:u,source:t,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:n,resolve:l,reject:c,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(e=>Promise.reject(e))}setBrowserUrl(e,t,r,n){const i=this.urlSerializer.serialize(e);n=n||{},this.location.isCurrentPathEqualTo(i)||t?this.location.replaceState(i,"",Object.assign(Object.assign({},n),{navigationId:r})):this.location.go(i,"",Object.assign(Object.assign({},n),{navigationId:r}))}resetStateAndUrl(e,t,r){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,r),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}return e.\u0275fac=function(t){return new(t||e)($e(Qs),$e(If),$e(mp),$e(Md),$e(fa),$e(Jc),$e(Dc),$e(void 0))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})(),vp=(()=>{class e{constructor(e,t,r,n,i){this.router=e,this.route=t,this.commands=[],this.onChanges=new M,null==r&&n.setAttribute(i.nativeElement,"tabindex","0")}ngOnChanges(e){this.onChanges.next(this)}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}set preserveQueryParams(e){In()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=e}onClick(){const e={skipLocationChange:kp(this.skipLocationChange),replaceUrl:kp(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,e),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:kp(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:kp(this.preserveFragment)})}}return e.\u0275fac=function(t){return new(t||e)(Ra(bp),Ra(im),Oa("tabindex"),Ra(Wo),Ra(zo))},e.\u0275dir=vt({type:e,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,t){1&e&&qa("click",(function(){return t.onClick()}))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[Ot]}),e})(),wp=(()=>{class e{constructor(e,t,r){this.router=e,this.route=t,this.locationStrategy=r,this.commands=[],this.onChanges=new M,this.subscription=e.events.subscribe(e=>{e instanceof nf&&this.updateTargetUrlAndHref()})}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}set preserveQueryParams(e){In()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=e}ngOnChanges(e){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,t,r,n,i){if(0!==e||t||r||n||i)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const s={skipLocationChange:kp(this.skipLocationChange),replaceUrl:kp(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,s),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:kp(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:kp(this.preserveFragment)})}}return e.\u0275fac=function(t){return new(t||e)(Ra(bp),Ra(im),Ra(yd))},e.\u0275dir=vt({type:e,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&qa("click",(function(e){return t.onClick(e.button,e.ctrlKey,e.shiftKey,e.altKey,e.metaKey)})),2&e&&(Ao("href",t.href,li),Ea("target",t.target))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[Ot]}),e})();function kp(e){return""===e||!!e}let Mp=(()=>{class e{constructor(e,t,r,n,i,s){this.router=e,this.element=t,this.renderer=r,this.cdr=n,this.link=i,this.linkWithHref=s,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.routerEventsSubscription=e.events.subscribe(e=>{e instanceof nf&&this.update()})}ngAfterContentInit(){I([this.links.changes,this.linksWithHrefs.changes,sh(null)]).pipe(U()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var e;null===(e=this.linkInputChangesSubscription)||void 0===e||e.unsubscribe();const t=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(e=>!!e).map(e=>e.onChanges);this.linkInputChangesSubscription=I(t).pipe(U()).subscribe(e=>{this.isActive!==this.isLinkActive(this.router)(e)&&this.update()})}set routerLinkActive(e){const t=Array.isArray(e)?e:e.split(" ");this.classes=t.filter(e=>!!e)}ngOnChanges(e){this.update()}ngOnDestroy(){var e;this.routerEventsSubscription.unsubscribe(),null===(e=this.linkInputChangesSubscription)||void 0===e||e.unsubscribe()}update(){this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then(()=>{const e=this.hasActiveLinks();this.isActive!==e&&(this.isActive=e,this.cdr.markForCheck(),this.classes.forEach(t=>{e?this.renderer.addClass(this.element.nativeElement,t):this.renderer.removeClass(this.element.nativeElement,t)}))})}isLinkActive(e){return t=>e.isActive(t.urlTree,this.routerLinkActiveOptions.exact)}hasActiveLinks(){const e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.linkWithHref&&e(this.linkWithHref)||this.links.some(e)||this.linksWithHrefs.some(e)}}return e.\u0275fac=function(t){return new(t||e)(Ra(bp),Ra(zo),Ra(Wo),Ra(Zs),Ra(vp,8),Ra(wp,8))},e.\u0275dir=vt({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(e,t,r){var n;1&e&&(rc(r,vp,!0),rc(r,wp,!0)),2&e&&(Ql(n=sc())&&(t.links=n),Ql(n=sc())&&(t.linksWithHrefs=n))},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},exportAs:["routerLinkActive"],features:[Ot]}),e})(),Sp=(()=>{class e{constructor(e,t,r,n,i){this.parentContexts=e,this.location=t,this.resolver=r,this.changeDetector=i,this.activated=null,this._activatedRoute=null,this.activateEvents=new Bl,this.deactivateEvents=new Bl,this.name=n||bf,e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;const r=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),n=this.parentContexts.getOrCreateContext(this.name).children,i=new xp(e,n,this.location.injector);this.activated=this.location.createComponent(r,this.location.length,i),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(t){return new(t||e)(Ra(mp),Ra(ml),Ra(Bo),Oa("name"),Ra(Zs))},e.\u0275dir=vt({type:e,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),e})();class xp{constructor(e,t,r){this.route=e,this.childContexts=t,this.parent=r}get(e,t){return e===im?this.route:e===mp?this.childContexts:this.parent.get(e,t)}}class Cp{}class Dp{preload(e,t){return sh(null)}}let Lp=(()=>{class e{constructor(e,t,r,n,i){this.router=e,this.injector=n,this.preloadingStrategy=i,this.loader=new hp(t,r,t=>e.triggerEvent(new hf(t)),t=>e.triggerEvent(new ff(t)))}setUpPreloading(){this.subscription=this.router.events.pipe(bh(e=>e instanceof nf),Wh(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(et);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,t){const r=[];for(const n of t)if(n.loadChildren&&!n.canLoad&&n._loadedConfig){const e=n._loadedConfig;r.push(this.processRoutes(e.module,e.routes))}else n.loadChildren&&!n.canLoad?r.push(this.preloadConfig(e,n)):n.children&&r.push(this.processRoutes(e,n.children));return I(r).pipe(U(),C(e=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>this.loader.load(e.injector,t).pipe(N(e=>(t._loadedConfig=e,this.processRoutes(e.module,e.routes)))))}}return e.\u0275fac=function(t){return new(t||e)($e(bp),$e(Jc),$e(Dc),$e(fa),$e(Cp))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})(),Ap=(()=>{class e{constructor(e,t,r={}){this.router=e,this.viewportScroller=t,this.options=r,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},r.scrollPositionRestoration=r.scrollPositionRestoration||"disabled",r.anchorScrolling=r.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof rf?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof nf&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof yf&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,t){this.router.triggerEvent(new yf(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)($e(bp),$e(Cu),$e(void 0))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();const Ep=new Fe("ROUTER_CONFIGURATION"),Tp=new Fe("ROUTER_FORROOT_GUARD"),Pp=[Md,{provide:If,useClass:jf},{provide:bp,useFactory:function(e,t,r,n,i,s,a,o={},l,c){const d=new bp(null,e,t,r,n,i,s,Cf(a));if(l&&(d.urlHandlingStrategy=l),c&&(d.routeReuseStrategy=c),o.errorHandler&&(d.errorHandler=o.errorHandler),o.malformedUriErrorHandler&&(d.malformedUriErrorHandler=o.malformedUriErrorHandler),o.enableTracing){const e=od();d.events.subscribe(t=>{e.logGroup("Router Event: "+t.constructor.name),e.log(t.toString()),e.log(t),e.logGroupEnd()})}return o.onSameUrlNavigation&&(d.onSameUrlNavigation=o.onSameUrlNavigation),o.paramsInheritanceStrategy&&(d.paramsInheritanceStrategy=o.paramsInheritanceStrategy),o.urlUpdateStrategy&&(d.urlUpdateStrategy=o.urlUpdateStrategy),o.relativeLinkResolution&&(d.relativeLinkResolution=o.relativeLinkResolution),d},deps:[If,mp,Md,fa,Jc,Dc,up,Ep,[class{},new ie],[class{},new ie]]},mp,{provide:im,useFactory:function(e){return e.routerState.root},deps:[bp]},{provide:Jc,useClass:ed},Lp,Dp,class{preload(e,t){return t().pipe(Uh(()=>sh(null)))}},{provide:Ep,useValue:{enableTracing:!1}}];function Yp(){return new Vc("Router",bp)}let Rp=(()=>{class e{constructor(e,t){}static forRoot(t,r){return{ngModule:e,providers:[Pp,Fp(t),{provide:Tp,useFactory:jp,deps:[[bp,new ie,new ae]]},{provide:Ep,useValue:r||{}},{provide:yd,useFactory:Ip,deps:[cd,[new ne(vd),new ie],Ep]},{provide:Ap,useFactory:Op,deps:[bp,Cu,Ep]},{provide:Cp,useExisting:r&&r.preloadingStrategy?r.preloadingStrategy:Dp},{provide:Vc,multi:!0,useFactory:Yp},[Hp,{provide:cc,multi:!0,useFactory:Np,deps:[Hp]},{provide:zp,useFactory:Bp,deps:[Hp]},{provide:_c,multi:!0,useExisting:zp}]]}}static forChild(t){return{ngModule:e,providers:[Fp(t)]}}}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)($e(Tp,8),$e(bp,8))}}),e})();function Op(e,t,r){return r.scrollOffset&&t.setOffset(r.scrollOffset),new Ap(e,t,r)}function Ip(e,t,r={}){return r.useHash?new kd(e,t):new wd(e,t)}function jp(e){if(e)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Fp(e){return[{provide:ma,multi:!0,useValue:e},{provide:up,multi:!0,useValue:e}]}let Hp=(()=>{class e{constructor(e){this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new M}appInitializer(){return this.injector.get(ud,Promise.resolve(null)).then(()=>{let e=null;const t=new Promise(t=>e=t),r=this.injector.get(bp),n=this.injector.get(Ep);if(this.isLegacyDisabled(n)||this.isLegacyEnabled(n))e(!0);else if("disabled"===n.initialNavigation)r.setUpLocationChangeListener(),e(!0);else{if("enabled"!==n.initialNavigation)throw new Error(`Invalid initialNavigation options: '${n.initialNavigation}'`);r.hooks.afterPreactivation=()=>this.initNavigation?sh(null):(this.initNavigation=!0,e(!0),this.resultOfPreactivationDone),r.initialNavigation()}return t})}bootstrapListener(e){const t=this.injector.get(Ep),r=this.injector.get(Lp),n=this.injector.get(Ap),i=this.injector.get(bp),s=this.injector.get($c);e===s.components[0]&&(this.isLegacyEnabled(t)?i.initialNavigation():this.isLegacyDisabled(t)&&i.setUpLocationChangeListener(),r.setUpPreloading(),n.init(),i.resetRootComponentType(s.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}isLegacyEnabled(e){return"legacy_enabled"===e.initialNavigation||!0===e.initialNavigation||void 0===e.initialNavigation}isLegacyDisabled(e){return"legacy_disabled"===e.initialNavigation||!1===e.initialNavigation}}return e.\u0275fac=function(t){return new(t||e)($e(fa))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();function Np(e){return e.appInitializer.bind(e)}function Bp(e){return e.bootstrapListener.bind(e)}const zp=new Fe("Router Initializer");class Up{}class Vp{}class Kp{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?()=>{this.headers=new Map,e.split("\n").forEach(e=>{const t=e.indexOf(":");if(t>0){const r=e.slice(0,t),n=r.toLowerCase(),i=e.slice(t+1).trim();this.maybeSetNormalizedName(r,n),this.headers.has(n)?this.headers.get(n).push(i):this.headers.set(n,[i])}})}:()=>{this.headers=new Map,Object.keys(e).forEach(t=>{let r=e[t];const n=t.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(this.headers.set(n,r),this.maybeSetNormalizedName(t,n))})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();const t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,t){return this.clone({name:e,value:t,op:"a"})}set(e,t){return this.clone({name:e,value:t,op:"s"})}delete(e,t){return this.clone({name:e,value:t,op:"d"})}maybeSetNormalizedName(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}init(){this.lazyInit&&(this.lazyInit instanceof Kp?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(t=>{this.headers.set(t,e.headers.get(t)),this.normalizedNames.set(t,e.normalizedNames.get(t))})}clone(e){const t=new Kp;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof Kp?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}applyUpdate(e){const t=e.name.toLowerCase();switch(e.op){case"a":case"s":let r=e.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(e.name,t);const n=("a"===e.op?this.headers.get(t):void 0)||[];n.push(...r),this.headers.set(t,n);break;case"d":const i=e.value;if(i){let e=this.headers.get(t);if(!e)return;e=e.filter(e=>-1===i.indexOf(e)),0===e.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,e)}else this.headers.delete(t),this.normalizedNames.delete(t)}}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>e(this.normalizedNames.get(t),this.headers.get(t)))}}class Wp{encodeKey(e){return qp(e)}encodeValue(e){return qp(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}function qp(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}class Gp{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new Wp,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(e,t){const r=new Map;return e.length>0&&e.split("&").forEach(e=>{const n=e.indexOf("="),[i,s]=-1==n?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,n)),t.decodeValue(e.slice(n+1))],a=r.get(i)||[];a.push(s),r.set(i,a)}),r}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(t=>{const r=e.fromObject[t];this.map.set(t,Array.isArray(r)?r:[r])})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();const t=this.map.get(e);return t?t[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,t){return this.clone({param:e,value:t,op:"a"})}set(e,t){return this.clone({param:e,value:t,op:"s"})}delete(e,t){return this.clone({param:e,value:t,op:"d"})}toString(){return this.init(),this.keys().map(e=>{const t=this.encoder.encodeKey(e);return this.map.get(e).map(e=>t+"="+this.encoder.encodeValue(e)).join("&")}).filter(e=>""!==e).join("&")}clone(e){const t=new Gp({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat([e]),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":const t=("a"===e.op?this.map.get(e.param):void 0)||[];t.push(e.value),this.map.set(e.param,t);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{let t=this.map.get(e.param)||[];const r=t.indexOf(e.value);-1!==r&&t.splice(r,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}}}),this.cloneFrom=this.updates=null)}}function $p(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function Zp(e){return"undefined"!=typeof Blob&&e instanceof Blob}function Jp(e){return"undefined"!=typeof FormData&&e instanceof FormData}class Qp{constructor(e,t,r,n){let i;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||n?(this.body=void 0!==r?r:null,i=n):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.params&&(this.params=i.params)),this.headers||(this.headers=new Kp),this.params){const e=this.params.toString();if(0===e.length)this.urlWithParams=t;else{const r=t.indexOf("?");this.urlWithParams=t+(-1===r?"?":rt.set(r,e.setHeaders[r]),o)),e.setParams&&(l=Object.keys(e.setParams).reduce((t,r)=>t.set(r,e.setParams[r]),l)),new Qp(t,r,i,{params:l,headers:o,reportProgress:a,responseType:n,withCredentials:s})}}var Xp=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}({});class e_{constructor(e,t=200,r="OK"){this.headers=e.headers||new Kp,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||r,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}class t_ extends e_{constructor(e={}){super(e),this.type=Xp.ResponseHeader}clone(e={}){return new t_({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class r_ extends e_{constructor(e={}){super(e),this.type=Xp.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new r_({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class n_ extends e_{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?"Http failure during parsing for "+(e.url||"(unknown url)"):`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}}function i_(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let s_=(()=>{class e{constructor(e){this.handler=e}request(e,t,r={}){let n;if(e instanceof Qp)n=e;else{let i=void 0;i=r.headers instanceof Kp?r.headers:new Kp(r.headers);let s=void 0;r.params&&(s=r.params instanceof Gp?r.params:new Gp({fromObject:r.params})),n=new Qp(e,t,void 0!==r.body?r.body:null,{headers:i,params:s,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials})}const i=sh(n).pipe(Wh(e=>this.handler.handle(e)));if(e instanceof Qp||"events"===r.observe)return i;const s=i.pipe(bh(e=>e instanceof r_));switch(r.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return s.pipe(C(e=>{if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return s.pipe(C(e=>{if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return s.pipe(C(e=>{if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));case"json":default:return s.pipe(C(e=>e.body))}case"response":return s;default:throw new Error(`Unreachable: unhandled observe type ${r.observe}}`)}}delete(e,t={}){return this.request("DELETE",e,t)}get(e,t={}){return this.request("GET",e,t)}head(e,t={}){return this.request("HEAD",e,t)}jsonp(e,t){return this.request("JSONP",e,{params:(new Gp).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,r={}){return this.request("PATCH",e,i_(r,t))}post(e,t,r={}){return this.request("POST",e,i_(r,t))}put(e,t,r={}){return this.request("PUT",e,i_(r,t))}}return e.\u0275fac=function(t){return new(t||e)($e(Up))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();class a_{constructor(e,t){this.next=e,this.interceptor=t}handle(e){return this.interceptor.intercept(e,this.next)}}const o_=new Fe("HTTP_INTERCEPTORS");let l_=(()=>{class e{intercept(e,t){return t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();const c_=/^\)\]\}',?\n/;class d_{}let u_=(()=>{class e{constructor(){}build(){return new XMLHttpRequest}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})(),h_=(()=>{class e{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new y(t=>{const r=this.xhrFactory.build();if(r.open(e.method,e.urlWithParams),e.withCredentials&&(r.withCredentials=!0),e.headers.forEach((e,t)=>r.setRequestHeader(e,t.join(","))),e.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const t=e.detectContentTypeHeader();null!==t&&r.setRequestHeader("Content-Type",t)}if(e.responseType){const t=e.responseType.toLowerCase();r.responseType="json"!==t?t:"text"}const n=e.serializeBody();let i=null;const s=()=>{if(null!==i)return i;const t=1223===r.status?204:r.status,n=r.statusText||"OK",s=new Kp(r.getAllResponseHeaders()),a=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(r)||e.url;return i=new t_({headers:s,status:t,statusText:n,url:a}),i},a=()=>{let{headers:n,status:i,statusText:a,url:o}=s(),l=null;204!==i&&(l=void 0===r.response?r.responseText:r.response),0===i&&(i=l?200:0);let c=i>=200&&i<300;if("json"===e.responseType&&"string"==typeof l){const e=l;l=l.replace(c_,"");try{l=""!==l?JSON.parse(l):null}catch(d){l=e,c&&(c=!1,l={error:d,text:l})}}c?(t.next(new r_({body:l,headers:n,status:i,statusText:a,url:o||void 0})),t.complete()):t.error(new n_({error:l,headers:n,status:i,statusText:a,url:o||void 0}))},o=e=>{const{url:n}=s(),i=new n_({error:e,status:r.status||0,statusText:r.statusText||"Unknown Error",url:n||void 0});t.error(i)};let l=!1;const c=n=>{l||(t.next(s()),l=!0);let i={type:Xp.DownloadProgress,loaded:n.loaded};n.lengthComputable&&(i.total=n.total),"text"===e.responseType&&r.responseText&&(i.partialText=r.responseText),t.next(i)},d=e=>{let r={type:Xp.UploadProgress,loaded:e.loaded};e.lengthComputable&&(r.total=e.total),t.next(r)};return r.addEventListener("load",a),r.addEventListener("error",o),e.reportProgress&&(r.addEventListener("progress",c),null!==n&&r.upload&&r.upload.addEventListener("progress",d)),r.send(n),t.next({type:Xp.Sent}),()=>{r.removeEventListener("error",o),r.removeEventListener("load",a),e.reportProgress&&(r.removeEventListener("progress",c),null!==n&&r.upload&&r.upload.removeEventListener("progress",d)),r.readyState!==r.DONE&&r.abort()}})}}return e.\u0275fac=function(t){return new(t||e)($e(d_))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();const f_=new Fe("XSRF_COOKIE_NAME"),m_=new Fe("XSRF_HEADER_NAME");class p_{}let __=(()=>{class e{constructor(e,t,r){this.doc=e,this.platform=t,this.cookieName=r,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=tu(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return e.\u0275fac=function(t){return new(t||e)($e(ld),$e(pc),$e(f_))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})(),g_=(()=>{class e{constructor(e,t){this.tokenService=e,this.headerName=t}intercept(e,t){const r=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||r.startsWith("http://")||r.startsWith("https://"))return t.handle(e);const n=this.tokenService.getToken();return null===n||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,n)})),t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)($e(p_),$e(m_))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})(),y_=(()=>{class e{constructor(e,t){this.backend=e,this.injector=t,this.chain=null}handle(e){if(null===this.chain){const e=this.injector.get(o_,[]);this.chain=e.reduceRight((e,t)=>new a_(e,t),this.backend)}return this.chain.handle(e)}}return e.\u0275fac=function(t){return new(t||e)($e(Vp),$e(fa))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})(),b_=(()=>{class e{static disable(){return{ngModule:e,providers:[{provide:g_,useClass:l_}]}}static withOptions(t={}){return{ngModule:e,providers:[t.cookieName?{provide:f_,useValue:t.cookieName}:[],t.headerName?{provide:m_,useValue:t.headerName}:[]]}}}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[g_,{provide:o_,useExisting:g_,multi:!0},{provide:p_,useClass:__},{provide:f_,useValue:"XSRF-TOKEN"},{provide:m_,useValue:"X-XSRF-TOKEN"}]}),e})(),v_=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[s_,{provide:Up,useClass:y_},h_,{provide:Vp,useExisting:h_},u_,{provide:d_,useExisting:u_}],imports:[[b_.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e})(),w_=(()=>{class e{constructor(e){this.http=e,this.auth=new ah(void 0)}getAuth(){return this.authMe().toPromise().then(e=>(this.auth.next(e),e),e=>{throw new Error(e)})}authMe(){return this.http.get(sd+"/auth/me")}login(e){return this.http.post(sd+"/auth/login",e)}logout(){return this.http.post(sd+"/auth/logout",{})}passwordRequest(e){const t=(new Kp).set("Content-Type","text/plain; charset=utf-8");return this.http.post(sd+"/auth/password/request",e,{headers:t,responseType:"text"})}passwordReset(e){return(new Kp).set("Content-Type","text/plain; charset=utf-8"),this.http.post(sd+"/auth/password/reset",e)}isTotpEnabled(){return this.http.get(sd+"/auth/totp")}createTotp(){return this.http.put(sd+"/auth/totp",{})}enableTotp(e){return this.http.patch(sd+"/auth/totp",e)}removeTotp(){return this.http.delete(sd+"/auth/totp")}loginTotp(e){return this.http.post(sd+"/auth/login/totp",e)}}return e.\u0275fac=function(t){return new(t||e)($e(s_))},e.\u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),k_=(()=>{class e{constructor(e){this.authService=e}canActivate(e,t){return this.authService.getAuth().catch((function(e){})),!0}}return e.\u0275fac=function(t){return new(t||e)($e(w_))},e.\u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),M_=(()=>{class e{constructor(e,t){this.authService=e,this.router=t}canActivate(e,t){const r=this;return this.authService.getAuth().then(e=>!0).catch((function(e){return r.router.navigateByUrl("/unavailable"),!1}))}}return e.\u0275fac=function(t){return new(t||e)($e(w_),$e(bp))},e.\u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),S_=(()=>{class e{constructor(e,t){this.authService=e,this.router=t}canActivate(e,t){const r=this;return this.authService.getAuth().then(e=>!!e.authenticated||(this.router.navigateByUrl("/login"),!1)).catch((function(e){return r.router.navigateByUrl("/unavailable"),!1}))}}return e.\u0275fac=function(t){return new(t||e)($e(w_),$e(bp))},e.\u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),x_=(()=>{class e{constructor(e,t){this.authService=e,this.router=t}canActivate(e,t){const r=this;return this.authService.getAuth().then(e=>!e.authenticated||(this.router.navigateByUrl("/account/info"),!1)).catch((function(e){return r.router.navigateByUrl("/unavailable"),!1}))}}return e.\u0275fac=function(t){return new(t||e)($e(w_),$e(bp))},e.\u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function C_(e,t,r,n){return new(r||(r=Promise))((function(i,s){function a(e){try{l(n.next(e))}catch(t){s(t)}}function o(e){try{l(n.throw(e))}catch(t){s(t)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,o)}l((n=n.apply(e,t||[])).next())}))}let D_=(()=>{class e{constructor(e){this.http=e,this.locales=["de-informal"];let t=navigator.language;-1!=t.indexOf("-")&&(t=t.split("-")[0]);let r=localStorage.getItem("bstly.locale")||t||this.locales[0];"de"==r&&(r="de-informal"),-1==this.locales.indexOf(r)&&(r=this.locales[0]),this.setLocale(r)}getLocales(){return this.locales}getLocale(){return this.locale}setLocale(e){this.locale=e}fetch(e){return C_(this,void 0,void 0,(function*(){this.i18n=yield this.http.get("./assets/i18n/"+e+".json").toPromise()}))}get(e,t){return this.getInternal(e,t,this.i18n)}getInternal(e,t,r){if(!r)return e;if(r[e])return this.insertArguments(r[e]["."]?r[e]["."]:r[e],t);{let n=e.split(".");if(r[n[0]])return e=n.slice(1,n.length).join("."),this.getInternal(e,t,r[n[0]])}return e}insertArguments(e,t){if(t)for(let r in t)e=e.replace(`{${r}}`,t[r]);return e}}return e.\u0275fac=function(t){return new(t||e)($e(s_))},e.\u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),L_=(()=>{class e{constructor(e,t){this.i18n=e,this.httpClient=t,this.locale=this.i18n.getLocale()}ngOnInit(){const e=(new Kp).set("content-type","text/html");this.httpClient.get("./assets/templates/"+(this.locale?this.locale+"/":"")+this.template+".html",{headers:e,responseType:"text"}).subscribe(e=>this.htmlTemplate=e)}}return e.\u0275fac=function(t){return new(t||e)(Ra(D_),Ra(s_))},e.\u0275cmp=mt({type:e,selectors:[["app-html"]],inputs:{template:"template"},decls:1,vars:1,consts:[[3,"innerHTML"]],template:function(e,t){1&e&&Na(0,"div",0),2&e&&Ia("innerHTML",t.htmlTemplate,oi)},styles:[""]}),e})(),A_=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=mt({type:e,selectors:[["app-imprint"]],decls:1,vars:1,consts:[[3,"template"]],template:function(e,t){1&e&&Na(0,"app-html",0),2&e&&Ia("template","imprint")},directives:[L_],encapsulation:2}),e})(),E_=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=mt({type:e,selectors:[["app-privacy-policy"]],decls:1,vars:1,consts:[[3,"template"]],template:function(e,t){1&e&&Na(0,"app-html",0),2&e&&Ia("template","privacy-policy")},directives:[L_],encapsulation:2}),e})(),T_=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=mt({type:e,selectors:[["app-terms-of-service"]],decls:1,vars:1,consts:[[3,"template"]],template:function(e,t){1&e&&Na(0,"app-html",0),2&e&&Ia("template","terms-of-service")},directives:[L_],encapsulation:2}),e})();function P_(...e){if(1===e.length){const t=e[0];if(l(t))return Y_(t,null);if(c(t)&&Object.getPrototypeOf(t)===Object.prototype){const e=Object.keys(t);return Y_(e.map(e=>t[e]),e)}}if("function"==typeof e[e.length-1]){const t=e.pop();return Y_(e=1===e.length&&l(e[0])?e[0]:e,null).pipe(C(e=>t(...e)))}return Y_(e,null)}function Y_(e,t){return new y(r=>{const n=e.length;if(0===n)return void r.complete();const i=new Array(n);let s=0,a=0;for(let o=0;o{c||(c=!0,a++),i[o]=e},error:e=>r.error(e),complete:()=>{s++,s!==n&&c||(a===n&&r.next(t?t.reduce((e,t,r)=>(e[t]=i[r],e),{}):i),r.complete())}}))}})}const R_=new Fe("NgValueAccessor"),O_={provide:R_,useExisting:Me(()=>I_),multi:!0};let I_=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"checked",e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(Ra(Wo),Ra(zo))},e.\u0275dir=vt({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(e,t){1&e&&qa("change",(function(e){return t.onChange(e.target.checked)}))("blur",(function(){return t.onTouched()}))},features:[Fo([O_])]}),e})();const j_={provide:R_,useExisting:Me(()=>H_),multi:!0},F_=new Fe("CompositionEventMode");let H_=(()=>{class e{constructor(e,t,r){this._renderer=e,this._elementRef=t,this._compositionMode=r,this.onChange=e=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const e=od()?od().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return e.\u0275fac=function(t){return new(t||e)(Ra(Wo),Ra(zo),Ra(F_,8))},e.\u0275dir=vt({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,t){1&e&&qa("input",(function(e){return t._handleInput(e.target.value)}))("blur",(function(){return t.onTouched()}))("compositionstart",(function(){return t._compositionStart()}))("compositionend",(function(e){return t._compositionEnd(e.target.value)}))},features:[Fo([j_])]}),e})(),N_=(()=>{class e{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}reset(e){this.control&&this.control.reset(e)}hasError(e,t){return!!this.control&&this.control.hasError(e,t)}getError(e,t){return this.control?this.control.getError(e,t):null}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=vt({type:e}),e})(),B_=(()=>{class e extends N_{get formDirective(){return null}get path(){return null}}return e.\u0275fac=function(t){return z_(t||e)},e.\u0275dir=vt({type:e,features:[ga]}),e})();const z_=vn(B_);class U_ extends N_{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null,this._rawValidators=[],this._rawAsyncValidators=[]}get validator(){}get asyncValidator(){}}class V_{constructor(e){this._cd=e}get ngClassUntouched(){return!!this._cd.control&&this._cd.control.untouched}get ngClassTouched(){return!!this._cd.control&&this._cd.control.touched}get ngClassPristine(){return!!this._cd.control&&this._cd.control.pristine}get ngClassDirty(){return!!this._cd.control&&this._cd.control.dirty}get ngClassValid(){return!!this._cd.control&&this._cd.control.valid}get ngClassInvalid(){return!!this._cd.control&&this._cd.control.invalid}get ngClassPending(){return!!this._cd.control&&this._cd.control.pending}}let K_=(()=>{class e extends V_{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(Ra(U_,2))},e.\u0275dir=vt({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&fo("ng-untouched",t.ngClassUntouched)("ng-touched",t.ngClassTouched)("ng-pristine",t.ngClassPristine)("ng-dirty",t.ngClassDirty)("ng-valid",t.ngClassValid)("ng-invalid",t.ngClassInvalid)("ng-pending",t.ngClassPending)},features:[ga]}),e})(),W_=(()=>{class e extends V_{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(Ra(B_,2))},e.\u0275dir=vt({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(e,t){2&e&&fo("ng-untouched",t.ngClassUntouched)("ng-touched",t.ngClassTouched)("ng-pristine",t.ngClassPristine)("ng-dirty",t.ngClassDirty)("ng-valid",t.ngClassValid)("ng-invalid",t.ngClassInvalid)("ng-pending",t.ngClassPending)},features:[ga]}),e})();function q_(e){return null==e||0===e.length}function G_(e){return null!=e&&"number"==typeof e.length}const $_=new Fe("NgValidators"),Z_=new Fe("NgAsyncValidators"),J_=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Q_{static min(e){return t=>{if(q_(t.value)||q_(e))return null;const r=parseFloat(t.value);return!isNaN(r)&&r{if(q_(t.value)||q_(e))return null;const r=parseFloat(t.value);return!isNaN(r)&&r>e?{max:{max:e,actual:t.value}}:null}}static required(e){return q_(e.value)?{required:!0}:null}static requiredTrue(e){return!0===e.value?null:{required:!0}}static email(e){return q_(e.value)||J_.test(e.value)?null:{email:!0}}static minLength(e){return t=>q_(t.value)||!G_(t.value)?null:t.value.lengthG_(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}static pattern(e){if(!e)return Q_.nullValidator;let t,r;return"string"==typeof e?(r="","^"!==e.charAt(0)&&(r+="^"),r+=e,"$"!==e.charAt(e.length-1)&&(r+="$"),t=new RegExp(r)):(r=e.toString(),t=e),e=>{if(q_(e.value))return null;const n=e.value;return t.test(n)?null:{pattern:{requiredPattern:r,actualValue:n}}}}static nullValidator(e){return null}static compose(e){if(!e)return null;const t=e.filter(X_);return 0==t.length?null:function(e){return tg(rg(e,t))}}static composeAsync(e){if(!e)return null;const t=e.filter(X_);return 0==t.length?null:function(e){return P_(rg(e,t).map(eg)).pipe(C(tg))}}}function X_(e){return null!=e}function eg(e){const t=Ka(e)?I(e):e;return Wa(t),t}function tg(e){let t={};return e.forEach(e=>{t=null!=e?Object.assign(Object.assign({},t),e):t}),0===Object.keys(t).length?null:t}function rg(e,t){return t.map(t=>t(e))}function ng(e){return e.map(e=>function(e){return!e.validate}(e)?e:t=>e.validate(t))}const ig={provide:R_,useExisting:Me(()=>sg),multi:!0};let sg=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(Ra(Wo),Ra(zo))},e.\u0275dir=vt({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,t){1&e&&qa("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[Fo([ig])]}),e})();const ag={provide:R_,useExisting:Me(()=>lg),multi:!0};let og=(()=>{class e{constructor(){this._accessors=[]}add(e,t){this._accessors.push([e,t])}remove(e){for(let t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)}select(e){this._accessors.forEach(t=>{this._isSameGroup(t,e)&&t[1]!==e&&t[1].fireUncheck(e.value)})}_isSameGroup(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})(),lg=(()=>{class e{constructor(e,t,r,n){this._renderer=e,this._elementRef=t,this._registry=r,this._injector=n,this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this._control=this._injector.get(U_),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(e){this._state=e===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}registerOnChange(e){this._fn=e,this.onChange=()=>{e(this.value),this._registry.select(this)}}fireUncheck(e){this.writeValue(e)}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return e.\u0275fac=function(t){return new(t||e)(Ra(Wo),Ra(zo),Ra(og),Ra(fa))},e.\u0275dir=vt({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(e,t){1&e&&qa("change",(function(){return t.onChange()}))("blur",(function(){return t.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[Fo([ag])]}),e})();const cg={provide:R_,useExisting:Me(()=>dg),multi:!0};let dg=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(e))}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(Ra(Wo),Ra(zo))},e.\u0275dir=vt({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(e,t){1&e&&qa("change",(function(e){return t.onChange(e.target.value)}))("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[Fo([cg])]}),e})();const ug={provide:R_,useExisting:Me(()=>hg),multi:!0};let hg=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){this.value=e;const t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);const r=function(e,t){return null==e?""+t:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",r)}registerOnChange(e){this.onChange=t=>{this.value=this._getOptionValue(t),e(this.value)}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(const t of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(t),e))return t;return null}_getOptionValue(e){const t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e}}return e.\u0275fac=function(t){return new(t||e)(Ra(Wo),Ra(zo))},e.\u0275dir=vt({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,t){1&e&&qa("change",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},inputs:{compareWith:"compareWith"},features:[Fo([ug])]}),e})();const fg={provide:R_,useExisting:Me(()=>mg),multi:!0};let mg=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){let t;if(this.value=e,Array.isArray(e)){const r=e.map(e=>this._getOptionId(e));t=(e,t)=>{e._setSelected(r.indexOf(t.toString())>-1)}}else t=(e,t)=>{e._setSelected(!1)};this._optionMap.forEach(t)}registerOnChange(e){this.onChange=t=>{const r=[];if(void 0!==t.selectedOptions){const e=t.selectedOptions;for(let t=0;t{e._pendingValue=r,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&gg(e,t)})}(e,t),function(e,t){e.registerOnChange((e,r)=>{t.valueAccessor.writeValue(e),r&&t.viewToModelUpdate(e)})}(e,t),function(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&gg(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),t.valueAccessor.setDisabledState&&e.registerOnDisabledChange(e=>{t.valueAccessor.setDisabledState(e)}),t._rawValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(()=>e.updateValueAndValidity())}),t._rawAsyncValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(()=>e.updateValueAndValidity())})}function gg(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function yg(e,t){e.validator=Q_.compose([e.validator,t.validator]),e.asyncValidator=Q_.composeAsync([e.asyncValidator,t.asyncValidator])}function bg(e){return null!=e?Q_.compose(ng(e)):null}function vg(e){return null!=e?Q_.composeAsync(ng(e)):null}function wg(e,t){if(!e.hasOwnProperty("model"))return!1;const r=e.model;return!!r.isFirstChange()||!Object.is(t,r.currentValue)}const kg=[I_,dg,sg,hg,mg,lg];function Mg(e,t){e._syncPendingControls(),t.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function Sg(e,t){if(!t)return null;Array.isArray(t);let r=void 0,n=void 0,i=void 0;return t.forEach(e=>{var t;e.constructor===H_?r=e:(t=e,kg.some(e=>t.constructor===e)?n=e:i=e)}),i||n||r||null}function xg(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}function Cg(e,t,r,n){In()&&"never"!==n&&((null!==n&&"once"!==n||t._ngModelWarningSentOnce)&&("always"!==n||r._ngModelWarningSent)||(t._ngModelWarningSentOnce=!0,r._ngModelWarningSent=!0))}const Dg="VALID",Lg="INVALID",Ag="PENDING",Eg="DISABLED";function Tg(e){return(Og(e)?e.validators:e)||null}function Pg(e){return Array.isArray(e)?bg(e):e||null}function Yg(e,t){return(Og(t)?t.asyncValidators:e)||null}function Rg(e){return Array.isArray(e)?vg(e):e||null}function Og(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class Ig{constructor(e,t){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=e,this._rawAsyncValidators=t,this._composedValidatorFn=Pg(this._rawValidators),this._composedAsyncValidatorFn=Rg(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===Dg}get invalid(){return this.status===Lg}get pending(){return this.status==Ag}get disabled(){return this.status===Eg}get enabled(){return this.status!==Eg}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._rawValidators=e,this._composedValidatorFn=Pg(e)}setAsyncValidators(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=Rg(e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=Ag,!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=Eg,this.errors=null,this._forEachChild(t=>{t.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!0))}enable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=Dg,this._forEachChild(t=>{t.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),this.status!==Dg&&this.status!==Ag||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Eg:Dg}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=Ag,this._hasOwnPendingAsyncValidator=!0;const t=eg(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}get(e){return function(e,t,r){if(null==t)return null;if(Array.isArray(t)||(t=t.split(".")),Array.isArray(t)&&0===t.length)return null;let n=e;return t.forEach(e=>{n=n instanceof Fg?n.controls.hasOwnProperty(e)?n.controls[e]:null:n instanceof Hg&&n.at(e)||null}),n}(this,e)}getError(e,t){const r=t?this.get(t):this;return r&&r.errors?r.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new Bl,this.statusChanges=new Bl}_calculateStatus(){return this._allControlsDisabled()?Eg:this.errors?Lg:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ag)?Ag:this._anyControlsHaveStatus(Lg)?Lg:Dg}_anyControlsHaveStatus(e){return this._anyControls(t=>t.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_isBoxedValue(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){Og(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}}class jg extends Ig{constructor(e=null,t,r){super(Tg(t),Yg(r,t)),this._onChange=[],this._applyFormState(e),this._setUpdateStrategy(t),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),this._initObservables()}setValue(e,t={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(e=>e(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(e,t={}){this.setValue(e,t)}reset(e=null,t={}){this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_clearChangeFns(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=()=>{}}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_forEachChild(e){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}}class Fg extends Ig{constructor(e,t,r){super(Tg(t),Yg(r,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}registerControl(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()}setControl(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,t={}){this._checkAllValuesPresent(e),Object.keys(e).forEach(r=>{this._throwIfControlMissing(r),this.controls[r].setValue(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){Object.keys(e).forEach(r=>{this.controls[r]&&this.controls[r].patchValue(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}reset(e={},t={}){this._forEachChild((r,n)=>{r.reset(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(e,t,r)=>(e[r]=t instanceof jg?t.value:t.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(e,t)=>!!t._syncPendingControls()||e);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[e])throw new Error(`Cannot find form control with name: ${e}.`)}_forEachChild(e){Object.keys(this.controls).forEach(t=>e(this.controls[t],t))}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(const t of Object.keys(this.controls)){const r=this.controls[t];if(this.contains(t)&&e(r))return!0}return!1}_reduceValue(){return this._reduceChildren({},(e,t,r)=>((t.enabled||this.disabled)&&(e[r]=t.value),e))}_reduceChildren(e,t){let r=e;return this._forEachChild((e,n)=>{r=t(r,e,n)}),r}_allControlsDisabled(){for(const e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(e){this._forEachChild((t,r)=>{if(void 0===e[r])throw new Error(`Must supply a value for form control with name: '${r}'.`)})}}class Hg extends Ig{constructor(e,t,r){super(Tg(t),Yg(r,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}at(e){return this.controls[e]}push(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()}insert(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()}removeAt(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),this.updateValueAndValidity()}setControl(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,t={}){this._checkAllValuesPresent(e),e.forEach((e,r)=>{this._throwIfControlMissing(r),this.at(r).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){e.forEach((e,r)=>{this.at(r)&&this.at(r).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}reset(e=[],t={}){this._forEachChild((r,n)=>{r.reset(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(e=>e instanceof jg?e.value:e.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_syncPendingControls(){let e=this.controls.reduce((e,t)=>!!t._syncPendingControls()||e,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(e))throw new Error("Cannot find form control at index "+e)}_forEachChild(e){this.controls.forEach((t,r)=>{e(t,r)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(t=>t.enabled&&e(t))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_checkAllValuesPresent(e){this._forEachChild((t,r)=>{if(void 0===e[r])throw new Error(`Must supply a value for form control at index: ${r}.`)})}_allControlsDisabled(){for(const e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}}const Ng={provide:B_,useExisting:Me(()=>zg)},Bg=(()=>Promise.resolve(null))();let zg=(()=>{class e extends B_{constructor(e,t){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new Bl,this.form=new Fg({},bg(e),vg(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Bg.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),_g(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Bg.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),xg(this._directives,e)})}addFormGroup(e){Bg.then(()=>{const t=this._findContainer(e.path),r=new Fg({});yg(r,e),t.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Bg.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){Bg.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,Mg(this.form,this._directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return e.\u0275fac=function(t){return new(t||e)(Ra($_,10),Ra(Z_,10))},e.\u0275dir=vt({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&qa("submit",(function(e){return t.onSubmit(e)}))("reset",(function(){return t.onReset()}))},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Fo([Ng]),ga]}),e})();const Ug={provide:U_,useExisting:Me(()=>Kg)},Vg=(()=>Promise.resolve(null))();let Kg=(()=>{class e extends U_{constructor(e,t,r,n){super(),this.control=new jg,this._registered=!1,this.update=new Bl,this._parent=e,this._rawValidators=t||[],this._rawAsyncValidators=r||[],this.valueAccessor=Sg(0,n)}ngOnChanges(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),wg(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?pg(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return bg(this._rawValidators)}get asyncValidator(){return vg(this._rawAsyncValidators)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){_g(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){Vg.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1})})}_updateDisabled(e){const t=e.isDisabled.currentValue,r=""===t||t&&"false"!==t;Vg.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable()})}}return e.\u0275fac=function(t){return new(t||e)(Ra(B_,9),Ra($_,10),Ra(Z_,10),Ra(R_,10))},e.\u0275dir=vt({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Fo([Ug]),ga,Ot]}),e})(),Wg=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=vt({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})();const qg=new Fe("NgModelWithFormControlWarning"),Gg={provide:U_,useExisting:Me(()=>$g)};let $g=(()=>{class e extends U_{constructor(e,t,r,n){super(),this._ngModelWarningConfig=n,this.update=new Bl,this._ngModelWarningSent=!1,this._rawValidators=e||[],this._rawAsyncValidators=t||[],this.valueAccessor=Sg(0,r)}set isDisabled(e){}ngOnChanges(t){this._isControlChanged(t)&&(_g(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),wg(t,this.viewModel)&&(Cg(0,e,this,this._ngModelWarningConfig),this.form.setValue(this.model),this.viewModel=this.model)}get path(){return[]}get validator(){return bg(this._rawValidators)}get asyncValidator(){return vg(this._rawAsyncValidators)}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}}return e.\u0275fac=function(t){return new(t||e)(Ra($_,10),Ra(Z_,10),Ra(R_,10),Ra(qg,8))},e.\u0275dir=vt({type:e,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Fo([Gg]),ga,Ot]}),e._ngModelWarningSentOnce=!1,e})();const Zg={provide:B_,useExisting:Me(()=>Jg)};let Jg=(()=>{class e extends B_{constructor(e,t){super(),this._validators=e,this._asyncValidators=t,this.submitted=!1,this.directives=[],this.form=null,this.ngSubmit=new Bl}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const t=this.form.get(e.path);return _g(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){xg(this.directives,e)}addFormGroup(e){const t=this.form.get(e.path);yg(t,e),t.updateValueAndValidity({emitEvent:!1})}removeFormGroup(e){}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){const t=this.form.get(e.path);yg(t,e),t.updateValueAndValidity({emitEvent:!1})}removeFormArray(e){}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this.submitted=!0,Mg(this.form,this.directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const t=this.form.get(e.path);e.control!==t&&(function(e,t){const r=()=>{};t.valueAccessor.registerOnChange(r),t.valueAccessor.registerOnTouched(r),t._rawValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(null)}),t._rawAsyncValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(null)}),e&&e._clearChangeFns()}(e.control,e),t&&_g(t,e),e.control=t)}),this.form._updateTreeValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(()=>this._updateDomValue()),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{}),this._oldForm=this.form}_updateValidators(){const e=bg(this._validators);this.form.validator=Q_.compose([this.form.validator,e]);const t=vg(this._asyncValidators);this.form.asyncValidator=Q_.composeAsync([this.form.asyncValidator,t])}_checkFormPresent(){}}return e.\u0275fac=function(t){return new(t||e)(Ra($_,10),Ra(Z_,10))},e.\u0275dir=vt({type:e,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&qa("submit",(function(e){return t.onSubmit(e)}))("reset",(function(){return t.onReset()}))},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Fo([Zg]),ga,Ot]}),e})();const Qg={provide:U_,useExisting:Me(()=>Xg)};let Xg=(()=>{class e extends U_{constructor(e,t,r,n,i){super(),this._ngModelWarningConfig=i,this._added=!1,this.update=new Bl,this._ngModelWarningSent=!1,this._parent=e,this._rawValidators=t||[],this._rawAsyncValidators=r||[],this.valueAccessor=Sg(0,n)}set isDisabled(e){}ngOnChanges(t){this._added||this._setUpControl(),wg(t,this.viewModel)&&(Cg(0,e,this,this._ngModelWarningConfig),this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return pg(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return bg(this._rawValidators)}get asyncValidator(){return vg(this._rawAsyncValidators)}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return e.\u0275fac=function(t){return new(t||e)(Ra(B_,13),Ra($_,10),Ra(Z_,10),Ra(R_,10),Ra(qg,8))},e.\u0275dir=vt({type:e,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[Fo([Qg]),ga,Ot]}),e._ngModelWarningSentOnce=!1,e})();const ey={provide:$_,useExisting:Me(()=>ty),multi:!0};let ty=(()=>{class e{constructor(){this._required=!1}get required(){return this._required}set required(e){this._required=null!=e&&!1!==e&&""+e!="false",this._onChange&&this._onChange()}validate(e){return this.required?Q_.required(e):null}registerOnValidatorChange(e){this._onChange=e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=vt({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&Ea("required",t.required?"":null)},inputs:{required:"required"},features:[Fo([ey])]}),e})(),ry=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)}}),e})(),ny=(()=>{class e{group(e,t=null){const r=this._reduceControls(e);let n=null,i=null,s=void 0;return null!=t&&(function(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}(t)?(n=null!=t.validators?t.validators:null,i=null!=t.asyncValidators?t.asyncValidators:null,s=null!=t.updateOn?t.updateOn:void 0):(n=null!=t.validator?t.validator:null,i=null!=t.asyncValidator?t.asyncValidator:null)),new Fg(r,{asyncValidators:i,updateOn:s,validators:n})}control(e,t,r){return new jg(e,t,r)}array(e,t,r){const n=e.map(e=>this._createControl(e));return new Hg(n,t,r)}_reduceControls(e){const t={};return Object.keys(e).forEach(r=>{t[r]=this._createControl(e[r])}),t}_createControl(e){return e instanceof jg||e instanceof Fg||e instanceof Hg?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})(),iy=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[og],imports:[ry]}),e})(),sy=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:qg,useValue:t.warnOnNgModelWithFormControl}]}}}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[ny,og],imports:[ry]}),e})();class ay{}const oy="*";function ly(e,t){return{type:7,name:e,definitions:t,options:{}}}function cy(e,t=null){return{type:4,styles:t,timings:e}}function dy(e,t=null){return{type:3,steps:e,options:t}}function uy(e,t=null){return{type:2,steps:e,options:t}}function hy(e){return{type:6,styles:e,offset:null}}function fy(e,t,r){return{type:0,name:e,styles:t,options:r}}function my(e){return{type:5,steps:e}}function py(e,t,r=null){return{type:1,expr:e,animation:t,options:r}}function _y(e=null){return{type:9,options:e}}function gy(e,t,r=null){return{type:11,selector:e,animation:t,options:r}}function yy(e){Promise.resolve(null).then(e)}class by{constructor(e=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){yy(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){}setPosition(e){}getPosition(){return 0}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class vy{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let t=0,r=0,n=0;const i=this.players.length;0==i?yy(()=>this._onFinish()):this.players.forEach(e=>{e.onDone(()=>{++t==i&&this._onFinish()}),e.onDestroy(()=>{++r==i&&this._onDestroy()}),e.onStart(()=>{++n==i&&this._onStart()})}),this.totalTime=this.players.reduce((e,t)=>Math.max(e,t.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){const t=e*this.totalTime;this.players.forEach(e=>{const r=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(r)})}getPosition(){let e=0;return this.players.forEach(t=>{const r=t.getPosition();e=Math.min(r,e)}),e}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}function wy(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function ky(e){switch(e.length){case 0:return new by;case 1:return e[0];default:return new vy(e)}}function My(e,t,r,n,i={},s={}){const a=[],o=[];let l=-1,c=null;if(n.forEach(e=>{const r=e.offset,n=r==l,d=n&&c||{};Object.keys(e).forEach(r=>{let n=r,o=e[r];if("offset"!==r)switch(n=t.normalizePropertyName(n,a),o){case"!":o=i[r];break;case oy:o=s[r];break;default:o=t.normalizeStyleValue(r,n,o,a)}d[n]=o}),n||o.push(d),c=d,l=r}),a.length){const e="\n - ";throw new Error(`Unable to animate due to the following errors:${e}${a.join(e)}`)}return o}function Sy(e,t,r,n){switch(t){case"start":e.onStart(()=>n(r&&xy(r,"start",e)));break;case"done":e.onDone(()=>n(r&&xy(r,"done",e)));break;case"destroy":e.onDestroy(()=>n(r&&xy(r,"destroy",e)))}}function xy(e,t,r){const n=r.totalTime,i=Cy(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==n?e.totalTime:n,!!r.disabled),s=e._data;return null!=s&&(i._data=s),i}function Cy(e,t,r,n,i="",s=0,a){return{element:e,triggerName:t,fromState:r,toState:n,phaseName:i,totalTime:s,disabled:!!a}}function Dy(e,t,r){let n;return e instanceof Map?(n=e.get(t),n||e.set(t,n=r)):(n=e[t],n||(n=e[t]=r)),n}function Ly(e){const t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}let Ay=(e,t)=>!1,Ey=(e,t)=>!1,Ty=(e,t,r)=>[];const Py=wy();(Py||"undefined"!=typeof Element)&&(Ay=(e,t)=>e.contains(t),Ey=(()=>{if(Py||Element.prototype.matches)return(e,t)=>e.matches(t);{const e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?(e,r)=>t.apply(e,[r]):Ey}})(),Ty=(e,t,r)=>{let n=[];if(r)n.push(...e.querySelectorAll(t));else{const r=e.querySelector(t);r&&n.push(r)}return n});let Yy=null,Ry=!1;function Oy(e){Yy||(Yy=("undefined"!=typeof document?document.body:null)||{},Ry=!!Yy.style&&"WebkitAppearance"in Yy.style);let t=!0;return Yy.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&(t=e in Yy.style,!t&&Ry)&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in Yy.style),t}const Iy=Ey,jy=Ay,Fy=Ty;function Hy(e){const t={};return Object.keys(e).forEach(r=>{const n=r.replace(/([a-z])([A-Z])/g,"$1-$2");t[n]=e[r]}),t}let Ny=(()=>{class e{validateStyleProperty(e){return Oy(e)}matchesElement(e,t){return Iy(e,t)}containsElement(e,t){return jy(e,t)}query(e,t,r){return Fy(e,t,r)}computeStyle(e,t,r){return r||""}animate(e,t,r,n,i,s=[],a){return new by(r,n)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})(),By=(()=>{class e{}return e.NOOP=new Ny,e})();const zy="ng-enter",Uy="ng-leave",Vy="ng-trigger",Ky=".ng-trigger",Wy="ng-animating",qy=".ng-animating";function Gy(e){if("number"==typeof e)return e;const t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:$y(parseFloat(t[1]),t[2])}function $y(e,t){switch(t){case"s":return 1e3*e;default:return e}}function Zy(e,t,r){return e.hasOwnProperty("duration")?e:function(e,t,r){let n,i=0,s="";if("string"==typeof e){const r=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===r)return t.push(`The provided timing value "${e}" is invalid.`),{duration:0,delay:0,easing:""};n=$y(parseFloat(r[1]),r[2]);const a=r[3];null!=a&&(i=$y(parseFloat(a),r[4]));const o=r[5];o&&(s=o)}else n=e;if(!r){let r=!1,s=t.length;n<0&&(t.push("Duration values below 0 are not allowed for this animation step."),r=!0),i<0&&(t.push("Delay values below 0 are not allowed for this animation step."),r=!0),r&&t.splice(s,0,`The provided timing value "${e}" is invalid.`)}return{duration:n,delay:i,easing:s}}(e,t,r)}function Jy(e,t={}){return Object.keys(e).forEach(r=>{t[r]=e[r]}),t}function Qy(e,t,r={}){if(t)for(let n in e)r[n]=e[n];else Jy(e,r);return r}function Xy(e,t,r){return r?t+":"+r+";":""}function eb(e){let t="";for(let r=0;r{const i=cb(n);r&&!r.hasOwnProperty(n)&&(r[n]=e.style[i]),e.style[i]=t[n]}),wy()&&eb(e))}function rb(e,t){e.style&&(Object.keys(t).forEach(t=>{const r=cb(t);e.style[r]=""}),wy()&&eb(e))}function nb(e){return Array.isArray(e)?1==e.length?e[0]:uy(e):e}const ib=new RegExp("{{\\s*(.+?)\\s*}}","g");function sb(e){let t=[];if("string"==typeof e){let r;for(;r=ib.exec(e);)t.push(r[1]);ib.lastIndex=0}return t}function ab(e,t,r){const n=e.toString(),i=n.replace(ib,(e,n)=>{let i=t[n];return t.hasOwnProperty(n)||(r.push("Please provide a value for the animation param "+n),i=""),i.toString()});return i==n?e:i}function ob(e){const t=[];let r=e.next();for(;!r.done;)t.push(r.value),r=e.next();return t}const lb=/-+([a-z0-9])/g;function cb(e){return e.replace(lb,(...e)=>e[1].toUpperCase())}function db(e,t){return 0===e||0===t}function ub(e,t,r){const n=Object.keys(r);if(n.length&&t.length){let s=t[0],a=[];if(n.forEach(e=>{s.hasOwnProperty(e)||a.push(e),s[e]=r[e]}),a.length)for(var i=1;ifunction(e,t,r){if(":"==e[0]){const n=function(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t) *"}}(e,r);if("function"==typeof n)return void t.push(n);e=n}const n=e.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==n||n.length<4)return r.push(`The provided transition expression "${e}" is not supported`),t;const i=n[1],s=n[2],a=n[3];t.push(yb(i,a)),"<"!=s[0]||i==mb&&a==mb||t.push(yb(a,i))}(e,r,t)):r.push(e),r}const _b=new Set(["true","1"]),gb=new Set(["false","0"]);function yb(e,t){const r=_b.has(e)||gb.has(e),n=_b.has(t)||gb.has(t);return(i,s)=>{let a=e==mb||e==i,o=t==mb||t==s;return!a&&r&&"boolean"==typeof i&&(a=i?_b.has(e):gb.has(e)),!o&&n&&"boolean"==typeof s&&(o=s?_b.has(t):gb.has(t)),a&&o}}const bb=new RegExp("s*:selfs*,?","g");function vb(e,t,r){return new wb(e).build(t,r)}class wb{constructor(e){this._driver=e}build(e,t){const r=new kb(t);return this._resetContextStyleTimingState(r),hb(this,nb(e),r)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}visitTrigger(e,t){let r=t.queryCount=0,n=t.depCount=0;const i=[],s=[];return"@"==e.name.charAt(0)&&t.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),e.definitions.forEach(e=>{if(this._resetContextStyleTimingState(t),0==e.type){const r=e,n=r.name;n.toString().split(/\s*,\s*/).forEach(e=>{r.name=e,i.push(this.visitState(r,t))}),r.name=n}else if(1==e.type){const i=this.visitTransition(e,t);r+=i.queryCount,n+=i.depCount,s.push(i)}else t.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:e.name,states:i,transitions:s,queryCount:r,depCount:n,options:null}}visitState(e,t){const r=this.visitStyle(e.styles,t),n=e.options&&e.options.params||null;if(r.containsDynamicStyles){const i=new Set,s=n||{};if(r.styles.forEach(e=>{if(Mb(e)){const t=e;Object.keys(t).forEach(e=>{sb(t[e]).forEach(e=>{s.hasOwnProperty(e)||i.add(e)})})}}),i.size){const r=ob(i.values());t.errors.push(`state("${e.name}", ...) must define default values for all the following style substitutions: ${r.join(", ")}`)}}return{type:0,name:e.name,style:r,options:n?{params:n}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const r=hb(this,nb(e.animation),t);return{type:1,matchers:pb(e.expr,t.errors),animation:r,queryCount:t.queryCount,depCount:t.depCount,options:Sb(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(e=>hb(this,e,t)),options:Sb(e.options)}}visitGroup(e,t){const r=t.currentTime;let n=0;const i=e.steps.map(e=>{t.currentTime=r;const i=hb(this,e,t);return n=Math.max(n,t.currentTime),i});return t.currentTime=n,{type:3,steps:i,options:Sb(e.options)}}visitAnimate(e,t){const r=function(e,t){let r=null;if(e.hasOwnProperty("duration"))r=e;else if("number"==typeof e)return xb(Zy(e,t).duration,0,"");const n=e;if(n.split(/\s+/).some(e=>"{"==e.charAt(0)&&"{"==e.charAt(1))){const e=xb(0,0,"");return e.dynamic=!0,e.strValue=n,e}return r=r||Zy(n,t),xb(r.duration,r.delay,r.easing)}(e.timings,t.errors);let n;t.currentAnimateTimings=r;let i=e.styles?e.styles:hy({});if(5==i.type)n=this.visitKeyframes(i,t);else{let i=e.styles,s=!1;if(!i){s=!0;const e={};r.easing&&(e.easing=r.easing),i=hy(e)}t.currentTime+=r.duration+r.delay;const a=this.visitStyle(i,t);a.isEmptyStep=s,n=a}return t.currentAnimateTimings=null,{type:4,timings:r,style:n,options:null}}visitStyle(e,t){const r=this._makeStyleAst(e,t);return this._validateStyleAst(r,t),r}_makeStyleAst(e,t){const r=[];Array.isArray(e.styles)?e.styles.forEach(e=>{"string"==typeof e?e==oy?r.push(e):t.errors.push(`The provided style string value ${e} is not allowed.`):r.push(e)}):r.push(e.styles);let n=!1,i=null;return r.forEach(e=>{if(Mb(e)){const t=e,r=t.easing;if(r&&(i=r,delete t.easing),!n)for(let e in t)if(t[e].toString().indexOf("{{")>=0){n=!0;break}}}),{type:6,styles:r,easing:i,offset:e.offset,containsDynamicStyles:n,options:null}}_validateStyleAst(e,t){const r=t.currentAnimateTimings;let n=t.currentTime,i=t.currentTime;r&&i>0&&(i-=r.duration+r.delay),e.styles.forEach(e=>{"string"!=typeof e&&Object.keys(e).forEach(r=>{if(!this._driver.validateStyleProperty(r))return void t.errors.push(`The provided animation property "${r}" is not a supported CSS property for animations`);const s=t.collectedStyles[t.currentQuerySelector],a=s[r];let o=!0;a&&(i!=n&&i>=a.startTime&&n<=a.endTime&&(t.errors.push(`The CSS property "${r}" that exists between the times of "${a.startTime}ms" and "${a.endTime}ms" is also being animated in a parallel animation between the times of "${i}ms" and "${n}ms"`),o=!1),i=a.startTime),o&&(s[r]={startTime:i,endTime:n}),t.options&&function(e,t,r){const n=t.params||{},i=sb(e);i.length&&i.forEach(e=>{n.hasOwnProperty(e)||r.push(`Unable to resolve the local animation param ${e} in the given list of values`)})}(e[r],t.options,t.errors)})})}visitKeyframes(e,t){const r={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),r;let n=0;const i=[];let s=!1,a=!1,o=0;const l=e.steps.map(e=>{const r=this._makeStyleAst(e,t);let l=null!=r.offset?r.offset:function(e){if("string"==typeof e)return null;let t=null;if(Array.isArray(e))e.forEach(e=>{if(Mb(e)&&e.hasOwnProperty("offset")){const r=e;t=parseFloat(r.offset),delete r.offset}});else if(Mb(e)&&e.hasOwnProperty("offset")){const r=e;t=parseFloat(r.offset),delete r.offset}return t}(r.styles),c=0;return null!=l&&(n++,c=r.offset=l),a=a||c<0||c>1,s=s||c0&&n{const s=d>0?n==u?1:d*n:i[n],a=s*m;t.currentTime=h+f.delay+a,f.duration=a,this._validateStyleAst(e,t),e.offset=s,r.styles.push(e)}),r}visitReference(e,t){return{type:8,animation:hb(this,nb(e.animation),t),options:Sb(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:Sb(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:Sb(e.options)}}visitQuery(e,t){const r=t.currentQuerySelector,n=e.options||{};t.queryCount++,t.currentQuery=e;const[i,s]=function(e){const t=!!e.split(/\s*,\s*/).find(e=>":self"==e);return t&&(e=e.replace(bb,"")),[e=e.replace(/@\*/g,Ky).replace(/@\w+/g,e=>".ng-trigger-"+e.substr(1)).replace(/:animating/g,qy),t]}(e.selector);t.currentQuerySelector=r.length?r+" "+i:i,Dy(t.collectedStyles,t.currentQuerySelector,{});const a=hb(this,nb(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=r,{type:11,selector:i,limit:n.limit||0,optional:!!n.optional,includeSelf:s,animation:a,originalSelector:e.selector,options:Sb(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");const r="full"===e.timings?{duration:0,delay:0,easing:"full"}:Zy(e.timings,t.errors,!0);return{type:12,animation:hb(this,nb(e.animation),t),timings:r,options:null}}}class kb{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function Mb(e){return!Array.isArray(e)&&"object"==typeof e}function Sb(e){var t;return e?(e=Jy(e)).params&&(e.params=(t=e.params)?Jy(t):null):e={},e}function xb(e,t,r){return{duration:e,delay:t,easing:r}}function Cb(e,t,r,n,i,s,a=null,o=!1){return{type:1,element:e,keyframes:t,preStyleProps:r,postStyleProps:n,duration:i,delay:s,totalTime:i+s,easing:a,subTimeline:o}}class Db{constructor(){this._map=new Map}consume(e){let t=this._map.get(e);return t?this._map.delete(e):t=[],t}append(e,t){let r=this._map.get(e);r||this._map.set(e,r=[]),r.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const Lb=new RegExp(":enter","g"),Ab=new RegExp(":leave","g");function Eb(e,t,r,n,i,s={},a={},o,l,c=[]){return(new Tb).buildKeyframes(e,t,r,n,i,s,a,o,l,c)}class Tb{buildKeyframes(e,t,r,n,i,s,a,o,l,c=[]){l=l||new Db;const d=new Yb(e,t,l,n,i,c,[]);d.options=o,d.currentTimeline.setStyles([s],null,d.errors,o),hb(this,r,d);const u=d.timelines.filter(e=>e.containsAnimation());if(u.length&&Object.keys(a).length){const e=u[u.length-1];e.allowOnlyTimelineStyles()||e.setStyles([a],null,d.errors,o)}return u.length?u.map(e=>e.buildKeyframes()):[Cb(t,[],[],[],0,0,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){const r=t.subInstructions.consume(t.element);if(r){const n=t.createSubContext(e.options),i=t.currentTimeline.currentTime,s=this._visitSubInstructions(r,n,n.options);i!=s&&t.transformIntoNewTimeline(s)}t.previousNode=e}visitAnimateRef(e,t){const r=t.createSubContext(e.options);r.transformIntoNewTimeline(),this.visitReference(e.animation,r),t.transformIntoNewTimeline(r.currentTimeline.currentTime),t.previousNode=e}_visitSubInstructions(e,t,r){let n=t.currentTimeline.currentTime;const i=null!=r.duration?Gy(r.duration):null,s=null!=r.delay?Gy(r.delay):null;return 0!==i&&e.forEach(e=>{const r=t.appendInstructionToTimeline(e,i,s);n=Math.max(n,r.duration+r.delay)}),n}visitReference(e,t){t.updateOptions(e.options,!0),hb(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const r=t.subContextCount;let n=t;const i=e.options;if(i&&(i.params||i.delay)&&(n=t.createSubContext(i),n.transformIntoNewTimeline(),null!=i.delay)){6==n.previousNode.type&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Pb);const e=Gy(i.delay);n.delayNextStep(e)}e.steps.length&&(e.steps.forEach(e=>hb(this,e,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>r&&n.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const r=[];let n=t.currentTimeline.currentTime;const i=e.options&&e.options.delay?Gy(e.options.delay):0;e.steps.forEach(s=>{const a=t.createSubContext(e.options);i&&a.delayNextStep(i),hb(this,s,a),n=Math.max(n,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(e=>t.currentTimeline.mergeTimelineCollectedStyles(e)),t.transformIntoNewTimeline(n),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const r=e.strValue;return Zy(t.params?ab(r,t.params,t.errors):r,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){const r=t.currentAnimateTimings=this._visitTiming(e.timings,t),n=t.currentTimeline;r.delay&&(t.incrementTime(r.delay),n.snapshotCurrentStyles());const i=e.style;5==i.type?this.visitKeyframes(i,t):(t.incrementTime(r.duration),this.visitStyle(i,t),n.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const r=t.currentTimeline,n=t.currentAnimateTimings;!n&&r.getCurrentStyleProperties().length&&r.forwardFrame();const i=n&&n.easing||e.easing;e.isEmptyStep?r.applyEmptyStep(i):r.setStyles(e.styles,i,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const r=t.currentAnimateTimings,n=t.currentTimeline.duration,i=r.duration,s=t.createSubContext().currentTimeline;s.easing=r.easing,e.styles.forEach(e=>{s.forwardTime((e.offset||0)*i),s.setStyles(e.styles,e.easing,t.errors,t.options),s.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(s),t.transformIntoNewTimeline(n+i),t.previousNode=e}visitQuery(e,t){const r=t.currentTimeline.currentTime,n=e.options||{},i=n.delay?Gy(n.delay):0;i&&(6===t.previousNode.type||0==r&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Pb);let s=r;const a=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!n.optional,t.errors);t.currentQueryTotal=a.length;let o=null;a.forEach((r,n)=>{t.currentQueryIndex=n;const a=t.createSubContext(e.options,r);i&&a.delayNextStep(i),r===t.element&&(o=a.currentTimeline),hb(this,e.animation,a),a.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,a.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(s),o&&(t.currentTimeline.mergeTimelineCollectedStyles(o),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const r=t.parentContext,n=t.currentTimeline,i=e.timings,s=Math.abs(i.duration),a=s*(t.currentQueryTotal-1);let o=s*t.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":o=a-o;break;case"full":o=r.currentStaggerTime}const l=t.currentTimeline;o&&l.delayNextStep(o);const c=l.currentTime;hb(this,e.animation,t),t.previousNode=e,r.currentStaggerTime=n.currentTime-c+(n.startTime-r.currentTimeline.startTime)}}const Pb={};class Yb{constructor(e,t,r,n,i,s,a,o){this._driver=e,this.element=t,this.subInstructions=r,this._enterClassName=n,this._leaveClassName=i,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Pb,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=o||new Rb(this._driver,t,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const r=e;let n=this.options;null!=r.duration&&(n.duration=Gy(r.duration)),null!=r.delay&&(n.delay=Gy(r.delay));const i=r.params;if(i){let e=n.params;e||(e=this.options.params={}),Object.keys(i).forEach(r=>{t&&e.hasOwnProperty(r)||(e[r]=ab(i[r],e,this.errors))})}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const r=e.params={};Object.keys(t).forEach(e=>{r[e]=t[e]})}}return e}createSubContext(e=null,t,r){const n=t||this.element,i=new Yb(this._driver,n,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(n,r||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(e),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i}transformIntoNewTimeline(e){return this.previousNode=Pb,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,r){const n={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=r?r:0)+e.delay,easing:""},i=new Ob(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,n,e.stretchStartingKeyframe);return this.timelines.push(i),n}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,r,n,i,s){let a=[];if(n&&a.push(this.element),e.length>0){e=(e=e.replace(Lb,"."+this._enterClassName)).replace(Ab,"."+this._leaveClassName);let t=this._driver.query(this.element,e,1!=r);0!==r&&(t=r<0?t.slice(t.length+r,t.length):t.slice(0,r)),a.push(...t)}return i||0!=a.length||s.push(`\`query("${t}")\` returned zero elements. (Use \`query("${t}", { optional: true })\` if you wish to allow this.)`),a}}class Rb{constructor(e,t,r,n){this._driver=e,this.element=t,this.startTime=r,this._elementTimelineStylesLookup=n,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(e){const t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new Rb(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||oy,this._currentKeyframe[e]=oy}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,r,n){t&&(this._previousKeyframe.easing=t);const i=n&&n.params||{},s=function(e,t){const r={};let n;return e.forEach(e=>{"*"===e?(n=n||Object.keys(t),n.forEach(e=>{r[e]=oy})):Qy(e,!1,r)}),r}(e,this._globalTimelineStyles);Object.keys(s).forEach(e=>{const t=ab(s[e],i,r);this._pendingStyles[e]=t,this._localTimelineStyles.hasOwnProperty(e)||(this._backFill[e]=this._globalTimelineStyles.hasOwnProperty(e)?this._globalTimelineStyles[e]:oy),this._updateStyle(e,t)})}applyStylesToKeyframe(){const e=this._pendingStyles,t=Object.keys(e);0!=t.length&&(this._pendingStyles={},t.forEach(t=>{this._currentKeyframe[t]=e[t]}),Object.keys(this._localTimelineStyles).forEach(e=>{this._currentKeyframe.hasOwnProperty(e)||(this._currentKeyframe[e]=this._localTimelineStyles[e])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(e=>{const t=this._localTimelineStyles[e];this._pendingStyles[e]=t,this._updateStyle(e,t)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){Object.keys(e._styleSummary).forEach(t=>{const r=this._styleSummary[t],n=e._styleSummary[t];(!r||n.time>r.time)&&this._updateStyle(t,n.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,r=1===this._keyframes.size&&0===this.duration;let n=[];this._keyframes.forEach((i,s)=>{const a=Qy(i,!0);Object.keys(a).forEach(r=>{const n=a[r];"!"==n?e.add(r):n==oy&&t.add(r)}),r||(a.offset=s/this.duration),n.push(a)});const i=e.size?ob(e.values()):[],s=t.size?ob(t.values()):[];if(r){const e=n[0],t=Jy(e);e.offset=0,t.offset=1,n=[e,t]}return Cb(this.element,n,i,s,this.duration,this.startTime,this.easing,!1)}}class Ob extends Rb{constructor(e,t,r,n,i,s,a=!1){super(e,t,s.delay),this.element=t,this.keyframes=r,this.preStyleProps=n,this.postStyleProps=i,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:r,easing:n}=this.timings;if(this._stretchStartingKeyframe&&t){const i=[],s=r+t,a=t/s,o=Qy(e[0],!1);o.offset=0,i.push(o);const l=Qy(e[0],!1);l.offset=Ib(a),i.push(l);const c=e.length-1;for(let n=1;n<=c;n++){let a=Qy(e[n],!1);a.offset=Ib((t+a.offset*r)/s),i.push(a)}r=s,t=0,n="",e=i}return Cb(this.element,e,this.preStyleProps,this.postStyleProps,r,t,n,!0)}}function Ib(e,t=3){const r=Math.pow(10,t-1);return Math.round(e*r)/r}class jb{}class Fb extends jb{normalizePropertyName(e,t){return cb(e)}normalizeStyleValue(e,t,r,n){let i="";const s=r.toString().trim();if(Hb[t]&&0!==r&&"0"!==r)if("number"==typeof r)i="px";else{const t=r.match(/^[+-]?[\d\.]+([a-z]*)$/);t&&0==t[1].length&&n.push(`Please provide a CSS unit value for ${e}:${r}`)}return s+i}}const Hb=(()=>function(e){const t={};return e.forEach(e=>t[e]=!0),t}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function Nb(e,t,r,n,i,s,a,o,l,c,d,u,h){return{type:0,element:e,triggerName:t,isRemovalTransition:i,fromState:r,fromStyles:s,toState:n,toStyles:a,timelines:o,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:h}}const Bb={};class zb{constructor(e,t,r){this._triggerName=e,this.ast=t,this._stateStyles=r}match(e,t,r,n){return function(e,t,r,n,i){return e.some(e=>e(t,r,n,i))}(this.ast.matchers,e,t,r,n)}buildStyles(e,t,r){const n=this._stateStyles["*"],i=this._stateStyles[e],s=n?n.buildStyles(t,r):{};return i?i.buildStyles(t,r):s}build(e,t,r,n,i,s,a,o,l,c){const d=[],u=this.ast.options&&this.ast.options.params||Bb,h=this.buildStyles(r,a&&a.params||Bb,d),f=o&&o.params||Bb,m=this.buildStyles(n,f,d),p=new Set,_=new Map,g=new Map,y="void"===n,b={params:Object.assign(Object.assign({},u),f)},v=c?[]:Eb(e,t,this.ast.animation,i,s,h,m,b,l,d);let w=0;if(v.forEach(e=>{w=Math.max(e.duration+e.delay,w)}),d.length)return Nb(t,this._triggerName,r,n,y,h,m,[],[],_,g,w,d);v.forEach(e=>{const r=e.element,n=Dy(_,r,{});e.preStyleProps.forEach(e=>n[e]=!0);const i=Dy(g,r,{});e.postStyleProps.forEach(e=>i[e]=!0),r!==t&&p.add(r)});const k=ob(p.values());return Nb(t,this._triggerName,r,n,y,h,m,v,k,_,g,w)}}class Ub{constructor(e,t){this.styles=e,this.defaultParams=t}buildStyles(e,t){const r={},n=Jy(this.defaultParams);return Object.keys(e).forEach(t=>{const r=e[t];null!=r&&(n[t]=r)}),this.styles.styles.forEach(e=>{if("string"!=typeof e){const i=e;Object.keys(i).forEach(e=>{let s=i[e];s.length>1&&(s=ab(s,n,t)),r[e]=s})}}),r}}class Vb{constructor(e,t){this.name=e,this.ast=t,this.transitionFactories=[],this.states={},t.states.forEach(e=>{this.states[e.name]=new Ub(e.style,e.options&&e.options.params||{})}),Kb(this.states,"true","1"),Kb(this.states,"false","0"),t.transitions.forEach(t=>{this.transitionFactories.push(new zb(e,t,this.states))}),this.fallbackTransition=new zb(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[(e,t)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,r,n){return this.transitionFactories.find(i=>i.match(e,t,r,n))||null}matchStyles(e,t,r){return this.fallbackTransition.buildStyles(e,t,r)}}function Kb(e,t,r){e.hasOwnProperty(t)?e.hasOwnProperty(r)||(e[r]=e[t]):e.hasOwnProperty(r)&&(e[t]=e[r])}const Wb=new Db;class qb{constructor(e,t,r){this.bodyNode=e,this._driver=t,this._normalizer=r,this._animations={},this._playersById={},this.players=[]}register(e,t){const r=[],n=vb(this._driver,t,r);if(r.length)throw new Error("Unable to build the animation due to the following errors: "+r.join("\n"));this._animations[e]=n}_buildPlayer(e,t,r){const n=e.element,i=My(0,this._normalizer,0,e.keyframes,t,r);return this._driver.animate(n,i,e.duration,e.delay,e.easing,[],!0)}create(e,t,r={}){const n=[],i=this._animations[e];let s;const a=new Map;if(i?(s=Eb(this._driver,t,i,zy,Uy,{},{},r,Wb,n),s.forEach(e=>{const t=Dy(a,e.element,{});e.postStyleProps.forEach(e=>t[e]=null)})):(n.push("The requested animation doesn't exist or has already been destroyed"),s=[]),n.length)throw new Error("Unable to create the animation due to the following errors: "+n.join("\n"));a.forEach((e,t)=>{Object.keys(e).forEach(r=>{e[r]=this._driver.computeStyle(t,r,oy)})});const o=ky(s.map(e=>{const t=a.get(e.element);return this._buildPlayer(e,{},t)}));return this._playersById[e]=o,o.onDestroy(()=>this.destroy(e)),this.players.push(o),o}destroy(e){const t=this._getPlayer(e);t.destroy(),delete this._playersById[e];const r=this.players.indexOf(t);r>=0&&this.players.splice(r,1)}_getPlayer(e){const t=this._playersById[e];if(!t)throw new Error("Unable to find the timeline player referenced by "+e);return t}listen(e,t,r,n){const i=Cy(t,"","","");return Sy(this._getPlayer(e),r,i,n),()=>{}}command(e,t,r,n){if("register"==r)return void this.register(e,n[0]);if("create"==r)return void this.create(e,t,n[0]||{});const i=this._getPlayer(e);switch(r){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(e)}}}const Gb="ng-animate-queued",$b="ng-animate-disabled",Zb=".ng-animate-disabled",Jb=[],Qb={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Xb={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class ev{constructor(e,t=""){this.namespaceId=t;const r=e&&e.hasOwnProperty("value");if(this.value=null!=(n=r?e.value:e)?n:null,r){const t=Jy(e);delete t.value,this.options=t}else this.options={};var n;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){const t=e.params;if(t){const e=this.options.params;Object.keys(t).forEach(r=>{null==e[r]&&(e[r]=t[r])})}}}const tv="void",rv=new ev(tv);class nv{constructor(e,t,r){this.id=e,this.hostElement=t,this._engine=r,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,dv(t,this._hostClassName)}listen(e,t,r,n){if(!this._triggers.hasOwnProperty(t))throw new Error(`Unable to listen on the animation trigger event "${r}" because the animation trigger "${t}" doesn't exist!`);if(null==r||0==r.length)throw new Error(`Unable to listen on the animation trigger "${t}" because the provided event is undefined!`);if("start"!=(i=r)&&"done"!=i)throw new Error(`The provided animation trigger event "${r}" for the animation trigger "${t}" is not supported!`);var i;const s=Dy(this._elementListeners,e,[]),a={name:t,phase:r,callback:n};s.push(a);const o=Dy(this._engine.statesByElement,e,{});return o.hasOwnProperty(t)||(dv(e,Vy),dv(e,"ng-trigger-"+t),o[t]=rv),()=>{this._engine.afterFlush(()=>{const e=s.indexOf(a);e>=0&&s.splice(e,1),this._triggers[t]||delete o[t]})}}register(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}_getTrigger(e){const t=this._triggers[e];if(!t)throw new Error(`The provided animation trigger "${e}" has not been registered!`);return t}trigger(e,t,r,n=!0){const i=this._getTrigger(t),s=new sv(this.id,t,e);let a=this._engine.statesByElement.get(e);a||(dv(e,Vy),dv(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,a={}));let o=a[t];const l=new ev(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&o&&l.absorbOptions(o.options),a[t]=l,o||(o=rv),l.value!==tv&&o.value===l.value){if(!function(e,t){const r=Object.keys(e),n=Object.keys(t);if(r.length!=n.length)return!1;for(let i=0;i{rb(e,r),tb(e,n)})}return}const c=Dy(this._engine.playersByElement,e,[]);c.forEach(e=>{e.namespaceId==this.id&&e.triggerName==t&&e.queued&&e.destroy()});let d=i.matchTransition(o.value,l.value,e,l.params),u=!1;if(!d){if(!n)return;d=i.fallbackTransition,u=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:d,fromState:o,toState:l,player:s,isFallbackTransition:u}),u||(dv(e,Gb),s.onStart(()=>{uv(e,Gb)})),s.onDone(()=>{let t=this.players.indexOf(s);t>=0&&this.players.splice(t,1);const r=this._engine.playersByElement.get(e);if(r){let e=r.indexOf(s);e>=0&&r.splice(e,1)}}),this.players.push(s),c.push(s),s}deregister(e){delete this._triggers[e],this._engine.statesByElement.forEach((t,r)=>{delete t[e]}),this._elementListeners.forEach((t,r)=>{this._elementListeners.set(r,t.filter(t=>t.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const t=this._engine.playersByElement.get(e);t&&(t.forEach(e=>e.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){const r=this._engine.driver.query(e,Ky,!0);r.forEach(e=>{if(e.__ng_removed)return;const r=this._engine.fetchNamespacesByElement(e);r.size?r.forEach(r=>r.triggerLeaveAnimation(e,t,!1,!0)):this.clearElementCache(e)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(e=>this.clearElementCache(e)))}triggerLeaveAnimation(e,t,r,n){const i=this._engine.statesByElement.get(e);if(i){const s=[];if(Object.keys(i).forEach(t=>{if(this._triggers[t]){const r=this.trigger(e,t,tv,n);r&&s.push(r)}}),s.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),r&&ky(s).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e);if(t){const r=new Set;t.forEach(t=>{const n=t.name;if(r.has(n))return;r.add(n);const i=this._triggers[n].fallbackTransition,s=this._engine.statesByElement.get(e)[n]||rv,a=new ev(tv),o=new sv(this.id,n,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:n,transition:i,fromState:s,toState:a,player:o,isFallbackTransition:!0})})}}removeNode(e,t){const r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let n=!1;if(r.totalAnimations){const t=r.players.length?r.playersByQueriedElement.get(e):[];if(t&&t.length)n=!0;else{let t=e;for(;t=t.parentNode;)if(r.statesByElement.get(t)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(e),n)r.markElementAsRemoved(this.id,e,!1,t);else{const n=e.__ng_removed;n&&n!==Qb||(r.afterFlush(()=>this.clearElementCache(e)),r.destroyInnerAnimations(e),r._onRemovalComplete(e,t))}}insertNode(e,t){dv(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach(r=>{const n=r.player;if(n.destroyed)return;const i=r.element,s=this._elementListeners.get(i);s&&s.forEach(t=>{if(t.name==r.triggerName){const n=Cy(i,r.triggerName,r.fromState.value,r.toState.value);n._data=e,Sy(r.player,t.phase,n,t.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):t.push(r)}),this._queue=[],t.sort((e,t)=>{const r=e.transition.ast.depCount,n=t.transition.ast.depCount;return 0==r||0==n?r-n:this._engine.driver.containsElement(e.element,t.element)?1:-1})}destroy(e){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find(t=>t.element===e)||t,t}}class iv{constructor(e,t,r){this.bodyNode=e,this.driver=t,this._normalizer=r,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(e,t)=>{}}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){const e=[];return this._namespaceList.forEach(t=>{t.players.forEach(t=>{t.queued&&e.push(t)})}),e}createNamespace(e,t){const r=new nv(e,t,this);return t.parentNode?this._balanceNamespaceList(r,t):(this.newHostElements.set(t,r),this.collectEnterElement(t)),this._namespaceLookup[e]=r}_balanceNamespaceList(e,t){const r=this._namespaceList.length-1;if(r>=0){let n=!1;for(let i=r;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,t)){this._namespaceList.splice(i+1,0,e),n=!0;break}n||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e}register(e,t){let r=this._namespaceLookup[e];return r||(r=this.createNamespace(e,t)),r}registerTrigger(e,t,r){let n=this._namespaceLookup[e];n&&n.register(t,r)&&this.totalAnimations++}destroy(e,t){if(!e)return;const r=this._fetchNamespace(e);this.afterFlush(()=>{this.namespacesByHostElement.delete(r.hostElement),delete this._namespaceLookup[e];const t=this._namespaceList.indexOf(r);t>=0&&this._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(()=>r.destroy(t))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const t=new Set,r=this.statesByElement.get(e);if(r){const e=Object.keys(r);for(let n=0;n=0&&this.collectedLeaveElements.splice(e,1)}if(e){const n=this._fetchNamespace(e);n&&n.insertNode(t,r)}n&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),dv(e,$b)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),uv(e,$b))}removeNode(e,t,r,n){if(av(t)){const i=e?this._fetchNamespace(e):null;if(i?i.removeNode(t,n):this.markElementAsRemoved(e,t,!1,n),r){const r=this.namespacesByHostElement.get(t);r&&r.id!==e&&r.removeNode(t,n)}}else this._onRemovalComplete(t,n)}markElementAsRemoved(e,t,r,n){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:n,hasAnimation:r,removedBeforeQueried:!1}}listen(e,t,r,n,i){return av(t)?this._fetchNamespace(e).listen(t,r,n,i):()=>{}}_buildInstruction(e,t,r,n,i){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,r,n,e.fromState.options,e.toState.options,t,i)}destroyInnerAnimations(e){let t=this.driver.query(e,Ky,!0);t.forEach(e=>this.destroyActiveAnimationsForElement(e)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,qy,!0),t.forEach(e=>this.finishActiveQueriedAnimationOnElement(e)))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);t&&t.forEach(e=>{e.queued?e.markedForDestroy=!0:e.destroy()})}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);t&&t.forEach(e=>e.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return ky(this.players).onDone(()=>e());e()})}processLeaveNode(e){const t=e.__ng_removed;if(t&&t.setForRemoval){if(e.__ng_removed=Qb,t.namespaceId){this.destroyInnerAnimations(e);const r=this._fetchNamespace(t.namespaceId);r&&r.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}this.driver.matchesElement(e,Zb)&&this.markElementAsDisabled(e,!1),this.driver.query(e,Zb,!0).forEach(e=>{this.markElementAsDisabled(e,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((e,t)=>this._balanceNamespaceList(e,t)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;re()),this._flushFns=[],this._whenQuietFns.length){const e=this._whenQuietFns;this._whenQuietFns=[],t.length?ky(t).onDone(()=>{e.forEach(e=>e())}):e.forEach(e=>e())}}reportError(e){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+e.join("\n"))}_flushAnimations(e,t){const r=new Db,n=[],i=new Map,s=[],a=new Map,o=new Map,l=new Map,c=new Set;this.disabledNodes.forEach(e=>{c.add(e);const t=this.driver.query(e,".ng-animate-queued",!0);for(let r=0;r{const r=zy+m++;f.set(t,r),e.forEach(e=>dv(e,r))});const p=[],_=new Set,g=new Set;for(let E=0;E_.add(e)):g.add(e))}const y=new Map,b=cv(u,Array.from(_));b.forEach((e,t)=>{const r=Uy+m++;y.set(t,r),e.forEach(e=>dv(e,r))}),e.push(()=>{h.forEach((e,t)=>{const r=f.get(t);e.forEach(e=>uv(e,r))}),b.forEach((e,t)=>{const r=y.get(t);e.forEach(e=>uv(e,r))}),p.forEach(e=>{this.processLeaveNode(e)})});const v=[],w=[];for(let E=this._namespaceList.length-1;E>=0;E--)this._namespaceList[E].drainQueuedTransitions(t).forEach(e=>{const t=e.player,i=e.element;if(v.push(t),this.collectedEnterElements.length){const e=i.__ng_removed;if(e&&e.setForMove)return void t.destroy()}const c=!d||!this.driver.containsElement(d,i),u=y.get(i),h=f.get(i),m=this._buildInstruction(e,r,h,u,c);if(m.errors&&m.errors.length)w.push(m);else{if(c)return t.onStart(()=>rb(i,m.fromStyles)),t.onDestroy(()=>tb(i,m.toStyles)),void n.push(t);if(e.isFallbackTransition)return t.onStart(()=>rb(i,m.fromStyles)),t.onDestroy(()=>tb(i,m.toStyles)),void n.push(t);m.timelines.forEach(e=>e.stretchStartingKeyframe=!0),r.append(i,m.timelines),s.push({instruction:m,player:t,element:i}),m.queriedElements.forEach(e=>Dy(a,e,[]).push(t)),m.preStyleProps.forEach((e,t)=>{const r=Object.keys(e);if(r.length){let e=o.get(t);e||o.set(t,e=new Set),r.forEach(t=>e.add(t))}}),m.postStyleProps.forEach((e,t)=>{const r=Object.keys(e);let n=l.get(t);n||l.set(t,n=new Set),r.forEach(e=>n.add(e))})}});if(w.length){const e=[];w.forEach(t=>{e.push(`@${t.triggerName} has failed due to:\n`),t.errors.forEach(t=>e.push(`- ${t}\n`))}),v.forEach(e=>e.destroy()),this.reportError(e)}const k=new Map,M=new Map;s.forEach(e=>{const t=e.element;r.has(t)&&(M.set(t,t),this._beforeAnimationBuild(e.player.namespaceId,e.instruction,k))}),n.forEach(e=>{const t=e.element;this._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(e=>{Dy(k,t,[]).push(e),e.destroy()})});const S=p.filter(e=>fv(e,o,l)),x=new Map;lv(x,this.driver,g,l,oy).forEach(e=>{fv(e,o,l)&&S.push(e)});const C=new Map;h.forEach((e,t)=>{lv(C,this.driver,new Set(e),o,"!")}),S.forEach(e=>{const t=x.get(e),r=C.get(e);x.set(e,Object.assign(Object.assign({},t),r))});const D=[],L=[],A={};s.forEach(e=>{const{element:t,player:s,instruction:a}=e;if(r.has(t)){if(c.has(t))return s.onDestroy(()=>tb(t,a.toStyles)),s.disabled=!0,s.overrideTotalTime(a.totalTime),void n.push(s);let e=A;if(M.size>1){let r=t;const n=[];for(;r=r.parentNode;){const t=M.get(r);if(t){e=t;break}n.push(r)}n.forEach(t=>M.set(t,e))}const r=this._buildAnimation(s.namespaceId,a,k,i,C,x);if(s.setRealPlayer(r),e===A)D.push(s);else{const t=this.playersByElement.get(e);t&&t.length&&(s.parentPlayer=ky(t)),n.push(s)}}else rb(t,a.fromStyles),s.onDestroy(()=>tb(t,a.toStyles)),L.push(s),c.has(t)&&n.push(s)}),L.forEach(e=>{const t=i.get(e.element);if(t&&t.length){const r=ky(t);e.setRealPlayer(r)}}),n.forEach(e=>{e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(let E=0;E!e.destroyed);n.length?hv(this,e,n):this.processLeaveNode(e)}return p.length=0,D.forEach(e=>{this.players.push(e),e.onDone(()=>{e.destroy();const t=this.players.indexOf(e);this.players.splice(t,1)}),e.play()}),D}elementContainsData(e,t){let r=!1;const n=t.__ng_removed;return n&&n.setForRemoval&&(r=!0),this.playersByElement.has(t)&&(r=!0),this.playersByQueriedElement.has(t)&&(r=!0),this.statesByElement.has(t)&&(r=!0),this._fetchNamespace(e).elementContainsData(t)||r}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,r,n,i){let s=[];if(t){const t=this.playersByQueriedElement.get(e);t&&(s=t)}else{const t=this.playersByElement.get(e);if(t){const e=!i||i==tv;t.forEach(t=>{t.queued||(e||t.triggerName==n)&&s.push(t)})}}return(r||n)&&(s=s.filter(e=>!(r&&r!=e.namespaceId||n&&n!=e.triggerName))),s}_beforeAnimationBuild(e,t,r){const n=t.element,i=t.isRemovalTransition?void 0:e,s=t.isRemovalTransition?void 0:t.triggerName;for(const a of t.timelines){const e=a.element,o=e!==n,l=Dy(r,e,[]);this._getPreviousPlayers(e,o,i,s,t.toState).forEach(e=>{const t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),l.push(e)})}rb(n,t.fromStyles)}_buildAnimation(e,t,r,n,i,s){const a=t.triggerName,o=t.element,l=[],c=new Set,d=new Set,u=t.timelines.map(t=>{const u=t.element;c.add(u);const h=u.__ng_removed;if(h&&h.removedBeforeQueried)return new by(t.duration,t.delay);const f=u!==o,m=function(e){const t=[];return function e(t,r){for(let n=0;ne.getRealPlayer())).filter(e=>!!e.element&&e.element===u),p=i.get(u),_=s.get(u),g=My(0,this._normalizer,0,t.keyframes,p,_),y=this._buildPlayer(t,g,m);if(t.subTimeline&&n&&d.add(u),f){const t=new sv(e,a,u);t.setRealPlayer(y),l.push(t)}return y});l.forEach(e=>{Dy(this.playersByQueriedElement,e.element,[]).push(e),e.onDone(()=>function(e,t,r){let n;if(e instanceof Map){if(n=e.get(t),n){if(n.length){const e=n.indexOf(r);n.splice(e,1)}0==n.length&&e.delete(t)}}else if(n=e[t],n){if(n.length){const e=n.indexOf(r);n.splice(e,1)}0==n.length&&delete e[t]}return n}(this.playersByQueriedElement,e.element,e))}),c.forEach(e=>dv(e,Wy));const h=ky(u);return h.onDestroy(()=>{c.forEach(e=>uv(e,Wy)),tb(o,t.toStyles)}),d.forEach(e=>{Dy(n,e,[]).push(h)}),h}_buildPlayer(e,t,r){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,r):new by(e.duration,e.delay)}}class sv{constructor(e,t,r){this.namespaceId=e,this.triggerName=t,this.element=r,this._player=new by,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(t=>{this._queuedCallbacks[t].forEach(r=>Sy(e,t,void 0,r))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){Dy(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){const t=this._player;t.triggerCallback&&t.triggerCallback(e)}}function av(e){return e&&1===e.nodeType}function ov(e,t){const r=e.style.display;return e.style.display=null!=t?t:"none",r}function lv(e,t,r,n,i){const s=[];r.forEach(e=>s.push(ov(e)));const a=[];n.forEach((r,n)=>{const s={};r.forEach(e=>{const r=s[e]=t.computeStyle(n,e,i);r&&0!=r.length||(n.__ng_removed=Xb,a.push(n))}),e.set(n,s)});let o=0;return r.forEach(e=>ov(e,s[o++])),a}function cv(e,t){const r=new Map;if(e.forEach(e=>r.set(e,[])),0==t.length)return r;const n=new Set(t),i=new Map;return t.forEach(e=>{const t=function e(t){if(!t)return 1;let s=i.get(t);if(s)return s;const a=t.parentNode;return s=r.has(a)?a:n.has(a)?1:e(a),i.set(t,s),s}(e);1!==t&&r.get(t).push(e)}),r}function dv(e,t){if(e.classList)e.classList.add(t);else{let r=e.$$classes;r||(r=e.$$classes={}),r[t]=!0}}function uv(e,t){if(e.classList)e.classList.remove(t);else{let r=e.$$classes;r&&delete r[t]}}function hv(e,t,r){ky(r).onDone(()=>e.processLeaveNode(t))}function fv(e,t,r){const n=r.get(e);if(!n)return!1;let i=t.get(e);return i?n.forEach(e=>i.add(e)):t.set(e,n),r.delete(e),!0}class mv{constructor(e,t,r){this.bodyNode=e,this._driver=t,this._triggerCache={},this.onRemovalComplete=(e,t)=>{},this._transitionEngine=new iv(e,t,r),this._timelineEngine=new qb(e,t,r),this._transitionEngine.onRemovalComplete=(e,t)=>this.onRemovalComplete(e,t)}registerTrigger(e,t,r,n,i){const s=e+"-"+n;let a=this._triggerCache[s];if(!a){const e=[],t=vb(this._driver,i,e);if(e.length)throw new Error(`The animation trigger "${n}" has failed to build due to the following errors:\n - ${e.join("\n - ")}`);a=function(e,t){return new Vb(e,t)}(n,t),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(t,n,a)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,r,n){this._transitionEngine.insertNode(e,t,r,n)}onRemove(e,t,r,n){this._transitionEngine.removeNode(e,t,n||!1,r)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,r,n){if("@"==r.charAt(0)){const[e,i]=Ly(r);this._timelineEngine.command(e,t,i,n)}else this._transitionEngine.trigger(e,t,r,n)}listen(e,t,r,n,i){if("@"==r.charAt(0)){const[e,n]=Ly(r);return this._timelineEngine.listen(e,t,n,i)}return this._transitionEngine.listen(e,t,r,n,i)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function pv(e,t){let r=null,n=null;return Array.isArray(t)&&t.length?(r=gv(t[0]),t.length>1&&(n=gv(t[t.length-1]))):t&&(r=gv(t)),r||n?new _v(e,r,n):null}let _v=(()=>{class e{constructor(t,r,n){this._element=t,this._startStyles=r,this._endStyles=n,this._state=0;let i=e.initialStylesByElement.get(t);i||e.initialStylesByElement.set(t,i={}),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&tb(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(tb(this._element,this._initialStyles),this._endStyles&&(tb(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(rb(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(rb(this._element,this._endStyles),this._endStyles=null),tb(this._element,this._initialStyles),this._state=3)}}return e.initialStylesByElement=new WeakMap,e})();function gv(e){let t=null;const r=Object.keys(e);for(let n=0;nthis._handleCallback(e)}apply(){!function(e,t){const r=Dv(e,"").trim();r.length&&(function(e,t){let r=0;for(let n=0;n=this._delay&&r>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),xv(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(e,t){const r=Dv(e,"").split(","),n=Sv(r,t);n>=0&&(r.splice(n,1),Cv(e,"",r.join(",")))}(this._element,this._name))}}function kv(e,t,r){Cv(e,"PlayState",r,Mv(e,t))}function Mv(e,t){const r=Dv(e,"");return r.indexOf(",")>0?Sv(r.split(","),t):Sv([r],t)}function Sv(e,t){for(let r=0;r=0)return r;return-1}function xv(e,t,r){r?e.removeEventListener(vv,t):e.addEventListener(vv,t)}function Cv(e,t,r,n){const i=bv+t;if(null!=n){const t=e.style[i];if(t.length){const e=t.split(",");e[n]=r,r=e.join(",")}}e.style[i]=r}function Dv(e,t){return e.style[bv+t]}class Lv{constructor(e,t,r,n,i,s,a,o){this.element=e,this.keyframes=t,this.animationName=r,this._duration=n,this._delay=i,this._finalStyles=a,this._specialStyles=o,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=s||"linear",this.totalTime=n+i,this._buildStyler()}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(e=>e()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(e){this._styler.setPosition(e)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new wv(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}beforeDestroy(){this.init();const e={};if(this.hasStarted()){const t=this._state>=3;Object.keys(this._finalStyles).forEach(r=>{"offset"!=r&&(e[r]=t?this._finalStyles[r]:fb(this.element,r))})}this.currentSnapshot=e}}class Av extends by{constructor(e,t){super(),this.element=e,this._startingStyles={},this.__initialized=!1,this._styles=Hy(t)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(e=>{this._startingStyles[e]=this.element.style[e]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(e=>this.element.style.setProperty(e,this._styles[e])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(e=>{const t=this._startingStyles[e];t?this.element.style.setProperty(e,t):this.element.style.removeProperty(e)}),this._startingStyles=null,super.destroy())}}class Ev{constructor(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}validateStyleProperty(e){return Oy(e)}matchesElement(e,t){return Iy(e,t)}containsElement(e,t){return jy(e,t)}query(e,t,r){return Fy(e,t,r)}computeStyle(e,t,r){return window.getComputedStyle(e)[t]}buildKeyframeElement(e,t,r){r=r.map(e=>Hy(e));let n=`@keyframes ${t} {\n`,i="";r.forEach(e=>{i=" ";const t=parseFloat(e.offset);n+=`${i}${100*t}% {\n`,i+=" ",Object.keys(e).forEach(t=>{const r=e[t];switch(t){case"offset":return;case"easing":return void(r&&(n+=`${i}animation-timing-function: ${r};\n`));default:return void(n+=`${i}${t}: ${r};\n`)}}),n+=i+"}\n"}),n+="}\n";const s=document.createElement("style");return s.innerHTML=n,s}animate(e,t,r,n,i,s=[],a){a&&this._notifyFaultyScrubber();const o=s.filter(e=>e instanceof Lv),l={};db(r,n)&&o.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>l[e]=t[e])});const c=function(e){let t={};return e&&(Array.isArray(e)?e:[e]).forEach(e=>{Object.keys(e).forEach(r=>{"offset"!=r&&"easing"!=r&&(t[r]=e[r])})}),t}(t=ub(e,t,l));if(0==r)return new Av(e,c);const d="gen_css_kf_"+this._count++,u=this.buildKeyframeElement(e,d,t);document.querySelector("head").appendChild(u);const h=pv(e,t),f=new Lv(e,t,d,r,n,i,c,h);return f.onDestroy(()=>{var e;(e=u).parentNode.removeChild(e)}),f}_notifyFaultyScrubber(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)}}class Tv{constructor(e,t,r,n){this.element=e,this.keyframes=t,this.options=r,this._specialStyles=n,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(e,t,r){return e.animate(t,r)}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer.currentTime=e*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(t=>{"offset"!=t&&(e[t]=this._finished?this._finalKeyframe[t]:fb(this.element,t))}),this.currentSnapshot=e}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class Pv{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Yv().toString()),this._cssKeyframesDriver=new Ev}validateStyleProperty(e){return Oy(e)}matchesElement(e,t){return Iy(e,t)}containsElement(e,t){return jy(e,t)}query(e,t,r){return Fy(e,t,r)}computeStyle(e,t,r){return window.getComputedStyle(e)[t]}overrideWebAnimationsSupport(e){this._isNativeImpl=e}animate(e,t,r,n,i,s=[],a){if(!a&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,r,n,i,s);const o={duration:r,delay:n,fill:0==n?"both":"forwards"};i&&(o.easing=i);const l={},c=s.filter(e=>e instanceof Tv);db(r,n)&&c.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>l[e]=t[e])});const d=pv(e,t=ub(e,t=t.map(e=>Qy(e,!1)),l));return new Tv(e,t,o,d)}}function Yv(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}let Rv=(()=>{class e extends ay{constructor(e,t){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(t.body,{id:"0",encapsulation:dt.None,styles:[],data:{animation:[]}})}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const r=Array.isArray(e)?uy(e):e;return jv(this._renderer,null,t,"register",[r]),new Ov(t,this._renderer)}}return e.\u0275fac=function(t){return new(t||e)($e(Vo),$e(ld))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();class Ov extends class{}{constructor(e,t){super(),this._id=e,this._renderer=t}create(e,t){return new Iv(this._id,e,t||{},this._renderer)}}class Iv{constructor(e,t,r,n){this.id=e,this.element=t,this._renderer=n,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",r)}_listen(e,t){return this._renderer.listen(this.element,`@@${this.id}:${e}`,t)}_command(e,...t){return jv(this._renderer,this.element,this.id,e,t)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset")}setPosition(e){this._command("setPosition",e)}getPosition(){return 0}}function jv(e,t,r,n,i){return e.setProperty(t,`@@${r}:${n}`,i)}const Fv="@",Hv="@.disabled";let Nv=(()=>{class e{constructor(e,t,r){this.delegate=e,this.engine=t,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),t.onRemovalComplete=(e,t)=>{t&&t.parentNode(e)&&t.removeChild(e.parentNode,e)}}createRenderer(e,t){const r=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let e=this._rendererCache.get(r);return e||(e=new Bv("",r,this.engine),this._rendererCache.set(r,e)),e}const n=t.id,i=t.id+"-"+this._currentId;this._currentId++,this.engine.register(i,e);const s=t=>{Array.isArray(t)?t.forEach(s):this.engine.registerTrigger(n,i,e,t.name,t)};return t.data.animation.forEach(s),new zv(this,i,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,r){e>=0&&et(r)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(e=>{const[t,r]=e;t(r)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,r]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return e.\u0275fac=function(t){return new(t||e)($e(Vo),$e(mv),$e(Ec))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();class Bv{constructor(e,t,r){this.namespaceId=e,this.delegate=t,this.engine=r,this.destroyNode=this.delegate.destroyNode?e=>t.destroyNode(e):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,r){this.delegate.insertBefore(e,t,r),this.engine.onInsert(this.namespaceId,t,e,!0)}removeChild(e,t,r){this.engine.onRemove(this.namespaceId,t,this.delegate,r)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,r,n){this.delegate.setAttribute(e,t,r,n)}removeAttribute(e,t,r){this.delegate.removeAttribute(e,t,r)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,r,n){this.delegate.setStyle(e,t,r,n)}removeStyle(e,t,r){this.delegate.removeStyle(e,t,r)}setProperty(e,t,r){t.charAt(0)==Fv&&t==Hv?this.disableAnimations(e,!!r):this.delegate.setProperty(e,t,r)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,r){return this.delegate.listen(e,t,r)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class zv extends Bv{constructor(e,t,r,n){super(t,r,n),this.factory=e,this.namespaceId=t}setProperty(e,t,r){t.charAt(0)==Fv?"."==t.charAt(1)&&t==Hv?this.disableAnimations(e,r=void 0===r||!!r):this.engine.process(this.namespaceId,e,t.substr(1),r):this.delegate.setProperty(e,t,r)}listen(e,t,r){if(t.charAt(0)==Fv){const n=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e);let i=t.substr(1),s="";return i.charAt(0)!=Fv&&([i,s]=function(e){const t=e.indexOf(".");return[e.substring(0,t),e.substr(t+1)]}(i)),this.engine.listen(this.namespaceId,n,i,s,e=>{this.factory.scheduleListenerCallback(e._data||-1,r,e)})}return this.delegate.listen(e,t,r)}}let Uv=(()=>{class e extends mv{constructor(e,t,r){super(e.body,t,r)}}return e.\u0275fac=function(t){return new(t||e)($e(ld),$e(By),$e(jb))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();const Vv=new Fe("AnimationModuleType"),Kv=[{provide:By,useFactory:function(){return"function"==typeof Yv()?new Pv:new Ev}},{provide:Vv,useValue:"BrowserAnimations"},{provide:ay,useClass:Rv},{provide:jb,useFactory:function(){return new Fb}},{provide:mv,useClass:Uv},{provide:Vo,useFactory:function(e,t,r){return new Nv(e,t,r)},deps:[Vu,mv,Ec]}];let Wv,qv=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:Kv,imports:[ih]}),e})();try{Wv="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(RI){Wv=!1}let Gv,$v=(()=>{class e{constructor(e){this._platformId=e,this.isBrowser=this._platformId?Su(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!Wv)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return e.\u0275fac=function(t){return new(t||e)($e(pc))},e.\u0275prov=de({factory:function(){return new e($e(pc))},token:e,providedIn:"root"}),e})(),Zv=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)}}),e})();const Jv=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Qv(){if(Gv)return Gv;if("object"!=typeof document||!document)return Gv=new Set(Jv),Gv;let e=document.createElement("input");return Gv=new Set(Jv.filter(t=>(e.setAttribute("type",t),e.type===t))),Gv}let Xv,ew,tw,rw;function nw(e){return function(){if(null==Xv&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Xv=!0}))}finally{Xv=Xv||!1}return Xv}()?e:!!e.capture}function iw(){if("object"!=typeof document||!document)return 0;if(null==ew){const e=document.createElement("div"),t=e.style;e.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";const r=document.createElement("div"),n=r.style;n.width="2px",n.height="1px",e.appendChild(r),document.body.appendChild(e),ew=0,0===e.scrollLeft&&(e.scrollLeft=1,ew=0===e.scrollLeft?1:2),e.parentNode.removeChild(e)}return ew}const sw=13,aw=27,ow=32,lw=37,cw=38,dw=39,uw=40;function hw(e,...t){return t.length?t.some(t=>e[t]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}class fw extends u{constructor(e,t){super()}schedule(e,t=0){return this}}class mw extends fw{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){if(this.closed)return this;this.state=e;const r=this.id,n=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(n,r,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(n,this.id,t),this}requestAsyncId(e,t,r=0){return setInterval(e.flush.bind(e,this),r)}recycleAsyncId(e,t,r=0){if(null!==r&&this.delay===r&&!1===this.pending)return t;clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(e,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let r=!1,n=void 0;try{this.work(e)}catch(i){r=!0,n=!!i&&i||new Error(i)}if(r)return this.unsubscribe(),n}_unsubscribe(){const e=this.id,t=this.scheduler,r=t.actions,n=r.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==n&&r.splice(n,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}let pw=(()=>{class e{constructor(t,r=e.now){this.SchedulerAction=t,this.now=r}schedule(e,t=0,r){return new this.SchedulerAction(this,e).schedule(r,t)}}return e.now=()=>Date.now(),e})();class _w extends pw{constructor(e,t=pw.now){super(e,()=>_w.delegate&&_w.delegate!==this?_w.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,r){return _w.delegate&&_w.delegate!==this?_w.delegate.schedule(e,t,r):super.schedule(e,t,r)}flush(e){const{actions:t}=this;if(this.active)return void t.push(e);let r;this.active=!0;do{if(r=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,r){for(;e=t.shift();)e.unsubscribe();throw r}}}const gw=new _w(mw);function yw(e,t=gw){return r=>r.lift(new bw(e,t))}class bw{constructor(e,t){this.dueTime=e,this.scheduler=t}call(e,t){return t.subscribe(new vw(e,this.dueTime,this.scheduler))}}class vw extends m{constructor(e,t,r){super(e),this.dueTime=t,this.scheduler=r,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(ww,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:e}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}clearDebounce(){const e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}function ww(e){e.debouncedNext()}function kw(e){return null!=e&&""+e!="false"}function Mw(e,t=0){return Sw(e)?Number(e):t}function Sw(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function xw(e){return Array.isArray(e)?e:[e]}function Cw(e){return null==e?"":"string"==typeof e?e:e+"px"}function Dw(e){return e instanceof zo?e.nativeElement:e}let Lw=(()=>{class e{create(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=de({factory:function(){return new e},token:e,providedIn:"root"}),e})(),Aw=(()=>{class e{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,t)=>this._cleanupObserver(t))}observe(e){const t=Dw(e);return new y(e=>{const r=this._observeElement(t).subscribe(e);return()=>{r.unsubscribe(),this._unobserveElement(t)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const t=new M,r=this._mutationObserverFactory.create(e=>t.next(e));r&&r.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:r,stream:t,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:t,stream:r}=this._observedElements.get(e);t&&t.disconnect(),r.complete(),this._observedElements.delete(e)}}}return e.\u0275fac=function(t){return new(t||e)($e(Lw))},e.\u0275prov=de({factory:function(){return new e($e(Lw))},token:e,providedIn:"root"}),e})(),Ew=(()=>{class e{constructor(e,t,r){this._contentObserver=e,this._elementRef=t,this._ngZone=r,this.event=new Bl,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=kw(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=Mw(e),this._subscribe()}ngAfterContentInit(){this._currentSubscription||this.disabled||this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(yw(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){this._currentSubscription&&this._currentSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(Ra(Aw),Ra(zo),Ra(Ec))},e.\u0275dir=vt({type:e,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),e})(),Tw=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[Lw]}),e})();function Pw(e,t){return(e.getAttribute(t)||"").match(/\S+/g)||[]}const Yw="cdk-describedby-message-container",Rw="cdk-describedby-host";let Ow=0;const Iw=new Map;let jw=null,Fw=(()=>{class e{constructor(e,t){this._platform=t,this._document=e}describe(e,t){this._canBeDescribed(e,t)&&("string"!=typeof t?(this._setMessageId(t),Iw.set(t,{messageElement:t,referenceCount:0})):Iw.has(t)||this._createMessageElement(t),this._isElementDescribedByMessage(e,t)||this._addMessageReference(e,t))}removeDescription(e,t){if(t&&this._isElementNode(e)){if(this._isElementDescribedByMessage(e,t)&&this._removeMessageReference(e,t),"string"==typeof t){const e=Iw.get(t);e&&0===e.referenceCount&&this._deleteMessageElement(t)}jw&&0===jw.childNodes.length&&this._deleteMessagesContainer()}}ngOnDestroy(){const e=this._document.querySelectorAll("[cdk-describedby-host]");for(let t=0;t0!=e.indexOf("cdk-describedby-message"));e.setAttribute("aria-describedby",t.join(" "))}_addMessageReference(e,t){const r=Iw.get(t);!function(e,t,r){const n=Pw(e,t);n.some(e=>e.trim()==r.trim())||(n.push(r.trim()),e.setAttribute(t,n.join(" ")))}(e,"aria-describedby",r.messageElement.id),e.setAttribute(Rw,""),r.referenceCount++}_removeMessageReference(e,t){const r=Iw.get(t);r.referenceCount--,function(e,t,r){const n=Pw(e,t).filter(e=>e!=r.trim());n.length?e.setAttribute(t,n.join(" ")):e.removeAttribute(t)}(e,"aria-describedby",r.messageElement.id),e.removeAttribute(Rw)}_isElementDescribedByMessage(e,t){const r=Pw(e,"aria-describedby"),n=Iw.get(t),i=n&&n.messageElement.id;return!!i&&-1!=r.indexOf(i)}_canBeDescribed(e,t){if(!this._isElementNode(e))return!1;if(t&&"object"==typeof t)return!0;const r=null==t?"":(""+t).trim(),n=e.getAttribute("aria-label");return!(!r||n&&n.trim()===r)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return e.\u0275fac=function(t){return new(t||e)($e(ld),$e($v))},e.\u0275prov=de({factory:function(){return new e($e(ld),$e($v))},token:e,providedIn:"root"}),e})();class Hw{constructor(e){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new M,this._typeaheadSubscription=u.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new M,this.change=new M,e instanceof Ul&&e.changes.subscribe(e=>{if(this._activeItem){const t=e.toArray().indexOf(this._activeItem);t>-1&&t!==this._activeItemIndex&&(this._activeItemIndex=t)}})}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe($h(e=>this._pressedLetters.push(e)),yw(e),bh(()=>this._pressedLetters.length>0),C(()=>this._pressedLetters.join(""))).subscribe(e=>{const t=this._getItemsArray();for(let r=1;r!e[t]||this._allowedModifierKeys.indexOf(t)>-1);switch(t){case 9:return void this.tabOut.next();case uw:if(this._vertical&&r){this.setNextItemActive();break}return;case cw:if(this._vertical&&r){this.setPreviousItemActive();break}return;case dw:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case lw:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}return;default:return void((r||hw(e,"shiftKey"))&&(e.key&&1===e.key.length?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(t>=65&&t<=90||t>=48&&t<=57)&&this._letterKeyStream.next(String.fromCharCode(t))))}this._pressedLetters=[],e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){const t=this._getItemsArray(),r="number"==typeof e?e:t.indexOf(e),n=t[r];this._activeItem=null==n?null:n,this._activeItemIndex=r}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){const t=this._getItemsArray();for(let r=1;r<=t.length;r++){const n=(this._activeItemIndex+e*r+t.length)%t.length;if(!this._skipPredicateFn(t[n]))return void this.setActiveItem(n)}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,t){const r=this._getItemsArray();if(r[e]){for(;this._skipPredicateFn(r[e]);)if(!r[e+=t])return;this.setActiveItem(e)}}_getItemsArray(){return this._items instanceof Ul?this._items.toArray():this._items}}class Nw extends Hw{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}}class Bw extends Hw{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(e){return this._origin=e,this}setActiveItem(e){super.setActiveItem(e),this.activeItem&&this.activeItem.focus(this._origin)}}let zw=(()=>{class e{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const t=function(e){try{return e.frameElement}catch(RI){return null}}((r=e).ownerDocument&&r.ownerDocument.defaultView||window);var r;if(t){if(-1===Vw(t))return!1;if(!this.isVisible(t))return!1}let n=e.nodeName.toLowerCase(),i=Vw(e);return e.hasAttribute("contenteditable")?-1!==i:"iframe"!==n&&"object"!==n&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(e){let t=e.nodeName.toLowerCase(),r="input"===t&&e.type;return"text"===r||"password"===r||"select"===t||"textarea"===t}(e))&&("audio"===n?!!e.hasAttribute("controls")&&-1!==i:"video"===n?-1!==i&&(null!==i||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,t){return function(e){return!function(e){return function(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e)&&(function(e){let t=e.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(e)||function(e){return function(e){return"a"==e.nodeName.toLowerCase()}(e)&&e.hasAttribute("href")}(e)||e.hasAttribute("contenteditable")||Uw(e))}(e)&&!this.isDisabled(e)&&((null==t?void 0:t.ignoreVisibility)||this.isVisible(e))}}return e.\u0275fac=function(t){return new(t||e)($e($v))},e.\u0275prov=de({factory:function(){return new e($e($v))},token:e,providedIn:"root"}),e})();function Uw(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;let t=e.getAttribute("tabindex");return"-32768"!=t&&!(!t||isNaN(parseInt(t,10)))}function Vw(e){if(!Uw(e))return null;const t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}class Kw{constructor(e,t,r,n,i=!1){this._element=e,this._checker=t,this._ngZone=r,this._document=n,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,i||this.attachAnchors()}get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}destroy(){const e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),t&&(t.removeEventListener("focus",this.endAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement()))})}focusFirstTabbableElementWhenReady(){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement()))})}focusLastTabbableElementWhenReady(){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement()))})}_getRegionBoundary(e){let t=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);for(let r=0;r=0;r--){let e=t[r].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[r]):null;if(e)return e}return null}_createAnchor(){const e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._ngZone.isStable?e():this._ngZone.onStable.pipe(Ih(1)).subscribe(e)}}let Ww=(()=>{class e{constructor(e,t,r){this._checker=e,this._ngZone=t,this._document=r}create(e,t=!1){return new Kw(e,this._checker,this._ngZone,this._document,t)}}return e.\u0275fac=function(t){return new(t||e)($e(zw),$e(Ec),$e(ld))},e.\u0275prov=de({factory:function(){return new e($e(zw),$e(Ec),$e(ld))},token:e,providedIn:"root"}),e})(),qw=(()=>{class e{constructor(e,t,r){this._elementRef=e,this._focusTrapFactory=t,this._previouslyFocusedElement=null,this._document=r,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(e){this.focusTrap.enabled=kw(e)}get autoCapture(){return this._autoCapture}set autoCapture(e){this._autoCapture=kw(e)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(e){const t=e.autoCapture;t&&!t.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady()}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(Ww),Ra(ld))},e.\u0275dir=vt({type:e,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[Ot]}),e})();"undefined"!=typeof Element&∈const Gw=new Fe("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),$w=new Fe("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Zw=(()=>{class e{constructor(e,t,r,n){this._ngZone=t,this._defaultOptions=n,this._document=r,this._liveElement=e||this._createLiveElement()}announce(e,...t){const r=this._defaultOptions;let n,i;return 1===t.length&&"number"==typeof t[0]?i=t[0]:[n,i]=t,this.clear(),clearTimeout(this._previousTimeout),n||(n=r&&r.politeness?r.politeness:"polite"),null==i&&r&&(i=r.duration),this._liveElement.setAttribute("aria-live",n),this._ngZone.runOutsideAngular(()=>new Promise(t=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,t(),"number"==typeof i&&(this._previousTimeout=setTimeout(()=>this.clear(),i))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}_createLiveElement(){const e="cdk-live-announcer-element",t=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let n=0;n{class e{constructor(e,t,r,n){this._elementRef=e,this._liveAnnouncer=t,this._contentObserver=r,this._ngZone=n,this._politeness="polite"}get politeness(){return this._politeness}set politeness(e){this._politeness="off"===e||"assertive"===e?e:"polite","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(()=>this._contentObserver.observe(this._elementRef).subscribe(()=>{const e=this._elementRef.nativeElement.textContent;e!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(e,this._politeness),this._previousAnnouncedText=e)})))}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(Zw),Ra(Aw),Ra(Ec))},e.\u0275dir=vt({type:e,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]}),e})();function Qw(e){return 0===e.buttons}const Xw=new Fe("cdk-focus-monitor-default-options"),ek=nw({passive:!0,capture:!0});let tk=(()=>{class e{constructor(e,t,r,n){this._ngZone=e,this._platform=t,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._documentKeydownListener=()=>{this._lastTouchTarget=null,this._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=e=>{if(!this._lastTouchTarget){const t=Qw(e)?"keyboard":"mouse";this._setOriginForCurrentEventQueue(t)}},this._documentTouchstartListener=e=>{null!=this._touchTimeoutId&&clearTimeout(this._touchTimeoutId),this._lastTouchTarget=rk(e),this._touchTimeoutId=setTimeout(()=>this._lastTouchTarget=null,650)},this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)},this._rootNodeFocusAndBlurListener=e=>{const t=rk(e),r="focus"===e.type?this._onFocus:this._onBlur;for(let n=t;n;n=n.parentElement)r.call(this,e,n)},this._document=r,this._detectionMode=(null==n?void 0:n.detectionMode)||0}monitor(e,t=!1){const r=Dw(e);if(!this._platform.isBrowser||1!==r.nodeType)return sh(null);const n=function(e){if(function(){if(null==rw){const e="undefined"!=typeof document?document.head:null;rw=!(!e||!e.createShadowRoot&&!e.attachShadow)}return rw}()){const t=e.getRootNode?e.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}(r)||this._getDocument(),i=this._elementInfo.get(r);if(i)return t&&(i.checkChildren=!0),i.subject;const s={checkChildren:t,subject:new M,rootNode:n};return this._elementInfo.set(r,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(e){const t=Dw(e),r=this._elementInfo.get(t);r&&(r.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(r))}focusVia(e,t,r){const n=Dw(e);this._setOriginForCurrentEventQueue(t),"function"==typeof n.focus&&n.focus(r)}ngOnDestroy(){this._elementInfo.forEach((e,t)=>this.stopMonitoring(t))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_toggleClass(e,t,r){r?e.classList.add(t):e.classList.remove(t)}_getFocusOrigin(e){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(e)?"touch":"program"}_setClasses(e,t){this._toggleClass(e,"cdk-focused",!!t),this._toggleClass(e,"cdk-touch-focused","touch"===t),this._toggleClass(e,"cdk-keyboard-focused","keyboard"===t),this._toggleClass(e,"cdk-mouse-focused","mouse"===t),this._toggleClass(e,"cdk-program-focused","program"===t)}_setOriginForCurrentEventQueue(e){this._ngZone.runOutsideAngular(()=>{this._origin=e,0===this._detectionMode&&(this._originTimeoutId=setTimeout(()=>this._origin=null,1))})}_wasCausedByTouch(e){const t=rk(e);return this._lastTouchTarget instanceof Node&&t instanceof Node&&(t===this._lastTouchTarget||t.contains(this._lastTouchTarget))}_onFocus(e,t){const r=this._elementInfo.get(t);if(!r||!r.checkChildren&&t!==rk(e))return;const n=this._getFocusOrigin(e);this._setClasses(t,n),this._emitOrigin(r.subject,n),this._lastFocusOrigin=n}_onBlur(e,t){const r=this._elementInfo.get(t);!r||r.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(r.subject,null))}_emitOrigin(e,t){this._ngZone.run(()=>e.next(t))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const t=e.rootNode,r=this._rootNodeFocusListenerCount.get(t)||0;r||this._ngZone.runOutsideAngular(()=>{t.addEventListener("focus",this._rootNodeFocusAndBlurListener,ek),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,ek)}),this._rootNodeFocusListenerCount.set(t,r+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular(()=>{const e=this._getDocument(),t=this._getWindow();e.addEventListener("keydown",this._documentKeydownListener,ek),e.addEventListener("mousedown",this._documentMousedownListener,ek),e.addEventListener("touchstart",this._documentTouchstartListener,ek),t.addEventListener("focus",this._windowFocusListener)})}_removeGlobalListeners(e){const t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){const e=this._rootNodeFocusListenerCount.get(t);e>1?this._rootNodeFocusListenerCount.set(t,e-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,ek),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,ek),this._rootNodeFocusListenerCount.delete(t))}if(!--this._monitoredElementCount){const e=this._getDocument(),t=this._getWindow();e.removeEventListener("keydown",this._documentKeydownListener,ek),e.removeEventListener("mousedown",this._documentMousedownListener,ek),e.removeEventListener("touchstart",this._documentTouchstartListener,ek),t.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}}return e.\u0275fac=function(t){return new(t||e)($e(Ec),$e($v),$e(ld,8),$e(Xw,8))},e.\u0275prov=de({factory:function(){return new e($e(Ec),$e($v),$e(ld,8),$e(Xw,8))},token:e,providedIn:"root"}),e})();function rk(e){return e.composedPath?e.composedPath()[0]:e.target}let nk=(()=>{class e{constructor(e,t){this._elementRef=e,this._focusMonitor=t,this.cdkFocusChange=new Bl}ngAfterViewInit(){const e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,1===e.nodeType&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(e=>this.cdkFocusChange.emit(e))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(tk))},e.\u0275dir=vt({type:e,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),e})();const ik="cdk-high-contrast-black-on-white",sk="cdk-high-contrast-white-on-black",ak="cdk-high-contrast-active";let ok=(()=>{class e{constructor(e,t){this._platform=e,this._document=t}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const t=this._document.defaultView||window,r=t&&t.getComputedStyle?t.getComputedStyle(e):null,n=(r&&r.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(e),n){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(ak),e.remove(ik),e.remove(sk);const t=this.getHighContrastMode();1===t?(e.add(ak),e.add(ik)):2===t&&(e.add(ak),e.add(sk))}}}return e.\u0275fac=function(t){return new(t||e)($e($v),$e(ld))},e.\u0275prov=de({factory:function(){return new e($e($v),$e(ld))},token:e,providedIn:"root"}),e})(),lk=(()=>{class e{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)($e(ok))},imports:[[Zv,Tw]]}),e})();const ck=new Fe("cdk-dir-doc",{providedIn:"root",factory:function(){return Ze(ld)}});let dk=(()=>{class e{constructor(e){if(this.value="ltr",this.change=new Bl,e){const t=e.documentElement?e.documentElement.dir:null,r=(e.body?e.body.dir:null)||t;this.value="ltr"===r||"rtl"===r?r:"ltr"}}ngOnDestroy(){this.change.complete()}}return e.\u0275fac=function(t){return new(t||e)($e(ck,8))},e.\u0275prov=de({factory:function(){return new e($e(ck,8))},token:e,providedIn:"root"}),e})(),uk=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)}}),e})();const hk=new $o("10.2.4");function fk(e,t){if(1&e&&Na(0,"mat-pseudo-checkbox",3),2&e){const e=Qa();Ia("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}const mk=["*"];let pk=(()=>{class e{}return e.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",e.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",e.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",e.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",e})(),_k=(()=>{class e{}return e.COMPLEX="375ms",e.ENTERING="225ms",e.EXITING="195ms",e})();const gk=new $o("10.2.4"),yk=new Fe("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let bk=(()=>{class e{constructor(e,t,r){this._hasDoneGlobalChecks=!1,this._document=r,e._applyBodyHighContrastModeCssClasses(),this._sanityChecks=t,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_getDocument(){const e=this._document||document;return"object"==typeof e&&e?e:null}_getWindow(){const e=this._getDocument(),t=(null==e?void 0:e.defaultView)||window;return"object"==typeof t&&t?t:null}_checksAreEnabled(){return In()&&!this._isTestEnv()}_isTestEnv(){const e=this._getWindow();return e&&(e.__karma__||e.jasmine)}_checkDoctypeIsDefined(){const e=this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype),t=this._getDocument();e&&t&&!t.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){const e=!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme,t=this._getDocument();if(e||!t||!t.body||"function"!=typeof getComputedStyle)return;const r=t.createElement("div");r.classList.add("mat-theme-loaded-marker"),t.body.appendChild(r);const n=getComputedStyle(r);n&&"none"!==n.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),t.body.removeChild(r)}_checkCdkVersionMatch(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&gk.full!==hk.full&&console.warn("The Angular Material version ("+gk.full+") does not match the Angular CDK version ("+hk.full+").\nPlease ensure the versions of these two packages exactly match.")}}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)($e(ok),$e(yk,8),$e(ld,8))},imports:[[uk],uk]}),e})();function vk(e){return class extends e{constructor(...e){super(...e),this._disabled=!1}get disabled(){return this._disabled}set disabled(e){this._disabled=kw(e)}}}function wk(e,t){return class extends e{constructor(...e){super(...e),this.defaultColor=t,this.color=t}get color(){return this._color}set color(e){const t=e||this.defaultColor;t!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-"+this._color),t&&this._elementRef.nativeElement.classList.add("mat-"+t),this._color=t)}}}function kk(e){return class extends e{constructor(...e){super(...e),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=kw(e)}}}function Mk(e,t=0){return class extends e{constructor(...e){super(...e),this._tabIndex=t,this.defaultTabIndex=t}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?Mw(e):this.defaultTabIndex}}}function Sk(e){return class extends e{constructor(...e){super(...e),this.errorState=!1,this.stateChanges=new M}updateErrorState(){const e=this.errorState,t=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);t!==e&&(this.errorState=t,this.stateChanges.next())}}}function xk(e){return class extends e{constructor(...e){super(...e),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new y(e=>{this._isInitialized?this._notifySubscriber(e):this._pendingSubscribers.push(e)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(e){e.next(),e.complete()}}}const Ck=new Fe("MAT_DATE_LOCALE",{providedIn:"root",factory:function(){return Ze(yc)}});class Dk{constructor(){this._localeChanges=new M,this.localeChanges=this._localeChanges}getValidDateOrNull(e){return this.isDateInstance(e)&&this.isValid(e)?e:null}deserialize(e){return null==e||this.isDateInstance(e)&&this.isValid(e)?e:this.invalid()}setLocale(e){this.locale=e,this._localeChanges.next()}compareDate(e,t){return this.getYear(e)-this.getYear(t)||this.getMonth(e)-this.getMonth(t)||this.getDate(e)-this.getDate(t)}sameDate(e,t){if(e&&t){let r=this.isValid(e),n=this.isValid(t);return r&&n?!this.compareDate(e,t):r==n}return e==t}clampDate(e,t,r){return t&&this.compareDate(e,t)<0?t:r&&this.compareDate(e,r)>0?r:e}}const Lk=new Fe("mat-date-formats");let Ak;try{Ak="undefined"!=typeof Intl}catch(RI){Ak=!1}let Ek=(()=>{class e{isErrorState(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=de({factory:function(){return new e},token:e,providedIn:"root"}),e})(),Tk=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=vt({type:e,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),e})();function Pk(e,t,r){const n=e.nativeElement.classList;r?n.add(t):n.remove(t)}let Yk=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[bk],bk]}),e})();class Rk{constructor(e,t,r){this._renderer=e,this.element=t,this.config=r,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Ok={enterDuration:450,exitDuration:400},Ik=nw({passive:!0}),jk=["mousedown","touchstart"],Fk=["mouseup","mouseleave","touchend","touchcancel"];class Hk{constructor(e,t,r,n){this._target=e,this._ngZone=t,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,n.isBrowser&&(this._containerElement=Dw(r))}fadeInRipple(e,t,r={}){const n=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),i=Object.assign(Object.assign({},Ok),r.animation);r.centered&&(e=n.left+n.width/2,t=n.top+n.height/2);const s=r.radius||function(e,t,r){const n=Math.max(Math.abs(e-r.left),Math.abs(e-r.right)),i=Math.max(Math.abs(t-r.top),Math.abs(t-r.bottom));return Math.sqrt(n*n+i*i)}(e,t,n),a=e-n.left,o=t-n.top,l=i.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=a-s+"px",c.style.top=o-s+"px",c.style.height=2*s+"px",c.style.width=2*s+"px",null!=r.color&&(c.style.backgroundColor=r.color),c.style.transitionDuration=l+"ms",this._containerElement.appendChild(c),window.getComputedStyle(c).getPropertyValue("opacity"),c.style.transform="scale(1)";const d=new Rk(this,c,r);return d.state=0,this._activeRipples.add(d),r.persistent||(this._mostRecentTransientRipple=d),this._runTimeoutOutsideZone(()=>{const e=d===this._mostRecentTransientRipple;d.state=1,r.persistent||e&&this._isPointerDown||d.fadeOut()},l),d}fadeOutRipple(e){const t=this._activeRipples.delete(e);if(e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!t)return;const r=e.element,n=Object.assign(Object.assign({},Ok),e.config.animation);r.style.transitionDuration=n.exitDuration+"ms",r.style.opacity="0",e.state=2,this._runTimeoutOutsideZone(()=>{e.state=3,r.parentNode.removeChild(r)},n.exitDuration)}fadeOutAll(){this._activeRipples.forEach(e=>e.fadeOut())}setupTriggerEvents(e){const t=Dw(e);t&&t!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=t,this._registerEvents(jk))}handleEvent(e){"mousedown"===e.type?this._onMousedown(e):"touchstart"===e.type?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(Fk),this._pointerUpEventsRegistered=!0)}_onMousedown(e){const t=Qw(e),r=this._lastTouchStartEvent&&Date.now(){!e.config.persistent&&(1===e.state||e.config.terminateOnPointerUp&&0===e.state)&&e.fadeOut()}))}_runTimeoutOutsideZone(e,t=0){this._ngZone.runOutsideAngular(()=>setTimeout(e,t))}_registerEvents(e){this._ngZone.runOutsideAngular(()=>{e.forEach(e=>{this._triggerElement.addEventListener(e,this,Ik)})})}_removeTriggerEvents(){this._triggerElement&&(jk.forEach(e=>{this._triggerElement.removeEventListener(e,this,Ik)}),this._pointerUpEventsRegistered&&Fk.forEach(e=>{this._triggerElement.removeEventListener(e,this,Ik)}))}}const Nk=new Fe("mat-ripple-global-options");let Bk=(()=>{class e{constructor(e,t,r,n,i){this._elementRef=e,this._animationMode=i,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=n||{},this._rippleRenderer=new Hk(this,t,e,r)}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,t=0,r){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,t,Object.assign(Object.assign({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),e))}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(Ec),Ra($v),Ra(Nk,8),Ra(Vv,8))},e.\u0275dir=vt({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&fo("mat-ripple-unbounded",t.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),e})(),zk=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[bk,Zv],bk]}),e})(),Uk=(()=>{class e{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1}}return e.\u0275fac=function(t){return new(t||e)(Ra(Vv,8))},e.\u0275cmp=mt({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,t){2&e&&fo("mat-pseudo-checkbox-indeterminate","indeterminate"===t.state)("mat-pseudo-checkbox-checked","checked"===t.state)("mat-pseudo-checkbox-disabled",t.disabled)("_mat-animation-noopable","NoopAnimations"===t._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,t){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),e})(),Vk=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)}}),e})();class Kk{}const Wk=vk(Kk);let qk=0,Gk=(()=>{class e extends Wk{constructor(){super(...arguments),this._labelId="mat-optgroup-label-"+qk++}}return e.\u0275fac=function(t){return $k(t||e)},e.\u0275dir=vt({type:e,inputs:{label:"label"},features:[ga]}),e})();const $k=vn(Gk),Zk=new Fe("MatOptgroup");let Jk=0;class Qk{constructor(e,t=!1){this.source=e,this.isUserInput=t}}const Xk=new Fe("MAT_OPTION_PARENT_COMPONENT");let eM=(()=>{class e{constructor(e,t,r,n){this._element=e,this._changeDetectorRef=t,this._parent=r,this.group=n,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Jk++,this.onSelectionChange=new Bl,this._stateChanges=new M}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=kw(e)}get disableRipple(){return this._parent&&this._parent.disableRipple}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(e,t){const r=this._getHostElement();"function"==typeof r.focus&&r.focus(t)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){e.keyCode!==sw&&e.keyCode!==ow||hw(e)||(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new Qk(this,e))}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(Zs),Ra(void 0),Ra(Gk))},e.\u0275dir=vt({type:e,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),e})(),tM=(()=>{class e extends eM{constructor(e,t,r,n){super(e,t,r,n)}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(Zs),Ra(Xk,8),Ra(Zk,8))},e.\u0275cmp=mt({type:e,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,t){1&e&&qa("click",(function(){return t._selectViaInteraction()}))("keydown",(function(e){return t._handleKeydown(e)})),2&e&&(Ao("id",t.id),Ea("tabindex",t._getTabIndex())("aria-selected",t._getAriaSelected())("aria-disabled",t.disabled.toString()),fo("mat-selected",t.selected)("mat-option-multiple",t.multiple)("mat-active",t.active)("mat-option-disabled",t.disabled))},exportAs:["matOption"],features:[ga],ngContentSelectors:mk,decls:4,vars:3,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"]],template:function(e,t){1&e&&(eo(),Pa(0,fk,1,2,"mat-pseudo-checkbox",0),Fa(1,"span",1),to(2),Ha(),Na(3,"div",2)),2&e&&(Ia("ngIf",t.multiple),Li(3),Ia("matRippleTrigger",t._getHostElement())("matRippleDisabled",t.disabled||t.disableRipple))},directives:[au,Bk,Uk],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.cdk-high-contrast-active .mat-option .mat-option-ripple{opacity:.5}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),e})();function rM(e,t,r){if(r.length){let n=t.toArray(),i=r.toArray(),s=0;for(let t=0;t{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[zk,Mu,Vk]]}),e})();const iM=new Fe("mat-label-global-options"),sM=["*",[["mat-card-footer"]]],aM=["*","mat-card-footer"],oM=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],lM=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"];let cM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=vt({type:e,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),e})(),dM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=vt({type:e,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),e})(),uM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=vt({type:e,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-card-subtitle"]}),e})(),hM=(()=>{class e{constructor(){this.align="start"}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=vt({type:e,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-card-actions"],hostVars:2,hostBindings:function(e,t){2&e&&fo("mat-card-actions-align-end","end"===t.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),e})(),fM=(()=>{class e{constructor(e){this._animationMode=e}}return e.\u0275fac=function(t){return new(t||e)(Ra(Vv,8))},e.\u0275cmp=mt({type:e,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(e,t){2&e&&fo("_mat-animation-noopable","NoopAnimations"===t._animationMode)},exportAs:["matCard"],ngContentSelectors:aM,decls:2,vars:0,template:function(e,t){1&e&&(eo(sM),to(0),to(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child,.mat-card-actions .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"],encapsulation:2,changeDetection:0}),e})(),mM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=mt({type:e,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:lM,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(e,t){1&e&&(eo(oM),to(0),Fa(1,"div",0),to(2,1),Ha(),to(3,2))},encapsulation:2,changeDetection:0}),e})(),pM=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[bk],bk]}),e})();function _M(e,t,r,i){return n(r)&&(i=r,r=void 0),i?_M(e,t,r).pipe(C(e=>l(e)?i(...e):i(e))):new y(n=>{!function e(t,r,n,i,s){let a;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(t)){const e=t;t.addEventListener(r,n,s),a=()=>e.removeEventListener(r,n,s)}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(t)){const e=t;t.on(r,n),a=()=>e.off(r,n)}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(t)){const e=t;t.addListener(r,n),a=()=>e.removeListener(r,n)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let a=0,o=t.length;a1?Array.prototype.slice.call(arguments):e)}),n,r)})}function gM(e){return t=>t.lift(new yM(e))}class yM{constructor(e){this.notifier=e}call(e,t){const r=new bM(e),n=H(this.notifier,new j(r));return n&&!r.seenValue?(r.add(n),t.subscribe(r)):r}}class bM extends F{constructor(e){super(e),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}const vM=["underline"],wM=["connectionContainer"],kM=["inputContainer"],MM=["label"];function SM(e,t){1&e&&(Ba(0),Fa(1,"div",14),Na(2,"div",15),Na(3,"div",16),Na(4,"div",17),Ha(),Fa(5,"div",18),Na(6,"div",15),Na(7,"div",16),Na(8,"div",17),Ha(),za())}function xM(e,t){1&e&&(Fa(0,"div",19),to(1,1),Ha())}function CM(e,t){if(1&e&&(Ba(0),to(1,2),Fa(2,"span"),xo(3),Ha(),za()),2&e){const e=Qa(2);Li(3),Co(e._control.placeholder)}}function DM(e,t){1&e&&to(0,3,["*ngSwitchCase","true"])}function LM(e,t){1&e&&(Fa(0,"span",23),xo(1," *"),Ha())}function AM(e,t){if(1&e){const e=Va();Fa(0,"label",20,21),qa("cdkObserveContent",(function(){return or(e),Qa().updateOutlineGap()})),Pa(2,CM,4,1,"ng-container",12),Pa(3,DM,1,0,"ng-content",12),Pa(4,LM,2,0,"span",22),Ha()}if(2&e){const e=Qa();fo("mat-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-form-field-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-accent","accent"==e.color)("mat-warn","warn"==e.color),Ia("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),Ea("for",e._control.id)("aria-owns",e._control.id),Li(2),Ia("ngSwitchCase",!1),Li(1),Ia("ngSwitchCase",!0),Li(1),Ia("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function EM(e,t){1&e&&(Fa(0,"div",24),to(1,4),Ha())}function TM(e,t){if(1&e&&(Fa(0,"div",25,26),Na(2,"span",27),Ha()),2&e){const e=Qa();Li(2),fo("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function PM(e,t){1&e&&(Fa(0,"div"),to(1,5),Ha()),2&e&&Ia("@transitionMessages",Qa()._subscriptAnimationState)}function YM(e,t){if(1&e&&(Fa(0,"div",31),xo(1),Ha()),2&e){const e=Qa(2);Ia("id",e._hintLabelId),Li(1),Co(e.hintLabel)}}function RM(e,t){if(1&e&&(Fa(0,"div",28),Pa(1,YM,2,2,"div",29),to(2,6),Na(3,"div",30),to(4,7),Ha()),2&e){const e=Qa();Ia("@transitionMessages",e._subscriptAnimationState),Li(1),Ia("ngIf",e.hintLabel)}}const OM=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],IM=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let jM=0;const FM=new Fe("MatError");let HM=(()=>{class e{constructor(){this.id="mat-error-"+jM++}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=vt({type:e,selectors:[["mat-error"]],hostAttrs:["role","alert",1,"mat-error"],hostVars:1,hostBindings:function(e,t){2&e&&Ea("id",t.id)},inputs:{id:"id"},features:[Fo([{provide:FM,useExisting:e}])]}),e})();const NM={transitionMessages:ly("transitionMessages",[fy("enter",hy({opacity:1,transform:"translateY(0%)"})),py("void => enter",[hy({opacity:0,transform:"translateY(-100%)"}),cy("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let BM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=vt({type:e}),e})(),zM=0;const UM=new Fe("MatHint");let VM=(()=>{class e{constructor(){this.align="start",this.id="mat-hint-"+zM++}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=vt({type:e,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(e,t){2&e&&(Ea("id",t.id)("align",null),fo("mat-right","end"==t.align))},inputs:{align:"align",id:"id"},features:[Fo([{provide:UM,useExisting:e}])]}),e})(),KM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=vt({type:e,selectors:[["mat-label"]]}),e})(),WM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=vt({type:e,selectors:[["mat-placeholder"]]}),e})();const qM=new Fe("MatPrefix"),GM=new Fe("MatSuffix");let $M=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=vt({type:e,selectors:[["","matSuffix",""]],features:[Fo([{provide:GM,useExisting:e}])]}),e})(),ZM=0;class JM{constructor(e){this._elementRef=e}}const QM=wk(JM,"primary"),XM=new Fe("MAT_FORM_FIELD_DEFAULT_OPTIONS"),eS=new Fe("MatFormField");let tS=(()=>{class e extends QM{constructor(e,t,r,n,i,s,a,o){super(e),this._elementRef=e,this._changeDetectorRef=t,this._dir=n,this._defaults=i,this._platform=s,this._ngZone=a,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new M,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+ZM++,this._labelId="mat-form-field-label-"+ZM++,this._labelOptions=r||{},this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==o,this.appearance=i&&i.appearance?i.appearance:"legacy",this._hideRequiredMarker=!(!i||null==i.hideRequiredMarker)&&i.hideRequiredMarker}get appearance(){return this._appearance}set appearance(e){const t=this._appearance;this._appearance=e||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&t!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=kw(e)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-"+e.controlType),e.stateChanges.pipe(Nh(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(gM(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(gM(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),K(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Nh(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Nh(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(gM(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(e){const t=this._control?this._control.ngControl:null;return t&&t[e]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,_M(this._label.nativeElement,"transitionend").pipe(Ih(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||this._labelOptions.float||"auto"}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const t=this._hintChildren?this._hintChildren.find(e=>"start"===e.align):null,r=this._hintChildren?this._hintChildren.find(e=>"end"===e.align):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),r&&e.push(r.id)}else this._errorChildren&&e.push(...this._errorChildren.map(e=>e.id));this._control.setDescribedByIds(e)}}_validateControlChild(){}updateOutlineGap(){const e=this._label?this._label.nativeElement:null;if("outline"!==this.appearance||!e||!e.children.length||!e.textContent.trim())return;if(!this._platform.isBrowser)return;if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let t=0,r=0;const n=this._connectionContainerRef.nativeElement,i=n.querySelectorAll(".mat-form-field-outline-start"),s=n.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){const i=n.getBoundingClientRect();if(0===i.width&&0===i.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const s=this._getStartEnd(i),a=e.children,o=this._getStartEnd(a[0].getBoundingClientRect());let l=0;for(let e=0;e0?.75*l+10:0}for(let a=0;a{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Mu,bk,Tw],bk]}),e})();class nS{constructor(e){this.durationSelector=e}call(e,t){return t.subscribe(new iS(e,this.durationSelector))}}class iS extends F{constructor(e,t){super(e),this.durationSelector=t,this.hasValue=!1}_next(e){if(this.value=e,this.hasValue=!0,!this.throttled){let r;try{const{durationSelector:t}=this;r=t(e)}catch(t){return this.destination.error(t)}const n=H(r,new j(this));!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}}clearThrottle(){const{value:e,hasValue:t,throttled:r}=this;r&&(this.remove(r),this.throttled=void 0,r.unsubscribe()),t&&(this.value=void 0,this.hasValue=!1,this.destination.next(e))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function sS(e){return!l(e)&&e-parseFloat(e)+1>=0}function aS(e=0,t,r){let n=-1;return sS(t)?n=Number(t)<1?1:Number(t):x(t)&&(r=t),x(r)||(r=gw),new y(t=>{const i=sS(e)?e:+e-r.now();return r.schedule(oS,i,{index:0,period:n,subscriber:t})})}function oS(e){const{index:t,period:r,subscriber:n}=e;if(n.next(t),!n.closed){if(-1===r)return n.complete();e.index=t+1,this.schedule(e,r)}}function lS(e,t=gw){return r=()=>aS(e,t),function(e){return e.lift(new nS(r))};var r}const cS=nw({passive:!0});let dS=(()=>{class e{constructor(e,t){this._platform=e,this._ngZone=t,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return ph;const t=Dw(e),r=this._monitoredElements.get(t);if(r)return r.subject;const n=new M,i="cdk-text-field-autofilled",s=e=>{"cdk-text-field-autofill-start"!==e.animationName||t.classList.contains(i)?"cdk-text-field-autofill-end"===e.animationName&&t.classList.contains(i)&&(t.classList.remove(i),this._ngZone.run(()=>n.next({target:e.target,isAutofilled:!1}))):(t.classList.add(i),this._ngZone.run(()=>n.next({target:e.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{t.addEventListener("animationstart",s,cS),t.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(t,{subject:n,unlisten:()=>{t.removeEventListener("animationstart",s,cS)}}),n}stopMonitoring(e){const t=Dw(e),r=this._monitoredElements.get(t);r&&(r.unlisten(),r.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))}ngOnDestroy(){this._monitoredElements.forEach((e,t)=>this.stopMonitoring(t))}}return e.\u0275fac=function(t){return new(t||e)($e($v),$e(Ec))},e.\u0275prov=de({factory:function(){return new e($e($v),$e(Ec))},token:e,providedIn:"root"}),e})(),uS=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Zv]]}),e})();const hS=new Fe("MAT_INPUT_VALUE_ACCESSOR"),fS=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let mS=0;class pS{constructor(e,t,r,n){this._defaultErrorStateMatcher=e,this._parentForm=t,this._parentFormGroup=r,this.ngControl=n}}const _S=Sk(pS);let gS=(()=>{class e extends _S{constructor(e,t,r,n,i,s,a,o,l,c){super(s,n,i,r),this._elementRef=e,this._platform=t,this.ngControl=r,this._autofillMonitor=o,this._formField=c,this._uid="mat-input-"+mS++,this.focused=!1,this.stateChanges=new M,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._required=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(e=>Qv().has(e));const d=this._elementRef.nativeElement,u=d.nodeName.toLowerCase();this._inputValueAccessor=a||d,this._previousNativeValue=this.value,this.id=this.id,t.IOS&&l.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",e=>{let t=e.target;t.value||t.selectionStart||t.selectionEnd||(t.setSelectionRange(1,1),t.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===u,this._isTextarea="textarea"===u,this._isNativeSelect&&(this.controlType=d.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=kw(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required}set required(e){this._required=kw(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&Qv().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=kw(e)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e===this.focused||this.readonly&&e||(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var e,t;const r=(null===(t=null===(e=this._formField)||void 0===e?void 0:e._hideControlPlaceholder)||void 0===t?void 0:t.call(e))?null:this.placeholder;if(r!==this._previousPlaceholder){const e=this._elementRef.nativeElement;this._previousPlaceholder=r,r?e.setAttribute("placeholder",r):e.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_validateType(){fS.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra($v),Ra(U_,10),Ra(zg,8),Ra(Jg,8),Ra(Ek),Ra(hS,10),Ra(dS),Ra(Ec),Ra(eS,8))},e.\u0275dir=vt({type:e,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:9,hostBindings:function(e,t){1&e&&qa("focus",(function(){return t._focusChanged(!0)}))("blur",(function(){return t._focusChanged(!1)}))("input",(function(){return t._onInput()})),2&e&&(Ao("disabled",t.disabled)("required",t.required),Ea("id",t.id)("data-placeholder",t.placeholder)("readonly",t.readonly&&!t._isNativeSelect||null)("aria-invalid",t.errorState)("aria-required",t.required.toString()),fo("mat-input-server",t._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"]},exportAs:["matInput"],features:[Fo([{provide:BM,useExisting:e}]),ga,Ot]}),e})(),yS=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[Ek],imports:[[uS,rS],uS,rS]}),e})();const bS=["thumbContainer"],vS=["toggleBar"],wS=["input"],kS=function(){return{enterDuration:150}},MS=["*"],SS=new Fe("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})});let xS=0;const CS={provide:R_,useExisting:Me(()=>ES),multi:!0};class DS{constructor(e,t){this.source=e,this.checked=t}}class LS{constructor(e){this._elementRef=e}}const AS=Mk(wk(kk(vk(LS)),"accent"));let ES=(()=>{class e extends AS{constructor(e,t,r,n,i,s){super(e),this._focusMonitor=t,this._changeDetectorRef=r,this.defaults=i,this._animationMode=s,this._onChange=e=>{},this._onTouched=()=>{},this._uniqueId="mat-slide-toggle-"+ ++xS,this._required=!1,this._checked=!1,this.name=null,this.id=this._uniqueId,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new Bl,this.toggleChange=new Bl,this.tabIndex=parseInt(n)||0}get required(){return this._required}set required(e){this._required=kw(e)}get checked(){return this._checked}set checked(e){this._checked=kw(e),this._changeDetectorRef.markForCheck()}get inputId(){return(this.id||this._uniqueId)+"-input"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{"keyboard"===e||"program"===e?this._inputElement.nativeElement.focus():e||Promise.resolve().then(()=>this._onTouched())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onChangeEvent(e){e.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(e){e.stopPropagation()}writeValue(e){this.checked=!!e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck()}focus(e){this._focusMonitor.focusVia(this._inputElement,"keyboard",e)}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(new DS(this,this.checked))}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(tk),Ra(Zs),Oa("tabindex"),Ra(SS),Ra(Vv,8))},e.\u0275cmp=mt({type:e,selectors:[["mat-slide-toggle"]],viewQuery:function(e,t){var r;1&e&&(ec(bS,!0),ec(vS,!0),ec(wS,!0)),2&e&&(Ql(r=sc())&&(t._thumbEl=r.first),Ql(r=sc())&&(t._thumbBarEl=r.first),Ql(r=sc())&&(t._inputElement=r.first))},hostAttrs:[1,"mat-slide-toggle"],hostVars:12,hostBindings:function(e,t){2&e&&(Ao("id",t.id),Ea("tabindex",t.disabled?null:-1)("aria-label",null)("aria-labelledby",null),fo("mat-checked",t.checked)("mat-disabled",t.disabled)("mat-slide-toggle-label-before","before"==t.labelPosition)("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[Fo([CS]),ga],ngContentSelectors:MS,decls:16,vars:18,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["toggleBar",""],["type","checkbox","role","switch",1,"mat-slide-toggle-input","cdk-visually-hidden",3,"id","required","tabIndex","checked","disabled","change","click"],["input",""],[1,"mat-slide-toggle-thumb-container"],["thumbContainer",""],[1,"mat-slide-toggle-thumb"],["mat-ripple","",1,"mat-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-slide-toggle-persistent-ripple"],[1,"mat-slide-toggle-content",3,"cdkObserveContent"],["labelContent",""],[2,"display","none"]],template:function(e,t){if(1&e&&(eo(),Fa(0,"label",0,1),Fa(2,"div",2,3),Fa(4,"input",4,5),qa("change",(function(e){return t._onChangeEvent(e)}))("click",(function(e){return t._onInputClick(e)})),Ha(),Fa(6,"div",6,7),Na(8,"div",8),Fa(9,"div",9),Na(10,"div",10),Ha(),Ha(),Ha(),Fa(11,"span",11,12),qa("cdkObserveContent",(function(){return t._onLabelTextChange()})),Fa(13,"span",13),xo(14,"\xa0"),Ha(),to(15),Ha(),Ha()),2&e){const e=Ya(1),r=Ya(12);Ea("for",t.inputId),Li(2),fo("mat-slide-toggle-bar-no-side-margin",!r.textContent||!r.textContent.trim()),Li(2),Ia("id",t.inputId)("required",t.required)("tabIndex",t.tabIndex)("checked",t.checked)("disabled",t.disabled),Ea("name",t.name)("aria-checked",t.checked.toString())("aria-label",t.ariaLabel)("aria-labelledby",t.ariaLabelledby),Li(5),Ia("matRippleTrigger",e)("matRippleDisabled",t.disableRipple||t.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",Rl(17,kS))}},directives:[Bk,Ew],styles:[".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:transparent}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}.cdk-high-contrast-active .mat-slide-toggle.cdk-keyboard-focused .mat-slide-toggle-bar{outline:2px dotted;outline-offset:5px}\n"],encapsulation:2,changeDetection:0}),e})(),TS=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)}}),e})(),PS=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[TS,zk,bk,Tw],TS,bk]}),e})();const YS=["mat-button",""],RS=["*"],OS=".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.cdk-high-contrast-active .mat-button-focus-overlay{background-color:#fff}.cdk-high-contrast-black-on-white .mat-button-focus-overlay{background-color:#000}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}\n",IS=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"];class jS{constructor(e){this._elementRef=e}}const FS=wk(vk(kk(jS)));let HS=(()=>{class e extends FS{constructor(e,t,r){super(e),this._focusMonitor=t,this._animationMode=r,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const n of IS)this._hasHostAttributes(n)&&this._getHostElement().classList.add(n);e.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e="program",t){this._focusMonitor.focusVia(this._getHostElement(),e,t)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...e){return e.some(e=>this._getHostElement().hasAttribute(e))}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(tk),Ra(Vv,8))},e.\u0275cmp=mt({type:e,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(e,t){var r;1&e&&ec(Bk,!0),2&e&&Ql(r=sc())&&(t.ripple=r.first)},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,t){2&e&&(Ea("disabled",t.disabled||null),fo("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-button-disabled",t.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[ga],attrs:YS,ngContentSelectors:RS,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,t){1&e&&(eo(),Fa(0,"span",0),to(1),Ha(),Na(2,"span",1),Na(3,"span",2)),2&e&&(Li(2),fo("mat-button-ripple-round",t.isRoundButton||t.isIconButton),Ia("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[Bk],styles:[OS],encapsulation:2,changeDetection:0}),e})(),NS=(()=>{class e extends HS{constructor(e,t,r){super(t,e,r)}_haltDisabledEvents(e){this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}}return e.\u0275fac=function(t){return new(t||e)(Ra(tk),Ra(zo),Ra(Vv,8))},e.\u0275cmp=mt({type:e,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(e,t){1&e&&qa("click",(function(e){return t._haltDisabledEvents(e)})),2&e&&(Ea("tabindex",t.disabled?-1:t.tabIndex||0)("disabled",t.disabled||null)("aria-disabled",t.disabled.toString()),fo("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-button-disabled",t.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[ga],attrs:YS,ngContentSelectors:RS,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,t){1&e&&(eo(),Fa(0,"span",0),to(1),Ha(),Na(2,"span",1),Na(3,"span",2)),2&e&&(Li(2),fo("mat-button-ripple-round",t.isRoundButton||t.isIconButton),Ia("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[Bk],styles:[OS],encapsulation:2,changeDetection:0}),e})(),BS=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[zk,bk],bk]}),e})(),zS=(()=>{class e{constructor(e){this.i18n=e}transform(e,...t){return this.i18n.get(e,t)}}return e.\u0275fac=function(t){return new(t||e)(Ra(D_))},e.\u0275pipe=wt({name:"i18n",type:e,pure:!0}),e})();function US(e,t){1&e&&(Fa(0,"mat-error"),xo(1),Il(2,"i18n"),Ha()),2&e&&(Li(1),Do(" ",jl(2,1,"login.invalid")," "))}let VS=(()=>{class e{constructor(e,t,r,n){this.formBuilder=e,this.authService=t,this.router=r,this.route=n,this.apiUrl=sd,this.targetRoute="/services",this.loginModel={}}ngOnInit(){return C_(this,void 0,void 0,(function*(){this.form=this.formBuilder.group({username:["",Q_.required],password:["",Q_.required],keep:[""]}),this.route.queryParams.subscribe(e=>{e.target&&(this.targetRoute=e.target)})}))}login(){return C_(this,void 0,void 0,(function*(){if(this.loginInvalid=!1,this.form.valid){const e={username:this.form.get("username").value,password:this.form.get("password").value,keep:this.form.get("keep").value};this.authService.login(e).subscribe(e=>{this.router.navigate([this.targetRoute])},e=>{428==e.status?this.router.navigate(["/login/totp"],{queryParams:{target:this.targetRoute}}):this.loginInvalid=!0})}}))}}return e.\u0275fac=function(t){return new(t||e)(Ra(ny),Ra(w_),Ra(bp),Ra(im))},e.\u0275cmp=mt({type:e,selectors:[["app-login"]],decls:29,vars:27,consts:[[3,"formGroup","ngSubmit"],[4,"ngIf"],["id","username","name","username","matInput","","formControlName","username","required","",3,"placeholder"],["id","password","name","password","matInput","","type","password","formControlName","password","required","",3,"placeholder"],["id","keep","name","keep","formControlName","keep"],["type","submit","mat-raised-button","","color","primary",3,"disabled"],["routerLink","/password","mat-raised-button","","color","warn"]],template:function(e,t){1&e&&(Fa(0,"form",0),qa("ngSubmit",(function(){return t.login()})),Fa(1,"mat-card"),Fa(2,"mat-card-content"),Fa(3,"h2"),xo(4),Il(5,"i18n"),Ha(),Pa(6,US,3,3,"mat-error",1),Fa(7,"mat-form-field"),Na(8,"input",2),Il(9,"i18n"),Fa(10,"mat-error"),xo(11),Il(12,"i18n"),Ha(),Ha(),Fa(13,"mat-form-field"),Na(14,"input",3),Il(15,"i18n"),Fa(16,"mat-error"),xo(17),Il(18,"i18n"),Ha(),Ha(),Fa(19,"mat-slide-toggle",4),xo(20),Il(21,"i18n"),Ha(),Ha(),Fa(22,"mat-card-actions"),Fa(23,"button",5),xo(24),Il(25,"i18n"),Ha(),Fa(26,"a",6),xo(27),Il(28,"i18n"),Ha(),Ha(),Ha(),Ha()),2&e&&(Ia("formGroup",t.form),Li(4),Co(jl(5,11,"login")),Li(2),Ia("ngIf",t.loginInvalid),Li(2),ro("placeholder",jl(9,13,"username")),Li(3),Do(" ",jl(12,15,"username.missing")," "),Li(3),ro("placeholder",jl(15,17,"password")),Li(3),Do(" ",jl(18,19,"password.invalid.hint")," "),Li(3),Do(" ",jl(21,21,"login.keepSession")," "),Li(3),Ia("disabled",t.form.invalid),Li(1),Co(jl(25,23,"login")),Li(3),Co(jl(28,25,"password.forgot")))},directives:[Wg,W_,Jg,fM,cM,au,tS,gS,H_,K_,Xg,ty,HM,ES,hM,HS,wp,NS],pipes:[zS],styles:["mat-form-field[_ngcontent-%COMP%]{display:block}"]}),e})();function KS(e,t){1&e&&(Fa(0,"mat-error"),xo(1),Il(2,"i18n"),Ha()),2&e&&(Li(1),Do(" ",jl(2,1,"security.2fa.totp.invalid")," "))}let WS=(()=>{class e{constructor(e,t,r,n){this.formBuilder=e,this.authService=t,this.router=r,this.route=n,this.apiUrl=sd,this.targetRoute="/account/info"}ngOnInit(){this.form=this.formBuilder.group({code:["",Q_.required],keep:[""]}),this.route.queryParams.subscribe(e=>{e.target&&(this.targetRoute=e.target)})}loginTotp(){return C_(this,void 0,void 0,(function*(){if(this.loginInvalid=!1,this.form.valid){const e={code:this.form.get("code").value,keep:this.form.get("keep").value};this.authService.loginTotp(e).subscribe(e=>{this.router.navigate([this.targetRoute])},e=>{this.loginInvalid=!0})}}))}}return e.\u0275fac=function(t){return new(t||e)(Ra(ny),Ra(w_),Ra(bp),Ra(im))},e.\u0275cmp=mt({type:e,selectors:[["app-login"]],decls:20,vars:18,consts:[[3,"formGroup","ngSubmit"],[4,"ngIf"],["id","code","name","code","matInput","","formControlName","code","required","",3,"placeholder"],["id","keep","name","keep","formControlName","keep"],["type","submit","mat-raised-button","","color","primary",3,"disabled"]],template:function(e,t){1&e&&(Fa(0,"form",0),qa("ngSubmit",(function(){return t.loginTotp()})),Fa(1,"mat-card"),Fa(2,"mat-card-content"),Fa(3,"h2"),xo(4),Il(5,"i18n"),Ha(),Pa(6,KS,3,3,"mat-error",1),Fa(7,"mat-form-field"),Na(8,"input",2),Il(9,"i18n"),Fa(10,"mat-error"),xo(11),Il(12,"i18n"),Ha(),Ha(),Fa(13,"mat-slide-toggle",3),xo(14),Il(15,"i18n"),Ha(),Ha(),Fa(16,"mat-card-actions"),Fa(17,"button",4),xo(18),Il(19,"i18n"),Ha(),Ha(),Ha(),Ha()),2&e&&(Ia("formGroup",t.form),Li(4),Co(jl(5,8,"security.2fa.totp")),Li(2),Ia("ngIf",t.loginInvalid),Li(2),ro("placeholder",jl(9,10,"security.2fa.totp.code")),Li(3),Do(" ",jl(12,12,"security.2fa.totp.missing")," "),Li(3),Do(" ",jl(15,14,"security.2fa.totp.keepSession")," "),Li(3),Ia("disabled",t.form.invalid),Li(1),Co(jl(19,16,"security.2fa.totp.login")))},directives:[Wg,W_,Jg,fM,cM,au,tS,gS,H_,K_,Xg,ty,HM,ES,hM,HS],pipes:[zS],styles:["mat-form-field[_ngcontent-%COMP%]{display:block}"]}),e})();function qS(e,t){return new y(t?r=>t.schedule(GS,0,{error:e,subscriber:r}):t=>t.error(e))}function GS({error:e,subscriber:t}){t.error(e)}const $S=["*"];function ZS(e){return Error(`Unable to find icon with the name "${e}"`)}function JS(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function QS(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}class XS{constructor(e,t,r){this.url=e,this.svgText=t,this.options=r}}let ex=(()=>{class e{constructor(e,t,r,n){this._httpClient=e,this._sanitizer=t,this._errorHandler=n,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._defaultFontSetClass="material-icons",this._document=r}addSvgIcon(e,t,r){return this.addSvgIconInNamespace("",e,t,r)}addSvgIconLiteral(e,t,r){return this.addSvgIconLiteralInNamespace("",e,t,r)}addSvgIconInNamespace(e,t,r,n){return this._addSvgIconConfig(e,t,new XS(r,null,n))}addSvgIconLiteralInNamespace(e,t,r,n){const i=this._sanitizer.sanitize(ai.HTML,r);if(!i)throw QS(r);return this._addSvgIconConfig(e,t,new XS("",i,n))}addSvgIconSet(e,t){return this.addSvgIconSetInNamespace("",e,t)}addSvgIconSetLiteral(e,t){return this.addSvgIconSetLiteralInNamespace("",e,t)}addSvgIconSetInNamespace(e,t,r){return this._addSvgIconSetConfig(e,new XS(t,null,r))}addSvgIconSetLiteralInNamespace(e,t,r){const n=this._sanitizer.sanitize(ai.HTML,t);if(!n)throw QS(t);return this._addSvgIconSetConfig(e,new XS("",n,r))}registerFontClassAlias(e,t=e){return this._fontCssClassesByAlias.set(e,t),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const t=this._sanitizer.sanitize(ai.RESOURCE_URL,e);if(!t)throw JS(e);const r=this._cachedIconsByUrl.get(t);return r?sh(tx(r)):this._loadSvgIconFromConfig(new XS(e,null)).pipe($h(e=>this._cachedIconsByUrl.set(t,e)),C(e=>tx(e)))}getNamedSvgIcon(e,t=""){const r=rx(t,e),n=this._svgIconConfigs.get(r);if(n)return this._getSvgFromConfig(n);const i=this._iconSetConfigs.get(t);return i?this._getSvgFromIconSetConfigs(e,i):qS(ZS(r))}ngOnDestroy(){this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?sh(tx(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(C(e=>tx(e)))}_getSvgFromIconSetConfigs(e,t){const r=this._extractIconWithNameFromAnySet(e,t);return r?sh(r):P_(t.filter(e=>!e.svgText).map(e=>this._loadSvgIconSetFromConfig(e).pipe(Uh(t=>{const r=this._sanitizer.sanitize(ai.RESOURCE_URL,e.url);return this._errorHandler.handleError(new Error(`Loading icon set URL: ${r} failed: ${t.message}`)),sh(null)})))).pipe(C(()=>{const r=this._extractIconWithNameFromAnySet(e,t);if(!r)throw ZS(e);return r}))}_extractIconWithNameFromAnySet(e,t){for(let r=t.length-1;r>=0;r--){const n=t[r];if(n.svgText&&n.svgText.indexOf(e)>-1){const t=this._svgElementFromConfig(n),r=this._extractSvgIconFromSet(t,e,n.options);if(r)return r}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe($h(t=>e.svgText=t),C(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?sh(null):this._fetchIcon(e).pipe($h(t=>e.svgText=t))}_extractSvgIconFromSet(e,t,r){const n=e.querySelector(`[id="${t}"]`);if(!n)return null;const i=n.cloneNode(!0);if(i.removeAttribute("id"),"svg"===i.nodeName.toLowerCase())return this._setSvgAttributes(i,r);if("symbol"===i.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(i),r);const s=this._svgElementFromString("");return s.appendChild(i),this._setSvgAttributes(s,r)}_svgElementFromString(e){const t=this._document.createElement("DIV");t.innerHTML=e;const r=t.querySelector("svg");if(!r)throw Error(" tag not found");return r}_toSvgElement(e){const t=this._svgElementFromString(""),r=e.attributes;for(let n=0;nthis._inProgressUrlFetches.delete(s)),X());return this._inProgressUrlFetches.set(s,o),o}_addSvgIconConfig(e,t,r){return this._svgIconConfigs.set(rx(e,t),r),this}_addSvgIconSetConfig(e,t){const r=this._iconSetConfigs.get(e);return r?r.push(t):this._iconSetConfigs.set(e,[t]),this}_svgElementFromConfig(e){if(!e.svgElement){const t=this._svgElementFromString(e.svgText);this._setSvgAttributes(t,e.options),e.svgElement=t}return e.svgElement}}return e.\u0275fac=function(t){return new(t||e)($e(s_,8),$e(eh),$e(ld,8),$e(Sn))},e.\u0275prov=de({factory:function(){return new e($e(s_,8),$e(eh),$e(ld,8),$e(Sn))},token:e,providedIn:"root"}),e})();function tx(e){return e.cloneNode(!0)}function rx(e,t){return e+":"+t}class nx{constructor(e){this._elementRef=e}}const ix=wk(nx),sx=new Fe("mat-icon-location",{providedIn:"root",factory:function(){const e=Ze(ld),t=e?e.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}}),ax=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],ox=ax.map(e=>`[${e}]`).join(", "),lx=/^url\(['"]?#(.*?)['"]?\)$/;let cx=(()=>{class e extends ix{constructor(e,t,r,n,i){super(e),this._iconRegistry=t,this._location=n,this._errorHandler=i,this._inline=!1,this._currentIconFetch=u.EMPTY,r||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=kw(e)}get fontSet(){return this._fontSet}set fontSet(e){this._fontSet=this._cleanupFontValue(e)}get fontIcon(){return this._fontIcon}set fontIcon(e){this._fontIcon=this._cleanupFontValue(e)}_splitIconName(e){if(!e)return["",""];const t=e.split(":");switch(t.length){case 1:return["",t[0]];case 2:return t;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnChanges(e){const t=e.svgIcon;if(this._svgNamespace=null,this._svgName=null,t)if(this._currentIconFetch.unsubscribe(),this.svgIcon){const[e,t]=this._splitIconName(this.svgIcon);e&&(this._svgNamespace=e),t&&(this._svgName=t),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(t,e).pipe(Ih(1)).subscribe(e=>this._setSvgElement(e),r=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${e}:${t}! ${r.message}`))})}else t.previousValue&&this._clearSvgElement();this._usingFontIcon()&&this._updateFontIconClasses()}ngOnInit(){this._usingFontIcon()&&this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const e=this._location.getPathname();e!==this._previousPath&&(this._previousPath=e,this._prependPathToReferences(e))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const t=e.querySelectorAll("style");for(let n=0;n{t.forEach(t=>{r.setAttribute(t.name,`url('${e}#${t.value}')`)})})}_cacheChildrenWithExternalReferences(e){const t=e.querySelectorAll(ox),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let n=0;n{const i=t[n],s=i.getAttribute(e),a=s?s.match(lx):null;if(a){let t=r.get(i);t||(t=[],r.set(i,t)),t.push({name:e,value:a[1]})}})}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(ex),Oa("aria-hidden"),Ra(sx),Ra(Sn))},e.\u0275cmp=mt({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(e,t){2&e&&(Ea("data-mat-icon-type",t._usingFontIcon()?"font":"svg")("data-mat-icon-name",t._svgName||t.fontIcon)("data-mat-icon-namespace",t._svgNamespace||t.fontSet),fo("mat-icon-inline",t.inline)("mat-icon-no-color","primary"!==t.color&&"accent"!==t.color&&"warn"!==t.color))},inputs:{color:"color",inline:"inline",fontSet:"fontSet",fontIcon:"fontIcon",svgIcon:"svgIcon"},exportAs:["matIcon"],features:[ga,Ot],ngContentSelectors:$S,decls:1,vars:0,template:function(e,t){1&e&&(eo(),to(0))},styles:[".mat-icon{background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),e})(),dx=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[bk],bk]}),e})();function ux(e,t){1&e&&(Fa(0,"mat-error"),xo(1),Il(2,"i18n"),Ha()),2&e&&(Li(1),Do(" ",jl(2,1,"login.invalid")," "))}let hx=(()=>{class e{constructor(e){this.formBuilder=e,this.apiUrl=sd}ngOnInit(){return C_(this,void 0,void 0,(function*(){this.form=this.formBuilder.group({username:["",Q_.required],password:["",Q_.required],keep:[""]})}))}}return e.\u0275fac=function(t){return new(t||e)(Ra(ny))},e.\u0275cmp=mt({type:e,selectors:[["app-form-login"]],decls:34,vars:28,consts:[[3,"formGroup"],["ngNoForm","","method","POST",3,"action"],[2,"font-size","1em"],[4,"ngIf"],["id","username","name","username","matInput","","formControlName","username","required","",3,"placeholder"],["id","password","name","password","matInput","","type","password","formControlName","password","required","",3,"placeholder"],["id","keep","name","keep","formControlName","keep"],["type","submit","mat-raised-button","","color","primary",3,"disabled"],["routerLink","/password","mat-raised-button","","color","warn"]],template:function(e,t){1&e&&(Fa(0,"form",0),Fa(1,"form",1),Fa(2,"mat-card"),Fa(3,"mat-card-content"),Fa(4,"h2"),xo(5),Il(6,"i18n"),Fa(7,"mat-icon",2),xo(8,"open_in_new "),Ha(),Ha(),Pa(9,ux,3,3,"mat-error",3),Fa(10,"mat-form-field"),Na(11,"input",4),Il(12,"i18n"),Fa(13,"mat-error"),xo(14),Il(15,"i18n"),Ha(),Ha(),Fa(16,"mat-form-field"),Na(17,"input",5),Il(18,"i18n"),Fa(19,"mat-error"),xo(20),Il(21,"i18n"),Ha(),Ha(),Fa(22,"mat-slide-toggle",6),xo(23),Il(24,"i18n"),Ha(),Ha(),Fa(25,"mat-card-actions"),Fa(26,"button",7),xo(27),Il(28,"i18n"),Fa(29,"mat-icon",2),xo(30,"open_in_new "),Ha(),Ha(),Fa(31,"a",8),xo(32),Il(33,"i18n"),Ha(),Ha(),Ha(),Ha(),Ha()),2&e&&(Ia("formGroup",t.form),Li(1),no("action","",t.apiUrl,"/auth/formlogin",li),Li(4),Co(jl(6,12,"login.external")),Li(4),Ia("ngIf",t.loginInvalid),Li(2),ro("placeholder",jl(12,14,"username")),Li(3),Do(" ",jl(15,16,"username.missing")," "),Li(3),ro("placeholder",jl(18,18,"password")),Li(3),Do(" ",jl(21,20,"password.invalid.hint")," "),Li(3),Do(" ",jl(24,22,"login.keepSession")," "),Li(3),Ia("disabled",t.form.invalid),Li(1),Co(jl(28,24,"login.external")),Li(5),Co(jl(33,26,"password.forgot")))},directives:[Wg,W_,Jg,fM,cM,cx,au,tS,gS,H_,K_,Xg,ty,HM,ES,hM,HS,wp,NS],pipes:[zS],styles:["mat-form-field[_ngcontent-%COMP%]{display:block}"]}),e})();function fx(e,t){1&e&&(Fa(0,"mat-error"),xo(1),Il(2,"i18n"),Ha()),2&e&&(Li(1),Do(" ",jl(2,1,"security.2fa.totp.invalid")," "))}let mx=(()=>{class e{constructor(e){this.formBuilder=e,this.apiUrl=sd}ngOnInit(){return C_(this,void 0,void 0,(function*(){this.form=this.formBuilder.group({code:["",Q_.required],keep:[""]})}))}}return e.\u0275fac=function(t){return new(t||e)(Ra(ny))},e.\u0275cmp=mt({type:e,selectors:[["app-form-login-totp"]],decls:25,vars:19,consts:[[3,"formGroup"],["ngNoForm","","method","POST",3,"action"],[2,"font-size","1em"],[4,"ngIf"],["id","code","name","code","matInput","","formControlName","code","required","",3,"placeholder"],["id","keep","name","keep","formControlName","keep"],["type","submit","mat-raised-button","","color","primary",3,"disabled"]],template:function(e,t){1&e&&(Fa(0,"form",0),Fa(1,"form",1),Fa(2,"mat-card"),Fa(3,"mat-card-content"),Fa(4,"h2"),xo(5),Il(6,"i18n"),Fa(7,"mat-icon",2),xo(8,"open_in_new "),Ha(),Ha(),Pa(9,fx,3,3,"mat-error",3),Fa(10,"mat-form-field"),Na(11,"input",4),Il(12,"i18n"),Fa(13,"mat-error"),xo(14),Il(15,"i18n"),Ha(),Ha(),Fa(16,"mat-slide-toggle",5),xo(17),Il(18,"i18n"),Ha(),Ha(),Fa(19,"mat-card-actions"),Fa(20,"button",6),xo(21),Il(22,"i18n"),Fa(23,"mat-icon",2),xo(24,"open_in_new "),Ha(),Ha(),Ha(),Ha(),Ha(),Ha()),2&e&&(Ia("formGroup",t.form),Li(1),no("action","",t.apiUrl,"/auth/formlogin/totp",li),Li(4),Co(jl(6,9,"security.2fa.totp.external")),Li(4),Ia("ngIf",t.loginInvalid),Li(2),ro("placeholder",jl(12,11,"security.2fa.totp.code")),Li(3),Do(" ",jl(15,13,"security.2fa.totp.missing")," "),Li(3),Do(" ",jl(18,15,"security.2fa.totp.keepSession")," "),Li(3),Ia("disabled",t.form.invalid),Li(1),Co(jl(22,17,"security.2fa.totp.login")))},directives:[Wg,W_,Jg,fM,cM,cx,au,tS,gS,H_,K_,Xg,ty,HM,ES,hM,HS],pipes:[zS],styles:["mat-form-field[_ngcontent-%COMP%]{display:block}"]}),e})();const px=["primaryValueBar"];class _x{constructor(e){this._elementRef=e}}const gx=wk(_x,"primary"),yx=new Fe("mat-progress-bar-location",{providedIn:"root",factory:function(){const e=Ze(ld),t=e?e.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}});let bx=0,vx=(()=>{class e extends gx{constructor(e,t,r,n){super(e),this._elementRef=e,this._ngZone=t,this._animationMode=r,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new Bl,this._animationEndSubscription=u.EMPTY,this.mode="determinate",this.progressbarId="mat-progress-bar-"+bx++;const i=n?n.getPathname().split("#")[0]:"";this._rectangleFillValue=`url('${i}#${this.progressbarId}')`,this._isNoopAnimation="NoopAnimations"===r}get value(){return this._value}set value(e){this._value=wx(Mw(e)||0)}get bufferValue(){return this._bufferValue}set bufferValue(e){this._bufferValue=wx(e||0)}_primaryTransform(){return{transform:`scaleX(${this.value/100})`}}_bufferTransform(){return"buffer"===this.mode?{transform:`scaleX(${this.bufferValue/100})`}:null}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{const e=this._primaryValueBar.nativeElement;this._animationEndSubscription=_M(e,"transitionend").pipe(bh(t=>t.target===e)).subscribe(()=>{"determinate"!==this.mode&&"buffer"!==this.mode||this._ngZone.run(()=>this.animationEnd.next({value:this.value}))})})}ngOnDestroy(){this._animationEndSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(Ec),Ra(Vv,8),Ra(yx,8))},e.\u0275cmp=mt({type:e,selectors:[["mat-progress-bar"]],viewQuery:function(e,t){var r;1&e&&ec(px,!0),2&e&&Ql(r=sc())&&(t._primaryValueBar=r.first)},hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100",1,"mat-progress-bar"],hostVars:4,hostBindings:function(e,t){2&e&&(Ea("aria-valuenow","indeterminate"===t.mode||"query"===t.mode?null:t.value)("mode",t.mode),fo("_mat-animation-noopable",t._isNoopAnimation))},inputs:{color:"color",mode:"mode",value:"value",bufferValue:"bufferValue"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[ga],decls:9,vars:4,consts:[["width","100%","height","4","focusable","false",1,"mat-progress-bar-background","mat-progress-bar-element"],["x","4","y","0","width","8","height","4","patternUnits","userSpaceOnUse",3,"id"],["cx","2","cy","2","r","2"],["width","100%","height","100%"],[1,"mat-progress-bar-buffer","mat-progress-bar-element",3,"ngStyle"],[1,"mat-progress-bar-primary","mat-progress-bar-fill","mat-progress-bar-element",3,"ngStyle"],["primaryValueBar",""],[1,"mat-progress-bar-secondary","mat-progress-bar-fill","mat-progress-bar-element"]],template:function(e,t){1&e&&(Yr(),Fa(0,"svg",0),Fa(1,"defs"),Fa(2,"pattern",1),Na(3,"circle",2),Ha(),Ha(),Na(4,"rect",3),Ha(),nr.lFrame.currentNamespace=null,Na(5,"div",4),Na(6,"div",5,6),Na(8,"div",7)),2&e&&(Li(2),Ia("id",t.progressbarId),Li(2),Ea("fill",t._rectangleFillValue),Li(1),Ia("ngStyle",t._bufferTransform()),Li(1),Ia("ngStyle",t._primaryTransform()))},directives:[fu],styles:['.mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}._mat-animation-noopable.mat-progress-bar{transition:none;animation:none}.mat-progress-bar .mat-progress-bar-element,.mat-progress-bar .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}.mat-progress-bar .mat-progress-bar-background{width:calc(100% + 10px)}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-background{display:none}.mat-progress-bar .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-buffer{border-top:solid 5px;opacity:.5}.mat-progress-bar .mat-progress-bar-secondary{display:none}.mat-progress-bar .mat-progress-bar-fill{animation:none;transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-fill{border-top:solid 4px}.mat-progress-bar .mat-progress-bar-fill::after{animation:none;content:"";display:inline-block;left:0}.mat-progress-bar[dir=rtl],[dir=rtl] .mat-progress-bar{transform:rotateY(180deg)}.mat-progress-bar[mode=query]{transform:rotateZ(180deg)}.mat-progress-bar[mode=query][dir=rtl],[dir=rtl] .mat-progress-bar[mode=query]{transform:rotateZ(180deg) rotateY(180deg)}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-fill,.mat-progress-bar[mode=query] .mat-progress-bar-fill{transition:none}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary,.mat-progress-bar[mode=query] .mat-progress-bar-primary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-translate 2000ms infinite linear;left:-145.166611%}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary,.mat-progress-bar[mode=query] .mat-progress-bar-secondary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-translate 2000ms infinite linear;left:-54.888891%;display:block}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=buffer] .mat-progress-bar-background{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-buffer,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-background{animation:none;transition-duration:1ms}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-8px)}}\n'],encapsulation:2,changeDetection:0}),e})();function wx(e,t=0,r=100){return Math.max(t,Math.min(r,e))}let kx=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Mu,bk],bk]}),e})();function Mx(e,t){1&e&&(Fa(0,"button",5),xo(1),Il(2,"i18n"),Ha()),2&e&&(Ia("disabled",Qa().form.invalid),Li(1),Do(" ",jl(2,2,"password.request")," "))}function Sx(e,t){1&e&&Na(0,"mat-progress-bar",6)}var xx=r("QYcz");let Cx=(()=>{class e{constructor(e,t,r){this.formBuilder=e,this.authService=t,this.router=r,this.model={}}ngOnInit(){this.form=this.formBuilder.group({username:["",Q_.required],privateKey:[""]})}passwordRequest(){return C_(this,void 0,void 0,(function*(){this.working=!0;const{keys:[e]}=yield xx.key.readArmored(this.model.privateKey);this.authService.passwordRequest(this.model.username).subscribe(t=>C_(this,void 0,void 0,(function*(){if(e){const r=yield xx.message.readArmored(t),n=yield xx.decrypt({message:r,privateKeys:[e]});this.working=!1,this.router.navigate(["/password-reset"],{queryParams:{token:n.data.trim()}})}else this.working=!1})))}))}}return e.\u0275fac=function(t){return new(t||e)(Ra(ny),Ra(w_),Ra(bp))},e.\u0275cmp=mt({type:e,selectors:[["app-password"]],decls:20,vars:17,consts:[[3,"formGroup","ngSubmit"],["matInput","","formControlName","username",3,"placeholder","ngModel","ngModelChange"],["matInput","","formControlName","privateKey","placeholder","Private Key",3,"ngModel","ngModelChange"],["mat-raised-button","","color","primary",3,"disabled",4,"ngIf"],["mode","indeterminate",4,"ngIf"],["mat-raised-button","","color","primary",3,"disabled"],["mode","indeterminate"]],template:function(e,t){1&e&&(Fa(0,"form",0),qa("ngSubmit",(function(){return t.passwordRequest()})),Fa(1,"mat-card"),Fa(2,"mat-card-content"),Fa(3,"h2"),xo(4),Il(5,"i18n"),Ha(),Fa(6,"mat-form-field"),Fa(7,"input",1),qa("ngModelChange",(function(e){return t.model.username=e})),Il(8,"i18n"),Ha(),Fa(9,"mat-error"),xo(10),Il(11,"i18n"),Ha(),Ha(),Fa(12,"mat-form-field"),Fa(13,"mat-label"),xo(14),Il(15,"i18n"),Ha(),Fa(16,"textarea",2),qa("ngModelChange",(function(e){return t.model.privateKey=e})),Ha(),Ha(),Ha(),Fa(17,"mat-card-actions"),Pa(18,Mx,3,4,"button",3),Pa(19,Sx,1,0,"mat-progress-bar",4),Ha(),Ha(),Ha()),2&e&&(Ia("formGroup",t.form),Li(4),Co(jl(5,9,"password.request")),Li(3),ro("placeholder",jl(8,11,"username")),Ia("ngModel",t.model.username),Li(3),Do(" ",jl(11,13,"username.missing")," "),Li(4),Co(jl(15,15,"pgp.privateKey")),Li(2),Ia("ngModel",t.model.privateKey),Li(2),Ia("ngIf",!t.working),Li(1),Ia("ngIf",t.working))},directives:[Wg,W_,Jg,fM,cM,tS,gS,H_,K_,Xg,HM,KM,hM,au,HS,vx],pipes:[zS],styles:["mat-form-field[_ngcontent-%COMP%]{display:block}"]}),e})();function Dx(e,t){return r=>{const n=r.controls[t];n.errors&&!n.errors.matchingValidator||n.setErrors(r.controls[e].value!==n.value?{matchingValidator:!0}:null)}}function Lx(e,t){1&e&&(Fa(0,"mat-error"),xo(1),Il(2,"i18n"),Ha()),2&e&&(Li(1),Do(" ",jl(2,1,"password.reset.tokenInvalid")," "))}function Ax(e,t){if(1&e&&(Fa(0,"mat-error"),xo(1),Ha()),2&e){const e=t.$implicit;Li(1),Do(" ",e.key," ")}}function Ex(e,t){1&e&&(Fa(0,"button",8),xo(1),Il(2,"i18n"),Ha()),2&e&&(Ia("disabled",Qa(2).form.invalid),Li(1),Do(" ",jl(2,2,"password.reset")," "))}function Tx(e,t){1&e&&Na(0,"mat-progress-bar",9)}function Px(e,t){if(1&e){const e=Va();Fa(0,"form",2),qa("ngSubmit",(function(){return or(e),Qa().passwordReset()})),Fa(1,"mat-card"),Fa(2,"mat-card-content"),Fa(3,"h2"),xo(4),Il(5,"i18n"),Ha(),Pa(6,Lx,3,3,"mat-error",1),Fa(7,"mat-form-field"),Fa(8,"input",3),qa("ngModelChange",(function(t){return or(e),Qa().model.password=t})),Il(9,"i18n"),Ha(),Pa(10,Ax,2,1,"mat-error",4),Il(11,"keyvalue"),Ha(),Fa(12,"mat-form-field"),Fa(13,"input",5),qa("ngModelChange",(function(t){return or(e),Qa().model.password2=t})),Il(14,"i18n"),Ha(),Fa(15,"mat-error"),xo(16),Il(17,"i18n"),Ha(),Ha(),Ha(),Fa(18,"mat-card-actions"),Pa(19,Ex,3,4,"button",6),Pa(20,Tx,1,0,"mat-progress-bar",7),Ha(),Ha(),Ha()}if(2&e){const e=Qa();Ia("formGroup",e.form),Li(4),Co(jl(5,11,"password.reset")),Li(2),Ia("ngIf",e.tokenInvalid),Li(2),ro("placeholder",jl(9,13,"password")),Ia("ngModel",e.model.password),Li(2),Ia("ngForOf",jl(11,15,e.form.get("password").errors)),Li(3),ro("placeholder",jl(14,17,"password.confirm")),Ia("ngModel",e.model.password2),Li(3),Do(" ",jl(17,19,"password.not-match")," "),Li(3),Ia("ngIf",!e.working),Li(1),Ia("ngIf",e.working)}}function Yx(e,t){1&e&&(Fa(0,"mat-card"),Fa(1,"mat-card-content"),Fa(2,"h2"),xo(3),Il(4,"i18n"),Ha(),Fa(5,"p"),xo(6),Il(7,"i18n"),Ha(),Ha(),Fa(8,"mat-card-actions"),Fa(9,"a",10),xo(10),Il(11,"i18n"),Ha(),Ha(),Ha()),2&e&&(Li(3),Co(jl(4,3,"password.reset.success.title")),Li(3),Co(jl(7,5,"password.reset.success.text")),Li(4),Do(" ",jl(11,7,"password.reset.login")," "))}let Rx=(()=>{class e{constructor(e,t,r,n){this.formBuilder=e,this.authService=t,this.router=r,this.route=n,this.model={},this.tokenInvalid=!1}ngOnInit(){this.form=this.formBuilder.group({password:["",Q_.required],password2:["",Q_.required]},{validator:Dx("password","password2")}),this.route.queryParams.subscribe(e=>{e.token&&(this.model.token=e.token)})}passwordReset(){this.working=!0,this.authService.passwordReset(this.model).subscribe(e=>{this.success=!0},e=>{if(this.working=!1,409==e.status){let t={};for(let r of e.error)t[r.field]=t[r.field]||{},t[r.field][r.code]=!0;for(let e in t)this.form.get(e).setErrors(t[e])}else this.tokenInvalid=!0})}}return e.\u0275fac=function(t){return new(t||e)(Ra(ny),Ra(w_),Ra(bp),Ra(im))},e.\u0275cmp=mt({type:e,selectors:[["app-password-reset"]],decls:2,vars:2,consts:[[3,"formGroup","ngSubmit",4,"ngIf"],[4,"ngIf"],[3,"formGroup","ngSubmit"],["matInput","","type","password","formControlName","password",3,"placeholder","ngModel","ngModelChange"],[4,"ngFor","ngForOf"],["matInput","","type","password","length","6","formControlName","password2",3,"placeholder","ngModel","ngModelChange"],["mat-raised-button","","color","primary",3,"disabled",4,"ngIf"],["mode","indeterminate",4,"ngIf"],["mat-raised-button","","color","primary",3,"disabled"],["mode","indeterminate"],["routerLink","/login","mat-raised-button","","color","primary"]],template:function(e,t){1&e&&(Pa(0,Px,21,21,"form",0),Pa(1,Yx,12,9,"mat-card",1)),2&e&&(Ia("ngIf",!t.success),Li(1),Ia("ngIf",t.success))},directives:[au,Wg,W_,Jg,fM,cM,tS,gS,H_,K_,Xg,iu,HM,hM,HS,vx,wp,NS],pipes:[zS,wu],styles:["mat-form-field[_ngcontent-%COMP%]{display:block}"]}),e})();class Ox{attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;null!=e&&(this._attachedHost=null,e.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(e){this._attachedHost=e}}class Ix extends Ox{constructor(e,t,r,n){super(),this.component=e,this.viewContainerRef=t,this.injector=r,this.componentFactoryResolver=n}}class jx extends Ox{constructor(e,t,r){super(),this.templateRef=e,this.viewContainerRef=t,this.context=r}get origin(){return this.templateRef.elementRef}attach(e,t=this.context){return this.context=t,super.attach(e)}detach(){return this.context=void 0,super.detach()}}class Fx extends Ox{constructor(e){super(),this.element=e instanceof zo?e.nativeElement:e}}class Hx{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){return e instanceof Ix?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof jx?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof Fx?(this._attachedPortal=e,this.attachDomPortal(e)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class Nx extends Hx{constructor(e,t,r,n,i){super(),this.outletElement=e,this._componentFactoryResolver=t,this._appRef=r,this._defaultInjector=n,this.attachDomPortal=e=>{const t=e.element,r=this._document.createComment("dom-portal");t.parentNode.insertBefore(r,t),this.outletElement.appendChild(t),super.setDisposeFn(()=>{r.parentNode&&r.parentNode.replaceChild(t,r)})},this._document=i}attachComponentPortal(e){const t=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);let r;return e.viewContainerRef?(r=e.viewContainerRef.createComponent(t,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector),this.setDisposeFn(()=>r.destroy())):(r=t.create(e.injector||this._defaultInjector),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),r}attachTemplatePortal(e){let t=e.viewContainerRef,r=t.createEmbeddedView(e.templateRef,e.context);return r.rootNodes.forEach(e=>this.outletElement.appendChild(e)),r.detectChanges(),this.setDisposeFn(()=>{let e=t.indexOf(r);-1!==e&&t.remove(e)}),r}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(e){return e.hostView.rootNodes[0]}}let Bx=(()=>{class e extends Hx{constructor(e,t,r){super(),this._componentFactoryResolver=e,this._viewContainerRef=t,this._isInitialized=!1,this.attached=new Bl,this.attachDomPortal=e=>{const t=e.element,r=this._document.createComment("dom-portal");e.setAttachedHost(this),t.parentNode.insertBefore(r,t),this._getRootNode().appendChild(t),super.setDisposeFn(()=>{r.parentNode&&r.parentNode.replaceChild(t,r)})},this._document=r}get portal(){return this._attachedPortal}set portal(e){(!this.hasAttached()||e||this._isInitialized)&&(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(e){e.setAttachedHost(this);const t=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,r=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),n=t.createComponent(r,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(n.hostView.rootNodes[0]),super.setDisposeFn(()=>n.destroy()),this._attachedPortal=e,this._attachedRef=n,this.attached.emit(n),n}attachTemplatePortal(e){e.setAttachedHost(this);const t=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=t,this.attached.emit(t),t}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return e.\u0275fac=function(t){return new(t||e)(Ra(Bo),Ra(ml),Ra(ld))},e.\u0275dir=vt({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[ga]}),e})(),zx=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)}}),e})();function Ux(e,t){return r=>r.lift(new Vx(e,t))}class Vx{constructor(e,t){this.compare=e,this.keySelector=t}call(e,t){return t.subscribe(new Kx(e,this.compare,this.keySelector))}}class Kx extends m{constructor(e,t,r){super(e),this.keySelector=r,this.hasKey=!1,"function"==typeof t&&(this.compare=t)}compare(e,t){return e===t}_next(e){let t;try{const{keySelector:r}=this;t=r?r(e):e}catch(n){return this.destination.error(n)}let r=!1;if(this.hasKey)try{const{compare:e}=this;r=e(this.key,t)}catch(n){return this.destination.error(n)}else this.hasKey=!0;r||(this.key=t,this.destination.next(e))}}let Wx=1;const qx=(()=>Promise.resolve())(),Gx={};function $x(e){return e in Gx&&(delete Gx[e],!0)}const Zx={setImmediate(e){const t=Wx++;return Gx[t]=!0,qx.then(()=>$x(t)&&e()),t},clearImmediate(e){$x(e)}};class Jx extends mw{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,r=0){return null!==r&&r>0?super.requestAsyncId(e,t,r):(e.actions.push(this),e.scheduled||(e.scheduled=Zx.setImmediate(e.flush.bind(e,null))))}recycleAsyncId(e,t,r=0){if(null!==r&&r>0||null===r&&this.delay>0)return super.recycleAsyncId(e,t,r);0===e.actions.length&&(Zx.clearImmediate(t),e.scheduled=void 0)}}class Qx extends _w{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let r,n=-1,i=t.length;e=e||t.shift();do{if(r=e.execute(e.state,e.delay))break}while(++n{class e{constructor(e,t,r){this.kind=e,this.value=t,this.error=r,this.hasValue="N"===e}observe(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}do(e,t,r){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return r&&r()}}accept(e,t,r){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,r)}toObservable(){switch(this.kind){case"N":return sh(this.value);case"E":return qS(this.error);case"C":return _h()}throw new Error("unexpected notification kind value")}static createNext(t){return void 0!==t?new e("N",t):e.undefinedValueNotification}static createError(t){return new e("E",void 0,t)}static createComplete(){return e.completeNotification}}return e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e})();function tC(e){return e&&"function"==typeof e.connect}class rC{applyChanges(e,t,r,n,i){e.forEachOperation((e,n,s)=>{let a,o;if(null==e.previousIndex){const i=r(e,n,s);a=t.createEmbeddedView(i.templateRef,i.context,i.index),o=1}else null==s?(t.remove(n),o=3):(a=t.get(n),t.move(a,s),o=2);i&&i({context:null==a?void 0:a.context,operation:o,record:e})})}detach(){}}class nC{constructor(e=!1,t,r=!0){this._multiple=e,this._emitChanges=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new M,t&&t.length&&(e?t.forEach(e=>this._markSelected(e)):this._markSelected(t[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...e){this._verifyValueAssignment(e),e.forEach(e=>this._markSelected(e)),this._emitChangeEvent()}deselect(...e){this._verifyValueAssignment(e),e.forEach(e=>this._unmarkSelected(e)),this._emitChangeEvent()}toggle(e){this.isSelected(e)?this.deselect(e):this.select(e)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(e){return this._selection.has(e)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(e){this._multiple&&this.selected&&this._selected.sort(e)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(e){this.isSelected(e)||(this._multiple||this._unmarkAll(),this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}_unmarkSelected(e){this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}_unmarkAll(){this.isEmpty()||this._selection.forEach(e=>this._unmarkSelected(e))}_verifyValueAssignment(e){}}const iC=new Fe("_ViewRepeater");let sC=(()=>{class e{constructor(e,t,r){this._ngZone=e,this._platform=t,this._scrolled=new M,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new y(t=>{this._globalSubscription||this._addGlobalListener();const r=e>0?this._scrolled.pipe(lS(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):sh()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,t)=>this.deregister(t)),this._scrolled.complete()}ancestorScrolled(e,t){const r=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(bh(e=>!e||r.indexOf(e)>-1))}getAncestorScrollContainers(e){const t=[];return this.scrollContainers.forEach((r,n)=>{this._scrollableContainsElement(n,e)&&t.push(n)}),t}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollableContainsElement(e,t){let r=t.nativeElement,n=e.getElementRef().nativeElement;do{if(r==n)return!0}while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>_M(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return e.\u0275fac=function(t){return new(t||e)($e(Ec),$e($v),$e(ld,8))},e.\u0275prov=de({factory:function(){return new e($e(Ec),$e($v),$e(ld,8))},token:e,providedIn:"root"}),e})(),aC=(()=>{class e{constructor(e,t,r,n){this.elementRef=e,this.scrollDispatcher=t,this.ngZone=r,this.dir=n,this._destroyed=new M,this._elementScrolled=new y(e=>this.ngZone.runOutsideAngular(()=>_M(this.elementRef.nativeElement,"scroll").pipe(gM(this._destroyed)).subscribe(e)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){const t=this.elementRef.nativeElement,r=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=r?e.end:e.start),null==e.right&&(e.right=r?e.start:e.end),null!=e.bottom&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),r&&0!=iw()?(null!=e.left&&(e.right=t.scrollWidth-t.clientWidth-e.left),2==iw()?e.left=e.right:1==iw()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){const t=this.elementRef.nativeElement;!function(){if(null==tw)if("object"==typeof document&&document||(tw=!1),"scrollBehavior"in document.documentElement.style)tw=!0;else{const e=Element.prototype.scrollTo;tw=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}return tw}()?(null!=e.top&&(t.scrollTop=e.top),null!=e.left&&(t.scrollLeft=e.left)):t.scrollTo(e)}measureScrollOffset(e){const t="left",r="right",n=this.elementRef.nativeElement;if("top"==e)return n.scrollTop;if("bottom"==e)return n.scrollHeight-n.clientHeight-n.scrollTop;const i=this.dir&&"rtl"==this.dir.value;return"start"==e?e=i?r:t:"end"==e&&(e=i?t:r),i&&2==iw()?e==t?n.scrollWidth-n.clientWidth-n.scrollLeft:n.scrollLeft:i&&1==iw()?e==t?n.scrollLeft+n.scrollWidth-n.clientWidth:-n.scrollLeft:e==t?n.scrollLeft:n.scrollWidth-n.clientWidth-n.scrollLeft}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(sC),Ra(Ec),Ra(dk,8))},e.\u0275dir=vt({type:e,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),e})(),oC=(()=>{class e{constructor(e,t,r){this._platform=e,this._change=new M,this._changeListener=e=>{this._change.next(e)},this._document=r,t.runOutsideAngular(()=>{if(e.isBrowser){const e=this._getWindow();e.addEventListener("resize",this._changeListener),e.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:t,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+t,height:r,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._getDocument(),t=this._getWindow(),r=e.documentElement,n=r.getBoundingClientRect();return{top:-n.top||e.body.scrollTop||t.scrollY||r.scrollTop||0,left:-n.left||e.body.scrollLeft||t.scrollX||r.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(lS(e)):this._change}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return e.\u0275fac=function(t){return new(t||e)($e($v),$e(Ec),$e(ld,8))},e.\u0275prov=de({factory:function(){return new e($e($v),$e(Ec),$e(ld,8))},token:e,providedIn:"root"}),e})(),lC=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)}}),e})(),cC=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[uk,Zv,lC],uk,lC]}),e})();const dC=["*"],uC=["tabListContainer"],hC=["tabList"],fC=["nextPaginator"],mC=["previousPaginator"],pC=["mat-tab-nav-bar",""],_C=new Fe("MatInkBarPositioner",{providedIn:"root",factory:function(){return e=>({left:e?(e.offsetLeft||0)+"px":"0",width:e?(e.offsetWidth||0)+"px":"0"})}});let gC=(()=>{class e{constructor(e,t,r,n){this._elementRef=e,this._ngZone=t,this._inkBarPositioner=r,this._animationMode=n}alignToElement(e){this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._setStyles(e))}):this._setStyles(e)}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}_setStyles(e){const t=this._inkBarPositioner(e),r=this._elementRef.nativeElement;r.style.left=t.left,r.style.width=t.width}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(Ec),Ra(_C),Ra(Vv,8))},e.\u0275dir=vt({type:e,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(e,t){2&e&&fo("_mat-animation-noopable","NoopAnimations"===t._animationMode)}}),e})();const yC=nw({passive:!0});let bC=(()=>{class e{constructor(e,t,r,n,i,s,a){this._elementRef=e,this._changeDetectorRef=t,this._viewportRuler=r,this._dir=n,this._ngZone=i,this._platform=s,this._animationMode=a,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new M,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new M,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new Bl,this.indexFocused=new Bl,i.runOutsideAngular(()=>{_M(e.nativeElement,"mouseleave").pipe(gM(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){e=Mw(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}ngAfterViewInit(){_M(this._previousPaginator.nativeElement,"touchstart",yC).pipe(gM(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),_M(this._nextPaginator.nativeElement,"touchstart",yC).pipe(gM(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const e=this._dir?this._dir.change:sh(null),t=this._viewportRuler.change(150),r=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new Bw(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(r):r(),K(e,t,this._items.changes).pipe(gM(this._destroyed)).subscribe(()=>{Promise.resolve().then(r),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe(gM(this._destroyed)).subscribe(e=>{this.indexFocused.emit(e),this._setTabFocus(e)})}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!hw(e))switch(e.keyCode){case sw:case ow:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e));break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){const e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){this._isValidIndex(e)&&this.focusIndex!==e&&this._keyManager&&this._keyManager.setActiveItem(e)}_isValidIndex(e){if(!this._items)return!0;const t=this._items?this._items.toArray()[e]:null;return!!t&&!t.disabled}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();const t=this._tabListContainer.nativeElement,r=this._getLayoutDirection();t.scrollLeft="ltr"==r?0:t.scrollWidth-t.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const e=this.scrollDistance,t=this._platform,r="ltr"===this._getLayoutDirection()?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(r)}px)`,t&&(t.TRIDENT||t.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){return this._scrollTo(this._scrollDistance+("before"==e?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;const t=this._items?this._items.toArray()[e]:null;if(!t)return;const r=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:n,offsetWidth:i}=t.elementRef.nativeElement;let s,a;"ltr"==this._getLayoutDirection()?(s=n,a=s+i):(a=this._tabList.nativeElement.offsetWidth-n,s=a-i);const o=this.scrollDistance,l=this.scrollDistance+r;sl&&(this.scrollDistance+=a-l+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const e=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,t=e?e.elementRef.nativeElement:null;t?this._inkBar.alignToElement(t):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,t){t&&null!=t.button&&0!==t.button||(this._stopInterval(),aS(650,100).pipe(gM(K(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:t,distance:r}=this._scrollHeader(e);(0===r||r>=t)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const t=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(t,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:t,distance:this._scrollDistance}}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(Zs),Ra(oC),Ra(dk,8),Ra(Ec),Ra($v),Ra(Vv,8))},e.\u0275dir=vt({type:e,inputs:{disablePagination:"disablePagination"}}),e})(),vC=(()=>{class e extends bC{constructor(e,t,r,n,i,s,a){super(e,n,i,t,r,s,a),this._disableRipple=!1,this.color="primary"}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){const t=this._elementRef.nativeElement.classList;t.remove("mat-background-"+this.backgroundColor),e&&t.add("mat-background-"+e),this._backgroundColor=e}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=kw(e)}_itemSelected(){}ngAfterContentInit(){this._items.changes.pipe(Nh(null),gM(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}updateActiveLink(e){if(!this._items)return;const t=this._items.toArray();for(let r=0;r{class e extends vC{constructor(e,t,r,n,i,s,a){super(e,t,r,n,i,s,a)}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(dk,8),Ra(Ec),Ra(Zs),Ra(oC),Ra($v),Ra(Vv,8))},e.\u0275cmp=mt({type:e,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(e,t,r){var n;1&e&&rc(r,xC,!0),2&e&&Ql(n=sc())&&(t._items=n)},viewQuery:function(e,t){var r;1&e&&(Xl(gC,!0),Xl(uC,!0),Xl(hC,!0),ec(fC,!0),ec(mC,!0)),2&e&&(Ql(r=sc())&&(t._inkBar=r.first),Ql(r=sc())&&(t._tabListContainer=r.first),Ql(r=sc())&&(t._tabList=r.first),Ql(r=sc())&&(t._nextPaginator=r.first),Ql(r=sc())&&(t._previousPaginator=r.first))},hostAttrs:[1,"mat-tab-nav-bar","mat-tab-header"],hostVars:10,hostBindings:function(e,t){2&e&&fo("mat-tab-header-pagination-controls-enabled",t._showPaginationControls)("mat-tab-header-rtl","rtl"==t._getLayoutDirection())("mat-primary","warn"!==t.color&&"accent"!==t.color)("mat-accent","accent"===t.color)("mat-warn","warn"===t.color)},inputs:{color:"color"},exportAs:["matTabNavBar","matTabNav"],features:[ga],attrs:pC,ngContentSelectors:dC,decls:13,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-link-container",3,"keydown"],["tabListContainer",""],[1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-links"],["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,t){1&e&&(eo(),Fa(0,"div",0,1),qa("click",(function(){return t._handlePaginatorClick("before")}))("mousedown",(function(e){return t._handlePaginatorPress("before",e)}))("touchend",(function(){return t._stopInterval()})),Na(2,"div",2),Ha(),Fa(3,"div",3,4),qa("keydown",(function(e){return t._handleKeydown(e)})),Fa(5,"div",5,6),qa("cdkObserveContent",(function(){return t._onContentChanges()})),Fa(7,"div",7),to(8),Ha(),Na(9,"mat-ink-bar"),Ha(),Ha(),Fa(10,"div",8,9),qa("mousedown",(function(e){return t._handlePaginatorPress("after",e)}))("click",(function(){return t._handlePaginatorClick("after")}))("touchend",(function(){return t._stopInterval()})),Na(12,"div",2),Ha()),2&e&&(fo("mat-tab-header-pagination-disabled",t._disableScrollBefore),Ia("matRippleDisabled",t._disableScrollBefore||t.disableRipple),Li(5),fo("_mat-animation-noopable","NoopAnimations"===t._animationMode),Li(5),fo("mat-tab-header-pagination-disabled",t._disableScrollAfter),Ia("matRippleDisabled",t._disableScrollAfter||t.disableRipple))},directives:[Bk,Ew,gC],styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:"";height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-links{display:flex}[mat-align-tabs=center]>.mat-tab-link-container .mat-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-tab-link-container .mat-tab-links{justify-content:flex-end}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-link{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;vertical-align:top;text-decoration:none;position:relative;overflow:hidden;-webkit-tap-highlight-color:transparent}.mat-tab-link:focus{outline:none}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-link:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-link.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-link.mat-tab-disabled{opacity:.5}.mat-tab-link .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-link{opacity:1}[mat-stretch-tabs] .mat-tab-link{flex-basis:0;flex-grow:1}.mat-tab-link.mat-tab-disabled{pointer-events:none}@media(max-width: 599px){.mat-tab-link{min-width:72px}}\n'],encapsulation:2}),e})();class kC{}const MC=Mk(kk(vk(kC)));let SC=(()=>{class e extends MC{constructor(e,t,r,n,i,s){super(),this._tabNavBar=e,this.elementRef=t,this._focusMonitor=i,this._isActive=!1,this.rippleConfig=r||{},this.tabIndex=parseInt(n)||0,"NoopAnimations"===s&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}get active(){return this._isActive}set active(e){e!==this._isActive&&(this._isActive=e,this._tabNavBar.updateActiveLink(this.elementRef))}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this.elementRef)}}return e.\u0275fac=function(t){return new(t||e)(Ra(vC),Ra(zo),Ra(Nk,8),Oa("tabindex"),Ra(tk),Ra(Vv,8))},e.\u0275dir=vt({type:e,inputs:{active:"active"},features:[ga]}),e})(),xC=(()=>{class e extends SC{constructor(e,t,r,n,i,s,a,o){super(e,t,i,s,a,o),this._tabLinkRipple=new Hk(this,r,t,n),this._tabLinkRipple.setupTriggerEvents(t.nativeElement)}ngOnDestroy(){super.ngOnDestroy(),this._tabLinkRipple._removeTriggerEvents()}}return e.\u0275fac=function(t){return new(t||e)(Ra(wC),Ra(zo),Ra(Ec),Ra($v),Ra(Nk,8),Oa("tabindex"),Ra(tk),Ra(Vv,8))},e.\u0275dir=vt({type:e,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mat-tab-link","mat-focus-indicator"],hostVars:7,hostBindings:function(e,t){2&e&&(Ea("aria-current",t.active?"page":null)("aria-disabled",t.disabled)("tabIndex",t.tabIndex),fo("mat-tab-disabled",t.disabled)("mat-tab-label-active",t.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matTabLink"],features:[ga]}),e})(),CC=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Mu,bk,zx,zk,Tw,lk],bk]}),e})(),DC=(()=>{class e{constructor(e){this.authService=e,this.authService.auth.subscribe(e=>{this.auth=e})}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)(Ra(w_))},e.\u0275cmp=mt({type:e,selectors:[["app-account"]],decls:19,vars:16,consts:[["mat-tab-nav-bar",""],["mat-tab-link","","routerLink","info","routerLinkActive","active"],["mat-tab-link","","routerLink","profile","routerLinkActive","active"],["mat-tab-link","","routerLink","voucher","routerLinkActive","active"],["mat-tab-link","","routerLink","security","routerLinkActive","active"]],template:function(e,t){1&e&&(Fa(0,"h2"),xo(1),Il(2,"i18n"),Fa(3,"mat-icon"),xo(4,"sentiment_satisfied_alt"),Ha(),Ha(),Fa(5,"nav",0),Fa(6,"a",1),xo(7),Il(8,"i18n"),Ha(),Fa(9,"a",2),xo(10),Il(11,"i18n"),Ha(),Fa(12,"a",3),xo(13),Il(14,"i18n"),Ha(),Fa(15,"a",4),xo(16),Il(17,"i18n"),Ha(),Ha(),Na(18,"router-outlet")),2&e&&(Li(1),Do("",Fl(2,5,"greet",t.auth.name)," "),Li(6),Co(jl(8,8,"info")),Li(3),Co(jl(11,10,"profile")),Li(3),Co(jl(14,12,"vouchers")),Li(3),Co(jl(17,14,"security")))},directives:[cx,wC,wp,xC,Mp,Sp],pipes:[zS],styles:[""]}),e})();class LC{constructor(e,t){this.predicate=e,this.inclusive=t}call(e,t){return t.subscribe(new AC(e,this.predicate,this.inclusive))}}class AC extends m{constructor(e,t,r){super(e),this.predicate=t,this.inclusive=r,this.index=0}_next(e){const t=this.destination;let r;try{r=this.predicate(e,this.index++)}catch(n){return void t.error(n)}this.nextOrComplete(e,r)}nextOrComplete(e,t){const r=this.destination;Boolean(t)?r.next(e):(this.inclusive&&r.next(e),r.complete())}}class EC{constructor(e,t){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}attach(){}enable(){if(this._canBeEnabled()){const e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=Cw(-this._previousScrollPosition.left),e.style.top=Cw(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const e=this._document.documentElement,t=e.style,r=this._document.body.style,n=t.scrollBehavior||"",i=r.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),t.scrollBehavior=r.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),t.scrollBehavior=n,r.scrollBehavior=i}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}}class TC{constructor(e,t,r,n){this._scrollDispatcher=e,this._ngZone=t,this._viewportRuler=r,this._config=n,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){this._overlayRef=e}enable(){if(this._scrollSubscription)return;const e=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class PC{enable(){}disable(){}attach(){}}function YC(e,t){return t.some(t=>e.bottomt.bottom||e.rightt.right)}function RC(e,t){return t.some(t=>e.topt.bottom||e.leftt.right)}class OC{constructor(e,t,r,n){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=r,this._config=n,this._scrollSubscription=null}attach(e){this._overlayRef=e}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:r}=this._viewportRuler.getViewportSize();YC(e,[{width:t,height:r,bottom:r,right:t,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let IC=(()=>{class e{constructor(e,t,r,n){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=r,this.noop=()=>new PC,this.close=e=>new TC(this._scrollDispatcher,this._ngZone,this._viewportRuler,e),this.block=()=>new EC(this._viewportRuler,this._document),this.reposition=e=>new OC(this._scrollDispatcher,this._viewportRuler,this._ngZone,e),this._document=n}}return e.\u0275fac=function(t){return new(t||e)($e(sC),$e(oC),$e(Ec),$e(ld))},e.\u0275prov=de({factory:function(){return new e($e(sC),$e(oC),$e(Ec),$e(ld))},token:e,providedIn:"root"}),e})();class jC{constructor(e){if(this.scrollStrategy=new PC,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){const t=Object.keys(e);for(const r of t)void 0!==e[r]&&(this[r]=e[r])}}}class FC{constructor(e,t,r,n,i){this.offsetX=r,this.offsetY=n,this.panelClass=i,this.originX=e.originX,this.originY=e.originY,this.overlayX=t.overlayX,this.overlayY=t.overlayY}}class HC{constructor(e,t){this.connectionPair=e,this.scrollableViewProperties=t}}let NC=(()=>{class e{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this.detach()}}return e.\u0275fac=function(t){return new(t||e)($e(ld))},e.\u0275prov=de({factory:function(){return new e($e(ld))},token:e,providedIn:"root"}),e})(),BC=(()=>{class e extends NC{constructor(e){super(e),this._keydownListener=e=>{const t=this._attachedOverlays;for(let r=t.length-1;r>-1;r--)if(t[r]._keydownEvents.observers.length>0){t[r]._keydownEvents.next(e);break}}}add(e){super.add(e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return e.\u0275fac=function(t){return new(t||e)($e(ld))},e.\u0275prov=de({factory:function(){return new e($e(ld))},token:e,providedIn:"root"}),e})(),zC=(()=>{class e extends NC{constructor(e,t){super(e),this._platform=t,this._cursorStyleIsSet=!1,this._clickListener=e=>{const t=e.composedPath?e.composedPath()[0]:e.target,r=this._attachedOverlays.slice();for(let n=r.length-1;n>-1;n--){const i=r[n];if(!(i._outsidePointerEvents.observers.length<1)&&i.hasAttached()){if(i.overlayElement.contains(t))break;i._outsidePointerEvents.next(e)}}}}add(e){super.add(e),this._isAttached||(this._document.body.addEventListener("click",this._clickListener,!0),this._document.body.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=this._document.body.style.cursor,this._document.body.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("click",this._clickListener,!0),this._document.body.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}}return e.\u0275fac=function(t){return new(t||e)($e(ld),$e($v))},e.\u0275prov=de({factory:function(){return new e($e(ld),$e($v))},token:e,providedIn:"root"}),e})();const UC=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine);let VC=(()=>{class e{constructor(e,t){this._platform=t,this._document=e}ngOnDestroy(){const e=this._containerElement;e&&e.parentNode&&e.parentNode.removeChild(e)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e=this._platform?this._platform.isBrowser:"undefined"!=typeof window,t="cdk-overlay-container";if(e||UC){const e=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let t=0;tthis._backdropClick.next(e),this._keydownEvents=new M,this._outsidePointerEvents=new M,n.scrollStrategy&&(this._scrollStrategy=n.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=n.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){let t=this._portalOutlet.attach(e);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Ih(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&this._location&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher&&this._outsideClickDispatcher.add(this),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher&&this._outsideClickDispatcher.remove(this),e}dispose(){const e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher&&this._outsideClickDispatcher.remove(this),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=Object.assign(Object.assign({},this._config),e),this._updateElementSize()}setDirection(e){this._config=Object.assign(Object.assign({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){const e=this._config.direction;return e?"string"==typeof e?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const e=this._pane.style;e.width=Cw(this._config.width),e.height=Cw(this._config.height),e.minWidth=Cw(this._config.minWidth),e.minHeight=Cw(this._config.minHeight),e.maxWidth=Cw(this._config.maxWidth),e.maxHeight=Cw(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"auto":"none"}_attachBackdrop(){const e="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(e)})}):this._backdropElement.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let e,t=this._backdropElement;if(!t)return;let r=()=>{t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",r),t.parentNode&&t.parentNode.removeChild(t)),this._backdropElement==t&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(t,this._config.backdropClass,!1),clearTimeout(e)};t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",r)}),t.style.pointerEvents="none",e=this._ngZone.runOutsideAngular(()=>setTimeout(r,500))}_toggleClasses(e,t,r){const n=e.classList;xw(t).forEach(e=>{e&&(r?n.add(e):n.remove(e))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const e=this._ngZone.onStable.pipe(gM(K(this._attachments,this._detachments))).subscribe(()=>{this._pane&&this._host&&0!==this._pane.children.length||(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._previousHostParent.removeChild(this._host)),e.unsubscribe())})})}_disposeScrollStrategy(){const e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}}const WC="cdk-overlay-connected-position-bounding-box",qC=/([A-Za-z%]+)$/;class GC{constructor(e,t,r,n,i){this._viewportRuler=t,this._document=r,this._platform=n,this._overlayContainer=i,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new M,this._resizeSubscription=u.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}get positions(){return this._preferredPositions}attach(e){this._validatePositions(),e.hostElement.classList.add(WC),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();const e=this._originRect,t=this._overlayRect,r=this._viewportRect,n=[];let i;for(let s of this._preferredPositions){let a=this._getOriginPoint(e,s),o=this._getOverlayPoint(a,t,s),l=this._getOverlayFit(o,t,r,s);if(l.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(s,a);this._canFitWithFlexibleDimensions(l,o,r)?n.push({position:s,origin:a,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(a,s)}):(!i||i.overlayFit.visibleAreat&&(t=n,e=r)}return this._isPushed=!1,void this._applyPosition(e.position,e.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(i.position,i.originPoint);this._applyPosition(i.position,i.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&$C(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(WC),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const e=this._lastPosition||this._preferredPositions[0],t=this._getOriginPoint(this._originRect,e);this._applyPosition(e,t)}}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,t){let r,n;if("center"==t.originX)r=e.left+e.width/2;else{const n=this._isRtl()?e.right:e.left,i=this._isRtl()?e.left:e.right;r="start"==t.originX?n:i}return n="center"==t.originY?e.top+e.height/2:"top"==t.originY?e.top:e.bottom,{x:r,y:n}}_getOverlayPoint(e,t,r){let n,i;return n="center"==r.overlayX?-t.width/2:"start"===r.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,i="center"==r.overlayY?-t.height/2:"top"==r.overlayY?0:-t.height,{x:e.x+n,y:e.y+i}}_getOverlayFit(e,t,r,n){let{x:i,y:s}=e,a=this._getOffset(n,"x"),o=this._getOffset(n,"y");a&&(i+=a),o&&(s+=o);let l=0-s,c=s+t.height-r.height,d=this._subtractOverflows(t.width,0-i,i+t.width-r.width),u=this._subtractOverflows(t.height,l,c),h=d*u;return{visibleArea:h,isCompletelyWithinViewport:t.width*t.height===h,fitsInViewportVertically:u===t.height,fitsInViewportHorizontally:d==t.width}}_canFitWithFlexibleDimensions(e,t,r){if(this._hasFlexibleDimensions){const n=r.bottom-t.y,i=r.right-t.x,s=ZC(this._overlayRef.getConfig().minHeight),a=ZC(this._overlayRef.getConfig().minWidth),o=e.fitsInViewportHorizontally||null!=a&&a<=i;return(e.fitsInViewportVertically||null!=s&&s<=n)&&o}return!1}_pushOverlayOnScreen(e,t,r){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};const n=this._viewportRect,i=Math.max(e.x+t.width-n.width,0),s=Math.max(e.y+t.height-n.height,0),a=Math.max(n.top-r.top-e.y,0),o=Math.max(n.left-r.left-e.x,0);let l=0,c=0;return l=t.width<=n.width?o||-i:e.xn&&!this._isInitialRender&&!this._growAfterOpen&&(s=e.y-n/2)}if("end"===t.overlayX&&!n||"start"===t.overlayX&&n)c=r.width-e.x+this._viewportMargin,o=e.x-this._viewportMargin;else if("start"===t.overlayX&&!n||"end"===t.overlayX&&n)l=e.x,o=r.right-e.x;else{const t=Math.min(r.right-e.x+r.left,e.x),n=this._lastBoundingBoxSize.width;o=2*t,l=e.x-t,o>n&&!this._isInitialRender&&!this._growAfterOpen&&(l=e.x-n/2)}return{top:s,left:l,bottom:a,right:c,width:o,height:i}}_setBoundingBoxStyles(e,t){const r=this._calculateBoundingBoxRect(e,t);this._isInitialRender||this._growAfterOpen||(r.height=Math.min(r.height,this._lastBoundingBoxSize.height),r.width=Math.min(r.width,this._lastBoundingBoxSize.width));const n={};if(this._hasExactPosition())n.top=n.left="0",n.bottom=n.right=n.maxHeight=n.maxWidth="",n.width=n.height="100%";else{const e=this._overlayRef.getConfig().maxHeight,i=this._overlayRef.getConfig().maxWidth;n.height=Cw(r.height),n.top=Cw(r.top),n.bottom=Cw(r.bottom),n.width=Cw(r.width),n.left=Cw(r.left),n.right=Cw(r.right),n.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",n.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",e&&(n.maxHeight=Cw(e)),i&&(n.maxWidth=Cw(i))}this._lastBoundingBoxSize=r,$C(this._boundingBox.style,n)}_resetBoundingBoxStyles(){$C(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){$C(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,t){const r={},n=this._hasExactPosition(),i=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(n){const n=this._viewportRuler.getViewportScrollPosition();$C(r,this._getExactOverlayY(t,e,n)),$C(r,this._getExactOverlayX(t,e,n))}else r.position="static";let a="",o=this._getOffset(t,"x"),l=this._getOffset(t,"y");o&&(a+=`translateX(${o}px) `),l&&(a+=`translateY(${l}px)`),r.transform=a.trim(),s.maxHeight&&(n?r.maxHeight=Cw(s.maxHeight):i&&(r.maxHeight="")),s.maxWidth&&(n?r.maxWidth=Cw(s.maxWidth):i&&(r.maxWidth="")),$C(this._pane.style,r)}_getExactOverlayY(e,t,r){let n={top:"",bottom:""},i=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,r));let s=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return i.y-=s,"bottom"===e.overlayY?n.bottom=this._document.documentElement.clientHeight-(i.y+this._overlayRect.height)+"px":n.top=Cw(i.y),n}_getExactOverlayX(e,t,r){let n,i={left:"",right:""},s=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,r)),n=this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left","right"===n?i.right=this._document.documentElement.clientWidth-(s.x+this._overlayRect.width)+"px":i.left=Cw(s.x),i}_getScrollVisibility(){const e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),r=this._scrollables.map(e=>e.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:RC(e,r),isOriginOutsideView:YC(e,r),isOverlayClipped:RC(t,r),isOverlayOutsideView:YC(t,r)}}_subtractOverflows(e,...t){return t.reduce((e,t)=>e-Math.max(t,0),e)}_getNarrowedViewportRect(){const e=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,r=this._viewportRuler.getViewportScrollPosition();return{top:r.top+this._viewportMargin,left:r.left+this._viewportMargin,right:r.left+e-this._viewportMargin,bottom:r.top+t-this._viewportMargin,width:e-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,t){return"x"===t?null==e.offsetX?this._offsetX:e.offsetX:null==e.offsetY?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&xw(e).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){const e=this._origin;if(e instanceof zo)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();const t=e.width||0,r=e.height||0;return{top:e.y,bottom:e.y+r,left:e.x,right:e.x+t,height:r,width:t}}}function $C(e,t){for(let r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);return e}function ZC(e){if("number"!=typeof e&&null!=e){const[t,r]=e.split(qC);return r&&"px"!==r?null:parseFloat(t)}return e||null}class JC{constructor(e,t,r,n,i,s,a){this._preferredPositions=[],this._positionStrategy=new GC(r,n,i,s,a).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(e,t),this.onPositionChange=this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(e){this._overlayRef=e,this._positionStrategy.attach(e),this._direction&&(e.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(e){this._positionStrategy.withScrollableContainers(e)}withFallbackPosition(e,t,r,n){const i=new FC(e,t,r,n);return this._preferredPositions.push(i),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(e){return this._overlayRef?this._overlayRef.setDirection(e):this._direction=e,this}withOffsetX(e){return this._positionStrategy.withDefaultOffsetX(e),this}withOffsetY(e){return this._positionStrategy.withDefaultOffsetY(e),this}withLockedPosition(e){return this._positionStrategy.withLockedPosition(e),this}withPositions(e){return this._preferredPositions=e.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(e){return this._positionStrategy.setOrigin(e),this}}const QC="cdk-global-overlay-wrapper";class XC{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(e){const t=e.getConfig();this._overlayRef=e,this._width&&!t.width&&e.updateSize({width:this._width}),this._height&&!t.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(QC),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._rightOffset="",this._leftOffset=e,this._justifyContent="flex-start",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._leftOffset="",this._rightOffset=e,this._justifyContent="flex-end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._justifyContent="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,r=this._overlayRef.getConfig(),{width:n,height:i,maxWidth:s,maxHeight:a}=r,o=!("100%"!==n&&"100vw"!==n||s&&"100%"!==s&&"100vw"!==s),l=!("100%"!==i&&"100vh"!==i||a&&"100%"!==a&&"100vh"!==a);e.position=this._cssPosition,e.marginLeft=o?"0":this._leftOffset,e.marginTop=l?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=this._rightOffset,o?t.justifyContent="flex-start":"center"===this._justifyContent?t.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?t.justifyContent="flex-end":"flex-end"===this._justifyContent&&(t.justifyContent="flex-start"):t.justifyContent=this._justifyContent,t.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,r=t.style;t.classList.remove(QC),r.justifyContent=r.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}}let eD=(()=>{class e{constructor(e,t,r,n){this._viewportRuler=e,this._document=t,this._platform=r,this._overlayContainer=n}global(){return new XC}connectedTo(e,t,r){return new JC(t,r,e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(e){return new GC(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return e.\u0275fac=function(t){return new(t||e)($e(oC),$e(ld),$e($v),$e(VC))},e.\u0275prov=de({factory:function(){return new e($e(oC),$e(ld),$e($v),$e(VC))},token:e,providedIn:"root"}),e})(),tD=0,rD=(()=>{class e{constructor(e,t,r,n,i,s,a,o,l,c,d){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=r,this._positionBuilder=n,this._keyboardDispatcher=i,this._injector=s,this._ngZone=a,this._document=o,this._directionality=l,this._location=c,this._outsideClickDispatcher=d}create(e){const t=this._createHostElement(),r=this._createPaneElement(t),n=this._createPortalOutlet(r),i=new jC(e);return i.direction=i.direction||this._directionality.value,new KC(n,t,r,i,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(e){const t=this._document.createElement("div");return t.id="cdk-overlay-"+tD++,t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get($c)),new Nx(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return e.\u0275fac=function(t){return new(t||e)($e(IC),$e(VC),$e(Bo),$e(eD),$e(BC),$e(fa),$e(Ec),$e(ld),$e(dk),$e(Md),$e(zC))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();const nD=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],iD=new Fe("cdk-connected-overlay-scroll-strategy");let sD=(()=>{class e{constructor(e){this.elementRef=e}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo))},e.\u0275dir=vt({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),e})(),aD=(()=>{class e{constructor(e,t,r,n,i){this._overlay=e,this._dir=i,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=u.EMPTY,this._attachSubscription=u.EMPTY,this._detachSubscription=u.EMPTY,this._positionSubscription=u.EMPTY,this.viewportMargin=0,this.open=!1,this.backdropClick=new Bl,this.positionChange=new Bl,this.attach=new Bl,this.detach=new Bl,this.overlayKeydown=new Bl,this.overlayOutsideClick=new Bl,this._templatePortal=new jx(t,r),this._scrollStrategyFactory=n,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=kw(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=kw(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=kw(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=kw(e)}get push(){return this._push}set push(e){this._push=kw(e)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){this.positions&&this.positions.length||(this.positions=nD);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(e=>{this.overlayKeydown.next(e),e.keyCode!==aw||hw(e)||(e.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(e=>{this.overlayOutsideClick.next(e)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new jC({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(t.width=this.width),(this.height||0===this.height)&&(t.height=this.height),(this.minWidth||0===this.minWidth)&&(t.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(t.minHeight=this.minHeight),this.backdropClass&&(t.backdropClass=this.backdropClass),this.panelClass&&(t.panelClass=this.panelClass),t}_updatePositionStrategy(e){const t=this.positions.map(e=>({originX:e.originX,originY:e.originY,overlayX:e.overlayX,overlayY:e.overlayY,offsetX:e.offsetX||this.offsetX,offsetY:e.offsetY||this.offsetY,panelClass:e.panelClass||void 0}));return e.setOrigin(this.origin.elementRef).withPositions(t).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(e),e}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function(e,t=!1){return r=>r.lift(new LC(e,t))}(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(Ra(rD),Ra(hl),Ra(ml),Ra(iD),Ra(dk,8))},e.\u0275dir=vt({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[Ot]}),e})();const oD={provide:iD,deps:[rD],useFactory:function(e){return()=>e.scrollStrategies.reposition()}};let lD=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[rD,oD],imports:[[uk,zx,cC],cC]}),e})();function cD(e,t){}class dD{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}const uD={dialogContainer:ly("dialogContainer",[fy("void, exit",hy({opacity:0,transform:"scale(0.7)"})),fy("enter",hy({transform:"none"})),py("* => enter",cy("150ms cubic-bezier(0, 0, 0.2, 1)",hy({transform:"none",opacity:1}))),py("* => void, * => exit",cy("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",hy({opacity:0})))])};let hD=(()=>{class e extends Hx{constructor(e,t,r,n,i,s){super(),this._elementRef=e,this._focusTrapFactory=t,this._changeDetectorRef=r,this._config=i,this._focusMonitor=s,this._animationStateChanged=new Bl,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=e=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(e)),this._ariaLabelledBy=i.ariaLabelledBy||null,this._document=n}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}attachComponentPortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(e)}attachTemplatePortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(e)}_recaptureFocus(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}_trapFocus(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}_restoreFocus(){const e=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&e&&"function"==typeof e.focus){const t=this._document.activeElement,r=this._elementRef.nativeElement;t&&t!==this._document.body&&t!==r&&!r.contains(t)||(this._focusMonitor?(this._focusMonitor.focusVia(e,this._closeInteractionType),this._closeInteractionType=null):e.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement)}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,t=this._document.activeElement;return e===t||e.contains(t)}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(Ww),Ra(Zs),Ra(ld,8),Ra(dD),Ra(tk))},e.\u0275dir=vt({type:e,viewQuery:function(e,t){var r;1&e&&Xl(Bx,!0),2&e&&Ql(r=sc())&&(t._portalOutlet=r.first)},features:[ga]}),e})(),fD=(()=>{class e extends hD{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:e,totalTime:t}){"enter"===e?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:t})):"exit"===e&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:t}))}_onAnimationStart({toState:e,totalTime:t}){"enter"===e?this._animationStateChanged.next({state:"opening",totalTime:t}):"exit"!==e&&"void"!==e||this._animationStateChanged.next({state:"closing",totalTime:t})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return e.\u0275fac=function(t){return mD(t||e)},e.\u0275cmp=mt({type:e,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&Ga("@dialogContainer.start",(function(e){return t._onAnimationStart(e)}))("@dialogContainer.done",(function(e){return t._onAnimationDone(e)})),2&e&&(Ao("id",t._id),Ea("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),Eo("@dialogContainer",t._state))},features:[ga],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&Pa(0,cD,0,0,"ng-template",0)},directives:[Bx],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[uD.dialogContainer]}}),e})();const mD=vn(fD);let pD=0;class _D{constructor(e,t,r="mat-dialog-"+pD++){this._overlayRef=e,this._containerInstance=t,this.id=r,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new M,this._afterClosed=new M,this._beforeClosed=new M,this._state=0,t._id=r,t._animationStateChanged.pipe(bh(e=>"opened"===e.state),Ih(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t._animationStateChanged.pipe(bh(e=>"closed"===e.state),Ih(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),e.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),e.keydownEvents().pipe(bh(e=>e.keyCode===aw&&!this.disableClose&&!hw(e))).subscribe(e=>{e.preventDefault(),gD(this,"keyboard")}),e.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():gD(this,"mouse")})}close(e){this._result=e,this._containerInstance._animationStateChanged.pipe(bh(e=>"closing"===e.state),Ih(1)).subscribe(t=>{this._beforeClosed.next(e),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),t.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(e){let t=this._getPositionStrategy();return e&&(e.left||e.right)?e.left?t.left(e.left):t.right(e.right):t.centerHorizontally(),e&&(e.top||e.bottom)?e.top?t.top(e.top):t.bottom(e.bottom):t.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(e="",t=""){return this._getPositionStrategy().width(e).height(t),this._overlayRef.updatePosition(),this}addPanelClass(e){return this._overlayRef.addPanelClass(e),this}removePanelClass(e){return this._overlayRef.removePanelClass(e),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function gD(e,t,r){return void 0!==e._containerInstance&&(e._containerInstance._closeInteractionType=t),e.close(r)}const yD=new Fe("MatDialogData"),bD=new Fe("mat-dialog-default-options"),vD=new Fe("mat-dialog-scroll-strategy"),wD={provide:vD,deps:[rD],useFactory:function(e){return()=>e.scrollStrategies.block()}};let kD=(()=>{class e{constructor(e,t,r,n,i,s,a,o,l){this._overlay=e,this._injector=t,this._defaultOptions=r,this._parentDialog=n,this._overlayContainer=i,this._dialogRefConstructor=a,this._dialogContainerType=o,this._dialogDataToken=l,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new M,this._afterOpenedAtThisLevel=new M,this._ariaHiddenElements=new Map,this.afterAllClosed=gh(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Nh(void 0))),this._scrollStrategy=s}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(e,t){(t=function(e,t){return Object.assign(Object.assign({},t),e)}(t,this._defaultOptions||new dD)).id&&this.getDialogById(t.id);const r=this._createOverlay(t),n=this._attachDialogContainer(r,t),i=this._attachDialogContent(e,n,r,t);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(i),i.afterClosed().subscribe(()=>this._removeOpenDialog(i)),this.afterOpened.next(i),n._initializeWithAttachedContent(),i}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(e){const t=this._getOverlayConfig(e);return this._overlay.create(t)}_getOverlayConfig(e){const t=new jC({positionStrategy:this._overlay.position().global(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}_attachDialogContainer(e,t){const r=fa.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:dD,useValue:t}]}),n=new Ix(this._dialogContainerType,t.viewContainerRef,r,t.componentFactoryResolver);return e.attach(n).instance}_attachDialogContent(e,t,r,n){const i=new this._dialogRefConstructor(r,t,n.id);if(e instanceof hl)t.attachTemplatePortal(new jx(e,null,{$implicit:n.data,dialogRef:i}));else{const r=this._createInjector(n,i,t),s=t.attachComponentPortal(new Ix(e,n.viewContainerRef,r));i.componentInstance=s.instance}return i.updateSize(n.width,n.height).updatePosition(n.position),i}_createInjector(e,t,r){const n=e&&e.viewContainerRef&&e.viewContainerRef.injector,i=[{provide:this._dialogContainerType,useValue:r},{provide:this._dialogDataToken,useValue:e.data},{provide:this._dialogRefConstructor,useValue:t}];return!e.direction||n&&n.get(dk,null)||i.push({provide:dk,useValue:{value:e.direction,change:sh()}}),fa.create({parent:n||this._injector,providers:i})}_removeOpenDialog(e){const t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((e,t)=>{e?t.setAttribute("aria-hidden",e):t.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const t=e.parentElement.children;for(let r=t.length-1;r>-1;r--){let n=t[r];n===e||"SCRIPT"===n.nodeName||"STYLE"===n.nodeName||n.hasAttribute("aria-live")||(this._ariaHiddenElements.set(n,n.getAttribute("aria-hidden")),n.setAttribute("aria-hidden","true"))}}}_closeDialogs(e){let t=e.length;for(;t--;)e[t].close()}}return e.\u0275fac=function(t){return new(t||e)(Ra(rD),Ra(fa),Ra(void 0),Ra(void 0),Ra(VC),Ra(void 0),Ra(Qs),Ra(Qs),Ra(Fe))},e.\u0275dir=vt({type:e}),e})(),MD=(()=>{class e extends kD{constructor(e,t,r,n,i,s,a){super(e,t,n,s,a,i,_D,fD,yD)}}return e.\u0275fac=function(t){return new(t||e)($e(rD),$e(fa),$e(Md,8),$e(bD,8),$e(vD),$e(e,12),$e(VC))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})(),SD=0,xD=(()=>{class e{constructor(e,t,r){this.dialogRef=e,this._elementRef=t,this._dialog=r,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=AD(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){const t=e._matDialogClose||e._matDialogCloseResult;t&&(this.dialogResult=t.currentValue)}_onButtonClick(e){gD(this.dialogRef,0===e.screenX&&0===e.screenY?"keyboard":"mouse",this.dialogResult)}}return e.\u0275fac=function(t){return new(t||e)(Ra(_D,8),Ra(zo),Ra(MD))},e.\u0275dir=vt({type:e,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(e,t){1&e&&qa("click",(function(e){return t._onButtonClick(e)})),2&e&&Ea("aria-label",t.ariaLabel||null)("type",t.type)},inputs:{type:"type",dialogResult:["mat-dialog-close","dialogResult"],ariaLabel:["aria-label","ariaLabel"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[Ot]}),e})(),CD=(()=>{class e{constructor(e,t,r){this._dialogRef=e,this._elementRef=t,this._dialog=r,this.id="mat-dialog-title-"+SD++}ngOnInit(){this._dialogRef||(this._dialogRef=AD(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const e=this._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=this.id)})}}return e.\u0275fac=function(t){return new(t||e)(Ra(_D,8),Ra(zo),Ra(MD))},e.\u0275dir=vt({type:e,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,t){2&e&&Ao("id",t.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),e})(),DD=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=vt({type:e,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),e})(),LD=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=vt({type:e,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),e})();function AD(e,t){let r=e.nativeElement.parentElement;for(;r&&!r.classList.contains("mat-dialog-container");)r=r.parentElement;return r?t.find(e=>e.id===r.id):null}let ED=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[MD,wD],imports:[[lD,zx,bk],bk]}),e})();class TD{constructor(e){const{length:t,separator:r,dictionaries:n,style:i,seed:s}=e;this.dictionaries=n,this.separator=r,this.length=t,this.style=i,this.seed=s}generate(){if(!this.dictionaries)throw new Error('Cannot find any dictionary. Please provide at least one, or leave the "dictionary" field empty in the config object');if(this.length<=0)throw new Error("Invalid length provided");if(this.length>this.dictionaries.length)throw new Error(`The length cannot be bigger than the number of dictionaries.\nLength provided: ${this.length}. Number of dictionaries provided: ${this.dictionaries.length}`);return this.dictionaries.slice(0,this.length).reduce((e,t)=>{let r=t[Math.floor((this.seed?(n=this.seed,(e=>{e=1831565813+(e|=0)|0;let t=Math.imul(e^e>>>15,1|e);return t=t+Math.imul(t^t>>>7,61|t)^t,((t^t>>>14)>>>0)/4294967296})(n)):Math.random())*t.length)]||"";var n;if("lowerCase"===this.style)r=r.toLowerCase();else if("capital"===this.style){const[e,...t]=r.split("");r=e.toUpperCase()+t.join("")}else"upperCase"===this.style&&(r=r.toUpperCase());return e?`${e}${this.separator}${r}`:""+r},"")}}const PD={separator:"_",dictionaries:[]};var YD=["average","big","colossal","fat","giant","gigantic","great","huge","immense","large","little","long","mammoth","massive","miniature","petite","puny","short","small","tall","tiny","boiling","breezy","broken","bumpy","chilly","cold","cool","creepy","crooked","cuddly","curly","damaged","damp","dirty","dry","dusty","filthy","flaky","fluffy","wet","broad","chubby","crooked","curved","deep","flat","high","hollow","low","narrow","round","shallow","skinny","square","steep","straight","wide","ancient","brief","early","fast","late","long","modern","old","quick","rapid","short","slow","swift","young","abundant","empty","few","heavy","light","many","numerous","Sound","cooing","deafening","faint","harsh","hissing","hushed","husky","loud","melodic","moaning","mute","noisy","purring","quiet","raspy","resonant","screeching","shrill","silent","soft","squealing","thundering","voiceless","whispering","bitter","delicious","fresh","juicy","ripe","rotten","salty","sour","spicy","stale","sticky","strong","sweet","tasteless","tasty","thirsty","fluttering","fuzzy","greasy","grubby","hard","hot","icy","loose","melted","plastic","prickly","rainy","rough","scattered","shaggy","shaky","sharp","shivering","silky","slimy","slippery","smooth","soft","solid","steady","sticky","tender","tight","uneven","weak","wet","wooden","afraid","angry","annoyed","anxious","arrogant","ashamed","awful","bad","bewildered","bored","combative","condemned","confused","creepy","cruel","dangerous","defeated","defiant","depressed","disgusted","disturbed","eerie","embarrassed","envious","evil","fierce","foolish","frantic","frightened","grieving","helpless","homeless","hungry","hurt","ill","jealous","lonely","mysterious","naughty","nervous","obnoxious","outrageous","panicky","repulsive","scary","scornful","selfish","sore","tense","terrible","thoughtless","tired","troubled","upset","uptight","weary","wicked","worried","agreeable","amused","brave","calm","charming","cheerful","comfortable","cooperative","courageous","delightful","determined","eager","elated","enchanting","encouraging","energetic","enthusiastic","excited","exuberant","fair","faithful","fantastic","fine","friendly","funny","gentle","glorious","good","happy","healthy","helpful","hilarious","jolly","joyous","kind","lively","lovely","lucky","obedient","perfect","pleasant","proud","relieved","silly","smiling","splendid","successful","thoughtful","victorious","vivacious","witty","wonderful","zealous","zany","other","good","new","old","great","high","small","different","large","local","social","important","long","young","national","british","right","early","possible","big","little","political","able","late","general","full","far","low","public","available","bad","main","sure","clear","major","economic","only","likely","real","black","particular","international","special","difficult","certain","open","whole","white","free","short","easy","strong","european","central","similar","human","common","necessary","single","personal","hard","private","poor","financial","wide","foreign","simple","recent","concerned","american","various","close","fine","english","wrong","present","royal","natural","individual","nice","french","following","current","modern","labour","legal","happy","final","red","normal","serious","previous","total","prime","significant","industrial","sorry","dead","specific","appropriate","top","soviet","basic","military","original","successful","aware","hon","popular","heavy","professional","direct","dark","cold","ready","green","useful","effective","western","traditional","scottish","german","independent","deep","interesting","considerable","involved","physical","left","hot","existing","responsible","complete","medical","blue","extra","past","male","interested","fair","essential","beautiful","civil","primary","obvious","future","environmental","positive","senior","nuclear","annual","relevant","huge","rich","commercial","safe","regional","practical","official","separate","key","chief","regular","due","additional","active","powerful","complex","standard","impossible","light","warm","middle","fresh","sexual","front","domestic","actual","united","technical","ordinary","cheap","strange","internal","excellent","quiet","soft","potential","northern","religious","quick","very","famous","cultural","proper","broad","joint","formal","limited","conservative","lovely","usual","ltd","unable","rural","initial","substantial","christian","bright","average","leading","reasonable","immediate","suitable","equal","detailed","working","overall","female","afraid","democratic","growing","sufficient","scientific","eastern","correct","inc","irish","expensive","educational","mental","dangerous","critical","increased","familiar","unlikely","double","perfect","slow","tiny","dry","historical","thin","daily","southern","increasing","wild","alone","urban","empty","married","narrow","liberal","supposed","upper","apparent","tall","busy","bloody","prepared","russian","moral","careful","clean","attractive","japanese","vital","thick","alternative","fast","ancient","elderly","rare","external","capable","brief","wonderful","grand","typical","entire","grey","constant","vast","surprised","ideal","terrible","academic","funny","minor","pleased","severe","ill","corporate","negative","permanent","weak","brown","fundamental","odd","crucial","inner","used","criminal","contemporary","sharp","sick","near","roman","massive","unique","secondary","parliamentary","african","unknown","subsequent","angry","alive","guilty","lucky","enormous","well","communist","yellow","unusual","net","tough","dear","extensive","glad","remaining","agricultural","alright","healthy","italian","principal","tired","efficient","comfortable","chinese","relative","friendly","conventional","willing","sudden","proposed","voluntary","slight","valuable","dramatic","golden","temporary","federal","keen","flat","silent","indian","worried","pale","statutory","welsh","dependent","firm","wet","competitive","armed","radical","outside","acceptable","sensitive","living","pure","global","emotional","sad","secret","rapid","adequate","fixed","sweet","administrative","wooden","remarkable","comprehensive","surprising","solid","rough","mere","mass","brilliant","maximum","absolute","tory","electronic","visual","electric","cool","spanish","literary","continuing","supreme","chemical","genuine","exciting","written","stupid","advanced","extreme","classical","fit","favourite","socialist","widespread","confident","straight","catholic","proud","numerous","opposite","distinct","mad","helpful","given","disabled","consistent","anxious","nervous","awful","stable","constitutional","satisfied","conscious","developing","strategic","holy","smooth","dominant","remote","theoretical","outstanding","pink","pretty","clinical","minimum","honest","impressive","related","residential","extraordinary","plain","visible","accurate","distant","still","greek","complicated","musical","precise","gentle","broken","live","silly","fat","tight","monetary","round","psychological","violent","unemployed","inevitable","junior","sensible","grateful","pleasant","dirty","structural","welcome","deaf","above","continuous","blind","overseas","mean","entitled","delighted","loose","occasional","evident","desperate","fellow","universal","square","steady","classic","equivalent","intellectual","victorian","level","ultimate","creative","lost","medieval","clever","linguistic","convinced","judicial","raw","sophisticated","asleep","vulnerable","illegal","outer","revolutionary","bitter","changing","australian","native","imperial","strict","wise","informal","flexible","collective","frequent","experimental","spiritual","intense","rational","ethnic","generous","inadequate","prominent","logical","bare","historic","modest","dutch","acute","electrical","valid","weekly","gross","automatic","loud","reliable","mutual","liable","multiple","ruling","curious","arab","sole","jewish","managing","pregnant","latin","nearby","exact","underlying","identical","satisfactory","marginal","distinctive","electoral","urgent","presidential","controversial","oral","everyday","encouraging","organic","continued","expected","statistical","desirable","innocent","improved","exclusive","marked","experienced","unexpected","superb","sheer","disappointed","frightened","gastric","capitalist","romantic","naked","reluctant","magnificent","convenient","established","closed","uncertain","artificial","diplomatic","tremendous","marine","mechanical","retail","institutional","mixed","required","biological","known","functional","straightforward","superior","digital","spectacular","unhappy","confused","unfair","aggressive","spare","painful","abstract","asian","associated","legislative","monthly","intelligent","hungry","explicit","nasty","just","faint","coloured","ridiculous","amazing","comparable","successive","realistic","back","decent","unnecessary","flying","random","influential","dull","genetic","neat","marvellous","crazy","damp","giant","secure","bottom","skilled","subtle","elegant","brave","lesser","parallel","steep","intensive","casual","tropical","lonely","partial","preliminary","concrete","alleged","assistant","vertical","upset","delicate","mild","occupational","excessive","progressive","iraqi","exceptional","integrated","striking","continental","okay","harsh","combined","fierce","handsome","characteristic","chronic","compulsory","interim","objective","splendid","magic","systematic","obliged","payable","fun","horrible","primitive","fascinating","ideological","metropolitan","surrounding","estimated","peaceful","premier","operational","technological","kind","advisory","hostile","precious","gay","accessible","determined","excited","impressed","provincial","smart","endless","isolated","drunk","geographical","like","dynamic","boring","forthcoming","unfortunate","definite","super","notable","indirect","stiff","wealthy","awkward","lively","neutral","artistic","content","mature","colonial","ambitious","evil","magnetic","verbal","legitimate","sympathetic","empirical","head","shallow","vague","naval","depressed","shared","added","shocked","mid","worthwhile","qualified","missing","blank","absent","favourable","polish","israeli","developed","profound","representative","enthusiastic","dreadful","rigid","reduced","cruel","coastal","peculiar","racial","ugly","swiss","crude","extended","selected","eager","feminist","canadian","bold","relaxed","corresponding","running","planned","applicable","immense","allied","comparative","uncomfortable","conservation","productive","beneficial","bored","charming","minimal","mobile","turkish","orange","rear","passive","suspicious","overwhelming","fatal","resulting","symbolic","registered","neighbouring","calm","irrelevant","patient","compact","profitable","rival","loyal","moderate","distinguished","interior","noble","insufficient","eligible","mysterious","varying","managerial","molecular","olympic","linear","prospective","printed","parental","diverse","elaborate","furious","fiscal","burning","useless","semantic","embarrassed","inherent","philosophical","deliberate","awake","variable","promising","unpleasant","varied","sacred","selective","inclined","tender","hidden","worthy","intermediate","sound","protective","fortunate","slim","islamic","defensive","divine","stuck","driving","invisible","misleading","circular","mathematical","inappropriate","liquid","persistent","solar","doubtful","manual","architectural","intact","incredible","devoted","prior","tragic","respectable","optimistic","convincing","unacceptable","decisive","competent","spatial","respective","binding","relieved","nursing","toxic","select","redundant","integral","then","probable","amateur","fond","passing","specified","territorial","horizontal","inland","cognitive","regulatory","miserable","resident","polite","scared","marxist","gothic","civilian","instant","lengthy","adverse","korean","unconscious","anonymous","aesthetic","orthodox","static","unaware","costly","fantastic","foolish","fashionable","causal","compatible","wee","implicit","dual","ok","cheerful","subjective","forward","surviving","exotic","purple","cautious","visiting","aggregate","ethical","protestant","teenage","dying","disastrous","delicious","confidential","underground","thorough","grim","autonomous","atomic","frozen","colourful","injured","uniform","ashamed","glorious","wicked","coherent","rising","shy","novel","balanced","delightful","arbitrary","adjacent","psychiatric","worrying","weird","unchanged","rolling","evolutionary","intimate","sporting","disciplinary","formidable","lexical","noisy","gradual","accused","homeless","supporting","coming","renewed","excess","retired","rubber","chosen","outdoor","embarrassing","preferred","bizarre","appalling","agreed","imaginative","governing","accepted","vocational","palestinian","mighty","puzzled","worldwide","handicapped","organisational","sunny","eldest","eventual","spontaneous","vivid","rude","faithful","ministerial","innovative","controlled","conceptual","unwilling","civic","meaningful","disturbing","alive","brainy","breakable","busy","careful","cautious","clever","concerned","crazy","curious","dead","different","difficult","doubtful","easy","famous","fragile","helpful","helpless","important","impossible","innocent","inquisitive","modern","open","outstanding","poor","powerful","puzzled","real","rich","shy","sleepy","stupid","super","tame","uninterested","wandering","wild","wrong","adorable","alert","average","beautiful","blonde","bloody","blushing","bright","clean","clear","cloudy","colorful","crowded","cute","dark","drab","distinct","dull","elegant","fancy","filthy","glamorous","gleaming","graceful","grotesque","homely","light","misty","motionless","muddy","plain","poised","quaint","shiny","smoggy","sparkling","spotless","stormy","strange","ugly","unsightly","unusual","bad","better","beautiful","big","black","blue","bright","clumsy","crazy","dizzy","dull","fat","frail","friendly","funny","great","green","gigantic","gorgeous","grumpy","handsome","happy","horrible","itchy","jittery","jolly","kind","long","lazy","magnificent","magenta","many","mighty","mushy","nasty","new","nice","nosy","nutty","nutritious","odd","orange","ordinary","pretty","precious","prickly","purple","quaint","quiet","quick","quickest","rainy","rare","ratty","red","roasted","robust","round","sad","scary","scrawny","short","silly","stingy","strange","striped","spotty","tart","tall","tame","tan","tender","testy","tricky","tough","ugly","ugliest","vast","watery","wasteful","wonderful","yellow","yummy","zany"],RD=["canidae","felidae","cat","cattle","dog","donkey","goat","horse","pig","rabbit","aardvark","aardwolf","albatross","alligator","alpaca","amphibian","anaconda","angelfish","anglerfish","ant","anteater","antelope","antlion","ape","aphid","armadillo","asp","baboon","badger","bandicoot","barnacle","barracuda","basilisk","bass","bat","bear","beaver","bedbug","bee","beetle","bird","bison","blackbird","boa","boar","bobcat","bobolink","bonobo","booby","bovid","bug","butterfly","buzzard","camel","canid","capybara","cardinal","caribou","carp","cat","catshark","caterpillar","catfish","cattle","centipede","cephalopod","chameleon","cheetah","chickadee","chicken","chimpanzee","chinchilla","chipmunk","clam","clownfish","cobra","cockroach","cod","condor","constrictor","coral","cougar","cow","coyote","crab","crane","crawdad","crayfish","cricket","crocodile","crow","cuckoo","cicada","damselfly","deer","dingo","dinosaur","dog","dolphin","donkey","dormouse","dove","dragonfly","dragon","duck","eagle","earthworm","earwig","echidna","eel","egret","elephant","elk","emu","ermine","falcon","ferret","finch","firefly","fish","flamingo","flea","fly","flyingfish","fowl","fox","frog","gamefowl","galliform","gazelle","gecko","gerbil","gibbon","giraffe","goat","goldfish","goose","gopher","gorilla","grasshopper","grouse","guan","guanaco","guineafowl","gull","guppy","haddock","halibut","hamster","hare","harrier","hawk","hedgehog","heron","herring","hippopotamus","hookworm","hornet","horse","hoverfly","hummingbird","hyena","iguana","impala","jackal","jaguar","jay","jellyfish","junglefowl","kangaroo","kingfisher","kite","kiwi","koala","koi","krill","ladybug","lamprey","landfowl","lark","leech","lemming","lemur","leopard","leopon","limpet","lion","lizard","llama","lobster","locust","loon","louse","lungfish","lynx","macaw","mackerel","magpie","mammal","manatee","mandrill","marlin","marmoset","marmot","marsupial","marten","mastodon","meadowlark","meerkat","mink","minnow","mite","mockingbird","mole","mollusk","mongoose","monkey","moose","mosquito","moth","mouse","mule","muskox","narwhal","newt","nightingale","ocelot","octopus","opossum","orangutan","orca","ostrich","otter","owl","ox","panda","panther","parakeet","parrot","parrotfish","partridge","peacock","peafowl","pelican","penguin","perch","pheasant","pig","pigeon","pike","pinniped","piranha","planarian","platypus","pony","porcupine","porpoise","possum","prawn","primate","ptarmigan","puffin","puma","python","quail","quelea","quokka","rabbit","raccoon","rat","rattlesnake","raven","reindeer","reptile","rhinoceros","roadrunner","rodent","rook","rooster","roundworm","sailfish","salamander","salmon","sawfish","scallop","scorpion","seahorse","shark","sheep","shrew","shrimp","silkworm","silverfish","skink","skunk","sloth","slug","smelt","snail","snake","snipe","sole","sparrow","spider","spoonbill","squid","squirrel","starfish","stingray","stoat","stork","sturgeon","swallow","swan","swift","swordfish","swordtail","tahr","takin","tapir","tarantula","tarsier","termite","tern","thrush","tick","tiger","tiglon","toad","tortoise","toucan","trout","tuna","turkey","turtle","tyrannosaurus","urial","vicuna","viper","vole","vulture","wallaby","walrus","wasp","warbler","weasel","whale","whippet","whitefish","wildcat","wildebeest","wildfowl","wolf","wolverine","wombat","woodpecker","worm","wren","xerinae","yak","zebra","alpaca","cat","cattle","chicken","dog","donkey","ferret","gayal","goldfish","guppy","horse","koi","llama","sheep","yak","unicorn"],OD=["amaranth","amber","amethyst","apricot","aqua","aquamarine","azure","beige","black","blue","blush","bronze","brown","chocolate","coffee","copper","coral","crimson","cyan","emerald","fuchsia","gold","gray","green","harlequin","indigo","ivory","jade","lavender","lime","magenta","maroon","moccasin","olive","orange","peach","pink","plum","purple","red","rose","salmon","sapphire","scarlet","silver","tan","teal","tomato","turquoise","violet","white","yellow"];let ID=(()=>{class e{constructor(e){this.http=e}register(e){return this.http.post(sd+"/users",e)}checkModel(e){return this.http.post(sd+"/users/model",e)}password(e){return this.http.patch(sd+"/users/password",e)}update(e){return this.http.patch(sd+"/users",e)}}return e.\u0275fac=function(t){return new(t||e)($e(s_))},e.\u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),jD=(()=>{class e{constructor(e){this.http=e}items(){return this.http.get(sd+"/items")}redeemSecret(e){return this.http.put(sd+"/items",JSON.stringify(e))}removeSecret(e){return this.http.request("delete",sd+"/items",{body:JSON.stringify(e)})}redeem(){return this.http.post(sd+"/items",{})}}return e.\u0275fac=function(t){return new(t||e)($e(s_))},e.\u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),FD=(()=>{class e{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(e){this._vertical=kw(e)}get inset(){return this._inset}set inset(e){this._inset=kw(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=mt({type:e,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(e,t){2&e&&(Ea("aria-orientation",t.vertical?"vertical":"horizontal"),fo("mat-divider-vertical",t.vertical)("mat-divider-horizontal",!t.vertical)("mat-divider-inset",t.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(e,t){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],encapsulation:2,changeDetection:0}),e})(),HD=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[bk],bk]}),e})();const ND=["*"],BD='.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n',zD=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],UD=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"];class VD{}const KD=vk(kk(VD));class WD{}const qD=kk(WD),GD=new Fe("MatList"),$D=new Fe("MatNavList");let ZD=(()=>{class e extends KD{constructor(){super(...arguments),this._stateChanges=new M}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return e.\u0275fac=function(t){return JD(t||e)},e.\u0275cmp=mt({type:e,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[Fo([{provide:$D,useExisting:e}]),ga,Ot],ngContentSelectors:ND,decls:1,vars:0,template:function(e,t){1&e&&(eo(),to(0))},styles:[BD],encapsulation:2,changeDetection:0}),e})();const JD=vn(ZD);let QD=(()=>{class e extends KD{constructor(e){super(),this._elementRef=e,this._stateChanges=new M,"action-list"===this._getListType()&&e.nativeElement.classList.add("mat-action-list")}_getListType(){const e=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===e?"list":"mat-action-list"===e?"action-list":null}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo))},e.\u0275cmp=mt({type:e,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[Fo([{provide:GD,useExisting:e}]),ga,Ot],ngContentSelectors:ND,decls:1,vars:0,template:function(e,t){1&e&&(eo(),to(0))},styles:[BD],encapsulation:2,changeDetection:0}),e})(),XD=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=vt({type:e,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),e})(),eL=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=vt({type:e,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),e})(),tL=(()=>{class e extends qD{constructor(e,t,r,n){super(),this._element=e,this._isInteractiveList=!1,this._destroyed=new M,this._disabled=!1,this._isInteractiveList=!!(r||n&&"action-list"===n._getListType()),this._list=r||n;const i=this._getHostElement();"button"!==i.nodeName.toLowerCase()||i.hasAttribute("type")||i.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe(gM(this._destroyed)).subscribe(()=>{t.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(e){this._disabled=kw(e)}ngAfterContentInit(){!function(e,t,r="mat"){e.changes.pipe(Nh(e)).subscribe(({length:e})=>{Pk(t,r+"-2-line",!1),Pk(t,r+"-3-line",!1),Pk(t,r+"-multi-line",!1),2===e||3===e?Pk(t,`${r}-${e}-line`,!0):e>3&&Pk(t,r+"-multi-line",!0)})}(this._lines,this._element)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(Zs),Ra($D,8),Ra(GD,8))},e.\u0275cmp=mt({type:e,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(e,t,r){var n;1&e&&(rc(r,XD,!0),rc(r,eL,!0),rc(r,Tk,!0)),2&e&&(Ql(n=sc())&&(t._avatar=n.first),Ql(n=sc())&&(t._icon=n.first),Ql(n=sc())&&(t._lines=n))},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(e,t){2&e&&fo("mat-list-item-disabled",t.disabled)("mat-list-item-avatar",t._avatar||t._icon)("mat-list-item-with-avatar",t._avatar||t._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[ga],ngContentSelectors:UD,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(e,t){1&e&&(eo(zD),Fa(0,"div",0),Na(1,"div",1),to(2),Fa(3,"div",2),to(4,1),Ha(),to(5,2),Ha()),2&e&&(Li(1),Ia("matRippleTrigger",t._getHostElement())("matRippleDisabled",t._isRippleDisabled()))},directives:[Bk],encapsulation:2,changeDetection:0}),e})(),rL=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Yk,zk,bk,Vk,Mu],Yk,bk,Vk,HD]}),e})();const nL=[[["caption"]],[["colgroup"],["col"]]],iL=["caption","colgroup, col"];function sL(e){return class extends e{constructor(...e){super(...e),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(e){const t=this._sticky;this._sticky=kw(e),this._hasStickyChanged=t!==this._sticky}hasStickyChanged(){const e=this._hasStickyChanged;return this._hasStickyChanged=!1,e}resetStickyChanged(){this._hasStickyChanged=!1}}}const aL=new Fe("CDK_TABLE");let oL=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(Ra(hl))},e.\u0275dir=vt({type:e,selectors:[["","cdkCellDef",""]]}),e})(),lL=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(Ra(hl))},e.\u0275dir=vt({type:e,selectors:[["","cdkHeaderCellDef",""]]}),e})(),cL=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(Ra(hl))},e.\u0275dir=vt({type:e,selectors:[["","cdkFooterCellDef",""]]}),e})();class dL{}const uL=sL(dL);let hL=(()=>{class e extends uL{constructor(e){super(),this._table=e,this._stickyEnd=!1}get name(){return this._name}set name(e){this._setNameInput(e)}get stickyEnd(){return this._stickyEnd}set stickyEnd(e){const t=this._stickyEnd;this._stickyEnd=kw(e),this._hasStickyChanged=t!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=["cdk-column-"+this.cssClassFriendlyName]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return e.\u0275fac=function(t){return new(t||e)(Ra(aL,8))},e.\u0275dir=vt({type:e,selectors:[["","cdkColumnDef",""]],contentQueries:function(e,t,r){var n;1&e&&(rc(r,oL,!0),rc(r,lL,!0),rc(r,cL,!0)),2&e&&(Ql(n=sc())&&(t.cell=n.first),Ql(n=sc())&&(t.headerCell=n.first),Ql(n=sc())&&(t.footerCell=n.first))},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[Fo([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),ga]}),e})();class fL{constructor(e,t){const r=t.nativeElement.classList;for(const n of e._columnCssClassName)r.add(n)}}let mL=(()=>{class e extends fL{constructor(e,t){super(e,t)}}return e.\u0275fac=function(t){return new(t||e)(Ra(hL),Ra(zo))},e.\u0275dir=vt({type:e,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[ga]}),e})(),pL=(()=>{class e extends fL{constructor(e,t){super(e,t)}}return e.\u0275fac=function(t){return new(t||e)(Ra(hL),Ra(zo))},e.\u0275dir=vt({type:e,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:["role","gridcell",1,"cdk-cell"],features:[ga]}),e})();class _L{constructor(){this.tasks=[],this.endTasks=[]}}const gL=new Fe("_COALESCED_STYLE_SCHEDULER");let yL=(()=>{class e{constructor(e){this._ngZone=e,this._currentSchedule=null,this._destroyed=new M}schedule(e){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(e)}scheduleEnd(e){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(e)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new _L,this._getScheduleObservable().pipe(gM(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const e=this._currentSchedule;this._currentSchedule=new _L;for(const t of e.tasks)t();for(const t of e.endTasks)t()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?I(Promise.resolve(void 0)):this._ngZone.onStable.pipe(Ih(1))}}return e.\u0275fac=function(t){return new(t||e)($e(Ec))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})(),bL=(()=>{class e{constructor(e,t){this.template=e,this._differs=t}ngOnChanges(e){if(!this._columnsDiffer){const t=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(t).create(),this._columnsDiffer.diff(t)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof kL?e.headerCell.template:this instanceof xL?e.footerCell.template:e.cell.template}}return e.\u0275fac=function(t){return new(t||e)(Ra(hl),Ra(ol))},e.\u0275dir=vt({type:e,features:[Ot]}),e})();class vL extends bL{}const wL=sL(vL);let kL=(()=>{class e extends wL{constructor(e,t,r){super(e,t),this._table=r}ngOnChanges(e){super.ngOnChanges(e)}}return e.\u0275fac=function(t){return new(t||e)(Ra(hl),Ra(ol),Ra(aL,8))},e.\u0275dir=vt({type:e,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[ga,Ot]}),e})();class ML extends bL{}const SL=sL(ML);let xL=(()=>{class e extends SL{constructor(e,t,r){super(e,t),this._table=r}ngOnChanges(e){super.ngOnChanges(e)}}return e.\u0275fac=function(t){return new(t||e)(Ra(hl),Ra(ol),Ra(aL,8))},e.\u0275dir=vt({type:e,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[ga,Ot]}),e})(),CL=(()=>{class e extends bL{constructor(e,t,r){super(e,t),this._table=r}}return e.\u0275fac=function(t){return new(t||e)(Ra(hl),Ra(ol),Ra(aL,8))},e.\u0275dir=vt({type:e,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[ga]}),e})(),DL=(()=>{class e{constructor(t){this._viewContainer=t,e.mostRecentCellOutlet=this}ngOnDestroy(){e.mostRecentCellOutlet===this&&(e.mostRecentCellOutlet=null)}}return e.\u0275fac=function(t){return new(t||e)(Ra(ml))},e.\u0275dir=vt({type:e,selectors:[["","cdkCellOutlet",""]]}),e.mostRecentCellOutlet=null,e})(),LL=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=mt({type:e,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&Ua(0,0)},directives:[DL],encapsulation:2}),e})(),AL=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=mt({type:e,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&Ua(0,0)},directives:[DL],encapsulation:2}),e})(),EL=(()=>{class e{constructor(e){this.templateRef=e}}return e.\u0275fac=function(t){return new(t||e)(Ra(hl))},e.\u0275dir=vt({type:e,selectors:[["ng-template","cdkNoDataRow",""]]}),e})();const TL=["top","bottom","left","right"];class PL{constructor(e,t,r,n,i=!0,s=!0){this._isNativeHtmlTable=e,this._stickCellCss=t,this.direction=r,this._coalescedStyleScheduler=n,this._isBrowser=i,this._needsPositionStickyOnElement=s}clearStickyPositioning(e,t){const r=[];for(const n of e)if(n.nodeType===n.ELEMENT_NODE){r.push(n);for(let e=0;e{for(const e of r)this._removeStickyStyle(e,t)})}updateStickyColumns(e,t,r){if(!e.length||!this._isBrowser||!t.some(e=>e)&&!r.some(e=>e))return;const n=e[0],i=n.children.length,s=this._getCellWidths(n),a=this._getStickyStartColumnPositions(s,t),o=this._getStickyEndColumnPositions(s,r);this._scheduleStyleChanges(()=>{const n="rtl"===this.direction,s=n?"right":"left",l=n?"left":"right";for(const c of e)for(let e=0;e{for(let e=0;e{t.some(e=>!e)?this._removeStickyStyle(r,["bottom"]):this._addStickyStyle(r,"bottom",0)})}_removeStickyStyle(e,t){for(const r of t)e.style[r]="";TL.some(r=>-1===t.indexOf(r)&&e.style[r])?e.style.zIndex=this._getCalculatedZIndex(e):(e.style.zIndex="",this._needsPositionStickyOnElement&&(e.style.position=""),e.classList.remove(this._stickCellCss))}_addStickyStyle(e,t,r){e.classList.add(this._stickCellCss),e.style[t]=r+"px",e.style.zIndex=this._getCalculatedZIndex(e),this._needsPositionStickyOnElement&&(e.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(e){const t={top:100,bottom:10,left:1,right:1};let r=0;for(const n of TL)e.style[n]&&(r+=t[n]);return r?""+r:""}_getCellWidths(e){const t=[],r=e.children;for(let n=0;n0;i--)t[i]&&(r[i]=n,n+=e[i]);return r}_scheduleStyleChanges(e){this._coalescedStyleScheduler?this._coalescedStyleScheduler.schedule(e):e()}}let YL=(()=>{class e{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return e.\u0275fac=function(t){return new(t||e)(Ra(ml),Ra(zo))},e.\u0275dir=vt({type:e,selectors:[["","rowOutlet",""]]}),e})(),RL=(()=>{class e{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return e.\u0275fac=function(t){return new(t||e)(Ra(ml),Ra(zo))},e.\u0275dir=vt({type:e,selectors:[["","headerRowOutlet",""]]}),e})(),OL=(()=>{class e{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return e.\u0275fac=function(t){return new(t||e)(Ra(ml),Ra(zo))},e.\u0275dir=vt({type:e,selectors:[["","footerRowOutlet",""]]}),e})(),IL=(()=>{class e{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return e.\u0275fac=function(t){return new(t||e)(Ra(ml),Ra(zo))},e.\u0275dir=vt({type:e,selectors:[["","noDataRowOutlet",""]]}),e})(),jL=(()=>{class e{constructor(e,t,r,n,i,s,a,o,l){this._differs=e,this._changeDetectorRef=t,this._elementRef=r,this._dir=i,this._platform=a,this._viewRepeater=o,this._coalescedStyleScheduler=l,this._onDestroy=new M,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this.viewChange=new ah({start:0,end:Number.MAX_VALUE}),n||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=s,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=kw(e),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((e,t)=>this.trackBy?this.trackBy(t.dataIndex,t.data):t)}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const e=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():e&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){this._rowOutlet.viewContainer.clear(),this._noDataRowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),tC(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const e=this._dataDiffer.diff(this._renderRows);if(!e)return void this._updateNoDataRow();const t=this._rowOutlet.viewContainer;this._viewRepeater?this._viewRepeater.applyChanges(e,t,(e,t,r)=>this._getEmbeddedViewArgs(e.item,r),e=>e.item.data,e=>{1===e.operation&&e.context&&this._renderCellTemplateForItem(e.record.item.rowDef,e.context)}):e.forEachOperation((e,r,n)=>{if(null==e.previousIndex){const t=e.item;this._renderRow(this._rowOutlet,t.rowDef,n,{$implicit:t.data})}else if(null==n)t.remove(r);else{const e=t.get(r);t.move(e,n)}}),this._updateRowIndexContext(),e.forEachIdentityChange(e=>{t.get(e.currentIndex).context.$implicit=e.item.data}),this._updateNoDataRow(),this.updateStickyColumnStyles()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}updateStickyHeaderRowStyles(){const e=this._getRenderedRows(this._headerRowOutlet),t=this._elementRef.nativeElement.querySelector("thead");t&&(t.style.display=e.length?"":"none");const r=this._headerRowDefs.map(e=>e.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,r,"top"),this._headerRowDefs.forEach(e=>e.resetStickyChanged())}updateStickyFooterRowStyles(){const e=this._getRenderedRows(this._footerRowOutlet),t=this._elementRef.nativeElement.querySelector("tfoot");t&&(t.style.display=e.length?"":"none");const r=this._footerRowDefs.map(e=>e.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,r,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,r),this._footerRowDefs.forEach(e=>e.resetStickyChanged())}updateStickyColumnStyles(){const e=this._getRenderedRows(this._headerRowOutlet),t=this._getRenderedRows(this._rowOutlet),r=this._getRenderedRows(this._footerRowOutlet);this._stickyStyler.clearStickyPositioning([...e,...t,...r],["left","right"]),e.forEach((e,t)=>{this._addStickyColumnStyles([e],this._headerRowDefs[t])}),this._rowDefs.forEach(e=>{const r=[];for(let n=0;n{this._addStickyColumnStyles([e],this._footerRowDefs[t])}),Array.from(this._columnDefsByName.values()).forEach(e=>e.resetStickyChanged())}_getAllRenderRows(){const e=[],t=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let r=0;r{const i=r&&r.has(n)?r.get(n):[];if(i.length){const e=i.shift();return e.dataIndex=t,e}return{data:e,rowDef:n,dataIndex:t}})}_cacheColumnDefs(){this._columnDefsByName.clear(),FL(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(e=>{this._columnDefsByName.has(e.name),this._columnDefsByName.set(e.name,e)})}_cacheRowDefs(){this._headerRowDefs=FL(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=FL(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=FL(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const e=this._rowDefs.filter(e=>!e.when);this._defaultRowDef=e[0]}_renderUpdatedColumns(){const e=(e,t)=>e||!!t.getColumnsDiff(),t=this._rowDefs.reduce(e,!1);t&&this._forceRenderDataRows();const r=this._headerRowDefs.reduce(e,!1);r&&this._forceRenderHeaderRows();const n=this._footerRowDefs.reduce(e,!1);return n&&this._forceRenderFooterRows(),t||r||n}_switchDataSource(e){this._data=[],tC(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;var t;tC(this.dataSource)?e=this.dataSource.connect(this):(t=this.dataSource)&&(t instanceof y||"function"==typeof t.lift&&"function"==typeof t.subscribe)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=sh(this.dataSource)),this._renderChangeSubscription=e.pipe(gM(this._onDestroy)).subscribe(e=>{this._data=e||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,t)=>this._renderRow(this._headerRowOutlet,e,t)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,t)=>this._renderRow(this._footerRowOutlet,e,t)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,t){const r=Array.from(t.columns||[]).map(e=>this._columnDefsByName.get(e)),n=r.map(e=>e.sticky),i=r.map(e=>e.stickyEnd);this._stickyStyler.updateStickyColumns(e,n,i)}_getRenderedRows(e){const t=[];for(let r=0;r!r.when||r.when(t,e));else{let n=this._rowDefs.find(r=>r.when&&r.when(t,e))||this._defaultRowDef;n&&r.push(n)}return r}_getEmbeddedViewArgs(e,t){return{templateRef:e.rowDef.template,context:{$implicit:e.data},index:t}}_renderRow(e,t,r,n={}){const i=e.viewContainer.createEmbeddedView(t.template,n,r);return this._renderCellTemplateForItem(t,n),i}_renderCellTemplateForItem(e,t){for(let r of this._getCellTemplates(e))DL.mostRecentCellOutlet&&DL.mostRecentCellOutlet._viewContainer.createEmbeddedView(r,t);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const e=this._rowOutlet.viewContainer;for(let t=0,r=e.length;t{const r=this._columnDefsByName.get(t);return e.extractCellTemplate(r)}):[]}_applyNativeTableSections(){const e=this._document.createDocumentFragment(),t=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const r of t){const t=this._document.createElement(r.tag);t.setAttribute("role","rowgroup");for(const e of r.outlets)t.appendChild(e.elementRef.nativeElement);e.appendChild(t)}this._elementRef.nativeElement.appendChild(e)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const e=(e,t)=>e||t.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&this.updateStickyColumnStyles()}_setupStickyStyler(){this._stickyStyler=new PL(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement),(this._dir?this._dir.change:sh()).pipe(gM(this._onDestroy)).subscribe(e=>{this._stickyStyler.direction=e,this.updateStickyColumnStyles()})}_getOwnDefs(e){return e.filter(e=>!e._table||e._table===this)}_updateNoDataRow(){if(this._noDataRow){const e=0===this._rowOutlet.viewContainer.length;if(e!==this._isShowingNoDataRow){const t=this._noDataRowOutlet.viewContainer;e?t.createEmbeddedView(this._noDataRow.templateRef):t.clear(),this._isShowingNoDataRow=e}}}}return e.\u0275fac=function(t){return new(t||e)(Ra(ol),Ra(Zs),Ra(zo),Oa("role"),Ra(dk,8),Ra(ld),Ra($v),Ra(iC,8),Ra(gL,8))},e.\u0275cmp=mt({type:e,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(e,t,r){var n;1&e&&(rc(r,EL,!0),rc(r,hL,!0),rc(r,CL,!0),rc(r,kL,!0),rc(r,xL,!0)),2&e&&(Ql(n=sc())&&(t._noDataRow=n.first),Ql(n=sc())&&(t._contentColumnDefs=n),Ql(n=sc())&&(t._contentRowDefs=n),Ql(n=sc())&&(t._contentHeaderRowDefs=n),Ql(n=sc())&&(t._contentFooterRowDefs=n))},viewQuery:function(e,t){var r;1&e&&(Xl(YL,!0),Xl(RL,!0),Xl(OL,!0),Xl(IL,!0)),2&e&&(Ql(r=sc())&&(t._rowOutlet=r.first),Ql(r=sc())&&(t._headerRowOutlet=r.first),Ql(r=sc())&&(t._footerRowOutlet=r.first),Ql(r=sc())&&(t._noDataRowOutlet=r.first))},hostAttrs:[1,"cdk-table"],inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows"},exportAs:["cdkTable"],features:[Fo([{provide:aL,useExisting:e},{provide:iC,useClass:rC},{provide:gL,useClass:yL}])],ngContentSelectors:iL,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,t){1&e&&(eo(nL),to(0),to(1,1),Ua(2,0),Ua(3,1),Ua(4,2),Ua(5,3))},directives:[RL,YL,IL,OL],encapsulation:2}),e})();function FL(e,t){return e.concat(Array.from(t))}let HL=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[cC]]}),e})();const NL=[[["caption"]],[["colgroup"],["col"]]],BL=["caption","colgroup, col"];let zL=(()=>{class e extends jL{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return e.\u0275fac=function(t){return UL(t||e)},e.\u0275cmp=mt({type:e,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],exportAs:["matTable"],features:[Fo([{provide:iC,useClass:rC},{provide:jL,useExisting:e},{provide:aL,useExisting:e},{provide:gL,useClass:yL}]),ga],ngContentSelectors:BL,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,t){1&e&&(eo(NL),to(0),to(1,1),Ua(2,0),Ua(3,1),Ua(4,2),Ua(5,3))},directives:[RL,YL,IL,OL],styles:['mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-row::after,mat-header-row::after,mat-footer-row::after{display:inline-block;min-height:inherit;content:""}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:-webkit-sticky;position:sticky}\n'],encapsulation:2}),e})();const UL=vn(zL);let VL=(()=>{class e extends oL{}return e.\u0275fac=function(t){return KL(t||e)},e.\u0275dir=vt({type:e,selectors:[["","matCellDef",""]],features:[Fo([{provide:oL,useExisting:e}]),ga]}),e})();const KL=vn(VL);let WL=(()=>{class e extends lL{}return e.\u0275fac=function(t){return qL(t||e)},e.\u0275dir=vt({type:e,selectors:[["","matHeaderCellDef",""]],features:[Fo([{provide:lL,useExisting:e}]),ga]}),e})();const qL=vn(WL);let GL=(()=>{class e extends hL{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push("mat-column-"+this.cssClassFriendlyName)}}return e.\u0275fac=function(t){return $L(t||e)},e.\u0275dir=vt({type:e,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[Fo([{provide:hL,useExisting:e},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),ga]}),e})();const $L=vn(GL);let ZL=(()=>{class e extends mL{}return e.\u0275fac=function(t){return JL(t||e)},e.\u0275dir=vt({type:e,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[ga]}),e})();const JL=vn(ZL);let QL=(()=>{class e extends pL{}return e.\u0275fac=function(t){return XL(t||e)},e.\u0275dir=vt({type:e,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[ga]}),e})();const XL=vn(QL);let eA=(()=>{class e extends kL{}return e.\u0275fac=function(t){return tA(t||e)},e.\u0275dir=vt({type:e,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[Fo([{provide:kL,useExisting:e}]),ga]}),e})();const tA=vn(eA);let rA=(()=>{class e extends CL{}return e.\u0275fac=function(t){return nA(t||e)},e.\u0275dir=vt({type:e,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[Fo([{provide:CL,useExisting:e}]),ga]}),e})();const nA=vn(rA);let iA=(()=>{class e extends LL{}return e.\u0275fac=function(t){return sA(t||e)},e.\u0275cmp=mt({type:e,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[Fo([{provide:LL,useExisting:e}]),ga],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&Ua(0,0)},directives:[DL],encapsulation:2}),e})();const sA=vn(iA);let aA=(()=>{class e extends AL{}return e.\u0275fac=function(t){return oA(t||e)},e.\u0275cmp=mt({type:e,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[Fo([{provide:AL,useExisting:e}]),ga],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&Ua(0,0)},directives:[DL],encapsulation:2}),e})();const oA=vn(aA);let lA=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[HL,bk],bk]}),e})();class cA extends class{}{constructor(e=[]){super(),this._renderData=new ah([]),this._filter=new ah(""),this._internalPageChanges=new M,this._renderChangesSubscription=u.EMPTY,this.sortingDataAccessor=(e,t)=>{const r=e[t];if(Sw(r)){const e=Number(r);return e<9007199254740991?e:r}return r},this.sortData=(e,t)=>{const r=t.active,n=t.direction;return r&&""!=n?e.sort((e,t)=>{let i=this.sortingDataAccessor(e,r),s=this.sortingDataAccessor(t,r);const a=typeof i,o=typeof s;a!==o&&("number"===a&&(i+=""),"number"===o&&(s+=""));let l=0;return null!=i&&null!=s?i>s?l=1:i{const r=Object.keys(e).reduce((t,r)=>t+e[r]+"\u25ec","").toLowerCase(),n=t.trim().toLowerCase();return-1!=r.indexOf(n)},this._data=new ah(e),this._updateChangeSubscription()}get data(){return this._data.value}set data(e){this._data.next(e)}get filter(){return this._filter.value}set filter(e){this._filter.next(e)}get sort(){return this._sort}set sort(e){this._sort=e,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(e){this._paginator=e,this._updateChangeSubscription()}_updateChangeSubscription(){const e=this._sort?K(this._sort.sortChange,this._sort.initialized):sh(null),t=this._paginator?K(this._paginator.page,this._internalPageChanges,this._paginator.initialized):sh(null),r=uh([this._data,this._filter]).pipe(C(([e])=>this._filterData(e))),n=uh([r,e]).pipe(C(([e])=>this._orderData(e))),i=uh([n,t]).pipe(C(([e])=>this._pageData(e)));this._renderChangesSubscription.unsubscribe(),this._renderChangesSubscription=i.subscribe(e=>this._renderData.next(e))}_filterData(e){return this.filteredData=this.filter?e.filter(e=>this.filterPredicate(e,this.filter)):e,this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(e){return this.sort?this.sortData(e.slice(),this.sort):e}_pageData(e){if(!this.paginator)return e;const t=this.paginator.pageIndex*this.paginator.pageSize;return e.slice(t,t+this.paginator.pageSize)}_updatePaginator(e){Promise.resolve().then(()=>{const t=this.paginator;if(t&&(t.length=e,t.pageIndex>0)){const e=Math.ceil(t.length/t.pageSize)-1||0,r=Math.min(t.pageIndex,e);r!==t.pageIndex&&(t.pageIndex=r,this._internalPageChanges.next())}})}connect(){return this._renderData}disconnect(){}}const dA=["mat-sort-header",""];function uA(e,t){if(1&e){const e=Va();Fa(0,"div",3),qa("@arrowPosition.start",(function(){return or(e),Qa()._disableViewStateAnimation=!0}))("@arrowPosition.done",(function(){return or(e),Qa()._disableViewStateAnimation=!1})),Na(1,"div",4),Fa(2,"div",5),Na(3,"div",6),Na(4,"div",7),Na(5,"div",8),Ha(),Ha()}if(2&e){const e=Qa();Ia("@arrowOpacity",e._getArrowViewState())("@arrowPosition",e._getArrowViewState())("@allowChildren",e._getArrowDirectionState()),Li(2),Ia("@indicator",e._getArrowDirectionState()),Li(1),Ia("@leftPointer",e._getArrowDirectionState()),Li(1),Ia("@rightPointer",e._getArrowDirectionState())}}const hA=["*"];class fA{}const mA=xk(vk(fA));let pA=(()=>{class e extends mA{constructor(){super(...arguments),this.sortables=new Map,this._stateChanges=new M,this.start="asc",this._direction="",this.sortChange=new Bl}get direction(){return this._direction}set direction(e){this._direction=e}get disableClear(){return this._disableClear}set disableClear(e){this._disableClear=kw(e)}register(e){this.sortables.set(e.id,e)}deregister(e){this.sortables.delete(e.id)}sort(e){this.active!=e.id?(this.active=e.id,this.direction=e.start?e.start:this.start):this.direction=this.getNextSortDirection(e),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(e){if(!e)return"";let t=function(e,t){let r=["asc","desc"];return"desc"==e&&r.reverse(),t||r.push(""),r}(e.start||this.start,null!=e.disableClear?e.disableClear:this.disableClear),r=t.indexOf(this.direction)+1;return r>=t.length&&(r=0),t[r]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return e.\u0275fac=function(t){return _A(t||e)},e.\u0275dir=vt({type:e,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"],active:["matSortActive","active"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[ga,Ot]}),e})();const _A=vn(pA),gA=_k.ENTERING+" "+pk.STANDARD_CURVE,yA={indicator:ly("indicator",[fy("active-asc, asc",hy({transform:"translateY(0px)"})),fy("active-desc, desc",hy({transform:"translateY(10px)"})),py("active-asc <=> active-desc",cy(gA))]),leftPointer:ly("leftPointer",[fy("active-asc, asc",hy({transform:"rotate(-45deg)"})),fy("active-desc, desc",hy({transform:"rotate(45deg)"})),py("active-asc <=> active-desc",cy(gA))]),rightPointer:ly("rightPointer",[fy("active-asc, asc",hy({transform:"rotate(45deg)"})),fy("active-desc, desc",hy({transform:"rotate(-45deg)"})),py("active-asc <=> active-desc",cy(gA))]),arrowOpacity:ly("arrowOpacity",[fy("desc-to-active, asc-to-active, active",hy({opacity:1})),fy("desc-to-hint, asc-to-hint, hint",hy({opacity:.54})),fy("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",hy({opacity:0})),py("* => asc, * => desc, * => active, * => hint, * => void",cy("0ms")),py("* <=> *",cy(gA))]),arrowPosition:ly("arrowPosition",[py("* => desc-to-hint, * => desc-to-active",cy(gA,my([hy({transform:"translateY(-25%)"}),hy({transform:"translateY(0)"})]))),py("* => hint-to-desc, * => active-to-desc",cy(gA,my([hy({transform:"translateY(0)"}),hy({transform:"translateY(25%)"})]))),py("* => asc-to-hint, * => asc-to-active",cy(gA,my([hy({transform:"translateY(25%)"}),hy({transform:"translateY(0)"})]))),py("* => hint-to-asc, * => active-to-asc",cy(gA,my([hy({transform:"translateY(0)"}),hy({transform:"translateY(-25%)"})]))),fy("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",hy({transform:"translateY(0)"})),fy("hint-to-desc, active-to-desc, desc",hy({transform:"translateY(-25%)"})),fy("hint-to-asc, active-to-asc, asc",hy({transform:"translateY(25%)"}))]),allowChildren:ly("allowChildren",[py("* <=> *",[gy("@*",_y(),{optional:!0})])])};let bA=(()=>{class e{constructor(){this.changes=new M,this.sortButtonLabel=e=>"Change sorting for "+e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=de({factory:function(){return new e},token:e,providedIn:"root"}),e})();const vA={provide:bA,deps:[[new ie,new ae,bA]],useFactory:function(e){return e||new bA}};class wA{}const kA=vk(wA);let MA=(()=>{class e extends kA{constructor(e,t,r,n,i,s){super(),this._intl=e,this._sort=r,this._columnDef=n,this._focusMonitor=i,this._elementRef=s,this._showIndicatorHint=!1,this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._rerenderSubscription=K(r.sortChange,r._stateChanges,e.changes).subscribe(()=>{this._isSorted()&&this._updateArrowDirection(),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),t.markForCheck()})}get disableClear(){return this._disableClear}set disableClear(e){this._disableClear=kw(e)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>this._setIndicatorHintVisible(!!e))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(e){this._isDisabled()&&e||(this._showIndicatorHint=e,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(e){this._viewState=e,this._disableViewStateAnimation&&(this._viewState={toState:e.toState})}_toggleOnInteraction(){this._sort.sort(this),"hint"!==this._viewState.toState&&"active"!==this._viewState.toState||(this._disableViewStateAnimation=!0);const e=this._isSorted()?{fromState:this._arrowDirection,toState:"active"}:{fromState:"active",toState:this._arrowDirection};this._setAnimationTransitionState(e),this._showIndicatorHint=!1}_handleClick(){this._isDisabled()||this._toggleOnInteraction()}_handleKeydown(e){this._isDisabled()||e.keyCode!==ow&&e.keyCode!==sw||(e.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const e=this._viewState.fromState;return(e?e+"-to-":"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}}return e.\u0275fac=function(t){return new(t||e)(Ra(bA),Ra(Zs),Ra(pA,8),Ra("MAT_SORT_HEADER_COLUMN_DEF",8),Ra(tk),Ra(zo))},e.\u0275cmp=mt({type:e,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(e,t){1&e&&qa("click",(function(){return t._handleClick()}))("keydown",(function(e){return t._handleKeydown(e)}))("mouseenter",(function(){return t._setIndicatorHintVisible(!0)}))("mouseleave",(function(){return t._setIndicatorHintVisible(!1)})),2&e&&(Ea("aria-sort",t._getAriaSortAttribute()),fo("mat-sort-header-disabled",t._isDisabled()))},inputs:{disabled:"disabled",arrowPosition:"arrowPosition",disableClear:"disableClear",id:["mat-sort-header","id"],start:"start"},exportAs:["matSortHeader"],features:[ga],attrs:dA,ngContentSelectors:hA,decls:4,vars:6,consts:[["role","button",1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(e,t){1&e&&(eo(),Fa(0,"div",0),Fa(1,"div",1),to(2),Ha(),Pa(3,uA,6,6,"div",2),Ha()),2&e&&(fo("mat-sort-header-sorted",t._isSorted())("mat-sort-header-position-before","before"==t.arrowPosition),Ea("tabindex",t._isDisabled()?null:0),Li(3),Ia("ngIf",t._renderArrow()))},directives:[au],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}\n"],encapsulation:2,data:{animation:[yA.indicator,yA.leftPointer,yA.rightPointer,yA.arrowOpacity,yA.arrowPosition,yA.allowChildren]},changeDetection:0}),e})(),SA=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[vA],imports:[[Mu]]}),e})();function xA(e,t){1&e&&(Fa(0,"th",10),xo(1),Il(2,"i18n"),Ha()),2&e&&(Li(1),Do(" ",jl(2,1,"permissions.name")," "))}function CA(e,t){1&e&&(Fa(0,"mat-icon"),xo(1,"add_circle"),Ha())}function DA(e,t){if(1&e&&(Fa(0,"td",11),Fa(1,"mat-icon",12),xo(2),Il(3,"i18n"),Ha(),xo(4),Il(5,"i18n"),Pa(6,CA,2,0,"mat-icon",13),Na(7,"br"),Fa(8,"small"),xo(9),Il(10,"i18n"),Ha(),Ha()),2&e){const e=t.$implicit;Li(2),Co(jl(3,4,"services."+e.name+".icon")),Li(2),Do(" ",jl(5,6,"services."+e.name+".title")," "),Li(2),Ia("ngIf",e.addon),Li(3),Co(jl(10,8,"services."+e.name+".subtitle"))}}function LA(e,t){1&e&&(Fa(0,"th",14),xo(1),Il(2,"i18n"),Ha()),2&e&&(Li(1),Do(" ",jl(2,1,"permissions.starts")," "))}function AA(e,t){if(1&e&&(Fa(0,"td",11),xo(1),Il(2,"date"),Ha()),2&e){const e=t.$implicit,r=Qa();Li(1),Co(Fl(2,1,e.starts,r.datetimeformat))}}function EA(e,t){1&e&&(Fa(0,"th",15),xo(1),Il(2,"i18n"),Ha()),2&e&&(Li(1),Do(" ",jl(2,1,"permissions.expires")," "))}function TA(e,t){if(1&e&&(Fa(0,"td",11),xo(1),Il(2,"date"),Ha()),2&e){const e=t.$implicit,r=Qa();Li(1),Co(Fl(2,1,e.expires,r.datetimeformat))}}function PA(e,t){1&e&&Na(0,"tr",16)}function YA(e,t){1&e&&Na(0,"tr",17)}let RA=(()=>{class e{constructor(e){this.i18n=e,this.permissionColumns=["name","starts","expires"]}ngOnInit(){this.datetimeformat=this.i18n.get("date-time-format",[])}sortData(e){const t=this.permissions.slice();this.permissions=e.active&&""!==e.direction?t.sort((t,r)=>{const n="asc"===e.direction;switch(e.active){case"name":return this.compare(this.i18n.get("services."+t.name+".title",[]),this.i18n.get("services."+r.name+".title",[]),n);case"starts":return this.compare(t.starts,r.starts,n);case"expires":return this.compare(t.expires,r.expires,n);default:return 0}}):t}compare(e,t,r){return(e{class e{constructor(e){this.i18n=e,this.quotaColumns=["name","quota","quotaUnit"]}ngOnInit(){}sortData(e){const t=this.quotas.slice();this.quotas=e.active&&""!==e.direction?t.sort((t,r)=>{const n="asc"===e.direction;switch(e.active){case"name":return this.compare(this.i18n.get("services."+t.name+".title",[]),this.i18n.get("services."+r.name+".title",[]),n);case"value":return this.compare(t.value,r.value,n);default:return 0}}):t}compare(e,t,r){return(e{class e{constructor(e,t){this.renderer=e,this.platformId=t,this.colordark="",this.colorlight="",this.level="",this.hidetitle=!1,this.size=0,this.usesvg=!1,this.allowEmptyString=!1,this.qrdata="",this.colorDark="#000000ff",this.colorLight="#ffffffff",this.cssClass="qrcode",this.elementType="canvas",this.errorCorrectionLevel="M",this.margin=4,this.scale=4,this.width=10,""!==this.colordark&&console.warn("[angularx-qrcode] colordark is deprecated, use colorDark."),""!==this.colorlight&&console.warn("[angularx-qrcode] colorlight is deprecated, use colorLight."),""!==this.level&&console.warn("[angularx-qrcode] level is deprecated, use errorCorrectionLevel."),!1!==this.hidetitle&&console.warn("[angularx-qrcode] hidetitle is deprecated."),0!==this.size&&console.warn("[angularx-qrcode] size is deprecated, use `width`. Defaults to 10."),!1!==this.usesvg&&console.warn("[angularx-qrcode] usesvg is deprecated, use [elementType]=\"'svg'\".")}ngOnChanges(){this.createQRCode()}isValidQrCodeText(e){return!1===this.allowEmptyString?!(void 0===e||""===e||"null"===e||null===e):!(void 0===e)}toDataURL(){return new Promise((e,t)=>{Object(WA.toDataURL)(this.qrdata,{color:{dark:this.colorDark,light:this.colorLight},errorCorrectionLevel:this.errorCorrectionLevel,margin:this.margin,scale:this.scale,version:this.version,width:this.width},(r,n)=>{r?t(r):e(n)})})}toCanvas(e){return new Promise((t,r)=>{Object(WA.toCanvas)(e,this.qrdata,{color:{dark:this.colorDark,light:this.colorLight},errorCorrectionLevel:this.errorCorrectionLevel,margin:this.margin,scale:this.scale,version:this.version,width:this.width},e=>{e?r(e):t("success")})})}toSVG(){return new Promise((e,t)=>{Object(WA.toString)(this.qrdata,{color:{dark:this.colorDark,light:this.colorLight},errorCorrectionLevel:this.errorCorrectionLevel,margin:this.margin,scale:this.scale,type:"svg",version:this.version,width:this.width},(r,n)=>{r?t(r):e(n)})})}renderElement(e){for(const t of this.qrcElement.nativeElement.childNodes)this.renderer.removeChild(this.qrcElement.nativeElement,t);this.renderer.appendChild(this.qrcElement.nativeElement,e)}createQRCode(){this.version&&this.version>40?(console.warn("[angularx-qrcode] max value for `version` is 40"),this.version=40):this.version&&this.version<1?(console.warn("[angularx-qrcode]`min value for `version` is 1"),this.version=1):void 0!==this.version&&isNaN(this.version)&&(console.warn("[angularx-qrcode] version should be a number, defaulting to auto."),this.version=void 0);try{if(!this.isValidQrCodeText(this.qrdata))throw new Error('[angularx-qrcode] Field `qrdata` is empty, set`allowEmptyString="true"` to overwrite this behaviour.');let e;switch(this.elementType){case"canvas":e=this.renderer.createElement("canvas"),this.toCanvas(e).then(()=>{this.renderElement(e)}).catch(e=>{console.error("[angularx-qrcode] canvas error: ",e)});break;case"svg":e=this.renderer.createElement("svg","svg"),this.toSVG().then(t=>{e.innerHTML=t,this.renderer.setAttribute(e,"height",""+this.width),this.renderer.setAttribute(e,"width",""+this.width),this.renderElement(e)}).catch(e=>{console.error("[angularx-qrcode] svg error: ",e)});break;case"url":case"img":default:e=this.renderer.createElement("img"),this.toDataURL().then(t=>{e.setAttribute("src",t),this.renderElement(e)}).catch(e=>{console.error("[angularx-qrcode] img/url error: ",e)})}}catch(e){console.error("[angularx-qrcode] Error generating QR Code: ",e.message)}}}return e.\u0275fac=function(t){return new(t||e)(Ra(Wo),Ra(pc))},e.\u0275cmp=mt({type:e,selectors:[["qrcode"]],viewQuery:function(e,t){var r;1&e&&Xl(qA,!0),2&e&&Ql(r=sc())&&(t.qrcElement=r.first)},inputs:{colordark:"colordark",colorlight:"colorlight",level:"level",hidetitle:"hidetitle",size:"size",usesvg:"usesvg",allowEmptyString:"allowEmptyString",qrdata:"qrdata",colorDark:"colorDark",colorLight:"colorLight",cssClass:"cssClass",elementType:"elementType",errorCorrectionLevel:"errorCorrectionLevel",margin:"margin",scale:"scale",width:"width",version:"version"},features:[Ot],decls:2,vars:2,consts:[["qrcElement",""]],template:function(e,t){1&e&&Na(0,"div",null,0),2&e&&_o(at,mo,t.cssClass,!0)},encapsulation:2,changeDetection:0}),e})(),$A=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[]}),e})();class ZA{constructor(e){this.total=e}call(e,t){return t.subscribe(new JA(e,this.total))}}class JA extends m{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){++this.count>this.total&&this.destination.next(e)}}const QA=new Set;let XA,eE=(()=>{class e{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):tE}matchMedia(e){return this._platform.WEBKIT&&function(e){if(!QA.has(e))try{XA||(XA=document.createElement("style"),XA.setAttribute("type","text/css"),document.head.appendChild(XA)),XA.sheet&&(XA.sheet.insertRule(`@media ${e} {.fx-query-test{ }}`,0),QA.add(e))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}return e.\u0275fac=function(t){return new(t||e)($e($v))},e.\u0275prov=de({factory:function(){return new e($e($v))},token:e,providedIn:"root"}),e})();function tE(e){return{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{}}}let rE=(()=>{class e{constructor(e,t){this._mediaMatcher=e,this._zone=t,this._queries=new Map,this._destroySubject=new M}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return nE(xw(e)).some(e=>this._registerQuery(e).mql.matches)}observe(e){let t=uh(nE(xw(e)).map(e=>this._registerQuery(e).observable));return t=Hh(t.pipe(Ih(1)),t.pipe(e=>e.lift(new ZA(1)),yw(0))),t.pipe(C(e=>{const t={matches:!1,breakpoints:{}};return e.forEach(({matches:e,query:r})=>{t.matches=t.matches||e,t.breakpoints[r]=e}),t}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const t=this._mediaMatcher.matchMedia(e),r={observable:new y(e=>{const r=t=>this._zone.run(()=>e.next(t));return t.addListener(r),()=>{t.removeListener(r)}}).pipe(Nh(t),C(({matches:t})=>({query:e,matches:t})),gM(this._destroySubject)),mql:t};return this._queries.set(e,r),r}}return e.\u0275fac=function(t){return new(t||e)($e(eE),$e(Ec))},e.\u0275prov=de({factory:function(){return new e($e(eE),$e(Ec))},token:e,providedIn:"root"}),e})();function nE(e){return e.map(e=>e.split(",")).reduce((e,t)=>e.concat(t)).map(e=>e.trim())}const iE={tooltipState:ly("state",[fy("initial, void, hidden",hy({opacity:0,transform:"scale(0)"})),fy("visible",hy({transform:"scale(1)"})),py("* => visible",cy("200ms cubic-bezier(0, 0, 0.2, 1)",my([hy({opacity:0,transform:"scale(0)",offset:0}),hy({opacity:.5,transform:"scale(0.99)",offset:.5}),hy({opacity:1,transform:"scale(1)",offset:1})]))),py("* => hidden",cy("100ms cubic-bezier(0, 0, 0.2, 1)",hy({opacity:0})))])},sE=nw({passive:!0}),aE=new Fe("mat-tooltip-scroll-strategy"),oE={provide:aE,deps:[rD],useFactory:function(e){return()=>e.scrollStrategies.reposition({scrollThrottle:20})}},lE=new Fe("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let cE=(()=>{class e{constructor(e,t,r,n,i,s,a,o,l,c,d){this._overlay=e,this._elementRef=t,this._scrollDispatcher=r,this._viewContainerRef=n,this._ngZone=i,this._platform=s,this._ariaDescriber=a,this._focusMonitor=o,this._dir=c,this._defaultOptions=d,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new M,this._handleKeydown=e=>{this._isTooltipVisible()&&e.keyCode===aw&&!hw(e)&&(e.preventDefault(),e.stopPropagation(),this._ngZone.run(()=>this.hide(0)))},this._scrollStrategy=l,d&&(d.position&&(this.position=d.position),d.touchGestures&&(this.touchGestures=d.touchGestures)),i.runOutsideAngular(()=>{t.nativeElement.addEventListener("keydown",this._handleKeydown)})}get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(e){this._disabled=kw(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=e?(""+e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message)})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(gM(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),e.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(([t,r])=>{e.removeEventListener(t,r,sE)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const t=this._createOverlay();this._detach(),this._portal=this._portal||new Ix(dE,this._viewContainerRef),this._tooltipInstance=t.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(gM(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(e)}hide(e=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(e)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),t=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(e);return t.positionChanges.pipe(gM(this._destroyed)).subscribe(e=>{this._tooltipInstance&&e.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:t,panelClass:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(gM(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(){const e=this._overlayRef.getConfig().positionStrategy,t=this._getOrigin(),r=this._getOverlayPosition();e.withPositions([Object.assign(Object.assign({},t.main),r.main),Object.assign(Object.assign({},t.fallback),r.fallback)])}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,t=this.position;let r;"above"==t||"below"==t?r={originX:"center",originY:"above"==t?"top":"bottom"}:"before"==t||"left"==t&&e||"right"==t&&!e?r={originX:"start",originY:"center"}:("after"==t||"right"==t&&e||"left"==t&&!e)&&(r={originX:"end",originY:"center"});const{x:n,y:i}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:n,originY:i}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,t=this.position;let r;"above"==t?r={overlayX:"center",overlayY:"bottom"}:"below"==t?r={overlayX:"center",overlayY:"top"}:"before"==t||"left"==t&&e||"right"==t&&!e?r={overlayX:"end",overlayY:"center"}:("after"==t||"right"==t&&e||"left"==t&&!e)&&(r={overlayX:"start",overlayY:"center"});const{x:n,y:i}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:n,overlayY:i}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Ih(1),gM(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,t){return"above"===this.position||"below"===this.position?"top"===t?t="bottom":"bottom"===t&&(t="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:t}}_setupPointerEnterEventsIfNeeded(){!this._disabled&&this.message&&this._viewInitialized&&!this._passiveListeners.length&&(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",()=>this.hide()]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const t=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",t],["touchcancel",t])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([e,t])=>{this._elementRef.nativeElement.addEventListener(e,t,sE)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const t=this._elementRef.nativeElement,r=t.style;("on"===e||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName)&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),"on"!==e&&t.draggable||(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}}return e.\u0275fac=function(t){return new(t||e)(Ra(rD),Ra(zo),Ra(sC),Ra(ml),Ra(Ec),Ra($v),Ra(Fw),Ra(tk),Ra(aE),Ra(dk,8),Ra(lE,8))},e.\u0275dir=vt({type:e,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]}),e})(),dE=(()=>{class e{constructor(e,t){this._changeDetectorRef=e,this._breakpointObserver=t,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new M,this._isHandset=this._breakpointObserver.observe("(max-width: 599.99px) and (orientation: portrait), (max-width: 959.99px) and (orientation: landscape)")}show(e){this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=null,this._markForCheck()},e)}hide(e){this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=null,this._markForCheck()},e)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(e){const t=e.toState;"hidden"!==t||this.isVisible()||this._onHide.next(),"visible"!==t&&"hidden"!==t||(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}}return e.\u0275fac=function(t){return new(t||e)(Ra(Zs),Ra(rE))},e.\u0275cmp=mt({type:e,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,t){1&e&&qa("click",(function(){return t._handleBodyInteraction()}),!1,en),2&e&&ho("zoom","visible"===t._visibility?1:null)},decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(e,t){var r;1&e&&(Fa(0,"div",0),qa("@state.start",(function(){return t._animationStart()}))("@state.done",(function(e){return t._animationDone(e)})),Il(1,"async"),xo(2),Ha()),2&e&&(fo("mat-tooltip-handset",null==(r=jl(1,5,t._isHandset))?null:r.matches),Ia("ngClass",t.tooltipClass)("@state",t._visibility),Li(2),Co(t.message))},directives:[ru],pipes:[bu],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[iE.tooltipState]},changeDetection:0}),e})(),uE=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[oE],imports:[[lk,Mu,lD,bk],bk,lC]}),e})();function hE(e,t){1&e&&(Fa(0,"mat-error"),Fa(1,"a",12),xo(2),Il(3,"i18n"),Ha(),Ha()),2&e&&(Li(2),Co(jl(3,1,"register.token.missing")))}function fE(e,t){if(1&e){const e=Va();Fa(0,"mat-slide-toggle",13),qa("ngModelChange",(function(t){return or(e),Qa(2).model.primaryEmail=t})),xo(1),Il(2,"i18n"),Ha()}2&e&&(Ia("ngModel",Qa(2).model.primaryEmail),Li(1),Do(" ",jl(2,2,"email.primary")," "))}function mE(e,t){if(1&e&&(Fa(0,"div"),xo(1),Il(2,"i18n"),Na(3,"br"),Ha()),2&e){const e=t.$implicit;Li(1),Do(" ",jl(2,1,"password.error."+e.key),"")}}function pE(e,t){if(1&e&&(Fa(0,"mat-list-item"),Fa(1,"mat-icon",14),xo(2,"plus_one"),Ha(),xo(3),Ha()),2&e){const e=t.$implicit,r=Qa(3);Li(3),Do(" ",e.name[r.currentLocale]||"missing"," ")}}function _E(e,t){if(1&e&&(Fa(0,"mat-list"),Pa(1,pE,4,1,"mat-list-item",8),Ha()),2&e){const e=Qa(2);Li(1),Ia("ngForOf",e.items)}}function gE(e,t){1&e&&(Fa(0,"button",15),xo(1),Il(2,"i18n"),Ha()),2&e&&(Ia("disabled",Qa(2).form.invalid),Li(1),Do(" ",jl(2,2,"register")," "))}function yE(e,t){1&e&&Na(0,"mat-progress-bar",16)}function bE(e,t){if(1&e){const e=Va();Fa(0,"form",2),qa("ngSubmit",(function(){return or(e),Qa().register()})),Fa(1,"mat-card"),Fa(2,"mat-card-content"),Fa(3,"h2"),xo(4),Il(5,"i18n"),Ha(),Pa(6,hE,4,3,"mat-error",1),Fa(7,"mat-form-field"),Fa(8,"input",3),qa("ngModelChange",(function(t){return or(e),Qa().model.username=t})),Il(9,"i18n"),Ha(),Fa(10,"mat-error"),xo(11),Il(12,"i18n"),Ha(),Fa(13,"a",4),qa("click",(function(){return or(e),Qa().genUsername()})),Fa(14,"mat-icon"),xo(15,"autorenew"),Ha(),Ha(),Ha(),Fa(16,"mat-form-field"),Fa(17,"input",5),qa("ngModelChange",(function(t){return or(e),Qa().model.email=t})),Il(18,"i18n"),Ha(),Fa(19,"mat-error"),xo(20),Il(21,"i18n"),Ha(),Ha(),Pa(22,fE,3,4,"mat-slide-toggle",6),Fa(23,"mat-form-field"),Fa(24,"input",7),qa("ngModelChange",(function(t){return or(e),Qa().model.password=t})),Il(25,"i18n"),Ha(),Fa(26,"mat-error"),Pa(27,mE,4,3,"div",8),Il(28,"keyvalue"),Ha(),Ha(),Fa(29,"mat-form-field"),Fa(30,"input",9),qa("ngModelChange",(function(t){return or(e),Qa().model.password2=t})),Il(31,"i18n"),Ha(),Fa(32,"mat-error"),xo(33),Il(34,"i18n"),Ha(),Ha(),Pa(35,_E,2,1,"mat-list",1),Na(36,"mat-divider"),Ha(),Fa(37,"mat-card-actions"),Pa(38,gE,3,4,"button",10),Pa(39,yE,1,0,"mat-progress-bar",11),Ha(),Ha(),Ha()}if(2&e){const e=Qa();Ia("formGroup",e.form),Li(4),Co(jl(5,19,"register")),Li(2),Ia("ngIf",e.missingToken),Li(2),ro("placeholder",jl(9,21,"username")),Ia("ngModel",e.model.username),Li(3),Do(" ",jl(12,23,"username.error")," "),Li(6),ro("placeholder",jl(18,25,"email")),Ia("ngModel",e.model.email),Li(3),Do(" ",jl(21,27,"email.invalid")," "),Li(2),Ia("ngIf",e.model.email),Li(2),ro("placeholder",jl(25,29,"password")),Ia("ngModel",e.model.password),Li(3),Ia("ngForOf",jl(28,31,e.form.get("password").errors)),Li(3),ro("placeholder",jl(31,33,"password.confirm")),Ia("ngModel",e.model.password2),Li(3),Do(" ",jl(34,35,"password.not-match")," "),Li(2),Ia("ngIf",e.items&&e.items[0]),Li(3),Ia("ngIf",!e.working),Li(1),Ia("ngIf",e.working)}}function vE(e,t){1&e&&(Fa(0,"mat-card"),Fa(1,"mat-card-content"),Fa(2,"h2"),xo(3),Il(4,"i18n"),Ha(),Fa(5,"p"),xo(6),Il(7,"i18n"),Ha(),Ha(),Fa(8,"mat-card-actions"),Fa(9,"a",17),xo(10),Il(11,"i18n"),Ha(),Ha(),Ha()),2&e&&(Li(3),Co(jl(4,3,"register.success.title")),Li(3),Co(jl(7,5,"register.success.text")),Li(4),Do(" ",jl(11,7,"register.login")," "))}const wE=["downloadKey"];var kE=r("QYcz");let ME=(()=>{class e{constructor(e,t,r,n,i){this.formBuilder=e,this.userService=t,this.itemService=r,this.i18n=n,this.dialog=i,this.items=[],this.model={username:"",password:"",password2:""},this.currentLocale=this.i18n.getLocale()}ngOnInit(){return C_(this,void 0,void 0,(function*(){this.form=this.formBuilder.group({username:["",Q_.required],email:["",Q_.email],primaryEmail:[!1,Q_.nullValidator],password:["",Q_.required],password2:["",Q_.required]},{validator:Dx("password","password2")}),this.itemService.items().subscribe(e=>{this.items=e})}))}genUsername(){this.model.username=(e=>{const t=[...e&&e.dictionaries||PD.dictionaries],r={...PD,...e,length:e&&e.length||t.length,dictionaries:t};if(!e||!e.dictionaries||!e.dictionaries.length)throw new Error('A "dictionaries" array must be provided. This is a breaking change introduced starting from Unique Name Generator v4. Read more about the breaking change here: https://github.com/andreasonny83/unique-names-generator#migration-guide');return new TD(r).generate()})({dictionaries:[YD,OD,RD],separator:"",style:"capital",length:3})}register(){var e;this.missingToken=!1,this.form.valid&&!this.working&&(this.working=!0,kE.generateKey({userIds:[{name:this.model.username,email:this.model.username+"@we.bstly.de"}],curve:"ed25519"}).then(t=>{e=t.privateKeyArmored,this.model.profileFields=[{name:"publicKey",type:"BLOB",visibility:"PROTECTED",blob:t.publicKeyArmored}],this.model.email&&this.model.profileFields.push({name:"email",type:"EMAIL",visibility:"PRITAVE",value:this.model.email}),this.model.primaryEmail&&this.model.profileFields.push({name:"primaryEmail",type:"BOOL",visibility:"PRITAVE",value:this.model.primaryEmail}),this.userService.register(this.model).subscribe(t=>{t.privateKey=e,this.dialog.open(SE,{closeOnNavigation:!1,disableClose:!0,data:t}).afterClosed().subscribe(e=>{e&&(this.success=!0)}),this.working=!1},e=>{if(this.working=!1,401==e.status)this.missingToken=!0;else if(409==e.status){let t={};for(let r of e.error)t[r.field]=t[r.field]||{},t[r.field][r.code]=!0;for(let e in t)this.form.get(e).setErrors(t[e])}})}))}}return e.\u0275fac=function(t){return new(t||e)(Ra(ny),Ra(ID),Ra(jD),Ra(D_),Ra(MD))},e.\u0275cmp=mt({type:e,selectors:[["app-register"]],decls:2,vars:2,consts:[[3,"formGroup","ngSubmit",4,"ngIf"],[4,"ngIf"],[3,"formGroup","ngSubmit"],["matInput","","formControlName","username",3,"placeholder","ngModel","ngModelChange"],["mat-button","","matSuffix","","mat-icon-button","",3,"click"],["matInput","","type","email","formControlName","email",3,"placeholder","ngModel","ngModelChange"],["formControlName","primaryEmail",3,"ngModel","ngModelChange",4,"ngIf"],["matInput","","type","password","formControlName","password",3,"placeholder","ngModel","ngModelChange"],[4,"ngFor","ngForOf"],["matInput","","type","password","formControlName","password2",3,"placeholder","ngModel","ngModelChange"],["mat-raised-button","","color","primary",3,"disabled",4,"ngIf"],["mode","indeterminate",4,"ngIf"],["routerLink","/tokens"],["formControlName","primaryEmail",3,"ngModel","ngModelChange"],["mat-list-icon",""],["mat-raised-button","","color","primary",3,"disabled"],["mode","indeterminate"],["routerLink","/login","mat-raised-button","","color","primary"]],template:function(e,t){1&e&&(Pa(0,bE,40,37,"form",0),Pa(1,vE,12,9,"mat-card",1)),2&e&&(Ia("ngIf",!t.success),Li(1),Ia("ngIf",t.success))},directives:[au,Wg,W_,Jg,fM,cM,tS,gS,H_,K_,Xg,HM,NS,$M,cx,iu,FD,hM,wp,ES,QD,tL,eL,HS,vx],pipes:[zS,wu],styles:["mat-form-field[_ngcontent-%COMP%]{display:block}"]}),e})(),SE=(()=>{class e{constructor(e,t,r){this.router=e,this.dialogRef=t,this.data=r,this.downloaded=!1}ngAfterViewInit(){this.downloadKey.nativeElement.setAttribute("href","data:text/plain;charset=utf-8,"+encodeURIComponent(this.data.privateKey)),this.downloadKey.nativeElement.setAttribute("download",this.data.username+".private.key")}setDownloaded(){this.downloaded=!0}}return e.\u0275fac=function(t){return new(t||e)(Ra(bp),Ra(_D),Ra(yD))},e.\u0275cmp=mt({type:e,selectors:[["app-register-dialog"]],viewQuery:function(e,t){var r;1&e&&ec(wE,!0,zo),2&e&&Ql(r=sc())&&(t.downloadKey=r.first)},decls:37,vars:35,consts:[["mat-dialog-title",""],[3,"permissions"],[3,"quotas"],[3,"qrdata","width","errorCorrectionLevel"],["matInput","","readonly","",3,"ngModel","ngModelChange"],["mat-raised-button","","color","primary",3,"click"],["downloadKey",""],["mat-icon-button","","matTooltipPosition","after",3,"matTooltip"],[3,"ngModel","disabled","ngModelChange"],["mat-button","",3,"disabled","mat-dialog-close"]],template:function(e,t){1&e&&(Fa(0,"h1",0),xo(1),Ha(),Fa(2,"mat-dialog-content"),Fa(3,"h3"),xo(4),Il(5,"i18n"),Ha(),Na(6,"app-permissions",1),Fa(7,"h3"),xo(8),Il(9,"i18n"),Ha(),Na(10,"app-quotas",2),Fa(11,"h3"),xo(12),Il(13,"i18n"),Ha(),Fa(14,"mat-form-field"),Na(15,"qrcode",3),Fa(16,"mat-label"),xo(17),Il(18,"i18n"),Ha(),Fa(19,"textarea",4),qa("ngModelChange",(function(e){return t.data.privateKey=e})),Ha(),Ha(),Ha(),Fa(20,"mat-dialog-actions"),Fa(21,"a",5,6),qa("click",(function(){return t.setDownloaded()})),xo(23),Il(24,"i18n"),Ha(),Fa(25,"button",7),Il(26,"i18n"),Fa(27,"mat-icon"),xo(28,"help"),Ha(),Ha(),Ha(),Na(29,"br"),Fa(30,"mat-dialog-actions"),Fa(31,"mat-slide-toggle",8),qa("ngModelChange",(function(e){return t.data.confirmClose=e})),xo(32),Il(33,"i18n"),Ha(),Fa(34,"button",9),xo(35),Il(36,"i18n"),Ha(),Ha()),2&e&&(Li(1),Co(t.data.username),Li(3),Co(jl(5,19,"permissions")),Li(2),Ia("permissions",t.data.permissions),Li(2),Co(jl(9,21,"quotas")),Li(2),Ia("quotas",t.data.quotas),Li(2),Co(jl(13,23,"pgp.privateKey")),Li(3),Ia("qrdata",t.data.privateKey)("width",400)("errorCorrectionLevel","M"),Li(2),Co(jl(18,25,"pgp.privateKey")),Li(2),Ia("ngModel",t.data.privateKey),Li(4),Co(jl(24,27,"pgp.privateKey.downloadKey")),Li(2),Ia("matTooltip",jl(26,29,"pgp.privateKey.help")),Li(6),Ia("ngModel",t.data.confirmClose)("disabled",!t.downloaded),Li(1),Do(" ",jl(33,31,"pgp.privateKey.confirmStore")," "),Li(2),Ia("disabled",!t.data.confirmClose)("mat-dialog-close",!0),Li(1),Co(jl(36,33,"ok")))},directives:[CD,DD,RA,KA,tS,GA,KM,gS,H_,K_,Kg,LD,NS,HS,cE,cx,ES,xD],pipes:[zS],styles:["mat-form-field[_ngcontent-%COMP%]{display:block}textarea[_ngcontent-%COMP%]{width:100%;min-height:200px}"]}),e})(),xE=(()=>{class e{constructor(e){this.http=e}permissions(){return this.http.get(sd+"/permissions")}permissionsNew(){return this.http.get(sd+"/permissions/new")}}return e.\u0275fac=function(t){return new(t||e)($e(s_))},e.\u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),CE=(()=>{class e{constructor(e){this.http=e}quotas(){return this.http.get(sd+"/quotas")}quotasNew(){return this.http.get(sd+"/quotas/new")}}return e.\u0275fac=function(t){return new(t||e)($e(s_))},e.\u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const DE=["formDirective"];function LE(e,t){1&e&&(Fa(0,"mat-error"),xo(1),Il(2,"i18n"),Ha()),2&e&&(Li(1),Do(" ",jl(2,1,"tokens.invalid")," "))}function AE(e,t){1&e&&(Fa(0,"mat-error"),xo(1),Il(2,"i18n"),Ha()),2&e&&(Li(1),Do(" ",jl(2,1,"tokens.redeemed")," "))}function EE(e,t){if(1&e){const e=Va();Fa(0,"mat-list-item"),Fa(1,"mat-icon",9),xo(2,"plus_one"),Ha(),xo(3),Fa(4,"button",10),qa("click",(function(){or(e);const r=t.$implicit;return Qa(2).removeSecret(r.secret)})),Fa(5,"mat-icon"),xo(6,"delete"),Ha(),Ha(),Ha()}if(2&e){const e=t.$implicit,r=Qa(2);Li(3),Do(" ",e.name[r.currentLocale]||"missing"," ")}}function TE(e,t){if(1&e){const e=Va();Fa(0,"button",11),qa("click",(function(){return or(e),Qa(2).redeem()})),Fa(1,"mat-icon"),xo(2,"redeem"),Ha(),xo(3),Il(4,"i18n"),Ha()}2&e&&(Li(3),Do(" ",jl(4,1,"tokens.redeem")," "))}function PE(e,t){1&e&&(Fa(0,"a",12),Fa(1,"mat-icon"),xo(2,"how_to_reg"),Ha(),xo(3),Il(4,"i18n"),Ha()),2&e&&(Li(3),Do(" ",jl(4,1,"register")," "))}const YE=function(){return{target:"tokens"}};function RE(e,t){1&e&&(Fa(0,"a",13),Fa(1,"mat-icon"),xo(2,"login"),Ha(),xo(3),Il(4,"i18n"),Ha()),2&e&&(Ia("queryParams",Rl(4,YE)),Li(3),Do(" ",jl(4,2,"login")," "))}function OE(e,t){if(1&e&&(Fa(0,"mat-card"),Fa(1,"mat-card-content"),Fa(2,"mat-list"),Pa(3,EE,7,1,"mat-list-item",5),Ha(),Na(4,"mat-divider"),Ha(),Fa(5,"mat-card-actions"),Pa(6,TE,5,3,"button",6),Pa(7,PE,5,3,"a",7),Pa(8,RE,5,5,"a",8),Ha(),Ha()),2&e){const e=Qa();Li(3),Ia("ngForOf",e.items),Li(3),Ia("ngIf",e.auth.authenticated),Li(1),Ia("ngIf",!e.auth.authenticated),Li(1),Ia("ngIf",!e.auth.authenticated)}}function IE(e,t){if(1&e&&(Fa(0,"div"),Fa(1,"h3"),xo(2),Il(3,"i18n"),Ha(),Na(4,"app-permissions",14),Ha()),2&e){const e=Qa();Li(2),Co(jl(3,2,"permissions")),Li(2),Ia("permissions",e.permissions)}}function jE(e,t){if(1&e&&(Fa(0,"div"),Fa(1,"h3"),xo(2),Il(3,"i18n"),Ha(),Na(4,"app-quotas",15),Ha()),2&e){const e=Qa();Li(2),Co(jl(3,2,"quotas")),Li(2),Ia("quotas",e.quotas)}}let FE=(()=>{class e{constructor(e,t,r,n,i,s,a,o){this.formBuilder=e,this.authService=t,this.itemService=r,this.i18n=n,this.permissionService=i,this.quotaService=s,this.router=a,this.route=o,this.items=[],this.permissions=[],this.quotas=[],this.currentLocale=this.i18n.getLocale(),this.authService.auth.subscribe(e=>{this.auth=e}),this.update()}ngOnInit(){return C_(this,void 0,void 0,(function*(){this.form=this.formBuilder.group({token:["",Q_.required]}),this.route.queryParams.subscribe(e=>{e.token&&this.itemService.redeemSecret(e.token).subscribe(e=>{this.update(),this.router.navigate(["."],{relativeTo:this.route})},t=>{this.form.get("token").patchValue(e.token),410==t.status?this.tokenRedeemed=!0:this.tokenInvalid=!0})})}))}redeemSecret(){if(this.tokenInvalid=!1,this.tokenRedeemed=!1,this.form.valid){const e=this.form.get("token").value;this.itemService.redeemSecret(e).subscribe(e=>{this.formDirective.resetForm(),this.update()},e=>{410==e.status?this.tokenRedeemed=!0:this.tokenInvalid=!0})}}removeSecret(e){this.itemService.removeSecret(e).subscribe(e=>{this.update()},e=>{})}redeem(){this.auth.authenticated&&this.itemService.redeem().subscribe(e=>{this.router.navigate(["/account/info"])})}update(){this.authService.getAuth().then(e=>{this.itemService.items().subscribe(e=>{this.items=e}),this.permissionService.permissionsNew().subscribe(e=>{this.permissions=e}),this.quotaService.quotasNew().subscribe(e=>{this.quotas=e})}).catch((function(e){}))}canRegister(){return this.permissions&&this.permissions.some((function(e){return!e.addon}))}}return e.\u0275fac=function(t){return new(t||e)(Ra(ny),Ra(w_),Ra(jD),Ra(D_),Ra(xE),Ra(CE),Ra(bp),Ra(im))},e.\u0275cmp=mt({type:e,selectors:[["app-tokens"]],viewQuery:function(e,t){var r;1&e&&ec(DE,!0),2&e&&Ql(r=sc())&&(t.formDirective=r.first)},decls:22,vars:19,consts:[[3,"formGroup","ngSubmit"],["formDirective","ngForm"],[4,"ngIf"],["matInput","","formControlName","token",3,"placeholder"],["mat-raised-button","","color","primary",3,"disabled"],[4,"ngFor","ngForOf"],["mat-raised-button","","color","accent",3,"click",4,"ngIf"],["routerLink","/register","mat-raised-button","","color","accent",4,"ngIf"],["routerLink","/login","mat-raised-button","","color","primary",3,"queryParams",4,"ngIf"],["mat-list-icon",""],["mat-icon-button","",3,"click"],["mat-raised-button","","color","accent",3,"click"],["routerLink","/register","mat-raised-button","","color","accent"],["routerLink","/login","mat-raised-button","","color","primary",3,"queryParams"],[3,"permissions"],[3,"quotas"]],template:function(e,t){1&e&&(Fa(0,"form",0,1),qa("ngSubmit",(function(){return t.redeemSecret()})),Fa(2,"mat-card"),Fa(3,"mat-card-content"),Fa(4,"h2"),xo(5),Il(6,"i18n"),Ha(),Pa(7,LE,3,3,"mat-error",2),Pa(8,AE,3,3,"mat-error",2),Fa(9,"mat-form-field"),Na(10,"input",3),Il(11,"i18n"),Fa(12,"mat-error"),xo(13),Il(14,"i18n"),Ha(),Ha(),Ha(),Fa(15,"mat-card-actions"),Fa(16,"button",4),xo(17),Il(18,"i18n"),Ha(),Ha(),Ha(),Ha(),Pa(19,OE,9,4,"mat-card",2),Pa(20,IE,5,4,"div",2),Pa(21,jE,5,4,"div",2)),2&e&&(Ia("formGroup",t.form),Li(5),Co(jl(6,11,"tokens.enter")),Li(2),Ia("ngIf",t.tokenInvalid),Li(1),Ia("ngIf",t.tokenRedeemed),Li(2),ro("placeholder",jl(11,13,"token")),Li(3),Do(" ",jl(14,15,"tokens.provide-valid")," "),Li(3),Ia("disabled",t.form.invalid),Li(1),Co(jl(18,17,"tokens.validate")),Li(2),Ia("ngIf",t.items&&t.items[0]),Li(1),Ia("ngIf",t.permissions&&t.permissions[0]),Li(1),Ia("ngIf",t.quotas&&t.quotas[0]))},directives:[Wg,W_,Jg,fM,cM,au,tS,gS,H_,K_,Xg,HM,hM,HS,QD,iu,FD,tL,cx,eL,wp,NS,RA,KA],pipes:[zS],styles:["mat-form-field[_ngcontent-%COMP%]{display:block}"]}),e})(),HE=(()=>{class e{constructor(e){this.http=e}services(){return this.http.get(sd+"/services")}}return e.\u0275fac=function(t){return new(t||e)($e(s_))},e.\u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const NE={provide:_c,useFactory:function(e,t){return()=>{if(Su(t)){const t=Array.from(e.querySelectorAll(`[class*=${BE}]`)),r=/\bflex-layout-.+?\b/g;t.forEach(e=>{e.classList.contains(BE+"ssr")&&e.parentNode?e.parentNode.removeChild(e):e.className.replace(r,"")})}}},deps:[ld,pc],multi:!0},BE="flex-layout-";let zE=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[NE]}),e})();class UE{constructor(e=!1,t="all",r="",n="",i=0){this.matches=e,this.mediaQuery=t,this.mqAlias=r,this.suffix=n,this.priority=i,this.property=""}clone(){return new UE(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let VE=(()=>{class e{constructor(){this.stylesheet=new Map}addStyleToElement(e,t,r){const n=this.stylesheet.get(e);n?n.set(t,r):this.stylesheet.set(e,new Map([[t,r]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(e,t){const r=this.stylesheet.get(e);let n="";if(r){const e=r.get(t);"number"!=typeof e&&"string"!=typeof e||(n=e+"")}return n}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=de({factory:function(){return new e},token:e,providedIn:"root"}),e})();const KE={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[]},WE=new Fe("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>KE}),qE=new Fe("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),GE=new Fe("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function $E(e,t){return e=e?e.clone():new UE,t&&(e.mqAlias=t.alias,e.mediaQuery=t.mediaQuery,e.suffix=t.suffix,e.priority=t.priority),e}const ZE="inline",JE=["row","column","row-reverse","column-reverse"];function QE(e){if(e)switch(e.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":e="wrap-reverse";break;case"no":case"none":case"nowrap":e="nowrap";break;default:e="wrap"}return e}let XE=(()=>{class e{constructor(e,t,r,n){this.elementRef=e,this.styleBuilder=t,this.styler=r,this.marshal=n,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new M,this.styleCache=new Map}get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,this.marshal.activatedAlias)}ngOnChanges(e){Object.keys(e).forEach(t=>{if(-1!==this.inputs.indexOf(t)){const r=t.split(".").slice(1).join(".");this.setValue(e[t].currentValue,r)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(e=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),e)}addStyles(e,t){const r=this.styleBuilder,n=r.shouldCache;let i=this.styleCache.get(e);i&&n||(i=r.buildStyles(e,t),n&&this.styleCache.set(e,i)),this.mru=Object.assign({},i),this.applyStyleToElement(i),r.sideEffect(e,i,t)}clearStyles(){Object.keys(this.mru).forEach(e=>{this.mru[e]=""}),this.applyStyleToElement(this.mru),this.mru={}}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(e,t=!1){if(e){const[r,n]=this.styler.getFlowDirection(e);if(!n&&t){const t=function(e){let[t,r,n]=function(e){e=e?e.toLowerCase():"";let[t,r,n]=e.split(" ");return JE.find(e=>e===t)||(t=JE[0]),r===ZE&&(r=n!==ZE?n:"",n=ZE),[t,QE(r),!!n]}(e);return function(e,t=null,r=!1){return{display:r?"inline-flex":"flex","box-sizing":"border-box","flex-direction":e,"flex-wrap":t||null}}(t,r,n)}(r);this.styler.applyStyleToElements(t,[e])}return r.trim()}return"row"}hasWrap(e){return this.styler.hasWrap(e)}applyStyleToElement(e,t,r=this.nativeElement){this.styler.applyStyleToElement(r,e,t)}setValue(e,t){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,t)}updateWithValue(e){this.currentValue!==e&&(this.addStyles(e),this.currentValue=e)}}return e.\u0275fac=function(e){!function(){throw new Error("invalid")}()},e.\u0275dir=vt({type:e,features:[Ot]}),e})();const eT=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.98px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.98px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.98px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.98px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.98px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.98px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.98px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.98px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.98px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],tT="(orientation: portrait) and (max-width: 599.98px)",rT="(orientation: landscape) and (max-width: 959.98px)",nT="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",iT="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",sT="(orientation: portrait) and (min-width: 840px)",aT="(orientation: landscape) and (min-width: 1280px)",oT={HANDSET:`${tT}, ${rT}`,TABLET:`${nT} , ${iT}`,WEB:`${sT}, ${aT} `,HANDSET_PORTRAIT:""+tT,TABLET_PORTRAIT:nT+" ",WEB_PORTRAIT:""+sT,HANDSET_LANDSCAPE:""+rT,TABLET_LANDSCAPE:""+iT,WEB_LANDSCAPE:""+aT},lT=[{alias:"handset",priority:2e3,mediaQuery:oT.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:oT.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:oT.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:oT.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:oT.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:oT.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:oT.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:oT.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:oT.WEB_PORTRAIT,overlapping:!0}],cT=/(\.|-|_)/g;function dT(e){let t=e.length>0?e.charAt(0):"",r=e.length>1?e.slice(1):"";return t.toUpperCase()+r}const uT=new Fe("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const e=Ze(GE),t=Ze(WE),r=[].concat.apply([],(e||[]).map(e=>Array.isArray(e)?e:[e]));return function(e,t=[]){const r={};return e.forEach(e=>{r[e.alias]=e}),t.forEach(e=>{r[e.alias]?function(e,...t){if(null==e)throw TypeError("Cannot convert undefined or null to object");for(let r of t)if(null!=r)for(let t in r)r.hasOwnProperty(t)&&(e[t]=r[t])}(r[e.alias],e):r[e.alias]=e}),(n=Object.keys(r).map(e=>r[e])).forEach(e=>{e.suffix||(e.suffix=e.alias.replace(cT,"|").split("|").map(dT).join(""),e.overlapping=!!e.overlapping)}),n;var n}((t.disableDefaultBps?[]:eT).concat(t.addOrientationBps?lT:[]),r)}});function hT(e,t){return(t&&t.priority||0)-(e&&e.priority||0)}function fT(e,t){return(e.priority||0)-(t.priority||0)}let mT=(()=>{class e{constructor(e){this.findByMap=new Map,this.items=[...e].sort(fT)}findByAlias(e){return e?this.findWithPredicate(e,t=>t.alias==e):null}findByQuery(e){return this.findWithPredicate(e,t=>t.mediaQuery==e)}get overlappings(){return this.items.filter(e=>1==e.overlapping)}get aliases(){return this.items.map(e=>e.alias)}get suffixes(){return this.items.map(e=>e.suffix?e.suffix:"")}findWithPredicate(e,t){let r=this.findByMap.get(e);return r||(r=this.items.find(t)||null,this.findByMap.set(e,r)),r||null}}return e.\u0275fac=function(t){return new(t||e)($e(uT))},e.\u0275prov=de({factory:function(){return new e($e(uT))},token:e,providedIn:"root"}),e})(),pT=(()=>{class e{constructor(e,t,r){this._zone=e,this._platformId=t,this._document=r,this.source=new ah(new UE(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const e=[];return this.registry.forEach((t,r)=>{t.matches&&e.push(r)}),e}isActive(e){const t=this.registry.get(e);return t?t.matches:this.registerQuery(e).some(e=>e.matches)}observe(e,t=!1){if(e&&e.length){const r=this._observable$.pipe(bh(r=>!t||e.indexOf(r.mediaQuery)>-1));return K(new y(t=>{const r=this.registerQuery(e);if(r.length){const e=r.pop();r.forEach(e=>{t.next(e)}),this.source.next(e)}t.complete()}),r)}return this._observable$}registerQuery(e){const t=Array.isArray(e)?e:[e],r=[];return function(e,t){const r=e.filter(e=>!_T[e]);if(r.length>0){const e=r.join(", ");try{const n=t.createElement("style");n.setAttribute("type","text/css"),n.styleSheet||n.appendChild(t.createTextNode(`\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${e} {.fx-query-test{ }}\n`)),t.head.appendChild(n),r.forEach(e=>_T[e]=n)}catch(n){console.error(n)}}}(t,this._document),t.forEach(e=>{const t=t=>{this._zone.run(()=>this.source.next(new UE(t.matches,e)))};let n=this.registry.get(e);n||(n=this.buildMQL(e),n.addListener(t),this.pendingRemoveListenerFns.push(()=>n.removeListener(t)),this.registry.set(e,n)),n.matches&&r.push(new UE(!0,e))}),r}ngOnDestroy(){let e;for(;e=this.pendingRemoveListenerFns.pop();)e()}buildMQL(e){return function(e,t){return t&&window.matchMedia("all").addListener?window.matchMedia(e):{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{},onchange:null,addEventListener(){},removeEventListener(){},dispatchEvent:()=>!1}}(e,Su(this._platformId))}}return e.\u0275fac=function(t){return new(t||e)($e(Ec),$e(pc),$e(ld))},e.\u0275prov=de({factory:function(){return new e($e(Ec),$e(pc),$e(ld))},token:e,providedIn:"root"}),e})();const _T={},gT="print",yT={alias:gT,mediaQuery:gT,priority:1e3};let bT=(()=>{class e{constructor(e,t,r){this.breakpoints=e,this.layoutConfig=t,this._document=r,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.isPrinting=!1,this.queue=new vT,this.deactivations=[]}withPrintQuery(e){return[...e,gT]}isPrintEvent(e){return e.mediaQuery.startsWith(gT)}get printAlias(){return this.layoutConfig.printWithBreakpoints||[]}get printBreakPoints(){return this.printAlias.map(e=>this.breakpoints.findByAlias(e)).filter(e=>null!==e)}getEventBreakpoints({mediaQuery:e}){const t=this.breakpoints.findByQuery(e);return(t?[...this.printBreakPoints,t]:this.printBreakPoints).sort(hT)}updateEvent(e){let t=this.breakpoints.findByQuery(e.mediaQuery);return this.isPrintEvent(e)&&(t=this.getEventBreakpoints(e)[0],e.mediaQuery=t?t.mediaQuery:""),$E(e,t)}registerBeforeAfterPrintHooks(e){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const t=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(e,this.getEventBreakpoints(new UE(!0,gT))),e.updateStyles())},r=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(e),e.updateStyles())};this._document.defaultView.addEventListener("beforeprint",t),this._document.defaultView.addEventListener("afterprint",r),this.beforePrintEventListeners.push(t),this.afterPrintEventListeners.push(r)}interceptEvents(e){return this.registerBeforeAfterPrintHooks(e),t=>{this.isPrintEvent(t)?t.matches&&!this.isPrinting?(this.startPrinting(e,this.getEventBreakpoints(t)),e.updateStyles()):t.matches||!this.isPrinting||this.isPrintingBeforeAfterEvent||(this.stopPrinting(e),e.updateStyles()):this.collectActivations(t)}}blockPropagation(){return e=>!(this.isPrinting||this.isPrintEvent(e))}startPrinting(e,t){this.isPrinting=!0,e.activatedBreakpoints=this.queue.addPrintBreakpoints(t)}stopPrinting(e){e.activatedBreakpoints=this.deactivations,this.deactivations=[],this.queue.clear(),this.isPrinting=!1}collectActivations(e){if(!this.isPrinting||this.isPrintingBeforeAfterEvent)if(e.matches)this.isPrintingBeforeAfterEvent||(this.deactivations=[]);else{const t=this.breakpoints.findByQuery(e.mediaQuery);t&&(this.deactivations.push(t),this.deactivations.sort(hT))}}ngOnDestroy(){this.beforePrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("beforeprint",e)),this.afterPrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("afterprint",e))}}return e.\u0275fac=function(t){return new(t||e)($e(mT),$e(WE),$e(ld))},e.\u0275prov=de({factory:function(){return new e($e(mT),$e(WE),$e(ld))},token:e,providedIn:"root"}),e})();class vT{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(e){return e.push(yT),e.sort(hT),e.forEach(e=>this.addBreakpoint(e)),this.printBreakpoints}addBreakpoint(e){e&&void 0===this.printBreakpoints.find(t=>t.mediaQuery===e.mediaQuery)&&(this.printBreakpoints=function(e){return!!e&&e.mediaQuery.startsWith(gT)}(e)?[e,...this.printBreakpoints]:[...this.printBreakpoints,e])}clear(){this.printBreakpoints=[]}}function wT(e){for(let t in e){let r=e[t]||"";switch(t){case"display":e.display="flex"===r?["-webkit-flex","flex"]:"inline-flex"===r?["-webkit-inline-flex","inline-flex"]:r;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":e["-webkit-"+t]=r;break;case"flex-direction":r=r||"row",e["-webkit-flex-direction"]=r,e["flex-direction"]=r;break;case"order":e.order=e["-webkit-"+t]=isNaN(+r)?"0":r}}return e}let kT=(()=>{class e{constructor(e,t,r,n){this._serverStylesheet=e,this._serverModuleLoaded=t,this._platformId=r,this.layoutConfig=n}applyStyleToElement(e,t,r=null){let n={};"string"==typeof t&&(n[t]=r,t=n),n=this.layoutConfig.disableVendorPrefixes?t:wT(t),this._applyMultiValueStyleToElement(n,e)}applyStyleToElements(e,t=[]){const r=this.layoutConfig.disableVendorPrefixes?e:wT(e);t.forEach(e=>{this._applyMultiValueStyleToElement(r,e)})}getFlowDirection(e){const t="flex-direction";let r=this.lookupStyle(e,t);return[r||"row",this.lookupInlineStyle(e,t)||xu(this._platformId)&&this._serverModuleLoaded?r:""]}hasWrap(e){return"wrap"===this.lookupStyle(e,"flex-wrap")}lookupAttributeValue(e,t){return e.getAttribute(t)||""}lookupInlineStyle(e,t){return Su(this._platformId)?e.style.getPropertyValue(t):this._getServerStyle(e,t)}lookupStyle(e,t,r=!1){let n="";return e&&((n=this.lookupInlineStyle(e,t))||(Su(this._platformId)?r||(n=getComputedStyle(e).getPropertyValue(t)):this._serverModuleLoaded&&(n=this._serverStylesheet.getStyleForElement(e,t)))),n?n.trim():""}_applyMultiValueStyleToElement(e,t){Object.keys(e).sort().forEach(r=>{const n=e[r],i=Array.isArray(n)?n:[n];i.sort();for(let e of i)e=e?e+"":"",Su(this._platformId)||!this._serverModuleLoaded?Su(this._platformId)?t.style.setProperty(r,e):this._setServerStyle(t,r,e):this._serverStylesheet.addStyleToElement(t,r,e)})}_setServerStyle(e,t,r){t=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const n=this._readStyleAttribute(e);n[t]=r||"",this._writeStyleAttribute(e,n)}_getServerStyle(e,t){return this._readStyleAttribute(e)[t]||""}_readStyleAttribute(e){const t={},r=e.getAttribute("style");if(r){const e=r.split(/;+/g);for(let r=0;r0){const e=n.indexOf(":");if(-1===e)throw new Error("Invalid CSS style: "+n);t[n.substr(0,e).trim()]=n.substr(e+1).trim()}}}return t}_writeStyleAttribute(e,t){let r="";for(const n in t)t[n]&&(r+=n+":"+t[n]+";");e.setAttribute("style",r)}}return e.\u0275fac=function(t){return new(t||e)($e(VE),$e(qE),$e(pc),$e(WE))},e.\u0275prov=de({factory:function(){return new e($e(VE),$e(qE),$e(pc),$e(WE))},token:e,providedIn:"root"}),e})();class MT{constructor(){this.shouldCache=!0}sideEffect(e,t,r){}}function ST(e,t="1",r="1"){let n=[t,r,e],i=e.indexOf("calc");if(i>0){n[2]=xT(e.substring(i).trim());let t=e.substr(0,i).trim().split(" ");2==t.length&&(n[0]=t[0],n[1]=t[1])}else if(0==i)n[2]=xT(e.trim());else{let i=e.split(" ");n=3===i.length?i:[t,r,e]}return n}function xT(e){return e.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}let CT=(()=>{class e{constructor(e,t,r){this.matchMedia=e,this.breakpoints=t,this.hook=r,this.activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new M,this.observeActivations()}get activatedAlias(){return this.activatedBreakpoints[0]?this.activatedBreakpoints[0].alias:""}onMediaChange(e){const t=this.findByQuery(e.mediaQuery);t&&((e=$E(e,t)).matches&&-1===this.activatedBreakpoints.indexOf(t)?(this.activatedBreakpoints.push(t),this.activatedBreakpoints.sort(hT),this.updateStyles()):e.matches||-1===this.activatedBreakpoints.indexOf(t)||(this.activatedBreakpoints.splice(this.activatedBreakpoints.indexOf(t),1),this.activatedBreakpoints.sort(hT),this.updateStyles()))}init(e,t,r,n,i=[]){DT(this.updateMap,e,t,r),DT(this.clearMap,e,t,n),this.buildElementKeyMap(e,t),this.watchExtraTriggers(e,t,i)}getValue(e,t,r){const n=this.elementMap.get(e);if(n){const e=void 0!==r?n.get(r):this.getActivatedValues(n,t);if(e)return e.get(t)}}hasValue(e,t){const r=this.elementMap.get(e);if(r){const e=this.getActivatedValues(r,t);if(e)return void 0!==e.get(t)||!1}return!1}setValue(e,t,r,n){let i=this.elementMap.get(e);if(i){const s=(i.get(n)||new Map).set(t,r);i.set(n,s),this.elementMap.set(e,i)}else i=(new Map).set(n,(new Map).set(t,r)),this.elementMap.set(e,i);const s=this.getValue(e,t);void 0!==s&&this.updateElement(e,t,s)}trackValue(e,t){return this.subject.asObservable().pipe(bh(r=>r.element===e&&r.key===t))}updateStyles(){this.elementMap.forEach((e,t)=>{const r=new Set(this.elementKeyMap.get(t));let n=this.getActivatedValues(e);n&&n.forEach((e,n)=>{this.updateElement(t,n,e),r.delete(n)}),r.forEach(r=>{if(n=this.getActivatedValues(e,r),n){const e=n.get(r);this.updateElement(t,r,e)}else this.clearElement(t,r)})})}clearElement(e,t){const r=this.clearMap.get(e);if(r){const n=r.get(t);n&&(n(),this.subject.next({element:e,key:t,value:""}))}}updateElement(e,t,r){const n=this.updateMap.get(e);if(n){const i=n.get(t);i&&(i(r),this.subject.next({element:e,key:t,value:r}))}}releaseElement(e){const t=this.watcherMap.get(e);t&&(t.forEach(e=>e.unsubscribe()),this.watcherMap.delete(e));const r=this.elementMap.get(e);r&&(r.forEach((e,t)=>r.delete(t)),this.elementMap.delete(e))}triggerUpdate(e,t){const r=this.elementMap.get(e);if(r){const n=this.getActivatedValues(r,t);n&&(t?this.updateElement(e,t,n.get(t)):n.forEach((t,r)=>this.updateElement(e,r,t)))}}buildElementKeyMap(e,t){let r=this.elementKeyMap.get(e);r||(r=new Set,this.elementKeyMap.set(e,r)),r.add(t)}watchExtraTriggers(e,t,r){if(r&&r.length){let n=this.watcherMap.get(e);if(n||(n=new Map,this.watcherMap.set(e,n)),!n.get(t)){const i=K(...r).subscribe(()=>{const r=this.getValue(e,t);this.updateElement(e,t,r)});n.set(t,i)}}}findByQuery(e){return this.breakpoints.findByQuery(e)}getActivatedValues(e,t){for(let n=0;ne.mediaQuery);this.matchMedia.observe(this.hook.withPrintQuery(e)).pipe($h(this.hook.interceptEvents(this)),bh(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return e.\u0275fac=function(t){return new(t||e)($e(pT),$e(mT),$e(bT))},e.\u0275prov=de({factory:function(){return new e($e(pT),$e(mT),$e(bT))},token:e,providedIn:"root"}),e})();function DT(e,t,r,n){if(void 0!==n){let i=e.get(t);i||(i=new Map,e.set(t,i)),i.set(r,n)}}const LT="inline",AT=["row","column","row-reverse","column-reverse"];function ET(e){e=e?e.toLowerCase():"";let[t,r,n]=e.split(" ");return AT.find(e=>e===t)||(t=AT[0]),r===LT&&(r=n!==LT?n:"",n=LT),[t,PT(r),!!n]}function TT(e){let[t]=ET(e);return t.indexOf("row")>-1}function PT(e){if(e)switch(e.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":e="wrap-reverse";break;case"no":case"none":case"nowrap":e="nowrap";break;default:e="wrap"}return e}let YT=(()=>{class e extends MT{buildStyles(e){return function(e){let[t,r,n]=ET(e);return function(e,t=null,r=!1){return{display:r?"inline-flex":"flex","box-sizing":"border-box","flex-direction":e,"flex-wrap":t||null}}(t,r,n)}(e)}}return e.\u0275fac=function(t){return RT(t||e)},e.\u0275prov=de({factory:function(){return new e},token:e,providedIn:"root"}),e})();const RT=vn(YT),OT=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"];let IT=(()=>{class e extends XE{constructor(e,t,r,n){super(e,r,t,n),this.DIRECTIVE_KEY="layout",this.styleCache=HT,this.init()}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(kT),Ra(YT),Ra(CT))},e.\u0275dir=vt({type:e,features:[ga]}),e})(),jT=(()=>{class e extends IT{constructor(){super(...arguments),this.inputs=OT}}return e.\u0275fac=function(t){return FT(t||e)},e.\u0275dir=vt({type:e,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[ga]}),e})();const FT=vn(jT),HT=new Map,NT={"margin-left":null,"margin-right":null,"margin-top":null,"margin-bottom":null};let BT=(()=>{class e extends MT{constructor(e){super(),this._styler=e}buildStyles(e,t){return e.endsWith(ZT)?function(e,t){const[r,n]=e.split(" "),i=e=>"-"+e;let s="0px",a=i(n||r),o="0px";return"rtl"===t?o=i(r):s=i(r),{margin:`0px ${s} ${a} ${o}`}}(e=e.slice(0,e.indexOf(ZT)),t.directionality):{}}sideEffect(e,t,r){const n=r.items;if(e.endsWith(ZT)){const t=function(e,t){const[r,n]=e.split(" ");let i="0px",s="0px";return"rtl"===t?s=r:i=r,{padding:`0px ${i} ${n||r} ${s}`}}(e=e.slice(0,e.indexOf(ZT)),r.directionality);this._styler.applyStyleToElements(t,r.items)}else{const t=n.pop(),i=function(e,t){const r=JT(t.directionality,t.layout),n=Object.assign({},NT);return n[r]=e,n}(e,r);this._styler.applyStyleToElements(i,n),this._styler.applyStyleToElements(NT,[t])}}}return e.\u0275fac=function(t){return new(t||e)($e(kT))},e.\u0275prov=de({factory:function(){return new e($e(kT))},token:e,providedIn:"root"}),e})();const zT=["fxLayoutGap","fxLayoutGap.xs","fxLayoutGap.sm","fxLayoutGap.md","fxLayoutGap.lg","fxLayoutGap.xl","fxLayoutGap.lt-sm","fxLayoutGap.lt-md","fxLayoutGap.lt-lg","fxLayoutGap.lt-xl","fxLayoutGap.gt-xs","fxLayoutGap.gt-sm","fxLayoutGap.gt-md","fxLayoutGap.gt-lg"];let UT=(()=>{class e extends XE{constructor(e,t,r,n,i,s){super(e,i,n,s),this.zone=t,this.directionality=r,this.styleUtils=n,this.layout="row",this.DIRECTIVE_KEY="layout-gap",this.observerSubject=new M;const a=[this.directionality.change,this.observerSubject.asObservable()];this.init(a),this.marshal.trackValue(this.nativeElement,"layout").pipe(gM(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}get childrenNodes(){const e=this.nativeElement.children,t=[];for(let r=e.length;r--;)t[r]=e[r];return t}ngAfterContentInit(){this.buildChildObservable(),this.triggerUpdate()}ngOnDestroy(){super.ngOnDestroy(),this.observer&&this.observer.disconnect()}onLayoutChange(e){const t=e.value.split(" ");this.layout=t[0],AT.find(e=>e===this.layout)||(this.layout="row"),this.triggerUpdate()}updateWithValue(e){const t=this.childrenNodes.filter(e=>1===e.nodeType&&this.willDisplay(e)).sort((e,t)=>{const r=+this.styler.lookupStyle(e,"order"),n=+this.styler.lookupStyle(t,"order");return isNaN(r)||isNaN(n)||r===n?0:r>n?1:-1});if(t.length>0){const r=this.directionality.value,n=this.layout;"row"===n&&"rtl"===r?this.styleCache=WT:"row"===n&&"rtl"!==r?this.styleCache=GT:"column"===n&&"rtl"===r?this.styleCache=qT:"column"===n&&"rtl"!==r&&(this.styleCache=$T),this.addStyles(e,{directionality:r,items:t,layout:n})}}clearStyles(){const e=Object.keys(this.mru).length>0,t=e?"padding":JT(this.directionality.value,this.layout);e&&super.clearStyles(),this.styleUtils.applyStyleToElements({[t]:""},this.childrenNodes)}willDisplay(e){const t=this.marshal.getValue(e,"show-hide");return!0===t||void 0===t&&"none"!==this.styleUtils.lookupStyle(e,"display")}buildChildObservable(){this.zone.runOutsideAngular(()=>{"undefined"!=typeof MutationObserver&&(this.observer=new MutationObserver(e=>{e.some(e=>e.addedNodes&&e.addedNodes.length>0||e.removedNodes&&e.removedNodes.length>0)&&this.observerSubject.next()}),this.observer.observe(this.nativeElement,{childList:!0}))})}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(Ec),Ra(dk),Ra(kT),Ra(BT),Ra(CT))},e.\u0275dir=vt({type:e,features:[ga]}),e})(),VT=(()=>{class e extends UT{constructor(){super(...arguments),this.inputs=zT}}return e.\u0275fac=function(t){return KT(t||e)},e.\u0275dir=vt({type:e,selectors:[["","fxLayoutGap",""],["","fxLayoutGap.xs",""],["","fxLayoutGap.sm",""],["","fxLayoutGap.md",""],["","fxLayoutGap.lg",""],["","fxLayoutGap.xl",""],["","fxLayoutGap.lt-sm",""],["","fxLayoutGap.lt-md",""],["","fxLayoutGap.lt-lg",""],["","fxLayoutGap.lt-xl",""],["","fxLayoutGap.gt-xs",""],["","fxLayoutGap.gt-sm",""],["","fxLayoutGap.gt-md",""],["","fxLayoutGap.gt-lg",""]],inputs:{fxLayoutGap:"fxLayoutGap","fxLayoutGap.xs":"fxLayoutGap.xs","fxLayoutGap.sm":"fxLayoutGap.sm","fxLayoutGap.md":"fxLayoutGap.md","fxLayoutGap.lg":"fxLayoutGap.lg","fxLayoutGap.xl":"fxLayoutGap.xl","fxLayoutGap.lt-sm":"fxLayoutGap.lt-sm","fxLayoutGap.lt-md":"fxLayoutGap.lt-md","fxLayoutGap.lt-lg":"fxLayoutGap.lt-lg","fxLayoutGap.lt-xl":"fxLayoutGap.lt-xl","fxLayoutGap.gt-xs":"fxLayoutGap.gt-xs","fxLayoutGap.gt-sm":"fxLayoutGap.gt-sm","fxLayoutGap.gt-md":"fxLayoutGap.gt-md","fxLayoutGap.gt-lg":"fxLayoutGap.gt-lg"},features:[ga]}),e})();const KT=vn(VT),WT=new Map,qT=new Map,GT=new Map,$T=new Map,ZT=" grid";function JT(e,t){switch(t){case"column":return"margin-bottom";case"column-reverse":return"margin-top";case"row":return"rtl"===e?"margin-left":"margin-right";case"row-reverse":return"rtl"===e?"margin-right":"margin-left";default:return"rtl"===e?"margin-left":"margin-right"}}function QT(e,...t){if(null==e)throw TypeError("Cannot convert undefined or null to object");for(let r of t)if(null!=r)for(let t in r)r.hasOwnProperty(t)&&(e[t]=r[t]);return e}let XT=(()=>{class e extends MT{constructor(e){super(),this.layoutConfig=e}buildStyles(e,t){let[r,n,...i]=e.split(" "),s=i.join(" ");const a=t.direction.indexOf("column")>-1?"column":"row",o=TT(a)?"max-width":"max-height",l=TT(a)?"min-width":"min-height",c=String(s).indexOf("calc")>-1,d=c||"auto"===s,u=String(s).indexOf("%")>-1&&!c,h=String(s).indexOf("px")>-1||String(s).indexOf("rem")>-1||String(s).indexOf("em")>-1||String(s).indexOf("vw")>-1||String(s).indexOf("vh")>-1;let f=c||h;r="0"==r?0:r,n="0"==n?0:n;const m=!r&&!n;let p={};const _={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(s||""){case"":const e=!1!==this.layoutConfig.useColumnBasisZero;s="row"===a?"0%":e?"0.000000001px":"auto";break;case"initial":case"nogrow":r=0,s="auto";break;case"grow":s="100%";break;case"noshrink":n=0,s="auto";break;case"auto":break;case"none":r=0,n=0,s="auto";break;default:f||u||isNaN(s)||(s+="%"),"0%"===s&&(f=!0),"0px"===s&&(s="0%"),p=QT(_,c?{"flex-grow":r,"flex-shrink":n,"flex-basis":f?s:"100%"}:{flex:`${r} ${n} ${f?s:"100%"}`})}return p.flex||p["flex-grow"]||(p=QT(_,c?{"flex-grow":r,"flex-shrink":n,"flex-basis":s}:{flex:`${r} ${n} ${s}`})),"0%"!==s&&"0px"!==s&&"0.000000001px"!==s&&"auto"!==s&&(p[l]=m||f&&r?s:null,p[o]=m||!d&&n?s:null),p[l]||p[o]?t.hasWrap&&(p[c?"flex-basis":"flex"]=p[o]?c?p[o]:`${r} ${n} ${p[o]}`:c?p[l]:`${r} ${n} ${p[l]}`):p=QT(_,c?{"flex-grow":r,"flex-shrink":n,"flex-basis":s}:{flex:`${r} ${n} ${s}`}),QT(p,{"box-sizing":"border-box"})}}return e.\u0275fac=function(t){return new(t||e)($e(WE))},e.\u0275prov=de({factory:function(){return new e($e(WE))},token:e,providedIn:"root"}),e})();const eP=["fxFlex","fxFlex.xs","fxFlex.sm","fxFlex.md","fxFlex.lg","fxFlex.xl","fxFlex.lt-sm","fxFlex.lt-md","fxFlex.lt-lg","fxFlex.lt-xl","fxFlex.gt-xs","fxFlex.gt-sm","fxFlex.gt-md","fxFlex.gt-lg"];let tP=(()=>{class e extends XE{constructor(e,t,r,n,i){super(e,n,t,i),this.layoutConfig=r,this.marshal=i,this.DIRECTIVE_KEY="flex",this.direction=void 0,this.wrap=void 0,this.flexGrow="1",this.flexShrink="1",this.init()}get shrink(){return this.flexShrink}set shrink(e){this.flexShrink=e||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(e){this.flexGrow=e||"1",this.triggerReflow()}ngOnInit(){this.parentElement&&(this.marshal.trackValue(this.parentElement,"layout").pipe(gM(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe(gM(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}onLayoutChange(e){const t=e.value.split(" ");this.direction=t[0],this.wrap=void 0!==t[1]&&"wrap"===t[1],this.triggerUpdate()}updateWithValue(e){void 0===this.direction&&(this.direction=this.getFlexFlowDirection(this.parentElement,!1!==this.layoutConfig.addFlexToParent)),void 0===this.wrap&&(this.wrap=this.hasWrap(this.parentElement));const t=this.direction,r=t.startsWith("row"),n=this.wrap;r&&n?this.styleCache=aP:r&&!n?this.styleCache=iP:!r&&n?this.styleCache=oP:r||n||(this.styleCache=sP);const i=ST(String(e).replace(";",""),this.flexGrow,this.flexShrink);this.addStyles(i.join(" "),{direction:t,hasWrap:n})}triggerReflow(){const e=this.activatedValue;if(void 0!==e){const t=ST(e+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,t.join(" "))}}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(kT),Ra(WE),Ra(XT),Ra(CT))},e.\u0275dir=vt({type:e,inputs:{shrink:["fxShrink","shrink"],grow:["fxGrow","grow"]},features:[ga]}),e})(),rP=(()=>{class e extends tP{constructor(){super(...arguments),this.inputs=eP}}return e.\u0275fac=function(t){return nP(t||e)},e.\u0275dir=vt({type:e,selectors:[["","fxFlex",""],["","fxFlex.xs",""],["","fxFlex.sm",""],["","fxFlex.md",""],["","fxFlex.lg",""],["","fxFlex.xl",""],["","fxFlex.lt-sm",""],["","fxFlex.lt-md",""],["","fxFlex.lt-lg",""],["","fxFlex.lt-xl",""],["","fxFlex.gt-xs",""],["","fxFlex.gt-sm",""],["","fxFlex.gt-md",""],["","fxFlex.gt-lg",""]],inputs:{fxFlex:"fxFlex","fxFlex.xs":"fxFlex.xs","fxFlex.sm":"fxFlex.sm","fxFlex.md":"fxFlex.md","fxFlex.lg":"fxFlex.lg","fxFlex.xl":"fxFlex.xl","fxFlex.lt-sm":"fxFlex.lt-sm","fxFlex.lt-md":"fxFlex.lt-md","fxFlex.lt-lg":"fxFlex.lt-lg","fxFlex.lt-xl":"fxFlex.lt-xl","fxFlex.gt-xs":"fxFlex.gt-xs","fxFlex.gt-sm":"fxFlex.gt-sm","fxFlex.gt-md":"fxFlex.gt-md","fxFlex.gt-lg":"fxFlex.gt-lg"},features:[ga]}),e})();const nP=vn(rP),iP=new Map,sP=new Map,aP=new Map,oP=new Map;let lP=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[zE,uk]]}),e})();function cP(e,t){if(1&e&&(Fa(0,"div",2),Fa(1,"mat-card"),Fa(2,"mat-card-header"),Fa(3,"mat-icon"),xo(4),Il(5,"i18n"),Ha(),Fa(6,"mat-card-title"),xo(7),Il(8,"i18n"),Ha(),Fa(9,"mat-card-subtitle"),xo(10),Il(11,"i18n"),Ha(),Ha(),Fa(12,"mat-card-content"),Fa(13,"p"),xo(14),Il(15,"i18n"),Ha(),Ha(),Fa(16,"mat-card-actions"),Fa(17,"a",3),xo(18),Il(19,"i18n"),Ha(),Ha(),Ha(),Ha()),2&e){const e=t.$implicit;Li(4),Co(jl(5,6,"services."+e.name+".icon")),Li(3),Co(jl(8,8,"services."+e.name+".title")),Li(3),Co(jl(11,10,"services."+e.name+".subtitle")),Li(4),Do(" ",jl(15,12,"services."+e.name+".text")," "),Li(3),ro("href",e.url,li),Li(1),Co(jl(19,14,"services.goto"))}}let dP=(()=>{class e{constructor(e){this.serviceService=e,this.services=[]}ngOnInit(){this.serviceService.services().subscribe(e=>{this.services=e})}}return e.\u0275fac=function(t){return new(t||e)(Ra(HE))},e.\u0275cmp=mt({type:e,selectors:[["app-services"]],decls:5,vars:4,consts:[["fxLayout","row wrap","fxLayoutGap","16px grid"],["fxFlex","33.33%","fxFlex.sm","50%","fxFlex.xs","100%",4,"ngFor","ngForOf"],["fxFlex","33.33%","fxFlex.sm","50%","fxFlex.xs","100%"],["target","_blank","mat-raised-button","","color","primary",3,"href"]],template:function(e,t){1&e&&(Fa(0,"h3"),xo(1),Il(2,"i18n"),Ha(),Fa(3,"div",0),Pa(4,cP,20,16,"div",1),Ha()),2&e&&(Li(1),Co(jl(2,2,"services")),Li(3),Ia("ngForOf",t.services))},directives:[jT,VT,iu,rP,fM,mM,cx,dM,uM,cM,hM,NS],pipes:[zS],styles:["mat-card[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}mat-card-content[_ngcontent-%COMP%]{flex-grow:1;overflow:auto}"]}),e})(),uP=(()=>{class e{constructor(e){this.http=e}getAll(){return this.http.get(sd+"/profiles")}getAllForUser(e){return this.http.get(sd+"/profiles/"+e)}getForUser(e,t){return this.http.get(sd+"/profiles/"+e+"/"+t)}createOrUpdate(e){return this.http.post(sd+"/profiles",e)}delete(e){return this.http.delete(sd+"/profiles/"+e)}}return e.\u0275fac=function(t){return new(t||e)($e(s_))},e.\u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const hP=["trigger"],fP=["panel"];function mP(e,t){if(1&e&&(Fa(0,"span",8),xo(1),Ha()),2&e){const e=Qa();Li(1),Co(e.placeholder||"\xa0")}}function pP(e,t){if(1&e&&(Fa(0,"span"),xo(1),Ha()),2&e){const e=Qa(2);Li(1),Co(e.triggerValue||"\xa0")}}function _P(e,t){1&e&&to(0,0,["*ngSwitchCase","true"])}function gP(e,t){1&e&&(Fa(0,"span",9),Pa(1,pP,2,1,"span",10),Pa(2,_P,1,0,"ng-content",11),Ha()),2&e&&(Ia("ngSwitch",!!Qa().customTrigger),Li(2),Ia("ngSwitchCase",!0))}function yP(e,t){if(1&e){const e=Va();Fa(0,"div",12),Fa(1,"div",13,14),qa("@transformPanel.done",(function(t){return or(e),Qa()._panelDoneAnimatingStream.next(t.toState)}))("keydown",(function(t){return or(e),Qa()._handleKeydown(t)})),to(3,1),Ha(),Ha()}if(2&e){const e=Qa();Ia("@transformPanelWrap",void 0),Li(1),"mat-select-panel ",r=e._getPanelTheme(),"",_o(at,mo,Ta(sr(),"mat-select-panel ",r,""),!0),ho("transform-origin",e._transformOrigin)("font-size",e._triggerFontSize,"px"),Ia("ngClass",e.panelClass)("@transformPanel",e.multiple?"showing-multiple":"showing"),Ea("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}var r}const bP=[[["mat-select-trigger"]],"*"],vP=["mat-select-trigger","*"],wP={transformPanelWrap:ly("transformPanelWrap",[py("* => void",gy("@transformPanel",[_y()],{optional:!0}))]),transformPanel:ly("transformPanel",[fy("void",hy({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),fy("showing",hy({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),fy("showing-multiple",hy({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),py("void => *",cy("120ms cubic-bezier(0, 0, 0.2, 1)")),py("* => void",cy("100ms 25ms linear",hy({opacity:0})))])};let kP=0;const MP=256,SP=new Fe("mat-select-scroll-strategy"),xP=new Fe("MAT_SELECT_CONFIG"),CP={provide:SP,deps:[rD],useFactory:function(e){return()=>e.scrollStrategies.reposition()}};class DP{constructor(e,t){this.source=e,this.value=t}}class LP{constructor(e,t,r,n,i){this._elementRef=e,this._defaultErrorStateMatcher=t,this._parentForm=r,this._parentFormGroup=n,this.ngControl=i}}const AP=kk(Mk(vk(Sk(LP)))),EP=new Fe("MatSelectTrigger");let TP=(()=>{class e extends AP{constructor(e,t,r,n,i,s,a,o,l,c,d,u,h,f){super(i,n,a,o,c),this._viewportRuler=e,this._changeDetectorRef=t,this._ngZone=r,this._dir=s,this._parentFormField=l,this.ngControl=c,this._liveAnnouncer=h,this._panelOpen=!1,this._required=!1,this._scrollTop=0,this._multiple=!1,this._compareWith=(e,t)=>e===t,this._uid="mat-select-"+kP++,this._triggerAriaLabelledBy=null,this._destroy=new M,this._triggerFontSize=0,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+kP++,this._transformOrigin="top",this._panelDoneAnimatingStream=new M,this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],this._disableOptionCentering=!1,this._focused=!1,this.controlType="mat-select",this.ariaLabel="",this.optionSelectionChanges=gh(()=>{const e=this.options;return e?e.changes.pipe(Nh(e),Yh(()=>K(...e.map(e=>e.onSelectionChange)))):this._ngZone.onStable.pipe(Ih(1),Yh(()=>this.optionSelectionChanges))}),this.openedChange=new Bl,this._openedStream=this.openedChange.pipe(bh(e=>e),C(()=>{})),this._closedStream=this.openedChange.pipe(bh(e=>!e),C(()=>{})),this.selectionChange=new Bl,this.valueChange=new Bl,this.ngControl&&(this.ngControl.valueAccessor=this),this._scrollStrategyFactory=u,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(d)||0,this.id=this.id,f&&(null!=f.disableOptionCentering&&(this.disableOptionCentering=f.disableOptionCentering),null!=f.typeaheadDebounceInterval&&(this.typeaheadDebounceInterval=f.typeaheadDebounceInterval))}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){return this._required}set required(e){this._required=kw(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=kw(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=kw(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){e!==this._value&&(this.options&&this._setSelectionByValue(e),this._value=e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=Mw(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new nC(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Ux(),gM(this._destroy)).subscribe(()=>{this.panelOpen?(this._scrollTop=0,this.openedChange.emit(!0)):(this.openedChange.emit(!1),this.overlayDir.offsetX=0,this._changeDetectorRef.markForCheck())}),this._viewportRuler.change().pipe(gM(this._destroy)).subscribe(()=>{this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(gM(this._destroy)).subscribe(e=>{e.added.forEach(e=>e.select()),e.removed.forEach(e=>e.deselect())}),this.options.changes.pipe(Nh(null),gM(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby();if(e!==this._triggerAriaLabelledBy){const t=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?t.setAttribute("aria-labelledby",e):t.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}ngOnChanges(e){e.disabled&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){!this.disabled&&this.options&&this.options.length&&!this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._calculateOverlayPosition(),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this._ngZone.onStable.pipe(Ih(1)).subscribe(()=>{this._triggerFontSize&&this.overlayDir.overlayRef&&this.overlayDir.overlayRef.overlayElement&&(this.overlayDir.overlayRef.overlayElement.style.fontSize=this._triggerFontSize+"px")}))}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(e){this.value=e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const e=this._selectionModel.selected.map(e=>e.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){const t=e.keyCode,r=t===uw||t===cw||t===lw||t===dw,n=t===sw||t===ow,i=this._keyManager;if(!i.isTyping()&&n&&!hw(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){const t=this.selected;i.onKeydown(e);const r=this.selected;r&&t!==r&&this._liveAnnouncer.announce(r.viewValue,1e4)}}_handleOpenKeydown(e){const t=this._keyManager,r=e.keyCode,n=r===uw||r===cw,i=t.isTyping();if(n&&e.altKey)e.preventDefault(),this.close();else if(i||r!==sw&&r!==ow||!t.activeItem||hw(e))if(!i&&this._multiple&&65===r&&e.ctrlKey){e.preventDefault();const t=this.options.some(e=>!e.disabled&&!e.selected);this.options.forEach(e=>{e.disabled||(t?e.select():e.deselect())})}else{const r=t.activeItemIndex;t.onKeydown(e),this._multiple&&n&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==r&&t.activeItem._selectViaInteraction()}else e.preventDefault(),t.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this.overlayDir.positionChange.pipe(Ih(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop})}_getPanelTheme(){return this._parentFormField?"mat-"+this._parentFormField.color:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.multiple&&e)Array.isArray(e),this._selectionModel.clear(),e.forEach(e=>this._selectValue(e)),this._sortValues();else{this._selectionModel.clear();const t=this._selectValue(e);t?this._keyManager.updateActiveItem(t):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(e){const t=this.options.find(t=>{try{return null!=t.value&&this._compareWith(t.value,e)}catch(r){return!1}});return t&&this._selectionModel.select(t),t}_initKeyManager(){this._keyManager=new Nw(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(gM(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe(gM(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollActiveOptionIntoView():this._panelOpen||this.multiple||!this._keyManager.activeItem||this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const e=K(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(gM(e)).subscribe(e=>{this._onSelect(e.source,e.isUserInput),e.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),K(...this.options.map(e=>e._stateChanges)).pipe(gM(e)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(e,t){const r=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(r!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),r!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((t,r)=>this.sortComparator?this.sortComparator(t,r,e):e.indexOf(t)-e.indexOf(r)),this.stateChanges.next()}}_propagateChanges(e){let t=null;t=this.multiple?this.selected.map(e=>e.value):this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(new DP(this,t)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_scrollActiveOptionIntoView(){const e=this._keyManager.activeItemIndex||0,t=rM(e,this.options,this.optionGroups),r=this._getItemHeight();var n,i,s;this.panel.nativeElement.scrollTop=(i=r,MP,(n=(e+t)*r)<(s=this.panel.nativeElement.scrollTop)?n:n+i>s+256?Math.max(0,n-256+i):s)}focus(e){this._elementRef.nativeElement.focus(e)}_getOptionIndex(e){return this.options.reduce((t,r,n)=>void 0!==t?t:e===r?n:void 0,void 0)}_calculateOverlayPosition(){const e=this._getItemHeight(),t=this._getItemCount(),r=Math.min(t*e,MP),n=t*e-r;let i=this.empty?0:this._getOptionIndex(this._selectionModel.selected[0]);i+=rM(i,this.options,this.optionGroups);const s=r/2;this._scrollTop=this._calculateOverlayScroll(i,s,n),this._offsetY=this._calculateOverlayOffsetY(i,s,n),this._checkOverlayWithinViewport(n)}_calculateOverlayScroll(e,t,r){const n=this._getItemHeight();return Math.min(Math.max(0,n*e-t+n/2),r)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const e=this._getLabelId();return this.ariaLabelledby?e+" "+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getLabelId(){var e;return(null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId())||""}_calculateOverlayOffsetX(){const e=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),t=this._viewportRuler.getViewportSize(),r=this._isRtl(),n=this.multiple?56:32;let i;if(this.multiple)i=40;else{let e=this._selectionModel.selected[0]||this.options.first;i=e&&e.group?32:16}r||(i*=-1);const s=0-(e.left+i-(r?n:0)),a=e.right+i-t.width+(r?0:n);s>0?i+=s+8:a>0&&(i-=a+8),this.overlayDir.offsetX=Math.round(i),this.overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(e,t,r){const n=this._getItemHeight(),i=(n-this._triggerRect.height)/2,s=Math.floor(MP/n);let a;return this._disableOptionCentering?0:(a=0===this._scrollTop?e*n:this._scrollTop===r?(e-(this._getItemCount()-s))*n+(n-(this._getItemCount()*n-MP)%n):t-n/2,Math.round(-1*a-i))}_checkOverlayWithinViewport(e){const t=this._getItemHeight(),r=this._viewportRuler.getViewportSize(),n=this._triggerRect.top-8,i=r.height-this._triggerRect.bottom-8,s=Math.abs(this._offsetY),a=Math.min(this._getItemCount()*t,MP)-s-this._triggerRect.height;a>i?this._adjustPanelUp(a,i):s>n?this._adjustPanelDown(s,n,e):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(e,t){const r=Math.round(e-t);this._scrollTop-=r,this._offsetY-=r,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(e,t,r){const n=Math.round(e-t);if(this._scrollTop+=n,this._offsetY+=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=r)return this._scrollTop=r,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_getOriginBasedOnOption(){const e=this._getItemHeight(),t=(e-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-t+e/2}px 0px`}_getItemCount(){return this.options.length+this.optionGroups.length}_getItemHeight(){return 3*this._triggerFontSize}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._getLabelId()+" "+this._valueId;return this.ariaLabelledby&&(e+=" "+this.ariaLabelledby),e}setDescribedByIds(e){this._ariaDescribedby=e.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty}}return e.\u0275fac=function(t){return new(t||e)(Ra(oC),Ra(Zs),Ra(Ec),Ra(Ek),Ra(zo),Ra(dk,8),Ra(zg,8),Ra(Jg,8),Ra(eS,8),Ra(U_,10),Oa("tabindex"),Ra(SP),Ra(Zw),Ra(xP,8))},e.\u0275cmp=mt({type:e,selectors:[["mat-select"]],contentQueries:function(e,t,r){var n;1&e&&(rc(r,EP,!0),rc(r,tM,!0),rc(r,Zk,!0)),2&e&&(Ql(n=sc())&&(t.customTrigger=n.first),Ql(n=sc())&&(t.options=n),Ql(n=sc())&&(t.optionGroups=n))},viewQuery:function(e,t){var r;1&e&&(ec(hP,!0),ec(fP,!0),ec(aD,!0)),2&e&&(Ql(r=sc())&&(t.trigger=r.first),Ql(r=sc())&&(t.panel=r.first),Ql(r=sc())&&(t.overlayDir=r.first))},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(e,t){1&e&&qa("keydown",(function(e){return t._handleKeydown(e)}))("focus",(function(){return t._onFocus()}))("blur",(function(){return t._onBlur()})),2&e&&(Ea("id",t.id)("tabindex",t.tabIndex)("aria-controls",t.panelOpen?t.id+"-panel":null)("aria-expanded",t.panelOpen)("aria-label",t.ariaLabel||null)("aria-required",t.required.toString())("aria-disabled",t.disabled.toString())("aria-invalid",t.errorState)("aria-describedby",t._ariaDescribedby||null)("aria-activedescendant",t._getAriaActiveDescendant()),fo("mat-select-disabled",t.disabled)("mat-select-invalid",t.errorState)("mat-select-required",t.required)("mat-select-empty",t.empty)("mat-select-multiple",t.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],id:"id",disableOptionCentering:"disableOptionCentering",typeaheadDebounceInterval:"typeaheadDebounceInterval",placeholder:"placeholder",required:"required",multiple:"multiple",compareWith:"compareWith",value:"value",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[Fo([{provide:BM,useExisting:e},{provide:Xk,useExisting:e}]),ga,Ot],ngContentSelectors:vP,decls:9,vars:10,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder"],[1,"mat-select-value-text",3,"ngSwitch"],[4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,t){if(1&e&&(eo(bP),Fa(0,"div",0,1),qa("click",(function(){return t.toggle()})),Fa(3,"div",2),Pa(4,mP,2,1,"span",3),Pa(5,gP,3,2,"span",4),Ha(),Fa(6,"div",5),Na(7,"div",6),Ha(),Ha(),Pa(8,yP,4,14,"ng-template",7),qa("backdropClick",(function(){return t.close()}))("attach",(function(){return t._onAttached()}))("detach",(function(){return t.close()}))),2&e){const e=Ya(1);Li(3),Ia("ngSwitch",t.empty),Ea("id",t._valueId),Li(1),Ia("ngSwitchCase",!0),Li(1),Ia("ngSwitchCase",!1),Li(3),Ia("cdkConnectedOverlayScrollStrategy",t._scrollStrategy)("cdkConnectedOverlayOrigin",e)("cdkConnectedOverlayOpen",t.panelOpen)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayMinWidth",null==t._triggerRect?null:t._triggerRect.width)("cdkConnectedOverlayOffsetY",t._offsetY)}},directives:[sD,du,uu,aD,hu,ru],styles:[".mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}\n"],encapsulation:2,data:{animation:[wP.transformPanelWrap,wP.transformPanel]},changeDetection:0}),e})(),PP=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[CP],imports:[[Mu,lD,nM,bk],lC,rS,nM,bk]}),e})();const YP=["mat-calendar-body",""];function RP(e,t){if(1&e&&(Fa(0,"tr",2),Fa(1,"td",3),xo(2),Ha(),Ha()),2&e){const e=Qa();Li(1),ho("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),Ea("colspan",e.numCols),Li(1),Do(" ",e.label," ")}}function OP(e,t){if(1&e&&(Fa(0,"td",7),xo(1),Ha()),2&e){const e=Qa(2);ho("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),Ea("colspan",e._firstRowOffset),Li(1),Do(" ",e._firstRowOffset>=e.labelMinRequiredCells?e.label:""," ")}}function IP(e,t){if(1&e){const e=Va();Fa(0,"td",8),qa("click",(function(r){or(e);const n=t.$implicit;return Qa(2)._cellClicked(n,r)})),Fa(1,"div",9),xo(2),Ha(),Na(3,"div",10),Ha()}if(2&e){const e=t.$implicit,r=t.index,n=Qa().index,i=Qa();ho("width",i._cellWidth)("padding-top",i._cellPadding)("padding-bottom",i._cellPadding),fo("mat-calendar-body-disabled",!e.enabled)("mat-calendar-body-active",i._isActiveCell(n,r))("mat-calendar-body-range-start",i._isRangeStart(e.compareValue))("mat-calendar-body-range-end",i._isRangeEnd(e.compareValue))("mat-calendar-body-in-range",i._isInRange(e.compareValue))("mat-calendar-body-comparison-bridge-start",i._isComparisonBridgeStart(e.compareValue,n,r))("mat-calendar-body-comparison-bridge-end",i._isComparisonBridgeEnd(e.compareValue,n,r))("mat-calendar-body-comparison-start",i._isComparisonStart(e.compareValue))("mat-calendar-body-comparison-end",i._isComparisonEnd(e.compareValue))("mat-calendar-body-in-comparison-range",i._isInComparisonRange(e.compareValue))("mat-calendar-body-preview-start",i._isPreviewStart(e.compareValue))("mat-calendar-body-preview-end",i._isPreviewEnd(e.compareValue))("mat-calendar-body-in-preview",i._isInPreview(e.compareValue)),Ia("ngClass",e.cssClasses)("tabindex",i._isActiveCell(n,r)?0:-1),Ea("data-mat-row",n)("data-mat-col",r)("aria-label",e.ariaLabel)("aria-disabled",!e.enabled||null)("aria-selected",i._isSelected(e.compareValue)),Li(1),fo("mat-calendar-body-selected",i._isSelected(e.compareValue))("mat-calendar-body-comparison-identical",i._isComparisonIdentical(e.compareValue))("mat-calendar-body-today",i.todayValue===e.compareValue),Li(1),Do(" ",e.displayValue," ")}}function jP(e,t){if(1&e&&(Fa(0,"tr",4),Pa(1,OP,2,6,"td",5),Pa(2,IP,4,46,"td",6),Ha()),2&e){const e=t.$implicit,r=t.index,n=Qa();Li(1),Ia("ngIf",0===r&&n._firstRowOffset),Li(1),Ia("ngForOf",e)}}function FP(e,t){if(1&e&&(Fa(0,"th",5),xo(1),Ha()),2&e){const e=t.$implicit;Ea("aria-label",e.long),Li(1),Co(e.narrow)}}const HP=["*"];function NP(e,t){}function BP(e,t){if(1&e){const e=Va();Fa(0,"mat-month-view",5),qa("activeDateChange",(function(t){return or(e),Qa().activeDate=t}))("_userSelection",(function(t){return or(e),Qa()._dateSelected(t)})),Ha()}if(2&e){const e=Qa();Ia("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)}}function zP(e,t){if(1&e){const e=Va();Fa(0,"mat-year-view",6),qa("activeDateChange",(function(t){return or(e),Qa().activeDate=t}))("monthSelected",(function(t){return or(e),Qa()._monthSelectedInYearView(t)}))("selectedChange",(function(t){return or(e),Qa()._goToDateInView(t,"month")})),Ha()}if(2&e){const e=Qa();Ia("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function UP(e,t){if(1&e){const e=Va();Fa(0,"mat-multi-year-view",7),qa("activeDateChange",(function(t){return or(e),Qa().activeDate=t}))("yearSelected",(function(t){return or(e),Qa()._yearSelectedInMultiYearView(t)}))("selectedChange",(function(t){return or(e),Qa()._goToDateInView(t,"year")})),Ha()}if(2&e){const e=Qa();Ia("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}const VP=["button"];function KP(e,t){1&e&&(Yr(),Fa(0,"svg",3),Na(1,"path",4),Ha())}const WP=[[["","matDatepickerToggleIcon",""]]],qP=["[matDatepickerToggleIcon]"];let GP=(()=>{class e{constructor(){this.changes=new M,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 20 years",this.nextMultiYearLabel="Next 20 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}formatYearRange(e,t){return`${e} \u2013 ${t}`}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=de({factory:function(){return new e},token:e,providedIn:"root"}),e})();class $P{constructor(e,t,r,n,i={},s=e,a){this.value=e,this.displayValue=t,this.ariaLabel=r,this.enabled=n,this.cssClasses=i,this.compareValue=s,this.rawValue=a}}let ZP=(()=>{class e{constructor(e,t){this._elementRef=e,this._ngZone=t,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new Bl,this.previewChange=new Bl,this._enterHandler=e=>{if(this._skipNextFocus&&"focus"===e.type)this._skipNextFocus=!1;else if(e.target&&this.isRange){const t=this._getCellFromElement(e.target);t&&this._ngZone.run(()=>this.previewChange.emit({value:t.enabled?t:null,event:e}))}},this._leaveHandler=e=>{null!==this.previewEnd&&this.isRange&&e.target&&JP(e.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:e}))},t.runOutsideAngular(()=>{const t=e.nativeElement;t.addEventListener("mouseenter",this._enterHandler,!0),t.addEventListener("focus",this._enterHandler,!0),t.addEventListener("mouseleave",this._leaveHandler,!0),t.addEventListener("blur",this._leaveHandler,!0)})}_cellClicked(e,t){e.enabled&&this.selectedValueChange.emit({value:e.value,event:t})}_isSelected(e){return this.startValue===e||this.endValue===e}ngOnChanges(e){const t=e.numCols,{rows:r,numCols:n}=this;(e.rows||t)&&(this._firstRowOffset=r&&r.length&&r[0].length?n-r[0].length:0),(e.cellAspectRatio||t||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/n+"%"),!t&&this._cellWidth||(this._cellWidth=100/n+"%")}ngOnDestroy(){const e=this._elementRef.nativeElement;e.removeEventListener("mouseenter",this._enterHandler,!0),e.removeEventListener("focus",this._enterHandler,!0),e.removeEventListener("mouseleave",this._leaveHandler,!0),e.removeEventListener("blur",this._leaveHandler,!0)}_isActiveCell(e,t){let r=e*this.numCols+t;return e&&(r-=this._firstRowOffset),r==this.activeCell}_focusActiveCell(e=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Ih(1)).subscribe(()=>{const t=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");t&&(e||(this._skipNextFocus=!0),t.focus())})})}_isRangeStart(e){return QP(e,this.startValue,this.endValue)}_isRangeEnd(e){return XP(e,this.startValue,this.endValue)}_isInRange(e){return eY(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return QP(e,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(e,t,r){if(!this._isComparisonStart(e)||this._isRangeStart(e)||!this._isInRange(e))return!1;let n=this.rows[t][r-1];if(!n){const e=this.rows[t-1];n=e&&e[e.length-1]}return n&&!this._isRangeEnd(n.compareValue)}_isComparisonBridgeEnd(e,t,r){if(!this._isComparisonEnd(e)||this._isRangeEnd(e)||!this._isInRange(e))return!1;let n=this.rows[t][r+1];if(!n){const e=this.rows[t+1];n=e&&e[0]}return n&&!this._isRangeStart(n.compareValue)}_isComparisonEnd(e){return XP(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return eY(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}_isPreviewStart(e){return QP(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return XP(e,this.previewStart,this.previewEnd)}_isInPreview(e){return eY(e,this.previewStart,this.previewEnd,this.isRange)}_getCellFromElement(e){let t;if(JP(e)?t=e:JP(e.parentNode)&&(t=e.parentNode),t){const e=t.getAttribute("data-mat-row"),r=t.getAttribute("data-mat-col");if(e&&r)return this.rows[parseInt(e)][parseInt(r)]}return null}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(Ec))},e.\u0275cmp=mt({type:e,selectors:[["","mat-calendar-body",""]],hostAttrs:["role","grid","aria-readonly","true",1,"mat-calendar-body"],inputs:{numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",previewStart:"previewStart",previewEnd:"previewEnd",label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange"},exportAs:["matCalendarBody"],features:[Ot],attrs:YP,decls:2,vars:2,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["aria-hidden","true","class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell",3,"ngClass","tabindex","mat-calendar-body-disabled","mat-calendar-body-active","mat-calendar-body-range-start","mat-calendar-body-range-end","mat-calendar-body-in-range","mat-calendar-body-comparison-bridge-start","mat-calendar-body-comparison-bridge-end","mat-calendar-body-comparison-start","mat-calendar-body-comparison-end","mat-calendar-body-in-comparison-range","mat-calendar-body-preview-start","mat-calendar-body-preview-end","mat-calendar-body-in-preview","width","paddingTop","paddingBottom","click",4,"ngFor","ngForOf"],["aria-hidden","true",1,"mat-calendar-body-label"],["role","gridcell",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],[1,"mat-calendar-body-cell-preview"]],template:function(e,t){1&e&&(Pa(0,RP,3,6,"tr",0),Pa(1,jP,3,2,"tr",1)),2&e&&(Ia("ngIf",t._firstRowOffset.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){outline:dotted 2px}[dir=rtl] .mat-calendar-body-label{text-align:right}@media(hover: none){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){background-color:transparent}}\n'],encapsulation:2,changeDetection:0}),e})();function JP(e){return"TD"===e.nodeName}function QP(e,t,r){return null!==r&&t!==r&&e=t&&e===r}function eY(e,t,r,n){return n&&null!==t&&null!==r&&t!==r&&e>=t&&e<=r}class tY{constructor(e,t){this.start=e,this.end=t}}let rY=(()=>{class e{constructor(e,t){this.selection=e,this._adapter=t,this._selectionChanged=new M,this.selectionChanged=this._selectionChanged,this.selection=e}updateSelection(e,t){this.selection=e,this._selectionChanged.next({selection:e,source:t})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(e){return this._adapter.isDateInstance(e)&&this._adapter.isValid(e)}}return e.\u0275fac=function(t){return new(t||e)(Ra(void 0),Ra(Dk))},e.\u0275dir=vt({type:e}),e})(),nY=(()=>{class e extends rY{constructor(e){super(null,e)}add(e){super.updateSelection(e,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}}return e.\u0275fac=function(t){return new(t||e)($e(Dk))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();const iY={provide:rY,deps:[[new ie,new ae,rY],Dk],useFactory:function(e,t){return e||new nY(t)}},sY=new Fe("MAT_DATE_RANGE_SELECTION_STRATEGY");let aY=(()=>{class e{constructor(e,t,r,n,i){this._changeDetectorRef=e,this._dateFormats=t,this._dateAdapter=r,this._dir=n,this._rangeStrategy=i,this._rerenderSubscription=u.EMPTY,this.selectedChange=new Bl,this._userSelection=new Bl,this.activeDateChange=new Bl,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){const t=this._activeDate,r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),this._hasSameMonthAndYear(t,this._activeDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof tY?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Nh(null)).subscribe(()=>this._init())}ngOnChanges(e){const t=e.comparisonStart||e.comparisonEnd;t&&!t.firstChange&&this._setRanges(this.selected)}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(e){const t=e.value,r=this._dateAdapter.getYear(this.activeDate),n=this._dateAdapter.getMonth(this.activeDate),i=this._dateAdapter.createDate(r,n,t);let s,a;this._selected instanceof tY?(s=this._getDateInCurrentMonth(this._selected.start),a=this._getDateInCurrentMonth(this._selected.end)):s=a=this._getDateInCurrentMonth(this._selected),s===t&&a===t||this.selectedChange.emit(i),this._userSelection.emit({value:i,event:e.event})}_handleCalendarBodyKeydown(e){const t=this._activeDate,r=this._isRtl();switch(e.keyCode){case lw:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,r?1:-1);break;case dw:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,r?-1:1);break;case cw:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case uw:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case 36:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case 33:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case sw:case ow:return void(this.dateFilter&&!this.dateFilter(this._activeDate)||(this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:e}),e.preventDefault()));case aw:return void(null!=this._previewEnd&&(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:e}),e.preventDefault(),e.stopPropagation()));default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(e)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(e){this._matCalendarBody._focusActiveCell(e)}_previewChanged({event:e,value:t}){if(this._rangeStrategy){const r=this._rangeStrategy.createPreview(t?t.rawValue:null,this.selected,e);this._previewStart=this._getCellCompareValue(r.start),this._previewEnd=this._getCellCompareValue(r.end),this._changeDetectorRef.detectChanges()}}_initWeekdays(){const e=this._dateAdapter.getFirstDayOfWeek(),t=this._dateAdapter.getDayOfWeekNames("narrow");let r=this._dateAdapter.getDayOfWeekNames("long").map((e,r)=>({long:e,narrow:t[r]}));this._weekdays=r.slice(e).concat(r.slice(0,e))}_createWeekCells(){const e=this._dateAdapter.getNumDaysInMonth(this.activeDate),t=this._dateAdapter.getDateNames();this._weeks=[[]];for(let r=0,n=this._firstWeekOffset;r=0)&&(!this.maxDate||this._dateAdapter.compareDate(e,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(e))}_getDateInCurrentMonth(e){return e&&this._hasSameMonthAndYear(e,this.activeDate)?this._dateAdapter.getDate(e):null}_hasSameMonthAndYear(e,t){return!(!e||!t||this._dateAdapter.getMonth(e)!=this._dateAdapter.getMonth(t)||this._dateAdapter.getYear(e)!=this._dateAdapter.getYear(t))}_getCellCompareValue(e){if(e){const t=this._dateAdapter.getYear(e),r=this._dateAdapter.getMonth(e),n=this._dateAdapter.getDate(e);return new Date(t,r,n).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(e){e instanceof tY?(this._rangeStart=this._getCellCompareValue(e.start),this._rangeEnd=this._getCellCompareValue(e.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(e),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}}return e.\u0275fac=function(t){return new(t||e)(Ra(Zs),Ra(Lk,8),Ra(Dk,8),Ra(dk,8),Ra(sY,8))},e.\u0275cmp=mt({type:e,selectors:[["mat-month-view"]],viewQuery:function(e,t){var r;1&e&&ec(ZP,!0),2&e&&Ql(r=sc())&&(t._matCalendarBody=r.first)},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[Ot],decls:7,vars:13,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["colspan","7","aria-hidden","true",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","selectedValueChange","previewChange","keydown"],["scope","col"]],template:function(e,t){1&e&&(Fa(0,"table",0),Fa(1,"thead",1),Fa(2,"tr"),Pa(3,FP,2,2,"th",2),Ha(),Fa(4,"tr"),Na(5,"th",3),Ha(),Ha(),Fa(6,"tbody",4),qa("selectedValueChange",(function(e){return t._dateSelected(e)}))("previewChange",(function(e){return t._previewChanged(e)}))("keydown",(function(e){return t._handleCalendarBodyKeydown(e)})),Ha(),Ha()),2&e&&(Li(3),Ia("ngForOf",t._weekdays),Li(3),Ia("label",t._monthLabel)("rows",t._weeks)("todayValue",t._todayDate)("startValue",t._rangeStart)("endValue",t._rangeEnd)("comparisonStart",t._comparisonRangeStart)("comparisonEnd",t._comparisonRangeEnd)("previewStart",t._previewStart)("previewEnd",t._previewEnd)("isRange",t._isRange)("labelMinRequiredCells",3)("activeCell",t._dateAdapter.getDate(t.activeDate)-1))},directives:[iu,ZP],encapsulation:2,changeDetection:0}),e})();const oY=24;let lY=(()=>{class e{constructor(e,t,r){this._changeDetectorRef=e,this._dateAdapter=t,this._dir=r,this._rerenderSubscription=u.EMPTY,this.selectedChange=new Bl,this.yearSelected=new Bl,this.activeDateChange=new Bl,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){let t=this._activeDate;const r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),cY(this._dateAdapter,t,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof tY?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedYear(e)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Nh(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const e=this._dateAdapter.getYear(this._activeDate)-dY(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let t=0,r=[];tthis._createCellForYear(e))),r=[]);this._changeDetectorRef.markForCheck()}_yearSelected(e){const t=e.value;this.yearSelected.emit(this._dateAdapter.createDate(t,0,1));let r=this._dateAdapter.getMonth(this.activeDate),n=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(t,r,1));this.selectedChange.emit(this._dateAdapter.createDate(t,r,Math.min(this._dateAdapter.getDate(this.activeDate),n)))}_handleCalendarBodyKeydown(e){const t=this._activeDate,r=this._isRtl();switch(e.keyCode){case lw:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,r?1:-1);break;case dw:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,r?-1:1);break;case cw:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case uw:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-dY(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,oY-dY(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-240:-24);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?240:oY);break;case sw:case ow:this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:e});break;default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}_getActiveCell(){return dY(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_createCellForYear(e){const t=this._dateAdapter.createDate(e,0,1),r=this._dateAdapter.getYearName(t),n=this.dateClass?this.dateClass(t,"multi-year"):void 0;return new $P(e,r,r,this._shouldEnableYear(e),n)}_shouldEnableYear(e){if(null==e||this.maxDate&&e>this._dateAdapter.getYear(this.maxDate)||this.minDate&&e{class e{constructor(e,t,r,n){this._changeDetectorRef=e,this._dateFormats=t,this._dateAdapter=r,this._dir=n,this._rerenderSubscription=u.EMPTY,this.selectedChange=new Bl,this.monthSelected=new Bl,this.activeDateChange=new Bl,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){let t=this._activeDate;const r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),this._dateAdapter.getYear(t)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof tY?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedMonth(e)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Nh(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(e){const t=e.value,r=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1);this.monthSelected.emit(r);const n=this._dateAdapter.getNumDaysInMonth(r);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,Math.min(this._dateAdapter.getDate(this.activeDate),n)))}_handleCalendarBodyKeydown(e){const t=this._activeDate,r=this._isRtl();switch(e.keyCode){case lw:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,r?1:-1);break;case dw:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,r?-1:1);break;case cw:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case uw:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-10:-1);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10:1);break;case sw:case ow:this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:e});break;default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let e=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(t=>t.map(t=>this._createCellForMonth(t,e[t]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_getMonthInCurrentYear(e){return e&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(e):null}_createCellForMonth(e,t){const r=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),n=this._dateAdapter.format(r,this._dateFormats.display.monthYearA11yLabel),i=this.dateClass?this.dateClass(r,"year"):void 0;return new $P(e,t.toLocaleUpperCase(),n,this._shouldEnableMonth(e),i)}_shouldEnableMonth(e){const t=this._dateAdapter.getYear(this.activeDate);if(null==e||this._isYearAndMonthAfterMaxDate(t,e)||this._isYearAndMonthBeforeMinDate(t,e))return!1;if(!this.dateFilter)return!0;for(let r=this._dateAdapter.createDate(t,e,1);this._dateAdapter.getMonth(r)==e;r=this._dateAdapter.addCalendarDays(r,1))if(this.dateFilter(r))return!0;return!1}_isYearAndMonthAfterMaxDate(e,t){if(this.maxDate){const r=this._dateAdapter.getYear(this.maxDate),n=this._dateAdapter.getMonth(this.maxDate);return e>r||e===r&&t>n}return!1}_isYearAndMonthBeforeMinDate(e,t){if(this.minDate){const r=this._dateAdapter.getYear(this.minDate),n=this._dateAdapter.getMonth(this.minDate);return e{class e{constructor(e,t,r,n,i){this._intl=e,this.calendar=t,this._dateAdapter=r,this._dateFormats=n,this.calendar.stateChanges.subscribe(()=>i.markForCheck())}get periodButtonText(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);const e=this._dateAdapter.getYear(this.calendar.activeDate)-dY(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),t=e+oY-1,r=this._dateAdapter.getYearName(this._dateAdapter.createDate(e,0,1)),n=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1));return this._intl.formatYearRange(r,n)}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:oY)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(e,t){return"month"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(t)&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(t):"year"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(t):cY(this._dateAdapter,e,t,this.calendar.minDate,this.calendar.maxDate)}}return e.\u0275fac=function(t){return new(t||e)(Ra(GP),Ra(Me(()=>mY)),Ra(Dk,8),Ra(Lk,8),Ra(Zs))},e.\u0275cmp=mt({type:e,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:HP,decls:9,vars:8,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","cdkAriaLive","polite",1,"mat-calendar-period-button",3,"click"],[1,"mat-calendar-arrow"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"]],template:function(e,t){1&e&&(eo(),Fa(0,"div",0),Fa(1,"div",1),Fa(2,"button",2),qa("click",(function(){return t.currentPeriodClicked()})),xo(3),Na(4,"div",3),Ha(),Na(5,"div",4),to(6),Fa(7,"button",5),qa("click",(function(){return t.previousClicked()})),Ha(),Fa(8,"button",6),qa("click",(function(){return t.nextClicked()})),Ha(),Ha(),Ha()),2&e&&(Li(2),Ea("aria-label",t.periodButtonLabel),Li(1),Do(" ",t.periodButtonText," "),Li(1),fo("mat-calendar-invert","month"!=t.calendar.currentView),Li(3),Ia("disabled",!t.previousEnabled()),Ea("aria-label",t.prevButtonLabel),Li(1),Ia("disabled",!t.nextEnabled()),Ea("aria-label",t.nextButtonLabel))},directives:[HS,Jw],encapsulation:2,changeDetection:0}),e})(),mY=(()=>{class e{constructor(e,t,r,n){this._dateAdapter=t,this._dateFormats=r,this._changeDetectorRef=n,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new Bl,this.yearSelected=new Bl,this.monthSelected=new Bl,this._userSelection=new Bl,this.stateChanges=new M,this._intlChanges=e.changes.subscribe(()=>{n.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get selected(){return this._selected}set selected(e){this._selected=e instanceof tY?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get activeDate(){return this._clampedActiveDate}set activeDate(e){this._clampedActiveDate=this._dateAdapter.clampDate(e,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(e){this._currentView=e,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck()}ngAfterContentInit(){this._calendarHeaderPortal=new Ix(this.headerComponent||fY),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(e){const t=e.minDate||e.maxDate||e.dateFilter;if(t&&!t.firstChange){const e=this._getCurrentViewComponent();e&&(this._changeDetectorRef.detectChanges(),e._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){const e=this.currentView;let t;t="month"===e?this.monthView:"year"===e?this.yearView:this.multiYearView,t._init()}_dateSelected(e){const t=e.value;(this.selected instanceof tY||t&&!this._dateAdapter.sameDate(t,this.selected))&&this.selectedChange.emit(t),this._userSelection.emit(e)}_yearSelectedInMultiYearView(e){this.yearSelected.emit(e)}_monthSelectedInYearView(e){this.monthSelected.emit(e)}_goToDateInView(e,t){this.activeDate=e,this.currentView=t}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return e.\u0275fac=function(t){return new(t||e)(Ra(GP),Ra(Dk,8),Ra(Lk,8),Ra(Zs))},e.\u0275cmp=mt({type:e,selectors:[["mat-calendar"]],viewQuery:function(e,t){var r;1&e&&(ec(aY,!0),ec(hY,!0),ec(lY,!0)),2&e&&(Ql(r=sc())&&(t.monthView=r.first),Ql(r=sc())&&(t.yearView=r.first),Ql(r=sc())&&(t.multiYearView=r.first))},hostAttrs:[1,"mat-calendar"],inputs:{startView:"startView",startAt:"startAt",selected:"selected",minDate:"minDate",maxDate:"maxDate",headerComponent:"headerComponent",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[Fo([iY]),Ot],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(e,t){1&e&&(Pa(0,NP,0,0,"ng-template",0),Fa(1,"div",1),Pa(2,BP,1,8,"mat-month-view",2),Pa(3,zP,1,6,"mat-year-view",3),Pa(4,UP,1,6,"mat-multi-year-view",4),Ha()),2&e&&(Ia("cdkPortalOutlet",t._calendarHeaderPortal),Li(1),Ia("ngSwitch",t.currentView),Li(1),Ia("ngSwitchCase","month"),Li(1),Ia("ngSwitchCase","year"),Li(1),Ia("ngSwitchCase","multi-year"))},directives:[Bx,nk,du,uu,aY,hY,lY],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;margin:5% calc(33% / 7 - 16px)}.mat-calendar-controls .mat-icon-button:hover .mat-button-focus-overlay{opacity:.04}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top-width:5px;border-top-style:solid;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}\n'],encapsulation:2,changeDetection:0}),e})();const pY={transformPanel:ly("transformPanel",[fy("void",hy({opacity:0,transform:"scale(1, 0.8)"})),py("void => enter",cy("120ms cubic-bezier(0, 0, 0.2, 1)",hy({opacity:1,transform:"scale(1, 1)"}))),py("* => void",cy("100ms linear",hy({opacity:0})))]),fadeInCalendar:ly("fadeInCalendar",[fy("void",hy({opacity:0})),fy("enter",hy({opacity:1})),py("void => *",cy("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let _Y=0;const gY=new Fe("mat-datepicker-scroll-strategy"),yY={provide:gY,deps:[rD],useFactory:function(e){return()=>e.scrollStrategies.reposition()}};class bY{constructor(e){this._elementRef=e}}const vY=wk(bY);let wY=(()=>{class e extends vY{constructor(e,t,r,n,i){super(e),this._changeDetectorRef=t,this._model=r,this._dateAdapter=n,this._rangeSelectionStrategy=i,this._subscriptions=new u,this._animationState="enter",this._animationDone=new M}ngAfterViewInit(){this._changeDetectorRef&&this._subscriptions.add(this.datepicker._stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(e){if(this._model&&this._dateAdapter){const t=this._model.selection,r=e.value,n=t instanceof tY;if(n&&this._rangeSelectionStrategy){const n=this._rangeSelectionStrategy.selectionFinished(r,t,e.event);this._model.updateSelection(n,this)}else!r||!n&&this._dateAdapter.sameDate(r,t)||this._model.add(r)}this._model&&!this._model.isComplete()||this.datepicker.close()}_startExitAnimation(){this._animationState="void",this._changeDetectorRef&&this._changeDetectorRef.markForCheck()}_getSelected(){return this._model?this._model.selection:null}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(Zs),Ra(rY),Ra(Dk),Ra(sY,8))},e.\u0275cmp=mt({type:e,selectors:[["mat-datepicker-content"]],viewQuery:function(e,t){var r;1&e&&ec(mY,!0),2&e&&Ql(r=sc())&&(t._calendar=r.first)},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(e,t){1&e&&Ga("@transformPanel.done",(function(){return t._animationDone.next()})),2&e&&(Eo("@transformPanel",t._animationState),fo("mat-datepicker-content-touch",t.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[ga],decls:1,vars:13,consts:[["cdkTrapFocus","",3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","yearSelected","monthSelected","_userSelection"]],template:function(e,t){1&e&&(Fa(0,"mat-calendar",0),qa("yearSelected",(function(e){return t.datepicker._selectYear(e)}))("monthSelected",(function(e){return t.datepicker._selectMonth(e)}))("_userSelection",(function(e){return t._handleUserSelection(e)})),Ha()),2&e&&Ia("id",t.datepicker.id)("ngClass",t.datepicker.panelClass)("startAt",t.datepicker.startAt)("startView",t.datepicker.startView)("minDate",t.datepicker._getMinDate())("maxDate",t.datepicker._getMaxDate())("dateFilter",t.datepicker._getDateFilter())("headerComponent",t.datepicker.calendarHeaderComponent)("selected",t._getSelected())("dateClass",t.datepicker.dateClass)("comparisonStart",t.comparisonStart)("comparisonEnd",t.comparisonEnd)("@fadeInCalendar","enter")},directives:[mY,qw,ru],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content-touch{display:block;max-height:80vh;overflow:auto;margin:-24px}.mat-datepicker-content-touch .mat-calendar{min-width:250px;min-height:312px;max-width:750px;max-height:788px}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-calendar{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-calendar{width:80vw;height:100vw}}\n"],encapsulation:2,data:{animation:[pY.transformPanel,pY.fadeInCalendar]},changeDetection:0}),e})(),kY=(()=>{class e{constructor(e,t,r,n,i,s,a,o,l){this._dialog=e,this._overlay=t,this._ngZone=r,this._viewContainerRef=n,this._dateAdapter=s,this._dir=a,this._document=o,this._model=l,this._inputStateChanges=u.EMPTY,this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this.yearSelected=new Bl,this.monthSelected=new Bl,this.openedStream=new Bl,this.closedStream=new Bl,this._opened=!1,this.id="mat-datepicker-"+_Y++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=this.id+"-backdrop",this._stateChanges=new M,this._scrollStrategy=i}get startAt(){return this._startAt||(this._datepickerInput?this._datepickerInput.getStartValue():null)}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get color(){return this._color||(this._datepickerInput?this._datepickerInput.getThemePalette():void 0)}set color(e){this._color=e}get touchUi(){return this._touchUi}set touchUi(e){this._touchUi=kw(e)}get disabled(){return void 0===this._disabled&&this._datepickerInput?this._datepickerInput.disabled:!!this._disabled}set disabled(e){const t=kw(e);t!==this._disabled&&(this._disabled=t,this._stateChanges.next(void 0))}get opened(){return this._opened}set opened(e){kw(e)?this.open():this.close()}_getMinDate(){return this._datepickerInput&&this._datepickerInput.min}_getMaxDate(){return this._datepickerInput&&this._datepickerInput.max}_getDateFilter(){return this._datepickerInput&&this._datepickerInput.dateFilter}ngOnChanges(e){const t=e.xPosition||e.yPosition;t&&!t.firstChange&&this._popupRef&&(this._setConnectedPositions(this._popupRef.getConfig().positionStrategy),this.opened&&this._popupRef.updatePosition()),this._stateChanges.next(void 0)}ngOnDestroy(){this._destroyPopup(),this.close(),this._inputStateChanges.unsubscribe(),this._stateChanges.complete()}select(e){this._model.add(e)}_selectYear(e){this.yearSelected.emit(e)}_selectMonth(e){this.monthSelected.emit(e)}_registerInput(e){return this._inputStateChanges.unsubscribe(),this._datepickerInput=e,this._inputStateChanges=e.stateChanges.subscribe(()=>this._stateChanges.next(void 0)),this._model}open(){this._opened||this.disabled||(this._document&&(this._focusedElementBeforeOpen=this._document.activeElement),this.touchUi?this._openAsDialog():this._openAsPopup(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened)return;if(this._popupComponentRef&&this._popupRef){const e=this._popupComponentRef.instance;e._startExitAnimation(),e._animationDone.pipe(Ih(1)).subscribe(()=>this._destroyPopup())}this._dialogRef&&(this._dialogRef.close(),this._dialogRef=null);const e=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(e)):e()}_openAsDialog(){this._dialogRef&&this._dialogRef.close(),this._dialogRef=this._dialog.open(wY,{direction:this._dir?this._dir.value:"ltr",viewContainerRef:this._viewContainerRef,panelClass:"mat-datepicker-dialog",hasBackdrop:!0,disableClose:!1,backdropClass:["cdk-overlay-dark-backdrop",this._backdropHarnessClass],width:"",height:"",minWidth:"",minHeight:"",maxWidth:"80vw",maxHeight:"",position:{},autoFocus:!0,restoreFocus:!1}),this._dialogRef.afterClosed().subscribe(()=>this.close()),this._forwardContentValues(this._dialogRef.componentInstance)}_openAsPopup(){const e=new Ix(wY,this._viewContainerRef);this._destroyPopup(),this._createPopup(),this._popupComponentRef=this._popupRef.attach(e),this._forwardContentValues(this._popupComponentRef.instance),this._ngZone.onStable.pipe(Ih(1)).subscribe(()=>{this._popupRef.updatePosition()})}_forwardContentValues(e){e.datepicker=this,e.color=this.color}_createPopup(){const e=this._overlay.position().flexibleConnectedTo(this._datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition(),t=new jC({positionStrategy:this._setConnectedPositions(e),hasBackdrop:!0,backdropClass:["mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:this._scrollStrategy(),panelClass:"mat-datepicker-popup"});this._popupRef=this._overlay.create(t),this._popupRef.overlayElement.setAttribute("role","dialog"),K(this._popupRef.backdropClick(),this._popupRef.detachments(),this._popupRef.keydownEvents().pipe(bh(e=>e.keyCode===aw||this._datepickerInput&&e.altKey&&e.keyCode===cw))).subscribe(e=>{e&&e.preventDefault(),this.close()})}_destroyPopup(){this._popupRef&&(this._popupRef.dispose(),this._popupRef=this._popupComponentRef=null)}_setConnectedPositions(e){const t="end"===this.xPosition?"end":"start",r="start"===t?"end":"start",n="above"===this.yPosition?"bottom":"top",i="top"===n?"bottom":"top";return e.withPositions([{originX:t,originY:i,overlayX:t,overlayY:n},{originX:t,originY:n,overlayX:t,overlayY:i},{originX:r,originY:i,overlayX:r,overlayY:n},{originX:r,originY:n,overlayX:r,overlayY:i}])}}return e.\u0275fac=function(t){return new(t||e)(Ra(MD),Ra(rD),Ra(Ec),Ra(ml),Ra(gY),Ra(Dk,8),Ra(dk,8),Ra(ld,8),Ra(rY))},e.\u0275dir=vt({type:e,inputs:{startView:"startView",xPosition:"xPosition",yPosition:"yPosition",startAt:"startAt",color:"color",touchUi:"touchUi",disabled:"disabled",opened:"opened",calendarHeaderComponent:"calendarHeaderComponent",panelClass:"panelClass",dateClass:"dateClass"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",openedStream:"opened",closedStream:"closed"},features:[Ot]}),e})(),MY=(()=>{class e extends kY{}return e.\u0275fac=function(t){return SY(t||e)},e.\u0275cmp=mt({type:e,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[Fo([iY]),ga],decls:0,vars:0,template:function(e,t){},encapsulation:2,changeDetection:0}),e})();const SY=vn(MY);class xY{constructor(e,t){this.target=e,this.targetElement=t,this.value=this.target.value}}let CY=(()=>{class e{constructor(e,t,r){this._elementRef=e,this._dateAdapter=t,this._dateFormats=r,this.dateChange=new Bl,this.dateInput=new Bl,this._valueChange=new Bl,this.stateChanges=new M,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=u.EMPTY,this._localeSubscription=u.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=e=>{const t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value)),r=this._getDateFilter();return r&&t&&!r(t)?{matDatepickerFilter:!0}:null},this._minValidator=e=>{const t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value)),r=this._getMinDate();return!r||!t||this._dateAdapter.compareDate(r,t)<=0?null:{matDatepickerMin:{min:r,actual:t}}},this._maxValidator=e=>{const t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value)),r=this._getMaxDate();return!r||!t||this._dateAdapter.compareDate(r,t)>=0?null:{matDatepickerMax:{max:r,actual:t}}},this._lastValueValid=!1,this._localeSubscription=t.localeChanges.subscribe(()=>{this.value=this.value})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(e){e=this._dateAdapter.deserialize(e),this._lastValueValid=this._isValidValue(e),e=this._dateAdapter.getValidDateOrNull(e);const t=this.value;this._assignValue(e),this._formatValue(e),this._dateAdapter.sameDate(t,e)||this._valueChange.emit(e)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(e){const t=kw(e),r=this._elementRef.nativeElement;this._disabled!==t&&(this._disabled=t,this.stateChanges.next(void 0)),t&&this._isInitialized&&r.blur&&r.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(e){this._model=e,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(e=>{if(e.source!==this){const t=this._getValueFromModel(e.selection);this._lastValueValid=this._isValidValue(t),this._cvaOnChange(t),this._onTouched(),this._formatValue(t),this._canEmitChangeEvent(e)&&(this.dateInput.emit(new xY(this,this._elementRef.nativeElement)),this.dateChange.emit(new xY(this,this._elementRef.nativeElement))),this._outsideValueChanged&&this._outsideValueChanged()}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(e){(function(e,t){const r=Object.keys(e);for(let n of r){const{previousValue:r,currentValue:i}=e[n];if(!t.isDateInstance(r)||!t.isDateInstance(i))return!0;if(!t.sameDate(r,i))return!0}return!1})(e,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this._valueChange.complete(),this.stateChanges.complete()}registerOnValidatorChange(e){this._validatorOnChange=e}validate(e){return this._validator?this._validator(e):null}writeValue(e){this.value=e}registerOnChange(e){this._cvaOnChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_onKeydown(e){e.altKey&&e.keyCode===uw&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),e.preventDefault())}_onInput(e){const t=this._lastValueValid;let r=this._dateAdapter.parse(e,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(r),r=this._dateAdapter.getValidDateOrNull(r),this._dateAdapter.sameDate(r,this.value)?(e&&!this.value&&this._cvaOnChange(r),t!==this._lastValueValid&&this._validatorOnChange()):(this._assignValue(r),this._cvaOnChange(r),this._valueChange.emit(r),this.dateInput.emit(new xY(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new xY(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(e){this._elementRef.nativeElement.value=e?this._dateAdapter.format(e,this._dateFormats.display.dateInput):""}_assignValue(e){this._model?(this._assignValueToModel(e),this._pendingValue=null):this._pendingValue=e}_isValidValue(e){return!e||this._dateAdapter.isValid(e)}_parentDisabled(){return!1}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(Dk,8),Ra(Lk,8))},e.\u0275dir=vt({type:e,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[Ot]}),e})();const DY={provide:R_,useExisting:Me(()=>AY),multi:!0},LY={provide:$_,useExisting:Me(()=>AY),multi:!0};let AY=(()=>{class e extends CY{constructor(e,t,r,n){super(e,t,r),this._formField=n,this._validator=Q_.compose(super._getValidators())}set matDatepicker(e){e&&(this._datepicker=e,this._registerModel(e._registerInput(this)))}get min(){return this._min}set min(e){const t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(t,this._min)||(this._min=t,this._validatorOnChange())}get max(){return this._max}set max(e){const t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(t,this._max)||(this._max=t,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(e){this._dateFilter=e,this._validatorOnChange()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}getPopupConnectionElementRef(){return this.getConnectedOverlayOrigin()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(e){return e}_assignValueToModel(e){this._model&&this._model.updateSelection(e,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_canEmitChangeEvent(){return!0}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(Dk,8),Ra(Lk,8),Ra(eS,8))},e.\u0275dir=vt({type:e,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(e,t){1&e&&qa("input",(function(e){return t._onInput(e.target.value)}))("change",(function(){return t._onChange()}))("blur",(function(){return t._onBlur()}))("keydown",(function(e){return t._onKeydown(e)})),2&e&&(Ao("disabled",t.disabled),Ea("aria-haspopup",t._datepicker?"dialog":null)("aria-owns",(null==t._datepicker?null:t._datepicker.opened)&&t._datepicker.id||null)("min",t.min?t._dateAdapter.toIso8601(t.min):null)("max",t.max?t._dateAdapter.toIso8601(t.max):null)("data-mat-calendar",t._datepicker?t._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[Fo([DY,LY,{provide:hS,useExisting:e}]),ga]}),e})(),EY=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=vt({type:e,selectors:[["","matDatepickerToggleIcon",""]]}),e})(),TY=(()=>{class e{constructor(e,t,r){this._intl=e,this._changeDetectorRef=t,this._stateChanges=u.EMPTY;const n=Number(r);this.tabIndex=n||0===n?n:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(e){this._disabled=kw(e)}ngOnChanges(e){e.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(e){this.datepicker&&!this.disabled&&(this.datepicker.open(),e.stopPropagation())}_watchStateChanges(){const e=this.datepicker?this.datepicker._stateChanges:sh(),t=this.datepicker&&this.datepicker._datepickerInput?this.datepicker._datepickerInput.stateChanges:sh(),r=this.datepicker?K(this.datepicker.openedStream,this.datepicker.closedStream):sh();this._stateChanges.unsubscribe(),this._stateChanges=K(this._intl.changes,e,t,r).subscribe(()=>this._changeDetectorRef.markForCheck())}}return e.\u0275fac=function(t){return new(t||e)(Ra(GP),Ra(Zs),Oa("tabindex"))},e.\u0275cmp=mt({type:e,selectors:[["mat-datepicker-toggle"]],contentQueries:function(e,t,r){var n;1&e&&rc(r,EY,!0),2&e&&Ql(n=sc())&&(t._customIcon=n.first)},viewQuery:function(e,t){var r;1&e&&ec(VP,!0),2&e&&Ql(r=sc())&&(t._button=r.first)},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(e,t){1&e&&qa("focus",(function(){return t._button.focus()})),2&e&&(Ea("tabindex",t.disabled?null:-1)("data-mat-calendar",t.datepicker?t.datepicker.id:null),fo("mat-datepicker-toggle-active",t.datepicker&&t.datepicker.opened)("mat-accent",t.datepicker&&"accent"===t.datepicker.color)("mat-warn",t.datepicker&&"warn"===t.datepicker.color))},inputs:{tabIndex:"tabIndex",disabled:"disabled",datepicker:["for","datepicker"],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[Ot],ngContentSelectors:qP,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple","click"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(e,t){1&e&&(eo(WP),Fa(0,"button",0,1),qa("click",(function(e){return t._open(e)})),Pa(2,KP,2,0,"svg",2),to(3),Ha()),2&e&&(Ia("disabled",t.disabled)("disableRipple",t.disableRipple),Ea("aria-haspopup",t.datepicker?"dialog":null)("aria-label",t._intl.openCalendarLabel)("tabindex",t.disabled?-1:t.tabIndex),Li(2),Ia("ngIf",!t._customIcon))},directives:[HS,au],styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),e})(),PY=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[GP,yY],imports:[[Mu,BS,ED,lD,lk,zx],lC]}),e})();function YY(e,t){1&e&&(Fa(0,"th",12),xo(1),Il(2,"i18n"),Ha()),2&e&&(Li(1),Do(" ",jl(2,1,"profileField.name")," "))}function RY(e,t){if(1&e&&(Fa(0,"td",13),xo(1),Il(2,"i18n"),Ha()),2&e){const e=t.$implicit;Li(1),Do(" ",jl(2,1,"profileField.name."+e.name)," ")}}function OY(e,t){1&e&&(Fa(0,"th",14),xo(1),Il(2,"i18n"),Ha()),2&e&&(Li(1),Do(" ",jl(2,1,"profileField.value")," "))}function IY(e,t){if(1&e&&(Fa(0,"span"),xo(1),Ha()),2&e){const e=Qa().$implicit;Li(1),Co(e.value)}}function jY(e,t){if(1&e&&(Fa(0,"span"),xo(1),Il(2,"date"),Ha()),2&e){const e=Qa().$implicit,t=Qa();Li(1),Co(Fl(2,1,e.value,t.datetimeformat))}}function FY(e,t){if(1&e&&(Fa(0,"a",19),xo(1),Ha()),2&e){const e=Qa().$implicit;ro("href",e.value,li),Li(1),Co(e.value)}}function HY(e,t){if(1&e&&(Fa(0,"a",19),xo(1),Ha()),2&e){const e=Qa().$implicit;no("href","mailto:",e.value,"",li),Li(1),Co(e.value)}}function NY(e,t){if(1&e&&(Fa(0,"span"),xo(1),Ha()),2&e){const e=Qa().$implicit;Li(1),Co(e.value)}}function BY(e,t){if(1&e){const e=Va();Fa(0,"button",20),qa("click",(function(){or(e);const t=Qa().$implicit;return Qa().openBlob(t)})),xo(1),Il(2,"i18n"),Ha()}2&e&&(Li(1),Co(jl(2,1,"profileField.openBlob")))}function zY(e,t){if(1&e&&(Fa(0,"td",13),Fa(1,"div",15),Pa(2,IY,2,1,"span",16),Pa(3,jY,3,4,"span",16),Pa(4,FY,2,2,"a",17),Pa(5,HY,2,2,"a",17),Pa(6,NY,2,1,"span",16),Pa(7,BY,3,3,"button",18),Ha(),Ha()),2&e){const e=t.$implicit;Li(1),Ia("ngSwitch",e.type),Li(1),Ia("ngSwitchCase","TEXT"),Li(1),Ia("ngSwitchCase","DATE"),Li(1),Ia("ngSwitchCase","URL"),Li(1),Ia("ngSwitchCase","EMAIL"),Li(1),Ia("ngSwitchCase","NUMBER"),Li(1),Ia("ngSwitchCase","BLOB")}}function UY(e,t){1&e&&(Fa(0,"th",23),xo(1),Il(2,"i18n"),Ha()),2&e&&(Li(1),Do(" ",jl(2,1,"profileField.visibility")," "))}function VY(e,t){if(1&e&&(Fa(0,"td",13),xo(1),Il(2,"i18n"),Ha()),2&e){const e=t.$implicit;Li(1),Do(" ",jl(2,1,"profileField.visibility."+e.visibility)," ")}}function KY(e,t){1&e&&(Ba(0,21),Pa(1,UY,3,3,"th",22),Pa(2,VY,3,3,"td",3),za())}function WY(e,t){1&e&&(Fa(0,"th",26),xo(1),Il(2,"i18n"),Ha()),2&e&&(Li(1),Do(" ",jl(2,1,"profileField.edit")," "))}function qY(e,t){if(1&e){const e=Va();Fa(0,"td",13),Fa(1,"a",27),Fa(2,"mat-icon",28),qa("click",(function(){or(e);const r=t.$implicit;return Qa(2).openEdit(r)})),xo(3,"edit"),Ha(),Ha(),Ha()}}function GY(e,t){1&e&&(Ba(0,24),Pa(1,WY,3,3,"th",25),Pa(2,qY,4,0,"td",3),za())}function $Y(e,t){1&e&&(Fa(0,"th",26),xo(1),Il(2,"i18n"),Ha()),2&e&&(Li(1),Do(" ",jl(2,1,"profileField.delete")," "))}function ZY(e,t){if(1&e){const e=Va();Fa(0,"td",13),Fa(1,"a",27),Fa(2,"mat-icon",28),qa("click",(function(){or(e);const r=t.$implicit;return Qa(2).confirmDelete(r)})),xo(3,"delete"),Ha(),Ha(),Ha()}}function JY(e,t){1&e&&(Ba(0,29),Pa(1,$Y,3,3,"th",25),Pa(2,ZY,4,0,"td",3),za())}function QY(e,t){1&e&&Na(0,"tr",30)}function XY(e,t){1&e&&Na(0,"tr",31)}function eR(e,t){if(1&e){const e=Va();Fa(0,"div",32),Fa(1,"button",33),qa("click",(function(){return or(e),Qa().openCreate()})),xo(2),Il(3,"i18n"),Ha(),Ha()}2&e&&(Li(2),Co(jl(3,1,"profileField.create")))}function tR(e,t){if(1&e&&(Fa(0,"mat-option",11),xo(1),Il(2,"i18n"),Ha()),2&e){const e=t.$implicit;Ia("value",e),Li(1),Do(" ",jl(2,2,"profileField.type."+e)," ")}}function rR(e,t){if(1&e){const e=Va();Fa(0,"mat-form-field"),Fa(1,"input",12),qa("ngModelChange",(function(t){return or(e),Qa().profileField.value=t})),Il(2,"i18n"),Ha(),Ha()}if(2&e){const e=Qa();Li(1),ro("placeholder",jl(2,2,"profileField.value")),Ia("ngModel",e.profileField.value)}}function nR(e,t){if(1&e){const e=Va();Fa(0,"mat-form-field"),Fa(1,"input",13),qa("ngModelChange",(function(t){return or(e),Qa().profileField.value=t})),Il(2,"i18n"),Ha(),Na(3,"mat-datepicker-toggle",14),Na(4,"mat-datepicker",null,15),Ha()}if(2&e){const e=Ya(5),t=Qa();Li(1),ro("placeholder",jl(2,4,"profileField.value")),Ia("matDatepicker",e)("ngModel",t.profileField.value),Li(2),Ia("for",e)}}function iR(e,t){if(1&e){const e=Va();Fa(0,"mat-form-field"),Fa(1,"input",16),qa("ngModelChange",(function(t){return or(e),Qa().profileField.value=t})),Il(2,"i18n"),Ha(),Ha()}if(2&e){const e=Qa();Li(1),ro("placeholder",jl(2,2,"profileField.value")),Ia("ngModel",e.profileField.value)}}function sR(e,t){if(1&e){const e=Va();Fa(0,"mat-form-field"),Fa(1,"input",17),qa("ngModelChange",(function(t){return or(e),Qa().profileField.value=t})),Il(2,"i18n"),Ha(),Ha()}if(2&e){const e=Qa();Li(1),ro("placeholder",jl(2,2,"profileField.value")),Ia("ngModel",e.profileField.value)}}function aR(e,t){if(1&e){const e=Va();Fa(0,"mat-form-field"),Fa(1,"input",18),qa("ngModelChange",(function(t){return or(e),Qa().profileField.value=t})),Il(2,"i18n"),Ha(),Ha()}if(2&e){const e=Qa();Li(1),ro("placeholder",jl(2,2,"profileField.value")),Ia("ngModel",e.profileField.value)}}function oR(e,t){if(1&e){const e=Va();Fa(0,"mat-form-field"),Fa(1,"textarea",19),qa("ngModelChange",(function(t){return or(e),Qa().profileField.blob=t})),Il(2,"i18n"),Ha(),Ha()}if(2&e){const e=Qa();Li(1),ro("placeholder",jl(2,2,"profileField.value")),Ia("ngModel",e.profileField.blob)}}function lR(e,t){if(1&e&&(Fa(0,"mat-option",11),xo(1),Il(2,"i18n"),Ha()),2&e){const e=t.$implicit;Ia("value",e),Li(1),Do(" ",jl(2,2,"profileField.visibility."+e)," ")}}let cR=(()=>{class e{constructor(e,t,r){this.i18n=e,this.profileService=t,this.dialog=r,this.profileFieldColumns=["name","value"]}ngOnInit(){this.edit&&(this.profileFieldColumns.push("visibility"),this.profileFieldColumns.push("edit"),this.profileFieldColumns.push("delete"))}sortData(e){const t=this.profileFields.slice();this.profileFields=e.active&&""!==e.direction?t.sort((t,r)=>{const n="asc"===e.direction;switch(e.active){case"name":return this.compare(this.i18n.get("profileField.name."+t.name,[]),this.i18n.get("profileField.name."+r.name,[]),n);case"value":return this.compare(t.value,r.value,n);case"index":return this.compare(t.index,r.index,n);default:return 0}}):t}compare(e,t,r){return(e{r?this.profileService.createOrUpdate(r).subscribe():(e.name=t.name,e.value=t.value,e.type=t.type,e.visibility=t.visibility,e.index=t.index)})}confirmDelete(e){this.profileService.delete(e.name).subscribe(t=>{this.profileFields.splice(this.profileFields.indexOf(e),1),this.profileFields=[...this.profileFields]})}openCreate(){this.dialog.open(dR,{data:{type:"TEXT",visibility:"PRIVATE"},minWidth:"400px"}).afterClosed().subscribe(e=>{e&&this.profileService.createOrUpdate(e).subscribe(e=>{this.profileFields.push(e),this.profileFields=[...this.profileFields]})})}openBlob(e){this.dialog.open(uR,{data:e,minWidth:"400px"})}}return e.\u0275fac=function(t){return new(t||e)(Ra(D_),Ra(uP),Ra(MD))},e.\u0275cmp=mt({type:e,selectors:[["app-profilefields"]],inputs:{profileFields:"profileFields",edit:"edit"},decls:14,vars:7,consts:[["mat-table","","matSort","","matSortActive","index","matSortDirection","asc",3,"dataSource","matSortChange"],["matColumnDef","name"],["mat-header-cell","","mat-sort-header","name",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","value"],["mat-header-cell","","mat-sort-header","value",4,"matHeaderCellDef"],["matColumnDef","visibility",4,"ngIf"],["matColumnDef","edit",4,"ngIf"],["matColumnDef","delete",4,"ngIf"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["class","text-center",4,"ngIf"],["mat-header-cell","","mat-sort-header","name"],["mat-cell",""],["mat-header-cell","","mat-sort-header","value"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"href",4,"ngSwitchCase"],["mat-raised-button","",3,"click",4,"ngSwitchCase"],[3,"href"],["mat-raised-button","",3,"click"],["matColumnDef","visibility"],["mat-header-cell","","mat-sort-header","visibility",4,"matHeaderCellDef"],["mat-header-cell","","mat-sort-header","visibility"],["matColumnDef","edit"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-header-cell",""],["mat-icon-button",""],[3,"click"],["matColumnDef","delete"],["mat-header-row",""],["mat-row",""],[1,"text-center"],["mat-raised-button","","color","primary",3,"click"]],template:function(e,t){1&e&&(Fa(0,"table",0),qa("matSortChange",(function(e){return t.sortData(e)})),Ba(1,1),Pa(2,YY,3,3,"th",2),Pa(3,RY,3,3,"td",3),za(),Ba(4,4),Pa(5,OY,3,3,"th",5),Pa(6,zY,8,7,"td",3),za(),Pa(7,KY,3,0,"ng-container",6),Pa(8,GY,3,0,"ng-container",7),Pa(9,JY,3,0,"ng-container",8),Pa(10,QY,1,0,"tr",9),Pa(11,XY,1,0,"tr",10),Ha(),Na(12,"br"),Pa(13,eR,4,3,"div",11)),2&e&&(Ia("dataSource",t.profileFields),Li(7),Ia("ngIf",t.edit),Li(1),Ia("ngIf",t.edit),Li(1),Ia("ngIf",t.edit),Li(1),Ia("matHeaderRowDef",t.profileFieldColumns),Li(1),Ia("matRowDefColumns",t.profileFieldColumns),Li(2),Ia("ngIf",t.edit))},directives:[zL,pA,GL,WL,VL,au,eA,rA,ZL,MA,QL,du,uu,HS,NS,cx,iA,aA],pipes:[zS,vu],styles:["table[_ngcontent-%COMP%]{width:100%}"]}),e})(),dR=(()=>{class e{constructor(e,t,r){this.formBuilder=e,this.dialogRef=t,this.data=r,this.types=["TEXT","NUMBER","DATE","URL","EMAIL","BOOL","BLOB"],this.visibilities=["PRIVATE","PROTECTED","PUBLIC"],this.profileField=r}ngOnInit(){this.form=this.formBuilder.group({name:["",Q_.required],type:["",Q_.required],value:[""],blob:[""],visibility:["",Q_.required],index:[""]})}}return e.\u0275fac=function(t){return new(t||e)(Ra(ny),Ra(_D),Ra(yD))},e.\u0275cmp=mt({type:e,selectors:[["app-profilefield-dialog"]],decls:31,vars:35,consts:[["mat-dialog-title",""],[3,"formGroup"],["matInput","","type","text","min","3","formControlName","name",3,"ngModel","placeholder","ngModelChange"],["formControlName","type",3,"ngModel","placeholder","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"ngSwitch"],[4,"ngSwitchCase"],["formControlName","visibility",3,"ngModel","placeholder","ngModelChange"],["matInput","","type","number","min","0","formControlName","index",3,"ngModel","placeholder","ngModelChange"],["mat-button","",3,"mat-dialog-close"],["mat-raised-button","","color","accent",3,"disabled","mat-dialog-close"],[3,"value"],["matInput","","type","text","max","255","formControlName","value",3,"ngModel","placeholder","ngModelChange"],["matInput","","formControlName","value",3,"matDatepicker","ngModel","placeholder","ngModelChange"],["matSuffix","",3,"for"],["picker",""],["matInput","","type","url","formControlName","value",3,"ngModel","placeholder","ngModelChange"],["matInput","","type","email","formControlName","value",3,"ngModel","placeholder","ngModelChange"],["matInput","","type","number","formControlName","value",3,"ngModel","placeholder","ngModelChange"],["matInput","","formControlName","blob",3,"ngModel","placeholder","ngModelChange"]],template:function(e,t){1&e&&(Na(0,"h1",0),Fa(1,"mat-dialog-content"),Fa(2,"form",1),Fa(3,"mat-form-field"),Fa(4,"input",2),qa("ngModelChange",(function(e){return t.profileField.name=e})),Il(5,"i18n"),Ha(),Ha(),Fa(6,"mat-form-field"),Fa(7,"mat-select",3),qa("ngModelChange",(function(e){return t.profileField.type=e})),Il(8,"i18n"),Pa(9,tR,3,4,"mat-option",4),Ha(),Ha(),Fa(10,"div",5),Pa(11,rR,3,4,"mat-form-field",6),Pa(12,nR,6,6,"mat-form-field",6),Pa(13,iR,3,4,"mat-form-field",6),Pa(14,sR,3,4,"mat-form-field",6),Pa(15,aR,3,4,"mat-form-field",6),Pa(16,oR,3,4,"mat-form-field",6),Ha(),Fa(17,"mat-form-field"),Fa(18,"mat-select",7),qa("ngModelChange",(function(e){return t.profileField.visibility=e})),Il(19,"i18n"),Pa(20,lR,3,4,"mat-option",4),Ha(),Ha(),Fa(21,"mat-form-field"),Fa(22,"input",8),qa("ngModelChange",(function(e){return t.profileField.index=e})),Il(23,"i18n"),Ha(),Ha(),Ha(),Ha(),Fa(24,"mat-dialog-actions"),Fa(25,"button",9),xo(26),Il(27,"i18n"),Ha(),Fa(28,"button",10),xo(29),Il(30,"i18n"),Ha(),Ha()),2&e&&(Li(2),Ia("formGroup",t.form),Li(2),ro("placeholder",jl(5,23,"profileField.name")),Ia("ngModel",t.profileField.name),Li(3),ro("placeholder",jl(8,25,"profileField.type")),Ia("ngModel",t.profileField.type),Li(2),Ia("ngForOf",t.types),Li(1),Ia("ngSwitch",t.profileField.type),Li(1),Ia("ngSwitchCase","TEXT"),Li(1),Ia("ngSwitchCase","DATE"),Li(1),Ia("ngSwitchCase","URL"),Li(1),Ia("ngSwitchCase","EMAIL"),Li(1),Ia("ngSwitchCase","NUMBER"),Li(1),Ia("ngSwitchCase","BLOB"),Li(2),ro("placeholder",jl(19,27,"profileField.visibility")),Ia("ngModel",t.profileField.visibility),Li(2),Ia("ngForOf",t.visibilities),Li(2),ro("placeholder",jl(23,29,"profileField.index")),Ia("ngModel",t.profileField.index),Li(3),Ia("mat-dialog-close",!1),Li(1),Co(jl(27,31,"cancel")),Li(2),Ia("disabled",t.form.invalid)("mat-dialog-close",t.profileField),Li(1),Co(jl(30,33,"save")))},directives:[CD,DD,Wg,W_,Jg,tS,gS,H_,K_,Xg,TP,iu,du,uu,sg,LD,HS,xD,tM,AY,TY,$M,MY],pipes:[zS],styles:["mat-form-field[_ngcontent-%COMP%]{display:block}"]}),e})(),uR=(()=>{class e{constructor(e,t){this.dialogRef=e,this.data=t,this.profileField=t}}return e.\u0275fac=function(t){return new(t||e)(Ra(_D),Ra(yD))},e.\u0275cmp=mt({type:e,selectors:[["app-profilefield-blob"]],decls:8,vars:4,consts:[["mat-dialog-title",""],["mat-button","","mat-dialog-close",""]],template:function(e,t){1&e&&(Na(0,"h1",0),Fa(1,"mat-dialog-content"),Fa(2,"pre"),xo(3),Ha(),Ha(),Fa(4,"mat-dialog-actions"),Fa(5,"button",1),xo(6),Il(7,"i18n"),Ha(),Ha()),2&e&&(Li(3),Do(" ",t.profileField.blob,"\n "),Li(3),Co(jl(7,2,"close")))},directives:[CD,DD,LD,HS,xD],pipes:[zS],styles:["mat-form-field[_ngcontent-%COMP%]{display:block}"]}),e})(),hR=(()=>{class e{constructor(e,t,r){this.permissionService=e,this.quotaService=t,this.profileService=r,this.permissions=[],this.quotas=[],this.profileFields=[]}ngOnInit(){this.permissionService.permissions().subscribe(e=>{this.permissions=e}),this.quotaService.quotas().subscribe(e=>{this.quotas=e}),this.profileService.getAll().subscribe(e=>{this.profileFields=e})}}return e.\u0275fac=function(t){return new(t||e)(Ra(xE),Ra(CE),Ra(uP))},e.\u0275cmp=mt({type:e,selectors:[["app-account-info"]],decls:12,vars:12,consts:[[3,"permissions"],[3,"quotas"],[3,"profileFields"]],template:function(e,t){1&e&&(Fa(0,"h3"),xo(1),Il(2,"i18n"),Ha(),Na(3,"app-permissions",0),Fa(4,"h3"),xo(5),Il(6,"i18n"),Ha(),Na(7,"app-quotas",1),Fa(8,"h3"),xo(9),Il(10,"i18n"),Ha(),Na(11,"app-profilefields",2)),2&e&&(Li(1),Co(jl(2,6,"permissions")),Li(2),Ia("permissions",t.permissions),Li(2),Co(jl(6,8,"quotas")),Li(2),Ia("quotas",t.quotas),Li(2),Co(jl(10,10,"profile")),Li(2),Ia("profileFields",t.profileFields))},directives:[RA,KA,cR],pipes:[zS],styles:["mat-form-field[_ngcontent-%COMP%]{display:block}"]}),e})(),fR=(()=>{class e{constructor(e,t){this.profileService=e,this.i18n=t,this.profileFields=[],this.types=["TEXT","NUMBER","DATE","URL","EMAIL","BOOL"],this.visibilities=["PRIVATE","PROTECTED","PUBLIC"]}ngOnInit(){this.profileService.getAll().subscribe(e=>{this.profileFields=e})}}return e.\u0275fac=function(t){return new(t||e)(Ra(uP),Ra(D_))},e.\u0275cmp=mt({type:e,selectors:[["app-account-profile"]],decls:1,vars:2,consts:[[3,"profileFields","edit"]],template:function(e,t){1&e&&Na(0,"app-profilefields",0),2&e&&Ia("profileFields",t.profileFields)("edit",!0)},directives:[cR],styles:["table[_ngcontent-%COMP%]{width:100%}td.mat-cell[_ngcontent-%COMP%]{padding:12px}"]}),e})(),mR=(()=>{class e{constructor(e){this.http=e}registration(){return this.http.post(sd+"/vouchers/registration",{})}addon(){return this.http.post(sd+"/vouchers/addon",{})}}return e.\u0275fac=function(t){return new(t||e)($e(s_))},e.\u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function pR(e,t){1&e&&(Fa(0,"th",10),xo(1),Il(2,"i18n"),Ha()),2&e&&(Li(1),Do(" ",jl(2,1,"voucher.type")," "))}function _R(e,t){if(1&e&&(Fa(0,"td",11),xo(1),Ha()),2&e){const e=t.$implicit;Li(1),Co(e.type)}}function gR(e,t){1&e&&(Fa(0,"th",10),xo(1),Il(2,"i18n"),Ha()),2&e&&(Li(1),Do(" ",jl(2,1,"voucher.code")," "))}function yR(e,t){if(1&e&&(Fa(0,"td",11),xo(1),Ha()),2&e){const e=t.$implicit;Li(1),Co(e.code)}}function bR(e,t){1&e&&Na(0,"tr",12)}function vR(e,t){1&e&&Na(0,"tr",13)}function wR(e,t){if(1&e&&(Fa(0,"div"),Fa(1,"h3"),xo(2),Il(3,"i18n"),Ha(),Fa(4,"p"),xo(5),Il(6,"i18n"),Ha(),Fa(7,"table",3),Ba(8,4),Pa(9,pR,3,3,"th",5),Pa(10,_R,2,1,"td",6),za(),Ba(11,7),Pa(12,gR,3,3,"th",5),Pa(13,yR,2,1,"td",6),za(),Pa(14,bR,1,0,"tr",8),Pa(15,vR,1,0,"tr",9),Ha(),Ha()),2&e){const e=Qa();Li(2),Co(jl(3,5,"vouchers.temp")),Li(3),Co(jl(6,7,"vouchers.temp.info")),Li(2),Ia("dataSource",e.voucherSource),Li(7),Ia("matHeaderRowDef",e.voucherColumns),Li(1),Ia("matRowDefColumns",e.voucherColumns)}}let kR=(()=>{class e{constructor(e,t,r){this.voucherService=e,this.quotaService=t,this.dialog=r,this.hasRegistration=!1,this.model={},this.vouchers=[],this.voucherSource=new cA,this.voucherColumns=["type","code"]}ngOnInit(){this.voucherSource.data=this.vouchers,this.quotaService.quotas().subscribe(e=>{this.hasRegistration=e&&e.some((function(e){return"registration_vouchers"==e.name&&e.value>0}))})}registration(){this.voucherService.registration().toPromise().then(e=>{this.model.type="registration",this.model.code=e,this.vouchers.push(this.model),this.voucherSource.data=this.vouchers,this.dialog.open(MR,{closeOnNavigation:!1,disableClose:!0,data:this.model})},e=>{})}addon(){this.voucherService.addon().subscribe(e=>{this.model.type="add-on",this.model.code=e,this.vouchers.push(this.model),this.voucherSource.data=this.vouchers,this.dialog.open(MR,{closeOnNavigation:!1,disableClose:!0,data:this.model})},e=>{})}}return e.\u0275fac=function(t){return new(t||e)(Ra(mR),Ra(CE),Ra(MD))},e.\u0275cmp=mt({type:e,selectors:[["app-account-voucher"]],decls:13,vars:11,consts:[["mat-raised-button","","color","primary",3,"disabled","click"],["mat-raised-button","","color","accent",3,"click"],[4,"ngIf"],["mat-table","",3,"dataSource"],["matColumnDef","type"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","code"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row",""],["mat-row",""]],template:function(e,t){1&e&&(Fa(0,"mat-card"),Fa(1,"mat-card-content"),Fa(2,"p"),xo(3),Il(4,"i18n"),Ha(),Ha(),Fa(5,"mat-card-actions"),Fa(6,"button",0),qa("click",(function(){return t.registration()})),xo(7),Il(8,"i18n"),Ha(),Fa(9,"button",1),qa("click",(function(){return t.addon()})),xo(10),Il(11,"i18n"),Ha(),Ha(),Ha(),Pa(12,wR,16,9,"div",2)),2&e&&(Li(3),Co(jl(4,5,"vouchers.info")),Li(3),Ia("disabled",!t.hasRegistration),Li(1),Do(" ",jl(8,7,"vouchers.registration")," "),Li(3),Do(" ",jl(11,9,"vouchers.add-on")," "),Li(2),Ia("ngIf",t.vouchers&&t.vouchers[0]))},directives:[fM,cM,hM,HS,au,zL,GL,WL,VL,eA,rA,ZL,QL,iA,aA],pipes:[zS],styles:["table[_ngcontent-%COMP%]{width:100%}"]}),e})(),MR=(()=>{class e{constructor(e,t){this.dialogRef=e,this.data=t}onOkClick(){this.dialogRef.close()}}return e.\u0275fac=function(t){return new(t||e)(Ra(_D),Ra(yD))},e.\u0275cmp=mt({type:e,selectors:[["app-voucher-dialog"]],decls:17,vars:18,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],[3,"ngModel","ngModelChange"],["mat-button","",3,"disabled","click"]],template:function(e,t){1&e&&(Fa(0,"h1",0),xo(1),Il(2,"i18n"),Ha(),Fa(3,"div",1),Fa(4,"p"),xo(5),Il(6,"i18n"),Ha(),Fa(7,"span"),xo(8),Il(9,"i18n"),Ha(),Ha(),Fa(10,"div",2),Fa(11,"mat-slide-toggle",3),qa("ngModelChange",(function(e){return t.data.confirmClose=e})),xo(12),Il(13,"i18n"),Ha(),Fa(14,"button",4),qa("click",(function(){return t.onOkClick()})),xo(15),Il(16,"i18n"),Ha(),Ha()),2&e&&(Li(1),Co(jl(2,8,"voucher")),Li(4),Co(jl(6,10,"vouchers.stored-safely")),Li(3),Lo("",jl(9,12,"vouchers."+t.data.type),": ",t.data.code,""),Li(3),Ia("ngModel",t.data.confirmClose),Li(1),Do(" ",jl(13,14,"vouchers.stored-safely.confirm")," "),Li(2),Ia("disabled",!t.data.confirmClose),Li(1),Co(jl(16,16,"ok")))},directives:[CD,DD,LD,ES,K_,Kg,HS],pipes:[zS],styles:["mat-form-field[_ngcontent-%COMP%]{display:block}"]}),e})();const SR=["passwordFormDirective"];function xR(e,t){1&e&&(Fa(0,"mat-hint"),xo(1),Il(2,"i18n"),Ha()),2&e&&(Li(1),Do(" ",jl(2,1,"password.changed")," "))}function CR(e,t){if(1&e&&(Fa(0,"mat-error"),xo(1),Ha()),2&e){const e=t.$implicit;Li(1),Do(" ",e.key," ")}}function DR(e,t){if(1&e&&(Fa(0,"mat-error"),xo(1),Ha()),2&e){const e=t.$implicit;Li(1),Do(" ",e.key," ")}}function LR(e,t){1&e&&Na(0,"mat-progress-bar",11)}function AR(e,t){1&e&&(Fa(0,"button",12),xo(1),Il(2,"i18n"),Ha()),2&e&&(Ia("disabled",Qa().passwordForm.invalid),Li(1),Do(" ",jl(2,2,"password.change")," "))}function ER(e,t){if(1&e){const e=Va();Fa(0,"button",13),qa("click",(function(){return or(e),Qa().createTotp()})),xo(1),Il(2,"i18n"),Ha()}2&e&&(Li(1),Co(jl(2,1,"security.2fa.totp.create")))}function TR(e,t){if(1&e){const e=Va();Fa(0,"button",14),qa("click",(function(){return or(e),Qa().removeTotp()})),xo(1),Il(2,"i18n"),Ha()}2&e&&(Li(1),Co(jl(2,1,"security.2fa.totp.remove")))}function PR(e,t){if(1&e&&Na(0,"qrcode",7),2&e){const e=Qa();ro("title",e.data.qrData),Ia("qrdata",e.data.qrData)("width",400)("errorCorrectionLevel","M")}}let YR=(()=>{class e{constructor(e,t,r,n){this.formBuilder=e,this.userService=t,this.authService=r,this.dialog=n,this.model={},this.totp=!1}ngOnInit(){this.passwordForm=this.formBuilder.group({oldPassword:["",Q_.required],password:["",Q_.required],password2:["",Q_.required]},{validator:Dx("password","password2")}),this.authService.isTotpEnabled().subscribe(e=>{this.totp=!0},e=>{this.totp=!1})}changePassword(){this.passwordForm.valid&&!this.working&&(this.working=!0,this.userService.password(this.model).subscribe(e=>{this.passwordFormDirective.resetForm(),this.success=!0,this.working=!1},e=>{if(this.working=!1,409==e.status){let t={};for(let r of e.error)t[r.field]=t[r.field]||{},t[r.field][r.code]=!0;for(let e in t)this.passwordForm.get(e).setErrors(t[e])}}))}createTotp(){this.authService.createTotp().subscribe(e=>{this.dialog.open(RR,{closeOnNavigation:!1,disableClose:!0,data:e}).afterClosed().subscribe(e=>{e?this.authService.enableTotp(e).subscribe(e=>{this.totp=!0}):this.authService.removeTotp().subscribe(e=>{this.totp=!1})})})}enableTotp(){this.dialog.open(RR,{closeOnNavigation:!1,disableClose:!0,data:{}})}removeTotp(){this.authService.removeTotp().subscribe(e=>{this.totp=!1})}}return e.\u0275fac=function(t){return new(t||e)(Ra(ny),Ra(ID),Ra(w_),Ra(MD))},e.\u0275cmp=mt({type:e,selectors:[["app-account-security"]],viewQuery:function(e,t){var r;1&e&&ec(SR,!0),2&e&&Ql(r=sc())&&(t.passwordFormDirective=r.first)},decls:38,vars:36,consts:[[3,"formGroup","ngSubmit"],["passwordFormDirective","ngForm"],[4,"ngIf"],["matInput","","type","password","formControlName","oldPassword",3,"placeholder","ngModel","ngModelChange"],[4,"ngFor","ngForOf"],["matInput","","type","password","formControlName","password",3,"placeholder","ngModel","ngModelChange"],["matInput","","type","password","length","6","formControlName","password2",3,"placeholder","ngModel","ngModelChange"],["mode","indeterminate",4,"ngIf"],["mat-raised-button","","color","primary",3,"disabled",4,"ngIf"],["mat-raised-button","","color","accent",3,"click",4,"ngIf"],["mat-raised-button","","color","warn",3,"click",4,"ngIf"],["mode","indeterminate"],["mat-raised-button","","color","primary",3,"disabled"],["mat-raised-button","","color","accent",3,"click"],["mat-raised-button","","color","warn",3,"click"]],template:function(e,t){1&e&&(Fa(0,"form",0,1),qa("ngSubmit",(function(){return t.changePassword()})),Fa(2,"mat-card"),Fa(3,"mat-card-content"),Fa(4,"h2"),xo(5),Il(6,"i18n"),Ha(),Pa(7,xR,3,3,"mat-hint",2),Fa(8,"mat-form-field"),Fa(9,"input",3),qa("ngModelChange",(function(e){return t.model.old=e})),Il(10,"i18n"),Ha(),Pa(11,CR,2,1,"mat-error",4),Il(12,"keyvalue"),Ha(),Fa(13,"mat-form-field"),Fa(14,"input",5),qa("ngModelChange",(function(e){return t.model.password=e})),Il(15,"i18n"),Ha(),Pa(16,DR,2,1,"mat-error",4),Il(17,"keyvalue"),Ha(),Fa(18,"mat-form-field"),Fa(19,"input",6),qa("ngModelChange",(function(e){return t.model.password2=e})),Il(20,"i18n"),Ha(),Fa(21,"mat-error"),xo(22),Il(23,"i18n"),Ha(),Ha(),Ha(),Fa(24,"mat-card-actions"),Pa(25,LR,1,0,"mat-progress-bar",7),Pa(26,AR,3,4,"button",8),Ha(),Ha(),Ha(),Fa(27,"mat-card"),Fa(28,"mat-card-content"),Fa(29,"h2"),xo(30),Il(31,"i18n"),Ha(),Fa(32,"p"),xo(33),Il(34,"i18n"),Ha(),Ha(),Fa(35,"mat-card-actions"),Pa(36,ER,3,3,"button",9),Pa(37,TR,3,3,"button",10),Ha(),Ha()),2&e&&(Ia("formGroup",t.passwordForm),Li(5),Co(jl(6,18,"password.change")),Li(2),Ia("ngIf",t.success),Li(2),ro("placeholder",jl(10,20,"password.current")),Ia("ngModel",t.model.old),Li(2),Ia("ngForOf",jl(12,22,t.passwordForm.get("oldPassword").errors)),Li(3),ro("placeholder",jl(15,24,"password")),Ia("ngModel",t.model.password),Li(2),Ia("ngForOf",jl(17,26,t.passwordForm.get("password").errors)),Li(3),ro("placeholder",jl(20,28,"password.confirm")),Ia("ngModel",t.model.password2),Li(3),Do(" ",jl(23,30,"password.not-match")," "),Li(3),Ia("ngIf",t.working),Li(1),Ia("ngIf",!t.working),Li(4),Co(jl(31,32,"security.2fa")),Li(3),Co(jl(34,34,"security.2fa.info")),Li(3),Ia("ngIf",!t.totp),Li(1),Ia("ngIf",t.totp))},directives:[Wg,W_,Jg,fM,cM,au,tS,gS,H_,K_,Xg,iu,HM,hM,VM,vx,HS],pipes:[zS,wu],styles:["mat-form-field[_ngcontent-%COMP%]{display:inline}"]}),e})(),RR=(()=>{class e{constructor(e,t){this.dialogRef=e,this.data=t}ngOnInit(){this.code=new jg("",[Q_.required,Q_.pattern("[0-9]{6}")])}}return e.\u0275fac=function(t){return new(t||e)(Ra(_D),Ra(yD))},e.\u0275cmp=mt({type:e,selectors:[["app-security-totp-dialog"]],decls:19,vars:23,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[3,"qrdata","width","errorCorrectionLevel","title",4,"ngIf"],["matInput","","required","",3,"placeholder","formControl"],["mat-dialog-actions",""],["mat-button","",3,"mat-dialog-close"],["mat-raised-button","","color","accent",3,"disabled","mat-dialog-close"],[3,"qrdata","width","errorCorrectionLevel","title"]],template:function(e,t){1&e&&(Fa(0,"h1",0),xo(1),Il(2,"i18n"),Ha(),Fa(3,"div",1),xo(4),Il(5,"i18n"),Pa(6,PR,1,4,"qrcode",2),xo(7),Il(8,"i18n"),Fa(9,"mat-form-field"),Na(10,"input",3),Il(11,"i18n"),Ha(),Ha(),Fa(12,"div",4),Fa(13,"button",5),xo(14),Il(15,"i18n"),Ha(),Fa(16,"button",6),xo(17),Il(18,"i18n"),Ha(),Ha()),2&e&&(Li(1),Co(jl(2,11,"security.2fa.totp.enable")),Li(3),Do(" ",jl(5,13,"security.2fa.totp.hint")," "),Li(2),Ia("ngIf",t.data.qrData),Li(1),Do(" ",jl(8,15,"security.2fa.totp.activate")," "),Li(3),ro("placeholder",jl(11,17,"security.2fa.totp.code")),Ia("formControl",t.code),Li(3),Ia("mat-dialog-close",!1),Li(1),Co(jl(15,19,"cancel")),Li(2),Ia("disabled",t.code.invalid)("mat-dialog-close",t.code.value),Li(1),Co(jl(18,21,"security.2fa.totp.enable")))},directives:[CD,DD,au,tS,gS,H_,ty,K_,$g,LD,HS,xD,GA],pipes:[zS],styles:["mat-form-field[_ngcontent-%COMP%]{display:inline}"]}),e})();const OR=[{path:"",redirectTo:"/account/info",pathMatch:"full"},{path:"imprint",component:A_,canActivate:[k_]},{path:"privacy-policy",component:E_,canActivate:[k_]},{path:"terms-of-service",component:T_,canActivate:[k_]},{path:"login",component:VS,canActivate:[x_]},{path:"login/totp",component:WS,canActivate:[x_]},{path:"service-login",component:hx,canActivate:[x_]},{path:"service-login/totp",component:mx,canActivate:[x_]},{path:"password",component:Cx,canActivate:[x_]},{path:"password-reset",component:Rx,canActivate:[x_]},{path:"services",component:dP,canActivate:[S_]},{path:"account",component:DC,canActivate:[S_],children:[{path:"info",component:hR,canActivate:[S_]},{path:"profile",component:fR,canActivate:[S_]},{path:"voucher",component:kR,canActivate:[S_]},{path:"security",component:YR,canActivate:[S_]}]},{path:"register",component:ME,canActivate:[x_]},{path:"tokens",component:FE,canActivate:[M_]},{path:"unavailable",component:(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=mt({type:e,selectors:[["app-unavailable"]],decls:11,vars:6,template:function(e,t){1&e&&(Fa(0,"mat-card"),Fa(1,"mat-card-header"),Fa(2,"mat-card-title"),xo(3,"503"),Ha(),Fa(4,"mat-card-subtitle"),xo(5),Il(6,"i18n"),Ha(),Ha(),Fa(7,"mat-card-content"),Fa(8,"p"),xo(9),Il(10,"i18n"),Ha(),Ha(),Ha()),2&e&&(Li(5),Co(jl(6,2,"service-unavailable")),Li(4),Do(" ",jl(10,4,"service-unavailable.text")," "))},directives:[fM,mM,dM,uM,cM],pipes:[zS],styles:["mat-card-header[_ngcontent-%COMP%]{background-color:#f44336!important;padding:16px 16px 0}mat-card[_ngcontent-%COMP%]{padding:0}mat-card-content[_ngcontent-%COMP%]{padding:16px}"]}),e})()},{path:"**",component:(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=mt({type:e,selectors:[["app-notfound"]],decls:11,vars:6,template:function(e,t){1&e&&(Fa(0,"mat-card"),Fa(1,"mat-card-header"),Fa(2,"mat-card-title"),xo(3,"404"),Ha(),Fa(4,"mat-card-subtitle"),xo(5),Il(6,"i18n"),Ha(),Ha(),Fa(7,"mat-card-content"),Fa(8,"p"),xo(9),Il(10,"i18n"),Ha(),Ha(),Ha()),2&e&&(Li(5),Co(jl(6,2,"not-found")),Li(4),Do(" ",jl(10,4,"not-found.text")," "))},directives:[fM,mM,dM,uM,cM],pipes:[zS],styles:["mat-card-header[_ngcontent-%COMP%]{background-color:#ff4081!important;padding:16px 16px 0}mat-card[_ngcontent-%COMP%]{padding:0}mat-card-content[_ngcontent-%COMP%]{padding:16px}"]}),e})(),pathMatch:"full"}];let IR=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Rp.forRoot(OR,{onSameUrlNavigation:"reload"})],Rp]}),e})();function jR(e,t=gw){var r;const n=(r=e)instanceof Date&&!isNaN(+r)?+e-t.now():Math.abs(e);return e=>e.lift(new FR(n,t))}class FR{constructor(e,t){this.delay=e,this.scheduler=t}call(e,t){return t.subscribe(new HR(e,this.delay,this.scheduler))}}class HR extends m{constructor(e,t,r){super(e),this.delay=t,this.scheduler=r,this.queue=[],this.active=!1,this.errored=!1}static dispatch(e){const t=e.source,r=t.queue,n=e.scheduler,i=e.destination;for(;r.length>0&&r[0].time-n.now()<=0;)r.shift().notification.observe(i);if(r.length>0){const t=Math.max(0,r[0].time-n.now());this.schedule(e,t)}else this.unsubscribe(),t.active=!1}_schedule(e){this.active=!0,this.destination.add(e.schedule(HR.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))}scheduleNotification(e){if(!0===this.errored)return;const t=this.scheduler,r=new NR(t.now()+this.delay,e);this.queue.push(r),!1===this.active&&this._schedule(t)}_next(e){this.scheduleNotification(eC.createNext(e))}_error(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}_complete(){this.scheduleNotification(eC.createComplete()),this.unsubscribe()}}class NR{constructor(e,t){this.time=e,this.notification=t}}const BR={provide:new Fe("mat-autocomplete-scroll-strategy"),deps:[rD],useFactory:function(e){return()=>e.scrollStrategies.reposition()}};let zR=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[BR],imports:[[lD,nM,bk,Mu],lC,nM,bk]}),e})(),UR=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)}}),e})(),VR=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[zk,bk,Tw,UR],bk,UR]}),e})(),KR=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[zk,bk],bk]}),e})(),WR=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Mu,bk],bk]}),e})();const qR=["mat-menu-item",""],GR=["*"];function $R(e,t){if(1&e){const e=Va();Fa(0,"div",0),qa("keydown",(function(t){return or(e),Qa()._handleKeydown(t)}))("click",(function(){return or(e),Qa().closed.emit("click")}))("@transformMenu.start",(function(t){return or(e),Qa()._onAnimationStart(t)}))("@transformMenu.done",(function(t){return or(e),Qa()._onAnimationDone(t)})),Fa(1,"div",1),to(2),Ha(),Ha()}if(2&e){const e=Qa();Ia("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),Ea("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const ZR={transformMenu:ly("transformMenu",[fy("void",hy({opacity:0,transform:"scale(0.8)"})),py("void => enter",dy([gy(".mat-menu-content, .mat-mdc-menu-content",cy("100ms linear",hy({opacity:1}))),cy("120ms cubic-bezier(0, 0, 0.2, 1)",hy({transform:"scale(1)"}))])),py("* => void",cy("100ms 25ms linear",hy({opacity:0})))]),fadeInItems:ly("fadeInItems",[fy("showing",hy({opacity:1})),py("void => *",[hy({opacity:0}),cy("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},JR=new Fe("MatMenuContent"),QR=new Fe("MAT_MENU_PANEL");class XR{}const eO=kk(vk(XR));let tO=(()=>{class e extends eO{constructor(e,t,r,n){super(),this._elementRef=e,this._focusMonitor=r,this._parentMenu=n,this.role="menuitem",this._hovered=new M,this._focused=new M,this._highlighted=!1,this._triggersSubmenu=!1,n&&n.addItem&&n.addItem(this),this._document=t}focus(e="program",t){this._focusMonitor?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const e=this._elementRef.nativeElement,t=this._document?this._document.TEXT_NODE:3;let r="";if(e.childNodes){const n=e.childNodes.length;for(let i=0;i{class e{constructor(e,t,r){this._elementRef=e,this._ngZone=t,this._defaultOptions=r,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new Ul,this._tabSubscription=u.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new M,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new Bl,this.close=this.closed,this.panelId="mat-menu-panel-"+nO++}get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(e){this._overlapTrigger=kw(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=kw(e)}set panelClass(e){const t=this._previousPanelClass;t&&t.length&&t.split(" ").forEach(e=>{this._classList[e]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(e=>{this._classList[e]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new Bw(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Nh(this._directDescendantItems),Yh(e=>K(...e.map(e=>e._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(Nh(this._directDescendantItems),Yh(e=>K(...e.map(e=>e._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const t=e.keyCode,r=this._keyManager;switch(t){case aw:hw(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case lw:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case dw:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:t!==cw&&t!==uw||r.setFocusOrigin("keyboard"),r.onKeydown(e)}}focusFirstItem(e="program"){this.lazyContent?this._ngZone.onStable.pipe(Ih(1)).subscribe(()=>this._focusFirstItem(e)):this._focusFirstItem(e)}_focusFirstItem(e){const t=this._keyManager;if(t.setFocusOrigin(e).setFirstItemActive(),!t.activeItem&&this._directDescendantItems.length){let e=this._directDescendantItems.first._getHostElement().parentElement;for(;e;){if("menu"===e.getAttribute("role")){e.focus();break}e=e.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const t="mat-elevation-z"+Math.min(4+e,24),r=Object.keys(this._classList).find(e=>e.startsWith("mat-elevation-z"));r&&r!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[t]=!0,this._previousElevation=t)}setPositionClasses(e=this.xPosition,t=this.yPosition){const r=this._classList;r["mat-menu-before"]="before"===e,r["mat-menu-after"]="after"===e,r["mat-menu-above"]="above"===t,r["mat-menu-below"]="below"===t}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Nh(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(e=>e._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(Ec),Ra(rO))},e.\u0275dir=vt({type:e,contentQueries:function(e,t,r){var n;1&e&&(rc(r,JR,!0),rc(r,tO,!0),rc(r,tO,!1)),2&e&&(Ql(n=sc())&&(t.lazyContent=n.first),Ql(n=sc())&&(t._allItems=n),Ql(n=sc())&&(t.items=n))},viewQuery:function(e,t){var r;1&e&&ec(hl,!0),2&e&&Ql(r=sc())&&(t.templateRef=r.first)},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),e})(),sO=(()=>{class e extends iO{}return e.\u0275fac=function(t){return aO(t||e)},e.\u0275dir=vt({type:e,features:[ga]}),e})();const aO=vn(sO);let oO=(()=>{class e extends sO{constructor(e,t,r){super(e,t,r)}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(Ec),Ra(rO))},e.\u0275cmp=mt({type:e,selectors:[["mat-menu"]],exportAs:["matMenu"],features:[Fo([{provide:QR,useExisting:sO},{provide:sO,useExisting:e}]),ga],ngContentSelectors:GR,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(e,t){1&e&&(eo(),Pa(0,$R,3,6,"ng-template"))},directives:[ru],styles:['.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:"";display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],encapsulation:2,data:{animation:[ZR.transformMenu,ZR.fadeInItems]},changeDetection:0}),e})();const lO=new Fe("mat-menu-scroll-strategy"),cO={provide:lO,deps:[rD],useFactory:function(e){return()=>e.scrollStrategies.reposition()}},dO=nw({passive:!0});let uO=(()=>{class e{constructor(e,t,r,n,i,s,a,o){this._overlay=e,this._element=t,this._viewContainerRef=r,this._parentMenu=i,this._menuItemInstance=s,this._dir=a,this._focusMonitor=o,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=u.EMPTY,this._hoverSubscription=u.EMPTY,this._menuCloseSubscription=u.EMPTY,this._handleTouchStart=()=>this._openedBy="touch",this._openedBy=null,this.restoreFocus=!0,this.menuOpened=new Bl,this.onMenuOpen=this.menuOpened,this.menuClosed=new Bl,this.onMenuClose=this.menuClosed,t.nativeElement.addEventListener("touchstart",this._handleTouchStart,dO),s&&(s._triggersSubmenu=this.triggersSubmenu()),this._scrollStrategy=n}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(e=>{this._destroyMenu(),"click"!==e&&"tab"!==e||!this._parentMenu||this._parentMenu.closed.emit(e)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,dO),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const e=this._createOverlay(),t=e.getConfig();this._setPosition(t.positionStrategy),t.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,e.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof sO&&this.menu._startAnimation()}closeMenu(){this.menu.close.emit()}focus(e="program",t){this._focusMonitor?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}_destroyMenu(){if(!this._overlayRef||!this.menuOpen)return;const e=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this._restoreFocus(),e instanceof sO?(e._resetAnimation(),e.lazyContent?e._animationDone.pipe(bh(e=>"void"===e.toState),Ih(1),gM(e.lazyContent._attached)).subscribe({next:()=>e.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),e.lazyContent&&e.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this._setIsMenuOpen(!0),this.menu.focusFirstItem(this._openedBy||"program")}_setMenuElevation(){if(this.menu.setElevation){let e=0,t=this.menu.parentMenu;for(;t;)e++,t=t.parentMenu;this.menu.setElevation(e)}}_restoreFocus(){this.restoreFocus&&(this._openedBy?this.triggersSubmenu()||this.focus(this._openedBy):this.focus()),this._openedBy=null}_setIsMenuOpen(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=e)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const e=this._getOverlayConfig();this._subscribeToPositions(e.positionStrategy),this._overlayRef=this._overlay.create(e),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new jC({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e){this.menu.setPositionClasses&&e.positionChanges.subscribe(e=>{this.menu.setPositionClasses("start"===e.connectionPair.overlayX?"after":"before","top"===e.connectionPair.overlayY?"below":"above")})}_setPosition(e){let[t,r]="before"===this.menu.xPosition?["end","start"]:["start","end"],[n,i]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[s,a]=[n,i],[o,l]=[t,r],c=0;this.triggersSubmenu()?(l=t="before"===this.menu.xPosition?"start":"end",r=o="end"===t?"start":"end",c="bottom"===n?8:-8):this.menu.overlapTrigger||(s="top"===n?"bottom":"top",a="top"===i?"bottom":"top"),e.withPositions([{originX:t,originY:s,overlayX:o,overlayY:n,offsetY:c},{originX:r,originY:s,overlayX:l,overlayY:n,offsetY:c},{originX:t,originY:a,overlayX:o,overlayY:i,offsetY:-c},{originX:r,originY:a,overlayX:l,overlayY:i,offsetY:-c}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),t=this._overlayRef.detachments();return K(e,this._parentMenu?this._parentMenu.closed:sh(),this._parentMenu?this._parentMenu._hovered().pipe(bh(e=>e!==this._menuItemInstance),bh(()=>this._menuOpen)):sh(),t)}_handleMousedown(e){Qw(e)||(this._openedBy=0===e.button?"mouse":null,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const t=e.keyCode;this.triggersSubmenu()&&(t===dw&&"ltr"===this.dir||t===lw&&"rtl"===this.dir)&&this.openMenu()}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&(this._hoverSubscription=this._parentMenu._hovered().pipe(bh(e=>e===this._menuItemInstance&&!e.disabled),jR(0,Xx)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof sO&&this.menu._isAnimating?this.menu._animationDone.pipe(Ih(1),jR(0,Xx),gM(this._parentMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new jx(this.menu.templateRef,this._viewContainerRef)),this._portal}}return e.\u0275fac=function(t){return new(t||e)(Ra(rD),Ra(zo),Ra(ml),Ra(lO),Ra(sO,8),Ra(tO,10),Ra(dk,8),Ra(tk))},e.\u0275dir=vt({type:e,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(e,t){1&e&&qa("mousedown",(function(e){return t._handleMousedown(e)}))("keydown",(function(e){return t._handleKeydown(e)}))("click",(function(e){return t._handleClick(e)})),2&e&&Ea("aria-expanded",t.menuOpen||null)("aria-controls",t.menuOpen?t.menu.panelId:null)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]}),e})(),hO=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[cO],imports:[bk]}),e})(),fO=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[cO],imports:[[Mu,bk,zk,lD,hO],lC,bk,hO]}),e})();function mO(e){return t=>t.lift(new pO(e))}class pO{constructor(e){this.value=e}call(e,t){return t.subscribe(new _O(e,this.value))}}class _O extends m{constructor(e,t){super(e),this.value=t}_next(e){this.destination.next(this.value)}}const gO=["*"];function yO(e,t){if(1&e){const e=Va();Fa(0,"div",2),qa("click",(function(){return or(e),Qa()._onBackdropClicked()})),Ha()}2&e&&fo("mat-drawer-shown",Qa()._isShowingBackdrop())}function bO(e,t){1&e&&(Fa(0,"mat-drawer-content"),to(1,2),Ha())}const vO=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],wO=["mat-drawer","mat-drawer-content","*"];function kO(e,t){if(1&e){const e=Va();Fa(0,"div",2),qa("click",(function(){return or(e),Qa()._onBackdropClicked()})),Ha()}2&e&&fo("mat-drawer-shown",Qa()._isShowingBackdrop())}function MO(e,t){1&e&&(Fa(0,"mat-sidenav-content",3),to(1,2),Ha())}const SO=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],xO=["mat-sidenav","mat-sidenav-content","*"],CO=".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n",DO={transformDrawer:ly("transform",[fy("open, open-instant",hy({transform:"none",visibility:"visible"})),fy("void",hy({"box-shadow":"none",visibility:"hidden"})),py("void => open-instant",cy("0ms")),py("void <=> open, open-instant => void",cy("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},LO=new Fe("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),AO=new Fe("MAT_DRAWER_CONTAINER");let EO=(()=>{class e extends aC{constructor(e,t,r,n,i){super(r,n,i),this._changeDetectorRef=e,this._container=t}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return e.\u0275fac=function(t){return new(t||e)(Ra(Zs),Ra(Me(()=>PO)),Ra(zo),Ra(sC),Ra(Ec))},e.\u0275cmp=mt({type:e,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(e,t){2&e&&ho("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[ga],ngContentSelectors:gO,decls:1,vars:0,template:function(e,t){1&e&&(eo(),to(0))},encapsulation:2,changeDetection:0}),e})(),TO=(()=>{class e{constructor(e,t,r,n,i,s,a){this._elementRef=e,this._focusTrapFactory=t,this._focusMonitor=r,this._platform=n,this._ngZone=i,this._doc=s,this._container=a,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new M,this._animationEnd=new M,this._animationState="void",this.openedChange=new Bl(!0),this._openedStream=this.openedChange.pipe(bh(e=>e),C(()=>{})),this.openedStart=this._animationStarted.pipe(bh(e=>e.fromState!==e.toState&&0===e.toState.indexOf("open")),mO(void 0)),this._closedStream=this.openedChange.pipe(bh(e=>!e),C(()=>{})),this.closedStart=this._animationStarted.pipe(bh(e=>e.fromState!==e.toState&&"void"===e.toState),mO(void 0)),this._destroyed=new M,this.onPositionChanged=new Bl,this._modeChanged=new M,this.openedChange.subscribe(e=>{e?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus()}),this._ngZone.runOutsideAngular(()=>{_M(this._elementRef.nativeElement,"keydown").pipe(bh(e=>e.keyCode===aw&&!this.disableClose&&!hw(e)),gM(this._destroyed)).subscribe(e=>this._ngZone.run(()=>{this.close(),e.stopPropagation(),e.preventDefault()}))}),this._animationEnd.pipe(Ux((e,t)=>e.fromState===t.fromState&&e.toState===t.toState)).subscribe(e=>{const{fromState:t,toState:r}=e;(0===r.indexOf("open")&&"void"===t||"void"===r&&0===t.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(e){(e="end"===e?"end":"start")!=this._position&&(this._position=e,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(e){this._disableClose=kw(e)}get autoFocus(){const e=this._autoFocus;return null==e?"side"!==this.mode:e}set autoFocus(e){this._autoFocus=kw(e)}get opened(){return this._opened}set opened(e){this.toggle(kw(e))}_takeFocus(){this.autoFocus&&this._focusTrap&&this._focusTrap.focusInitialElementWhenReady().then(e=>{e||"function"!=typeof this._elementRef.nativeElement.focus||this._elementRef.nativeElement.focus()})}_restoreFocus(){this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null)}_isFocusWithinDrawer(){var e;const t=null===(e=this._doc)||void 0===e?void 0:e.activeElement;return!!t&&this._elementRef.nativeElement.contains(t)}ngAfterContentInit(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState()}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap&&this._focusTrap.destroy(),this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(e){return this.toggle(!0,e)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0)}toggle(e=!this.opened,t){return this._setOpen(e,!e&&this._isFocusWithinDrawer(),t)}_setOpen(e,t,r="program"){return this._opened=e,e?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=r):(this._animationState="void",t&&this._restoreFocus()),this._updateFocusTrapState(),new Promise(e=>{this.openedChange.pipe(Ih(1)).subscribe(t=>e(t?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_animationStartListener(e){this._animationStarted.next(e)}_animationDoneListener(e){this._animationEnd.next(e)}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(Ww),Ra(tk),Ra($v),Ra(Ec),Ra(ld,8),Ra(AO,8))},e.\u0275cmp=mt({type:e,selectors:[["mat-drawer"]],hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(e,t){1&e&&Ga("@transform.start",(function(e){return t._animationStartListener(e)}))("@transform.done",(function(e){return t._animationDoneListener(e)})),2&e&&(Ea("align",null),Eo("@transform",t._animationState),fo("mat-drawer-end","end"===t.position)("mat-drawer-over","over"===t.mode)("mat-drawer-push","push"===t.mode)("mat-drawer-side","side"===t.mode)("mat-drawer-opened",t.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:gO,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(e,t){1&e&&(eo(),Fa(0,"div",0),to(1),Ha())},encapsulation:2,data:{animation:[DO.transformDrawer]},changeDetection:0}),e})(),PO=(()=>{class e{constructor(e,t,r,n,i,s=!1,a){this._dir=e,this._element=t,this._ngZone=r,this._changeDetectorRef=n,this._animationMode=a,this._drawers=new Ul,this.backdropClick=new Bl,this._destroyed=new M,this._doCheckSubject=new M,this._contentMargins={left:null,right:null},this._contentMarginChanges=new M,e&&e.change.pipe(gM(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),i.change().pipe(gM(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=s}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(e){this._autosize=kw(e)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(e){this._backdropOverride=null==e?null:kw(e)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe(Nh(this._allDrawers),gM(this._destroyed)).subscribe(e=>{this._drawers.reset(e.filter(e=>!e._container||e._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(Nh(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(e=>{this._watchDrawerToggle(e),this._watchDrawerPosition(e),this._watchDrawerMode(e)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe(yw(10),gM(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(e=>e.open())}close(){this._drawers.forEach(e=>e.close())}updateContentMargins(){let e=0,t=0;if(this._left&&this._left.opened)if("side"==this._left.mode)e+=this._left._getWidth();else if("push"==this._left.mode){const r=this._left._getWidth();e+=r,t-=r}if(this._right&&this._right.opened)if("side"==this._right.mode)t+=this._right._getWidth();else if("push"==this._right.mode){const r=this._right._getWidth();t+=r,e-=r}e=e||null,t=t||null,e===this._contentMargins.left&&t===this._contentMargins.right||(this._contentMargins={left:e,right:t},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(e){e._animationStarted.pipe(bh(e=>e.fromState!==e.toState),gM(this._drawers.changes)).subscribe(e=>{"open-instant"!==e.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==e.mode&&e.openedChange.pipe(gM(this._drawers.changes)).subscribe(()=>this._setContainerClass(e.opened))}_watchDrawerPosition(e){e&&e.onPositionChanged.pipe(gM(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe(Ih(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(e){e&&e._modeChanged.pipe(gM(K(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(e){const t=this._element.nativeElement.classList,r="mat-drawer-container-has-open";e?t.add(r):t.remove(r)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(e=>{"end"==e.position?this._end=e:this._start=e}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(e=>e&&!e.disableClose&&this._canHaveBackdrop(e)).forEach(e=>e._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(e){return"side"!==e.mode||!!this._backdropOverride}_isDrawerOpen(e){return null!=e&&e.opened}}return e.\u0275fac=function(t){return new(t||e)(Ra(dk,8),Ra(zo),Ra(Ec),Ra(Zs),Ra(oC),Ra(LO),Ra(Vv,8))},e.\u0275cmp=mt({type:e,selectors:[["mat-drawer-container"]],contentQueries:function(e,t,r){var n;1&e&&(rc(r,EO,!0),rc(r,TO,!0)),2&e&&(Ql(n=sc())&&(t._content=n.first),Ql(n=sc())&&(t._allDrawers=n))},viewQuery:function(e,t){var r;1&e&&ec(EO,!0),2&e&&Ql(r=sc())&&(t._userContent=r.first)},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(e,t){2&e&&fo("mat-drawer-container-explicit-backdrop",t._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[Fo([{provide:AO,useExisting:e}])],ngContentSelectors:wO,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(e,t){1&e&&(eo(vO),Pa(0,yO,1,2,"div",0),to(1),to(2,1),Pa(3,bO,2,0,"mat-drawer-content",1)),2&e&&(Ia("ngIf",t.hasBackdrop),Li(3),Ia("ngIf",!t._content))},directives:[au,EO],styles:[CO],encapsulation:2,changeDetection:0}),e})(),YO=(()=>{class e extends EO{constructor(e,t,r,n,i){super(e,t,r,n,i)}}return e.\u0275fac=function(t){return new(t||e)(Ra(Zs),Ra(Me(()=>IO)),Ra(zo),Ra(sC),Ra(Ec))},e.\u0275cmp=mt({type:e,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(e,t){2&e&&ho("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[ga],ngContentSelectors:gO,decls:1,vars:0,template:function(e,t){1&e&&(eo(),to(0))},encapsulation:2,changeDetection:0}),e})(),RO=(()=>{class e extends TO{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(e){this._fixedInViewport=kw(e)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(e){this._fixedTopGap=Mw(e)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(e){this._fixedBottomGap=Mw(e)}}return e.\u0275fac=function(t){return OO(t||e)},e.\u0275cmp=mt({type:e,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(e,t){2&e&&(Ea("align",null),ho("top",t.fixedInViewport?t.fixedTopGap:null,"px")("bottom",t.fixedInViewport?t.fixedBottomGap:null,"px"),fo("mat-drawer-end","end"===t.position)("mat-drawer-over","over"===t.mode)("mat-drawer-push","push"===t.mode)("mat-drawer-side","side"===t.mode)("mat-drawer-opened",t.opened)("mat-sidenav-fixed",t.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[ga],ngContentSelectors:gO,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(e,t){1&e&&(eo(),Fa(0,"div",0),to(1),Ha())},encapsulation:2,data:{animation:[DO.transformDrawer]},changeDetection:0}),e})();const OO=vn(RO);let IO=(()=>{class e extends PO{}return e.\u0275fac=function(t){return jO(t||e)},e.\u0275cmp=mt({type:e,selectors:[["mat-sidenav-container"]],contentQueries:function(e,t,r){var n;1&e&&(rc(r,YO,!0),rc(r,RO,!0)),2&e&&(Ql(n=sc())&&(t._content=n.first),Ql(n=sc())&&(t._allDrawers=n))},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(e,t){2&e&&fo("mat-drawer-container-explicit-backdrop",t._backdropOverride)},exportAs:["matSidenavContainer"],features:[Fo([{provide:AO,useExisting:e}]),ga],ngContentSelectors:xO,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],["cdkScrollable","",4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"],["cdkScrollable",""]],template:function(e,t){1&e&&(eo(SO),Pa(0,kO,1,2,"div",0),to(1),to(2,1),Pa(3,MO,2,0,"mat-sidenav-content",1)),2&e&&(Ia("ngIf",t.hasBackdrop),Li(3),Ia("ngIf",!t._content))},directives:[au,YO,aC],styles:[CO],encapsulation:2,changeDetection:0}),e})();const jO=vn(IO);let FO=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Mu,bk,Zv,lC],lC,bk]}),e})();const HO=["*",[["mat-toolbar-row"]]],NO=["*","mat-toolbar-row"];class BO{constructor(e){this._elementRef=e}}const zO=wk(BO);let UO=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=vt({type:e,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),e})(),VO=(()=>{class e extends zO{constructor(e,t,r){super(e),this._platform=t,this._document=r}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra($v),Ra(ld))},e.\u0275cmp=mt({type:e,selectors:[["mat-toolbar"]],contentQueries:function(e,t,r){var n;1&e&&rc(r,UO,!0),2&e&&Ql(n=sc())&&(t._toolbarRows=n)},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,t){2&e&&fo("mat-toolbar-multiple-rows",t._toolbarRows.length>0)("mat-toolbar-single-row",0===t._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[ga],ngContentSelectors:NO,decls:2,vars:0,template:function(e,t){1&e&&(eo(HO),to(0),to(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}\n"],encapsulation:2,changeDetection:0}),e})(),KO=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[bk],bk]}),e})(),WO=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)}}),e})(),qO=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Mu,WO,zx]]}),e})(),GO=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Yk,bk],Yk,bk]}),e})(),$O=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[uk]]}),e})(),ZO=(()=>{class e{constructor(){this.changes=new M,this.optionalLabel="Optional"}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=de({factory:function(){return new e},token:e,providedIn:"root"}),e})();const JO={provide:ZO,deps:[[new ie,new ae,ZO]],useFactory:function(e){return e||new ZO}};let QO=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[JO,Ek],imports:[[bk,Mu,zx,BS,$O,dx,zk],bk]}),e})(),XO=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)}}),e})(),eI=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[XO,bk],bk]}),e})(),tI=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[bk,zk],bk]}),e})(),rI=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[lk,bk],bk]}),e})();const nI=new Fe("mat-chips-default-options"),iI={separatorKeyCodes:[sw]};let sI=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[Ek,{provide:nI,useValue:iI}]}),e})(),aI=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[bk,Mu],bk]}),e})(),oI=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[lD,bk,zx],bk]}),e})(),lI=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[lD,zx,Mu,BS,bk],bk]}),e})(),cI=(()=>{class e{constructor(){this.changes=new M,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(e,t,r)=>{if(0==r||0==t)return"0 of "+r;const n=e*t;return`${n+1} \u2013 ${n<(r=Math.max(r,0))?Math.min(n+t,r):n+t} of ${r}`}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=de({factory:function(){return new e},token:e,providedIn:"root"}),e})();const dI={provide:cI,deps:[[new ie,new ae,cI]],useFactory:function(e){return e||new cI}};let uI=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[dI],imports:[[Mu,BS,PP,uE]]}),e})();var hI=r("wd/R");const fI=r.n(hI).a||hI,mI=new Fe("MAT_MOMENT_DATE_ADAPTER_OPTIONS",{providedIn:"root",factory:function(){return{useUtc:!1}}});function pI(e,t){const r=Array(e);for(let n=0;n{class e extends Dk{constructor(e,t){super(),this._options=t,this.setLocale(e||fI.locale())}setLocale(e){super.setLocale(e);let t=fI.localeData(e);this._localeData={firstDayOfWeek:t.firstDayOfWeek(),longMonths:t.months(),shortMonths:t.monthsShort(),dates:pI(31,e=>this.createDate(2017,0,e+1).format("D")),longDaysOfWeek:t.weekdays(),shortDaysOfWeek:t.weekdaysShort(),narrowDaysOfWeek:t.weekdaysMin()}}getYear(e){return this.clone(e).year()}getMonth(e){return this.clone(e).month()}getDate(e){return this.clone(e).date()}getDayOfWeek(e){return this.clone(e).day()}getMonthNames(e){return"long"==e?this._localeData.longMonths:this._localeData.shortMonths}getDateNames(){return this._localeData.dates}getDayOfWeekNames(e){return"long"==e?this._localeData.longDaysOfWeek:"short"==e?this._localeData.shortDaysOfWeek:this._localeData.narrowDaysOfWeek}getYearName(e){return this.clone(e).format("YYYY")}getFirstDayOfWeek(){return this._localeData.firstDayOfWeek}getNumDaysInMonth(e){return this.clone(e).daysInMonth()}clone(e){return e.clone().locale(this.locale)}createDate(e,t,r){const n=this._createMoment({year:e,month:t,date:r}).locale(this.locale);return n.isValid(),n}today(){return this._createMoment().locale(this.locale)}parse(e,t){return e&&"string"==typeof e?this._createMoment(e,t,this.locale):e?this._createMoment(e).locale(this.locale):null}format(e,t){return e=this.clone(e),this.isValid(e),e.format(t)}addCalendarYears(e,t){return this.clone(e).add({years:t})}addCalendarMonths(e,t){return this.clone(e).add({months:t})}addCalendarDays(e,t){return this.clone(e).add({days:t})}toIso8601(e){return this.clone(e).format()}deserialize(e){let t;if(e instanceof Date)t=this._createMoment(e).locale(this.locale);else if(this.isDateInstance(e))return this.clone(e);if("string"==typeof e){if(!e)return null;t=this._createMoment(e,fI.ISO_8601).locale(this.locale)}return t&&this.isValid(t)?this._createMoment(t).locale(this.locale):super.deserialize(e)}isDateInstance(e){return fI.isMoment(e)}isValid(e){return this.clone(e).isValid()}invalid(){return fI.invalid()}_createMoment(e,t,r){const{strict:n,useUtc:i}=this._options||{};return i?fI.utc(e,t,r,n):fI(e,t,r,n)}}return e.\u0275fac=function(t){return new(t||e)($e(Ck,8),$e(mI,8))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})(),gI=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[{provide:Dk,useClass:_I,deps:[Ck,mI]}]}),e})();const yI={parse:{dateInput:"l"},display:{dateInput:"l",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}};let bI=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[{provide:Lk,useValue:yI}],imports:[[gI]]}),e})(),vI=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[zE]]}),e})(),wI=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[zE]]}),e})(),kI=(()=>{class e{constructor(e,t){xu(t)&&!e&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(t,r=[]){return{ngModule:e,providers:t.serverLoaded?[{provide:WE,useValue:Object.assign(Object.assign({},KE),t)},{provide:GE,useValue:r,multi:!0},{provide:qE,useValue:!0}]:[{provide:WE,useValue:Object.assign(Object.assign({},KE),t)},{provide:GE,useValue:r,multi:!0}]}}}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)($e(qE),$e(pc))},imports:[[lP,vI,wI],lP,vI,wI]}),e})(),MI=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Mu,zR,VR,PY,rS,yS,KR,PP,WR,PS,fO,FO,KO,pM,HD,qO,GO,rL,QO,CC,eI,BS,tI,rI,sI,dx,aI,kx,zk,oI,ED,lI,uE,uI,SA,lA,bI,kI],zR,VR,PY,rS,yS,KR,PP,WR,PS,fO,FO,KO,pM,HD,qO,GO,rL,QO,CC,eI,BS,tI,rI,sI,dx,aI,kx,zk,oI,ED,lI,uE,uI,SA,lA,kI]}),e})();function SI(e,t){1&e&&(Fa(0,"button",20),Fa(1,"mat-icon"),xo(2,"language"),Ha(),Fa(3,"mat-icon"),xo(4,"arrow_drop_down"),Ha(),Ha()),2&e&&(Qa(),Ia("matMenuTriggerFor",Ya(11)))}function xI(e,t){if(1&e){const e=Va();Fa(0,"a",21),qa("click",(function(){or(e);const r=t.$implicit;return Qa().setLocale(r)})),xo(1),Il(2,"i18n"),Ha()}if(2&e){const e=t.$implicit;Li(1),Co(jl(2,1,"locale."+e+".long"))}}function CI(e,t){1&e&&(Fa(0,"a",22),Fa(1,"mat-icon"),xo(2,"login"),Ha(),xo(3),Il(4,"i18n"),Ha()),2&e&&(Li(3),Do(" ",jl(4,1,"login")," "))}function DI(e,t){1&e&&(Fa(0,"a",23),Fa(1,"mat-icon"),xo(2,"account_circle"),Ha(),xo(3),Il(4,"i18n"),Ha()),2&e&&(Li(3),Do(" ",jl(4,1,"account")," "))}function LI(e,t){1&e&&(Fa(0,"a",24),Fa(1,"mat-icon"),xo(2,"widgets"),Ha(),xo(3),Il(4,"i18n"),Ha()),2&e&&(Li(3),Do(" ",jl(4,1,"services")," "))}function AI(e,t){if(1&e){const e=Va();Fa(0,"a",25),qa("click",(function(){return or(e),Qa().logout()})),Fa(1,"mat-icon"),xo(2,"exit_to_app"),Ha(),xo(3),Il(4,"i18n"),Ha()}2&e&&(Li(3),Do(" ",jl(4,1,"logout")," "))}let EI=(()=>{class e{constructor(e,t,r,n,i,s){this.i18n=e,this.authService=t,this.router=r,this.iconRegistry=n,this.sanitizer=i,this._adapter=s,this.opened=!0,this.title="we.bstly",this.currentLocale=this.i18n.getLocale(),this.locales=this.i18n.getLocales(),this.authService.auth.subscribe(e=>{this.auth=e}),this._adapter.setLocale(this.currentLocale),n.addSvgIcon("logo",i.bypassSecurityTrustResourceUrl("assets/icons/logo.svg"))}ngOnInit(){const e=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;this.opened=!(e<768)}setLocale(e){localStorage.setItem("bstly.locale",e),window.location.reload()}logout(){this.authService.logout().subscribe(e=>{this.router.navigate([""]).then(()=>{window.location.reload()})})}isBiggerScreen(){return!((window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth)<768)}onResize(e){this.opened=!(e.target.innerWidth<768)}}return e.\u0275fac=function(t){return new(t||e)(Ra(D_),Ra(w_),Ra(bp),Ra(ex),Ra(eh),Ra(Dk))},e.\u0275cmp=mt({type:e,selectors:[["app-root"]],hostBindings:function(e,t){1&e&&qa("resize",(function(e){return t.onResize(e)}),!1,Xr)},decls:44,vars:20,consts:[["color","primary"],["href","javascript:","mat-icon-button",""],[3,"click"],["svgIcon","logo"],[1,"spacer"],["mat-button","",3,"matMenuTriggerFor",4,"ngIf"],["menu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],[3,"mode","opened","openedChange","click"],["sidenav",""],["routerLink","/login","routerLinkActive","active","mat-list-item","",4,"ngIf"],["routerLink","/account/info","routerLinkActive","active","mat-list-item","",4,"ngIf"],["routerLink","/services","routerLinkActive","active","mat-list-item","",4,"ngIf"],["routerLink","/tokens","mat-list-item",""],["href","https://token.bstly.de","target","_blank","mat-list-item",""],[2,"font-size","1em"],["mat-list-item","",3,"click",4,"ngIf"],["routerLink","/imprint","mat-list-item","",2,"font-size","0.7em"],["routerLink","/privacy-policy","mat-list-item","",2,"font-size","0.7em"],[1,"container"],["mat-button","",3,"matMenuTriggerFor"],["mat-menu-item","",3,"click"],["routerLink","/login","routerLinkActive","active","mat-list-item",""],["routerLink","/account/info","routerLinkActive","active","mat-list-item",""],["routerLink","/services","routerLinkActive","active","mat-list-item",""],["mat-list-item","",3,"click"]],template:function(e,t){if(1&e){const e=Va();Fa(0,"mat-toolbar",0),Fa(1,"a",1),Fa(2,"mat-icon",2),qa("click",(function(){return or(e),Ya(15).toggle()})),xo(3,"menu"),Ha(),Ha(),Na(4,"mat-icon",3),Fa(5,"span"),xo(6," we.bstly "),Ha(),Na(7,"span",4),Ba(8),Pa(9,SI,5,1,"button",5),Fa(10,"mat-menu",null,6),Pa(12,xI,3,3,"a",7),Ha(),za(),Ha(),Fa(13,"mat-sidenav-container"),Fa(14,"mat-sidenav",8,9),qa("openedChange",(function(e){return t.opened=e}))("click",(function(){return!t.isBiggerScreen()&&(t.opened=!1)})),Fa(16,"mat-nav-list"),Pa(17,CI,5,3,"a",10),Pa(18,DI,5,3,"a",11),Pa(19,LI,5,3,"a",12),Fa(20,"a",13),Fa(21,"mat-icon"),xo(22,"card_giftcard"),Ha(),xo(23),Il(24,"i18n"),Ha(),Fa(25,"a",14),Fa(26,"mat-icon"),xo(27,"shopping_cart"),Ha(),xo(28),Il(29,"i18n"),Fa(30,"mat-icon",15),xo(31,"open_in_new "),Ha(),Ha(),Pa(32,AI,5,3,"a",16),Ha(),Na(33,"span",4),Fa(34,"mat-nav-list"),Fa(35,"a",17),xo(36),Il(37,"i18n"),Ha(),Fa(38,"a",18),xo(39),Il(40,"i18n"),Ha(),Ha(),Ha(),Fa(41,"mat-sidenav-content"),Fa(42,"div",19),Na(43,"router-outlet"),Ha(),Ha(),Ha()}2&e&&(Li(9),Ia("ngIf",t.locales.length>1),Li(3),Ia("ngForOf",t.locales),Li(2),Ia("mode",t.isBiggerScreen()?"side":"over")("opened",t.opened),Li(3),Ia("ngIf",!t.auth||t.auth&&!t.auth.authenticated),Li(1),Ia("ngIf",t.auth&&t.auth.authenticated),Li(1),Ia("ngIf",t.auth&&t.auth.authenticated),Li(4),Do(" ",jl(24,12,"tokens.redeem")," "),Li(5),Do(" ",jl(29,14,"tokens.get"),""),Li(4),Ia("ngIf",t.auth&&t.auth.authenticated),Li(4),Do(" ",jl(37,16,"imprint")," "),Li(3),Do(" ",jl(40,18,"privacy-policy")," "))},directives:[VO,NS,cx,au,oO,iu,IO,RO,ZD,wp,tL,YO,Sp,HS,uO,tO,Mp],pipes:[zS],styles:[""]}),e})();function TI(e){return()=>e.fetch(e.getLocale()).then(e=>{},e=>{})}let PI=(()=>{class e{intercept(e,t){const r=e.clone({headers:e.headers.set("X-Requested-With","XMLHttpRequest").set("Content-Type","application/json;charset=UTF-8"),withCredentials:!0});return t.handle(r)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})(),YI=(()=>{class e{}return e.\u0275mod=yt({type:e,bootstrap:[EI]}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[{provide:cc,useFactory:TI,deps:[D_],multi:!0},{provide:o_,useClass:PI,multi:!0}],imports:[[ih,IR,qv,MI,v_,iy,sy,$A],MI]}),e})();(function(){if(On)throw new Error("Cannot enable prod mode after platform setup.");Rn=!1})(),rh().bootstrapModule(YI).catch(e=>console.error(e))},zn8P:function(e,t){function r(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}r.keys=function(){return[]},r.resolve=r,e.exports=r,r.id="zn8P"},zx6S:function(e,t,r){!function(e){"use strict";var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,r,n){var i=t.words[n];return 1===n.length?r?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}};e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(r("wd/R"))}},[[0,0]]]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"+s0g":function(e,t,r){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),r="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),n=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?r[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",w:"\xe9\xe9n week",ww:"%d weken",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(r("wd/R"))},"//9w":function(e,t,r){!function(e){"use strict";e.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r("wd/R"))},"/X5v":function(e,t,r){!function(e){"use strict";e.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(r("wd/R"))},0:function(e,t,r){e.exports=r("zUnb")},"0FX9":function(e,t,r){var n=r("Z92M"),i=r("qmMu"),s=r("QUaw"),a=r("QAZZ");function o(e,t,r,s,a){var o=[].slice.call(arguments,1),l=o.length,c="function"==typeof o[l-1];if(!c&&!n())throw new Error("Callback required as last argument");if(!c){if(l<1)throw new Error("Too few arguments provided");return 1===l?(r=t,t=s=void 0):2!==l||t.getContext||(s=r,r=t,t=void 0),new Promise((function(n,a){try{var o=i.create(r,s);n(e(o,t,s))}catch(l){a(l)}}))}if(l<2)throw new Error("Too few arguments provided");2===l?(a=r,r=t,t=s=void 0):3===l&&(t.getContext&&void 0===a?(a=s,s=void 0):(a=s,s=r,r=t,t=void 0));try{var d=i.create(r,s);a(null,e(d,t,s))}catch(u){a(u)}}t.create=i.create,t.toCanvas=o.bind(null,s.render),t.toDataURL=o.bind(null,s.renderToDataURL),t.toString=o.bind(null,(function(e,t,r){return a.render(e,r)}))},"0mo+":function(e,t,r){!function(e){"use strict";var t={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},r={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};e.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(e){return e.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===t&&e>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===t&&e<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===t?e+12:e},meridiem:function(e,t,r){return e<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":e<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":e<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":e<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(r("wd/R"))},"0tRk":function(e,t,r){!function(e){"use strict";e.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",invalidDate:"Data inv\xe1lida"})}(r("wd/R"))},"1ppg":function(e,t,r){!function(e){"use strict";e.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(r("wd/R"))},"1rYy":function(e,t,r){!function(e){"use strict";e.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(e){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(e)},meridiem:function(e){return e<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":e<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":e<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-\u056b\u0576":e+"-\u0580\u0564";default:return e}},week:{dow:1,doy:7}})}(r("wd/R"))},"1sBl":function(e,t,r){var n=r("e/Dd").getSymbolSize;t.getRowColCoords=function(e){if(1===e)return[];for(var t=Math.floor(e/7)+2,r=n(e),i=145===r?26:2*Math.ceil((r-13)/(2*t-2)),s=[r-7],a=1;a=20?"ste":"de")},week:{dow:1,doy:4}})}(r("wd/R"))},"3E1r":function(e,t,r){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},r={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},n=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];e.defineLocale("hi",{months:{format:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\u092c\u0930".split("_")},monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},monthsParse:n,longMonthsParse:n,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908?|\u0905\u0917\u0938\u094d\u0924?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\u091c\u0928\.?|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\.?|\u0905\u0917\.?|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\.?|\u0926\u093f\u0938\.?)/i,calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924"===t?e<4?e:e+12:"\u0938\u0941\u092c\u0939"===t?e:"\u0926\u094b\u092a\u0939\u0930"===t?e>=10?e:e+12:"\u0936\u093e\u092e"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"\u0930\u093e\u0924":e<10?"\u0938\u0941\u092c\u0939":e<17?"\u0926\u094b\u092a\u0939\u0930":e<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(r("wd/R"))},"3X7Y":function(e,t,r){var n=r("u/Db");function i(e){this.mode=n.NUMERIC,this.data=e.toString()}i.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(e){var t,r,n;for(t=0;t+3<=this.data.length;t+=3)r=this.data.substr(t,3),n=parseInt(r,10),e.put(n,10);var i=this.data.length-t;i>0&&(r=this.data.substr(t),n=parseInt(r,10),e.put(n,3*i+1))},e.exports=i},"4MV3":function(e,t,r){!function(e){"use strict";var t={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},r={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};e.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ab9\u0ac7\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(e){return e.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0ab0\u0abe\u0aa4"===t?e<4?e:e+12:"\u0ab8\u0ab5\u0abe\u0ab0"===t?e:"\u0aac\u0aaa\u0acb\u0ab0"===t?e>=10?e:e+12:"\u0ab8\u0abe\u0a82\u0a9c"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"\u0ab0\u0abe\u0aa4":e<10?"\u0ab8\u0ab5\u0abe\u0ab0":e<17?"\u0aac\u0aaa\u0acb\u0ab0":e<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(r("wd/R"))},"4dOw":function(e,t,r){!function(e){"use strict";e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(r("wd/R"))},"6+QB":function(e,t,r){!function(e){"use strict";e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,r){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(r("wd/R"))},"6B0Y":function(e,t,r){!function(e){"use strict";var t={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},r={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};e.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(e){return"\u179b\u17d2\u1784\u17b6\u1785"===e},meridiem:function(e,t,r){return e<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(e){return e.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(r("wd/R"))},"7BjC":function(e,t,r){!function(e){"use strict";function t(e,t,r,n){var i={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[e+" minuti",e+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[e+" tunni",e+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[e+" kuu",e+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[e+" aasta",e+" aastat"]};return t?i[r][2]?i[r][2]:i[r][1]:n?i[r][0]:i[r][1]}e.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d p\xe4eva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r("wd/R"))},"7C5Q":function(e,t,r){!function(e){"use strict";e.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:6}})}(r("wd/R"))},"7aV9":function(e,t,r){!function(e){"use strict";e.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(e){return e+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(e){return"\u0db4.\u0dc0."===e||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===e},meridiem:function(e,t,r){return e>11?r?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":r?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(r("wd/R"))},"7uVY":function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},"8/+R":function(e,t,r){!function(e){"use strict";var t={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},r={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};e.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(e){return e.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0a30\u0a3e\u0a24"===t?e<4?e:e+12:"\u0a38\u0a35\u0a47\u0a30"===t?e:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===t?e>=10?e:e+12:"\u0a38\u0a3c\u0a3e\u0a2e"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"\u0a30\u0a3e\u0a24":e<10?"\u0a38\u0a35\u0a47\u0a30":e<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":e<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(r("wd/R"))},"8mBD":function(e,t,r){!function(e){"use strict";e.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(r("wd/R"))},"9rRi":function(e,t,r){!function(e){"use strict";e.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(r("wd/R"))},"A+xa":function(e,t,r){!function(e){"use strict";e.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(e){return e+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(e)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(e)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(r("wd/R"))},AQ68:function(e,t,r){!function(e){"use strict";e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(r("wd/R"))},AZa5:function(e,t,r){var n=r("Wogr"),i=r("u/Db");function s(e){this.mode=i.BYTE,this.data=new n(e)}s.getBitsLength=function(e){return 8*e},s.prototype.getLength=function(){return this.data.length},s.prototype.getBitsLength=function(){return s.getBitsLength(this.data.length)},s.prototype.write=function(e){for(var t=0,r=this.data.length;t=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===t||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===t?e+12:e},meridiem:function(e,t,r){return e<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":e<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":e<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":e<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(r("wd/R"))},B55N:function(e,t,r){!function(e){"use strict";e.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(e,t){return"\u5143"===t[1]?1:parseInt(t[1]||e,10)},months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(e){return"\u5348\u5f8c"===e},meridiem:function(e,t,r){return e<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(e){return e.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(e){return this.week()!==e.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(e,t){switch(t){case"y":return 1===e?"\u5143\u5e74":e+"\u5e74";case"d":case"D":case"DDD":return e+"\u65e5";default:return e}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(r("wd/R"))},BCVQ:function(e,t){var r="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+",n="(?:(?![A-Z0-9 $%*+\\-./:]|"+(r=r.replace(/u/g,"\\u"))+")(?:.|[\r\n]))+";t.KANJI=new RegExp(r,"g"),t.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),t.BYTE=new RegExp(n,"g"),t.NUMERIC=new RegExp("[0-9]+","g"),t.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");var i=new RegExp("^"+r+"$"),s=new RegExp("^[0-9]+$"),a=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");t.testKanji=function(e){return i.test(e)},t.testNumeric=function(e){return s.test(e)},t.testAlphanumeric=function(e){return a.test(e)}},BVg3:function(e,t,r){!function(e){"use strict";function t(e){return e%100==11||e%10!=1}function r(e,r,n,i){var s=e+" ";switch(n){case"s":return r||i?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return t(e)?s+(r||i?"sek\xfandur":"sek\xfandum"):s+"sek\xfanda";case"m":return r?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return t(e)?s+(r||i?"m\xedn\xfatur":"m\xedn\xfatum"):r?s+"m\xedn\xfata":s+"m\xedn\xfatu";case"hh":return t(e)?s+(r||i?"klukkustundir":"klukkustundum"):s+"klukkustund";case"d":return r?"dagur":i?"dag":"degi";case"dd":return t(e)?r?s+"dagar":s+(i?"daga":"d\xf6gum"):r?s+"dagur":s+(i?"dag":"degi");case"M":return r?"m\xe1nu\xf0ur":i?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return t(e)?r?s+"m\xe1nu\xf0ir":s+(i?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):r?s+"m\xe1nu\xf0ur":s+(i?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return r||i?"\xe1r":"\xe1ri";case"yy":return t(e)?s+(r||i?"\xe1r":"\xe1rum"):s+(r||i?"\xe1r":"\xe1ri")}}e.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:r,ss:r,m:r,mm:r,h:"klukkustund",hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r("wd/R"))},ByF4:function(e,t,r){!function(e){"use strict";e.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r("wd/R"))},CjzT:function(e,t,r){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),r="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?r[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(r("wd/R"))},CoRJ:function(e,t,r){!function(e){"use strict";e.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(r("wd/R"))},"D/JM":function(e,t,r){!function(e){"use strict";e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(r("wd/R"))},"DKr+":function(e,t,r){!function(e){"use strict";function t(e,t,r,n){var i={s:["thoddea sekondamni","thodde sekond"],ss:[e+" sekondamni",e+" sekond"],m:["eka mintan","ek minut"],mm:[e+" mintamni",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voramni",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disamni",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineamni",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsamni",e+" vorsam"]};return n?i[r][0]:i[r][1]}e.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokallim"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}})}(r("wd/R"))},Dkky:function(e,t,r){!function(e){"use strict";e.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(r("wd/R"))},Dmvi:function(e,t,r){!function(e){"use strict";e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:4}})}(r("wd/R"))},DoHr:function(e,t,r){!function(e){"use strict";var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};e.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(e,t,r){return e<12?r?"\xf6\xf6":"\xd6\xd6":r?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(e){return"\xf6s"===e||"\xd6S"===e},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(e,r){switch(r){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'\u0131nc\u0131";var n=e%10;return e+(t[n]||t[e%100-n]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(r("wd/R"))},DxQv:function(e,t,r){!function(e){"use strict";e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r("wd/R"))},Dzi0:function(e,t,r){!function(e){"use strict";e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(r("wd/R"))},"E+lV":function(e,t,r){!function(e){"use strict";var t={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u0435 \u043c\u0438\u043d\u0443\u0442\u0435"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0435","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],yy:["\u0433\u043e\u0434\u0438\u043d\u0430","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,r,n){var i=t.words[n];return 1===n.length?r?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}};e.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"\u0434\u0430\u043d",dd:t.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:t.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(r("wd/R"))},ELBg:function(e,t,r){"use strict";var n={single_source_shortest_paths:function(e,t,r){var i={},s={};s[t]=0;var a,o,l,c,d,u,h=n.PriorityQueue.make();for(h.push(t,0);!h.empty();)for(l in c=(a=h.pop()).cost,d=e[o=a.value]||{})d.hasOwnProperty(l)&&(u=c+d[l],(void 0===s[l]||s[l]>u)&&(s[l]=u,h.push(l,u),i[l]=o));if(void 0!==r&&void 0===s[r]){var f=["Could not find a path from ",t," to ",r,"."].join("");throw new Error(f)}return i},extract_shortest_path_from_predecessor_list:function(e,t){for(var r=[],n=t;n;)r.push(n),n=e[n];return r.reverse(),r},find_path:function(e,t,r){var i=n.single_source_shortest_paths(e,t,r);return n.extract_shortest_path_from_predecessor_list(i,r)},PriorityQueue:{make:function(e){var t,r=n.PriorityQueue,i={};for(t in e=e||{},r)r.hasOwnProperty(t)&&(i[t]=r[t]);return i.queue=[],i.sorter=e.sorter||r.default_sorter,i},default_sorter:function(e,t){return e.cost-t.cost},push:function(e,t){this.queue.push({value:e,cost:t}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};e.exports=n},EOgW:function(e,t,r){!function(e){"use strict";e.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(e){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===e},meridiem:function(e,t,r){return e<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(r("wd/R"))},Fnuy:function(e,t,r){!function(e){"use strict";e.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(e,t){var r=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"\xe8";return"w"!==t&&"W"!==t||(r="a"),e+r},week:{dow:1,doy:4}})}(r("wd/R"))},G0Uy:function(e,t,r){!function(e){"use strict";e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(r("wd/R"))},H8ED:function(e,t,r){!function(e){"use strict";function t(e,t,r){return"m"===r?t?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===r?t?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":e+" "+(n=+e,i={ss:t?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:t?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:t?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[r].split("_"),n%10==1&&n%100!=11?i[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?i[1]:i[2]);var n,i}e.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:t,mm:t,h:t,hh:t,d:"\u0434\u0437\u0435\u043d\u044c",dd:t,M:"\u043c\u0435\u0441\u044f\u0446",MM:t,y:"\u0433\u043e\u0434",yy:t},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(e)},meridiem:function(e,t,r){return e<4?"\u043d\u043e\u0447\u044b":e<12?"\u0440\u0430\u043d\u0456\u0446\u044b":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-\u044b":e+"-\u0456";case"D":return e+"-\u0433\u0430";default:return e}},week:{dow:1,doy:7}})}(r("wd/R"))},HP3h:function(e,t,r){!function(e){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},r=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},n={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},i=function(e){return function(t,i,s,a){var o=r(t),l=n[e][r(t)];return 2===o&&(l=l[i?0:1]),l.replace(/%d/i,t)}},s=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];e.defineLocale("ar-ly",{months:s,monthsShort:s,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,r){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(r("wd/R"))},IBtZ:function(e,t,r){!function(e){"use strict";e.defineLocale("ka",{months:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(e){return e.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,(function(e,t,r){return"\u10d8"===r?t+"\u10e8\u10d8":t+r+"\u10e8\u10d8"}))},past:function(e){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(e)?e.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(e)?e.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):e},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(e){return 0===e?e:1===e?e+"-\u10da\u10d8":e<20||e<=100&&e%20==0||e%100==0?"\u10db\u10d4-"+e:e+"-\u10d4"},week:{dow:1,doy:7}})}(r("wd/R"))},"Ivi+":function(e,t,r){!function(e){"use strict";e.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\uc77c";case"M":return e+"\uc6d4";case"w":case"W":return e+"\uc8fc";default:return e}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(e){return"\uc624\ud6c4"===e},meridiem:function(e,t,r){return e<12?"\uc624\uc804":"\uc624\ud6c4"}})}(r("wd/R"))},J6Nv:function(e,t){t.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}},"JCF/":function(e,t,r){!function(e){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},r={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},n=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];e.defineLocale("ku",{months:n,monthsShort:n,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(e){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(e)},meridiem:function(e,t,r){return e<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,(function(e){return r[e]})).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(r("wd/R"))},JVSJ:function(e,t,r){!function(e){"use strict";function t(e,t,r){var n=e+" ";switch(r){case"ss":return n+(1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi");case"m":return t?"jedna minuta":"jedne minute";case"mm":return n+(1===e?"minuta":2===e||3===e||4===e?"minute":"minuta");case"h":return t?"jedan sat":"jednog sata";case"hh":return n+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return n+(1===e?"dan":"dana");case"MM":return n+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return n+(1===e?"godina":2===e||3===e||4===e?"godine":"godina")}}e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(r("wd/R"))},JvlW:function(e,t,r){!function(e){"use strict";var t={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function r(e,t,r,n){return t?i(r)[0]:n?i(r)[1]:i(r)[2]}function n(e){return e%10==0||e>10&&e<20}function i(e){return t[e].split("_")}function s(e,t,s,a){var o=e+" ";return 1===e?o+r(0,t,s[0],a):t?o+(n(e)?i(s)[1]:i(s)[0]):a?o+i(s)[1]:o+(n(e)?i(s)[1]:i(s)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function(e,t,r,n){return t?"kelios sekund\u0117s":n?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:s,m:r,mm:s,h:r,hh:s,d:r,dd:s,M:r,MM:s,y:r,yy:s},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(r("wd/R"))},JzKC:function(e,t,r){var n=r("Wogr"),i=r("aZ40");t.mul=function(e,t){var r=new n(e.length+t.length-1);r.fill(0);for(var s=0;s=0;){for(var s=r[0],a=0;a=20?"ste":"de")},week:{dow:1,doy:4}})}(r("wd/R"))},KSF8:function(e,t,r){!function(e){"use strict";e.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,r){return e<12?r?"sa":"SA":r?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(r("wd/R"))},KTz0:function(e,t,r){!function(e){"use strict";var t={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,r,n){var i=t.words[n];return 1===n.length?r?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(r("wd/R"))},Loxo:function(e,t,r){!function(e){"use strict";e.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(r("wd/R"))},Lzq4:function(e,t,r){var n=r("u/Db"),i=r("e/Dd");function s(e){this.mode=n.KANJI,this.data=e}s.getBitsLength=function(e){return 13*e},s.prototype.getLength=function(){return this.data.length},s.prototype.getBitsLength=function(){return s.getBitsLength(this.data.length)},s.prototype.write=function(e){var t;for(t=0;t=33088&&r<=40956)r-=33088;else{if(!(r>=57408&&r<=60351))throw new Error("Invalid SJIS character: "+this.data[t]+"\nMake sure your charset is UTF-8");r-=49472}e.put(r=192*(r>>>8&255)+(255&r),13)}},e.exports=s},NPxG:function(e,t,r){var n=r("ekOh"),i=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],s=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];t.getBlocksCount=function(e,t){switch(t){case n.L:return i[4*(e-1)+0];case n.M:return i[4*(e-1)+1];case n.Q:return i[4*(e-1)+2];case n.H:return i[4*(e-1)+3];default:return}},t.getTotalCodewordsCount=function(e,t){switch(t){case n.L:return s[4*(e-1)+0];case n.M:return s[4*(e-1)+1];case n.Q:return s[4*(e-1)+2];case n.H:return s[4*(e-1)+3];default:return}}},OIYi:function(e,t,r){!function(e){"use strict";e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(r("wd/R"))},Oaa7:function(e,t,r){!function(e){"use strict";e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(r("wd/R"))},Ob0Z:function(e,t,r){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},r={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function n(e,t,r,n){var i="";if(t)switch(r){case"s":i="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":i="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":i="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":i="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":i="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":i="%d \u0924\u093e\u0938";break;case"d":i="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":i="%d \u0926\u093f\u0935\u0938";break;case"M":i="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":i="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":i="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":i="%d \u0935\u0930\u094d\u0937\u0947"}else switch(r){case"s":i="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":i="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":i="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":i="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":i="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":i="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":i="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":i="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":i="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":i="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":i="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":i="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return i.replace(/%d/i,e)}e.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u092a\u0939\u093e\u091f\u0947"===t||"\u0938\u0915\u093e\u0933\u0940"===t?e:"\u0926\u0941\u092a\u093e\u0930\u0940"===t||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===t||"\u0930\u093e\u0924\u094d\u0930\u0940"===t?e>=12?e:e+12:void 0},meridiem:function(e,t,r){return e>=0&&e<6?"\u092a\u0939\u093e\u091f\u0947":e<12?"\u0938\u0915\u093e\u0933\u0940":e<17?"\u0926\u0941\u092a\u093e\u0930\u0940":e<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(r("wd/R"))},OjkT:function(e,t,r){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},r={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};e.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924\u093f"===t?e<4?e:e+12:"\u092c\u093f\u0939\u093e\u0928"===t?e:"\u0926\u093f\u0909\u0901\u0938\u094b"===t?e>=10?e:e+12:"\u0938\u093e\u0901\u091d"===t?e+12:void 0},meridiem:function(e,t,r){return e<3?"\u0930\u093e\u0924\u093f":e<12?"\u092c\u093f\u0939\u093e\u0928":e<16?"\u0926\u093f\u0909\u0901\u0938\u094b":e<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(r("wd/R"))},OmwH:function(e,t,r){!function(e){"use strict";e.defineLocale("zh-mo",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e2d\u5348"===t?e>=11?e:e+12:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:void 0},meridiem:function(e,t,r){var n=100*e+t;return n<600?"\u51cc\u6668":n<900?"\u65e9\u4e0a":n<1130?"\u4e0a\u5348":n<1230?"\u4e2d\u5348":n<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(r("wd/R"))},Oxv6:function(e,t,r){!function(e){"use strict";var t={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};e.defineLocale("tg",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_")},monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u0424\u0430\u0440\u0434\u043e \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0448\u0430\u0431"===t?e<4?e:e+12:"\u0441\u0443\u0431\u04b3"===t?e:"\u0440\u04ef\u0437"===t?e>=11?e:e+12:"\u0431\u0435\u0433\u043e\u04b3"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"\u0448\u0430\u0431":e<11?"\u0441\u0443\u0431\u04b3":e<16?"\u0440\u04ef\u0437":e<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(r("wd/R"))},PA2r:function(e,t,r){!function(e){"use strict";var t="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),r="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),n=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],i=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function s(e){return e>1&&e<5&&1!=~~(e/10)}function a(e,t,r,n){var i=e+" ";switch(r){case"s":return t||n?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return t||n?i+(s(e)?"sekundy":"sekund"):i+"sekundami";case"m":return t?"minuta":n?"minutu":"minutou";case"mm":return t||n?i+(s(e)?"minuty":"minut"):i+"minutami";case"h":return t?"hodina":n?"hodinu":"hodinou";case"hh":return t||n?i+(s(e)?"hodiny":"hodin"):i+"hodinami";case"d":return t||n?"den":"dnem";case"dd":return t||n?i+(s(e)?"dny":"dn\xed"):i+"dny";case"M":return t||n?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return t||n?i+(s(e)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):i+"m\u011bs\xedci";case"y":return t||n?"rok":"rokem";case"yy":return t||n?i+(s(e)?"roky":"let"):i+"lety"}}e.defineLocale("cs",{months:t,monthsShort:r,monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r("wd/R"))},PeUW:function(e,t,r){!function(e){"use strict";var t={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},r={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};e.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(e){return e+"\u0bb5\u0ba4\u0bc1"},preparse:function(e){return e.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(e,t,r){return e<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":e<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":e<10?" \u0b95\u0bbe\u0bb2\u0bc8":e<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":e<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":e<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(e,t){return 12===e&&(e=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===t?e<2?e:e+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===t||"\u0b95\u0bbe\u0bb2\u0bc8"===t||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})}(r("wd/R"))},PpIw:function(e,t,r){!function(e){"use strict";var t={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},r={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};e.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(e){return e.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===t?e<4?e:e+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===t?e:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===t?e>=10?e:e+12:"\u0cb8\u0c82\u0c9c\u0cc6"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":e<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":e<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":e<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(e){return e+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(r("wd/R"))},QAZZ:function(e,t,r){var n=r("Rb7d");function i(e,t){var r=e.a/255,n=t+'="'+e.hex+'"';return r<1?n+" "+t+'-opacity="'+r.toFixed(2).slice(1)+'"':n}function s(e,t,r){var n=e+t;return void 0!==r&&(n+=" "+r),n}t.render=function(e,t,r){var a=n.getOptions(t),o=e.modules.size,l=e.modules.data,c=o+2*a.margin,d=a.color.light.a?"':"",u="0&&c>0&&e[l-1]||(n+=a?s("M",c+r,.5+d+r):s("m",i,0),i=0,a=!1),c+1',h=''+d+u+"\n";return"function"==typeof r&&r(null,h),h}},QUaw:function(e,t,r){var n=r("Rb7d");t.render=function(e,t,r){var i=r,s=t;void 0!==i||t&&t.getContext||(i=t,t=void 0),t||(s=function(){try{return document.createElement("canvas")}catch(e){throw new Error("You need to specify a canvas element")}}()),i=n.getOptions(i);var a=n.getImageWidth(e.modules.size,i),o=s.getContext("2d"),l=o.createImageData(a,a);return n.qrToImageData(l.data,e,i),function(e,t,r){e.clearRect(0,0,t.width,t.height),t.style||(t.style={}),t.height=r,t.width=r,t.style.height=r+"px",t.style.width=r+"px"}(o,s,a),o.putImageData(l,0,0),s},t.renderToDataURL=function(e,r,n){var i=n;return void 0!==i||r&&r.getContext||(i=r,r=void 0),i||(i={}),t.render(e,r,i).toDataURL(i.type||"image/png",(i.rendererOpts||{}).quality)}},QYcz:function(e,t,r){e.exports=function e(t,r,n){function i(a,o){if(!r[a]){if(!t[a]){if(s)return s(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var c=r[a]={exports:{}};t[a][0].call(c.exports,(function(e){return i(t[a][1][e]||e)}),c,c.exports,e,t,r,n)}return r[a].exports}for(var s=!1,a=0;a`Symbol(${e})`,n="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:void 0,i=Number.isNaN||function(e){return e!=e};function s(e){return"object"==typeof e&&null!==e||"function"==typeof e}function a(e,t,r){Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0})}function o(e){return e.slice()}function l(e,t,r,n,i){new Uint8Array(e).set(new Uint8Array(r,n,i),t)}function c(e){return!1!==function(e){return!("number"!=typeof e||i(e)||e<0)}(e)&&e!==1/0}function d(e,t,r){if("function"!=typeof e)throw new TypeError("Argument is not a function");return Function.prototype.apply.call(e,t,r)}function u(e,t,r,n){const i=e[t];if(void 0!==i){if("function"!=typeof i)throw new TypeError(i+" is not a method");switch(r){case 0:return()=>f(i,e,n);case 1:return t=>{const r=[t].concat(n);return f(i,e,r)}}}return()=>Promise.resolve()}function h(e,t,r){const n=e[t];if(void 0!==n)return d(n,e,r)}function f(e,t,r){try{return Promise.resolve(d(e,t,r))}catch(e){return Promise.reject(e)}}function m(e){if(e=Number(e),i(e)||e<0)throw new RangeError("highWaterMark property of a queuing strategy must be non-negative and non-NaN");return e}function p(e){if(void 0===e)return()=>1;if("function"!=typeof e)throw new TypeError("size property of a queuing strategy must be a function");return t=>e(t)}function _(e,t,r){return Promise.prototype.then.call(e,t,r)}function g(e,t,r){let n,i;const s=new Promise((e,t)=>{n=e,i=t});return void 0===r&&(r=e=>{throw e}),function(e,t,r){let n=!1;const i=e=>{!1===n&&(n=!0,r(e))};let s=0,a=0;const o=e.length,l=new Array(o);for(const c of e){const e=s;_(c,r=>{l[e]=r,++a===o&&t(l)},i),++s}}(e,e=>{try{const r=t(e);n(r)}catch(e){i(e)}},e=>{try{const t=r(e);n(t)}catch(e){i(e)}}),s}function y(e){}function b(e){e&&e instanceof y.AssertionError&&setTimeout(()=>{throw e},0)}function v(e){const t=e._queue.shift();return e._queueTotalSize-=t.size,e._queueTotalSize<0&&(e._queueTotalSize=0),t.value}function w(e,t,r){if(!c(r=Number(r)))throw new RangeError("Size must be a finite, non-NaN, non-negative number.");e._queue.push({value:t,size:r}),e._queueTotalSize+=r}function k(e){e._queue=[],e._queueTotalSize=0}y.AssertionError=function(){};const M=r("[[AbortSteps]]"),S=r("[[ErrorSteps]]");class x{constructor(e={},t={}){D(this);const r=t.size;let n=t.highWaterMark;if(void 0!==e.type)throw new RangeError("Invalid type is specified");const i=p(r);void 0===n&&(n=1),function(e,t,r,n){const i=Object.create(U.prototype),s=u(t,"write",1,[i]),a=u(t,"close",0,[]),o=u(t,"abort",1,[]);V(e,i,(function(){return h(t,"start",[i])}),s,a,o,r,n)}(this,e,n=m(n),i)}get locked(){if(!1===L(this))throw J("locked");return A(this)}abort(e){return!1===L(this)?Promise.reject(J("abort")):!0===A(this)?Promise.reject(new TypeError("Cannot abort a stream that already has a writer")):E(this,e)}getWriter(){if(!1===L(this))throw J("getWriter");return C(this)}}function C(e){return new j(e)}function D(e){e._state="writable",e._storedError=void 0,e._writer=void 0,e._writableStreamController=void 0,e._writeRequests=[],e._inFlightWriteRequest=void 0,e._closeRequest=void 0,e._inFlightCloseRequest=void 0,e._pendingAbortRequest=void 0,e._backpressure=!1}function L(e){return!!s(e)&&!!Object.prototype.hasOwnProperty.call(e,"_writableStreamController")}function A(e){return void 0!==e._writer}function E(e,t){const r=e._state;if("closed"===r||"errored"===r)return Promise.resolve(void 0);if(void 0!==e._pendingAbortRequest)return e._pendingAbortRequest._promise;let n=!1;"erroring"===r&&(n=!0,t=void 0);const i=new Promise((r,i)=>{e._pendingAbortRequest={_promise:void 0,_resolve:r,_reject:i,_reason:t,_wasAlreadyErroring:n}});return e._pendingAbortRequest._promise=i,!1===n&&P(e,t),i}function T(e,t){"writable"!==e._state?Y(e):P(e,t)}function P(e,t){const r=e._writableStreamController;e._state="erroring",e._storedError=t;const n=e._writer;void 0!==n&&N(n,t),!1===function(e){return void 0!==e._inFlightWriteRequest||void 0!==e._inFlightCloseRequest}(e)&&!0===r._started&&Y(e)}function Y(e){e._state="errored",e._writableStreamController[S]();const t=e._storedError;for(const n of e._writeRequests)n._reject(t);if(e._writeRequests=[],void 0===e._pendingAbortRequest)return void O(e);const r=e._pendingAbortRequest;if(e._pendingAbortRequest=void 0,!0===r._wasAlreadyErroring)return r._reject(t),void O(e);e._writableStreamController[M](r._reason).then(()=>{r._resolve(),O(e)},t=>{r._reject(t),O(e)})}function R(e){return void 0!==e._closeRequest||void 0!==e._inFlightCloseRequest}function O(e){void 0!==e._closeRequest&&(e._closeRequest._reject(e._storedError),e._closeRequest=void 0);const t=e._writer;void 0!==t&&re(t,e._storedError)}function I(e,t){const r=e._writer;void 0!==r&&t!==e._backpressure&&(!0===t?function(e){ie(e)}(r):le(r)),e._backpressure=t}class j{constructor(e){if(!1===L(e))throw new TypeError("WritableStreamDefaultWriter can only be constructed with a WritableStream instance");if(!0===A(e))throw new TypeError("This stream has already been locked for exclusive writing by another writer");this._ownerWritableStream=e,e._writer=this;const t=e._state;if("writable"===t)!1===R(e)&&!0===e._backpressure?ie(this):ae(this),ee(this);else if("erroring"===t)se(this,e._storedError),ee(this);else if("closed"===t)ae(this),function(e){ee(e),ne(e)}(this);else{const t=e._storedError;se(this,t),te(this,t)}}get closed(){return!1===F(this)?Promise.reject(Q("closed")):this._closedPromise}get desiredSize(){if(!1===F(this))throw Q("desiredSize");if(void 0===this._ownerWritableStream)throw X("desiredSize");return function(e){const t=e._ownerWritableStream,r=t._state;return"errored"===r||"erroring"===r?null:"closed"===r?0:W(t._writableStreamController)}(this)}get ready(){return!1===F(this)?Promise.reject(Q("ready")):this._readyPromise}abort(e){return!1===F(this)?Promise.reject(Q("abort")):void 0===this._ownerWritableStream?Promise.reject(X("abort")):function(e,t){return E(e._ownerWritableStream,t)}(this,e)}close(){if(!1===F(this))return Promise.reject(Q("close"));const e=this._ownerWritableStream;return void 0===e?Promise.reject(X("close")):!0===R(e)?Promise.reject(new TypeError("cannot close an already-closing stream")):H(this)}releaseLock(){if(!1===F(this))throw Q("releaseLock");void 0!==this._ownerWritableStream&&B(this)}write(e){return!1===F(this)?Promise.reject(Q("write")):void 0===this._ownerWritableStream?Promise.reject(X("write to")):z(this,e)}}function F(e){return!!s(e)&&!!Object.prototype.hasOwnProperty.call(e,"_ownerWritableStream")}function H(e){const t=e._ownerWritableStream,r=t._state;if("closed"===r||"errored"===r)return Promise.reject(new TypeError(`The stream (in ${r} state) is not in the writable state and cannot be closed`));const n=new Promise((e,r)=>{t._closeRequest={_resolve:e,_reject:r}});return!0===t._backpressure&&"writable"===r&&le(e),function(e){w(e,"close",0),q(e)}(t._writableStreamController),n}function N(e,t){"pending"===e._readyPromiseState?oe(e,t):function(e,t){se(e,t)}(e,t)}function B(e){const t=e._ownerWritableStream,r=new TypeError("Writer was released and can no longer be used to monitor the stream's closedness");N(e,r),function(e,t){"pending"===e._closedPromiseState?re(e,t):function(e,t){te(e,t)}(e,t)}(e,r),t._writer=void 0,e._ownerWritableStream=void 0}function z(e,t){const r=e._ownerWritableStream,n=r._writableStreamController,i=function(e,t){try{return e._strategySizeAlgorithm(t)}catch(t){return G(e,t),1}}(n,t);if(r!==e._ownerWritableStream)return Promise.reject(X("write to"));const s=r._state;if("errored"===s)return Promise.reject(r._storedError);if(!0===R(r)||"closed"===s)return Promise.reject(new TypeError("The stream is closing or closed and cannot be written to"));if("erroring"===s)return Promise.reject(r._storedError);const a=function(e){return new Promise((t,r)=>{e._writeRequests.push({_resolve:t,_reject:r})})}(r);return function(e,t,r){const n={chunk:t};try{w(e,n,r)}catch(t){return void G(e,t)}const i=e._controlledWritableStream;!1===R(i)&&"writable"===i._state&&I(i,$(e)),q(e)}(n,t,i),a}class U{constructor(){throw new TypeError("WritableStreamDefaultController cannot be constructed explicitly")}error(e){if(!1===function(e){return!!s(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledWritableStream")}(this))throw new TypeError("WritableStreamDefaultController.prototype.error can only be used on a WritableStreamDefaultController");"writable"===this._controlledWritableStream._state&&Z(this,e)}[M](e){const t=this._abortAlgorithm(e);return K(this),t}[S](){k(this)}}function V(e,t,r,n,i,s,a,o){t._controlledWritableStream=e,e._writableStreamController=t,t._queue=void 0,t._queueTotalSize=void 0,k(t),t._started=!1,t._strategySizeAlgorithm=o,t._strategyHWM=a,t._writeAlgorithm=n,t._closeAlgorithm=i,t._abortAlgorithm=s;const l=$(t);I(e,l);const c=r();Promise.resolve(c).then(()=>{t._started=!0,q(t)},r=>{t._started=!0,T(e,r)}).catch(b)}function K(e){e._writeAlgorithm=void 0,e._closeAlgorithm=void 0,e._abortAlgorithm=void 0,e._strategySizeAlgorithm=void 0}function W(e){return e._strategyHWM-e._queueTotalSize}function q(e){const t=e._controlledWritableStream;if(!1===e._started)return;if(void 0!==t._inFlightWriteRequest)return;const r=t._state;if("closed"===r||"errored"===r)return;if("erroring"===r)return void Y(t);if(0===e._queue.length)return;const n=function(e){return e._queue[0].value}(e);"close"===n?function(e){const t=e._controlledWritableStream;(function(e){e._inFlightCloseRequest=e._closeRequest,e._closeRequest=void 0})(t),v(e);const r=e._closeAlgorithm();K(e),r.then(()=>{!function(e){e._inFlightCloseRequest._resolve(void 0),e._inFlightCloseRequest=void 0,"erroring"===e._state&&(e._storedError=void 0,void 0!==e._pendingAbortRequest&&(e._pendingAbortRequest._resolve(),e._pendingAbortRequest=void 0)),e._state="closed";const t=e._writer;void 0!==t&&ne(t)}(t)},e=>{!function(e,t){e._inFlightCloseRequest._reject(t),e._inFlightCloseRequest=void 0,void 0!==e._pendingAbortRequest&&(e._pendingAbortRequest._reject(t),e._pendingAbortRequest=void 0),T(e,t)}(t,e)}).catch(b)}(e):function(e,t){const r=e._controlledWritableStream;(function(e){e._inFlightWriteRequest=e._writeRequests.shift()})(r),e._writeAlgorithm(t).then(()=>{!function(e){e._inFlightWriteRequest._resolve(void 0),e._inFlightWriteRequest=void 0}(r);const t=r._state;if(v(e),!1===R(r)&&"writable"===t){const t=$(e);I(r,t)}q(e)},t=>{"writable"===r._state&&K(e),function(e,t){e._inFlightWriteRequest._reject(t),e._inFlightWriteRequest=void 0,T(e,t)}(r,t)}).catch(b)}(e,n.chunk)}function G(e,t){"writable"===e._controlledWritableStream._state&&Z(e,t)}function $(e){return W(e)<=0}function Z(e,t){const r=e._controlledWritableStream;K(e),P(r,t)}function J(e){return new TypeError(`WritableStream.prototype.${e} can only be used on a WritableStream`)}function Q(e){return new TypeError(`WritableStreamDefaultWriter.prototype.${e} can only be used on a WritableStreamDefaultWriter`)}function X(e){return new TypeError("Cannot "+e+" a stream using a released writer")}function ee(e){e._closedPromise=new Promise((t,r)=>{e._closedPromise_resolve=t,e._closedPromise_reject=r,e._closedPromiseState="pending"})}function te(e,t){ee(e),re(e,t)}function re(e,t){e._closedPromise.catch(()=>{}),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromiseState="rejected"}function ne(e){e._closedPromise_resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromiseState="resolved"}function ie(e){e._readyPromise=new Promise((t,r)=>{e._readyPromise_resolve=t,e._readyPromise_reject=r}),e._readyPromiseState="pending"}function se(e,t){ie(e),oe(e,t)}function ae(e){ie(e),le(e)}function oe(e,t){e._readyPromise.catch(()=>{}),e._readyPromise_reject(t),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="rejected"}function le(e){e._readyPromise_resolve(void 0),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="fulfilled"}const ce=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e},de=r("[[CancelSteps]]"),ue=r("[[PullSteps]]");class he{constructor(e={},t={}){pe(this);const r=t.size;let n=t.highWaterMark;const i=e.type;if("bytes"===String(i)){if(void 0!==r)throw new RangeError("The strategy for a byte stream cannot have a size function");void 0===n&&(n=0),function(e,t,r){const n=Object.create(Ze.prototype),i=u(t,"pull",0,[n]),s=u(t,"cancel",1,[]);let a=t.autoAllocateChunkSize;if(void 0!==a&&(a=Number(a),!1===ce(a)||a<=0))throw new RangeError("autoAllocateChunkSize must be a positive integer");!function(e,t,r,n,i,s,a){t._controlledReadableByteStream=e,t._pullAgain=!1,t._pulling=!1,et(t),t._queue=t._queueTotalSize=void 0,k(t),t._closeRequested=!1,t._started=!1,t._strategyHWM=m(s),t._pullAlgorithm=n,t._cancelAlgorithm=i,t._autoAllocateChunkSize=a,t._pendingPullIntos=[],e._readableStreamController=t;const o=r();Promise.resolve(o).then(()=>{t._started=!0,Xe(t)},e=>{ht(t,e)}).catch(b)}(e,n,(function(){return h(t,"start",[n])}),i,s,r,a)}(this,e,n=m(n))}else{if(void 0!==i)throw new RangeError("Invalid type is specified");{const t=p(r);void 0===n&&(n=1),function(e,t,r,n){const i=Object.create(Fe.prototype),s=u(t,"pull",0,[i]),a=u(t,"cancel",1,[]);Ge(e,i,(function(){return h(t,"start",[i])}),s,a,r,n)}(this,e,n=m(n),t)}}}get locked(){if(!1===_e(this))throw pt("locked");return ge(this)}cancel(e){return!1===_e(this)?Promise.reject(pt("cancel")):!0===ge(this)?Promise.reject(new TypeError("Cannot cancel a stream that already has a reader")):we(this,e)}getReader({mode:e}={}){if(!1===_e(this))throw pt("getReader");if(void 0===e)return fe(this);if("byob"===(e=String(e)))return function(e){return new Te(e)}(this);throw new RangeError("Invalid mode is specified")}pipeThrough({writable:e,readable:t},{preventClose:r,preventAbort:n,preventCancel:i,signal:s}={}){if(!1===_e(this))throw pt("pipeThrough");if(!1===L(e))throw new TypeError("writable argument to pipeThrough must be a WritableStream");if(!1===_e(t))throw new TypeError("readable argument to pipeThrough must be a ReadableStream");if(r=Boolean(r),n=Boolean(n),i=Boolean(i),void 0!==s&&!mt(s))throw new TypeError("ReadableStream.prototype.pipeThrough's signal option must be an AbortSignal");if(!0===ge(this))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream");if(!0===A(e))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream");return ye(this,e,r,n,i,s).catch(()=>{}),t}pipeTo(e,{preventClose:t,preventAbort:r,preventCancel:n,signal:i}={}){return!1===_e(this)?Promise.reject(pt("pipeTo")):!1===L(e)?Promise.reject(new TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream")):(t=Boolean(t),r=Boolean(r),n=Boolean(n),void 0===i||mt(i)?!0===ge(this)?Promise.reject(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream")):!0===A(e)?Promise.reject(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream")):ye(this,e,t,r,n,i):Promise.reject(new TypeError("ReadableStream.prototype.pipeTo's signal option must be an AbortSignal")))}tee(){if(!1===_e(this))throw pt("tee");const e=function(e,t){const r=fe(e);let n,i,s,a,l,c=!1,d=!1,u=!1;const h=new Promise(e=>{l=e});function f(){return je(r).then(e=>{const t=e.value;if(!0===e.done&&!1===c&&(!1===d&&Ue(s._readableStreamController),!1===u&&Ue(a._readableStreamController),c=!0),!0===c)return;const r=t;!1===d&&Ve(s._readableStreamController,t),!1===u&&Ve(a._readableStreamController,r)})}function m(){}return s=me(m,f,(function(t){if(d=!0,n=t,!0===u){const t=o([n,i]),r=we(e,t);l(r)}return h})),a=me(m,f,(function(t){if(u=!0,i=t,!0===d){const t=o([n,i]),r=we(e,t);l(r)}return h})),r._closedPromise.catch(e=>{!0!==c&&(Ke(s._readableStreamController,e),Ke(a._readableStreamController,e),c=!0)}),[s,a]}(this);return o(e)}}function fe(e){return new Ee(e)}function me(e,t,r,n=1,i=(()=>1)){const s=Object.create(he.prototype);return pe(s),Ge(s,Object.create(Fe.prototype),e,t,r,n,i),s}function pe(e){e._state="readable",e._reader=void 0,e._storedError=void 0,e._disturbed=!1}function _e(e){return!!s(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readableStreamController")}function ge(e){return void 0!==e._reader}function ye(e,t,r,n,i,s){const a=fe(e),o=C(t);let l=!1,c=Promise.resolve();return new Promise((d,u)=>{let h;if(void 0!==s){if(h=()=>{const r=new DOMException("Aborted","AbortError"),s=[];!1===n&&s.push(()=>"writable"===t._state?E(t,r):Promise.resolve()),!1===i&&s.push(()=>"readable"===e._state?we(e,r):Promise.resolve()),p(()=>g(s.map(e=>e()),e=>e),!0,r)},!0===s.aborted)return void h();s.addEventListener("abort",h)}if(m(e,a._closedPromise,e=>{!1===n?p(()=>E(t,e),!0,e):_(!0,e)}),m(t,o._closedPromise,t=>{!1===i?p(()=>we(e,t),!0,t):_(!0,t)}),function(e,t,r){"closed"===e._state?r():t.then(r).catch(b)}(e,a._closedPromise,()=>{!1===r?p(()=>function(e){const t=e._ownerWritableStream,r=t._state;return!0===R(t)||"closed"===r?Promise.resolve():"errored"===r?Promise.reject(t._storedError):H(e)}(o)):_()}),!0===R(t)||"closed"===t._state){const t=new TypeError("the destination writable stream closed before all data could be piped to it");!1===i?p(()=>we(e,t),!0,t):_(!0,t)}function f(){const e=c;return c.then(()=>e!==c?f():void 0)}function m(e,t,r){"errored"===e._state?r(e._storedError):t.catch(r).catch(b)}function p(e,r,n){function i(){e().then(()=>y(r,n),e=>y(!0,e)).catch(b)}!0!==l&&(l=!0,"writable"===t._state&&!1===R(t)?f().then(i):i())}function _(e,r){!0!==l&&(l=!0,"writable"===t._state&&!1===R(t)?f().then(()=>y(e,r)).catch(b):y(e,r))}function y(e,t){B(o),Ie(a),void 0!==s&&s.removeEventListener("abort",h),e?u(t):d(void 0)}new Promise((e,t)=>{!function r(n){n?e():(!0===l?Promise.resolve(!0):o._readyPromise.then(()=>je(a).then(({value:e,done:t})=>!0===t||(c=z(o,e).catch(()=>{}),!1)))).then(r,t)}(!1)}).catch(e=>{c=Promise.resolve(),b(e)})})}function be(e,t){return new Promise((r,n)=>{e._reader._readIntoRequests.push({_resolve:r,_reject:n,_forAuthorCode:t})})}function ve(e,t){return new Promise((r,n)=>{e._reader._readRequests.push({_resolve:r,_reject:n,_forAuthorCode:t})})}function we(e,t){return e._disturbed=!0,"closed"===e._state?Promise.resolve(void 0):"errored"===e._state?Promise.reject(e._storedError):(ke(e),e._readableStreamController[de](t).then(()=>{}))}function ke(e){e._state="closed";const t=e._reader;if(void 0!==t){if(Ye(t)){for(const e of t._readRequests)(0,e._resolve)(Me(void 0,!0,e._forAuthorCode));t._readRequests=[]}wt(t)}}function Me(e,t,r){let n=null;!0===r&&(n=Object.prototype);const i=Object.create(n);return Object.defineProperty(i,"value",{value:e,enumerable:!0,writable:!0,configurable:!0}),Object.defineProperty(i,"done",{value:t,enumerable:!0,writable:!0,configurable:!0}),i}function Se(e,t){e._state="errored",e._storedError=t;const r=e._reader;if(void 0!==r){if(Ye(r)){for(const e of r._readRequests)e._reject(t);r._readRequests=[]}else{for(const e of r._readIntoRequests)e._reject(t);r._readIntoRequests=[]}vt(r,t)}}function xe(e,t,r){const n=e._reader._readRequests.shift();n._resolve(Me(t,r,n._forAuthorCode))}function Ce(e){return e._reader._readIntoRequests.length}function De(e){return e._reader._readRequests.length}function Le(e){const t=e._reader;return void 0!==t&&!!Pe(t)}function Ae(e){const t=e._reader;return void 0!==t&&!!Ye(t)}class Ee{constructor(e){if(!1===_e(e))throw new TypeError("ReadableStreamDefaultReader can only be constructed with a ReadableStream instance");if(!0===ge(e))throw new TypeError("This stream has already been locked for exclusive reading by another reader");Re(this,e),this._readRequests=[]}get closed(){return Ye(this)?this._closedPromise:Promise.reject(gt("closed"))}cancel(e){return Ye(this)?void 0===this._ownerReadableStream?Promise.reject(_t("cancel")):Oe(this,e):Promise.reject(gt("cancel"))}read(){return Ye(this)?void 0===this._ownerReadableStream?Promise.reject(_t("read from")):je(this,!0):Promise.reject(gt("read"))}releaseLock(){if(!Ye(this))throw gt("releaseLock");if(void 0!==this._ownerReadableStream){if(this._readRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");Ie(this)}}}class Te{constructor(e){if(!_e(e))throw new TypeError("ReadableStreamBYOBReader can only be constructed with a ReadableStream instance given a byte source");if(!1===Je(e._readableStreamController))throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");if(ge(e))throw new TypeError("This stream has already been locked for exclusive reading by another reader");Re(this,e),this._readIntoRequests=[]}get closed(){return Pe(this)?this._closedPromise:Promise.reject(kt("closed"))}cancel(e){return Pe(this)?void 0===this._ownerReadableStream?Promise.reject(_t("cancel")):Oe(this,e):Promise.reject(kt("cancel"))}read(e){return Pe(this)?void 0===this._ownerReadableStream?Promise.reject(_t("read from")):ArrayBuffer.isView(e)?0===e.byteLength?Promise.reject(new TypeError("view must have non-zero byteLength")):function(e,t,r=!1){const n=e._ownerReadableStream;return n._disturbed=!0,"errored"===n._state?Promise.reject(n._storedError):function(e,t,r){const n=e._controlledReadableByteStream;let i=1;t.constructor!==DataView&&(i=t.constructor.BYTES_PER_ELEMENT);const s=t.constructor,a={buffer:t.buffer,byteOffset:t.byteOffset,byteLength:t.byteLength,bytesFilled:0,elementSize:i,ctor:s,readerType:"byob"};if(e._pendingPullIntos.length>0)return e._pendingPullIntos.push(a),be(n,r);if("closed"===n._state){const e=new s(a.buffer,a.byteOffset,0);return Promise.resolve(Me(e,!0,r))}if(e._queueTotalSize>0){if(!0===it(e,a)){const t=rt(a);return at(e),Promise.resolve(Me(t,!1,r))}if(!0===e._closeRequested){const t=new TypeError("Insufficient bytes to fill elements in the given buffer");return ht(e,t),Promise.reject(t)}}e._pendingPullIntos.push(a);const o=be(n,r);return Xe(e),o}(n._readableStreamController,t,r)}(this,e,!0):Promise.reject(new TypeError("view must be an array buffer view")):Promise.reject(kt("read"))}releaseLock(){if(!Pe(this))throw kt("releaseLock");if(void 0!==this._ownerReadableStream){if(this._readIntoRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");Ie(this)}}}function Pe(e){return!!s(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readIntoRequests")}function Ye(e){return!!s(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readRequests")}function Re(e,t){e._ownerReadableStream=t,t._reader=e,"readable"===t._state?yt(e):"closed"===t._state?function(e){yt(e),wt(e)}(e):bt(e,t._storedError)}function Oe(e,t){return we(e._ownerReadableStream,t)}function Ie(e){"readable"===e._ownerReadableStream._state?vt(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):function(e,t){bt(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness"))}(e),e._ownerReadableStream._reader=void 0,e._ownerReadableStream=void 0}function je(e,t=!1){const r=e._ownerReadableStream;return r._disturbed=!0,"closed"===r._state?Promise.resolve(Me(void 0,!0,t)):"errored"===r._state?Promise.reject(r._storedError):r._readableStreamController[ue](t)}class Fe{constructor(){throw new TypeError}get desiredSize(){if(!1===He(this))throw Mt("desiredSize");return We(this)}close(){if(!1===He(this))throw Mt("close");if(!1===qe(this))throw new TypeError("The stream is not in a state that permits close");Ue(this)}enqueue(e){if(!1===He(this))throw Mt("enqueue");if(!1===qe(this))throw new TypeError("The stream is not in a state that permits enqueue");return Ve(this,e)}error(e){if(!1===He(this))throw Mt("error");Ke(this,e)}[de](e){k(this);const t=this._cancelAlgorithm(e);return ze(this),t}[ue](e){const t=this._controlledReadableStream;if(this._queue.length>0){const r=v(this);return!0===this._closeRequested&&0===this._queue.length?(ze(this),ke(t)):Ne(this),Promise.resolve(Me(r,!1,e))}const r=ve(t,e);return Ne(this),r}}function He(e){return!!s(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledReadableStream")}function Ne(e){!1!==Be(e)&&(!0!==e._pulling?(e._pulling=!0,e._pullAlgorithm().then(()=>{if(e._pulling=!1,!0===e._pullAgain)return e._pullAgain=!1,Ne(e)},t=>{Ke(e,t)}).catch(b)):e._pullAgain=!0)}function Be(e){const t=e._controlledReadableStream;return!1!==qe(e)&&!1!==e._started&&(!0===ge(t)&&De(t)>0||We(e)>0)}function ze(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0,e._strategySizeAlgorithm=void 0}function Ue(e){const t=e._controlledReadableStream;e._closeRequested=!0,0===e._queue.length&&(ze(e),ke(t))}function Ve(e,t){const r=e._controlledReadableStream;if(!0===ge(r)&&De(r)>0)xe(r,t,!1);else{let r;try{r=e._strategySizeAlgorithm(t)}catch(t){throw Ke(e,t),t}try{w(e,t,r)}catch(t){throw Ke(e,t),t}}Ne(e)}function Ke(e,t){const r=e._controlledReadableStream;"readable"===r._state&&(k(e),ze(e),Se(r,t))}function We(e){const t=e._controlledReadableStream._state;return"errored"===t?null:"closed"===t?0:e._strategyHWM-e._queueTotalSize}function qe(e){return!1===e._closeRequested&&"readable"===e._controlledReadableStream._state}function Ge(e,t,r,n,i,s,a){t._controlledReadableStream=e,t._queue=void 0,t._queueTotalSize=void 0,k(t),t._started=!1,t._closeRequested=!1,t._pullAgain=!1,t._pulling=!1,t._strategySizeAlgorithm=a,t._strategyHWM=s,t._pullAlgorithm=n,t._cancelAlgorithm=i,e._readableStreamController=t;const o=r();Promise.resolve(o).then(()=>{t._started=!0,Ne(t)},e=>{Ke(t,e)}).catch(b)}class $e{constructor(){throw new TypeError("ReadableStreamBYOBRequest cannot be used directly")}get view(){if(!1===Qe(this))throw St("view");return this._view}respond(e){if(!1===Qe(this))throw St("respond");if(void 0===this._associatedReadableByteStreamController)throw new TypeError("This BYOB request has been invalidated");!function(e,t){if(!1===c(t=Number(t)))throw new RangeError("bytesWritten must be a finite");ct(e,t)}(this._associatedReadableByteStreamController,e)}respondWithNewView(e){if(!1===Qe(this))throw St("respond");if(void 0===this._associatedReadableByteStreamController)throw new TypeError("This BYOB request has been invalidated");if(!ArrayBuffer.isView(e))throw new TypeError("You can only respond with array buffer views");!function(e,t){const r=e._pendingPullIntos[0];if(r.byteOffset+r.bytesFilled!==t.byteOffset)throw new RangeError("The region specified by view does not match byobRequest");if(r.byteLength!==t.byteLength)throw new RangeError("The buffer of view has different capacity than byobRequest");r.buffer=t.buffer,ct(e,t.byteLength)}(this._associatedReadableByteStreamController,e)}}class Ze{constructor(){throw new TypeError("ReadableByteStreamController constructor cannot be used directly")}get byobRequest(){if(!1===Je(this))throw xt("byobRequest");if(void 0===this._byobRequest&&this._pendingPullIntos.length>0){const e=this._pendingPullIntos[0],t=new Uint8Array(e.buffer,e.byteOffset+e.bytesFilled,e.byteLength-e.bytesFilled),r=Object.create($e.prototype);!function(e,t,r){e._associatedReadableByteStreamController=t,e._view=r}(r,this,t),this._byobRequest=r}return this._byobRequest}get desiredSize(){if(!1===Je(this))throw xt("desiredSize");return ft(this)}close(){if(!1===Je(this))throw xt("close");if(!0===this._closeRequested)throw new TypeError("The stream has already been closed; do not close it again!");const e=this._controlledReadableByteStream._state;if("readable"!==e)throw new TypeError(`The stream (in ${e} state) is not in the readable state and cannot be closed`);!function(e){const t=e._controlledReadableByteStream;if(e._queueTotalSize>0)e._closeRequested=!0;else{if(e._pendingPullIntos.length>0&&e._pendingPullIntos[0].bytesFilled>0){const t=new TypeError("Insufficient bytes to fill elements in the given buffer");throw ht(e,t),t}ut(e),ke(t)}}(this)}enqueue(e){if(!1===Je(this))throw xt("enqueue");if(!0===this._closeRequested)throw new TypeError("stream is closed or draining");const t=this._controlledReadableByteStream._state;if("readable"!==t)throw new TypeError(`The stream (in ${t} state) is not in the readable state and cannot be enqueued to`);if(!ArrayBuffer.isView(e))throw new TypeError("You can only enqueue array buffer views when using a ReadableByteStreamController");!function(e,t){const r=e._controlledReadableByteStream,n=t.byteOffset,i=t.byteLength,s=t.buffer;!0===Ae(r)?0===De(r)?nt(e,s,n,i):xe(r,new Uint8Array(s,n,i),!1):!0===Le(r)?(nt(e,s,n,i),lt(e)):nt(e,s,n,i),Xe(e)}(this,e)}error(e){if(!1===Je(this))throw xt("error");ht(this,e)}[de](e){this._pendingPullIntos.length>0&&(this._pendingPullIntos[0].bytesFilled=0),k(this);const t=this._cancelAlgorithm(e);return ut(this),t}[ue](e){const t=this._controlledReadableByteStream;if(this._queueTotalSize>0){const t=this._queue.shift();let r;this._queueTotalSize-=t.byteLength,at(this);try{r=new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}catch(e){return Promise.reject(e)}return Promise.resolve(Me(r,!1,e))}const r=this._autoAllocateChunkSize;if(void 0!==r){let t;try{t=new ArrayBuffer(r)}catch(e){return Promise.reject(e)}const n={buffer:t,byteOffset:0,byteLength:r,bytesFilled:0,elementSize:1,ctor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(n)}const n=ve(t,e);return Xe(this),n}}function Je(e){return!!s(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledReadableByteStream")}function Qe(e){return!!s(e)&&!!Object.prototype.hasOwnProperty.call(e,"_associatedReadableByteStreamController")}function Xe(e){!1!==function(e){const t=e._controlledReadableByteStream;return"readable"===t._state&&!0!==e._closeRequested&&!1!==e._started&&(!0===Ae(t)&&De(t)>0||!0===Le(t)&&Ce(t)>0||ft(e)>0)}(e)&&(!0!==e._pulling?(e._pulling=!0,e._pullAlgorithm().then(()=>{e._pulling=!1,!0===e._pullAgain&&(e._pullAgain=!1,Xe(e))},t=>{ht(e,t)}).catch(b)):e._pullAgain=!0)}function et(e){ot(e),e._pendingPullIntos=[]}function tt(e,t){let r=!1;"closed"===e._state&&(r=!0);const n=rt(t);"default"===t.readerType?xe(e,n,r):function(e,t,r){const n=e._reader._readIntoRequests.shift();n._resolve(Me(t,r,n._forAuthorCode))}(e,n,r)}function rt(e){return new e.ctor(e.buffer,e.byteOffset,e.bytesFilled/e.elementSize)}function nt(e,t,r,n){e._queue.push({buffer:t,byteOffset:r,byteLength:n}),e._queueTotalSize+=n}function it(e,t){const r=t.elementSize,n=t.bytesFilled-t.bytesFilled%r,i=Math.min(e._queueTotalSize,t.byteLength-t.bytesFilled),s=t.bytesFilled+i,a=s-s%r;let o=i,c=!1;a>n&&(o=a-t.bytesFilled,c=!0);const d=e._queue;for(;o>0;){const r=d[0],n=Math.min(o,r.byteLength);l(t.buffer,t.byteOffset+t.bytesFilled,r.buffer,r.byteOffset,n),r.byteLength===n?d.shift():(r.byteOffset+=n,r.byteLength-=n),e._queueTotalSize-=n,st(e,n,t),o-=n}return c}function st(e,t,r){ot(e),r.bytesFilled+=t}function at(e){0===e._queueTotalSize&&!0===e._closeRequested?(ut(e),ke(e._controlledReadableByteStream)):Xe(e)}function ot(e){void 0!==e._byobRequest&&(e._byobRequest._associatedReadableByteStreamController=void 0,e._byobRequest._view=void 0,e._byobRequest=void 0)}function lt(e){for(;e._pendingPullIntos.length>0;){if(0===e._queueTotalSize)return;const t=e._pendingPullIntos[0];!0===it(e,t)&&(dt(e),tt(e._controlledReadableByteStream,t))}}function ct(e,t){const r=e._pendingPullIntos[0];if("closed"===e._controlledReadableByteStream._state){if(0!==t)throw new TypeError("bytesWritten must be 0 when calling respond() on a closed stream");!function(e,t){t.buffer=t.buffer;const r=e._controlledReadableByteStream;if(!0===Le(r))for(;Ce(r)>0;)tt(r,dt(e))}(e,r)}else!function(e,t,r){if(r.bytesFilled+t>r.byteLength)throw new RangeError("bytesWritten out of range");if(st(e,t,r),r.bytesFilled0){const t=r.byteOffset+r.bytesFilled,i=r.buffer.slice(t-n,t);nt(e,i,0,i.byteLength)}r.buffer=r.buffer,r.bytesFilled-=n,tt(e._controlledReadableByteStream,r),lt(e)}(e,t,r);Xe(e)}function dt(e){const t=e._pendingPullIntos.shift();return ot(e),t}function ut(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0}function ht(e,t){const r=e._controlledReadableByteStream;"readable"===r._state&&(et(e),k(e),ut(e),Se(r,t))}function ft(e){const t=e._controlledReadableByteStream._state;return"errored"===t?null:"closed"===t?0:e._strategyHWM-e._queueTotalSize}function mt(e){if("object"!=typeof e||null===e)return!1;const t=Object.getOwnPropertyDescriptor(AbortSignal.prototype,"aborted").get;try{return t.call(e),!0}catch(e){return!1}}function pt(e){return new TypeError(`ReadableStream.prototype.${e} can only be used on a ReadableStream`)}function _t(e){return new TypeError("Cannot "+e+" a stream using a released reader")}function gt(e){return new TypeError(`ReadableStreamDefaultReader.prototype.${e} can only be used on a ReadableStreamDefaultReader`)}function yt(e){e._closedPromise=new Promise((t,r)=>{e._closedPromise_resolve=t,e._closedPromise_reject=r})}function bt(e,t){yt(e),vt(e,t)}function vt(e,t){e._closedPromise.catch(()=>{}),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0}function wt(e){e._closedPromise_resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0}function kt(e){return new TypeError(`ReadableStreamBYOBReader.prototype.${e} can only be used on a ReadableStreamBYOBReader`)}function Mt(e){return new TypeError(`ReadableStreamDefaultController.prototype.${e} can only be used on a ReadableStreamDefaultController`)}function St(e){return new TypeError(`ReadableStreamBYOBRequest.prototype.${e} can only be used on a ReadableStreamBYOBRequest`)}function xt(e){return new TypeError(`ReadableByteStreamController.prototype.${e} can only be used on a ReadableByteStreamController`)}class Ct{constructor({highWaterMark:e}){a(this,"highWaterMark",e)}size(e){return e.byteLength}}class Dt{constructor({highWaterMark:e}){a(this,"highWaterMark",e)}size(){return 1}}class Lt{constructor(e={},t={},r={}){const n=t.size;let i=t.highWaterMark;const s=r.size;let a=r.highWaterMark;if(void 0!==e.writableType)throw new RangeError("Invalid writable type specified");const o=p(n);if(void 0===i&&(i=1),i=m(i),void 0!==e.readableType)throw new RangeError("Invalid readable type specified");const l=p(s);let c;void 0===a&&(a=0),a=m(a),function(e,t,r,n,i,s){function a(){return t}e._writable=function(e,t,r,n,i=1,s=(()=>1)){const a=Object.create(x.prototype);return D(a),V(a,Object.create(U.prototype),e,t,r,n,i,s),a}(a,(function(t){return function(e,t){const r=e._transformStreamController;return!0===e._backpressure?e._backpressureChangePromise.then(()=>{const n=e._writable;if("erroring"===n._state)throw n._storedError;return jt(r,t)}):jt(r,t)}(e,t)}),(function(){return function(e){const t=e._readable,r=e._transformStreamController,n=r._flushAlgorithm();return Ot(r),n.then(()=>{if("errored"===t._state)throw t._storedError;const e=t._readableStreamController;!0===qe(e)&&Ue(e)}).catch(r=>{throw Et(e,r),t._storedError})}(e)}),(function(t){return function(e,t){return Et(e,t),Promise.resolve()}(e,t)}),r,n),e._readable=me(a,(function(){return function(e){return Pt(e,!1),e._backpressureChangePromise}(e)}),(function(t){return Tt(e,t),Promise.resolve()}),i,s),e._backpressure=void 0,e._backpressureChangePromise=void 0,e._backpressureChangePromise_resolve=void 0,Pt(e,!0),e._transformStreamController=void 0}(this,new Promise(e=>{c=e}),i,o,a,l),function(e,t){const r=Object.create(Yt.prototype);let n=e=>{try{return It(r,e),Promise.resolve()}catch(e){return Promise.reject(e)}};const i=t.transform;if(void 0!==i){if("function"!=typeof i)throw new TypeError("transform is not a method");n=e=>f(i,t,[e,r])}const s=u(t,"flush",0,[r]);!function(e,t,r,n){t._controlledTransformStream=e,e._transformStreamController=t,t._transformAlgorithm=r,t._flushAlgorithm=n}(e,r,n,s)}(this,e);const d=h(e,"start",[this._transformStreamController]);c(d)}get readable(){if(!1===At(this))throw Ht("readable");return this._readable}get writable(){if(!1===At(this))throw Ht("writable");return this._writable}}function At(e){return!!s(e)&&!!Object.prototype.hasOwnProperty.call(e,"_transformStreamController")}function Et(e,t){Ke(e._readable._readableStreamController,t),Tt(e,t)}function Tt(e,t){Ot(e._transformStreamController),G(e._writable._writableStreamController,t),!0===e._backpressure&&Pt(e,!1)}function Pt(e,t){void 0!==e._backpressureChangePromise&&e._backpressureChangePromise_resolve(),e._backpressureChangePromise=new Promise(t=>{e._backpressureChangePromise_resolve=t}),e._backpressure=t}class Yt{constructor(){throw new TypeError("TransformStreamDefaultController instances cannot be created directly")}get desiredSize(){if(!1===Rt(this))throw Ft("desiredSize");return We(this._controlledTransformStream._readable._readableStreamController)}enqueue(e){if(!1===Rt(this))throw Ft("enqueue");It(this,e)}error(e){if(!1===Rt(this))throw Ft("error");!function(e,t){Et(e._controlledTransformStream,t)}(this,e)}terminate(){if(!1===Rt(this))throw Ft("terminate");!function(e){const t=e._controlledTransformStream,r=t._readable._readableStreamController;!0===qe(r)&&Ue(r),Tt(t,new TypeError("TransformStream terminated"))}(this)}}function Rt(e){return!!s(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledTransformStream")}function Ot(e){e._transformAlgorithm=void 0,e._flushAlgorithm=void 0}function It(e,t){const r=e._controlledTransformStream,n=r._readable._readableStreamController;if(!1===qe(n))throw new TypeError("Readable side is not in a state that permits enqueue");try{Ve(n,t)}catch(e){throw Tt(r,e),r._readable._storedError}(function(e){return!0!==Be(e)})(n)!==r._backpressure&&Pt(r,!0)}function jt(e,t){return e._transformAlgorithm(t).catch(t=>{throw Et(e._controlledTransformStream,t),t})}function Ft(e){return new TypeError(`TransformStreamDefaultController.prototype.${e} can only be used on a TransformStreamDefaultController`)}function Ht(e){return new TypeError(`TransformStream.prototype.${e} can only be used on a TransformStream`)}void 0!==n&&Object.assign(n,{ReadableStream:he,WritableStream:x,ByteLengthQueuingStrategy:Ct,CountQueuingStrategy:Dt,TransformStream:Lt}),t.ReadableStream=he,t.WritableStream=x,t.ByteLengthQueuingStrategy=Ct,t.CountQueuingStrategy=Dt,t.TransformStream=Lt,Object.defineProperty(t,"__esModule",{value:!0})}("object"==typeof r&&void 0!==t?r:(n=n||self).WebStreamsPolyfill={})}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.AES_asm=function(){var e,t,r=!1;function n(r,n){var i=e[(t[r]+t[n])%255];return 0!==r&&0!==n||(i=0),i}var i,s,a,o,l=!1;var c=function(c,d){l||function(){function c(r){var n,i,s;for(i=s=function(r){var n=e[255-t[r]];return 0===r&&(n=0),n}(r),n=0;n<4;n++)s^=i=255&(i<<1|i>>>7);return 99^s}r||function(){e=[],t=[];var n,i,s=1;for(n=0;n<255;n++)e[n]=s,i=128&s,s<<=1,s&=255,128===i&&(s^=27),s^=e[n],t[e[n]]=n;e[255]=e[0],t[0]=0,r=!0}(),i=[],s=[],a=[[],[],[],[]],o=[[],[],[],[]];for(var d=0;d<256;d++){var u=c(d);i[d]=u,s[u]=d,a[0][d]=n(2,u)<<24|u<<16|u<<8|n(3,u),o[0][u]=n(14,d)<<24|n(9,d)<<16|n(13,d)<<8|n(11,d);for(var h=1;h<4;h++)a[h][d]=a[h-1][d]>>>8|a[h-1][d]<<24,o[h][u]=o[h-1][u]>>>8|o[h-1][u]<<24}l=!0}();var u=new Uint32Array(d);u.set(i,512),u.set(s,768);for(var h=0;h<4;h++)u.set(a[h],4096+1024*h>>2),u.set(o[h],8192+1024*h>>2);var f=function(e,t,r){"use asm";var n=0,i=0,s=0,a=0,o=0,l=0,c=0,d=0,u=0,h=0,f=0,m=0,p=0,_=0,g=0,y=0,b=0,v=0,w=0,k=0,M=0;var S=new e.Uint32Array(r),x=new e.Uint8Array(r);function C(e,t,r,o,l,c,d,u){e=e|0;t=t|0;r=r|0;o=o|0;l=l|0;c=c|0;d=d|0;u=u|0;var h=0,f=0,m=0,p=0,_=0,g=0,y=0,b=0;h=r|0x400,f=r|0x800,m=r|0xc00;l=l^S[(e|0)>>2],c=c^S[(e|4)>>2],d=d^S[(e|8)>>2],u=u^S[(e|12)>>2];for(b=16;(b|0)<=o<<4;b=b+16|0){p=S[(r|l>>22&1020)>>2]^S[(h|c>>14&1020)>>2]^S[(f|d>>6&1020)>>2]^S[(m|u<<2&1020)>>2]^S[(e|b|0)>>2],_=S[(r|c>>22&1020)>>2]^S[(h|d>>14&1020)>>2]^S[(f|u>>6&1020)>>2]^S[(m|l<<2&1020)>>2]^S[(e|b|4)>>2],g=S[(r|d>>22&1020)>>2]^S[(h|u>>14&1020)>>2]^S[(f|l>>6&1020)>>2]^S[(m|c<<2&1020)>>2]^S[(e|b|8)>>2],y=S[(r|u>>22&1020)>>2]^S[(h|l>>14&1020)>>2]^S[(f|c>>6&1020)>>2]^S[(m|d<<2&1020)>>2]^S[(e|b|12)>>2];l=p,c=_,d=g,u=y}n=S[(t|l>>22&1020)>>2]<<24^S[(t|c>>14&1020)>>2]<<16^S[(t|d>>6&1020)>>2]<<8^S[(t|u<<2&1020)>>2]^S[(e|b|0)>>2],i=S[(t|c>>22&1020)>>2]<<24^S[(t|d>>14&1020)>>2]<<16^S[(t|u>>6&1020)>>2]<<8^S[(t|l<<2&1020)>>2]^S[(e|b|4)>>2],s=S[(t|d>>22&1020)>>2]<<24^S[(t|u>>14&1020)>>2]<<16^S[(t|l>>6&1020)>>2]<<8^S[(t|c<<2&1020)>>2]^S[(e|b|8)>>2],a=S[(t|u>>22&1020)>>2]<<24^S[(t|l>>14&1020)>>2]<<16^S[(t|c>>6&1020)>>2]<<8^S[(t|d<<2&1020)>>2]^S[(e|b|12)>>2]}function D(e,t,r,n){e=e|0;t=t|0;r=r|0;n=n|0;C(0x0000,0x0800,0x1000,M,e,t,r,n)}function L(e,t,r,n){e=e|0;t=t|0;r=r|0;n=n|0;var s=0;C(0x0400,0x0c00,0x2000,M,e,n,r,t);s=i,i=a,a=s}function A(e,t,r,u){e=e|0;t=t|0;r=r|0;u=u|0;C(0x0000,0x0800,0x1000,M,o^e,l^t,c^r,d^u);o=n,l=i,c=s,d=a}function E(e,t,r,u){e=e|0;t=t|0;r=r|0;u=u|0;var h=0;C(0x0400,0x0c00,0x2000,M,e,u,r,t);h=i,i=a,a=h;n=n^o,i=i^l,s=s^c,a=a^d;o=e,l=t,c=r,d=u}function T(e,t,r,u){e=e|0;t=t|0;r=r|0;u=u|0;C(0x0000,0x0800,0x1000,M,o,l,c,d);o=n=n^e,l=i=i^t,c=s=s^r,d=a=a^u}function P(e,t,r,u){e=e|0;t=t|0;r=r|0;u=u|0;C(0x0000,0x0800,0x1000,M,o,l,c,d);n=n^e,i=i^t,s=s^r,a=a^u;o=e,l=t,c=r,d=u}function Y(e,t,r,u){e=e|0;t=t|0;r=r|0;u=u|0;C(0x0000,0x0800,0x1000,M,o,l,c,d);o=n,l=i,c=s,d=a;n=n^e,i=i^t,s=s^r,a=a^u}function R(e,t,r,o){e=e|0;t=t|0;r=r|0;o=o|0;C(0x0000,0x0800,0x1000,M,u,h,f,m);m=~y&m|y&m+1;f=~g&f|g&f+((m|0)==0);h=~_&h|_&h+((f|0)==0);u=~p&u|p&u+((h|0)==0);n=n^e;i=i^t;s=s^r;a=a^o}function O(e,t,r,n){e=e|0;t=t|0;r=r|0;n=n|0;var i=0,s=0,a=0,u=0,h=0,f=0,m=0,p=0,_=0,g=0;e=e^o,t=t^l,r=r^c,n=n^d;i=b|0,s=v|0,a=w|0,u=k|0;for(;(_|0)<128;_=_+1|0){if(i>>>31){h=h^e,f=f^t,m=m^r,p=p^n}i=i<<1|s>>>31,s=s<<1|a>>>31,a=a<<1|u>>>31,u=u<<1;g=n&1;n=n>>>1|r<<31,r=r>>>1|t<<31,t=t>>>1|e<<31,e=e>>>1;if(g)e=e^0xe1000000}o=h,l=f,c=m,d=p}function I(e){e=e|0;M=e}function j(e,t,r,o){e=e|0;t=t|0;r=r|0;o=o|0;n=e,i=t,s=r,a=o}function F(e,t,r,n){e=e|0;t=t|0;r=r|0;n=n|0;o=e,l=t,c=r,d=n}function H(e,t,r,n){e=e|0;t=t|0;r=r|0;n=n|0;u=e,h=t,f=r,m=n}function N(e,t,r,n){e=e|0;t=t|0;r=r|0;n=n|0;p=e,_=t,g=r,y=n}function B(e,t,r,n){e=e|0;t=t|0;r=r|0;n=n|0;m=~y&m|y&n,f=~g&f|g&r,h=~_&h|_&t,u=~p&u|p&e}function z(e){e=e|0;if(e&15)return-1;x[e|0]=n>>>24,x[e|1]=n>>>16&255,x[e|2]=n>>>8&255,x[e|3]=n&255,x[e|4]=i>>>24,x[e|5]=i>>>16&255,x[e|6]=i>>>8&255,x[e|7]=i&255,x[e|8]=s>>>24,x[e|9]=s>>>16&255,x[e|10]=s>>>8&255,x[e|11]=s&255,x[e|12]=a>>>24,x[e|13]=a>>>16&255,x[e|14]=a>>>8&255,x[e|15]=a&255;return 16}function U(e){e=e|0;if(e&15)return-1;x[e|0]=o>>>24,x[e|1]=o>>>16&255,x[e|2]=o>>>8&255,x[e|3]=o&255,x[e|4]=l>>>24,x[e|5]=l>>>16&255,x[e|6]=l>>>8&255,x[e|7]=l&255,x[e|8]=c>>>24,x[e|9]=c>>>16&255,x[e|10]=c>>>8&255,x[e|11]=c&255,x[e|12]=d>>>24,x[e|13]=d>>>16&255,x[e|14]=d>>>8&255,x[e|15]=d&255;return 16}function V(){D(0,0,0,0);b=n,v=i,w=s,k=a}function K(e,t,r){e=e|0;t=t|0;r=r|0;var o=0;if(t&15)return-1;while((r|0)>=16){q[e&7](x[t|0]<<24|x[t|1]<<16|x[t|2]<<8|x[t|3],x[t|4]<<24|x[t|5]<<16|x[t|6]<<8|x[t|7],x[t|8]<<24|x[t|9]<<16|x[t|10]<<8|x[t|11],x[t|12]<<24|x[t|13]<<16|x[t|14]<<8|x[t|15]);x[t|0]=n>>>24,x[t|1]=n>>>16&255,x[t|2]=n>>>8&255,x[t|3]=n&255,x[t|4]=i>>>24,x[t|5]=i>>>16&255,x[t|6]=i>>>8&255,x[t|7]=i&255,x[t|8]=s>>>24,x[t|9]=s>>>16&255,x[t|10]=s>>>8&255,x[t|11]=s&255,x[t|12]=a>>>24,x[t|13]=a>>>16&255,x[t|14]=a>>>8&255,x[t|15]=a&255;o=o+16|0,t=t+16|0,r=r-16|0}return o|0}function W(e,t,r){e=e|0;t=t|0;r=r|0;var n=0;if(t&15)return-1;while((r|0)>=16){G[e&1](x[t|0]<<24|x[t|1]<<16|x[t|2]<<8|x[t|3],x[t|4]<<24|x[t|5]<<16|x[t|6]<<8|x[t|7],x[t|8]<<24|x[t|9]<<16|x[t|10]<<8|x[t|11],x[t|12]<<24|x[t|13]<<16|x[t|14]<<8|x[t|15]);n=n+16|0,t=t+16|0,r=r-16|0}return n|0}var q=[D,L,A,E,T,P,Y,R];var G=[A,O];return{set_rounds:I,set_state:j,set_iv:F,set_nonce:H,set_mask:N,set_counter:B,get_state:z,get_iv:U,gcm_init:V,cipher:K,mac:W}}({Uint8Array:Uint8Array,Uint32Array:Uint32Array},0,d);return f.set_key=function(e,t,r,n,s,a,l,c,d){var h=u.subarray(0,60),m=u.subarray(256,316);h.set([t,r,n,s,a,l,c,d]);for(var p=e,_=1;p<4*e+28;p++){var g=h[p-1];(p%e==0||8===e&&p%e==4)&&(g=i[g>>>24]<<24^i[g>>>16&255]<<16^i[g>>>8&255]<<8^i[255&g]),p%e==0&&(g=g<<8^g>>>24^_<<24,_=_<<1^(128&_?27:0)),h[p]=h[p-e]^g}for(var y=0;y=p-4?g:o[0][i[g>>>24]]^o[1][i[g>>>16&255]]^o[2][i[g>>>8&255]]^o[3][i[255&g]];f.set_rounds(e+5)},f};return c.ENC={ECB:0,CBC:2,CFB:4,OFB:6,CTR:7},c.DEC={ECB:1,CBC:3,CFB:5,OFB:6,CTR:7},c.MAC={CBC:0,GCM:1},c.HEAP_DATA=16384,c}()},{}],3:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.AES=void 0;var n=e("./aes.asm"),i=e("../other/utils"),s=e("../other/errors"),a=[],o=[],l=function(){function e(e,t,r,n){void 0===r&&(r=!0),this.pos=0,this.len=0,this.mode=n,this.pos=0,this.len=0,this.key=e,this.iv=t,this.padding=r,this.acquire_asm()}return e.prototype.acquire_asm=function(){void 0===this.heap&&void 0===this.asm&&(this.heap=a.pop()||(0,i._heap_init)().subarray(n.AES_asm.HEAP_DATA),this.asm=o.pop()||(0,n.AES_asm)(null,this.heap.buffer),this.reset(this.key,this.iv))},e.prototype.release_asm=function(){a.push(this.heap),o.push(this.asm),this.heap=void 0,this.asm=void 0},e.prototype.reset=function(e,t){var r=e.length;if(16!==r&&24!==r&&32!==r)throw new s.IllegalArgumentError("illegal key size");var n=new DataView(e.buffer,e.byteOffset,e.byteLength);if(this.asm.set_key(r>>2,n.getUint32(0),n.getUint32(4),n.getUint32(8),n.getUint32(12),r>16?n.getUint32(16):0,r>16?n.getUint32(20):0,r>24?n.getUint32(24):0,r>24?n.getUint32(28):0),void 0!==t){if(16!==t.length)throw new s.IllegalArgumentError("illegal iv size");var i=new DataView(t.buffer,t.byteOffset,t.byteLength);this.asm.set_iv(i.getUint32(0),i.getUint32(4),i.getUint32(8),i.getUint32(12))}else this.asm.set_iv(0,0,0,0)},e.prototype.AES_Encrypt_process=function(e){if(!(0,i.is_bytes)(e))throw new TypeError("data isn't of expected type");this.acquire_asm();for(var t=this.asm,r=this.heap,s=n.AES_asm.ENC[this.mode],a=n.AES_asm.HEAP_DATA,o=this.pos,l=this.len,c=0,d=e.length||0,u=0,h=0,f=new Uint8Array(l+d&-16);d>0;)c+=h=(0,i._heap_write)(r,o+l,e,c,d),d-=h,(h=t.cipher(s,a+o,l+=h))&&f.set(r.subarray(o,o+h),u),u+=h,h0;)c+=m=(0,i._heap_write)(r,o+l,e,c,d),(m=t.cipher(s,a+o,(l+=m)-((d-=m)?0:f)))&&p.set(r.subarray(o,o+m),u),u+=m,m0){if(o%16){if(this.hasOwnProperty("padding"))throw new s.IllegalArgumentError("data length must be a multiple of the block size");o+=16-o%16}if(e.cipher(r,i+a,o),this.hasOwnProperty("padding")&&this.padding){var c=t[a+l-1];if(c<1||c>16||c>l)throw new s.SecurityError("bad padding");for(var d=0,u=c;u>1;u--)d|=c^t[a+l-u];if(d)throw new s.SecurityError("bad padding");l-=c}}var h=new Uint8Array(l);return l>0&&h.set(t.subarray(a,a+l)),this.pos=0,this.len=0,this.release_asm(),h},e}();r.AES=l},{"../other/errors":14,"../other/utils":15,"./aes.asm":2}],4:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.AES_CBC=void 0;var n,i=e("./aes"),s=e("../other/utils"),a=(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=function(e){function t(t,r,n){return void 0===n&&(n=!0),e.call(this,t,r,n,"CBC")||this}return a(t,e),t.encrypt=function(e,r,n,i){return void 0===n&&(n=!0),new t(r,i,n).encrypt(e)},t.decrypt=function(e,r,n,i){return void 0===n&&(n=!0),new t(r,i,n).decrypt(e)},t.prototype.encrypt=function(e){var t=this.AES_Encrypt_process(e),r=this.AES_Encrypt_finish();return(0,s.joinBytes)(t,r)},t.prototype.decrypt=function(e){var t=this.AES_Decrypt_process(e),r=this.AES_Decrypt_finish();return(0,s.joinBytes)(t,r)},t}(i.AES);r.AES_CBC=o},{"../other/utils":15,"./aes":3}],5:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.AES_CFB=void 0;var n,i=e("./aes"),s=e("../other/utils"),a=(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=function(e){function t(t,r){var n=e.call(this,t,r,!0,"CFB")||this;return delete n.padding,n}return a(t,e),t.encrypt=function(e,r,n){return new t(r,n).encrypt(e)},t.decrypt=function(e,r,n){return new t(r,n).decrypt(e)},t.prototype.encrypt=function(e){var t=this.AES_Encrypt_process(e),r=this.AES_Encrypt_finish();return(0,s.joinBytes)(t,r)},t.prototype.decrypt=function(e){var t=this.AES_Decrypt_process(e),r=this.AES_Decrypt_finish();return(0,s.joinBytes)(t,r)},t}(i.AES);r.AES_CFB=o},{"../other/utils":15,"./aes":3}],6:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.AES_CTR=void 0;var n,i=e("./aes"),s=e("../other/errors"),a=e("../other/utils"),o=(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),l=function(e){function t(t,r){var n=e.call(this,t,void 0,!1,"CTR")||this;return delete n.padding,n.AES_CTR_set_options(r),n}return o(t,e),t.encrypt=function(e,r,n){return new t(r,n).encrypt(e)},t.decrypt=function(e,r,n){return new t(r,n).encrypt(e)},t.prototype.encrypt=function(e){var t=this.AES_Encrypt_process(e),r=this.AES_Encrypt_finish();return(0,a.joinBytes)(t,r)},t.prototype.decrypt=function(e){var t=this.AES_Encrypt_process(e),r=this.AES_Encrypt_finish();return(0,a.joinBytes)(t,r)},t.prototype.AES_CTR_set_options=function(e,t,r){if(void 0!==r){if(r<8||r>48)throw new s.IllegalArgumentError("illegal counter size");var n=Math.pow(2,r)-1;this.asm.set_mask(0,0,n/4294967296|0,0|n)}else r=48,this.asm.set_mask(0,0,65535,4294967295);if(void 0===e)throw new Error("nonce is required");var i=e.length;if(!i||i>16)throw new s.IllegalArgumentError("illegal nonce size");var a=new DataView(new ArrayBuffer(16));if(new Uint8Array(a.buffer).set(e),this.asm.set_nonce(a.getUint32(0),a.getUint32(4),a.getUint32(8),a.getUint32(12)),void 0!==t){if(t<0||t>=Math.pow(2,r))throw new s.IllegalArgumentError("illegal counter value");this.asm.set_counter(0,0,t/4294967296|0,0|t)}},t}(i.AES);r.AES_CTR=l},{"../other/errors":14,"../other/utils":15,"./aes":3}],7:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.AES_ECB=void 0;var n,i=e("./aes"),s=e("../other/utils"),a=(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=function(e){function t(t,r){return void 0===r&&(r=!1),e.call(this,t,void 0,r,"ECB")||this}return a(t,e),t.encrypt=function(e,r,n){return void 0===n&&(n=!1),new t(r,n).encrypt(e)},t.decrypt=function(e,r,n){return void 0===n&&(n=!1),new t(r,n).decrypt(e)},t.prototype.encrypt=function(e){var t=this.AES_Encrypt_process(e),r=this.AES_Encrypt_finish();return(0,s.joinBytes)(t,r)},t.prototype.decrypt=function(e){var t=this.AES_Decrypt_process(e),r=this.AES_Decrypt_finish();return(0,s.joinBytes)(t,r)},t}(i.AES);r.AES_ECB=o},{"../other/utils":15,"./aes":3}],8:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.AES_GCM=void 0;var n,i=e("../other/errors"),s=e("../other/utils"),a=e("./aes"),o=e("./aes.asm"),l=(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),c=68719476704,d=function(e){function t(t,r,n,s){void 0===s&&(s=16);var a=e.call(this,t,void 0,!1,"CTR")||this;if(a.tagSize=s,a.gamma0=0,a.counter=1,a.asm.gcm_init(),a.tagSize<4||a.tagSize>16)throw new i.IllegalArgumentError("illegal tagSize value");var l=r.length||0,d=new Uint8Array(16);12!==l?(a._gcm_mac_process(r),a.heap[0]=0,a.heap[1]=0,a.heap[2]=0,a.heap[3]=0,a.heap[4]=0,a.heap[5]=0,a.heap[6]=0,a.heap[7]=0,a.heap[8]=0,a.heap[9]=0,a.heap[10]=0,a.heap[11]=l>>>29,a.heap[12]=l>>>21&255,a.heap[13]=l>>>13&255,a.heap[14]=l>>>5&255,a.heap[15]=l<<3&255,a.asm.mac(o.AES_asm.MAC.GCM,o.AES_asm.HEAP_DATA,16),a.asm.get_iv(o.AES_asm.HEAP_DATA),a.asm.set_iv(0,0,0,0),d.set(a.heap.subarray(0,16))):(d.set(r),d[15]=1);var u=new DataView(d.buffer);if(a.gamma0=u.getUint32(12),a.asm.set_nonce(u.getUint32(0),u.getUint32(4),u.getUint32(8),0),a.asm.set_mask(0,0,0,4294967295),void 0!==n){if(n.length>c)throw new i.IllegalArgumentError("illegal adata length");n.length?(a.adata=n,a._gcm_mac_process(n)):a.adata=void 0}else a.adata=void 0;if(a.counter<1||a.counter>4294967295)throw new RangeError("counter must be a positive 32-bit integer");return a.asm.set_counter(0,0,0,a.gamma0+a.counter|0),a}return l(t,e),t.encrypt=function(e,r,n,i,s){return new t(r,n,i,s).encrypt(e)},t.decrypt=function(e,r,n,i,s){return new t(r,n,i,s).decrypt(e)},t.prototype.encrypt=function(e){return this.AES_GCM_encrypt(e)},t.prototype.decrypt=function(e){return this.AES_GCM_decrypt(e)},t.prototype.AES_GCM_Encrypt_process=function(e){var t=0,r=e.length||0,n=this.asm,i=this.heap,a=this.counter,l=this.pos,d=this.len,u=0,h=d+r&-16,f=0;if((a-1<<4)+d+r>c)throw new RangeError("counter overflow");for(var m=new Uint8Array(h);r>0;)t+=f=(0,s._heap_write)(i,l+d,e,t,r),r-=f,f=n.cipher(o.AES_asm.ENC.CTR,o.AES_asm.HEAP_DATA+l,d+=f),(f=n.mac(o.AES_asm.MAC.GCM,o.AES_asm.HEAP_DATA+l,f))&&m.set(i.subarray(l,l+f),u),a+=f>>>4,u+=f,f>>29,t[4]=d>>>21,t[5]=d>>>13&255,t[6]=d>>>5&255,t[7]=d<<3&255,t[8]=t[9]=t[10]=0,t[11]=u>>>29,t[12]=u>>>21&255,t[13]=u>>>13&255,t[14]=u>>>5&255,t[15]=u<<3&255,e.mac(o.AES_asm.MAC.GCM,o.AES_asm.HEAP_DATA,16),e.get_iv(o.AES_asm.HEAP_DATA),e.set_counter(0,0,0,this.gamma0),e.cipher(o.AES_asm.ENC.CTR,o.AES_asm.HEAP_DATA,16),l.set(t.subarray(0,n),a),this.counter=1,this.pos=0,this.len=0,l},t.prototype.AES_GCM_Decrypt_process=function(e){var t=0,r=e.length||0,n=this.asm,i=this.heap,a=this.counter,l=this.tagSize,d=this.pos,u=this.len,h=0,f=u+r>l?u+r-l&-16:0,m=u+r-f,p=0;if((a-1<<4)+u+r>c)throw new RangeError("counter overflow");for(var _=new Uint8Array(f);r>m;)u+=p=(0,s._heap_write)(i,d+u,e,t,r-m),t+=p,r-=p,p=n.mac(o.AES_asm.MAC.GCM,o.AES_asm.HEAP_DATA+d,p),(p=n.cipher(o.AES_asm.DEC.CTR,o.AES_asm.HEAP_DATA+d,p))&&_.set(i.subarray(d,d+p),h),a+=p>>>4,h+=p,d=0,u=0;return r>0&&(u+=(0,s._heap_write)(i,0,e,t,r)),this.counter=a,this.pos=d,this.len=u,_},t.prototype.AES_GCM_Decrypt_finish=function(){var e=this.asm,t=this.heap,r=this.tagSize,n=this.adata,s=this.counter,a=this.pos,l=this.len,c=l-r;if(l>>29,t[4]=f>>>21,t[5]=f>>>13&255,t[6]=f>>>5&255,t[7]=f<<3&255,t[8]=t[9]=t[10]=0,t[11]=m>>>29,t[12]=m>>>21&255,t[13]=m>>>13&255,t[14]=m>>>5&255,t[15]=m<<3&255,e.mac(o.AES_asm.MAC.GCM,o.AES_asm.HEAP_DATA,16),e.get_iv(o.AES_asm.HEAP_DATA),e.set_counter(0,0,0,this.gamma0),e.cipher(o.AES_asm.ENC.CTR,o.AES_asm.HEAP_DATA,16);for(var p=0,_=0;_0;){for(n+=a=(0,s._heap_write)(t,0,e,n,i),i-=a;15&a;)t[a++]=0;r.mac(o.AES_asm.MAC.GCM,o.AES_asm.HEAP_DATA,a)}},t}(a.AES);r.AES_GCM=d},{"../other/errors":14,"../other/utils":15,"./aes":3,"./aes.asm":2}],9:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Hash=void 0;var n=e("../other/utils"),i=e("../other/errors"),s=function(){function e(){this.pos=0,this.len=0,this.acquire_asm()}return e.prototype.acquire_asm=function(){void 0===this.heap&&void 0===this.asm&&(this.heap=this.constructor.heap_pool.pop()||(0,n._heap_init)(),this.asm=this.constructor.asm_pool.pop()||this.constructor.asm_function({Uint8Array:Uint8Array},null,this.heap.buffer),this.reset())},e.prototype.release_asm=function(){this.constructor.heap_pool.push(this.heap),this.constructor.asm_pool.push(this.asm),this.heap=void 0,this.asm=void 0},e.prototype.reset=function(){return this.acquire_asm(),this.result=null,this.pos=0,this.len=0,this.asm.reset(),this},e.prototype.process=function(e){if(null!==this.result)throw new i.IllegalStateError("state must be reset before processing new data");this.acquire_asm();for(var t=this.asm,r=this.heap,s=this.pos,a=this.len,o=0,l=e.length,c=0;l>0;)o+=c=(0,n._heap_write)(r,s+a,e,o,l),l-=c,s+=c=t.process(s,a+=c),(a-=c)||(s=0);return this.pos=s,this.len=a,this},e.prototype.finish=function(){if(null!==this.result)throw new i.IllegalStateError("state must be reset before processing new data");return this.acquire_asm(),this.asm.finish(this.pos,this.len,0),this.result=new Uint8Array(this.HASH_SIZE),this.result.set(this.heap.subarray(0,this.HASH_SIZE)),this.pos=0,this.len=0,this.release_asm(),this},e}();r.Hash=s},{"../other/errors":14,"../other/utils":15}],10:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.sha1_asm=function(e,t,r){"use asm";var n=0,i=0,s=0,a=0,o=0,l=0,c=0;var d=0,u=0,h=0,f=0,m=0,p=0,_=0,g=0,y=0,b=0;var v=new e.Uint8Array(r);function w(e,t,r,l,c,d,u,h,f,m,p,_,g,y,b,v){e=e|0;t=t|0;r=r|0;l=l|0;c=c|0;d=d|0;u=u|0;h=h|0;f=f|0;m=m|0;p=p|0;_=_|0;g=g|0;y=y|0;b=b|0;v=v|0;var w=0,k=0,M=0,S=0,x=0,C=0,D=0,L=0,A=0,E=0,T=0,P=0,Y=0,R=0,O=0,I=0,j=0,F=0,H=0,N=0,B=0,z=0,U=0,V=0,K=0,W=0,q=0,G=0,$=0,Z=0,J=0,Q=0,X=0,ee=0,te=0,re=0,ne=0,ie=0,se=0,ae=0,oe=0,le=0,ce=0,de=0,ue=0,he=0,fe=0,me=0,pe=0,_e=0,ge=0,ye=0,be=0,ve=0,we=0,ke=0,Me=0,Se=0,xe=0,Ce=0,De=0,Le=0,Ae=0,Ee=0,Te=0,Pe=0,Ye=0,Re=0,Oe=0,Ie=0,je=0;w=n;k=i;M=s;S=a;x=o;D=e+(w<<5|w>>>27)+x+(k&M|~k&S)+0x5a827999|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;D=t+(w<<5|w>>>27)+x+(k&M|~k&S)+0x5a827999|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;D=r+(w<<5|w>>>27)+x+(k&M|~k&S)+0x5a827999|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;D=l+(w<<5|w>>>27)+x+(k&M|~k&S)+0x5a827999|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;D=c+(w<<5|w>>>27)+x+(k&M|~k&S)+0x5a827999|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;D=d+(w<<5|w>>>27)+x+(k&M|~k&S)+0x5a827999|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;D=u+(w<<5|w>>>27)+x+(k&M|~k&S)+0x5a827999|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;D=h+(w<<5|w>>>27)+x+(k&M|~k&S)+0x5a827999|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;D=f+(w<<5|w>>>27)+x+(k&M|~k&S)+0x5a827999|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;D=m+(w<<5|w>>>27)+x+(k&M|~k&S)+0x5a827999|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;D=p+(w<<5|w>>>27)+x+(k&M|~k&S)+0x5a827999|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;D=_+(w<<5|w>>>27)+x+(k&M|~k&S)+0x5a827999|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;D=g+(w<<5|w>>>27)+x+(k&M|~k&S)+0x5a827999|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;D=y+(w<<5|w>>>27)+x+(k&M|~k&S)+0x5a827999|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;D=b+(w<<5|w>>>27)+x+(k&M|~k&S)+0x5a827999|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;D=v+(w<<5|w>>>27)+x+(k&M|~k&S)+0x5a827999|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=y^f^r^e;L=C<<1|C>>>31;D=L+(w<<5|w>>>27)+x+(k&M|~k&S)+0x5a827999|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=b^m^l^t;A=C<<1|C>>>31;D=A+(w<<5|w>>>27)+x+(k&M|~k&S)+0x5a827999|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=v^p^c^r;E=C<<1|C>>>31;D=E+(w<<5|w>>>27)+x+(k&M|~k&S)+0x5a827999|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=L^_^d^l;T=C<<1|C>>>31;D=T+(w<<5|w>>>27)+x+(k&M|~k&S)+0x5a827999|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=A^g^u^c;P=C<<1|C>>>31;D=P+(w<<5|w>>>27)+x+(k^M^S)+0x6ed9eba1|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=E^y^h^d;Y=C<<1|C>>>31;D=Y+(w<<5|w>>>27)+x+(k^M^S)+0x6ed9eba1|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=T^b^f^u;R=C<<1|C>>>31;D=R+(w<<5|w>>>27)+x+(k^M^S)+0x6ed9eba1|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=P^v^m^h;O=C<<1|C>>>31;D=O+(w<<5|w>>>27)+x+(k^M^S)+0x6ed9eba1|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=Y^L^p^f;I=C<<1|C>>>31;D=I+(w<<5|w>>>27)+x+(k^M^S)+0x6ed9eba1|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=R^A^_^m;j=C<<1|C>>>31;D=j+(w<<5|w>>>27)+x+(k^M^S)+0x6ed9eba1|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=O^E^g^p;F=C<<1|C>>>31;D=F+(w<<5|w>>>27)+x+(k^M^S)+0x6ed9eba1|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=I^T^y^_;H=C<<1|C>>>31;D=H+(w<<5|w>>>27)+x+(k^M^S)+0x6ed9eba1|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=j^P^b^g;N=C<<1|C>>>31;D=N+(w<<5|w>>>27)+x+(k^M^S)+0x6ed9eba1|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=F^Y^v^y;B=C<<1|C>>>31;D=B+(w<<5|w>>>27)+x+(k^M^S)+0x6ed9eba1|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=H^R^L^b;z=C<<1|C>>>31;D=z+(w<<5|w>>>27)+x+(k^M^S)+0x6ed9eba1|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=N^O^A^v;U=C<<1|C>>>31;D=U+(w<<5|w>>>27)+x+(k^M^S)+0x6ed9eba1|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=B^I^E^L;V=C<<1|C>>>31;D=V+(w<<5|w>>>27)+x+(k^M^S)+0x6ed9eba1|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=z^j^T^A;K=C<<1|C>>>31;D=K+(w<<5|w>>>27)+x+(k^M^S)+0x6ed9eba1|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=U^F^P^E;W=C<<1|C>>>31;D=W+(w<<5|w>>>27)+x+(k^M^S)+0x6ed9eba1|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=V^H^Y^T;q=C<<1|C>>>31;D=q+(w<<5|w>>>27)+x+(k^M^S)+0x6ed9eba1|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=K^N^R^P;G=C<<1|C>>>31;D=G+(w<<5|w>>>27)+x+(k^M^S)+0x6ed9eba1|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=W^B^O^Y;$=C<<1|C>>>31;D=$+(w<<5|w>>>27)+x+(k^M^S)+0x6ed9eba1|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=q^z^I^R;Z=C<<1|C>>>31;D=Z+(w<<5|w>>>27)+x+(k^M^S)+0x6ed9eba1|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=G^U^j^O;J=C<<1|C>>>31;D=J+(w<<5|w>>>27)+x+(k^M^S)+0x6ed9eba1|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=$^V^F^I;Q=C<<1|C>>>31;D=Q+(w<<5|w>>>27)+x+(k&M|k&S|M&S)-0x70e44324|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=Z^K^H^j;X=C<<1|C>>>31;D=X+(w<<5|w>>>27)+x+(k&M|k&S|M&S)-0x70e44324|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=J^W^N^F;ee=C<<1|C>>>31;D=ee+(w<<5|w>>>27)+x+(k&M|k&S|M&S)-0x70e44324|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=Q^q^B^H;te=C<<1|C>>>31;D=te+(w<<5|w>>>27)+x+(k&M|k&S|M&S)-0x70e44324|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=X^G^z^N;re=C<<1|C>>>31;D=re+(w<<5|w>>>27)+x+(k&M|k&S|M&S)-0x70e44324|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=ee^$^U^B;ne=C<<1|C>>>31;D=ne+(w<<5|w>>>27)+x+(k&M|k&S|M&S)-0x70e44324|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=te^Z^V^z;ie=C<<1|C>>>31;D=ie+(w<<5|w>>>27)+x+(k&M|k&S|M&S)-0x70e44324|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=re^J^K^U;se=C<<1|C>>>31;D=se+(w<<5|w>>>27)+x+(k&M|k&S|M&S)-0x70e44324|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=ne^Q^W^V;ae=C<<1|C>>>31;D=ae+(w<<5|w>>>27)+x+(k&M|k&S|M&S)-0x70e44324|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=ie^X^q^K;oe=C<<1|C>>>31;D=oe+(w<<5|w>>>27)+x+(k&M|k&S|M&S)-0x70e44324|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=se^ee^G^W;le=C<<1|C>>>31;D=le+(w<<5|w>>>27)+x+(k&M|k&S|M&S)-0x70e44324|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=ae^te^$^q;ce=C<<1|C>>>31;D=ce+(w<<5|w>>>27)+x+(k&M|k&S|M&S)-0x70e44324|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=oe^re^Z^G;de=C<<1|C>>>31;D=de+(w<<5|w>>>27)+x+(k&M|k&S|M&S)-0x70e44324|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=le^ne^J^$;ue=C<<1|C>>>31;D=ue+(w<<5|w>>>27)+x+(k&M|k&S|M&S)-0x70e44324|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=ce^ie^Q^Z;he=C<<1|C>>>31;D=he+(w<<5|w>>>27)+x+(k&M|k&S|M&S)-0x70e44324|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=de^se^X^J;fe=C<<1|C>>>31;D=fe+(w<<5|w>>>27)+x+(k&M|k&S|M&S)-0x70e44324|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=ue^ae^ee^Q;me=C<<1|C>>>31;D=me+(w<<5|w>>>27)+x+(k&M|k&S|M&S)-0x70e44324|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=he^oe^te^X;pe=C<<1|C>>>31;D=pe+(w<<5|w>>>27)+x+(k&M|k&S|M&S)-0x70e44324|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=fe^le^re^ee;_e=C<<1|C>>>31;D=_e+(w<<5|w>>>27)+x+(k&M|k&S|M&S)-0x70e44324|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=me^ce^ne^te;ge=C<<1|C>>>31;D=ge+(w<<5|w>>>27)+x+(k&M|k&S|M&S)-0x70e44324|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=pe^de^ie^re;ye=C<<1|C>>>31;D=ye+(w<<5|w>>>27)+x+(k^M^S)-0x359d3e2a|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=_e^ue^se^ne;be=C<<1|C>>>31;D=be+(w<<5|w>>>27)+x+(k^M^S)-0x359d3e2a|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=ge^he^ae^ie;ve=C<<1|C>>>31;D=ve+(w<<5|w>>>27)+x+(k^M^S)-0x359d3e2a|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=ye^fe^oe^se;we=C<<1|C>>>31;D=we+(w<<5|w>>>27)+x+(k^M^S)-0x359d3e2a|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=be^me^le^ae;ke=C<<1|C>>>31;D=ke+(w<<5|w>>>27)+x+(k^M^S)-0x359d3e2a|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=ve^pe^ce^oe;Me=C<<1|C>>>31;D=Me+(w<<5|w>>>27)+x+(k^M^S)-0x359d3e2a|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=we^_e^de^le;Se=C<<1|C>>>31;D=Se+(w<<5|w>>>27)+x+(k^M^S)-0x359d3e2a|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=ke^ge^ue^ce;xe=C<<1|C>>>31;D=xe+(w<<5|w>>>27)+x+(k^M^S)-0x359d3e2a|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=Me^ye^he^de;Ce=C<<1|C>>>31;D=Ce+(w<<5|w>>>27)+x+(k^M^S)-0x359d3e2a|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=Se^be^fe^ue;De=C<<1|C>>>31;D=De+(w<<5|w>>>27)+x+(k^M^S)-0x359d3e2a|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=xe^ve^me^he;Le=C<<1|C>>>31;D=Le+(w<<5|w>>>27)+x+(k^M^S)-0x359d3e2a|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=Ce^we^pe^fe;Ae=C<<1|C>>>31;D=Ae+(w<<5|w>>>27)+x+(k^M^S)-0x359d3e2a|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=De^ke^_e^me;Ee=C<<1|C>>>31;D=Ee+(w<<5|w>>>27)+x+(k^M^S)-0x359d3e2a|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=Le^Me^ge^pe;Te=C<<1|C>>>31;D=Te+(w<<5|w>>>27)+x+(k^M^S)-0x359d3e2a|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=Ae^Se^ye^_e;Pe=C<<1|C>>>31;D=Pe+(w<<5|w>>>27)+x+(k^M^S)-0x359d3e2a|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=Ee^xe^be^ge;Ye=C<<1|C>>>31;D=Ye+(w<<5|w>>>27)+x+(k^M^S)-0x359d3e2a|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=Te^Ce^ve^ye;Re=C<<1|C>>>31;D=Re+(w<<5|w>>>27)+x+(k^M^S)-0x359d3e2a|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=Pe^De^we^be;Oe=C<<1|C>>>31;D=Oe+(w<<5|w>>>27)+x+(k^M^S)-0x359d3e2a|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=Ye^Le^ke^ve;Ie=C<<1|C>>>31;D=Ie+(w<<5|w>>>27)+x+(k^M^S)-0x359d3e2a|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;C=Re^Ae^Me^we;je=C<<1|C>>>31;D=je+(w<<5|w>>>27)+x+(k^M^S)-0x359d3e2a|0;x=S;S=M;M=k<<30|k>>>2;k=w;w=D;n=n+w|0;i=i+k|0;s=s+M|0;a=a+S|0;o=o+x|0}function k(e){e=e|0;w(v[e|0]<<24|v[e|1]<<16|v[e|2]<<8|v[e|3],v[e|4]<<24|v[e|5]<<16|v[e|6]<<8|v[e|7],v[e|8]<<24|v[e|9]<<16|v[e|10]<<8|v[e|11],v[e|12]<<24|v[e|13]<<16|v[e|14]<<8|v[e|15],v[e|16]<<24|v[e|17]<<16|v[e|18]<<8|v[e|19],v[e|20]<<24|v[e|21]<<16|v[e|22]<<8|v[e|23],v[e|24]<<24|v[e|25]<<16|v[e|26]<<8|v[e|27],v[e|28]<<24|v[e|29]<<16|v[e|30]<<8|v[e|31],v[e|32]<<24|v[e|33]<<16|v[e|34]<<8|v[e|35],v[e|36]<<24|v[e|37]<<16|v[e|38]<<8|v[e|39],v[e|40]<<24|v[e|41]<<16|v[e|42]<<8|v[e|43],v[e|44]<<24|v[e|45]<<16|v[e|46]<<8|v[e|47],v[e|48]<<24|v[e|49]<<16|v[e|50]<<8|v[e|51],v[e|52]<<24|v[e|53]<<16|v[e|54]<<8|v[e|55],v[e|56]<<24|v[e|57]<<16|v[e|58]<<8|v[e|59],v[e|60]<<24|v[e|61]<<16|v[e|62]<<8|v[e|63])}function M(e){e=e|0;v[e|0]=n>>>24;v[e|1]=n>>>16&255;v[e|2]=n>>>8&255;v[e|3]=n&255;v[e|4]=i>>>24;v[e|5]=i>>>16&255;v[e|6]=i>>>8&255;v[e|7]=i&255;v[e|8]=s>>>24;v[e|9]=s>>>16&255;v[e|10]=s>>>8&255;v[e|11]=s&255;v[e|12]=a>>>24;v[e|13]=a>>>16&255;v[e|14]=a>>>8&255;v[e|15]=a&255;v[e|16]=o>>>24;v[e|17]=o>>>16&255;v[e|18]=o>>>8&255;v[e|19]=o&255}function S(){n=0x67452301;i=0xefcdab89;s=0x98badcfe;a=0x10325476;o=0xc3d2e1f0;l=c=0}function x(e,t,r,d,u,h,f){e=e|0;t=t|0;r=r|0;d=d|0;u=u|0;h=h|0;f=f|0;n=e;i=t;s=r;a=d;o=u;l=h;c=f}function C(e,t){e=e|0;t=t|0;var r=0;if(e&63)return-1;while((t|0)>=64){k(e);e=e+64|0;t=t-64|0;r=r+64|0}l=l+r|0;if(l>>>0>>0)c=c+1|0;return r|0}function D(e,t,r){e=e|0;t=t|0;r=r|0;var n=0,i=0;if(e&63)return-1;if(~r)if(r&31)return-1;if((t|0)>=64){n=C(e,t)|0;if((n|0)==-1)return-1;e=e+n|0;t=t-n|0}n=n+t|0;l=l+t|0;if(l>>>0>>0)c=c+1|0;v[e|t]=0x80;if((t|0)>=56){for(i=t+1|0;(i|0)<64;i=i+1|0)v[e|i]=0x00;k(e);t=0;v[e|0]=0}for(i=t+1|0;(i|0)<59;i=i+1|0)v[e|i]=0;v[e|56]=c>>>21&255;v[e|57]=c>>>13&255;v[e|58]=c>>>5&255;v[e|59]=c<<3&255|l>>>29;v[e|60]=l>>>21&255;v[e|61]=l>>>13&255;v[e|62]=l>>>5&255;v[e|63]=l<<3&255;k(e);if(~r)M(r);return n|0}function L(){n=d;i=u;s=h;a=f;o=m;l=64;c=0}function A(){n=p;i=_;s=g;a=y;o=b;l=64;c=0}function E(e,t,r,v,k,M,x,C,D,L,A,E,T,P,Y,R){e=e|0;t=t|0;r=r|0;v=v|0;k=k|0;M=M|0;x=x|0;C=C|0;D=D|0;L=L|0;A=A|0;E=E|0;T=T|0;P=P|0;Y=Y|0;R=R|0;S();w(e^0x5c5c5c5c,t^0x5c5c5c5c,r^0x5c5c5c5c,v^0x5c5c5c5c,k^0x5c5c5c5c,M^0x5c5c5c5c,x^0x5c5c5c5c,C^0x5c5c5c5c,D^0x5c5c5c5c,L^0x5c5c5c5c,A^0x5c5c5c5c,E^0x5c5c5c5c,T^0x5c5c5c5c,P^0x5c5c5c5c,Y^0x5c5c5c5c,R^0x5c5c5c5c);p=n;_=i;g=s;y=a;b=o;S();w(e^0x36363636,t^0x36363636,r^0x36363636,v^0x36363636,k^0x36363636,M^0x36363636,x^0x36363636,C^0x36363636,D^0x36363636,L^0x36363636,A^0x36363636,E^0x36363636,T^0x36363636,P^0x36363636,Y^0x36363636,R^0x36363636);d=n;u=i;h=s;f=a;m=o;l=64;c=0}function T(e,t,r){e=e|0;t=t|0;r=r|0;var l=0,c=0,d=0,u=0,h=0,f=0;if(e&63)return-1;if(~r)if(r&31)return-1;f=D(e,t,-1)|0;l=n,c=i,d=s,u=a,h=o;A();w(l,c,d,u,h,0x80000000,0,0,0,0,0,0,0,0,0,672);if(~r)M(r);return f|0}function P(e,t,r,l,c){e=e|0;t=t|0;r=r|0;l=l|0;c=c|0;var d=0,u=0,h=0,f=0,m=0,p=0,_=0,g=0,y=0,b=0;if(e&63)return-1;if(~c)if(c&31)return-1;v[e+t|0]=r>>>24;v[e+t+1|0]=r>>>16&255;v[e+t+2|0]=r>>>8&255;v[e+t+3|0]=r&255;T(e,t+4|0,-1)|0;d=p=n,u=_=i,h=g=s,f=y=a,m=b=o;l=l-1|0;while((l|0)>0){L();w(p,_,g,y,b,0x80000000,0,0,0,0,0,0,0,0,0,672);p=n,_=i,g=s,y=a,b=o;A();w(p,_,g,y,b,0x80000000,0,0,0,0,0,0,0,0,0,672);p=n,_=i,g=s,y=a,b=o;d=d^n;u=u^i;h=h^s;f=f^a;m=m^o;l=l-1|0}n=d;i=u;s=h;a=f;o=m;if(~c)M(c);return 0}return{reset:S,init:x,process:C,finish:D,hmac_reset:L,hmac_init:E,hmac_finish:T,pbkdf2_generate_block:P}}},{}],11:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Sha1=r._sha1_hash_size=r._sha1_block_size=void 0;var n,i=e("./sha1.asm"),s=e("../hash"),a=(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=r._sha1_block_size=64,l=r._sha1_hash_size=20,c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.NAME="sha1",t.BLOCK_SIZE=o,t.HASH_SIZE=l,t}return a(t,e),t.bytes=function(e){return(new t).process(e).finish().result},t.NAME="sha1",t.heap_pool=[],t.asm_pool=[],t.asm_function=i.sha1_asm,t}(s.Hash);r.Sha1=c},{"../hash":9,"./sha1.asm":10}],12:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.sha256_asm=function(e,t,r){"use asm";var n=0,i=0,s=0,a=0,o=0,l=0,c=0,d=0,u=0,h=0;var f=0,m=0,p=0,_=0,g=0,y=0,b=0,v=0,w=0,k=0,M=0,S=0,x=0,C=0,D=0,L=0;var A=new e.Uint8Array(r);function E(e,t,r,u,h,f,m,p,_,g,y,b,v,w,k,M){e=e|0;t=t|0;r=r|0;u=u|0;h=h|0;f=f|0;m=m|0;p=p|0;_=_|0;g=g|0;y=y|0;b=b|0;v=v|0;w=w|0;k=k|0;M=M|0;var S=0,x=0,C=0,D=0,L=0,A=0,E=0,T=0;S=n;x=i;C=s;D=a;L=o;A=l;E=c;T=d;T=e+T+(L>>>6^L>>>11^L>>>25^L<<26^L<<21^L<<7)+(E^L&(A^E))+0x428a2f98|0;D=D+T|0;T=T+(S&x^C&(S^x))+(S>>>2^S>>>13^S>>>22^S<<30^S<<19^S<<10)|0;E=t+E+(D>>>6^D>>>11^D>>>25^D<<26^D<<21^D<<7)+(A^D&(L^A))+0x71374491|0;C=C+E|0;E=E+(T&S^x&(T^S))+(T>>>2^T>>>13^T>>>22^T<<30^T<<19^T<<10)|0;A=r+A+(C>>>6^C>>>11^C>>>25^C<<26^C<<21^C<<7)+(L^C&(D^L))+0xb5c0fbcf|0;x=x+A|0;A=A+(E&T^S&(E^T))+(E>>>2^E>>>13^E>>>22^E<<30^E<<19^E<<10)|0;L=u+L+(x>>>6^x>>>11^x>>>25^x<<26^x<<21^x<<7)+(D^x&(C^D))+0xe9b5dba5|0;S=S+L|0;L=L+(A&E^T&(A^E))+(A>>>2^A>>>13^A>>>22^A<<30^A<<19^A<<10)|0;D=h+D+(S>>>6^S>>>11^S>>>25^S<<26^S<<21^S<<7)+(C^S&(x^C))+0x3956c25b|0;T=T+D|0;D=D+(L&A^E&(L^A))+(L>>>2^L>>>13^L>>>22^L<<30^L<<19^L<<10)|0;C=f+C+(T>>>6^T>>>11^T>>>25^T<<26^T<<21^T<<7)+(x^T&(S^x))+0x59f111f1|0;E=E+C|0;C=C+(D&L^A&(D^L))+(D>>>2^D>>>13^D>>>22^D<<30^D<<19^D<<10)|0;x=m+x+(E>>>6^E>>>11^E>>>25^E<<26^E<<21^E<<7)+(S^E&(T^S))+0x923f82a4|0;A=A+x|0;x=x+(C&D^L&(C^D))+(C>>>2^C>>>13^C>>>22^C<<30^C<<19^C<<10)|0;S=p+S+(A>>>6^A>>>11^A>>>25^A<<26^A<<21^A<<7)+(T^A&(E^T))+0xab1c5ed5|0;L=L+S|0;S=S+(x&C^D&(x^C))+(x>>>2^x>>>13^x>>>22^x<<30^x<<19^x<<10)|0;T=_+T+(L>>>6^L>>>11^L>>>25^L<<26^L<<21^L<<7)+(E^L&(A^E))+0xd807aa98|0;D=D+T|0;T=T+(S&x^C&(S^x))+(S>>>2^S>>>13^S>>>22^S<<30^S<<19^S<<10)|0;E=g+E+(D>>>6^D>>>11^D>>>25^D<<26^D<<21^D<<7)+(A^D&(L^A))+0x12835b01|0;C=C+E|0;E=E+(T&S^x&(T^S))+(T>>>2^T>>>13^T>>>22^T<<30^T<<19^T<<10)|0;A=y+A+(C>>>6^C>>>11^C>>>25^C<<26^C<<21^C<<7)+(L^C&(D^L))+0x243185be|0;x=x+A|0;A=A+(E&T^S&(E^T))+(E>>>2^E>>>13^E>>>22^E<<30^E<<19^E<<10)|0;L=b+L+(x>>>6^x>>>11^x>>>25^x<<26^x<<21^x<<7)+(D^x&(C^D))+0x550c7dc3|0;S=S+L|0;L=L+(A&E^T&(A^E))+(A>>>2^A>>>13^A>>>22^A<<30^A<<19^A<<10)|0;D=v+D+(S>>>6^S>>>11^S>>>25^S<<26^S<<21^S<<7)+(C^S&(x^C))+0x72be5d74|0;T=T+D|0;D=D+(L&A^E&(L^A))+(L>>>2^L>>>13^L>>>22^L<<30^L<<19^L<<10)|0;C=w+C+(T>>>6^T>>>11^T>>>25^T<<26^T<<21^T<<7)+(x^T&(S^x))+0x80deb1fe|0;E=E+C|0;C=C+(D&L^A&(D^L))+(D>>>2^D>>>13^D>>>22^D<<30^D<<19^D<<10)|0;x=k+x+(E>>>6^E>>>11^E>>>25^E<<26^E<<21^E<<7)+(S^E&(T^S))+0x9bdc06a7|0;A=A+x|0;x=x+(C&D^L&(C^D))+(C>>>2^C>>>13^C>>>22^C<<30^C<<19^C<<10)|0;S=M+S+(A>>>6^A>>>11^A>>>25^A<<26^A<<21^A<<7)+(T^A&(E^T))+0xc19bf174|0;L=L+S|0;S=S+(x&C^D&(x^C))+(x>>>2^x>>>13^x>>>22^x<<30^x<<19^x<<10)|0;e=(t>>>7^t>>>18^t>>>3^t<<25^t<<14)+(k>>>17^k>>>19^k>>>10^k<<15^k<<13)+e+g|0;T=e+T+(L>>>6^L>>>11^L>>>25^L<<26^L<<21^L<<7)+(E^L&(A^E))+0xe49b69c1|0;D=D+T|0;T=T+(S&x^C&(S^x))+(S>>>2^S>>>13^S>>>22^S<<30^S<<19^S<<10)|0;t=(r>>>7^r>>>18^r>>>3^r<<25^r<<14)+(M>>>17^M>>>19^M>>>10^M<<15^M<<13)+t+y|0;E=t+E+(D>>>6^D>>>11^D>>>25^D<<26^D<<21^D<<7)+(A^D&(L^A))+0xefbe4786|0;C=C+E|0;E=E+(T&S^x&(T^S))+(T>>>2^T>>>13^T>>>22^T<<30^T<<19^T<<10)|0;r=(u>>>7^u>>>18^u>>>3^u<<25^u<<14)+(e>>>17^e>>>19^e>>>10^e<<15^e<<13)+r+b|0;A=r+A+(C>>>6^C>>>11^C>>>25^C<<26^C<<21^C<<7)+(L^C&(D^L))+0x0fc19dc6|0;x=x+A|0;A=A+(E&T^S&(E^T))+(E>>>2^E>>>13^E>>>22^E<<30^E<<19^E<<10)|0;u=(h>>>7^h>>>18^h>>>3^h<<25^h<<14)+(t>>>17^t>>>19^t>>>10^t<<15^t<<13)+u+v|0;L=u+L+(x>>>6^x>>>11^x>>>25^x<<26^x<<21^x<<7)+(D^x&(C^D))+0x240ca1cc|0;S=S+L|0;L=L+(A&E^T&(A^E))+(A>>>2^A>>>13^A>>>22^A<<30^A<<19^A<<10)|0;h=(f>>>7^f>>>18^f>>>3^f<<25^f<<14)+(r>>>17^r>>>19^r>>>10^r<<15^r<<13)+h+w|0;D=h+D+(S>>>6^S>>>11^S>>>25^S<<26^S<<21^S<<7)+(C^S&(x^C))+0x2de92c6f|0;T=T+D|0;D=D+(L&A^E&(L^A))+(L>>>2^L>>>13^L>>>22^L<<30^L<<19^L<<10)|0;f=(m>>>7^m>>>18^m>>>3^m<<25^m<<14)+(u>>>17^u>>>19^u>>>10^u<<15^u<<13)+f+k|0;C=f+C+(T>>>6^T>>>11^T>>>25^T<<26^T<<21^T<<7)+(x^T&(S^x))+0x4a7484aa|0;E=E+C|0;C=C+(D&L^A&(D^L))+(D>>>2^D>>>13^D>>>22^D<<30^D<<19^D<<10)|0;m=(p>>>7^p>>>18^p>>>3^p<<25^p<<14)+(h>>>17^h>>>19^h>>>10^h<<15^h<<13)+m+M|0;x=m+x+(E>>>6^E>>>11^E>>>25^E<<26^E<<21^E<<7)+(S^E&(T^S))+0x5cb0a9dc|0;A=A+x|0;x=x+(C&D^L&(C^D))+(C>>>2^C>>>13^C>>>22^C<<30^C<<19^C<<10)|0;p=(_>>>7^_>>>18^_>>>3^_<<25^_<<14)+(f>>>17^f>>>19^f>>>10^f<<15^f<<13)+p+e|0;S=p+S+(A>>>6^A>>>11^A>>>25^A<<26^A<<21^A<<7)+(T^A&(E^T))+0x76f988da|0;L=L+S|0;S=S+(x&C^D&(x^C))+(x>>>2^x>>>13^x>>>22^x<<30^x<<19^x<<10)|0;_=(g>>>7^g>>>18^g>>>3^g<<25^g<<14)+(m>>>17^m>>>19^m>>>10^m<<15^m<<13)+_+t|0;T=_+T+(L>>>6^L>>>11^L>>>25^L<<26^L<<21^L<<7)+(E^L&(A^E))+0x983e5152|0;D=D+T|0;T=T+(S&x^C&(S^x))+(S>>>2^S>>>13^S>>>22^S<<30^S<<19^S<<10)|0;g=(y>>>7^y>>>18^y>>>3^y<<25^y<<14)+(p>>>17^p>>>19^p>>>10^p<<15^p<<13)+g+r|0;E=g+E+(D>>>6^D>>>11^D>>>25^D<<26^D<<21^D<<7)+(A^D&(L^A))+0xa831c66d|0;C=C+E|0;E=E+(T&S^x&(T^S))+(T>>>2^T>>>13^T>>>22^T<<30^T<<19^T<<10)|0;y=(b>>>7^b>>>18^b>>>3^b<<25^b<<14)+(_>>>17^_>>>19^_>>>10^_<<15^_<<13)+y+u|0;A=y+A+(C>>>6^C>>>11^C>>>25^C<<26^C<<21^C<<7)+(L^C&(D^L))+0xb00327c8|0;x=x+A|0;A=A+(E&T^S&(E^T))+(E>>>2^E>>>13^E>>>22^E<<30^E<<19^E<<10)|0;b=(v>>>7^v>>>18^v>>>3^v<<25^v<<14)+(g>>>17^g>>>19^g>>>10^g<<15^g<<13)+b+h|0;L=b+L+(x>>>6^x>>>11^x>>>25^x<<26^x<<21^x<<7)+(D^x&(C^D))+0xbf597fc7|0;S=S+L|0;L=L+(A&E^T&(A^E))+(A>>>2^A>>>13^A>>>22^A<<30^A<<19^A<<10)|0;v=(w>>>7^w>>>18^w>>>3^w<<25^w<<14)+(y>>>17^y>>>19^y>>>10^y<<15^y<<13)+v+f|0;D=v+D+(S>>>6^S>>>11^S>>>25^S<<26^S<<21^S<<7)+(C^S&(x^C))+0xc6e00bf3|0;T=T+D|0;D=D+(L&A^E&(L^A))+(L>>>2^L>>>13^L>>>22^L<<30^L<<19^L<<10)|0;w=(k>>>7^k>>>18^k>>>3^k<<25^k<<14)+(b>>>17^b>>>19^b>>>10^b<<15^b<<13)+w+m|0;C=w+C+(T>>>6^T>>>11^T>>>25^T<<26^T<<21^T<<7)+(x^T&(S^x))+0xd5a79147|0;E=E+C|0;C=C+(D&L^A&(D^L))+(D>>>2^D>>>13^D>>>22^D<<30^D<<19^D<<10)|0;k=(M>>>7^M>>>18^M>>>3^M<<25^M<<14)+(v>>>17^v>>>19^v>>>10^v<<15^v<<13)+k+p|0;x=k+x+(E>>>6^E>>>11^E>>>25^E<<26^E<<21^E<<7)+(S^E&(T^S))+0x06ca6351|0;A=A+x|0;x=x+(C&D^L&(C^D))+(C>>>2^C>>>13^C>>>22^C<<30^C<<19^C<<10)|0;M=(e>>>7^e>>>18^e>>>3^e<<25^e<<14)+(w>>>17^w>>>19^w>>>10^w<<15^w<<13)+M+_|0;S=M+S+(A>>>6^A>>>11^A>>>25^A<<26^A<<21^A<<7)+(T^A&(E^T))+0x14292967|0;L=L+S|0;S=S+(x&C^D&(x^C))+(x>>>2^x>>>13^x>>>22^x<<30^x<<19^x<<10)|0;e=(t>>>7^t>>>18^t>>>3^t<<25^t<<14)+(k>>>17^k>>>19^k>>>10^k<<15^k<<13)+e+g|0;T=e+T+(L>>>6^L>>>11^L>>>25^L<<26^L<<21^L<<7)+(E^L&(A^E))+0x27b70a85|0;D=D+T|0;T=T+(S&x^C&(S^x))+(S>>>2^S>>>13^S>>>22^S<<30^S<<19^S<<10)|0;t=(r>>>7^r>>>18^r>>>3^r<<25^r<<14)+(M>>>17^M>>>19^M>>>10^M<<15^M<<13)+t+y|0;E=t+E+(D>>>6^D>>>11^D>>>25^D<<26^D<<21^D<<7)+(A^D&(L^A))+0x2e1b2138|0;C=C+E|0;E=E+(T&S^x&(T^S))+(T>>>2^T>>>13^T>>>22^T<<30^T<<19^T<<10)|0;r=(u>>>7^u>>>18^u>>>3^u<<25^u<<14)+(e>>>17^e>>>19^e>>>10^e<<15^e<<13)+r+b|0;A=r+A+(C>>>6^C>>>11^C>>>25^C<<26^C<<21^C<<7)+(L^C&(D^L))+0x4d2c6dfc|0;x=x+A|0;A=A+(E&T^S&(E^T))+(E>>>2^E>>>13^E>>>22^E<<30^E<<19^E<<10)|0;u=(h>>>7^h>>>18^h>>>3^h<<25^h<<14)+(t>>>17^t>>>19^t>>>10^t<<15^t<<13)+u+v|0;L=u+L+(x>>>6^x>>>11^x>>>25^x<<26^x<<21^x<<7)+(D^x&(C^D))+0x53380d13|0;S=S+L|0;L=L+(A&E^T&(A^E))+(A>>>2^A>>>13^A>>>22^A<<30^A<<19^A<<10)|0;h=(f>>>7^f>>>18^f>>>3^f<<25^f<<14)+(r>>>17^r>>>19^r>>>10^r<<15^r<<13)+h+w|0;D=h+D+(S>>>6^S>>>11^S>>>25^S<<26^S<<21^S<<7)+(C^S&(x^C))+0x650a7354|0;T=T+D|0;D=D+(L&A^E&(L^A))+(L>>>2^L>>>13^L>>>22^L<<30^L<<19^L<<10)|0;f=(m>>>7^m>>>18^m>>>3^m<<25^m<<14)+(u>>>17^u>>>19^u>>>10^u<<15^u<<13)+f+k|0;C=f+C+(T>>>6^T>>>11^T>>>25^T<<26^T<<21^T<<7)+(x^T&(S^x))+0x766a0abb|0;E=E+C|0;C=C+(D&L^A&(D^L))+(D>>>2^D>>>13^D>>>22^D<<30^D<<19^D<<10)|0;m=(p>>>7^p>>>18^p>>>3^p<<25^p<<14)+(h>>>17^h>>>19^h>>>10^h<<15^h<<13)+m+M|0;x=m+x+(E>>>6^E>>>11^E>>>25^E<<26^E<<21^E<<7)+(S^E&(T^S))+0x81c2c92e|0;A=A+x|0;x=x+(C&D^L&(C^D))+(C>>>2^C>>>13^C>>>22^C<<30^C<<19^C<<10)|0;p=(_>>>7^_>>>18^_>>>3^_<<25^_<<14)+(f>>>17^f>>>19^f>>>10^f<<15^f<<13)+p+e|0;S=p+S+(A>>>6^A>>>11^A>>>25^A<<26^A<<21^A<<7)+(T^A&(E^T))+0x92722c85|0;L=L+S|0;S=S+(x&C^D&(x^C))+(x>>>2^x>>>13^x>>>22^x<<30^x<<19^x<<10)|0;_=(g>>>7^g>>>18^g>>>3^g<<25^g<<14)+(m>>>17^m>>>19^m>>>10^m<<15^m<<13)+_+t|0;T=_+T+(L>>>6^L>>>11^L>>>25^L<<26^L<<21^L<<7)+(E^L&(A^E))+0xa2bfe8a1|0;D=D+T|0;T=T+(S&x^C&(S^x))+(S>>>2^S>>>13^S>>>22^S<<30^S<<19^S<<10)|0;g=(y>>>7^y>>>18^y>>>3^y<<25^y<<14)+(p>>>17^p>>>19^p>>>10^p<<15^p<<13)+g+r|0;E=g+E+(D>>>6^D>>>11^D>>>25^D<<26^D<<21^D<<7)+(A^D&(L^A))+0xa81a664b|0;C=C+E|0;E=E+(T&S^x&(T^S))+(T>>>2^T>>>13^T>>>22^T<<30^T<<19^T<<10)|0;y=(b>>>7^b>>>18^b>>>3^b<<25^b<<14)+(_>>>17^_>>>19^_>>>10^_<<15^_<<13)+y+u|0;A=y+A+(C>>>6^C>>>11^C>>>25^C<<26^C<<21^C<<7)+(L^C&(D^L))+0xc24b8b70|0;x=x+A|0;A=A+(E&T^S&(E^T))+(E>>>2^E>>>13^E>>>22^E<<30^E<<19^E<<10)|0;b=(v>>>7^v>>>18^v>>>3^v<<25^v<<14)+(g>>>17^g>>>19^g>>>10^g<<15^g<<13)+b+h|0;L=b+L+(x>>>6^x>>>11^x>>>25^x<<26^x<<21^x<<7)+(D^x&(C^D))+0xc76c51a3|0;S=S+L|0;L=L+(A&E^T&(A^E))+(A>>>2^A>>>13^A>>>22^A<<30^A<<19^A<<10)|0;v=(w>>>7^w>>>18^w>>>3^w<<25^w<<14)+(y>>>17^y>>>19^y>>>10^y<<15^y<<13)+v+f|0;D=v+D+(S>>>6^S>>>11^S>>>25^S<<26^S<<21^S<<7)+(C^S&(x^C))+0xd192e819|0;T=T+D|0;D=D+(L&A^E&(L^A))+(L>>>2^L>>>13^L>>>22^L<<30^L<<19^L<<10)|0;w=(k>>>7^k>>>18^k>>>3^k<<25^k<<14)+(b>>>17^b>>>19^b>>>10^b<<15^b<<13)+w+m|0;C=w+C+(T>>>6^T>>>11^T>>>25^T<<26^T<<21^T<<7)+(x^T&(S^x))+0xd6990624|0;E=E+C|0;C=C+(D&L^A&(D^L))+(D>>>2^D>>>13^D>>>22^D<<30^D<<19^D<<10)|0;k=(M>>>7^M>>>18^M>>>3^M<<25^M<<14)+(v>>>17^v>>>19^v>>>10^v<<15^v<<13)+k+p|0;x=k+x+(E>>>6^E>>>11^E>>>25^E<<26^E<<21^E<<7)+(S^E&(T^S))+0xf40e3585|0;A=A+x|0;x=x+(C&D^L&(C^D))+(C>>>2^C>>>13^C>>>22^C<<30^C<<19^C<<10)|0;M=(e>>>7^e>>>18^e>>>3^e<<25^e<<14)+(w>>>17^w>>>19^w>>>10^w<<15^w<<13)+M+_|0;S=M+S+(A>>>6^A>>>11^A>>>25^A<<26^A<<21^A<<7)+(T^A&(E^T))+0x106aa070|0;L=L+S|0;S=S+(x&C^D&(x^C))+(x>>>2^x>>>13^x>>>22^x<<30^x<<19^x<<10)|0;e=(t>>>7^t>>>18^t>>>3^t<<25^t<<14)+(k>>>17^k>>>19^k>>>10^k<<15^k<<13)+e+g|0;T=e+T+(L>>>6^L>>>11^L>>>25^L<<26^L<<21^L<<7)+(E^L&(A^E))+0x19a4c116|0;D=D+T|0;T=T+(S&x^C&(S^x))+(S>>>2^S>>>13^S>>>22^S<<30^S<<19^S<<10)|0;t=(r>>>7^r>>>18^r>>>3^r<<25^r<<14)+(M>>>17^M>>>19^M>>>10^M<<15^M<<13)+t+y|0;E=t+E+(D>>>6^D>>>11^D>>>25^D<<26^D<<21^D<<7)+(A^D&(L^A))+0x1e376c08|0;C=C+E|0;E=E+(T&S^x&(T^S))+(T>>>2^T>>>13^T>>>22^T<<30^T<<19^T<<10)|0;r=(u>>>7^u>>>18^u>>>3^u<<25^u<<14)+(e>>>17^e>>>19^e>>>10^e<<15^e<<13)+r+b|0;A=r+A+(C>>>6^C>>>11^C>>>25^C<<26^C<<21^C<<7)+(L^C&(D^L))+0x2748774c|0;x=x+A|0;A=A+(E&T^S&(E^T))+(E>>>2^E>>>13^E>>>22^E<<30^E<<19^E<<10)|0;u=(h>>>7^h>>>18^h>>>3^h<<25^h<<14)+(t>>>17^t>>>19^t>>>10^t<<15^t<<13)+u+v|0;L=u+L+(x>>>6^x>>>11^x>>>25^x<<26^x<<21^x<<7)+(D^x&(C^D))+0x34b0bcb5|0;S=S+L|0;L=L+(A&E^T&(A^E))+(A>>>2^A>>>13^A>>>22^A<<30^A<<19^A<<10)|0;h=(f>>>7^f>>>18^f>>>3^f<<25^f<<14)+(r>>>17^r>>>19^r>>>10^r<<15^r<<13)+h+w|0;D=h+D+(S>>>6^S>>>11^S>>>25^S<<26^S<<21^S<<7)+(C^S&(x^C))+0x391c0cb3|0;T=T+D|0;D=D+(L&A^E&(L^A))+(L>>>2^L>>>13^L>>>22^L<<30^L<<19^L<<10)|0;f=(m>>>7^m>>>18^m>>>3^m<<25^m<<14)+(u>>>17^u>>>19^u>>>10^u<<15^u<<13)+f+k|0;C=f+C+(T>>>6^T>>>11^T>>>25^T<<26^T<<21^T<<7)+(x^T&(S^x))+0x4ed8aa4a|0;E=E+C|0;C=C+(D&L^A&(D^L))+(D>>>2^D>>>13^D>>>22^D<<30^D<<19^D<<10)|0;m=(p>>>7^p>>>18^p>>>3^p<<25^p<<14)+(h>>>17^h>>>19^h>>>10^h<<15^h<<13)+m+M|0;x=m+x+(E>>>6^E>>>11^E>>>25^E<<26^E<<21^E<<7)+(S^E&(T^S))+0x5b9cca4f|0;A=A+x|0;x=x+(C&D^L&(C^D))+(C>>>2^C>>>13^C>>>22^C<<30^C<<19^C<<10)|0;p=(_>>>7^_>>>18^_>>>3^_<<25^_<<14)+(f>>>17^f>>>19^f>>>10^f<<15^f<<13)+p+e|0;S=p+S+(A>>>6^A>>>11^A>>>25^A<<26^A<<21^A<<7)+(T^A&(E^T))+0x682e6ff3|0;L=L+S|0;S=S+(x&C^D&(x^C))+(x>>>2^x>>>13^x>>>22^x<<30^x<<19^x<<10)|0;_=(g>>>7^g>>>18^g>>>3^g<<25^g<<14)+(m>>>17^m>>>19^m>>>10^m<<15^m<<13)+_+t|0;T=_+T+(L>>>6^L>>>11^L>>>25^L<<26^L<<21^L<<7)+(E^L&(A^E))+0x748f82ee|0;D=D+T|0;T=T+(S&x^C&(S^x))+(S>>>2^S>>>13^S>>>22^S<<30^S<<19^S<<10)|0;g=(y>>>7^y>>>18^y>>>3^y<<25^y<<14)+(p>>>17^p>>>19^p>>>10^p<<15^p<<13)+g+r|0;E=g+E+(D>>>6^D>>>11^D>>>25^D<<26^D<<21^D<<7)+(A^D&(L^A))+0x78a5636f|0;C=C+E|0;E=E+(T&S^x&(T^S))+(T>>>2^T>>>13^T>>>22^T<<30^T<<19^T<<10)|0;y=(b>>>7^b>>>18^b>>>3^b<<25^b<<14)+(_>>>17^_>>>19^_>>>10^_<<15^_<<13)+y+u|0;A=y+A+(C>>>6^C>>>11^C>>>25^C<<26^C<<21^C<<7)+(L^C&(D^L))+0x84c87814|0;x=x+A|0;A=A+(E&T^S&(E^T))+(E>>>2^E>>>13^E>>>22^E<<30^E<<19^E<<10)|0;b=(v>>>7^v>>>18^v>>>3^v<<25^v<<14)+(g>>>17^g>>>19^g>>>10^g<<15^g<<13)+b+h|0;L=b+L+(x>>>6^x>>>11^x>>>25^x<<26^x<<21^x<<7)+(D^x&(C^D))+0x8cc70208|0;S=S+L|0;L=L+(A&E^T&(A^E))+(A>>>2^A>>>13^A>>>22^A<<30^A<<19^A<<10)|0;v=(w>>>7^w>>>18^w>>>3^w<<25^w<<14)+(y>>>17^y>>>19^y>>>10^y<<15^y<<13)+v+f|0;D=v+D+(S>>>6^S>>>11^S>>>25^S<<26^S<<21^S<<7)+(C^S&(x^C))+0x90befffa|0;T=T+D|0;D=D+(L&A^E&(L^A))+(L>>>2^L>>>13^L>>>22^L<<30^L<<19^L<<10)|0;w=(k>>>7^k>>>18^k>>>3^k<<25^k<<14)+(b>>>17^b>>>19^b>>>10^b<<15^b<<13)+w+m|0;C=w+C+(T>>>6^T>>>11^T>>>25^T<<26^T<<21^T<<7)+(x^T&(S^x))+0xa4506ceb|0;E=E+C|0;C=C+(D&L^A&(D^L))+(D>>>2^D>>>13^D>>>22^D<<30^D<<19^D<<10)|0;k=(M>>>7^M>>>18^M>>>3^M<<25^M<<14)+(v>>>17^v>>>19^v>>>10^v<<15^v<<13)+k+p|0;x=k+x+(E>>>6^E>>>11^E>>>25^E<<26^E<<21^E<<7)+(S^E&(T^S))+0xbef9a3f7|0;A=A+x|0;x=x+(C&D^L&(C^D))+(C>>>2^C>>>13^C>>>22^C<<30^C<<19^C<<10)|0;M=(e>>>7^e>>>18^e>>>3^e<<25^e<<14)+(w>>>17^w>>>19^w>>>10^w<<15^w<<13)+M+_|0;S=M+S+(A>>>6^A>>>11^A>>>25^A<<26^A<<21^A<<7)+(T^A&(E^T))+0xc67178f2|0;L=L+S|0;S=S+(x&C^D&(x^C))+(x>>>2^x>>>13^x>>>22^x<<30^x<<19^x<<10)|0;n=n+S|0;i=i+x|0;s=s+C|0;a=a+D|0;o=o+L|0;l=l+A|0;c=c+E|0;d=d+T|0}function T(e){e=e|0;E(A[e|0]<<24|A[e|1]<<16|A[e|2]<<8|A[e|3],A[e|4]<<24|A[e|5]<<16|A[e|6]<<8|A[e|7],A[e|8]<<24|A[e|9]<<16|A[e|10]<<8|A[e|11],A[e|12]<<24|A[e|13]<<16|A[e|14]<<8|A[e|15],A[e|16]<<24|A[e|17]<<16|A[e|18]<<8|A[e|19],A[e|20]<<24|A[e|21]<<16|A[e|22]<<8|A[e|23],A[e|24]<<24|A[e|25]<<16|A[e|26]<<8|A[e|27],A[e|28]<<24|A[e|29]<<16|A[e|30]<<8|A[e|31],A[e|32]<<24|A[e|33]<<16|A[e|34]<<8|A[e|35],A[e|36]<<24|A[e|37]<<16|A[e|38]<<8|A[e|39],A[e|40]<<24|A[e|41]<<16|A[e|42]<<8|A[e|43],A[e|44]<<24|A[e|45]<<16|A[e|46]<<8|A[e|47],A[e|48]<<24|A[e|49]<<16|A[e|50]<<8|A[e|51],A[e|52]<<24|A[e|53]<<16|A[e|54]<<8|A[e|55],A[e|56]<<24|A[e|57]<<16|A[e|58]<<8|A[e|59],A[e|60]<<24|A[e|61]<<16|A[e|62]<<8|A[e|63])}function P(e){e=e|0;A[e|0]=n>>>24;A[e|1]=n>>>16&255;A[e|2]=n>>>8&255;A[e|3]=n&255;A[e|4]=i>>>24;A[e|5]=i>>>16&255;A[e|6]=i>>>8&255;A[e|7]=i&255;A[e|8]=s>>>24;A[e|9]=s>>>16&255;A[e|10]=s>>>8&255;A[e|11]=s&255;A[e|12]=a>>>24;A[e|13]=a>>>16&255;A[e|14]=a>>>8&255;A[e|15]=a&255;A[e|16]=o>>>24;A[e|17]=o>>>16&255;A[e|18]=o>>>8&255;A[e|19]=o&255;A[e|20]=l>>>24;A[e|21]=l>>>16&255;A[e|22]=l>>>8&255;A[e|23]=l&255;A[e|24]=c>>>24;A[e|25]=c>>>16&255;A[e|26]=c>>>8&255;A[e|27]=c&255;A[e|28]=d>>>24;A[e|29]=d>>>16&255;A[e|30]=d>>>8&255;A[e|31]=d&255}function Y(){n=0x6a09e667;i=0xbb67ae85;s=0x3c6ef372;a=0xa54ff53a;o=0x510e527f;l=0x9b05688c;c=0x1f83d9ab;d=0x5be0cd19;u=h=0}function R(e,t,r,f,m,p,_,g,y,b){e=e|0;t=t|0;r=r|0;f=f|0;m=m|0;p=p|0;_=_|0;g=g|0;y=y|0;b=b|0;n=e;i=t;s=r;a=f;o=m;l=p;c=_;d=g;u=y;h=b}function O(e,t){e=e|0;t=t|0;var r=0;if(e&63)return-1;while((t|0)>=64){T(e);e=e+64|0;t=t-64|0;r=r+64|0}u=u+r|0;if(u>>>0>>0)h=h+1|0;return r|0}function I(e,t,r){e=e|0;t=t|0;r=r|0;var n=0,i=0;if(e&63)return-1;if(~r)if(r&31)return-1;if((t|0)>=64){n=O(e,t)|0;if((n|0)==-1)return-1;e=e+n|0;t=t-n|0}n=n+t|0;u=u+t|0;if(u>>>0>>0)h=h+1|0;A[e|t]=0x80;if((t|0)>=56){for(i=t+1|0;(i|0)<64;i=i+1|0)A[e|i]=0x00;T(e);t=0;A[e|0]=0}for(i=t+1|0;(i|0)<59;i=i+1|0)A[e|i]=0;A[e|56]=h>>>21&255;A[e|57]=h>>>13&255;A[e|58]=h>>>5&255;A[e|59]=h<<3&255|u>>>29;A[e|60]=u>>>21&255;A[e|61]=u>>>13&255;A[e|62]=u>>>5&255;A[e|63]=u<<3&255;T(e);if(~r)P(r);return n|0}function j(){n=f;i=m;s=p;a=_;o=g;l=y;c=b;d=v;u=64;h=0}function F(){n=w;i=k;s=M;a=S;o=x;l=C;c=D;d=L;u=64;h=0}function H(e,t,r,A,T,P,R,O,I,j,F,H,N,B,z,U){e=e|0;t=t|0;r=r|0;A=A|0;T=T|0;P=P|0;R=R|0;O=O|0;I=I|0;j=j|0;F=F|0;H=H|0;N=N|0;B=B|0;z=z|0;U=U|0;Y();E(e^0x5c5c5c5c,t^0x5c5c5c5c,r^0x5c5c5c5c,A^0x5c5c5c5c,T^0x5c5c5c5c,P^0x5c5c5c5c,R^0x5c5c5c5c,O^0x5c5c5c5c,I^0x5c5c5c5c,j^0x5c5c5c5c,F^0x5c5c5c5c,H^0x5c5c5c5c,N^0x5c5c5c5c,B^0x5c5c5c5c,z^0x5c5c5c5c,U^0x5c5c5c5c);w=n;k=i;M=s;S=a;x=o;C=l;D=c;L=d;Y();E(e^0x36363636,t^0x36363636,r^0x36363636,A^0x36363636,T^0x36363636,P^0x36363636,R^0x36363636,O^0x36363636,I^0x36363636,j^0x36363636,F^0x36363636,H^0x36363636,N^0x36363636,B^0x36363636,z^0x36363636,U^0x36363636);f=n;m=i;p=s;_=a;g=o;y=l;b=c;v=d;u=64;h=0}function N(e,t,r){e=e|0;t=t|0;r=r|0;var u=0,h=0,f=0,m=0,p=0,_=0,g=0,y=0,b=0;if(e&63)return-1;if(~r)if(r&31)return-1;b=I(e,t,-1)|0;u=n,h=i,f=s,m=a,p=o,_=l,g=c,y=d;F();E(u,h,f,m,p,_,g,y,0x80000000,0,0,0,0,0,0,768);if(~r)P(r);return b|0}function B(e,t,r,u,h){e=e|0;t=t|0;r=r|0;u=u|0;h=h|0;var f=0,m=0,p=0,_=0,g=0,y=0,b=0,v=0,w=0,k=0,M=0,S=0,x=0,C=0,D=0,L=0;if(e&63)return-1;if(~h)if(h&31)return-1;A[e+t|0]=r>>>24;A[e+t+1|0]=r>>>16&255;A[e+t+2|0]=r>>>8&255;A[e+t+3|0]=r&255;N(e,t+4|0,-1)|0;f=w=n,m=k=i,p=M=s,_=S=a,g=x=o,y=C=l,b=D=c,v=L=d;u=u-1|0;while((u|0)>0){j();E(w,k,M,S,x,C,D,L,0x80000000,0,0,0,0,0,0,768);w=n,k=i,M=s,S=a,x=o,C=l,D=c,L=d;F();E(w,k,M,S,x,C,D,L,0x80000000,0,0,0,0,0,0,768);w=n,k=i,M=s,S=a,x=o,C=l,D=c,L=d;f=f^n;m=m^i;p=p^s;_=_^a;g=g^o;y=y^l;b=b^c;v=v^d;u=u-1|0}n=f;i=m;s=p;a=_;o=g;l=y;c=b;d=v;if(~h)P(h);return 0}return{reset:Y,init:R,process:O,finish:I,hmac_reset:j,hmac_init:H,hmac_finish:N,pbkdf2_generate_block:B}}},{}],13:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Sha256=r._sha256_hash_size=r._sha256_block_size=void 0;var n,i=e("./sha256.asm"),s=e("../hash"),a=(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=r._sha256_block_size=64,l=r._sha256_hash_size=32,c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.NAME="sha256",t.BLOCK_SIZE=o,t.HASH_SIZE=l,t}return a(t,e),t.bytes=function(e){return(new t).process(e).finish().result},t.NAME="sha256",t.heap_pool=[],t.asm_pool=[],t.asm_function=i.sha256_asm,t}(s.Hash);r.Sha256=c},{"../hash":9,"./sha256.asm":12}],14:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n,i=(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=function(e){function t(){for(var t=[],r=0;r>1),n=0;n>1]=parseInt(e.substr(n,2),16);return r},r.base64_to_bytes=function(e){return s(n(e))},r.bytes_to_string=a,r.bytes_to_hex=function(e){for(var t="",r=0;r>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,(e|=e>>>16)+1},r.is_number=function(e){return"number"==typeof e},r.is_string=function(e){return"string"==typeof e},r.is_buffer=function(e){return e instanceof ArrayBuffer},r.is_bytes=function(e){return e instanceof Uint8Array},r.is_typed_array=function(e){return e instanceof Int8Array||e instanceof Uint8Array||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array},r._heap_init=function(e,t){var r=e?e.byteLength:t||65536;if(4095&r||r<=0)throw new Error("heap size must be a positive integer and a multiple of 4096");return e||new Uint8Array(new ArrayBuffer(r))},r._heap_write=function(e,t,r,n,i){var s=e.length-t,a=s=r)throw new Error("Malformed string, low surrogate expected at position "+i);a=(55296^a)<<10|65536|56320^e.charCodeAt(i)}else if(!t&&a>>>8)throw new Error("Wide characters are not allowed.");!t||a<=127?n[s++]=a:a<=2047?(n[s++]=192|a>>6,n[s++]=128|63&a):a<=65535?(n[s++]=224|a>>12,n[s++]=128|a>>6&63,n[s++]=128|63&a):(n[s++]=240|a>>18,n[s++]=128|a>>12&63,n[s++]=128|a>>6&63,n[s++]=128|63&a)}return n.subarray(0,s)}function a(e,t){void 0===t&&(t=!1);for(var r=e.length,n=new Array(r),i=0,s=0;i=192&&a<224&&i+1=224&&a<240&&i+2=240&&a<248&&i+3>10,n[s++]=56320|1023&o)}}var l="",c=16384;for(i=0;i=49&&a<=54?a-49+10:a>=17&&a<=22?a-17+10:15&a}return n}function l(e,t,r,n){for(var i=0,s=Math.min(e.length,r),a=t;a=49?o-49+10:o>=17?o-17+10:o}return i}s.isBN=function(e){return e instanceof s||null!==e&&"object"==typeof e&&e.constructor.wordSize===s.wordSize&&Array.isArray(e.words)},s.max=function(e,t){return e.cmp(t)>0?e:t},s.min=function(e,t){return e.cmp(t)<0?e:t},s.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&i++,16===t?this._parseHex(e,i):this._parseBase(e,t,i),"-"===e[0]&&(this.negative=1),this.strip(),"le"===r&&this._initArray(this.toArray(),t,r)},s.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},s.prototype._initArray=function(e,t,r){if(n("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i=0;i-=3)this.words[s]|=(a=e[i]|e[i-1]<<8|e[i-2]<<16)<>>26-o&67108863,(o+=24)>=26&&(o-=26,s++);else if("le"===r)for(i=0,s=0;i>>26-o&67108863,(o+=24)>=26&&(o-=26,s++);return this.strip()},s.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r=t;r-=6)i=o(e,r,r+6),this.words[n]|=i<>>26-s&4194303,(s+=24)>=26&&(s-=26,n++);r+6!==t&&(i=o(e,t,r+6),this.words[n]|=i<>>26-s&4194303),this.strip()},s.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=t)n++;n--,i=i/t|0;for(var s=e.length-r,a=s%n,o=Math.min(s,s-a)+r,c=0,d=r;d1&&0===this.words[this.length-1];)this.length--;return this._normSign()},s.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},s.prototype.inspect=function(){return(this.red?""};var c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],u=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function h(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var i=0|e.words[0],s=0|t.words[0],a=i*s,o=a/67108864|0;r.words[0]=67108863&a;for(var l=1;l>>26,d=67108863&o,u=Math.min(l,t.length-1),h=Math.max(0,l-e.length+1);h<=u;h++)c+=(a=(i=0|e.words[l-h|0])*(s=0|t.words[h])+d)/67108864|0,d=67108863&a;r.words[l]=0|d,o=0|c}return 0!==o?r.words[l]=0|o:r.length--,r.strip()}s.prototype.toString=function(e,t){var r;if(t=0|t||1,16===(e=e||10)||"hex"===e){r="";for(var i=0,s=0,a=0;a>>24-i&16777215)||a!==this.length-1?c[6-l.length]+l+r:l+r,(i+=2)>=26&&(i-=26,a--)}for(0!==s&&(r=s.toString(16)+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var h=d[e],f=u[e];r="";var m=this.clone();for(m.negative=0;!m.isZero();){var p=m.modn(f).toString(e);r=(m=m.idivn(f)).isZero()?p+r:c[h-p.length]+p+r}for(this.isZero()&&(r="0"+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},s.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},s.prototype.toJSON=function(){return this.toString(16)},s.prototype.toBuffer=function(e,t){return n(void 0!==a),this.toArrayLike(a,e,t)},s.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},s.prototype.toArrayLike=function(e,t,r){var i=this.byteLength(),s=r||Math.max(1,i);n(i<=s,"byte array longer than desired length"),n(s>0,"Requested array length <= 0"),this.strip();var a,o,l="le"===t,c=new e(s),d=this.clone();if(l){for(o=0;!d.isZero();o++)a=d.andln(255),d.iushrn(8),c[o]=a;for(;o=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},s.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0==(8191&t)&&(r+=13,t>>>=13),0==(127&t)&&(r+=7,t>>>=7),0==(15&t)&&(r+=4,t>>>=4),0==(3&t)&&(r+=2,t>>>=2),0==(1&t)&&r++,r},s.prototype.bitLength=function(){var e=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+e},s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},s.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},s.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;re.length?this.clone().iand(e):e.clone().iand(this)},s.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},s.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;ne.length?this.clone().ixor(e):e.clone().ixor(this)},s.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},s.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},s.prototype.notn=function(e){return this.clone().inotn(e)},s.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var r=e/26|0,i=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<e.length?(r=this,n=e):(r=e,n=this);for(var i=0,s=0;s>>26;for(;0!==i&&s>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;se.length?this.clone().iadd(e):e.clone().iadd(this)},s.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=e):(r=e,n=this);for(var s=0,a=0;a>26,this.words[a]=67108863&t;for(;0!==s&&a>26,this.words[a]=67108863&t;if(0===s&&a>>13,f=0|a[1],m=8191&f,p=f>>>13,_=0|a[2],g=8191&_,y=_>>>13,b=0|a[3],v=8191&b,w=b>>>13,k=0|a[4],M=8191&k,S=k>>>13,x=0|a[5],C=8191&x,D=x>>>13,L=0|a[6],A=8191&L,E=L>>>13,T=0|a[7],P=8191&T,Y=T>>>13,R=0|a[8],O=8191&R,I=R>>>13,j=0|a[9],F=8191&j,H=j>>>13,N=0|o[0],B=8191&N,z=N>>>13,U=0|o[1],V=8191&U,K=U>>>13,W=0|o[2],q=8191&W,G=W>>>13,$=0|o[3],Z=8191&$,J=$>>>13,Q=0|o[4],X=8191&Q,ee=Q>>>13,te=0|o[5],re=8191&te,ne=te>>>13,ie=0|o[6],se=8191&ie,ae=ie>>>13,oe=0|o[7],le=8191&oe,ce=oe>>>13,de=0|o[8],ue=8191&de,he=de>>>13,fe=0|o[9],me=8191&fe,pe=fe>>>13;r.negative=e.negative^t.negative,r.length=19;var _e=(c+(n=Math.imul(u,B))|0)+((8191&(i=(i=Math.imul(u,z))+Math.imul(h,B)|0))<<13)|0;c=((s=Math.imul(h,z))+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(m,B),i=(i=Math.imul(m,z))+Math.imul(p,B)|0,s=Math.imul(p,z);var ge=(c+(n=n+Math.imul(u,V)|0)|0)+((8191&(i=(i=i+Math.imul(u,K)|0)+Math.imul(h,V)|0))<<13)|0;c=((s=s+Math.imul(h,K)|0)+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(g,B),i=(i=Math.imul(g,z))+Math.imul(y,B)|0,s=Math.imul(y,z),n=n+Math.imul(m,V)|0,i=(i=i+Math.imul(m,K)|0)+Math.imul(p,V)|0,s=s+Math.imul(p,K)|0;var ye=(c+(n=n+Math.imul(u,q)|0)|0)+((8191&(i=(i=i+Math.imul(u,G)|0)+Math.imul(h,q)|0))<<13)|0;c=((s=s+Math.imul(h,G)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(v,B),i=(i=Math.imul(v,z))+Math.imul(w,B)|0,s=Math.imul(w,z),n=n+Math.imul(g,V)|0,i=(i=i+Math.imul(g,K)|0)+Math.imul(y,V)|0,s=s+Math.imul(y,K)|0,n=n+Math.imul(m,q)|0,i=(i=i+Math.imul(m,G)|0)+Math.imul(p,q)|0,s=s+Math.imul(p,G)|0;var be=(c+(n=n+Math.imul(u,Z)|0)|0)+((8191&(i=(i=i+Math.imul(u,J)|0)+Math.imul(h,Z)|0))<<13)|0;c=((s=s+Math.imul(h,J)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(M,B),i=(i=Math.imul(M,z))+Math.imul(S,B)|0,s=Math.imul(S,z),n=n+Math.imul(v,V)|0,i=(i=i+Math.imul(v,K)|0)+Math.imul(w,V)|0,s=s+Math.imul(w,K)|0,n=n+Math.imul(g,q)|0,i=(i=i+Math.imul(g,G)|0)+Math.imul(y,q)|0,s=s+Math.imul(y,G)|0,n=n+Math.imul(m,Z)|0,i=(i=i+Math.imul(m,J)|0)+Math.imul(p,Z)|0,s=s+Math.imul(p,J)|0;var ve=(c+(n=n+Math.imul(u,X)|0)|0)+((8191&(i=(i=i+Math.imul(u,ee)|0)+Math.imul(h,X)|0))<<13)|0;c=((s=s+Math.imul(h,ee)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(C,B),i=(i=Math.imul(C,z))+Math.imul(D,B)|0,s=Math.imul(D,z),n=n+Math.imul(M,V)|0,i=(i=i+Math.imul(M,K)|0)+Math.imul(S,V)|0,s=s+Math.imul(S,K)|0,n=n+Math.imul(v,q)|0,i=(i=i+Math.imul(v,G)|0)+Math.imul(w,q)|0,s=s+Math.imul(w,G)|0,n=n+Math.imul(g,Z)|0,i=(i=i+Math.imul(g,J)|0)+Math.imul(y,Z)|0,s=s+Math.imul(y,J)|0,n=n+Math.imul(m,X)|0,i=(i=i+Math.imul(m,ee)|0)+Math.imul(p,X)|0,s=s+Math.imul(p,ee)|0;var we=(c+(n=n+Math.imul(u,re)|0)|0)+((8191&(i=(i=i+Math.imul(u,ne)|0)+Math.imul(h,re)|0))<<13)|0;c=((s=s+Math.imul(h,ne)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(A,B),i=(i=Math.imul(A,z))+Math.imul(E,B)|0,s=Math.imul(E,z),n=n+Math.imul(C,V)|0,i=(i=i+Math.imul(C,K)|0)+Math.imul(D,V)|0,s=s+Math.imul(D,K)|0,n=n+Math.imul(M,q)|0,i=(i=i+Math.imul(M,G)|0)+Math.imul(S,q)|0,s=s+Math.imul(S,G)|0,n=n+Math.imul(v,Z)|0,i=(i=i+Math.imul(v,J)|0)+Math.imul(w,Z)|0,s=s+Math.imul(w,J)|0,n=n+Math.imul(g,X)|0,i=(i=i+Math.imul(g,ee)|0)+Math.imul(y,X)|0,s=s+Math.imul(y,ee)|0,n=n+Math.imul(m,re)|0,i=(i=i+Math.imul(m,ne)|0)+Math.imul(p,re)|0,s=s+Math.imul(p,ne)|0;var ke=(c+(n=n+Math.imul(u,se)|0)|0)+((8191&(i=(i=i+Math.imul(u,ae)|0)+Math.imul(h,se)|0))<<13)|0;c=((s=s+Math.imul(h,ae)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(P,B),i=(i=Math.imul(P,z))+Math.imul(Y,B)|0,s=Math.imul(Y,z),n=n+Math.imul(A,V)|0,i=(i=i+Math.imul(A,K)|0)+Math.imul(E,V)|0,s=s+Math.imul(E,K)|0,n=n+Math.imul(C,q)|0,i=(i=i+Math.imul(C,G)|0)+Math.imul(D,q)|0,s=s+Math.imul(D,G)|0,n=n+Math.imul(M,Z)|0,i=(i=i+Math.imul(M,J)|0)+Math.imul(S,Z)|0,s=s+Math.imul(S,J)|0,n=n+Math.imul(v,X)|0,i=(i=i+Math.imul(v,ee)|0)+Math.imul(w,X)|0,s=s+Math.imul(w,ee)|0,n=n+Math.imul(g,re)|0,i=(i=i+Math.imul(g,ne)|0)+Math.imul(y,re)|0,s=s+Math.imul(y,ne)|0,n=n+Math.imul(m,se)|0,i=(i=i+Math.imul(m,ae)|0)+Math.imul(p,se)|0,s=s+Math.imul(p,ae)|0;var Me=(c+(n=n+Math.imul(u,le)|0)|0)+((8191&(i=(i=i+Math.imul(u,ce)|0)+Math.imul(h,le)|0))<<13)|0;c=((s=s+Math.imul(h,ce)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(O,B),i=(i=Math.imul(O,z))+Math.imul(I,B)|0,s=Math.imul(I,z),n=n+Math.imul(P,V)|0,i=(i=i+Math.imul(P,K)|0)+Math.imul(Y,V)|0,s=s+Math.imul(Y,K)|0,n=n+Math.imul(A,q)|0,i=(i=i+Math.imul(A,G)|0)+Math.imul(E,q)|0,s=s+Math.imul(E,G)|0,n=n+Math.imul(C,Z)|0,i=(i=i+Math.imul(C,J)|0)+Math.imul(D,Z)|0,s=s+Math.imul(D,J)|0,n=n+Math.imul(M,X)|0,i=(i=i+Math.imul(M,ee)|0)+Math.imul(S,X)|0,s=s+Math.imul(S,ee)|0,n=n+Math.imul(v,re)|0,i=(i=i+Math.imul(v,ne)|0)+Math.imul(w,re)|0,s=s+Math.imul(w,ne)|0,n=n+Math.imul(g,se)|0,i=(i=i+Math.imul(g,ae)|0)+Math.imul(y,se)|0,s=s+Math.imul(y,ae)|0,n=n+Math.imul(m,le)|0,i=(i=i+Math.imul(m,ce)|0)+Math.imul(p,le)|0,s=s+Math.imul(p,ce)|0;var Se=(c+(n=n+Math.imul(u,ue)|0)|0)+((8191&(i=(i=i+Math.imul(u,he)|0)+Math.imul(h,ue)|0))<<13)|0;c=((s=s+Math.imul(h,he)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(F,B),i=(i=Math.imul(F,z))+Math.imul(H,B)|0,s=Math.imul(H,z),n=n+Math.imul(O,V)|0,i=(i=i+Math.imul(O,K)|0)+Math.imul(I,V)|0,s=s+Math.imul(I,K)|0,n=n+Math.imul(P,q)|0,i=(i=i+Math.imul(P,G)|0)+Math.imul(Y,q)|0,s=s+Math.imul(Y,G)|0,n=n+Math.imul(A,Z)|0,i=(i=i+Math.imul(A,J)|0)+Math.imul(E,Z)|0,s=s+Math.imul(E,J)|0,n=n+Math.imul(C,X)|0,i=(i=i+Math.imul(C,ee)|0)+Math.imul(D,X)|0,s=s+Math.imul(D,ee)|0,n=n+Math.imul(M,re)|0,i=(i=i+Math.imul(M,ne)|0)+Math.imul(S,re)|0,s=s+Math.imul(S,ne)|0,n=n+Math.imul(v,se)|0,i=(i=i+Math.imul(v,ae)|0)+Math.imul(w,se)|0,s=s+Math.imul(w,ae)|0,n=n+Math.imul(g,le)|0,i=(i=i+Math.imul(g,ce)|0)+Math.imul(y,le)|0,s=s+Math.imul(y,ce)|0,n=n+Math.imul(m,ue)|0,i=(i=i+Math.imul(m,he)|0)+Math.imul(p,ue)|0,s=s+Math.imul(p,he)|0;var xe=(c+(n=n+Math.imul(u,me)|0)|0)+((8191&(i=(i=i+Math.imul(u,pe)|0)+Math.imul(h,me)|0))<<13)|0;c=((s=s+Math.imul(h,pe)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(F,V),i=(i=Math.imul(F,K))+Math.imul(H,V)|0,s=Math.imul(H,K),n=n+Math.imul(O,q)|0,i=(i=i+Math.imul(O,G)|0)+Math.imul(I,q)|0,s=s+Math.imul(I,G)|0,n=n+Math.imul(P,Z)|0,i=(i=i+Math.imul(P,J)|0)+Math.imul(Y,Z)|0,s=s+Math.imul(Y,J)|0,n=n+Math.imul(A,X)|0,i=(i=i+Math.imul(A,ee)|0)+Math.imul(E,X)|0,s=s+Math.imul(E,ee)|0,n=n+Math.imul(C,re)|0,i=(i=i+Math.imul(C,ne)|0)+Math.imul(D,re)|0,s=s+Math.imul(D,ne)|0,n=n+Math.imul(M,se)|0,i=(i=i+Math.imul(M,ae)|0)+Math.imul(S,se)|0,s=s+Math.imul(S,ae)|0,n=n+Math.imul(v,le)|0,i=(i=i+Math.imul(v,ce)|0)+Math.imul(w,le)|0,s=s+Math.imul(w,ce)|0,n=n+Math.imul(g,ue)|0,i=(i=i+Math.imul(g,he)|0)+Math.imul(y,ue)|0,s=s+Math.imul(y,he)|0;var Ce=(c+(n=n+Math.imul(m,me)|0)|0)+((8191&(i=(i=i+Math.imul(m,pe)|0)+Math.imul(p,me)|0))<<13)|0;c=((s=s+Math.imul(p,pe)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(F,q),i=(i=Math.imul(F,G))+Math.imul(H,q)|0,s=Math.imul(H,G),n=n+Math.imul(O,Z)|0,i=(i=i+Math.imul(O,J)|0)+Math.imul(I,Z)|0,s=s+Math.imul(I,J)|0,n=n+Math.imul(P,X)|0,i=(i=i+Math.imul(P,ee)|0)+Math.imul(Y,X)|0,s=s+Math.imul(Y,ee)|0,n=n+Math.imul(A,re)|0,i=(i=i+Math.imul(A,ne)|0)+Math.imul(E,re)|0,s=s+Math.imul(E,ne)|0,n=n+Math.imul(C,se)|0,i=(i=i+Math.imul(C,ae)|0)+Math.imul(D,se)|0,s=s+Math.imul(D,ae)|0,n=n+Math.imul(M,le)|0,i=(i=i+Math.imul(M,ce)|0)+Math.imul(S,le)|0,s=s+Math.imul(S,ce)|0,n=n+Math.imul(v,ue)|0,i=(i=i+Math.imul(v,he)|0)+Math.imul(w,ue)|0,s=s+Math.imul(w,he)|0;var De=(c+(n=n+Math.imul(g,me)|0)|0)+((8191&(i=(i=i+Math.imul(g,pe)|0)+Math.imul(y,me)|0))<<13)|0;c=((s=s+Math.imul(y,pe)|0)+(i>>>13)|0)+(De>>>26)|0,De&=67108863,n=Math.imul(F,Z),i=(i=Math.imul(F,J))+Math.imul(H,Z)|0,s=Math.imul(H,J),n=n+Math.imul(O,X)|0,i=(i=i+Math.imul(O,ee)|0)+Math.imul(I,X)|0,s=s+Math.imul(I,ee)|0,n=n+Math.imul(P,re)|0,i=(i=i+Math.imul(P,ne)|0)+Math.imul(Y,re)|0,s=s+Math.imul(Y,ne)|0,n=n+Math.imul(A,se)|0,i=(i=i+Math.imul(A,ae)|0)+Math.imul(E,se)|0,s=s+Math.imul(E,ae)|0,n=n+Math.imul(C,le)|0,i=(i=i+Math.imul(C,ce)|0)+Math.imul(D,le)|0,s=s+Math.imul(D,ce)|0,n=n+Math.imul(M,ue)|0,i=(i=i+Math.imul(M,he)|0)+Math.imul(S,ue)|0,s=s+Math.imul(S,he)|0;var Le=(c+(n=n+Math.imul(v,me)|0)|0)+((8191&(i=(i=i+Math.imul(v,pe)|0)+Math.imul(w,me)|0))<<13)|0;c=((s=s+Math.imul(w,pe)|0)+(i>>>13)|0)+(Le>>>26)|0,Le&=67108863,n=Math.imul(F,X),i=(i=Math.imul(F,ee))+Math.imul(H,X)|0,s=Math.imul(H,ee),n=n+Math.imul(O,re)|0,i=(i=i+Math.imul(O,ne)|0)+Math.imul(I,re)|0,s=s+Math.imul(I,ne)|0,n=n+Math.imul(P,se)|0,i=(i=i+Math.imul(P,ae)|0)+Math.imul(Y,se)|0,s=s+Math.imul(Y,ae)|0,n=n+Math.imul(A,le)|0,i=(i=i+Math.imul(A,ce)|0)+Math.imul(E,le)|0,s=s+Math.imul(E,ce)|0,n=n+Math.imul(C,ue)|0,i=(i=i+Math.imul(C,he)|0)+Math.imul(D,ue)|0,s=s+Math.imul(D,he)|0;var Ae=(c+(n=n+Math.imul(M,me)|0)|0)+((8191&(i=(i=i+Math.imul(M,pe)|0)+Math.imul(S,me)|0))<<13)|0;c=((s=s+Math.imul(S,pe)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(F,re),i=(i=Math.imul(F,ne))+Math.imul(H,re)|0,s=Math.imul(H,ne),n=n+Math.imul(O,se)|0,i=(i=i+Math.imul(O,ae)|0)+Math.imul(I,se)|0,s=s+Math.imul(I,ae)|0,n=n+Math.imul(P,le)|0,i=(i=i+Math.imul(P,ce)|0)+Math.imul(Y,le)|0,s=s+Math.imul(Y,ce)|0,n=n+Math.imul(A,ue)|0,i=(i=i+Math.imul(A,he)|0)+Math.imul(E,ue)|0,s=s+Math.imul(E,he)|0;var Ee=(c+(n=n+Math.imul(C,me)|0)|0)+((8191&(i=(i=i+Math.imul(C,pe)|0)+Math.imul(D,me)|0))<<13)|0;c=((s=s+Math.imul(D,pe)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(F,se),i=(i=Math.imul(F,ae))+Math.imul(H,se)|0,s=Math.imul(H,ae),n=n+Math.imul(O,le)|0,i=(i=i+Math.imul(O,ce)|0)+Math.imul(I,le)|0,s=s+Math.imul(I,ce)|0,n=n+Math.imul(P,ue)|0,i=(i=i+Math.imul(P,he)|0)+Math.imul(Y,ue)|0,s=s+Math.imul(Y,he)|0;var Te=(c+(n=n+Math.imul(A,me)|0)|0)+((8191&(i=(i=i+Math.imul(A,pe)|0)+Math.imul(E,me)|0))<<13)|0;c=((s=s+Math.imul(E,pe)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(F,le),i=(i=Math.imul(F,ce))+Math.imul(H,le)|0,s=Math.imul(H,ce),n=n+Math.imul(O,ue)|0,i=(i=i+Math.imul(O,he)|0)+Math.imul(I,ue)|0,s=s+Math.imul(I,he)|0;var Pe=(c+(n=n+Math.imul(P,me)|0)|0)+((8191&(i=(i=i+Math.imul(P,pe)|0)+Math.imul(Y,me)|0))<<13)|0;c=((s=s+Math.imul(Y,pe)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(F,ue),i=(i=Math.imul(F,he))+Math.imul(H,ue)|0,s=Math.imul(H,he);var Ye=(c+(n=n+Math.imul(O,me)|0)|0)+((8191&(i=(i=i+Math.imul(O,pe)|0)+Math.imul(I,me)|0))<<13)|0;c=((s=s+Math.imul(I,pe)|0)+(i>>>13)|0)+(Ye>>>26)|0,Ye&=67108863;var Re=(c+(n=Math.imul(F,me))|0)+((8191&(i=(i=Math.imul(F,pe))+Math.imul(H,me)|0))<<13)|0;return c=((s=Math.imul(H,pe))+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,l[0]=_e,l[1]=ge,l[2]=ye,l[3]=be,l[4]=ve,l[5]=we,l[6]=ke,l[7]=Me,l[8]=Se,l[9]=xe,l[10]=Ce,l[11]=De,l[12]=Le,l[13]=Ae,l[14]=Ee,l[15]=Te,l[16]=Pe,l[17]=Ye,l[18]=Re,0!==c&&(l[19]=c,r.length++),r};function m(e,t,r){return(new p).mulp(e,t,r)}function p(e,t){this.x=e,this.y=t}Math.imul||(f=h),s.prototype.mulTo=function(e,t){var r=this.length+e.length;return 10===this.length&&10===e.length?f(this,e,t):r<63?h(this,e,t):r<1024?function(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,i=0,s=0;s>>26)|0)>>>26,a&=67108863}r.words[s]=o,n=a,a=i}return 0!==n?r.words[s]=n:r.length--,r.strip()}(this,e,t):m(this,e,t)},p.prototype.makeRBT=function(e){for(var t=new Array(e),r=s.prototype._countBits(e)-1,n=0;n>=1;return n},p.prototype.permute=function(e,t,r,n,i,s){for(var a=0;a>>=1)i++;return 1<>>=13),s>>>=13;for(a=2*t;a>=26,t+=i/67108864|0,t+=s>>>26,this.words[r]=67108863&s}return 0!==t&&(this.words[r]=t,this.length++),this},s.prototype.muln=function(e){return this.clone().imuln(e)},s.prototype.sqr=function(){return this.mul(this)},s.prototype.isqr=function(){return this.imul(this.clone())},s.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r>>n}return t}(e);if(0===t.length)return new s(1);for(var r=this,n=0;n=0);var t,r=e%26,i=(e-r)/26,s=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(t=0;t>>26-r}a&&(this.words[t]=a,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t=0),i=t?(t-t%26)/26:0;var s=e%26,a=Math.min((e-s)/26,this.length),o=67108863^67108863>>>s<a)for(this.length-=a,c=0;c=0&&(0!==d||c>=i);c--){var u=0|this.words[c];this.words[c]=d<<26-s|u>>>s,d=u&o}return l&&0!==d&&(l.words[l.length++]=d),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},s.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},s.prototype.shln=function(e){return this.clone().ishln(e)},s.prototype.ushln=function(e){return this.clone().iushln(e)},s.prototype.shrn=function(e){return this.clone().ishrn(e)},s.prototype.ushrn=function(e){return this.clone().iushrn(e)},s.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26;return!(this.length<=r||!(this.words[r]&1<=0);var t=e%26,r=(e-t)/26;return n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r?this:(0!==t&&r++,this.length=Math.min(r,this.length),0!==t&&(this.words[this.length-1]&=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},s.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(o/67108864|0),this.words[i+r]=67108863&s}for(;i>26,this.words[i+r]=67108863&s;if(0===a)return this.strip();for(n(-1===a),a=0,i=0;i>26,this.words[i]=67108863&s;return this.negative=1,this.strip()},s.prototype._wordDiv=function(e,t){var r,n=this.clone(),i=e,a=0|i.words[i.length-1];0!=(r=26-this._countBits(a))&&(i=i.ushln(r),n.iushln(r),a=0|i.words[i.length-1]);var o,l=n.length-i.length;if("mod"!==t){(o=new s(null)).length=l+1,o.words=new Array(o.length);for(var c=0;c=0;u--){var h=67108864*(0|n.words[i.length+u])+(0|n.words[i.length+u-1]);for(h=Math.min(h/a|0,67108863),n._ishlnsubmul(i,h,u);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(i,1,u),n.isZero()||(n.negative^=1);o&&(o.words[u]=h)}return o&&o.strip(),n.strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:o||null,mod:n}},s.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new s(0),mod:new s(0)}:0!==this.negative&&0===e.negative?(o=this.neg().divmod(e,t),"mod"!==t&&(i=o.div.neg()),"div"!==t&&(a=o.mod.neg(),r&&0!==a.negative&&a.iadd(e)),{div:i,mod:a}):0===this.negative&&0!==e.negative?(o=this.divmod(e.neg(),t),"mod"!==t&&(i=o.div.neg()),{div:i,mod:o.mod}):0!=(this.negative&e.negative)?(o=this.neg().divmod(e.neg(),t),"div"!==t&&(a=o.mod.neg(),r&&0!==a.negative&&a.isub(e)),{div:o.div,mod:a}):e.length>this.length||this.cmp(e)<0?{div:new s(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new s(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new s(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,a,o},s.prototype.div=function(e){return this.divmod(e,"div",!1).div},s.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},s.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},s.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),i=e.andln(1),s=r.cmp(n);return s<0||1===i&&0===s?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},s.prototype.modn=function(e){n(e<=67108863);for(var t=(1<<26)%e,r=0,i=this.length-1;i>=0;i--)r=(t*r+(0|this.words[i]))%e;return r},s.prototype.idivn=function(e){n(e<=67108863);for(var t=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*t;this.words[r]=i/e|0,t=i%e}return this.strip()},s.prototype.divn=function(e){return this.clone().idivn(e)},s.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new s(1),a=new s(0),o=new s(0),l=new s(1),c=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++c;for(var d=r.clone(),u=t.clone();!t.isZero();){for(var h=0,f=1;0==(t.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(d),a.isub(u)),i.iushrn(1),a.iushrn(1);for(var m=0,p=1;0==(r.words[0]&p)&&m<26;++m,p<<=1);if(m>0)for(r.iushrn(m);m-- >0;)(o.isOdd()||l.isOdd())&&(o.iadd(d),l.isub(u)),o.iushrn(1),l.iushrn(1);t.cmp(r)>=0?(t.isub(r),i.isub(o),a.isub(l)):(r.isub(t),o.isub(i),l.isub(a))}return{a:o,b:l,gcd:r.iushln(c)}},s.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i,a=new s(1),o=new s(0),l=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var c=0,d=1;0==(t.words[0]&d)&&c<26;++c,d<<=1);if(c>0)for(t.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(l),a.iushrn(1);for(var u=0,h=1;0==(r.words[0]&h)&&u<26;++u,h<<=1);if(u>0)for(r.iushrn(u);u-- >0;)o.isOdd()&&o.iadd(l),o.iushrn(1);t.cmp(r)>=0?(t.isub(r),a.isub(o)):(r.isub(t),o.isub(a))}return(i=0===t.cmpn(1)?a:o).cmpn(0)<0&&i.iadd(e),i},s.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=t.cmp(r);if(i<0){var s=t;t=r,r=s}else if(0===i||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},s.prototype.invm=function(e){return this.egcd(e).a.umod(e)},s.prototype.isEven=function(){return 0==(1&this.words[0])},s.prototype.isOdd=function(){return 1==(1&this.words[0])},s.prototype.andln=function(e){return this.words[0]&e},s.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,r=(e-t)/26,i=1<>>26,this.words[a]=o&=67108863}return 0!==s&&(this.words[a]=s,this.length++),this},s.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},s.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:ie.length)return 1;if(this.length=0;r--){var n=0|this.words[r],i=0|e.words[r];if(n!==i){ni&&(t=1);break}}return t},s.prototype.gtn=function(e){return 1===this.cmpn(e)},s.prototype.gt=function(e){return 1===this.cmp(e)},s.prototype.gten=function(e){return this.cmpn(e)>=0},s.prototype.gte=function(e){return this.cmp(e)>=0},s.prototype.ltn=function(e){return-1===this.cmpn(e)},s.prototype.lt=function(e){return-1===this.cmp(e)},s.prototype.lten=function(e){return this.cmpn(e)<=0},s.prototype.lte=function(e){return this.cmp(e)<=0},s.prototype.eqn=function(e){return 0===this.cmpn(e)},s.prototype.eq=function(e){return 0===this.cmp(e)},s.red=function(e){return new k(e)},s.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},s.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},s.prototype._forceRed=function(e){return this.red=e,this},s.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},s.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},s.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},s.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},s.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},s.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},s.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},s.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},s.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var _={k256:null,p224:null,p192:null,p25519:null};function g(e,t){this.name=e,this.p=new s(t,16),this.n=this.p.bitLength(),this.k=new s(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function y(){g.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function b(){g.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function v(){g.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function w(){g.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function k(e){if("string"==typeof e){var t=s._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function M(e){k.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new s(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}g.prototype._tmp=function(){var e=new s(null);return e.words=new Array(Math.ceil(this.n/13)),e},g.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t0?r.isub(this.p):r.strip(),r},g.prototype.split=function(e,t){e.iushrn(this.n,0,t)},g.prototype.imulK=function(e){return e.imul(this.k)},i(y,g),y.prototype.split=function(e,t){for(var r=4194303,n=Math.min(e.length,9),i=0;i>>22,s=a}e.words[i-10]=s>>>=22,e.length-=0===s&&e.length>10?10:9},y.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r>>=26,e.words[r]=i,t=n}return 0!==t&&(e.words[e.length++]=t),e},s._prime=function(e){if(_[e])return _[e];var t;if("k256"===e)t=new y;else if("p224"===e)t=new b;else if("p192"===e)t=new v;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new w}return _[e]=t,t},k.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},k.prototype._verify2=function(e,t){n(0==(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},k.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},k.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},k.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},k.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},k.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},k.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},k.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},k.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},k.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},k.prototype.isqr=function(e){return this.imul(e,e.clone())},k.prototype.sqr=function(e){return this.mul(e,e)},k.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var r=this.m.add(new s(1)).iushrn(2);return this.pow(e,r)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);n(!i.isZero());var o=new s(1).toRed(this),l=o.redNeg(),c=this.m.subn(1).iushrn(1),d=this.m.bitLength();for(d=new s(2*d*d).toRed(this);0!==this.pow(d,c).cmp(l);)d.redIAdd(l);for(var u=this.pow(d,i),h=this.pow(e,i.addn(1).iushrn(1)),f=this.pow(e,i),m=a;0!==f.cmp(o);){for(var p=f,_=0;0!==p.cmp(o);_++)p=p.redSqr();n(_=0;n--){for(var c=t.words[n],d=l-1;d>=0;d--){var u=c>>d&1;i!==r[0]&&(i=this.sqr(i)),0!==u||0!==a?(a<<=1,a|=u,(4==++o||0===n&&0===d)&&(i=this.mul(i,r[a]),o=0,a=0)):o=0}l=26}return i},k.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},k.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},s.mont=function(e){return new M(e)},i(M,k),M.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},M.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},M.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),s=i;return i.cmp(this.m)>=0?s=i.isub(this.m):i.cmpn(0)<0&&(s=i.iadd(this.m)),s._forceRed(this)},M.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new s(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},M.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(void 0===t||t,this)},{buffer:"buffer"}],17:[function(e,t,r){var n;function i(e){this.rand=e}if(t.exports=function(e){return n||(n=new i(null)),n.generate(e)},t.exports.Rand=i,i.prototype.generate=function(e){return this._rand(e)},i.prototype._rand=function(e){if(this.rand.getBytes)return this.rand.getBytes(e);for(var t=new Uint8Array(e),r=0;r0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function c(e,t){this.curve=e,this.type=t,this.precomputed=null}t.exports=l,l.prototype.point=function(){throw new Error("Not implemented")},l.prototype.validate=function(){throw new Error("Not implemented")},l.prototype._fixedNafMul=function(e,t){o(e.precomputed);var r=e._getDoubles(),n=s(t,1),i=(1<=l;t--)c=(c<<1)+n[t];a.push(c)}for(var d=this.jpoint(null,null,null),u=this.jpoint(null,null,null),h=i;h>0;h--){for(l=0;l=0;c--){for(t=0;c>=0&&0===a[c];c--)t++;if(c>=0&&t++,l=l.dblp(t),c<0)break;var d=a[c];o(0!==d),l="affine"===e.type?l.mixedAdd(d>0?i[d-1>>1]:i[-d-1>>1].neg()):l.add(d>0?i[d-1>>1]:i[-d-1>>1].neg())}return"affine"===e.type?l.toP():l},l.prototype._wnafMulAdd=function(e,t,r,n,i){for(var o=this._wnafT1,l=this._wnafT2,c=this._wnafT3,d=0,u=0;u=1;u-=2){var f=u-1,m=u;if(1===o[f]&&1===o[m]){var p=[t[f],null,null,t[m]];0===t[f].y.cmp(t[m].y)?(p[1]=t[f].add(t[m]),p[2]=t[f].toJ().mixedAdd(t[m].neg())):0===t[f].y.cmp(t[m].y.redNeg())?(p[1]=t[f].toJ().mixedAdd(t[m]),p[2]=t[f].add(t[m].neg())):(p[1]=t[f].toJ().mixedAdd(t[m]),p[2]=t[f].toJ().mixedAdd(t[m].neg()));var _=[-3,-1,-5,-7,0,7,5,1,3],g=a(r[f],r[m]);d=Math.max(g[0].length,d),c[f]=new Array(d),c[m]=new Array(d);for(var y=0;y=0;u--){for(var w=0;u>=0;){var k=!0;for(y=0;y=0&&w++,b=b.dblp(w),u<0)break;for(y=0;y0?M=l[y][S-1>>1]:S<0&&(M=l[y][-S-1>>1].neg()),b="affine"===M.type?b.mixedAdd(M):b.add(M))}}for(u=0;u=Math.ceil((e.bitLength()+1)/t.step)},c.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,i=0;i":""},c.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},c.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr();r=r.redIAdd(r);var n=this.curve._mulA(e),i=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),s=n.redAdd(t),a=s.redSub(r),o=n.redSub(t),l=i.redMul(a),c=s.redMul(o),d=i.redMul(o),u=a.redMul(s);return this.curve.point(l,c,u,d)},c.prototype._projDbl=function(){var e,t,r,n=this.x.redAdd(this.y).redSqr(),i=this.x.redSqr(),s=this.y.redSqr();if(this.curve.twisted){var a=(c=this.curve._mulA(i)).redAdd(s);if(this.zOne)e=n.redSub(i).redSub(s).redMul(a.redSub(this.curve.two)),t=a.redMul(c.redSub(s)),r=a.redSqr().redSub(a).redSub(a);else{var o=this.z.redSqr(),l=a.redSub(o).redISub(o);e=n.redSub(i).redISub(s).redMul(l),t=a.redMul(c.redSub(s)),r=a.redMul(l)}}else{var c=i.redAdd(s);o=this.curve._mulC(this.z).redSqr(),l=c.redSub(o).redSub(o),e=this.curve._mulC(n.redISub(c)).redMul(l),t=this.curve._mulC(c).redMul(i.redISub(s)),r=c.redMul(l)}return this.curve.point(e,t,r)},c.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},c.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),r=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),n=this.t.redMul(this.curve.dd).redMul(e.t),i=this.z.redMul(e.z.redAdd(e.z)),s=r.redSub(t),a=i.redSub(n),o=i.redAdd(n),l=r.redAdd(t),c=s.redMul(a),d=o.redMul(l),u=s.redMul(l),h=a.redMul(o);return this.curve.point(c,d,h,u)},c.prototype._projAdd=function(e){var t,r,n=this.z.redMul(e.z),i=n.redSqr(),s=this.x.redMul(e.x),a=this.y.redMul(e.y),o=this.curve.d.redMul(s).redMul(a),l=i.redSub(o),c=i.redAdd(o),d=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(s).redISub(a),u=n.redMul(l).redMul(d);return this.curve.twisted?(t=n.redMul(c).redMul(a.redSub(this.curve._mulA(s))),r=l.redMul(c)):(t=n.redMul(c).redMul(a.redSub(s)),r=this.curve._mulC(l).redMul(c)),this.curve.point(u,t,r)},c.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},c.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},c.prototype.mulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!1)},c.prototype.jmulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!0)},c.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},c.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()},c.prototype.getY=function(){return this.normalize(),this.y.fromRed()},c.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},c.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var r=e.clone(),n=this.curve.redN.redMul(this.z);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(n),0===this.x.cmp(t))return!0}},c.prototype.toP=c.prototype.normalize,c.prototype.mixedAdd=c.prototype.add},{"../utils":32,"./base":19,"bn.js":16,inherits:47}],21:[function(e,t,r){"use strict";var n=r;n.base=e("./base"),n.short=e("./short"),n.mont=e("./mont"),n.edwards=e("./edwards")},{"./base":19,"./edwards":20,"./mont":22,"./short":23}],22:[function(e,t,r){"use strict";var n=e("bn.js"),i=e("inherits"),s=e("./base"),a=e("../utils");function o(e){s.call(this,"mont",e),this.a=new n(e.a,16).toRed(this.red),this.b=new n(e.b,16).toRed(this.red),this.i4=new n(4).toRed(this.red).redInvm(),this.two=new n(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function l(e,t,r){s.BasePoint.call(this,e,"projective"),null===t&&null===r?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new n(t,16),this.z=new n(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}i(o,s),t.exports=o,o.prototype.validate=function(e){var t=e.normalize().x,r=t.redSqr(),n=r.redMul(t).redAdd(r.redMul(this.a)).redAdd(t);return 0===n.redSqrt().redSqr().cmp(n)},i(l,s.BasePoint),o.prototype.decodePoint=function(e,t){if(33===(e=a.toArray(e,t)).length&&64===e[0]&&(e=e.slice(1,33).reverse()),32!==e.length)throw new Error("Unknown point compression format");return this.point(e,1)},o.prototype.point=function(e,t){return new l(this,e,t)},o.prototype.pointFromJSON=function(e){return l.fromJSON(this,e)},l.prototype.precompute=function(){},l.prototype._encode=function(e){var t=this.curve.p.byteLength();return e?[64].concat(this.getX().toArray("le",t)):this.getX().toArray("be",t)},l.fromJSON=function(e,t){return new l(e,t[0],t[1]||e.one)},l.prototype.inspect=function(){return this.isInfinity()?"":""},l.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},l.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),r=e.redSub(t),n=e.redMul(t),i=r.redMul(t.redAdd(this.curve.a24.redMul(r)));return this.curve.point(n,i)},l.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},l.prototype.diffAdd=function(e,t){var r=this.x.redAdd(this.z),n=this.x.redSub(this.z),i=e.x.redAdd(e.z),s=e.x.redSub(e.z).redMul(r),a=i.redMul(n),o=t.z.redMul(s.redAdd(a).redSqr()),l=t.x.redMul(s.redISub(a).redSqr());return this.curve.point(o,l)},l.prototype.mul=function(e){for(var t=(e=new n(e,16)).clone(),r=this,i=this.curve.point(null,null),s=[];0!==t.cmpn(0);t.iushrn(1))s.push(t.andln(1));for(var a=s.length-1;a>=0;a--)0===s[a]?(r=r.diffAdd(i,this),i=i.dbl()):(i=r.diffAdd(i,this),r=r.dbl());return i},l.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},l.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},l.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},l.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},l.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},{"../utils":32,"./base":19,"bn.js":16,inherits:47}],23:[function(e,t,r){"use strict";var n=e("../utils"),i=e("bn.js"),s=e("inherits"),a=e("./base"),o=n.assert;function l(e){a.call(this,"short",e),this.a=new i(e.a,16).toRed(this.red),this.b=new i(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function c(e,t,r,n){a.BasePoint.call(this,e,"affine"),null===t&&null===r?(this.x=null,this.y=null,this.inf=!0):(this.x=new i(t,16),this.y=new i(r,16),n&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function d(e,t,r,n){a.BasePoint.call(this,e,"jacobian"),null===t&&null===r&&null===n?(this.x=this.curve.one,this.y=this.curve.one,this.z=new i(0)):(this.x=new i(t,16),this.y=new i(r,16),this.z=new i(n,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}s(l,a),t.exports=l,l.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,r;if(e.beta)t=new i(e.beta,16).toRed(this.red);else{var n=this._getEndoRoots(this.p);t=(t=n[0].cmp(n[1])<0?n[0]:n[1]).toRed(this.red)}if(e.lambda)r=new i(e.lambda,16);else{var s=this._getEndoRoots(this.n);0===this.g.mul(s[0]).x.cmp(this.g.x.redMul(t))?r=s[0]:o(0===this.g.mul(r=s[1]).x.cmp(this.g.x.redMul(t)))}return{beta:t,lambda:r,basis:e.basis?e.basis.map((function(e){return{a:new i(e.a,16),b:new i(e.b,16)}})):this._getEndoBasis(r)}}},l.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:i.mont(e),r=new i(2).toRed(t).redInvm(),n=r.redNeg(),s=new i(3).toRed(t).redNeg().redSqrt().redMul(r);return[n.redAdd(s).fromRed(),n.redSub(s).fromRed()]},l.prototype._getEndoBasis=function(e){for(var t,r,n,s,a,o,l,c,d,u=this.n.ushrn(Math.floor(this.n.bitLength()/2)),h=e,f=this.n.clone(),m=new i(1),p=new i(0),_=new i(0),g=new i(1),y=0;0!==h.cmpn(0);){var b=f.div(h);c=f.sub(b.mul(h)),d=_.sub(b.mul(m));var v=g.sub(b.mul(p));if(!n&&c.cmp(u)<0)t=l.neg(),r=m,n=c.neg(),s=d;else if(n&&2==++y)break;l=c,f=h,h=c,_=m,m=d,g=p,p=v}a=c.neg(),o=d;var w=n.sqr().add(s.sqr());return a.sqr().add(o.sqr()).cmp(w)>=0&&(a=t,o=r),n.negative&&(n=n.neg(),s=s.neg()),a.negative&&(a=a.neg(),o=o.neg()),[{a:n,b:s},{a:a,b:o}]},l.prototype._endoSplit=function(e){var t=this.endo.basis,r=t[0],n=t[1],i=n.b.mul(e).divRound(this.n),s=r.b.neg().mul(e).divRound(this.n),a=i.mul(r.a),o=s.mul(n.a),l=i.mul(r.b),c=s.mul(n.b);return{k1:e.sub(a).sub(o),k2:l.add(c).neg()}},l.prototype.pointFromX=function(e,t){(e=new i(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),n=r.redSqrt();if(0!==n.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var s=n.fromRed().isOdd();return(t&&!s||!t&&s)&&(n=n.redNeg()),this.point(e,n)},l.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,r=e.y,n=this.a.redMul(t),i=t.redSqr().redMul(t).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(i).cmpn(0)},l.prototype._endoWnafMulAdd=function(e,t,r){for(var n=this._endoWnafT1,i=this._endoWnafT2,s=0;s":""},c.prototype.isInfinity=function(){return this.inf},c.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var r=t.redSqr().redISub(this.x).redISub(e.x),n=t.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,n)},c.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,r=this.x.redSqr(),n=e.redInvm(),i=r.redAdd(r).redIAdd(r).redIAdd(t).redMul(n),s=i.redSqr().redISub(this.x.redAdd(this.x)),a=i.redMul(this.x.redSub(s)).redISub(this.y);return this.curve.point(s,a)},c.prototype.getX=function(){return this.x.fromRed()},c.prototype.getY=function(){return this.y.fromRed()},c.prototype.mul=function(e){return e=new i(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},c.prototype.mulAdd=function(e,t,r){var n=[this,t],i=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i):this.curve._wnafMulAdd(1,n,i,2)},c.prototype.jmulAdd=function(e,t,r){var n=[this,t],i=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i,!0):this.curve._wnafMulAdd(1,n,i,2,!0)},c.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},c.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var r=this.precomputed,n=function(e){return e.neg()};t.precomputed={naf:r.naf&&{wnd:r.naf.wnd,points:r.naf.points.map(n)},doubles:r.doubles&&{step:r.doubles.step,points:r.doubles.points.map(n)}}}return t},c.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},s(d,a.BasePoint),l.prototype.jpoint=function(e,t,r){return new d(this,e,t,r)},d.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),r=this.x.redMul(t),n=this.y.redMul(t).redMul(e);return this.curve.point(r,n)},d.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},d.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),r=this.z.redSqr(),n=this.x.redMul(t),i=e.x.redMul(r),s=this.y.redMul(t.redMul(e.z)),a=e.y.redMul(r.redMul(this.z)),o=n.redSub(i),l=s.redSub(a);if(0===o.cmpn(0))return 0!==l.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=o.redSqr(),d=c.redMul(o),u=n.redMul(c),h=l.redSqr().redIAdd(d).redISub(u).redISub(u),f=l.redMul(u.redISub(h)).redISub(s.redMul(d)),m=this.z.redMul(e.z).redMul(o);return this.curve.jpoint(h,f,m)},d.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),r=this.x,n=e.x.redMul(t),i=this.y,s=e.y.redMul(t).redMul(this.z),a=r.redSub(n),o=i.redSub(s);if(0===a.cmpn(0))return 0!==o.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var l=a.redSqr(),c=l.redMul(a),d=r.redMul(l),u=o.redSqr().redIAdd(c).redISub(d).redISub(d),h=o.redMul(d.redISub(u)).redISub(i.redMul(c)),f=this.z.redMul(a);return this.curve.jpoint(u,h,f)},d.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var t=this,r=0;r=0)return!1;if(r.redIAdd(i),0===this.x.cmp(r))return!0}},d.prototype.inspect=function(){return this.isInfinity()?"":""},d.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},{"../utils":32,"./base":19,"bn.js":16,inherits:47}],24:[function(e,t,r){"use strict";var n,i=r,s=e("hash.js"),a=e("./curve"),o=e("./utils").assert;function l(e){if("short"===e.type)this.curve=new a.short(e);else if("edwards"===e.type)this.curve=new a.edwards(e);else{if("mont"!==e.type)throw new Error("Unknown curve type.");this.curve=new a.mont(e)}this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,o(this.g.validate(),"Invalid curve"),o(this.g.mul(this.n).isInfinity(),"Invalid curve, n*G != O")}function c(e,t){Object.defineProperty(i,e,{configurable:!0,enumerable:!0,get:function(){var r=new l(t);return Object.defineProperty(i,e,{configurable:!0,enumerable:!0,value:r}),r}})}i.PresetCurve=l,c("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:s.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),c("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:s.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),c("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:s.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),c("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:s.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),c("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:s.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),c("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",cofactor:"8",hash:s.sha256,gRed:!1,g:["9"]}),c("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",cofactor:"8",hash:s.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]}),c("brainpoolP256r1",{type:"short",prime:null,p:"A9FB57DB A1EEA9BC 3E660A90 9D838D72 6E3BF623 D5262028 2013481D 1F6E5377",a:"7D5A0975 FC2C3057 EEF67530 417AFFE7 FB8055C1 26DC5C6C E94A4B44 F330B5D9",b:"26DC5C6C E94A4B44 F330B5D9 BBD77CBF 95841629 5CF7E1CE 6BCCDC18 FF8C07B6",n:"A9FB57DB A1EEA9BC 3E660A90 9D838D71 8C397AA3 B561A6F7 901E0E82 974856A7",hash:s.sha256,gRed:!1,g:["8BD2AEB9CB7E57CB2C4B482FFC81B7AFB9DE27E1E3BD23C23A4453BD9ACE3262","547EF835C3DAC4FD97F8461A14611DC9C27745132DED8E545C1D54C72F046997"]}),c("brainpoolP384r1",{type:"short",prime:null,p:"8CB91E82 A3386D28 0F5D6F7E 50E641DF 152F7109 ED5456B4 12B1DA19 7FB71123ACD3A729 901D1A71 87470013 3107EC53",a:"7BC382C6 3D8C150C 3C72080A CE05AFA0 C2BEA28E 4FB22787 139165EF BA91F90F8AA5814A 503AD4EB 04A8C7DD 22CE2826",b:"04A8C7DD 22CE2826 8B39B554 16F0447C 2FB77DE1 07DCD2A6 2E880EA5 3EEB62D57CB43902 95DBC994 3AB78696 FA504C11",n:"8CB91E82 A3386D28 0F5D6F7E 50E641DF 152F7109 ED5456B3 1F166E6C AC0425A7CF3AB6AF 6B7FC310 3B883202 E9046565",hash:s.sha384,gRed:!1,g:["1D1C64F068CF45FFA2A63A81B7C13F6B8847A3E77EF14FE3DB7FCAFE0CBD10E8E826E03436D646AAEF87B2E247D4AF1E","8ABE1D7520F9C2A45CB1EB8E95CFD55262B70B29FEEC5864E19C054FF99129280E4646217791811142820341263C5315"]}),c("brainpoolP512r1",{type:"short",prime:null,p:"AADD9DB8 DBE9C48B 3FD4E6AE 33C9FC07 CB308DB3 B3C9D20E D6639CCA 703308717D4D9B00 9BC66842 AECDA12A E6A380E6 2881FF2F 2D82C685 28AA6056 583A48F3",a:"7830A331 8B603B89 E2327145 AC234CC5 94CBDD8D 3DF91610 A83441CA EA9863BC2DED5D5A A8253AA1 0A2EF1C9 8B9AC8B5 7F1117A7 2BF2C7B9 E7C1AC4D 77FC94CA",b:"3DF91610 A83441CA EA9863BC 2DED5D5A A8253AA1 0A2EF1C9 8B9AC8B5 7F1117A72BF2C7B9 E7C1AC4D 77FC94CA DC083E67 984050B7 5EBAE5DD 2809BD63 8016F723",n:"AADD9DB8 DBE9C48B 3FD4E6AE 33C9FC07 CB308DB3 B3C9D20E D6639CCA 70330870553E5C41 4CA92619 41866119 7FAC1047 1DB1D381 085DDADD B5879682 9CA90069",hash:s.sha512,gRed:!1,g:["81AEE4BDD82ED9645A21322E9C4C6A9385ED9F70B5D916C1B43B62EEF4D0098EFF3B1F78E2D0D48D50D1687B93B97D5F7C6D5047406A5E688B352209BCB9F822","7DDE385D566332ECC0EABFA9CF7822FDF209F70024A57B1AA000C55B881F8111B2DCDE494A5F485E5BCA4BD88A2763AED1CA2B2FA8F0540678CD1E0F3AD80892"]});try{n=e("./precomputed/secp256k1")}catch(d){n=void 0}c("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:s.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",n]})},{"./curve":21,"./precomputed/secp256k1":31,"./utils":32,"hash.js":34}],25:[function(e,t,r){"use strict";var n=e("bn.js"),i=e("hmac-drbg"),s=e("../utils"),a=e("../curves"),o=e("brorand"),l=s.assert,c=e("./key"),d=e("./signature");function u(e){if(!(this instanceof u))return new u(e);"string"==typeof e&&(l(a.hasOwnProperty(e),"Unknown curve "+e),e=a[e]),e instanceof a.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}t.exports=u,u.prototype.keyPair=function(e){return new c(this,e)},u.prototype.keyFromPrivate=function(e,t){return c.fromPrivate(this,e,t)},u.prototype.keyFromPublic=function(e,t){return c.fromPublic(this,e,t)},u.prototype.genKeyPair=function(e){e||(e={});var t=new i({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||o(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()});if("mont"===this.curve.type){var r=new n(t.generate(32));return this.keyFromPrivate(r)}for(var s=this.n.byteLength(),a=this.n.sub(new n(2));;)if(!((r=new n(t.generate(s))).cmp(a)>0))return r.iaddn(1),this.keyFromPrivate(r)},u.prototype._truncateToN=function(e,t,r){var n=(r=r||8*e.byteLength())-this.n.bitLength();return n>0&&(e=e.ushrn(n)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},u.prototype.truncateMsg=function(e){var t;return e instanceof Uint8Array?(t=8*e.byteLength,e=this._truncateToN(new n(e,16),!1,t)):"string"==typeof e?(t=4*e.length,e=this._truncateToN(new n(e,16),!1,t)):e=this._truncateToN(new n(e,16)),e},u.prototype.sign=function(e,t,r,s){"object"==typeof r&&(s=r,r=null),s||(s={}),t=this.keyFromPrivate(t,r),e=this.truncateMsg(e);for(var a=this.n.byteLength(),o=t.getPrivate().toArray("be",a),l=e.toArray("be",a),c=new i({hash:this.hash,entropy:o,nonce:l,pers:s.pers,persEnc:s.persEnc||"utf8"}),u=this.n.sub(new n(1)),h=0;;h++){var f=s.k?s.k(h):new n(c.generate(this.n.byteLength()));if(!((f=this._truncateToN(f,!0)).cmpn(1)<=0||f.cmp(u)>=0)){var m=this.g.mul(f);if(!m.isInfinity()){var p=m.getX(),_=p.umod(this.n);if(0!==_.cmpn(0)){var g=f.invm(this.n).mul(_.mul(t.getPrivate()).iadd(e));if(0!==(g=g.umod(this.n)).cmpn(0)){var y=(m.getY().isOdd()?1:0)|(0!==p.cmp(_)?2:0);return s.canonical&&g.cmp(this.nh)>0&&(g=this.n.sub(g),y^=1),new d({r:_,s:g,recoveryParam:y})}}}}}},u.prototype.verify=function(e,t,r,i){return r=this.keyFromPublic(r,i),t=new d(t,"hex"),this._verify(this.truncateMsg(e),t,r)||this._verify(this._truncateToN(new n(e,16)),t,r)},u.prototype._verify=function(e,t,r){var n=t.r,i=t.s;if(n.cmpn(1)<0||n.cmp(this.n)>=0)return!1;if(i.cmpn(1)<0||i.cmp(this.n)>=0)return!1;var s,a=i.invm(this.n),o=a.mul(e).umod(this.n),l=a.mul(n).umod(this.n);return this.curve._maxwellTrick?!(s=this.g.jmulAdd(o,r.getPublic(),l)).isInfinity()&&s.eqXToP(n):!(s=this.g.mulAdd(o,r.getPublic(),l)).isInfinity()&&0===s.getX().umod(this.n).cmp(n)},u.prototype.recoverPubKey=function(e,t,r,i){l((3&r)===r,"The recovery param is more than two bits"),t=new d(t,i);var s=this.n,a=new n(e),o=t.r,c=t.s,u=1&r,h=r>>1;if(o.cmp(this.curve.p.umod(this.curve.n))>=0&&h)throw new Error("Unable to find sencond key candinate");o=this.curve.pointFromX(h?o.add(this.curve.n):o,u);var f=t.r.invm(s),m=s.sub(a).mul(f).umod(s),p=c.mul(f).umod(s);return this.g.mulAdd(m,o,p)},u.prototype.getKeyRecoveryParam=function(e,t,r,n){if(null!==(t=new d(t,n)).recoveryParam)return t.recoveryParam;for(var i=0;i<4;i++){var s;try{s=this.recoverPubKey(e,t,i)}catch(e){continue}if(s.eq(r))return i}throw new Error("Unable to find valid recovery factor")}},{"../curves":24,"../utils":32,"./key":26,"./signature":27,"bn.js":16,brorand:17,"hmac-drbg":46}],26:[function(e,t,r){"use strict";var n=e("bn.js"),i=e("../utils").assert;function s(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}t.exports=s,s.fromPublic=function(e,t,r){return t instanceof s?t:new s(e,{pub:t,pubEnc:r})},s.fromPrivate=function(e,t,r){return t instanceof s?t:new s(e,{priv:t,privEnc:r})},s.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},s.prototype.getPublic=function(e,t){return this.pub||(this.pub=this.ec.g.mul(this.priv)),e?this.pub.encode(e,t):this.pub},s.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},s.prototype._importPrivate=function(e,t){if(this.priv=new n(e,t||16),"mont"===this.ec.curve.type){var r=this.ec.curve.one,i=r.ushln(252).sub(r).ushln(3);this.priv=this.priv.or(r.ushln(254)),this.priv=this.priv.and(i)}else this.priv=this.priv.umod(this.ec.curve.n)},s.prototype._importPublic=function(e,t){if(e.x||e.y)return"mont"===this.ec.curve.type?i(e.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||i(e.x&&e.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(e.x,e.y));this.pub=this.ec.curve.decodePoint(e,t)},s.prototype.derive=function(e){return e.mul(this.priv).getX()},s.prototype.sign=function(e,t,r){return this.ec.sign(e,this,t,r)},s.prototype.verify=function(e,t){return this.ec.verify(e,t,this)},s.prototype.inspect=function(){return""}},{"../utils":32,"bn.js":16}],27:[function(e,t,r){"use strict";var n=e("bn.js"),i=e("../utils"),s=i.assert;function a(e,t){if(e instanceof a)return e;this._importDER(e,t)||(s(e.r&&e.s,"Signature without r or s"),this.r=new n(e.r,16),this.s=new n(e.s,16),this.recoveryParam=void 0===e.recoveryParam?null:e.recoveryParam)}function o(){this.place=0}function l(e,t){var r=e[t.place++];if(!(128&r))return r;for(var n=15&r,i=0,s=0,a=t.place;s>>3);for(e.push(128|r);--r;)e.push(t>>>(r<<3)&255);e.push(t)}}t.exports=a,a.prototype._importDER=function(e,t){e=i.toArray(e,t);var r=new o;if(48!==e[r.place++])return!1;if(l(e,r)+r.place!==e.length)return!1;if(2!==e[r.place++])return!1;var s=l(e,r),a=e.slice(r.place,s+r.place);if(r.place+=s,2!==e[r.place++])return!1;var c=l(e,r);if(e.length!==c+r.place)return!1;var d=e.slice(r.place,c+r.place);return 0===a[0]&&128&a[1]&&(a=a.slice(1)),0===d[0]&&128&d[1]&&(d=d.slice(1)),this.r=new n(a),this.s=new n(d),this.recoveryParam=null,!0},a.prototype.toDER=function(e){var t=this.r.toArray(),r=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&r[0]&&(r=[0].concat(r)),t=c(t),r=c(r);!(r[0]||128&r[1]);)r=r.slice(1);var n=[2];d(n,t.length),(n=n.concat(t)).push(2),d(n,r.length);var s=n.concat(r),a=[48];return d(a,s.length),a=a.concat(s),i.encode(a,e)}},{"../utils":32,"bn.js":16}],28:[function(e,t,r){"use strict";var n=e("hash.js"),i=e("hmac-drbg"),s=e("brorand"),a=e("../curves"),o=e("../utils"),l=o.assert,c=o.parseBytes,d=e("./key"),u=e("./signature");function h(e){if(l("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof h))return new h(e);this.curve=e=a[e].curve,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=n.sha512}t.exports=h,h.prototype.sign=function(e,t){e=c(e);var r=this.keyFromSecret(t),n=this.hashInt(r.messagePrefix(),e),i=this.g.mul(n),s=this.encodePoint(i),a=this.hashInt(s,r.pubBytes(),e).mul(r.priv()),o=n.add(a).umod(this.curve.n);return this.makeSignature({R:i,S:o,Rencoded:s})},h.prototype.verify=function(e,t,r){e=c(e),t=this.makeSignature(t);var n=this.keyFromPublic(r),i=this.hashInt(t.Rencoded(),n.pubBytes(),e),s=this.g.mul(t.S());return t.R().add(n.pub().mul(i)).eq(s)},h.prototype.hashInt=function(){for(var e=this.hash(),t=0;t=0;){var s;if(i.isOdd()){var a=i.andln(n-1);i.isubn(s=a>(n>>1)-1?(n>>1)-a:a)}else s=0;r.push(s);for(var o=0!==i.cmpn(0)&&0===i.andln(n-1)?t+1:1,l=1;l0||t.cmpn(-i)>0;){var s,a,o,l=e.andln(3)+n&3,c=t.andln(3)+i&3;3===l&&(l=-1),3===c&&(c=-1),s=0==(1&l)?0:3!=(o=e.andln(7)+n&7)&&5!==o||2!==c?l:-l,r[0].push(s),a=0==(1&c)?0:3!=(o=t.andln(7)+i&7)&&5!==o||2!==l?c:-c,r[1].push(a),2*n===s+1&&(n=1-n),2*i===a+1&&(i=1-i),e.iushrn(1),t.iushrn(1)}return r},n.cachedProperty=function(e,t,r){var n="_"+t;e.prototype[t]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}},n.parseBytes=function(e){return"string"==typeof e?n.toArray(e,"hex"):e},n.intFromLE=function(e){return new i(e,"hex","le")}},{"bn.js":16,"minimalistic-assert":48,"minimalistic-crypto-utils":49}],33:[function(e,t,r){"use strict";!function(e){function r(e){function t(){return Me0&&(t.semantic=" "),t}}function _(e,t){return function(){var n,s,o,c,d;for(c=r(),n=a("star"),o=0,d=void 0===t?0:t;null!==(s=e());)o+=1,l(n,s);return o>=d?n:(i(c),null)}}function g(e){return e.charCodeAt(0)>=128}function y(){return o("cr",d("\r")())}function b(){return o("crlf",u(y,k)())}function v(){return o("dquote",d('"')())}function w(){return o("htab",d("\t")())}function k(){return o("lf",d("\n")())}function M(){return o("sp",d(" ")())}function S(){return o("vchar",c((function(t){var r=t.charCodeAt(0),n=33<=r&&r<=126;return e.rfc6532&&(n=n||g(t)),n})))}function x(){return o("wsp",h(M,w)())}function C(){var e=o("quoted-pair",h(u(d("\\"),h(S,x)),ne)());return null===e?null:(e.semantic=e.semantic[1],e)}function D(){return o("fws",h(se,u(f(u(_(x),m(b))),_(x,1)))())}function L(){return o("ctext",h((function(){return c((function(t){var r=t.charCodeAt(0),n=33<=r&&r<=39||42<=r&&r<=91||93<=r&&r<=126;return e.rfc6532&&(n=n||g(t)),n}))}),te)())}function A(){return o("ccontent",h(L,C,E)())}function E(){return o("comment",u(d("("),_(u(f(D),A)),f(D),d(")"))())}function T(){return o("cfws",h(u(_(u(f(D),E),1),f(D)),D)())}function P(){return o("atext",c((function(t){var r="a"<=t&&t<="z"||"A"<=t&&t<="Z"||"0"<=t&&t<="9"||["!","#","$","%","&","'","*","+","-","/","=","?","^","_","`","{","|","}","~"].indexOf(t)>=0;return e.rfc6532&&(r=r||g(t)),r})))}function Y(){return o("atom",u(p(f(T)),_(P,1),p(f(T)))())}function R(){var e,t;return null===(e=o("dot-atom-text",_(P,1)()))||null!==(t=_(u(d("."),_(P,1)))())&&l(e,t),e}function O(){return o("dot-atom",u(m(f(T)),R,m(f(T)))())}function I(){return o("qtext",h((function(){return c((function(t){var r=t.charCodeAt(0),n=33===r||35<=r&&r<=91||93<=r&&r<=126;return e.rfc6532&&(n=n||g(t)),n}))}),re)())}function j(){return o("qcontent",h(I,C)())}function F(){return o("quoted-string",u(m(f(T)),m(v),_(u(f(p(D)),j)),f(m(D)),m(v),m(f(T)))())}function H(){return o("word",h(Y,F)())}function N(){return o("address",h(B,V)())}function B(){return o("mailbox",h(z,X)())}function z(){return o("name-addr",u(f(K),U)())}function U(){return o("angle-addr",h(u(m(f(T)),d("<"),X,d(">"),m(f(T))),ae)())}function V(){return o("group",u(K,d(":"),f(G),d(";"),m(f(T)))())}function K(){return o("display-name",(null!==(e=o("phrase",h(ie,_(H,1))()))&&(e.semantic=e.semantic.replace(/([ \t]|\r\n)+/g," ").replace(/^\s*/,"").replace(/\s*$/,"")),e));var e}function W(){return o("mailbox-list",h(u(B,_(u(d(","),B))),ce)())}function q(){return o("address-list",h(u(N,_(u(d(","),N))),de)())}function G(){return o("group-list",h(W,m(T),ue)())}function $(){return o("local-part",h(he,O,F)())}function Z(){return o("dtext",h((function(){return c((function(t){var r=t.charCodeAt(0),n=33<=r&&r<=90||94<=r&&r<=126;return e.rfc6532&&(n=n||g(t)),n}))}),me)())}function J(){return o("domain-literal",u(m(f(T)),d("["),_(u(f(D),Z)),f(D),d("]"),m(f(T)))())}function Q(){return o("domain",(t=h(fe,O,J)(),e.rejectTLD&&t&&t.semantic&&t.semantic.indexOf(".")<0?null:(t&&(t.semantic=t.semantic.replace(/\s+/g,"")),t)));var t}function X(){return o("addr-spec",u($,d("@"),Q)())}function ee(){return e.strict?null:o("obs-NO-WS-CTL",c((function(e){var t=e.charCodeAt(0);return 1<=t&&t<=8||11===t||12===t||14<=t&&t<=31||127===t})))}function te(){return e.strict?null:o("obs-ctext",ee())}function re(){return e.strict?null:o("obs-qtext",ee())}function ne(){return e.strict?null:o("obs-qp",u(d("\\"),h(d("\0"),ee,k,y))())}function ie(){return e.strict?null:o("obs-phrase",e.atInDisplayName?u(H,_(h(H,d("."),d("@"),p(T))))():u(H,_(h(H,d("."),p(T))))())}function se(){return e.strict?null:o("obs-FWS",_(u(m(f(b)),x),1)())}function ae(){return e.strict?null:o("obs-angle-addr",u(m(f(T)),d("<"),oe,X,d(">"),m(f(T)))())}function oe(){return e.strict?null:o("obs-route",u(le,d(":"))())}function le(){return e.strict?null:o("obs-domain-list",u(_(h(m(T),d(","))),d("@"),Q,_(u(d(","),m(f(T)),f(u(d("@"),Q)))))())}function ce(){return e.strict?null:o("obs-mbox-list",u(_(u(m(f(T)),d(","))),B,_(u(d(","),f(u(B,m(T))))))())}function de(){return e.strict?null:o("obs-addr-list",u(_(u(m(f(T)),d(","))),N,_(u(d(","),f(u(N,m(T))))))())}function ue(){return e.strict?null:o("obs-group-list",u(_(u(m(f(T)),d(",")),1),m(f(T)))())}function he(){return e.strict?null:o("obs-local-part",u(H,_(u(d("."),H)))())}function fe(){return e.strict?null:o("obs-domain",u(Y,_(u(d("."),Y)))())}function me(){return e.strict?null:o("obs-dtext",h(ee,C)())}function pe(e,t){var r,n,i;if(null==t)return null;for(n=[t];n.length>0;){if((i=n.pop()).name===e)return i;for(r=i.children.length-1;r>=0;r-=1)n.push(i.children[r])}return null}function _e(e,t){var r,n,i,s,a;if(null==t)return null;for(n=[t],s=[],a={},r=0;r0;)if((i=n.pop()).name in a)s.push(i);else for(r=i.children.length-1;r>=0;r-=1)n.push(i.children[r]);return s}function ge(t){var r,n,i,s,a;if(null===t)return null;for(r=[],n=_e(["group","mailbox"],t),i=0;i1?null:t.addresses&&t.addresses[0]:null}(a):e.simple?a&&a.addresses:a}function ye(e){var t,r=pe("display-name",e),n=[],i=_e(["mailbox"],e);for(t=0;t0;)for("cfws"===(i=n.pop()).name&&s.push(i),r=i.children.length-1;r>=0;r-=1)n.push(i.children[r]);return s}(0,e),i=_e(["comment"],e),s=pe("local-part",r),a=pe("domain",r);return{node:e,parts:{name:t,address:r,local:s,domain:a,comments:n},type:e.name,name:ve(t),address:ve(r),local:ve(s),domain:ve(a),comments:we(i),groupName:ve(e.groupName)}}function ve(e){return null!=e?e.semantic:null}function we(e){var t="";if(e)for(var r=0;r=this._delta8){var r=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-r,e.length),0===this.pending.length&&(this.pending=null),e=n.join32(e,0,e.length-r,this.endian);for(var i=0;i>>24&255,n[i++]=e>>>16&255,n[i++]=e>>>8&255,n[i++]=255&e}else for(n[i++]=255&e,n[i++]=e>>>8&255,n[i++]=e>>>16&255,n[i++]=e>>>24&255,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,s=8;sthis.blockSize&&(e=(new this.Hash).update(e).digest()),i(e.length<=this.blockSize);for(var t=e.length;t>>3},r.g1_256=function(e){return n(e,17)^n(e,19)^e>>>10}},{"../utils":45}],45:[function(e,t,r){"use strict";var n=e("minimalistic-assert"),i=e("inherits");function s(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function a(e){return 1===e.length?"0"+e:e}function o(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}r.inherits=i,r.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),n=0;n>8,a=255&i;s?r.push(s,a):r.push(a)}else for(n=0;n>>0;return a},r.split32=function(e,t){for(var r=new Array(4*e.length),n=0,i=0;n>>24,r[i+1]=s>>>16&255,r[i+2]=s>>>8&255,r[i+3]=255&s):(r[i+3]=s>>>24,r[i+2]=s>>>16&255,r[i+1]=s>>>8&255,r[i]=255&s)}return r},r.rotr32=function(e,t){return e>>>t|e<<32-t},r.rotl32=function(e,t){return e<>>32-t},r.sum32=function(e,t){return e+t>>>0},r.sum32_3=function(e,t,r){return e+t+r>>>0},r.sum32_4=function(e,t,r,n){return e+t+r+n>>>0},r.sum32_5=function(e,t,r,n,i){return e+t+r+n+i>>>0},r.sum64=function(e,t,r,n){var i=n+e[t+1]>>>0;e[t]=(i>>0,e[t+1]=i},r.sum64_hi=function(e,t,r,n){return(t+n>>>0>>0},r.sum64_lo=function(e,t,r,n){return t+n>>>0},r.sum64_4_hi=function(e,t,r,n,i,s,a,o){var l=0,c=t;return l+=(c=c+n>>>0)>>0)>>0)>>0},r.sum64_4_lo=function(e,t,r,n,i,s,a,o){return t+n+s+o>>>0},r.sum64_5_hi=function(e,t,r,n,i,s,a,o,l,c){var d=0,u=t;return d+=(u=u+n>>>0)>>0)>>0)>>0)>>0},r.sum64_5_lo=function(e,t,r,n,i,s,a,o,l,c){return t+n+s+o+c>>>0},r.rotr64_hi=function(e,t,r){return(t<<32-r|e>>>r)>>>0},r.rotr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0},r.shr64_hi=function(e,t,r){return e>>>r},r.shr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0}},{inherits:47,"minimalistic-assert":48}],46:[function(e,t,r){"use strict";var n=e("hash.js"),i=e("minimalistic-crypto-utils"),s=e("minimalistic-assert");function a(e){if(!(this instanceof a))return new a(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=i.toArray(e.entropy,e.entropyEnc||"hex"),r=i.toArray(e.nonce,e.nonceEnc||"hex"),n=i.toArray(e.pers,e.persEnc||"hex");s(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,r,n)}t.exports=a,a.prototype._init=function(e,t,r){var n=e.concat(t).concat(r);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(r||[])),this._reseed=1},a.prototype.generate=function(e,t,r,n){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof t&&(n=r,r=t,t=null),r&&(r=i.toArray(r,n||"hex"),this._update(r));for(var s=[];s.length>8,a=255&i;s?r.push(s,a):r.push(a)}return r},n.zero2=i,n.toHex=s,n.encode=function(e,t){return"hex"===t?s(e):e}},{}],50:[function(e,t,r){"use strict";var n={};(0,e("./lib/utils/common").assign)(n,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),t.exports=n},{"./lib/deflate":51,"./lib/inflate":52,"./lib/utils/common":53,"./lib/zlib/constants":56}],51:[function(e,t,r){"use strict";var n=e("./zlib/deflate"),i=e("./utils/common"),s=e("./utils/strings"),a=e("./zlib/messages"),o=e("./zlib/zstream"),l=Object.prototype.toString;function c(e){if(!(this instanceof c))return new c(e);this.options=i.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new o,this.strm.avail_out=0;var r=n.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(0!==r)throw new Error(a[r]);if(t.header&&n.deflateSetHeader(this.strm,t.header),t.dictionary){var d;if(d="string"==typeof t.dictionary?s.string2buf(t.dictionary):"[object ArrayBuffer]"===l.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,0!==(r=n.deflateSetDictionary(this.strm,d)))throw new Error(a[r]);this._dict_set=!0}}function d(e,t){var r=new c(t);if(r.push(e,!0),r.err)throw r.msg||a[r.err];return r.result}c.prototype.push=function(e,t){var r,a,o=this.strm,c=this.options.chunkSize;if(this.ended)return!1;a=t===~~t?t:!0===t?4:0,o.input="string"==typeof e?s.string2buf(e):"[object ArrayBuffer]"===l.call(e)?new Uint8Array(e):e,o.next_in=0,o.avail_in=o.input.length;do{if(0===o.avail_out&&(o.output=new i.Buf8(c),o.next_out=0,o.avail_out=c),1!==(r=n.deflate(o,a))&&0!==r)return this.onEnd(r),this.ended=!0,!1;0!==o.avail_out&&(0!==o.avail_in||4!==a&&2!==a)||this.onData("string"===this.options.to?s.buf2binstring(i.shrinkBuf(o.output,o.next_out)):i.shrinkBuf(o.output,o.next_out))}while((o.avail_in>0||0===o.avail_out)&&1!==r);return 4===a?(r=n.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,0===r):2!==a||(this.onEnd(0),o.avail_out=0,!0)},c.prototype.onData=function(e){this.chunks.push(e)},c.prototype.onEnd=function(e){0===e&&(this.result="string"===this.options.to?this.chunks.join(""):i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},r.Deflate=c,r.deflate=d,r.deflateRaw=function(e,t){return(t=t||{}).raw=!0,d(e,t)},r.gzip=function(e,t){return(t=t||{}).gzip=!0,d(e,t)}},{"./utils/common":53,"./utils/strings":54,"./zlib/deflate":58,"./zlib/messages":63,"./zlib/zstream":65}],52:[function(e,t,r){"use strict";var n=e("./zlib/inflate"),i=e("./utils/common"),s=e("./utils/strings"),a=e("./zlib/constants"),o=e("./zlib/messages"),l=e("./zlib/zstream"),c=e("./zlib/gzheader"),d=Object.prototype.toString;function u(e){if(!(this instanceof u))return new u(e);this.options=i.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var r=n.inflateInit2(this.strm,t.windowBits);if(r!==a.Z_OK)throw new Error(o[r]);this.header=new c,n.inflateGetHeader(this.strm,this.header)}function h(e,t){var r=new u(t);if(r.push(e,!0),r.err)throw r.msg||o[r.err];return r.result}u.prototype.push=function(e,t){var r,o,l,c,u,h,f=this.strm,m=this.options.chunkSize,p=this.options.dictionary,_=!1;if(this.ended)return!1;o=t===~~t?t:!0===t?a.Z_FINISH:a.Z_NO_FLUSH,f.input="string"==typeof e?s.binstring2buf(e):"[object ArrayBuffer]"===d.call(e)?new Uint8Array(e):e,f.next_in=0,f.avail_in=f.input.length;do{if(0===f.avail_out&&(f.output=new i.Buf8(m),f.next_out=0,f.avail_out=m),(r=n.inflate(f,a.Z_NO_FLUSH))===a.Z_NEED_DICT&&p&&(h="string"==typeof p?s.string2buf(p):"[object ArrayBuffer]"===d.call(p)?new Uint8Array(p):p,r=n.inflateSetDictionary(this.strm,h)),r===a.Z_BUF_ERROR&&!0===_&&(r=a.Z_OK,_=!1),r!==a.Z_STREAM_END&&r!==a.Z_OK)return this.onEnd(r),this.ended=!0,!1;f.next_out&&(0!==f.avail_out&&r!==a.Z_STREAM_END&&(0!==f.avail_in||o!==a.Z_FINISH&&o!==a.Z_SYNC_FLUSH)||("string"===this.options.to?(l=s.utf8border(f.output,f.next_out),c=f.next_out-l,u=s.buf2string(f.output,l),f.next_out=c,f.avail_out=m-c,c&&i.arraySet(f.output,f.output,l,c,0),this.onData(u)):this.onData(i.shrinkBuf(f.output,f.next_out)))),0===f.avail_in&&0===f.avail_out&&(_=!0)}while((f.avail_in>0||0===f.avail_out)&&r!==a.Z_STREAM_END);return r===a.Z_STREAM_END&&(o=a.Z_FINISH),o===a.Z_FINISH?(r=n.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===a.Z_OK):o!==a.Z_SYNC_FLUSH||(this.onEnd(a.Z_OK),f.avail_out=0,!0)},u.prototype.onData=function(e){this.chunks.push(e)},u.prototype.onEnd=function(e){e===a.Z_OK&&(this.result="string"===this.options.to?this.chunks.join(""):i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},r.Inflate=u,r.inflate=h,r.inflateRaw=function(e,t){return(t=t||{}).raw=!0,h(e,t)},r.ungzip=h},{"./utils/common":53,"./utils/strings":54,"./zlib/constants":56,"./zlib/gzheader":59,"./zlib/inflate":61,"./zlib/messages":63,"./zlib/zstream":65}],53:[function(e,t,r){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;function i(e,t){return Object.prototype.hasOwnProperty.call(e,t)}r.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var r=t.shift();if(r){if("object"!=typeof r)throw new TypeError(r+"must be non-object");for(var n in r)i(r,n)&&(e[n]=r[n])}}return e},r.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var s={arraySet:function(e,t,r,n,i){if(t.subarray&&e.subarray)e.set(t.subarray(r,r+n),i);else for(var s=0;s=252?6:o>=248?5:o>=240?4:o>=224?3:o>=192?2:1;function l(e,t){if(t<65537&&(e.subarray&&s||!e.subarray&&i))return String.fromCharCode.apply(null,n.shrinkBuf(e,t));for(var r="",a=0;a>>6,t[a++]=128|63&r):r<65536?(t[a++]=224|r>>>12,t[a++]=128|r>>>6&63,t[a++]=128|63&r):(t[a++]=240|r>>>18,t[a++]=128|r>>>12&63,t[a++]=128|r>>>6&63,t[a++]=128|63&r);return t},r.buf2binstring=function(e){return l(e,e.length)},r.binstring2buf=function(e){for(var t=new n.Buf8(e.length),r=0,i=t.length;r4)c[n++]=65533,r+=s-1;else{for(i&=2===s?31:3===s?15:7;s>1&&r1?c[n++]=65533:i<65536?c[n++]=i:(c[n++]=55296|(i-=65536)>>10&1023,c[n++]=56320|1023&i)}return l(c,n)},r.utf8border=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;r>=0&&128==(192&e[r]);)r--;return r<0||0===r?t:r+a[e[r]]>t?r:t}},{"./common":53}],55:[function(e,t,r){"use strict";t.exports=function(e,t,r,n){for(var i=65535&e|0,s=e>>>16&65535|0,a=0;0!==r;){r-=a=r>2e3?2e3:r;do{s=s+(i=i+t[n++]|0)|0}while(--a);i%=65521,s%=65521}return i|s<<16|0}},{}],56:[function(e,t,r){"use strict";t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],57:[function(e,t,r){"use strict";var n=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();t.exports=function(e,t,r,i){var s=n,a=i+r;e^=-1;for(var o=i;o>>8^s[255&(e^t[o])];return-1^e}},{}],58:[function(e,t,r){"use strict";var n,i=e("../utils/common"),s=e("./trees"),a=e("./adler32"),o=e("./crc32"),l=e("./messages"),c=-2,d=258,u=262,h=103,f=113,m=666;function p(e,t){return e.msg=l[t],t}function _(e){return(e<<1)-(e>4?9:0)}function g(e){for(var t=e.length;--t>=0;)e[t]=0}function y(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),0!==r&&(i.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,0===t.pending&&(t.pending_out=0))}function b(e,t){s._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,y(e.strm)}function v(e,t){e.pending_buf[e.pending++]=t}function w(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function k(e,t){var r,n,i=e.max_chain_length,s=e.strstart,a=e.prev_length,o=e.nice_match,l=e.strstart>e.w_size-u?e.strstart-(e.w_size-u):0,c=e.window,h=e.w_mask,f=e.prev,m=e.strstart+d,p=c[s+a-1],_=c[s+a];e.prev_length>=e.good_match&&(i>>=2),o>e.lookahead&&(o=e.lookahead);do{if(c[(r=t)+a]===_&&c[r+a-1]===p&&c[r]===c[s]&&c[++r]===c[s+1]){s+=2,r++;do{}while(c[++s]===c[++r]&&c[++s]===c[++r]&&c[++s]===c[++r]&&c[++s]===c[++r]&&c[++s]===c[++r]&&c[++s]===c[++r]&&c[++s]===c[++r]&&c[++s]===c[++r]&&sa){if(e.match_start=t,a=n,n>=o)break;p=c[s+a-1],_=c[s+a]}}}while((t=f[t&h])>l&&0!=--i);return a<=e.lookahead?a:e.lookahead}function M(e){var t,r,n,s,l,c,d,h,f,m,p=e.w_size;do{if(s=e.window_size-e.lookahead-e.strstart,e.strstart>=p+(p-u)){i.arraySet(e.window,e.window,p,p,0),e.match_start-=p,e.strstart-=p,e.block_start-=p,t=r=e.hash_size;do{n=e.head[--t],e.head[t]=n>=p?n-p:0}while(--r);t=r=p;do{n=e.prev[--t],e.prev[t]=n>=p?n-p:0}while(--r);s+=p}if(0===e.strm.avail_in)break;if(d=e.window,h=e.strstart+e.lookahead,m=void 0,(m=(c=e.strm).avail_in)>(f=s)&&(m=f),r=0===m?0:(c.avail_in-=m,i.arraySet(d,c.input,c.next_in,m,h),1===c.state.wrap?c.adler=a(c.adler,d,m,h):2===c.state.wrap&&(c.adler=o(c.adler,d,m,h)),c.next_in+=m,c.total_in+=m,m),e.lookahead+=r,e.lookahead+e.insert>=3)for(e.ins_h=e.window[l=e.strstart-e.insert],e.ins_h=(e.ins_h<=3&&(e.ins_h=(e.ins_h<=3)if(n=s._tr_tally(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<=3&&(e.ins_h=(e.ins_h<4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-3,n=s._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=i&&(e.ins_h=(e.ins_h<15&&(o=2,n-=16),s<1||s>9||8!==r||n<8||n>15||t<0||t>9||a<0||a>4)return p(e,c);8===n&&(n=9);var l=new D;return e.state=l,l.strm=e,l.wrap=o,l.gzhead=null,l.w_bits=n,l.w_size=1<e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(M(e),0===e.lookahead&&0===t)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var n=e.block_start+r;if((0===e.strstart||e.strstart>=n)&&(e.lookahead=e.strstart-n,e.strstart=n,b(e,!1),0===e.strm.avail_out))return 1;if(e.strstart-e.block_start>=e.w_size-u&&(b(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(b(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&b(e,!1),1)})),new C(4,4,8,4,S),new C(4,5,16,8,S),new C(4,6,32,32,S),new C(4,4,16,16,x),new C(8,16,32,32,x),new C(8,16,128,128,x),new C(8,32,128,256,x),new C(32,128,258,1024,x),new C(32,258,258,4096,x)],r.deflateInit=function(e,t){return E(e,t,8,15,8,0)},r.deflateInit2=E,r.deflateReset=A,r.deflateResetKeep=L,r.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?c:(e.state.gzhead=t,0):c},r.deflate=function(e,t){var r,i,a,l;if(!e||!e.state||t>5||t<0)return e?p(e,c):c;if(i=e.state,!e.output||!e.input&&0!==e.avail_in||i.status===m&&4!==t)return p(e,0===e.avail_out?-5:c);if(i.strm=e,r=i.last_flush,i.last_flush=t,42===i.status)if(2===i.wrap)e.adler=0,v(i,31),v(i,139),v(i,8),i.gzhead?(v(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),v(i,255&i.gzhead.time),v(i,i.gzhead.time>>8&255),v(i,i.gzhead.time>>16&255),v(i,i.gzhead.time>>24&255),v(i,9===i.level?2:i.strategy>=2||i.level<2?4:0),v(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(v(i,255&i.gzhead.extra.length),v(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=o(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(v(i,0),v(i,0),v(i,0),v(i,0),v(i,0),v(i,9===i.level?2:i.strategy>=2||i.level<2?4:0),v(i,3),i.status=f);else{var u=8+(i.w_bits-8<<4)<<8;u|=(i.strategy>=2||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(u|=32),u+=31-u%31,i.status=f,w(i,u),0!==i.strstart&&(w(i,e.adler>>>16),w(i,65535&e.adler)),e.adler=1}if(69===i.status)if(i.gzhead.extra){for(a=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>a&&(e.adler=o(e.adler,i.pending_buf,i.pending-a,a)),y(e),a=i.pending,i.pending!==i.pending_buf_size));)v(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>a&&(e.adler=o(e.adler,i.pending_buf,i.pending-a,a)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=o(e.adler,i.pending_buf,i.pending-a,a)),y(e),a=i.pending,i.pending===i.pending_buf_size)){l=1;break}l=i.gzindexa&&(e.adler=o(e.adler,i.pending_buf,i.pending-a,a)),0===l&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=o(e.adler,i.pending_buf,i.pending-a,a)),y(e),a=i.pending,i.pending===i.pending_buf_size)){l=1;break}l=i.gzindexa&&(e.adler=o(e.adler,i.pending_buf,i.pending-a,a)),0===l&&(i.status=h)}else i.status=h;if(i.status===h&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&y(e),i.pending+2<=i.pending_buf_size&&(v(i,255&e.adler),v(i,e.adler>>8&255),e.adler=0,i.status=f)):i.status=f),0!==i.pending){if(y(e),0===e.avail_out)return i.last_flush=-1,0}else if(0===e.avail_in&&_(t)<=_(r)&&4!==t)return p(e,-5);if(i.status===m&&0!==e.avail_in)return p(e,-5);if(0!==e.avail_in||0!==i.lookahead||0!==t&&i.status!==m){var k=2===i.strategy?function(e,t){for(var r;;){if(0===e.lookahead&&(M(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,r=s._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(b(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(b(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(b(e,!1),0===e.strm.avail_out)?1:2}(i,t):3===i.strategy?function(e,t){for(var r,n,i,a,o=e.window;;){if(e.lookahead<=d){if(M(e),e.lookahead<=d&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(n=o[i=e.strstart-1])===o[++i]&&n===o[++i]&&n===o[++i]){a=e.strstart+d;do{}while(n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&ie.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(r=s._tr_tally(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=s._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(b(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(b(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(b(e,!1),0===e.strm.avail_out)?1:2}(i,t):n[i.level].func(i,t);if(3!==k&&4!==k||(i.status=m),1===k||3===k)return 0===e.avail_out&&(i.last_flush=-1),0;if(2===k&&(1===t?s._tr_align(i):5!==t&&(s._tr_stored_block(i,0,0,!1),3===t&&(g(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),y(e),0===e.avail_out))return i.last_flush=-1,0}return 4!==t?0:i.wrap<=0?1:(2===i.wrap?(v(i,255&e.adler),v(i,e.adler>>8&255),v(i,e.adler>>16&255),v(i,e.adler>>24&255),v(i,255&e.total_in),v(i,e.total_in>>8&255),v(i,e.total_in>>16&255),v(i,e.total_in>>24&255)):(w(i,e.adler>>>16),w(i,65535&e.adler)),y(e),i.wrap>0&&(i.wrap=-i.wrap),0!==i.pending?0:1)},r.deflateEnd=function(e){var t;return e&&e.state?42!==(t=e.state.status)&&69!==t&&73!==t&&91!==t&&t!==h&&t!==f&&t!==m?p(e,c):(e.state=null,t===f?p(e,-3):0):c},r.deflateSetDictionary=function(e,t){var r,n,s,o,l,d,u,h,f=t.length;if(!e||!e.state)return c;if(2===(o=(r=e.state).wrap)||1===o&&42!==r.status||r.lookahead)return c;for(1===o&&(e.adler=a(e.adler,t,f,0)),r.wrap=0,f>=r.w_size&&(0===o&&(g(r.head),r.strstart=0,r.block_start=0,r.insert=0),h=new i.Buf8(r.w_size),i.arraySet(h,t,f-r.w_size,r.w_size,0),t=h,f=r.w_size),l=e.avail_in,d=e.next_in,u=e.input,e.avail_in=f,e.next_in=0,e.input=t,M(r);r.lookahead>=3;){n=r.strstart,s=r.lookahead-2;do{r.ins_h=(r.ins_h<>>=v=b>>>24,m-=v,0==(v=b>>>16&255))C[s++]=65535&b;else{if(!(16&v)){if(0==(64&v)){b=p[(65535&b)+(f&(1<>>=v,m-=v),m<15&&(f+=x[n++]<>>=v=b>>>24,m-=v,!(16&(v=b>>>16&255))){if(0==(64&v)){b=_[(65535&b)+(f&(1<l){e.msg="invalid distance too far back",r.mode=30;break e}if(f>>>=v,m-=v,k>(v=s-a)){if((v=k-v)>d&&r.sane){e.msg="invalid distance too far back",r.mode=30;break e}if(M=0,S=h,0===u){if(M+=c-v,v2;)C[s++]=S[M++],C[s++]=S[M++],C[s++]=S[M++],w-=3;w&&(C[s++]=S[M++],w>1&&(C[s++]=S[M++]))}else{M=s-k;do{C[s++]=C[M++],C[s++]=C[M++],C[s++]=C[M++],w-=3}while(w>2);w&&(C[s++]=C[M++],w>1&&(C[s++]=C[M++]))}break}}break}}while(n>3)<<3))-1,e.next_in=n-=w,e.next_out=s,e.avail_in=n>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function h(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function f(e){var t;return e&&e.state?(e.total_in=e.total_out=(t=e.state).total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new n.Buf32(852),t.distcode=t.distdyn=new n.Buf32(592),t.sane=1,t.back=-1,0):l}function m(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,f(e)):l}function p(e,t){var r,n;return e&&e.state?(t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?l:(null!==(n=e.state).window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,m(e))):l}function _(e,t){var r,n;return e?(n=new h,e.state=n,n.window=null,0!==(r=p(e,t))&&(e.state=null),r):l}var g,y,b=!0;function v(e){if(b){var t;for(g=new n.Buf32(512),y=new n.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(o(1,e.lens,0,288,g,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;o(2,e.lens,0,32,y,0,e.work,{bits:5}),b=!1}e.lencode=g,e.lenbits=9,e.distcode=y,e.distbits=5}function w(e,t,r,i){var s,a=e.state;return null===a.window&&(a.wsize=1<=a.wsize?(n.arraySet(a.window,t,r-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):((s=a.wsize-a.wnext)>i&&(s=i),n.arraySet(a.window,t,r-i,s,a.wnext),(i-=s)?(n.arraySet(a.window,t,r-i,i,0),a.wnext=i,a.whave=a.wsize):(a.wnext+=s,a.wnext===a.wsize&&(a.wnext=0),a.whave>>8&255,r.check=s(r.check,F,2,0),y=0,b=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&y)<<8)+(y>>8))%31){e.msg="incorrect header check",r.mode=d;break}if(8!=(15&y)){e.msg="unknown compression method",r.mode=d;break}if(b-=4,Y=8+(15&(y>>>=4)),0===r.wbits)r.wbits=Y;else if(Y>r.wbits){e.msg="invalid window size",r.mode=d;break}r.dmax=1<>8&1),512&r.flags&&(F[0]=255&y,F[1]=y>>>8&255,r.check=s(r.check,F,2,0)),y=0,b=0,r.mode=3;case 3:for(;b<32;){if(0===_)break e;_--,y+=h[m++]<>>8&255,F[2]=y>>>16&255,F[3]=y>>>24&255,r.check=s(r.check,F,4,0)),y=0,b=0,r.mode=4;case 4:for(;b<16;){if(0===_)break e;_--,y+=h[m++]<>8),512&r.flags&&(F[0]=255&y,F[1]=y>>>8&255,r.check=s(r.check,F,2,0)),y=0,b=0,r.mode=5;case 5:if(1024&r.flags){for(;b<16;){if(0===_)break e;_--,y+=h[m++]<>>8&255,r.check=s(r.check,F,2,0)),y=0,b=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&((S=r.length)>_&&(S=_),S&&(r.head&&(Y=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),n.arraySet(r.head.extra,h,m,S,Y)),512&r.flags&&(r.check=s(r.check,h,S,m)),_-=S,m+=S,r.length-=S),r.length))break e;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===_)break e;S=0;do{Y=h[m+S++],r.head&&Y&&r.length<65536&&(r.head.name+=String.fromCharCode(Y))}while(Y&&S<_);if(512&r.flags&&(r.check=s(r.check,h,S,m)),_-=S,m+=S,Y)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=8;case 8:if(4096&r.flags){if(0===_)break e;S=0;do{Y=h[m+S++],r.head&&Y&&r.length<65536&&(r.head.comment+=String.fromCharCode(Y))}while(Y&&S<_);if(512&r.flags&&(r.check=s(r.check,h,S,m)),_-=S,m+=S,Y)break e}else r.head&&(r.head.comment=null);r.mode=9;case 9:if(512&r.flags){for(;b<16;){if(0===_)break e;_--,y+=h[m++]<>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=c;break;case 10:for(;b<32;){if(0===_)break e;_--,y+=h[m++]<>>=7&b,b-=7&b,r.mode=27;break}for(;b<3;){if(0===_)break e;_--,y+=h[m++]<>>=1)){case 0:r.mode=14;break;case 1:if(v(r),r.mode=20,6===t){y>>>=2,b-=2;break e}break;case 2:r.mode=17;break;case 3:e.msg="invalid block type",r.mode=d}y>>>=2,b-=2;break;case 14:for(y>>>=7&b,b-=7&b;b<32;){if(0===_)break e;_--,y+=h[m++]<>>16^65535)){e.msg="invalid stored block lengths",r.mode=d;break}if(r.length=65535&y,y=0,b=0,r.mode=15,6===t)break e;case 15:r.mode=16;case 16:if(S=r.length){if(S>_&&(S=_),S>g&&(S=g),0===S)break e;n.arraySet(f,h,m,S,p),_-=S,m+=S,g-=S,p+=S,r.length-=S;break}r.mode=c;break;case 17:for(;b<14;){if(0===_)break e;_--,y+=h[m++]<>>=5)),b-=5,r.ncode=4+(15&(y>>>=5)),y>>>=4,b-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=d;break}r.have=0,r.mode=18;case 18:for(;r.have>>=3,b-=3}for(;r.have<19;)r.lens[H[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,R=o(0,r.lens,0,19,r.lencode,0,r.work,O={bits:r.lenbits}),r.lenbits=O.bits,R){e.msg="invalid code lengths set",r.mode=d;break}r.have=0,r.mode=19;case 19:for(;r.have>>16&255,A=65535&j,!((D=j>>>24)<=b);){if(0===_)break e;_--,y+=h[m++]<>>=D,b-=D,r.lens[r.have++]=A;else{if(16===A){for(I=D+2;b>>=D,b-=D,0===r.have){e.msg="invalid bit length repeat",r.mode=d;break}Y=r.lens[r.have-1],S=3+(3&y),y>>>=2,b-=2}else if(17===A){for(I=D+3;b>>=D)),y>>>=3,b-=3}else{for(I=D+7;b>>=D)),y>>>=7,b-=7}if(r.have+S>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=d;break}for(;S--;)r.lens[r.have++]=Y}}if(r.mode===d)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=d;break}if(r.lenbits=9,R=o(1,r.lens,0,r.nlen,r.lencode,0,r.work,O={bits:r.lenbits}),r.lenbits=O.bits,R){e.msg="invalid literal/lengths set",r.mode=d;break}if(r.distbits=6,r.distcode=r.distdyn,R=o(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,O={bits:r.distbits}),r.distbits=O.bits,R){e.msg="invalid distances set",r.mode=d;break}if(r.mode=20,6===t)break e;case 20:r.mode=21;case 21:if(_>=6&&g>=258){e.next_out=p,e.avail_out=g,e.next_in=m,e.avail_in=_,r.hold=y,r.bits=b,a(e,M),p=e.next_out,f=e.output,g=e.avail_out,m=e.next_in,h=e.input,_=e.avail_in,y=r.hold,b=r.bits,r.mode===c&&(r.back=-1);break}for(r.back=0;L=(j=r.lencode[y&(1<>>16&255,A=65535&j,!((D=j>>>24)<=b);){if(0===_)break e;_--,y+=h[m++]<>E)])>>>16&255,A=65535&j,!(E+(D=j>>>24)<=b);){if(0===_)break e;_--,y+=h[m++]<>>=E,b-=E,r.back+=E}if(y>>>=D,b-=D,r.back+=D,r.length=A,0===L){r.mode=26;break}if(32&L){r.back=-1,r.mode=c;break}if(64&L){e.msg="invalid literal/length code",r.mode=d;break}r.extra=15&L,r.mode=22;case 22:if(r.extra){for(I=r.extra;b>>=r.extra,b-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;L=(j=r.distcode[y&(1<>>16&255,A=65535&j,!((D=j>>>24)<=b);){if(0===_)break e;_--,y+=h[m++]<>E)])>>>16&255,A=65535&j,!(E+(D=j>>>24)<=b);){if(0===_)break e;_--,y+=h[m++]<>>=E,b-=E,r.back+=E}if(y>>>=D,b-=D,r.back+=D,64&L){e.msg="invalid distance code",r.mode=d;break}r.offset=A,r.extra=15&L,r.mode=24;case 24:if(r.extra){for(I=r.extra;b>>=r.extra,b-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=d;break}r.mode=25;case 25:if(0===g)break e;if(r.offset>(S=M-g)){if((S=r.offset-S)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=d;break}x=S>r.wnext?r.wsize-(S-=r.wnext):r.wnext-S,S>r.length&&(S=r.length),C=r.window}else C=f,x=p-r.offset,S=r.length;S>g&&(S=g),g-=S,r.length-=S;do{f[p++]=C[x++]}while(--S);0===r.length&&(r.mode=21);break;case 26:if(0===g)break e;f[p++]=r.length,g--,r.mode=21;break;case 27:if(r.wrap){for(;b<32;){if(0===_)break e;_--,y|=h[m++]<=1&&0===O[C];C--);if(D>C&&(D=C),0===C)return c[d++]=20971520,c[d++]=20971520,h.bits=1,0;for(x=1;x0&&(0===e||1!==C))return-1;for(I[1]=0,M=1;M<15;M++)I[M+1]=I[M]+O[M];for(S=0;S852||2===e&&T>592)return 1;for(;;){b=M-A,u[S]y?(v=j[F+u[S]],w=Y[R+u[S]]):(v=96,w=0),f=1<>A)+(m-=f)]=b<<24|v<<16|w|0}while(0!==m);for(f=1<>=1;if(0!==f?(P&=f-1,P+=f):P=0,S++,0==--O[M]){if(M===C)break;M=t[r+u[S]]}if(M>D&&(P&_)!==p){for(0===A&&(A=D),g+=x,E=1<<(L=M-A);L+A852||2===e&&T>592)return 1;c[p=P&_]=D<<24|L<<16|g-d|0}}return 0!==P&&(c[g+P]=M-A<<24|64<<16|0),h.bits=D,0}},{"../utils/common":53}],63:[function(e,t,r){"use strict";t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],64:[function(e,t,r){"use strict";var n=e("../utils/common");function i(e){for(var t=e.length;--t>=0;)e[t]=0}var s=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],a=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],l=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],c=new Array(576);i(c);var d=new Array(60);i(d);var u=new Array(512);i(u);var h=new Array(256);i(h);var f=new Array(29);i(f);var m,p,_,g=new Array(30);function y(e,t,r,n,i){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=n,this.max_length=i,this.has_stree=e&&e.length}function b(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function v(e){return e<256?u[e]:u[256+(e>>>7)]}function w(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function k(e,t,r){e.bi_valid>16-r?(e.bi_buf|=t<>16-e.bi_valid,e.bi_valid+=r-16):(e.bi_buf|=t<>>=1,r<<=1}while(--t>0);return r>>>1}function x(e,t,r){var n,i,s=new Array(16),a=0;for(n=1;n<=15;n++)s[n]=a=a+r[n-1]<<1;for(i=0;i<=t;i++){var o=e[2*i+1];0!==o&&(e[2*i]=S(s[o]++,o))}}function C(e){var t;for(t=0;t<286;t++)e.dyn_ltree[2*t]=0;for(t=0;t<30;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function D(e){e.bi_valid>8?w(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function L(e,t,r,n){var i=2*t,s=2*r;return e[i]>1;r>=1;r--)A(e,s,r);i=l;do{r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],A(e,s,1),n=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=n,s[2*i]=s[2*r]+s[2*n],e.depth[i]=(e.depth[r]>=e.depth[n]?e.depth[r]:e.depth[n])+1,s[2*r+1]=s[2*n+1]=i,e.heap[1]=i++,A(e,s,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var r,n,i,s,a,o,l=t.dyn_tree,c=t.max_code,d=t.stat_desc.static_tree,u=t.stat_desc.has_stree,h=t.stat_desc.extra_bits,f=t.stat_desc.extra_base,m=t.stat_desc.max_length,p=0;for(s=0;s<=15;s++)e.bl_count[s]=0;for(l[2*e.heap[e.heap_max]+1]=0,r=e.heap_max+1;r<573;r++)(s=l[2*l[2*(n=e.heap[r])+1]+1]+1)>m&&(s=m,p++),l[2*n+1]=s,n>c||(e.bl_count[s]++,a=0,n>=f&&(a=h[n-f]),e.opt_len+=(o=l[2*n])*(s+a),u&&(e.static_len+=o*(d[2*n+1]+a)));if(0!==p){do{for(s=m-1;0===e.bl_count[s];)s--;e.bl_count[s]--,e.bl_count[s+1]+=2,e.bl_count[m]--,p-=2}while(p>0);for(s=m;0!==s;s--)for(n=e.bl_count[s];0!==n;)(i=e.heap[--r])>c||(l[2*i+1]!==s&&(e.opt_len+=(s-l[2*i+1])*l[2*i],l[2*i+1]=s),n--)}}(e,t),x(s,c,e.bl_count)}function P(e,t,r){var n,i,s=-1,a=t[1],o=0,l=7,c=4;for(0===a&&(l=138,c=3),t[2*(r+1)+1]=65535,n=0;n<=r;n++)i=a,a=t[2*(n+1)+1],++o>=7;n<30;n++)for(g[n]=i<<7,e=0;e<1<0?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,r=4093624447;for(t=0;t<=31;t++,r>>>=1)if(1&r&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<256;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),T(e,e.l_desc),T(e,e.d_desc),a=function(e){var t;for(P(e,e.dyn_ltree,e.l_desc.max_code),P(e,e.dyn_dtree,e.d_desc.max_code),T(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*l[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),(s=e.static_len+3+7>>>3)<=(i=e.opt_len+3+7>>>3)&&(i=s)):i=s=r+5,r+4<=i&&-1!==t?O(e,t,r,n):4===e.strategy||s===i?(k(e,2+(n?1:0),3),E(e,c,d)):(k(e,4+(n?1:0),3),function(e,t,r,n){var i;for(k(e,t-257,5),k(e,r-1,5),k(e,n-4,4),i=0;i>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&r,e.last_lit++,0===t?e.dyn_ltree[2*r]++:(e.matches++,t--,e.dyn_ltree[2*(h[r]+256+1)]++,e.dyn_dtree[2*v(t)]++),e.last_lit===e.lit_bufsize-1},r._tr_align=function(e){k(e,2,3),M(e,256,c),function(e){16===e.bi_valid?(w(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},{"../utils/common":53}],65:[function(e,t,r){"use strict";t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],66:[function(e,t,r){var n,i,s=t.exports={};function a(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function l(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{i="function"==typeof clearTimeout?clearTimeout:o}catch(e){i=o}}();var c,d=[],u=!1,h=-1;function f(){u&&c&&(u=!1,c.length?d=c.concat(d):h=-1,d.length&&m())}function m(){if(!u){var e=l(f);u=!0;for(var t=d.length;t;){for(c=d,d=[];++h1)for(var r=1;r0;){this._ensureByte();var r=8-this.bitOffset;if(e>=r)t<<=r,t|=n[r]&this.curByte,this.hasByte=!1,this.bitOffset=0,e-=r;else{t<<=e;var i=r-e;t|=(this.curByte&n[e]<>i,this.bitOffset+=e,e=0}}return t},i.prototype.seek=function(e){var t=e%8,r=(e-t)/8;this.bitOffset=t,this.stream.seek(r),this.hasByte=!1},i.prototype.pi=function(){var e,t=new Uint8Array(6);for(e=0;e("00"+e.toString(16)).slice(-2)).join("")}(t)},t.exports=i},{}],68:[function(e,t,r){"use strict";var n;t.exports=(n=new Uint32Array([0,79764919,159529838,222504665,319059676,398814059,445009330,507990021,638119352,583659535,797628118,726387553,890018660,835552979,1015980042,944750013,1276238704,1221641927,1167319070,1095957929,1595256236,1540665371,1452775106,1381403509,1780037320,1859660671,1671105958,1733955601,2031960084,2111593891,1889500026,1952343757,2552477408,2632100695,2443283854,2506133561,2334638140,2414271883,2191915858,2254759653,3190512472,3135915759,3081330742,3009969537,2905550212,2850959411,2762807018,2691435357,3560074640,3505614887,3719321342,3648080713,3342211916,3287746299,3467911202,3396681109,4063920168,4143685023,4223187782,4286162673,3779000052,3858754371,3904687514,3967668269,881225847,809987520,1023691545,969234094,662832811,591600412,771767749,717299826,311336399,374308984,453813921,533576470,25881363,88864420,134795389,214552010,2023205639,2086057648,1897238633,1976864222,1804852699,1867694188,1645340341,1724971778,1587496639,1516133128,1461550545,1406951526,1302016099,1230646740,1142491917,1087903418,2896545431,2825181984,2770861561,2716262478,3215044683,3143675388,3055782693,3001194130,2326604591,2389456536,2200899649,2280525302,2578013683,2640855108,2418763421,2498394922,3769900519,3832873040,3912640137,3992402750,4088425275,4151408268,4197601365,4277358050,3334271071,3263032808,3476998961,3422541446,3585640067,3514407732,3694837229,3640369242,1762451694,1842216281,1619975040,1682949687,2047383090,2127137669,1938468188,2001449195,1325665622,1271206113,1183200824,1111960463,1543535498,1489069629,1434599652,1363369299,622672798,568075817,748617968,677256519,907627842,853037301,1067152940,995781531,51762726,131386257,177728840,240578815,269590778,349224269,429104020,491947555,4046411278,4126034873,4172115296,4234965207,3794477266,3874110821,3953728444,4016571915,3609705398,3555108353,3735388376,3664026991,3290680682,3236090077,3449943556,3378572211,3174993278,3120533705,3032266256,2961025959,2923101090,2868635157,2813903052,2742672763,2604032198,2683796849,2461293480,2524268063,2284983834,2364738477,2175806836,2238787779,1569362073,1498123566,1409854455,1355396672,1317987909,1246755826,1192025387,1137557660,2072149281,2135122070,1912620623,1992383480,1753615357,1816598090,1627664531,1707420964,295390185,358241886,404320391,483945776,43990325,106832002,186451547,266083308,932423249,861060070,1041341759,986742920,613929101,542559546,756411363,701822548,3316196985,3244833742,3425377559,3370778784,3601682597,3530312978,3744426955,3689838204,3819031489,3881883254,3928223919,4007849240,4037393693,4100235434,4180117107,4259748804,2310601993,2373574846,2151335527,2231098320,2596047829,2659030626,2470359227,2550115596,2947551409,2876312838,2788305887,2733848168,3165939309,3094707162,3040238851,2985771188]),function(){var e=4294967295;this.getCRC=function(){return~e>>>0},this.updateCRC=function(t){e=e<<8^n[255&(e>>>24^t)]},this.updateCRCRun=function(t,r){for(;r-- >0;)e=e<<8^n[255&(e>>>24^t)]}})},{}],69:[function(e,t,r){"use strict";var n=e("./bitreader"),i=e("./stream"),s=e("./crc32"),a=function(e,t){var r,n=e[t];for(r=t;r>0;r--)e[r]=e[r-1];return e[0]=n,n},o={OK:0,LAST_BLOCK:-1,NOT_BZIP_DATA:-2,UNEXPECTED_INPUT_EOF:-3,UNEXPECTED_OUTPUT_EOF:-4,DATA_ERROR:-5,OUT_OF_MEMORY:-6,OBSOLETE_INPUT:-7,END_OF_BLOCK:-8},l={};l[o.LAST_BLOCK]="Bad file checksum",l[o.NOT_BZIP_DATA]="Not bzip data",l[o.UNEXPECTED_INPUT_EOF]="Unexpected input EOF",l[o.UNEXPECTED_OUTPUT_EOF]="Unexpected output EOF",l[o.DATA_ERROR]="Data error",l[o.OUT_OF_MEMORY]="Out of memory",l[o.OBSOLETE_INPUT]="Obsolete (pre 0.9.5) bzip format not supported.";var c=function(e,t){var r=l[e]||"unknown error";t&&(r+=": "+t);var n=new TypeError(r);throw n.errorCode=e,n},d=function(e,t){this.writePos=this.writeCurrent=this.writeCount=0,this._start_bunzip(e,t)};d.prototype._init_block=function(){return this._get_next_block()?(this.blockCRC=new s,!0):(this.writeCount=-1,!1)},d.prototype._start_bunzip=function(e,t){var r=new Uint8Array(4);4===e.read(r,0,4)&&"BZh"===String.fromCharCode(r[0],r[1],r[2])||c(o.NOT_BZIP_DATA,"bad magic");var i=r[3]-48;(i<1||i>9)&&c(o.NOT_BZIP_DATA,"level out of range"),this.reader=new n(e),this.dbufSize=1e5*i,this.nextoutput=0,this.outputStream=t,this.streamCRC=0},d.prototype._get_next_block=function(){var e,t,r,n=this.reader,i=n.pi();if("177245385090"===i)return!1;"314159265359"!==i&&c(o.NOT_BZIP_DATA),this.targetBlockCRC=n.read(32)>>>0,this.streamCRC=(this.targetBlockCRC^(this.streamCRC<<1|this.streamCRC>>>31))>>>0,n.read(1)&&c(o.OBSOLETE_INPUT);var s=n.read(24);s>this.dbufSize&&c(o.DATA_ERROR,"initial position out of bounds");var l=n.read(16),d=new Uint8Array(256),u=0;for(e=0;e<16;e++)if(l&1<<15-e){var h=16*e;for(r=n.read(16),t=0;t<16;t++)r&1<<15-t&&(d[u++]=h+t)}var f=n.read(3);(f<2||f>6)&&c(o.DATA_ERROR);var m=n.read(15);0===m&&c(o.DATA_ERROR);var p=new Uint8Array(256);for(e=0;e=f&&c(o.DATA_ERROR);_[e]=a(p,t)}var g,y=u+2,b=[];for(t=0;t20)&&c(o.DATA_ERROR),n.read(1);)n.read(1)?l--:l++;k[e]=l}for(v=w=k[0],e=1;ew?w=k[e]:k[e]=m&&c(o.DATA_ERROR),g=b[_[A++]]),t=n.read(e=g.minLen);e>g.maxLen&&c(o.DATA_ERROR),!(t<=g.limit[e]);e++)t=t<<1|n.read(1);((t-=g.base[e])<0||t>=258)&&c(o.DATA_ERROR);var T=g.permute[t];if(0!==T&&1!==T){if(D)for(D=0,L+l>this.dbufSize&&c(o.DATA_ERROR),x[C=d[p[0]]]+=l;l--;)E[L++]=C;if(T>u)break;L>=this.dbufSize&&c(o.DATA_ERROR),x[C=d[C=a(p,e=T-1)]]++,E[L++]=C}else D||(D=1,l=0),l+=0===T?D:2*D,D<<=1}for((s<0||s>=L)&&c(o.DATA_ERROR),t=0,e=0;e<256;e++)r=t+x[e],x[e]=t,t=r;for(e=0;e>=8,R=-1),this.writePos=P,this.writeCurrent=Y,this.writeCount=L,this.writeRun=R,!0},d.prototype._read_bunzip=function(e,t){var r,n,i;if(this.writeCount<0)return 0;for(var s=this.dbuf,a=this.writePos,l=this.writeCurrent,d=this.writeCount,u=this.writeRun;d;){for(d--,n=l,l=255&(a=s[a]),a>>=8,3==u++?(r=l,i=n,l=-1):(r=1,i=l),this.blockCRC.updateCRCRun(i,r);r--;)this.outputStream.writeByte(i),this.nextoutput++;l!=n&&(u=0)}return this.writeCount=d,this.blockCRC.getCRC()!==this.targetBlockCRC&&c(o.DATA_ERROR,"Bad block CRC (got "+this.blockCRC.getCRC().toString(16)+" expected "+this.targetBlockCRC.toString(16)+")"),this.nextoutput};var u=function(e){if("readByte"in e)return e;var t=new i;return t.pos=0,t.readByte=function(){return e[this.pos++]},t.seek=function(e){this.pos=e},t.eof=function(){return this.pos>=e.length},t},h=function(e){var t=new i,r=!0;if(e)if("number"==typeof e)t.buffer=new Uint8Array(e),r=!1;else{if("writeByte"in e)return e;t.buffer=e,r=!1}else t.buffer=new Uint8Array(16384);return t.pos=0,t.writeByte=function(e){if(r&&this.pos>=this.buffer.length){var t=new Uint8Array(2*this.buffer.length);t.set(this.buffer),this.buffer=t}this.buffer[this.pos++]=e},t.getBuffer=function(){if(this.pos!==this.buffer.length){if(!r)throw new TypeError("outputsize does not match decoded input");var e=new Uint8Array(this.pos);e.set(this.buffer.subarray(0,this.pos)),this.buffer=e}return this.buffer},t._coerced=!0,t};d.Err=o,d.decode=function(e,t,r){for(var n=u(e),i=h(t),s=new d(n,i);!("eof"in n)||!n.eof();)if(s._init_block())s._read_bunzip();else{var a=s.reader.read(32)>>>0;if(a!==s.streamCRC&&c(o.DATA_ERROR,"Bad stream CRC (got "+s.streamCRC.toString(16)+" expected "+a.toString(16)+")"),!r||!("eof"in n)||n.eof())break;s._start_bunzip(n,i)}if("getBuffer"in i)return i.getBuffer()},d.decodeBlock=function(e,t,r){var n=u(e),i=h(r),a=new d(n,i);if(a.reader.seek(t),a._get_next_block()&&(a.blockCRC=new s,a.writeCopies=0,a._read_bunzip()),"getBuffer"in i)return i.getBuffer()},d.table=function(e,t,r){var n=new i;n.delegate=u(e),n.pos=0,n.readByte=function(){return this.pos++,this.delegate.readByte()},n.delegate.eof&&(n.eof=n.delegate.eof.bind(n.delegate));var s=new i;s.pos=0,s.writeByte=function(){this.pos++};for(var a=new d(n,s),o=a.dbufSize;!("eof"in n)||!n.eof();){var l=8*n.pos+a.reader.bitOffset;if(a.reader.hasByte&&(l-=8),a._init_block()){var c=s.pos;a._read_bunzip(),t(l,s.pos-c)}else{if(a.reader.read(32),!r||!("eof"in n)||n.eof())break;a._start_bunzip(n,s),console.assert(a.dbufSize===o,"shouldn't change block size within multistream file")}}},d.Stream=i,t.exports=d},{"./bitreader":67,"./crc32":68,"./stream":70}],70:[function(e,t,r){"use strict";var n=function(){};n.prototype.readByte=function(){throw new Error("abstract method readByte() not implemented")},n.prototype.read=function(e,t,r){for(var n=0;n>6*r)+i];r>0;)s.push(128|63&t>>6*(r-1)),r-=1;return s}}c.prototype={decode:function(e,t){var r;r="object"==typeof e&&e instanceof ArrayBuffer?new Uint8Array(e):"object"==typeof e&&"buffer"in e&&e.buffer instanceof ArrayBuffer?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):new Uint8Array(0),t=i(t),this._streaming||(this._decoder=new u({fatal:this._fatal}),this._BOMseen=!1),this._streaming=Boolean(t.stream);for(var n,o=new s(r),l=[];!o.endOfStream()&&(n=this._decoder.handler(o,o.read()))!==a;)null!==n&&(Array.isArray(n)?l.push.apply(l,n):l.push(n));if(!this._streaming){do{if((n=this._decoder.handler(o,o.read()))===a)break;null!==n&&(Array.isArray(n)?l.push.apply(l,n):l.push(n))}while(!o.endOfStream());this._decoder=null}return l.length&&(-1===["utf-8"].indexOf(this.encoding)||this._ignoreBOM||this._BOMseen||(65279===l[0]?(this._BOMseen=!0,l.shift()):this._BOMseen=!0)),function(e){for(var t="",r=0;r>10),56320+(1023&n)))}return t}(l)}},d.prototype={encode:function(e,t){e=e?String(e):"",t=i(t),this._streaming||(this._encoder=new h(this._options)),this._streaming=Boolean(t.stream);for(var r,n=[],o=new s(function(e){for(var t=String(e),r=t.length,n=0,i=[];n57343)i.push(s);else if(56320<=s&&s<=57343)i.push(65533);else if(55296<=s&&s<=56319)if(n===r-1)i.push(65533);else{var a=e.charCodeAt(n+1);56320<=a&&a<=57343?(i.push(65536+((1023&s)<<10)+(1023&a)),n+=1):i.push(65533)}n+=1}return i}(e));!o.endOfStream()&&(r=this._encoder.handler(o,o.read()))!==a;)Array.isArray(r)?n.push.apply(n,r):n.push(r);if(!this._streaming){for(;(r=this._encoder.handler(o,o.read()))!==a;)Array.isArray(r)?n.push.apply(n,r):n.push(r);this._encoder=null}return new Uint8Array(n)}},r.TextEncoder=d,r.TextDecoder=c},{}],72:[function(e,t,r){!function(t){"use strict";var r=function(e){var t,r=new Float64Array(16);if(e)for(t=0;t>>8)-1}(e,t,r,n)}function m(e,t){var r;for(r=0;r<16;r++)e[r]=0|t[r]}function p(e){var t,r,n=1;for(t=0;t<16;t++)r=e[t]+n+65535,n=Math.floor(r/65536),e[t]=r-65536*n;e[0]+=n-1+37*(n-1)}function _(e,t,r){for(var n,i=~(r-1),s=0;s<16;s++)e[s]^=n=i&(e[s]^t[s]),t[s]^=n}function g(e,t){var n,i,s,a=r(),o=r();for(n=0;n<16;n++)o[n]=t[n];for(p(o),p(o),p(o),i=0;i<2;i++){for(a[0]=o[0]-65517,n=1;n<15;n++)a[n]=o[n]-65535-(a[n-1]>>16&1),a[n-1]&=65535;a[15]=o[15]-32767-(a[14]>>16&1),s=a[15]>>16&1,a[14]&=65535,_(o,a,1-s)}for(n=0;n<16;n++)e[2*n]=255&o[n],e[2*n+1]=o[n]>>8}function y(e,t){var r=new Uint8Array(32),n=new Uint8Array(32);return g(r,e),g(n,t),f(r,0,n,0)}function b(e){var t=new Uint8Array(32);return g(t,e),1&t[0]}function v(e,t){var r;for(r=0;r<16;r++)e[r]=t[2*r]+(t[2*r+1]<<8);e[15]&=32767}function w(e,t,r){for(var n=0;n<16;n++)e[n]=t[n]+r[n]}function k(e,t,r){for(var n=0;n<16;n++)e[n]=t[n]-r[n]}function M(e,t,r){var n,i,s=0,a=0,o=0,l=0,c=0,d=0,u=0,h=0,f=0,m=0,p=0,_=0,g=0,y=0,b=0,v=0,w=0,k=0,M=0,S=0,x=0,C=0,D=0,L=0,A=0,E=0,T=0,P=0,Y=0,R=0,O=0,I=r[0],j=r[1],F=r[2],H=r[3],N=r[4],B=r[5],z=r[6],U=r[7],V=r[8],K=r[9],W=r[10],q=r[11],G=r[12],$=r[13],Z=r[14],J=r[15];s+=(n=t[0])*I,a+=n*j,o+=n*F,l+=n*H,c+=n*N,d+=n*B,u+=n*z,h+=n*U,f+=n*V,m+=n*K,p+=n*W,_+=n*q,g+=n*G,y+=n*$,b+=n*Z,v+=n*J,a+=(n=t[1])*I,o+=n*j,l+=n*F,c+=n*H,d+=n*N,u+=n*B,h+=n*z,f+=n*U,m+=n*V,p+=n*K,_+=n*W,g+=n*q,y+=n*G,b+=n*$,v+=n*Z,w+=n*J,o+=(n=t[2])*I,l+=n*j,c+=n*F,d+=n*H,u+=n*N,h+=n*B,f+=n*z,m+=n*U,p+=n*V,_+=n*K,g+=n*W,y+=n*q,b+=n*G,v+=n*$,w+=n*Z,k+=n*J,l+=(n=t[3])*I,c+=n*j,d+=n*F,u+=n*H,h+=n*N,f+=n*B,m+=n*z,p+=n*U,_+=n*V,g+=n*K,y+=n*W,b+=n*q,v+=n*G,w+=n*$,k+=n*Z,M+=n*J,c+=(n=t[4])*I,d+=n*j,u+=n*F,h+=n*H,f+=n*N,m+=n*B,p+=n*z,_+=n*U,g+=n*V,y+=n*K,b+=n*W,v+=n*q,w+=n*G,k+=n*$,M+=n*Z,S+=n*J,d+=(n=t[5])*I,u+=n*j,h+=n*F,f+=n*H,m+=n*N,p+=n*B,_+=n*z,g+=n*U,y+=n*V,b+=n*K,v+=n*W,w+=n*q,k+=n*G,M+=n*$,S+=n*Z,x+=n*J,u+=(n=t[6])*I,h+=n*j,f+=n*F,m+=n*H,p+=n*N,_+=n*B,g+=n*z,y+=n*U,b+=n*V,v+=n*K,w+=n*W,k+=n*q,M+=n*G,S+=n*$,x+=n*Z,C+=n*J,h+=(n=t[7])*I,f+=n*j,m+=n*F,p+=n*H,_+=n*N,g+=n*B,y+=n*z,b+=n*U,v+=n*V,w+=n*K,k+=n*W,M+=n*q,S+=n*G,x+=n*$,C+=n*Z,D+=n*J,f+=(n=t[8])*I,m+=n*j,p+=n*F,_+=n*H,g+=n*N,y+=n*B,b+=n*z,v+=n*U,w+=n*V,k+=n*K,M+=n*W,S+=n*q,x+=n*G,C+=n*$,D+=n*Z,L+=n*J,m+=(n=t[9])*I,p+=n*j,_+=n*F,g+=n*H,y+=n*N,b+=n*B,v+=n*z,w+=n*U,k+=n*V,M+=n*K,S+=n*W,x+=n*q,C+=n*G,D+=n*$,L+=n*Z,A+=n*J,p+=(n=t[10])*I,_+=n*j,g+=n*F,y+=n*H,b+=n*N,v+=n*B,w+=n*z,k+=n*U,M+=n*V,S+=n*K,x+=n*W,C+=n*q,D+=n*G,L+=n*$,A+=n*Z,E+=n*J,_+=(n=t[11])*I,g+=n*j,y+=n*F,b+=n*H,v+=n*N,w+=n*B,k+=n*z,M+=n*U,S+=n*V,x+=n*K,C+=n*W,D+=n*q,L+=n*G,A+=n*$,E+=n*Z,T+=n*J,g+=(n=t[12])*I,y+=n*j,b+=n*F,v+=n*H,w+=n*N,k+=n*B,M+=n*z,S+=n*U,x+=n*V,C+=n*K,D+=n*W,L+=n*q,A+=n*G,E+=n*$,T+=n*Z,P+=n*J,y+=(n=t[13])*I,b+=n*j,v+=n*F,w+=n*H,k+=n*N,M+=n*B,S+=n*z,x+=n*U,C+=n*V,D+=n*K,L+=n*W,A+=n*q,E+=n*G,T+=n*$,P+=n*Z,Y+=n*J,b+=(n=t[14])*I,v+=n*j,w+=n*F,k+=n*H,M+=n*N,S+=n*B,x+=n*z,C+=n*U,D+=n*V,L+=n*K,A+=n*W,E+=n*q,T+=n*G,P+=n*$,Y+=n*Z,R+=n*J,v+=(n=t[15])*I,a+=38*(k+=n*F),o+=38*(M+=n*H),l+=38*(S+=n*N),c+=38*(x+=n*B),d+=38*(C+=n*z),u+=38*(D+=n*U),h+=38*(L+=n*V),f+=38*(A+=n*K),m+=38*(E+=n*W),p+=38*(T+=n*q),_+=38*(P+=n*G),g+=38*(Y+=n*$),y+=38*(R+=n*Z),b+=38*(O+=n*J),s=(n=(s+=38*(w+=n*j))+(i=1)+65535)-65536*(i=Math.floor(n/65536)),a=(n=a+i+65535)-65536*(i=Math.floor(n/65536)),o=(n=o+i+65535)-65536*(i=Math.floor(n/65536)),l=(n=l+i+65535)-65536*(i=Math.floor(n/65536)),c=(n=c+i+65535)-65536*(i=Math.floor(n/65536)),d=(n=d+i+65535)-65536*(i=Math.floor(n/65536)),u=(n=u+i+65535)-65536*(i=Math.floor(n/65536)),h=(n=h+i+65535)-65536*(i=Math.floor(n/65536)),f=(n=f+i+65535)-65536*(i=Math.floor(n/65536)),m=(n=m+i+65535)-65536*(i=Math.floor(n/65536)),p=(n=p+i+65535)-65536*(i=Math.floor(n/65536)),_=(n=_+i+65535)-65536*(i=Math.floor(n/65536)),g=(n=g+i+65535)-65536*(i=Math.floor(n/65536)),y=(n=y+i+65535)-65536*(i=Math.floor(n/65536)),b=(n=b+i+65535)-65536*(i=Math.floor(n/65536)),v=(n=v+i+65535)-65536*(i=Math.floor(n/65536)),s=(n=(s+=i-1+37*(i-1))+(i=1)+65535)-65536*(i=Math.floor(n/65536)),a=(n=a+i+65535)-65536*(i=Math.floor(n/65536)),o=(n=o+i+65535)-65536*(i=Math.floor(n/65536)),l=(n=l+i+65535)-65536*(i=Math.floor(n/65536)),c=(n=c+i+65535)-65536*(i=Math.floor(n/65536)),d=(n=d+i+65535)-65536*(i=Math.floor(n/65536)),u=(n=u+i+65535)-65536*(i=Math.floor(n/65536)),h=(n=h+i+65535)-65536*(i=Math.floor(n/65536)),f=(n=f+i+65535)-65536*(i=Math.floor(n/65536)),m=(n=m+i+65535)-65536*(i=Math.floor(n/65536)),p=(n=p+i+65535)-65536*(i=Math.floor(n/65536)),_=(n=_+i+65535)-65536*(i=Math.floor(n/65536)),g=(n=g+i+65535)-65536*(i=Math.floor(n/65536)),y=(n=y+i+65535)-65536*(i=Math.floor(n/65536)),b=(n=b+i+65535)-65536*(i=Math.floor(n/65536)),v=(n=v+i+65535)-65536*(i=Math.floor(n/65536)),e[0]=s+=i-1+37*(i-1),e[1]=a,e[2]=o,e[3]=l,e[4]=c,e[5]=d,e[6]=u,e[7]=h,e[8]=f,e[9]=m,e[10]=p,e[11]=_,e[12]=g,e[13]=y,e[14]=b,e[15]=v}function S(e,t){M(e,t,t)}function x(e,t){var n,i=r();for(n=0;n<16;n++)i[n]=t[n];for(n=253;n>=0;n--)S(i,i),2!==n&&4!==n&&M(i,i,t);for(n=0;n<16;n++)e[n]=i[n]}function C(e,t,n){var i,s,a=new Uint8Array(32),l=new Float64Array(80),c=r(),d=r(),u=r(),h=r(),f=r(),m=r();for(s=0;s<31;s++)a[s]=t[s];for(a[31]=127&t[31]|64,a[0]&=248,v(l,n),s=0;s<16;s++)d[s]=l[s],h[s]=c[s]=u[s]=0;for(c[0]=h[0]=1,s=254;s>=0;--s)_(c,d,i=a[s>>>3]>>>(7&s)&1),_(u,h,i),w(f,c,u),k(c,c,u),w(u,d,h),k(d,d,h),S(h,f),S(m,c),M(c,u,c),M(u,d,f),w(f,c,u),k(c,c,u),S(d,c),k(u,h,m),M(c,u,o),w(c,c,h),M(u,u,c),M(c,h,m),M(h,d,l),S(d,f),_(c,d,i),_(u,h,i);for(s=0;s<16;s++)l[s+16]=c[s],l[s+32]=u[s],l[s+48]=d[s],l[s+64]=h[s];var p=l.subarray(32),y=l.subarray(16);return x(p,p),M(y,y,p),g(e,y),0}function D(e,t){return C(e,t,i)}function L(e,t){var n=r(),i=r(),s=r(),a=r(),o=r(),l=r(),d=r(),u=r(),h=r();k(n,e[1],e[0]),k(h,t[1],t[0]),M(n,n,h),w(i,e[0],e[1]),w(h,t[0],t[1]),M(i,i,h),M(s,e[3],t[3]),M(s,s,c),M(a,e[2],t[2]),w(a,a,a),k(o,i,n),k(l,a,s),w(d,a,s),w(u,i,n),M(e[0],o,l),M(e[1],u,d),M(e[2],d,l),M(e[3],o,u)}function A(e,t,r){var n;for(n=0;n<4;n++)_(e[n],t[n],r)}function E(e,t){var n=r(),i=r(),s=r();x(s,t[2]),M(n,t[0],s),M(i,t[1],s),g(e,i),e[31]^=b(n)<<7}function T(e,t,r){var n,i;for(m(e[0],s),m(e[1],a),m(e[2],a),m(e[3],s),i=255;i>=0;--i)A(e,t,n=r[i/8|0]>>(7&i)&1),L(t,e),L(e,e),A(e,t,n)}function P(e,t){var n=[r(),r(),r(),r()];m(n[0],d),m(n[1],u),m(n[2],a),M(n[3],d,u),T(e,n,t)}function Y(e,i,s){var a,o,l=[r(),r(),r(),r()];for(s||n(i,32),(a=t.hash(i.subarray(0,32)))[0]&=248,a[31]&=127,a[31]|=64,P(l,a),E(e,l),o=0;o<32;o++)i[o+32]=e[o];return 0}var R=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function O(e,t){var r,n,i,s;for(n=63;n>=32;--n){for(r=0,i=n-32,s=n-12;i>8);t[i]+=r,t[n]=0}for(r=0,i=0;i<32;i++)t[i]+=r-(t[31]>>4)*R[i],r=t[i]>>8,t[i]&=255;for(i=0;i<32;i++)t[i]-=r*R[i];for(n=0;n<32;n++)t[n+1]+=t[n]>>8,e[n]=255&t[n]}function I(e){var t,r=new Float64Array(64);for(t=0;t<64;t++)r[t]=e[t];for(t=0;t<64;t++)e[t]=0;O(e,r)}var j=64;function F(){for(var e=0;e=0;n--)S(i,i),1!==n&&M(i,i,t);for(n=0;n<16;n++)e[n]=i[n]}(n,n),M(n,n,o),M(n,n,c),M(n,n,c),M(e[0],n,c),S(i,e[0]),M(i,i,c),y(i,o)&&M(e[0],e[0],h),S(i,e[0]),M(i,i,c),y(i,o)?-1:(b(e[0])===t[31]>>7&&k(e[0],s,e[0]),M(e[3],e[0],e[1]),0)}(_,o))return-1;for(c=0;c=0},t.sign.keyPair=function(){var e=new Uint8Array(32),t=new Uint8Array(64);return Y(e,t),{publicKey:e,secretKey:t}},t.sign.keyPair.fromSecretKey=function(e){if(F(e),64!==e.length)throw new Error("bad secret key size");for(var t=new Uint8Array(32),r=0;r{t.enqueue(r),e.pause()}),e.on("end",()=>t.close()),e.on("error",e=>t.error(e))},pull(){e.resume()},cancel(t){if(e.pause(),e.cancel)return e.cancel(t)}})};class e extends a{constructor(e,t){super(t),this._webStream=e,this._reader=s.default.getReader(e),this._reading=!1,this._doneReadingPromise=Promise.resolve(),this._cancelling=!1}_read(e){this._reading||this._cancelling||(this._reading=!0,this._doneReadingPromise=(async()=>{try{for(;;){var e=await this._reader.read();const t=e.value;if(e.done){this.push(null);break}if(!this.push(t)||this._cancelling){this._reading=!1;break}}}catch(t){this.emit("error",t)}})())}async cancel(e){return this._cancelling=!0,await this._doneReadingPromise,this._reader.releaseLock(),this._webStream.cancel(e)}}r.webToNode=l=function(t){return new e(t)}}r.nodeToWeb=o,r.webToNode=l},{"./streams":75,"./util":76,stream:"stream"}],74:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.externalBuffer=r.Reader=void 0;var n,i=(n=e("./streams"))&&n.__esModule?n:{default:n};const s=new WeakSet,a=Symbol("externalBuffer");function o(e){this.stream=e,e[a]&&(this[a]=e[a].slice());let t=i.default.isStream(e);if("node"===t&&(e=i.default.nodeToWeb(e)),t){const t=e.getReader();return this._read=t.read.bind(t),void(this._releaseLock=()=>{t.closed.catch((function(){})),t.releaseLock()})}let r=!1;this._read=async()=>r||s.has(e)?{value:void 0,done:!0}:(r=!0,{value:e,done:!1}),this._releaseLock=()=>{if(r)try{s.add(e)}catch(t){}}}o.prototype.read=async function(){return this[a]&&this[a].length?{done:!1,value:this[a].shift()}:this._read()},o.prototype.releaseLock=function(){this[a]&&(this.stream[a]=this[a]),this._releaseLock()},o.prototype.readLine=async function(){let e,t=[];for(;!e;){var r=await this.read();let n=r.value;if(n+="",r.done)return t.length?i.default.concat(t):void 0;const s=n.indexOf("\n")+1;s&&(e=i.default.concat(t.concat(n.substr(0,s))),t=[]),s!==n.length&&t.push(n.substr(s))}return this.unshift(...t),e},o.prototype.readByte=async function(){var e=await this.read();const t=e.value;if(e.done)return;const r=t[0];return this.unshift(i.default.slice(t,1)),r},o.prototype.readBytes=async function(e){const t=[];let r=0;for(;;){var n=await this.read();const s=n.value;if(n.done)return t.length?i.default.concat(t):void 0;if(t.push(s),r+=s.length,r>=e){const r=i.default.concat(t);return this.unshift(i.default.slice(r,e)),i.default.slice(r,0,e)}}},o.prototype.peekBytes=async function(e){const t=await this.readBytes(e);return this.unshift(t),t},o.prototype.unshift=function(...e){this[a]||(this[a]=[]),this[a].unshift(...e.filter(e=>e&&e.length))},o.prototype.readToEnd=async function(e=i.default.concat){const t=[];for(;;){var r=await this.read();const e=r.value;if(r.done)break;t.push(e)}return e(t)},r.Reader=o,r.externalBuffer=a},{"./streams":75}],75:[function(e,t,r){(function(t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=e("./util"),i=e("./node-conversions"),s=e("./reader");const a=n.isNode&&e("buffer").Buffer;function o(e){let t=(0,n.isStream)(e);return"node"===t?(0,i.nodeToWeb)(e):t?e:new ReadableStream({start(t){t.enqueue(e),t.close()}})}function l(e){return e.some(n.isStream)?c(e):"string"==typeof e[0]?e.join(""):a&&a.isBuffer(e[0])?a.concat(e):(0,n.concatUint8Array)(e)}function c(e){e=e.map(o);const t=m((async function(e){await Promise.all(n.map(t=>v(t,e)))}));let r=Promise.resolve();const n=e.map((n,i)=>_(n,(n,s)=>(r=r.then(()=>h(n,t.writable,{preventClose:i!==e.length-1})),r)));return t.readable}function d(e){return new s.Reader(e)}function u(e){const t=e.getWriter(),r=t.releaseLock;return t.releaseLock=()=>{t.closed.catch((function(){})),r.call(t)},t}async function h(e,t,r){e=o(e);try{if(e[s.externalBuffer]){const r=u(t);for(let t=0;t{t=e}),t=null)},close:r.close.bind(r),abort:r.error.bind(r)})}}function p(e,t=(()=>{}),r=(()=>{})){if((0,n.isStream)(e))return f(e,{async transform(e,r){try{const n=await t(e);void 0!==n&&r.enqueue(n)}catch(n){r.error(n)}},async flush(e){try{const t=await r();void 0!==t&&e.enqueue(t)}catch(t){e.error(t)}}});const i=t(e),s=r();return void 0!==i&&void 0!==s?l([i,s]):void 0!==i?i:s}function _(e,t){let r;const n=new TransformStream({start(e){r=e}}),i=h(e,n.writable),s=m((async function(){r.error(new Error("Readable side was canceled.")),await i,await new Promise(setTimeout)}));return t(n.readable,s.writable),s.readable}function g(e,t){Object.entries(Object.getOwnPropertyDescriptors(ReadableStream.prototype)).forEach(([r,n])=>{"constructor"!==r&&(n.value?n.value=n.value.bind(t):n.get=n.get.bind(t),Object.defineProperty(e,r,n))})}function y(e,t=0,r=1/0){if((0,n.isStream)(e)){if(t>=0&&r>=0){let n=0;return f(e,{transform(e,i){n=t&&i.enqueue(y(e,Math.max(t-n,0),r-n)),n+=e.length):i.terminate()}})}if(t<0&&(r<0||r===1/0)){let n=[];return p(e,e=>{e.length>=-t?n=[e]:n.push(e)},()=>y(l(n),t,r))}if(0===t&&r<0){let n;return p(e,e=>{const i=n?l([n,e]):e;if(i.length>=-r)return n=y(i,r),y(i,t,r);n=i})}return console.warn(`stream.slice(input, ${t}, ${r}) not implemented efficiently.`),w(async()=>y(await b(e),t,r))}return e[s.externalBuffer]&&(e=l(e[s.externalBuffer].concat([e]))),!(0,n.isUint8Array)(e)||a&&a.isBuffer(e)?e.slice(t,r):(r===1/0&&(r=e.length),e.subarray(t,r))}async function b(e,t){return(0,n.isStream)(e)?d(e).readToEnd(t):e}async function v(e,t){if((0,n.isStream)(e)&&e.cancel)return e.cancel(t)}function w(e){return new ReadableStream({pull:async t=>{try{t.enqueue(await e()),t.close()}catch(r){t.error(r)}}})}r.default={isStream:n.isStream,isUint8Array:n.isUint8Array,toStream:o,concatUint8Array:n.concatUint8Array,concatStream:c,concat:l,getReader:d,getWriter:u,pipe:h,transformRaw:f,transform:p,transformPair:_,parse:function(e,t){let r;const n=_(e,(e,i)=>{const s=d(e);s.remainder=()=>(s.releaseLock(),h(e,i),n),r=t(s)});return r},clone:function(e){if((0,n.isStream)(e)){const t=function(e){if((0,n.isStream)(e)){const t=o(e).tee();return t[0][s.externalBuffer]=t[1][s.externalBuffer]=e[s.externalBuffer],t}return[y(e),y(e)]}(e);return g(e,t[0]),t[1]}return y(e)},passiveClone:function(e){return(0,n.isStream)(e)?new ReadableStream({start(t){const r=_(e,async(e,r)=>{const n=d(e),i=u(r);try{for(;;){await i.ready;var s=await n.read();const e=s.value;if(s.done){try{t.close()}catch(a){}return void(await i.close())}try{t.enqueue(e)}catch(a){}await i.write(e)}}catch(a){t.error(a),await i.abort(a)}});g(e,r)}}):y(e)},slice:y,readToEnd:b,cancel:v,fromAsync:w,nodeToWeb:i.nodeToWeb,webToNode:i.webToNode}}).call(this,e("_process"))},{"./node-conversions":73,"./reader":74,"./util":76,_process:66,buffer:"buffer"}],76:[function(e,t,r){(function(t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});const n="object"==typeof t.process&&"object"==typeof t.process.versions,i=n&&e("stream").Readable;function s(e){return Uint8Array.prototype.isPrototypeOf(e)}r.isNode=n,r.isStream=function(e){return ReadableStream.prototype.isPrototypeOf(e)?"web":!(!i||!i.prototype.isPrototypeOf(e))&&"node"},r.isUint8Array=s,r.concatUint8Array=function(e){if(1===e.length)return e[0];let t=0;for(let i=0;it=>e.hashAlgorithm===t;for(let n=0;n=0;--n)for(let e=d-1;e>=0;--e)u[1]=d*n+(e+1),h[0]=l[0]^u[0],h[1]=l[1]^u[1],h[2]=c[2*e],h[3]=c[2*e+1],h=a(r.decrypt(o(h))),l=h.subarray(0,2),c[2*e]=h[2],c[2*e+1]=h[3];if(l[0]===i[0]&&l[1]===i[1])return o(c);throw new Error("Key Data Integrity failed")}}},{"../util":158,"./cipher":86}],81:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=e("asmcrypto.js/dist_es5/aes/cfb"),i=l(e("web-stream-tools")),s=l(e("./cipher")),a=l(e("../config")),o=l(e("../util"));function l(e){return e&&e.__esModule?e:{default:e}}const c=o.default.getWebCrypto(),d=o.default.getNodeCrypto(),u=o.default.getNodeBuffer(),h=d?d.getCiphers():[],f={idea:h.includes("idea-cfb")?"idea-cfb":void 0,"3des":h.includes("des-ede3-cfb")?"des-ede3-cfb":void 0,tripledes:h.includes("des-ede3-cfb")?"des-ede3-cfb":void 0,cast5:h.includes("cast5-cfb")?"cast5-cfb":void 0,blowfish:h.includes("bf-cfb")?"bf-cfb":void 0,aes128:h.includes("aes-128-cfb")?"aes-128-cfb":void 0,aes192:h.includes("aes-192-cfb")?"aes-192-cfb":void 0,aes256:h.includes("aes-256-cfb")?"aes-256-cfb":void 0};r.default={encrypt:function(e,t,r,l){if(o.default.getNodeCrypto()&&f[e])return function(e,t,r,n){t=u.from(t),n=u.from(n);const s=new d.createCipheriv(f[e],t,n);return i.default.transform(r,e=>new Uint8Array(s.update(u.from(e))))}(e,t,r,l);if("aes"===e.substr(0,3))return function(e,t,r,l){if(o.default.getWebCrypto()&&24!==t.length&&!o.default.isStream(r)&&r.length>=3e3*a.default.min_bytes_for_web_crypto)return async function(e,t,r,n){const i="AES-CBC",a=await c.importKey("raw",t,{name:i},!1,["encrypt"]),l=o.default.concatUint8Array([new Uint8Array(s.default[e].blockSize),r]),d=new Uint8Array(await c.encrypt({name:i,iv:n},a,l)).subarray(0,r.length);return function(e,t){for(let r=0;rd.AES_Encrypt_process(e),()=>d.AES_Encrypt_finish())}(e,t,r,l);const h=new s.default[e](t),m=h.blockSize,p=l.slice();let _=new Uint8Array;const g=e=>{e&&(_=o.default.concatUint8Array([_,e]));const t=new Uint8Array(_.length);let r,n=0;for(;e?_.length>=m:_.length;){const e=h.encrypt(p);for(r=0;rnew Uint8Array(s.update(u.from(e))))}(e,t,r,a);if("aes"===e.substr(0,3))return function(e,t,r,s){if(o.default.isStream(r)){const e=new n.AES_CFB(t,s);return i.default.transform(r,t=>e.AES_Decrypt_process(t),()=>e.AES_Decrypt_finish())}return n.AES_CFB.decrypt(r,t,s)}(0,t,r,a);const l=new s.default[e](t),c=l.blockSize;let h=a,m=new Uint8Array;const p=e=>{e&&(m=o.default.concatUint8Array([m,e]));const t=new Uint8Array(m.length);let r,n=0;for(;e?m.length>=c:m.length;){const e=l.encrypt(h);for(h=m,r=0;r>>=8),i=255&(e>>>=8);return t=this.sboxes[0][255&(e>>>=8)]+this.sboxes[1][i],t^=this.sboxes[2][n],t+=this.sboxes[3][r],t},n.prototype._encrypt_block=function(e){let t,r=e[0],n=e[1];for(t=0;t>>24-8*t&255,i[t+n]=r[1]>>>24-8*t&255;return i},n.prototype._decrypt_block=function(e){let t,r=e[0],n=e[1];for(t=this.NN+1;t>1;--t){r^=this.parray[t],n=this._F(r)^n;const e=r;r=n,n=e}r^=this.parray[1],n^=this.parray[0],e[0]=this._clean(n),e[1]=this._clean(r)},n.prototype.init=function(e){let t,r=0;for(this.parray=[],t=0;t=e.length&&(r=0);this.parray[t]=this.PARRAY[t]^n}for(this.sboxes=[],t=0;t<4;++t)for(this.sboxes[t]=[],r=0;r<256;++r)this.sboxes[t][r]=this.SBOXES[t][r];const n=[0,0];for(t=0;t>>24&255,t[s+1]=l>>>16&255,t[s+2]=l>>>8&255,t[s+3]=255&l,t[s+4]=o>>>24&255,t[s+5]=o>>>16&255,t[s+6]=o>>>8&255,t[s+7]=255&o}return t},this.decrypt=function(e){const t=new Array(e.length);for(let s=0;s>>24&255,t[s+1]=l>>>16&255,t[s+2]=l>>>8&255,t[s+3]=255&l,t[s+4]=o>>>24&255,t[s+5]=o>>16&255,t[s+6]=o>>8&255,t[s+7]=255&o}return t};const e=new Array(4);e[0]=new Array(4),e[0][0]=[4,0,13,15,12,14,8],e[0][1]=[5,2,16,18,17,19,10],e[0][2]=[6,3,23,22,21,20,9],e[0][3]=[7,1,26,25,27,24,11],e[1]=new Array(4),e[1][0]=[0,6,21,23,20,22,16],e[1][1]=[1,4,0,2,1,3,18],e[1][2]=[2,5,7,6,5,4,17],e[1][3]=[3,7,10,9,11,8,19],e[2]=new Array(4),e[2][0]=[4,0,13,15,12,14,8],e[2][1]=[5,2,16,18,17,19,10],e[2][2]=[6,3,23,22,21,20,9],e[2][3]=[7,1,26,25,27,24,11],e[3]=new Array(4),e[3][0]=[0,6,21,23,20,22,16],e[3][1]=[1,4,0,2,1,3,18],e[3][2]=[2,5,7,6,5,4,17],e[3][3]=[3,7,10,9,11,8,19];const t=new Array(4);function r(e,t,r){const n=t+e,i=n<>>32-r;return(s[0][i>>>24]^s[1][i>>>16&255])-s[2][i>>>8&255]+s[3][255&i]}function n(e,t,r){const n=t^e,i=n<>>32-r;return s[0][i>>>24]-s[1][i>>>16&255]+s[2][i>>>8&255]^s[3][255&i]}function i(e,t,r){const n=t-e,i=n<>>32-r;return(s[0][i>>>24]+s[1][i>>>16&255]^s[2][i>>>8&255])-s[3][255&i]}t[0]=new Array(4),t[0][0]=[24,25,23,22,18],t[0][1]=[26,27,21,20,22],t[0][2]=[28,29,19,18,25],t[0][3]=[30,31,17,16,28],t[1]=new Array(4),t[1][0]=[3,2,12,13,8],t[1][1]=[1,0,14,15,13],t[1][2]=[7,6,8,9,3],t[1][3]=[5,4,10,11,7],t[2]=new Array(4),t[2][0]=[19,18,28,29,25],t[2][1]=[17,16,30,31,28],t[2][2]=[23,22,24,25,18],t[2][3]=[21,20,26,27,22],t[3]=new Array(4),t[3][0]=[8,9,7,6,3],t[3][1]=[10,11,5,4,7],t[3][2]=[12,13,3,2,8],t[3][3]=[14,15,1,0,13],this.keySchedule=function(r){const n=new Array(8),i=new Array(32);let a;for(let e=0;e<4;e++)a=4*e,n[e]=r[a]<<24|r[a+1]<<16|r[a+2]<<8|r[a+3];const o=[6,7,4,5];let l,c=0;for(let d=0;d<2;d++)for(let r=0;r<4;r++){for(a=0;a<4;a++){const t=e[r][a];l=n[t[1]],l^=s[4][n[t[2]>>>2]>>>24-8*(3&t[2])&255],l^=s[5][n[t[3]>>>2]>>>24-8*(3&t[3])&255],l^=s[6][n[t[4]>>>2]>>>24-8*(3&t[4])&255],l^=s[7][n[t[5]>>>2]>>>24-8*(3&t[5])&255],l^=s[o[a]][n[t[6]>>>2]>>>24-8*(3&t[6])&255],n[t[0]]=l}for(a=0;a<4;a++){const e=t[r][a];l=s[4][n[e[0]>>>2]>>>24-8*(3&e[0])&255],l^=s[5][n[e[1]>>>2]>>>24-8*(3&e[1])&255],l^=s[6][n[e[2]>>>2]>>>24-8*(3&e[2])&255],l^=s[7][n[e[3]>>>2]>>>24-8*(3&e[3])&255],l^=s[4+a][n[e[4]>>>2]>>>24-8*(3&e[4])&255],i[c]=l,c++}}for(let e=0;e<16;e++)this.masking[e]=i[e],this.rotate[e]=31&i[16+e]};const s=new Array(8);s[0]=[821772500,2678128395,1810681135,1059425402,505495343,2617265619,1610868032,3483355465,3218386727,2294005173,3791863952,2563806837,1852023008,365126098,3269944861,584384398,677919599,3229601881,4280515016,2002735330,1136869587,3744433750,2289869850,2731719981,2714362070,879511577,1639411079,575934255,717107937,2857637483,576097850,2731753936,1725645e3,2810460463,5111599,767152862,2543075244,1251459544,1383482551,3052681127,3089939183,3612463449,1878520045,1510570527,2189125840,2431448366,582008916,3163445557,1265446783,1354458274,3529918736,3202711853,3073581712,3912963487,3029263377,1275016285,4249207360,2905708351,3304509486,1442611557,3585198765,2712415662,2731849581,3248163920,2283946226,208555832,2766454743,1331405426,1447828783,3315356441,3108627284,2957404670,2981538698,3339933917,1669711173,286233437,1465092821,1782121619,3862771680,710211251,980974943,1651941557,430374111,2051154026,704238805,4128970897,3144820574,2857402727,948965521,3333752299,2227686284,718756367,2269778983,2731643755,718440111,2857816721,3616097120,1113355533,2478022182,410092745,1811985197,1944238868,2696854588,1415722873,1682284203,1060277122,1998114690,1503841958,82706478,2315155686,1068173648,845149890,2167947013,1768146376,1993038550,3566826697,3390574031,940016341,3355073782,2328040721,904371731,1205506512,4094660742,2816623006,825647681,85914773,2857843460,1249926541,1417871568,3287612,3211054559,3126306446,1975924523,1353700161,2814456437,2438597621,1800716203,722146342,2873936343,1151126914,4160483941,2877670899,458611604,2866078500,3483680063,770352098,2652916994,3367839148,3940505011,3585973912,3809620402,718646636,2504206814,2914927912,3631288169,2857486607,2860018678,575749918,2857478043,718488780,2069512688,3548183469,453416197,1106044049,3032691430,52586708,3378514636,3459808877,3211506028,1785789304,218356169,3571399134,3759170522,1194783844,1523787992,3007827094,1975193539,2555452411,1341901877,3045838698,3776907964,3217423946,2802510864,2889438986,1057244207,1636348243,3761863214,1462225785,2632663439,481089165,718503062,24497053,3332243209,3344655856,3655024856,3960371065,1195698900,2971415156,3710176158,2115785917,4027663609,3525578417,2524296189,2745972565,3564906415,1372086093,1452307862,2780501478,1476592880,3389271281,18495466,2378148571,901398090,891748256,3279637769,3157290713,2560960102,1447622437,4284372637,216884176,2086908623,1879786977,3588903153,2242455666,2938092967,3559082096,2810645491,758861177,1121993112,215018983,642190776,4169236812,1196255959,2081185372,3508738393,941322904,4124243163,2877523539,1848581667,2205260958,3180453958,2589345134,3694731276,550028657,2519456284,3789985535,2973870856,2093648313,443148163,46942275,2734146937,1117713533,1115362972,1523183689,3717140224,1551984063],s[1]=[522195092,4010518363,1776537470,960447360,4267822970,4005896314,1435016340,1929119313,2913464185,1310552629,3579470798,3724818106,2579771631,1594623892,417127293,2715217907,2696228731,1508390405,3994398868,3925858569,3695444102,4019471449,3129199795,3770928635,3520741761,990456497,4187484609,2783367035,21106139,3840405339,631373633,3783325702,532942976,396095098,3548038825,4267192484,2564721535,2011709262,2039648873,620404603,3776170075,2898526339,3612357925,4159332703,1645490516,223693667,1567101217,3362177881,1029951347,3470931136,3570957959,1550265121,119497089,972513919,907948164,3840628539,1613718692,3594177948,465323573,2659255085,654439692,2575596212,2699288441,3127702412,277098644,624404830,4100943870,2717858591,546110314,2403699828,3655377447,1321679412,4236791657,1045293279,4010672264,895050893,2319792268,494945126,1914543101,2777056443,3894764339,2219737618,311263384,4275257268,3458730721,669096869,3584475730,3835122877,3319158237,3949359204,2005142349,2713102337,2228954793,3769984788,569394103,3855636576,1425027204,108000370,2736431443,3671869269,3043122623,1750473702,2211081108,762237499,3972989403,2798899386,3061857628,2943854345,867476300,964413654,1591880597,1594774276,2179821409,552026980,3026064248,3726140315,2283577634,3110545105,2152310760,582474363,1582640421,1383256631,2043843868,3322775884,1217180674,463797851,2763038571,480777679,2718707717,2289164131,3118346187,214354409,200212307,3810608407,3025414197,2674075964,3997296425,1847405948,1342460550,510035443,4080271814,815934613,833030224,1620250387,1945732119,2703661145,3966000196,1388869545,3456054182,2687178561,2092620194,562037615,1356438536,3409922145,3261847397,1688467115,2150901366,631725691,3840332284,549916902,3455104640,394546491,837744717,2114462948,751520235,2221554606,2415360136,3999097078,2063029875,803036379,2702586305,821456707,3019566164,360699898,4018502092,3511869016,3677355358,2402471449,812317050,49299192,2570164949,3259169295,2816732080,3331213574,3101303564,2156015656,3705598920,3546263921,143268808,3200304480,1638124008,3165189453,3341807610,578956953,2193977524,3638120073,2333881532,807278310,658237817,2969561766,1641658566,11683945,3086995007,148645947,1138423386,4158756760,1981396783,2401016740,3699783584,380097457,2680394679,2803068651,3334260286,441530178,4016580796,1375954390,761952171,891809099,2183123478,157052462,3683840763,1592404427,341349109,2438483839,1417898363,644327628,2233032776,2353769706,2201510100,220455161,1815641738,182899273,2995019788,3627381533,3702638151,2890684138,1052606899,588164016,1681439879,4038439418,2405343923,4229449282,167996282,1336969661,1688053129,2739224926,1543734051,1046297529,1138201970,2121126012,115334942,1819067631,1902159161,1941945968,2206692869,1159982321],s[2]=[2381300288,637164959,3952098751,3893414151,1197506559,916448331,2350892612,2932787856,3199334847,4009478890,3905886544,1373570990,2450425862,4037870920,3778841987,2456817877,286293407,124026297,3001279700,1028597854,3115296800,4208886496,2691114635,2188540206,1430237888,1218109995,3572471700,308166588,570424558,2187009021,2455094765,307733056,1310360322,3135275007,1384269543,2388071438,863238079,2359263624,2801553128,3380786597,2831162807,1470087780,1728663345,4072488799,1090516929,532123132,2389430977,1132193179,2578464191,3051079243,1670234342,1434557849,2711078940,1241591150,3314043432,3435360113,3091448339,1812415473,2198440252,267246943,796911696,3619716990,38830015,1526438404,2806502096,374413614,2943401790,1489179520,1603809326,1920779204,168801282,260042626,2358705581,1563175598,2397674057,1356499128,2217211040,514611088,2037363785,2186468373,4022173083,2792511869,2913485016,1173701892,4200428547,3896427269,1334932762,2455136706,602925377,2835607854,1613172210,41346230,2499634548,2457437618,2188827595,41386358,4172255629,1313404830,2405527007,3801973774,2217704835,873260488,2528884354,2478092616,4012915883,2555359016,2006953883,2463913485,575479328,2218240648,2099895446,660001756,2341502190,3038761536,3888151779,3848713377,3286851934,1022894237,1620365795,3449594689,1551255054,15374395,3570825345,4249311020,4151111129,3181912732,310226346,1133119310,530038928,136043402,2476768958,3107506709,2544909567,1036173560,2367337196,1681395281,1758231547,3641649032,306774401,1575354324,3716085866,1990386196,3114533736,2455606671,1262092282,3124342505,2768229131,4210529083,1833535011,423410938,660763973,2187129978,1639812e3,3508421329,3467445492,310289298,272797111,2188552562,2456863912,310240523,677093832,1013118031,901835429,3892695601,1116285435,3036471170,1337354835,243122523,520626091,277223598,4244441197,4194248841,1766575121,594173102,316590669,742362309,3536858622,4176435350,3838792410,2501204839,1229605004,3115755532,1552908988,2312334149,979407927,3959474601,1148277331,176638793,3614686272,2083809052,40992502,1340822838,2731552767,3535757508,3560899520,1354035053,122129617,7215240,2732932949,3118912700,2718203926,2539075635,3609230695,3725561661,1928887091,2882293555,1988674909,2063640240,2491088897,1459647954,4189817080,2302804382,1113892351,2237858528,1927010603,4002880361,1856122846,1594404395,2944033133,3855189863,3474975698,1643104450,4054590833,3431086530,1730235576,2984608721,3084664418,2131803598,4178205752,267404349,1617849798,1616132681,1462223176,736725533,2327058232,551665188,2945899023,1749386277,2575514597,1611482493,674206544,2201269090,3642560800,728599968,1680547377,2620414464,1388111496,453204106,4156223445,1094905244,2754698257,2201108165,3757000246,2704524545,3922940700,3996465027],s[3]=[2645754912,532081118,2814278639,3530793624,1246723035,1689095255,2236679235,4194438865,2116582143,3859789411,157234593,2045505824,4245003587,1687664561,4083425123,605965023,672431967,1336064205,3376611392,214114848,4258466608,3232053071,489488601,605322005,3998028058,264917351,1912574028,756637694,436560991,202637054,135989450,85393697,2152923392,3896401662,2895836408,2145855233,3535335007,115294817,3147733898,1922296357,3464822751,4117858305,1037454084,2725193275,2127856640,1417604070,1148013728,1827919605,642362335,2929772533,909348033,1346338451,3547799649,297154785,1917849091,4161712827,2883604526,3968694238,1469521537,3780077382,3375584256,1763717519,136166297,4290970789,1295325189,2134727907,2798151366,1566297257,3672928234,2677174161,2672173615,965822077,2780786062,289653839,1133871874,3491843819,35685304,1068898316,418943774,672553190,642281022,2346158704,1954014401,3037126780,4079815205,2030668546,3840588673,672283427,1776201016,359975446,3750173538,555499703,2769985273,1324923,69110472,152125443,3176785106,3822147285,1340634837,798073664,1434183902,15393959,216384236,1303690150,3881221631,3711134124,3960975413,106373927,2578434224,1455997841,1801814300,1578393881,1854262133,3188178946,3258078583,2302670060,1539295533,3505142565,3078625975,2372746020,549938159,3278284284,2620926080,181285381,2865321098,3970029511,68876850,488006234,1728155692,2608167508,836007927,2435231793,919367643,3339422534,3655756360,1457871481,40520939,1380155135,797931188,234455205,2255801827,3990488299,397000196,739833055,3077865373,2871719860,4022553888,772369276,390177364,3853951029,557662966,740064294,1640166671,1699928825,3535942136,622006121,3625353122,68743880,1742502,219489963,1664179233,1577743084,1236991741,410585305,2366487942,823226535,1050371084,3426619607,3586839478,212779912,4147118561,1819446015,1911218849,530248558,3486241071,3252585495,2886188651,3410272728,2342195030,20547779,2982490058,3032363469,3631753222,312714466,1870521650,1493008054,3491686656,615382978,4103671749,2534517445,1932181,2196105170,278426614,6369430,3274544417,2913018367,697336853,2143000447,2946413531,701099306,1558357093,2805003052,3500818408,2321334417,3567135975,216290473,3591032198,23009561,1996984579,3735042806,2024298078,3739440863,569400510,2339758983,3016033873,3097871343,3639523026,3844324983,3256173865,795471839,2951117563,4101031090,4091603803,3603732598,971261452,534414648,428311343,3389027175,2844869880,694888862,1227866773,2456207019,3043454569,2614353370,3749578031,3676663836,459166190,4132644070,1794958188,51825668,2252611902,3084671440,2036672799,3436641603,1099053433,2469121526,3059204941,1323291266,2061838604,1018778475,2233344254,2553501054,334295216,3556750194,1065731521,183467730],s[4]=[2127105028,745436345,2601412319,2788391185,3093987327,500390133,1155374404,389092991,150729210,3891597772,3523549952,1935325696,716645080,946045387,2901812282,1774124410,3869435775,4039581901,3293136918,3438657920,948246080,363898952,3867875531,1286266623,1598556673,68334250,630723836,1104211938,1312863373,613332731,2377784574,1101634306,441780740,3129959883,1917973735,2510624549,3238456535,2544211978,3308894634,1299840618,4076074851,1756332096,3977027158,297047435,3790297736,2265573040,3621810518,1311375015,1667687725,47300608,3299642885,2474112369,201668394,1468347890,576830978,3594690761,3742605952,1958042578,1747032512,3558991340,1408974056,3366841779,682131401,1033214337,1545599232,4265137049,206503691,103024618,2855227313,1337551222,2428998917,2963842932,4015366655,3852247746,2796956967,3865723491,3747938335,247794022,3755824572,702416469,2434691994,397379957,851939612,2314769512,218229120,1380406772,62274761,214451378,3170103466,2276210409,3845813286,28563499,446592073,1693330814,3453727194,29968656,3093872512,220656637,2470637031,77972100,1667708854,1358280214,4064765667,2395616961,325977563,4277240721,4220025399,3605526484,3355147721,811859167,3069544926,3962126810,652502677,3075892249,4132761541,3498924215,1217549313,3250244479,3858715919,3053989961,1538642152,2279026266,2875879137,574252750,3324769229,2651358713,1758150215,141295887,2719868960,3515574750,4093007735,4194485238,1082055363,3417560400,395511885,2966884026,179534037,3646028556,3738688086,1092926436,2496269142,257381841,3772900718,1636087230,1477059743,2499234752,3811018894,2675660129,3285975680,90732309,1684827095,1150307763,1723134115,3237045386,1769919919,1240018934,815675215,750138730,2239792499,1234303040,1995484674,138143821,675421338,1145607174,1936608440,3238603024,2345230278,2105974004,323969391,779555213,3004902369,2861610098,1017501463,2098600890,2628620304,2940611490,2682542546,1171473753,3656571411,3687208071,4091869518,393037935,159126506,1662887367,1147106178,391545844,3452332695,1891500680,3016609650,1851642611,546529401,1167818917,3194020571,2848076033,3953471836,575554290,475796850,4134673196,450035699,2351251534,844027695,1080539133,86184846,1554234488,3692025454,1972511363,2018339607,1491841390,1141460869,1061690759,4244549243,2008416118,2351104703,2868147542,1598468138,722020353,1027143159,212344630,1387219594,1725294528,3745187956,2500153616,458938280,4129215917,1828119673,544571780,3503225445,2297937496,1241802790,267843827,2694610800,1397140384,1558801448,3782667683,1806446719,929573330,2234912681,400817706,616011623,4121520928,3603768725,1761550015,1968522284,4053731006,4192232858,4005120285,872482584,3140537016,3894607381,2287405443,1963876937,3663887957,1584857e3,2975024454,1833426440,4025083860],s[5]=[4143615901,749497569,1285769319,3795025788,2514159847,23610292,3974978748,844452780,3214870880,3751928557,2213566365,1676510905,448177848,3730751033,4086298418,2307502392,871450977,3222878141,4110862042,3831651966,2735270553,1310974780,2043402188,1218528103,2736035353,4274605013,2702448458,3936360550,2693061421,162023535,2827510090,687910808,23484817,3784910947,3371371616,779677500,3503626546,3473927188,4157212626,3500679282,4248902014,2466621104,3899384794,1958663117,925738300,1283408968,3669349440,1840910019,137959847,2679828185,1239142320,1315376211,1547541505,1690155329,739140458,3128809933,3933172616,3876308834,905091803,1548541325,4040461708,3095483362,144808038,451078856,676114313,2861728291,2469707347,993665471,373509091,2599041286,4025009006,4170239449,2149739950,3275793571,3749616649,2794760199,1534877388,572371878,2590613551,1753320020,3467782511,1405125690,4270405205,633333386,3026356924,3475123903,632057672,2846462855,1404951397,3882875879,3915906424,195638627,2385783745,3902872553,1233155085,3355999740,2380578713,2702246304,2144565621,3663341248,3894384975,2502479241,4248018925,3094885567,1594115437,572884632,3385116731,767645374,1331858858,1475698373,3793881790,3532746431,1321687957,619889600,1121017241,3440213920,2070816767,2833025776,1933951238,4095615791,890643334,3874130214,859025556,360630002,925594799,1764062180,3920222280,4078305929,979562269,2810700344,4087740022,1949714515,546639971,1165388173,3069891591,1495988560,922170659,1291546247,2107952832,1813327274,3406010024,3306028637,4241950635,153207855,2313154747,1608695416,1150242611,1967526857,721801357,1220138373,3691287617,3356069787,2112743302,3281662835,1111556101,1778980689,250857638,2298507990,673216130,2846488510,3207751581,3562756981,3008625920,3417367384,2198807050,529510932,3547516680,3426503187,2364944742,102533054,2294910856,1617093527,1204784762,3066581635,1019391227,1069574518,1317995090,1691889997,3661132003,510022745,3238594800,1362108837,1817929911,2184153760,805817662,1953603311,3699844737,120799444,2118332377,207536705,2282301548,4120041617,145305846,2508124933,3086745533,3261524335,1877257368,2977164480,3160454186,2503252186,4221677074,759945014,254147243,2767453419,3801518371,629083197,2471014217,907280572,3900796746,940896768,2751021123,2625262786,3161476951,3661752313,3260732218,1425318020,2977912069,1496677566,3988592072,2140652971,3126511541,3069632175,977771578,1392695845,1698528874,1411812681,1369733098,1343739227,3620887944,1142123638,67414216,3102056737,3088749194,1626167401,2546293654,3941374235,697522451,33404913,143560186,2595682037,994885535,1247667115,3859094837,2699155541,3547024625,4114935275,2968073508,3199963069,2732024527,1237921620,951448369,1898488916,1211705605,2790989240,2233243581,3598044975],s[6]=[2246066201,858518887,1714274303,3485882003,713916271,2879113490,3730835617,539548191,36158695,1298409750,419087104,1358007170,749914897,2989680476,1261868530,2995193822,2690628854,3443622377,3780124940,3796824509,2976433025,4259637129,1551479e3,512490819,1296650241,951993153,2436689437,2460458047,144139966,3136204276,310820559,3068840729,643875328,1969602020,1680088954,2185813161,3283332454,672358534,198762408,896343282,276269502,3014846926,84060815,197145886,376173866,3943890818,3813173521,3545068822,1316698879,1598252827,2633424951,1233235075,859989710,2358460855,3503838400,3409603720,1203513385,1193654839,2792018475,2060853022,207403770,1144516871,3068631394,1121114134,177607304,3785736302,326409831,1929119770,2983279095,4183308101,3474579288,3200513878,3228482096,119610148,1170376745,3378393471,3163473169,951863017,3337026068,3135789130,2907618374,1183797387,2015970143,4045674555,2182986399,2952138740,3928772205,384012900,2454997643,10178499,2879818989,2596892536,111523738,2995089006,451689641,3196290696,235406569,1441906262,3890558523,3013735005,4158569349,1644036924,376726067,1006849064,3664579700,2041234796,1021632941,1374734338,2566452058,371631263,4007144233,490221539,206551450,3140638584,1053219195,1853335209,3412429660,3562156231,735133835,1623211703,3104214392,2738312436,4096837757,3366392578,3110964274,3956598718,3196820781,2038037254,3877786376,2339753847,300912036,3766732888,2372630639,1516443558,4200396704,1574567987,4069441456,4122592016,2699739776,146372218,2748961456,2043888151,35287437,2596680554,655490400,1132482787,110692520,1031794116,2188192751,1324057718,1217253157,919197030,686247489,3261139658,1028237775,3135486431,3059715558,2460921700,986174950,2661811465,4062904701,2752986992,3709736643,367056889,1353824391,731860949,1650113154,1778481506,784341916,357075625,3608602432,1074092588,2480052770,3811426202,92751289,877911070,3600361838,1231880047,480201094,3756190983,3094495953,434011822,87971354,363687820,1717726236,1901380172,3926403882,2481662265,400339184,1490350766,2661455099,1389319756,2558787174,784598401,1983468483,30828846,3550527752,2716276238,3841122214,1765724805,1955612312,1277890269,1333098070,1564029816,2704417615,1026694237,3287671188,1260819201,3349086767,1016692350,1582273796,1073413053,1995943182,694588404,1025494639,3323872702,3551898420,4146854327,453260480,1316140391,1435673405,3038941953,3486689407,1622062951,403978347,817677117,950059133,4246079218,3278066075,1486738320,1417279718,481875527,2549965225,3933690356,760697757,1452955855,3897451437,1177426808,1702951038,4085348628,2447005172,1084371187,3516436277,3068336338,1073369276,1027665953,3284188590,1230553676,1368340146,2226246512,267243139,2274220762,4070734279,2497715176,2423353163,2504755875],s[7]=[3793104909,3151888380,2817252029,895778965,2005530807,3871412763,237245952,86829237,296341424,3851759377,3974600970,2475086196,709006108,1994621201,2972577594,937287164,3734691505,168608556,3189338153,2225080640,3139713551,3033610191,3025041904,77524477,185966941,1208824168,2344345178,1721625922,3354191921,1066374631,1927223579,1971335949,2483503697,1551748602,2881383779,2856329572,3003241482,48746954,1398218158,2050065058,313056748,4255789917,393167848,1912293076,940740642,3465845460,3091687853,2522601570,2197016661,1727764327,364383054,492521376,1291706479,3264136376,1474851438,1685747964,2575719748,1619776915,1814040067,970743798,1561002147,2925768690,2123093554,1880132620,3151188041,697884420,2550985770,2607674513,2659114323,110200136,1489731079,997519150,1378877361,3527870668,478029773,2766872923,1022481122,431258168,1112503832,897933369,2635587303,669726182,3383752315,918222264,163866573,3246985393,3776823163,114105080,1903216136,761148244,3571337562,1690750982,3166750252,1037045171,1888456500,2010454850,642736655,616092351,365016990,1185228132,4174898510,1043824992,2023083429,2241598885,3863320456,3279669087,3674716684,108438443,2132974366,830746235,606445527,4173263986,2204105912,1844756978,2532684181,4245352700,2969441100,3796921661,1335562986,4061524517,2720232303,2679424040,634407289,885462008,3294724487,3933892248,2094100220,339117932,4048830727,3202280980,1458155303,2689246273,1022871705,2464987878,3714515309,353796843,2822958815,4256850100,4052777845,551748367,618185374,3778635579,4020649912,1904685140,3069366075,2670879810,3407193292,2954511620,4058283405,2219449317,3135758300,1120655984,3447565834,1474845562,3577699062,550456716,3466908712,2043752612,881257467,869518812,2005220179,938474677,3305539448,3850417126,1315485940,3318264702,226533026,965733244,321539988,1136104718,804158748,573969341,3708209826,937399083,3290727049,2901666755,1461057207,4013193437,4066861423,3242773476,2421326174,1581322155,3028952165,786071460,3900391652,3918438532,1485433313,4023619836,3708277595,3678951060,953673138,1467089153,1930354364,1533292819,2492563023,1346121658,1685000834,1965281866,3765933717,4190206607,2052792609,3515332758,690371149,3125873887,2180283551,2903598061,3933952357,436236910,289419410,14314871,1242357089,2904507907,1616633776,2666382180,585885352,3471299210,2699507360,1432659641,277164553,3354103607,770115018,2303809295,3741942315,3177781868,2853364978,2269453327,3774259834,987383833,1290892879,225909803,1741533526,890078084,1496906255,1111072499,916028167,243534141,1252605537,2204162171,531204876,290011180,3916834213,102027703,237315147,209093447,1486785922,220223953,2758195998,4175039106,82940208,3127791296,2569425252,518464269,1353887104,3941492737,2377294467,3935040926]}function i(e){this.cast5=new n,this.cast5.setKey(e),this.encrypt=function(e){return this.cast5.encrypt(e)}}Object.defineProperty(r,"__esModule",{value:!0}),i.blockSize=i.prototype.blockSize=8,i.keySize=i.prototype.keySize=16,r.default=i},{}],85:[function(e,t,r){"use strict";function n(e,t,r,n,i,s){const a=[16843776,0,65536,16843780,16842756,66564,4,65536,1024,16843776,16843780,1024,16778244,16842756,16777216,4,1028,16778240,16778240,66560,66560,16842752,16842752,16778244,65540,16777220,16777220,65540,0,1028,66564,16777216,65536,16843780,4,16842752,16843776,16777216,16777216,1024,16842756,65536,66560,16777220,1024,4,16778244,66564,16843780,65540,16842752,16778244,16777220,1028,66564,16843776,1028,16778240,16778240,0,65540,66560,0,16842756],o=[-2146402272,-2147450880,32768,1081376,1048576,32,-2146435040,-2147450848,-2147483616,-2146402272,-2146402304,-2147483648,-2147450880,1048576,32,-2146435040,1081344,1048608,-2147450848,0,-2147483648,32768,1081376,-2146435072,1048608,-2147483616,0,1081344,32800,-2146402304,-2146435072,32800,0,1081376,-2146435040,1048576,-2147450848,-2146435072,-2146402304,32768,-2146435072,-2147450880,32,-2146402272,1081376,32,32768,-2147483648,32800,-2146402304,1048576,-2147483616,1048608,-2147450848,-2147483616,1048608,1081344,0,-2147450880,32800,-2147483648,-2146435040,-2146402272,1081344],l=[520,134349312,0,134348808,134218240,0,131592,134218240,131080,134217736,134217736,131072,134349320,131080,134348800,520,134217728,8,134349312,512,131584,134348800,134348808,131592,134218248,131584,131072,134218248,8,134349320,512,134217728,134349312,134217728,131080,520,131072,134349312,134218240,0,512,131080,134349320,134218240,134217736,512,0,134348808,134218248,131072,134217728,134349320,8,131592,131584,134217736,134348800,134218248,520,134348800,131592,8,134348808,131584],c=[8396801,8321,8321,128,8396928,8388737,8388609,8193,0,8396800,8396800,8396929,129,0,8388736,8388609,1,8192,8388608,8396801,128,8388608,8193,8320,8388737,1,8320,8388736,8192,8396928,8396929,129,8388736,8388609,8396800,8396929,129,0,0,8396800,8320,8388736,8388737,1,8396801,8321,8321,128,8396929,129,1,8192,8388609,8193,8396928,8388737,8193,8320,8388608,8396801,128,8388608,8192,8396928],d=[256,34078976,34078720,1107296512,524288,256,1073741824,34078720,1074266368,524288,33554688,1074266368,1107296512,1107820544,524544,1073741824,33554432,1074266112,1074266112,0,1073742080,1107820800,1107820800,33554688,1107820544,1073742080,0,1107296256,34078976,33554432,1107296256,524544,524288,1107296512,256,33554432,1073741824,34078720,1107296512,1074266368,33554688,1073741824,1107820544,34078976,1074266368,256,33554432,1107820544,1107820800,524544,1107296256,1107820800,34078720,0,1074266112,1107296256,524544,33554688,1073742080,524288,0,1074266112,34078976,1073742080],u=[536870928,541065216,16384,541081616,541065216,16,541081616,4194304,536887296,4210704,4194304,536870928,4194320,536887296,536870912,16400,0,4194320,536887312,16384,4210688,536887312,16,541065232,541065232,0,4210704,541081600,16400,4210688,541081600,536870912,536887296,16,541065232,4210688,541081616,4194304,16400,536870928,4194304,536887296,536870912,16400,536870928,541081616,4210688,541065216,4210704,541081600,0,541065232,16,16384,541065216,4210704,16384,4194320,536887312,0,541081600,536870912,4194320,536887312],h=[2097152,69206018,67110914,0,2048,67110914,2099202,69208064,69208066,2097152,0,67108866,2,67108864,69206018,2050,67110912,2099202,2097154,67110912,67108866,69206016,69208064,2097154,69206016,2048,2050,69208066,2099200,2,67108864,2099200,67108864,2099200,2097152,67110914,67110914,69206018,69206018,2,2097154,67108864,67110912,2097152,69208064,2050,2099202,69208064,2050,67108866,69208066,69206016,2099200,0,2,69208066,0,2099202,69206016,2048,67108866,67110912,2048,2097154],f=[268439616,4096,262144,268701760,268435456,268439616,64,268435456,262208,268697600,268701760,266240,268701696,266304,4096,64,268697600,268435520,268439552,4160,266240,262208,268697664,268701696,4160,0,0,268697664,268435520,268439552,266304,262144,266304,262144,268701696,4096,64,268697664,4096,266304,268439552,64,268435520,268697600,268697664,268435456,262144,268439616,0,268701760,262208,268435520,268697600,268439552,268439616,0,268701760,266240,266240,4160,4160,262208,268435456,268701696];let m,p,_,g,y,b,v,w,k,M,S,x,C,D,L=0,A=t.length;const E=32===e.length?3:9;w=3===E?r?[0,32,2]:[30,-2,-2]:r?[0,32,2,62,30,-2,64,96,2]:[94,62,-2,32,64,2,30,-2,-2],r&&(A=(t=function(e,t){const r=8-e.length%8;let n;if(2===t&&r<8)n=" ".charCodeAt(0);else if(1===t)n=r;else{if(t||!(r<8)){if(8===r)return e;throw new Error("des: invalid padding")}n=0}const i=new Uint8Array(e.length+r);for(let s=0;s>>4^v),v^=_,b^=_<<4,_=65535&(b>>>16^v),v^=_,b^=_<<16,_=858993459&(v>>>2^b),b^=_,v^=_<<2,_=16711935&(v>>>8^b),b^=_,v^=_<<8,_=1431655765&(b>>>1^v),v^=_,b^=_<<1,b=b<<1|b>>>31,v=v<<1|v>>>31,p=0;p>>4|v<<28)^e[m+1],_=b,b=v,v=_^(o[g>>>24&63]|c[g>>>16&63]|u[g>>>8&63]|f[63&g]|a[y>>>24&63]|l[y>>>16&63]|d[y>>>8&63]|h[63&y]);_=b,b=v,v=_}b=b>>>1|b<<31,v=v>>>1|v<<31,_=1431655765&(b>>>1^v),v^=_,b^=_<<1,_=16711935&(v>>>8^b),b^=_,v^=_<<8,_=858993459&(v>>>2^b),b^=_,v^=_<<2,_=65535&(b>>>16^v),v^=_,b^=_<<16,_=252645135&(b>>>4^v),v^=_,b^=_<<4,1===n&&(r?(k=b,S=v):(b^=M,v^=x)),T[P++]=b>>>24,T[P++]=b>>>16&255,T[P++]=b>>>8&255,T[P++]=255&b,T[P++]=v>>>24,T[P++]=v>>>16&255,T[P++]=v>>>8&255,T[P++]=255&v}return r||(T=function(e,t){let r,n=null;if(2===t)r=" ".charCodeAt(0);else if(1===t)n=e[e.length-1];else{if(t)throw new Error("des: invalid padding");r=0}if(!n){for(n=1;e[e.length-n]===r;)n++;n--}return e.subarray(0,e.length-n)}(T,s)),T}function i(e){const t=[0,4,536870912,536870916,65536,65540,536936448,536936452,512,516,536871424,536871428,66048,66052,536936960,536936964],r=[0,1,1048576,1048577,67108864,67108865,68157440,68157441,256,257,1048832,1048833,67109120,67109121,68157696,68157697],n=[0,8,2048,2056,16777216,16777224,16779264,16779272,0,8,2048,2056,16777216,16777224,16779264,16779272],i=[0,2097152,134217728,136314880,8192,2105344,134225920,136323072,131072,2228224,134348800,136445952,139264,2236416,134356992,136454144],s=[0,262144,16,262160,0,262144,16,262160,4096,266240,4112,266256,4096,266240,4112,266256],a=[0,1024,32,1056,0,1024,32,1056,33554432,33555456,33554464,33555488,33554432,33555456,33554464,33555488],o=[0,268435456,524288,268959744,2,268435458,524290,268959746,0,268435456,524288,268959744,2,268435458,524290,268959746],l=[0,65536,2048,67584,536870912,536936448,536872960,536938496,131072,196608,133120,198656,537001984,537067520,537004032,537069568],c=[0,262144,0,262144,2,262146,2,262146,33554432,33816576,33554432,33816576,33554434,33816578,33554434,33816578],d=[0,268435456,8,268435464,0,268435456,8,268435464,1024,268436480,1032,268436488,1024,268436480,1032,268436488],u=[0,32,0,32,1048576,1048608,1048576,1048608,8192,8224,8192,8224,1056768,1056800,1056768,1056800],h=[0,16777216,512,16777728,2097152,18874368,2097664,18874880,67108864,83886080,67109376,83886592,69206016,85983232,69206528,85983744],f=[0,4096,134217728,134221824,524288,528384,134742016,134746112,16,4112,134217744,134221840,524304,528400,134742032,134746128],m=[0,4,256,260,0,4,256,260,1,5,257,261,1,5,257,261],p=e.length>8?3:1,_=new Array(32*p),g=[0,0,1,1,1,1,1,1,0,1,1,1,1,1,1,0];let y,b,v,w=0,k=0;for(let M=0;M>>4^M),M^=v,p^=v<<4,v=65535&(M>>>-16^p),p^=v,M^=v<<-16,v=858993459&(p>>>2^M),M^=v,p^=v<<2,v=65535&(M>>>-16^p),p^=v,M^=v<<-16,v=1431655765&(p>>>1^M),M^=v,p^=v<<1,v=16711935&(M>>>8^p),p^=v,M^=v<<8,v=1431655765&(p>>>1^M),M^=v,p^=v<<1,v=p<<8|M>>>20&240,p=M<<24|M<<8&16711680|M>>>8&65280|M>>>24&240,M=v;for(let e=0;e>>26,M=M<<2|M>>>26):(p=p<<1|p>>>27,M=M<<1|M>>>27),p&=-15,M&=-15,y=t[p>>>28]|r[p>>>24&15]|n[p>>>20&15]|i[p>>>16&15]|s[p>>>12&15]|a[p>>>8&15]|o[p>>>4&15],b=l[M>>>28]|c[M>>>24&15]|d[M>>>20&15]|u[M>>>16&15]|h[M>>>12&15]|f[M>>>8&15]|m[M>>>4&15],v=65535&(b>>>16^y),_[k++]=y^v,_[k++]=b^v<<16}return _}function s(e){this.key=[];for(let t=0;t<3;t++)this.key.push(new Uint8Array(e.subarray(8*t,8*t+8)));this.encrypt=function(e){return n(i(this.key[2]),n(i(this.key[1]),n(i(this.key[0]),e,!0,0,null,null),!1,0,null,null),!0,0,null,null)}}Object.defineProperty(r,"__esModule",{value:!0}),s.keySize=s.prototype.keySize=24,s.blockSize=s.prototype.blockSize=8,r.default={DES:function(e){this.key=e,this.encrypt=function(e,t){return n(i(this.key),e,!0,0,null,t)},this.decrypt=function(e,t){return n(i(this.key),e,!1,0,null,t)}},TripleDES:s}},{}],86:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=l(e("./aes")),i=l(e("./des.js")),s=l(e("./cast5")),a=l(e("./twofish")),o=l(e("./blowfish"));function l(e){return e&&e.__esModule?e:{default:e}}r.default={aes128:(0,n.default)(128),aes192:(0,n.default)(192),aes256:(0,n.default)(256),des:i.default.DES,tripledes:i.default.TripleDES,"3des":i.default.TripleDES,cast5:s.default,twofish:a.default,blowfish:o.default,idea:function(){throw new Error("IDEA symmetric-key algorithm not implemented")}}},{"./aes":82,"./blowfish":83,"./cast5":84,"./des.js":85,"./twofish":87}],87:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});const n=4294967295;function i(e,t){return(e<>>32-t)&n}function s(e,t){return e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24}function a(e,t,r){e.splice(t,4,255&r,r>>>8&255,r>>>16&255,r>>>24&255)}function o(e,t){return e>>>8*t&255}function l(e){this.tf=function(){let e=null,t=null,r=-1,l=[],c=[[],[],[],[]];function d(e){return c[0][o(e,0)]^c[1][o(e,1)]^c[2][o(e,2)]^c[3][o(e,3)]}function u(e){return c[0][o(e,3)]^c[1][o(e,0)]^c[2][o(e,1)]^c[3][o(e,2)]}function h(e,t){let r=d(t[0]),s=u(t[1]);t[2]=i(t[2]^r+s+l[4*e+8]&n,31),t[3]=i(t[3],1)^r+2*s+l[4*e+9]&n,r=d(t[2]),s=u(t[3]),t[0]=i(t[0]^r+s+l[4*e+10]&n,31),t[1]=i(t[1],1)^r+2*s+l[4*e+11]&n}function f(e,t){let r=d(t[0]),s=u(t[1]);t[2]=i(t[2],1)^r+s+l[4*e+10]&n,t[3]=i(t[3]^r+2*s+l[4*e+11]&n,31),r=d(t[2]),s=u(t[3]),t[0]=i(t[0],1)^r+s+l[4*e+8]&n,t[1]=i(t[1]^r+2*s+l[4*e+9]&n,31)}return{name:"twofish",blocksize:16,open:function(t){let r,a,d,u,h;e=t;const f=[],m=[],p=[];let _;const g=[];let y,b,v;const w=[[8,1,7,13,6,15,3,2,0,11,5,9,14,12,10,4],[2,8,11,13,15,7,6,14,3,1,9,4,0,10,12,5]],k=[[14,12,11,8,1,2,3,5,15,4,10,6,7,0,9,13],[1,14,2,11,4,12,3,7,6,13,10,5,15,9,0,8]],M=[[11,10,5,14,6,13,9,0,12,8,15,3,2,4,7,1],[4,12,7,5,1,6,9,10,0,14,13,8,2,11,3,15]],S=[[13,7,15,4,1,2,6,14,9,11,3,0,8,5,12,10],[11,9,5,1,12,3,13,14,6,4,7,15,2,0,8,10]],x=[0,8,1,9,2,10,3,11,4,12,5,13,6,14,7,15],C=[0,9,2,11,4,13,6,15,8,1,10,3,12,5,14,7],D=[[],[]],L=[[],[],[],[]];function A(e){return e^e>>2^[0,90,180,238][3&e]}function E(e){return e^e>>1^e>>2^[0,238,180,90][3&e]}function T(e,t){let r,i,s;for(r=0;r<8;r++)i=t>>>24,t=t<<8&n|e>>>24,e=e<<8&n,s=i<<1,128&i&&(s^=333),t^=i^s<<16,s^=i>>>1,1&i&&(s^=166),t^=s<<24|s<<8;return t}function P(e,t){const r=t>>4,n=15&t,i=w[e][r^n],s=k[e][x[n]^C[r]];return S[e][x[s]^C[i]]<<4|M[e][i^s]}function Y(e,t){let r=o(e,0),n=o(e,1),i=o(e,2),s=o(e,3);switch(_){case 4:r=D[1][r]^o(t[3],0),n=D[0][n]^o(t[3],1),i=D[0][i]^o(t[3],2),s=D[1][s]^o(t[3],3);case 3:r=D[1][r]^o(t[2],0),n=D[1][n]^o(t[2],1),i=D[0][i]^o(t[2],2),s=D[0][s]^o(t[2],3);case 2:r=D[0][D[0][r]^o(t[1],0)]^o(t[0],0),n=D[0][D[1][n]^o(t[1],1)]^o(t[0],1),i=D[1][D[0][i]^o(t[1],2)]^o(t[0],2),s=D[1][D[1][s]^o(t[1],3)]^o(t[0],3)}return L[0][r]^L[1][n]^L[2][i]^L[3][s]}for(e=e.slice(0,32),r=e.length;16!==r&&24!==r&&32!==r;)e[r++]=0;for(r=0;r>2]=s(e,r);for(r=0;r<256;r++)D[0][r]=P(0,r),D[1][r]=P(1,r);for(r=0;r<256;r++)y=D[1][r],b=A(y),v=E(y),L[0][r]=y+(b<<8)+(v<<16)+(v<<24),L[2][r]=b+(v<<8)+(y<<16)+(v<<24),y=D[0][r],b=A(y),v=E(y),L[1][r]=v+(v<<8)+(b<<16)+(y<<24),L[3][r]=b+(y<<8)+(v<<16)+(b<<24);for(_=p.length/2,r=0;r<_;r++)a=p[r+r],f[r]=a,d=p[r+r+1],m[r]=d,g[_-r-1]=T(a,d);for(r=0;r<40;r+=2)a=16843009*r,d=a+16843009,a=Y(a,f),d=i(Y(d,m),8),l[r]=a+d&n,l[r+1]=i(a+2*d,9);for(r=0;r<256;r++)switch(a=d=u=h=r,_){case 4:a=D[1][a]^o(g[3],0),d=D[0][d]^o(g[3],1),u=D[0][u]^o(g[3],2),h=D[1][h]^o(g[3],3);case 3:a=D[1][a]^o(g[2],0),d=D[1][d]^o(g[2],1),u=D[0][u]^o(g[2],2),h=D[0][h]^o(g[2],3);case 2:c[0][r]=L[0][D[0][D[0][a]^o(g[1],0)]^o(g[0],0)],c[1][r]=L[1][D[0][D[1][d]^o(g[1],1)]^o(g[0],1)],c[2][r]=L[2][D[1][D[0][u]^o(g[1],2)]^o(g[0],2)],c[3][r]=L[3][D[1][D[1][h]^o(g[1],3)]^o(g[0],3)]}},close:function(){l=[],c=[[],[],[],[]]},encrypt:function(e,n){t=e,r=n;const i=[s(t,r)^l[0],s(t,r+4)^l[1],s(t,r+8)^l[2],s(t,r+12)^l[3]];for(let t=0;t<8;t++)h(t,i);return a(t,r,i[2]^l[4]),a(t,r+4,i[3]^l[5]),a(t,r+8,i[0]^l[6]),a(t,r+12,i[1]^l[7]),r+=16,t},decrypt:function(e,n){t=e,r=n;const i=[s(t,r)^l[4],s(t,r+4)^l[5],s(t,r+8)^l[6],s(t,r+12)^l[7]];for(let t=7;t>=0;t--)f(t,i);a(t,r,i[2]^l[0]),a(t,r+4,i[3]^l[1]),a(t,r+8,i[0]^l[2]),a(t,r+12,i[1]^l[3]),r+=16},finalize:function(){return t}}}(),this.tf.open(Array.from(e),0),this.encrypt=function(e){return this.tf.encrypt(Array.from(e),0)}}l.keySize=l.prototype.keySize=32,l.blockSize=l.prototype.blockSize=16,r.default=l},{}],88:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n,i=e("asmcrypto.js/dist_es5/aes/cbc"),s=(n=e("../util"))&&n.__esModule?n:{default:n};const a=s.default.getWebCrypto(),o=s.default.getNodeCrypto(),l=s.default.getNodeBuffer(),c=16;function d(e,t){const r=e.length-c;for(let n=0;n{r.update(_.from(e))},()=>new Uint8Array(r.digest()))}}function y(e,t){return async function(r){if(!h.default.isStream(r)&&m&&t&&r.length>=u.default.min_bytes_for_web_crypto)return new Uint8Array(await m.digest(t,r));const n=e();return c.default.transform(r,e=>{n.update(e)},()=>new Uint8Array(n.digest()))}}function b(e,t){return async function(r){if(h.default.isStream(r)){const t=new e;return c.default.transform(r,e=>{t.process(e)},()=>t.finish().result)}return m&&t&&r.length>=u.default.min_bytes_for_web_crypto?new Uint8Array(await m.digest(t,r)):e.bytes(r)}}let v;v=p?{md5:g("md5"),sha1:g("sha1"),sha224:g("sha224"),sha256:g("sha256"),sha384:g("sha384"),sha512:g("sha512"),ripemd:g("ripemd160")}:{md5:d.default,sha1:b(n.Sha1,-1===navigator.userAgent.indexOf("Edge")&&"SHA-1"),sha224:y(s.default),sha256:b(i.Sha256,"SHA-256"),sha384:y(a.default,"SHA-384"),sha512:y(o.default,"SHA-512"),ripemd:y(l.ripemd160)},r.default={md5:v.md5,sha1:v.sha1,sha224:v.sha224,sha256:v.sha256,sha384:v.sha384,sha512:v.sha512,ripemd:v.ripemd,digest:function(e,t){switch(e){case 1:return this.md5(t);case 2:return this.sha1(t);case 3:return this.ripemd(t);case 8:return this.sha256(t);case 9:return this.sha384(t);case 10:return this.sha512(t);case 11:return this.sha224(t);default:throw new Error("Invalid hash function.")}},getHashByteLength:function(e){switch(e){case 1:return 16;case 2:case 3:return 20;case 8:return 32;case 9:return 48;case 10:return 64;case 11:return 28;default:throw new Error("Invalid hash algorithm.")}}}},{"../../config":79,"../../util":158,"./md5":93,"asmcrypto.js/dist_es5/hash/sha1/sha1":11,"asmcrypto.js/dist_es5/hash/sha256/sha256":13,"hash.js/lib/hash/ripemd":37,"hash.js/lib/hash/sha/224":40,"hash.js/lib/hash/sha/384":42,"hash.js/lib/hash/sha/512":43,"web-stream-tools":75}],93:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n,i=(n=e("../../util"))&&n.__esModule?n:{default:n};function s(e,t){let r=e[0],n=e[1],i=e[2],s=e[3];r=o(r,n,i,s,t[0],7,-680876936),s=o(s,r,n,i,t[1],12,-389564586),i=o(i,s,r,n,t[2],17,606105819),n=o(n,i,s,r,t[3],22,-1044525330),r=o(r,n,i,s,t[4],7,-176418897),s=o(s,r,n,i,t[5],12,1200080426),i=o(i,s,r,n,t[6],17,-1473231341),n=o(n,i,s,r,t[7],22,-45705983),r=o(r,n,i,s,t[8],7,1770035416),s=o(s,r,n,i,t[9],12,-1958414417),i=o(i,s,r,n,t[10],17,-42063),n=o(n,i,s,r,t[11],22,-1990404162),r=o(r,n,i,s,t[12],7,1804603682),s=o(s,r,n,i,t[13],12,-40341101),i=o(i,s,r,n,t[14],17,-1502002290),n=o(n,i,s,r,t[15],22,1236535329),r=l(r,n,i,s,t[1],5,-165796510),s=l(s,r,n,i,t[6],9,-1069501632),i=l(i,s,r,n,t[11],14,643717713),n=l(n,i,s,r,t[0],20,-373897302),r=l(r,n,i,s,t[5],5,-701558691),s=l(s,r,n,i,t[10],9,38016083),i=l(i,s,r,n,t[15],14,-660478335),n=l(n,i,s,r,t[4],20,-405537848),r=l(r,n,i,s,t[9],5,568446438),s=l(s,r,n,i,t[14],9,-1019803690),i=l(i,s,r,n,t[3],14,-187363961),n=l(n,i,s,r,t[8],20,1163531501),r=l(r,n,i,s,t[13],5,-1444681467),s=l(s,r,n,i,t[2],9,-51403784),i=l(i,s,r,n,t[7],14,1735328473),n=l(n,i,s,r,t[12],20,-1926607734),r=c(r,n,i,s,t[5],4,-378558),s=c(s,r,n,i,t[8],11,-2022574463),i=c(i,s,r,n,t[11],16,1839030562),n=c(n,i,s,r,t[14],23,-35309556),r=c(r,n,i,s,t[1],4,-1530992060),s=c(s,r,n,i,t[4],11,1272893353),i=c(i,s,r,n,t[7],16,-155497632),n=c(n,i,s,r,t[10],23,-1094730640),r=c(r,n,i,s,t[13],4,681279174),s=c(s,r,n,i,t[0],11,-358537222),i=c(i,s,r,n,t[3],16,-722521979),n=c(n,i,s,r,t[6],23,76029189),r=c(r,n,i,s,t[9],4,-640364487),s=c(s,r,n,i,t[12],11,-421815835),i=c(i,s,r,n,t[15],16,530742520),n=c(n,i,s,r,t[2],23,-995338651),r=d(r,n,i,s,t[0],6,-198630844),s=d(s,r,n,i,t[7],10,1126891415),i=d(i,s,r,n,t[14],15,-1416354905),n=d(n,i,s,r,t[5],21,-57434055),r=d(r,n,i,s,t[12],6,1700485571),s=d(s,r,n,i,t[3],10,-1894986606),i=d(i,s,r,n,t[10],15,-1051523),n=d(n,i,s,r,t[1],21,-2054922799),r=d(r,n,i,s,t[8],6,1873313359),s=d(s,r,n,i,t[15],10,-30611744),i=d(i,s,r,n,t[6],15,-1560198380),n=d(n,i,s,r,t[13],21,1309151649),r=d(r,n,i,s,t[4],6,-145523070),s=d(s,r,n,i,t[11],10,-1120210379),i=d(i,s,r,n,t[2],15,718787259),n=d(n,i,s,r,t[9],21,-343485551),e[0]=m(r,e[0]),e[1]=m(n,e[1]),e[2]=m(i,e[2]),e[3]=m(s,e[3])}function a(e,t,r,n,i,s){return t=m(m(t,e),m(n,s)),m(t<>>32-i,r)}function o(e,t,r,n,i,s,o){return a(t&r|~t&n,e,t,i,s,o)}function l(e,t,r,n,i,s,o){return a(t&n|r&~n,e,t,i,s,o)}function c(e,t,r,n,i,s,o){return a(t^r^n,e,t,i,s,o)}function d(e,t,r,n,i,s,o){return a(r^(t|~n),e,t,i,s,o)}function u(e){const t=[];let r;for(r=0;r<64;r+=4)t[r>>2]=e.charCodeAt(r)+(e.charCodeAt(r+1)<<8)+(e.charCodeAt(r+2)<<16)+(e.charCodeAt(r+3)<<24);return t}const h="0123456789abcdef".split("");function f(e){let t="",r=0;for(;r<4;r++)t+=h[e>>8*r+4&15]+h[e>>8*r&15];return t}function m(e,t){return e+t&4294967295}r.default=async function(e){const t=function(e){const t=e.length,r=[1732584193,-271733879,-1732584194,271733878];let n;for(n=64;n<=e.length;n+=64)s(r,u(e.substring(n-64,n)));e=e.substring(n-64);const i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(n=0;n>2]|=e.charCodeAt(n)<<(n%4<<3);if(i[n>>2]|=128<<(n%4<<3),n>55)for(s(r,i),n=0;n<16;n++)i[n]=0;return i[14]=8*t,s(r,i),r}(i.default.Uint8Array_to_str(e));return i.default.hex_to_Uint8Array(function(e){for(let t=0;t>3),17+(_>>3)),8-(7&_)).subarray(1),v=new Uint8Array(a),w=new Uint8Array(t.length+16);let k,M=0;for(k=0;kt-11)throw new Error("Message too long");const i=await async function(e){let t="";for(;t.length=8&&0===s)return e.substr(n);throw new Error("Decryption error")},l.encode=async function(e,t,r){let n;const a=s.default.Uint8Array_to_str(t);if(a.length!==i.default.getHashByteLength(e))throw new Error("Invalid hash length");let o="";for(n=0;n0){const r=e.charCodeAt(t-1);if(r>=1&&e.substr(t-r)===String.fromCharCode(r).repeat(r))return e.substr(0,t-r)}throw new Error("Invalid padding")}}},{}],98:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=o(e("bn.js")),i=o(e("../random")),s=o(e("../../util")),a=o(e("./prime"));function o(e){return e&&e.__esModule?e:{default:e}}const l=new n.default(1),c=new n.default(0);r.default={sign:async function(e,t,r,s,a,o){let d,u,h,f;const m=new n.default.red(s),p=new n.default.red(a),_=r.toRed(m),g=o.toRed(p),y=new n.default(t.subarray(0,a.byteLength())).toRed(p);for(;d=await i.default.getRandomBN(l,a),u=_.redPow(d).fromRed().toRed(p),0===c.cmp(u)||(f=y.redAdd(g.redMul(u)),h=d.toRed(p).redInvm().redMul(f),0===c.cmp(h)););return{r:u.toArrayLike(Uint8Array,"be",a.byteLength()),s:h.toArrayLike(Uint8Array,"be",a.byteLength())}},verify:async function(e,t,r,i,a,o,l,d){if(c.ucmp(t)>=0||t.ucmp(l)>=0||c.ucmp(r)>=0||r.ucmp(l)>=0)return s.default.print_debug("invalid DSA Signature"),null;const u=new n.default.red(o),h=new n.default.red(l),f=new n.default(i.subarray(0,l.byteLength())),m=r.toRed(h).redInvm();if(0===c.cmp(m))return s.default.print_debug("invalid DSA Signature"),null;const p=f.toRed(h).redMul(m),_=t.toRed(h).redMul(m),g=a.toRed(u).redPow(p.fromRed()),y=d.toRed(u).redPow(_.fromRed());return 0===g.redMul(y).fromRed().mod(l).cmp(t)},validateParams:async function(e,t,r,s,o){e=new n.default(e),t=new n.default(t),r=new n.default(r),s=new n.default(s);const l=new n.default(1);if(r.lte(l)||r.gte(e))return!1;if(!e.sub(l).mod(t).isZero())return!1;const c=new n.default.red(e),d=r.toRed(c);if(!d.redPow(t).eq(l))return!1;const u=t.bitLength();if(u<150||!(await a.default.isProbablePrime(t,null,32)))return!1;o=new n.default(o);const h=await i.default.getRandomBN(new n.default(2).shln(u-1),new n.default(2).shln(u)),f=t.mul(h).add(o);return!!s.eq(d.redPow(f))}}},{"../../util":158,"../random":109,"./prime":107,"bn.js":16}],99:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=s(e("bn.js")),i=s(e("../random"));function s(e){return e&&e.__esModule?e:{default:e}}const a=new n.default(0);r.default={encrypt:async function(e,t,r,s){const o=new n.default.red(t),l=e.toRed(o),c=r.toRed(o),d=s.toRed(o),u=await i.default.getRandomBN(a,t);return{c1:c.redPow(u).fromRed(),c2:d.redPow(u).redMul(l).fromRed()}},decrypt:async function(e,t,r,i){const s=new n.default.red(r),a=e.toRed(s),o=t.toRed(s);return a.redPow(i).redInvm().redMul(o).fromRed()},validateParams:async function(e,t,r,s){e=new n.default(e),t=new n.default(t),r=new n.default(r);const a=new n.default(1);if(t.lte(a)||t.gte(e))return!1;const o=e.subn(1).bitLength();if(o<1023)return!1;const l=new n.default.red(e),c=t.toRed(l);if(!c.redPow(e.subn(1)).eq(a))return!1;let d=t;const u=new n.default(1),h=new n.default(2).shln(17);for(;u.lt(h);){if(d=d.mul(t).mod(e),d.eqn(1))return!1;u.iaddn(1)}s=new n.default(s);const f=await i.default.getRandomBN(new n.default(2).shln(o-1),new n.default(2).shln(o)),m=e.subn(1).mul(f).add(s);return!!r.eq(c.redPow(m))}}},{"../random":109,"bn.js":16}],100:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.validateStandardParams=r.privateToJwk=r.rawPublicToJwk=r.jwkToRawPublic=r.getPreferredHashAlgo=r.generate=r.nodeCurves=r.webCurves=r.curves=void 0;var n=d(e("bn.js")),i=d(e("tweetnacl/nacl-fast-light.js")),s=d(e("../../random")),a=d(e("../../../enums")),o=d(e("../../../util")),l=d(e("../../../type/oid")),c=e("./indutnyKey");function d(e){return e&&e.__esModule?e:{default:e}}const u=o.default.getWebCrypto(),h=o.default.getNodeCrypto(),f={p256:"P-256",p384:"P-384",p521:"P-521"},m=h?h.getCurves():[],p=h?{secp256k1:m.includes("secp256k1")?"secp256k1":void 0,p256:m.includes("prime256v1")?"prime256v1":void 0,p384:m.includes("secp384r1")?"secp384r1":void 0,p521:m.includes("secp521r1")?"secp521r1":void 0,ed25519:m.includes("ED25519")?"ED25519":void 0,curve25519:m.includes("X25519")?"X25519":void 0,brainpoolP256r1:m.includes("brainpoolP256r1")?"brainpoolP256r1":void 0,brainpoolP384r1:m.includes("brainpoolP384r1")?"brainpoolP384r1":void 0,brainpoolP512r1:m.includes("brainpoolP512r1")?"brainpoolP512r1":void 0}:{},_={p256:{oid:[6,8,42,134,72,206,61,3,1,7],keyType:a.default.publicKey.ecdsa,hash:a.default.hash.sha256,cipher:a.default.symmetric.aes128,node:p.p256,web:f.p256,payloadSize:32,sharedSize:256},p384:{oid:[6,5,43,129,4,0,34],keyType:a.default.publicKey.ecdsa,hash:a.default.hash.sha384,cipher:a.default.symmetric.aes192,node:p.p384,web:f.p384,payloadSize:48,sharedSize:384},p521:{oid:[6,5,43,129,4,0,35],keyType:a.default.publicKey.ecdsa,hash:a.default.hash.sha512,cipher:a.default.symmetric.aes256,node:p.p521,web:f.p521,payloadSize:66,sharedSize:528},secp256k1:{oid:[6,5,43,129,4,0,10],keyType:a.default.publicKey.ecdsa,hash:a.default.hash.sha256,cipher:a.default.symmetric.aes128,node:p.secp256k1,payloadSize:32},ed25519:{oid:[6,9,43,6,1,4,1,218,71,15,1],keyType:a.default.publicKey.eddsa,hash:a.default.hash.sha512,node:!1,payloadSize:32},curve25519:{oid:[6,10,43,6,1,4,1,151,85,1,5,1],keyType:a.default.publicKey.ecdh,hash:a.default.hash.sha256,cipher:a.default.symmetric.aes128,node:!1,payloadSize:32},brainpoolP256r1:{oid:[6,9,43,36,3,3,2,8,1,1,7],keyType:a.default.publicKey.ecdsa,hash:a.default.hash.sha256,cipher:a.default.symmetric.aes128,node:p.brainpoolP256r1,payloadSize:32},brainpoolP384r1:{oid:[6,9,43,36,3,3,2,8,1,1,11],keyType:a.default.publicKey.ecdsa,hash:a.default.hash.sha384,cipher:a.default.symmetric.aes192,node:p.brainpoolP384r1,payloadSize:48},brainpoolP512r1:{oid:[6,9,43,36,3,3,2,8,1,1,13],keyType:a.default.publicKey.ecdsa,hash:a.default.hash.sha512,cipher:a.default.symmetric.aes256,node:p.brainpoolP512r1,payloadSize:64}};function g(e,t){try{(o.default.isArray(e)||o.default.isUint8Array(e))&&(e=new l.default(e)),e instanceof l.default&&(e=e.getName()),this.name=a.default.write(a.default.curve,e)}catch(r){throw new Error("Not valid curve")}this.keyType=(t=t||_[this.name]).keyType,this.oid=t.oid,this.hash=t.hash,this.cipher=t.cipher,this.node=t.node&&_[this.name],this.web=t.web&&_[this.name],this.payloadSize=t.payloadSize,this.web&&o.default.getWebCrypto()?this.type="web":this.node&&o.default.getNodeCrypto()?this.type="node":"curve25519"===this.name?this.type="curve25519":"ed25519"===this.name&&(this.type="ed25519")}function y(e){const t=o.default.b64_to_Uint8Array(e.x),r=o.default.b64_to_Uint8Array(e.y),n=new Uint8Array(t.length+r.length+1);return n[0]=4,n.set(t,1),n.set(r,t.length+1),n}function b(e,t,r){const n=e,i=r.slice(1,n+1),s=r.slice(n+1,2*n+1);return{kty:"EC",crv:t,x:o.default.Uint8Array_to_b64(i,!0),y:o.default.Uint8Array_to_b64(s,!0),ext:!0}}g.prototype.genKeyPair=async function(){let e;switch(this.type){case"web":try{return await async function(e){const t=await u.generateKey({name:"ECDSA",namedCurve:f[e]},!0,["sign","verify"]),r=await u.exportKey("jwk",t.privateKey);return{publicKey:y(await u.exportKey("jwk",t.publicKey)),privateKey:o.default.b64_to_Uint8Array(r.d,!0)}}(this.name)}catch(r){o.default.print_debug_error("Browser did not support generating ec key "+r.message);break}case"node":return async function(e){const t=h.createECDH(p[e]);return await t.generateKeys(),{publicKey:new Uint8Array(t.getPublicKey()),privateKey:new Uint8Array(t.getPrivateKey())}}(this.name);case"curve25519":{const t=await s.default.getRandomBytes(32);t[0]=127&t[0]|64,t[31]&=248;const r=t.slice().reverse();return e=i.default.box.keyPair.fromSecretKey(r),{publicKey:o.default.concatUint8Array([new Uint8Array([64]),e.publicKey]),privateKey:t}}case"ed25519":{const e=await s.default.getRandomBytes(32),t=i.default.sign.keyPair.fromSeed(e);return{publicKey:o.default.concatUint8Array([new Uint8Array([64]),t.publicKey]),privateKey:e}}}const t=await(0,c.getIndutnyCurve)(this.name);return e=await t.genKeyPair({entropy:o.default.Uint8Array_to_str(await s.default.getRandomBytes(32))}),{publicKey:new Uint8Array(e.getPublic("array",!1)),privateKey:e.getPrivate().toArrayLike(Uint8Array)}},r.default=g,r.curves=_,r.webCurves=f,r.nodeCurves=p,r.generate=async function(e){e=new g(e);const t=await e.genKeyPair();return{oid:e.oid,Q:new n.default(t.publicKey),d:new n.default(t.privateKey),hash:e.hash,cipher:e.cipher}},r.getPreferredHashAlgo=function(e){return _[a.default.write(a.default.curve,e.toHex())].hash},r.jwkToRawPublic=y,r.rawPublicToJwk=b,r.privateToJwk=function(e,t,r,n){const i=b(e,t,r);return i.d=o.default.Uint8Array_to_b64(n,!0),i},r.validateStandardParams=async function(e,t,r,s){const l={p256:!0,p384:!0,p521:!0,secp256k1:!0,curve25519:e===a.default.publicKey.ecdh,brainpoolP256r1:!0,brainpoolP384r1:!0,brainpoolP512r1:!0},d=t.getName();if(!l[d])return!1;if("curve25519"===d){s=s.slice().reverse();const e=i.default.box.keyPair.fromSecretKey(s).publicKey;r=new Uint8Array(r);const t=new Uint8Array([64,...e]);return!!o.default.equalsUint8Array(t,r)}const u=await(0,c.getIndutnyCurve)(d);try{r=(0,c.keyFromPublic)(u,r).getPublic()}catch(h){return!1}return s=new n.default(s),!!(0,c.keyFromPrivate)(u,s).getPublic().eq(r)}},{"../../../enums":113,"../../../type/oid":156,"../../../util":158,"../../random":109,"./indutnyKey":105,"bn.js":16,"tweetnacl/nacl-fast-light.js":72}],101:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,s=void 0;try{for(var a,o=e[Symbol.iterator]();!(n=(a=o.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(l){i=!0,s=l}finally{try{!n&&o.return&&o.return()}finally{if(i)throw s}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=p(e("bn.js")),s=p(e("tweetnacl/nacl-fast-light.js")),a=e("./curves"),o=p(a),l=p(e("../../aes_kw")),c=p(e("../../cipher")),d=p(e("../../random")),u=p(e("../../hash")),h=p(e("../../../enums")),f=p(e("../../../util")),m=e("./indutnyKey");function p(e){return e&&e.__esModule?e:{default:e}}const _=f.default.getWebCrypto(),g=f.default.getNodeCrypto();function y(e,t,r,n){return f.default.concatUint8Array([t.write(),new Uint8Array([e]),r.write(),f.default.str_to_Uint8Array("Anonymous Sender "),n.subarray(0,20)])}async function b(e,t,r,n,i=!1,s=!1){let a;if(i){for(a=0;a=0&&0===t[a];a--);t=t.subarray(0,a+1)}return(await u.default.digest(e,f.default.concatUint8Array([new Uint8Array([0,0,0,1]),t,n]))).subarray(0,r)}async function v(e,t){switch(e.type){case"curve25519":{const n=await d.default.getRandomBytes(32);var r=await w(e,t,null,n);const i=r.sharedKey;let a=s.default.box.keyPair.fromSecretKey(r.secretKey).publicKey;return a=f.default.concatUint8Array([new Uint8Array([64]),a]),{publicKey:a,sharedKey:i}}case"web":if(e.web&&f.default.getWebCrypto())try{return await M(e,t)}catch(n){f.default.print_debug_error(n)}break;case"node":return D(e,t)}return x(e,t)}async function w(e,t,r,n){if(n.length!==e.payloadSize){const t=new Uint8Array(e.payloadSize);t.set(n,e.payloadSize-n.length),n=t}switch(e.type){case"curve25519":{const e=n.slice().reverse();return{secretKey:e,sharedKey:s.default.scalarMult(e,t.subarray(1))}}case"web":if(e.web&&f.default.getWebCrypto())try{return await k(e,t,r,n)}catch(i){f.default.print_debug_error(i)}break;case"node":return C(e,t,n)}return S(e,t,n)}async function k(e,t,r,i){const s=(0,a.privateToJwk)(e.payloadSize,e.web.web,r,i);let o=_.importKey("jwk",s,{name:"ECDH",namedCurve:e.web.web},!0,["deriveKey","deriveBits"]);const l=(0,a.rawPublicToJwk)(e.payloadSize,e.web.web,t);let c=_.importKey("jwk",l,{name:"ECDH",namedCurve:e.web.web},!0,[]);var d=await Promise.all([o,c]),u=n(d,2);o=u[0],c=u[1];let h=_.deriveBits({name:"ECDH",namedCurve:e.web.web,public:c},o,e.web.sharedSize),m=_.exportKey("jwk",o);var p=await Promise.all([h,m]),g=n(p,2);h=g[0],m=g[1];const y=new Uint8Array(h);return{secretKey:f.default.b64_to_Uint8Array(m.d,!0),sharedKey:y}}async function M(e,t){const r=(0,a.rawPublicToJwk)(e.payloadSize,e.web.web,t);let i=_.generateKey({name:"ECDH",namedCurve:e.web.web},!0,["deriveKey","deriveBits"]),s=_.importKey("jwk",r,{name:"ECDH",namedCurve:e.web.web},!1,[]);var o=await Promise.all([i,s]),l=n(o,2);i=l[0],s=l[1];let c=_.deriveBits({name:"ECDH",namedCurve:e.web.web,public:s},i.privateKey,e.web.sharedSize),d=_.exportKey("jwk",i.publicKey);var u=await Promise.all([c,d]),h=n(u,2);c=h[0],d=h[1];const f=new Uint8Array(c);return{publicKey:new Uint8Array((0,a.jwkToRawPublic)(d)),sharedKey:f}}async function S(e,t,r){const n=await(0,m.getIndutnyCurve)(e.name);t=(0,m.keyFromPublic)(n,t),r=(0,m.keyFromPrivate)(n,r);const i=new Uint8Array(r.getPrivate()),s=r.derive(t.getPublic()),a=n.curve.p.byteLength();return{secretKey:i,sharedKey:s.toArrayLike(Uint8Array,"be",a)}}async function x(e,t){const r=await(0,m.getIndutnyCurve)(e.name),n=await e.genKeyPair();t=(0,m.keyFromPublic)(r,t);const i=(0,m.keyFromPrivate)(r,n.privateKey),s=n.publicKey,a=i.derive(t.getPublic()),o=r.curve.p.byteLength();return{publicKey:s,sharedKey:a.toArrayLike(Uint8Array,"be",o)}}async function C(e,t,r){const n=g.createECDH(e.node.node);n.setPrivateKey(r);const i=new Uint8Array(n.computeSecret(t));return{secretKey:new Uint8Array(n.getPrivateKey()),sharedKey:i}}async function D(e,t){const r=g.createECDH(e.node.node);r.generateKeys();const n=new Uint8Array(r.computeSecret(t));return{publicKey:new Uint8Array(r.getPublicKey()),sharedKey:n}}r.default={encrypt:async function(e,t,r,n,i){const s=new o.default(e);var a=await v(s,n);const d=a.publicKey,u=a.sharedKey,f=y(h.default.publicKey.ecdh,e,t,i),m=h.default.read(h.default.symmetric,t.cipher),p=await b(t.hash,u,c.default[m].keySize,f);return{publicKey:d,wrappedKey:l.default.wrap(p,r.toString())}},decrypt:async function(e,t,r,n,s,a,d){const u=new o.default(e),f=(await w(u,r,s,a)).sharedKey,m=y(h.default.publicKey.ecdh,e,t,d),p=h.default.read(h.default.symmetric,t.cipher);let _;for(let o=0;o<3;o++)try{const e=await b(t.hash,f,c.default[p].keySize,m,1===o,2===o);return new i.default(l.default.unwrap(e,n))}catch(g){_=g}throw _},genPublicEphemeralKey:v,genPrivateEphemeralKey:w,buildEcdhParam:y,kdf:b,webPublicEphemeralKey:M,webPrivateEphemeralKey:k,ellipticPublicEphemeralKey:x,ellipticPrivateEphemeralKey:S,nodePublicEphemeralKey:D,nodePrivateEphemeralKey:C,validateParams:async function(e,t,r){return(0,a.validateStandardParams)(h.default.publicKey.ecdh,e,t,r)},parseParams:function(e){if(e.length<3||e.length>4)throw new Error("Unexpected number of parameters");const t=e[0],r=new o.default(t),n={oid:t};return n.Q=e[1].toUint8Array(),n.kdfParams=e[2],4===e.length&&(n.d=e[3].toUint8Array("be",r.payloadSize)),n}}},{"../../../enums":113,"../../../util":158,"../../aes_kw":80,"../../cipher":86,"../../hash":92,"../../random":109,"./curves":100,"./indutnyKey":105,"bn.js":16,"tweetnacl/nacl-fast-light.js":72}],102:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=u(e("bn.js")),i=u(e("../../../enums")),s=u(e("../../../util")),a=u(e("../../random")),o=u(e("../../hash")),l=e("./curves"),c=u(l),d=e("./indutnyKey");function u(e){return e&&e.__esModule?e:{default:e}}const h=s.default.getWebCrypto(),f=s.default.getNodeCrypto();async function m(e,t,r,n,a,o){const d=new c.default(e);if(r&&!s.default.isStream(r)){const e={publicKey:n,privateKey:a};switch(d.type){case"web":try{return await async function(e,t,r,n){const s=e.payloadSize,a=(0,l.privateToJwk)(e.payloadSize,l.webCurves[e.name],n.publicKey,n.privateKey),o=await h.importKey("jwk",a,{name:"ECDSA",namedCurve:l.webCurves[e.name],hash:{name:i.default.read(i.default.webHash,e.hash)}},!1,["sign"]),c=new Uint8Array(await h.sign({name:"ECDSA",namedCurve:l.webCurves[e.name],hash:{name:i.default.read(i.default.webHash,t)}},o,r));return{r:c.slice(0,s),s:c.slice(s,s<<1)}}(d,t,r,e)}catch(u){if("p521"!==d.name&&("DataError"===u.name||"OperationError"===u.name))throw u;s.default.print_debug_error("Browser did not support verifying: "+u.message)}break;case"node":{const n=await async function(e,t,r,n){const s=f.createSign(i.default.read(i.default.hash,t));s.write(r),s.end();const a=v.encode({version:1,parameters:e.oid,privateKey:Array.from(n.privateKey),publicKey:{unused:0,data:Array.from(n.publicKey)}},"pem",{label:"EC PRIVATE KEY"});return b.decode(s.sign(a),"der")}(d,t,r,e);return{r:n.r.toArrayLike(Uint8Array),s:n.s.toArrayLike(Uint8Array)}}}}return _(d,o,a)}async function p(e,t,r,a,o,d){const u=new c.default(e);if(a&&!s.default.isStream(a))switch(u.type){case"web":try{return await async function(e,t,{r:r,s:n},a,o){const c=e.payloadSize,d=(0,l.rawPublicToJwk)(e.payloadSize,l.webCurves[e.name],o),u=await h.importKey("jwk",d,{name:"ECDSA",namedCurve:l.webCurves[e.name],hash:{name:i.default.read(i.default.webHash,e.hash)}},!1,["verify"]),f=s.default.concatUint8Array([new Uint8Array(c-r.length),r,new Uint8Array(c-n.length),n]).buffer;return h.verify({name:"ECDSA",namedCurve:l.webCurves[e.name],hash:{name:i.default.read(i.default.webHash,t)}},u,f,a)}(u,t,r,a,o)}catch(m){if("p521"!==u.name&&("DataError"===m.name||"OperationError"===m.name))throw m;s.default.print_debug_error("Browser did not support verifying: "+m.message)}break;case"node":return async function(e,t,{r:r,s:s},a,o){const l=f.createVerify(i.default.read(i.default.hash,t));l.write(a),l.end();const c=k.encode({algorithm:{algorithm:[1,2,840,10045,2,1],parameters:e.oid},subjectPublicKey:{unused:0,data:Array.from(o)}},"pem",{label:"PUBLIC KEY"}),d=b.encode({r:new n.default(r),s:new n.default(s)},"der");try{return l.verify(c,d)}catch(m){return!1}}(u,t,r,a,o)}return g(u,r,void 0===t?a:d,o)}async function _(e,t,r){const n=await(0,d.getIndutnyCurve)(e.name),i=(0,d.keyFromPrivate)(n,r).sign(t);return{r:i.r.toArrayLike(Uint8Array),s:i.s.toArrayLike(Uint8Array)}}async function g(e,t,r,n){const i=await(0,d.getIndutnyCurve)(e.name);return(0,d.keyFromPublic)(i,n).verify(r,t)}r.default={sign:m,verify:p,ellipticVerify:g,ellipticSign:_,validateParams:async function(e,t,r){const n=new c.default(e);if(n.keyType!==i.default.publicKey.ecdsa)return!1;switch(n.type){case"web":case"node":{const n=await a.default.getRandomBytes(8),l=i.default.hash.sha256,c=await o.default.digest(l,n);try{const i=await m(e,l,n,t,r,c);return await p(e,l,i,n,t,c)}catch(s){return!1}}default:return(0,l.validateStandardParams)(i.default.publicKey.ecdsa,e,t,r)}},parseParams:function(e){if(e.length<2||e.length>3)throw new Error("Unexpected number of parameters");const t=e[0],r=new c.default(t),n={oid:t};return n.Q=e[1].toUint8Array(),3===e.length&&(n.d=e[2].toUint8Array("be",r.payloadSize)),n}};const y=f?e("asn1.js"):void 0,b=f?y.define("ECDSASignature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())})):void 0,v=f?y.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").explicit(0).optional().any(),this.key("publicKey").explicit(1).optional().bitstr())})):void 0,w=f?y.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional().any())})):void 0,k=f?y.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(w),this.key("subjectPublicKey").bitstr())})):void 0},{"../../../enums":113,"../../../util":158,"../../hash":92,"../../random":109,"./curves":100,"./indutnyKey":105,"asn1.js":"asn1.js","bn.js":16}],103:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=a(e("hash.js/lib/hash/sha/512")),i=a(e("tweetnacl/nacl-fast-light.js")),s=a(e("../../../util"));function a(e){return e&&e.__esModule?e:{default:e}}i.default.hash=e=>new Uint8Array((0,n.default)().update(e).digest()),r.default={sign:async function(e,t,r,n,a,o){const l=s.default.concatUint8Array([a,n.subarray(1)]),c=i.default.sign.detached(o,l);return{R:c.subarray(0,32),S:c.subarray(32)}},verify:async function(e,t,{R:r,S:n},a,o,l){const c=s.default.concatUint8Array([r,n]);return i.default.sign.detached.verify(l,c,o.subarray(1))},validateParams:async function(e,t,r){if("ed25519"!==e.getName())return!1;var n=i.default.sign.keyPair.fromSeed(r);const a=new Uint8Array([64,...n.publicKey]);return s.default.equalsUint8Array(t,a)},parseParams:function(e){if(e.length<2||e.length>3)throw new Error("Unexpected number of parameters");const t={oid:e[0],Q:e[1].toUint8Array("be",33)};return 3===e.length&&(t.seed=e[2].toUint8Array("be",32)),t}}},{"../../../util":158,"hash.js/lib/hash/sha/512":43,"tweetnacl/nacl-fast-light.js":72}],104:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=e("./curves"),i=l(n),s=l(e("./ecdsa")),a=l(e("./eddsa")),o=l(e("./ecdh"));function l(e){return e&&e.__esModule?e:{default:e}}r.default={Curve:i.default,ecdh:o.default,ecdsa:s.default,eddsa:a.default,generate:n.generate,getPreferredHashAlgo:n.getPreferredHashAlgo}},{"./curves":100,"./ecdh":101,"./ecdsa":102,"./eddsa":103}],105:[function(e,t,r){(function(t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.keyFromPrivate=function(e,t){return e.keyPair({priv:t})},r.keyFromPublic=function(e,t){const r=e.keyPair({pub:t});if(!0!==r.validate().result)throw new Error("Invalid elliptic public key");return r},r.getIndutnyCurve=async function(r){if(!i.default.use_indutny_elliptic)throw new Error("This curve is only supported in the full build of OpenPGP.js");return new((await(i.default.external_indutny_elliptic?s.default.detectNode()?e(i.default.indutny_elliptic_path):(o||(o=async function(){const e=i.default.indutny_elliptic_path,r=i.default.indutny_elliptic_fetch_options,s=(0,n.dl)(e,r).catch(()=>(0,n.dl)(e,r)),a=await s,o=URL.createObjectURL(new Blob([a],{type:"text/javascript"}));if(await(0,n.loadScript)(o),URL.revokeObjectURL(o),!t.openpgp.elliptic)throw new Error("Elliptic library failed to load correctly");return t.openpgp.elliptic}().catch(e=>{throw o=void 0,e})),o):e("elliptic"))).ec)(r)};var n=e("../../../lightweight_helper"),i=a(e("../../../config")),s=a(e("../../../util"));function a(e){return e&&e.__esModule?e:{default:e}}let o}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../../../config":79,"../../../lightweight_helper":125,"../../../util":158,elliptic:18}],106:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=l(e("tweetnacl/nacl-fast-light.js")),i=l(e("./rsa")),s=l(e("./elgamal")),a=l(e("./elliptic")),o=l(e("./dsa"));function l(e){return e&&e.__esModule?e:{default:e}}r.default={rsa:i.default,elgamal:s.default,elliptic:a.default,dsa:o.default,nacl:n.default}},{"./dsa":98,"./elgamal":99,"./elliptic":104,"./rsa":108,"tweetnacl/nacl-fast-light.js":72}],107:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=s(e("bn.js")),i=s(e("../random"));function s(e){return e&&e.__esModule?e:{default:e}}async function a(e,t,r){return!(t&&!e.subn(1).gcd(t).eqn(1)||!l(e)||!o(e)||!(await d(e,r)))}function o(e,t){return 0===(t=t||new n.default(2)).toRed(n.default.mont(e)).redPow(e.subn(1)).fromRed().cmpn(1)}function l(e){return c.every(t=>0!==e.modn(t))}r.default={randomProbablePrime:async function(e,t,r){const s=new n.default(1).shln(e-1),o=new n.default(30),l=[1,6,5,4,3,2,1,4,3,2,1,2,1,4,3,2,1,2,1,4,3,2,1,6,5,4,3,2,1,2];let c=await i.default.getRandomBN(s,s.shln(1)),d=c.mod(o).toNumber();do{c.iaddn(l[d]),d=(d+l[d])%l.length,c.bitLength()>e&&(c=c.mod(s.shln(1)).iadd(s),d=c.mod(o).toNumber())}while(!(await a(c,t,r)));return c},isProbablePrime:a,fermat:o,millerRabin:d,divisionTest:l};const c=[7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997,1009,1013,1019,1021,1031,1033,1039,1049,1051,1061,1063,1069,1087,1091,1093,1097,1103,1109,1117,1123,1129,1151,1153,1163,1171,1181,1187,1193,1201,1213,1217,1223,1229,1231,1237,1249,1259,1277,1279,1283,1289,1291,1297,1301,1303,1307,1319,1321,1327,1361,1367,1373,1381,1399,1409,1423,1427,1429,1433,1439,1447,1451,1453,1459,1471,1481,1483,1487,1489,1493,1499,1511,1523,1531,1543,1549,1553,1559,1567,1571,1579,1583,1597,1601,1607,1609,1613,1619,1621,1627,1637,1657,1663,1667,1669,1693,1697,1699,1709,1721,1723,1733,1741,1747,1753,1759,1777,1783,1787,1789,1801,1811,1823,1831,1847,1861,1867,1871,1873,1877,1879,1889,1901,1907,1913,1931,1933,1949,1951,1973,1979,1987,1993,1997,1999,2003,2011,2017,2027,2029,2039,2053,2063,2069,2081,2083,2087,2089,2099,2111,2113,2129,2131,2137,2141,2143,2153,2161,2179,2203,2207,2213,2221,2237,2239,2243,2251,2267,2269,2273,2281,2287,2293,2297,2309,2311,2333,2339,2341,2347,2351,2357,2371,2377,2381,2383,2389,2393,2399,2411,2417,2423,2437,2441,2447,2459,2467,2473,2477,2503,2521,2531,2539,2543,2549,2551,2557,2579,2591,2593,2609,2617,2621,2633,2647,2657,2659,2663,2671,2677,2683,2687,2689,2693,2699,2707,2711,2713,2719,2729,2731,2741,2749,2753,2767,2777,2789,2791,2797,2801,2803,2819,2833,2837,2843,2851,2857,2861,2879,2887,2897,2903,2909,2917,2927,2939,2953,2957,2963,2969,2971,2999,3001,3011,3019,3023,3037,3041,3049,3061,3067,3079,3083,3089,3109,3119,3121,3137,3163,3167,3169,3181,3187,3191,3203,3209,3217,3221,3229,3251,3253,3257,3259,3271,3299,3301,3307,3313,3319,3323,3329,3331,3343,3347,3359,3361,3371,3373,3389,3391,3407,3413,3433,3449,3457,3461,3463,3467,3469,3491,3499,3511,3517,3527,3529,3533,3539,3541,3547,3557,3559,3571,3581,3583,3593,3607,3613,3617,3623,3631,3637,3643,3659,3671,3673,3677,3691,3697,3701,3709,3719,3727,3733,3739,3761,3767,3769,3779,3793,3797,3803,3821,3823,3833,3847,3851,3853,3863,3877,3881,3889,3907,3911,3917,3919,3923,3929,3931,3943,3947,3967,3989,4001,4003,4007,4013,4019,4021,4027,4049,4051,4057,4073,4079,4091,4093,4099,4111,4127,4129,4133,4139,4153,4157,4159,4177,4201,4211,4217,4219,4229,4231,4241,4243,4253,4259,4261,4271,4273,4283,4289,4297,4327,4337,4339,4349,4357,4363,4373,4391,4397,4409,4421,4423,4441,4447,4451,4457,4463,4481,4483,4493,4507,4513,4517,4519,4523,4547,4549,4561,4567,4583,4591,4597,4603,4621,4637,4639,4643,4649,4651,4657,4663,4673,4679,4691,4703,4721,4723,4729,4733,4751,4759,4783,4787,4789,4793,4799,4801,4813,4817,4831,4861,4871,4877,4889,4903,4909,4919,4931,4933,4937,4943,4951,4957,4967,4969,4973,4987,4993,4999];async function d(e,t,r){const s=e.bitLength(),a=n.default.mont(e),o=new n.default(1).toRed(a);t||(t=Math.max(1,s/48|0));const l=e.subn(1),c=l.toRed(a);let d=0;for(;!l.testn(d);)d++;const u=e.shrn(d);for(;t>0;t--){let e,t=(r?r():await i.default.getRandomBN(new n.default(2),l)).toRed(a).redPow(u);if(!t.eq(o)&&!t.eq(c)){for(e=1;ef.generateKeyPair("rsa",t,(t,n,i)=>{t?r(t):e(_.decode(i,"der"))}));return{n:n.modulus,e:n.publicExponent,d:n.privateExponent,p:n.prime2,q:n.prime1,u:n.coefficient}}let a=await i.default.randomProbablePrime(e-(e>>1),r,40),l=await i.default.randomProbablePrime(e>>1,r,40);if(a.cmp(l)<0){var c=[a,l];l=c[0],a=c[1]}const d=l.subn(1).mul(a.subn(1));return{n:l.mul(a),e:r,d:r.invm(d),p:l,q:a,u:l.invm(a)}},validateParams:async function(e,t,r,i,a,o){if(e=new n.default(e),i=new n.default(i),a=new n.default(a),!i.mul(a).eq(e))return!1;const l=new n.default(1),c=new n.default(2);if(o=new n.default(o),!i.mul(o).umod(a).eq(l))return!1;t=new n.default(t),r=new n.default(r);const d=await s.default.getRandomBN(c,c.shln(e.bitLength()/3)),u=d.mul(r).mul(t);return!(!u.umod(i.sub(l)).eq(d)||!u.umod(a.sub(l)).eq(d))},bnSign:async function(e,t,r,i){t=new n.default(t);const s=new n.default(await l.default.emsa.encode(e,i,t.byteLength()),16);if(r=new n.default(r),t.cmp(s)<=0)throw new Error("Message size cannot exceed modulus size");const a=new n.default.red(t);return s.toRed(a).redPow(r).toArrayLike(Uint8Array,"be",t.byteLength())},webSign:async function(e,t,r,i,s,a,l,c){const d=function(e,t,r,i,s,a){const l=new n.default(i),c=new n.default(s),d=new n.default(r);let u=d.mod(c.subn(1)),h=d.mod(l.subn(1));return h=h.toArrayLike(Uint8Array),u=u.toArrayLike(Uint8Array),{kty:"RSA",n:o.default.Uint8Array_to_b64(e,!0),e:o.default.Uint8Array_to_b64(t,!0),d:o.default.Uint8Array_to_b64(r,!0),p:o.default.Uint8Array_to_b64(s,!0),q:o.default.Uint8Array_to_b64(i,!0),dp:o.default.Uint8Array_to_b64(u,!0),dq:o.default.Uint8Array_to_b64(h,!0),qi:o.default.Uint8Array_to_b64(a,!0),ext:!0}}(r,i,s,a,l,c),u={name:"RSASSA-PKCS1-v1_5",hash:{name:e}},f=await h.importKey("jwk",d,u,!1,["sign"]);return new Uint8Array(await h.sign({name:"RSASSA-PKCS1-v1_5",hash:e},f,t))},nodeSign:async function(e,t,r,i,s,a,o,l){const d=new n.default(a),u=new n.default(o),h=new n.default(s),m=h.mod(u.subn(1)),p=h.mod(d.subn(1)),g=f.createSign(c.default.read(c.default.hash,e));g.write(t),g.end();const y={version:0,modulus:new n.default(r),publicExponent:new n.default(i),privateExponent:new n.default(s),prime1:new n.default(o),prime2:new n.default(a),exponent1:m,exponent2:p,coefficient:new n.default(l)};if(void 0!==f.createPrivateKey){const e=_.encode(y,"der");return new Uint8Array(g.sign({key:e,format:"der",type:"pkcs1"}))}const b=_.encode(y,"pem",{label:"RSA PRIVATE KEY"});return new Uint8Array(g.sign(b))},bnVerify:async function(e,t,r,i,s){if(r=new n.default(r),t=new n.default(t),i=new n.default(i),r.cmp(t)<=0)throw new Error("Signature size cannot exceed modulus size");const a=new n.default.red(r),c=t.toRed(a).redPow(i).toArrayLike(Uint8Array,"be",r.byteLength()),d=await l.default.emsa.encode(e,s,r.byteLength());return o.default.Uint8Array_to_hex(c)===d},webVerify:async function(e,t,r,n,i){const s=function(e,t){return{kty:"RSA",n:o.default.Uint8Array_to_b64(e,!0),e:o.default.Uint8Array_to_b64(t,!0),ext:!0}}(n,i),a=await h.importKey("jwk",s,{name:"RSASSA-PKCS1-v1_5",hash:{name:e}},!1,["verify"]);return h.verify({name:"RSASSA-PKCS1-v1_5",hash:e},a,r,t)},nodeVerify:async function(e,t,r,i,s){const a=f.createVerify(c.default.read(c.default.hash,e));a.write(t),a.end();const o={modulus:new n.default(i),publicExponent:new n.default(s)};let l;l=void 0!==f.createPrivateKey?{key:g.encode(o,"der"),format:"der",type:"pkcs1"}:g.encode(o,"pem",{label:"RSA PUBLIC KEY"});try{return await a.verify(l,r)}catch(d){return!1}},nodeEncrypt:async function(e,t,r){const i={modulus:new n.default(t),publicExponent:new n.default(r)};let s;return s=void 0!==f.createPrivateKey?{key:g.encode(i,"der"),format:"der",type:"pkcs1",padding:f.constants.RSA_PKCS1_PADDING}:{key:g.encode(i,"pem",{label:"RSA PUBLIC KEY"}),padding:f.constants.RSA_PKCS1_PADDING},new Uint8Array(f.publicEncrypt(s,e))},bnEncrypt:async function(e,t,r){if(t=new n.default(t),e=(e=new d.default(await l.default.eme.encode(o.default.Uint8Array_to_str(e),t.byteLength()))).toBN(),r=new n.default(r),t.cmp(e)<=0)throw new Error("Message size cannot exceed modulus size");const i=new n.default.red(t);return e.toRed(i).redPow(r).toArrayLike(Uint8Array,"be",t.byteLength())},nodeDecrypt:function(e,t,r,i,s,a,l){const c=new n.default(s),d=new n.default(a),u=new n.default(i),h=u.mod(d.subn(1)),m=u.mod(c.subn(1)),p={version:0,modulus:new n.default(t),publicExponent:new n.default(r),privateExponent:new n.default(i),prime1:new n.default(a),prime2:new n.default(s),exponent1:h,exponent2:m,coefficient:new n.default(l)};let g;return g=void 0!==f.createPrivateKey?{key:_.encode(p,"der"),format:"der",type:"pkcs1",padding:f.constants.RSA_PKCS1_PADDING}:{key:_.encode(p,"pem",{label:"RSA PRIVATE KEY"}),padding:f.constants.RSA_PKCS1_PADDING},o.default.Uint8Array_to_str(f.privateDecrypt(g,e))},bnDecrypt:async function(e,t,r,i,o,c,u){if(e=new n.default(e),t=new n.default(t),r=new n.default(r),i=new n.default(i),o=new n.default(o),c=new n.default(c),u=new n.default(u),t.cmp(e)<=0)throw new Error("Data too large.");const h=i.mod(c.subn(1)),f=i.mod(o.subn(1)),m=new n.default.red(o),p=new n.default.red(c),_=new n.default.red(t);let g,y;a.default.rsa_blinding&&(y=(await s.default.getRandomBN(new n.default(2),t)).toRed(_),g=y.redInvm().redPow(r),e=e.toRed(_).redMul(g).fromRed());const b=e.toRed(m).redPow(f),v=e.toRed(p).redPow(h).redSub(b.fromRed().toRed(p));let w=u.toRed(p).redMul(v).fromRed().mul(o).add(b).toRed(_);return a.default.rsa_blinding&&(w=w.redMul(y)),l.default.eme.decode(new d.default(w).toString())},prime:i.default}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../../config":79,"../../enums":113,"../../type/mpi":155,"../../util":158,"../pkcs1":96,"../random":109,"./prime":107,"asn1.js":"asn1.js","bn.js":16}],109:[function(e,t,r){(function(t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=i(e("bn.js"));function i(e){return e&&e.__esModule?e:{default:e}}const s=i(e("../util")).default.detectNode()&&e("crypto");function a(){this.buffer=null,this.size=null,this.callback=null}r.default={getRandomBytes:async function(e){const r=new Uint8Array(e);if("undefined"!=typeof crypto&&crypto.getRandomValues)crypto.getRandomValues(r);else if(void 0!==t&&"object"==typeof t.msCrypto&&"function"==typeof t.msCrypto.getRandomValues)t.msCrypto.getRandomValues(r);else if(s){const e=s.randomBytes(r.length);r.set(e)}else{if(!this.randomBuffer.buffer)throw new Error("No secure random number generator available.");await this.randomBuffer.get(r)}return r},getRandomBN:async function(e,t){if(t.cmp(e)<=0)throw new Error("Illegal parameter value: max <= min");const r=t.sub(e),i=r.byteLength();return new n.default(await this.getRandomBytes(i+8)).mod(r).add(e)},randomBuffer:new a},a.prototype.init=function(e,t){this.buffer=new Uint8Array(e),this.size=0,this.callback=t},a.prototype.set=function(e){if(!this.buffer)throw new Error("RandomBuffer is not initialized");if(!(e instanceof Uint8Array))throw new Error("Invalid type: buf not an Uint8Array");const t=this.buffer.length-this.size;e.length>t&&(e=e.subarray(0,t)),this.buffer.set(e,this.size),this.size+=e.length},a.prototype.get=async function(e){if(!this.buffer)throw new Error("RandomBuffer is not initialized");if(!(e instanceof Uint8Array))throw new Error("Invalid type: buf not an Uint8Array");if(this.size{const r=f?Math.floor(e.length/4):0,n=new Uint32Array(e.buffer,e.byteOffset,r);for(let i=0;i>24&255]^h[1][t>>16&255]^h[2][t>>8&255]^h[3][t>>0&255];for(let i=4*r;i>8^h[0][255&t^e[i]]},()=>new Uint8Array([t,t>>8,t>>16]))}(e);return i.default.encode(t)}const h=[new Array(255),new Array(255),new Array(255),new Array(255)];for(let _=0;_<=255;_++){let e=_<<16;for(let t=0;t<8;t++)e=e<<1^(0!=(8388608&e)?8801531:0);h[0][_]=(16711680&e)>>16|65280&e|(255&e)<<16}for(let _=0;_<=255;_++)h[1][_]=h[0][_]>>8^h[0][255&h[0][_]];for(let _=0;_<=255;_++)h[2][_]=h[1][_]>>8^h[0][255&h[1][_]];for(let _=0;_<=255;_++)h[3][_]=h[2][_]>>8^h[0][255&h[2][_]];const f=function(){const e=new ArrayBuffer(2);return new DataView(e).setInt16(0,255,!0),255===new Int16Array(e)[0]}();function m(e){for(let t=0;t=0&&n!==e.length-1&&(t=e.slice(0,n),r=e.slice(n+1).substr(0,4)),{body:t,checksum:r}}r.default={encode:function(e,t,r,a,l){let c,h;e===s.default.armor.signed&&(c=t.text,h=t.hash,t=t.data);const f=n.default.passiveClone(t),m=[];switch(e){case s.default.armor.multipart_section:m.push("-----BEGIN PGP MESSAGE, PART "+r+"/"+a+"-----\r\n"),m.push(d(l)),m.push(i.default.encode(t)),m.push("=",u(f)),m.push("-----END PGP MESSAGE, PART "+r+"/"+a+"-----\r\n");break;case s.default.armor.multipart_last:m.push("-----BEGIN PGP MESSAGE, PART "+r+"-----\r\n"),m.push(d(l)),m.push(i.default.encode(t)),m.push("=",u(f)),m.push("-----END PGP MESSAGE, PART "+r+"-----\r\n");break;case s.default.armor.signed:m.push("\r\n-----BEGIN PGP SIGNED MESSAGE-----\r\n"),m.push("Hash: "+h+"\r\n\r\n"),m.push(c.replace(/^-/gm,"- -")),m.push("\r\n-----BEGIN PGP SIGNATURE-----\r\n"),m.push(d(l)),m.push(i.default.encode(t)),m.push("=",u(f)),m.push("-----END PGP SIGNATURE-----\r\n");break;case s.default.armor.message:m.push("-----BEGIN PGP MESSAGE-----\r\n"),m.push(d(l)),m.push(i.default.encode(t)),m.push("=",u(f)),m.push("-----END PGP MESSAGE-----\r\n");break;case s.default.armor.public_key:m.push("-----BEGIN PGP PUBLIC KEY BLOCK-----\r\n"),m.push(d(l)),m.push(i.default.encode(t)),m.push("=",u(f)),m.push("-----END PGP PUBLIC KEY BLOCK-----\r\n");break;case s.default.armor.private_key:m.push("-----BEGIN PGP PRIVATE KEY BLOCK-----\r\n"),m.push(d(l)),m.push(i.default.encode(t)),m.push("=",u(f)),m.push("-----END PGP PRIVATE KEY BLOCK-----\r\n");break;case s.default.armor.signature:m.push("-----BEGIN PGP SIGNATURE-----\r\n"),m.push(d(l)),m.push(i.default.encode(t)),m.push("=",u(f)),m.push("-----END PGP SIGNATURE-----\r\n")}return o.default.concat(m)},decode:function(e){return new Promise(async(t,r)=>{try{const s=/^-----[^-]+-----$/m,l=/^[ \f\r\t\u00a0\u2000-\u200a\u202f\u205f\u3000]*$/;let d;const h=[];let f,_,g,y=h,b=[],v=i.default.decode(n.default.transformPair(e,async(e,i)=>{const a=n.default.getReader(e);try{for(;;){let e=await a.readLine();if(void 0===e)throw new Error("Misformed armored text");if(e=o.default.removeTrailingSpaces(e.replace(/[\r\n]/g,"")),d)if(f)_||2!==d||(s.test(e)?(b=b.join("\r\n"),_=!0,m(y),y=[],f=!1):b.push(e.replace(/^- /,"")));else if(s.test(e)&&r(new Error("Mandatory blank line missing between armor headers and armor data")),l.test(e)){if(m(y),f=!0,_||2!==d){t({text:b,data:v,headers:h,type:d});break}}else y.push(e);else s.test(e)&&(d=c(e))}}catch(k){return void r(k)}const u=n.default.getWriter(i);try{for(;;){await u.ready;var w=await a.read();const e=w.value;if(w.done)throw new Error("Misformed armored text");const t=e+"";if(-1!==t.indexOf("=")||-1!==t.indexOf("-")){let e=await a.readToEnd();e.length||(e=""),e=t+e,e=o.default.removeTrailingSpaces(e.replace(/\r/g,""));const r=e.split(s);if(1===r.length)throw new Error("Misformed armored text");const n=p(r[0].slice(0,-1));g=n.checksum,await u.write(n.body);break}await u.write(t)}await u.ready,await u.close()}catch(k){await u.abort(k)}}));v=n.default.transformPair(v,async(e,t)=>{const r=n.default.readToEnd(u(n.default.passiveClone(e)));r.catch(()=>{}),await n.default.pipe(e,t,{preventClose:!0});const i=n.default.getWriter(t);try{const e=(await r).replace("\r\n","");if(g!==e&&(g||a.default.checksum_required))throw new Error("Ascii armor integrity check on message failed: '"+g+"' should be '"+e+"'");await i.ready,await i.close()}catch(s){await i.abort(s)}})}catch(s){r(s)}})}}},{"../config":79,"../enums.js":113,"../util":158,"./base64.js":112,"web-stream-tools":75}],112:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=s(e("web-stream-tools")),i=s(e("../util"));function s(e){return e&&e.__esModule?e:{default:e}}const a=i.default.getNodeBuffer();let o,l;a?(o=e=>a.from(e).toString("base64"),l=e=>{const t=a.from(e,"base64");return new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}):(o=e=>btoa(i.default.Uint8Array_to_str(e)),l=e=>i.default.str_to_Uint8Array(atob(e))),r.default={encode:function(e){let t=new Uint8Array;return n.default.transform(e,e=>{t=i.default.concatUint8Array([t,e]);const r=[],n=Math.floor(t.length/45),s=45*n,a=o(t.subarray(0,s));for(let t=0;tt.length?o(t)+"\r\n":"")},decode:function(e){let t="";return n.default.transform(e,e=>{t+=e;let r=0;const n=[" ","\t","\r","\n"];for(let a=0;a0&&(i-r)%4!=0;i--)n.includes(t[i])&&r--;const s=l(t.substr(0,i));return t=t.substr(i),s},()=>l(t))}}},{"../util":158,"web-stream-tools":75}],113:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});const n=Symbol("byValue");r.default={curve:{p256:"p256","P-256":"p256",secp256r1:"p256",prime256v1:"p256","1.2.840.10045.3.1.7":"p256","2a8648ce3d030107":"p256","2A8648CE3D030107":"p256",p384:"p384","P-384":"p384",secp384r1:"p384","1.3.132.0.34":"p384","2b81040022":"p384","2B81040022":"p384",p521:"p521","P-521":"p521",secp521r1:"p521","1.3.132.0.35":"p521","2b81040023":"p521","2B81040023":"p521",secp256k1:"secp256k1","1.3.132.0.10":"secp256k1","2b8104000a":"secp256k1","2B8104000A":"secp256k1",ED25519:"ed25519",ed25519:"ed25519",Ed25519:"ed25519","1.3.6.1.4.1.11591.15.1":"ed25519","2b06010401da470f01":"ed25519","2B06010401DA470F01":"ed25519",X25519:"curve25519",cv25519:"curve25519",curve25519:"curve25519",Curve25519:"curve25519","1.3.6.1.4.1.3029.1.5.1":"curve25519","2b060104019755010501":"curve25519","2B060104019755010501":"curve25519",brainpoolP256r1:"brainpoolP256r1","1.3.36.3.3.2.8.1.1.7":"brainpoolP256r1","2b2403030208010107":"brainpoolP256r1","2B2403030208010107":"brainpoolP256r1",brainpoolP384r1:"brainpoolP384r1","1.3.36.3.3.2.8.1.1.11":"brainpoolP384r1","2b240303020801010b":"brainpoolP384r1","2B240303020801010B":"brainpoolP384r1",brainpoolP512r1:"brainpoolP512r1","1.3.36.3.3.2.8.1.1.13":"brainpoolP512r1","2b240303020801010d":"brainpoolP512r1","2B240303020801010D":"brainpoolP512r1"},s2k:{simple:0,salted:1,iterated:3,gnu:101},publicKey:{rsa_encrypt_sign:1,rsa_encrypt:2,rsa_sign:3,elgamal:16,dsa:17,ecdh:18,ecdsa:19,eddsa:22,aedh:23,aedsa:24},symmetric:{plaintext:0,idea:1,"3des":2,tripledes:2,cast5:3,blowfish:4,aes128:7,aes192:8,aes256:9,twofish:10},compression:{uncompressed:0,zip:1,zlib:2,bzip2:3},hash:{md5:1,sha1:2,ripemd:3,sha256:8,sha384:9,sha512:10,sha224:11},webHash:{"SHA-1":2,"SHA-256":8,"SHA-384":9,"SHA-512":10},aead:{eax:1,ocb:2,experimental_gcm:100},packet:{publicKeyEncryptedSessionKey:1,signature:2,symEncryptedSessionKey:3,onePassSignature:4,secretKey:5,publicKey:6,secretSubkey:7,compressed:8,symmetricallyEncrypted:9,marker:10,literal:11,trust:12,userid:13,publicSubkey:14,userAttribute:17,symEncryptedIntegrityProtected:18,modificationDetectionCode:19,symEncryptedAEADProtected:20},literal:{binary:"b".charCodeAt(),text:"t".charCodeAt(),utf8:"u".charCodeAt(),mime:"m".charCodeAt()},signature:{binary:0,text:1,standalone:2,cert_generic:16,cert_persona:17,cert_casual:18,cert_positive:19,cert_revocation:48,subkey_binding:24,key_binding:25,key:31,key_revocation:32,subkey_revocation:40,timestamp:64,third_party:80},signatureSubpacket:{signature_creation_time:2,signature_expiration_time:3,exportable_certification:4,trust_signature:5,regular_expression:6,revocable:7,key_expiration_time:9,placeholder_backwards_compatibility:10,preferred_symmetric_algorithms:11,revocation_key:12,issuer:16,notation_data:20,preferred_hash_algorithms:21,preferred_compression_algorithms:22,key_server_preferences:23,preferred_key_server:24,primary_user_id:25,policy_uri:26,key_flags:27,signers_user_id:28,reason_for_revocation:29,features:30,signature_target:31,embedded_signature:32,issuer_fingerprint:33,preferred_aead_algorithms:34},keyFlags:{certify_keys:1,sign_data:2,encrypt_communication:4,encrypt_storage:8,split_private_key:16,authentication:32,shared_private_key:128},armor:{multipart_section:0,multipart_last:1,signed:2,message:3,public_key:4,private_key:5,signature:6},reasonForRevocation:{no_reason:0,key_superseded:1,key_compromised:2,key_retired:3,userid_invalid:32},features:{modification_detection:1,aead:2,v5_keys:4},write:function(e,t){if("number"==typeof t&&(t=this.read(e,t)),void 0!==e[t])return e[t];throw new Error("Invalid enum value.")},read:function(e,t){if(e[n]||(e[n]=[],Object.entries(e).forEach(([t,r])=>{e[n][r]=t})),void 0!==e[n][t])return e[n][t];throw new Error("Invalid enum value.")}}},{}],114:[function(e,t,r){(function(t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n,i=(n=e("./config"))&&n.__esModule?n:{default:n};function s(r){this._baseUrl=r||i.default.keyserver,this._fetch="function"==typeof t.fetch?t.fetch:e("node-fetch")}s.prototype.lookup=function(e){let t=this._baseUrl+"/pks/lookup?op=get&options=mr&search=";const r=this._fetch;if(e.keyId)t+="0x"+encodeURIComponent(e.keyId);else{if(!e.query)throw new Error("You must provide a query parameter!");t+=encodeURIComponent(e.query)}return r(t).then((function(e){if(200===e.status)return e.text()})).then((function(e){if(e&&!(e.indexOf("-----END PGP PUBLIC KEY BLOCK-----")<0))return e.trim()}))},s.prototype.upload=function(e){return(0,this._fetch)(this._baseUrl+"/pks/add",{method:"post",headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},body:"keytext="+encodeURIComponent(e)})},r.default=s}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./config":79,"node-fetch":"node-fetch"}],115:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.lightweight=r.WKD=r.HKP=r.AsyncProxy=r.Keyring=r.crypto=r.config=r.enums=r.armor=r.stream=r.OID=r.KDFParams=r.ECDHSymmetricKey=r.Keyid=r.S2K=r.MPI=r.packet=r.util=r.cleartext=r.message=r.signature=r.key=r.destroyWorker=r.getWorker=r.initWorker=r.decryptSessionKeys=r.encryptSessionKey=r.decryptKey=r.revokeKey=r.reformatKey=r.generateKey=r.verify=r.sign=r.decrypt=r.encrypt=void 0;var n=e("./openpgp");Object.defineProperty(r,"encrypt",{enumerable:!0,get:function(){return n.encrypt}}),Object.defineProperty(r,"decrypt",{enumerable:!0,get:function(){return n.decrypt}}),Object.defineProperty(r,"sign",{enumerable:!0,get:function(){return n.sign}}),Object.defineProperty(r,"verify",{enumerable:!0,get:function(){return n.verify}}),Object.defineProperty(r,"generateKey",{enumerable:!0,get:function(){return n.generateKey}}),Object.defineProperty(r,"reformatKey",{enumerable:!0,get:function(){return n.reformatKey}}),Object.defineProperty(r,"revokeKey",{enumerable:!0,get:function(){return n.revokeKey}}),Object.defineProperty(r,"decryptKey",{enumerable:!0,get:function(){return n.decryptKey}}),Object.defineProperty(r,"encryptSessionKey",{enumerable:!0,get:function(){return n.encryptSessionKey}}),Object.defineProperty(r,"decryptSessionKeys",{enumerable:!0,get:function(){return n.decryptSessionKeys}}),Object.defineProperty(r,"initWorker",{enumerable:!0,get:function(){return n.initWorker}}),Object.defineProperty(r,"getWorker",{enumerable:!0,get:function(){return n.getWorker}}),Object.defineProperty(r,"destroyWorker",{enumerable:!0,get:function(){return n.destroyWorker}});var i=e("./util");Object.defineProperty(r,"util",{enumerable:!0,get:function(){return L(i).default}});var s=e("./packet");Object.defineProperty(r,"packet",{enumerable:!0,get:function(){return L(s).default}});var a=e("./type/mpi");Object.defineProperty(r,"MPI",{enumerable:!0,get:function(){return L(a).default}});var o=e("./type/s2k");Object.defineProperty(r,"S2K",{enumerable:!0,get:function(){return L(o).default}});var l=e("./type/keyid");Object.defineProperty(r,"Keyid",{enumerable:!0,get:function(){return L(l).default}});var c=e("./type/ecdh_symkey");Object.defineProperty(r,"ECDHSymmetricKey",{enumerable:!0,get:function(){return L(c).default}});var d=e("./type/kdf_params");Object.defineProperty(r,"KDFParams",{enumerable:!0,get:function(){return L(d).default}});var u=e("./type/oid");Object.defineProperty(r,"OID",{enumerable:!0,get:function(){return L(u).default}});var h=e("web-stream-tools");Object.defineProperty(r,"stream",{enumerable:!0,get:function(){return L(h).default}});var f=e("./encoding/armor");Object.defineProperty(r,"armor",{enumerable:!0,get:function(){return L(f).default}});var m=e("./enums");Object.defineProperty(r,"enums",{enumerable:!0,get:function(){return L(m).default}});var p=e("./config/config");Object.defineProperty(r,"config",{enumerable:!0,get:function(){return L(p).default}});var _=e("./crypto");Object.defineProperty(r,"crypto",{enumerable:!0,get:function(){return L(_).default}});var g=e("./keyring");Object.defineProperty(r,"Keyring",{enumerable:!0,get:function(){return L(g).default}});var y=e("./worker/async_proxy");Object.defineProperty(r,"AsyncProxy",{enumerable:!0,get:function(){return L(y).default}});var b=e("./hkp");Object.defineProperty(r,"HKP",{enumerable:!0,get:function(){return L(b).default}});var v=e("./wkd");Object.defineProperty(r,"WKD",{enumerable:!0,get:function(){return L(v).default}});var w=D(n),k=D(e("./key")),M=D(e("./signature")),S=D(e("./message")),x=D(e("./cleartext")),C=D(e("./lightweight_helper"));function D(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function L(e){return e&&e.__esModule?e:{default:e}}r.default=w,r.key=k,r.signature=M,r.message=S,r.cleartext=x,r.lightweight=C},{"./cleartext":77,"./config/config":78,"./crypto":94,"./encoding/armor":111,"./enums":113,"./hkp":114,"./key":118,"./keyring":122,"./lightweight_helper":125,"./message":126,"./openpgp":127,"./packet":131,"./signature":151,"./type/ecdh_symkey":152,"./type/kdf_params":153,"./type/keyid":154,"./type/mpi":155,"./type/oid":156,"./type/s2k":157,"./util":158,"./wkd":159,"./worker/async_proxy":160,"web-stream-tools":75}],116:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.generate=async function(e){e.sign=!0,(e=s.sanitizeKeyOptions(e)).subkeys=e.subkeys.map((function(t,r){return s.sanitizeKeyOptions(e.subkeys[r],e)}));let t=[s.generateSecretKey(e)];return t=t.concat(e.subkeys.map(s.generateSecretSubkey)),Promise.all(t).then(t=>u(t[0],t.slice(1),e))},r.reformat=async function(e){e=i(e);try{e.privateKey.getKeys().every(e=>e.isDecrypted())||await e.privateKey.decrypt()}catch(s){throw new Error("Key not decrypted")}const t=e.privateKey.toPacketlist();let r;const n=[];for(let o=0;o({sign:await e.privateKey.getSigningKey(t.getKeyId(),null).catch(()=>{})&&!(await e.privateKey.getEncryptionKey(t.getKeyId(),null).catch(()=>{}))})))),e.subkeys.length!==n.length)throw new Error("Number of subkey options does not match number of subkeys");return e.subkeys=e.subkeys.map((function(t,r){return i(e.subkeys[r],e)})),u(r,n,e);function i(e,t={}){return e.keyExpirationTime=e.keyExpirationTime||t.keyExpirationTime,e.passphrase=o.default.isString(e.passphrase)?e.passphrase:t.passphrase,e.date=e.date||t.date,e}},r.read=h,r.readArmored=async function(e){try{const t=await c.default.decode(e);if(t.type!==a.default.armor.public_key&&t.type!==a.default.armor.private_key)throw new Error("Armored text not of type key");return h(t.data)}catch(t){const e={keys:[],err:[]};return e.err.push(t),e}};var n=d(e("../packet")),i=d(e("./key")),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(e("./helper")),a=d(e("../enums")),o=d(e("../util")),l=d(e("../config")),c=d(e("../encoding/armor"));function d(e){return e&&e.__esModule?e:{default:e}}async function u(e,t,r){r.passphrase&&await e.encrypt(r.passphrase),await Promise.all(t.map((async function(e,t){const n=r.subkeys[t].passphrase;n&&await e.encrypt(n)})));const o=new n.default.List;o.push(e),await Promise.all(r.userIds.map((async function(t,i){function o(e,t){if(t){const r=e.indexOf(t);r>=1&&e.splice(r,1),0!==r&&e.unshift(t)}return e}const c=new n.default.Userid;c.format(t);const d={};d.userId=c,d.key=e;const u=new n.default.Signature(r.date);return u.signatureType=a.default.signature.cert_generic,u.publicKeyAlgorithm=e.algorithm,u.hashAlgorithm=await s.getPreferredHashAlgo(null,e),u.keyFlags=[a.default.keyFlags.certify_keys|a.default.keyFlags.sign_data],u.preferredSymmetricAlgorithms=o([a.default.symmetric.aes256,a.default.symmetric.aes128,a.default.symmetric.aes192,a.default.symmetric.cast5,a.default.symmetric.tripledes],l.default.encryption_cipher),l.default.aead_protect&&(u.preferredAeadAlgorithms=o([a.default.aead.eax,a.default.aead.ocb],l.default.aead_mode)),u.preferredHashAlgorithms=o([a.default.hash.sha256,a.default.hash.sha512,a.default.hash.sha1],l.default.prefer_hash_algorithm),u.preferredCompressionAlgorithms=o([a.default.compression.zlib,a.default.compression.zip,a.default.compression.uncompressed],l.default.compression),0===i&&(u.isPrimaryUserID=!0),l.default.integrity_protect&&(u.features=[0],u.features[0]|=a.default.features.modification_detection),l.default.aead_protect&&(u.features||(u.features=[0]),u.features[0]|=a.default.features.aead),l.default.v5_keys&&(u.features||(u.features=[0]),u.features[0]|=a.default.features.v5_keys),r.keyExpirationTime>0&&(u.keyExpirationTime=r.keyExpirationTime,u.keyNeverExpires=!1),await u.sign(e,d),{userIdPacket:c,signaturePacket:u}}))).then(e=>{e.forEach(({userIdPacket:e,signaturePacket:t})=>{o.push(e),o.push(t)})}),await Promise.all(t.map((async function(t,n){const i=r.subkeys[n];return{secretSubkeyPacket:t,subkeySignaturePacket:await s.createBindingSignature(t,e,i)}}))).then(e=>{e.forEach(({secretSubkeyPacket:e,subkeySignaturePacket:t})=>{o.push(e),o.push(t)})});const c={key:e};return o.push(await s.createSignaturePacket(c,null,e,{signatureType:a.default.signature.key_revocation,reasonForRevocationFlag:a.default.reasonForRevocation.no_reason,reasonForRevocationString:""},r.date)),r.passphrase&&e.clearPrivateParams(),await Promise.all(t.map((async function(e,t){r.subkeys[t].passphrase&&e.clearPrivateParams()}))),new i.default(o)}async function h(e){const t={keys:[]},r=[];try{const o=new n.default.List;await o.read(e);const l=o.indexOfTag(a.default.packet.publicKey,a.default.packet.secretKey);if(0===l.length)throw new Error("No key packet found");for(let e=0;e=0;i--)try{a&&!(e[i].created>=a.created)||e[i].isExpired(s)||!e[i].verified&&!(await e[i].verify(t,r,n))||(a=e[i])}catch(c){l=c}if(!a)throw o.default.wrapError(`Could not find valid ${i.default.read(i.default.signature,r)} signature in key ${t.getKeyId().toHex()}`.replace("cert_generic ","self-").replace("_"," "),l);return a},r.isDataExpired=function(e,t,r=new Date){const n=o.default.normalizeDate(r);if(null!==n){const i=u(e,t);return!(e.created<=n&&n<=i)||t&&t.isExpired(r)}return!1},r.createBindingSignature=async function(e,t,r){const s={};s.key=t,s.bind=e;const a=new n.default.Signature(r.date);return a.signatureType=i.default.signature.subkey_binding,a.publicKeyAlgorithm=t.algorithm,a.hashAlgorithm=await c(null,e),r.sign?(a.keyFlags=[i.default.keyFlags.sign_data],a.embeddedSignature=await d(s,null,e,{signatureType:i.default.signature.key_binding},r.date)):a.keyFlags=[i.default.keyFlags.encrypt_communication|i.default.keyFlags.encrypt_storage],r.keyExpirationTime>0&&(a.keyExpirationTime=r.keyExpirationTime,a.keyNeverExpires=!1),await a.sign(t,s),a},r.getPreferredHashAlgo=c,r.getPreferredAlgo=async function(e,t,r=new Date,n=[]){const s="symmetric"===e?"preferredSymmetricAlgorithms":"preferredAeadAlgorithms",a="symmetric"===e?i.default.symmetric.aes128:i.default.aead.eax,o={};await Promise.all(t.map((async function(e,t){const i=await e.getPrimaryUser(r,n[t]);if(!i.selfCertification[s])return a;i.selfCertification[s].forEach((function(e,t){const r=o[e]||(o[e]={prio:0,count:0,algo:e});r.prio+=64>>t,r.count++}))})));let l={prio:0,algo:a};return Object.values(o).forEach(({prio:r,count:n,algo:s})=>{try{s!==i.default[e].plaintext&&s!==i.default[e].idea&&i.default.read(i.default[e],s)&&n===t.length&&r>l.prio&&(l=o[s])}catch(a){}}),l.algo},r.createSignaturePacket=d,r.mergeSignatures=async function(e,t,r,n){(e=e[r])&&(t[r].length?await Promise.all(e.map((async function(e){e.isExpired()||n&&!(await n(e))||t[r].some((function(t){return o.default.equalsUint8Array(t.signature,e.signature)}))||t[r].push(e)}))):t[r]=e)},r.isDataRevoked=async function(e,t,r,n,i,a,l=new Date){a=a||e;const c=o.default.normalizeDate(l),d=[];return await Promise.all(n.map((async function(e){try{i&&!e.issuerKeyId.equals(i.issuerKeyId)||s.default.revocations_expire&&e.isExpired(c)||!e.verified&&!(await e.verify(a,t,r))||d.push(e.issuerKeyId)}catch(n){}}))),i?(i.revoked=!!d.some(e=>e.equals(i.issuerKeyId))||i.revoked||!1,i.revoked):d.length>0},r.getExpirationTime=u,r.isAeadSupported=async function(e,t=new Date,r=[]){let n=!0;return await Promise.all(e.map((async function(e,s){const a=await e.getPrimaryUser(t,r[s]);a.selfCertification.features&&a.selfCertification.features[0]&i.default.features.aead||(n=!1)}))),n},r.sanitizeKeyOptions=function(e,t={}){if(e.curve=e.curve||t.curve,e.rsaBits=e.rsaBits||t.rsaBits,e.keyExpirationTime=void 0!==e.keyExpirationTime?e.keyExpirationTime:t.keyExpirationTime,e.passphrase=o.default.isString(e.passphrase)?e.passphrase:t.passphrase,e.date=e.date||t.date,e.sign=e.sign||!1,e.curve){try{e.curve=i.default.write(i.default.curve,e.curve)}catch(r){throw new Error("Not valid curve.")}e.curve!==i.default.curve.ed25519&&e.curve!==i.default.curve.curve25519||(e.curve=e.sign?i.default.curve.ed25519:i.default.curve.curve25519),e.algorithm=e.sign?e.curve===i.default.curve.ed25519?i.default.publicKey.eddsa:i.default.publicKey.ecdsa:i.default.publicKey.ecdh}else{if(!e.rsaBits)throw new Error("Unrecognized key type");e.algorithm=i.default.publicKey.rsa_encrypt_sign}return e},r.isValidSigningKeyPacket=function(e,t){if(!t.verified||!1!==t.revoked)throw new Error("Signature not verified");return e.algorithm!==i.default.read(i.default.publicKey,i.default.publicKey.rsa_encrypt)&&e.algorithm!==i.default.read(i.default.publicKey,i.default.publicKey.elgamal)&&e.algorithm!==i.default.read(i.default.publicKey,i.default.publicKey.ecdh)&&(!t.keyFlags||0!=(t.keyFlags[0]&i.default.keyFlags.sign_data))},r.isValidEncryptionKeyPacket=function(e,t){if(!t.verified||!1!==t.revoked)throw new Error("Signature not verified");return e.algorithm!==i.default.read(i.default.publicKey,i.default.publicKey.dsa)&&e.algorithm!==i.default.read(i.default.publicKey,i.default.publicKey.rsa_sign)&&e.algorithm!==i.default.read(i.default.publicKey,i.default.publicKey.ecdsa)&&e.algorithm!==i.default.read(i.default.publicKey,i.default.publicKey.eddsa)&&(!t.keyFlags||0!=(t.keyFlags[0]&i.default.keyFlags.encrypt_communication)||0!=(t.keyFlags[0]&i.default.keyFlags.encrypt_storage))},r.isValidDecryptionKeyPacket=function(e){if(!e.verified)throw new Error("Signature not verified");return!!s.default.allow_insecure_decryption_with_signing_keys||!e.keyFlags||0!=(e.keyFlags[0]&i.default.keyFlags.encrypt_communication)||0!=(e.keyFlags[0]&i.default.keyFlags.encrypt_storage)};var n=l(e("../packet")),i=l(e("../enums")),s=l(e("../config")),a=l(e("../crypto")),o=l(e("../util"));function l(e){return e&&e.__esModule?e:{default:e}}async function c(e,t,r=new Date,i={}){let o=s.default.prefer_hash_algorithm,l=o;if(e){const t=await e.getPrimaryUser(r,i);t.selfCertification.preferredHashAlgorithms&&(l=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,s=void 0;try{for(var a,o=e[Symbol.iterator]();!(n=(a=o.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(l){i=!0,s=l}finally{try{!n&&o.return&&o.return()}finally{if(i)throw s}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(t.selfCertification.preferredHashAlgorithms,1)[0],o=a.default.hash.getHashByteLength(o)<=a.default.hash.getHashByteLength(l)?l:o)}switch(Object.getPrototypeOf(t)){case n.default.SecretKey.prototype:case n.default.PublicKey.prototype:case n.default.SecretSubkey.prototype:case n.default.PublicSubkey.prototype:switch(t.algorithm){case"ecdh":case"ecdsa":case"eddsa":l=a.default.publicKey.elliptic.getPreferredHashAlgo(t.params[0])}}return a.default.hash.getHashByteLength(o)<=a.default.hash.getHashByteLength(l)?l:o}async function d(e,t,r,i,s,a,o=!1,l=!1){if(!r.isDecrypted())throw new Error("Private key is not decrypted.");const d=new n.default.Signature(s);return Object.assign(d,i),d.publicKeyAlgorithm=r.algorithm,d.hashAlgorithm=await c(t,r,s,a),await d.sign(r,e,o,l),d}function u(e,t){let r;return!1===t.keyNeverExpires&&(r=e.created.getTime()+1e3*t.keyExpirationTime),r?new Date(r):1/0}},{"../config":79,"../crypto":94,"../enums":113,"../packet":131,"../util":158}],118:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Key=r.createSignaturePacket=r.getPreferredHashAlgo=r.isAeadSupported=r.getPreferredAlgo=r.reformat=r.read=r.generate=r.readArmored=void 0;var n,i=e("./factory"),s=e("./helper"),a=(n=e("./key.js"))&&n.__esModule?n:{default:n};r.readArmored=i.readArmored,r.generate=i.generate,r.read=i.read,r.reformat=i.reformat,r.getPreferredAlgo=s.getPreferredAlgo,r.isAeadSupported=s.isAeadSupported,r.getPreferredHashAlgo=s.getPreferredHashAlgo,r.createSignaturePacket=s.createSignaturePacket,r.Key=a.default},{"./factory":116,"./helper":117,"./key.js":119}],119:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=u;var n=d(e("../encoding/armor")),i=d(e("../packet")),s=d(e("../enums")),a=d(e("../util")),o=d(e("./user")),l=d(e("./subkey")),c=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(e("./helper"));function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if(!(this instanceof u))return new u(e);if(this.keyPacket=null,this.revocationSignatures=[],this.directSignatures=[],this.users=[],this.subKeys=[],this.packetlist2structure(e),!this.keyPacket||!this.users.length)throw new Error("Invalid key: need at least key and user ID packet")}Object.defineProperty(u.prototype,"primaryKey",{get(){return this.keyPacket},configurable:!0,enumerable:!0}),u.prototype.packetlist2structure=function(e){let t,r,n;for(let i=0;ie.concat(t.toPacketlist())),this.subKeys.map(t=>e.concat(t.toPacketlist())),e},u.prototype.getSubkeys=function(e=null){const t=[];return this.subKeys.forEach(r=>{e&&!r.getKeyId().equals(e,!0)||t.push(r)}),t},u.prototype.getKeys=function(e=null){const t=[];return e&&!this.getKeyId().equals(e,!0)||t.push(this),t.concat(this.getSubkeys(e))},u.prototype.getKeyIds=function(){return this.getKeys().map(e=>e.getKeyId())},u.prototype.getUserIds=function(){return this.users.map(e=>e.userId?e.userId.userid:null).filter(e=>null!==e)},u.prototype.isPublic=function(){return this.keyPacket.tag===s.default.packet.publicKey},u.prototype.isPrivate=function(){return this.keyPacket.tag===s.default.packet.secretKey},u.prototype.toPublic=function(){const e=new i.default.List,t=this.toPacketlist();let r,n,a;for(let o=0;ot.keyPacket.created-e.keyPacket.created);let o;for(let a=0;at.keyPacket.created-e.keyPacket.created);let o;for(let a=0;a!0===e)},u.prototype.validate=async function(){if(!this.isPrivate())throw new Error("Cannot validate a public key");let e;if(this.primaryKey.isDummy()){const t=await this.getSigningKey(null,null);t&&!t.keyPacket.isDummy()&&(e=t.keyPacket)}else e=this.primaryKey;if(e)return e.validate();{const e=this.getKeys();if(e.map(e=>e.keyPacket.isDummy()).every(Boolean))throw new Error("Cannot validate an all-gnu-dummy key");return Promise.all(e.map(async e=>e.keyPacket.validate()))}},u.prototype.clearPrivateParams=function(){if(!this.isPrivate())throw new Error("Can't clear private parameters of a public key");this.getKeys().forEach(({keyPacket:e})=>{e.isDecrypted()&&e.clearPrivateParams()})},u.prototype.isRevoked=async function(e,t,r=new Date){return c.isDataRevoked(this.keyPacket,s.default.signature.key_revocation,{key:this.keyPacket},this.revocationSignatures,e,t,r)},u.prototype.verifyPrimaryKey=async function(e=new Date,t={}){const r=this.keyPacket;if(await this.isRevoked(null,null,e))throw new Error("Primary key is revoked");if(!this.users.some(e=>e.userId&&e.selfCertifications.length))throw new Error("No self-certifications");var n=await this.getPrimaryUser(e,t);if(c.isDataExpired(r,n.selfCertification,e))throw new Error("Primary key is expired")},u.prototype.getExpirationTime=async function(e,t,r){const n=(await this.getPrimaryUser(null,r)).selfCertification,i=c.getExpirationTime(this.keyPacket,n),s=n.getExpirationTime();let a=i{})||await this.getEncryptionKey(t,null,r).catch(()=>{});if(!e)return null;const n=await e.getExpirationTime(this.keyPacket);n{})||await this.getSigningKey(t,null,r).catch(()=>{});if(!e)return null;const n=await e.getExpirationTime(this.keyPacket);ne.subKeys.some(e=>t.hasSameFingerprintAs(e))))throw new Error("Cannot update public key with private key if subkey mismatch");this.keyPacket=e.keyPacket}await c.mergeSignatures(e,this,"revocationSignatures",t=>c.isDataRevoked(this.keyPacket,s.default.signature.key_revocation,this,[t],null,e.keyPacket)),await c.mergeSignatures(e,this,"directSignatures"),await Promise.all(e.users.map(async e=>{let t=!1;await Promise.all(this.users.map(async r=>{(e.userId&&r.userId&&e.userId.userid===r.userId.userid||e.userAttribute&&e.userAttribute.equals(r.userAttribute))&&(await r.update(e,this.keyPacket),t=!0)})),t||this.users.push(e)})),await Promise.all(e.subKeys.map(async e=>{let t=!1;await Promise.all(this.subKeys.map(async r=>{r.hasSameFingerprintAs(e)&&(await r.update(e,this.keyPacket),t=!0)})),t||this.subKeys.push(e)}))},u.prototype.revoke=async function({flag:e=s.default.reasonForRevocation.no_reason,string:t=""}={},r=new Date){if(this.isPublic())throw new Error("Need private key for revoking");const n={key:this.keyPacket},i=new u(this.toPacketlist());return i.revocationSignatures.push(await c.createSignaturePacket(n,null,this.keyPacket,{signatureType:s.default.signature.key_revocation,reasonForRevocationFlag:s.default.write(s.default.reasonForRevocation,e),reasonForRevocationString:t},r)),i},u.prototype.getRevocationCertificate=async function(e=new Date){const t={key:this.keyPacket},r=await c.getLatestValidSignature(this.revocationSignatures,this.keyPacket,s.default.signature.key_revocation,t,e),a=new i.default.List;return a.push(r),n.default.encode(s.default.armor.public_key,a.write(),null,null,"This is a revocation certificate")},u.prototype.applyRevocationCertificate=async function(e){const t=await n.default.decode(e),r=new i.default.List;await r.read(t.data);const o=r.findPacket(s.default.packet.signature);if(!o||o.signatureType!==s.default.signature.key_revocation)throw new Error("Could not find revocation signature packet");if(!o.issuerKeyId.equals(this.getKeyId()))throw new Error("Revocation signature does not match key");if(o.isExpired())throw new Error("Revocation signature is expired");try{await o.verify(this.keyPacket,s.default.signature.key_revocation,{key:this.keyPacket})}catch(c){throw a.default.wrapError("Could not verify revocation signature",c)}const l=new u(this.toPacketlist());return l.revocationSignatures.push(o),l},u.prototype.signPrimaryUser=async function(e,t,r){var n=await this.getPrimaryUser(t,r);const i=n.index,s=n.user,a=await s.sign(this.keyPacket,e),o=new u(this.toPacketlist());return o.users[i]=a,o},u.prototype.signAllUsers=async function(e){const t=this,r=new u(this.toPacketlist());return r.users=await Promise.all(this.users.map((function(r){return r.sign(t.keyPacket,e)}))),r},u.prototype.verifyPrimaryUser=async function(e,t,r){const n=this.keyPacket,i=(await this.getPrimaryUser(t,r)).user;return e?await i.verifyAllCertifications(n,e):[{keyid:n.keyid,valid:await i.verify(n).catch(()=>!1)}]},u.prototype.verifyAllUsers=async function(e){const t=[],r=this.keyPacket;return await Promise.all(this.users.map((async function(n){(e?await n.verifyAllCertifications(r,e):[{keyid:r.keyid,valid:await n.verify(r).catch(()=>!1)}]).forEach(e=>{t.push({userid:n.userId.userid,keyid:e.keyid,valid:e.valid})})}))),t},u.prototype.addSubkey=async function(e={}){if(!this.isPrivate())throw new Error("Cannot add a subkey to a public key");if(e.passphrase)throw new Error("Subkey could not be encrypted here, please encrypt whole key");if(a.default.getWebCryptoAll()&&e.rsaBits<2048)throw new Error("When using webCrypto rsaBits should be 2048 or 4096, found: "+e.rsaBits);const t=this.primaryKey;if(!t.isDecrypted())throw new Error("Key is not decrypted");const r=t.getAlgorithmInfo();e=c.sanitizeKeyOptions(e,r);const n=await c.generateSecretSubkey(e),i=await c.createBindingSignature(n,t,e),s=this.toPacketlist();return s.push(n),s.push(i),new u(s)},["getKeyId","getFingerprint","getAlgorithmInfo","getCreationTime","isDecrypted","hasSameFingerprintAs"].forEach(e=>{u.prototype[e]=l.default.prototype[e]})},{"../encoding/armor":111,"../enums":113,"../packet":131,"../util":158,"./helper":117,"./subkey":120,"./user":121}],120:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=o;var n=a(e("../enums")),i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(e("./helper")),s=a(e("../packet"));function a(e){return e&&e.__esModule?e:{default:e}}function o(e){if(!(this instanceof o))return new o(e);this.keyPacket=e,this.bindingSignatures=[],this.revocationSignatures=[]}o.prototype.toPacketlist=function(){const e=new s.default.List;return e.push(this.keyPacket),e.concat(this.revocationSignatures),e.concat(this.bindingSignatures),e},o.prototype.isRevoked=async function(e,t,r,s=new Date){return i.isDataRevoked(e,n.default.signature.subkey_revocation,{key:e,bind:this.keyPacket},this.revocationSignatures,t,r,s)},o.prototype.verify=async function(e,t=new Date){const r={key:e,bind:this.keyPacket},s=await i.getLatestValidSignature(this.bindingSignatures,e,n.default.signature.subkey_binding,r,t);if(s.revoked||await this.isRevoked(e,s,null,t))throw new Error("Subkey is revoked");if(i.isDataExpired(this.keyPacket,s,t))throw new Error("Subkey is expired")},o.prototype.getExpirationTime=async function(e,t=new Date){const r={key:e,bind:this.keyPacket};let s;try{s=await i.getLatestValidSignature(this.bindingSignatures,e,n.default.signature.subkey_binding,r,t)}catch(l){return null}const a=i.getExpirationTime(this.keyPacket,s),o=s.getExpirationTime();return ar.bindingSignatures[t].created&&(r.bindingSignatures[t]=e),!1;try{return e.verified||await e.verify(t,n.default.signature.subkey_binding,s)}catch(i){return!1}})),await i.mergeSignatures(e,this,"revocationSignatures",(function(e){return i.isDataRevoked(t,n.default.signature.subkey_revocation,s,[e])}))},o.prototype.revoke=async function(e,{flag:t=n.default.reasonForRevocation.no_reason,string:r=""}={},s=new Date){const a={key:e,bind:this.keyPacket},l=new o(this.keyPacket);return l.revocationSignatures.push(await i.createSignaturePacket(a,null,e,{signatureType:n.default.signature.subkey_revocation,reasonForRevocationFlag:n.default.write(n.default.reasonForRevocation,t),reasonForRevocationString:r},s)),await l.update(this,e),l},["getKeyId","getFingerprint","getAlgorithmInfo","getCreationTime","isDecrypted"].forEach(e=>{o.prototype[e]=function(){return this.keyPacket[e]()}}),o.prototype.hasSameFingerprintAs=function(e){return this.keyPacket.hasSameFingerprintAs(e.keyPacket||e)}},{"../enums":113,"../packet":131,"./helper":117}],121:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=l;var n=o(e("../enums")),i=o(e("../util")),s=o(e("../packet")),a=e("./helper");function o(e){return e&&e.__esModule?e:{default:e}}function l(e){if(!(this instanceof l))return new l(e);this.userId=e.tag===n.default.packet.userid?e:null,this.userAttribute=e.tag===n.default.packet.userAttribute?e:null,this.selfCertifications=[],this.otherCertifications=[],this.revocationSignatures=[]}l.prototype.toPacketlist=function(){const e=new s.default.List;return e.push(this.userId||this.userAttribute),e.concat(this.revocationSignatures),e.concat(this.selfCertifications),e.concat(this.otherCertifications),e},l.prototype.sign=async function(e,t){const r={userId:this.userId,userAttribute:this.userAttribute,key:e},i=new l(r.userId||r.userAttribute);return i.otherCertifications=await Promise.all(t.map((async function(t){if(t.isPublic())throw new Error("Need private key for signing");if(t.hasSameFingerprintAs(e))throw new Error("Not implemented for self signing");const i=await t.getSigningKey();return(0,a.createSignaturePacket)(r,t,i.keyPacket,{signatureType:n.default.signature.cert_generic,keyFlags:[n.default.keyFlags.certify_keys|n.default.keyFlags.sign_data]})}))),await i.update(this,e),i},l.prototype.isRevoked=async function(e,t,r,i=new Date){return(0,a.isDataRevoked)(e,n.default.signature.cert_revocation,{key:e,userId:this.userId,userAttribute:this.userAttribute},this.revocationSignatures,t,r,i)},l.prototype.verifyCertificate=async function(e,t,r,s=new Date){const a=this,o=t.issuerKeyId,l={userId:this.userId,userAttribute:this.userAttribute,key:e};return(await Promise.all(r.map((async function(r){if(!r.getKeyIds().some(e=>e.equals(o)))return null;const c=await r.getSigningKey(o,s);if(t.revoked||await a.isRevoked(e,t,c.keyPacket,s))throw new Error("User certificate is revoked");try{t.verified||await t.verify(c.keyPacket,n.default.signature.cert_generic,l)}catch(d){throw i.default.wrapError("User certificate is invalid",d)}if(t.isExpired(s))throw new Error("User certificate is expired");return!0})))).find(e=>null!==e)||null},l.prototype.verifyAllCertifications=async function(e,t,r=new Date){const n=this,i=this.selfCertifications.concat(this.otherCertifications);return Promise.all(i.map((async function(i){return{keyid:i.issuerKeyId,valid:await n.verifyCertificate(e,i,t,r).catch(()=>!1)}})))},l.prototype.verify=async function(e,t=new Date){if(!this.selfCertifications.length)throw new Error("No self-certifications");const r=this,s={userId:this.userId,userAttribute:this.userAttribute,key:e};let a;for(let l=this.selfCertifications.length-1;l>=0;l--)try{const a=this.selfCertifications[l];if(a.revoked||await r.isRevoked(e,a,void 0,t))throw new Error("Self-certification is revoked");try{a.verified||await a.verify(e,n.default.signature.cert_generic,s)}catch(o){throw i.default.wrapError("Self-certification is invalid",o)}if(a.isExpired(t))throw new Error("Self-certification is expired");return!0}catch(o){a=o}throw a},l.prototype.update=async function(e,t){const r={userId:this.userId,userAttribute:this.userAttribute,key:t};await(0,a.mergeSignatures)(e,this,"selfCertifications",(async function(e){try{return e.verified||e.verify(t,n.default.signature.cert_generic,r)}catch(i){return!1}})),await(0,a.mergeSignatures)(e,this,"otherCertifications"),await(0,a.mergeSignatures)(e,this,"revocationSignatures",(function(e){return(0,a.isDataRevoked)(t,n.default.signature.cert_revocation,r,[e])}))}},{"../enums":113,"../packet":131,"../util":158,"./helper":117}],122:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=s(e("./keyring.js")),i=s(e("./localstore.js"));function s(e){return e&&e.__esModule?e:{default:e}}n.default.localstore=i.default,r.default=n.default},{"./keyring.js":123,"./localstore.js":124}],123:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n,i=e("../key"),s=(n=e("./localstore"))&&n.__esModule?n:{default:n};function a(e){this.storeHandler=e||new s.default}function o(e){this.keys=e}function l(e,t){const r=(e=e.toLowerCase()).replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),n=new RegExp("<"+r+">"),i=t.getUserIds();for(let s=0;sn.default.readToEnd(e.armor())));e.setItem(t,JSON.stringify(i))}else e.removeItem(t)}l.prototype.publicKeysItem="public-keys",l.prototype.privateKeysItem="private-keys",l.prototype.loadPublic=async function(){return c(this.storage,this.publicKeysItem)},l.prototype.loadPrivate=async function(){return c(this.storage,this.privateKeysItem)},l.prototype.storePublic=async function(e){await d(this.storage,this.publicKeysItem,e)},l.prototype.storePrivate=async function(e){await d(this.storage,this.privateKeysItem,e)},r.default=l}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../config":79,"../key":118,"../util":158,"node-localstorage":"node-localstorage","web-stream-tools":75}],125:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.loadScript=e=>"undefined"!=typeof importScripts?importScripts(e):new Promise((t,r)=>{const n=document.createElement("script");n.src=e,n.onload=()=>t(),n.onerror=e=>r(new Error(e.message)),document.head.appendChild(n)}),r.dl=async function(e,t){return(await fetch(e,t)).arrayBuffer()}},{}],126:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Message=m,r.encryptSessionKey=p,r.createSignaturePackets=_,r.createVerificationObjects=g,r.readArmored=async function(e){const t=c.default.isStream(e);return"node"===t&&(e=n.default.nodeToWeb(e)),y((await i.default.decode(e)).data,t)},r.read=y,r.fromText=function(e,t,r=new Date,i="utf8"){const s=c.default.isStream(e);"node"===s&&(e=n.default.nodeToWeb(e));const a=new d.default.Literal(r);a.setText(e,i),void 0!==t&&a.setFilename(t);const o=new d.default.List;o.push(a);const l=new m(o);return l.fromStream=s,l},r.fromBinary=function(e,t,r=new Date,i="binary"){const s=c.default.isStream(e);if(!c.default.isUint8Array(e)&&!s)throw new Error("Data must be in the form of a Uint8Array or Stream");"node"===s&&(e=n.default.nodeToWeb(e));const a=new d.default.Literal(r);a.setBytes(e,i),void 0!==t&&a.setFilename(t);const o=new d.default.List;o.push(a);const l=new m(o);return l.fromStream=s,l};var n=f(e("web-stream-tools")),i=f(e("./encoding/armor")),s=f(e("./type/keyid")),a=f(e("./config")),o=f(e("./crypto")),l=f(e("./enums")),c=f(e("./util")),d=f(e("./packet")),u=e("./signature"),h=e("./key");function f(e){return e&&e.__esModule?e:{default:e}}function m(e){if(!(this instanceof m))return new m(e);this.packets=e||new d.default.List}async function p(e,t,r,n,i,o=!1,l=new Date,c=[]){const u=new d.default.List;if(n){const r=await Promise.all(n.map((async function(r){const n=await r.getEncryptionKey(void 0,l,c),i=new d.default.PublicKeyEncryptedSessionKey;return i.publicKeyId=o?s.default.wildcard():n.getKeyId(),i.publicKeyAlgorithm=n.keyPacket.algorithm,i.sessionKey=e,i.sessionKeyAlgorithm=t,await i.encrypt(n.keyPacket),delete i.sessionKey,i})));u.concat(r)}if(i){const n=async function(e,t){try{return await e.decrypt(t),1}catch(r){return 0}},s=(e,t)=>e+t,o=async function e(t,r,o,l){const c=new d.default.SymEncryptedSessionKey;return c.sessionKey=t,c.sessionKeyAlgorithm=r,o&&(c.aeadAlgorithm=o),await c.encrypt(l),a.default.password_collision_check&&1!==(await Promise.all(i.map(e=>n(c,e)))).reduce(s)?e(t,r,l):(delete c.sessionKey,c)},l=await Promise.all(i.map(n=>o(e,t,r,n)));u.concat(l)}return new m(u)}async function _(e,t,r=null,n=new Date,i=[],s=!1,a=!1){const o=new d.default.List,c=null===e.text?l.default.signature.binary:l.default.signature.text;if(await Promise.all(t.map(async(t,r)=>{const o=i[r];if(t.isPublic())throw new Error("Need private key for signing");const l=await t.getSigningKey(void 0,n,o);return(0,h.createSignaturePacket)(e,t,l.keyPacket,{signatureType:c},n,o,s,a)})).then(e=>{e.forEach(e=>o.push(e))}),r){const e=r.packets.filterByTag(l.default.packet.signature);o.concat(e)}return o}async function g(e,t,r,n=new Date,i=!1,s=!1){return Promise.all(e.filter((function(e){return["text","binary"].includes(l.default.read(l.default.signature,e.signatureType))})).map((async function(e){return async function(e,t,r,n=new Date,i=!1,s=!1){let a=null,o=null;await Promise.all(r.map((async function(t){try{o=await t.getSigningKey(e.issuerKeyId,null),a=t}catch(r){}})));const l=e.correspondingSig||e,c={keyid:e.issuerKeyId,verified:(async()=>{if(!o)return null;const r=await e.verify(o.keyPacket,e.signatureType,t[0],i,s),c=await l;if(c.isExpired(n)||!(c.created>=o.getCreationTime()&&c.created{const e=await l,t=new d.default.List;return t.push(e),new u.Signature(t)})()};return c.signature.catch(()=>{}),c.verified.catch(()=>{}),c}(e,t,r,n,i,s)})))}async function y(e,t=c.default.isStream(e)){"node"===c.default.isStream(e)&&(e=n.default.nodeToWeb(e));const r=new d.default.List;await r.read(e,t);const i=new m(r);return i.fromStream=t,i}m.prototype.getEncryptionKeyIds=function(){const e=[];return this.packets.filterByTag(l.default.packet.publicKeyEncryptedSessionKey).forEach((function(t){e.push(t.publicKeyId)})),e},m.prototype.getSigningKeyIds=function(){const e=[],t=this.unwrapCompressed();return t.packets.filterByTag(l.default.packet.onePassSignature).forEach((function(t){e.push(t.issuerKeyId)})),e.length||t.packets.filterByTag(l.default.packet.signature).forEach((function(t){e.push(t.issuerKeyId)})),e},m.prototype.decrypt=async function(e,t,r,i){const s=r||await this.decryptSessionKeys(e,t),a=this.packets.filterByTag(l.default.packet.symmetricallyEncrypted,l.default.packet.symEncryptedIntegrityProtected,l.default.packet.symEncryptedAEADProtected);if(0===a.length)return this;const o=a[0];let u=null;const h=Promise.all(s.map(async e=>{if(!e||!c.default.isUint8Array(e.data)||!c.default.isString(e.algorithm))throw new Error("Invalid session key for decryption.");try{await o.decrypt(e.algorithm,e.data,i)}catch(t){c.default.print_debug_error(t),u=t}}));if(n.default.cancel(o.encrypted),o.encrypted=null,await h,!o.packets||!o.packets.length)throw u||new Error("Decryption failed.");const f=new m(o.packets);return o.packets=new d.default.List,f},m.prototype.decryptSessionKeys=async function(e,t){let r,i=[];if(t){const e=this.packets.filterByTag(l.default.packet.symEncryptedSessionKey);if(!e)throw new Error("No symmetrically encrypted session key packet found.");await Promise.all(t.map((async function(t,r){let n;r?(n=new d.default.List,await n.read(e.write())):n=e,await Promise.all(n.map((async function(e){try{await e.decrypt(t),i.push(e)}catch(r){c.default.print_debug_error(r)}})))})))}else{if(!e)throw new Error("No key or password specified.");{const t=this.packets.filterByTag(l.default.packet.publicKeyEncryptedSessionKey);if(!t)throw new Error("No public key encrypted session key packet found.");await Promise.all(t.map((async function(t){await Promise.all(e.map((async function(e){let n=[l.default.symmetric.aes256,l.default.symmetric.aes128,l.default.symmetric.tripledes,l.default.symmetric.cast5];try{const t=await e.getPrimaryUser();t.selfCertification.preferredSymmetricAlgorithms&&(n=n.concat(t.selfCertification.preferredSymmetricAlgorithms))}catch(a){}const s=(await e.getDecryptionKeys(t.publicKeyId,null)).map(e=>e.keyPacket);await Promise.all(s.map((async function(e){if(e){if(!e.isDecrypted())throw new Error("Private key is not decrypted.");try{if(await t.decrypt(e),!n.includes(l.default.write(l.default.symmetric,t.sessionKeyAlgorithm)))throw new Error("A non-preferred symmetric algorithm was used.");i.push(t)}catch(s){c.default.print_debug_error(s),r=s}}})))}))),n.default.cancel(t.encrypted),t.encrypted=null})))}}if(i.length){if(i.length>1){const e={};i=i.filter((function(t){const r=t.sessionKeyAlgorithm+c.default.Uint8Array_to_str(t.sessionKey);return!e.hasOwnProperty(r)&&(e[r]=!0,!0)}))}return i.map(e=>({data:e.sessionKey,algorithm:e.sessionKeyAlgorithm}))}throw r||new Error("Session key decryption failed.")},m.prototype.getLiteralData=function(){const e=this.unwrapCompressed().packets.findPacket(l.default.packet.literal);return e&&e.getBytes()||null},m.prototype.getFilename=function(){const e=this.unwrapCompressed().packets.findPacket(l.default.packet.literal);return e&&e.getFilename()||null},m.prototype.getText=function(){const e=this.unwrapCompressed().packets.findPacket(l.default.packet.literal);return e?e.getText():null},m.prototype.encrypt=async function(e,t,r,n=!1,i=new Date,s=[],u){let f,m,_;if(r){if(!c.default.isUint8Array(r.data)||!c.default.isString(r.algorithm))throw new Error("Invalid session key for encryption.");f=r.algorithm,m=r.aeadAlgorithm,r=r.data}else if(e&&e.length)f=l.default.read(l.default.symmetric,await(0,h.getPreferredAlgo)("symmetric",e,i,s)),a.default.aead_protect&&await(0,h.isAeadSupported)(e,i,s)&&(m=l.default.read(l.default.aead,await(0,h.getPreferredAlgo)("aead",e,i,s)));else{if(!t||!t.length)throw new Error("No keys, passwords, or session key provided.");f=l.default.read(l.default.symmetric,a.default.encryption_cipher),m=l.default.read(l.default.aead,a.default.aead_mode)}r||(r=await o.default.generateSessionKey(f));const g=await p(r,f,m,e,t,n,i,s);return a.default.aead_protect&&m?(_=new d.default.SymEncryptedAEADProtected,_.aeadAlgorithm=m):_=a.default.integrity_protect?new d.default.SymEncryptedIntegrityProtected:new d.default.SymmetricallyEncrypted,_.packets=this.packets,await _.encrypt(f,r,u),g.packets.push(_),_.packets=new d.default.List,{message:g,sessionKey:{data:r,algorithm:f,aeadAlgorithm:m}}},m.prototype.sign=async function(e=[],t=null,r=new Date,n=[],i=!1){const s=new d.default.List,a=this.packets.findPacket(l.default.packet.literal);if(!a)throw new Error("No literal data packet to sign.");let o,c;const u=null===a.text?l.default.signature.binary:l.default.signature.text;if(t)for(c=t.packets.filterByTag(l.default.packet.signature),o=c.length-1;o>=0;o--){const t=c[o],r=new d.default.OnePassSignature;r.signatureType=t.signatureType,r.hashAlgorithm=t.hashAlgorithm,r.publicKeyAlgorithm=t.publicKeyAlgorithm,r.issuerKeyId=t.issuerKeyId,e.length||0!==o||(r.flags=1),s.push(r)}return await Promise.all(Array.from(e).reverse().map((async function(t,i){if(t.isPublic())throw new Error("Need private key for signing");const s=await t.getSigningKey(void 0,r,n),a=new d.default.OnePassSignature;return a.signatureType=u,a.hashAlgorithm=await(0,h.getPreferredHashAlgo)(t,s.keyPacket,r,n),a.publicKeyAlgorithm=s.keyPacket.algorithm,a.issuerKeyId=s.getKeyId(),i===e.length-1&&(a.flags=1),a}))).then(e=>{e.forEach(e=>s.push(e))}),s.push(a),s.concat(await _(a,e,t,r,n,!1,i)),new m(s)},m.prototype.compress=function(e){if(e===l.default.compression.uncompressed)return this;const t=new d.default.Compressed;t.packets=this.packets,t.algorithm=l.default.read(l.default.compression,e);const r=new d.default.List;return r.push(t),new m(r)},m.prototype.signDetached=async function(e=[],t=null,r=new Date,n=[],i=!1){const s=this.packets.findPacket(l.default.packet.literal);if(!s)throw new Error("No literal data packet to sign.");return new u.Signature(await _(s,e,t,r,n,!0,i))},m.prototype.verify=async function(e,t=new Date,r){const i=this.unwrapCompressed(),s=i.packets.filterByTag(l.default.packet.literal);if(1!==s.length)throw new Error("Can only verify message with one literal data packet.");r||i.packets.concat(await n.default.readToEnd(i.packets.stream,e=>e));const a=i.packets.filterByTag(l.default.packet.onePassSignature).reverse(),o=i.packets.filterByTag(l.default.packet.signature);return r&&a.length&&!o.length&&i.packets.stream?(await Promise.all(a.map(async e=>{e.correspondingSig=new Promise((t,r)=>{e.correspondingSigResolve=t,e.correspondingSigReject=r}),e.signatureData=n.default.fromAsync(async()=>(await e.correspondingSig).signatureData),e.hashed=n.default.readToEnd(await e.hash(e.signatureType,s[0],void 0,!1,r)),e.hashed.catch(()=>{})})),i.packets.stream=n.default.transformPair(i.packets.stream,async(e,t)=>{const r=n.default.getReader(e),i=n.default.getWriter(t);try{for(let e=0;e{e.correspondingSigReject(o)}),await i.abort(o)}}),g(a,s,e,t,!1,r)):g(o,s,e,t,!1,r)},m.prototype.verifyDetached=function(e,t,r=new Date){const n=this.unwrapCompressed().packets.filterByTag(l.default.packet.literal);if(1!==n.length)throw new Error("Can only verify message with one literal data packet.");return g(e.packets,n,t,r,!0)},m.prototype.unwrapCompressed=function(){const e=this.packets.filterByTag(l.default.packet.compressed);return e.length?new m(e[0].packets):this},m.prototype.appendSignature=async function(e){await this.packets.read(c.default.isUint8Array(e)?e:(await i.default.decode(e)).data)},m.prototype.armor=function(){return i.default.encode(l.default.armor.message,this.packets.write())}},{"./config":79,"./crypto":94,"./encoding/armor":111,"./enums":113,"./key":118,"./packet":131,"./signature":151,"./type/keyid":154,"./util":158,"web-stream-tools":75}],127:[function(e,t,r){(function(t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.initWorker=async function({path:e="openpgp.worker.js",n:r=1,workers:n=[]}={}){if(n.length||void 0!==t&&t.Worker&&t.MessageChannel){const t=new d.default({path:e,n:r,workers:n,config:o.default});if(await t.loaded())return h=t,!0}return!1},r.getWorker=function(){return h},r.destroyWorker=async function(){const e=h;h=void 0,e&&(await e.clearKeyCache(),e.terminate())},r.generateKey=function({userIds:e=[],passphrase:t="",numBits:r=2048,rsaBits:n=r,keyExpirationTime:i=0,curve:s="",date:o=new Date,subkeys:l=[{}]}){const d={userIds:e=p(e),passphrase:t,rsaBits:n,keyExpirationTime:i,curve:s,date:o,subkeys:l};if(c.default.getWebCryptoAll()&&n<2048)throw new Error("rsaBits should be 2048 or 4096, found: "+n);return!c.default.getWebCryptoAll()&&h?h.delegate("generateKey",d):(0,a.generate)(d).then(async e=>{const t=await e.getRevocationCertificate(o);return e.revocationSignatures=[],g({key:e,privateKeyArmored:e.armor(),publicKeyArmored:e.toPublic().armor(),revocationCertificate:t})}).catch(v.bind(null,"Error generating keypair"))},r.reformatKey=function({privateKey:e,userIds:t=[],passphrase:r="",keyExpirationTime:n=0,date:i}){const s={privateKey:e,userIds:t=p(t),passphrase:r,keyExpirationTime:n,date:i};return h?h.delegate("reformatKey",s):(0,a.reformat)(s).then(async e=>{const t=await e.getRevocationCertificate(i);return e.revocationSignatures=[],g({key:e,privateKeyArmored:e.armor(),publicKeyArmored:e.toPublic().armor(),revocationCertificate:t})}).catch(v.bind(null,"Error reformatting keypair"))},r.revokeKey=function({key:e,revocationCertificate:t,reasonForRevocation:r}={}){const n={key:e,revocationCertificate:t,reasonForRevocation:r};return!c.default.getWebCryptoAll()&&h?h.delegate("revokeKey",n):Promise.resolve().then(()=>t?e.applyRevocationCertificate(t):e.revoke(r)).then(async e=>{if(await g(e),e.isPrivate()){const t=e.toPublic();return{privateKey:e,privateKeyArmored:e.armor(),publicKey:t,publicKeyArmored:t.armor()}}return{publicKey:e,publicKeyArmored:e.armor()}}).catch(v.bind(null,"Error revoking key"))},r.decryptKey=function({privateKey:e,passphrase:t}){return h?h.delegate("decryptKey",{privateKey:e,passphrase:t}):Promise.resolve().then((async function(){return await e.decrypt(t),{key:e}})).catch(v.bind(null,"Error decrypting private key"))},r.encryptKey=function({privateKey:e,passphrase:t}){return h?h.delegate("encryptKey",{privateKey:e,passphrase:t}):Promise.resolve().then((async function(){return await e.encrypt(t),{key:e}})).catch(v.bind(null,"Error decrypting private key"))},r.encrypt=function({message:e,publicKeys:t,privateKeys:r,passwords:n,sessionKey:i,compression:s=o.default.compression,armor:a=!0,streaming:l=e&&e.fromStream,detached:c=!1,signature:d=null,returnSessionKey:u=!1,wildcard:m=!1,date:_=new Date,fromUserIds:y=[],toUserIds:b=[]}){if(f(e),t=p(t),r=p(r),n=p(n),y=p(y),b=p(b),!w()&&h)return h.delegate("encrypt",{message:e,publicKeys:t,privateKeys:r,passwords:n,sessionKey:i,compression:s,armor:a,streaming:l,detached:c,signature:d,returnSessionKey:u,wildcard:m,date:_,fromUserIds:y,toUserIds:b});const k={};return Promise.resolve().then((async function(){if(r||(r=[]),r.length||d)if(c){const t=await e.signDetached(r,d,_,y,e.fromStream);k.signature=a?t.armor():t}else e=await e.sign(r,d,_,y,e.fromStream);return(e=e.compress(s)).encrypt(t,n,i,m,_,b,l)})).then(async e=>(a?k.data=e.message.armor():k.message=e.message,u&&(k.sessionKey=e.sessionKey),g(k,l,a?["signature","data"]:[]))).catch(v.bind(null,"Error encrypting message"))},r.decrypt=function({message:e,privateKeys:t,passwords:r,sessionKeys:n,publicKeys:i,format:s="utf8",streaming:a=e&&e.fromStream,signature:o=null,date:l=new Date}){return f(e),i=p(i),t=p(t),r=p(r),n=p(n),!w()&&h?h.delegate("decrypt",{message:e,privateKeys:t,passwords:r,sessionKeys:n,publicKeys:i,format:s,streaming:a,signature:o,date:l}):e.decrypt(t,r,n,a).then((async function(t){i||(i=[]);const r={};return r.signatures=o?await t.verifyDetached(o,i,l,a):await t.verify(i,l,a),r.data="binary"===s?t.getLiteralData():t.getText(),r.filename=t.getFilename(),a&&y(r,e),r.data=await _(r.data,a),a||await b(r.signatures),r})).catch(v.bind(null,"Error decrypting message"))},r.sign=function({message:e,privateKeys:t,armor:r=!0,streaming:i=e&&e.fromStream,detached:s=!1,date:a=new Date,fromUserIds:o=[]}){if(m(e),t=p(t),o=p(o),h)return h.delegate("sign",{message:e,privateKeys:t,armor:r,streaming:i,detached:s,date:a,fromUserIds:o});const l={};return Promise.resolve().then((async function(){if(s){const i=await e.signDetached(t,void 0,a,o,e.fromStream);l.signature=r?i.armor():i,e.packets&&(l.signature=n.default.transformPair(e.packets.write(),async(e,t)=>{await Promise.all([n.default.pipe(l.signature,t),n.default.readToEnd(e).catch(()=>{})])}))}else e=await e.sign(t,void 0,a,o,e.fromStream),r?l.data=e.armor():l.message=e;return g(l,i,r?["signature","data"]:[])})).catch(v.bind(null,"Error signing cleartext message"))},r.verify=function({message:e,publicKeys:t,streaming:r=e&&e.fromStream,signature:n=null,date:i=new Date}){return m(e),t=p(t),h?h.delegate("verify",{message:e,publicKeys:t,streaming:r,signature:n,date:i}):Promise.resolve().then((async function(){const a={};return a.signatures=n?await e.verifyDetached(n,t,i,r):await e.verify(t,i,r),a.data=e instanceof s.CleartextMessage?e.getText():e.getLiteralData(),r&&y(a,e),a.data=await _(a.data,r),r||await b(a.signatures),a})).catch(v.bind(null,"Error verifying cleartext signed message"))},r.encryptSessionKey=function({data:e,algorithm:t,aeadAlgorithm:r,publicKeys:n,passwords:s,wildcard:a=!1,date:o=new Date,toUserIds:l=[]}){return function(e,t){if(!c.default.isUint8Array(e))throw new Error("Parameter [data] must be of type Uint8Array")}(e),function(e,t){if(!c.default.isString(e))throw new Error("Parameter [algorithm] must be of type String")}(t),n=p(n),s=p(s),l=p(l),h?h.delegate("encryptSessionKey",{data:e,algorithm:t,aeadAlgorithm:r,publicKeys:n,passwords:s,wildcard:a,date:o,toUserIds:l}):Promise.resolve().then((async function(){return{message:await i.encryptSessionKey(e,t,r,n,s,a,o,l)}})).catch(v.bind(null,"Error encrypting session key"))},r.decryptSessionKeys=function({message:e,privateKeys:t,passwords:r}){return f(e),t=p(t),r=p(r),h?h.delegate("decryptSessionKeys",{message:e,privateKeys:t,passwords:r}):Promise.resolve().then((async function(){return e.decryptSessionKeys(t,r)})).catch(v.bind(null,"Error decrypting session keys"))};var n=u(e("web-stream-tools")),i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(e("./message")),s=e("./cleartext"),a=e("./key"),o=u(e("./config/config")),l=u(e("./enums"));e("./polyfills");var c=u(e("./util")),d=u(e("./worker/async_proxy"));function u(e){return e&&e.__esModule?e:{default:e}}let h;function f(e){if(!(e instanceof i.Message))throw new Error("Parameter [message] needs to be of type Message")}function m(e){if(!(e instanceof s.CleartextMessage||e instanceof i.Message))throw new Error("Parameter [message] needs to be of type Message or CleartextMessage")}function p(e){return e&&!c.default.isArray(e)&&(e=[e]),e}async function _(e,t){return!t&&c.default.isStream(e)?n.default.readToEnd(e):(t&&!c.default.isStream(e)&&(e=new ReadableStream({start(t){t.enqueue(e),t.close()}})),"node"===t&&(e=n.default.webToNode(e)),e)}async function g(e,t,r=[]){return Object.prototype.isPrototypeOf(e)&&!Uint8Array.prototype.isPrototypeOf(e)&&await Promise.all(Object.entries(e).map(async([n,i])=>{c.default.isStream(i)||r.includes(n)?e[n]=await _(i,t):await g(e[n],t)})),e}function y(e,t){e.data=n.default.transformPair(t.packets.stream,async(t,r)=>{await n.default.pipe(e.data,r)})}async function b(e){await Promise.all(e.map(async e=>{e.signature=await e.signature;try{e.valid=await e.verified}catch(t){e.valid=!1,e.error=t,c.default.print_debug_error(t)}}))}function v(e,t){c.default.print_debug_error(t);try{t.message=e+": "+t.message}catch(r){}throw t}function w(){return o.default.aead_protect&&(o.default.aead_mode===l.default.aead.eax||o.default.aead_mode===l.default.aead.experimental_gcm)&&c.default.getWebCrypto()}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./cleartext":77,"./config/config":78,"./enums":113,"./key":118,"./message":126,"./polyfills":150,"./util":158,"./worker/async_proxy":160,"web-stream-tools":75}],128:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Trust=r.Signature=r.SecretSubkey=r.Userid=r.SecretKey=r.OnePassSignature=r.UserAttribute=r.PublicSubkey=r.Marker=r.SymmetricallyEncrypted=r.PublicKey=r.Literal=r.SymEncryptedSessionKey=r.PublicKeyEncryptedSessionKey=r.SymEncryptedAEADProtected=r.SymEncryptedIntegrityProtected=r.Compressed=void 0;var n=e("./compressed.js");Object.defineProperty(r,"Compressed",{enumerable:!0,get:function(){return k(n).default}});var i=e("./sym_encrypted_integrity_protected.js");Object.defineProperty(r,"SymEncryptedIntegrityProtected",{enumerable:!0,get:function(){return k(i).default}});var s=e("./sym_encrypted_aead_protected.js");Object.defineProperty(r,"SymEncryptedAEADProtected",{enumerable:!0,get:function(){return k(s).default}});var a=e("./public_key_encrypted_session_key.js");Object.defineProperty(r,"PublicKeyEncryptedSessionKey",{enumerable:!0,get:function(){return k(a).default}});var o=e("./sym_encrypted_session_key.js");Object.defineProperty(r,"SymEncryptedSessionKey",{enumerable:!0,get:function(){return k(o).default}});var l=e("./literal.js");Object.defineProperty(r,"Literal",{enumerable:!0,get:function(){return k(l).default}});var c=e("./public_key.js");Object.defineProperty(r,"PublicKey",{enumerable:!0,get:function(){return k(c).default}});var d=e("./symmetrically_encrypted.js");Object.defineProperty(r,"SymmetricallyEncrypted",{enumerable:!0,get:function(){return k(d).default}});var u=e("./marker.js");Object.defineProperty(r,"Marker",{enumerable:!0,get:function(){return k(u).default}});var h=e("./public_subkey.js");Object.defineProperty(r,"PublicSubkey",{enumerable:!0,get:function(){return k(h).default}});var f=e("./user_attribute.js");Object.defineProperty(r,"UserAttribute",{enumerable:!0,get:function(){return k(f).default}});var m=e("./one_pass_signature.js");Object.defineProperty(r,"OnePassSignature",{enumerable:!0,get:function(){return k(m).default}});var p=e("./secret_key.js");Object.defineProperty(r,"SecretKey",{enumerable:!0,get:function(){return k(p).default}});var _=e("./userid.js");Object.defineProperty(r,"Userid",{enumerable:!0,get:function(){return k(_).default}});var g=e("./secret_subkey.js");Object.defineProperty(r,"SecretSubkey",{enumerable:!0,get:function(){return k(g).default}});var y=e("./signature.js");Object.defineProperty(r,"Signature",{enumerable:!0,get:function(){return k(y).default}});var b=e("./trust.js");Object.defineProperty(r,"Trust",{enumerable:!0,get:function(){return k(b).default}}),r.newPacketFromTag=M,r.fromStructuredClone=function(e){const t=M(v.default.read(v.default.packet,e.tag));return Object.assign(t,e),t.postCloneTypeFix&&t.postCloneTypeFix(),t};var v=k(e("../enums.js")),w=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(e("./all_packets.js"));function k(e){return e&&e.__esModule?e:{default:e}}function M(e){return new(w[function(e){return e.substr(0,1).toUpperCase()+e.substr(1)}(e)])}},{"../enums.js":113,"./all_packets.js":128,"./compressed.js":130,"./literal.js":132,"./marker.js":133,"./one_pass_signature.js":134,"./public_key.js":137,"./public_key_encrypted_session_key.js":138,"./public_subkey.js":139,"./secret_key.js":140,"./secret_subkey.js":141,"./signature.js":142,"./sym_encrypted_aead_protected.js":143,"./sym_encrypted_integrity_protected.js":144,"./sym_encrypted_session_key.js":145,"./symmetrically_encrypted.js":146,"./trust.js":147,"./user_attribute.js":148,"./userid.js":149}],129:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.clonePackets=function(e){return e.publicKeys&&(e.publicKeys=e.publicKeys.map(e=>e.toPacketlist())),e.privateKeys&&(e.privateKeys=e.privateKeys.map(e=>e.toPacketlist())),e.publicKey&&(e.publicKey=e.publicKey.toPacketlist()),e.privateKey&&(e.privateKey=e.privateKey.toPacketlist()),e.key&&(e.key=e.key.toPacketlist()),e.message&&(e.message instanceof s.Message?e.message={packets:e.message.packets,fromStream:e.message.fromStream}:e.message instanceof a.CleartextMessage&&(e.message={text:e.message.text,signature:e.message.signature.packets})),e.signature&&e.signature instanceof o.Signature&&(e.signature=e.signature.packets),e.signatures&&e.signatures.forEach(h),e},r.parseClonedPackets=function(e){return e.publicKeys&&(e.publicKeys=e.publicKeys.map(f)),e.privateKeys&&(e.privateKeys=e.privateKeys.map(f)),e.publicKey&&(e.publicKey=f(e.publicKey)),e.privateKey&&(e.privateKey=f(e.privateKey)),e.key&&(e.key=f(e.key)),e.message&&e.message.signature?e.message=function(e){const t=l.default.fromStructuredClone(e.signature);return new a.CleartextMessage(e.text,new o.Signature(t))}(e.message):e.message&&(e.message=function(e){const t=l.default.fromStructuredClone(e.packets),r=new s.Message(t);return r.fromStream=e.fromStream,r}(e.message)),e.signatures&&(e.signatures=e.signatures.map(m)),e.signature&&(e.signature=function(e){if(d.default.isString(e)||d.default.isStream(e))return e;const t=l.default.fromStructuredClone(e);return new o.Signature(t)}(e.signature)),e};var n=u(e("web-stream-tools")),i=e("../key"),s=e("../message"),a=e("../cleartext"),o=e("../signature"),l=u(e("./packetlist")),c=u(e("../type/keyid")),d=u(e("../util"));function u(e){return e&&e.__esModule?e:{default:e}}function h(e){const t=e.verified;if(e.verified=n.default.fromAsync(()=>t),e.signature instanceof Promise){const r=e.signature;e.signature=n.default.fromAsync(async()=>{const e=(await r).packets;try{await t}catch(n){}return e&&e[0]&&(delete e[0].signature,delete e[0].hashed),e})}else e.signature=e.signature.packets;return e.error&&(e.error=e.error.message),e}function f(e){const t=l.default.fromStructuredClone(e);return new i.Key(t)}function m(e){return e.keyid=c.default.fromClone(e.keyid),d.default.isStream(e.signature)?(e.signature=n.default.readToEnd(e.signature,([e])=>new o.Signature(l.default.fromStructuredClone(e))),e.signature.catch(()=>{})):e.signature=new o.Signature(l.default.fromStructuredClone(e.signature)),e.verified=n.default.readToEnd(e.verified,([e])=>e),e.verified.catch(()=>{}),e.error&&(e.error=new Error(e.error)),e}},{"../cleartext":77,"../key":118,"../message":126,"../signature":151,"../type/keyid":154,"../util":158,"./packetlist":136,"web-stream-tools":75}],130:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=c(e("pako")),i=c(e("seek-bzip")),s=c(e("web-stream-tools")),a=c(e("../config")),o=c(e("../enums")),l=c(e("../util"));function c(e){return e&&e.__esModule?e:{default:e}}function d(){this.tag=o.default.packet.compressed,this.packets=null,this.algorithm="zip",this.compressed=null}d.prototype.read=async function(e,t){await s.default.parse(e,async e=>{this.algorithm=o.default.read(o.default.compression,await e.readByte()),this.compressed=e.remainder(),await this.decompress(t)})},d.prototype.write=function(){return null===this.compressed&&this.compress(),l.default.concat([new Uint8Array([o.default.write(o.default.compression,this.algorithm)]),this.compressed])},d.prototype.decompress=async function(e){if(!g[this.algorithm])throw new Error(this.algorithm+" decompression not supported");await this.packets.read(g[this.algorithm](this.compressed),e)},d.prototype.compress=function(){if(!_[this.algorithm])throw new Error(this.algorithm+" compression not supported");this.compressed=_[this.algorithm](this.packets.write())},r.default=d;const u=l.default.getNodeZlib();function h(e){return e}function f(e,t={}){return function(r){return s.default.nodeToWeb(s.default.webToNode(r).pipe(e(t)))}}function m(e,t={}){return function(r){const i=new e(t);return s.default.transform(r,e=>{if(e.length)return i.push(e,n.default.Z_SYNC_FLUSH),i.result},()=>{if(e===n.default.Deflate)return i.push([],n.default.Z_FINISH),i.result})}}function p(e){return function(t){return s.default.fromAsync(async()=>e(await s.default.readToEnd(t)))}}let _,g;u?(_={zip:f(u.createDeflateRaw,{level:a.default.deflate_level}),zlib:f(u.createDeflate,{level:a.default.deflate_level})},g={uncompressed:h,zip:f(u.createInflateRaw),zlib:f(u.createInflate),bzip2:p(i.default.decode)}):(_={zip:m(n.default.Deflate,{raw:!0,level:a.default.deflate_level}),zlib:m(n.default.Deflate,{level:a.default.deflate_level})},g={uncompressed:h,zip:m(n.default.Inflate,{raw:!0}),zlib:m(n.default.Inflate),bzip2:p(i.default.decode)})},{"../config":79,"../enums":113,"../util":158,pako:50,"seek-bzip":69,"web-stream-tools":75}],131:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=s(e("./all_packets")),i=s(e("./clone"));function s(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}const a={List:(o=e("./packetlist"),o&&o.__esModule?o:{default:o}).default,clone:i};var o;Object.assign(a,n),r.default=a},{"./all_packets":128,"./clone":129,"./packetlist":136}],132:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=a(e("web-stream-tools")),i=a(e("../enums")),s=a(e("../util"));function a(e){return e&&e.__esModule?e:{default:e}}function o(e=new Date){this.tag=i.default.packet.literal,this.format="utf8",this.date=s.default.normalizeDate(e),this.text=null,this.data=null,this.filename="msg.txt"}o.prototype.setText=function(e,t="utf8"){this.format=t,this.text=e,this.data=null},o.prototype.getText=function(e=!1){return(null===this.text||s.default.isStream(this.text))&&(this.text=s.default.decode_utf8(s.default.nativeEOL(this.getBytes(e)))),this.text},o.prototype.setBytes=function(e,t){this.format=t,this.data=e,this.text=null},o.prototype.getBytes=function(e=!1){return null===this.data&&(this.data=s.default.canonicalizeEOL(s.default.encode_utf8(this.text))),e?n.default.passiveClone(this.data):this.data},o.prototype.setFilename=function(e){this.filename=e},o.prototype.getFilename=function(){return this.filename},o.prototype.read=async function(e){await n.default.parse(e,async e=>{const t=i.default.read(i.default.literal,await e.readByte()),r=await e.readByte();this.filename=s.default.decode_utf8(await e.readBytes(r)),this.date=s.default.readDate(await e.readBytes(4));const n=e.remainder();this.setBytes(n,t)})},o.prototype.writeHeader=function(){const e=s.default.encode_utf8(this.filename),t=new Uint8Array([e.length]),r=new Uint8Array([i.default.write(i.default.literal,this.format)]),n=s.default.writeDate(this.date);return s.default.concatUint8Array([r,t,e,n])},o.prototype.write=function(){const e=this.writeHeader(),t=this.getBytes();return s.default.concat([e,t])},r.default=o},{"../enums":113,"../util":158,"web-stream-tools":75}],133:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n,i=(n=e("../enums"))&&n.__esModule?n:{default:n};function s(){this.tag=i.default.packet.marker}s.prototype.read=function(e){return 80===e[0]&&71===e[1]&&80===e[2]},r.default=s},{"../enums":113}],134:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=l(e("web-stream-tools")),i=l(e("./signature")),s=l(e("../type/keyid")),a=l(e("../enums")),o=l(e("../util"));function l(e){return e&&e.__esModule?e:{default:e}}function c(){this.tag=a.default.packet.onePassSignature,this.version=null,this.signatureType=null,this.hashAlgorithm=null,this.publicKeyAlgorithm=null,this.issuerKeyId=null,this.flags=null}c.prototype.read=function(e){let t=0;return this.version=e[t++],this.signatureType=e[t++],this.hashAlgorithm=e[t++],this.publicKeyAlgorithm=e[t++],this.issuerKeyId=new s.default,this.issuerKeyId.read(e.subarray(t,t+8)),t+=8,this.flags=e[t++],this},c.prototype.write=function(){const e=new Uint8Array([3,a.default.write(a.default.signature,this.signatureType),a.default.write(a.default.hash,this.hashAlgorithm),a.default.write(a.default.publicKey,this.publicKeyAlgorithm)]),t=new Uint8Array([this.flags]);return o.default.concatUint8Array([e,this.issuerKeyId.write(),t])},c.prototype.postCloneTypeFix=function(){this.issuerKeyId=s.default.fromClone(this.issuerKeyId)},c.prototype.hash=i.default.prototype.hash,c.prototype.toHash=i.default.prototype.toHash,c.prototype.toSign=i.default.prototype.toSign,c.prototype.calculateTrailer=function(...e){return n.default.fromAsync(async()=>i.default.prototype.calculateTrailer.apply(await this.correspondingSig,e))},c.prototype.verify=async function(){const e=await this.correspondingSig;if(!e||e.tag!==a.default.packet.signature)throw new Error("Corresponding signature packet missing");if(e.signatureType!==this.signatureType||e.hashAlgorithm!==this.hashAlgorithm||e.publicKeyAlgorithm!==this.publicKeyAlgorithm||!e.issuerKeyId.equals(this.issuerKeyId))throw new Error("Corresponding signature packet does not match one-pass signature packet");return e.hashed=this.hashed,e.verify.apply(e,arguments)},r.default=c},{"../enums":113,"../type/keyid":154,"../util":158,"./signature":142,"web-stream-tools":75}],135:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=a(e("web-stream-tools")),i=a(e("../enums")),s=a(e("../util"));function a(e){return e&&e.__esModule?e:{default:e}}r.default={readSimpleLength:function(e){let t,r=0;const n=e[0];return n<192?(r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,s=void 0;try{for(var a,o=e[Symbol.iterator]();!(n=(a=o.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(l){i=!0,s=l}finally{try{!n&&o.return&&o.return()}finally{if(i)throw s}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(e,1)[0],t=1):n<255?(r=(e[0]-192<<8)+e[1]+192,t=2):255===n&&(r=s.default.readNumber(e.subarray(1,5)),t=5),{len:r,offset:t}},writeSimpleLength:function(e){return e<192?new Uint8Array([e]):e>191&&e<8384?new Uint8Array([192+(e-192>>8),e-192&255]):s.default.concatUint8Array([new Uint8Array([255]),s.default.writeNumber(e,4)])},writePartialLength:function(e){if(e<0||e>30)throw new Error("Partial Length power must be between 1 and 30");return new Uint8Array([224+e])},writeTag:function(e){return new Uint8Array([192|e])},writeHeader:function(e,t){return s.default.concatUint8Array([this.writeTag(e),this.writeSimpleLength(t)])},supportsStreaming:function(e){return[i.default.packet.literal,i.default.packet.compressed,i.default.packet.symmetricallyEncrypted,i.default.packet.symEncryptedIntegrityProtected,i.default.packet.symEncryptedAEADProtected].includes(e)},read:async function(e,t,r){const i=n.default.getReader(e);let a,o;try{const e=await i.peekBytes(2);if(!e||e.length<2||0==(128&e[0]))throw new Error("Error during parsing. This message / key probably does not conform to a valid OpenPGP format.");const c=await i.readByte();let d,u,h=-1,f=-1;f=0,0!=(64&c)&&(f=1),f?h=63&c:(h=(63&c)>>2,u=3&c);const m=this.supportsStreaming(h);let p,_=null;if(t&&m){const e=new TransformStream;a=n.default.getWriter(e.writable),_=e.readable,o=r({tag:h,packet:_})}else _=[];do{if(f){const e=await i.readByte();if(p=!1,e<192)d=e;else if(e>=192&&e<224)d=(e-192<<8)+await i.readByte()+192;else if(e>223&&e<255){if(d=1<<(31&e),p=!0,!m)throw new TypeError("This packet type does not support partial lengths.")}else d=await i.readByte()<<24|await i.readByte()<<16|await i.readByte()<<8|await i.readByte()}else switch(u){case 0:d=await i.readByte();break;case 1:d=await i.readByte()<<8|await i.readByte();break;case 2:d=await i.readByte()<<24|await i.readByte()<<16|await i.readByte()<<8|await i.readByte();break;default:d=1/0}if(d>0){let e=0;for(;;){a&&await a.ready;var l=await i.read();const t=l.value;if(l.done){if(d===1/0)break;throw new Error("Unexpected end of packet")}const r=d===1/0?t:t.subarray(0,d-e);if(a?await a.write(r):_.push(r),e+=t.length,e>=d){i.unshift(t.subarray(d-e+t.length));break}}}}while(p);const g=await i.peekBytes(m?1/0:2);return a?(await a.ready,await a.close()):(_=s.default.concatUint8Array(_),await r({tag:h,packet:_})),!g||!g.length}catch(c){if(a)return await a.abort(c),!0;throw c}finally{a&&await o,i.releaseLock()}}}},{"../enums":113,"../util":158,"web-stream-tools":75}],136:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=c(e("web-stream-tools")),i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(e("./all_packets")),s=c(e("./packet")),a=c(e("../config")),o=c(e("../enums")),l=c(e("../util"));function c(e){return e&&e.__esModule?e:{default:e}}function d(){this.length=0}(d.prototype=[]).read=async function(e,t){this.stream=n.default.transformPair(e,async(e,r)=>{const c=n.default.getWriter(r);try{for(;;)if(await c.ready,await s.default.read(e,t,async e=>{try{const r=o.default.read(o.default.packet,e.tag),n=i.newPacketFromTag(r);n.packets=new d,n.fromStream=l.default.isStream(e.packet),await n.read(e.packet,t),await c.write(n)}catch(r){a.default.tolerant&&!s.default.supportsStreaming(e.tag)||await c.abort(r),l.default.print_debug_error(r)}}))return await c.ready,void(await c.close())}catch(u){await c.abort(u)}});const r=n.default.getReader(this.stream);for(;;){var c=await r.read();const e=c.done,t=c.value;if(e?this.stream=null:this.push(t),e||s.default.supportsStreaming(t.tag))break}r.releaseLock()},d.prototype.write=function(){const e=[];for(let t=0;t{if(i.push(e),a+=e.length,a>=o){const e=Math.min(Math.log(a)/Math.LN2|0,30),t=2**e,r=l.default.concat([s.default.writePartialLength(e)].concat(i));return i=[r.subarray(1+t)],a=i[0].length,r.subarray(0,1+t)}},()=>l.default.concat([s.default.writeSimpleLength(a)].concat(i))))}else{if(l.default.isStream(r)){let i=0;e.push(n.default.transform(n.default.clone(r),e=>{i+=e.length},()=>s.default.writeHeader(this[t].tag,i)))}else e.push(s.default.writeHeader(this[t].tag,r.length));e.push(r)}}return l.default.concat(e)},d.prototype.push=function(e){e&&(e.packets=e.packets||new d,this[this.length]=e,this.length++)},d.prototype.filterByTag=function(...e){const t=new d,r=e=>t=>e===t;for(let n=0;nt.tag===e)},d.prototype.indexOfTag=function(...e){const t=[],r=this,n=e=>t=>e===t;for(let i=0;ii.fromStructuredClone(e))),t},r.default=d},{"../config":79,"../enums":113,"../util":158,"./all_packets":128,"./packet":135,"web-stream-tools":75}],137:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=e("asmcrypto.js/dist_es5/hash/sha1/sha1"),i=e("asmcrypto.js/dist_es5/hash/sha256/sha256"),s=u(e("../type/keyid")),a=u(e("../type/mpi")),o=u(e("../config")),l=u(e("../crypto")),c=u(e("../enums")),d=u(e("../util"));function u(e){return e&&e.__esModule?e:{default:e}}function h(e=new Date){this.tag=c.default.packet.publicKey,this.version=o.default.v5_keys?5:4,this.created=d.default.normalizeDate(e),this.algorithm=null,this.params=[],this.expirationTimeV3=0,this.fingerprint=null,this.keyid=null}h.prototype.readPublicKey=h.prototype.read=function(e){let t=0;if(this.version=e[t++],4===this.version||5===this.version){this.created=d.default.readDate(e.subarray(t,t+4)),t+=4,this.algorithm=c.default.read(c.default.publicKey,e[t++]);const r=c.default.write(c.default.publicKey,this.algorithm);5===this.version&&(t+=4);const n=l.default.getPubKeyParamTypes(r);this.params=l.default.constructParams(n);for(let i=0;ie.length)throw new Error("Error reading MPI @:"+t);return t}throw new Error("Version "+this.version+" of the key packet is unsupported.")},h.prototype.writePublicKey=h.prototype.write=function(){const e=[];e.push(new Uint8Array([this.version])),e.push(d.default.writeDate(this.created));const t=c.default.write(c.default.publicKey,this.algorithm);e.push(new Uint8Array([t]));const r=l.default.getPubKeyParamTypes(t).length,n=d.default.concatUint8Array(this.params.slice(0,r).map(e=>e.write()));return 5===this.version&&e.push(d.default.writeNumber(n.length,4)),e.push(n),d.default.concatUint8Array(e)},h.prototype.writeForHash=function(e){const t=this.writePublicKey();return d.default.concatUint8Array(5===e?[new Uint8Array([154]),d.default.writeNumber(t.length,4),t]:[new Uint8Array([153]),d.default.writeNumber(t.length,2),t])},h.prototype.isDecrypted=function(){return null},h.prototype.getCreationTime=function(){return this.created},h.prototype.getKeyId=function(){return this.keyid||(this.keyid=new s.default,5===this.version?this.keyid.read(d.default.hex_to_Uint8Array(this.getFingerprint()).subarray(0,8)):4===this.version&&this.keyid.read(d.default.hex_to_Uint8Array(this.getFingerprint()).subarray(12,20))),this.keyid},h.prototype.getFingerprintBytes=function(){if(this.fingerprint)return this.fingerprint;const e=this.writeForHash(this.version);return 5===this.version?this.fingerprint=i.Sha256.bytes(e):4===this.version&&(this.fingerprint=n.Sha1.bytes(e)),this.fingerprint},h.prototype.getFingerprint=function(){return d.default.Uint8Array_to_hex(this.getFingerprintBytes())},h.prototype.hasSameFingerprintAs=function(e){return this.version===e.version&&d.default.equalsUint8Array(this.writePublicKey(),e.writePublicKey())},h.prototype.getAlgorithmInfo=function(){const e={};return e.algorithm=this.algorithm,this.params[0]instanceof a.default?(e.rsaBits=8*this.params[0].byteLength(),e.bits=e.rsaBits):e.curve=this.params[0].getName(),e},h.prototype.postCloneTypeFix=function(){const e=c.default.write(c.default.publicKey,this.algorithm),t=l.default.getPubKeyParamTypes(e);for(let r=0;re.length)throw new Error("Error reading param @:"+s);return i}function h(e,t){const r=[],n=o.default.write(o.default.publicKey,t);for(let i=a.default.getPubKeyParamTypes(n).length;i{e.data.fill(0)}),this.params.length=t,this.isEncrypted=!0},d.prototype.postCloneTypeFix=function(){const e=o.default.write(o.default.publicKey,this.algorithm),t=[].concat(a.default.getPubKeyParamTypes(e),a.default.getPrivKeyParamTypes(e));for(let r=0;ro.default.signature.sign(a,d,m,h,await n.default.readToEnd(f));return i?this.signature=n.default.fromAsync(p):(this.signature=await p(),this.verified=!0),!0},h.prototype.write_hashed_sub_packets=function(){const e=l.default.signatureSubpacket,t=[];let r;null!==this.created&&t.push(f(e.signature_creation_time,c.default.writeDate(this.created))),null!==this.signatureExpirationTime&&t.push(f(e.signature_expiration_time,c.default.writeNumber(this.signatureExpirationTime,4))),null!==this.exportable&&t.push(f(e.exportable_certification,new Uint8Array([this.exportable?1:0]))),null!==this.trustLevel&&(r=new Uint8Array([this.trustLevel,this.trustAmount]),t.push(f(e.trust_signature,r))),null!==this.regularExpression&&t.push(f(e.regular_expression,this.regularExpression)),null!==this.revocable&&t.push(f(e.revocable,new Uint8Array([this.revocable?1:0]))),null!==this.keyExpirationTime&&t.push(f(e.key_expiration_time,c.default.writeNumber(this.keyExpirationTime,4))),null!==this.preferredSymmetricAlgorithms&&(r=c.default.str_to_Uint8Array(c.default.Uint8Array_to_str(this.preferredSymmetricAlgorithms)),t.push(f(e.preferred_symmetric_algorithms,r))),null!==this.revocationKeyClass&&(r=new Uint8Array([this.revocationKeyClass,this.revocationKeyAlgorithm]),r=c.default.concat([r,this.revocationKeyFingerprint]),t.push(f(e.revocation_key,r))),this.rawNotations.forEach(([{name:n,value:i,humanReadable:s}])=>{r=[new Uint8Array([s?128:0,0,0,0])],r.push(c.default.writeNumber(n.length,2)),r.push(c.default.writeNumber(i.length,2)),r.push(c.default.str_to_Uint8Array(n)),r.push(i),r=c.default.concat(r),t.push(f(e.notation_data,r))}),null!==this.preferredHashAlgorithms&&(r=c.default.str_to_Uint8Array(c.default.Uint8Array_to_str(this.preferredHashAlgorithms)),t.push(f(e.preferred_hash_algorithms,r))),null!==this.preferredCompressionAlgorithms&&(r=c.default.str_to_Uint8Array(c.default.Uint8Array_to_str(this.preferredCompressionAlgorithms)),t.push(f(e.preferred_compression_algorithms,r))),null!==this.keyServerPreferences&&(r=c.default.str_to_Uint8Array(c.default.Uint8Array_to_str(this.keyServerPreferences)),t.push(f(e.key_server_preferences,r))),null!==this.preferredKeyServer&&t.push(f(e.preferred_key_server,c.default.str_to_Uint8Array(this.preferredKeyServer))),null!==this.isPrimaryUserID&&t.push(f(e.primary_user_id,new Uint8Array([this.isPrimaryUserID?1:0]))),null!==this.policyURI&&t.push(f(e.policy_uri,c.default.str_to_Uint8Array(this.policyURI))),null!==this.keyFlags&&(r=c.default.str_to_Uint8Array(c.default.Uint8Array_to_str(this.keyFlags)),t.push(f(e.key_flags,r))),null!==this.signersUserId&&t.push(f(e.signers_user_id,c.default.str_to_Uint8Array(this.signersUserId))),null!==this.reasonForRevocationFlag&&(r=c.default.str_to_Uint8Array(String.fromCharCode(this.reasonForRevocationFlag)+this.reasonForRevocationString),t.push(f(e.reason_for_revocation,r))),null!==this.features&&(r=c.default.str_to_Uint8Array(c.default.Uint8Array_to_str(this.features)),t.push(f(e.features,r))),null!==this.signatureTargetPublicKeyAlgorithm&&(r=[new Uint8Array([this.signatureTargetPublicKeyAlgorithm,this.signatureTargetHashAlgorithm])],r.push(c.default.str_to_Uint8Array(this.signatureTargetHash)),r=c.default.concat(r),t.push(f(e.signature_target,r))),null!==this.preferredAeadAlgorithms&&(r=c.default.str_to_Uint8Array(c.default.Uint8Array_to_str(this.preferredAeadAlgorithms)),t.push(f(e.preferred_aead_algorithms,r)));const n=c.default.concat(t),i=c.default.writeNumber(n.length,2);return c.default.concat([i,n])},h.prototype.write_unhashed_sub_packets=function(){const e=l.default.signatureSubpacket,t=[];let r;this.issuerKeyId.isNull()||5===this.issuerKeyVersion||t.push(f(e.issuer,this.issuerKeyId.write())),null!==this.embeddedSignature&&t.push(f(e.embedded_signature,this.embeddedSignature.write())),null!==this.issuerFingerprint&&(r=[new Uint8Array([this.issuerKeyVersion]),this.issuerFingerprint],r=c.default.concat(r),t.push(f(e.issuer_fingerprint,r))),this.unhashedSubpackets.forEach(e=>{t.push(i.default.writeSimpleLength(e.length)),t.push(e)});const n=c.default.concat(t),s=c.default.writeNumber(n.length,2);return c.default.concat([s,n])},h.prototype.read_sub_packet=function(e,t=!0){let r=0;const n=(e,t)=>{this[e]=[];for(let r=0;r{r+=e.length},()=>{const n=[];return 5!==this.version||this.signatureType!==l.default.signature.binary&&this.signatureType!==l.default.signature.text||n.push(t?new Uint8Array(6):e.writeHeader()),n.push(new Uint8Array([this.version,255])),5===this.version&&n.push(new Uint8Array(4)),n.push(c.default.writeNumber(r,4)),c.default.concat(n)})},h.prototype.toHash=function(e,t,r=!1){const n=this.toSign(e,t);return c.default.concat([n,this.signatureData,this.calculateTrailer(t,r)])},h.prototype.hash=async function(e,t,r,i=!1,s=!0){const a=l.default.write(l.default.hash,this.hashAlgorithm);return r||(r=this.toHash(e,t,i)),!s&&c.default.isStream(r)?n.default.fromAsync(async()=>this.hash(e,t,await n.default.readToEnd(r),i)):o.default.hash.digest(a,r)},h.prototype.verify=async function(e,t,r,i=!1,s=!1){const c=l.default.write(l.default.publicKey,this.publicKeyAlgorithm),u=l.default.write(l.default.hash,this.hashAlgorithm);if(c!==l.default.write(l.default.publicKey,e.algorithm))throw new Error("Public key algorithm used to sign signature does not match issuer key algorithm.");let h,f;if(this.hashed?f=await this.hashed:(h=this.toHash(t,r,i),s||(h=await n.default.readToEnd(h)),f=await this.hash(t,r,h)),f=await n.default.readToEnd(f),this.signedHashValue[0]!==f[0]||this.signedHashValue[1]!==f[1])throw new Error("Message digest did not match");let m=0;c>0&&c<4?m=1:c!==l.default.publicKey.dsa&&c!==l.default.publicKey.ecdsa&&c!==l.default.publicKey.eddsa||(m=2);const p=c===l.default.publicKey.eddsa?"le":"be",_=[];let g=0;this.signature=await n.default.readToEnd(this.signature);for(let n=0;n{if(1!==await e.readByte())throw new Error("Invalid packet version.");this.cipherAlgo=await e.readByte(),this.aeadAlgo=await e.readByte(),this.chunkSizeByte=await e.readByte();const t=s.default[a.default.read(a.default.aead,this.aeadAlgo)];this.iv=await e.readBytes(t.ivLength),this.encrypted=e.remainder()})},c.prototype.write=function(){return o.default.concat([new Uint8Array([this.version,this.cipherAlgo,this.aeadAlgo,this.chunkSizeByte]),this.iv,this.encrypted])},c.prototype.decrypt=async function(e,t,r){return await this.packets.read(await this.crypt("decrypt",t,n.default.clone(this.encrypted),r),r),!0},c.prototype.encrypt=async function(e,t,r){this.cipherAlgo=a.default.write(a.default.symmetric,e),this.aeadAlgo=a.default.write(a.default.aead,this.aeadAlgorithm);const n=s.default[a.default.read(a.default.aead,this.aeadAlgo)];this.iv=await s.default.random.getRandomBytes(n.ivLength),this.chunkSizeByte=i.default.aead_chunk_size_byte;const o=this.packets.write();this.encrypted=await this.crypt("encrypt",t,o,r)},c.prototype.crypt=async function(e,t,r,i){const l=a.default.read(a.default.symmetric,this.cipherAlgo),c=s.default[a.default.read(a.default.aead,this.aeadAlgo)],d=await c(l,t),u="decrypt"===e?c.tagLength:0,h="encrypt"===e?c.tagLength:0,f=2**(this.chunkSizeByte+6)+u,m=new ArrayBuffer(21),p=new Uint8Array(m,0,13),_=new Uint8Array(m),g=new DataView(m),y=new Uint8Array(m,5,8);p.set([192|this.tag,this.version,this.cipherAlgo,this.aeadAlgo,this.chunkSizeByte],0);let b=0,v=Promise.resolve(),w=0,k=0;const M=this.iv;return n.default.transformPair(r,async(t,r)=>{const s=n.default.getReader(t),a=new TransformStream({},{highWaterMark:i?o.default.getHardwareConcurrency()*2**(this.chunkSizeByte+6):1/0,size:e=>e.length});n.default.pipe(a.readable,r);const l=n.default.getWriter(a.writable);try{for(;;){let t=await s.readBytes(f+u)||new Uint8Array;const r=t.subarray(t.length-u);let n,i;if(t=t.subarray(0,t.length-u),!b||t.length?(s.unshift(r),n=d[e](t,c.getNonce(M,y),p),k+=t.length-u+h):(g.setInt32(17,w),n=d[e](r,c.getNonce(M,y),_),k+=h,i=!0),w+=t.length-u,v=v.then(()=>n).then(async e=>{await l.ready,await l.write(e),k-=e.length}).catch(e=>l.abort(e)),(i||k>l.desiredSize)&&await v,i){await l.close();break}g.setInt32(9,++b)}}catch(m){await l.abort(m)}})}},{"../config":79,"../crypto":94,"../enums":113,"../util":158,"web-stream-tools":75}],144:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=l(e("web-stream-tools")),i=l(e("../config")),s=l(e("../crypto")),a=l(e("../enums")),o=l(e("../util"));function l(e){return e&&e.__esModule?e:{default:e}}function c(){this.tag=a.default.packet.symEncryptedIntegrityProtected,this.version=1,this.encrypted=null,this.modification=!1,this.packets=null}c.prototype.read=async function(e){await n.default.parse(e,async e=>{if(1!==await e.readByte())throw new Error("Invalid packet version.");this.encrypted=e.remainder()})},c.prototype.write=function(){return o.default.concat([new Uint8Array([1]),this.encrypted])},c.prototype.encrypt=async function(e,t,r){let i=this.packets.write();r||(i=await n.default.readToEnd(i));const a=await s.default.getPrefixRandom(e),l=new Uint8Array([211,20]),c=o.default.concat([a,i,l]),d=await s.default.hash.sha1(n.default.passiveClone(c)),u=o.default.concat([c,d]);return this.encrypted=await s.default.cfb.encrypt(e,t,u,new Uint8Array(s.default.cipher[e].blockSize)),!0},c.prototype.decrypt=async function(e,t,r){let a=n.default.clone(this.encrypted);r||(a=await n.default.readToEnd(a));const l=await s.default.cfb.decrypt(e,t,a,new Uint8Array(s.default.cipher[e].blockSize)),c=n.default.slice(n.default.passiveClone(l),-20),d=n.default.slice(l,0,-20),u=Promise.all([n.default.readToEnd(await s.default.hash.sha1(n.default.passiveClone(d))),n.default.readToEnd(c)]).then(([e,t])=>{if(!o.default.equalsUint8Array(e,t))throw new Error("Modification detected.");return new Uint8Array}),h=n.default.slice(d,s.default.cipher[e].blockSize+2);let f=n.default.slice(h,0,-2);return f=n.default.concat([f,n.default.fromAsync(()=>u)]),o.default.isStream(a)&&i.default.allow_unauthenticated_stream||(f=await n.default.readToEnd(f)),await this.packets.read(f,r),!0},r.default=c},{"../config":79,"../crypto":94,"../enums":113,"../util":158,"web-stream-tools":75}],145:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=l(e("../type/s2k")),i=l(e("../config")),s=l(e("../crypto")),a=l(e("../enums")),o=l(e("../util"));function l(e){return e&&e.__esModule?e:{default:e}}function c(){this.tag=a.default.packet.symEncryptedSessionKey,this.version=i.default.aead_protect?5:4,this.sessionKey=null,this.sessionKeyEncryptionAlgorithm=null,this.sessionKeyAlgorithm="aes256",this.aeadAlgorithm=a.default.read(a.default.aead,i.default.aead_mode),this.encrypted=null,this.s2k=null,this.iv=null}c.prototype.read=function(e){let t=0;this.version=e[t++];const r=a.default.read(a.default.symmetric,e[t++]);5===this.version&&(this.aeadAlgorithm=a.default.read(a.default.aead,e[t++])),this.s2k=new n.default,t+=this.s2k.read(e.subarray(t,e.length)),5===this.version&&(this.iv=e.subarray(t,t+=s.default[this.aeadAlgorithm].ivLength)),5===this.version||t=1){const t=e[0];if(e.length>=1+t)return this.data=e.subarray(1,1+t),1+this.data.length}throw new Error("Invalid symmetric key")},s.prototype.write=function(){return i.default.concatUint8Array([new Uint8Array([this.data.length]),this.data])},s.fromClone=function(e){return new s(e.data)},r.default=s},{"../util":158}],153:[function(e,t,r){"use strict";function n(e){if(e){const t=e.cipher;this.hash=e.hash,this.cipher=t}else this.hash=null,this.cipher=null}Object.defineProperty(r,"__esModule",{value:!0}),n.prototype.read=function(e){if(e.length<4||3!==e[0]||1!==e[1])throw new Error("Cannot read KDFParams");return this.hash=e[2],this.cipher=e[3],4},n.prototype.write=function(){return new Uint8Array([3,1,this.hash,this.cipher])},n.fromClone=function(e){return new n({hash:e.hash,cipher:e.cipher})},r.default=n},{}],154:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n,i=(n=e("../util.js"))&&n.__esModule?n:{default:n};function s(){this.bytes=""}s.prototype.read=function(e){this.bytes=i.default.Uint8Array_to_str(e.subarray(0,8))},s.prototype.write=function(){return i.default.str_to_Uint8Array(this.bytes)},s.prototype.toHex=function(){return i.default.str_to_hex(this.bytes)},s.prototype.equals=function(e,t=!1){return t&&(e.isWildcard()||this.isWildcard())||this.bytes===e.bytes},s.prototype.isNull=function(){return""===this.bytes},s.prototype.isWildcard=function(){return/^0+$/.test(this.toHex())},s.mapToHex=function(e){return e.toHex()},s.fromClone=function(e){const t=new s;return t.bytes=e.bytes,t},s.fromId=function(e){const t=new s;return t.read(i.default.hex_to_Uint8Array(e)),t},s.wildcard=function(){const e=new s;return e.read(new Uint8Array(8)),e},r.default=s},{"../util.js":158}],155:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=s(e("bn.js")),i=s(e("../util"));function s(e){return e&&e.__esModule?e:{default:e}}function a(e){e instanceof a?this.data=e.data:n.default.isBN(e)?this.fromBN(e):i.default.isUint8Array(e)?this.fromUint8Array(e):i.default.isString(e)?this.fromString(e):this.data=null}a.prototype.read=function(e,t="be"){i.default.isString(e)&&(e=i.default.str_to_Uint8Array(e));const r=7+(e[0]<<8|e[1])>>>3,n=e.subarray(2,2+r);return this.fromUint8Array(n,t),2+r},a.prototype.write=function(e,t){return i.default.Uint8Array_to_MPI(this.toUint8Array(e,t))},a.prototype.bitLength=function(){return 8*(this.data.length-1)+i.default.nbits(this.data[0])},a.prototype.byteLength=function(){return this.data.length},a.prototype.toUint8Array=function(e,t){e=e||"be",t=t||this.data.length;const r=new Uint8Array(t);return r.set(this.data,"le"===e?0:t-this.data.length),"le"===e&&r.reverse(),r},a.prototype.fromUint8Array=function(e,t="be"){this.data=new Uint8Array(e.length),this.data.set(e),"le"===t&&this.data.reverse()},a.prototype.toString=function(){return i.default.Uint8Array_to_str(this.toUint8Array())},a.prototype.fromString=function(e,t="be"){this.fromUint8Array(i.default.str_to_Uint8Array(e),t)},a.prototype.toBN=function(){return new n.default(this.toUint8Array())},a.prototype.fromBN=function(e){this.data=e.toArrayLike(Uint8Array)},a.fromClone=function(e){return new a(e.data)},r.default=a},{"../util":158,"bn.js":16}],156:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=s(e("../util")),i=s(e("../enums"));function s(e){return e&&e.__esModule?e:{default:e}}function a(e){if(e instanceof a)this.oid=e.oid;else if(n.default.isArray(e)||n.default.isUint8Array(e)){if(6===(e=new Uint8Array(e))[0]){if(e[1]!==e.length-2)throw new Error("Length mismatch in DER encoded oid");e=e.subarray(2)}this.oid=e}else this.oid=""}a.prototype.read=function(e){if(e.length>=1){const t=e[0];if(e.length>=1+t)return this.oid=e.subarray(1,1+t),1+this.oid.length}throw new Error("Invalid oid")},a.prototype.write=function(){return n.default.concatUint8Array([new Uint8Array([this.oid.length]),this.oid])},a.prototype.toHex=function(){return n.default.Uint8Array_to_hex(this.oid)},a.prototype.getName=function(){const e=this.toHex();if(i.default.curve[e])return i.default.write(i.default.curve,e);throw new Error("Unknown curve object identifier.")},a.fromClone=function(e){return new a(e.oid)},r.default=a},{"../enums":113,"../util":158}],157:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=o(e("../config")),i=o(e("../crypto")),s=o(e("../enums.js")),a=o(e("../util.js"));function o(e){return e&&e.__esModule?e:{default:e}}function l(){this.algorithm="sha256",this.type="iterated",this.c=n.default.s2k_iteration_count_byte,this.salt=null}l.prototype.get_count=function(){return 16+(15&this.c)<<6+(this.c>>4)},l.prototype.read=function(e){let t=0;switch(this.type=s.default.read(s.default.s2k,e[t++]),this.algorithm=e[t++],"gnu"!==this.type&&(this.algorithm=s.default.read(s.default.hash,this.algorithm)),this.type){case"simple":break;case"salted":this.salt=e.subarray(t,t+8),t+=8;break;case"iterated":this.salt=e.subarray(t,t+8),t+=8,this.c=e[t++];break;case"gnu":if("GNU"!==a.default.Uint8Array_to_str(e.subarray(t,t+3)))throw new Error("Unknown s2k type.");if(t+=3,1001!==1e3+e[t++])throw new Error("Unknown s2k gnu protection mode.");this.type="gnu-dummy";break;default:throw new Error("Unknown s2k type.")}return t},l.prototype.write=function(){if("gnu-dummy"===this.type)return new Uint8Array([101,0,...a.default.str_to_Uint8Array("GNU"),1]);const e=[new Uint8Array([s.default.write(s.default.s2k,this.type),s.default.write(s.default.hash,this.algorithm)])];switch(this.type){case"simple":break;case"salted":e.push(this.salt);break;case"iterated":e.push(this.salt),e.push(new Uint8Array([this.c]));break;case"gnu":throw new Error("GNU s2k type not supported.");default:throw new Error("Unknown s2k type.")}return a.default.concatUint8Array(e)},l.prototype.produce_key=async function(e,t){e=a.default.encode_utf8(e);const r=s.default.write(s.default.hash,this.algorithm),n=[];let o=0,l=0;for(;o{if(a.default.isStream(s))if(s.locked)e[n]=null;else{const r=i.default.transformPair(s,async s=>{const o=i.default.getReader(s);var l=new MessageChannel;const c=l.port1,d=l.port2;c.onmessage=async function({data:{action:e}}){if("read"===e)try{const e=await o.read();c.postMessage(e,a.default.getTransferables(e))}catch(t){c.postMessage({error:t.message})}else"cancel"===e&&(await r.cancel(),c.postMessage())},e[n]=d,t.push(d)})}else{if("[object MessagePort]"===Object.prototype.toString.call(s))throw new Error("Can't transfer the same stream twice.");a.default.collectTransferables(s,t,r)}}))},restoreStreams:function(e){return Object.prototype.isPrototypeOf(e)&&!Uint8Array.prototype.isPrototypeOf(e)&&Object.entries(e).forEach(([t,r])=>{"[object MessagePort]"!==Object.prototype.toString.call(r)?a.default.restoreStreams(r):e[t]=new ReadableStream({pull:e=>new Promise(t=>{r.onmessage=r=>{var n=r.data;const i=n.done,s=n.value,a=n.error;a?e.error(new Error(a)):i?e.close():e.enqueue(s),t()},r.postMessage({action:"read"})}),cancel:()=>new Promise(e=>{r.onmessage=e,r.postMessage({action:"cancel"})})},{highWaterMark:0})}),e},readNumber:function(e){let t=0;for(let r=0;r>8*(t-n-1)&255;return r},readDate:function(e){const t=a.default.readNumber(e);return new Date(1e3*t)},writeDate:function(e){const t=Math.floor(e.getTime()/1e3);return a.default.writeNumber(t,4)},normalizeDate:function(e=Date.now()){return null===e||e===1/0?e:new Date(1e3*Math.floor(+e/1e3))},str_to_hex:function(e){if(null===e)return"";const t=[],r=e.length;let n,i=0;for(;i>8,255&t]);return a.default.concatUint8Array([r,e])},b64_to_Uint8Array:function(e){return o.default.decode(e.replace(/-/g,"+").replace(/_/g,"/"))},Uint8Array_to_b64:function(e,t){let r=o.default.encode(e).replace(/[\r\n]/g,"");return t&&(r=r.replace(/[+]/g,"-").replace(/[/]/g,"_").replace(/[=]/g,"")),r},hex_to_Uint8Array:function(e){const t=new Uint8Array(e.length>>1);for(let r=0;r>1;r++)t[r]=parseInt(e.substr(r<<1,2),16);return t},Uint8Array_to_hex:function(e){const t=[],r=e.length;let n,i=0;for(;i{if(!a.default.isString(e))throw new Error("str_to_Uint8Array: Data must be in the form of a string");const t=new Uint8Array(e.length);for(let r=0;rr("",!0))},decode_utf8:function(e){const t=new TextDecoder("utf-8");function r(e,r=!1){return t.decode(e,{stream:!r})}return i.default.transform(e,r,()=>r(new Uint8Array,!0))},concat:i.default.concat,concatUint8Array:i.default.concatUint8Array,equalsUint8Array:function(e,t){if(!a.default.isUint8Array(e)||!a.default.isUint8Array(t))throw new Error("Data must be in the form of a Uint8Array");if(e.length!==t.length)return!1;for(let r=0;r{console.log(e+": ",t)})},nbits:function(e){let t=1,r=e>>>16;return 0!==r&&(e=r,t+=16),r=e>>8,0!==r&&(e=r,t+=8),r=e>>4,0!==r&&(e=r,t+=4),r=e>>2,0!==r&&(e=r,t+=2),r=e>>1,0!==r&&(e=r,t+=1),t},double:function(e){const t=new Uint8Array(e.length),r=e.length-1;for(let n=0;n>7;return t[r]=e[r]<<1^135*(e[0]>>7),t},shiftRight:function(e,t){if(t)for(let r=e.length-1;r>=0;r--)e[r]>>=t,r>0&&(e[r]|=e[r-1]<<8-t);return e},getWebCrypto:function(){if(s.default.use_native)return void 0!==t&&t.crypto&&t.crypto.subtle},getWebCryptoAll:function(){if(s.default.use_native&&void 0!==t){if(t.crypto)return t.crypto.subtle||t.crypto.webkitSubtle;if(t.msCrypto)return t.msCrypto.subtle}},detectNode:function(){return"object"==typeof t.process&&"object"==typeof t.process.versions},nodeRequire:function(t){if(a.default.detectNode())return e(t)},getNodeCrypto:function(){if(s.default.use_native)return a.default.nodeRequire("crypto")},getNodeZlib:function(){if(s.default.use_native)return a.default.nodeRequire("zlib")},getNodeBuffer:function(){return(a.default.nodeRequire("buffer")||{}).Buffer},getNodeStream:function(){return(a.default.nodeRequire("stream")||{}).Readable},getHardwareConcurrency:function(){return a.default.detectNode()?a.default.nodeRequire("os").cpus().length:navigator.hardwareConcurrency||1},isEmailAddress:function(e){return!!a.default.isString(e)&&/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+([a-zA-Z]{2,}|xn--[a-zA-Z\-0-9]+)))$/.test(e)},formatUserId:function(e){if(e.name&&!a.default.isString(e.name)||e.email&&!a.default.isEmailAddress(e.email)||e.comment&&!a.default.isString(e.comment))throw new Error("Invalid user id format");const t=[];return e.name&&t.push(e.name),e.comment&&t.push(`(${e.comment})`),e.email&&t.push(`<${e.email}>`),t.join(" ")},parseUserId:function(e){if(e.length>s.default.max_userid_length)throw new Error("User id string is too long");try{var t=n.default.parseOneAddress({input:e,atInDisplayName:!0});return{name:t.name,email:t.address,comment:t.comments.replace(/^\(|\)$/g,"")}}catch(r){throw new Error("Invalid user id format")}},canonicalizeEOL:function(e){let t=!1;return i.default.transform(e,e=>{let r;t&&(e=a.default.concatUint8Array([new Uint8Array([13]),e])),13===e[e.length-1]?(t=!0,e=e.subarray(0,-1)):t=!1;const n=[];for(let t=0;r=e.indexOf(10,t)+1,r;t=r)13!==e[r-2]&&n.push(r);if(!n.length)return e;const i=new Uint8Array(e.length+n.length);let s=0;for(let t=0;tt?new Uint8Array([13]):void 0)},nativeEOL:function(e){let t=!1;return i.default.transform(e,e=>{let r;13===(e=t&&10!==e[0]?a.default.concatUint8Array([new Uint8Array([13]),e]):new Uint8Array(e))[e.length-1]?(t=!0,e=e.subarray(0,-1)):t=!1;let n=0;for(let t=0;t!==e.length;t=r){r=e.indexOf(13,t)+1,r||(r=e.length);const i=r-(10===e[r]?1:0);t&&e.copyWithin(n,t,i),n+=i-t}return e.subarray(0,n)},()=>t?new Uint8Array([13]):void 0)},removeTrailingSpaces:function(e){return e.split("\n").map(e=>{let t=e.length-1;for(;t>=0&&(" "===e[t]||"\t"===e[t]);t--);return e.substr(0,t+1)}).join("\n")},encodeZBase32:function(e){if(0===e.length)return"";let t=e[0],r=1,n=8,i="";for(;n>0||r>n]}return i},wrapError:function(e,t){if(!t)return new Error(e);try{t.message=e+": "+t.message}catch(r){}return t}}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./config":79,"./encoding/base64":112,"./util":158,"email-addresses":33,"web-stream-tools":75}],159:[function(e,t,r){(function(t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=a(e("./util")),i=a(e("./crypto")),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(e("./key"));function a(e){return e&&e.__esModule?e:{default:e}}function o(){this._fetch=void 0!==t?t.fetch:e("node-fetch")}o.prototype.lookup=async function(e){const t=this._fetch;if(!e.email)throw new Error("You must provide an email parameter!");if(!n.default.isEmailAddress(e.email))throw new Error("Invalid e-mail address.");var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,s=void 0;try{for(var a,o=e[Symbol.iterator]();!(n=(a=o.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(l){i=!0,s=l}finally{try{!n&&o.return&&o.return()}finally{if(i)throw s}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(/(.*)@(.*)/.exec(e.email),3);const a=r[1],o=r[2],l=n.default.encodeZBase32(await i.default.hash.sha1(n.default.str_to_Uint8Array(a.toLowerCase()))),c=`https://openpgpkey.${o}/.well-known/openpgpkey/${o}/hu/${l}`,d=`https://${o}/.well-known/openpgpkey/hu/${l}`;let u;try{if(u=await t(c),200!==u.status)throw new Error("Advanced WKD lookup failed: "+u.statusText)}catch(f){if(n.default.print_debug_error(f),u=await t(d),200!==u.status)throw new Error("Direct WKD lookup failed: "+u.statusText)}const h=new Uint8Array(await u.arrayBuffer());return e.rawBytes?h:s.read(h)},r.default=o}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./crypto":94,"./key":118,"./util":158,"node-fetch":"node-fetch"}],160:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=o(e("../util.js")),i=o(e("../config")),s=o(e("../crypto")),a=o(e("../packet"));function o(e){return e&&e.__esModule?e:{default:e}}function l({path:e="openpgp.worker.js",n:t=1,workers:r=[],config:n}={}){const i=e=>t=>{const r=t.data;switch(r.event){case"loaded":this.workers[e].loadedResolve(!0);break;case"method-return":if(r.err){const e=new Error(r.err);e.workerStack=r.stack,this.tasks[r.id].reject(e)}else this.tasks[r.id].resolve(r.data);delete this.tasks[r.id],this.workers[e].requests--;break;case"request-seed":this.seedRandom(e,r.amount);break;default:throw new Error("Unknown Worker Event.")}};if(r.length)this.workers=r;else for(this.workers=[];this.workers.length{e.loadedPromise=new Promise(t=>{e.loadedResolve=t}),e.requests=0,e.onmessage=i(s++),e.onerror=t=>(e.loadedResolve(!1),console.error("Unhandled error in openpgp worker: "+t.message+" ("+t.filename+":"+t.lineno+")"),!1),n&&e.postMessage({event:"configure",config:n})}),this.tasks={},this.currentID=0}l.prototype.loaded=async function(){return(await Promise.all(this.workers.map(e=>e.loadedPromise))).every(Boolean)},l.prototype.getID=function(){return this.currentID++},l.prototype.seedRandom=async function(e,t){const r=await s.default.random.getRandomBytes(t);this.workers[e].postMessage({event:"seed-random",buf:r},n.default.getTransferables(r,!0))},l.prototype.clearKeyCache=async function(){await Promise.all(this.workers.map(e=>new Promise((t,r)=>{const n=this.getID();e.postMessage({id:n,event:"clear-key-cache"}),this.tasks[n]={resolve:t,reject:r}})))},l.prototype.terminate=function(){this.workers.forEach(e=>{e.terminate()})},l.prototype.delegate=function(e,t){const r=this.getID(),s=this.workers.map(e=>e.requests),o=Math.min(...s);let l=0;for(;l{this.workers[l].postMessage({id:r,event:e,options:a.default.clone.clonePackets(t)},n.default.getTransferables(t,i.default.zero_copy)),this.workers[l].requests++,this.tasks[r]={resolve:t=>s(a.default.clone.parseClonedPackets(n.default.restoreStreams(t),e)),reject:o}})},r.default=l},{"../config":79,"../crypto":94,"../packet":131,"../util.js":158}]},{},[115])(115)},Qj4J:function(e,t,r){!function(e){"use strict";e.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(r("wd/R"))},RAwQ:function(e,t,r){!function(e){"use strict";function t(e,t,r,n){var i={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?i[r][0]:i[r][1]}function r(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10;return r(0===t?e/10:t)}if(e<1e4){for(;e>=10;)e/=10;return r(e)}return r(e/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(e){return r(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return r(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d M\xe9int",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r("wd/R"))},Rb7d:function(e,t){function r(e){if("number"==typeof e&&(e=e.toString()),"string"!=typeof e)throw new Error("Color should be defined as hex string");var t=e.slice().replace("#","").split("");if(t.length<3||5===t.length||t.length>8)throw new Error("Invalid hex color: "+e);3!==t.length&&4!==t.length||(t=Array.prototype.concat.apply([],t.map((function(e){return[e,e]})))),6===t.length&&t.push("F","F");var r=parseInt(t.join(""),16);return{r:r>>24&255,g:r>>16&255,b:r>>8&255,a:255&r,hex:"#"+t.slice(0,6).join("")}}t.getOptions=function(e){e||(e={}),e.color||(e.color={});var t=e.width&&e.width>=21?e.width:void 0;return{width:t,scale:t?4:e.scale||4,margin:null==e.margin||e.margin<0?4:e.margin,color:{dark:r(e.color.dark||"#000000ff"),light:r(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}},t.getScale=function(e,t){return t.width&&t.width>=e+2*t.margin?t.width/(e+2*t.margin):t.scale},t.getImageWidth=function(e,r){var n=t.getScale(e,r);return Math.floor((e+2*r.margin)*n)},t.qrToImageData=function(e,r,n){for(var i=r.modules.size,s=r.modules.data,a=t.getScale(i,n),o=Math.floor((i+2*n.margin)*a),l=n.margin*a,c=[n.color.light,n.color.dark],d=0;d=l&&u>=l&&d=100?100:null])},week:{dow:1,doy:7}})}(r("wd/R"))},SatO:function(e,t,r){!function(e){"use strict";e.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e2d\u5348"===t?e>=11?e:e+12:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:void 0},meridiem:function(e,t,r){var n=100*e+t;return n<600?"\u51cc\u6668":n<900?"\u65e9\u4e0a":n<1200?"\u4e0a\u5348":1200===n?"\u4e2d\u5348":n<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(r("wd/R"))},UDhR:function(e,t,r){!function(e){"use strict";e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,r){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(r("wd/R"))},USCx:function(e,t,r){!function(e){"use strict";e.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(r("wd/R"))},UpQW:function(e,t,r){!function(e){"use strict";var t=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],r=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];e.defineLocale("ur",{months:t,monthsShort:t,weekdays:r,weekdaysShort:r,weekdaysMin:r,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(e){return"\u0634\u0627\u0645"===e},meridiem:function(e,t,r){return e<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(r("wd/R"))},Ur1D:function(e,t,r){!function(e){"use strict";e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,r){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(r("wd/R"))},V2x9:function(e,t,r){!function(e){"use strict";e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(r("wd/R"))},V35J:function(e,t,r){var n=r("Wogr");function i(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new n(e*e),this.data.fill(0),this.reservedBit=new n(e*e),this.reservedBit.fill(0)}i.prototype.set=function(e,t,r,n){var i=e*this.size+t;this.data[i]=r,n&&(this.reservedBit[i]=!0)},i.prototype.get=function(e,t){return this.data[e*this.size+t]},i.prototype.xor=function(e,t,r){this.data[e*this.size+t]^=r},i.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]},e.exports=i},Vclq:function(e,t,r){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),r="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?r[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(r("wd/R"))},WYrj:function(e,t,r){!function(e){"use strict";var t=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],r=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];e.defineLocale("dv",{months:t,monthsShort:t,weekdays:r,weekdaysShort:r,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(e){return"\u0789\u078a"===e},meridiem:function(e,t,r){return e<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(r("wd/R"))},Wogr:function(e,t,r){"use strict";var n=r("7uVY"),i=(s.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()}catch(t){return!1}}())?2147483647:1073741823;function s(e,t,r){return s.TYPED_ARRAY_SUPPORT||this instanceof s?"number"==typeof e?l(this,e):function(e,t,r,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,n){if(r<0||t.byteLength=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return 0|e}function o(e,t){var r;return s.TYPED_ARRAY_SUPPORT?(r=new Uint8Array(t)).__proto__=s.prototype:(null===(r=e)&&(r=new s(t)),r.length=t),r}function l(e,t){var r=o(e,t<0?0:0|a(t));if(!s.TYPED_ARRAY_SUPPORT)for(var n=0;n55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&s.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&s.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&s.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&s.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;s.push(r)}else if(r<2048){if((t-=2)<0)break;s.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;s.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;s.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return s}function u(e){return s.isBuffer(e)?e.length:"undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer)?e.byteLength:("string"!=typeof e&&(e=""+e),0===e.length?0:d(e).length)}s.TYPED_ARRAY_SUPPORT&&(s.prototype.__proto__=Uint8Array.prototype,s.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&s[Symbol.species]===s&&Object.defineProperty(s,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1})),s.prototype.write=function(e,t,r){void 0===t||void 0===r&&"string"==typeof t?(r=this.length,t=0):isFinite(t)&&(t|=0,isFinite(r)?r|=0:r=void 0);var n=this.length-t;if((void 0===r||r>n)&&(r=n),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");return function(e,t,r,n){return function(e,t,r,n){for(var i=0;i=t.length||i>=e.length);++i)t[i+r]=e[i];return i}(d(t,e.length-r),e,r,n)}(this,e,t,r)},s.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t=0;--i)e[i+t]=this[i+r];else if(a<1e3||!s.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i=100?100:null])}},week:{dow:1,doy:7}})}(r("wd/R"))},WxRl:function(e,t,r){!function(e){"use strict";var t="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function r(e,t,r,n){var i=e;switch(r){case"s":return n||t?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return i+(n||t)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(n||t?" perc":" perce");case"mm":return i+(n||t?" perc":" perce");case"h":return"egy"+(n||t?" \xf3ra":" \xf3r\xe1ja");case"hh":return i+(n||t?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(n||t?" nap":" napja");case"dd":return i+(n||t?" nap":" napja");case"M":return"egy"+(n||t?" h\xf3nap":" h\xf3napja");case"MM":return i+(n||t?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(n||t?" \xe9v":" \xe9ve");case"yy":return i+(n||t?" \xe9v":" \xe9ve")}return""}function n(e){return(e?"":"[m\xfalt] ")+"["+t[this.day()]+"] LT[-kor]"}e.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan._feb._m\xe1rc._\xe1pr._m\xe1j._j\xfan._j\xfal._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,r){return e<12?!0===r?"de":"DE":!0===r?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return n.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return n.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r("wd/R"))},X709:function(e,t,r){!function(e){"use strict";e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?":e":1===t||2===t?":a":":e")},week:{dow:1,doy:4}})}(r("wd/R"))},XDpg:function(e,t,r){!function(e){"use strict";e.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,r){var n=100*e+t;return n<600?"\u51cc\u6668":n<900?"\u65e9\u4e0a":n<1130?"\u4e0a\u5348":n<1230?"\u4e2d\u5348":n<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(e){return e.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(e){return this.week()!==e.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u5468";default:return e}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(r("wd/R"))},XLvN:function(e,t,r){!function(e){"use strict";e.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===t?e<4?e:e+12:"\u0c09\u0c26\u0c2f\u0c02"===t?e:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===t?e>=10?e:e+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":e<10?"\u0c09\u0c26\u0c2f\u0c02":e<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":e<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(r("wd/R"))},YRex:function(e,t,r){!function(e){"use strict";e.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===t||"\u0633\u06d5\u06be\u06d5\u0631"===t||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===t?e:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===t||"\u0643\u06d5\u0686"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,r){var n=100*e+t;return n<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":n<900?"\u0633\u06d5\u06be\u06d5\u0631":n<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":n<1230?"\u0686\u06c8\u0634":n<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return e+"-\u06be\u06d5\u067e\u062a\u06d5";default:return e}},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(r("wd/R"))},YuTi:function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},Z4QM:function(e,t,r){!function(e){"use strict";var t=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],r=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];e.defineLocale("sd",{months:t,monthsShort:t,weekdays:r,weekdaysShort:r,weekdaysMin:r,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(e){return"\u0634\u0627\u0645"===e},meridiem:function(e,t,r){return e<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(r("wd/R"))},Z92M:function(e,t){e.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},ZAMP:function(e,t,r){!function(e){"use strict";e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,r){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(r("wd/R"))},Zduo:function(e,t,r){!function(e){"use strict";e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,r){return e>11?r?"p.t.m.":"P.T.M.":r?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(r("wd/R"))},aIdf:function(e,t,r){!function(e){"use strict";function t(e,t,r){return e+" "+function(e,t){return 2===t?function(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[r],e)}var r=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],n=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,i=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];e.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:i,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:i,monthsRegex:n,monthsShortRegex:n,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(function e(t){return t>9?e(t%10):t}(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(e){return e+(1===e?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return"g.m."===e},meridiem:function(e,t,r){return e<12?"a.m.":"g.m."}})}(r("wd/R"))},aIsn:function(e,t,r){!function(e){"use strict";e.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(r("wd/R"))},aQkU:function(e,t,r){!function(e){"use strict";e.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(e){var t=e%10,r=e%100;return 0===e?e+"-\u0435\u0432":0===r?e+"-\u0435\u043d":r>10&&r<20?e+"-\u0442\u0438":1===t?e+"-\u0432\u0438":2===t?e+"-\u0440\u0438":7===t||8===t?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}})}(r("wd/R"))},aZ40:function(e,t,r){var n,i,s=r("Wogr");s.alloc?(n=s.alloc(512),i=s.alloc(256)):(n=new s(512),i=new s(256)),function(){for(var e=1,t=0;t<255;t++)n[t]=e,i[e]=t,256&(e<<=1)&&(e^=285);for(t=255;t<512;t++)n[t]=n[t-255]}(),t.log=function(e){if(e<1)throw new Error("log("+e+")");return i[e]},t.exp=function(e){return n[e]},t.mul=function(e,t){return 0===e||0===t?0:n[i[e]+i[t]]}},b1Dy:function(e,t,r){!function(e){"use strict";e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(r("wd/R"))},bOMt:function(e,t,r){!function(e){"use strict";e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r("wd/R"))},bXm7:function(e,t,r){!function(e){"use strict";var t={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};e.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(r("wd/R"))},bYM6:function(e,t,r){!function(e){"use strict";e.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(r("wd/R"))},bpih:function(e,t,r){!function(e){"use strict";e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){switch(this.day()){case 0:return"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT";default:return"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"}},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(r("wd/R"))},bxKX:function(e,t,r){!function(e){"use strict";e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(r("wd/R"))},cRix:function(e,t,r){!function(e){"use strict";var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),r="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?r[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(r("wd/R"))},czMo:function(e,t,r){!function(e){"use strict";e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(r("wd/R"))},dNwA:function(e,t,r){!function(e){"use strict";e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(r("wd/R"))},"e+ae":function(e,t,r){!function(e){"use strict";var t="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),r="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function n(e){return e>1&&e<5}function i(e,t,r,i){var s=e+" ";switch(r){case"s":return t||i?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return t||i?s+(n(e)?"sekundy":"sek\xfand"):s+"sekundami";case"m":return t?"min\xfata":i?"min\xfatu":"min\xfatou";case"mm":return t||i?s+(n(e)?"min\xfaty":"min\xfat"):s+"min\xfatami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?s+(n(e)?"hodiny":"hod\xedn"):s+"hodinami";case"d":return t||i?"de\u0148":"d\u0148om";case"dd":return t||i?s+(n(e)?"dni":"dn\xed"):s+"d\u0148ami";case"M":return t||i?"mesiac":"mesiacom";case"MM":return t||i?s+(n(e)?"mesiace":"mesiacov"):s+"mesiacmi";case"y":return t||i?"rok":"rokom";case"yy":return t||i?s+(n(e)?"roky":"rokov"):s+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:r,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 4:case 5:return"[minul\xfd] dddd [o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r("wd/R"))},"e/Dd":function(e,t){var r,n=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];t.getSymbolSize=function(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return 4*e+17},t.getSymbolTotalCodewords=function(e){return n[e]},t.getBCHDigit=function(e){for(var t=0;0!==e;)t++,e>>>=1;return t},t.setToSJISFunction=function(e){if("function"!=typeof e)throw new Error('"toSJISFunc" is not a valid function.');r=e},t.isKanjiModeEnabled=function(){return void 0!==r},t.toSJIS=function(e){return r(e)}},e6BP:function(e,t){function r(){this.buffer=[],this.length=0}r.prototype={get:function(e){var t=Math.floor(e/8);return 1==(this.buffer[t]>>>7-e%8&1)},put:function(e,t){for(var r=0;r>>t-r-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},e.exports=r},eQOe:function(e,t){function r(e,r,n){switch(e){case t.Patterns.PATTERN000:return(r+n)%2==0;case t.Patterns.PATTERN001:return r%2==0;case t.Patterns.PATTERN010:return n%3==0;case t.Patterns.PATTERN011:return(r+n)%3==0;case t.Patterns.PATTERN100:return(Math.floor(r/2)+Math.floor(n/3))%2==0;case t.Patterns.PATTERN101:return r*n%2+r*n%3==0;case t.Patterns.PATTERN110:return(r*n%2+r*n%3)%2==0;case t.Patterns.PATTERN111:return(r*n%3+(r+n)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}}t.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},t.isValid=function(e){return null!=e&&""!==e&&!isNaN(e)&&e>=0&&e<=7},t.from=function(e){return t.isValid(e)?parseInt(e,10):void 0},t.getPenaltyN1=function(e){for(var t=e.size,r=0,n=0,i=0,s=null,a=null,o=0;o=5&&(r+=n-5+3),s=c,n=1),(c=e.get(l,o))===a?i++:(i>=5&&(r+=i-5+3),a=c,i=1)}n>=5&&(r+=n-5+3),i>=5&&(r+=i-5+3)}return r},t.getPenaltyN2=function(e){for(var t=e.size,r=0,n=0;n=10&&(1488===n||93===n)&&r++,i=i<<1&2047|e.get(a,s),a>=10&&(1488===i||93===i)&&r++}return 40*r},t.getPenaltyN4=function(e){for(var t=0,r=e.data.length,n=0;n=0&&e.bit<4},t.from=function(e,r){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"l":case"low":return t.L;case"m":case"medium":return t.M;case"q":case"quartile":return t.Q;case"h":case"high":return t.H;default:throw new Error("Unknown EC Level: "+e)}}(e)}catch(n){return r}}},fzPg:function(e,t,r){!function(e){"use strict";e.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(r("wd/R"))},gVVK:function(e,t,r){!function(e){"use strict";function t(e,t,r,n){var i=e+" ";switch(r){case"s":return t||n?"nekaj sekund":"nekaj sekundami";case"ss":return i+(1===e?t?"sekundo":"sekundi":2===e?t||n?"sekundi":"sekundah":e<5?t||n?"sekunde":"sekundah":"sekund");case"m":return t?"ena minuta":"eno minuto";case"mm":return i+(1===e?t?"minuta":"minuto":2===e?t||n?"minuti":"minutama":e<5?t||n?"minute":"minutami":t||n?"minut":"minutami");case"h":return t?"ena ura":"eno uro";case"hh":return i+(1===e?t?"ura":"uro":2===e?t||n?"uri":"urama":e<5?t||n?"ure":"urami":t||n?"ur":"urami");case"d":return t||n?"en dan":"enim dnem";case"dd":return i+(1===e?t||n?"dan":"dnem":2===e?t||n?"dni":"dnevoma":t||n?"dni":"dnevi");case"M":return t||n?"en mesec":"enim mesecem";case"MM":return i+(1===e?t||n?"mesec":"mesecem":2===e?t||n?"meseca":"mesecema":e<5?t||n?"mesece":"meseci":t||n?"mesecev":"meseci");case"y":return t||n?"eno leto":"enim letom";case"yy":return i+(1===e?t||n?"leto":"letom":2===e?t||n?"leti":"letoma":e<5?t||n?"leta":"leti":t||n?"let":"leti")}}e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(r("wd/R"))},gekB:function(e,t,r){!function(e){"use strict";var t="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),r=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",t[7],t[8],t[9]];function n(e,n,i,s){var a="";switch(i){case"s":return s?"muutaman sekunnin":"muutama sekunti";case"ss":a=s?"sekunnin":"sekuntia";break;case"m":return s?"minuutin":"minuutti";case"mm":a=s?"minuutin":"minuuttia";break;case"h":return s?"tunnin":"tunti";case"hh":a=s?"tunnin":"tuntia";break;case"d":return s?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":a=s?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return s?"kuukauden":"kuukausi";case"MM":a=s?"kuukauden":"kuukautta";break;case"y":return s?"vuoden":"vuosi";case"yy":a=s?"vuoden":"vuotta"}return function(e,n){return e<10?n?r[e]:t[e]:e}(e,s)+" "+a}e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r("wd/R"))},gjCT:function(e,t,r){!function(e){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},r={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};e.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,r){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,(function(e){return r[e]})).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(r("wd/R"))},hKrs:function(e,t,r){!function(e){"use strict";e.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0443_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(e){var t=e%10,r=e%100;return 0===e?e+"-\u0435\u0432":0===r?e+"-\u0435\u043d":r>10&&r<20?e+"-\u0442\u0438":1===t?e+"-\u0432\u0438":2===t?e+"-\u0440\u0438":7===t||8===t?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}})}(r("wd/R"))},honF:function(e,t,r){!function(e){"use strict";var t={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},r={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};e.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(e){return e.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(r("wd/R"))},iEDd:function(e,t,r){!function(e){"use strict";e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(r("wd/R"))},iYuL:function(e,t,r){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),r="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?r[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4},invalidDate:"Fecha inv\xe1lida"})}(r("wd/R"))},jSPq:function(e,t,r){var n=r("Wogr"),i=r("JzKC");function s(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}s.prototype.initialize=function(e){this.degree=e,this.genPoly=i.generateECPolynomial(this.degree)},s.prototype.encode=function(e){if(!this.genPoly)throw new Error("Encoder not initialized");var t=new n(this.degree);t.fill(0);var r=n.concat([e,t],e.length+this.degree),s=i.mod(r,this.genPoly),a=this.degree-s.length;if(a>0){var o=new n(this.degree);return o.fill(0),s.copy(o,a),o}return s},e.exports=s},jUeY:function(e,t,r){!function(e){"use strict";e.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(e,t,r){return e>11?r?"\u03bc\u03bc":"\u039c\u039c":r?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(e){return"\u03bc"===(e+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT";default:return"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,t){var r,n=this._calendarEl[e],i=t&&t.hours();return r=n,("undefined"!=typeof Function&&r instanceof Function||"[object Function]"===Object.prototype.toString.call(r))&&(n=n.apply(t)),n.replace("{}",i%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(r("wd/R"))},jVdC:function(e,t,r){!function(e){"use strict";var t="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),r="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),n=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function i(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function s(e,t,r){var n=e+" ";switch(r){case"ss":return n+(i(e)?"sekundy":"sekund");case"m":return t?"minuta":"minut\u0119";case"mm":return n+(i(e)?"minuty":"minut");case"h":return t?"godzina":"godzin\u0119";case"hh":return n+(i(e)?"godziny":"godzin");case"ww":return n+(i(e)?"tygodnie":"tygodni");case"MM":return n+(i(e)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return n+(i(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,n){return e?/D MMMM/.test(n)?r[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:s,m:s,mm:s,h:s,hh:s,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:s,M:"miesi\u0105c",MM:s,y:"rok",yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r("wd/R"))},jfSC:function(e,t,r){!function(e){"use strict";var t={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},r={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};e.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(e){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(e)},meridiem:function(e,t,r){return e<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"%d \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/[\u06f0-\u06f9]/g,(function(e){return r[e]})).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(r("wd/R"))},jnO4:function(e,t,r){!function(e){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},r={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},i={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},s=function(e){return function(t,r,s,a){var o=n(t),l=i[e][n(t)];return 2===o&&(l=l[r?0:1]),l.replace(/%d/i,t)}},a=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];e.defineLocale("ar",{months:a,monthsShort:a,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,r){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:s("s"),ss:s("s"),m:s("m"),mm:s("m"),h:s("h"),hh:s("h"),d:s("d"),dd:s("d"),M:s("M"),MM:s("M"),y:s("y"),yy:s("y")},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,(function(e){return r[e]})).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(r("wd/R"))},kEOa:function(e,t,r){!function(e){"use strict";var t={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},r={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};e.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(e){return e.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u09b0\u09be\u09a4"===t&&e>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===t&&e<5||"\u09ac\u09bf\u0995\u09be\u09b2"===t?e+12:e},meridiem:function(e,t,r){return e<4?"\u09b0\u09be\u09a4":e<10?"\u09b8\u0995\u09be\u09b2":e<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":e<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(r("wd/R"))},kOpN:function(e,t,r){!function(e){"use strict";e.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e2d\u5348"===t?e>=11?e:e+12:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:void 0},meridiem:function(e,t,r){var n=100*e+t;return n<600?"\u51cc\u6668":n<900?"\u65e9\u4e0a":n<1130?"\u4e0a\u5348":n<1230?"\u4e2d\u5348":n<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(r("wd/R"))},"kk9/":function(e,t,r){var n=r("e/Dd").getSymbolSize;t.getPositions=function(e){var t=n(e);return[[0,0],[t-7,0],[0,t-7]]}},l5ep:function(e,t,r){!function(e){"use strict";e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t="";return e>20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})}(r("wd/R"))},lXzo:function(e,t,r){!function(e){"use strict";function t(e,t,r){return"m"===r?t?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":e+" "+(n=+e,i={ss:t?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:t?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[r].split("_"),n%10==1&&n%100!=11?i[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?i[1]:i[2]);var n,i}var r=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];e.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:r,longMonthsParse:r,shortMonthsParse:r,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:t,m:t,mm:t,h:"\u0447\u0430\u0441",hh:t,d:"\u0434\u0435\u043d\u044c",dd:t,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:t,M:"\u043c\u0435\u0441\u044f\u0446",MM:t,y:"\u0433\u043e\u0434",yy:t},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(e)},meridiem:function(e,t,r){return e<4?"\u043d\u043e\u0447\u0438":e<12?"\u0443\u0442\u0440\u0430":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-\u0439";case"D":return e+"-\u0433\u043e";case"w":case"W":return e+"-\u044f";default:return e}},week:{dow:1,doy:4}})}(r("wd/R"))},lYJp:function(e,t,r){var n=r("e/Dd"),i=n.getBCHDigit(1335);t.getEncodedBits=function(e,t){for(var r=e.bit<<3|t,s=r<<10;n.getBCHDigit(s)-i>=0;)s^=1335<=100?100:null])},week:{dow:1,doy:7}})}(r("wd/R"))},loYQ:function(e,t,r){!function(e){"use strict";var t={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},r={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};e.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(e){return e.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,(function(e){return r[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u09b0\u09be\u09a4"===t?e<4?e:e+12:"\u09ad\u09cb\u09b0"===t||"\u09b8\u0995\u09be\u09b2"===t?e:"\u09a6\u09c1\u09aa\u09c1\u09b0"===t?e>=3?e:e+12:"\u09ac\u09bf\u0995\u09be\u09b2"===t||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"\u09b0\u09be\u09a4":e<6?"\u09ad\u09cb\u09b0":e<12?"\u09b8\u0995\u09be\u09b2":e<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":e<18?"\u09ac\u09bf\u0995\u09be\u09b2":e<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(r("wd/R"))},lyxo:function(e,t,r){!function(e){"use strict";function t(e,t,r){var n=" ";return(e%100>=20||e>=100&&e%100==0)&&(n=" de "),e+n+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[r]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:t,m:"un minut",mm:t,h:"o or\u0103",hh:t,d:"o zi",dd:t,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:t,M:"o lun\u0103",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(r("wd/R"))},nZSm:function(e,t,r){var n=r("u/Db"),i=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function s(e){this.mode=n.ALPHANUMERIC,this.data=e}s.getBitsLength=function(e){return 11*Math.floor(e/2)+e%2*6},s.prototype.getLength=function(){return this.data.length},s.prototype.getBitsLength=function(){return s.getBitsLength(this.data.length)},s.prototype.write=function(e){var t;for(t=0;t+2<=this.data.length;t+=2){var r=45*i.indexOf(this.data[t]);r+=i.indexOf(this.data[t+1]),e.put(r,11)}this.data.length%2&&e.put(i.indexOf(this.data[t]),6)},e.exports=s},nyYc:function(e,t,r){!function(e){"use strict";var t=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,r=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];e.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsRegex:t,monthsShortRegex:t,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(r("wd/R"))},o1bE:function(e,t,r){!function(e){"use strict";var t=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},r={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},n=function(e){return function(n,i,s,a){var o=t(n),l=r[e][t(n)];return 2===o&&(l=l[i?0:1]),l.replace(/%d/i,n)}},i=["\u062c\u0627\u0646\u0641\u064a","\u0641\u064a\u0641\u0631\u064a","\u0645\u0627\u0631\u0633","\u0623\u0641\u0631\u064a\u0644","\u0645\u0627\u064a","\u062c\u0648\u0627\u0646","\u062c\u0648\u064a\u0644\u064a\u0629","\u0623\u0648\u062a","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];e.defineLocale("ar-dz",{months:i,monthsShort:i,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,r){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:n("s"),ss:n("s"),m:n("m"),mm:n("m"),h:n("h"),hh:n("h"),d:n("d"),dd:n("d"),M:n("M"),MM:n("M"),y:n("y"),yy:n("y")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(r("wd/R"))},"p/rL":function(e,t,r){!function(e){"use strict";e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(r("wd/R"))},qmMu:function(e,t,r){var n=r("Wogr"),i=r("e/Dd"),s=r("ekOh"),a=r("e6BP"),o=r("V35J"),l=r("1sBl"),c=r("kk9/"),d=r("eQOe"),u=r("NPxG"),h=r("jSPq"),f=r("yKow"),m=r("lYJp"),p=r("u/Db"),_=r("vvrf"),g=r("7uVY");function y(e,t,r){var n,i,s=e.size,a=m.getEncodedBits(t,r);for(n=0;n<15;n++)e.set(n<6?n:n<8?n+1:s-15+n,8,i=1==(a>>n&1),!0),e.set(8,n<8?s-n-1:n<9?15-n-1+1:15-n-1,i,!0);e.set(s-8,8,1,!0)}t.create=function(e,t){if(void 0===e||""===e)throw new Error("No input text");var r,m,b=s.M;return void 0!==t&&(b=s.from(t.errorCorrectionLevel,s.M),r=f.from(t.version),m=d.from(t.maskPattern),t.toSJISFunc&&i.setToSJISFunction(t.toSJISFunc)),function(e,t,r,s){var m;if(g(e))m=_.fromArray(e);else{if("string"!=typeof e)throw new Error("Invalid data");var b=t;if(!b){var v=_.rawSplit(e);b=f.getBestVersionForData(v,r)}m=_.fromString(e,b||40)}var w=f.getBestVersionForData(m,r);if(!w)throw new Error("The amount of data is too big to be stored in a QR Code");if(t){if(t=0&&o<=6&&(0===l||6===l)||l>=0&&l<=6&&(0===o||6===o)||o>=2&&o<=4&&l>=2&&l<=4,!0)}(S,t),function(e){for(var t=e.size,r=8;r=7&&function(e,t){for(var r,n,i,s=e.size,a=f.getEncodedBits(t),o=0;o<18;o++)r=Math.floor(o/3),e.set(r,n=o%3+s-8-3,i=1==(a>>o&1),!0),e.set(n,r,i,!0)}(S,t),function(e,t){for(var r=e.size,n=-1,i=r-1,s=7,a=0,o=r-1;o>0;o-=2)for(6===o&&o--;;){for(var l=0;l<2;l++)if(!e.isReserved(i,o-l)){var c=!1;a>>s&1)),e.set(i,o-l,c),-1==--s&&(a++,s=7)}if((i+=n)<0||r<=i){i-=n,n=-n;break}}}(S,k),isNaN(s)&&(s=d.getBestMask(S,y.bind(null,S,r))),d.applyMask(s,S),y(S,r,s),{modules:S,version:t,errorCorrectionLevel:r,maskPattern:s,segments:m}}(e,r,b,m)}},qvJo:function(e,t,r){!function(e){"use strict";function t(e,t,r,n){var i={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[e+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",e+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[e+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",e+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[e+" \u0935\u0930\u093e\u0902\u0928\u0940",e+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[e+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",e+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[e+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",e+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[e+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",e+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return n?i[r][0]:i[r][1]}e.defineLocale("gom-deva",{months:{standalone:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(e,t){switch(t){case"D":return e+"\u0935\u0947\u0930";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924\u0940"===t?e<4?e:e+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===t?e:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===t?e>12?e:e+12:"\u0938\u093e\u0902\u091c\u0947"===t?e+12:void 0},meridiem:function(e,t,r){return e<4?"\u0930\u093e\u0924\u0940":e<12?"\u0938\u0915\u093e\u0933\u0940\u0902":e<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":e<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(r("wd/R"))},raLr:function(e,t,r){!function(e){"use strict";function t(e,t,r){return"m"===r?t?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===r?t?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":e+" "+(n=+e,i={ss:t?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:t?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:t?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[r].split("_"),n%10==1&&n%100!=11?i[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?i[1]:i[2]);var n,i}function r(e){return function(){return e+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}e.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function(e,t){var r={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===e?r.nominative.slice(1,7).concat(r.nominative.slice(0,1)):e?r[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(t)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:r.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:r("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:r("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:r("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:r("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return r("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return r("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:t,m:t,mm:t,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:t,d:"\u0434\u0435\u043d\u044c",dd:t,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:t,y:"\u0440\u0456\u043a",yy:t},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(e)},meridiem:function(e,t,r){return e<4?"\u043d\u043e\u0447\u0456":e<12?"\u0440\u0430\u043d\u043a\u0443":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-\u0439";case"D":return e+"-\u0433\u043e";default:return e}},week:{dow:1,doy:7}})}(r("wd/R"))},"s+uk":function(e,t,r){!function(e){"use strict";function t(e,t,r,n){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[r][0]:i[r][1]}e.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r("wd/R"))},sp3z:function(e,t,r){!function(e){"use strict";e.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(e){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===e},meridiem:function(e,t,r){return e<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(e){return"\u0e97\u0eb5\u0ec8"+e}})}(r("wd/R"))},"t+mt":function(e,t,r){!function(e){"use strict";e.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(r("wd/R"))},tGlX:function(e,t,r){!function(e){"use strict";function t(e,t,r,n){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[r][0]:i[r][1]}e.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r("wd/R"))},tT3J:function(e,t,r){!function(e){"use strict";e.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(r("wd/R"))},tUCv:function(e,t,r){!function(e){"use strict";e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,r){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(r("wd/R"))},tbfe:function(e,t,r){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),r="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?r[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:4},invalidDate:"Fecha inv\xe1lida"})}(r("wd/R"))},"u/Db":function(e,t,r){var n=r("J6Nv"),i=r("BCVQ");t.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},t.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},t.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},t.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},t.MIXED={bit:-1},t.getCharCountIndicator=function(e,t){if(!e.ccBits)throw new Error("Invalid mode: "+e);if(!n.isValid(t))throw new Error("Invalid version: "+t);return t>=1&&t<10?e.ccBits[0]:t<27?e.ccBits[1]:e.ccBits[2]},t.getBestModeForData=function(e){return i.testNumeric(e)?t.NUMERIC:i.testAlphanumeric(e)?t.ALPHANUMERIC:i.testKanji(e)?t.KANJI:t.BYTE},t.toString=function(e){if(e&&e.id)return e.id;throw new Error("Invalid mode")},t.isValid=function(e){return e&&e.bit&&e.ccBits},t.from=function(e,r){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"numeric":return t.NUMERIC;case"alphanumeric":return t.ALPHANUMERIC;case"kanji":return t.KANJI;case"byte":return t.BYTE;default:throw new Error("Unknown mode: "+e)}}(e)}catch(n){return r}}},u3GI:function(e,t,r){!function(e){"use strict";function t(e,t,r,n){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[r][0]:i[r][1]}e.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r("wd/R"))},uEye:function(e,t,r){!function(e){"use strict";e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r("wd/R"))},uXwI:function(e,t,r){!function(e){"use strict";var t={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function r(e,t,r){return r?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function n(e,n,i){return e+" "+r(t[i],e,n)}function i(e,n,i){return r(t[i],e,n)}e.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function(e,t){return t?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:n,m:i,mm:n,h:i,hh:n,d:i,dd:n,M:i,MM:n,y:i,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r("wd/R"))},vvrf:function(e,t,r){var n=r("u/Db"),i=r("3X7Y"),s=r("nZSm"),a=r("AZa5"),o=r("Lzq4"),l=r("BCVQ"),c=r("e/Dd"),d=r("ELBg");function u(e){return unescape(encodeURIComponent(e)).length}function h(e,t,r){for(var n,i=[];null!==(n=e.exec(r));)i.push({data:n[0],index:n.index,mode:t,length:n[0].length});return i}function f(e){var t,r,i=h(l.NUMERIC,n.NUMERIC,e),s=h(l.ALPHANUMERIC,n.ALPHANUMERIC,e);return c.isKanjiModeEnabled()?(t=h(l.BYTE,n.BYTE,e),r=h(l.KANJI,n.KANJI,e)):(t=h(l.BYTE_KANJI,n.BYTE,e),r=[]),i.concat(s,t,r).sort((function(e,t){return e.index-t.index})).map((function(e){return{data:e.data,mode:e.mode,length:e.length}}))}function m(e,t){switch(t){case n.NUMERIC:return i.getBitsLength(e);case n.ALPHANUMERIC:return s.getBitsLength(e);case n.KANJI:return o.getBitsLength(e);case n.BYTE:return a.getBitsLength(e)}}function p(e,t){var r,l=n.getBestModeForData(e);if((r=n.from(t,l))!==n.BYTE&&r.bit=0?e[e.length-1]:null;return r&&r.mode===t.mode?(e[e.length-1].data+=t.data,e):(e.push(t),e)}),[]))},t.rawSplit=function(e){return t.fromArray(f(e,c.isKanjiModeEnabled()))}},wQk9:function(e,t,r){!function(e){"use strict";e.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(r("wd/R"))},"wd/R":function(e,t,r){(function(e){e.exports=function(){"use strict";var t,n;function i(){return t.apply(null,arguments)}function s(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function o(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(o(e,t))return!1;return!0}function c(e){return void 0===e}function d(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function u(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function h(e,t){var r,n=[];for(r=0;r>>0;for(t=0;t0)for(r=0;r=0?r?"+":"":"-")+Math.pow(10,Math.max(0,t-n.length)).toString().substr(1)+n}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,x=Object.keys?Object.keys:function(e){var t,r=[];for(t in e)o(e,t)&&r.push(t);return r};var P=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Y=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,R={},O={};function I(e,t,r,n){var i=n;"string"==typeof n&&(i=function(){return this[n]()}),e&&(O[e]=i),t&&(O[t[0]]=function(){return T(i.apply(this,arguments),t[1],t[2])}),r&&(O[r]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function j(e,t){return e.isValid()?(t=F(t,e.localeData()),R[t]=R[t]||function(e){var t,r,n,i=e.match(P);for(t=0,r=i.length;t=0&&Y.test(e);)e=e.replace(Y,n),Y.lastIndex=0,r-=1;return e}var H={};function N(e,t){var r=e.toLowerCase();H[r]=H[r+"s"]=H[t]=e}function B(e){return"string"==typeof e?H[e]||H[e.toLowerCase()]:void 0}function z(e){var t,r,n={};for(r in e)o(e,r)&&(t=B(r))&&(n[t]=e[r]);return n}var U={};function V(e,t){U[e]=t}function K(e){return e%4==0&&e%100!=0||e%400==0}function W(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function q(e){var t=+e,r=0;return 0!==t&&isFinite(t)&&(r=W(t)),r}function G(e,t){return function(r){return null!=r?(Z(this,e,r),i.updateOffset(this,t),this):$(this,e)}}function $(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Z(e,t,r){e.isValid()&&!isNaN(r)&&("FullYear"===t&&K(e.year())&&1===e.month()&&29===e.date()?(r=q(r),e._d["set"+(e._isUTC?"UTC":"")+t](r,e.month(),ke(r,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](r))}var J,Q=/\d/,X=/\d\d/,ee=/\d{3}/,te=/\d{4}/,re=/[+-]?\d{6}/,ne=/\d\d?/,ie=/\d\d\d\d?/,se=/\d\d\d\d\d\d?/,ae=/\d{1,3}/,oe=/\d{1,4}/,le=/[+-]?\d{1,6}/,ce=/\d+/,de=/[+-]?\d+/,ue=/Z|[+-]\d\d:?\d\d/gi,he=/Z|[+-]\d\d(?::?\d\d)?/gi,fe=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function me(e,t,r){J[e]=L(t)?t:function(e,n){return e&&r?r:t}}function pe(e,t){return o(J,e)?J[e](t._strict,t._locale):new RegExp(_e(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,r,n,i){return t||r||n||i}))))}function _e(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}J={};var ge,ye={};function be(e,t){var r,n=t;for("string"==typeof e&&(e=[e]),d(t)&&(n=function(e,r){r[t]=q(e)}),r=0;r68?1900:2e3)};var Ye=G("FullYear",!0);function Re(e,t,r,n,i,s,a){var o;return e<100&&e>=0?(o=new Date(e+400,t,r,n,i,s,a),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,r,n,i,s,a),o}function Oe(e){var t,r;return e<100&&e>=0?((r=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ie(e,t,r){var n=7+t-r;return-(7+Oe(e,0,n).getUTCDay()-t)%7+n-1}function je(e,t,r,n,i){var s,a,o=1+7*(t-1)+(7+r-n)%7+Ie(e,n,i);return o<=0?a=Pe(s=e-1)+o:o>Pe(e)?(s=e+1,a=o-Pe(e)):(s=e,a=o),{year:s,dayOfYear:a}}function Fe(e,t,r){var n,i,s=Ie(e.year(),t,r),a=Math.floor((e.dayOfYear()-s-1)/7)+1;return a<1?n=a+He(i=e.year()-1,t,r):a>He(e.year(),t,r)?(n=a-He(e.year(),t,r),i=e.year()+1):(i=e.year(),n=a),{week:n,year:i}}function He(e,t,r){var n=Ie(e,t,r),i=Ie(e+1,t,r);return(Pe(e)-n+i)/7}function Ne(e,t){return e.slice(t,7).concat(e.slice(0,t))}I("w",["ww",2],"wo","week"),I("W",["WW",2],"Wo","isoWeek"),N("week","w"),N("isoWeek","W"),V("week",5),V("isoWeek",5),me("w",ne),me("ww",ne,X),me("W",ne),me("WW",ne,X),ve(["w","ww","W","WW"],(function(e,t,r,n){t[n.substr(0,1)]=q(e)})),I("d",0,"do","day"),I("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),I("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),I("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),I("e",0,0,"weekday"),I("E",0,0,"isoWeekday"),N("day","d"),N("weekday","e"),N("isoWeekday","E"),V("day",11),V("weekday",11),V("isoWeekday",11),me("d",ne),me("e",ne),me("E",ne),me("dd",(function(e,t){return t.weekdaysMinRegex(e)})),me("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),me("dddd",(function(e,t){return t.weekdaysRegex(e)})),ve(["dd","ddd","dddd"],(function(e,t,r,n){var i=r._locale.weekdaysParse(e,n,r._strict);null!=i?t.d=i:p(r).invalidWeekday=e})),ve(["d","e","E"],(function(e,t,r,n){t[n]=q(e)}));var Be="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ze="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ue="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ve=fe,Ke=fe,We=fe;function qe(e,t,r){var n,i,s,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)s=m([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(s,"").toLocaleLowerCase();return r?"dddd"===t?-1!==(i=ge.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=ge.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=ge.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=ge.call(this._weekdaysParse,a))||-1!==(i=ge.call(this._shortWeekdaysParse,a))||-1!==(i=ge.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=ge.call(this._shortWeekdaysParse,a))||-1!==(i=ge.call(this._weekdaysParse,a))||-1!==(i=ge.call(this._minWeekdaysParse,a))?i:null:-1!==(i=ge.call(this._minWeekdaysParse,a))||-1!==(i=ge.call(this._weekdaysParse,a))||-1!==(i=ge.call(this._shortWeekdaysParse,a))?i:null}function Ge(){function e(e,t){return t.length-e.length}var t,r,n,i,s,a=[],o=[],l=[],c=[];for(t=0;t<7;t++)r=m([2e3,1]).day(t),n=_e(this.weekdaysMin(r,"")),i=_e(this.weekdaysShort(r,"")),s=_e(this.weekdays(r,"")),a.push(n),o.push(i),l.push(s),c.push(n),c.push(i),c.push(s);a.sort(e),o.sort(e),l.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function $e(){return this.hours()%12||12}function Ze(e,t){I(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Je(e,t){return t._meridiemParse}I("H",["HH",2],0,"hour"),I("h",["hh",2],0,$e),I("k",["kk",2],0,(function(){return this.hours()||24})),I("hmm",0,0,(function(){return""+$e.apply(this)+T(this.minutes(),2)})),I("hmmss",0,0,(function(){return""+$e.apply(this)+T(this.minutes(),2)+T(this.seconds(),2)})),I("Hmm",0,0,(function(){return""+this.hours()+T(this.minutes(),2)})),I("Hmmss",0,0,(function(){return""+this.hours()+T(this.minutes(),2)+T(this.seconds(),2)})),Ze("a",!0),Ze("A",!1),N("hour","h"),V("hour",13),me("a",Je),me("A",Je),me("H",ne),me("h",ne),me("k",ne),me("HH",ne,X),me("hh",ne,X),me("kk",ne,X),me("hmm",ie),me("hmmss",se),me("Hmm",ie),me("Hmmss",se),be(["H","HH"],3),be(["k","kk"],(function(e,t,r){var n=q(e);t[3]=24===n?0:n})),be(["a","A"],(function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e})),be(["h","hh"],(function(e,t,r){t[3]=q(e),p(r).bigHour=!0})),be("hmm",(function(e,t,r){var n=e.length-2;t[3]=q(e.substr(0,n)),t[4]=q(e.substr(n)),p(r).bigHour=!0})),be("hmmss",(function(e,t,r){var n=e.length-4,i=e.length-2;t[3]=q(e.substr(0,n)),t[4]=q(e.substr(n,2)),t[5]=q(e.substr(i)),p(r).bigHour=!0})),be("Hmm",(function(e,t,r){var n=e.length-2;t[3]=q(e.substr(0,n)),t[4]=q(e.substr(n))})),be("Hmmss",(function(e,t,r){var n=e.length-4,i=e.length-2;t[3]=q(e.substr(0,n)),t[4]=q(e.substr(n,2)),t[5]=q(e.substr(i))}));var Qe,Xe=G("Hours",!0),et={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Me,monthsShort:Se,week:{dow:0,doy:6},weekdays:Be,weekdaysMin:Ue,weekdaysShort:ze,meridiemParse:/[ap]\.?m?\.?/i},tt={},rt={};function nt(e,t){var r,n=Math.min(e.length,t.length);for(r=0;r0;){if(n=st(i.slice(0,t).join("-")))return n;if(r&&r.length>=t&&nt(i,r)>=t-1)break;t--}s++}return Qe}(e)}function ct(e){var t,r=e._a;return r&&-2===p(e).overflow&&(t=r[1]<0||r[1]>11?1:r[2]<1||r[2]>ke(r[0],r[1])?2:r[3]<0||r[3]>24||24===r[3]&&(0!==r[4]||0!==r[5]||0!==r[6])?3:r[4]<0||r[4]>59?4:r[5]<0||r[5]>59?5:r[6]<0||r[6]>999?6:-1,p(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),p(e)._overflowWeeks&&-1===t&&(t=7),p(e)._overflowWeekday&&-1===t&&(t=8),p(e).overflow=t),e}var dt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ut=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ht=/Z|[+-]\d\d(?::?\d\d)?/,ft=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],mt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],pt=/^\/?Date\((-?\d+)/i,_t=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,gt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function yt(e){var t,r,n,i,s,a,o=e._i,l=dt.exec(o)||ut.exec(o);if(l){for(p(e).iso=!0,t=0,r=ft.length;t7)&&(l=!0)):(s=e._locale._week.dow,a=e._locale._week.doy,c=Fe(xt(),s,a),r=vt(t.gg,e._a[0],c.year),n=vt(t.w,c.week),null!=t.d?((i=t.d)<0||i>6)&&(l=!0):null!=t.e?(i=t.e+s,(t.e<0||t.e>6)&&(l=!0)):i=s),n<1||n>He(r,s,a)?p(e)._overflowWeeks=!0:null!=l?p(e)._overflowWeekday=!0:(o=je(r,n,i,s,a),e._a[0]=o.year,e._dayOfYear=o.dayOfYear)}(e),null!=e._dayOfYear&&(a=vt(e._a[0],n[0]),(e._dayOfYear>Pe(a)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),r=Oe(a,0,e._dayOfYear),e._a[1]=r.getUTCMonth(),e._a[2]=r.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=n[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?Oe:Re).apply(null,o),s=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==s&&(p(e).weekdayMismatch=!0)}}function kt(e){if(e._f!==i.ISO_8601)if(e._f!==i.RFC_2822){e._a=[],p(e).empty=!0;var t,r,n,s,a,o,l=""+e._i,c=l.length,d=0;for(n=F(e._f,e._locale).match(P)||[],t=0;t0&&p(e).unusedInput.push(a),l=l.slice(l.indexOf(r)+r.length),d+=r.length),O[s]?(r?p(e).empty=!1:p(e).unusedTokens.push(s),we(s,r,e)):e._strict&&!r&&p(e).unusedTokens.push(s);p(e).charsLeftOver=c-d,l.length>0&&p(e).unusedInput.push(l),e._a[3]<=12&&!0===p(e).bigHour&&e._a[3]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[3]=function(e,t,r){var n;return null==r?t:null!=e.meridiemHour?e.meridiemHour(t,r):null!=e.isPM?((n=e.isPM(r))&&t<12&&(t+=12),n||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),null!==(o=p(e).era)&&(e._a[0]=e._locale.erasConvertYear(o,e._a[0])),wt(e),ct(e)}else bt(e);else yt(e)}function Mt(e){var t=e._i,r=e._f;return e._locale=e._locale||lt(e._l),null===t||void 0===r&&""===t?g({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),k(t)?new w(ct(t)):(u(t)?e._d=t:s(r)?function(e){var t,r,n,i,s,a,o=!1;if(0===e._f.length)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis?this:e:g()}));function Lt(e,t){var r,n;if(1===t.length&&s(t[0])&&(t=t[0]),!t.length)return xt();for(r=t[0],n=1;n=0?new Date(e+400,t,r)-ir:new Date(e,t,r).valueOf()}function or(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-ir:Date.UTC(e,t,r)}function lr(e,t){return t.erasAbbrRegex(e)}function cr(){var e,t,r=[],n=[],i=[],s=[],a=this.eras();for(e=0,t=a.length;e(s=He(e,n,i))&&(t=s),hr.call(this,e,t,r,n,i))}function hr(e,t,r,n,i){var s=je(e,t,r,n,i),a=Oe(s.year,0,s.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}I("N",0,0,"eraAbbr"),I("NN",0,0,"eraAbbr"),I("NNN",0,0,"eraAbbr"),I("NNNN",0,0,"eraName"),I("NNNNN",0,0,"eraNarrow"),I("y",["y",1],"yo","eraYear"),I("y",["yy",2],0,"eraYear"),I("y",["yyy",3],0,"eraYear"),I("y",["yyyy",4],0,"eraYear"),me("N",lr),me("NN",lr),me("NNN",lr),me("NNNN",(function(e,t){return t.erasNameRegex(e)})),me("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),be(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,r,n){var i=r._locale.erasParse(e,n,r._strict);i?p(r).era=i:p(r).invalidEra=e})),me("y",ce),me("yy",ce),me("yyy",ce),me("yyyy",ce),me("yo",(function(e,t){return t._eraYearOrdinalRegex||ce})),be(["y","yy","yyy","yyyy"],0),be(["yo"],(function(e,t,r,n){var i;r._locale._eraYearOrdinalRegex&&(i=e.match(r._locale._eraYearOrdinalRegex)),t[0]=r._locale.eraYearOrdinalParse?r._locale.eraYearOrdinalParse(e,i):parseInt(e,10)})),I(0,["gg",2],0,(function(){return this.weekYear()%100})),I(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),dr("gggg","weekYear"),dr("ggggg","weekYear"),dr("GGGG","isoWeekYear"),dr("GGGGG","isoWeekYear"),N("weekYear","gg"),N("isoWeekYear","GG"),V("weekYear",1),V("isoWeekYear",1),me("G",de),me("g",de),me("GG",ne,X),me("gg",ne,X),me("GGGG",oe,te),me("gggg",oe,te),me("GGGGG",le,re),me("ggggg",le,re),ve(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,r,n){t[n.substr(0,2)]=q(e)})),ve(["gg","GG"],(function(e,t,r,n){t[n]=i.parseTwoDigitYear(e)})),I("Q",0,"Qo","quarter"),N("quarter","Q"),V("quarter",7),me("Q",Q),be("Q",(function(e,t){t[1]=3*(q(e)-1)})),I("D",["DD",2],"Do","date"),N("date","D"),V("date",9),me("D",ne),me("DD",ne,X),me("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),be(["D","DD"],2),be("Do",(function(e,t){t[2]=q(e.match(ne)[0])}));var fr=G("Date",!0);I("DDD",["DDDD",3],"DDDo","dayOfYear"),N("dayOfYear","DDD"),V("dayOfYear",4),me("DDD",ae),me("DDDD",ee),be(["DDD","DDDD"],(function(e,t,r){r._dayOfYear=q(e)})),I("m",["mm",2],0,"minute"),N("minute","m"),V("minute",14),me("m",ne),me("mm",ne,X),be(["m","mm"],4);var mr=G("Minutes",!1);I("s",["ss",2],0,"second"),N("second","s"),V("second",15),me("s",ne),me("ss",ne,X),be(["s","ss"],5);var pr,_r,gr=G("Seconds",!1);for(I("S",0,0,(function(){return~~(this.millisecond()/100)})),I(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),I(0,["SSS",3],0,"millisecond"),I(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),I(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),I(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),I(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),I(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),I(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),N("millisecond","ms"),V("millisecond",16),me("S",ae,Q),me("SS",ae,X),me("SSS",ae,ee),pr="SSSS";pr.length<=9;pr+="S")me(pr,ce);function yr(e,t){t[6]=q(1e3*("0."+e))}for(pr="S";pr.length<=9;pr+="S")be(pr,yr);_r=G("Milliseconds",!1),I("z",0,0,"zoneAbbr"),I("zz",0,0,"zoneName");var br=w.prototype;function vr(e){return e}br.add=Wt,br.calendar=function(e,t){1===arguments.length&&(arguments[0]?$t(arguments[0])?(e=arguments[0],t=void 0):Zt(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||xt(),n=It(r,this).startOf("day"),s=i.calendarFormat(this,n)||"sameElse",a=t&&(L(t[s])?t[s].call(this,r):t[s]);return this.format(a||this.localeData().calendar(s,this,xt(r)))},br.clone=function(){return new w(this)},br.diff=function(e,t,r){var n,i,s;if(!this.isValid())return NaN;if(!(n=It(e,this)).isValid())return NaN;switch(i=6e4*(n.utcOffset()-this.utcOffset()),t=B(t)){case"year":s=Jt(this,n)/12;break;case"month":s=Jt(this,n);break;case"quarter":s=Jt(this,n)/3;break;case"second":s=(this-n)/1e3;break;case"minute":s=(this-n)/6e4;break;case"hour":s=(this-n)/36e5;break;case"day":s=(this-n-i)/864e5;break;case"week":s=(this-n-i)/6048e5;break;default:s=this-n}return r?s:W(s)},br.endOf=function(e){var t,r;if(void 0===(e=B(e))||"millisecond"===e||!this.isValid())return this;switch(r=this._isUTC?or:ar,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=nr-sr(t+(this._isUTC?0:this.utcOffset()*rr),nr)-1;break;case"minute":t=this._d.valueOf(),t+=rr-sr(t,rr)-1;break;case"second":t=this._d.valueOf(),t+=tr-sr(t,tr)-1}return this._d.setTime(t),i.updateOffset(this,!0),this},br.format=function(e){e||(e=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var t=j(this,e);return this.localeData().postformat(t)},br.from=function(e,t){return this.isValid()&&(k(e)&&e.isValid()||xt(e).isValid())?Bt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},br.fromNow=function(e){return this.from(xt(),e)},br.to=function(e,t){return this.isValid()&&(k(e)&&e.isValid()||xt(e).isValid())?Bt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},br.toNow=function(e){return this.to(xt(),e)},br.get=function(e){return L(this[e=B(e)])?this[e]():this},br.invalidAt=function(){return p(this).overflow},br.isAfter=function(e,t){var r=k(e)?e:xt(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=B(t)||"millisecond")?this.valueOf()>r.valueOf():r.valueOf()9999?j(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):L(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",j(r,"Z")):j(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},br.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,r="moment",n="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),e="["+r+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(br[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),br.toJSON=function(){return this.isValid()?this.toISOString():null},br.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},br.unix=function(){return Math.floor(this.valueOf()/1e3)},br.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},br.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},br.eraName=function(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;ethis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},br.isLocal=function(){return!!this.isValid()&&!this._isUTC},br.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},br.isUtc=Ft,br.isUTC=Ft,br.zoneAbbr=function(){return this._isUTC?"UTC":""},br.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},br.dates=S("dates accessor is deprecated. Use date instead.",fr),br.months=S("months accessor is deprecated. Use month instead",Ee),br.years=S("years accessor is deprecated. Use year instead",Ye),br.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),br.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e,t={};return v(t,this),(t=Mt(t))._a?(e=t._isUTC?m(t._a):xt(t._a),this._isDSTShifted=this.isValid()&&function(e,t,r){var n,i=Math.min(e.length,t.length),s=Math.abs(e.length-t.length),a=0;for(n=0;n0):this._isDSTShifted=!1,this._isDSTShifted}));var wr=E.prototype;function kr(e,t,r,n){var i=lt(),s=m().set(n,t);return i[r](s,e)}function Mr(e,t,r){if(d(e)&&(t=e,e=void 0),e=e||"",null!=t)return kr(e,t,r,"month");var n,i=[];for(n=0;n<12;n++)i[n]=kr(e,n,r,"month");return i}function Sr(e,t,r,n){"boolean"==typeof e?(d(t)&&(r=t,t=void 0),t=t||""):(r=t=e,e=!1,d(t)&&(r=t,t=void 0),t=t||"");var i,s=lt(),a=e?s._week.dow:0,o=[];if(null!=r)return kr(t,(r+a)%7,n,"day");for(i=0;i<7;i++)o[i]=kr(t,(i+a)%7,n,"day");return o}wr.calendar=function(e,t,r){var n=this._calendar[e]||this._calendar.sameElse;return L(n)?n.call(t,r):n},wr.longDateFormat=function(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(P).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},wr.invalidDate=function(){return this._invalidDate},wr.ordinal=function(e){return this._ordinal.replace("%d",e)},wr.preparse=vr,wr.postformat=vr,wr.relativeTime=function(e,t,r,n){var i=this._relativeTime[r];return L(i)?i(e,t,r,n):i.replace(/%d/i,e)},wr.pastFuture=function(e,t){var r=this._relativeTime[e>0?"future":"past"];return L(r)?r(t):r.replace(/%s/i,t)},wr.set=function(e){var t,r;for(r in e)o(e,r)&&(L(t=e[r])?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},wr.eras=function(e,t){var r,n,s,a=this._eras||lt("en")._eras;for(r=0,n=a.length;r=0)return l[n]},wr.erasConvertYear=function(e,t){var r=e.since<=e.until?1:-1;return void 0===t?i(e.since).year():i(e.since).year()+(t-e.offset)*r},wr.erasAbbrRegex=function(e){return o(this,"_erasAbbrRegex")||cr.call(this),e?this._erasAbbrRegex:this._erasRegex},wr.erasNameRegex=function(e){return o(this,"_erasNameRegex")||cr.call(this),e?this._erasNameRegex:this._erasRegex},wr.erasNarrowRegex=function(e){return o(this,"_erasNarrowRegex")||cr.call(this),e?this._erasNarrowRegex:this._erasRegex},wr.months=function(e,t){return e?s(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||xe).test(t)?"format":"standalone"][e.month()]:s(this._months)?this._months:this._months.standalone},wr.monthsShort=function(e,t){return e?s(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[xe.test(t)?"format":"standalone"][e.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},wr.monthsParse=function(e,t,r){var n,i,s;if(this._monthsParseExact)return Le.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(i=m([2e3,n]),r&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),r||this._monthsParse[n]||(s="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[n]=new RegExp(s.replace(".",""),"i")),r&&"MMMM"===t&&this._longMonthsParse[n].test(e))return n;if(r&&"MMM"===t&&this._shortMonthsParse[n].test(e))return n;if(!r&&this._monthsParse[n].test(e))return n}},wr.monthsRegex=function(e){return this._monthsParseExact?(o(this,"_monthsRegex")||Te.call(this),e?this._monthsStrictRegex:this._monthsRegex):(o(this,"_monthsRegex")||(this._monthsRegex=De),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},wr.monthsShortRegex=function(e){return this._monthsParseExact?(o(this,"_monthsRegex")||Te.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(o(this,"_monthsShortRegex")||(this._monthsShortRegex=Ce),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},wr.week=function(e){return Fe(e,this._week.dow,this._week.doy).week},wr.firstDayOfYear=function(){return this._week.doy},wr.firstDayOfWeek=function(){return this._week.dow},wr.weekdays=function(e,t){var r=s(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ne(r,this._week.dow):e?r[e.day()]:r},wr.weekdaysMin=function(e){return!0===e?Ne(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},wr.weekdaysShort=function(e){return!0===e?Ne(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},wr.weekdaysParse=function(e,t,r){var n,i,s;if(this._weekdaysParseExact)return qe.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(i=m([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(s="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[n]=new RegExp(s.replace(".",""),"i")),r&&"dddd"===t&&this._fullWeekdaysParse[n].test(e))return n;if(r&&"ddd"===t&&this._shortWeekdaysParse[n].test(e))return n;if(r&&"dd"===t&&this._minWeekdaysParse[n].test(e))return n;if(!r&&this._weekdaysParse[n].test(e))return n}},wr.weekdaysRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(o(this,"_weekdaysRegex")||(this._weekdaysRegex=Ve),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},wr.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(o(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ke),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},wr.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(o(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=We),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},wr.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},wr.meridiem=function(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"},at("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===q(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),i.lang=S("moment.lang is deprecated. Use moment.locale instead.",at),i.langData=S("moment.langData is deprecated. Use moment.localeData instead.",lt);var xr=Math.abs;function Cr(e,t,r,n){var i=Bt(t,r);return e._milliseconds+=n*i._milliseconds,e._days+=n*i._days,e._months+=n*i._months,e._bubble()}function Dr(e){return e<0?Math.floor(e):Math.ceil(e)}function Lr(e){return 4800*e/146097}function Ar(e){return 146097*e/4800}function Er(e){return function(){return this.as(e)}}var Tr=Er("ms"),Pr=Er("s"),Yr=Er("m"),Rr=Er("h"),Or=Er("d"),Ir=Er("w"),jr=Er("M"),Fr=Er("Q"),Hr=Er("y");function Nr(e){return function(){return this.isValid()?this._data[e]:NaN}}var Br=Nr("milliseconds"),zr=Nr("seconds"),Ur=Nr("minutes"),Vr=Nr("hours"),Kr=Nr("days"),Wr=Nr("months"),qr=Nr("years"),Gr=Math.round,$r={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Zr(e,t,r,n,i){return i.relativeTime(t||1,!!r,e,n)}var Jr=Math.abs;function Qr(e){return(e>0)-(e<0)||+e}function Xr(){if(!this.isValid())return this.localeData().invalidDate();var e,t,r,n,i,s,a,o,l=Jr(this._milliseconds)/1e3,c=Jr(this._days),d=Jr(this._months),u=this.asSeconds();return u?(e=W(l/60),t=W(e/60),l%=60,e%=60,r=W(d/12),d%=12,n=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=u<0?"-":"",s=Qr(this._months)!==Qr(u)?"-":"",a=Qr(this._days)!==Qr(u)?"-":"",o=Qr(this._milliseconds)!==Qr(u)?"-":"",i+"P"+(r?s+r+"Y":"")+(d?s+d+"M":"")+(c?a+c+"D":"")+(t||e||l?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(l?o+n+"S":"")):"P0D"}var en=Et.prototype;return en.isValid=function(){return this._isValid},en.abs=function(){var e=this._data;return this._milliseconds=xr(this._milliseconds),this._days=xr(this._days),this._months=xr(this._months),e.milliseconds=xr(e.milliseconds),e.seconds=xr(e.seconds),e.minutes=xr(e.minutes),e.hours=xr(e.hours),e.months=xr(e.months),e.years=xr(e.years),this},en.add=function(e,t){return Cr(this,e,t,1)},en.subtract=function(e,t){return Cr(this,e,t,-1)},en.as=function(e){if(!this.isValid())return NaN;var t,r,n=this._milliseconds;if("month"===(e=B(e))||"quarter"===e||"year"===e)switch(r=this._months+Lr(t=this._days+n/864e5),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(Ar(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return 24*t+n/36e5;case"minute":return 1440*t+n/6e4;case"second":return 86400*t+n/1e3;case"millisecond":return Math.floor(864e5*t)+n;default:throw new Error("Unknown unit "+e)}},en.asMilliseconds=Tr,en.asSeconds=Pr,en.asMinutes=Yr,en.asHours=Rr,en.asDays=Or,en.asWeeks=Ir,en.asMonths=jr,en.asQuarters=Fr,en.asYears=Hr,en.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*q(this._months/12):NaN},en._bubble=function(){var e,t,r,n,i,s=this._milliseconds,a=this._days,o=this._months,l=this._data;return s>=0&&a>=0&&o>=0||s<=0&&a<=0&&o<=0||(s+=864e5*Dr(Ar(o)+a),a=0,o=0),l.milliseconds=s%1e3,e=W(s/1e3),l.seconds=e%60,t=W(e/60),l.minutes=t%60,r=W(t/60),l.hours=r%24,a+=W(r/24),o+=i=W(Lr(a)),a-=Dr(Ar(i)),n=W(o/12),o%=12,l.days=a,l.months=o,l.years=n,this},en.clone=function(){return Bt(this)},en.get=function(e){return e=B(e),this.isValid()?this[e+"s"]():NaN},en.milliseconds=Br,en.seconds=zr,en.minutes=Ur,en.hours=Vr,en.days=Kr,en.weeks=function(){return W(this.days()/7)},en.months=Wr,en.years=qr,en.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var r,n,i=!1,s=$r;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(i=e),"object"==typeof t&&(s=Object.assign({},$r,t),null!=t.s&&null==t.ss&&(s.ss=t.s-1)),n=function(e,t,r,n){var i=Bt(e).abs(),s=Gr(i.as("s")),a=Gr(i.as("m")),o=Gr(i.as("h")),l=Gr(i.as("d")),c=Gr(i.as("M")),d=Gr(i.as("w")),u=Gr(i.as("y")),h=s<=r.ss&&["s",s]||s0,h[4]=n,Zr.apply(null,h)}(this,!i,s,r=this.localeData()),i&&(n=r.pastFuture(+this,n)),r.postformat(n)},en.toISOString=Xr,en.toString=Xr,en.toJSON=Xr,en.locale=Qt,en.localeData=er,en.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Xr),en.lang=Xt,I("X",0,0,"unix"),I("x",0,0,"valueOf"),me("x",de),me("X",/[+-]?\d+(\.\d{1,3})?/),be("X",(function(e,t,r){r._d=new Date(1e3*parseFloat(e))})),be("x",(function(e,t,r){r._d=new Date(q(e))})),i.version="2.29.1",t=xt,i.fn=br,i.min=function(){return Lt("isBefore",[].slice.call(arguments,0))},i.max=function(){return Lt("isAfter",[].slice.call(arguments,0))},i.now=function(){return Date.now?Date.now():+new Date},i.utc=m,i.unix=function(e){return xt(1e3*e)},i.months=function(e,t){return Mr(e,t,"months")},i.isDate=u,i.locale=at,i.invalid=g,i.duration=Bt,i.isMoment=k,i.weekdays=function(e,t,r){return Sr(e,t,r,"weekdays")},i.parseZone=function(){return xt.apply(null,arguments).parseZone()},i.localeData=lt,i.isDuration=Tt,i.monthsShort=function(e,t){return Mr(e,t,"monthsShort")},i.weekdaysMin=function(e,t,r){return Sr(e,t,r,"weekdaysMin")},i.defineLocale=ot,i.updateLocale=function(e,t){if(null!=t){var r,n,i=et;null!=tt[e]&&null!=tt[e].parentLocale?tt[e].set(A(tt[e]._config,t)):(null!=(n=st(e))&&(i=n._config),t=A(i,t),null==n&&(t.abbr=e),(r=new E(t)).parentLocale=tt[e],tt[e]=r),at(e)}else null!=tt[e]&&(null!=tt[e].parentLocale?(tt[e]=tt[e].parentLocale,e===at()&&at(e)):null!=tt[e]&&delete tt[e]);return tt[e]},i.locales=function(){return x(tt)},i.weekdaysShort=function(e,t,r){return Sr(e,t,r,"weekdaysShort")},i.normalizeUnits=B,i.relativeTimeRounding=function(e){return void 0===e?Gr:"function"==typeof e&&(Gr=e,!0)},i.relativeTimeThreshold=function(e,t){return void 0!==$r[e]&&(void 0===t?$r[e]:($r[e]=t,"s"===e&&($r.ss=t-1),!0))},i.calendarFormat=function(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"},i.prototype=br,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}()}).call(this,r("YuTi")(e))},x6pH:function(e,t,r){!function(e){"use strict";e.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(e){return 2===e?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":e+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(e){return 2===e?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":e+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(e){return 2===e?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":e+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(e){return 2===e?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":e%10==0&&10!==e?e+" \u05e9\u05e0\u05d4":e+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(e){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(e)},meridiem:function(e,t,r){return e<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":e<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":e<12?r?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":e<18?r?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(r("wd/R"))},yKow:function(e,t,r){var n=r("e/Dd"),i=r("NPxG"),s=r("ekOh"),a=r("u/Db"),o=r("J6Nv"),l=r("7uVY"),c=n.getBCHDigit(7973);function d(e,t){return a.getCharCountIndicator(e,t)+4}function u(e,t){var r=0;return e.forEach((function(e){var n=d(e.mode,t);r+=n+e.getBitsLength()})),r}t.from=function(e,t){return o.isValid(e)?parseInt(e,10):t},t.getCapacity=function(e,t,r){if(!o.isValid(e))throw new Error("Invalid QR Code version");void 0===r&&(r=a.BYTE);var s=8*(n.getSymbolTotalCodewords(e)-i.getTotalCodewordsCount(e,t));if(r===a.MIXED)return s;var l=s-d(r,e);switch(r){case a.NUMERIC:return Math.floor(l/10*3);case a.ALPHANUMERIC:return Math.floor(l/11*2);case a.KANJI:return Math.floor(l/13);case a.BYTE:default:return Math.floor(l/8)}},t.getBestVersionForData=function(e,r){var n,i=s.from(r,s.M);if(l(e)){if(e.length>1)return function(e,r){for(var n=1;n<=40;n++)if(u(e,n)<=t.getCapacity(n,r,a.MIXED))return n}(e,i);if(0===e.length)return 1;n=e[0]}else n=e;return function(e,r,n){for(var i=1;i<=40;i++)if(r<=t.getCapacity(i,n,e))return i}(n.mode,n.getLength(),i)},t.getEncodedBits=function(e){if(!o.isValid(e)||e<7)throw new Error("Invalid QR Code version");for(var t=e<<12;n.getBCHDigit(t)-c>=0;)t^=7973<11?r?"d'o":"D'O":r?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r("wd/R"))},z3Vd:function(e,t,r){!function(e){"use strict";var t="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function r(e,r,n,i){var s=function(e){var r=Math.floor(e%1e3/100),n=Math.floor(e%100/10),i=e%10,s="";return r>0&&(s+=t[r]+"vatlh"),n>0&&(s+=(""!==s?" ":"")+t[n]+"maH"),i>0&&(s+=(""!==s?" ":"")+t[i]),""===s?"pagh":s}(e);switch(n){case"ss":return s+" lup";case"mm":return s+" tup";case"hh":return s+" rep";case"dd":return s+" jaj";case"MM":return s+" jar";case"yy":return s+" DIS"}}e.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"},past:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu\u2019":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"},s:"puS lup",ss:r,m:"wa\u2019 tup",mm:r,h:"wa\u2019 rep",hh:r,d:"wa\u2019 jaj",dd:r,M:"wa\u2019 jar",MM:r,y:"wa\u2019 DIS",yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(r("wd/R"))},zUnb:function(e,t,r){"use strict";function n(e){return"function"==typeof e}r.r(t);let i=!1;const s={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){const e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=e},get useDeprecatedSynchronousErrorHandling(){return i}};function a(e){setTimeout(()=>{throw e},0)}const o={closed:!0,next(e){},error(e){if(s.useDeprecatedSynchronousErrorHandling)throw e;a(e)},complete(){}},l=(()=>Array.isArray||(e=>e&&"number"==typeof e.length))();function c(e){return null!==e&&"object"==typeof e}const d=(()=>{function e(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((e,t)=>`${t+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e})();let u=(()=>{class e{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:r,_ctorUnsubscribe:i,_unsubscribe:s,_subscriptions:a}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,r instanceof e)r.remove(this);else if(null!==r)for(let e=0;ee.concat(t instanceof d?t.errors:t),[])}const f=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())();class m extends u{constructor(e,t,r){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=o;break;case 1:if(!e){this.destination=o;break}if("object"==typeof e){e instanceof m?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new p(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new p(this,e,t,r)}}[f](){return this}static create(e,t,r){const n=new m(e,t,r);return n.syncErrorThrowable=!1,n}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:e}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}class p extends m{constructor(e,t,r,i){let s;super(),this._parentSubscriber=e;let a=this;n(t)?s=t:t&&(s=t.next,r=t.error,i=t.complete,t!==o&&(a=Object.create(t),n(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=s,this._error=r,this._complete=i}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;s.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:r}=s;if(this._error)r&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)r?(t.syncErrorValue=e,t.syncErrorThrown=!0):a(e),this.unsubscribe();else{if(this.unsubscribe(),r)throw e;a(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);s.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,t){try{e.call(this._context,t)}catch(r){if(this.unsubscribe(),s.useDeprecatedSynchronousErrorHandling)throw r;a(r)}}__tryOrSetError(e,t,r){if(!s.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,r)}catch(n){return s.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=n,e.syncErrorThrown=!0,!0):(a(n),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}const _=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")();function g(e){return e}let y=(()=>{class e{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(t){const r=new e;return r.source=this,r.operator=t,r}subscribe(e,t,r){const{operator:n}=this,i=function(e,t,r){if(e){if(e instanceof m)return e;if(e[f])return e[f]()}return e||t||r?new m(e,t,r):new m(o)}(e,t,r);if(i.add(n?n.call(i,this.source):this.source||s.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),s.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i}_trySubscribe(e){try{return this._subscribe(e)}catch(t){s.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){const{closed:t,destination:r,isStopped:n}=e;if(t||n)return!1;e=r&&r instanceof m?r:null}return!0}(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=b(t))((t,r)=>{let n;n=this.subscribe(t=>{try{e(t)}catch(i){r(i),n&&n.unsubscribe()}},r,t)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[_](){return this}pipe(...e){return 0===e.length?this:(0===(t=e).length?g:1===t.length?t[0]:function(e){return t.reduce((e,t)=>t(e),e)})(this);var t}toPromise(e){return new(e=b(e))((e,t)=>{let r;this.subscribe(e=>r=e,e=>t(e),()=>e(r))})}}return e.create=t=>new e(t),e})();function b(e){if(e||(e=s.Promise||Promise),!e)throw new Error("no Promise impl found");return e}const v=(()=>{function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e})();class w extends u{constructor(e,t){super(),this.subject=e,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,t=e.observers;if(this.subject=null,!t||0===t.length||e.isStopped||e.closed)return;const r=t.indexOf(this.subscriber);-1!==r&&t.splice(r,1)}}class k extends m{constructor(e){super(e),this.destination=e}}let M=(()=>{class e extends y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[f](){return new k(this)}lift(e){const t=new S(this,this);return t.operator=e,t}next(e){if(this.closed)throw new v;if(!this.isStopped){const{observers:t}=this,r=t.length,n=t.slice();for(let i=0;inew S(e,t),e})();class S extends M{constructor(e,t){super(),this.destination=e,this.source=t}next(e){const{destination:t}=this;t&&t.next&&t.next(e)}error(e){const{destination:t}=this;t&&t.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:t}=this;return t?this.source.subscribe(e):u.EMPTY}}function x(e){return e&&"function"==typeof e.schedule}function C(e,t){return function(r){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return r.lift(new D(e,t))}}class D{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new L(e,this.project,this.thisArg))}}class L extends m{constructor(e,t,r){super(e),this.project=t,this.count=0,this.thisArg=r||this}_next(e){let t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(r){return void this.destination.error(r)}this.destination.next(t)}}const A=e=>t=>{for(let r=0,n=e.length;re&&"number"==typeof e.length&&"function"!=typeof e;function Y(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}const R=e=>{if(e&&"function"==typeof e[_])return n=e,e=>{const t=n[_]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(P(e))return A(e);if(Y(e))return r=e,e=>(r.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,a),e);if(e&&"function"==typeof e[T])return t=e,e=>{const r=t[T]();for(;;){let t;try{t=r.next()}catch(n){return e.error(n),e}if(t.done){e.complete();break}if(e.next(t.value),e.closed)break}return"function"==typeof r.return&&e.add(()=>{r.return&&r.return()}),e};{const t=c(e)?"an invalid object":`'${e}'`;throw new TypeError(`You provided ${t} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var t,r,n};function O(e,t){return new y(r=>{const n=new u;let i=0;return n.add(t.schedule((function(){i!==e.length?(r.next(e[i++]),r.closed||n.add(this.schedule())):r.complete()}))),n})}function I(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[_]}(e))return function(e,t){return new y(r=>{const n=new u;return n.add(t.schedule(()=>{const i=e[_]();n.add(i.subscribe({next(e){n.add(t.schedule(()=>r.next(e)))},error(e){n.add(t.schedule(()=>r.error(e)))},complete(){n.add(t.schedule(()=>r.complete()))}}))})),n})}(e,t);if(Y(e))return function(e,t){return new y(r=>{const n=new u;return n.add(t.schedule(()=>e.then(e=>{n.add(t.schedule(()=>{r.next(e),n.add(t.schedule(()=>r.complete()))}))},e=>{n.add(t.schedule(()=>r.error(e)))}))),n})}(e,t);if(P(e))return O(e,t);if(function(e){return e&&"function"==typeof e[T]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new y(r=>{const n=new u;let i;return n.add(()=>{i&&"function"==typeof i.return&&i.return()}),n.add(t.schedule(()=>{i=e[T](),n.add(t.schedule((function(){if(r.closed)return;let e,t;try{const r=i.next();e=r.value,t=r.done}catch(n){return void r.error(n)}t?r.complete():(r.next(e),this.schedule())})))})),n})}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof y?e:new y(R(e))}class j extends m{constructor(e){super(),this.parent=e}_next(e){this.parent.notifyNext(e)}_error(e){this.parent.notifyError(e),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class F extends m{notifyNext(e){this.destination.next(e)}notifyError(e){this.destination.error(e)}notifyComplete(){this.destination.complete()}}function H(e,t){if(!t.closed)return e instanceof y?e.subscribe(t):R(e)(t)}function N(e,t,r=Number.POSITIVE_INFINITY){return"function"==typeof t?n=>n.pipe(N((r,n)=>I(e(r,n)).pipe(C((e,i)=>t(r,e,n,i))),r)):("number"==typeof t&&(r=t),t=>t.lift(new B(e,r)))}class B{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new z(e,this.project,this.concurrent))}}class z extends F{constructor(e,t,r=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=r,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function U(e=Number.POSITIVE_INFINITY){return N(g,e)}function V(e,t){return t?O(e,t):new y(A(e))}function K(...e){let t=Number.POSITIVE_INFINITY,r=null,n=e[e.length-1];return x(n)?(r=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof n&&(t=e.pop()),null===r&&1===e.length&&e[0]instanceof y?e[0]:U(t)(V(e,r))}function W(){return function(e){return e.lift(new q(e))}}class q{constructor(e){this.connectable=e}call(e,t){const{connectable:r}=this;r._refCount++;const n=new G(e,r),i=t.subscribe(n);return n.closed||(n.connection=r.connect()),i}}class G extends m{constructor(e,t){super(e),this.connectable=t}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const t=e._refCount;if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);const{connection:r}=this,n=e._connection;this.connection=null,!n||r&&n!==r||n.unsubscribe()}}class $ extends y{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,e=this._connection=new u,e.add(this.source.subscribe(new J(this.getSubject(),this))),e.closed&&(this._connection=null,e=u.EMPTY)),e}refCount(){return W()(this)}}const Z=(()=>{const e=$.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}})();class J extends k{constructor(e,t){super(e),this.connectable=t}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}function Q(){return new M}function X(){return e=>{return W()((t=Q,function(e){let r;r="function"==typeof t?t:function(){return t};const n=Object.create(e,Z);return n.source=e,n.subjectFactory=r,n})(e));var t}}function ee(e){return{toString:e}.toString()}const te="__parameters__";function re(e,t,r){return ee(()=>{const n=function(e){return function(...t){if(e){const r=e(...t);for(const e in r)this[e]=r[e]}}}(t);function i(...e){if(this instanceof i)return n.apply(this,e),this;const t=new i(...e);return r.annotation=t,r;function r(e,r,n){const i=e.hasOwnProperty(te)?e[te]:Object.defineProperty(e,te,{value:[]})[te];for(;i.length<=n;)i.push(null);return(i[n]=i[n]||[]).push(t),e}}return r&&(i.prototype=Object.create(r.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}const ne=re("Inject",e=>({token:e})),ie=re("Optional"),se=re("Self"),ae=re("SkipSelf");var oe=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});function le(e){for(let t in e)if(e[t]===le)return t;throw Error("Could not find renamed property on target object.")}function ce(e,t){for(const r in t)t.hasOwnProperty(r)&&!e.hasOwnProperty(r)&&(e[r]=t[r])}function de(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ue(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function he(e){return fe(e,e[pe])||fe(e,e[ye])}function fe(e,t){return t&&t.token===e?t:null}function me(e){return e&&(e.hasOwnProperty(_e)||e.hasOwnProperty(be))?e[_e]:null}const pe=le({"\u0275prov":le}),_e=le({"\u0275inj":le}),ge=le({"\u0275provFallback":le}),ye=le({ngInjectableDef:le}),be=le({ngInjectorDef:le});function ve(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ve).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;const t=e.toString();if(null==t)return""+t;const r=t.indexOf("\n");return-1===r?t:t.substring(0,r)}function we(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const ke=le({__forward_ref__:le});function Me(e){return e.__forward_ref__=Me,e.toString=function(){return ve(this())},e}function Se(e){return xe(e)?e():e}function xe(e){return"function"==typeof e&&e.hasOwnProperty(ke)&&e.__forward_ref__===Me}const Ce="undefined"!=typeof globalThis&&globalThis,De="undefined"!=typeof window&&window,Le="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Ae="undefined"!=typeof global&&global,Ee=Ce||Ae||De||Le,Te=le({"\u0275cmp":le}),Pe=le({"\u0275dir":le}),Ye=le({"\u0275pipe":le}),Re=le({"\u0275mod":le}),Oe=le({"\u0275loc":le}),Ie=le({"\u0275fac":le}),je=le({__NG_ELEMENT_ID__:le});class Fe{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=de({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return"InjectionToken "+this._desc}}const He=new Fe("INJECTOR",-1),Ne={},Be=/\n/gm,ze="__source",Ue=le({provide:String,useValue:le});let Ve,Ke=void 0;function We(e){const t=Ke;return Ke=e,t}function qe(e){const t=Ve;return Ve=e,t}function Ge(e,t=oe.Default){if(void 0===Ke)throw new Error("inject() must be called from an injection context");return null===Ke?Je(e,void 0,t):Ke.get(e,t&oe.Optional?null:void 0,t)}function $e(e,t=oe.Default){return(Ve||Ge)(Se(e),t)}const Ze=$e;function Je(e,t,r){const n=he(e);if(n&&"root"==n.providedIn)return void 0===n.value?n.value=n.factory():n.value;if(r&oe.Optional)return null;if(void 0!==t)return t;throw new Error(`Injector: NOT_FOUND [${ve(e)}]`)}function Qe(e){const t=[];for(let r=0;rArray.isArray(e)?rt(e,t):t(e))}function nt(e,t,r){t>=e.length?e.push(r):e.splice(t,0,r)}function it(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function st(e,t){const r=[];for(let n=0;n=0?e[1|n]=r:(n=~n,function(e,t,r,n){let i=e.length;if(i==t)e.push(r,n);else if(1===i)e.push(n,e[0]),e[0]=r;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=r,e[t+1]=n}}(e,n,t,r)),n}function ot(e,t){const r=lt(e,t);if(r>=0)return e[1|r]}function lt(e,t){return function(e,t,r){let n=0,i=e.length>>1;for(;i!==n;){const r=n+(i-n>>1),s=e[r<<1];if(t===s)return r<<1;s>t?i=r:n=r+1}return~(i<<1)}(e,t)}var ct=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}({}),dt=function(e){return e[e.Emulated=0]="Emulated",e[e.Native=1]="Native",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({});const ut={},ht=[];let ft=0;function mt(e){return ee(()=>{const t={},r={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===ct.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||ht,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||dt.Emulated,id:"c",styles:e.styles||ht,_:null,setInput:null,schemas:e.schemas||null,tView:null},n=e.directives,i=e.features,s=e.pipes;return r.id+=ft++,r.inputs=bt(e.inputs,t),r.outputs=bt(e.outputs),i&&i.forEach(e=>e(r)),r.directiveDefs=n?()=>("function"==typeof n?n():n).map(pt):null,r.pipeDefs=s?()=>("function"==typeof s?s():s).map(_t):null,r})}function pt(e){return kt(e)||function(e){return e[Pe]||null}(e)}function _t(e){return function(e){return e[Ye]||null}(e)}const gt={};function yt(e){const t={type:e.type,bootstrap:e.bootstrap||ht,declarations:e.declarations||ht,imports:e.imports||ht,exports:e.exports||ht,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&ee(()=>{gt[e.id]=e.type}),t}function bt(e,t){if(null==e)return ut;const r={};for(const n in e)if(e.hasOwnProperty(n)){let i=e[n],s=i;Array.isArray(i)&&(s=i[1],i=i[0]),r[i]=n,t&&(t[i]=s)}return r}const vt=mt;function wt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function kt(e){return e[Te]||null}function Mt(e,t){return e.hasOwnProperty(Ie)?e[Ie]:null}function St(e,t){const r=e[Re]||null;if(!r&&!0===t)throw new Error(`Type ${ve(e)} does not have '\u0275mod' property.`);return r}const xt=20,Ct=10;function Dt(e){return Array.isArray(e)&&"object"==typeof e[1]}function Lt(e){return Array.isArray(e)&&!0===e[1]}function At(e){return 0!=(8&e.flags)}function Et(e){return 2==(2&e.flags)}function Tt(e){return 1==(1&e.flags)}function Pt(e){return null!==e.template}function Yt(e){return 0!=(512&e[2])}class Rt{constructor(e,t,r){this.previousValue=e,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}}function Ot(){return It}function It(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ft),jt}function jt(){const e=Ht(this),t=null==e?void 0:e.current;if(t){const r=e.previous;if(r===ut)e.previous=t;else for(let e in t)r[e]=t[e];e.current=null,this.ngOnChanges(t)}}function Ft(e,t,r,n){const i=Ht(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:ut,current:null}),s=i.current||(i.current={}),a=i.previous,o=this.declaredInputs[r],l=a[o];s[o]=new Rt(l&&l.currentValue,t,a===ut),e[n]=t}function Ht(e){return e.__ngSimpleChanges__||null}Ot.ngInherit=!0;const Nt="http://www.w3.org/2000/svg";let Bt=void 0;function zt(){return void 0!==Bt?Bt:"undefined"!=typeof document?document:void 0}function Ut(e){return!!e.listen}const Vt={createRenderer:(e,t)=>zt()};function Kt(e){for(;Array.isArray(e);)e=e[0];return e}function Wt(e,t){return Kt(t[e+xt])}function qt(e,t){return Kt(t[e.index])}function Gt(e,t){return e.data[t+xt]}function $t(e,t){return e[t+xt]}function Zt(e,t){const r=t[e];return Dt(r)?r:r[0]}function Jt(e){const t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function Qt(e){return 4==(4&e[2])}function Xt(e){return 128==(128&e[2])}function er(e,t){return null===e||null==t?null:e[t]}function tr(e){e[18]=0}function rr(e,t){e[5]+=t;let r=e,n=e[3];for(;null!==n&&(1===t&&1===r[5]||-1===t&&0===r[5]);)n[5]+=t,r=n,n=n[3]}const nr={lFrame:Cr(null),bindingsEnabled:!0,checkNoChangesMode:!1};function ir(){return nr.bindingsEnabled}function sr(){return nr.lFrame.lView}function ar(){return nr.lFrame.tView}function or(e){nr.lFrame.contextLView=e}function lr(){return nr.lFrame.currentTNode}function cr(e,t){nr.lFrame.currentTNode=e,nr.lFrame.isParent=t}function dr(){return nr.lFrame.isParent}function ur(){nr.lFrame.isParent=!1}function hr(){return nr.checkNoChangesMode}function fr(e){nr.checkNoChangesMode=e}function mr(){const e=nr.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function pr(){return nr.lFrame.bindingIndex}function _r(){return nr.lFrame.bindingIndex++}function gr(e){const t=nr.lFrame,r=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,r}function yr(e,t){const r=nr.lFrame;r.bindingIndex=r.bindingRootIndex=e,br(t)}function br(e){nr.lFrame.currentDirectiveIndex=e}function vr(e){const t=nr.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function wr(){return nr.lFrame.currentQueryIndex}function kr(e){nr.lFrame.currentQueryIndex=e}function Mr(e,t){const r=xr();nr.lFrame=r,r.currentTNode=t,r.lView=e}function Sr(e){const t=xr(),r=e[1];nr.lFrame=t,t.currentTNode=r.firstChild,t.lView=e,t.tView=r,t.contextLView=e,t.bindingIndex=r.bindingStartIndex}function xr(){const e=nr.lFrame,t=null===e?null:e.child;return null===t?Cr(e):t}function Cr(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null};return null!==e&&(e.child=t),t}function Dr(){const e=nr.lFrame;return nr.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Lr=Dr;function Ar(){const e=Dr();e.isParent=!0,e.tView=null,e.selectedIndex=0,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Er(){return nr.lFrame.selectedIndex}function Tr(e){nr.lFrame.selectedIndex=e}function Pr(){const e=nr.lFrame;return Gt(e.tView,e.selectedIndex)}function Yr(){nr.lFrame.currentNamespace=Nt}function Rr(e,t){for(let r=t.directiveStart,n=t.directiveEnd;r=n)break}else t[a]<0&&(e[18]+=65536),(s>11>16&&(3&e[2])===t&&(e[2]+=2048,s.call(a)):s.call(a)}const Nr=-1;class Br{constructor(e,t,r){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=r}}function zr(e,t,r){const n=Ut(e);let i=0;for(;it){a=s-1;break}}}for(;s>16,n=t;for(;r>0;)n=n[15],r--;return n}function Zr(e){return"string"==typeof e?e:null==e?"":""+e}function Jr(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Zr(e)}const Qr=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Ee))();function Xr(e){return{name:"window",target:e.ownerDocument.defaultView}}function en(e){return{name:"body",target:e.ownerDocument.body}}function tn(e){return e instanceof Function?e():e}let rn=!0;function nn(e){const t=rn;return rn=e,t}let sn=0;function an(e,t){const r=ln(e,t);if(-1!==r)return r;const n=t[1];n.firstCreatePass&&(e.injectorIndex=t.length,on(n.data,e),on(t,null),on(n.blueprint,null));const i=cn(e,t),s=e.injectorIndex;if(qr(i)){const e=Gr(i),r=$r(i,t),n=r[1].data;for(let i=0;i<8;i++)t[s+i]=r[e+i]|n[e+i]}return t[s+8]=i,s}function on(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ln(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function cn(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let r=0,n=null,i=t;for(;null!==i;){const e=i[1],t=e.type;if(n=2===t?e.declTNode:1===t?i[6]:null,null===n)return Nr;if(r++,i=i[15],-1!==n.injectorIndex)return n.injectorIndex|r<<16}return Nr}function dn(e,t,r){!function(e,t,r){let n;"string"==typeof r?n=r.charCodeAt(0)||0:r.hasOwnProperty(je)&&(n=r[je]),null==n&&(n=r[je]=sn++);const i=255&n,s=1<0?255&t:t}(r);if("function"==typeof i){Mr(t,e);try{const e=i();if(null!=e||n&oe.Optional)return e;throw new Error(`No provider for ${Jr(r)}!`)}finally{Lr()}}else if("number"==typeof i){if(-1===i)return new yn(e,t);let s=null,a=ln(e,t),o=Nr,l=n&oe.Host?t[16][6]:null;for((-1===a||n&oe.SkipSelf)&&(o=-1===a?cn(e,t):t[a+8],o!==Nr&&gn(n,!1)?(s=t[1],a=Gr(o),t=$r(o,t)):a=-1);-1!==a;){const e=t[1];if(_n(i,a,e.data)){const e=fn(a,t,r,s,n,l);if(e!==hn)return e}o=t[a+8],o!==Nr&&gn(n,t[1].data[a+8]===l)&&_n(i,a,t)?(s=e,a=Gr(o),t=$r(o,t)):a=-1}}}if(n&oe.Optional&&void 0===i&&(i=null),0==(n&(oe.Self|oe.Host))){const e=t[9],s=qe(void 0);try{return e?e.get(r,i,n&oe.Optional):Je(r,i,n&oe.Optional)}finally{qe(s)}}if(n&oe.Optional)return i;throw new Error(`NodeInjector: NOT_FOUND [${Jr(r)}]`)}const hn={};function fn(e,t,r,n,i,s){const a=t[1],o=a.data[e+8],l=mn(o,a,r,null==n?Et(o)&&rn:n!=a&&2===o.type,i&oe.Host&&s===o);return null!==l?pn(t,a,l,o):hn}function mn(e,t,r,n,i){const s=e.providerIndexes,a=t.data,o=1048575&s,l=e.directiveStart,c=s>>20,d=i?o+c:e.directiveEnd;for(let u=n?o:o+c;u=l&&e.type===r)return u}if(i){const e=a[l];if(e&&Pt(e)&&e.type===r)return l}return null}function pn(e,t,r,n){let i=e[r];const s=t.data;if(i instanceof Br){const a=i;if(a.resolving)throw new Error("Circular dep for "+Jr(s[r]));const o=nn(a.canSeeViewProviders);a.resolving=!0;const l=a.injectImpl?qe(a.injectImpl):null;Mr(e,n);try{i=e[r]=a.factory(void 0,s,e,n),t.firstCreatePass&&r>=n.directiveStart&&function(e,t,r){const{ngOnChanges:n,ngOnInit:i,ngDoCheck:s}=t.type.prototype;if(n){const n=It(t);(r.preOrderHooks||(r.preOrderHooks=[])).push(e,n),(r.preOrderCheckHooks||(r.preOrderCheckHooks=[])).push(e,n)}i&&(r.preOrderHooks||(r.preOrderHooks=[])).push(0-e,i),s&&((r.preOrderHooks||(r.preOrderHooks=[])).push(e,s),(r.preOrderCheckHooks||(r.preOrderCheckHooks=[])).push(e,s))}(r,s[r],t)}finally{null!==l&&qe(l),nn(o),a.resolving=!1,Lr()}}return i}function _n(e,t,r){const n=64&e,i=32&e;let s;return s=128&e?n?i?r[t+7]:r[t+6]:i?r[t+5]:r[t+4]:n?i?r[t+3]:r[t+2]:i?r[t+1]:r[t],!!(s&1<{const e=bn(Se(t));return e?e():null};let r=Mt(t);if(null===r){const e=me(t);r=e&&e.factory}return r||null}function vn(e){return ee(()=>{const t=e.prototype.constructor,r=t[Ie]||bn(t),n=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==n;){const e=i[Ie]||bn(i);if(e&&e!==r)return e;i=Object.getPrototypeOf(i)}return e=>new e})}function wn(e){return e.ngDebugContext}function kn(e){return e.ngOriginalError}function Mn(e,...t){e.error(...t)}class Sn{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),r=this._findContext(e),n=function(e){return e.ngErrorLogger||Mn}(e);n(this._console,"ERROR",e),t&&n(this._console,"ORIGINAL ERROR",t),r&&n(this._console,"ERROR CONTEXT",r)}_findContext(e){return e?wn(e)?wn(e):this._findContext(kn(e)):null}_findOriginalError(e){let t=kn(e);for(;t&&kn(t);)t=kn(t);return t}}class xn{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"}}class Cn extends xn{getTypeName(){return"HTML"}}class Dn extends xn{getTypeName(){return"Style"}}class Ln extends xn{getTypeName(){return"Script"}}class An extends xn{getTypeName(){return"URL"}}class En extends xn{getTypeName(){return"ResourceURL"}}function Tn(e){return e instanceof xn?e.changingThisBreaksApplicationSecurity:e}function Pn(e,t){const r=Yn(e);if(null!=r&&r!==t){if("ResourceURL"===r&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${r} (see http://g.co/ng/security#xss)`)}return r===t}function Yn(e){return e instanceof xn&&e.getTypeName()||null}let Rn=!0,On=!1;function In(){return On=!0,Rn}class jn{getInertBodyElement(e){e=""+e;try{const t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(t){return null}}}class Fn{constructor(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const t=this.inertDocument.createElement("body");e.appendChild(t)}}getInertBodyElement(e){const t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=e,t;const r=this.inertDocument.createElement("body");return r.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(e){const t=e.attributes;for(let n=t.length-1;0Bn(e.trim())).join(", ")),this.buf.push(" ",t,'="',ri(a),'"')}var n;return this.buf.push(">"),!0}endElement(e){const t=e.nodeName.toLowerCase();Gn.hasOwnProperty(t)&&!Vn.hasOwnProperty(t)&&(this.buf.push(""))}chars(e){this.buf.push(ri(e))}checkClobberedElement(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t}}const ei=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ti=/([^\#-~ |!])/g;function ri(e){return e.replace(/&/g,"&").replace(ei,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(ti,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(//g,">")}let ni;function ii(e,t){let r=null;try{ni=ni||function(e){return function(){try{return!!(new window.DOMParser).parseFromString("","text/html")}catch(e){return!1}}()?new jn:new Fn(e)}(e);let n=t?String(t):"";r=ni.getInertBodyElement(n);let i=5,s=n;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,n=s,s=r.innerHTML,r=ni.getInertBodyElement(n)}while(n!==s);const a=new Xn,o=a.sanitizeChildren(si(r)||r);return In()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),o}finally{if(r){const e=si(r)||r;for(;e.firstChild;)e.removeChild(e.firstChild)}}}function si(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ai=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}({});function oi(e){const t=ci();return t?t.sanitize(ai.HTML,e)||"":Pn(e,"HTML")?Tn(e):ii(zt(),Zr(e))}function li(e){const t=ci();return t?t.sanitize(ai.URL,e)||"":Pn(e,"URL")?Tn(e):Bn(Zr(e))}function ci(){const e=sr();return e&&e[12]}function di(e,t){e.__ngContext__=t}function ui(e,t,r){let n=e.length;for(;;){const i=e.indexOf(t,r);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const r=t.length;if(i+r===n||e.charCodeAt(i+r)<=32)return i}r=i+1}}const hi="ng-template";function fi(e,t,r){let n=0;for(;ns?"":i[d+1].toLowerCase();const t=8&n?e:null;if(t&&-1!==ui(t,c,0)||2&n&&c!==e){if(gi(n))return!1;a=!0}}}}else{if(!a&&!gi(n)&&!gi(l))return!1;if(a&&gi(l))continue;a=!1,n=l|1&n}}return gi(n)||a}function gi(e){return 0==(1&e)}function yi(e,t,r,n){if(null===t)return-1;let i=0;if(n||!r){let r=!1;for(;i-1)for(r++;r0?'="'+t+'"':"")+"]"}else 8&n?i+="."+a:4&n&&(i+=" "+a);else""===i||gi(a)||(t+=wi(s,i),i=""),n=a,s=s||!gi(n);r++}return""!==i&&(t+=wi(s,i)),t}const Mi={};function Si(e){const t=e[3];return Lt(t)?t[3]:t}function xi(e){return Di(e[13])}function Ci(e){return Di(e[4])}function Di(e){for(;null!==e&&!Lt(e);)e=e[4];return e}function Li(e){Ai(ar(),sr(),Er()+e,hr())}function Ai(e,t,r,n){if(!n)if(3==(3&t[2])){const n=e.preOrderCheckHooks;null!==n&&Or(t,n,r)}else{const n=e.preOrderHooks;null!==n&&Ir(t,n,0,r)}Tr(r)}function Ei(e,t){return e<<17|t<<2}function Ti(e){return e>>17&32767}function Pi(e){return 2|e}function Yi(e){return(131068&e)>>2}function Ri(e,t){return-131069&e|t<<2}function Oi(e){return 1|e}function Ii(e,t){const r=e.contentQueries;if(null!==r)for(let n=0;nxt&&Ai(e,t,0,hr()),r(n,i)}finally{Tr(s)}}function Vi(e,t,r){if(At(t)){const n=t.directiveEnd;for(let i=t.directiveStart;i0&&function e(t){for(let n=xi(t);null!==n;n=Ci(n))for(let t=Ct;t0&&e(r)}const r=t[1].components;if(null!==r)for(let n=0;n0&&e(i)}}(r)}}function hs(e,t){const r=Zt(t,e),n=r[1];!function(e,t){for(let r=t.length;rPromise.resolve(null))();function bs(e){return e[7]||(e[7]=[])}function vs(e,t,r){return(null===e||Pt(e))&&(r=function(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(r[t.index])),r[11]}function ws(e,t){const r=e[9],n=r?r.get(Sn,null):null;n&&n.handleError(t)}function ks(e,t,r,n,i){for(let s=0;s0&&(e[r-1][4]=n[4]);const a=it(e,Ct+t);js(n[1],i=n,i[11],2,null,null),i[0]=null,i[6]=null;const o=a[19];null!==o&&o.detachView(a[1]),n[3]=null,n[4]=null,n[2]&=-129}var i;return n}function Ds(e,t){if(!(256&t[2])){const r=t[11];Ut(r)&&r.destroyNode&&js(e,t,r,3,null,null),function(e){let t=e[13];if(!t)return Ls(e[1],e);for(;t;){let r=null;if(Dt(t))r=t[13];else{const e=t[10];e&&(r=e)}if(!r){for(;t&&!t[4]&&t!==e;)Dt(t)&&Ls(t[1],t),t=t[3];null===t&&(t=e),Dt(t)&&Ls(t[1],t),r=t&&t[4]}t=r}}(t)}}function Ls(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let r;if(null!=e&&null!=(r=e.destroyHooks))for(let n=0;n=0?e[o]():e[-o].unsubscribe(),n+=2}else r[n].call(e[r[n+1]]);t[7]=null}}(e,t),1===t[1].type&&Ut(t[11])&&t[11].destroy();const r=t[17];if(null!==r&&Lt(t[3])){r!==t[3]&&xs(r,t);const n=t[19];null!==n&&n.detachView(e)}}}function As(e,t,r){let n=t.parent;for(;null!=n&&(3===n.type||4===n.type);)n=(t=n).parent;if(null===n)return r[0];if(t&&4===t.type&&4&t.flags)return qt(t,r).parentNode;if(2&n.flags){const t=e.data,r=t[t[n.index].directiveStart].encapsulation;if(r!==dt.ShadowDom&&r!==dt.Native)return null}return qt(n,r)}function Es(e,t,r,n){Ut(e)?e.insertBefore(t,r,n):t.insertBefore(r,n,!0)}function Ts(e,t,r){Ut(e)?e.appendChild(t,r):t.appendChild(r)}function Ps(e,t,r,n){null!==n?Es(e,t,r,n):Ts(e,t,r)}function Ys(e,t){return Ut(e)?e.parentNode(t):t.parentNode}function Rs(e,t){return 3===e.type||4===e.type?qt(e,t):null}function Os(e,t,r,n){const i=As(e,n,t);if(null!=i){const e=t[11],s=Rs(n.parent||t[6],t);if(Array.isArray(r))for(let t=0;t-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}Ds(this._lView[1],this._lView)}onDestroy(e){$i(this._lView[1],this._lView,null,e)}markForCheck(){ms(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){ps(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,r){fr(!0);try{ps(e,t,r)}finally{fr(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}detachFromAppRef(){var e;this._appRef=null,js(this._lView[1],e=this._lView,e[11],2,null,null)}attachToAppRef(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}class zs extends Bs{constructor(e){super(e),this._view=e}detectChanges(){_s(this._view)}checkNoChanges(){!function(e){fr(!0);try{_s(e)}finally{fr(!1)}}(this._view)}get context(){return null}}let Us,Vs,Ks;function Ws(e,t,r){return Us||(Us=class extends e{}),new Us(qt(t,r))}function qs(e,t,r,n){return Vs||(Vs=class extends e{constructor(e,t,r){super(),this._declarationView=e,this._declarationTContainer=t,this.elementRef=r}createEmbeddedView(e){const t=this._declarationTContainer.tViews,r=Fi(this._declarationView,t,e,16,null,t.declTNode,null,null,null,null);r[17]=this._declarationView[this._declarationTContainer.index];const n=this._declarationView[19];return null!==n&&(r[19]=n.createEmbeddedView(t)),Ni(t,r,e),new Bs(r)}}),0===r.type?new Vs(n,r,Ws(t,r,n)):null}function Gs(e,t,r,n){let i;Ks||(Ks=class extends e{constructor(e,t,r){super(),this._lContainer=e,this._hostTNode=t,this._hostView=r}get element(){return Ws(t,this._hostTNode,this._hostView)}get injector(){return new yn(this._hostTNode,this._hostView)}get parentInjector(){const e=cn(this._hostTNode,this._hostView);if(qr(e)){const t=$r(e,this._hostView),r=Gr(e);return new yn(t[1].data[r+8],t)}return new yn(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){return null!==this._lContainer[8]&&this._lContainer[8][e]||null}get length(){return this._lContainer.length-Ct}createEmbeddedView(e,t,r){const n=e.createEmbeddedView(t||{});return this.insert(n,r),n}createComponent(e,t,r,n,i){const s=r||this.parentInjector;if(!i&&null==e.ngModule&&s){const e=s.get(et,null);e&&(i=e)}const a=e.create(s,n,void 0,i);return this.insert(a.hostView,t),a}insert(e,t){const r=e._lView,n=r[1];if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),Lt(r[3])){const t=this.indexOf(e);if(-1!==t)this.detach(t);else{const t=r[3],n=new Ks(t,t[6],t[3]);n.detach(n.indexOf(e))}}const i=this._adjustIndex(t),s=this._lContainer;!function(e,t,r,n){const i=Ct+n,s=r.length;n>0&&(r[i-1][4]=t),n{class e{}return e.__NG_ELEMENT_ID__=()=>Js(),e})();const Js=$s,Qs=Function,Xs=new Fe("Set Injector scope."),ea={},ta={},ra=[];let na=void 0;function ia(){return void 0===na&&(na=new Xe),na}function sa(e,t=null,r=null,n){return new aa(e,r,t||ia(),n)}class aa{constructor(e,t,r,n=null){this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const i=[];t&&rt(t,r=>this.processProvider(r,e,t)),rt([e],e=>this.processInjectorType(e,[],i)),this.records.set(He,ca(void 0,this));const s=this.records.get(Xs);this.scope=null!=s?s.value:null,this.source=n||("object"==typeof e?null:ve(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(e=>e.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,t=Ne,r=oe.Default){this.assertNotDestroyed();const n=We(this);try{if(!(r&oe.SkipSelf)){let t=this.records.get(e);if(void 0===t){const r=("function"==typeof(i=e)||"object"==typeof i&&i instanceof Fe)&&he(e);t=r&&this.injectableDefInScope(r)?ca(oa(e),ea):null,this.records.set(e,t)}if(null!=t)return this.hydrate(e,t)}return(r&oe.Self?ia():this.parent).get(e,t=r&oe.Optional&&t===Ne?null:t)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(ve(e)),n)throw s;return function(e,t,r,n){const i=e.ngTempTokenPath;throw t[ze]&&i.unshift(t[ze]),e.message=function(e,t,r,n=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let i=ve(t);if(Array.isArray(t))i=t.map(ve).join(" -> ");else if("object"==typeof t){let e=[];for(let r in t)if(t.hasOwnProperty(r)){let n=t[r];e.push(r+":"+("string"==typeof n?JSON.stringify(n):ve(n)))}i=`{${e.join(", ")}}`}return`${r}${n?"("+n+")":""}[${i}]: ${e.replace(Be,"\n ")}`}("\n"+e.message,i,r,n),e.ngTokenPath=i,e.ngTempTokenPath=null,e}(s,e,"R3InjectorError",this.source)}throw s}finally{We(n)}var i}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((t,r)=>e.push(ve(r))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,t,r){if(!(e=Se(e)))return!1;let n=me(e);const i=null==n&&e.ngModule||void 0,s=void 0===i?e:i,a=-1!==r.indexOf(s);if(void 0!==i&&(n=me(i)),null==n)return!1;if(null!=n.imports&&!a){let e;r.push(s);try{rt(n.imports,n=>{this.processInjectorType(n,t,r)&&(void 0===e&&(e=[]),e.push(n))})}finally{}if(void 0!==e)for(let t=0;tthis.processProvider(e,r,n||ra))}}this.injectorDefTypes.add(s),this.records.set(s,ca(n.factory,ea));const o=n.providers;if(null!=o&&!a){const t=e;rt(o,e=>this.processProvider(e,t,o))}return void 0!==i&&void 0!==e.providers}processProvider(e,t,r){let n=ua(e=Se(e))?e:Se(e&&e.provide);const i=function(e,t,r){return da(e)?ca(void 0,e.useValue):ca(la(e),ea)}(e);if(ua(e)||!0!==e.multi)this.records.get(n);else{let t=this.records.get(n);t||(t=ca(void 0,ea,!0),t.factory=()=>Qe(t.multi),this.records.set(n,t)),n=e,t.multi.push(e)}this.records.set(n,i)}hydrate(e,t){var r;return t.value===ea&&(t.value=ta,t.value=t.factory()),"object"==typeof t.value&&t.value&&null!==(r=t.value)&&"object"==typeof r&&"function"==typeof r.ngOnDestroy&&this.onDestroy.add(t.value),t.value}injectableDefInScope(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||e.providedIn===this.scope:this.injectorDefTypes.has(e.providedIn))}}function oa(e){const t=he(e),r=null!==t?t.factory:Mt(e);if(null!==r)return r;const n=me(e);if(null!==n)return n.factory;if(e instanceof Fe)throw new Error(`Token ${ve(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const r=st(t,"?");throw new Error(`Can't resolve all parameters for ${ve(e)}: (${r.join(", ")}).`)}const r=function(e){const t=e&&(e[pe]||e[ye]||e[ge]&&e[ge]());if(t){const r=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${r}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${r}" class.`),t}return null}(e);return null!==r?()=>r.factory(e):()=>new e}(e);throw new Error("unreachable")}function la(e,t,r){let n=void 0;if(ua(e)){const t=Se(e);return Mt(t)||oa(t)}if(da(e))n=()=>Se(e.useValue);else if((i=e)&&i.useFactory)n=()=>e.useFactory(...Qe(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))n=()=>$e(Se(e.useExisting));else{const t=Se(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return Mt(t)||oa(t);n=()=>new t(...Qe(e.deps))}var i;return n}function ca(e,t,r=!1){return{factory:e,value:t,multi:r?[]:void 0}}function da(e){return null!==e&&"object"==typeof e&&Ue in e}function ua(e){return"function"==typeof e}const ha=function(e,t,r){return function(e,t=null,r=null,n){const i=sa(e,t,r,n);return i._resolveInjectorDefTypes(),i}({name:r},t,e,r)};let fa=(()=>{class e{static create(e,t){return Array.isArray(e)?ha(e,t,""):ha(e.providers,e.parent,e.name||"")}}return e.THROW_IF_NOT_FOUND=Ne,e.NULL=new Xe,e.\u0275prov=de({token:e,providedIn:"any",factory:()=>$e(He)}),e.__NG_ELEMENT_ID__=-1,e})();const ma=new Fe("AnalyzeForEntryComponents");function pa(e,t,r){let n=r?e.styles:null,i=r?e.classes:null,s=0;if(null!==t)for(let a=0;a=0;n--){const i=e[n];i.hostVars=t+=i.hostVars,i.hostAttrs=Kr(i.hostAttrs,r=Kr(r,i.hostAttrs))}}(n)}function ya(e){return e===ut?{}:e===ht?[]:e}function ba(e,t){const r=e.viewQuery;e.viewQuery=r?(e,n)=>{t(e,n),r(e,n)}:t}function va(e,t){const r=e.contentQueries;e.contentQueries=r?(e,n,i)=>{t(e,n,i),r(e,n,i)}:t}function wa(e,t){const r=e.hostBindings;e.hostBindings=r?(e,n)=>{t(e,n),r(e,n)}:t}let ka=null;function Ma(){if(!ka){const e=Ee.Symbol;if(e&&e.iterator)ka=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;to(Kt(e[n.index])).target:n.index;if(Ut(r)){let a=null;if(!o&&l&&(a=function(e,t,r,n){const i=e.cleanup;if(null!=i)for(let s=0;sr?e[r]:null}"string"==typeof e&&(s+=2)}return null}(e,t,i,n.index)),null!==a)(a.__ngLastListenerFn__||a).__ngNextListenerFn__=s,a.__ngLastListenerFn__=s,u=!1;else{s=Ja(n,t,s,!1);const e=r.listen(f.name||m,i,s);d.push(s,e),c&&c.push(i,_,p,p+1)}}else s=Ja(n,t,s,!0),m.addEventListener(i,s,a),d.push(s),c&&c.push(i,_,p,a)}const h=n.outputs;let f;if(u&&null!==h&&(f=h[i])){const e=f.length;if(e)for(let r=0;r0;)t=t[15],e--;return t}(e,nr.lFrame.contextLView))[8]}(e)}function Xa(e,t){let r=null;const n=function(e){const t=e.attrs;if(null!=t){const e=t.indexOf(5);if(0==(1&e))return t[e+1]}return null}(e);for(let i=0;i=0}const oo={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function lo(e){return e.substring(oo.key,oo.keyEnd)}function co(e,t){const r=oo.textEnd;return r===t?-1:(t=oo.keyEnd=function(e,t,r){for(;t32;)t++;return t}(e,oo.key=t,r),uo(e,t,r))}function uo(e,t,r){for(;t=0;r=co(t,r))at(e,lo(t),!0)}function po(e,t,r,n){const i=sr(),s=ar(),a=gr(2);s.firstUpdatePass&&yo(s,e,a,n),t!==Mi&&La(i,a,t)&&wo(s,s.data[Er()+xt],i,i[11],e,i[a+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=ve(Tn(e)))),e}(t,r),n,a)}function _o(e,t,r,n){const i=ar(),s=gr(2);i.firstUpdatePass&&yo(i,null,s,n);const a=sr();if(r!==Mi&&La(a,s,r)){const o=i.data[Er()+xt];if(So(o,n)&&!go(i,s)){let e=n?o.classesWithoutHost:o.stylesWithoutHost;null!==e&&(r=we(e,r||"")),ja(i,o,a,r,n)}else!function(e,t,r,n,i,s,a,o){i===Mi&&(i=io);let l=0,c=0,d=0=e.expandoStartIndex}function yo(e,t,r,n){const i=e.data;if(null===i[r+1]){const s=i[Er()+xt],a=go(e,r);So(s,n)&&null===t&&!a&&(t=!1),t=function(e,t,r,n){const i=vr(e);let s=n?t.residualClasses:t.residualStyles;if(null===i)0===(n?t.classBindings:t.styleBindings)&&(r=vo(r=bo(null,e,t,r,n),t.attrs,n),s=null);else{const a=t.directiveStylingLast;if(-1===a||e[a]!==i)if(r=bo(i,e,t,r,n),null===s){let r=function(e,t,r){const n=r?t.classBindings:t.styleBindings;if(0!==Yi(n))return e[Ti(n)]}(e,t,n);void 0!==r&&Array.isArray(r)&&(r=bo(null,e,t,r[1],n),r=vo(r,t.attrs,n),function(e,t,r,n){e[Ti(r?t.classBindings:t.styleBindings)]=n}(e,t,n,r))}else s=function(e,t,r){let n=void 0;const i=t.directiveEnd;for(let s=1+t.directiveStylingLast;s0)&&(d=!0)}else c=r;if(i)if(0!==l){const t=Ti(e[o+1]);e[n+1]=Ei(t,o),0!==t&&(e[t+1]=Ri(e[t+1],n)),e[o+1]=131071&e[o+1]|n<<17}else e[n+1]=Ei(o,0),0!==o&&(e[o+1]=Ri(e[o+1],n)),o=n;else e[n+1]=Ei(l,0),0===o?o=n:e[l+1]=Ri(e[l+1],n),l=n;d&&(e[n+1]=Pi(e[n+1])),so(e,c,n,!0),so(e,c,n,!1),function(e,t,r,n,i){const s=i?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&<(s,t)>=0&&(r[n+1]=Oi(r[n+1]))}(t,c,e,n,s),a=Ei(o,l),s?t.classBindings=a:t.styleBindings=a}(i,s,t,r,a,n)}}function bo(e,t,r,n,i){let s=null;const a=r.directiveEnd;let o=r.directiveStylingLast;for(-1===o?o=r.directiveStart:o++;o0;){const t=e[i],s=Array.isArray(t),l=s?t[1]:t,c=null===l;let d=r[i+1];d===Mi&&(d=c?io:void 0);let u=c?ot(d,n):l===n?d:void 0;if(s&&!Mo(u)&&(u=ot(t,n)),Mo(u)&&(o=u,a))return o;const h=e[i+1];i=a?Ti(h):Yi(h)}if(null!==t){let e=s?t.residualClasses:t.residualStyles;null!=e&&(o=ot(e,n))}return o}function Mo(e){return void 0!==e}function So(e,t){return 0!=(e.flags&(t?16:32))}function xo(e,t=""){const r=sr(),n=ar(),i=e+xt,s=n.firstCreatePass?Hi(n,e,2,null,null):n.data[i],a=r[i]=function(e,t){return Ut(t)?t.createText(e):t.createTextNode(e)}(t,r[11]);Os(n,r,a,s),cr(s,!1)}function Co(e){return Do("",e,""),Co}function Do(e,t,r){const n=sr(),i=Ta(n,e,t,r);return i!==Mi&&Ms(n,Er(),i),Do}function Lo(e,t,r,n,i){const s=sr(),a=function(e,t,r,n,i,s){const a=Aa(e,pr(),r,i);return gr(2),a?t+Zr(r)+n+Zr(i)+s:Mi}(s,e,t,r,n,i);return a!==Mi&&Ms(s,Er(),a),Lo}function Ao(e,t,r){const n=sr();return La(n,_r(),t)&&Ji(ar(),Pr(),n,e,t,n[11],r,!0),Ao}function Eo(e,t,r){const n=sr();if(La(n,_r(),t)){const i=ar(),s=Pr();Ji(i,s,n,e,t,vs(vr(i.data),s,n),r,!0)}return Eo}function To(e,t,r,n,i){if(e=Se(e),Array.isArray(e))for(let s=0;s>20;if(ua(e)||!e.multi){const n=new Br(l,i,Ra),f=Ro(o,t,i?d:d+h,u);-1===f?(dn(an(c,a),s,o),Po(s,e,t.length),t.push(o),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),r.push(n),a.push(n)):(r[f]=n,a[f]=n)}else{const f=Ro(o,t,d+h,u),m=Ro(o,t,d,d+h),p=f>=0&&r[f],_=m>=0&&r[m];if(i&&!_||!i&&!p){dn(an(c,a),s,o);const d=function(e,t,r,n,i){const s=new Br(e,r,Ra);return s.multi=[],s.index=t,s.componentProviders=0,Yo(s,i,n&&!r),s}(i?Io:Oo,r.length,i,n,l);!i&&_&&(r[m].providerFactory=d),Po(s,e,t.length,0),t.push(o),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),r.push(d),a.push(d)}else Po(s,e,f>-1?f:m,Yo(r[i?m:f],l,!i&&n));!i&&n&&_&&r[m].componentProviders++}}}function Po(e,t,r,n){const i=ua(t);if(i||t.useClass){const s=(t.useClass||t).prototype.ngOnDestroy;if(s){const a=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const e=a.indexOf(r);-1===e?a.push(r,[n,s]):a[e+1].push(n,s)}else a.push(r,s)}}}function Yo(e,t,r){return r&&e.componentProviders++,e.multi.push(t)-1}function Ro(e,t,r,n){for(let i=r;i{r.providersResolver=(r,n)=>function(e,t,r){const n=ar();if(n.firstCreatePass){const i=Pt(e);To(r,n.data,n.blueprint,i,!0),To(t,n.data,n.blueprint,i,!1)}}(r,n?n(e):e,t)}}class Ho{}class No{resolveComponentFactory(e){throw function(e){const t=Error(`No component factory found for ${ve(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(e)}}let Bo=(()=>{class e{}return e.NULL=new No,e})(),zo=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=()=>Uo(e),e})();const Uo=function(e){return Ws(e,lr(),sr())};class Vo{}var Ko=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({});let Wo=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>qo(),e})();const qo=function(){const e=sr(),t=Zt(lr().index,e);return function(e){const t=e[11];if(Ut(t))return t;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(Dt(t)?t:e)};let Go=(()=>{class e{}return e.\u0275prov=de({token:e,providedIn:"root",factory:()=>null}),e})();class $o{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const Zo=new $o("10.1.5");class Jo{constructor(){}supports(e){return xa(e)}create(e){return new Xo(e)}}const Qo=(e,t)=>t;class Xo{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||Qo}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,r=this._removalsHead,n=0,i=null;for(;t||r;){const s=!r||t&&t.currentIndex{n=this._trackByFn(t,e),null!==i&&Object.is(i.trackById,n)?(s&&(i=this._verifyReinsertion(i,e,n,t)),Object.is(i.item,e)||this._addIdentityChange(i,e)):(i=this._mismatch(i,e,n,t),s=!0),i=i._next,t++}),this.length=t;return this._truncate(i),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,r,n){let i;return null===e?i=this._itTail:(i=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(r,n))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,i,n)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,i,n)):e=this._addAfter(new el(t,r),i,n),e}_verifyReinsertion(e,t,r,n){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?e=this._reinsertAfter(i,e._prev,n):e.currentIndex!=n&&(e.currentIndex=n,this._addToMoves(e,n)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const n=e._prevRemoved,i=e._nextRemoved;return null===n?this._removalsHead=i:n._nextRemoved=i,null===i?this._removalsTail=n:i._prevRemoved=n,this._insertAfter(e,t,r),this._addToMoves(e,r),e}_moveAfter(e,t,r){return this._unlink(e),this._insertAfter(e,t,r),this._addToMoves(e,r),e}_addAfter(e,t,r){return this._insertAfter(e,t,r),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,r){const n=null===t?this._itHead:t._next;return e._next=n,e._prev=t,null===n?this._itTail=e:n._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new rl),this._linkedRecords.put(e),e.currentIndex=r,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,r=e._next;return null===t?this._itHead=r:t._next=r,null===r?this._itTail=t:r._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new rl),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class el{constructor(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class tl{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===t||t<=r.currentIndex)&&Object.is(r.trackById,e))return r;return null}remove(e){const t=e._prevDup,r=e._nextDup;return null===t?this._head=r:t._nextDup=r,null===r?this._tail=t:r._prevDup=t,null===this._head}}class rl{constructor(){this.map=new Map}put(e){const t=e.trackById;let r=this.map.get(t);r||(r=new tl,this.map.set(t,r)),r.add(e)}get(e,t){const r=this.map.get(e);return r?r.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function nl(e,t,r){const n=e.previousIndex;if(null===n)return n;let i=0;return r&&n{if(t&&t.key===r)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const n=this._getOrCreateRecordForKey(r,e);t=this._insertBeforeOrAppend(t,n)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const r=e._prev;return t._next=e,t._prev=r,e._prev=t,r&&(r._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const r=this._records.get(e);this._maybeAddToChanges(r,t);const n=r._prev,i=r._next;return n&&(n._next=i),i&&(i._prev=n),r._next=null,r._prev=null,r}const r=new al(e);return this._records.set(e,r),r.currentValue=t,this._addToAdditions(r),r}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(r=>t(e[r],r))}}class al{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}let ol=(()=>{class e{constructor(e){this.factories=e}static create(t,r){if(null!=r){const e=r.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:r=>{if(!r)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,r)},deps:[[e,new ae,new ie]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(null!=t)return t;throw new Error(`Cannot find a differ supporting object '${e}' of type '${r=e,r.name||typeof r}'`);var r}}return e.\u0275prov=de({token:e,providedIn:"root",factory:()=>new e([new Jo])}),e})(),ll=(()=>{class e{constructor(e){this.factories=e}static create(t,r){if(r){const e=r.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:r=>{if(!r)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,r)},deps:[[e,new ae,new ie]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(t)return t;throw new Error(`Cannot find a differ supporting object '${e}'`)}}return e.\u0275prov=de({token:e,providedIn:"root",factory:()=>new e([new il])}),e})();const cl=[new il],dl=new ol([new Jo]),ul=new ll(cl);let hl=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>fl(e,zo),e})();const fl=function(e,t){return qs(e,t,lr(),sr())};let ml=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>pl(e,zo),e})();const pl=function(e,t){return Gs(e,t,lr(),sr())},_l={};class gl extends Bo{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const t=kt(e);return new vl(t,this.ngModule)}}function yl(e){const t=[];for(let r in e)e.hasOwnProperty(r)&&t.push({propName:e[r],templateName:r});return t}const bl=new Fe("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Qr});class vl extends Ho{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=e.selectors.map(ki).join(","),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return yl(this.componentDef.inputs)}get outputs(){return yl(this.componentDef.outputs)}create(e,t,r,n){const i=(n=n||this.ngModule)?function(e,t){return{get:(r,n,i)=>{const s=e.get(r,_l,i);return s!==_l||n===_l?s:t.get(r,n,i)}}}(e,n.injector):e,s=i.get(Vo,Vt),a=i.get(Go,null),o=s.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=r?function(e,t,r){if(Ut(e))return e.selectRootElement(t,r===dt.ShadowDom);let n="string"==typeof t?e.querySelector(t):t;return n.textContent="",n}(o,r,this.componentDef.encapsulation):ji(l,s.createRenderer(null,this.componentDef),function(e){const t=e.toLowerCase();return"svg"===t?Nt:"math"===t?"http://www.w3.org/1998/MathML/":null}(l)),d=this.componentDef.onPush?576:528,u={components:[],scheduler:Qr,clean:ys,playerHandler:null,flags:0},h=Gi(0,null,null,1,0,null,null,null,null,null),f=Fi(null,h,u,d,null,null,s,o,a,i);let m,p;Sr(f);try{const e=function(e,t,r,n,i,s){const a=r[1];r[20]=e;const o=Hi(a,0,2,null,null),l=o.mergedAttrs=t.hostAttrs;null!==l&&(pa(o,l,!0),null!==e&&(zr(i,e,l),null!==o.classes&&Ns(i,e,o.classes),null!==o.styles&&Hs(i,e,o.styles)));const c=n.createRenderer(e,t),d=Fi(r,qi(t),null,t.onPush?64:16,r[20],o,n,c,null,null);return a.firstCreatePass&&(dn(an(o,r),a,t.type),ns(a,o),ss(o,r.length,1)),fs(r,d),r[20]=d}(c,this.componentDef,f,s,o);if(c)if(r)zr(o,c,["ng-version",Zo.full]);else{const{attrs:e,classes:t}=function(e){const t=[],r=[];let n=1,i=2;for(;n0&&Ns(o,c,t.join(" "))}if(p=Gt(h,0),void 0!==t){const e=p.projection=[];for(let r=0;re(a,t)),t.contentQueries&&t.contentQueries(1,a,r.length-1);const o=lr();if(s.firstCreatePass&&(null!==t.hostBindings||null!==t.hostAttrs)){Tr(o.index-xt);const e=r[1];Xi(e,t),es(e,r,t.hostVars),ts(t,a)}return a}(e,this.componentDef,f,u,[_a]),Ni(h,f,null)}finally{Ar()}return new wl(this.componentType,m,Ws(zo,p,f),f,p)}}class wl extends class{}{constructor(e,t,r,n,i){super(),this.location=r,this._rootLView=n,this._tNode=i,this.destroyCbs=[],this.instance=t,this.hostView=this.changeDetectorRef=new zs(n),this.componentType=e}get injector(){return new yn(this._tNode,this._rootLView)}destroy(){this.destroyCbs&&(this.destroyCbs.forEach(e=>e()),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}onDestroy(e){this.destroyCbs&&this.destroyCbs.push(e)}}const kl=void 0;var Ml=["en",[["a","p"],["AM","PM"],kl],[["AM","PM"],kl,kl],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],kl,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],kl,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",kl,"{1} 'at' {0}",kl],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===r?1:5}];let Sl={};function xl(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let r=Cl(t);if(r)return r;const n=t.split("-")[0];if(r=Cl(n),r)return r;if("en"===n)return Ml;throw new Error(`Missing locale data for the locale "${e}".`)}function Cl(e){return e in Sl||(Sl[e]=Ee.ng&&Ee.ng.common&&Ee.ng.common.locales&&Ee.ng.common.locales[e]),Sl[e]}var Dl=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}({});const Ll="en-US";let Al=Ll;function El(e){var t,r;r="Expected localeId to be defined",null==(t=e)&&function(e,t,r,n){throw new Error("ASSERTION ERROR: "+e+` [Expected=> null != ${t} <=Actual]`)}(r,t),"string"==typeof e&&(Al=e.toLowerCase().replace(/_/g,"-"))}const Tl=new Map;class Pl extends et{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new gl(this);const r=St(e),n=e[Oe]||null;n&&El(n),this._bootstrapComponents=tn(r.bootstrap),this._r3Injector=sa(e,t,[{provide:et,useValue:this},{provide:Bo,useValue:this.componentFactoryResolver}],ve(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,t=fa.THROW_IF_NOT_FOUND,r=oe.Default){return e===fa||e===et||e===He?this:this._r3Injector.get(e,t,r)}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class Yl extends tt{constructor(e){super(),this.moduleType=e,null!==St(e)&&function e(t){if(null!==t.\u0275mod.id){const e=t.\u0275mod.id;(function(e,t,r){if(t&&t!==r)throw new Error(`Duplicate module registered for ${e} - ${ve(t)} vs ${ve(t.name)}`)})(e,Tl.get(e),t),Tl.set(e,t)}let r=t.\u0275mod.imports;r instanceof Function&&(r=r()),r&&r.forEach(t=>e(t))}(e)}create(e){return new Pl(this.moduleType,e)}}function Rl(e,t,r){const n=mr()+e,i=sr();return i[n]===Mi?Da(i,n,r?t.call(r):t()):function(e,t){return e[t]}(i,n)}function Ol(e,t){const r=e[t];return r===Mi?void 0:r}function Il(e,t){const r=ar();let n;const i=e+xt;r.firstCreatePass?(n=function(e,t){if(t)for(let r=t.length-1;r>=0;r--){const n=t[r];if(e===n.name)return n}throw new Error(`The pipe '${e}' could not be found!`)}(t,r.pipeRegistry),r.data[i]=n,n.onDestroy&&(r.destroyHooks||(r.destroyHooks=[])).push(i,n.onDestroy)):n=r.data[i];const s=n.factory||(n.factory=Mt(n.type)),a=qe(Ra);try{const t=nn(!1),n=s();return nn(t),function(e,t,r,n){const i=r+xt;i>=e.data.length&&(e.data[i]=null,e.blueprint[i]=null),t[i]=n}(r,sr(),e,n),n}finally{qe(a)}}function jl(e,t,r){const n=sr(),i=$t(n,e);return Nl(n,Hl(n,e)?function(e,t,r,n,i,s){const a=t+r;return La(e,a,i)?Da(e,a+1,s?n.call(s,i):n(i)):Ol(e,a+1)}(n,mr(),t,i.transform,r,i):i.transform(r))}function Fl(e,t,r,n){const i=sr(),s=$t(i,e);return Nl(i,Hl(i,e)?function(e,t,r,n,i,s,a){const o=t+r;return Aa(e,o,i,s)?Da(e,o+2,a?n.call(a,i,s):n(i,s)):Ol(e,o+2)}(i,mr(),t,s.transform,r,n,s):s.transform(r,n))}function Hl(e,t){return e[1].data[t+xt].pure}function Nl(e,t){return Sa.isWrapped(t)&&(t=Sa.unwrap(t),e[pr()]=Mi),t}const Bl=class extends M{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,r){let n,i=e=>null,s=()=>null;e&&"object"==typeof e?(n=this.__isAsync?t=>{setTimeout(()=>e.next(t))}:t=>{e.next(t)},e.error&&(i=this.__isAsync?t=>{setTimeout(()=>e.error(t))}:t=>{e.error(t)}),e.complete&&(s=this.__isAsync?()=>{setTimeout(()=>e.complete())}:()=>{e.complete()})):(n=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)},t&&(i=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)}),r&&(s=this.__isAsync?()=>{setTimeout(()=>r())}:()=>{r()}));const a=super.subscribe(n,i,s);return e instanceof u&&e.add(a),a}};function zl(){return this._results[Ma()]()}class Ul{constructor(){this.dirty=!0,this._results=[],this.changes=new Bl,this.length=0;const e=Ma(),t=Ul.prototype;t[e]||(t[e]=zl)}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e){this._results=function e(t,r){void 0===r&&(r=t);for(let n=0;n0)i.push(o[t/2]);else{const s=a[t+1],o=r[-n];for(let t=Ct;t{class e{constructor(e){this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let r=0;r{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}return e.\u0275fac=function(t){return new(t||e)($e(cc,8))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();const uc=new Fe("AppId"),hc={provide:uc,useFactory:function(){return`${fc()}${fc()}${fc()}`},deps:[]};function fc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const mc=new Fe("Platform Initializer"),pc=new Fe("Platform ID"),_c=new Fe("appBootstrapListener");let gc=(()=>{class e{log(e){console.log(e)}warn(e){console.warn(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();const yc=new Fe("LocaleId"),bc=new Fe("DefaultCurrencyCode");class vc{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}const wc=function(e){return new Yl(e)},kc=wc,Mc=function(e){return Promise.resolve(wc(e))},Sc=function(e){const t=wc(e),r=tn(St(e).declarations).reduce((e,t)=>{const r=kt(t);return r&&e.push(new vl(r)),e},[]);return new vc(t,r)},xc=Sc,Cc=function(e){return Promise.resolve(Sc(e))};let Dc=(()=>{class e{constructor(){this.compileModuleSync=kc,this.compileModuleAsync=Mc,this.compileModuleAndAllComponentsSync=xc,this.compileModuleAndAllComponentsAsync=Cc}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();const Lc=(()=>Promise.resolve(0))();function Ac(e){"undefined"==typeof Zone?Lc.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Ec{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Bl(!1),this.onMicrotaskEmpty=new Bl(!1),this.onStable=new Bl(!1),this.onError=new Bl(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.wtfZoneSpec&&(r._inner=r._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=t,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function(){let e=Ee.requestAnimationFrame,t=Ee.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r);const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=!!e.shouldCoalesceEventChangeDetection&&e.nativeRequestAnimationFrame&&(()=>{!function(e){-1===e.lastRequestAnimationFrameId&&(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Ee,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Rc(e),Yc(e)},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Rc(e))}(e)});e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:t},onInvokeTask:(r,n,i,s,a,o)=>{try{return Oc(e),r.invokeTask(i,s,a,o)}finally{t&&"eventTask"===s.type&&t(),Ic(e)}},onInvoke:(t,r,n,i,s,a,o)=>{try{return Oc(e),t.invoke(n,i,s,a,o)}finally{Ic(e)}},onHasTask:(t,r,n,i)=>{t.hasTask(n,i),r===n&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Rc(e),Yc(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(t,r,n,i)=>(t.handleError(n,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(r)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ec.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Ec.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,r){return this._inner.run(e,t,r)}runTask(e,t,r,n){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+n,e,Pc,Tc,Tc);try{return i.runTask(s,t,r)}finally{i.cancelTask(s)}}runGuarded(e,t,r){return this._inner.runGuarded(e,t,r)}runOutsideAngular(e){return this._outer.run(e)}}function Tc(){}const Pc={};function Yc(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Rc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||e.shouldCoalesceEventChangeDetection&&-1!==e.lastRequestAnimationFrameId)}function Oc(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ic(e){e._nesting--,Yc(e)}class jc{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Bl,this.onMicrotaskEmpty=new Bl,this.onStable=new Bl,this.onError=new Bl}run(e,t,r){return e.apply(t,r)}runGuarded(e,t,r){return e.apply(t,r)}runOutsideAngular(e){return e()}runTask(e,t,r,n){return e.apply(t,r)}}let Fc=(()=>{class e{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ec.assertNotInAngularZone(),Ac(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Ac(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,r){let n=-1;t&&t>0&&(n=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==n),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:n,updateCb:r})}whenStable(e,t,r){if(r&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,t,r){return[]}}return e.\u0275fac=function(t){return new(t||e)($e(Ec))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})(),Hc=(()=>{class e{constructor(){this._applications=new Map,zc.addToWindow(this)}registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return zc.findTestabilityInTree(this,e,t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();class Nc{addToWindow(e){}findTestabilityInTree(e,t,r){return null}}let Bc,zc=new Nc;const Uc=new Fe("AllowMultipleToken");class Vc{constructor(e,t){this.name=e,this.token=t}}function Kc(e,t,r=[]){const n="Platform: "+t,i=new Fe(n);return(t=[])=>{let s=Wc();if(!s||s.injector.get(Uc,!1))if(e)e(r.concat(t).concat({provide:i,useValue:!0}));else{const e=r.concat(t).concat({provide:i,useValue:!0},{provide:Xs,useValue:"platform"});!function(e){if(Bc&&!Bc.destroyed&&!Bc.injector.get(Uc,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Bc=e.get(qc);const t=e.get(mc,null);t&&t.forEach(e=>e())}(fa.create({providers:e,name:n}))}return function(e){const t=Wc();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(i)}}function Wc(){return Bc&&!Bc.destroyed?Bc:null}let qc=(()=>{class e{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const r=function(e,t){let r;return r="noop"===e?new jc:("zone.js"===e?void 0:e)||new Ec({enableLongStackTrace:In(),shouldCoalesceEventChangeDetection:t}),r}(t?t.ngZone:void 0,t&&t.ngZoneEventCoalescing||!1),n=[{provide:Ec,useValue:r}];return r.run(()=>{const t=fa.create({providers:n,parent:this.injector,name:e.moduleType.name}),i=e.create(t),s=i.injector.get(Sn,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return i.onDestroy(()=>Zc(this._modules,i)),r.runOutsideAngular(()=>r.onError.subscribe({next:e=>{s.handleError(e)}})),function(e,t,r){try{const n=r();return Ka(n)?n.catch(r=>{throw t.runOutsideAngular(()=>e.handleError(r)),r}):n}catch(n){throw t.runOutsideAngular(()=>e.handleError(n)),n}}(s,r,()=>{const e=i.injector.get(dc);return e.runInitializers(),e.donePromise.then(()=>(El(i.injector.get(yc,Ll)||Ll),this._moduleDoBootstrap(i),i))})})}bootstrapModule(e,t=[]){const r=Gc({},t);return function(e,t,r){const n=new Yl(r);return Promise.resolve(n)}(0,0,e).then(e=>this.bootstrapModuleFactory(e,r))}_moduleDoBootstrap(e){const t=e.injector.get($c);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${ve(e.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);e.instance.ngDoBootstrap(t)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(t){return new(t||e)($e(fa))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();function Gc(e,t){return Array.isArray(t)?t.reduce(Gc,e):Object.assign(Object.assign({},e),t)}let $c=(()=>{class e{constructor(e,t,r,n,i,s){this._zone=e,this._console=t,this._injector=r,this._exceptionHandler=n,this._componentFactoryResolver=i,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=In(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const a=new y(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),o=new y(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{Ec.assertNotInAngularZone(),Ac(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const r=this._zone.onUnstable.subscribe(()=>{Ec.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),r.unsubscribe()}});this.isStable=K(a,o.pipe(X()))}bootstrap(e,t){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let r;r=e instanceof Ho?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(r.componentType);const n=r.isBoundToModule?void 0:this._injector.get(et),i=r.create(fa.NULL,[],t||r.selector,n);i.onDestroy(()=>{this._unloadComponent(i)});const s=i.injector.get(Fc,null);return s&&i.injector.get(Hc).registerApplication(i.location.nativeElement,s),this._loadComponent(i),In()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),i}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let e of this._views)e.detectChanges();if(this._enforceNoNewChanges)for(let e of this._views)e.checkNoChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;Zc(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(_c,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}_unloadComponent(e){this.detachView(e.hostView),Zc(this.components,e)}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy())}get viewCount(){return this._views.length}}return e.\u0275fac=function(t){return new(t||e)($e(Ec),$e(gc),$e(fa),$e(Sn),$e(Bo),$e(dc))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();function Zc(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}class Jc{}class Qc{}const Xc={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let ed=(()=>{class e{constructor(e,t){this._compiler=e,this._config=t||Xc}load(e){return this.loadAndCompile(e)}loadAndCompile(e){let[t,n]=e.split("#");return void 0===n&&(n="default"),r("zn8P")(t).then(e=>e[n]).then(e=>td(e,t,n)).then(e=>this._compiler.compileModuleAsync(e))}loadFactory(e){let[t,n]=e.split("#"),i="NgFactory";return void 0===n&&(n="default",i=""),r("zn8P")(this._config.factoryPathPrefix+t+this._config.factoryPathSuffix).then(e=>e[n+i]).then(e=>td(e,t,n))}}return e.\u0275fac=function(t){return new(t||e)($e(Dc),$e(Qc,8))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();function td(e,t,r){if(!e)throw new Error(`Cannot find '${r}' in '${t}'`);return e}const rd=Kc(null,"core",[{provide:pc,useValue:"unknown"},{provide:qc,deps:[fa]},{provide:Hc,deps:[]},{provide:gc,deps:[]}]),nd=[{provide:$c,useClass:$c,deps:[Ec,gc,fa,Sn,Bo,dc]},{provide:bl,deps:[Ec],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:dc,useClass:dc,deps:[[new ie,cc]]},{provide:Dc,useClass:Dc,deps:[]},hc,{provide:ol,useFactory:function(){return dl},deps:[]},{provide:ll,useFactory:function(){return ul},deps:[]},{provide:yc,useFactory:function(e){return El(e=e||"undefined"!=typeof $localize&&$localize.locale||Ll),e},deps:[[new ne(yc),new ie,new ae]]},{provide:bc,useValue:"USD"}];let id=(()=>{class e{constructor(e){}}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)($e($c))},providers:nd}),e})();const sd="https://api.bstly.de";let ad=null;function od(){return ad}const ld=new Fe("DocumentToken");let cd=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=de({factory:dd,token:e,providedIn:"platform"}),e})();function dd(){return $e(hd)}const ud=new Fe("Location Initialized");let hd=(()=>{class e extends cd{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=od().getLocation(),this._history=od().getHistory()}getBaseHrefFromDOM(){return od().getBaseHref(this._doc)}onPopState(e){od().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}onHashChange(e){od().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(e){this.location.pathname=e}pushState(e,t,r){fd()?this._history.pushState(e,t,r):this.location.hash=r}replaceState(e,t,r){fd()?this._history.replaceState(e,t,r):this.location.hash=r}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return e.\u0275fac=function(t){return new(t||e)($e(ld))},e.\u0275prov=de({factory:md,token:e,providedIn:"platform"}),e})();function fd(){return!!window.history.pushState}function md(){return new hd($e(ld))}function pd(e,t){if(0==e.length)return t;if(0==t.length)return e;let r=0;return e.endsWith("/")&&r++,t.startsWith("/")&&r++,2==r?e+t.substring(1):1==r?e+t:e+"/"+t}function _d(e){const t=e.match(/#|\?|$/),r=t&&t.index||e.length;return e.slice(0,r-("/"===e[r-1]?1:0))+e.slice(r)}function gd(e){return e&&"?"!==e[0]?"?"+e:e}let yd=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=de({factory:bd,token:e,providedIn:"root"}),e})();function bd(e){const t=$e(ld).location;return new wd($e(cd),t&&t.origin||"")}const vd=new Fe("appBaseHref");let wd=(()=>{class e extends yd{constructor(e,t){if(super(),this._platformLocation=e,null==t&&(t=this._platformLocation.getBaseHrefFromDOM()),null==t)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=t}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return pd(this._baseHref,e)}path(e=!1){const t=this._platformLocation.pathname+gd(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${t}${r}`:t}pushState(e,t,r,n){const i=this.prepareExternalUrl(r+gd(n));this._platformLocation.pushState(e,t,i)}replaceState(e,t,r,n){const i=this.prepareExternalUrl(r+gd(n));this._platformLocation.replaceState(e,t,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return e.\u0275fac=function(t){return new(t||e)($e(cd),$e(vd,8))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})(),kd=(()=>{class e extends yd{constructor(e,t){super(),this._platformLocation=e,this._baseHref="",null!=t&&(this._baseHref=t)}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}path(e=!1){let t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t}prepareExternalUrl(e){const t=pd(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,r,n){let i=this.prepareExternalUrl(r+gd(n));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(e,t,i)}replaceState(e,t,r,n){let i=this.prepareExternalUrl(r+gd(n));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return e.\u0275fac=function(t){return new(t||e)($e(cd),$e(vd,8))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})(),Md=(()=>{class e{constructor(e,t){this._subject=new Bl,this._urlChangeListeners=[],this._platformStrategy=e;const r=this._platformStrategy.getBaseHref();this._platformLocation=t,this._baseHref=_d(xd(r)),this._platformStrategy.onPopState(e=>{this._subject.emit({url:this.path(!0),pop:!0,state:e.state,type:e.type})})}path(e=!1){return this.normalize(this._platformStrategy.path(e))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(e,t=""){return this.path()==this.normalize(e+gd(t))}normalize(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,xd(t)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}go(e,t="",r=null){this._platformStrategy.pushState(r,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+gd(t)),r)}replaceState(e,t="",r=null){this._platformStrategy.replaceState(r,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+gd(t)),r)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(e){this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(e=>{this._notifyUrlChangeListeners(e.url,e.state)}))}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(r=>r(e,t))}subscribe(e,t,r){return this._subject.subscribe({next:e,error:t,complete:r})}}return e.\u0275fac=function(t){return new(t||e)($e(yd),$e(cd))},e.normalizeQueryParams=gd,e.joinWithSlash=pd,e.stripTrailingSlash=_d,e.\u0275prov=de({factory:Sd,token:e,providedIn:"root"}),e})();function Sd(){return new Md($e(yd),$e(cd))}function xd(e){return e.replace(/\/index.html$/,"")}var Cd=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({}),Dd=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}({}),Ld=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}({}),Ad=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}({}),Ed=function(e){return e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e[1/0]=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup",e}({});function Td(e,t){return Id(xl(e)[Dl.DateFormat],t)}function Pd(e,t){return Id(xl(e)[Dl.TimeFormat],t)}function Yd(e,t){return Id(xl(e)[Dl.DateTimeFormat],t)}function Rd(e,t){const r=xl(e),n=r[Dl.NumberSymbols][t];if(void 0===n){if(t===Ed.CurrencyDecimal)return r[Dl.NumberSymbols][Ed.Decimal];if(t===Ed.CurrencyGroup)return r[Dl.NumberSymbols][Ed.Group]}return n}function Od(e){if(!e[Dl.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[Dl.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Id(e,t){for(let r=t;r>-1;r--)if(void 0!==e[r])return e[r];throw new Error("Locale data API: locale data undefined")}function jd(e){const[t,r]=e.split(":");return{hours:+t,minutes:+r}}const Fd=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Hd={},Nd=/((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var Bd=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}({}),zd=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}({}),Ud=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}({});function Vd(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,(function(e,r){return null!=t&&r in t?t[r]:e}))),e}function Kd(e,t,r="-",n,i){let s="";(e<0||i&&e<=0)&&(i?e=1-e:(e=-e,s=r));let a=String(e);for(;a.length0||o>-r)&&(o+=r),e===zd.Hours)0===o&&-12===r&&(o=12);else if(e===zd.FractionalSeconds)return l=t,Kd(o,3).substr(0,l);var l;const c=Rd(a,Ed.MinusSign);return Kd(o,t,c,n,i)}}function qd(e,t,r=Dd.Format,n=!1){return function(i,s){return function(e,t,r,n,i,s){switch(r){case Ud.Months:return function(e,t,r){const n=xl(e),i=Id([n[Dl.MonthsFormat],n[Dl.MonthsStandalone]],t);return Id(i,r)}(t,i,n)[e.getMonth()];case Ud.Days:return function(e,t,r){const n=xl(e),i=Id([n[Dl.DaysFormat],n[Dl.DaysStandalone]],t);return Id(i,r)}(t,i,n)[e.getDay()];case Ud.DayPeriods:const a=e.getHours(),o=e.getMinutes();if(s){const e=function(e){const t=xl(e);return Od(t),(t[Dl.ExtraData][2]||[]).map(e=>"string"==typeof e?jd(e):[jd(e[0]),jd(e[1])])}(t),r=function(e,t,r){const n=xl(e);Od(n);const i=Id([n[Dl.ExtraData][0],n[Dl.ExtraData][1]],t)||[];return Id(i,r)||[]}(t,i,n),s=e.findIndex(e=>{if(Array.isArray(e)){const[t,r]=e,n=a>=t.hours&&o>=t.minutes,i=a0?Math.floor(i/60):Math.ceil(i/60);switch(e){case Bd.Short:return(i>=0?"+":"")+Kd(a,2,s)+Kd(Math.abs(i%60),2,s);case Bd.ShortGMT:return"GMT"+(i>=0?"+":"")+Kd(a,1,s);case Bd.Long:return"GMT"+(i>=0?"+":"")+Kd(a,2,s)+":"+Kd(Math.abs(i%60),2,s);case Bd.Extended:return 0===n?"Z":(i>=0?"+":"")+Kd(a,2,s)+":"+Kd(Math.abs(i%60),2,s);default:throw new Error(`Unknown zone width "${e}"`)}}}function $d(e,t=!1){return function(r,n){let i;if(t){const e=new Date(r.getFullYear(),r.getMonth(),1).getDay()-1,t=r.getDate();i=1+Math.floor((t+e)/7)}else{const e=(s=r,new Date(s.getFullYear(),s.getMonth(),s.getDate()+(4-s.getDay()))),t=function(e){const t=new Date(e,0,1).getDay();return new Date(e,0,1+(t<=4?4:11)-t)}(e.getFullYear()),n=e.getTime()-t.getTime();i=1+Math.round(n/6048e5)}var s;return Kd(i,e,Rd(n,Ed.MinusSign))}}const Zd={};function Jd(e,t){e=e.replace(/:/g,"");const r=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(r)?t:r}function Qd(e){return e instanceof Date&&!isNaN(e.valueOf())}class Xd{}let eu=(()=>{class e extends Xd{constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(function(e){return xl(e)[Dl.PluralCase]}(t||this.locale)(e)){case Cd.Zero:return"zero";case Cd.One:return"one";case Cd.Two:return"two";case Cd.Few:return"few";case Cd.Many:return"many";default:return"other"}}}return e.\u0275fac=function(t){return new(t||e)($e(yc))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();function tu(e,t){t=encodeURIComponent(t);for(const r of e.split(";")){const e=r.indexOf("="),[n,i]=-1==e?[r,""]:[r.slice(0,e),r.slice(e+1)];if(n.trim()===t)return decodeURIComponent(i)}return null}let ru=(()=>{class e{constructor(e,t,r,n){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=r,this._renderer=n,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(xa(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachChangedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachRemovedItem(e=>{e.previousValue&&this._toggleClass(e.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(e=>{if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+ve(e.item));this._toggleClass(e.item,!0)}),e.forEachRemovedItem(e=>this._toggleClass(e.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!0)):Object.keys(e).forEach(t=>this._toggleClass(t,!!e[t])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!1)):Object.keys(e).forEach(e=>this._toggleClass(e,!1)))}_toggleClass(e,t){(e=e.trim())&&e.split(/\s+/g).forEach(e=>{t?this._renderer.addClass(this._ngEl.nativeElement,e):this._renderer.removeClass(this._ngEl.nativeElement,e)})}}return e.\u0275fac=function(t){return new(t||e)(Ra(ol),Ra(ll),Ra(zo),Ra(Wo))},e.\u0275dir=vt({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e})();class nu{constructor(e,t,r,n){this.$implicit=e,this.ngForOf=t,this.index=r,this.count=n}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let iu=(()=>{class e{constructor(e,t,r){this._viewContainer=e,this._template=t,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){In()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(e)}. See https://angular.io/api/common/NgForOf#change-propagation for more information.`),this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const r=this._ngForOf;if(!this._differ&&r)try{this._differ=this._differs.find(r).create(this.ngForTrackBy)}catch(t){throw new Error(`Cannot find a differ supporting object '${r}' of type '${e=r,e.name||typeof e}'. NgFor only supports binding to Iterables such as Arrays.`)}}var e;if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const t=[];e.forEachOperation((e,r,n)=>{if(null==e.previousIndex){const r=this._viewContainer.createEmbeddedView(this._template,new nu(null,this._ngForOf,-1,-1),null===n?void 0:n),i=new su(e,r);t.push(i)}else if(null==n)this._viewContainer.remove(null===r?void 0:r);else if(null!==r){const i=this._viewContainer.get(r);this._viewContainer.move(i,n);const s=new su(e,i);t.push(s)}});for(let r=0;r{this._viewContainer.get(e.currentIndex).context.$implicit=e.item})}_perViewChange(e,t){e.context.$implicit=t.item}static ngTemplateContextGuard(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(Ra(ml),Ra(hl),Ra(ol))},e.\u0275dir=vt({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e})();class su{constructor(e,t){this.record=e,this.view=t}}let au=(()=>{class e{constructor(e,t){this._viewContainer=e,this._context=new ou,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){lu("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){lu("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(Ra(ml),Ra(hl))},e.\u0275dir=vt({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e})();class ou{constructor(){this.$implicit=null,this.ngIf=null}}function lu(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${ve(t)}'.`)}class cu{constructor(e,t){this._viewContainerRef=e,this._templateRef=t,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}}let du=(()=>{class e{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}_matchCase(e){const t=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||t,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t}_updateDefaultCases(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(let t=0;t{class e{constructor(e,t,r){this.ngSwitch=r,r._addCase(),this._view=new cu(e,t)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return e.\u0275fac=function(t){return new(t||e)(Ra(ml),Ra(hl),Ra(du,1))},e.\u0275dir=vt({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),e})(),hu=(()=>{class e{constructor(e,t,r){r._addDefault(new cu(e,t))}}return e.\u0275fac=function(t){return new(t||e)(Ra(ml),Ra(hl),Ra(du,1))},e.\u0275dir=vt({type:e,selectors:[["","ngSwitchDefault",""]]}),e})(),fu=(()=>{class e{constructor(e,t,r){this._ngEl=e,this._differs=t,this._renderer=r,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,t){const[r,n]=e.split(".");null!=(t=null!=t&&n?`${t}${n}`:t)?this._renderer.setStyle(this._ngEl.nativeElement,r,t):this._renderer.removeStyle(this._ngEl.nativeElement,r)}_applyChanges(e){e.forEachRemovedItem(e=>this._setStyle(e.key,null)),e.forEachAddedItem(e=>this._setStyle(e.key,e.currentValue)),e.forEachChangedItem(e=>this._setStyle(e.key,e.currentValue))}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(ll),Ra(Wo))},e.\u0275dir=vt({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),e})();function mu(e,t){return Error(`InvalidPipeArgument: '${t}' for pipe '${ve(e)}'`)}class pu{createSubscription(e,t){return e.subscribe({next:t,error:e=>{throw e}})}dispose(e){e.unsubscribe()}onDestroy(e){e.unsubscribe()}}class _u{createSubscription(e,t){return e.then(t,e=>{throw e})}dispose(e){}onDestroy(e){}}const gu=new _u,yu=new pu;let bu=(()=>{class e{constructor(e){this._ref=e,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,t=>this._updateLatestValue(e,t))}_selectStrategy(t){if(Ka(t))return gu;if(Wa(t))return yu;throw mu(e,t)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())}}return e.\u0275fac=function(t){return new(t||e)(function(e=oe.Default){const t=$s(!0);if(null!=t||e&oe.Optional)return t;throw new Error("No provider for ChangeDetectorRef!")}())},e.\u0275pipe=wt({name:"async",type:e,pure:!1}),e})(),vu=(()=>{class e{constructor(e){this.locale=e}transform(t,r="mediumDate",n,i){if(null==t||""===t||t!=t)return null;try{return function(e,t,r,n){let i=function(e){if(Qd(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){e=e.trim();const t=parseFloat(e);if(!isNaN(e-t))return new Date(t);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(e)){const[t,r,n]=e.split("-").map(e=>+e);return new Date(t,r-1,n)}let r;if(r=e.match(Fd))return function(e){const t=new Date(0);let r=0,n=0;const i=e[8]?t.setUTCFullYear:t.setFullYear,s=e[8]?t.setUTCHours:t.setHours;e[9]&&(r=Number(e[9]+e[10]),n=Number(e[9]+e[11])),i.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));const a=Number(e[4]||0)-r,o=Number(e[5]||0)-n,l=Number(e[6]||0),c=Math.round(1e3*parseFloat("0."+(e[7]||0)));return s.call(t,a,o,l,c),t}(r)}const t=new Date(e);if(!Qd(t))throw new Error(`Unable to convert "${e}" into a date`);return t}(e);t=function e(t,r){const n=function(e){return xl(e)[Dl.LocaleId]}(t);if(Hd[n]=Hd[n]||{},Hd[n][r])return Hd[n][r];let i="";switch(r){case"shortDate":i=Td(t,Ad.Short);break;case"mediumDate":i=Td(t,Ad.Medium);break;case"longDate":i=Td(t,Ad.Long);break;case"fullDate":i=Td(t,Ad.Full);break;case"shortTime":i=Pd(t,Ad.Short);break;case"mediumTime":i=Pd(t,Ad.Medium);break;case"longTime":i=Pd(t,Ad.Long);break;case"fullTime":i=Pd(t,Ad.Full);break;case"short":const r=e(t,"shortTime"),n=e(t,"shortDate");i=Vd(Yd(t,Ad.Short),[r,n]);break;case"medium":const s=e(t,"mediumTime"),a=e(t,"mediumDate");i=Vd(Yd(t,Ad.Medium),[s,a]);break;case"long":const o=e(t,"longTime"),l=e(t,"longDate");i=Vd(Yd(t,Ad.Long),[o,l]);break;case"full":const c=e(t,"fullTime"),d=e(t,"fullDate");i=Vd(Yd(t,Ad.Full),[c,d])}return i&&(Hd[n][r]=i),i}(r,t)||t;let s,a=[];for(;t;){if(s=Nd.exec(t),!s){a.push(t);break}{a=a.concat(s.slice(1));const e=a.pop();if(!e)break;t=e}}let o=i.getTimezoneOffset();n&&(o=Jd(n,o),i=function(e,t,r){const n=e.getTimezoneOffset();return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,-1*(Jd(t,n)-n))}(i,n));let l="";return a.forEach(e=>{const t=function(e){if(Zd[e])return Zd[e];let t;switch(e){case"G":case"GG":case"GGG":t=qd(Ud.Eras,Ld.Abbreviated);break;case"GGGG":t=qd(Ud.Eras,Ld.Wide);break;case"GGGGG":t=qd(Ud.Eras,Ld.Narrow);break;case"y":t=Wd(zd.FullYear,1,0,!1,!0);break;case"yy":t=Wd(zd.FullYear,2,0,!0,!0);break;case"yyy":t=Wd(zd.FullYear,3,0,!1,!0);break;case"yyyy":t=Wd(zd.FullYear,4,0,!1,!0);break;case"M":case"L":t=Wd(zd.Month,1,1);break;case"MM":case"LL":t=Wd(zd.Month,2,1);break;case"MMM":t=qd(Ud.Months,Ld.Abbreviated);break;case"MMMM":t=qd(Ud.Months,Ld.Wide);break;case"MMMMM":t=qd(Ud.Months,Ld.Narrow);break;case"LLL":t=qd(Ud.Months,Ld.Abbreviated,Dd.Standalone);break;case"LLLL":t=qd(Ud.Months,Ld.Wide,Dd.Standalone);break;case"LLLLL":t=qd(Ud.Months,Ld.Narrow,Dd.Standalone);break;case"w":t=$d(1);break;case"ww":t=$d(2);break;case"W":t=$d(1,!0);break;case"d":t=Wd(zd.Date,1);break;case"dd":t=Wd(zd.Date,2);break;case"E":case"EE":case"EEE":t=qd(Ud.Days,Ld.Abbreviated);break;case"EEEE":t=qd(Ud.Days,Ld.Wide);break;case"EEEEE":t=qd(Ud.Days,Ld.Narrow);break;case"EEEEEE":t=qd(Ud.Days,Ld.Short);break;case"a":case"aa":case"aaa":t=qd(Ud.DayPeriods,Ld.Abbreviated);break;case"aaaa":t=qd(Ud.DayPeriods,Ld.Wide);break;case"aaaaa":t=qd(Ud.DayPeriods,Ld.Narrow);break;case"b":case"bb":case"bbb":t=qd(Ud.DayPeriods,Ld.Abbreviated,Dd.Standalone,!0);break;case"bbbb":t=qd(Ud.DayPeriods,Ld.Wide,Dd.Standalone,!0);break;case"bbbbb":t=qd(Ud.DayPeriods,Ld.Narrow,Dd.Standalone,!0);break;case"B":case"BB":case"BBB":t=qd(Ud.DayPeriods,Ld.Abbreviated,Dd.Format,!0);break;case"BBBB":t=qd(Ud.DayPeriods,Ld.Wide,Dd.Format,!0);break;case"BBBBB":t=qd(Ud.DayPeriods,Ld.Narrow,Dd.Format,!0);break;case"h":t=Wd(zd.Hours,1,-12);break;case"hh":t=Wd(zd.Hours,2,-12);break;case"H":t=Wd(zd.Hours,1);break;case"HH":t=Wd(zd.Hours,2);break;case"m":t=Wd(zd.Minutes,1);break;case"mm":t=Wd(zd.Minutes,2);break;case"s":t=Wd(zd.Seconds,1);break;case"ss":t=Wd(zd.Seconds,2);break;case"S":t=Wd(zd.FractionalSeconds,1);break;case"SS":t=Wd(zd.FractionalSeconds,2);break;case"SSS":t=Wd(zd.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=Gd(Bd.Short);break;case"ZZZZZ":t=Gd(Bd.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Gd(Bd.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=Gd(Bd.Long);break;default:return null}return Zd[e]=t,t}(e);l+=t?t(i,r,o):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}(t,r,i||this.locale,n)}catch(s){throw mu(e,s.message)}}}return e.\u0275fac=function(t){return new(t||e)(Ra(yc))},e.\u0275pipe=wt({name:"date",type:e,pure:!0}),e})(),wu=(()=>{class e{constructor(e){this.differs=e,this.keyValues=[]}transform(e,t=ku){if(!e||!(e instanceof Map)&&"object"!=typeof e)return null;this.differ||(this.differ=this.differs.find(e).create());const r=this.differ.diff(e);return r&&(this.keyValues=[],r.forEachItem(e=>{this.keyValues.push({key:e.key,value:e.currentValue})}),this.keyValues.sort(t)),this.keyValues}}return e.\u0275fac=function(t){return new(t||e)(Ra(ll))},e.\u0275pipe=wt({name:"keyvalue",type:e,pure:!1}),e})();function ku(e,t){const r=e.key,n=t.key;if(r===n)return 0;if(void 0===r)return 1;if(void 0===n)return-1;if(null===r)return 1;if(null===n)return-1;if("string"==typeof r&&"string"==typeof n)return r{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[{provide:Xd,useClass:eu}]}),e})();function Su(e){return"browser"===e}function xu(e){return"server"===e}let Cu=(()=>{class e{}return e.\u0275prov=de({token:e,providedIn:"root",factory:()=>new Du($e(ld),window,$e(Sn))}),e})();class Du{constructor(e,t,r){this.document=e,this.window=t,this.errorHandler=r,this.offset=()=>[0,0]}setOffset(e){this.offset=Array.isArray(e)?()=>e:e}getScrollPosition(){return this.supportsScrolling()?[this.window.scrollX,this.window.scrollY]:[0,0]}scrollToPosition(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(this.supportsScrolling()){const t=this.document.getElementById(e)||this.document.getElementsByName(e)[0];t&&this.scrollToElement(t)}}setHistoryScrollRestoration(e){if(this.supportScrollRestoration()){const t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}scrollToElement(e){const t=e.getBoundingClientRect(),r=t.left+this.window.pageXOffset,n=t.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],n-i[1])}supportScrollRestoration(){try{if(!this.window||!this.window.scrollTo)return!1;const e=Lu(this.window.history)||Lu(Object.getPrototypeOf(this.window.history));return!(!e||!e.writable&&!e.set)}catch(e){return!1}}supportsScrolling(){try{return!!this.window.scrollTo}catch(e){return!1}}}function Lu(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class Au extends class extends class{}{constructor(){super()}supportsDOMEvents(){return!0}}{static makeCurrent(){var e;e=new Au,ad||(ad=e)}getProperty(e,t){return e[t]}log(e){window.console&&window.console.log&&window.console.log(e)}logGroup(e){window.console&&window.console.group&&window.console.group(e)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(e,t,r){return e.addEventListener(t,r,!1),()=>{e.removeEventListener(t,r,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){return e.parentNode&&e.parentNode.removeChild(e),e}getValue(e){return e.value}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(e){const t=Tu||(Tu=document.querySelector("base"),Tu)?Tu.getAttribute("href"):null;return null==t?null:(r=t,Eu||(Eu=document.createElement("a")),Eu.setAttribute("href",r),"/"===Eu.pathname.charAt(0)?Eu.pathname:"/"+Eu.pathname);var r}resetBaseElement(){Tu=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(e){return tu(document.cookie,e)}}let Eu,Tu=null;const Pu=new Fe("TRANSITION_ID"),Yu=[{provide:cc,useFactory:function(e,t,r){return()=>{r.get(dc).donePromise.then(()=>{const r=od();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(t=>t.getAttribute("ng-transition")===e).forEach(e=>r.remove(e))})}},deps:[Pu,ld,fa],multi:!0}];class Ru{static init(){var e;e=new Ru,zc=e}addToWindow(e){Ee.getAngularTestability=(t,r=!0)=>{const n=e.findTestabilityInTree(t,r);if(null==n)throw new Error("Could not find testability for element.");return n},Ee.getAllAngularTestabilities=()=>e.getAllTestabilities(),Ee.getAllAngularRootElements=()=>e.getAllRootElements(),Ee.frameworkStabilizers||(Ee.frameworkStabilizers=[]),Ee.frameworkStabilizers.push(e=>{const t=Ee.getAllAngularTestabilities();let r=t.length,n=!1;const i=function(t){n=n||t,r--,0==r&&e(n)};t.forEach((function(e){e.whenStable(i)}))})}findTestabilityInTree(e,t,r){if(null==t)return null;const n=e.getTestability(t);return null!=n?n:r?od().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}const Ou=new Fe("EventManagerPlugins");let Iu=(()=>{class e{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(e=>e.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,r){return this._findPluginFor(t).addEventListener(e,t,r)}addGlobalEventListener(e,t,r){return this._findPluginFor(t).addGlobalEventListener(e,t,r)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const r=this._plugins;for(let n=0;n{class e{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(e=>{this._stylesSet.has(e)||(this._stylesSet.add(e),t.add(e))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})(),Hu=(()=>{class e extends Fu{constructor(e){super(),this._doc=e,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(e.head)}_addStylesToHost(e,t){e.forEach(e=>{const r=this._doc.createElement("style");r.textContent=e,this._styleNodes.add(t.appendChild(r))})}addHost(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)}removeHost(e){this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach(t=>this._addStylesToHost(e,t))}ngOnDestroy(){this._styleNodes.forEach(e=>od().remove(e))}}return e.\u0275fac=function(t){return new(t||e)($e(ld))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();const Nu={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},Bu=/%COMP%/g;function zu(e,t,r){for(let n=0;n{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let Vu=(()=>{class e{constructor(e,t,r){this.eventManager=e,this.sharedStylesHost=t,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new Ku(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case dt.Emulated:{let r=this.rendererByCompId.get(t.id);return r||(r=new Wu(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,r)),r.applyToHost(e),r}case dt.Native:case dt.ShadowDom:return new qu(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=zu(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(t){return new(t||e)($e(Iu),$e(Hu),$e(uc))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();class Ku{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(Nu[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){e.appendChild(t)}insertBefore(e,t,r){e&&e.insertBefore(t,r)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let r="string"==typeof e?document.querySelector(e):e;if(!r)throw new Error(`The selector "${e}" did not match any elements`);return t||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,r,n){if(n){t=n+":"+t;const i=Nu[n];i?e.setAttributeNS(i,t,r):e.setAttribute(t,r)}else e.setAttribute(t,r)}removeAttribute(e,t,r){if(r){const n=Nu[r];n?e.removeAttributeNS(n,t):e.removeAttribute(`${r}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,r,n){n&Ko.DashCase?e.style.setProperty(t,r,n&Ko.Important?"important":""):e.style[t]=r}removeStyle(e,t,r){r&Ko.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,r){e[t]=r}setValue(e,t){e.nodeValue=t}listen(e,t,r){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,Uu(r)):this.eventManager.addEventListener(e,t,Uu(r))}}class Wu extends Ku{constructor(e,t,r,n){super(e),this.component=r;const i=zu(n+"-"+r.id,r.styles,[]);t.addStyles(i),this.contentAttr="_ngcontent-%COMP%".replace(Bu,n+"-"+r.id),this.hostAttr="_nghost-%COMP%".replace(Bu,n+"-"+r.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const r=super.createElement(e,t);return super.setAttribute(r,this.contentAttr,""),r}}class qu extends Ku{constructor(e,t,r,n){super(e),this.sharedStylesHost=t,this.hostEl=r,this.component=n,this.shadowRoot=n.encapsulation===dt.ShadowDom?r.attachShadow({mode:"open"}):r.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const i=zu(n.id,n.styles,[]);for(let s=0;s{class e extends ju{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,r){return e.addEventListener(t,r,!1),()=>this.removeEventListener(e,t,r)}removeEventListener(e,t,r){return e.removeEventListener(t,r)}}return e.\u0275fac=function(t){return new(t||e)($e(ld))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();const $u=["alt","control","meta","shift"],Zu={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Ju={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},Qu={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let Xu=(()=>{class e extends ju{constructor(e){super(e)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,r,n){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>od().onAndCancel(t,i.domEventName,s))}static parseEventName(t){const r=t.toLowerCase().split("."),n=r.shift();if(0===r.length||"keydown"!==n&&"keyup"!==n)return null;const i=e._normalizeKey(r.pop());let s="";if($u.forEach(e=>{const t=r.indexOf(e);t>-1&&(r.splice(t,1),s+=e+".")}),s+=i,0!=r.length||0===i.length)return null;const a={};return a.domEventName=n,a.fullKey=s,a}static getEventFullKey(e){let t="",r=function(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&Ju.hasOwnProperty(t)&&(t=Ju[t]))}return Zu[t]||t}(e);return r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),$u.forEach(n=>{n!=r&&(0,Qu[n])(e)&&(t+=n+".")}),t+=r,t}static eventCallback(t,r,n){return i=>{e.getEventFullKey(i)===t&&n.runGuarded(()=>r(i))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}return e.\u0275fac=function(t){return new(t||e)($e(ld))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})(),eh=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=de({factory:function(){return $e(th)},token:e,providedIn:"root"}),e})(),th=(()=>{class e extends eh{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case ai.NONE:return t;case ai.HTML:return Pn(t,"HTML")?Tn(t):ii(this._doc,String(t));case ai.STYLE:return Pn(t,"Style")?Tn(t):t;case ai.SCRIPT:if(Pn(t,"Script"))return Tn(t);throw new Error("unsafe value used in a script context");case ai.URL:return Yn(t),Pn(t,"URL")?Tn(t):Bn(String(t));case ai.RESOURCE_URL:if(Pn(t,"ResourceURL"))return Tn(t);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see http://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return new Cn(e)}bypassSecurityTrustStyle(e){return new Dn(e)}bypassSecurityTrustScript(e){return new Ln(e)}bypassSecurityTrustUrl(e){return new An(e)}bypassSecurityTrustResourceUrl(e){return new En(e)}}return e.\u0275fac=function(t){return new(t||e)($e(ld))},e.\u0275prov=de({factory:function(){return e=$e(He),new th(e.get(ld));var e},token:e,providedIn:"root"}),e})();const rh=Kc(rd,"browser",[{provide:pc,useValue:"browser"},{provide:mc,useValue:function(){Au.makeCurrent(),Ru.init()},multi:!0},{provide:ld,useFactory:function(){return function(e){Bt=e}(document),document},deps:[]}]),nh=[[],{provide:Xs,useValue:"root"},{provide:Sn,useFactory:function(){return new Sn},deps:[]},{provide:Ou,useClass:Gu,multi:!0,deps:[ld,Ec,pc]},{provide:Ou,useClass:Xu,multi:!0,deps:[ld]},[],{provide:Vu,useClass:Vu,deps:[Iu,Hu,uc]},{provide:Vo,useExisting:Vu},{provide:Fu,useExisting:Hu},{provide:Hu,useClass:Hu,deps:[ld]},{provide:Fc,useClass:Fc,deps:[Ec]},{provide:Iu,useClass:Iu,deps:[Ou,Ec]},[]];let ih=(()=>{class e{constructor(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(t){return{ngModule:e,providers:[{provide:uc,useValue:t.appId},{provide:Pu,useExisting:uc},Yu]}}}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)($e(e,12))},providers:nh,imports:[Mu,id]}),e})();function sh(...e){let t=e[e.length-1];return x(t)?(e.pop(),O(e,t)):V(e)}"undefined"!=typeof window&&window;class ah extends M{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return t&&!t.closed&&e.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new v;return this._value}next(e){super.next(this._value=e)}}class oh extends m{notifyNext(e,t,r,n,i){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}class lh extends m{constructor(e,t,r){super(),this.parent=e,this.outerValue=t,this.outerIndex=r,this.index=0}_next(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}_error(e){this.parent.notifyError(e,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}function ch(e,t,r,n,i=new lh(e,r,n)){if(!i.closed)return t instanceof y?t.subscribe(i):R(t)(i)}const dh={};function uh(...e){let t=void 0,r=void 0;return x(e[e.length-1])&&(r=e.pop()),"function"==typeof e[e.length-1]&&(t=e.pop()),1===e.length&&l(e[0])&&(e=e[0]),V(e,r).lift(new hh(t))}class hh{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new fh(e,this.resultSelector))}}class fh extends oh{constructor(e,t){super(e),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(e){this.values.push(dh),this.observables.push(e)}_complete(){const e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(let r=0;r{function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e})(),ph=new y(e=>e.complete());function _h(e){return e?function(e){return new y(t=>e.schedule(()=>t.complete()))}(e):ph}function gh(e){return new y(t=>{let r;try{r=e()}catch(n){return void t.error(n)}return(r?I(r):_h()).subscribe(t)})}function yh(){return U(1)}function bh(e,t){return function(r){return r.lift(new vh(e,t))}}class vh{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new wh(e,this.predicate,this.thisArg))}}class wh extends m{constructor(e,t,r){super(e),this.predicate=t,this.thisArg=r,this.count=0}_next(e){let t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(r){return void this.destination.error(r)}t&&this.destination.next(e)}}const kh=(()=>{function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e})();function Mh(e){return function(t){return 0===e?_h():t.lift(new Sh(e))}}class Sh{constructor(e){if(this.total=e,this.total<0)throw new kh}call(e,t){return t.subscribe(new xh(e,this.total))}}class xh extends m{constructor(e,t){super(e),this.total=t,this.ring=new Array,this.count=0}_next(e){const t=this.ring,r=this.total,n=this.count++;t.length0){const r=this.count>=this.total?this.total:this.count,n=this.ring;for(let i=0;it.lift(new Dh(e))}class Dh{constructor(e){this.errorFactory=e}call(e,t){return t.subscribe(new Lh(e,this.errorFactory))}}class Lh extends m{constructor(e,t){super(e),this.errorFactory=t,this.hasValue=!1}_next(e){this.hasValue=!0,this.destination.next(e)}_complete(){if(this.hasValue)return this.destination.complete();{let t;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)}}}function Ah(){return new mh}function Eh(e=null){return t=>t.lift(new Th(e))}class Th{constructor(e){this.defaultValue=e}call(e,t){return t.subscribe(new Ph(e,this.defaultValue))}}class Ph extends m{constructor(e,t){super(e),this.defaultValue=t,this.isEmpty=!0}_next(e){this.isEmpty=!1,this.destination.next(e)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function Yh(e,t){return"function"==typeof t?r=>r.pipe(Yh((r,n)=>I(e(r,n)).pipe(C((e,i)=>t(r,e,n,i))))):t=>t.lift(new Rh(e))}class Rh{constructor(e){this.project=e}call(e,t){return t.subscribe(new Oh(e,this.project))}}class Oh extends F{constructor(e,t){super(e),this.project=t,this.index=0}_next(e){let t;const r=this.index++;try{t=this.project(e,r)}catch(n){return void this.destination.error(n)}this._innerSub(t)}_innerSub(e){const t=this.innerSubscription;t&&t.unsubscribe();const r=new j(this),n=this.destination;n.add(r),this.innerSubscription=H(e,r),this.innerSubscription!==r&&n.add(this.innerSubscription)}_complete(){const{innerSubscription:e}=this;e&&!e.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(e){this.destination.next(e)}}function Ih(e){return t=>0===e?_h():t.lift(new jh(e))}class jh{constructor(e){if(this.total=e,this.total<0)throw new kh}call(e,t){return t.subscribe(new Fh(e,this.total))}}class Fh extends m{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){const t=this.total,r=++this.count;r<=t&&(this.destination.next(e),r===t&&(this.destination.complete(),this.unsubscribe()))}}function Hh(...e){return yh()(sh(...e))}function Nh(...e){const t=e[e.length-1];return x(t)?(e.pop(),r=>Hh(e,r,t)):t=>Hh(e,t)}class Bh{constructor(e,t,r=!1){this.accumulator=e,this.seed=t,this.hasSeed=r}call(e,t){return t.subscribe(new zh(e,this.accumulator,this.seed,this.hasSeed))}}class zh extends m{constructor(e,t,r,n){super(e),this.accumulator=t,this._seed=r,this.hasSeed=n,this.index=0}get seed(){return this._seed}set seed(e){this.hasSeed=!0,this._seed=e}_next(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}_tryNext(e){const t=this.index++;let r;try{r=this.accumulator(this.seed,e,t)}catch(n){this.destination.error(n)}this.seed=r,this.destination.next(r)}}function Uh(e){return function(t){const r=new Vh(e),n=t.lift(r);return r.caught=n}}class Vh{constructor(e){this.selector=e}call(e,t){return t.subscribe(new Kh(e,this.selector,this.caught))}}class Kh extends F{constructor(e,t,r){super(e),this.selector=t,this.caught=r}error(e){if(!this.isStopped){let r;try{r=this.selector(e,this.caught)}catch(t){return void super.error(t)}this._unsubscribeAndRecycle();const n=new j(this);this.add(n);const i=H(r,n);i!==n&&this.add(i)}}}function Wh(e,t){return N(e,t,1)}function qh(e,t){const r=arguments.length>=2;return n=>n.pipe(e?bh((t,r)=>e(t,r,n)):g,Ih(1),r?Eh(t):Ch(()=>new mh))}function Gh(){}function $h(e,t,r){return function(n){return n.lift(new Zh(e,t,r))}}class Zh{constructor(e,t,r){this.nextOrObserver=e,this.error=t,this.complete=r}call(e,t){return t.subscribe(new Jh(e,this.nextOrObserver,this.error,this.complete))}}class Jh extends m{constructor(e,t,r,i){super(e),this._tapNext=Gh,this._tapError=Gh,this._tapComplete=Gh,this._tapError=r||Gh,this._tapComplete=i||Gh,n(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||Gh,this._tapError=t.error||Gh,this._tapComplete=t.complete||Gh)}_next(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}_error(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}_complete(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}function Qh(e){return t=>t.lift(new Xh(e))}class Xh{constructor(e){this.callback=e}call(e,t){return t.subscribe(new ef(e,this.callback))}}class ef extends m{constructor(e,t){super(e),this.add(new u(t))}}class tf{constructor(e,t){this.id=e,this.url=t}}class rf extends tf{constructor(e,t,r="imperative",n=null){super(e,t),this.navigationTrigger=r,this.restoredState=n}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class nf extends tf{constructor(e,t,r){super(e,t),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class sf extends tf{constructor(e,t,r){super(e,t),this.reason=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class af extends tf{constructor(e,t,r){super(e,t),this.error=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class of extends tf{constructor(e,t,r,n){super(e,t),this.urlAfterRedirects=r,this.state=n}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class lf extends tf{constructor(e,t,r,n){super(e,t),this.urlAfterRedirects=r,this.state=n}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class cf extends tf{constructor(e,t,r,n,i){super(e,t),this.urlAfterRedirects=r,this.state=n,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class df extends tf{constructor(e,t,r,n){super(e,t),this.urlAfterRedirects=r,this.state=n}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class uf extends tf{constructor(e,t,r,n){super(e,t),this.urlAfterRedirects=r,this.state=n}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class hf{constructor(e){this.route=e}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class ff{constructor(e){this.route=e}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class mf{constructor(e){this.snapshot=e}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class pf{constructor(e){this.snapshot=e}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class _f{constructor(e){this.snapshot=e}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class gf{constructor(e){this.snapshot=e}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class yf{constructor(e,t,r){this.routerEvent=e,this.position=t,this.anchor=r}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const bf="primary";class vf{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t[0]:t}return null}getAll(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function wf(e){return new vf(e)}function kf(e){const t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function Mf(e,t,r){const n=r.path.split("/");if(n.length>e.length)return null;if("full"===r.pathMatch&&(t.hasChildren()||n.lengthn[t]===e)}return e===t}function Cf(e){return Array.prototype.concat.apply([],e)}function Df(e){return e.length>0?e[e.length-1]:null}function Lf(e,t){for(const r in e)e.hasOwnProperty(r)&&t(e[r],r)}function Af(e){return Wa(e)?e:Ka(e)?I(Promise.resolve(e)):sh(e)}function Ef(e,t,r){return r?function(e,t){return Sf(e,t)}(e.queryParams,t.queryParams)&&function e(t,r){if(!Rf(t.segments,r.segments))return!1;if(t.numberOfChildren!==r.numberOfChildren)return!1;for(const n in r.children){if(!t.children[n])return!1;if(!e(t.children[n],r.children[n]))return!1}return!0}(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(r=>xf(e[r],t[r]))}(e.queryParams,t.queryParams)&&function e(t,r){return function t(r,n,i){if(r.segments.length>i.length)return!!Rf(r.segments.slice(0,i.length),i)&&!n.hasChildren();if(r.segments.length===i.length){if(!Rf(r.segments,i))return!1;for(const t in n.children){if(!r.children[t])return!1;if(!e(r.children[t],n.children[t]))return!1}return!0}{const e=i.slice(0,r.segments.length),s=i.slice(r.segments.length);return!!Rf(r.segments,e)&&!!r.children.primary&&t(r.children.primary,n,s)}}(t,r,r.segments)}(e.root,t.root)}class Tf{constructor(e,t,r){this.root=e,this.queryParams=t,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=wf(this.queryParams)),this._queryParamMap}toString(){return Ff.serialize(this)}}class Pf{constructor(e,t){this.segments=e,this.children=t,this.parent=null,Lf(t,(e,t)=>e.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Hf(this)}}class Yf{constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=wf(this.parameters)),this._parameterMap}toString(){return Kf(this)}}function Rf(e,t){return e.length===t.length&&e.every((e,r)=>e.path===t[r].path)}function Of(e,t){let r=[];return Lf(e.children,(e,n)=>{n===bf&&(r=r.concat(t(e,n)))}),Lf(e.children,(e,n)=>{n!==bf&&(r=r.concat(t(e,n)))}),r}class If{}class jf{parse(e){const t=new Zf(e);return new Tf(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){return`${"/"+function e(t,r){if(!t.hasChildren())return Hf(t);if(r){const r=t.children.primary?e(t.children.primary,!1):"",n=[];return Lf(t.children,(t,r)=>{r!==bf&&n.push(`${r}:${e(t,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}{const r=Of(t,(r,n)=>n===bf?[e(t.children.primary,!1)]:[`${n}:${e(r,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children.primary?`${Hf(t)}/${r[0]}`:`${Hf(t)}/(${r.join("//")})`}}(e.root,!0)}${function(e){const t=Object.keys(e).map(t=>{const r=e[t];return Array.isArray(r)?r.map(e=>`${Bf(t)}=${Bf(e)}`).join("&"):`${Bf(t)}=${Bf(r)}`});return t.length?"?"+t.join("&"):""}(e.queryParams)}${"string"==typeof e.fragment?"#"+(t=e.fragment,encodeURI(t)):""}`;var t}}const Ff=new jf;function Hf(e){return e.segments.map(e=>Kf(e)).join("/")}function Nf(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Bf(e){return Nf(e).replace(/%3B/gi,";")}function zf(e){return Nf(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Uf(e){return decodeURIComponent(e)}function Vf(e){return Uf(e.replace(/\+/g,"%20"))}function Kf(e){return`${zf(e.path)}${t=e.parameters,Object.keys(t).map(e=>`;${zf(e)}=${zf(t[e])}`).join("")}`;var t}const Wf=/^[^\/()?;=#]+/;function qf(e){const t=e.match(Wf);return t?t[0]:""}const Gf=/^[^=?&#]+/,$f=/^[^?&#]+/;class Zf{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Pf([],{}):new Pf([],this.parseChildren())}parseQueryParams(){const e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(r.primary=new Pf(e,t)),r}parseSegment(){const e=qf(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(e),new Yf(Uf(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const t=qf(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){const e=qf(this.remaining);e&&(r=e,this.capture(r))}e[Uf(t)]=Uf(r)}parseQueryParam(e){const t=function(e){const t=e.match(Gf);return t?t[0]:""}(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){const e=function(e){const t=e.match($f);return t?t[0]:""}(this.remaining);e&&(r=e,this.capture(r))}const n=Vf(t),i=Vf(r);if(e.hasOwnProperty(n)){let t=e[n];Array.isArray(t)||(t=[t],e[n]=t),t.push(i)}else e[n]=i}parseParens(e){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=qf(this.remaining),n=this.remaining[r.length];if("/"!==n&&")"!==n&&";"!==n)throw new Error(`Cannot parse url '${this.url}'`);let i=void 0;r.indexOf(":")>-1?(i=r.substr(0,r.indexOf(":")),this.capture(i),this.capture(":")):e&&(i=bf);const s=this.parseChildren();t[i]=1===Object.keys(s).length?s.primary:new Pf([],s),this.consumeOptional("//")}return t}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}capture(e){if(!this.consumeOptional(e))throw new Error(`Expected "${e}".`)}}class Jf{constructor(e){this._root=e}get root(){return this._root.value}parent(e){const t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}children(e){const t=Qf(e,this._root);return t?t.children.map(e=>e.value):[]}firstChild(e){const t=Qf(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){const t=Xf(e,this._root);return t.length<2?[]:t[t.length-2].children.map(e=>e.value).filter(t=>t!==e)}pathFromRoot(e){return Xf(e,this._root).map(e=>e.value)}}function Qf(e,t){if(e===t.value)return t;for(const r of t.children){const t=Qf(e,r);if(t)return t}return null}function Xf(e,t){if(e===t.value)return[t];for(const r of t.children){const n=Xf(e,r);if(n.length)return n.unshift(t),n}return[]}class em{constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}}function tm(e){const t={};return e&&e.children.forEach(e=>t[e.value.outlet]=e),t}class rm extends Jf{constructor(e,t){super(e),this.snapshot=t,lm(this,e)}toString(){return this.snapshot.toString()}}function nm(e,t){const r=function(e,t){const r=new am([],{},{},"",{},bf,t,null,e.root,-1,{});return new om("",new em(r,[]))}(e,t),n=new ah([new Yf("",{})]),i=new ah({}),s=new ah({}),a=new ah({}),o=new ah(""),l=new im(n,i,a,o,s,bf,t,r.root);return l.snapshot=r.root,new rm(new em(l,[]),r)}class im{constructor(e,t,r,n,i,s,a,o){this.url=e,this.params=t,this.queryParams=r,this.fragment=n,this.data=i,this.outlet=s,this.component=a,this._futureSnapshot=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(C(e=>wf(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(C(e=>wf(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function sm(e,t="emptyOnly"){const r=e.pathFromRoot;let n=0;if("always"!==t)for(n=r.length-1;n>=1;){const e=r[n],t=r[n-1];if(e.routeConfig&&""===e.routeConfig.path)n--;else{if(t.component)break;n--}}return function(e){return e.reduce((e,t)=>({params:Object.assign(Object.assign({},e.params),t.params),data:Object.assign(Object.assign({},e.data),t.data),resolve:Object.assign(Object.assign({},e.resolve),t._resolvedData)}),{params:{},data:{},resolve:{}})}(r.slice(n))}class am{constructor(e,t,r,n,i,s,a,o,l,c,d){this.url=e,this.params=t,this.queryParams=r,this.fragment=n,this.data=i,this.outlet=s,this.component=a,this.routeConfig=o,this._urlSegment=l,this._lastPathIndex=c,this._resolve=d}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=wf(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=wf(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(e=>e.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class om extends Jf{constructor(e,t){super(t),this.url=e,lm(this,t)}toString(){return cm(this._root)}}function lm(e,t){t.value._routerState=e,t.children.forEach(t=>lm(e,t))}function cm(e){const t=e.children.length>0?` { ${e.children.map(cm).join(", ")} } `:"";return`${e.value}${t}`}function dm(e){if(e.snapshot){const t=e.snapshot,r=e._futureSnapshot;e.snapshot=r,Sf(t.queryParams,r.queryParams)||e.queryParams.next(r.queryParams),t.fragment!==r.fragment&&e.fragment.next(r.fragment),Sf(t.params,r.params)||e.params.next(r.params),function(e,t){if(e.length!==t.length)return!1;for(let r=0;rSf(e.parameters,n[t].parameters))&&!(!e.parent!=!t.parent)&&(!e.parent||um(e.parent,t.parent))}function hm(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function fm(e,t,r,n,i){let s={};return n&&Lf(n,(e,t)=>{s[t]=Array.isArray(e)?e.map(e=>""+e):""+e}),new Tf(r.root===e?t:function e(t,r,n){const i={};return Lf(t.children,(t,s)=>{i[s]=t===r?n:e(t,r,n)}),new Pf(t.segments,i)}(r.root,e,t),s,i)}class mm{constructor(e,t,r){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=r,e&&r.length>0&&hm(r[0]))throw new Error("Root segment cannot have matrix parameters");const n=r.find(e=>"object"==typeof e&&null!=e&&e.outlets);if(n&&n!==Df(r))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class pm{constructor(e,t,r){this.segmentGroup=e,this.processChildren=t,this.index=r}}function _m(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets.primary:""+e}function gm(e,t,r){if(e||(e=new Pf([],{})),0===e.segments.length&&e.hasChildren())return ym(e,t,r);const n=function(e,t,r){let n=0,i=t;const s={match:!1,pathIndex:0,commandIndex:0};for(;i=r.length)return s;const t=e.segments[i],a=_m(r[n]),o=n0&&void 0===a)break;if(a&&o&&"object"==typeof o&&void 0===o.outlets){if(!km(a,o,t))return s;n+=2}else{if(!km(a,{},t))return s;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}(e,t,r),i=r.slice(n.commandIndex);if(n.match&&n.pathIndex{null!==r&&(i[n]=gm(e.children[n],t,r))}),Lf(e.children,(e,t)=>{void 0===n[t]&&(i[t]=e)}),new Pf(e.segments,i)}}function bm(e,t,r){const n=e.segments.slice(0,t);let i=0;for(;i{null!==e&&(t[r]=bm(new Pf([],{}),0,e))}),t}function wm(e){const t={};return Lf(e,(e,r)=>t[r]=""+e),t}function km(e,t,r){return e==r.path&&Sf(t,r.parameters)}class Mm{constructor(e,t,r,n){this.routeReuseStrategy=e,this.futureState=t,this.currState=r,this.forwardEvent=n}activate(e){const t=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,r,e),dm(this.futureState.root),this.activateChildRoutes(t,r,e)}deactivateChildRoutes(e,t,r){const n=tm(t);e.children.forEach(e=>{const t=e.value.outlet;this.deactivateRoutes(e,n[t],r),delete n[t]}),Lf(n,(e,t)=>{this.deactivateRouteAndItsChildren(e,r)})}deactivateRoutes(e,t,r){const n=e.value,i=t?t.value:null;if(n===i)if(n.component){const i=r.getContext(n.outlet);i&&this.deactivateChildRoutes(e,t,i.children)}else this.deactivateChildRoutes(e,t,r);else i&&this.deactivateRouteAndItsChildren(t,r)}deactivateRouteAndItsChildren(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}detachAndStoreRouteSubtree(e,t){const r=t.getContext(e.value.outlet);if(r&&r.outlet){const t=r.outlet.detach(),n=r.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:t,route:e,contexts:n})}}deactivateRouteAndOutlet(e,t){const r=t.getContext(e.value.outlet);if(r){const n=tm(e),i=e.value.component?r.children:t;Lf(n,(e,t)=>this.deactivateRouteAndItsChildren(e,i)),r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated())}}activateChildRoutes(e,t,r){const n=tm(t);e.children.forEach(e=>{this.activateRoutes(e,n[e.value.outlet],r),this.forwardEvent(new gf(e.value.snapshot))}),e.children.length&&this.forwardEvent(new pf(e.value.snapshot))}activateRoutes(e,t,r){const n=e.value,i=t?t.value:null;if(dm(n),n===i)if(n.component){const i=r.getOrCreateContext(n.outlet);this.activateChildRoutes(e,t,i.children)}else this.activateChildRoutes(e,t,r);else if(n.component){const t=r.getOrCreateContext(n.outlet);if(this.routeReuseStrategy.shouldAttach(n.snapshot)){const e=this.routeReuseStrategy.retrieve(n.snapshot);this.routeReuseStrategy.store(n.snapshot,null),t.children.onOutletReAttached(e.contexts),t.attachRef=e.componentRef,t.route=e.route.value,t.outlet&&t.outlet.attach(e.componentRef,e.route.value),Sm(e.route)}else{const r=function(e){for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(n.snapshot),i=r?r.module.componentFactoryResolver:null;t.attachRef=null,t.route=n,t.resolver=i,t.outlet&&t.outlet.activateWith(n,i),this.activateChildRoutes(e,null,t.children)}}else this.activateChildRoutes(e,null,r)}}function Sm(e){dm(e.value),e.children.forEach(Sm)}class xm{constructor(e,t){this.routes=e,this.module=t}}function Cm(e){return"function"==typeof e}function Dm(e){return e instanceof Tf}const Lm=Symbol("INITIAL_VALUE");function Am(){return Yh(e=>uh(...e.map(e=>e.pipe(Ih(1),Nh(Lm)))).pipe(function(e,t){let r=!1;return arguments.length>=2&&(r=!0),function(n){return n.lift(new Bh(e,t,r))}}((e,t)=>{let r=!1;return t.reduce((e,n,i)=>{if(e!==Lm)return e;if(n===Lm&&(r=!0),!r){if(!1===n)return n;if(i===t.length-1||Dm(n))return n}return e},e)},Lm),bh(e=>e!==Lm),C(e=>Dm(e)?e:!0===e),Ih(1)))}class Em{constructor(e){this.segmentGroup=e||null}}class Tm{constructor(e){this.urlTree=e}}function Pm(e){return new y(t=>t.error(new Em(e)))}function Ym(e){return new y(t=>t.error(new Tm(e)))}function Rm(e){return new y(t=>t.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${e}'`)))}class Om{constructor(e,t,r,n,i){this.configLoader=t,this.urlSerializer=r,this.urlTree=n,this.config=i,this.allowRedirects=!0,this.ngModule=e.get(et)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,bf).pipe(C(e=>this.createUrlTree(e,this.urlTree.queryParams,this.urlTree.fragment))).pipe(Uh(e=>{if(e instanceof Tm)return this.allowRedirects=!1,this.match(e.urlTree);if(e instanceof Em)throw this.noMatchError(e);throw e}))}match(e){return this.expandSegmentGroup(this.ngModule,this.config,e.root,bf).pipe(C(t=>this.createUrlTree(t,e.queryParams,e.fragment))).pipe(Uh(e=>{if(e instanceof Em)throw this.noMatchError(e);throw e}))}noMatchError(e){return new Error(`Cannot match any routes. URL Segment: '${e.segmentGroup}'`)}createUrlTree(e,t,r){const n=e.segments.length>0?new Pf([],{[bf]:e}):e;return new Tf(n,t,r)}expandSegmentGroup(e,t,r,n){return 0===r.segments.length&&r.hasChildren()?this.expandChildren(e,t,r).pipe(C(e=>new Pf([],e))):this.expandSegment(e,r,t,r.segments,n,!0)}expandChildren(e,t,r){return function(e,t){if(0===Object.keys(e).length)return sh({});const r=[],n=[],i={};return Lf(e,(e,s)=>{const a=t(s,e).pipe(C(e=>i[s]=e));s===bf?r.push(a):n.push(a)}),sh.apply(null,r.concat(n)).pipe(yh(),function(e,t){const r=arguments.length>=2;return n=>n.pipe(e?bh((t,r)=>e(t,r,n)):g,Mh(1),r?Eh(t):Ch(()=>new mh))}(),C(()=>i))}(r.children,(r,n)=>this.expandSegmentGroup(e,t,n,r))}expandSegment(e,t,r,n,i,s){return sh(...r).pipe(Wh(a=>this.expandSegmentAgainstRoute(e,t,r,a,n,i,s).pipe(Uh(e=>{if(e instanceof Em)return sh(null);throw e}))),qh(e=>!!e),Uh((e,r)=>{if(e instanceof mh||"EmptyError"===e.name){if(this.noLeftoversInUrl(t,n,i))return sh(new Pf([],{}));throw new Em(t)}throw e}))}noLeftoversInUrl(e,t,r){return 0===t.length&&!e.children[r]}expandSegmentAgainstRoute(e,t,r,n,i,s,a){return Hm(n)!==s?Pm(t):void 0===n.redirectTo?this.matchSegmentAgainstRoute(e,t,n,i):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,r,n,i,s):Pm(t)}expandSegmentAgainstRouteUsingRedirect(e,t,r,n,i,s){return"**"===n.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,r,n,s):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,r,n,i,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,t,r,n){const i=this.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith("/")?Ym(i):this.lineralizeSegments(r,i).pipe(N(r=>{const i=new Pf(r,{});return this.expandSegment(e,i,t,r,n,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,t,r,n,i,s){const{matched:a,consumedSegments:o,lastChild:l,positionalParamSegments:c}=Im(t,n,i);if(!a)return Pm(t);const d=this.applyRedirectCommands(o,n.redirectTo,c);return n.redirectTo.startsWith("/")?Ym(d):this.lineralizeSegments(n,d).pipe(N(n=>this.expandSegment(e,t,r,n.concat(i.slice(l)),s,!1)))}matchSegmentAgainstRoute(e,t,r,n){if("**"===r.path)return r.loadChildren?this.configLoader.load(e.injector,r).pipe(C(e=>(r._loadedConfig=e,new Pf(n,{})))):sh(new Pf(n,{}));const{matched:i,consumedSegments:s,lastChild:a}=Im(t,r,n);if(!i)return Pm(t);const o=n.slice(a);return this.getChildConfig(e,r,n).pipe(N(e=>{const r=e.module,n=e.routes,{segmentGroup:i,slicedSegments:a}=function(e,t,r,n){return r.length>0&&function(e,t,r){return r.some(r=>Fm(e,t,r)&&Hm(r)!==bf)}(e,r,n)?{segmentGroup:jm(new Pf(t,function(e,t){const r={};r.primary=t;for(const n of e)""===n.path&&Hm(n)!==bf&&(r[Hm(n)]=new Pf([],{}));return r}(n,new Pf(r,e.children)))),slicedSegments:[]}:0===r.length&&function(e,t,r){return r.some(r=>Fm(e,t,r))}(e,r,n)?{segmentGroup:jm(new Pf(e.segments,function(e,t,r,n){const i={};for(const s of r)Fm(e,t,s)&&!n[Hm(s)]&&(i[Hm(s)]=new Pf([],{}));return Object.assign(Object.assign({},n),i)}(e,r,n,e.children))),slicedSegments:r}:{segmentGroup:e,slicedSegments:r}}(t,s,o,n);return 0===a.length&&i.hasChildren()?this.expandChildren(r,n,i).pipe(C(e=>new Pf(s,e))):0===n.length&&0===a.length?sh(new Pf(s,{})):this.expandSegment(r,i,n,a,bf,!0).pipe(C(e=>new Pf(s.concat(e.segments),e.children)))}))}getChildConfig(e,t,r){return t.children?sh(new xm(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?sh(t._loadedConfig):this.runCanLoadGuards(e.injector,t,r).pipe(N(r=>r?this.configLoader.load(e.injector,t).pipe(C(e=>(t._loadedConfig=e,e))):function(e){return new y(t=>t.error(kf(`Cannot load children because the guard of the route "path: '${e.path}'" returned false`)))}(t))):sh(new xm([],e))}runCanLoadGuards(e,t,r){const n=t.canLoad;return n&&0!==n.length?sh(n.map(n=>{const i=e.get(n);let s;if(function(e){return e&&Cm(e.canLoad)}(i))s=i.canLoad(t,r);else{if(!Cm(i))throw new Error("Invalid CanLoad guard");s=i(t,r)}return Af(s)})).pipe(Am(),$h(e=>{if(!Dm(e))return;const t=kf(`Redirecting to "${this.urlSerializer.serialize(e)}"`);throw t.url=e,t}),C(e=>!0===e)):sh(!0)}lineralizeSegments(e,t){let r=[],n=t.root;for(;;){if(r=r.concat(n.segments),0===n.numberOfChildren)return sh(r);if(n.numberOfChildren>1||!n.children.primary)return Rm(e.redirectTo);n=n.children.primary}}applyRedirectCommands(e,t,r){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,r)}applyRedirectCreatreUrlTree(e,t,r,n){const i=this.createSegmentGroup(e,t.root,r,n);return new Tf(i,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(e,t){const r={};return Lf(e,(e,n)=>{if("string"==typeof e&&e.startsWith(":")){const i=e.substring(1);r[n]=t[i]}else r[n]=e}),r}createSegmentGroup(e,t,r,n){const i=this.createSegments(e,t.segments,r,n);let s={};return Lf(t.children,(t,i)=>{s[i]=this.createSegmentGroup(e,t,r,n)}),new Pf(i,s)}createSegments(e,t,r,n){return t.map(t=>t.path.startsWith(":")?this.findPosParam(e,t,n):this.findOrReturn(t,r))}findPosParam(e,t,r){const n=r[t.path.substring(1)];if(!n)throw new Error(`Cannot redirect to '${e}'. Cannot find '${t.path}'.`);return n}findOrReturn(e,t){let r=0;for(const n of t){if(n.path===e.path)return t.splice(r),n;r++}return e}}function Im(e,t,r){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||r.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};const n=(t.matcher||Mf)(r,e,t);return n?{matched:!0,consumedSegments:n.consumed,lastChild:n.consumed.length,positionalParamSegments:n.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function jm(e){if(1===e.numberOfChildren&&e.children.primary){const t=e.children.primary;return new Pf(e.segments.concat(t.segments),t.children)}return e}function Fm(e,t,r){return(!(e.hasChildren()||t.length>0)||"full"!==r.pathMatch)&&""===r.path&&void 0!==r.redirectTo}function Hm(e){return e.outlet||bf}class Nm{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class Bm{constructor(e,t){this.component=e,this.route=t}}function zm(e,t,r){const n=e._root;return function e(t,r,n,i,s={canDeactivateChecks:[],canActivateChecks:[]}){const a=tm(r);return t.children.forEach(t=>{!function(t,r,n,i,s={canDeactivateChecks:[],canActivateChecks:[]}){const a=t.value,o=r?r.value:null,l=n?n.getContext(t.value.outlet):null;if(o&&a.routeConfig===o.routeConfig){const c=function(e,t,r){if("function"==typeof r)return r(e,t);switch(r){case"pathParamsChange":return!Rf(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Rf(e.url,t.url)||!Sf(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!um(e,t)||!Sf(e.queryParams,t.queryParams);case"paramsChange":default:return!um(e,t)}}(o,a,a.routeConfig.runGuardsAndResolvers);c?s.canActivateChecks.push(new Nm(i)):(a.data=o.data,a._resolvedData=o._resolvedData),e(t,r,a.component?l?l.children:null:n,i,s),c&&l&&l.outlet&&l.outlet.isActivated&&s.canDeactivateChecks.push(new Bm(l.outlet.component,o))}else o&&Vm(r,l,s),s.canActivateChecks.push(new Nm(i)),e(t,null,a.component?l?l.children:null:n,i,s)}(t,a[t.value.outlet],n,i.concat([t.value]),s),delete a[t.value.outlet]}),Lf(a,(e,t)=>Vm(e,n.getContext(t),s)),s}(n,t?t._root:null,r,[n.value])}function Um(e,t,r){const n=function(e){if(!e)return null;for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(t);return(n?n.module.injector:r).get(e)}function Vm(e,t,r){const n=tm(e),i=e.value;Lf(n,(e,n)=>{Vm(e,i.component?t?t.children.getContext(n):null:t,r)}),r.canDeactivateChecks.push(new Bm(i.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,i))}function Km(e,t){return null!==e&&t&&t(new _f(e)),sh(!0)}function Wm(e,t){return null!==e&&t&&t(new mf(e)),sh(!0)}function qm(e,t,r){const n=t.routeConfig?t.routeConfig.canActivate:null;return n&&0!==n.length?sh(n.map(n=>gh(()=>{const i=Um(n,t,r);let s;if(function(e){return e&&Cm(e.canActivate)}(i))s=Af(i.canActivate(t,e));else{if(!Cm(i))throw new Error("Invalid CanActivate guard");s=Af(i(t,e))}return s.pipe(qh())}))).pipe(Am()):sh(!0)}function Gm(e,t,r){const n=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(e=>function(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)).filter(e=>null!==e).map(t=>gh(()=>sh(t.guards.map(i=>{const s=Um(i,t.node,r);let a;if(function(e){return e&&Cm(e.canActivateChild)}(s))a=Af(s.canActivateChild(n,e));else{if(!Cm(s))throw new Error("Invalid CanActivateChild guard");a=Af(s(n,e))}return a.pipe(qh())})).pipe(Am())));return sh(i).pipe(Am())}class $m{}class Zm{constructor(e,t,r,n,i,s){this.rootComponentType=e,this.config=t,this.urlTree=r,this.url=n,this.paramsInheritanceStrategy=i,this.relativeLinkResolution=s}recognize(){try{const e=Xm(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,bf),r=new am([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},bf,this.rootComponentType,null,this.urlTree.root,-1,{}),n=new em(r,t),i=new om(this.url,n);return this.inheritParamsAndData(i._root),sh(i)}catch(e){return new y(t=>t.error(e))}}inheritParamsAndData(e){const t=e.value,r=sm(t,this.paramsInheritanceStrategy);t.params=Object.freeze(r.params),t.data=Object.freeze(r.data),e.children.forEach(e=>this.inheritParamsAndData(e))}processSegmentGroup(e,t,r){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,r)}processChildren(e,t){const r=Of(t,(t,r)=>this.processSegmentGroup(e,t,r));return function(e){const t={};e.forEach(e=>{const r=t[e.value.outlet];if(r){const t=r.url.map(e=>e.toString()).join("/"),n=e.value.url.map(e=>e.toString()).join("/");throw new Error(`Two segments cannot have the same outlet name: '${t}' and '${n}'.`)}t[e.value.outlet]=e.value})}(r),r.sort((e,t)=>e.value.outlet===bf?-1:t.value.outlet===bf?1:e.value.outlet.localeCompare(t.value.outlet)),r}processSegment(e,t,r,n){for(const s of e)try{return this.processSegmentAgainstRoute(s,t,r,n)}catch(i){if(!(i instanceof $m))throw i}if(this.noLeftoversInUrl(t,r,n))return[];throw new $m}noLeftoversInUrl(e,t,r){return 0===t.length&&!e.children[r]}processSegmentAgainstRoute(e,t,r,n){if(e.redirectTo)throw new $m;if((e.outlet||bf)!==n)throw new $m;let i,s=[],a=[];if("**"===e.path){const s=r.length>0?Df(r).parameters:{};i=new am(r,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,rp(e),n,e.component,e,Jm(t),Qm(t)+r.length,np(e))}else{const o=function(e,t,r){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||r.length>0))throw new $m;return{consumedSegments:[],lastChild:0,parameters:{}}}const n=(t.matcher||Mf)(r,e,t);if(!n)throw new $m;const i={};Lf(n.posParams,(e,t)=>{i[t]=e.path});const s=n.consumed.length>0?Object.assign(Object.assign({},i),n.consumed[n.consumed.length-1].parameters):i;return{consumedSegments:n.consumed,lastChild:n.consumed.length,parameters:s}}(t,e,r);s=o.consumedSegments,a=r.slice(o.lastChild),i=new am(s,o.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,rp(e),n,e.component,e,Jm(t),Qm(t)+s.length,np(e))}const o=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),{segmentGroup:l,slicedSegments:c}=Xm(t,s,a,o,this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const e=this.processChildren(o,l);return[new em(i,e)]}if(0===o.length&&0===c.length)return[new em(i,[])];const d=this.processSegment(o,l,c,bf);return[new em(i,d)]}}function Jm(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function Qm(e){let t=e,r=t._segmentIndexShift?t._segmentIndexShift:0;for(;t._sourceSegment;)t=t._sourceSegment,r+=t._segmentIndexShift?t._segmentIndexShift:0;return r-1}function Xm(e,t,r,n,i){if(r.length>0&&function(e,t,r){return r.some(r=>ep(e,t,r)&&tp(r)!==bf)}(e,r,n)){const i=new Pf(t,function(e,t,r,n){const i={};i.primary=n,n._sourceSegment=e,n._segmentIndexShift=t.length;for(const s of r)if(""===s.path&&tp(s)!==bf){const r=new Pf([],{});r._sourceSegment=e,r._segmentIndexShift=t.length,i[tp(s)]=r}return i}(e,t,n,new Pf(r,e.children)));return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:[]}}if(0===r.length&&function(e,t,r){return r.some(r=>ep(e,t,r))}(e,r,n)){const s=new Pf(e.segments,function(e,t,r,n,i,s){const a={};for(const o of n)if(ep(e,r,o)&&!i[tp(o)]){const r=new Pf([],{});r._sourceSegment=e,r._segmentIndexShift="legacy"===s?e.segments.length:t.length,a[tp(o)]=r}return Object.assign(Object.assign({},i),a)}(e,t,r,n,e.children,i));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:r}}const s=new Pf(e.segments,e.children);return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:r}}function ep(e,t,r){return(!(e.hasChildren()||t.length>0)||"full"!==r.pathMatch)&&""===r.path&&void 0===r.redirectTo}function tp(e){return e.outlet||bf}function rp(e){return e.data||{}}function np(e){return e.resolve||{}}function ip(e){return function(t){return t.pipe(Yh(t=>{const r=e(t);return r?I(r).pipe(C(()=>t)):I([t])}))}}class sp extends class{shouldDetach(e){return!1}store(e,t){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,t){return e.routeConfig===t.routeConfig}}{}let ap=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=mt({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&Na(0,"router-outlet")},directives:function(){return[Sp]},encapsulation:2}),e})();function op(e,t=""){for(let r=0;r{this.onLoadEndListener&&this.onLoadEndListener(t);const n=r.create(e);return new xm(Cf(n.injector.get(up)).map(dp),n)}))}loadModuleFactory(e){return"string"==typeof e?I(this.loader.load(e)):Af(e()).pipe(N(e=>e instanceof tt?sh(e):I(this.compiler.compileModuleAsync(e))))}}class fp{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new mp,this.attachRef=null}}class mp{constructor(){this.contexts=new Map}onChildOutletCreated(e,t){const r=this.getOrCreateContext(e);r.outlet=t,this.contexts.set(e,r)}onChildOutletDestroyed(e){const t=this.getContext(e);t&&(t.outlet=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let t=this.getContext(e);return t||(t=new fp,this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}}class pp{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}}function _p(e){throw e}function gp(e,t,r){return t.parse("/")}function yp(e,t){return sh(null)}let bp=(()=>{class e{constructor(e,t,r,n,i,s,a,o){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=r,this.location=n,this.config=o,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.lastLocationChangeInfo=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new M,this.errorHandler=_p,this.malformedUriErrorHandler=gp,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:yp,afterPreactivation:yp},this.urlHandlingStrategy=new pp,this.routeReuseStrategy=new sp,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=i.get(et),this.console=i.get(gc);const l=i.get(Ec);this.isNgZoneEnabled=l instanceof Ec,this.resetConfig(o),this.currentUrlTree=new Tf(new Pf([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new hp(s,a,e=>this.triggerEvent(new hf(e)),e=>this.triggerEvent(new ff(e))),this.routerState=nm(this.currentUrlTree,this.rootComponentType),this.transitions=new ah({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}setupNavigations(e){const t=this.events;return e.pipe(bh(e=>0!==e.id),C(e=>Object.assign(Object.assign({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl)})),Yh(e=>{let r=!1,n=!1;return sh(e).pipe($h(e=>{this.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Yh(e=>{const r=!this.navigated||e.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||r)&&this.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return sh(e).pipe(Yh(e=>{const r=this.transitions.getValue();return t.next(new rf(e.id,this.serializeUrl(e.extractedUrl),e.source,e.restoredState)),r!==this.transitions.getValue()?ph:[e]}),Yh(e=>Promise.resolve(e)),(n=this.ngModule.injector,i=this.configLoader,s=this.urlSerializer,a=this.config,function(e){return e.pipe(Yh(e=>function(e,t,r,n,i){return new Om(e,t,r,n,i).apply()}(n,i,s,e.extractedUrl,a).pipe(C(t=>Object.assign(Object.assign({},e),{urlAfterRedirects:t})))))}),$h(e=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:e.urlAfterRedirects})}),function(e,t,r,n,i){return function(s){return s.pipe(N(s=>function(e,t,r,n,i="emptyOnly",s="legacy"){return new Zm(e,t,r,n,i,s).recognize()}(e,t,s.urlAfterRedirects,r(s.urlAfterRedirects),n,i).pipe(C(e=>Object.assign(Object.assign({},s),{targetSnapshot:e})))))}}(this.rootComponentType,this.config,e=>this.serializeUrl(e),this.paramsInheritanceStrategy,this.relativeLinkResolution),$h(e=>{"eager"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects)}),$h(e=>{const r=new of(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.next(r)}));var n,i,s,a;if(r&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:r,extractedUrl:n,source:i,restoredState:s,extras:a}=e,o=new rf(r,this.serializeUrl(n),i,s);t.next(o);const l=nm(n,this.rootComponentType).snapshot;return sh(Object.assign(Object.assign({},e),{targetSnapshot:l,urlAfterRedirects:n,extras:Object.assign(Object.assign({},a),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=e.rawUrl,this.browserUrlTree=e.urlAfterRedirects,e.resolve(null),ph}),ip(e=>{const{targetSnapshot:t,id:r,extractedUrl:n,rawUrl:i,extras:{skipLocationChange:s,replaceUrl:a}}=e;return this.hooks.beforePreactivation(t,{navigationId:r,appliedUrlTree:n,rawUrlTree:i,skipLocationChange:!!s,replaceUrl:!!a})}),$h(e=>{const t=new lf(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),C(e=>Object.assign(Object.assign({},e),{guards:zm(e.targetSnapshot,e.currentSnapshot,this.rootContexts)})),function(e,t){return function(r){return r.pipe(N(r=>{const{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:s,canDeactivateChecks:a}}=r;return 0===a.length&&0===s.length?sh(Object.assign(Object.assign({},r),{guardsResult:!0})):function(e,t,r,n){return I(e).pipe(N(e=>function(e,t,r,n,i){const s=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return s&&0!==s.length?sh(s.map(s=>{const a=Um(s,t,i);let o;if(function(e){return e&&Cm(e.canDeactivate)}(a))o=Af(a.canDeactivate(e,t,r,n));else{if(!Cm(a))throw new Error("Invalid CanDeactivate guard");o=Af(a(e,t,r,n))}return o.pipe(qh())})).pipe(Am()):sh(!0)}(e.component,e.route,r,t,n)),qh(e=>!0!==e,!0))}(a,n,i,e).pipe(N(r=>r&&"boolean"==typeof r?function(e,t,r,n){return I(t).pipe(Wh(t=>I([Wm(t.route.parent,n),Km(t.route,n),Gm(e,t.path,r),qm(e,t.route,r)]).pipe(yh(),qh(e=>!0!==e,!0))),qh(e=>!0!==e,!0))}(n,s,e,t):sh(r)),C(e=>Object.assign(Object.assign({},r),{guardsResult:e})))}))}}(this.ngModule.injector,e=>this.triggerEvent(e)),$h(e=>{if(Dm(e.guardsResult)){const t=kf(`Redirecting to "${this.serializeUrl(e.guardsResult)}"`);throw t.url=e.guardsResult,t}}),$h(e=>{const t=new cf(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);this.triggerEvent(t)}),bh(e=>{if(!e.guardsResult){this.resetUrlToCurrentUrlTree();const r=new sf(e.id,this.serializeUrl(e.extractedUrl),"");return t.next(r),e.resolve(!1),!1}return!0}),ip(e=>{if(e.guards.canActivateChecks.length)return sh(e).pipe($h(e=>{const t=new df(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),Yh(e=>{let r=!1;return sh(e).pipe((n=this.paramsInheritanceStrategy,i=this.ngModule.injector,function(e){return e.pipe(N(e=>{const{targetSnapshot:t,guards:{canActivateChecks:r}}=e;if(!r.length)return sh(e);let s=0;return I(r).pipe(Wh(e=>function(e,t,r,n){return function(e,t,r,n){const i=Object.keys(e);if(0===i.length)return sh({});const s={};return I(i).pipe(N(i=>function(e,t,r,n){const i=Um(e,t,n);return Af(i.resolve?i.resolve(t,r):i(t,r))}(e[i],t,r,n).pipe($h(e=>{s[i]=e}))),Mh(1),N(()=>Object.keys(s).length===i.length?sh(s):ph))}(e._resolve,e,t,n).pipe(C(t=>(e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),sm(e,r).resolve),null)))}(e.route,t,n,i)),$h(()=>s++),Mh(1),N(t=>s===r.length?sh(e):ph))}))}),$h({next:()=>r=!0,complete:()=>{if(!r){const r=new sf(e.id,this.serializeUrl(e.extractedUrl),"At least one route resolver didn't emit any value.");t.next(r),e.resolve(!1)}}}));var n,i}),$h(e=>{const t=new uf(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}))}),ip(e=>{const{targetSnapshot:t,id:r,extractedUrl:n,rawUrl:i,extras:{skipLocationChange:s,replaceUrl:a}}=e;return this.hooks.afterPreactivation(t,{navigationId:r,appliedUrlTree:n,rawUrlTree:i,skipLocationChange:!!s,replaceUrl:!!a})}),C(e=>{const t=function(e,t,r){const n=function e(t,r,n){if(n&&t.shouldReuseRoute(r.value,n.value.snapshot)){const i=n.value;i._futureSnapshot=r.value;const s=function(t,r,n){return r.children.map(r=>{for(const i of n.children)if(t.shouldReuseRoute(i.value.snapshot,r.value))return e(t,r,i);return e(t,r)})}(t,r,n);return new em(i,s)}{const n=t.retrieve(r.value);if(n){const e=n.route;return function e(t,r){if(t.value.routeConfig!==r.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==r.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");r.value._futureSnapshot=t.value;for(let n=0;ne(t,r));return new em(n,s)}}var i}(e,t._root,r?r._root:void 0);return new rm(n,t)}(this.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign(Object.assign({},e),{targetRouterState:t})}),$h(e=>{this.currentUrlTree=e.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl),this.routerState=e.targetRouterState,"deferred"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects)}),(i=this.rootContexts,s=this.routeReuseStrategy,a=e=>this.triggerEvent(e),C(e=>(new Mm(s,e.targetRouterState,e.currentRouterState,a).activate(i),e))),$h({next(){r=!0},complete(){r=!0}}),Qh(()=>{if(!r&&!n){this.resetUrlToCurrentUrlTree();const r=new sf(e.id,this.serializeUrl(e.extractedUrl),`Navigation ID ${e.id} is not equal to the current navigation id ${this.navigationId}`);t.next(r),e.resolve(!1)}this.currentNavigation=null}),Uh(r=>{if(n=!0,(i=r)&&i.ngNavigationCancelingError){const n=Dm(r.url);n||(this.navigated=!0,this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));const i=new sf(e.id,this.serializeUrl(e.extractedUrl),r.message);t.next(i),n?setTimeout(()=>{const t=this.urlHandlingStrategy.merge(r.url,this.rawUrlTree);return this.scheduleNavigation(t,"imperative",null,{skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:e.resolve,reject:e.reject,promise:e.promise})},0):e.resolve(!1)}else{this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);const n=new af(e.id,this.serializeUrl(e.extractedUrl),r);t.next(n);try{e.resolve(this.errorHandler(r))}catch(s){e.reject(s)}}var i;return ph}));var i,s,a}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}getTransition(){const e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}setTransition(e){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const t=this.extractLocationChangeInfoFromEvent(e);this.shouldScheduleNavigation(this.lastLocationChangeInfo,t)&&setTimeout(()=>{const{source:e,state:r,urlTree:n}=t,i={replaceUrl:!0};if(r){const e=Object.assign({},r);delete e.navigationId,0!==Object.keys(e).length&&(i.state=e)}this.scheduleNavigation(n,e,r,i)},0),this.lastLocationChangeInfo=t}))}extractLocationChangeInfoFromEvent(e){var t;return{source:"popstate"===e.type?"popstate":"hashchange",urlTree:this.parseUrl(e.url),state:(null===(t=e.state)||void 0===t?void 0:t.navigationId)?e.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(e,t){if(!e)return!0;const r=t.urlTree.toString()===e.urlTree.toString();return!(t.transitionId===e.transitionId&&r&&("hashchange"===t.source&&"popstate"===e.source||"popstate"===t.source&&"hashchange"===e.source))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){op(e),this.config=e.map(dp),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0)}createUrlTree(e,t={}){const{relativeTo:r,queryParams:n,fragment:i,preserveQueryParams:s,queryParamsHandling:a,preserveFragment:o}=t;In()&&s&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");const l=r||this.routerState.root,c=o?this.currentUrlTree.fragment:i;let d=null;if(a)switch(a){case"merge":d=Object.assign(Object.assign({},this.currentUrlTree.queryParams),n);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=n||null}else d=s?this.currentUrlTree.queryParams:n||null;return null!==d&&(d=this.removeEmptyProps(d)),function(e,t,r,n,i){if(0===r.length)return fm(t.root,t.root,t,n,i);const s=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new mm(!0,0,e);let t=0,r=!1;const n=e.reduce((e,n,i)=>{if("object"==typeof n&&null!=n){if(n.outlets){const t={};return Lf(n.outlets,(e,r)=>{t[r]="string"==typeof e?e.split("/"):e}),[...e,{outlets:t}]}if(n.segmentPath)return[...e,n.segmentPath]}return"string"!=typeof n?[...e,n]:0===i?(n.split("/").forEach((n,i)=>{0==i&&"."===n||(0==i&&""===n?r=!0:".."===n?t++:""!=n&&e.push(n))}),e):[...e,n]},[]);return new mm(r,t,n)}(r);if(s.toRoot())return fm(t.root,new Pf([],{}),t,n,i);const a=function(e,t,r){if(e.isAbsolute)return new pm(t.root,!0,0);if(-1===r.snapshot._lastPathIndex){const e=r.snapshot._urlSegment;return new pm(e,e===t.root,0)}const n=hm(e.commands[0])?0:1;return function(e,t,r){let n=e,i=t,s=r;for(;s>i;){if(s-=i,n=n.parent,!n)throw new Error("Invalid number of '../'");i=n.segments.length}return new pm(n,!1,i-s)}(r.snapshot._urlSegment,r.snapshot._lastPathIndex+n,e.numberOfDoubleDots)}(s,t,e),o=a.processChildren?ym(a.segmentGroup,a.index,s.commands):gm(a.segmentGroup,a.index,s.commands);return fm(a.segmentGroup,o,t,n,i)}(l,this.currentUrlTree,e,d,c)}navigateByUrl(e,t={skipLocationChange:!1}){In()&&this.isNgZoneEnabled&&!Ec.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");const r=Dm(e)?e:this.parseUrl(e),n=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(n,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function(e){for(let t=0;t{const n=e[r];return null!=n&&(t[r]=n),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.events.next(new nf(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,e.resolve(!0)},e=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(e,t,r,n,i){const s=this.getTransition(),a="imperative"!==t&&"imperative"===(null==s?void 0:s.source),o=(this.lastSuccessfulId===s.id||this.currentNavigation?s.rawUrl:s.urlAfterRedirects).toString()===e.toString();if(a&&o)return Promise.resolve(!0);let l,c,d;i?(l=i.resolve,c=i.reject,d=i.promise):d=new Promise((e,t)=>{l=e,c=t});const u=++this.navigationId;return this.setTransition({id:u,source:t,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:n,resolve:l,reject:c,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(e=>Promise.reject(e))}setBrowserUrl(e,t,r,n){const i=this.urlSerializer.serialize(e);n=n||{},this.location.isCurrentPathEqualTo(i)||t?this.location.replaceState(i,"",Object.assign(Object.assign({},n),{navigationId:r})):this.location.go(i,"",Object.assign(Object.assign({},n),{navigationId:r}))}resetStateAndUrl(e,t,r){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,r),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}return e.\u0275fac=function(t){return new(t||e)($e(Qs),$e(If),$e(mp),$e(Md),$e(fa),$e(Jc),$e(Dc),$e(void 0))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})(),vp=(()=>{class e{constructor(e,t,r,n,i){this.router=e,this.route=t,this.commands=[],this.onChanges=new M,null==r&&n.setAttribute(i.nativeElement,"tabindex","0")}ngOnChanges(e){this.onChanges.next(this)}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}set preserveQueryParams(e){In()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=e}onClick(){const e={skipLocationChange:kp(this.skipLocationChange),replaceUrl:kp(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,e),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:kp(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:kp(this.preserveFragment)})}}return e.\u0275fac=function(t){return new(t||e)(Ra(bp),Ra(im),Oa("tabindex"),Ra(Wo),Ra(zo))},e.\u0275dir=vt({type:e,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,t){1&e&&qa("click",(function(){return t.onClick()}))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[Ot]}),e})(),wp=(()=>{class e{constructor(e,t,r){this.router=e,this.route=t,this.locationStrategy=r,this.commands=[],this.onChanges=new M,this.subscription=e.events.subscribe(e=>{e instanceof nf&&this.updateTargetUrlAndHref()})}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}set preserveQueryParams(e){In()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=e}ngOnChanges(e){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,t,r,n,i){if(0!==e||t||r||n||i)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const s={skipLocationChange:kp(this.skipLocationChange),replaceUrl:kp(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,s),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:kp(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:kp(this.preserveFragment)})}}return e.\u0275fac=function(t){return new(t||e)(Ra(bp),Ra(im),Ra(yd))},e.\u0275dir=vt({type:e,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&qa("click",(function(e){return t.onClick(e.button,e.ctrlKey,e.shiftKey,e.altKey,e.metaKey)})),2&e&&(Ao("href",t.href,li),Ea("target",t.target))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[Ot]}),e})();function kp(e){return""===e||!!e}let Mp=(()=>{class e{constructor(e,t,r,n,i,s){this.router=e,this.element=t,this.renderer=r,this.cdr=n,this.link=i,this.linkWithHref=s,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.routerEventsSubscription=e.events.subscribe(e=>{e instanceof nf&&this.update()})}ngAfterContentInit(){I([this.links.changes,this.linksWithHrefs.changes,sh(null)]).pipe(U()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var e;null===(e=this.linkInputChangesSubscription)||void 0===e||e.unsubscribe();const t=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(e=>!!e).map(e=>e.onChanges);this.linkInputChangesSubscription=I(t).pipe(U()).subscribe(e=>{this.isActive!==this.isLinkActive(this.router)(e)&&this.update()})}set routerLinkActive(e){const t=Array.isArray(e)?e:e.split(" ");this.classes=t.filter(e=>!!e)}ngOnChanges(e){this.update()}ngOnDestroy(){var e;this.routerEventsSubscription.unsubscribe(),null===(e=this.linkInputChangesSubscription)||void 0===e||e.unsubscribe()}update(){this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then(()=>{const e=this.hasActiveLinks();this.isActive!==e&&(this.isActive=e,this.cdr.markForCheck(),this.classes.forEach(t=>{e?this.renderer.addClass(this.element.nativeElement,t):this.renderer.removeClass(this.element.nativeElement,t)}))})}isLinkActive(e){return t=>e.isActive(t.urlTree,this.routerLinkActiveOptions.exact)}hasActiveLinks(){const e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.linkWithHref&&e(this.linkWithHref)||this.links.some(e)||this.linksWithHrefs.some(e)}}return e.\u0275fac=function(t){return new(t||e)(Ra(bp),Ra(zo),Ra(Wo),Ra(Zs),Ra(vp,8),Ra(wp,8))},e.\u0275dir=vt({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(e,t,r){var n;1&e&&(rc(r,vp,!0),rc(r,wp,!0)),2&e&&(Ql(n=sc())&&(t.links=n),Ql(n=sc())&&(t.linksWithHrefs=n))},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},exportAs:["routerLinkActive"],features:[Ot]}),e})(),Sp=(()=>{class e{constructor(e,t,r,n,i){this.parentContexts=e,this.location=t,this.resolver=r,this.changeDetector=i,this.activated=null,this._activatedRoute=null,this.activateEvents=new Bl,this.deactivateEvents=new Bl,this.name=n||bf,e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;const r=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),n=this.parentContexts.getOrCreateContext(this.name).children,i=new xp(e,n,this.location.injector);this.activated=this.location.createComponent(r,this.location.length,i),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(t){return new(t||e)(Ra(mp),Ra(ml),Ra(Bo),Oa("name"),Ra(Zs))},e.\u0275dir=vt({type:e,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),e})();class xp{constructor(e,t,r){this.route=e,this.childContexts=t,this.parent=r}get(e,t){return e===im?this.route:e===mp?this.childContexts:this.parent.get(e,t)}}class Cp{}class Dp{preload(e,t){return sh(null)}}let Lp=(()=>{class e{constructor(e,t,r,n,i){this.router=e,this.injector=n,this.preloadingStrategy=i,this.loader=new hp(t,r,t=>e.triggerEvent(new hf(t)),t=>e.triggerEvent(new ff(t)))}setUpPreloading(){this.subscription=this.router.events.pipe(bh(e=>e instanceof nf),Wh(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(et);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,t){const r=[];for(const n of t)if(n.loadChildren&&!n.canLoad&&n._loadedConfig){const e=n._loadedConfig;r.push(this.processRoutes(e.module,e.routes))}else n.loadChildren&&!n.canLoad?r.push(this.preloadConfig(e,n)):n.children&&r.push(this.processRoutes(e,n.children));return I(r).pipe(U(),C(e=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>this.loader.load(e.injector,t).pipe(N(e=>(t._loadedConfig=e,this.processRoutes(e.module,e.routes)))))}}return e.\u0275fac=function(t){return new(t||e)($e(bp),$e(Jc),$e(Dc),$e(fa),$e(Cp))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})(),Ap=(()=>{class e{constructor(e,t,r={}){this.router=e,this.viewportScroller=t,this.options=r,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},r.scrollPositionRestoration=r.scrollPositionRestoration||"disabled",r.anchorScrolling=r.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof rf?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof nf&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof yf&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,t){this.router.triggerEvent(new yf(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)($e(bp),$e(Cu),$e(void 0))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();const Ep=new Fe("ROUTER_CONFIGURATION"),Tp=new Fe("ROUTER_FORROOT_GUARD"),Pp=[Md,{provide:If,useClass:jf},{provide:bp,useFactory:function(e,t,r,n,i,s,a,o={},l,c){const d=new bp(null,e,t,r,n,i,s,Cf(a));if(l&&(d.urlHandlingStrategy=l),c&&(d.routeReuseStrategy=c),o.errorHandler&&(d.errorHandler=o.errorHandler),o.malformedUriErrorHandler&&(d.malformedUriErrorHandler=o.malformedUriErrorHandler),o.enableTracing){const e=od();d.events.subscribe(t=>{e.logGroup("Router Event: "+t.constructor.name),e.log(t.toString()),e.log(t),e.logGroupEnd()})}return o.onSameUrlNavigation&&(d.onSameUrlNavigation=o.onSameUrlNavigation),o.paramsInheritanceStrategy&&(d.paramsInheritanceStrategy=o.paramsInheritanceStrategy),o.urlUpdateStrategy&&(d.urlUpdateStrategy=o.urlUpdateStrategy),o.relativeLinkResolution&&(d.relativeLinkResolution=o.relativeLinkResolution),d},deps:[If,mp,Md,fa,Jc,Dc,up,Ep,[class{},new ie],[class{},new ie]]},mp,{provide:im,useFactory:function(e){return e.routerState.root},deps:[bp]},{provide:Jc,useClass:ed},Lp,Dp,class{preload(e,t){return t().pipe(Uh(()=>sh(null)))}},{provide:Ep,useValue:{enableTracing:!1}}];function Yp(){return new Vc("Router",bp)}let Rp=(()=>{class e{constructor(e,t){}static forRoot(t,r){return{ngModule:e,providers:[Pp,Fp(t),{provide:Tp,useFactory:jp,deps:[[bp,new ie,new ae]]},{provide:Ep,useValue:r||{}},{provide:yd,useFactory:Ip,deps:[cd,[new ne(vd),new ie],Ep]},{provide:Ap,useFactory:Op,deps:[bp,Cu,Ep]},{provide:Cp,useExisting:r&&r.preloadingStrategy?r.preloadingStrategy:Dp},{provide:Vc,multi:!0,useFactory:Yp},[Hp,{provide:cc,multi:!0,useFactory:Np,deps:[Hp]},{provide:zp,useFactory:Bp,deps:[Hp]},{provide:_c,multi:!0,useExisting:zp}]]}}static forChild(t){return{ngModule:e,providers:[Fp(t)]}}}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)($e(Tp,8),$e(bp,8))}}),e})();function Op(e,t,r){return r.scrollOffset&&t.setOffset(r.scrollOffset),new Ap(e,t,r)}function Ip(e,t,r={}){return r.useHash?new kd(e,t):new wd(e,t)}function jp(e){if(e)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Fp(e){return[{provide:ma,multi:!0,useValue:e},{provide:up,multi:!0,useValue:e}]}let Hp=(()=>{class e{constructor(e){this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new M}appInitializer(){return this.injector.get(ud,Promise.resolve(null)).then(()=>{let e=null;const t=new Promise(t=>e=t),r=this.injector.get(bp),n=this.injector.get(Ep);if(this.isLegacyDisabled(n)||this.isLegacyEnabled(n))e(!0);else if("disabled"===n.initialNavigation)r.setUpLocationChangeListener(),e(!0);else{if("enabled"!==n.initialNavigation)throw new Error(`Invalid initialNavigation options: '${n.initialNavigation}'`);r.hooks.afterPreactivation=()=>this.initNavigation?sh(null):(this.initNavigation=!0,e(!0),this.resultOfPreactivationDone),r.initialNavigation()}return t})}bootstrapListener(e){const t=this.injector.get(Ep),r=this.injector.get(Lp),n=this.injector.get(Ap),i=this.injector.get(bp),s=this.injector.get($c);e===s.components[0]&&(this.isLegacyEnabled(t)?i.initialNavigation():this.isLegacyDisabled(t)&&i.setUpLocationChangeListener(),r.setUpPreloading(),n.init(),i.resetRootComponentType(s.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}isLegacyEnabled(e){return"legacy_enabled"===e.initialNavigation||!0===e.initialNavigation||void 0===e.initialNavigation}isLegacyDisabled(e){return"legacy_disabled"===e.initialNavigation||!1===e.initialNavigation}}return e.\u0275fac=function(t){return new(t||e)($e(fa))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();function Np(e){return e.appInitializer.bind(e)}function Bp(e){return e.bootstrapListener.bind(e)}const zp=new Fe("Router Initializer");class Up{}class Vp{}class Kp{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?()=>{this.headers=new Map,e.split("\n").forEach(e=>{const t=e.indexOf(":");if(t>0){const r=e.slice(0,t),n=r.toLowerCase(),i=e.slice(t+1).trim();this.maybeSetNormalizedName(r,n),this.headers.has(n)?this.headers.get(n).push(i):this.headers.set(n,[i])}})}:()=>{this.headers=new Map,Object.keys(e).forEach(t=>{let r=e[t];const n=t.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(this.headers.set(n,r),this.maybeSetNormalizedName(t,n))})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();const t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,t){return this.clone({name:e,value:t,op:"a"})}set(e,t){return this.clone({name:e,value:t,op:"s"})}delete(e,t){return this.clone({name:e,value:t,op:"d"})}maybeSetNormalizedName(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}init(){this.lazyInit&&(this.lazyInit instanceof Kp?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(t=>{this.headers.set(t,e.headers.get(t)),this.normalizedNames.set(t,e.normalizedNames.get(t))})}clone(e){const t=new Kp;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof Kp?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}applyUpdate(e){const t=e.name.toLowerCase();switch(e.op){case"a":case"s":let r=e.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(e.name,t);const n=("a"===e.op?this.headers.get(t):void 0)||[];n.push(...r),this.headers.set(t,n);break;case"d":const i=e.value;if(i){let e=this.headers.get(t);if(!e)return;e=e.filter(e=>-1===i.indexOf(e)),0===e.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,e)}else this.headers.delete(t),this.normalizedNames.delete(t)}}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>e(this.normalizedNames.get(t),this.headers.get(t)))}}class Wp{encodeKey(e){return qp(e)}encodeValue(e){return qp(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}function qp(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}class Gp{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new Wp,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(e,t){const r=new Map;return e.length>0&&e.split("&").forEach(e=>{const n=e.indexOf("="),[i,s]=-1==n?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,n)),t.decodeValue(e.slice(n+1))],a=r.get(i)||[];a.push(s),r.set(i,a)}),r}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(t=>{const r=e.fromObject[t];this.map.set(t,Array.isArray(r)?r:[r])})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();const t=this.map.get(e);return t?t[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,t){return this.clone({param:e,value:t,op:"a"})}set(e,t){return this.clone({param:e,value:t,op:"s"})}delete(e,t){return this.clone({param:e,value:t,op:"d"})}toString(){return this.init(),this.keys().map(e=>{const t=this.encoder.encodeKey(e);return this.map.get(e).map(e=>t+"="+this.encoder.encodeValue(e)).join("&")}).filter(e=>""!==e).join("&")}clone(e){const t=new Gp({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat([e]),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":const t=("a"===e.op?this.map.get(e.param):void 0)||[];t.push(e.value),this.map.set(e.param,t);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{let t=this.map.get(e.param)||[];const r=t.indexOf(e.value);-1!==r&&t.splice(r,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}}}),this.cloneFrom=this.updates=null)}}function $p(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function Zp(e){return"undefined"!=typeof Blob&&e instanceof Blob}function Jp(e){return"undefined"!=typeof FormData&&e instanceof FormData}class Qp{constructor(e,t,r,n){let i;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||n?(this.body=void 0!==r?r:null,i=n):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.params&&(this.params=i.params)),this.headers||(this.headers=new Kp),this.params){const e=this.params.toString();if(0===e.length)this.urlWithParams=t;else{const r=t.indexOf("?");this.urlWithParams=t+(-1===r?"?":rt.set(r,e.setHeaders[r]),o)),e.setParams&&(l=Object.keys(e.setParams).reduce((t,r)=>t.set(r,e.setParams[r]),l)),new Qp(t,r,i,{params:l,headers:o,reportProgress:a,responseType:n,withCredentials:s})}}var Xp=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}({});class e_{constructor(e,t=200,r="OK"){this.headers=e.headers||new Kp,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||r,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}class t_ extends e_{constructor(e={}){super(e),this.type=Xp.ResponseHeader}clone(e={}){return new t_({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class r_ extends e_{constructor(e={}){super(e),this.type=Xp.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new r_({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class n_ extends e_{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?"Http failure during parsing for "+(e.url||"(unknown url)"):`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}}function i_(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let s_=(()=>{class e{constructor(e){this.handler=e}request(e,t,r={}){let n;if(e instanceof Qp)n=e;else{let i=void 0;i=r.headers instanceof Kp?r.headers:new Kp(r.headers);let s=void 0;r.params&&(s=r.params instanceof Gp?r.params:new Gp({fromObject:r.params})),n=new Qp(e,t,void 0!==r.body?r.body:null,{headers:i,params:s,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials})}const i=sh(n).pipe(Wh(e=>this.handler.handle(e)));if(e instanceof Qp||"events"===r.observe)return i;const s=i.pipe(bh(e=>e instanceof r_));switch(r.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return s.pipe(C(e=>{if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return s.pipe(C(e=>{if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return s.pipe(C(e=>{if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));case"json":default:return s.pipe(C(e=>e.body))}case"response":return s;default:throw new Error(`Unreachable: unhandled observe type ${r.observe}}`)}}delete(e,t={}){return this.request("DELETE",e,t)}get(e,t={}){return this.request("GET",e,t)}head(e,t={}){return this.request("HEAD",e,t)}jsonp(e,t){return this.request("JSONP",e,{params:(new Gp).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,r={}){return this.request("PATCH",e,i_(r,t))}post(e,t,r={}){return this.request("POST",e,i_(r,t))}put(e,t,r={}){return this.request("PUT",e,i_(r,t))}}return e.\u0275fac=function(t){return new(t||e)($e(Up))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();class a_{constructor(e,t){this.next=e,this.interceptor=t}handle(e){return this.interceptor.intercept(e,this.next)}}const o_=new Fe("HTTP_INTERCEPTORS");let l_=(()=>{class e{intercept(e,t){return t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();const c_=/^\)\]\}',?\n/;class d_{}let u_=(()=>{class e{constructor(){}build(){return new XMLHttpRequest}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})(),h_=(()=>{class e{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new y(t=>{const r=this.xhrFactory.build();if(r.open(e.method,e.urlWithParams),e.withCredentials&&(r.withCredentials=!0),e.headers.forEach((e,t)=>r.setRequestHeader(e,t.join(","))),e.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const t=e.detectContentTypeHeader();null!==t&&r.setRequestHeader("Content-Type",t)}if(e.responseType){const t=e.responseType.toLowerCase();r.responseType="json"!==t?t:"text"}const n=e.serializeBody();let i=null;const s=()=>{if(null!==i)return i;const t=1223===r.status?204:r.status,n=r.statusText||"OK",s=new Kp(r.getAllResponseHeaders()),a=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(r)||e.url;return i=new t_({headers:s,status:t,statusText:n,url:a}),i},a=()=>{let{headers:n,status:i,statusText:a,url:o}=s(),l=null;204!==i&&(l=void 0===r.response?r.responseText:r.response),0===i&&(i=l?200:0);let c=i>=200&&i<300;if("json"===e.responseType&&"string"==typeof l){const e=l;l=l.replace(c_,"");try{l=""!==l?JSON.parse(l):null}catch(d){l=e,c&&(c=!1,l={error:d,text:l})}}c?(t.next(new r_({body:l,headers:n,status:i,statusText:a,url:o||void 0})),t.complete()):t.error(new n_({error:l,headers:n,status:i,statusText:a,url:o||void 0}))},o=e=>{const{url:n}=s(),i=new n_({error:e,status:r.status||0,statusText:r.statusText||"Unknown Error",url:n||void 0});t.error(i)};let l=!1;const c=n=>{l||(t.next(s()),l=!0);let i={type:Xp.DownloadProgress,loaded:n.loaded};n.lengthComputable&&(i.total=n.total),"text"===e.responseType&&r.responseText&&(i.partialText=r.responseText),t.next(i)},d=e=>{let r={type:Xp.UploadProgress,loaded:e.loaded};e.lengthComputable&&(r.total=e.total),t.next(r)};return r.addEventListener("load",a),r.addEventListener("error",o),e.reportProgress&&(r.addEventListener("progress",c),null!==n&&r.upload&&r.upload.addEventListener("progress",d)),r.send(n),t.next({type:Xp.Sent}),()=>{r.removeEventListener("error",o),r.removeEventListener("load",a),e.reportProgress&&(r.removeEventListener("progress",c),null!==n&&r.upload&&r.upload.removeEventListener("progress",d)),r.readyState!==r.DONE&&r.abort()}})}}return e.\u0275fac=function(t){return new(t||e)($e(d_))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();const f_=new Fe("XSRF_COOKIE_NAME"),m_=new Fe("XSRF_HEADER_NAME");class p_{}let __=(()=>{class e{constructor(e,t,r){this.doc=e,this.platform=t,this.cookieName=r,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=tu(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return e.\u0275fac=function(t){return new(t||e)($e(ld),$e(pc),$e(f_))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})(),g_=(()=>{class e{constructor(e,t){this.tokenService=e,this.headerName=t}intercept(e,t){const r=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||r.startsWith("http://")||r.startsWith("https://"))return t.handle(e);const n=this.tokenService.getToken();return null===n||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,n)})),t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)($e(p_),$e(m_))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})(),y_=(()=>{class e{constructor(e,t){this.backend=e,this.injector=t,this.chain=null}handle(e){if(null===this.chain){const e=this.injector.get(o_,[]);this.chain=e.reduceRight((e,t)=>new a_(e,t),this.backend)}return this.chain.handle(e)}}return e.\u0275fac=function(t){return new(t||e)($e(Vp),$e(fa))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})(),b_=(()=>{class e{static disable(){return{ngModule:e,providers:[{provide:g_,useClass:l_}]}}static withOptions(t={}){return{ngModule:e,providers:[t.cookieName?{provide:f_,useValue:t.cookieName}:[],t.headerName?{provide:m_,useValue:t.headerName}:[]]}}}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[g_,{provide:o_,useExisting:g_,multi:!0},{provide:p_,useClass:__},{provide:f_,useValue:"XSRF-TOKEN"},{provide:m_,useValue:"X-XSRF-TOKEN"}]}),e})(),v_=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[s_,{provide:Up,useClass:y_},h_,{provide:Vp,useExisting:h_},u_,{provide:d_,useExisting:u_}],imports:[[b_.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e})(),w_=(()=>{class e{constructor(e){this.http=e,this.auth=new ah(void 0)}getAuth(){return this.authMe().toPromise().then(e=>(this.auth.next(e),e),e=>{throw new Error(e)})}authMe(){return this.http.get(sd+"/auth/me")}login(e){return this.http.post(sd+"/auth/login",e)}logout(){return this.http.post(sd+"/auth/logout",{})}passwordRequest(e){const t=(new Kp).set("Content-Type","text/plain; charset=utf-8");return this.http.post(sd+"/auth/password/request",e,{headers:t,responseType:"text"})}passwordReset(e){return(new Kp).set("Content-Type","text/plain; charset=utf-8"),this.http.post(sd+"/auth/password/reset",e)}isTotpEnabled(){return this.http.get(sd+"/auth/totp")}createTotp(){return this.http.put(sd+"/auth/totp",{})}enableTotp(e){return this.http.patch(sd+"/auth/totp",e)}removeTotp(){return this.http.delete(sd+"/auth/totp")}loginTotp(e){return this.http.post(sd+"/auth/login/totp",e)}}return e.\u0275fac=function(t){return new(t||e)($e(s_))},e.\u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),k_=(()=>{class e{constructor(e){this.authService=e}canActivate(e,t){return this.authService.getAuth().catch((function(e){})),!0}}return e.\u0275fac=function(t){return new(t||e)($e(w_))},e.\u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),M_=(()=>{class e{constructor(e,t){this.authService=e,this.router=t}canActivate(e,t){const r=this;return this.authService.getAuth().then(e=>!0).catch((function(e){return r.router.navigateByUrl("/unavailable"),!1}))}}return e.\u0275fac=function(t){return new(t||e)($e(w_),$e(bp))},e.\u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),S_=(()=>{class e{constructor(e,t){this.authService=e,this.router=t}canActivate(e,t){const r=this;return this.authService.getAuth().then(e=>!!e.authenticated||(this.router.navigateByUrl("/login"),!1)).catch((function(e){return r.router.navigateByUrl("/unavailable"),!1}))}}return e.\u0275fac=function(t){return new(t||e)($e(w_),$e(bp))},e.\u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),x_=(()=>{class e{constructor(e,t){this.authService=e,this.router=t}canActivate(e,t){const r=this;return this.authService.getAuth().then(e=>!e.authenticated||(this.router.navigateByUrl("/account/info"),!1)).catch((function(e){return r.router.navigateByUrl("/unavailable"),!1}))}}return e.\u0275fac=function(t){return new(t||e)($e(w_),$e(bp))},e.\u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function C_(e,t,r,n){return new(r||(r=Promise))((function(i,s){function a(e){try{l(n.next(e))}catch(t){s(t)}}function o(e){try{l(n.throw(e))}catch(t){s(t)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,o)}l((n=n.apply(e,t||[])).next())}))}let D_=(()=>{class e{constructor(e){this.http=e,this.locales=["de-informal"];let t=navigator.language;-1!=t.indexOf("-")&&(t=t.split("-")[0]);let r=localStorage.getItem("bstly.locale")||t||this.locales[0];"de"==r&&(r="de-informal"),-1==this.locales.indexOf(r)&&(r=this.locales[0]),this.setLocale(r)}getLocales(){return this.locales}getLocale(){return this.locale}setLocale(e){this.locale=e}fetch(e){return C_(this,void 0,void 0,(function*(){this.i18n=yield this.http.get("./assets/i18n/"+e+".json").toPromise()}))}get(e,t){return this.getInternal(e,t,this.i18n)}getInternal(e,t,r){if(!r)return e;if(r[e])return this.insertArguments(r[e]["."]?r[e]["."]:r[e],t);{let n=e.split(".");if(r[n[0]])return e=n.slice(1,n.length).join("."),this.getInternal(e,t,r[n[0]])}return e}insertArguments(e,t){if(t)for(let r in t)e=e.replace(`{${r}}`,t[r]);return e}}return e.\u0275fac=function(t){return new(t||e)($e(s_))},e.\u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),L_=(()=>{class e{constructor(e,t){this.i18n=e,this.httpClient=t,this.locale=this.i18n.getLocale()}ngOnInit(){const e=(new Kp).set("content-type","text/html");this.httpClient.get("./assets/templates/"+(this.locale?this.locale+"/":"")+this.template+".html",{headers:e,responseType:"text"}).subscribe(e=>this.htmlTemplate=e)}}return e.\u0275fac=function(t){return new(t||e)(Ra(D_),Ra(s_))},e.\u0275cmp=mt({type:e,selectors:[["app-html"]],inputs:{template:"template"},decls:1,vars:1,consts:[[3,"innerHTML"]],template:function(e,t){1&e&&Na(0,"div",0),2&e&&Ia("innerHTML",t.htmlTemplate,oi)},styles:[""]}),e})(),A_=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=mt({type:e,selectors:[["app-imprint"]],decls:1,vars:1,consts:[[3,"template"]],template:function(e,t){1&e&&Na(0,"app-html",0),2&e&&Ia("template","imprint")},directives:[L_],encapsulation:2}),e})(),E_=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=mt({type:e,selectors:[["app-privacy-policy"]],decls:1,vars:1,consts:[[3,"template"]],template:function(e,t){1&e&&Na(0,"app-html",0),2&e&&Ia("template","privacy-policy")},directives:[L_],encapsulation:2}),e})(),T_=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=mt({type:e,selectors:[["app-terms-of-service"]],decls:1,vars:1,consts:[[3,"template"]],template:function(e,t){1&e&&Na(0,"app-html",0),2&e&&Ia("template","terms-of-service")},directives:[L_],encapsulation:2}),e})();function P_(...e){if(1===e.length){const t=e[0];if(l(t))return Y_(t,null);if(c(t)&&Object.getPrototypeOf(t)===Object.prototype){const e=Object.keys(t);return Y_(e.map(e=>t[e]),e)}}if("function"==typeof e[e.length-1]){const t=e.pop();return Y_(e=1===e.length&&l(e[0])?e[0]:e,null).pipe(C(e=>t(...e)))}return Y_(e,null)}function Y_(e,t){return new y(r=>{const n=e.length;if(0===n)return void r.complete();const i=new Array(n);let s=0,a=0;for(let o=0;o{c||(c=!0,a++),i[o]=e},error:e=>r.error(e),complete:()=>{s++,s!==n&&c||(a===n&&r.next(t?t.reduce((e,t,r)=>(e[t]=i[r],e),{}):i),r.complete())}}))}})}const R_=new Fe("NgValueAccessor"),O_={provide:R_,useExisting:Me(()=>I_),multi:!0};let I_=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"checked",e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(Ra(Wo),Ra(zo))},e.\u0275dir=vt({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(e,t){1&e&&qa("change",(function(e){return t.onChange(e.target.checked)}))("blur",(function(){return t.onTouched()}))},features:[Fo([O_])]}),e})();const j_={provide:R_,useExisting:Me(()=>H_),multi:!0},F_=new Fe("CompositionEventMode");let H_=(()=>{class e{constructor(e,t,r){this._renderer=e,this._elementRef=t,this._compositionMode=r,this.onChange=e=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const e=od()?od().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return e.\u0275fac=function(t){return new(t||e)(Ra(Wo),Ra(zo),Ra(F_,8))},e.\u0275dir=vt({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,t){1&e&&qa("input",(function(e){return t._handleInput(e.target.value)}))("blur",(function(){return t.onTouched()}))("compositionstart",(function(){return t._compositionStart()}))("compositionend",(function(e){return t._compositionEnd(e.target.value)}))},features:[Fo([j_])]}),e})(),N_=(()=>{class e{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}reset(e){this.control&&this.control.reset(e)}hasError(e,t){return!!this.control&&this.control.hasError(e,t)}getError(e,t){return this.control?this.control.getError(e,t):null}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=vt({type:e}),e})(),B_=(()=>{class e extends N_{get formDirective(){return null}get path(){return null}}return e.\u0275fac=function(t){return z_(t||e)},e.\u0275dir=vt({type:e,features:[ga]}),e})();const z_=vn(B_);class U_ extends N_{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null,this._rawValidators=[],this._rawAsyncValidators=[]}get validator(){}get asyncValidator(){}}class V_{constructor(e){this._cd=e}get ngClassUntouched(){return!!this._cd.control&&this._cd.control.untouched}get ngClassTouched(){return!!this._cd.control&&this._cd.control.touched}get ngClassPristine(){return!!this._cd.control&&this._cd.control.pristine}get ngClassDirty(){return!!this._cd.control&&this._cd.control.dirty}get ngClassValid(){return!!this._cd.control&&this._cd.control.valid}get ngClassInvalid(){return!!this._cd.control&&this._cd.control.invalid}get ngClassPending(){return!!this._cd.control&&this._cd.control.pending}}let K_=(()=>{class e extends V_{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(Ra(U_,2))},e.\u0275dir=vt({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&fo("ng-untouched",t.ngClassUntouched)("ng-touched",t.ngClassTouched)("ng-pristine",t.ngClassPristine)("ng-dirty",t.ngClassDirty)("ng-valid",t.ngClassValid)("ng-invalid",t.ngClassInvalid)("ng-pending",t.ngClassPending)},features:[ga]}),e})(),W_=(()=>{class e extends V_{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(Ra(B_,2))},e.\u0275dir=vt({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(e,t){2&e&&fo("ng-untouched",t.ngClassUntouched)("ng-touched",t.ngClassTouched)("ng-pristine",t.ngClassPristine)("ng-dirty",t.ngClassDirty)("ng-valid",t.ngClassValid)("ng-invalid",t.ngClassInvalid)("ng-pending",t.ngClassPending)},features:[ga]}),e})();function q_(e){return null==e||0===e.length}function G_(e){return null!=e&&"number"==typeof e.length}const $_=new Fe("NgValidators"),Z_=new Fe("NgAsyncValidators"),J_=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Q_{static min(e){return t=>{if(q_(t.value)||q_(e))return null;const r=parseFloat(t.value);return!isNaN(r)&&r{if(q_(t.value)||q_(e))return null;const r=parseFloat(t.value);return!isNaN(r)&&r>e?{max:{max:e,actual:t.value}}:null}}static required(e){return q_(e.value)?{required:!0}:null}static requiredTrue(e){return!0===e.value?null:{required:!0}}static email(e){return q_(e.value)||J_.test(e.value)?null:{email:!0}}static minLength(e){return t=>q_(t.value)||!G_(t.value)?null:t.value.lengthG_(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}static pattern(e){if(!e)return Q_.nullValidator;let t,r;return"string"==typeof e?(r="","^"!==e.charAt(0)&&(r+="^"),r+=e,"$"!==e.charAt(e.length-1)&&(r+="$"),t=new RegExp(r)):(r=e.toString(),t=e),e=>{if(q_(e.value))return null;const n=e.value;return t.test(n)?null:{pattern:{requiredPattern:r,actualValue:n}}}}static nullValidator(e){return null}static compose(e){if(!e)return null;const t=e.filter(X_);return 0==t.length?null:function(e){return tg(rg(e,t))}}static composeAsync(e){if(!e)return null;const t=e.filter(X_);return 0==t.length?null:function(e){return P_(rg(e,t).map(eg)).pipe(C(tg))}}}function X_(e){return null!=e}function eg(e){const t=Ka(e)?I(e):e;return Wa(t),t}function tg(e){let t={};return e.forEach(e=>{t=null!=e?Object.assign(Object.assign({},t),e):t}),0===Object.keys(t).length?null:t}function rg(e,t){return t.map(t=>t(e))}function ng(e){return e.map(e=>function(e){return!e.validate}(e)?e:t=>e.validate(t))}const ig={provide:R_,useExisting:Me(()=>sg),multi:!0};let sg=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(Ra(Wo),Ra(zo))},e.\u0275dir=vt({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,t){1&e&&qa("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[Fo([ig])]}),e})();const ag={provide:R_,useExisting:Me(()=>lg),multi:!0};let og=(()=>{class e{constructor(){this._accessors=[]}add(e,t){this._accessors.push([e,t])}remove(e){for(let t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)}select(e){this._accessors.forEach(t=>{this._isSameGroup(t,e)&&t[1]!==e&&t[1].fireUncheck(e.value)})}_isSameGroup(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})(),lg=(()=>{class e{constructor(e,t,r,n){this._renderer=e,this._elementRef=t,this._registry=r,this._injector=n,this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this._control=this._injector.get(U_),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(e){this._state=e===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}registerOnChange(e){this._fn=e,this.onChange=()=>{e(this.value),this._registry.select(this)}}fireUncheck(e){this.writeValue(e)}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return e.\u0275fac=function(t){return new(t||e)(Ra(Wo),Ra(zo),Ra(og),Ra(fa))},e.\u0275dir=vt({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(e,t){1&e&&qa("change",(function(){return t.onChange()}))("blur",(function(){return t.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[Fo([ag])]}),e})();const cg={provide:R_,useExisting:Me(()=>dg),multi:!0};let dg=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(e))}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(Ra(Wo),Ra(zo))},e.\u0275dir=vt({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(e,t){1&e&&qa("change",(function(e){return t.onChange(e.target.value)}))("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[Fo([cg])]}),e})();const ug={provide:R_,useExisting:Me(()=>hg),multi:!0};let hg=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){this.value=e;const t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);const r=function(e,t){return null==e?""+t:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",r)}registerOnChange(e){this.onChange=t=>{this.value=this._getOptionValue(t),e(this.value)}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(const t of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(t),e))return t;return null}_getOptionValue(e){const t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e}}return e.\u0275fac=function(t){return new(t||e)(Ra(Wo),Ra(zo))},e.\u0275dir=vt({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,t){1&e&&qa("change",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},inputs:{compareWith:"compareWith"},features:[Fo([ug])]}),e})();const fg={provide:R_,useExisting:Me(()=>mg),multi:!0};let mg=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){let t;if(this.value=e,Array.isArray(e)){const r=e.map(e=>this._getOptionId(e));t=(e,t)=>{e._setSelected(r.indexOf(t.toString())>-1)}}else t=(e,t)=>{e._setSelected(!1)};this._optionMap.forEach(t)}registerOnChange(e){this.onChange=t=>{const r=[];if(void 0!==t.selectedOptions){const e=t.selectedOptions;for(let t=0;t{e._pendingValue=r,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&gg(e,t)})}(e,t),function(e,t){e.registerOnChange((e,r)=>{t.valueAccessor.writeValue(e),r&&t.viewToModelUpdate(e)})}(e,t),function(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&gg(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),t.valueAccessor.setDisabledState&&e.registerOnDisabledChange(e=>{t.valueAccessor.setDisabledState(e)}),t._rawValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(()=>e.updateValueAndValidity())}),t._rawAsyncValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(()=>e.updateValueAndValidity())})}function gg(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function yg(e,t){e.validator=Q_.compose([e.validator,t.validator]),e.asyncValidator=Q_.composeAsync([e.asyncValidator,t.asyncValidator])}function bg(e){return null!=e?Q_.compose(ng(e)):null}function vg(e){return null!=e?Q_.composeAsync(ng(e)):null}function wg(e,t){if(!e.hasOwnProperty("model"))return!1;const r=e.model;return!!r.isFirstChange()||!Object.is(t,r.currentValue)}const kg=[I_,dg,sg,hg,mg,lg];function Mg(e,t){e._syncPendingControls(),t.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function Sg(e,t){if(!t)return null;Array.isArray(t);let r=void 0,n=void 0,i=void 0;return t.forEach(e=>{var t;e.constructor===H_?r=e:(t=e,kg.some(e=>t.constructor===e)?n=e:i=e)}),i||n||r||null}function xg(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}function Cg(e,t,r,n){In()&&"never"!==n&&((null!==n&&"once"!==n||t._ngModelWarningSentOnce)&&("always"!==n||r._ngModelWarningSent)||(t._ngModelWarningSentOnce=!0,r._ngModelWarningSent=!0))}const Dg="VALID",Lg="INVALID",Ag="PENDING",Eg="DISABLED";function Tg(e){return(Og(e)?e.validators:e)||null}function Pg(e){return Array.isArray(e)?bg(e):e||null}function Yg(e,t){return(Og(t)?t.asyncValidators:e)||null}function Rg(e){return Array.isArray(e)?vg(e):e||null}function Og(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class Ig{constructor(e,t){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=e,this._rawAsyncValidators=t,this._composedValidatorFn=Pg(this._rawValidators),this._composedAsyncValidatorFn=Rg(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===Dg}get invalid(){return this.status===Lg}get pending(){return this.status==Ag}get disabled(){return this.status===Eg}get enabled(){return this.status!==Eg}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._rawValidators=e,this._composedValidatorFn=Pg(e)}setAsyncValidators(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=Rg(e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=Ag,!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=Eg,this.errors=null,this._forEachChild(t=>{t.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!0))}enable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=Dg,this._forEachChild(t=>{t.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),this.status!==Dg&&this.status!==Ag||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Eg:Dg}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=Ag,this._hasOwnPendingAsyncValidator=!0;const t=eg(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}get(e){return function(e,t,r){if(null==t)return null;if(Array.isArray(t)||(t=t.split(".")),Array.isArray(t)&&0===t.length)return null;let n=e;return t.forEach(e=>{n=n instanceof Fg?n.controls.hasOwnProperty(e)?n.controls[e]:null:n instanceof Hg&&n.at(e)||null}),n}(this,e)}getError(e,t){const r=t?this.get(t):this;return r&&r.errors?r.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new Bl,this.statusChanges=new Bl}_calculateStatus(){return this._allControlsDisabled()?Eg:this.errors?Lg:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ag)?Ag:this._anyControlsHaveStatus(Lg)?Lg:Dg}_anyControlsHaveStatus(e){return this._anyControls(t=>t.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_isBoxedValue(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){Og(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}}class jg extends Ig{constructor(e=null,t,r){super(Tg(t),Yg(r,t)),this._onChange=[],this._applyFormState(e),this._setUpdateStrategy(t),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),this._initObservables()}setValue(e,t={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(e=>e(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(e,t={}){this.setValue(e,t)}reset(e=null,t={}){this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_clearChangeFns(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=()=>{}}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_forEachChild(e){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}}class Fg extends Ig{constructor(e,t,r){super(Tg(t),Yg(r,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}registerControl(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()}setControl(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,t={}){this._checkAllValuesPresent(e),Object.keys(e).forEach(r=>{this._throwIfControlMissing(r),this.controls[r].setValue(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){Object.keys(e).forEach(r=>{this.controls[r]&&this.controls[r].patchValue(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}reset(e={},t={}){this._forEachChild((r,n)=>{r.reset(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(e,t,r)=>(e[r]=t instanceof jg?t.value:t.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(e,t)=>!!t._syncPendingControls()||e);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[e])throw new Error(`Cannot find form control with name: ${e}.`)}_forEachChild(e){Object.keys(this.controls).forEach(t=>e(this.controls[t],t))}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(const t of Object.keys(this.controls)){const r=this.controls[t];if(this.contains(t)&&e(r))return!0}return!1}_reduceValue(){return this._reduceChildren({},(e,t,r)=>((t.enabled||this.disabled)&&(e[r]=t.value),e))}_reduceChildren(e,t){let r=e;return this._forEachChild((e,n)=>{r=t(r,e,n)}),r}_allControlsDisabled(){for(const e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(e){this._forEachChild((t,r)=>{if(void 0===e[r])throw new Error(`Must supply a value for form control with name: '${r}'.`)})}}class Hg extends Ig{constructor(e,t,r){super(Tg(t),Yg(r,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}at(e){return this.controls[e]}push(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()}insert(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()}removeAt(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),this.updateValueAndValidity()}setControl(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,t={}){this._checkAllValuesPresent(e),e.forEach((e,r)=>{this._throwIfControlMissing(r),this.at(r).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){e.forEach((e,r)=>{this.at(r)&&this.at(r).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}reset(e=[],t={}){this._forEachChild((r,n)=>{r.reset(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(e=>e instanceof jg?e.value:e.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_syncPendingControls(){let e=this.controls.reduce((e,t)=>!!t._syncPendingControls()||e,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(e))throw new Error("Cannot find form control at index "+e)}_forEachChild(e){this.controls.forEach((t,r)=>{e(t,r)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(t=>t.enabled&&e(t))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_checkAllValuesPresent(e){this._forEachChild((t,r)=>{if(void 0===e[r])throw new Error(`Must supply a value for form control at index: ${r}.`)})}_allControlsDisabled(){for(const e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}}const Ng={provide:B_,useExisting:Me(()=>zg)},Bg=(()=>Promise.resolve(null))();let zg=(()=>{class e extends B_{constructor(e,t){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new Bl,this.form=new Fg({},bg(e),vg(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Bg.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),_g(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Bg.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),xg(this._directives,e)})}addFormGroup(e){Bg.then(()=>{const t=this._findContainer(e.path),r=new Fg({});yg(r,e),t.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Bg.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){Bg.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,Mg(this.form,this._directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return e.\u0275fac=function(t){return new(t||e)(Ra($_,10),Ra(Z_,10))},e.\u0275dir=vt({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&qa("submit",(function(e){return t.onSubmit(e)}))("reset",(function(){return t.onReset()}))},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Fo([Ng]),ga]}),e})();const Ug={provide:U_,useExisting:Me(()=>Kg)},Vg=(()=>Promise.resolve(null))();let Kg=(()=>{class e extends U_{constructor(e,t,r,n){super(),this.control=new jg,this._registered=!1,this.update=new Bl,this._parent=e,this._rawValidators=t||[],this._rawAsyncValidators=r||[],this.valueAccessor=Sg(0,n)}ngOnChanges(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),wg(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?pg(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return bg(this._rawValidators)}get asyncValidator(){return vg(this._rawAsyncValidators)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){_g(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){Vg.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1})})}_updateDisabled(e){const t=e.isDisabled.currentValue,r=""===t||t&&"false"!==t;Vg.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable()})}}return e.\u0275fac=function(t){return new(t||e)(Ra(B_,9),Ra($_,10),Ra(Z_,10),Ra(R_,10))},e.\u0275dir=vt({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Fo([Ug]),ga,Ot]}),e})(),Wg=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=vt({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})();const qg=new Fe("NgModelWithFormControlWarning"),Gg={provide:U_,useExisting:Me(()=>$g)};let $g=(()=>{class e extends U_{constructor(e,t,r,n){super(),this._ngModelWarningConfig=n,this.update=new Bl,this._ngModelWarningSent=!1,this._rawValidators=e||[],this._rawAsyncValidators=t||[],this.valueAccessor=Sg(0,r)}set isDisabled(e){}ngOnChanges(t){this._isControlChanged(t)&&(_g(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),wg(t,this.viewModel)&&(Cg(0,e,this,this._ngModelWarningConfig),this.form.setValue(this.model),this.viewModel=this.model)}get path(){return[]}get validator(){return bg(this._rawValidators)}get asyncValidator(){return vg(this._rawAsyncValidators)}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}}return e.\u0275fac=function(t){return new(t||e)(Ra($_,10),Ra(Z_,10),Ra(R_,10),Ra(qg,8))},e.\u0275dir=vt({type:e,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Fo([Gg]),ga,Ot]}),e._ngModelWarningSentOnce=!1,e})();const Zg={provide:B_,useExisting:Me(()=>Jg)};let Jg=(()=>{class e extends B_{constructor(e,t){super(),this._validators=e,this._asyncValidators=t,this.submitted=!1,this.directives=[],this.form=null,this.ngSubmit=new Bl}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const t=this.form.get(e.path);return _g(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){xg(this.directives,e)}addFormGroup(e){const t=this.form.get(e.path);yg(t,e),t.updateValueAndValidity({emitEvent:!1})}removeFormGroup(e){}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){const t=this.form.get(e.path);yg(t,e),t.updateValueAndValidity({emitEvent:!1})}removeFormArray(e){}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this.submitted=!0,Mg(this.form,this.directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const t=this.form.get(e.path);e.control!==t&&(function(e,t){const r=()=>{};t.valueAccessor.registerOnChange(r),t.valueAccessor.registerOnTouched(r),t._rawValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(null)}),t._rawAsyncValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(null)}),e&&e._clearChangeFns()}(e.control,e),t&&_g(t,e),e.control=t)}),this.form._updateTreeValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(()=>this._updateDomValue()),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{}),this._oldForm=this.form}_updateValidators(){const e=bg(this._validators);this.form.validator=Q_.compose([this.form.validator,e]);const t=vg(this._asyncValidators);this.form.asyncValidator=Q_.composeAsync([this.form.asyncValidator,t])}_checkFormPresent(){}}return e.\u0275fac=function(t){return new(t||e)(Ra($_,10),Ra(Z_,10))},e.\u0275dir=vt({type:e,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&qa("submit",(function(e){return t.onSubmit(e)}))("reset",(function(){return t.onReset()}))},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Fo([Zg]),ga,Ot]}),e})();const Qg={provide:U_,useExisting:Me(()=>Xg)};let Xg=(()=>{class e extends U_{constructor(e,t,r,n,i){super(),this._ngModelWarningConfig=i,this._added=!1,this.update=new Bl,this._ngModelWarningSent=!1,this._parent=e,this._rawValidators=t||[],this._rawAsyncValidators=r||[],this.valueAccessor=Sg(0,n)}set isDisabled(e){}ngOnChanges(t){this._added||this._setUpControl(),wg(t,this.viewModel)&&(Cg(0,e,this,this._ngModelWarningConfig),this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return pg(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return bg(this._rawValidators)}get asyncValidator(){return vg(this._rawAsyncValidators)}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return e.\u0275fac=function(t){return new(t||e)(Ra(B_,13),Ra($_,10),Ra(Z_,10),Ra(R_,10),Ra(qg,8))},e.\u0275dir=vt({type:e,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[Fo([Qg]),ga,Ot]}),e._ngModelWarningSentOnce=!1,e})();const ey={provide:$_,useExisting:Me(()=>ty),multi:!0};let ty=(()=>{class e{constructor(){this._required=!1}get required(){return this._required}set required(e){this._required=null!=e&&!1!==e&&""+e!="false",this._onChange&&this._onChange()}validate(e){return this.required?Q_.required(e):null}registerOnValidatorChange(e){this._onChange=e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=vt({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&Ea("required",t.required?"":null)},inputs:{required:"required"},features:[Fo([ey])]}),e})(),ry=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)}}),e})(),ny=(()=>{class e{group(e,t=null){const r=this._reduceControls(e);let n=null,i=null,s=void 0;return null!=t&&(function(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}(t)?(n=null!=t.validators?t.validators:null,i=null!=t.asyncValidators?t.asyncValidators:null,s=null!=t.updateOn?t.updateOn:void 0):(n=null!=t.validator?t.validator:null,i=null!=t.asyncValidator?t.asyncValidator:null)),new Fg(r,{asyncValidators:i,updateOn:s,validators:n})}control(e,t,r){return new jg(e,t,r)}array(e,t,r){const n=e.map(e=>this._createControl(e));return new Hg(n,t,r)}_reduceControls(e){const t={};return Object.keys(e).forEach(r=>{t[r]=this._createControl(e[r])}),t}_createControl(e){return e instanceof jg||e instanceof Fg||e instanceof Hg?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})(),iy=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[og],imports:[ry]}),e})(),sy=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:qg,useValue:t.warnOnNgModelWithFormControl}]}}}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[ny,og],imports:[ry]}),e})();class ay{}const oy="*";function ly(e,t){return{type:7,name:e,definitions:t,options:{}}}function cy(e,t=null){return{type:4,styles:t,timings:e}}function dy(e,t=null){return{type:3,steps:e,options:t}}function uy(e,t=null){return{type:2,steps:e,options:t}}function hy(e){return{type:6,styles:e,offset:null}}function fy(e,t,r){return{type:0,name:e,styles:t,options:r}}function my(e){return{type:5,steps:e}}function py(e,t,r=null){return{type:1,expr:e,animation:t,options:r}}function _y(e=null){return{type:9,options:e}}function gy(e,t,r=null){return{type:11,selector:e,animation:t,options:r}}function yy(e){Promise.resolve(null).then(e)}class by{constructor(e=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){yy(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){}setPosition(e){}getPosition(){return 0}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class vy{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let t=0,r=0,n=0;const i=this.players.length;0==i?yy(()=>this._onFinish()):this.players.forEach(e=>{e.onDone(()=>{++t==i&&this._onFinish()}),e.onDestroy(()=>{++r==i&&this._onDestroy()}),e.onStart(()=>{++n==i&&this._onStart()})}),this.totalTime=this.players.reduce((e,t)=>Math.max(e,t.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){const t=e*this.totalTime;this.players.forEach(e=>{const r=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(r)})}getPosition(){let e=0;return this.players.forEach(t=>{const r=t.getPosition();e=Math.min(r,e)}),e}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}function wy(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function ky(e){switch(e.length){case 0:return new by;case 1:return e[0];default:return new vy(e)}}function My(e,t,r,n,i={},s={}){const a=[],o=[];let l=-1,c=null;if(n.forEach(e=>{const r=e.offset,n=r==l,d=n&&c||{};Object.keys(e).forEach(r=>{let n=r,o=e[r];if("offset"!==r)switch(n=t.normalizePropertyName(n,a),o){case"!":o=i[r];break;case oy:o=s[r];break;default:o=t.normalizeStyleValue(r,n,o,a)}d[n]=o}),n||o.push(d),c=d,l=r}),a.length){const e="\n - ";throw new Error(`Unable to animate due to the following errors:${e}${a.join(e)}`)}return o}function Sy(e,t,r,n){switch(t){case"start":e.onStart(()=>n(r&&xy(r,"start",e)));break;case"done":e.onDone(()=>n(r&&xy(r,"done",e)));break;case"destroy":e.onDestroy(()=>n(r&&xy(r,"destroy",e)))}}function xy(e,t,r){const n=r.totalTime,i=Cy(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==n?e.totalTime:n,!!r.disabled),s=e._data;return null!=s&&(i._data=s),i}function Cy(e,t,r,n,i="",s=0,a){return{element:e,triggerName:t,fromState:r,toState:n,phaseName:i,totalTime:s,disabled:!!a}}function Dy(e,t,r){let n;return e instanceof Map?(n=e.get(t),n||e.set(t,n=r)):(n=e[t],n||(n=e[t]=r)),n}function Ly(e){const t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}let Ay=(e,t)=>!1,Ey=(e,t)=>!1,Ty=(e,t,r)=>[];const Py=wy();(Py||"undefined"!=typeof Element)&&(Ay=(e,t)=>e.contains(t),Ey=(()=>{if(Py||Element.prototype.matches)return(e,t)=>e.matches(t);{const e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?(e,r)=>t.apply(e,[r]):Ey}})(),Ty=(e,t,r)=>{let n=[];if(r)n.push(...e.querySelectorAll(t));else{const r=e.querySelector(t);r&&n.push(r)}return n});let Yy=null,Ry=!1;function Oy(e){Yy||(Yy=("undefined"!=typeof document?document.body:null)||{},Ry=!!Yy.style&&"WebkitAppearance"in Yy.style);let t=!0;return Yy.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&(t=e in Yy.style,!t&&Ry)&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in Yy.style),t}const Iy=Ey,jy=Ay,Fy=Ty;function Hy(e){const t={};return Object.keys(e).forEach(r=>{const n=r.replace(/([a-z])([A-Z])/g,"$1-$2");t[n]=e[r]}),t}let Ny=(()=>{class e{validateStyleProperty(e){return Oy(e)}matchesElement(e,t){return Iy(e,t)}containsElement(e,t){return jy(e,t)}query(e,t,r){return Fy(e,t,r)}computeStyle(e,t,r){return r||""}animate(e,t,r,n,i,s=[],a){return new by(r,n)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})(),By=(()=>{class e{}return e.NOOP=new Ny,e})();const zy="ng-enter",Uy="ng-leave",Vy="ng-trigger",Ky=".ng-trigger",Wy="ng-animating",qy=".ng-animating";function Gy(e){if("number"==typeof e)return e;const t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:$y(parseFloat(t[1]),t[2])}function $y(e,t){switch(t){case"s":return 1e3*e;default:return e}}function Zy(e,t,r){return e.hasOwnProperty("duration")?e:function(e,t,r){let n,i=0,s="";if("string"==typeof e){const r=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===r)return t.push(`The provided timing value "${e}" is invalid.`),{duration:0,delay:0,easing:""};n=$y(parseFloat(r[1]),r[2]);const a=r[3];null!=a&&(i=$y(parseFloat(a),r[4]));const o=r[5];o&&(s=o)}else n=e;if(!r){let r=!1,s=t.length;n<0&&(t.push("Duration values below 0 are not allowed for this animation step."),r=!0),i<0&&(t.push("Delay values below 0 are not allowed for this animation step."),r=!0),r&&t.splice(s,0,`The provided timing value "${e}" is invalid.`)}return{duration:n,delay:i,easing:s}}(e,t,r)}function Jy(e,t={}){return Object.keys(e).forEach(r=>{t[r]=e[r]}),t}function Qy(e,t,r={}){if(t)for(let n in e)r[n]=e[n];else Jy(e,r);return r}function Xy(e,t,r){return r?t+":"+r+";":""}function eb(e){let t="";for(let r=0;r{const i=cb(n);r&&!r.hasOwnProperty(n)&&(r[n]=e.style[i]),e.style[i]=t[n]}),wy()&&eb(e))}function rb(e,t){e.style&&(Object.keys(t).forEach(t=>{const r=cb(t);e.style[r]=""}),wy()&&eb(e))}function nb(e){return Array.isArray(e)?1==e.length?e[0]:uy(e):e}const ib=new RegExp("{{\\s*(.+?)\\s*}}","g");function sb(e){let t=[];if("string"==typeof e){let r;for(;r=ib.exec(e);)t.push(r[1]);ib.lastIndex=0}return t}function ab(e,t,r){const n=e.toString(),i=n.replace(ib,(e,n)=>{let i=t[n];return t.hasOwnProperty(n)||(r.push("Please provide a value for the animation param "+n),i=""),i.toString()});return i==n?e:i}function ob(e){const t=[];let r=e.next();for(;!r.done;)t.push(r.value),r=e.next();return t}const lb=/-+([a-z0-9])/g;function cb(e){return e.replace(lb,(...e)=>e[1].toUpperCase())}function db(e,t){return 0===e||0===t}function ub(e,t,r){const n=Object.keys(r);if(n.length&&t.length){let s=t[0],a=[];if(n.forEach(e=>{s.hasOwnProperty(e)||a.push(e),s[e]=r[e]}),a.length)for(var i=1;ifunction(e,t,r){if(":"==e[0]){const n=function(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t) *"}}(e,r);if("function"==typeof n)return void t.push(n);e=n}const n=e.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==n||n.length<4)return r.push(`The provided transition expression "${e}" is not supported`),t;const i=n[1],s=n[2],a=n[3];t.push(yb(i,a)),"<"!=s[0]||i==mb&&a==mb||t.push(yb(a,i))}(e,r,t)):r.push(e),r}const _b=new Set(["true","1"]),gb=new Set(["false","0"]);function yb(e,t){const r=_b.has(e)||gb.has(e),n=_b.has(t)||gb.has(t);return(i,s)=>{let a=e==mb||e==i,o=t==mb||t==s;return!a&&r&&"boolean"==typeof i&&(a=i?_b.has(e):gb.has(e)),!o&&n&&"boolean"==typeof s&&(o=s?_b.has(t):gb.has(t)),a&&o}}const bb=new RegExp("s*:selfs*,?","g");function vb(e,t,r){return new wb(e).build(t,r)}class wb{constructor(e){this._driver=e}build(e,t){const r=new kb(t);return this._resetContextStyleTimingState(r),hb(this,nb(e),r)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}visitTrigger(e,t){let r=t.queryCount=0,n=t.depCount=0;const i=[],s=[];return"@"==e.name.charAt(0)&&t.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),e.definitions.forEach(e=>{if(this._resetContextStyleTimingState(t),0==e.type){const r=e,n=r.name;n.toString().split(/\s*,\s*/).forEach(e=>{r.name=e,i.push(this.visitState(r,t))}),r.name=n}else if(1==e.type){const i=this.visitTransition(e,t);r+=i.queryCount,n+=i.depCount,s.push(i)}else t.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:e.name,states:i,transitions:s,queryCount:r,depCount:n,options:null}}visitState(e,t){const r=this.visitStyle(e.styles,t),n=e.options&&e.options.params||null;if(r.containsDynamicStyles){const i=new Set,s=n||{};if(r.styles.forEach(e=>{if(Mb(e)){const t=e;Object.keys(t).forEach(e=>{sb(t[e]).forEach(e=>{s.hasOwnProperty(e)||i.add(e)})})}}),i.size){const r=ob(i.values());t.errors.push(`state("${e.name}", ...) must define default values for all the following style substitutions: ${r.join(", ")}`)}}return{type:0,name:e.name,style:r,options:n?{params:n}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const r=hb(this,nb(e.animation),t);return{type:1,matchers:pb(e.expr,t.errors),animation:r,queryCount:t.queryCount,depCount:t.depCount,options:Sb(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(e=>hb(this,e,t)),options:Sb(e.options)}}visitGroup(e,t){const r=t.currentTime;let n=0;const i=e.steps.map(e=>{t.currentTime=r;const i=hb(this,e,t);return n=Math.max(n,t.currentTime),i});return t.currentTime=n,{type:3,steps:i,options:Sb(e.options)}}visitAnimate(e,t){const r=function(e,t){let r=null;if(e.hasOwnProperty("duration"))r=e;else if("number"==typeof e)return xb(Zy(e,t).duration,0,"");const n=e;if(n.split(/\s+/).some(e=>"{"==e.charAt(0)&&"{"==e.charAt(1))){const e=xb(0,0,"");return e.dynamic=!0,e.strValue=n,e}return r=r||Zy(n,t),xb(r.duration,r.delay,r.easing)}(e.timings,t.errors);let n;t.currentAnimateTimings=r;let i=e.styles?e.styles:hy({});if(5==i.type)n=this.visitKeyframes(i,t);else{let i=e.styles,s=!1;if(!i){s=!0;const e={};r.easing&&(e.easing=r.easing),i=hy(e)}t.currentTime+=r.duration+r.delay;const a=this.visitStyle(i,t);a.isEmptyStep=s,n=a}return t.currentAnimateTimings=null,{type:4,timings:r,style:n,options:null}}visitStyle(e,t){const r=this._makeStyleAst(e,t);return this._validateStyleAst(r,t),r}_makeStyleAst(e,t){const r=[];Array.isArray(e.styles)?e.styles.forEach(e=>{"string"==typeof e?e==oy?r.push(e):t.errors.push(`The provided style string value ${e} is not allowed.`):r.push(e)}):r.push(e.styles);let n=!1,i=null;return r.forEach(e=>{if(Mb(e)){const t=e,r=t.easing;if(r&&(i=r,delete t.easing),!n)for(let e in t)if(t[e].toString().indexOf("{{")>=0){n=!0;break}}}),{type:6,styles:r,easing:i,offset:e.offset,containsDynamicStyles:n,options:null}}_validateStyleAst(e,t){const r=t.currentAnimateTimings;let n=t.currentTime,i=t.currentTime;r&&i>0&&(i-=r.duration+r.delay),e.styles.forEach(e=>{"string"!=typeof e&&Object.keys(e).forEach(r=>{if(!this._driver.validateStyleProperty(r))return void t.errors.push(`The provided animation property "${r}" is not a supported CSS property for animations`);const s=t.collectedStyles[t.currentQuerySelector],a=s[r];let o=!0;a&&(i!=n&&i>=a.startTime&&n<=a.endTime&&(t.errors.push(`The CSS property "${r}" that exists between the times of "${a.startTime}ms" and "${a.endTime}ms" is also being animated in a parallel animation between the times of "${i}ms" and "${n}ms"`),o=!1),i=a.startTime),o&&(s[r]={startTime:i,endTime:n}),t.options&&function(e,t,r){const n=t.params||{},i=sb(e);i.length&&i.forEach(e=>{n.hasOwnProperty(e)||r.push(`Unable to resolve the local animation param ${e} in the given list of values`)})}(e[r],t.options,t.errors)})})}visitKeyframes(e,t){const r={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),r;let n=0;const i=[];let s=!1,a=!1,o=0;const l=e.steps.map(e=>{const r=this._makeStyleAst(e,t);let l=null!=r.offset?r.offset:function(e){if("string"==typeof e)return null;let t=null;if(Array.isArray(e))e.forEach(e=>{if(Mb(e)&&e.hasOwnProperty("offset")){const r=e;t=parseFloat(r.offset),delete r.offset}});else if(Mb(e)&&e.hasOwnProperty("offset")){const r=e;t=parseFloat(r.offset),delete r.offset}return t}(r.styles),c=0;return null!=l&&(n++,c=r.offset=l),a=a||c<0||c>1,s=s||c0&&n{const s=d>0?n==u?1:d*n:i[n],a=s*m;t.currentTime=h+f.delay+a,f.duration=a,this._validateStyleAst(e,t),e.offset=s,r.styles.push(e)}),r}visitReference(e,t){return{type:8,animation:hb(this,nb(e.animation),t),options:Sb(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:Sb(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:Sb(e.options)}}visitQuery(e,t){const r=t.currentQuerySelector,n=e.options||{};t.queryCount++,t.currentQuery=e;const[i,s]=function(e){const t=!!e.split(/\s*,\s*/).find(e=>":self"==e);return t&&(e=e.replace(bb,"")),[e=e.replace(/@\*/g,Ky).replace(/@\w+/g,e=>".ng-trigger-"+e.substr(1)).replace(/:animating/g,qy),t]}(e.selector);t.currentQuerySelector=r.length?r+" "+i:i,Dy(t.collectedStyles,t.currentQuerySelector,{});const a=hb(this,nb(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=r,{type:11,selector:i,limit:n.limit||0,optional:!!n.optional,includeSelf:s,animation:a,originalSelector:e.selector,options:Sb(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");const r="full"===e.timings?{duration:0,delay:0,easing:"full"}:Zy(e.timings,t.errors,!0);return{type:12,animation:hb(this,nb(e.animation),t),timings:r,options:null}}}class kb{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function Mb(e){return!Array.isArray(e)&&"object"==typeof e}function Sb(e){var t;return e?(e=Jy(e)).params&&(e.params=(t=e.params)?Jy(t):null):e={},e}function xb(e,t,r){return{duration:e,delay:t,easing:r}}function Cb(e,t,r,n,i,s,a=null,o=!1){return{type:1,element:e,keyframes:t,preStyleProps:r,postStyleProps:n,duration:i,delay:s,totalTime:i+s,easing:a,subTimeline:o}}class Db{constructor(){this._map=new Map}consume(e){let t=this._map.get(e);return t?this._map.delete(e):t=[],t}append(e,t){let r=this._map.get(e);r||this._map.set(e,r=[]),r.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const Lb=new RegExp(":enter","g"),Ab=new RegExp(":leave","g");function Eb(e,t,r,n,i,s={},a={},o,l,c=[]){return(new Tb).buildKeyframes(e,t,r,n,i,s,a,o,l,c)}class Tb{buildKeyframes(e,t,r,n,i,s,a,o,l,c=[]){l=l||new Db;const d=new Yb(e,t,l,n,i,c,[]);d.options=o,d.currentTimeline.setStyles([s],null,d.errors,o),hb(this,r,d);const u=d.timelines.filter(e=>e.containsAnimation());if(u.length&&Object.keys(a).length){const e=u[u.length-1];e.allowOnlyTimelineStyles()||e.setStyles([a],null,d.errors,o)}return u.length?u.map(e=>e.buildKeyframes()):[Cb(t,[],[],[],0,0,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){const r=t.subInstructions.consume(t.element);if(r){const n=t.createSubContext(e.options),i=t.currentTimeline.currentTime,s=this._visitSubInstructions(r,n,n.options);i!=s&&t.transformIntoNewTimeline(s)}t.previousNode=e}visitAnimateRef(e,t){const r=t.createSubContext(e.options);r.transformIntoNewTimeline(),this.visitReference(e.animation,r),t.transformIntoNewTimeline(r.currentTimeline.currentTime),t.previousNode=e}_visitSubInstructions(e,t,r){let n=t.currentTimeline.currentTime;const i=null!=r.duration?Gy(r.duration):null,s=null!=r.delay?Gy(r.delay):null;return 0!==i&&e.forEach(e=>{const r=t.appendInstructionToTimeline(e,i,s);n=Math.max(n,r.duration+r.delay)}),n}visitReference(e,t){t.updateOptions(e.options,!0),hb(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const r=t.subContextCount;let n=t;const i=e.options;if(i&&(i.params||i.delay)&&(n=t.createSubContext(i),n.transformIntoNewTimeline(),null!=i.delay)){6==n.previousNode.type&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Pb);const e=Gy(i.delay);n.delayNextStep(e)}e.steps.length&&(e.steps.forEach(e=>hb(this,e,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>r&&n.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const r=[];let n=t.currentTimeline.currentTime;const i=e.options&&e.options.delay?Gy(e.options.delay):0;e.steps.forEach(s=>{const a=t.createSubContext(e.options);i&&a.delayNextStep(i),hb(this,s,a),n=Math.max(n,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(e=>t.currentTimeline.mergeTimelineCollectedStyles(e)),t.transformIntoNewTimeline(n),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const r=e.strValue;return Zy(t.params?ab(r,t.params,t.errors):r,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){const r=t.currentAnimateTimings=this._visitTiming(e.timings,t),n=t.currentTimeline;r.delay&&(t.incrementTime(r.delay),n.snapshotCurrentStyles());const i=e.style;5==i.type?this.visitKeyframes(i,t):(t.incrementTime(r.duration),this.visitStyle(i,t),n.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const r=t.currentTimeline,n=t.currentAnimateTimings;!n&&r.getCurrentStyleProperties().length&&r.forwardFrame();const i=n&&n.easing||e.easing;e.isEmptyStep?r.applyEmptyStep(i):r.setStyles(e.styles,i,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const r=t.currentAnimateTimings,n=t.currentTimeline.duration,i=r.duration,s=t.createSubContext().currentTimeline;s.easing=r.easing,e.styles.forEach(e=>{s.forwardTime((e.offset||0)*i),s.setStyles(e.styles,e.easing,t.errors,t.options),s.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(s),t.transformIntoNewTimeline(n+i),t.previousNode=e}visitQuery(e,t){const r=t.currentTimeline.currentTime,n=e.options||{},i=n.delay?Gy(n.delay):0;i&&(6===t.previousNode.type||0==r&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Pb);let s=r;const a=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!n.optional,t.errors);t.currentQueryTotal=a.length;let o=null;a.forEach((r,n)=>{t.currentQueryIndex=n;const a=t.createSubContext(e.options,r);i&&a.delayNextStep(i),r===t.element&&(o=a.currentTimeline),hb(this,e.animation,a),a.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,a.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(s),o&&(t.currentTimeline.mergeTimelineCollectedStyles(o),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const r=t.parentContext,n=t.currentTimeline,i=e.timings,s=Math.abs(i.duration),a=s*(t.currentQueryTotal-1);let o=s*t.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":o=a-o;break;case"full":o=r.currentStaggerTime}const l=t.currentTimeline;o&&l.delayNextStep(o);const c=l.currentTime;hb(this,e.animation,t),t.previousNode=e,r.currentStaggerTime=n.currentTime-c+(n.startTime-r.currentTimeline.startTime)}}const Pb={};class Yb{constructor(e,t,r,n,i,s,a,o){this._driver=e,this.element=t,this.subInstructions=r,this._enterClassName=n,this._leaveClassName=i,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Pb,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=o||new Rb(this._driver,t,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const r=e;let n=this.options;null!=r.duration&&(n.duration=Gy(r.duration)),null!=r.delay&&(n.delay=Gy(r.delay));const i=r.params;if(i){let e=n.params;e||(e=this.options.params={}),Object.keys(i).forEach(r=>{t&&e.hasOwnProperty(r)||(e[r]=ab(i[r],e,this.errors))})}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const r=e.params={};Object.keys(t).forEach(e=>{r[e]=t[e]})}}return e}createSubContext(e=null,t,r){const n=t||this.element,i=new Yb(this._driver,n,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(n,r||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(e),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i}transformIntoNewTimeline(e){return this.previousNode=Pb,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,r){const n={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=r?r:0)+e.delay,easing:""},i=new Ob(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,n,e.stretchStartingKeyframe);return this.timelines.push(i),n}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,r,n,i,s){let a=[];if(n&&a.push(this.element),e.length>0){e=(e=e.replace(Lb,"."+this._enterClassName)).replace(Ab,"."+this._leaveClassName);let t=this._driver.query(this.element,e,1!=r);0!==r&&(t=r<0?t.slice(t.length+r,t.length):t.slice(0,r)),a.push(...t)}return i||0!=a.length||s.push(`\`query("${t}")\` returned zero elements. (Use \`query("${t}", { optional: true })\` if you wish to allow this.)`),a}}class Rb{constructor(e,t,r,n){this._driver=e,this.element=t,this.startTime=r,this._elementTimelineStylesLookup=n,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(e){const t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new Rb(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||oy,this._currentKeyframe[e]=oy}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,r,n){t&&(this._previousKeyframe.easing=t);const i=n&&n.params||{},s=function(e,t){const r={};let n;return e.forEach(e=>{"*"===e?(n=n||Object.keys(t),n.forEach(e=>{r[e]=oy})):Qy(e,!1,r)}),r}(e,this._globalTimelineStyles);Object.keys(s).forEach(e=>{const t=ab(s[e],i,r);this._pendingStyles[e]=t,this._localTimelineStyles.hasOwnProperty(e)||(this._backFill[e]=this._globalTimelineStyles.hasOwnProperty(e)?this._globalTimelineStyles[e]:oy),this._updateStyle(e,t)})}applyStylesToKeyframe(){const e=this._pendingStyles,t=Object.keys(e);0!=t.length&&(this._pendingStyles={},t.forEach(t=>{this._currentKeyframe[t]=e[t]}),Object.keys(this._localTimelineStyles).forEach(e=>{this._currentKeyframe.hasOwnProperty(e)||(this._currentKeyframe[e]=this._localTimelineStyles[e])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(e=>{const t=this._localTimelineStyles[e];this._pendingStyles[e]=t,this._updateStyle(e,t)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){Object.keys(e._styleSummary).forEach(t=>{const r=this._styleSummary[t],n=e._styleSummary[t];(!r||n.time>r.time)&&this._updateStyle(t,n.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,r=1===this._keyframes.size&&0===this.duration;let n=[];this._keyframes.forEach((i,s)=>{const a=Qy(i,!0);Object.keys(a).forEach(r=>{const n=a[r];"!"==n?e.add(r):n==oy&&t.add(r)}),r||(a.offset=s/this.duration),n.push(a)});const i=e.size?ob(e.values()):[],s=t.size?ob(t.values()):[];if(r){const e=n[0],t=Jy(e);e.offset=0,t.offset=1,n=[e,t]}return Cb(this.element,n,i,s,this.duration,this.startTime,this.easing,!1)}}class Ob extends Rb{constructor(e,t,r,n,i,s,a=!1){super(e,t,s.delay),this.element=t,this.keyframes=r,this.preStyleProps=n,this.postStyleProps=i,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:r,easing:n}=this.timings;if(this._stretchStartingKeyframe&&t){const i=[],s=r+t,a=t/s,o=Qy(e[0],!1);o.offset=0,i.push(o);const l=Qy(e[0],!1);l.offset=Ib(a),i.push(l);const c=e.length-1;for(let n=1;n<=c;n++){let a=Qy(e[n],!1);a.offset=Ib((t+a.offset*r)/s),i.push(a)}r=s,t=0,n="",e=i}return Cb(this.element,e,this.preStyleProps,this.postStyleProps,r,t,n,!0)}}function Ib(e,t=3){const r=Math.pow(10,t-1);return Math.round(e*r)/r}class jb{}class Fb extends jb{normalizePropertyName(e,t){return cb(e)}normalizeStyleValue(e,t,r,n){let i="";const s=r.toString().trim();if(Hb[t]&&0!==r&&"0"!==r)if("number"==typeof r)i="px";else{const t=r.match(/^[+-]?[\d\.]+([a-z]*)$/);t&&0==t[1].length&&n.push(`Please provide a CSS unit value for ${e}:${r}`)}return s+i}}const Hb=(()=>function(e){const t={};return e.forEach(e=>t[e]=!0),t}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function Nb(e,t,r,n,i,s,a,o,l,c,d,u,h){return{type:0,element:e,triggerName:t,isRemovalTransition:i,fromState:r,fromStyles:s,toState:n,toStyles:a,timelines:o,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:h}}const Bb={};class zb{constructor(e,t,r){this._triggerName=e,this.ast=t,this._stateStyles=r}match(e,t,r,n){return function(e,t,r,n,i){return e.some(e=>e(t,r,n,i))}(this.ast.matchers,e,t,r,n)}buildStyles(e,t,r){const n=this._stateStyles["*"],i=this._stateStyles[e],s=n?n.buildStyles(t,r):{};return i?i.buildStyles(t,r):s}build(e,t,r,n,i,s,a,o,l,c){const d=[],u=this.ast.options&&this.ast.options.params||Bb,h=this.buildStyles(r,a&&a.params||Bb,d),f=o&&o.params||Bb,m=this.buildStyles(n,f,d),p=new Set,_=new Map,g=new Map,y="void"===n,b={params:Object.assign(Object.assign({},u),f)},v=c?[]:Eb(e,t,this.ast.animation,i,s,h,m,b,l,d);let w=0;if(v.forEach(e=>{w=Math.max(e.duration+e.delay,w)}),d.length)return Nb(t,this._triggerName,r,n,y,h,m,[],[],_,g,w,d);v.forEach(e=>{const r=e.element,n=Dy(_,r,{});e.preStyleProps.forEach(e=>n[e]=!0);const i=Dy(g,r,{});e.postStyleProps.forEach(e=>i[e]=!0),r!==t&&p.add(r)});const k=ob(p.values());return Nb(t,this._triggerName,r,n,y,h,m,v,k,_,g,w)}}class Ub{constructor(e,t){this.styles=e,this.defaultParams=t}buildStyles(e,t){const r={},n=Jy(this.defaultParams);return Object.keys(e).forEach(t=>{const r=e[t];null!=r&&(n[t]=r)}),this.styles.styles.forEach(e=>{if("string"!=typeof e){const i=e;Object.keys(i).forEach(e=>{let s=i[e];s.length>1&&(s=ab(s,n,t)),r[e]=s})}}),r}}class Vb{constructor(e,t){this.name=e,this.ast=t,this.transitionFactories=[],this.states={},t.states.forEach(e=>{this.states[e.name]=new Ub(e.style,e.options&&e.options.params||{})}),Kb(this.states,"true","1"),Kb(this.states,"false","0"),t.transitions.forEach(t=>{this.transitionFactories.push(new zb(e,t,this.states))}),this.fallbackTransition=new zb(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[(e,t)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,r,n){return this.transitionFactories.find(i=>i.match(e,t,r,n))||null}matchStyles(e,t,r){return this.fallbackTransition.buildStyles(e,t,r)}}function Kb(e,t,r){e.hasOwnProperty(t)?e.hasOwnProperty(r)||(e[r]=e[t]):e.hasOwnProperty(r)&&(e[t]=e[r])}const Wb=new Db;class qb{constructor(e,t,r){this.bodyNode=e,this._driver=t,this._normalizer=r,this._animations={},this._playersById={},this.players=[]}register(e,t){const r=[],n=vb(this._driver,t,r);if(r.length)throw new Error("Unable to build the animation due to the following errors: "+r.join("\n"));this._animations[e]=n}_buildPlayer(e,t,r){const n=e.element,i=My(0,this._normalizer,0,e.keyframes,t,r);return this._driver.animate(n,i,e.duration,e.delay,e.easing,[],!0)}create(e,t,r={}){const n=[],i=this._animations[e];let s;const a=new Map;if(i?(s=Eb(this._driver,t,i,zy,Uy,{},{},r,Wb,n),s.forEach(e=>{const t=Dy(a,e.element,{});e.postStyleProps.forEach(e=>t[e]=null)})):(n.push("The requested animation doesn't exist or has already been destroyed"),s=[]),n.length)throw new Error("Unable to create the animation due to the following errors: "+n.join("\n"));a.forEach((e,t)=>{Object.keys(e).forEach(r=>{e[r]=this._driver.computeStyle(t,r,oy)})});const o=ky(s.map(e=>{const t=a.get(e.element);return this._buildPlayer(e,{},t)}));return this._playersById[e]=o,o.onDestroy(()=>this.destroy(e)),this.players.push(o),o}destroy(e){const t=this._getPlayer(e);t.destroy(),delete this._playersById[e];const r=this.players.indexOf(t);r>=0&&this.players.splice(r,1)}_getPlayer(e){const t=this._playersById[e];if(!t)throw new Error("Unable to find the timeline player referenced by "+e);return t}listen(e,t,r,n){const i=Cy(t,"","","");return Sy(this._getPlayer(e),r,i,n),()=>{}}command(e,t,r,n){if("register"==r)return void this.register(e,n[0]);if("create"==r)return void this.create(e,t,n[0]||{});const i=this._getPlayer(e);switch(r){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(e)}}}const Gb="ng-animate-queued",$b="ng-animate-disabled",Zb=".ng-animate-disabled",Jb=[],Qb={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Xb={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class ev{constructor(e,t=""){this.namespaceId=t;const r=e&&e.hasOwnProperty("value");if(this.value=null!=(n=r?e.value:e)?n:null,r){const t=Jy(e);delete t.value,this.options=t}else this.options={};var n;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){const t=e.params;if(t){const e=this.options.params;Object.keys(t).forEach(r=>{null==e[r]&&(e[r]=t[r])})}}}const tv="void",rv=new ev(tv);class nv{constructor(e,t,r){this.id=e,this.hostElement=t,this._engine=r,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,dv(t,this._hostClassName)}listen(e,t,r,n){if(!this._triggers.hasOwnProperty(t))throw new Error(`Unable to listen on the animation trigger event "${r}" because the animation trigger "${t}" doesn't exist!`);if(null==r||0==r.length)throw new Error(`Unable to listen on the animation trigger "${t}" because the provided event is undefined!`);if("start"!=(i=r)&&"done"!=i)throw new Error(`The provided animation trigger event "${r}" for the animation trigger "${t}" is not supported!`);var i;const s=Dy(this._elementListeners,e,[]),a={name:t,phase:r,callback:n};s.push(a);const o=Dy(this._engine.statesByElement,e,{});return o.hasOwnProperty(t)||(dv(e,Vy),dv(e,"ng-trigger-"+t),o[t]=rv),()=>{this._engine.afterFlush(()=>{const e=s.indexOf(a);e>=0&&s.splice(e,1),this._triggers[t]||delete o[t]})}}register(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}_getTrigger(e){const t=this._triggers[e];if(!t)throw new Error(`The provided animation trigger "${e}" has not been registered!`);return t}trigger(e,t,r,n=!0){const i=this._getTrigger(t),s=new sv(this.id,t,e);let a=this._engine.statesByElement.get(e);a||(dv(e,Vy),dv(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,a={}));let o=a[t];const l=new ev(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&o&&l.absorbOptions(o.options),a[t]=l,o||(o=rv),l.value!==tv&&o.value===l.value){if(!function(e,t){const r=Object.keys(e),n=Object.keys(t);if(r.length!=n.length)return!1;for(let i=0;i{rb(e,r),tb(e,n)})}return}const c=Dy(this._engine.playersByElement,e,[]);c.forEach(e=>{e.namespaceId==this.id&&e.triggerName==t&&e.queued&&e.destroy()});let d=i.matchTransition(o.value,l.value,e,l.params),u=!1;if(!d){if(!n)return;d=i.fallbackTransition,u=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:d,fromState:o,toState:l,player:s,isFallbackTransition:u}),u||(dv(e,Gb),s.onStart(()=>{uv(e,Gb)})),s.onDone(()=>{let t=this.players.indexOf(s);t>=0&&this.players.splice(t,1);const r=this._engine.playersByElement.get(e);if(r){let e=r.indexOf(s);e>=0&&r.splice(e,1)}}),this.players.push(s),c.push(s),s}deregister(e){delete this._triggers[e],this._engine.statesByElement.forEach((t,r)=>{delete t[e]}),this._elementListeners.forEach((t,r)=>{this._elementListeners.set(r,t.filter(t=>t.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const t=this._engine.playersByElement.get(e);t&&(t.forEach(e=>e.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){const r=this._engine.driver.query(e,Ky,!0);r.forEach(e=>{if(e.__ng_removed)return;const r=this._engine.fetchNamespacesByElement(e);r.size?r.forEach(r=>r.triggerLeaveAnimation(e,t,!1,!0)):this.clearElementCache(e)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(e=>this.clearElementCache(e)))}triggerLeaveAnimation(e,t,r,n){const i=this._engine.statesByElement.get(e);if(i){const s=[];if(Object.keys(i).forEach(t=>{if(this._triggers[t]){const r=this.trigger(e,t,tv,n);r&&s.push(r)}}),s.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),r&&ky(s).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e);if(t){const r=new Set;t.forEach(t=>{const n=t.name;if(r.has(n))return;r.add(n);const i=this._triggers[n].fallbackTransition,s=this._engine.statesByElement.get(e)[n]||rv,a=new ev(tv),o=new sv(this.id,n,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:n,transition:i,fromState:s,toState:a,player:o,isFallbackTransition:!0})})}}removeNode(e,t){const r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let n=!1;if(r.totalAnimations){const t=r.players.length?r.playersByQueriedElement.get(e):[];if(t&&t.length)n=!0;else{let t=e;for(;t=t.parentNode;)if(r.statesByElement.get(t)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(e),n)r.markElementAsRemoved(this.id,e,!1,t);else{const n=e.__ng_removed;n&&n!==Qb||(r.afterFlush(()=>this.clearElementCache(e)),r.destroyInnerAnimations(e),r._onRemovalComplete(e,t))}}insertNode(e,t){dv(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach(r=>{const n=r.player;if(n.destroyed)return;const i=r.element,s=this._elementListeners.get(i);s&&s.forEach(t=>{if(t.name==r.triggerName){const n=Cy(i,r.triggerName,r.fromState.value,r.toState.value);n._data=e,Sy(r.player,t.phase,n,t.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):t.push(r)}),this._queue=[],t.sort((e,t)=>{const r=e.transition.ast.depCount,n=t.transition.ast.depCount;return 0==r||0==n?r-n:this._engine.driver.containsElement(e.element,t.element)?1:-1})}destroy(e){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find(t=>t.element===e)||t,t}}class iv{constructor(e,t,r){this.bodyNode=e,this.driver=t,this._normalizer=r,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(e,t)=>{}}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){const e=[];return this._namespaceList.forEach(t=>{t.players.forEach(t=>{t.queued&&e.push(t)})}),e}createNamespace(e,t){const r=new nv(e,t,this);return t.parentNode?this._balanceNamespaceList(r,t):(this.newHostElements.set(t,r),this.collectEnterElement(t)),this._namespaceLookup[e]=r}_balanceNamespaceList(e,t){const r=this._namespaceList.length-1;if(r>=0){let n=!1;for(let i=r;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,t)){this._namespaceList.splice(i+1,0,e),n=!0;break}n||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e}register(e,t){let r=this._namespaceLookup[e];return r||(r=this.createNamespace(e,t)),r}registerTrigger(e,t,r){let n=this._namespaceLookup[e];n&&n.register(t,r)&&this.totalAnimations++}destroy(e,t){if(!e)return;const r=this._fetchNamespace(e);this.afterFlush(()=>{this.namespacesByHostElement.delete(r.hostElement),delete this._namespaceLookup[e];const t=this._namespaceList.indexOf(r);t>=0&&this._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(()=>r.destroy(t))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const t=new Set,r=this.statesByElement.get(e);if(r){const e=Object.keys(r);for(let n=0;n=0&&this.collectedLeaveElements.splice(e,1)}if(e){const n=this._fetchNamespace(e);n&&n.insertNode(t,r)}n&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),dv(e,$b)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),uv(e,$b))}removeNode(e,t,r,n){if(av(t)){const i=e?this._fetchNamespace(e):null;if(i?i.removeNode(t,n):this.markElementAsRemoved(e,t,!1,n),r){const r=this.namespacesByHostElement.get(t);r&&r.id!==e&&r.removeNode(t,n)}}else this._onRemovalComplete(t,n)}markElementAsRemoved(e,t,r,n){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:n,hasAnimation:r,removedBeforeQueried:!1}}listen(e,t,r,n,i){return av(t)?this._fetchNamespace(e).listen(t,r,n,i):()=>{}}_buildInstruction(e,t,r,n,i){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,r,n,e.fromState.options,e.toState.options,t,i)}destroyInnerAnimations(e){let t=this.driver.query(e,Ky,!0);t.forEach(e=>this.destroyActiveAnimationsForElement(e)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,qy,!0),t.forEach(e=>this.finishActiveQueriedAnimationOnElement(e)))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);t&&t.forEach(e=>{e.queued?e.markedForDestroy=!0:e.destroy()})}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);t&&t.forEach(e=>e.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return ky(this.players).onDone(()=>e());e()})}processLeaveNode(e){const t=e.__ng_removed;if(t&&t.setForRemoval){if(e.__ng_removed=Qb,t.namespaceId){this.destroyInnerAnimations(e);const r=this._fetchNamespace(t.namespaceId);r&&r.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}this.driver.matchesElement(e,Zb)&&this.markElementAsDisabled(e,!1),this.driver.query(e,Zb,!0).forEach(e=>{this.markElementAsDisabled(e,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((e,t)=>this._balanceNamespaceList(e,t)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;re()),this._flushFns=[],this._whenQuietFns.length){const e=this._whenQuietFns;this._whenQuietFns=[],t.length?ky(t).onDone(()=>{e.forEach(e=>e())}):e.forEach(e=>e())}}reportError(e){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+e.join("\n"))}_flushAnimations(e,t){const r=new Db,n=[],i=new Map,s=[],a=new Map,o=new Map,l=new Map,c=new Set;this.disabledNodes.forEach(e=>{c.add(e);const t=this.driver.query(e,".ng-animate-queued",!0);for(let r=0;r{const r=zy+m++;f.set(t,r),e.forEach(e=>dv(e,r))});const p=[],_=new Set,g=new Set;for(let E=0;E_.add(e)):g.add(e))}const y=new Map,b=cv(u,Array.from(_));b.forEach((e,t)=>{const r=Uy+m++;y.set(t,r),e.forEach(e=>dv(e,r))}),e.push(()=>{h.forEach((e,t)=>{const r=f.get(t);e.forEach(e=>uv(e,r))}),b.forEach((e,t)=>{const r=y.get(t);e.forEach(e=>uv(e,r))}),p.forEach(e=>{this.processLeaveNode(e)})});const v=[],w=[];for(let E=this._namespaceList.length-1;E>=0;E--)this._namespaceList[E].drainQueuedTransitions(t).forEach(e=>{const t=e.player,i=e.element;if(v.push(t),this.collectedEnterElements.length){const e=i.__ng_removed;if(e&&e.setForMove)return void t.destroy()}const c=!d||!this.driver.containsElement(d,i),u=y.get(i),h=f.get(i),m=this._buildInstruction(e,r,h,u,c);if(m.errors&&m.errors.length)w.push(m);else{if(c)return t.onStart(()=>rb(i,m.fromStyles)),t.onDestroy(()=>tb(i,m.toStyles)),void n.push(t);if(e.isFallbackTransition)return t.onStart(()=>rb(i,m.fromStyles)),t.onDestroy(()=>tb(i,m.toStyles)),void n.push(t);m.timelines.forEach(e=>e.stretchStartingKeyframe=!0),r.append(i,m.timelines),s.push({instruction:m,player:t,element:i}),m.queriedElements.forEach(e=>Dy(a,e,[]).push(t)),m.preStyleProps.forEach((e,t)=>{const r=Object.keys(e);if(r.length){let e=o.get(t);e||o.set(t,e=new Set),r.forEach(t=>e.add(t))}}),m.postStyleProps.forEach((e,t)=>{const r=Object.keys(e);let n=l.get(t);n||l.set(t,n=new Set),r.forEach(e=>n.add(e))})}});if(w.length){const e=[];w.forEach(t=>{e.push(`@${t.triggerName} has failed due to:\n`),t.errors.forEach(t=>e.push(`- ${t}\n`))}),v.forEach(e=>e.destroy()),this.reportError(e)}const k=new Map,M=new Map;s.forEach(e=>{const t=e.element;r.has(t)&&(M.set(t,t),this._beforeAnimationBuild(e.player.namespaceId,e.instruction,k))}),n.forEach(e=>{const t=e.element;this._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(e=>{Dy(k,t,[]).push(e),e.destroy()})});const S=p.filter(e=>fv(e,o,l)),x=new Map;lv(x,this.driver,g,l,oy).forEach(e=>{fv(e,o,l)&&S.push(e)});const C=new Map;h.forEach((e,t)=>{lv(C,this.driver,new Set(e),o,"!")}),S.forEach(e=>{const t=x.get(e),r=C.get(e);x.set(e,Object.assign(Object.assign({},t),r))});const D=[],L=[],A={};s.forEach(e=>{const{element:t,player:s,instruction:a}=e;if(r.has(t)){if(c.has(t))return s.onDestroy(()=>tb(t,a.toStyles)),s.disabled=!0,s.overrideTotalTime(a.totalTime),void n.push(s);let e=A;if(M.size>1){let r=t;const n=[];for(;r=r.parentNode;){const t=M.get(r);if(t){e=t;break}n.push(r)}n.forEach(t=>M.set(t,e))}const r=this._buildAnimation(s.namespaceId,a,k,i,C,x);if(s.setRealPlayer(r),e===A)D.push(s);else{const t=this.playersByElement.get(e);t&&t.length&&(s.parentPlayer=ky(t)),n.push(s)}}else rb(t,a.fromStyles),s.onDestroy(()=>tb(t,a.toStyles)),L.push(s),c.has(t)&&n.push(s)}),L.forEach(e=>{const t=i.get(e.element);if(t&&t.length){const r=ky(t);e.setRealPlayer(r)}}),n.forEach(e=>{e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(let E=0;E!e.destroyed);n.length?hv(this,e,n):this.processLeaveNode(e)}return p.length=0,D.forEach(e=>{this.players.push(e),e.onDone(()=>{e.destroy();const t=this.players.indexOf(e);this.players.splice(t,1)}),e.play()}),D}elementContainsData(e,t){let r=!1;const n=t.__ng_removed;return n&&n.setForRemoval&&(r=!0),this.playersByElement.has(t)&&(r=!0),this.playersByQueriedElement.has(t)&&(r=!0),this.statesByElement.has(t)&&(r=!0),this._fetchNamespace(e).elementContainsData(t)||r}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,r,n,i){let s=[];if(t){const t=this.playersByQueriedElement.get(e);t&&(s=t)}else{const t=this.playersByElement.get(e);if(t){const e=!i||i==tv;t.forEach(t=>{t.queued||(e||t.triggerName==n)&&s.push(t)})}}return(r||n)&&(s=s.filter(e=>!(r&&r!=e.namespaceId||n&&n!=e.triggerName))),s}_beforeAnimationBuild(e,t,r){const n=t.element,i=t.isRemovalTransition?void 0:e,s=t.isRemovalTransition?void 0:t.triggerName;for(const a of t.timelines){const e=a.element,o=e!==n,l=Dy(r,e,[]);this._getPreviousPlayers(e,o,i,s,t.toState).forEach(e=>{const t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),l.push(e)})}rb(n,t.fromStyles)}_buildAnimation(e,t,r,n,i,s){const a=t.triggerName,o=t.element,l=[],c=new Set,d=new Set,u=t.timelines.map(t=>{const u=t.element;c.add(u);const h=u.__ng_removed;if(h&&h.removedBeforeQueried)return new by(t.duration,t.delay);const f=u!==o,m=function(e){const t=[];return function e(t,r){for(let n=0;ne.getRealPlayer())).filter(e=>!!e.element&&e.element===u),p=i.get(u),_=s.get(u),g=My(0,this._normalizer,0,t.keyframes,p,_),y=this._buildPlayer(t,g,m);if(t.subTimeline&&n&&d.add(u),f){const t=new sv(e,a,u);t.setRealPlayer(y),l.push(t)}return y});l.forEach(e=>{Dy(this.playersByQueriedElement,e.element,[]).push(e),e.onDone(()=>function(e,t,r){let n;if(e instanceof Map){if(n=e.get(t),n){if(n.length){const e=n.indexOf(r);n.splice(e,1)}0==n.length&&e.delete(t)}}else if(n=e[t],n){if(n.length){const e=n.indexOf(r);n.splice(e,1)}0==n.length&&delete e[t]}return n}(this.playersByQueriedElement,e.element,e))}),c.forEach(e=>dv(e,Wy));const h=ky(u);return h.onDestroy(()=>{c.forEach(e=>uv(e,Wy)),tb(o,t.toStyles)}),d.forEach(e=>{Dy(n,e,[]).push(h)}),h}_buildPlayer(e,t,r){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,r):new by(e.duration,e.delay)}}class sv{constructor(e,t,r){this.namespaceId=e,this.triggerName=t,this.element=r,this._player=new by,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(t=>{this._queuedCallbacks[t].forEach(r=>Sy(e,t,void 0,r))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){Dy(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){const t=this._player;t.triggerCallback&&t.triggerCallback(e)}}function av(e){return e&&1===e.nodeType}function ov(e,t){const r=e.style.display;return e.style.display=null!=t?t:"none",r}function lv(e,t,r,n,i){const s=[];r.forEach(e=>s.push(ov(e)));const a=[];n.forEach((r,n)=>{const s={};r.forEach(e=>{const r=s[e]=t.computeStyle(n,e,i);r&&0!=r.length||(n.__ng_removed=Xb,a.push(n))}),e.set(n,s)});let o=0;return r.forEach(e=>ov(e,s[o++])),a}function cv(e,t){const r=new Map;if(e.forEach(e=>r.set(e,[])),0==t.length)return r;const n=new Set(t),i=new Map;return t.forEach(e=>{const t=function e(t){if(!t)return 1;let s=i.get(t);if(s)return s;const a=t.parentNode;return s=r.has(a)?a:n.has(a)?1:e(a),i.set(t,s),s}(e);1!==t&&r.get(t).push(e)}),r}function dv(e,t){if(e.classList)e.classList.add(t);else{let r=e.$$classes;r||(r=e.$$classes={}),r[t]=!0}}function uv(e,t){if(e.classList)e.classList.remove(t);else{let r=e.$$classes;r&&delete r[t]}}function hv(e,t,r){ky(r).onDone(()=>e.processLeaveNode(t))}function fv(e,t,r){const n=r.get(e);if(!n)return!1;let i=t.get(e);return i?n.forEach(e=>i.add(e)):t.set(e,n),r.delete(e),!0}class mv{constructor(e,t,r){this.bodyNode=e,this._driver=t,this._triggerCache={},this.onRemovalComplete=(e,t)=>{},this._transitionEngine=new iv(e,t,r),this._timelineEngine=new qb(e,t,r),this._transitionEngine.onRemovalComplete=(e,t)=>this.onRemovalComplete(e,t)}registerTrigger(e,t,r,n,i){const s=e+"-"+n;let a=this._triggerCache[s];if(!a){const e=[],t=vb(this._driver,i,e);if(e.length)throw new Error(`The animation trigger "${n}" has failed to build due to the following errors:\n - ${e.join("\n - ")}`);a=function(e,t){return new Vb(e,t)}(n,t),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(t,n,a)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,r,n){this._transitionEngine.insertNode(e,t,r,n)}onRemove(e,t,r,n){this._transitionEngine.removeNode(e,t,n||!1,r)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,r,n){if("@"==r.charAt(0)){const[e,i]=Ly(r);this._timelineEngine.command(e,t,i,n)}else this._transitionEngine.trigger(e,t,r,n)}listen(e,t,r,n,i){if("@"==r.charAt(0)){const[e,n]=Ly(r);return this._timelineEngine.listen(e,t,n,i)}return this._transitionEngine.listen(e,t,r,n,i)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function pv(e,t){let r=null,n=null;return Array.isArray(t)&&t.length?(r=gv(t[0]),t.length>1&&(n=gv(t[t.length-1]))):t&&(r=gv(t)),r||n?new _v(e,r,n):null}let _v=(()=>{class e{constructor(t,r,n){this._element=t,this._startStyles=r,this._endStyles=n,this._state=0;let i=e.initialStylesByElement.get(t);i||e.initialStylesByElement.set(t,i={}),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&tb(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(tb(this._element,this._initialStyles),this._endStyles&&(tb(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(rb(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(rb(this._element,this._endStyles),this._endStyles=null),tb(this._element,this._initialStyles),this._state=3)}}return e.initialStylesByElement=new WeakMap,e})();function gv(e){let t=null;const r=Object.keys(e);for(let n=0;nthis._handleCallback(e)}apply(){!function(e,t){const r=Dv(e,"").trim();r.length&&(function(e,t){let r=0;for(let n=0;n=this._delay&&r>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),xv(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(e,t){const r=Dv(e,"").split(","),n=Sv(r,t);n>=0&&(r.splice(n,1),Cv(e,"",r.join(",")))}(this._element,this._name))}}function kv(e,t,r){Cv(e,"PlayState",r,Mv(e,t))}function Mv(e,t){const r=Dv(e,"");return r.indexOf(",")>0?Sv(r.split(","),t):Sv([r],t)}function Sv(e,t){for(let r=0;r=0)return r;return-1}function xv(e,t,r){r?e.removeEventListener(vv,t):e.addEventListener(vv,t)}function Cv(e,t,r,n){const i=bv+t;if(null!=n){const t=e.style[i];if(t.length){const e=t.split(",");e[n]=r,r=e.join(",")}}e.style[i]=r}function Dv(e,t){return e.style[bv+t]}class Lv{constructor(e,t,r,n,i,s,a,o){this.element=e,this.keyframes=t,this.animationName=r,this._duration=n,this._delay=i,this._finalStyles=a,this._specialStyles=o,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=s||"linear",this.totalTime=n+i,this._buildStyler()}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(e=>e()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(e){this._styler.setPosition(e)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new wv(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}beforeDestroy(){this.init();const e={};if(this.hasStarted()){const t=this._state>=3;Object.keys(this._finalStyles).forEach(r=>{"offset"!=r&&(e[r]=t?this._finalStyles[r]:fb(this.element,r))})}this.currentSnapshot=e}}class Av extends by{constructor(e,t){super(),this.element=e,this._startingStyles={},this.__initialized=!1,this._styles=Hy(t)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(e=>{this._startingStyles[e]=this.element.style[e]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(e=>this.element.style.setProperty(e,this._styles[e])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(e=>{const t=this._startingStyles[e];t?this.element.style.setProperty(e,t):this.element.style.removeProperty(e)}),this._startingStyles=null,super.destroy())}}class Ev{constructor(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}validateStyleProperty(e){return Oy(e)}matchesElement(e,t){return Iy(e,t)}containsElement(e,t){return jy(e,t)}query(e,t,r){return Fy(e,t,r)}computeStyle(e,t,r){return window.getComputedStyle(e)[t]}buildKeyframeElement(e,t,r){r=r.map(e=>Hy(e));let n=`@keyframes ${t} {\n`,i="";r.forEach(e=>{i=" ";const t=parseFloat(e.offset);n+=`${i}${100*t}% {\n`,i+=" ",Object.keys(e).forEach(t=>{const r=e[t];switch(t){case"offset":return;case"easing":return void(r&&(n+=`${i}animation-timing-function: ${r};\n`));default:return void(n+=`${i}${t}: ${r};\n`)}}),n+=i+"}\n"}),n+="}\n";const s=document.createElement("style");return s.innerHTML=n,s}animate(e,t,r,n,i,s=[],a){a&&this._notifyFaultyScrubber();const o=s.filter(e=>e instanceof Lv),l={};db(r,n)&&o.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>l[e]=t[e])});const c=function(e){let t={};return e&&(Array.isArray(e)?e:[e]).forEach(e=>{Object.keys(e).forEach(r=>{"offset"!=r&&"easing"!=r&&(t[r]=e[r])})}),t}(t=ub(e,t,l));if(0==r)return new Av(e,c);const d="gen_css_kf_"+this._count++,u=this.buildKeyframeElement(e,d,t);document.querySelector("head").appendChild(u);const h=pv(e,t),f=new Lv(e,t,d,r,n,i,c,h);return f.onDestroy(()=>{var e;(e=u).parentNode.removeChild(e)}),f}_notifyFaultyScrubber(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)}}class Tv{constructor(e,t,r,n){this.element=e,this.keyframes=t,this.options=r,this._specialStyles=n,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(e,t,r){return e.animate(t,r)}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer.currentTime=e*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(t=>{"offset"!=t&&(e[t]=this._finished?this._finalKeyframe[t]:fb(this.element,t))}),this.currentSnapshot=e}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class Pv{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Yv().toString()),this._cssKeyframesDriver=new Ev}validateStyleProperty(e){return Oy(e)}matchesElement(e,t){return Iy(e,t)}containsElement(e,t){return jy(e,t)}query(e,t,r){return Fy(e,t,r)}computeStyle(e,t,r){return window.getComputedStyle(e)[t]}overrideWebAnimationsSupport(e){this._isNativeImpl=e}animate(e,t,r,n,i,s=[],a){if(!a&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,r,n,i,s);const o={duration:r,delay:n,fill:0==n?"both":"forwards"};i&&(o.easing=i);const l={},c=s.filter(e=>e instanceof Tv);db(r,n)&&c.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>l[e]=t[e])});const d=pv(e,t=ub(e,t=t.map(e=>Qy(e,!1)),l));return new Tv(e,t,o,d)}}function Yv(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}let Rv=(()=>{class e extends ay{constructor(e,t){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(t.body,{id:"0",encapsulation:dt.None,styles:[],data:{animation:[]}})}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const r=Array.isArray(e)?uy(e):e;return jv(this._renderer,null,t,"register",[r]),new Ov(t,this._renderer)}}return e.\u0275fac=function(t){return new(t||e)($e(Vo),$e(ld))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();class Ov extends class{}{constructor(e,t){super(),this._id=e,this._renderer=t}create(e,t){return new Iv(this._id,e,t||{},this._renderer)}}class Iv{constructor(e,t,r,n){this.id=e,this.element=t,this._renderer=n,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",r)}_listen(e,t){return this._renderer.listen(this.element,`@@${this.id}:${e}`,t)}_command(e,...t){return jv(this._renderer,this.element,this.id,e,t)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset")}setPosition(e){this._command("setPosition",e)}getPosition(){return 0}}function jv(e,t,r,n,i){return e.setProperty(t,`@@${r}:${n}`,i)}const Fv="@",Hv="@.disabled";let Nv=(()=>{class e{constructor(e,t,r){this.delegate=e,this.engine=t,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),t.onRemovalComplete=(e,t)=>{t&&t.parentNode(e)&&t.removeChild(e.parentNode,e)}}createRenderer(e,t){const r=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let e=this._rendererCache.get(r);return e||(e=new Bv("",r,this.engine),this._rendererCache.set(r,e)),e}const n=t.id,i=t.id+"-"+this._currentId;this._currentId++,this.engine.register(i,e);const s=t=>{Array.isArray(t)?t.forEach(s):this.engine.registerTrigger(n,i,e,t.name,t)};return t.data.animation.forEach(s),new zv(this,i,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,r){e>=0&&et(r)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(e=>{const[t,r]=e;t(r)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,r]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return e.\u0275fac=function(t){return new(t||e)($e(Vo),$e(mv),$e(Ec))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();class Bv{constructor(e,t,r){this.namespaceId=e,this.delegate=t,this.engine=r,this.destroyNode=this.delegate.destroyNode?e=>t.destroyNode(e):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,r){this.delegate.insertBefore(e,t,r),this.engine.onInsert(this.namespaceId,t,e,!0)}removeChild(e,t,r){this.engine.onRemove(this.namespaceId,t,this.delegate,r)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,r,n){this.delegate.setAttribute(e,t,r,n)}removeAttribute(e,t,r){this.delegate.removeAttribute(e,t,r)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,r,n){this.delegate.setStyle(e,t,r,n)}removeStyle(e,t,r){this.delegate.removeStyle(e,t,r)}setProperty(e,t,r){t.charAt(0)==Fv&&t==Hv?this.disableAnimations(e,!!r):this.delegate.setProperty(e,t,r)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,r){return this.delegate.listen(e,t,r)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class zv extends Bv{constructor(e,t,r,n){super(t,r,n),this.factory=e,this.namespaceId=t}setProperty(e,t,r){t.charAt(0)==Fv?"."==t.charAt(1)&&t==Hv?this.disableAnimations(e,r=void 0===r||!!r):this.engine.process(this.namespaceId,e,t.substr(1),r):this.delegate.setProperty(e,t,r)}listen(e,t,r){if(t.charAt(0)==Fv){const n=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e);let i=t.substr(1),s="";return i.charAt(0)!=Fv&&([i,s]=function(e){const t=e.indexOf(".");return[e.substring(0,t),e.substr(t+1)]}(i)),this.engine.listen(this.namespaceId,n,i,s,e=>{this.factory.scheduleListenerCallback(e._data||-1,r,e)})}return this.delegate.listen(e,t,r)}}let Uv=(()=>{class e extends mv{constructor(e,t,r){super(e.body,t,r)}}return e.\u0275fac=function(t){return new(t||e)($e(ld),$e(By),$e(jb))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();const Vv=new Fe("AnimationModuleType"),Kv=[{provide:By,useFactory:function(){return"function"==typeof Yv()?new Pv:new Ev}},{provide:Vv,useValue:"BrowserAnimations"},{provide:ay,useClass:Rv},{provide:jb,useFactory:function(){return new Fb}},{provide:mv,useClass:Uv},{provide:Vo,useFactory:function(e,t,r){return new Nv(e,t,r)},deps:[Vu,mv,Ec]}];let Wv,qv=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:Kv,imports:[ih]}),e})();try{Wv="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(RI){Wv=!1}let Gv,$v=(()=>{class e{constructor(e){this._platformId=e,this.isBrowser=this._platformId?Su(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!Wv)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return e.\u0275fac=function(t){return new(t||e)($e(pc))},e.\u0275prov=de({factory:function(){return new e($e(pc))},token:e,providedIn:"root"}),e})(),Zv=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)}}),e})();const Jv=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Qv(){if(Gv)return Gv;if("object"!=typeof document||!document)return Gv=new Set(Jv),Gv;let e=document.createElement("input");return Gv=new Set(Jv.filter(t=>(e.setAttribute("type",t),e.type===t))),Gv}let Xv,ew,tw,rw;function nw(e){return function(){if(null==Xv&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Xv=!0}))}finally{Xv=Xv||!1}return Xv}()?e:!!e.capture}function iw(){if("object"!=typeof document||!document)return 0;if(null==ew){const e=document.createElement("div"),t=e.style;e.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";const r=document.createElement("div"),n=r.style;n.width="2px",n.height="1px",e.appendChild(r),document.body.appendChild(e),ew=0,0===e.scrollLeft&&(e.scrollLeft=1,ew=0===e.scrollLeft?1:2),e.parentNode.removeChild(e)}return ew}const sw=13,aw=27,ow=32,lw=37,cw=38,dw=39,uw=40;function hw(e,...t){return t.length?t.some(t=>e[t]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}class fw extends u{constructor(e,t){super()}schedule(e,t=0){return this}}class mw extends fw{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){if(this.closed)return this;this.state=e;const r=this.id,n=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(n,r,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(n,this.id,t),this}requestAsyncId(e,t,r=0){return setInterval(e.flush.bind(e,this),r)}recycleAsyncId(e,t,r=0){if(null!==r&&this.delay===r&&!1===this.pending)return t;clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(e,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let r=!1,n=void 0;try{this.work(e)}catch(i){r=!0,n=!!i&&i||new Error(i)}if(r)return this.unsubscribe(),n}_unsubscribe(){const e=this.id,t=this.scheduler,r=t.actions,n=r.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==n&&r.splice(n,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}let pw=(()=>{class e{constructor(t,r=e.now){this.SchedulerAction=t,this.now=r}schedule(e,t=0,r){return new this.SchedulerAction(this,e).schedule(r,t)}}return e.now=()=>Date.now(),e})();class _w extends pw{constructor(e,t=pw.now){super(e,()=>_w.delegate&&_w.delegate!==this?_w.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,r){return _w.delegate&&_w.delegate!==this?_w.delegate.schedule(e,t,r):super.schedule(e,t,r)}flush(e){const{actions:t}=this;if(this.active)return void t.push(e);let r;this.active=!0;do{if(r=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,r){for(;e=t.shift();)e.unsubscribe();throw r}}}const gw=new _w(mw);function yw(e,t=gw){return r=>r.lift(new bw(e,t))}class bw{constructor(e,t){this.dueTime=e,this.scheduler=t}call(e,t){return t.subscribe(new vw(e,this.dueTime,this.scheduler))}}class vw extends m{constructor(e,t,r){super(e),this.dueTime=t,this.scheduler=r,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(ww,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:e}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}clearDebounce(){const e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}function ww(e){e.debouncedNext()}function kw(e){return null!=e&&""+e!="false"}function Mw(e,t=0){return Sw(e)?Number(e):t}function Sw(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function xw(e){return Array.isArray(e)?e:[e]}function Cw(e){return null==e?"":"string"==typeof e?e:e+"px"}function Dw(e){return e instanceof zo?e.nativeElement:e}let Lw=(()=>{class e{create(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=de({factory:function(){return new e},token:e,providedIn:"root"}),e})(),Aw=(()=>{class e{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,t)=>this._cleanupObserver(t))}observe(e){const t=Dw(e);return new y(e=>{const r=this._observeElement(t).subscribe(e);return()=>{r.unsubscribe(),this._unobserveElement(t)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const t=new M,r=this._mutationObserverFactory.create(e=>t.next(e));r&&r.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:r,stream:t,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:t,stream:r}=this._observedElements.get(e);t&&t.disconnect(),r.complete(),this._observedElements.delete(e)}}}return e.\u0275fac=function(t){return new(t||e)($e(Lw))},e.\u0275prov=de({factory:function(){return new e($e(Lw))},token:e,providedIn:"root"}),e})(),Ew=(()=>{class e{constructor(e,t,r){this._contentObserver=e,this._elementRef=t,this._ngZone=r,this.event=new Bl,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=kw(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=Mw(e),this._subscribe()}ngAfterContentInit(){this._currentSubscription||this.disabled||this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(yw(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){this._currentSubscription&&this._currentSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(Ra(Aw),Ra(zo),Ra(Ec))},e.\u0275dir=vt({type:e,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),e})(),Tw=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[Lw]}),e})();function Pw(e,t){return(e.getAttribute(t)||"").match(/\S+/g)||[]}const Yw="cdk-describedby-message-container",Rw="cdk-describedby-host";let Ow=0;const Iw=new Map;let jw=null,Fw=(()=>{class e{constructor(e,t){this._platform=t,this._document=e}describe(e,t){this._canBeDescribed(e,t)&&("string"!=typeof t?(this._setMessageId(t),Iw.set(t,{messageElement:t,referenceCount:0})):Iw.has(t)||this._createMessageElement(t),this._isElementDescribedByMessage(e,t)||this._addMessageReference(e,t))}removeDescription(e,t){if(t&&this._isElementNode(e)){if(this._isElementDescribedByMessage(e,t)&&this._removeMessageReference(e,t),"string"==typeof t){const e=Iw.get(t);e&&0===e.referenceCount&&this._deleteMessageElement(t)}jw&&0===jw.childNodes.length&&this._deleteMessagesContainer()}}ngOnDestroy(){const e=this._document.querySelectorAll("[cdk-describedby-host]");for(let t=0;t0!=e.indexOf("cdk-describedby-message"));e.setAttribute("aria-describedby",t.join(" "))}_addMessageReference(e,t){const r=Iw.get(t);!function(e,t,r){const n=Pw(e,t);n.some(e=>e.trim()==r.trim())||(n.push(r.trim()),e.setAttribute(t,n.join(" ")))}(e,"aria-describedby",r.messageElement.id),e.setAttribute(Rw,""),r.referenceCount++}_removeMessageReference(e,t){const r=Iw.get(t);r.referenceCount--,function(e,t,r){const n=Pw(e,t).filter(e=>e!=r.trim());n.length?e.setAttribute(t,n.join(" ")):e.removeAttribute(t)}(e,"aria-describedby",r.messageElement.id),e.removeAttribute(Rw)}_isElementDescribedByMessage(e,t){const r=Pw(e,"aria-describedby"),n=Iw.get(t),i=n&&n.messageElement.id;return!!i&&-1!=r.indexOf(i)}_canBeDescribed(e,t){if(!this._isElementNode(e))return!1;if(t&&"object"==typeof t)return!0;const r=null==t?"":(""+t).trim(),n=e.getAttribute("aria-label");return!(!r||n&&n.trim()===r)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return e.\u0275fac=function(t){return new(t||e)($e(ld),$e($v))},e.\u0275prov=de({factory:function(){return new e($e(ld),$e($v))},token:e,providedIn:"root"}),e})();class Hw{constructor(e){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new M,this._typeaheadSubscription=u.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new M,this.change=new M,e instanceof Ul&&e.changes.subscribe(e=>{if(this._activeItem){const t=e.toArray().indexOf(this._activeItem);t>-1&&t!==this._activeItemIndex&&(this._activeItemIndex=t)}})}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe($h(e=>this._pressedLetters.push(e)),yw(e),bh(()=>this._pressedLetters.length>0),C(()=>this._pressedLetters.join(""))).subscribe(e=>{const t=this._getItemsArray();for(let r=1;r!e[t]||this._allowedModifierKeys.indexOf(t)>-1);switch(t){case 9:return void this.tabOut.next();case uw:if(this._vertical&&r){this.setNextItemActive();break}return;case cw:if(this._vertical&&r){this.setPreviousItemActive();break}return;case dw:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case lw:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}return;default:return void((r||hw(e,"shiftKey"))&&(e.key&&1===e.key.length?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(t>=65&&t<=90||t>=48&&t<=57)&&this._letterKeyStream.next(String.fromCharCode(t))))}this._pressedLetters=[],e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){const t=this._getItemsArray(),r="number"==typeof e?e:t.indexOf(e),n=t[r];this._activeItem=null==n?null:n,this._activeItemIndex=r}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){const t=this._getItemsArray();for(let r=1;r<=t.length;r++){const n=(this._activeItemIndex+e*r+t.length)%t.length;if(!this._skipPredicateFn(t[n]))return void this.setActiveItem(n)}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,t){const r=this._getItemsArray();if(r[e]){for(;this._skipPredicateFn(r[e]);)if(!r[e+=t])return;this.setActiveItem(e)}}_getItemsArray(){return this._items instanceof Ul?this._items.toArray():this._items}}class Nw extends Hw{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}}class Bw extends Hw{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(e){return this._origin=e,this}setActiveItem(e){super.setActiveItem(e),this.activeItem&&this.activeItem.focus(this._origin)}}let zw=(()=>{class e{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const t=function(e){try{return e.frameElement}catch(RI){return null}}((r=e).ownerDocument&&r.ownerDocument.defaultView||window);var r;if(t){if(-1===Vw(t))return!1;if(!this.isVisible(t))return!1}let n=e.nodeName.toLowerCase(),i=Vw(e);return e.hasAttribute("contenteditable")?-1!==i:"iframe"!==n&&"object"!==n&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(e){let t=e.nodeName.toLowerCase(),r="input"===t&&e.type;return"text"===r||"password"===r||"select"===t||"textarea"===t}(e))&&("audio"===n?!!e.hasAttribute("controls")&&-1!==i:"video"===n?-1!==i&&(null!==i||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,t){return function(e){return!function(e){return function(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e)&&(function(e){let t=e.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(e)||function(e){return function(e){return"a"==e.nodeName.toLowerCase()}(e)&&e.hasAttribute("href")}(e)||e.hasAttribute("contenteditable")||Uw(e))}(e)&&!this.isDisabled(e)&&((null==t?void 0:t.ignoreVisibility)||this.isVisible(e))}}return e.\u0275fac=function(t){return new(t||e)($e($v))},e.\u0275prov=de({factory:function(){return new e($e($v))},token:e,providedIn:"root"}),e})();function Uw(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;let t=e.getAttribute("tabindex");return"-32768"!=t&&!(!t||isNaN(parseInt(t,10)))}function Vw(e){if(!Uw(e))return null;const t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}class Kw{constructor(e,t,r,n,i=!1){this._element=e,this._checker=t,this._ngZone=r,this._document=n,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,i||this.attachAnchors()}get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}destroy(){const e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),t&&(t.removeEventListener("focus",this.endAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement()))})}focusFirstTabbableElementWhenReady(){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement()))})}focusLastTabbableElementWhenReady(){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement()))})}_getRegionBoundary(e){let t=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);for(let r=0;r=0;r--){let e=t[r].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[r]):null;if(e)return e}return null}_createAnchor(){const e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._ngZone.isStable?e():this._ngZone.onStable.pipe(Ih(1)).subscribe(e)}}let Ww=(()=>{class e{constructor(e,t,r){this._checker=e,this._ngZone=t,this._document=r}create(e,t=!1){return new Kw(e,this._checker,this._ngZone,this._document,t)}}return e.\u0275fac=function(t){return new(t||e)($e(zw),$e(Ec),$e(ld))},e.\u0275prov=de({factory:function(){return new e($e(zw),$e(Ec),$e(ld))},token:e,providedIn:"root"}),e})(),qw=(()=>{class e{constructor(e,t,r){this._elementRef=e,this._focusTrapFactory=t,this._previouslyFocusedElement=null,this._document=r,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(e){this.focusTrap.enabled=kw(e)}get autoCapture(){return this._autoCapture}set autoCapture(e){this._autoCapture=kw(e)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(e){const t=e.autoCapture;t&&!t.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady()}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(Ww),Ra(ld))},e.\u0275dir=vt({type:e,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[Ot]}),e})();"undefined"!=typeof Element&∈const Gw=new Fe("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),$w=new Fe("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Zw=(()=>{class e{constructor(e,t,r,n){this._ngZone=t,this._defaultOptions=n,this._document=r,this._liveElement=e||this._createLiveElement()}announce(e,...t){const r=this._defaultOptions;let n,i;return 1===t.length&&"number"==typeof t[0]?i=t[0]:[n,i]=t,this.clear(),clearTimeout(this._previousTimeout),n||(n=r&&r.politeness?r.politeness:"polite"),null==i&&r&&(i=r.duration),this._liveElement.setAttribute("aria-live",n),this._ngZone.runOutsideAngular(()=>new Promise(t=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,t(),"number"==typeof i&&(this._previousTimeout=setTimeout(()=>this.clear(),i))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}_createLiveElement(){const e="cdk-live-announcer-element",t=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let n=0;n{class e{constructor(e,t,r,n){this._elementRef=e,this._liveAnnouncer=t,this._contentObserver=r,this._ngZone=n,this._politeness="polite"}get politeness(){return this._politeness}set politeness(e){this._politeness="off"===e||"assertive"===e?e:"polite","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(()=>this._contentObserver.observe(this._elementRef).subscribe(()=>{const e=this._elementRef.nativeElement.textContent;e!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(e,this._politeness),this._previousAnnouncedText=e)})))}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(Zw),Ra(Aw),Ra(Ec))},e.\u0275dir=vt({type:e,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]}),e})();function Qw(e){return 0===e.buttons}const Xw=new Fe("cdk-focus-monitor-default-options"),ek=nw({passive:!0,capture:!0});let tk=(()=>{class e{constructor(e,t,r,n){this._ngZone=e,this._platform=t,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._documentKeydownListener=()=>{this._lastTouchTarget=null,this._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=e=>{if(!this._lastTouchTarget){const t=Qw(e)?"keyboard":"mouse";this._setOriginForCurrentEventQueue(t)}},this._documentTouchstartListener=e=>{null!=this._touchTimeoutId&&clearTimeout(this._touchTimeoutId),this._lastTouchTarget=rk(e),this._touchTimeoutId=setTimeout(()=>this._lastTouchTarget=null,650)},this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)},this._rootNodeFocusAndBlurListener=e=>{const t=rk(e),r="focus"===e.type?this._onFocus:this._onBlur;for(let n=t;n;n=n.parentElement)r.call(this,e,n)},this._document=r,this._detectionMode=(null==n?void 0:n.detectionMode)||0}monitor(e,t=!1){const r=Dw(e);if(!this._platform.isBrowser||1!==r.nodeType)return sh(null);const n=function(e){if(function(){if(null==rw){const e="undefined"!=typeof document?document.head:null;rw=!(!e||!e.createShadowRoot&&!e.attachShadow)}return rw}()){const t=e.getRootNode?e.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}(r)||this._getDocument(),i=this._elementInfo.get(r);if(i)return t&&(i.checkChildren=!0),i.subject;const s={checkChildren:t,subject:new M,rootNode:n};return this._elementInfo.set(r,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(e){const t=Dw(e),r=this._elementInfo.get(t);r&&(r.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(r))}focusVia(e,t,r){const n=Dw(e);this._setOriginForCurrentEventQueue(t),"function"==typeof n.focus&&n.focus(r)}ngOnDestroy(){this._elementInfo.forEach((e,t)=>this.stopMonitoring(t))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_toggleClass(e,t,r){r?e.classList.add(t):e.classList.remove(t)}_getFocusOrigin(e){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(e)?"touch":"program"}_setClasses(e,t){this._toggleClass(e,"cdk-focused",!!t),this._toggleClass(e,"cdk-touch-focused","touch"===t),this._toggleClass(e,"cdk-keyboard-focused","keyboard"===t),this._toggleClass(e,"cdk-mouse-focused","mouse"===t),this._toggleClass(e,"cdk-program-focused","program"===t)}_setOriginForCurrentEventQueue(e){this._ngZone.runOutsideAngular(()=>{this._origin=e,0===this._detectionMode&&(this._originTimeoutId=setTimeout(()=>this._origin=null,1))})}_wasCausedByTouch(e){const t=rk(e);return this._lastTouchTarget instanceof Node&&t instanceof Node&&(t===this._lastTouchTarget||t.contains(this._lastTouchTarget))}_onFocus(e,t){const r=this._elementInfo.get(t);if(!r||!r.checkChildren&&t!==rk(e))return;const n=this._getFocusOrigin(e);this._setClasses(t,n),this._emitOrigin(r.subject,n),this._lastFocusOrigin=n}_onBlur(e,t){const r=this._elementInfo.get(t);!r||r.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(r.subject,null))}_emitOrigin(e,t){this._ngZone.run(()=>e.next(t))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const t=e.rootNode,r=this._rootNodeFocusListenerCount.get(t)||0;r||this._ngZone.runOutsideAngular(()=>{t.addEventListener("focus",this._rootNodeFocusAndBlurListener,ek),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,ek)}),this._rootNodeFocusListenerCount.set(t,r+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular(()=>{const e=this._getDocument(),t=this._getWindow();e.addEventListener("keydown",this._documentKeydownListener,ek),e.addEventListener("mousedown",this._documentMousedownListener,ek),e.addEventListener("touchstart",this._documentTouchstartListener,ek),t.addEventListener("focus",this._windowFocusListener)})}_removeGlobalListeners(e){const t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){const e=this._rootNodeFocusListenerCount.get(t);e>1?this._rootNodeFocusListenerCount.set(t,e-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,ek),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,ek),this._rootNodeFocusListenerCount.delete(t))}if(!--this._monitoredElementCount){const e=this._getDocument(),t=this._getWindow();e.removeEventListener("keydown",this._documentKeydownListener,ek),e.removeEventListener("mousedown",this._documentMousedownListener,ek),e.removeEventListener("touchstart",this._documentTouchstartListener,ek),t.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}}return e.\u0275fac=function(t){return new(t||e)($e(Ec),$e($v),$e(ld,8),$e(Xw,8))},e.\u0275prov=de({factory:function(){return new e($e(Ec),$e($v),$e(ld,8),$e(Xw,8))},token:e,providedIn:"root"}),e})();function rk(e){return e.composedPath?e.composedPath()[0]:e.target}let nk=(()=>{class e{constructor(e,t){this._elementRef=e,this._focusMonitor=t,this.cdkFocusChange=new Bl}ngAfterViewInit(){const e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,1===e.nodeType&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(e=>this.cdkFocusChange.emit(e))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(tk))},e.\u0275dir=vt({type:e,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),e})();const ik="cdk-high-contrast-black-on-white",sk="cdk-high-contrast-white-on-black",ak="cdk-high-contrast-active";let ok=(()=>{class e{constructor(e,t){this._platform=e,this._document=t}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const t=this._document.defaultView||window,r=t&&t.getComputedStyle?t.getComputedStyle(e):null,n=(r&&r.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(e),n){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(ak),e.remove(ik),e.remove(sk);const t=this.getHighContrastMode();1===t?(e.add(ak),e.add(ik)):2===t&&(e.add(ak),e.add(sk))}}}return e.\u0275fac=function(t){return new(t||e)($e($v),$e(ld))},e.\u0275prov=de({factory:function(){return new e($e($v),$e(ld))},token:e,providedIn:"root"}),e})(),lk=(()=>{class e{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)($e(ok))},imports:[[Zv,Tw]]}),e})();const ck=new Fe("cdk-dir-doc",{providedIn:"root",factory:function(){return Ze(ld)}});let dk=(()=>{class e{constructor(e){if(this.value="ltr",this.change=new Bl,e){const t=e.documentElement?e.documentElement.dir:null,r=(e.body?e.body.dir:null)||t;this.value="ltr"===r||"rtl"===r?r:"ltr"}}ngOnDestroy(){this.change.complete()}}return e.\u0275fac=function(t){return new(t||e)($e(ck,8))},e.\u0275prov=de({factory:function(){return new e($e(ck,8))},token:e,providedIn:"root"}),e})(),uk=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)}}),e})();const hk=new $o("10.2.4");function fk(e,t){if(1&e&&Na(0,"mat-pseudo-checkbox",3),2&e){const e=Qa();Ia("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}const mk=["*"];let pk=(()=>{class e{}return e.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",e.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",e.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",e.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",e})(),_k=(()=>{class e{}return e.COMPLEX="375ms",e.ENTERING="225ms",e.EXITING="195ms",e})();const gk=new $o("10.2.4"),yk=new Fe("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let bk=(()=>{class e{constructor(e,t,r){this._hasDoneGlobalChecks=!1,this._document=r,e._applyBodyHighContrastModeCssClasses(),this._sanityChecks=t,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_getDocument(){const e=this._document||document;return"object"==typeof e&&e?e:null}_getWindow(){const e=this._getDocument(),t=(null==e?void 0:e.defaultView)||window;return"object"==typeof t&&t?t:null}_checksAreEnabled(){return In()&&!this._isTestEnv()}_isTestEnv(){const e=this._getWindow();return e&&(e.__karma__||e.jasmine)}_checkDoctypeIsDefined(){const e=this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype),t=this._getDocument();e&&t&&!t.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){const e=!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme,t=this._getDocument();if(e||!t||!t.body||"function"!=typeof getComputedStyle)return;const r=t.createElement("div");r.classList.add("mat-theme-loaded-marker"),t.body.appendChild(r);const n=getComputedStyle(r);n&&"none"!==n.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),t.body.removeChild(r)}_checkCdkVersionMatch(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&gk.full!==hk.full&&console.warn("The Angular Material version ("+gk.full+") does not match the Angular CDK version ("+hk.full+").\nPlease ensure the versions of these two packages exactly match.")}}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)($e(ok),$e(yk,8),$e(ld,8))},imports:[[uk],uk]}),e})();function vk(e){return class extends e{constructor(...e){super(...e),this._disabled=!1}get disabled(){return this._disabled}set disabled(e){this._disabled=kw(e)}}}function wk(e,t){return class extends e{constructor(...e){super(...e),this.defaultColor=t,this.color=t}get color(){return this._color}set color(e){const t=e||this.defaultColor;t!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-"+this._color),t&&this._elementRef.nativeElement.classList.add("mat-"+t),this._color=t)}}}function kk(e){return class extends e{constructor(...e){super(...e),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=kw(e)}}}function Mk(e,t=0){return class extends e{constructor(...e){super(...e),this._tabIndex=t,this.defaultTabIndex=t}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?Mw(e):this.defaultTabIndex}}}function Sk(e){return class extends e{constructor(...e){super(...e),this.errorState=!1,this.stateChanges=new M}updateErrorState(){const e=this.errorState,t=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);t!==e&&(this.errorState=t,this.stateChanges.next())}}}function xk(e){return class extends e{constructor(...e){super(...e),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new y(e=>{this._isInitialized?this._notifySubscriber(e):this._pendingSubscribers.push(e)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(e){e.next(),e.complete()}}}const Ck=new Fe("MAT_DATE_LOCALE",{providedIn:"root",factory:function(){return Ze(yc)}});class Dk{constructor(){this._localeChanges=new M,this.localeChanges=this._localeChanges}getValidDateOrNull(e){return this.isDateInstance(e)&&this.isValid(e)?e:null}deserialize(e){return null==e||this.isDateInstance(e)&&this.isValid(e)?e:this.invalid()}setLocale(e){this.locale=e,this._localeChanges.next()}compareDate(e,t){return this.getYear(e)-this.getYear(t)||this.getMonth(e)-this.getMonth(t)||this.getDate(e)-this.getDate(t)}sameDate(e,t){if(e&&t){let r=this.isValid(e),n=this.isValid(t);return r&&n?!this.compareDate(e,t):r==n}return e==t}clampDate(e,t,r){return t&&this.compareDate(e,t)<0?t:r&&this.compareDate(e,r)>0?r:e}}const Lk=new Fe("mat-date-formats");let Ak;try{Ak="undefined"!=typeof Intl}catch(RI){Ak=!1}let Ek=(()=>{class e{isErrorState(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=de({factory:function(){return new e},token:e,providedIn:"root"}),e})(),Tk=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=vt({type:e,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),e})();function Pk(e,t,r){const n=e.nativeElement.classList;r?n.add(t):n.remove(t)}let Yk=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[bk],bk]}),e})();class Rk{constructor(e,t,r){this._renderer=e,this.element=t,this.config=r,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Ok={enterDuration:450,exitDuration:400},Ik=nw({passive:!0}),jk=["mousedown","touchstart"],Fk=["mouseup","mouseleave","touchend","touchcancel"];class Hk{constructor(e,t,r,n){this._target=e,this._ngZone=t,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,n.isBrowser&&(this._containerElement=Dw(r))}fadeInRipple(e,t,r={}){const n=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),i=Object.assign(Object.assign({},Ok),r.animation);r.centered&&(e=n.left+n.width/2,t=n.top+n.height/2);const s=r.radius||function(e,t,r){const n=Math.max(Math.abs(e-r.left),Math.abs(e-r.right)),i=Math.max(Math.abs(t-r.top),Math.abs(t-r.bottom));return Math.sqrt(n*n+i*i)}(e,t,n),a=e-n.left,o=t-n.top,l=i.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=a-s+"px",c.style.top=o-s+"px",c.style.height=2*s+"px",c.style.width=2*s+"px",null!=r.color&&(c.style.backgroundColor=r.color),c.style.transitionDuration=l+"ms",this._containerElement.appendChild(c),window.getComputedStyle(c).getPropertyValue("opacity"),c.style.transform="scale(1)";const d=new Rk(this,c,r);return d.state=0,this._activeRipples.add(d),r.persistent||(this._mostRecentTransientRipple=d),this._runTimeoutOutsideZone(()=>{const e=d===this._mostRecentTransientRipple;d.state=1,r.persistent||e&&this._isPointerDown||d.fadeOut()},l),d}fadeOutRipple(e){const t=this._activeRipples.delete(e);if(e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!t)return;const r=e.element,n=Object.assign(Object.assign({},Ok),e.config.animation);r.style.transitionDuration=n.exitDuration+"ms",r.style.opacity="0",e.state=2,this._runTimeoutOutsideZone(()=>{e.state=3,r.parentNode.removeChild(r)},n.exitDuration)}fadeOutAll(){this._activeRipples.forEach(e=>e.fadeOut())}setupTriggerEvents(e){const t=Dw(e);t&&t!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=t,this._registerEvents(jk))}handleEvent(e){"mousedown"===e.type?this._onMousedown(e):"touchstart"===e.type?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(Fk),this._pointerUpEventsRegistered=!0)}_onMousedown(e){const t=Qw(e),r=this._lastTouchStartEvent&&Date.now(){!e.config.persistent&&(1===e.state||e.config.terminateOnPointerUp&&0===e.state)&&e.fadeOut()}))}_runTimeoutOutsideZone(e,t=0){this._ngZone.runOutsideAngular(()=>setTimeout(e,t))}_registerEvents(e){this._ngZone.runOutsideAngular(()=>{e.forEach(e=>{this._triggerElement.addEventListener(e,this,Ik)})})}_removeTriggerEvents(){this._triggerElement&&(jk.forEach(e=>{this._triggerElement.removeEventListener(e,this,Ik)}),this._pointerUpEventsRegistered&&Fk.forEach(e=>{this._triggerElement.removeEventListener(e,this,Ik)}))}}const Nk=new Fe("mat-ripple-global-options");let Bk=(()=>{class e{constructor(e,t,r,n,i){this._elementRef=e,this._animationMode=i,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=n||{},this._rippleRenderer=new Hk(this,t,e,r)}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,t=0,r){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,t,Object.assign(Object.assign({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),e))}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(Ec),Ra($v),Ra(Nk,8),Ra(Vv,8))},e.\u0275dir=vt({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&fo("mat-ripple-unbounded",t.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),e})(),zk=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[bk,Zv],bk]}),e})(),Uk=(()=>{class e{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1}}return e.\u0275fac=function(t){return new(t||e)(Ra(Vv,8))},e.\u0275cmp=mt({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,t){2&e&&fo("mat-pseudo-checkbox-indeterminate","indeterminate"===t.state)("mat-pseudo-checkbox-checked","checked"===t.state)("mat-pseudo-checkbox-disabled",t.disabled)("_mat-animation-noopable","NoopAnimations"===t._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,t){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),e})(),Vk=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)}}),e})();class Kk{}const Wk=vk(Kk);let qk=0,Gk=(()=>{class e extends Wk{constructor(){super(...arguments),this._labelId="mat-optgroup-label-"+qk++}}return e.\u0275fac=function(t){return $k(t||e)},e.\u0275dir=vt({type:e,inputs:{label:"label"},features:[ga]}),e})();const $k=vn(Gk),Zk=new Fe("MatOptgroup");let Jk=0;class Qk{constructor(e,t=!1){this.source=e,this.isUserInput=t}}const Xk=new Fe("MAT_OPTION_PARENT_COMPONENT");let eM=(()=>{class e{constructor(e,t,r,n){this._element=e,this._changeDetectorRef=t,this._parent=r,this.group=n,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Jk++,this.onSelectionChange=new Bl,this._stateChanges=new M}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=kw(e)}get disableRipple(){return this._parent&&this._parent.disableRipple}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(e,t){const r=this._getHostElement();"function"==typeof r.focus&&r.focus(t)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){e.keyCode!==sw&&e.keyCode!==ow||hw(e)||(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new Qk(this,e))}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(Zs),Ra(void 0),Ra(Gk))},e.\u0275dir=vt({type:e,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),e})(),tM=(()=>{class e extends eM{constructor(e,t,r,n){super(e,t,r,n)}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(Zs),Ra(Xk,8),Ra(Zk,8))},e.\u0275cmp=mt({type:e,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,t){1&e&&qa("click",(function(){return t._selectViaInteraction()}))("keydown",(function(e){return t._handleKeydown(e)})),2&e&&(Ao("id",t.id),Ea("tabindex",t._getTabIndex())("aria-selected",t._getAriaSelected())("aria-disabled",t.disabled.toString()),fo("mat-selected",t.selected)("mat-option-multiple",t.multiple)("mat-active",t.active)("mat-option-disabled",t.disabled))},exportAs:["matOption"],features:[ga],ngContentSelectors:mk,decls:4,vars:3,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"]],template:function(e,t){1&e&&(eo(),Pa(0,fk,1,2,"mat-pseudo-checkbox",0),Fa(1,"span",1),to(2),Ha(),Na(3,"div",2)),2&e&&(Ia("ngIf",t.multiple),Li(3),Ia("matRippleTrigger",t._getHostElement())("matRippleDisabled",t.disabled||t.disableRipple))},directives:[au,Bk,Uk],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.cdk-high-contrast-active .mat-option .mat-option-ripple{opacity:.5}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),e})();function rM(e,t,r){if(r.length){let n=t.toArray(),i=r.toArray(),s=0;for(let t=0;t{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[zk,Mu,Vk]]}),e})();const iM=new Fe("mat-label-global-options"),sM=["*",[["mat-card-footer"]]],aM=["*","mat-card-footer"],oM=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],lM=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"];let cM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=vt({type:e,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),e})(),dM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=vt({type:e,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),e})(),uM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=vt({type:e,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-card-subtitle"]}),e})(),hM=(()=>{class e{constructor(){this.align="start"}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=vt({type:e,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-card-actions"],hostVars:2,hostBindings:function(e,t){2&e&&fo("mat-card-actions-align-end","end"===t.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),e})(),fM=(()=>{class e{constructor(e){this._animationMode=e}}return e.\u0275fac=function(t){return new(t||e)(Ra(Vv,8))},e.\u0275cmp=mt({type:e,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(e,t){2&e&&fo("_mat-animation-noopable","NoopAnimations"===t._animationMode)},exportAs:["matCard"],ngContentSelectors:aM,decls:2,vars:0,template:function(e,t){1&e&&(eo(sM),to(0),to(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child,.mat-card-actions .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"],encapsulation:2,changeDetection:0}),e})(),mM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=mt({type:e,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:lM,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(e,t){1&e&&(eo(oM),to(0),Fa(1,"div",0),to(2,1),Ha(),to(3,2))},encapsulation:2,changeDetection:0}),e})(),pM=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[bk],bk]}),e})();function _M(e,t,r,i){return n(r)&&(i=r,r=void 0),i?_M(e,t,r).pipe(C(e=>l(e)?i(...e):i(e))):new y(n=>{!function e(t,r,n,i,s){let a;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(t)){const e=t;t.addEventListener(r,n,s),a=()=>e.removeEventListener(r,n,s)}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(t)){const e=t;t.on(r,n),a=()=>e.off(r,n)}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(t)){const e=t;t.addListener(r,n),a=()=>e.removeListener(r,n)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let a=0,o=t.length;a1?Array.prototype.slice.call(arguments):e)}),n,r)})}function gM(e){return t=>t.lift(new yM(e))}class yM{constructor(e){this.notifier=e}call(e,t){const r=new bM(e),n=H(this.notifier,new j(r));return n&&!r.seenValue?(r.add(n),t.subscribe(r)):r}}class bM extends F{constructor(e){super(e),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}const vM=["underline"],wM=["connectionContainer"],kM=["inputContainer"],MM=["label"];function SM(e,t){1&e&&(Ba(0),Fa(1,"div",14),Na(2,"div",15),Na(3,"div",16),Na(4,"div",17),Ha(),Fa(5,"div",18),Na(6,"div",15),Na(7,"div",16),Na(8,"div",17),Ha(),za())}function xM(e,t){1&e&&(Fa(0,"div",19),to(1,1),Ha())}function CM(e,t){if(1&e&&(Ba(0),to(1,2),Fa(2,"span"),xo(3),Ha(),za()),2&e){const e=Qa(2);Li(3),Co(e._control.placeholder)}}function DM(e,t){1&e&&to(0,3,["*ngSwitchCase","true"])}function LM(e,t){1&e&&(Fa(0,"span",23),xo(1," *"),Ha())}function AM(e,t){if(1&e){const e=Va();Fa(0,"label",20,21),qa("cdkObserveContent",(function(){return or(e),Qa().updateOutlineGap()})),Pa(2,CM,4,1,"ng-container",12),Pa(3,DM,1,0,"ng-content",12),Pa(4,LM,2,0,"span",22),Ha()}if(2&e){const e=Qa();fo("mat-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-form-field-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-accent","accent"==e.color)("mat-warn","warn"==e.color),Ia("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),Ea("for",e._control.id)("aria-owns",e._control.id),Li(2),Ia("ngSwitchCase",!1),Li(1),Ia("ngSwitchCase",!0),Li(1),Ia("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function EM(e,t){1&e&&(Fa(0,"div",24),to(1,4),Ha())}function TM(e,t){if(1&e&&(Fa(0,"div",25,26),Na(2,"span",27),Ha()),2&e){const e=Qa();Li(2),fo("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function PM(e,t){1&e&&(Fa(0,"div"),to(1,5),Ha()),2&e&&Ia("@transitionMessages",Qa()._subscriptAnimationState)}function YM(e,t){if(1&e&&(Fa(0,"div",31),xo(1),Ha()),2&e){const e=Qa(2);Ia("id",e._hintLabelId),Li(1),Co(e.hintLabel)}}function RM(e,t){if(1&e&&(Fa(0,"div",28),Pa(1,YM,2,2,"div",29),to(2,6),Na(3,"div",30),to(4,7),Ha()),2&e){const e=Qa();Ia("@transitionMessages",e._subscriptAnimationState),Li(1),Ia("ngIf",e.hintLabel)}}const OM=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],IM=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let jM=0;const FM=new Fe("MatError");let HM=(()=>{class e{constructor(){this.id="mat-error-"+jM++}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=vt({type:e,selectors:[["mat-error"]],hostAttrs:["role","alert",1,"mat-error"],hostVars:1,hostBindings:function(e,t){2&e&&Ea("id",t.id)},inputs:{id:"id"},features:[Fo([{provide:FM,useExisting:e}])]}),e})();const NM={transitionMessages:ly("transitionMessages",[fy("enter",hy({opacity:1,transform:"translateY(0%)"})),py("void => enter",[hy({opacity:0,transform:"translateY(-100%)"}),cy("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let BM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=vt({type:e}),e})(),zM=0;const UM=new Fe("MatHint");let VM=(()=>{class e{constructor(){this.align="start",this.id="mat-hint-"+zM++}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=vt({type:e,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(e,t){2&e&&(Ea("id",t.id)("align",null),fo("mat-right","end"==t.align))},inputs:{align:"align",id:"id"},features:[Fo([{provide:UM,useExisting:e}])]}),e})(),KM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=vt({type:e,selectors:[["mat-label"]]}),e})(),WM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=vt({type:e,selectors:[["mat-placeholder"]]}),e})();const qM=new Fe("MatPrefix"),GM=new Fe("MatSuffix");let $M=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=vt({type:e,selectors:[["","matSuffix",""]],features:[Fo([{provide:GM,useExisting:e}])]}),e})(),ZM=0;class JM{constructor(e){this._elementRef=e}}const QM=wk(JM,"primary"),XM=new Fe("MAT_FORM_FIELD_DEFAULT_OPTIONS"),eS=new Fe("MatFormField");let tS=(()=>{class e extends QM{constructor(e,t,r,n,i,s,a,o){super(e),this._elementRef=e,this._changeDetectorRef=t,this._dir=n,this._defaults=i,this._platform=s,this._ngZone=a,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new M,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+ZM++,this._labelId="mat-form-field-label-"+ZM++,this._labelOptions=r||{},this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==o,this.appearance=i&&i.appearance?i.appearance:"legacy",this._hideRequiredMarker=!(!i||null==i.hideRequiredMarker)&&i.hideRequiredMarker}get appearance(){return this._appearance}set appearance(e){const t=this._appearance;this._appearance=e||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&t!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=kw(e)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-"+e.controlType),e.stateChanges.pipe(Nh(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(gM(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(gM(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),K(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Nh(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Nh(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(gM(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(e){const t=this._control?this._control.ngControl:null;return t&&t[e]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,_M(this._label.nativeElement,"transitionend").pipe(Ih(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||this._labelOptions.float||"auto"}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const t=this._hintChildren?this._hintChildren.find(e=>"start"===e.align):null,r=this._hintChildren?this._hintChildren.find(e=>"end"===e.align):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),r&&e.push(r.id)}else this._errorChildren&&e.push(...this._errorChildren.map(e=>e.id));this._control.setDescribedByIds(e)}}_validateControlChild(){}updateOutlineGap(){const e=this._label?this._label.nativeElement:null;if("outline"!==this.appearance||!e||!e.children.length||!e.textContent.trim())return;if(!this._platform.isBrowser)return;if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let t=0,r=0;const n=this._connectionContainerRef.nativeElement,i=n.querySelectorAll(".mat-form-field-outline-start"),s=n.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){const i=n.getBoundingClientRect();if(0===i.width&&0===i.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const s=this._getStartEnd(i),a=e.children,o=this._getStartEnd(a[0].getBoundingClientRect());let l=0;for(let e=0;e0?.75*l+10:0}for(let a=0;a{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Mu,bk,Tw],bk]}),e})();class nS{constructor(e){this.durationSelector=e}call(e,t){return t.subscribe(new iS(e,this.durationSelector))}}class iS extends F{constructor(e,t){super(e),this.durationSelector=t,this.hasValue=!1}_next(e){if(this.value=e,this.hasValue=!0,!this.throttled){let r;try{const{durationSelector:t}=this;r=t(e)}catch(t){return this.destination.error(t)}const n=H(r,new j(this));!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}}clearThrottle(){const{value:e,hasValue:t,throttled:r}=this;r&&(this.remove(r),this.throttled=void 0,r.unsubscribe()),t&&(this.value=void 0,this.hasValue=!1,this.destination.next(e))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function sS(e){return!l(e)&&e-parseFloat(e)+1>=0}function aS(e=0,t,r){let n=-1;return sS(t)?n=Number(t)<1?1:Number(t):x(t)&&(r=t),x(r)||(r=gw),new y(t=>{const i=sS(e)?e:+e-r.now();return r.schedule(oS,i,{index:0,period:n,subscriber:t})})}function oS(e){const{index:t,period:r,subscriber:n}=e;if(n.next(t),!n.closed){if(-1===r)return n.complete();e.index=t+1,this.schedule(e,r)}}function lS(e,t=gw){return r=()=>aS(e,t),function(e){return e.lift(new nS(r))};var r}const cS=nw({passive:!0});let dS=(()=>{class e{constructor(e,t){this._platform=e,this._ngZone=t,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return ph;const t=Dw(e),r=this._monitoredElements.get(t);if(r)return r.subject;const n=new M,i="cdk-text-field-autofilled",s=e=>{"cdk-text-field-autofill-start"!==e.animationName||t.classList.contains(i)?"cdk-text-field-autofill-end"===e.animationName&&t.classList.contains(i)&&(t.classList.remove(i),this._ngZone.run(()=>n.next({target:e.target,isAutofilled:!1}))):(t.classList.add(i),this._ngZone.run(()=>n.next({target:e.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{t.addEventListener("animationstart",s,cS),t.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(t,{subject:n,unlisten:()=>{t.removeEventListener("animationstart",s,cS)}}),n}stopMonitoring(e){const t=Dw(e),r=this._monitoredElements.get(t);r&&(r.unlisten(),r.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))}ngOnDestroy(){this._monitoredElements.forEach((e,t)=>this.stopMonitoring(t))}}return e.\u0275fac=function(t){return new(t||e)($e($v),$e(Ec))},e.\u0275prov=de({factory:function(){return new e($e($v),$e(Ec))},token:e,providedIn:"root"}),e})(),uS=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Zv]]}),e})();const hS=new Fe("MAT_INPUT_VALUE_ACCESSOR"),fS=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let mS=0;class pS{constructor(e,t,r,n){this._defaultErrorStateMatcher=e,this._parentForm=t,this._parentFormGroup=r,this.ngControl=n}}const _S=Sk(pS);let gS=(()=>{class e extends _S{constructor(e,t,r,n,i,s,a,o,l,c){super(s,n,i,r),this._elementRef=e,this._platform=t,this.ngControl=r,this._autofillMonitor=o,this._formField=c,this._uid="mat-input-"+mS++,this.focused=!1,this.stateChanges=new M,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._required=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(e=>Qv().has(e));const d=this._elementRef.nativeElement,u=d.nodeName.toLowerCase();this._inputValueAccessor=a||d,this._previousNativeValue=this.value,this.id=this.id,t.IOS&&l.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",e=>{let t=e.target;t.value||t.selectionStart||t.selectionEnd||(t.setSelectionRange(1,1),t.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===u,this._isTextarea="textarea"===u,this._isNativeSelect&&(this.controlType=d.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=kw(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required}set required(e){this._required=kw(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&Qv().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=kw(e)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e===this.focused||this.readonly&&e||(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var e,t;const r=(null===(t=null===(e=this._formField)||void 0===e?void 0:e._hideControlPlaceholder)||void 0===t?void 0:t.call(e))?null:this.placeholder;if(r!==this._previousPlaceholder){const e=this._elementRef.nativeElement;this._previousPlaceholder=r,r?e.setAttribute("placeholder",r):e.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_validateType(){fS.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra($v),Ra(U_,10),Ra(zg,8),Ra(Jg,8),Ra(Ek),Ra(hS,10),Ra(dS),Ra(Ec),Ra(eS,8))},e.\u0275dir=vt({type:e,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:9,hostBindings:function(e,t){1&e&&qa("focus",(function(){return t._focusChanged(!0)}))("blur",(function(){return t._focusChanged(!1)}))("input",(function(){return t._onInput()})),2&e&&(Ao("disabled",t.disabled)("required",t.required),Ea("id",t.id)("data-placeholder",t.placeholder)("readonly",t.readonly&&!t._isNativeSelect||null)("aria-invalid",t.errorState)("aria-required",t.required.toString()),fo("mat-input-server",t._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"]},exportAs:["matInput"],features:[Fo([{provide:BM,useExisting:e}]),ga,Ot]}),e})(),yS=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[Ek],imports:[[uS,rS],uS,rS]}),e})();const bS=["thumbContainer"],vS=["toggleBar"],wS=["input"],kS=function(){return{enterDuration:150}},MS=["*"],SS=new Fe("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})});let xS=0;const CS={provide:R_,useExisting:Me(()=>ES),multi:!0};class DS{constructor(e,t){this.source=e,this.checked=t}}class LS{constructor(e){this._elementRef=e}}const AS=Mk(wk(kk(vk(LS)),"accent"));let ES=(()=>{class e extends AS{constructor(e,t,r,n,i,s){super(e),this._focusMonitor=t,this._changeDetectorRef=r,this.defaults=i,this._animationMode=s,this._onChange=e=>{},this._onTouched=()=>{},this._uniqueId="mat-slide-toggle-"+ ++xS,this._required=!1,this._checked=!1,this.name=null,this.id=this._uniqueId,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new Bl,this.toggleChange=new Bl,this.tabIndex=parseInt(n)||0}get required(){return this._required}set required(e){this._required=kw(e)}get checked(){return this._checked}set checked(e){this._checked=kw(e),this._changeDetectorRef.markForCheck()}get inputId(){return(this.id||this._uniqueId)+"-input"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{"keyboard"===e||"program"===e?this._inputElement.nativeElement.focus():e||Promise.resolve().then(()=>this._onTouched())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onChangeEvent(e){e.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(e){e.stopPropagation()}writeValue(e){this.checked=!!e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck()}focus(e){this._focusMonitor.focusVia(this._inputElement,"keyboard",e)}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(new DS(this,this.checked))}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(tk),Ra(Zs),Oa("tabindex"),Ra(SS),Ra(Vv,8))},e.\u0275cmp=mt({type:e,selectors:[["mat-slide-toggle"]],viewQuery:function(e,t){var r;1&e&&(ec(bS,!0),ec(vS,!0),ec(wS,!0)),2&e&&(Ql(r=sc())&&(t._thumbEl=r.first),Ql(r=sc())&&(t._thumbBarEl=r.first),Ql(r=sc())&&(t._inputElement=r.first))},hostAttrs:[1,"mat-slide-toggle"],hostVars:12,hostBindings:function(e,t){2&e&&(Ao("id",t.id),Ea("tabindex",t.disabled?null:-1)("aria-label",null)("aria-labelledby",null),fo("mat-checked",t.checked)("mat-disabled",t.disabled)("mat-slide-toggle-label-before","before"==t.labelPosition)("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[Fo([CS]),ga],ngContentSelectors:MS,decls:16,vars:18,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["toggleBar",""],["type","checkbox","role","switch",1,"mat-slide-toggle-input","cdk-visually-hidden",3,"id","required","tabIndex","checked","disabled","change","click"],["input",""],[1,"mat-slide-toggle-thumb-container"],["thumbContainer",""],[1,"mat-slide-toggle-thumb"],["mat-ripple","",1,"mat-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-slide-toggle-persistent-ripple"],[1,"mat-slide-toggle-content",3,"cdkObserveContent"],["labelContent",""],[2,"display","none"]],template:function(e,t){if(1&e&&(eo(),Fa(0,"label",0,1),Fa(2,"div",2,3),Fa(4,"input",4,5),qa("change",(function(e){return t._onChangeEvent(e)}))("click",(function(e){return t._onInputClick(e)})),Ha(),Fa(6,"div",6,7),Na(8,"div",8),Fa(9,"div",9),Na(10,"div",10),Ha(),Ha(),Ha(),Fa(11,"span",11,12),qa("cdkObserveContent",(function(){return t._onLabelTextChange()})),Fa(13,"span",13),xo(14,"\xa0"),Ha(),to(15),Ha(),Ha()),2&e){const e=Ya(1),r=Ya(12);Ea("for",t.inputId),Li(2),fo("mat-slide-toggle-bar-no-side-margin",!r.textContent||!r.textContent.trim()),Li(2),Ia("id",t.inputId)("required",t.required)("tabIndex",t.tabIndex)("checked",t.checked)("disabled",t.disabled),Ea("name",t.name)("aria-checked",t.checked.toString())("aria-label",t.ariaLabel)("aria-labelledby",t.ariaLabelledby),Li(5),Ia("matRippleTrigger",e)("matRippleDisabled",t.disableRipple||t.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",Rl(17,kS))}},directives:[Bk,Ew],styles:[".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:transparent}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}.cdk-high-contrast-active .mat-slide-toggle.cdk-keyboard-focused .mat-slide-toggle-bar{outline:2px dotted;outline-offset:5px}\n"],encapsulation:2,changeDetection:0}),e})(),TS=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)}}),e})(),PS=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[TS,zk,bk,Tw],TS,bk]}),e})();const YS=["mat-button",""],RS=["*"],OS=".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.cdk-high-contrast-active .mat-button-focus-overlay{background-color:#fff}.cdk-high-contrast-black-on-white .mat-button-focus-overlay{background-color:#000}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}\n",IS=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"];class jS{constructor(e){this._elementRef=e}}const FS=wk(vk(kk(jS)));let HS=(()=>{class e extends FS{constructor(e,t,r){super(e),this._focusMonitor=t,this._animationMode=r,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const n of IS)this._hasHostAttributes(n)&&this._getHostElement().classList.add(n);e.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e="program",t){this._focusMonitor.focusVia(this._getHostElement(),e,t)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...e){return e.some(e=>this._getHostElement().hasAttribute(e))}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(tk),Ra(Vv,8))},e.\u0275cmp=mt({type:e,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(e,t){var r;1&e&&ec(Bk,!0),2&e&&Ql(r=sc())&&(t.ripple=r.first)},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,t){2&e&&(Ea("disabled",t.disabled||null),fo("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-button-disabled",t.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[ga],attrs:YS,ngContentSelectors:RS,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,t){1&e&&(eo(),Fa(0,"span",0),to(1),Ha(),Na(2,"span",1),Na(3,"span",2)),2&e&&(Li(2),fo("mat-button-ripple-round",t.isRoundButton||t.isIconButton),Ia("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[Bk],styles:[OS],encapsulation:2,changeDetection:0}),e})(),NS=(()=>{class e extends HS{constructor(e,t,r){super(t,e,r)}_haltDisabledEvents(e){this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}}return e.\u0275fac=function(t){return new(t||e)(Ra(tk),Ra(zo),Ra(Vv,8))},e.\u0275cmp=mt({type:e,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(e,t){1&e&&qa("click",(function(e){return t._haltDisabledEvents(e)})),2&e&&(Ea("tabindex",t.disabled?-1:t.tabIndex||0)("disabled",t.disabled||null)("aria-disabled",t.disabled.toString()),fo("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-button-disabled",t.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[ga],attrs:YS,ngContentSelectors:RS,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,t){1&e&&(eo(),Fa(0,"span",0),to(1),Ha(),Na(2,"span",1),Na(3,"span",2)),2&e&&(Li(2),fo("mat-button-ripple-round",t.isRoundButton||t.isIconButton),Ia("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[Bk],styles:[OS],encapsulation:2,changeDetection:0}),e})(),BS=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[zk,bk],bk]}),e})(),zS=(()=>{class e{constructor(e){this.i18n=e}transform(e,...t){return this.i18n.get(e,t)}}return e.\u0275fac=function(t){return new(t||e)(Ra(D_))},e.\u0275pipe=wt({name:"i18n",type:e,pure:!0}),e})();function US(e,t){1&e&&(Fa(0,"mat-error"),xo(1),Il(2,"i18n"),Ha()),2&e&&(Li(1),Do(" ",jl(2,1,"login.invalid")," "))}let VS=(()=>{class e{constructor(e,t,r,n){this.formBuilder=e,this.authService=t,this.router=r,this.route=n,this.apiUrl=sd,this.targetRoute="/services",this.loginModel={}}ngOnInit(){return C_(this,void 0,void 0,(function*(){this.form=this.formBuilder.group({username:["",Q_.required],password:["",Q_.required],keep:[""]}),this.route.queryParams.subscribe(e=>{e.target&&(this.targetRoute=e.target)})}))}login(){return C_(this,void 0,void 0,(function*(){if(this.loginInvalid=!1,this.form.valid){const e={username:this.form.get("username").value,password:this.form.get("password").value,keep:this.form.get("keep").value};this.authService.login(e).subscribe(e=>{this.router.navigate([this.targetRoute])},e=>{428==e.status?this.router.navigate(["/login/totp"],{queryParams:{target:this.targetRoute}}):this.loginInvalid=!0})}}))}}return e.\u0275fac=function(t){return new(t||e)(Ra(ny),Ra(w_),Ra(bp),Ra(im))},e.\u0275cmp=mt({type:e,selectors:[["app-login"]],decls:29,vars:27,consts:[[3,"formGroup","ngSubmit"],[4,"ngIf"],["id","username","name","username","matInput","","formControlName","username","required","",3,"placeholder"],["id","password","name","password","matInput","","type","password","formControlName","password","required","",3,"placeholder"],["id","keep","name","keep","formControlName","keep"],["type","submit","mat-raised-button","","color","primary",3,"disabled"],["routerLink","/password","mat-raised-button","","color","warn"]],template:function(e,t){1&e&&(Fa(0,"form",0),qa("ngSubmit",(function(){return t.login()})),Fa(1,"mat-card"),Fa(2,"mat-card-content"),Fa(3,"h2"),xo(4),Il(5,"i18n"),Ha(),Pa(6,US,3,3,"mat-error",1),Fa(7,"mat-form-field"),Na(8,"input",2),Il(9,"i18n"),Fa(10,"mat-error"),xo(11),Il(12,"i18n"),Ha(),Ha(),Fa(13,"mat-form-field"),Na(14,"input",3),Il(15,"i18n"),Fa(16,"mat-error"),xo(17),Il(18,"i18n"),Ha(),Ha(),Fa(19,"mat-slide-toggle",4),xo(20),Il(21,"i18n"),Ha(),Ha(),Fa(22,"mat-card-actions"),Fa(23,"button",5),xo(24),Il(25,"i18n"),Ha(),Fa(26,"a",6),xo(27),Il(28,"i18n"),Ha(),Ha(),Ha(),Ha()),2&e&&(Ia("formGroup",t.form),Li(4),Co(jl(5,11,"login")),Li(2),Ia("ngIf",t.loginInvalid),Li(2),ro("placeholder",jl(9,13,"username")),Li(3),Do(" ",jl(12,15,"username.missing")," "),Li(3),ro("placeholder",jl(15,17,"password")),Li(3),Do(" ",jl(18,19,"password.invalid.hint")," "),Li(3),Do(" ",jl(21,21,"login.keepSession")," "),Li(3),Ia("disabled",t.form.invalid),Li(1),Co(jl(25,23,"login")),Li(3),Co(jl(28,25,"password.forgot")))},directives:[Wg,W_,Jg,fM,cM,au,tS,gS,H_,K_,Xg,ty,HM,ES,hM,HS,wp,NS],pipes:[zS],styles:["mat-form-field[_ngcontent-%COMP%]{display:block}"]}),e})();function KS(e,t){1&e&&(Fa(0,"mat-error"),xo(1),Il(2,"i18n"),Ha()),2&e&&(Li(1),Do(" ",jl(2,1,"security.2fa.totp.invalid")," "))}let WS=(()=>{class e{constructor(e,t,r,n){this.formBuilder=e,this.authService=t,this.router=r,this.route=n,this.apiUrl=sd,this.targetRoute="/account/info"}ngOnInit(){this.form=this.formBuilder.group({code:["",Q_.required],keep:[""]}),this.route.queryParams.subscribe(e=>{e.target&&(this.targetRoute=e.target)})}loginTotp(){return C_(this,void 0,void 0,(function*(){if(this.loginInvalid=!1,this.form.valid){const e={code:this.form.get("code").value,keep:this.form.get("keep").value};this.authService.loginTotp(e).subscribe(e=>{this.router.navigate([this.targetRoute])},e=>{this.loginInvalid=!0})}}))}}return e.\u0275fac=function(t){return new(t||e)(Ra(ny),Ra(w_),Ra(bp),Ra(im))},e.\u0275cmp=mt({type:e,selectors:[["app-login"]],decls:20,vars:18,consts:[[3,"formGroup","ngSubmit"],[4,"ngIf"],["id","code","name","code","matInput","","formControlName","code","required","",3,"placeholder"],["id","keep","name","keep","formControlName","keep"],["type","submit","mat-raised-button","","color","primary",3,"disabled"]],template:function(e,t){1&e&&(Fa(0,"form",0),qa("ngSubmit",(function(){return t.loginTotp()})),Fa(1,"mat-card"),Fa(2,"mat-card-content"),Fa(3,"h2"),xo(4),Il(5,"i18n"),Ha(),Pa(6,KS,3,3,"mat-error",1),Fa(7,"mat-form-field"),Na(8,"input",2),Il(9,"i18n"),Fa(10,"mat-error"),xo(11),Il(12,"i18n"),Ha(),Ha(),Fa(13,"mat-slide-toggle",3),xo(14),Il(15,"i18n"),Ha(),Ha(),Fa(16,"mat-card-actions"),Fa(17,"button",4),xo(18),Il(19,"i18n"),Ha(),Ha(),Ha(),Ha()),2&e&&(Ia("formGroup",t.form),Li(4),Co(jl(5,8,"security.2fa.totp")),Li(2),Ia("ngIf",t.loginInvalid),Li(2),ro("placeholder",jl(9,10,"security.2fa.totp.code")),Li(3),Do(" ",jl(12,12,"security.2fa.totp.missing")," "),Li(3),Do(" ",jl(15,14,"security.2fa.totp.keepSession")," "),Li(3),Ia("disabled",t.form.invalid),Li(1),Co(jl(19,16,"security.2fa.totp.login")))},directives:[Wg,W_,Jg,fM,cM,au,tS,gS,H_,K_,Xg,ty,HM,ES,hM,HS],pipes:[zS],styles:["mat-form-field[_ngcontent-%COMP%]{display:block}"]}),e})();function qS(e,t){return new y(t?r=>t.schedule(GS,0,{error:e,subscriber:r}):t=>t.error(e))}function GS({error:e,subscriber:t}){t.error(e)}const $S=["*"];function ZS(e){return Error(`Unable to find icon with the name "${e}"`)}function JS(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function QS(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}class XS{constructor(e,t,r){this.url=e,this.svgText=t,this.options=r}}let ex=(()=>{class e{constructor(e,t,r,n){this._httpClient=e,this._sanitizer=t,this._errorHandler=n,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._defaultFontSetClass="material-icons",this._document=r}addSvgIcon(e,t,r){return this.addSvgIconInNamespace("",e,t,r)}addSvgIconLiteral(e,t,r){return this.addSvgIconLiteralInNamespace("",e,t,r)}addSvgIconInNamespace(e,t,r,n){return this._addSvgIconConfig(e,t,new XS(r,null,n))}addSvgIconLiteralInNamespace(e,t,r,n){const i=this._sanitizer.sanitize(ai.HTML,r);if(!i)throw QS(r);return this._addSvgIconConfig(e,t,new XS("",i,n))}addSvgIconSet(e,t){return this.addSvgIconSetInNamespace("",e,t)}addSvgIconSetLiteral(e,t){return this.addSvgIconSetLiteralInNamespace("",e,t)}addSvgIconSetInNamespace(e,t,r){return this._addSvgIconSetConfig(e,new XS(t,null,r))}addSvgIconSetLiteralInNamespace(e,t,r){const n=this._sanitizer.sanitize(ai.HTML,t);if(!n)throw QS(t);return this._addSvgIconSetConfig(e,new XS("",n,r))}registerFontClassAlias(e,t=e){return this._fontCssClassesByAlias.set(e,t),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const t=this._sanitizer.sanitize(ai.RESOURCE_URL,e);if(!t)throw JS(e);const r=this._cachedIconsByUrl.get(t);return r?sh(tx(r)):this._loadSvgIconFromConfig(new XS(e,null)).pipe($h(e=>this._cachedIconsByUrl.set(t,e)),C(e=>tx(e)))}getNamedSvgIcon(e,t=""){const r=rx(t,e),n=this._svgIconConfigs.get(r);if(n)return this._getSvgFromConfig(n);const i=this._iconSetConfigs.get(t);return i?this._getSvgFromIconSetConfigs(e,i):qS(ZS(r))}ngOnDestroy(){this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?sh(tx(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(C(e=>tx(e)))}_getSvgFromIconSetConfigs(e,t){const r=this._extractIconWithNameFromAnySet(e,t);return r?sh(r):P_(t.filter(e=>!e.svgText).map(e=>this._loadSvgIconSetFromConfig(e).pipe(Uh(t=>{const r=this._sanitizer.sanitize(ai.RESOURCE_URL,e.url);return this._errorHandler.handleError(new Error(`Loading icon set URL: ${r} failed: ${t.message}`)),sh(null)})))).pipe(C(()=>{const r=this._extractIconWithNameFromAnySet(e,t);if(!r)throw ZS(e);return r}))}_extractIconWithNameFromAnySet(e,t){for(let r=t.length-1;r>=0;r--){const n=t[r];if(n.svgText&&n.svgText.indexOf(e)>-1){const t=this._svgElementFromConfig(n),r=this._extractSvgIconFromSet(t,e,n.options);if(r)return r}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe($h(t=>e.svgText=t),C(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?sh(null):this._fetchIcon(e).pipe($h(t=>e.svgText=t))}_extractSvgIconFromSet(e,t,r){const n=e.querySelector(`[id="${t}"]`);if(!n)return null;const i=n.cloneNode(!0);if(i.removeAttribute("id"),"svg"===i.nodeName.toLowerCase())return this._setSvgAttributes(i,r);if("symbol"===i.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(i),r);const s=this._svgElementFromString("");return s.appendChild(i),this._setSvgAttributes(s,r)}_svgElementFromString(e){const t=this._document.createElement("DIV");t.innerHTML=e;const r=t.querySelector("svg");if(!r)throw Error(" tag not found");return r}_toSvgElement(e){const t=this._svgElementFromString(""),r=e.attributes;for(let n=0;nthis._inProgressUrlFetches.delete(s)),X());return this._inProgressUrlFetches.set(s,o),o}_addSvgIconConfig(e,t,r){return this._svgIconConfigs.set(rx(e,t),r),this}_addSvgIconSetConfig(e,t){const r=this._iconSetConfigs.get(e);return r?r.push(t):this._iconSetConfigs.set(e,[t]),this}_svgElementFromConfig(e){if(!e.svgElement){const t=this._svgElementFromString(e.svgText);this._setSvgAttributes(t,e.options),e.svgElement=t}return e.svgElement}}return e.\u0275fac=function(t){return new(t||e)($e(s_,8),$e(eh),$e(ld,8),$e(Sn))},e.\u0275prov=de({factory:function(){return new e($e(s_,8),$e(eh),$e(ld,8),$e(Sn))},token:e,providedIn:"root"}),e})();function tx(e){return e.cloneNode(!0)}function rx(e,t){return e+":"+t}class nx{constructor(e){this._elementRef=e}}const ix=wk(nx),sx=new Fe("mat-icon-location",{providedIn:"root",factory:function(){const e=Ze(ld),t=e?e.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}}),ax=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],ox=ax.map(e=>`[${e}]`).join(", "),lx=/^url\(['"]?#(.*?)['"]?\)$/;let cx=(()=>{class e extends ix{constructor(e,t,r,n,i){super(e),this._iconRegistry=t,this._location=n,this._errorHandler=i,this._inline=!1,this._currentIconFetch=u.EMPTY,r||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=kw(e)}get fontSet(){return this._fontSet}set fontSet(e){this._fontSet=this._cleanupFontValue(e)}get fontIcon(){return this._fontIcon}set fontIcon(e){this._fontIcon=this._cleanupFontValue(e)}_splitIconName(e){if(!e)return["",""];const t=e.split(":");switch(t.length){case 1:return["",t[0]];case 2:return t;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnChanges(e){const t=e.svgIcon;if(this._svgNamespace=null,this._svgName=null,t)if(this._currentIconFetch.unsubscribe(),this.svgIcon){const[e,t]=this._splitIconName(this.svgIcon);e&&(this._svgNamespace=e),t&&(this._svgName=t),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(t,e).pipe(Ih(1)).subscribe(e=>this._setSvgElement(e),r=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${e}:${t}! ${r.message}`))})}else t.previousValue&&this._clearSvgElement();this._usingFontIcon()&&this._updateFontIconClasses()}ngOnInit(){this._usingFontIcon()&&this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const e=this._location.getPathname();e!==this._previousPath&&(this._previousPath=e,this._prependPathToReferences(e))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const t=e.querySelectorAll("style");for(let n=0;n{t.forEach(t=>{r.setAttribute(t.name,`url('${e}#${t.value}')`)})})}_cacheChildrenWithExternalReferences(e){const t=e.querySelectorAll(ox),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let n=0;n{const i=t[n],s=i.getAttribute(e),a=s?s.match(lx):null;if(a){let t=r.get(i);t||(t=[],r.set(i,t)),t.push({name:e,value:a[1]})}})}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(ex),Oa("aria-hidden"),Ra(sx),Ra(Sn))},e.\u0275cmp=mt({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(e,t){2&e&&(Ea("data-mat-icon-type",t._usingFontIcon()?"font":"svg")("data-mat-icon-name",t._svgName||t.fontIcon)("data-mat-icon-namespace",t._svgNamespace||t.fontSet),fo("mat-icon-inline",t.inline)("mat-icon-no-color","primary"!==t.color&&"accent"!==t.color&&"warn"!==t.color))},inputs:{color:"color",inline:"inline",fontSet:"fontSet",fontIcon:"fontIcon",svgIcon:"svgIcon"},exportAs:["matIcon"],features:[ga,Ot],ngContentSelectors:$S,decls:1,vars:0,template:function(e,t){1&e&&(eo(),to(0))},styles:[".mat-icon{background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),e})(),dx=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[bk],bk]}),e})();function ux(e,t){1&e&&(Fa(0,"mat-error"),xo(1),Il(2,"i18n"),Ha()),2&e&&(Li(1),Do(" ",jl(2,1,"login.invalid")," "))}let hx=(()=>{class e{constructor(e){this.formBuilder=e,this.apiUrl=sd}ngOnInit(){return C_(this,void 0,void 0,(function*(){this.form=this.formBuilder.group({username:["",Q_.required],password:["",Q_.required],keep:[""]})}))}}return e.\u0275fac=function(t){return new(t||e)(Ra(ny))},e.\u0275cmp=mt({type:e,selectors:[["app-form-login"]],decls:34,vars:28,consts:[[3,"formGroup"],["ngNoForm","","method","POST",3,"action"],[2,"font-size","1em"],[4,"ngIf"],["id","username","name","username","matInput","","formControlName","username","required","",3,"placeholder"],["id","password","name","password","matInput","","type","password","formControlName","password","required","",3,"placeholder"],["id","keep","name","keep","formControlName","keep"],["type","submit","mat-raised-button","","color","primary",3,"disabled"],["routerLink","/password","mat-raised-button","","color","warn"]],template:function(e,t){1&e&&(Fa(0,"form",0),Fa(1,"form",1),Fa(2,"mat-card"),Fa(3,"mat-card-content"),Fa(4,"h2"),xo(5),Il(6,"i18n"),Fa(7,"mat-icon",2),xo(8,"open_in_new "),Ha(),Ha(),Pa(9,ux,3,3,"mat-error",3),Fa(10,"mat-form-field"),Na(11,"input",4),Il(12,"i18n"),Fa(13,"mat-error"),xo(14),Il(15,"i18n"),Ha(),Ha(),Fa(16,"mat-form-field"),Na(17,"input",5),Il(18,"i18n"),Fa(19,"mat-error"),xo(20),Il(21,"i18n"),Ha(),Ha(),Fa(22,"mat-slide-toggle",6),xo(23),Il(24,"i18n"),Ha(),Ha(),Fa(25,"mat-card-actions"),Fa(26,"button",7),xo(27),Il(28,"i18n"),Fa(29,"mat-icon",2),xo(30,"open_in_new "),Ha(),Ha(),Fa(31,"a",8),xo(32),Il(33,"i18n"),Ha(),Ha(),Ha(),Ha(),Ha()),2&e&&(Ia("formGroup",t.form),Li(1),no("action","",t.apiUrl,"/auth/formlogin",li),Li(4),Co(jl(6,12,"login.external")),Li(4),Ia("ngIf",t.loginInvalid),Li(2),ro("placeholder",jl(12,14,"username")),Li(3),Do(" ",jl(15,16,"username.missing")," "),Li(3),ro("placeholder",jl(18,18,"password")),Li(3),Do(" ",jl(21,20,"password.invalid.hint")," "),Li(3),Do(" ",jl(24,22,"login.keepSession")," "),Li(3),Ia("disabled",t.form.invalid),Li(1),Co(jl(28,24,"login.external")),Li(5),Co(jl(33,26,"password.forgot")))},directives:[Wg,W_,Jg,fM,cM,cx,au,tS,gS,H_,K_,Xg,ty,HM,ES,hM,HS,wp,NS],pipes:[zS],styles:["mat-form-field[_ngcontent-%COMP%]{display:block}"]}),e})();function fx(e,t){1&e&&(Fa(0,"mat-error"),xo(1),Il(2,"i18n"),Ha()),2&e&&(Li(1),Do(" ",jl(2,1,"security.2fa.totp.invalid")," "))}let mx=(()=>{class e{constructor(e){this.formBuilder=e,this.apiUrl=sd}ngOnInit(){return C_(this,void 0,void 0,(function*(){this.form=this.formBuilder.group({code:["",Q_.required],keep:[""]})}))}}return e.\u0275fac=function(t){return new(t||e)(Ra(ny))},e.\u0275cmp=mt({type:e,selectors:[["app-form-login-totp"]],decls:25,vars:19,consts:[[3,"formGroup"],["ngNoForm","","method","POST",3,"action"],[2,"font-size","1em"],[4,"ngIf"],["id","code","name","code","matInput","","formControlName","code","required","",3,"placeholder"],["id","keep","name","keep","formControlName","keep"],["type","submit","mat-raised-button","","color","primary",3,"disabled"]],template:function(e,t){1&e&&(Fa(0,"form",0),Fa(1,"form",1),Fa(2,"mat-card"),Fa(3,"mat-card-content"),Fa(4,"h2"),xo(5),Il(6,"i18n"),Fa(7,"mat-icon",2),xo(8,"open_in_new "),Ha(),Ha(),Pa(9,fx,3,3,"mat-error",3),Fa(10,"mat-form-field"),Na(11,"input",4),Il(12,"i18n"),Fa(13,"mat-error"),xo(14),Il(15,"i18n"),Ha(),Ha(),Fa(16,"mat-slide-toggle",5),xo(17),Il(18,"i18n"),Ha(),Ha(),Fa(19,"mat-card-actions"),Fa(20,"button",6),xo(21),Il(22,"i18n"),Fa(23,"mat-icon",2),xo(24,"open_in_new "),Ha(),Ha(),Ha(),Ha(),Ha(),Ha()),2&e&&(Ia("formGroup",t.form),Li(1),no("action","",t.apiUrl,"/auth/formlogin/totp",li),Li(4),Co(jl(6,9,"security.2fa.totp.external")),Li(4),Ia("ngIf",t.loginInvalid),Li(2),ro("placeholder",jl(12,11,"security.2fa.totp.code")),Li(3),Do(" ",jl(15,13,"security.2fa.totp.missing")," "),Li(3),Do(" ",jl(18,15,"security.2fa.totp.keepSession")," "),Li(3),Ia("disabled",t.form.invalid),Li(1),Co(jl(22,17,"security.2fa.totp.login")))},directives:[Wg,W_,Jg,fM,cM,cx,au,tS,gS,H_,K_,Xg,ty,HM,ES,hM,HS],pipes:[zS],styles:["mat-form-field[_ngcontent-%COMP%]{display:block}"]}),e})();const px=["primaryValueBar"];class _x{constructor(e){this._elementRef=e}}const gx=wk(_x,"primary"),yx=new Fe("mat-progress-bar-location",{providedIn:"root",factory:function(){const e=Ze(ld),t=e?e.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}});let bx=0,vx=(()=>{class e extends gx{constructor(e,t,r,n){super(e),this._elementRef=e,this._ngZone=t,this._animationMode=r,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new Bl,this._animationEndSubscription=u.EMPTY,this.mode="determinate",this.progressbarId="mat-progress-bar-"+bx++;const i=n?n.getPathname().split("#")[0]:"";this._rectangleFillValue=`url('${i}#${this.progressbarId}')`,this._isNoopAnimation="NoopAnimations"===r}get value(){return this._value}set value(e){this._value=wx(Mw(e)||0)}get bufferValue(){return this._bufferValue}set bufferValue(e){this._bufferValue=wx(e||0)}_primaryTransform(){return{transform:`scaleX(${this.value/100})`}}_bufferTransform(){return"buffer"===this.mode?{transform:`scaleX(${this.bufferValue/100})`}:null}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{const e=this._primaryValueBar.nativeElement;this._animationEndSubscription=_M(e,"transitionend").pipe(bh(t=>t.target===e)).subscribe(()=>{"determinate"!==this.mode&&"buffer"!==this.mode||this._ngZone.run(()=>this.animationEnd.next({value:this.value}))})})}ngOnDestroy(){this._animationEndSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(Ec),Ra(Vv,8),Ra(yx,8))},e.\u0275cmp=mt({type:e,selectors:[["mat-progress-bar"]],viewQuery:function(e,t){var r;1&e&&ec(px,!0),2&e&&Ql(r=sc())&&(t._primaryValueBar=r.first)},hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100",1,"mat-progress-bar"],hostVars:4,hostBindings:function(e,t){2&e&&(Ea("aria-valuenow","indeterminate"===t.mode||"query"===t.mode?null:t.value)("mode",t.mode),fo("_mat-animation-noopable",t._isNoopAnimation))},inputs:{color:"color",mode:"mode",value:"value",bufferValue:"bufferValue"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[ga],decls:9,vars:4,consts:[["width","100%","height","4","focusable","false",1,"mat-progress-bar-background","mat-progress-bar-element"],["x","4","y","0","width","8","height","4","patternUnits","userSpaceOnUse",3,"id"],["cx","2","cy","2","r","2"],["width","100%","height","100%"],[1,"mat-progress-bar-buffer","mat-progress-bar-element",3,"ngStyle"],[1,"mat-progress-bar-primary","mat-progress-bar-fill","mat-progress-bar-element",3,"ngStyle"],["primaryValueBar",""],[1,"mat-progress-bar-secondary","mat-progress-bar-fill","mat-progress-bar-element"]],template:function(e,t){1&e&&(Yr(),Fa(0,"svg",0),Fa(1,"defs"),Fa(2,"pattern",1),Na(3,"circle",2),Ha(),Ha(),Na(4,"rect",3),Ha(),nr.lFrame.currentNamespace=null,Na(5,"div",4),Na(6,"div",5,6),Na(8,"div",7)),2&e&&(Li(2),Ia("id",t.progressbarId),Li(2),Ea("fill",t._rectangleFillValue),Li(1),Ia("ngStyle",t._bufferTransform()),Li(1),Ia("ngStyle",t._primaryTransform()))},directives:[fu],styles:['.mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}._mat-animation-noopable.mat-progress-bar{transition:none;animation:none}.mat-progress-bar .mat-progress-bar-element,.mat-progress-bar .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}.mat-progress-bar .mat-progress-bar-background{width:calc(100% + 10px)}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-background{display:none}.mat-progress-bar .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-buffer{border-top:solid 5px;opacity:.5}.mat-progress-bar .mat-progress-bar-secondary{display:none}.mat-progress-bar .mat-progress-bar-fill{animation:none;transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-fill{border-top:solid 4px}.mat-progress-bar .mat-progress-bar-fill::after{animation:none;content:"";display:inline-block;left:0}.mat-progress-bar[dir=rtl],[dir=rtl] .mat-progress-bar{transform:rotateY(180deg)}.mat-progress-bar[mode=query]{transform:rotateZ(180deg)}.mat-progress-bar[mode=query][dir=rtl],[dir=rtl] .mat-progress-bar[mode=query]{transform:rotateZ(180deg) rotateY(180deg)}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-fill,.mat-progress-bar[mode=query] .mat-progress-bar-fill{transition:none}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary,.mat-progress-bar[mode=query] .mat-progress-bar-primary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-translate 2000ms infinite linear;left:-145.166611%}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary,.mat-progress-bar[mode=query] .mat-progress-bar-secondary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-translate 2000ms infinite linear;left:-54.888891%;display:block}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=buffer] .mat-progress-bar-background{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-buffer,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-background{animation:none;transition-duration:1ms}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-8px)}}\n'],encapsulation:2,changeDetection:0}),e})();function wx(e,t=0,r=100){return Math.max(t,Math.min(r,e))}let kx=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Mu,bk],bk]}),e})();function Mx(e,t){1&e&&(Fa(0,"button",5),xo(1),Il(2,"i18n"),Ha()),2&e&&(Ia("disabled",Qa().form.invalid),Li(1),Do(" ",jl(2,2,"password.request")," "))}function Sx(e,t){1&e&&Na(0,"mat-progress-bar",6)}var xx=r("QYcz");let Cx=(()=>{class e{constructor(e,t,r){this.formBuilder=e,this.authService=t,this.router=r,this.model={}}ngOnInit(){this.form=this.formBuilder.group({username:["",Q_.required],privateKey:[""]})}passwordRequest(){return C_(this,void 0,void 0,(function*(){this.working=!0;const{keys:[e]}=yield xx.key.readArmored(this.model.privateKey);this.authService.passwordRequest(this.model.username).subscribe(t=>C_(this,void 0,void 0,(function*(){if(e){const r=yield xx.message.readArmored(t),n=yield xx.decrypt({message:r,privateKeys:[e]});this.working=!1,this.router.navigate(["/password-reset"],{queryParams:{token:n.data.trim()}})}else this.working=!1})))}))}}return e.\u0275fac=function(t){return new(t||e)(Ra(ny),Ra(w_),Ra(bp))},e.\u0275cmp=mt({type:e,selectors:[["app-password"]],decls:20,vars:17,consts:[[3,"formGroup","ngSubmit"],["matInput","","formControlName","username",3,"placeholder","ngModel","ngModelChange"],["matInput","","formControlName","privateKey","placeholder","Private Key",3,"ngModel","ngModelChange"],["mat-raised-button","","color","primary",3,"disabled",4,"ngIf"],["mode","indeterminate",4,"ngIf"],["mat-raised-button","","color","primary",3,"disabled"],["mode","indeterminate"]],template:function(e,t){1&e&&(Fa(0,"form",0),qa("ngSubmit",(function(){return t.passwordRequest()})),Fa(1,"mat-card"),Fa(2,"mat-card-content"),Fa(3,"h2"),xo(4),Il(5,"i18n"),Ha(),Fa(6,"mat-form-field"),Fa(7,"input",1),qa("ngModelChange",(function(e){return t.model.username=e})),Il(8,"i18n"),Ha(),Fa(9,"mat-error"),xo(10),Il(11,"i18n"),Ha(),Ha(),Fa(12,"mat-form-field"),Fa(13,"mat-label"),xo(14),Il(15,"i18n"),Ha(),Fa(16,"textarea",2),qa("ngModelChange",(function(e){return t.model.privateKey=e})),Ha(),Ha(),Ha(),Fa(17,"mat-card-actions"),Pa(18,Mx,3,4,"button",3),Pa(19,Sx,1,0,"mat-progress-bar",4),Ha(),Ha(),Ha()),2&e&&(Ia("formGroup",t.form),Li(4),Co(jl(5,9,"password.request")),Li(3),ro("placeholder",jl(8,11,"username")),Ia("ngModel",t.model.username),Li(3),Do(" ",jl(11,13,"username.missing")," "),Li(4),Co(jl(15,15,"pgp.privateKey")),Li(2),Ia("ngModel",t.model.privateKey),Li(2),Ia("ngIf",!t.working),Li(1),Ia("ngIf",t.working))},directives:[Wg,W_,Jg,fM,cM,tS,gS,H_,K_,Xg,HM,KM,hM,au,HS,vx],pipes:[zS],styles:["mat-form-field[_ngcontent-%COMP%]{display:block}"]}),e})();function Dx(e,t){return r=>{const n=r.controls[t];n.errors&&!n.errors.matchingValidator||n.setErrors(r.controls[e].value!==n.value?{matchingValidator:!0}:null)}}function Lx(e,t){1&e&&(Fa(0,"mat-error"),xo(1),Il(2,"i18n"),Ha()),2&e&&(Li(1),Do(" ",jl(2,1,"password.reset.tokenInvalid")," "))}function Ax(e,t){if(1&e&&(Fa(0,"mat-error"),xo(1),Ha()),2&e){const e=t.$implicit;Li(1),Do(" ",e.key," ")}}function Ex(e,t){1&e&&(Fa(0,"button",8),xo(1),Il(2,"i18n"),Ha()),2&e&&(Ia("disabled",Qa(2).form.invalid),Li(1),Do(" ",jl(2,2,"password.reset")," "))}function Tx(e,t){1&e&&Na(0,"mat-progress-bar",9)}function Px(e,t){if(1&e){const e=Va();Fa(0,"form",2),qa("ngSubmit",(function(){return or(e),Qa().passwordReset()})),Fa(1,"mat-card"),Fa(2,"mat-card-content"),Fa(3,"h2"),xo(4),Il(5,"i18n"),Ha(),Pa(6,Lx,3,3,"mat-error",1),Fa(7,"mat-form-field"),Fa(8,"input",3),qa("ngModelChange",(function(t){return or(e),Qa().model.password=t})),Il(9,"i18n"),Ha(),Pa(10,Ax,2,1,"mat-error",4),Il(11,"keyvalue"),Ha(),Fa(12,"mat-form-field"),Fa(13,"input",5),qa("ngModelChange",(function(t){return or(e),Qa().model.password2=t})),Il(14,"i18n"),Ha(),Fa(15,"mat-error"),xo(16),Il(17,"i18n"),Ha(),Ha(),Ha(),Fa(18,"mat-card-actions"),Pa(19,Ex,3,4,"button",6),Pa(20,Tx,1,0,"mat-progress-bar",7),Ha(),Ha(),Ha()}if(2&e){const e=Qa();Ia("formGroup",e.form),Li(4),Co(jl(5,11,"password.reset")),Li(2),Ia("ngIf",e.tokenInvalid),Li(2),ro("placeholder",jl(9,13,"password")),Ia("ngModel",e.model.password),Li(2),Ia("ngForOf",jl(11,15,e.form.get("password").errors)),Li(3),ro("placeholder",jl(14,17,"password.confirm")),Ia("ngModel",e.model.password2),Li(3),Do(" ",jl(17,19,"password.not-match")," "),Li(3),Ia("ngIf",!e.working),Li(1),Ia("ngIf",e.working)}}function Yx(e,t){1&e&&(Fa(0,"mat-card"),Fa(1,"mat-card-content"),Fa(2,"h2"),xo(3),Il(4,"i18n"),Ha(),Fa(5,"p"),xo(6),Il(7,"i18n"),Ha(),Ha(),Fa(8,"mat-card-actions"),Fa(9,"a",10),xo(10),Il(11,"i18n"),Ha(),Ha(),Ha()),2&e&&(Li(3),Co(jl(4,3,"password.reset.success.title")),Li(3),Co(jl(7,5,"password.reset.success.text")),Li(4),Do(" ",jl(11,7,"password.reset.login")," "))}let Rx=(()=>{class e{constructor(e,t,r,n){this.formBuilder=e,this.authService=t,this.router=r,this.route=n,this.model={},this.tokenInvalid=!1}ngOnInit(){this.form=this.formBuilder.group({password:["",Q_.required],password2:["",Q_.required]},{validator:Dx("password","password2")}),this.route.queryParams.subscribe(e=>{e.token&&(this.model.token=e.token)})}passwordReset(){this.working=!0,this.authService.passwordReset(this.model).subscribe(e=>{this.success=!0},e=>{if(this.working=!1,409==e.status){let t={};for(let r of e.error)t[r.field]=t[r.field]||{},t[r.field][r.code]=!0;for(let e in t)this.form.get(e).setErrors(t[e])}else this.tokenInvalid=!0})}}return e.\u0275fac=function(t){return new(t||e)(Ra(ny),Ra(w_),Ra(bp),Ra(im))},e.\u0275cmp=mt({type:e,selectors:[["app-password-reset"]],decls:2,vars:2,consts:[[3,"formGroup","ngSubmit",4,"ngIf"],[4,"ngIf"],[3,"formGroup","ngSubmit"],["matInput","","type","password","formControlName","password",3,"placeholder","ngModel","ngModelChange"],[4,"ngFor","ngForOf"],["matInput","","type","password","length","6","formControlName","password2",3,"placeholder","ngModel","ngModelChange"],["mat-raised-button","","color","primary",3,"disabled",4,"ngIf"],["mode","indeterminate",4,"ngIf"],["mat-raised-button","","color","primary",3,"disabled"],["mode","indeterminate"],["routerLink","/login","mat-raised-button","","color","primary"]],template:function(e,t){1&e&&(Pa(0,Px,21,21,"form",0),Pa(1,Yx,12,9,"mat-card",1)),2&e&&(Ia("ngIf",!t.success),Li(1),Ia("ngIf",t.success))},directives:[au,Wg,W_,Jg,fM,cM,tS,gS,H_,K_,Xg,iu,HM,hM,HS,vx,wp,NS],pipes:[zS,wu],styles:["mat-form-field[_ngcontent-%COMP%]{display:block}"]}),e})();class Ox{attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;null!=e&&(this._attachedHost=null,e.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(e){this._attachedHost=e}}class Ix extends Ox{constructor(e,t,r,n){super(),this.component=e,this.viewContainerRef=t,this.injector=r,this.componentFactoryResolver=n}}class jx extends Ox{constructor(e,t,r){super(),this.templateRef=e,this.viewContainerRef=t,this.context=r}get origin(){return this.templateRef.elementRef}attach(e,t=this.context){return this.context=t,super.attach(e)}detach(){return this.context=void 0,super.detach()}}class Fx extends Ox{constructor(e){super(),this.element=e instanceof zo?e.nativeElement:e}}class Hx{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){return e instanceof Ix?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof jx?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof Fx?(this._attachedPortal=e,this.attachDomPortal(e)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class Nx extends Hx{constructor(e,t,r,n,i){super(),this.outletElement=e,this._componentFactoryResolver=t,this._appRef=r,this._defaultInjector=n,this.attachDomPortal=e=>{const t=e.element,r=this._document.createComment("dom-portal");t.parentNode.insertBefore(r,t),this.outletElement.appendChild(t),super.setDisposeFn(()=>{r.parentNode&&r.parentNode.replaceChild(t,r)})},this._document=i}attachComponentPortal(e){const t=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);let r;return e.viewContainerRef?(r=e.viewContainerRef.createComponent(t,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector),this.setDisposeFn(()=>r.destroy())):(r=t.create(e.injector||this._defaultInjector),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),r}attachTemplatePortal(e){let t=e.viewContainerRef,r=t.createEmbeddedView(e.templateRef,e.context);return r.rootNodes.forEach(e=>this.outletElement.appendChild(e)),r.detectChanges(),this.setDisposeFn(()=>{let e=t.indexOf(r);-1!==e&&t.remove(e)}),r}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(e){return e.hostView.rootNodes[0]}}let Bx=(()=>{class e extends Hx{constructor(e,t,r){super(),this._componentFactoryResolver=e,this._viewContainerRef=t,this._isInitialized=!1,this.attached=new Bl,this.attachDomPortal=e=>{const t=e.element,r=this._document.createComment("dom-portal");e.setAttachedHost(this),t.parentNode.insertBefore(r,t),this._getRootNode().appendChild(t),super.setDisposeFn(()=>{r.parentNode&&r.parentNode.replaceChild(t,r)})},this._document=r}get portal(){return this._attachedPortal}set portal(e){(!this.hasAttached()||e||this._isInitialized)&&(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(e){e.setAttachedHost(this);const t=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,r=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),n=t.createComponent(r,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(n.hostView.rootNodes[0]),super.setDisposeFn(()=>n.destroy()),this._attachedPortal=e,this._attachedRef=n,this.attached.emit(n),n}attachTemplatePortal(e){e.setAttachedHost(this);const t=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=t,this.attached.emit(t),t}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return e.\u0275fac=function(t){return new(t||e)(Ra(Bo),Ra(ml),Ra(ld))},e.\u0275dir=vt({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[ga]}),e})(),zx=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)}}),e})();function Ux(e,t){return r=>r.lift(new Vx(e,t))}class Vx{constructor(e,t){this.compare=e,this.keySelector=t}call(e,t){return t.subscribe(new Kx(e,this.compare,this.keySelector))}}class Kx extends m{constructor(e,t,r){super(e),this.keySelector=r,this.hasKey=!1,"function"==typeof t&&(this.compare=t)}compare(e,t){return e===t}_next(e){let t;try{const{keySelector:r}=this;t=r?r(e):e}catch(n){return this.destination.error(n)}let r=!1;if(this.hasKey)try{const{compare:e}=this;r=e(this.key,t)}catch(n){return this.destination.error(n)}else this.hasKey=!0;r||(this.key=t,this.destination.next(e))}}let Wx=1;const qx=(()=>Promise.resolve())(),Gx={};function $x(e){return e in Gx&&(delete Gx[e],!0)}const Zx={setImmediate(e){const t=Wx++;return Gx[t]=!0,qx.then(()=>$x(t)&&e()),t},clearImmediate(e){$x(e)}};class Jx extends mw{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,r=0){return null!==r&&r>0?super.requestAsyncId(e,t,r):(e.actions.push(this),e.scheduled||(e.scheduled=Zx.setImmediate(e.flush.bind(e,null))))}recycleAsyncId(e,t,r=0){if(null!==r&&r>0||null===r&&this.delay>0)return super.recycleAsyncId(e,t,r);0===e.actions.length&&(Zx.clearImmediate(t),e.scheduled=void 0)}}class Qx extends _w{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let r,n=-1,i=t.length;e=e||t.shift();do{if(r=e.execute(e.state,e.delay))break}while(++n{class e{constructor(e,t,r){this.kind=e,this.value=t,this.error=r,this.hasValue="N"===e}observe(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}do(e,t,r){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return r&&r()}}accept(e,t,r){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,r)}toObservable(){switch(this.kind){case"N":return sh(this.value);case"E":return qS(this.error);case"C":return _h()}throw new Error("unexpected notification kind value")}static createNext(t){return void 0!==t?new e("N",t):e.undefinedValueNotification}static createError(t){return new e("E",void 0,t)}static createComplete(){return e.completeNotification}}return e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e})();function tC(e){return e&&"function"==typeof e.connect}class rC{applyChanges(e,t,r,n,i){e.forEachOperation((e,n,s)=>{let a,o;if(null==e.previousIndex){const i=r(e,n,s);a=t.createEmbeddedView(i.templateRef,i.context,i.index),o=1}else null==s?(t.remove(n),o=3):(a=t.get(n),t.move(a,s),o=2);i&&i({context:null==a?void 0:a.context,operation:o,record:e})})}detach(){}}class nC{constructor(e=!1,t,r=!0){this._multiple=e,this._emitChanges=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new M,t&&t.length&&(e?t.forEach(e=>this._markSelected(e)):this._markSelected(t[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...e){this._verifyValueAssignment(e),e.forEach(e=>this._markSelected(e)),this._emitChangeEvent()}deselect(...e){this._verifyValueAssignment(e),e.forEach(e=>this._unmarkSelected(e)),this._emitChangeEvent()}toggle(e){this.isSelected(e)?this.deselect(e):this.select(e)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(e){return this._selection.has(e)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(e){this._multiple&&this.selected&&this._selected.sort(e)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(e){this.isSelected(e)||(this._multiple||this._unmarkAll(),this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}_unmarkSelected(e){this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}_unmarkAll(){this.isEmpty()||this._selection.forEach(e=>this._unmarkSelected(e))}_verifyValueAssignment(e){}}const iC=new Fe("_ViewRepeater");let sC=(()=>{class e{constructor(e,t,r){this._ngZone=e,this._platform=t,this._scrolled=new M,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new y(t=>{this._globalSubscription||this._addGlobalListener();const r=e>0?this._scrolled.pipe(lS(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):sh()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,t)=>this.deregister(t)),this._scrolled.complete()}ancestorScrolled(e,t){const r=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(bh(e=>!e||r.indexOf(e)>-1))}getAncestorScrollContainers(e){const t=[];return this.scrollContainers.forEach((r,n)=>{this._scrollableContainsElement(n,e)&&t.push(n)}),t}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollableContainsElement(e,t){let r=t.nativeElement,n=e.getElementRef().nativeElement;do{if(r==n)return!0}while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>_M(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return e.\u0275fac=function(t){return new(t||e)($e(Ec),$e($v),$e(ld,8))},e.\u0275prov=de({factory:function(){return new e($e(Ec),$e($v),$e(ld,8))},token:e,providedIn:"root"}),e})(),aC=(()=>{class e{constructor(e,t,r,n){this.elementRef=e,this.scrollDispatcher=t,this.ngZone=r,this.dir=n,this._destroyed=new M,this._elementScrolled=new y(e=>this.ngZone.runOutsideAngular(()=>_M(this.elementRef.nativeElement,"scroll").pipe(gM(this._destroyed)).subscribe(e)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){const t=this.elementRef.nativeElement,r=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=r?e.end:e.start),null==e.right&&(e.right=r?e.start:e.end),null!=e.bottom&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),r&&0!=iw()?(null!=e.left&&(e.right=t.scrollWidth-t.clientWidth-e.left),2==iw()?e.left=e.right:1==iw()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){const t=this.elementRef.nativeElement;!function(){if(null==tw)if("object"==typeof document&&document||(tw=!1),"scrollBehavior"in document.documentElement.style)tw=!0;else{const e=Element.prototype.scrollTo;tw=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}return tw}()?(null!=e.top&&(t.scrollTop=e.top),null!=e.left&&(t.scrollLeft=e.left)):t.scrollTo(e)}measureScrollOffset(e){const t="left",r="right",n=this.elementRef.nativeElement;if("top"==e)return n.scrollTop;if("bottom"==e)return n.scrollHeight-n.clientHeight-n.scrollTop;const i=this.dir&&"rtl"==this.dir.value;return"start"==e?e=i?r:t:"end"==e&&(e=i?t:r),i&&2==iw()?e==t?n.scrollWidth-n.clientWidth-n.scrollLeft:n.scrollLeft:i&&1==iw()?e==t?n.scrollLeft+n.scrollWidth-n.clientWidth:-n.scrollLeft:e==t?n.scrollLeft:n.scrollWidth-n.clientWidth-n.scrollLeft}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(sC),Ra(Ec),Ra(dk,8))},e.\u0275dir=vt({type:e,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),e})(),oC=(()=>{class e{constructor(e,t,r){this._platform=e,this._change=new M,this._changeListener=e=>{this._change.next(e)},this._document=r,t.runOutsideAngular(()=>{if(e.isBrowser){const e=this._getWindow();e.addEventListener("resize",this._changeListener),e.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:t,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+t,height:r,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._getDocument(),t=this._getWindow(),r=e.documentElement,n=r.getBoundingClientRect();return{top:-n.top||e.body.scrollTop||t.scrollY||r.scrollTop||0,left:-n.left||e.body.scrollLeft||t.scrollX||r.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(lS(e)):this._change}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return e.\u0275fac=function(t){return new(t||e)($e($v),$e(Ec),$e(ld,8))},e.\u0275prov=de({factory:function(){return new e($e($v),$e(Ec),$e(ld,8))},token:e,providedIn:"root"}),e})(),lC=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)}}),e})(),cC=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[uk,Zv,lC],uk,lC]}),e})();const dC=["*"],uC=["tabListContainer"],hC=["tabList"],fC=["nextPaginator"],mC=["previousPaginator"],pC=["mat-tab-nav-bar",""],_C=new Fe("MatInkBarPositioner",{providedIn:"root",factory:function(){return e=>({left:e?(e.offsetLeft||0)+"px":"0",width:e?(e.offsetWidth||0)+"px":"0"})}});let gC=(()=>{class e{constructor(e,t,r,n){this._elementRef=e,this._ngZone=t,this._inkBarPositioner=r,this._animationMode=n}alignToElement(e){this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._setStyles(e))}):this._setStyles(e)}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}_setStyles(e){const t=this._inkBarPositioner(e),r=this._elementRef.nativeElement;r.style.left=t.left,r.style.width=t.width}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(Ec),Ra(_C),Ra(Vv,8))},e.\u0275dir=vt({type:e,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(e,t){2&e&&fo("_mat-animation-noopable","NoopAnimations"===t._animationMode)}}),e})();const yC=nw({passive:!0});let bC=(()=>{class e{constructor(e,t,r,n,i,s,a){this._elementRef=e,this._changeDetectorRef=t,this._viewportRuler=r,this._dir=n,this._ngZone=i,this._platform=s,this._animationMode=a,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new M,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new M,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new Bl,this.indexFocused=new Bl,i.runOutsideAngular(()=>{_M(e.nativeElement,"mouseleave").pipe(gM(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){e=Mw(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}ngAfterViewInit(){_M(this._previousPaginator.nativeElement,"touchstart",yC).pipe(gM(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),_M(this._nextPaginator.nativeElement,"touchstart",yC).pipe(gM(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const e=this._dir?this._dir.change:sh(null),t=this._viewportRuler.change(150),r=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new Bw(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(r):r(),K(e,t,this._items.changes).pipe(gM(this._destroyed)).subscribe(()=>{Promise.resolve().then(r),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe(gM(this._destroyed)).subscribe(e=>{this.indexFocused.emit(e),this._setTabFocus(e)})}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!hw(e))switch(e.keyCode){case sw:case ow:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e));break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){const e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){this._isValidIndex(e)&&this.focusIndex!==e&&this._keyManager&&this._keyManager.setActiveItem(e)}_isValidIndex(e){if(!this._items)return!0;const t=this._items?this._items.toArray()[e]:null;return!!t&&!t.disabled}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();const t=this._tabListContainer.nativeElement,r=this._getLayoutDirection();t.scrollLeft="ltr"==r?0:t.scrollWidth-t.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const e=this.scrollDistance,t=this._platform,r="ltr"===this._getLayoutDirection()?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(r)}px)`,t&&(t.TRIDENT||t.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){return this._scrollTo(this._scrollDistance+("before"==e?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;const t=this._items?this._items.toArray()[e]:null;if(!t)return;const r=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:n,offsetWidth:i}=t.elementRef.nativeElement;let s,a;"ltr"==this._getLayoutDirection()?(s=n,a=s+i):(a=this._tabList.nativeElement.offsetWidth-n,s=a-i);const o=this.scrollDistance,l=this.scrollDistance+r;sl&&(this.scrollDistance+=a-l+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const e=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,t=e?e.elementRef.nativeElement:null;t?this._inkBar.alignToElement(t):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,t){t&&null!=t.button&&0!==t.button||(this._stopInterval(),aS(650,100).pipe(gM(K(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:t,distance:r}=this._scrollHeader(e);(0===r||r>=t)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const t=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(t,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:t,distance:this._scrollDistance}}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(Zs),Ra(oC),Ra(dk,8),Ra(Ec),Ra($v),Ra(Vv,8))},e.\u0275dir=vt({type:e,inputs:{disablePagination:"disablePagination"}}),e})(),vC=(()=>{class e extends bC{constructor(e,t,r,n,i,s,a){super(e,n,i,t,r,s,a),this._disableRipple=!1,this.color="primary"}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){const t=this._elementRef.nativeElement.classList;t.remove("mat-background-"+this.backgroundColor),e&&t.add("mat-background-"+e),this._backgroundColor=e}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=kw(e)}_itemSelected(){}ngAfterContentInit(){this._items.changes.pipe(Nh(null),gM(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}updateActiveLink(e){if(!this._items)return;const t=this._items.toArray();for(let r=0;r{class e extends vC{constructor(e,t,r,n,i,s,a){super(e,t,r,n,i,s,a)}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(dk,8),Ra(Ec),Ra(Zs),Ra(oC),Ra($v),Ra(Vv,8))},e.\u0275cmp=mt({type:e,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(e,t,r){var n;1&e&&rc(r,xC,!0),2&e&&Ql(n=sc())&&(t._items=n)},viewQuery:function(e,t){var r;1&e&&(Xl(gC,!0),Xl(uC,!0),Xl(hC,!0),ec(fC,!0),ec(mC,!0)),2&e&&(Ql(r=sc())&&(t._inkBar=r.first),Ql(r=sc())&&(t._tabListContainer=r.first),Ql(r=sc())&&(t._tabList=r.first),Ql(r=sc())&&(t._nextPaginator=r.first),Ql(r=sc())&&(t._previousPaginator=r.first))},hostAttrs:[1,"mat-tab-nav-bar","mat-tab-header"],hostVars:10,hostBindings:function(e,t){2&e&&fo("mat-tab-header-pagination-controls-enabled",t._showPaginationControls)("mat-tab-header-rtl","rtl"==t._getLayoutDirection())("mat-primary","warn"!==t.color&&"accent"!==t.color)("mat-accent","accent"===t.color)("mat-warn","warn"===t.color)},inputs:{color:"color"},exportAs:["matTabNavBar","matTabNav"],features:[ga],attrs:pC,ngContentSelectors:dC,decls:13,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-link-container",3,"keydown"],["tabListContainer",""],[1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-links"],["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,t){1&e&&(eo(),Fa(0,"div",0,1),qa("click",(function(){return t._handlePaginatorClick("before")}))("mousedown",(function(e){return t._handlePaginatorPress("before",e)}))("touchend",(function(){return t._stopInterval()})),Na(2,"div",2),Ha(),Fa(3,"div",3,4),qa("keydown",(function(e){return t._handleKeydown(e)})),Fa(5,"div",5,6),qa("cdkObserveContent",(function(){return t._onContentChanges()})),Fa(7,"div",7),to(8),Ha(),Na(9,"mat-ink-bar"),Ha(),Ha(),Fa(10,"div",8,9),qa("mousedown",(function(e){return t._handlePaginatorPress("after",e)}))("click",(function(){return t._handlePaginatorClick("after")}))("touchend",(function(){return t._stopInterval()})),Na(12,"div",2),Ha()),2&e&&(fo("mat-tab-header-pagination-disabled",t._disableScrollBefore),Ia("matRippleDisabled",t._disableScrollBefore||t.disableRipple),Li(5),fo("_mat-animation-noopable","NoopAnimations"===t._animationMode),Li(5),fo("mat-tab-header-pagination-disabled",t._disableScrollAfter),Ia("matRippleDisabled",t._disableScrollAfter||t.disableRipple))},directives:[Bk,Ew,gC],styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:"";height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-links{display:flex}[mat-align-tabs=center]>.mat-tab-link-container .mat-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-tab-link-container .mat-tab-links{justify-content:flex-end}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-link{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;vertical-align:top;text-decoration:none;position:relative;overflow:hidden;-webkit-tap-highlight-color:transparent}.mat-tab-link:focus{outline:none}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-link:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-link.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-link.mat-tab-disabled{opacity:.5}.mat-tab-link .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-link{opacity:1}[mat-stretch-tabs] .mat-tab-link{flex-basis:0;flex-grow:1}.mat-tab-link.mat-tab-disabled{pointer-events:none}@media(max-width: 599px){.mat-tab-link{min-width:72px}}\n'],encapsulation:2}),e})();class kC{}const MC=Mk(kk(vk(kC)));let SC=(()=>{class e extends MC{constructor(e,t,r,n,i,s){super(),this._tabNavBar=e,this.elementRef=t,this._focusMonitor=i,this._isActive=!1,this.rippleConfig=r||{},this.tabIndex=parseInt(n)||0,"NoopAnimations"===s&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}get active(){return this._isActive}set active(e){e!==this._isActive&&(this._isActive=e,this._tabNavBar.updateActiveLink(this.elementRef))}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this.elementRef)}}return e.\u0275fac=function(t){return new(t||e)(Ra(vC),Ra(zo),Ra(Nk,8),Oa("tabindex"),Ra(tk),Ra(Vv,8))},e.\u0275dir=vt({type:e,inputs:{active:"active"},features:[ga]}),e})(),xC=(()=>{class e extends SC{constructor(e,t,r,n,i,s,a,o){super(e,t,i,s,a,o),this._tabLinkRipple=new Hk(this,r,t,n),this._tabLinkRipple.setupTriggerEvents(t.nativeElement)}ngOnDestroy(){super.ngOnDestroy(),this._tabLinkRipple._removeTriggerEvents()}}return e.\u0275fac=function(t){return new(t||e)(Ra(wC),Ra(zo),Ra(Ec),Ra($v),Ra(Nk,8),Oa("tabindex"),Ra(tk),Ra(Vv,8))},e.\u0275dir=vt({type:e,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mat-tab-link","mat-focus-indicator"],hostVars:7,hostBindings:function(e,t){2&e&&(Ea("aria-current",t.active?"page":null)("aria-disabled",t.disabled)("tabIndex",t.tabIndex),fo("mat-tab-disabled",t.disabled)("mat-tab-label-active",t.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matTabLink"],features:[ga]}),e})(),CC=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Mu,bk,zx,zk,Tw,lk],bk]}),e})(),DC=(()=>{class e{constructor(e){this.authService=e,this.authService.auth.subscribe(e=>{this.auth=e})}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)(Ra(w_))},e.\u0275cmp=mt({type:e,selectors:[["app-account"]],decls:19,vars:16,consts:[["mat-tab-nav-bar",""],["mat-tab-link","","routerLink","info","routerLinkActive","active"],["mat-tab-link","","routerLink","profile","routerLinkActive","active"],["mat-tab-link","","routerLink","voucher","routerLinkActive","active"],["mat-tab-link","","routerLink","security","routerLinkActive","active"]],template:function(e,t){1&e&&(Fa(0,"h2"),xo(1),Il(2,"i18n"),Fa(3,"mat-icon"),xo(4,"sentiment_satisfied_alt"),Ha(),Ha(),Fa(5,"nav",0),Fa(6,"a",1),xo(7),Il(8,"i18n"),Ha(),Fa(9,"a",2),xo(10),Il(11,"i18n"),Ha(),Fa(12,"a",3),xo(13),Il(14,"i18n"),Ha(),Fa(15,"a",4),xo(16),Il(17,"i18n"),Ha(),Ha(),Na(18,"router-outlet")),2&e&&(Li(1),Do("",Fl(2,5,"greet",t.auth.name)," "),Li(6),Co(jl(8,8,"info")),Li(3),Co(jl(11,10,"profile")),Li(3),Co(jl(14,12,"vouchers")),Li(3),Co(jl(17,14,"security")))},directives:[cx,wC,wp,xC,Mp,Sp],pipes:[zS],styles:[""]}),e})();class LC{constructor(e,t){this.predicate=e,this.inclusive=t}call(e,t){return t.subscribe(new AC(e,this.predicate,this.inclusive))}}class AC extends m{constructor(e,t,r){super(e),this.predicate=t,this.inclusive=r,this.index=0}_next(e){const t=this.destination;let r;try{r=this.predicate(e,this.index++)}catch(n){return void t.error(n)}this.nextOrComplete(e,r)}nextOrComplete(e,t){const r=this.destination;Boolean(t)?r.next(e):(this.inclusive&&r.next(e),r.complete())}}class EC{constructor(e,t){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}attach(){}enable(){if(this._canBeEnabled()){const e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=Cw(-this._previousScrollPosition.left),e.style.top=Cw(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const e=this._document.documentElement,t=e.style,r=this._document.body.style,n=t.scrollBehavior||"",i=r.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),t.scrollBehavior=r.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),t.scrollBehavior=n,r.scrollBehavior=i}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}}class TC{constructor(e,t,r,n){this._scrollDispatcher=e,this._ngZone=t,this._viewportRuler=r,this._config=n,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){this._overlayRef=e}enable(){if(this._scrollSubscription)return;const e=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class PC{enable(){}disable(){}attach(){}}function YC(e,t){return t.some(t=>e.bottomt.bottom||e.rightt.right)}function RC(e,t){return t.some(t=>e.topt.bottom||e.leftt.right)}class OC{constructor(e,t,r,n){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=r,this._config=n,this._scrollSubscription=null}attach(e){this._overlayRef=e}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:r}=this._viewportRuler.getViewportSize();YC(e,[{width:t,height:r,bottom:r,right:t,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let IC=(()=>{class e{constructor(e,t,r,n){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=r,this.noop=()=>new PC,this.close=e=>new TC(this._scrollDispatcher,this._ngZone,this._viewportRuler,e),this.block=()=>new EC(this._viewportRuler,this._document),this.reposition=e=>new OC(this._scrollDispatcher,this._viewportRuler,this._ngZone,e),this._document=n}}return e.\u0275fac=function(t){return new(t||e)($e(sC),$e(oC),$e(Ec),$e(ld))},e.\u0275prov=de({factory:function(){return new e($e(sC),$e(oC),$e(Ec),$e(ld))},token:e,providedIn:"root"}),e})();class jC{constructor(e){if(this.scrollStrategy=new PC,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){const t=Object.keys(e);for(const r of t)void 0!==e[r]&&(this[r]=e[r])}}}class FC{constructor(e,t,r,n,i){this.offsetX=r,this.offsetY=n,this.panelClass=i,this.originX=e.originX,this.originY=e.originY,this.overlayX=t.overlayX,this.overlayY=t.overlayY}}class HC{constructor(e,t){this.connectionPair=e,this.scrollableViewProperties=t}}let NC=(()=>{class e{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this.detach()}}return e.\u0275fac=function(t){return new(t||e)($e(ld))},e.\u0275prov=de({factory:function(){return new e($e(ld))},token:e,providedIn:"root"}),e})(),BC=(()=>{class e extends NC{constructor(e){super(e),this._keydownListener=e=>{const t=this._attachedOverlays;for(let r=t.length-1;r>-1;r--)if(t[r]._keydownEvents.observers.length>0){t[r]._keydownEvents.next(e);break}}}add(e){super.add(e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return e.\u0275fac=function(t){return new(t||e)($e(ld))},e.\u0275prov=de({factory:function(){return new e($e(ld))},token:e,providedIn:"root"}),e})(),zC=(()=>{class e extends NC{constructor(e,t){super(e),this._platform=t,this._cursorStyleIsSet=!1,this._clickListener=e=>{const t=e.composedPath?e.composedPath()[0]:e.target,r=this._attachedOverlays.slice();for(let n=r.length-1;n>-1;n--){const i=r[n];if(!(i._outsidePointerEvents.observers.length<1)&&i.hasAttached()){if(i.overlayElement.contains(t))break;i._outsidePointerEvents.next(e)}}}}add(e){super.add(e),this._isAttached||(this._document.body.addEventListener("click",this._clickListener,!0),this._document.body.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=this._document.body.style.cursor,this._document.body.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("click",this._clickListener,!0),this._document.body.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}}return e.\u0275fac=function(t){return new(t||e)($e(ld),$e($v))},e.\u0275prov=de({factory:function(){return new e($e(ld),$e($v))},token:e,providedIn:"root"}),e})();const UC=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine);let VC=(()=>{class e{constructor(e,t){this._platform=t,this._document=e}ngOnDestroy(){const e=this._containerElement;e&&e.parentNode&&e.parentNode.removeChild(e)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e=this._platform?this._platform.isBrowser:"undefined"!=typeof window,t="cdk-overlay-container";if(e||UC){const e=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let t=0;tthis._backdropClick.next(e),this._keydownEvents=new M,this._outsidePointerEvents=new M,n.scrollStrategy&&(this._scrollStrategy=n.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=n.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){let t=this._portalOutlet.attach(e);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Ih(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&this._location&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher&&this._outsideClickDispatcher.add(this),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher&&this._outsideClickDispatcher.remove(this),e}dispose(){const e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher&&this._outsideClickDispatcher.remove(this),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=Object.assign(Object.assign({},this._config),e),this._updateElementSize()}setDirection(e){this._config=Object.assign(Object.assign({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){const e=this._config.direction;return e?"string"==typeof e?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const e=this._pane.style;e.width=Cw(this._config.width),e.height=Cw(this._config.height),e.minWidth=Cw(this._config.minWidth),e.minHeight=Cw(this._config.minHeight),e.maxWidth=Cw(this._config.maxWidth),e.maxHeight=Cw(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"auto":"none"}_attachBackdrop(){const e="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(e)})}):this._backdropElement.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let e,t=this._backdropElement;if(!t)return;let r=()=>{t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",r),t.parentNode&&t.parentNode.removeChild(t)),this._backdropElement==t&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(t,this._config.backdropClass,!1),clearTimeout(e)};t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",r)}),t.style.pointerEvents="none",e=this._ngZone.runOutsideAngular(()=>setTimeout(r,500))}_toggleClasses(e,t,r){const n=e.classList;xw(t).forEach(e=>{e&&(r?n.add(e):n.remove(e))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const e=this._ngZone.onStable.pipe(gM(K(this._attachments,this._detachments))).subscribe(()=>{this._pane&&this._host&&0!==this._pane.children.length||(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._previousHostParent.removeChild(this._host)),e.unsubscribe())})})}_disposeScrollStrategy(){const e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}}const WC="cdk-overlay-connected-position-bounding-box",qC=/([A-Za-z%]+)$/;class GC{constructor(e,t,r,n,i){this._viewportRuler=t,this._document=r,this._platform=n,this._overlayContainer=i,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new M,this._resizeSubscription=u.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}get positions(){return this._preferredPositions}attach(e){this._validatePositions(),e.hostElement.classList.add(WC),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();const e=this._originRect,t=this._overlayRect,r=this._viewportRect,n=[];let i;for(let s of this._preferredPositions){let a=this._getOriginPoint(e,s),o=this._getOverlayPoint(a,t,s),l=this._getOverlayFit(o,t,r,s);if(l.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(s,a);this._canFitWithFlexibleDimensions(l,o,r)?n.push({position:s,origin:a,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(a,s)}):(!i||i.overlayFit.visibleAreat&&(t=n,e=r)}return this._isPushed=!1,void this._applyPosition(e.position,e.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(i.position,i.originPoint);this._applyPosition(i.position,i.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&$C(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(WC),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const e=this._lastPosition||this._preferredPositions[0],t=this._getOriginPoint(this._originRect,e);this._applyPosition(e,t)}}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,t){let r,n;if("center"==t.originX)r=e.left+e.width/2;else{const n=this._isRtl()?e.right:e.left,i=this._isRtl()?e.left:e.right;r="start"==t.originX?n:i}return n="center"==t.originY?e.top+e.height/2:"top"==t.originY?e.top:e.bottom,{x:r,y:n}}_getOverlayPoint(e,t,r){let n,i;return n="center"==r.overlayX?-t.width/2:"start"===r.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,i="center"==r.overlayY?-t.height/2:"top"==r.overlayY?0:-t.height,{x:e.x+n,y:e.y+i}}_getOverlayFit(e,t,r,n){let{x:i,y:s}=e,a=this._getOffset(n,"x"),o=this._getOffset(n,"y");a&&(i+=a),o&&(s+=o);let l=0-s,c=s+t.height-r.height,d=this._subtractOverflows(t.width,0-i,i+t.width-r.width),u=this._subtractOverflows(t.height,l,c),h=d*u;return{visibleArea:h,isCompletelyWithinViewport:t.width*t.height===h,fitsInViewportVertically:u===t.height,fitsInViewportHorizontally:d==t.width}}_canFitWithFlexibleDimensions(e,t,r){if(this._hasFlexibleDimensions){const n=r.bottom-t.y,i=r.right-t.x,s=ZC(this._overlayRef.getConfig().minHeight),a=ZC(this._overlayRef.getConfig().minWidth),o=e.fitsInViewportHorizontally||null!=a&&a<=i;return(e.fitsInViewportVertically||null!=s&&s<=n)&&o}return!1}_pushOverlayOnScreen(e,t,r){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};const n=this._viewportRect,i=Math.max(e.x+t.width-n.width,0),s=Math.max(e.y+t.height-n.height,0),a=Math.max(n.top-r.top-e.y,0),o=Math.max(n.left-r.left-e.x,0);let l=0,c=0;return l=t.width<=n.width?o||-i:e.xn&&!this._isInitialRender&&!this._growAfterOpen&&(s=e.y-n/2)}if("end"===t.overlayX&&!n||"start"===t.overlayX&&n)c=r.width-e.x+this._viewportMargin,o=e.x-this._viewportMargin;else if("start"===t.overlayX&&!n||"end"===t.overlayX&&n)l=e.x,o=r.right-e.x;else{const t=Math.min(r.right-e.x+r.left,e.x),n=this._lastBoundingBoxSize.width;o=2*t,l=e.x-t,o>n&&!this._isInitialRender&&!this._growAfterOpen&&(l=e.x-n/2)}return{top:s,left:l,bottom:a,right:c,width:o,height:i}}_setBoundingBoxStyles(e,t){const r=this._calculateBoundingBoxRect(e,t);this._isInitialRender||this._growAfterOpen||(r.height=Math.min(r.height,this._lastBoundingBoxSize.height),r.width=Math.min(r.width,this._lastBoundingBoxSize.width));const n={};if(this._hasExactPosition())n.top=n.left="0",n.bottom=n.right=n.maxHeight=n.maxWidth="",n.width=n.height="100%";else{const e=this._overlayRef.getConfig().maxHeight,i=this._overlayRef.getConfig().maxWidth;n.height=Cw(r.height),n.top=Cw(r.top),n.bottom=Cw(r.bottom),n.width=Cw(r.width),n.left=Cw(r.left),n.right=Cw(r.right),n.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",n.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",e&&(n.maxHeight=Cw(e)),i&&(n.maxWidth=Cw(i))}this._lastBoundingBoxSize=r,$C(this._boundingBox.style,n)}_resetBoundingBoxStyles(){$C(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){$C(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,t){const r={},n=this._hasExactPosition(),i=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(n){const n=this._viewportRuler.getViewportScrollPosition();$C(r,this._getExactOverlayY(t,e,n)),$C(r,this._getExactOverlayX(t,e,n))}else r.position="static";let a="",o=this._getOffset(t,"x"),l=this._getOffset(t,"y");o&&(a+=`translateX(${o}px) `),l&&(a+=`translateY(${l}px)`),r.transform=a.trim(),s.maxHeight&&(n?r.maxHeight=Cw(s.maxHeight):i&&(r.maxHeight="")),s.maxWidth&&(n?r.maxWidth=Cw(s.maxWidth):i&&(r.maxWidth="")),$C(this._pane.style,r)}_getExactOverlayY(e,t,r){let n={top:"",bottom:""},i=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,r));let s=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return i.y-=s,"bottom"===e.overlayY?n.bottom=this._document.documentElement.clientHeight-(i.y+this._overlayRect.height)+"px":n.top=Cw(i.y),n}_getExactOverlayX(e,t,r){let n,i={left:"",right:""},s=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,r)),n=this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left","right"===n?i.right=this._document.documentElement.clientWidth-(s.x+this._overlayRect.width)+"px":i.left=Cw(s.x),i}_getScrollVisibility(){const e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),r=this._scrollables.map(e=>e.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:RC(e,r),isOriginOutsideView:YC(e,r),isOverlayClipped:RC(t,r),isOverlayOutsideView:YC(t,r)}}_subtractOverflows(e,...t){return t.reduce((e,t)=>e-Math.max(t,0),e)}_getNarrowedViewportRect(){const e=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,r=this._viewportRuler.getViewportScrollPosition();return{top:r.top+this._viewportMargin,left:r.left+this._viewportMargin,right:r.left+e-this._viewportMargin,bottom:r.top+t-this._viewportMargin,width:e-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,t){return"x"===t?null==e.offsetX?this._offsetX:e.offsetX:null==e.offsetY?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&xw(e).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){const e=this._origin;if(e instanceof zo)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();const t=e.width||0,r=e.height||0;return{top:e.y,bottom:e.y+r,left:e.x,right:e.x+t,height:r,width:t}}}function $C(e,t){for(let r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);return e}function ZC(e){if("number"!=typeof e&&null!=e){const[t,r]=e.split(qC);return r&&"px"!==r?null:parseFloat(t)}return e||null}class JC{constructor(e,t,r,n,i,s,a){this._preferredPositions=[],this._positionStrategy=new GC(r,n,i,s,a).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(e,t),this.onPositionChange=this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(e){this._overlayRef=e,this._positionStrategy.attach(e),this._direction&&(e.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(e){this._positionStrategy.withScrollableContainers(e)}withFallbackPosition(e,t,r,n){const i=new FC(e,t,r,n);return this._preferredPositions.push(i),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(e){return this._overlayRef?this._overlayRef.setDirection(e):this._direction=e,this}withOffsetX(e){return this._positionStrategy.withDefaultOffsetX(e),this}withOffsetY(e){return this._positionStrategy.withDefaultOffsetY(e),this}withLockedPosition(e){return this._positionStrategy.withLockedPosition(e),this}withPositions(e){return this._preferredPositions=e.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(e){return this._positionStrategy.setOrigin(e),this}}const QC="cdk-global-overlay-wrapper";class XC{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(e){const t=e.getConfig();this._overlayRef=e,this._width&&!t.width&&e.updateSize({width:this._width}),this._height&&!t.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(QC),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._rightOffset="",this._leftOffset=e,this._justifyContent="flex-start",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._leftOffset="",this._rightOffset=e,this._justifyContent="flex-end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._justifyContent="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,r=this._overlayRef.getConfig(),{width:n,height:i,maxWidth:s,maxHeight:a}=r,o=!("100%"!==n&&"100vw"!==n||s&&"100%"!==s&&"100vw"!==s),l=!("100%"!==i&&"100vh"!==i||a&&"100%"!==a&&"100vh"!==a);e.position=this._cssPosition,e.marginLeft=o?"0":this._leftOffset,e.marginTop=l?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=this._rightOffset,o?t.justifyContent="flex-start":"center"===this._justifyContent?t.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?t.justifyContent="flex-end":"flex-end"===this._justifyContent&&(t.justifyContent="flex-start"):t.justifyContent=this._justifyContent,t.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,r=t.style;t.classList.remove(QC),r.justifyContent=r.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}}let eD=(()=>{class e{constructor(e,t,r,n){this._viewportRuler=e,this._document=t,this._platform=r,this._overlayContainer=n}global(){return new XC}connectedTo(e,t,r){return new JC(t,r,e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(e){return new GC(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return e.\u0275fac=function(t){return new(t||e)($e(oC),$e(ld),$e($v),$e(VC))},e.\u0275prov=de({factory:function(){return new e($e(oC),$e(ld),$e($v),$e(VC))},token:e,providedIn:"root"}),e})(),tD=0,rD=(()=>{class e{constructor(e,t,r,n,i,s,a,o,l,c,d){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=r,this._positionBuilder=n,this._keyboardDispatcher=i,this._injector=s,this._ngZone=a,this._document=o,this._directionality=l,this._location=c,this._outsideClickDispatcher=d}create(e){const t=this._createHostElement(),r=this._createPaneElement(t),n=this._createPortalOutlet(r),i=new jC(e);return i.direction=i.direction||this._directionality.value,new KC(n,t,r,i,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(e){const t=this._document.createElement("div");return t.id="cdk-overlay-"+tD++,t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get($c)),new Nx(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return e.\u0275fac=function(t){return new(t||e)($e(IC),$e(VC),$e(Bo),$e(eD),$e(BC),$e(fa),$e(Ec),$e(ld),$e(dk),$e(Md),$e(zC))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();const nD=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],iD=new Fe("cdk-connected-overlay-scroll-strategy");let sD=(()=>{class e{constructor(e){this.elementRef=e}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo))},e.\u0275dir=vt({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),e})(),aD=(()=>{class e{constructor(e,t,r,n,i){this._overlay=e,this._dir=i,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=u.EMPTY,this._attachSubscription=u.EMPTY,this._detachSubscription=u.EMPTY,this._positionSubscription=u.EMPTY,this.viewportMargin=0,this.open=!1,this.backdropClick=new Bl,this.positionChange=new Bl,this.attach=new Bl,this.detach=new Bl,this.overlayKeydown=new Bl,this.overlayOutsideClick=new Bl,this._templatePortal=new jx(t,r),this._scrollStrategyFactory=n,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=kw(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=kw(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=kw(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=kw(e)}get push(){return this._push}set push(e){this._push=kw(e)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){this.positions&&this.positions.length||(this.positions=nD);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(e=>{this.overlayKeydown.next(e),e.keyCode!==aw||hw(e)||(e.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(e=>{this.overlayOutsideClick.next(e)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new jC({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(t.width=this.width),(this.height||0===this.height)&&(t.height=this.height),(this.minWidth||0===this.minWidth)&&(t.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(t.minHeight=this.minHeight),this.backdropClass&&(t.backdropClass=this.backdropClass),this.panelClass&&(t.panelClass=this.panelClass),t}_updatePositionStrategy(e){const t=this.positions.map(e=>({originX:e.originX,originY:e.originY,overlayX:e.overlayX,overlayY:e.overlayY,offsetX:e.offsetX||this.offsetX,offsetY:e.offsetY||this.offsetY,panelClass:e.panelClass||void 0}));return e.setOrigin(this.origin.elementRef).withPositions(t).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(e),e}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function(e,t=!1){return r=>r.lift(new LC(e,t))}(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(Ra(rD),Ra(hl),Ra(ml),Ra(iD),Ra(dk,8))},e.\u0275dir=vt({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[Ot]}),e})();const oD={provide:iD,deps:[rD],useFactory:function(e){return()=>e.scrollStrategies.reposition()}};let lD=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[rD,oD],imports:[[uk,zx,cC],cC]}),e})();function cD(e,t){}class dD{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}const uD={dialogContainer:ly("dialogContainer",[fy("void, exit",hy({opacity:0,transform:"scale(0.7)"})),fy("enter",hy({transform:"none"})),py("* => enter",cy("150ms cubic-bezier(0, 0, 0.2, 1)",hy({transform:"none",opacity:1}))),py("* => void, * => exit",cy("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",hy({opacity:0})))])};let hD=(()=>{class e extends Hx{constructor(e,t,r,n,i,s){super(),this._elementRef=e,this._focusTrapFactory=t,this._changeDetectorRef=r,this._config=i,this._focusMonitor=s,this._animationStateChanged=new Bl,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=e=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(e)),this._ariaLabelledBy=i.ariaLabelledBy||null,this._document=n}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}attachComponentPortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(e)}attachTemplatePortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(e)}_recaptureFocus(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}_trapFocus(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}_restoreFocus(){const e=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&e&&"function"==typeof e.focus){const t=this._document.activeElement,r=this._elementRef.nativeElement;t&&t!==this._document.body&&t!==r&&!r.contains(t)||(this._focusMonitor?(this._focusMonitor.focusVia(e,this._closeInteractionType),this._closeInteractionType=null):e.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement)}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,t=this._document.activeElement;return e===t||e.contains(t)}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(Ww),Ra(Zs),Ra(ld,8),Ra(dD),Ra(tk))},e.\u0275dir=vt({type:e,viewQuery:function(e,t){var r;1&e&&Xl(Bx,!0),2&e&&Ql(r=sc())&&(t._portalOutlet=r.first)},features:[ga]}),e})(),fD=(()=>{class e extends hD{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:e,totalTime:t}){"enter"===e?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:t})):"exit"===e&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:t}))}_onAnimationStart({toState:e,totalTime:t}){"enter"===e?this._animationStateChanged.next({state:"opening",totalTime:t}):"exit"!==e&&"void"!==e||this._animationStateChanged.next({state:"closing",totalTime:t})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return e.\u0275fac=function(t){return mD(t||e)},e.\u0275cmp=mt({type:e,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&Ga("@dialogContainer.start",(function(e){return t._onAnimationStart(e)}))("@dialogContainer.done",(function(e){return t._onAnimationDone(e)})),2&e&&(Ao("id",t._id),Ea("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),Eo("@dialogContainer",t._state))},features:[ga],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&Pa(0,cD,0,0,"ng-template",0)},directives:[Bx],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[uD.dialogContainer]}}),e})();const mD=vn(fD);let pD=0;class _D{constructor(e,t,r="mat-dialog-"+pD++){this._overlayRef=e,this._containerInstance=t,this.id=r,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new M,this._afterClosed=new M,this._beforeClosed=new M,this._state=0,t._id=r,t._animationStateChanged.pipe(bh(e=>"opened"===e.state),Ih(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t._animationStateChanged.pipe(bh(e=>"closed"===e.state),Ih(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),e.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),e.keydownEvents().pipe(bh(e=>e.keyCode===aw&&!this.disableClose&&!hw(e))).subscribe(e=>{e.preventDefault(),gD(this,"keyboard")}),e.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():gD(this,"mouse")})}close(e){this._result=e,this._containerInstance._animationStateChanged.pipe(bh(e=>"closing"===e.state),Ih(1)).subscribe(t=>{this._beforeClosed.next(e),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),t.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(e){let t=this._getPositionStrategy();return e&&(e.left||e.right)?e.left?t.left(e.left):t.right(e.right):t.centerHorizontally(),e&&(e.top||e.bottom)?e.top?t.top(e.top):t.bottom(e.bottom):t.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(e="",t=""){return this._getPositionStrategy().width(e).height(t),this._overlayRef.updatePosition(),this}addPanelClass(e){return this._overlayRef.addPanelClass(e),this}removePanelClass(e){return this._overlayRef.removePanelClass(e),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function gD(e,t,r){return void 0!==e._containerInstance&&(e._containerInstance._closeInteractionType=t),e.close(r)}const yD=new Fe("MatDialogData"),bD=new Fe("mat-dialog-default-options"),vD=new Fe("mat-dialog-scroll-strategy"),wD={provide:vD,deps:[rD],useFactory:function(e){return()=>e.scrollStrategies.block()}};let kD=(()=>{class e{constructor(e,t,r,n,i,s,a,o,l){this._overlay=e,this._injector=t,this._defaultOptions=r,this._parentDialog=n,this._overlayContainer=i,this._dialogRefConstructor=a,this._dialogContainerType=o,this._dialogDataToken=l,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new M,this._afterOpenedAtThisLevel=new M,this._ariaHiddenElements=new Map,this.afterAllClosed=gh(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Nh(void 0))),this._scrollStrategy=s}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(e,t){(t=function(e,t){return Object.assign(Object.assign({},t),e)}(t,this._defaultOptions||new dD)).id&&this.getDialogById(t.id);const r=this._createOverlay(t),n=this._attachDialogContainer(r,t),i=this._attachDialogContent(e,n,r,t);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(i),i.afterClosed().subscribe(()=>this._removeOpenDialog(i)),this.afterOpened.next(i),n._initializeWithAttachedContent(),i}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(e){const t=this._getOverlayConfig(e);return this._overlay.create(t)}_getOverlayConfig(e){const t=new jC({positionStrategy:this._overlay.position().global(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}_attachDialogContainer(e,t){const r=fa.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:dD,useValue:t}]}),n=new Ix(this._dialogContainerType,t.viewContainerRef,r,t.componentFactoryResolver);return e.attach(n).instance}_attachDialogContent(e,t,r,n){const i=new this._dialogRefConstructor(r,t,n.id);if(e instanceof hl)t.attachTemplatePortal(new jx(e,null,{$implicit:n.data,dialogRef:i}));else{const r=this._createInjector(n,i,t),s=t.attachComponentPortal(new Ix(e,n.viewContainerRef,r));i.componentInstance=s.instance}return i.updateSize(n.width,n.height).updatePosition(n.position),i}_createInjector(e,t,r){const n=e&&e.viewContainerRef&&e.viewContainerRef.injector,i=[{provide:this._dialogContainerType,useValue:r},{provide:this._dialogDataToken,useValue:e.data},{provide:this._dialogRefConstructor,useValue:t}];return!e.direction||n&&n.get(dk,null)||i.push({provide:dk,useValue:{value:e.direction,change:sh()}}),fa.create({parent:n||this._injector,providers:i})}_removeOpenDialog(e){const t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((e,t)=>{e?t.setAttribute("aria-hidden",e):t.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const t=e.parentElement.children;for(let r=t.length-1;r>-1;r--){let n=t[r];n===e||"SCRIPT"===n.nodeName||"STYLE"===n.nodeName||n.hasAttribute("aria-live")||(this._ariaHiddenElements.set(n,n.getAttribute("aria-hidden")),n.setAttribute("aria-hidden","true"))}}}_closeDialogs(e){let t=e.length;for(;t--;)e[t].close()}}return e.\u0275fac=function(t){return new(t||e)(Ra(rD),Ra(fa),Ra(void 0),Ra(void 0),Ra(VC),Ra(void 0),Ra(Qs),Ra(Qs),Ra(Fe))},e.\u0275dir=vt({type:e}),e})(),MD=(()=>{class e extends kD{constructor(e,t,r,n,i,s,a){super(e,t,n,s,a,i,_D,fD,yD)}}return e.\u0275fac=function(t){return new(t||e)($e(rD),$e(fa),$e(Md,8),$e(bD,8),$e(vD),$e(e,12),$e(VC))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})(),SD=0,xD=(()=>{class e{constructor(e,t,r){this.dialogRef=e,this._elementRef=t,this._dialog=r,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=AD(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){const t=e._matDialogClose||e._matDialogCloseResult;t&&(this.dialogResult=t.currentValue)}_onButtonClick(e){gD(this.dialogRef,0===e.screenX&&0===e.screenY?"keyboard":"mouse",this.dialogResult)}}return e.\u0275fac=function(t){return new(t||e)(Ra(_D,8),Ra(zo),Ra(MD))},e.\u0275dir=vt({type:e,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(e,t){1&e&&qa("click",(function(e){return t._onButtonClick(e)})),2&e&&Ea("aria-label",t.ariaLabel||null)("type",t.type)},inputs:{type:"type",dialogResult:["mat-dialog-close","dialogResult"],ariaLabel:["aria-label","ariaLabel"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[Ot]}),e})(),CD=(()=>{class e{constructor(e,t,r){this._dialogRef=e,this._elementRef=t,this._dialog=r,this.id="mat-dialog-title-"+SD++}ngOnInit(){this._dialogRef||(this._dialogRef=AD(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const e=this._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=this.id)})}}return e.\u0275fac=function(t){return new(t||e)(Ra(_D,8),Ra(zo),Ra(MD))},e.\u0275dir=vt({type:e,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,t){2&e&&Ao("id",t.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),e})(),DD=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=vt({type:e,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),e})(),LD=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=vt({type:e,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),e})();function AD(e,t){let r=e.nativeElement.parentElement;for(;r&&!r.classList.contains("mat-dialog-container");)r=r.parentElement;return r?t.find(e=>e.id===r.id):null}let ED=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[MD,wD],imports:[[lD,zx,bk],bk]}),e})();class TD{constructor(e){const{length:t,separator:r,dictionaries:n,style:i,seed:s}=e;this.dictionaries=n,this.separator=r,this.length=t,this.style=i,this.seed=s}generate(){if(!this.dictionaries)throw new Error('Cannot find any dictionary. Please provide at least one, or leave the "dictionary" field empty in the config object');if(this.length<=0)throw new Error("Invalid length provided");if(this.length>this.dictionaries.length)throw new Error(`The length cannot be bigger than the number of dictionaries.\nLength provided: ${this.length}. Number of dictionaries provided: ${this.dictionaries.length}`);return this.dictionaries.slice(0,this.length).reduce((e,t)=>{let r=t[Math.floor((this.seed?(n=this.seed,(e=>{e=1831565813+(e|=0)|0;let t=Math.imul(e^e>>>15,1|e);return t=t+Math.imul(t^t>>>7,61|t)^t,((t^t>>>14)>>>0)/4294967296})(n)):Math.random())*t.length)]||"";var n;if("lowerCase"===this.style)r=r.toLowerCase();else if("capital"===this.style){const[e,...t]=r.split("");r=e.toUpperCase()+t.join("")}else"upperCase"===this.style&&(r=r.toUpperCase());return e?`${e}${this.separator}${r}`:""+r},"")}}const PD={separator:"_",dictionaries:[]};var YD=["average","big","colossal","fat","giant","gigantic","great","huge","immense","large","little","long","mammoth","massive","miniature","petite","puny","short","small","tall","tiny","boiling","breezy","broken","bumpy","chilly","cold","cool","creepy","crooked","cuddly","curly","damaged","damp","dirty","dry","dusty","filthy","flaky","fluffy","wet","broad","chubby","crooked","curved","deep","flat","high","hollow","low","narrow","round","shallow","skinny","square","steep","straight","wide","ancient","brief","early","fast","late","long","modern","old","quick","rapid","short","slow","swift","young","abundant","empty","few","heavy","light","many","numerous","Sound","cooing","deafening","faint","harsh","hissing","hushed","husky","loud","melodic","moaning","mute","noisy","purring","quiet","raspy","resonant","screeching","shrill","silent","soft","squealing","thundering","voiceless","whispering","bitter","delicious","fresh","juicy","ripe","rotten","salty","sour","spicy","stale","sticky","strong","sweet","tasteless","tasty","thirsty","fluttering","fuzzy","greasy","grubby","hard","hot","icy","loose","melted","plastic","prickly","rainy","rough","scattered","shaggy","shaky","sharp","shivering","silky","slimy","slippery","smooth","soft","solid","steady","sticky","tender","tight","uneven","weak","wet","wooden","afraid","angry","annoyed","anxious","arrogant","ashamed","awful","bad","bewildered","bored","combative","condemned","confused","creepy","cruel","dangerous","defeated","defiant","depressed","disgusted","disturbed","eerie","embarrassed","envious","evil","fierce","foolish","frantic","frightened","grieving","helpless","homeless","hungry","hurt","ill","jealous","lonely","mysterious","naughty","nervous","obnoxious","outrageous","panicky","repulsive","scary","scornful","selfish","sore","tense","terrible","thoughtless","tired","troubled","upset","uptight","weary","wicked","worried","agreeable","amused","brave","calm","charming","cheerful","comfortable","cooperative","courageous","delightful","determined","eager","elated","enchanting","encouraging","energetic","enthusiastic","excited","exuberant","fair","faithful","fantastic","fine","friendly","funny","gentle","glorious","good","happy","healthy","helpful","hilarious","jolly","joyous","kind","lively","lovely","lucky","obedient","perfect","pleasant","proud","relieved","silly","smiling","splendid","successful","thoughtful","victorious","vivacious","witty","wonderful","zealous","zany","other","good","new","old","great","high","small","different","large","local","social","important","long","young","national","british","right","early","possible","big","little","political","able","late","general","full","far","low","public","available","bad","main","sure","clear","major","economic","only","likely","real","black","particular","international","special","difficult","certain","open","whole","white","free","short","easy","strong","european","central","similar","human","common","necessary","single","personal","hard","private","poor","financial","wide","foreign","simple","recent","concerned","american","various","close","fine","english","wrong","present","royal","natural","individual","nice","french","following","current","modern","labour","legal","happy","final","red","normal","serious","previous","total","prime","significant","industrial","sorry","dead","specific","appropriate","top","soviet","basic","military","original","successful","aware","hon","popular","heavy","professional","direct","dark","cold","ready","green","useful","effective","western","traditional","scottish","german","independent","deep","interesting","considerable","involved","physical","left","hot","existing","responsible","complete","medical","blue","extra","past","male","interested","fair","essential","beautiful","civil","primary","obvious","future","environmental","positive","senior","nuclear","annual","relevant","huge","rich","commercial","safe","regional","practical","official","separate","key","chief","regular","due","additional","active","powerful","complex","standard","impossible","light","warm","middle","fresh","sexual","front","domestic","actual","united","technical","ordinary","cheap","strange","internal","excellent","quiet","soft","potential","northern","religious","quick","very","famous","cultural","proper","broad","joint","formal","limited","conservative","lovely","usual","ltd","unable","rural","initial","substantial","christian","bright","average","leading","reasonable","immediate","suitable","equal","detailed","working","overall","female","afraid","democratic","growing","sufficient","scientific","eastern","correct","inc","irish","expensive","educational","mental","dangerous","critical","increased","familiar","unlikely","double","perfect","slow","tiny","dry","historical","thin","daily","southern","increasing","wild","alone","urban","empty","married","narrow","liberal","supposed","upper","apparent","tall","busy","bloody","prepared","russian","moral","careful","clean","attractive","japanese","vital","thick","alternative","fast","ancient","elderly","rare","external","capable","brief","wonderful","grand","typical","entire","grey","constant","vast","surprised","ideal","terrible","academic","funny","minor","pleased","severe","ill","corporate","negative","permanent","weak","brown","fundamental","odd","crucial","inner","used","criminal","contemporary","sharp","sick","near","roman","massive","unique","secondary","parliamentary","african","unknown","subsequent","angry","alive","guilty","lucky","enormous","well","communist","yellow","unusual","net","tough","dear","extensive","glad","remaining","agricultural","alright","healthy","italian","principal","tired","efficient","comfortable","chinese","relative","friendly","conventional","willing","sudden","proposed","voluntary","slight","valuable","dramatic","golden","temporary","federal","keen","flat","silent","indian","worried","pale","statutory","welsh","dependent","firm","wet","competitive","armed","radical","outside","acceptable","sensitive","living","pure","global","emotional","sad","secret","rapid","adequate","fixed","sweet","administrative","wooden","remarkable","comprehensive","surprising","solid","rough","mere","mass","brilliant","maximum","absolute","tory","electronic","visual","electric","cool","spanish","literary","continuing","supreme","chemical","genuine","exciting","written","stupid","advanced","extreme","classical","fit","favourite","socialist","widespread","confident","straight","catholic","proud","numerous","opposite","distinct","mad","helpful","given","disabled","consistent","anxious","nervous","awful","stable","constitutional","satisfied","conscious","developing","strategic","holy","smooth","dominant","remote","theoretical","outstanding","pink","pretty","clinical","minimum","honest","impressive","related","residential","extraordinary","plain","visible","accurate","distant","still","greek","complicated","musical","precise","gentle","broken","live","silly","fat","tight","monetary","round","psychological","violent","unemployed","inevitable","junior","sensible","grateful","pleasant","dirty","structural","welcome","deaf","above","continuous","blind","overseas","mean","entitled","delighted","loose","occasional","evident","desperate","fellow","universal","square","steady","classic","equivalent","intellectual","victorian","level","ultimate","creative","lost","medieval","clever","linguistic","convinced","judicial","raw","sophisticated","asleep","vulnerable","illegal","outer","revolutionary","bitter","changing","australian","native","imperial","strict","wise","informal","flexible","collective","frequent","experimental","spiritual","intense","rational","ethnic","generous","inadequate","prominent","logical","bare","historic","modest","dutch","acute","electrical","valid","weekly","gross","automatic","loud","reliable","mutual","liable","multiple","ruling","curious","arab","sole","jewish","managing","pregnant","latin","nearby","exact","underlying","identical","satisfactory","marginal","distinctive","electoral","urgent","presidential","controversial","oral","everyday","encouraging","organic","continued","expected","statistical","desirable","innocent","improved","exclusive","marked","experienced","unexpected","superb","sheer","disappointed","frightened","gastric","capitalist","romantic","naked","reluctant","magnificent","convenient","established","closed","uncertain","artificial","diplomatic","tremendous","marine","mechanical","retail","institutional","mixed","required","biological","known","functional","straightforward","superior","digital","spectacular","unhappy","confused","unfair","aggressive","spare","painful","abstract","asian","associated","legislative","monthly","intelligent","hungry","explicit","nasty","just","faint","coloured","ridiculous","amazing","comparable","successive","realistic","back","decent","unnecessary","flying","random","influential","dull","genetic","neat","marvellous","crazy","damp","giant","secure","bottom","skilled","subtle","elegant","brave","lesser","parallel","steep","intensive","casual","tropical","lonely","partial","preliminary","concrete","alleged","assistant","vertical","upset","delicate","mild","occupational","excessive","progressive","iraqi","exceptional","integrated","striking","continental","okay","harsh","combined","fierce","handsome","characteristic","chronic","compulsory","interim","objective","splendid","magic","systematic","obliged","payable","fun","horrible","primitive","fascinating","ideological","metropolitan","surrounding","estimated","peaceful","premier","operational","technological","kind","advisory","hostile","precious","gay","accessible","determined","excited","impressed","provincial","smart","endless","isolated","drunk","geographical","like","dynamic","boring","forthcoming","unfortunate","definite","super","notable","indirect","stiff","wealthy","awkward","lively","neutral","artistic","content","mature","colonial","ambitious","evil","magnetic","verbal","legitimate","sympathetic","empirical","head","shallow","vague","naval","depressed","shared","added","shocked","mid","worthwhile","qualified","missing","blank","absent","favourable","polish","israeli","developed","profound","representative","enthusiastic","dreadful","rigid","reduced","cruel","coastal","peculiar","racial","ugly","swiss","crude","extended","selected","eager","feminist","canadian","bold","relaxed","corresponding","running","planned","applicable","immense","allied","comparative","uncomfortable","conservation","productive","beneficial","bored","charming","minimal","mobile","turkish","orange","rear","passive","suspicious","overwhelming","fatal","resulting","symbolic","registered","neighbouring","calm","irrelevant","patient","compact","profitable","rival","loyal","moderate","distinguished","interior","noble","insufficient","eligible","mysterious","varying","managerial","molecular","olympic","linear","prospective","printed","parental","diverse","elaborate","furious","fiscal","burning","useless","semantic","embarrassed","inherent","philosophical","deliberate","awake","variable","promising","unpleasant","varied","sacred","selective","inclined","tender","hidden","worthy","intermediate","sound","protective","fortunate","slim","islamic","defensive","divine","stuck","driving","invisible","misleading","circular","mathematical","inappropriate","liquid","persistent","solar","doubtful","manual","architectural","intact","incredible","devoted","prior","tragic","respectable","optimistic","convincing","unacceptable","decisive","competent","spatial","respective","binding","relieved","nursing","toxic","select","redundant","integral","then","probable","amateur","fond","passing","specified","territorial","horizontal","inland","cognitive","regulatory","miserable","resident","polite","scared","marxist","gothic","civilian","instant","lengthy","adverse","korean","unconscious","anonymous","aesthetic","orthodox","static","unaware","costly","fantastic","foolish","fashionable","causal","compatible","wee","implicit","dual","ok","cheerful","subjective","forward","surviving","exotic","purple","cautious","visiting","aggregate","ethical","protestant","teenage","dying","disastrous","delicious","confidential","underground","thorough","grim","autonomous","atomic","frozen","colourful","injured","uniform","ashamed","glorious","wicked","coherent","rising","shy","novel","balanced","delightful","arbitrary","adjacent","psychiatric","worrying","weird","unchanged","rolling","evolutionary","intimate","sporting","disciplinary","formidable","lexical","noisy","gradual","accused","homeless","supporting","coming","renewed","excess","retired","rubber","chosen","outdoor","embarrassing","preferred","bizarre","appalling","agreed","imaginative","governing","accepted","vocational","palestinian","mighty","puzzled","worldwide","handicapped","organisational","sunny","eldest","eventual","spontaneous","vivid","rude","faithful","ministerial","innovative","controlled","conceptual","unwilling","civic","meaningful","disturbing","alive","brainy","breakable","busy","careful","cautious","clever","concerned","crazy","curious","dead","different","difficult","doubtful","easy","famous","fragile","helpful","helpless","important","impossible","innocent","inquisitive","modern","open","outstanding","poor","powerful","puzzled","real","rich","shy","sleepy","stupid","super","tame","uninterested","wandering","wild","wrong","adorable","alert","average","beautiful","blonde","bloody","blushing","bright","clean","clear","cloudy","colorful","crowded","cute","dark","drab","distinct","dull","elegant","fancy","filthy","glamorous","gleaming","graceful","grotesque","homely","light","misty","motionless","muddy","plain","poised","quaint","shiny","smoggy","sparkling","spotless","stormy","strange","ugly","unsightly","unusual","bad","better","beautiful","big","black","blue","bright","clumsy","crazy","dizzy","dull","fat","frail","friendly","funny","great","green","gigantic","gorgeous","grumpy","handsome","happy","horrible","itchy","jittery","jolly","kind","long","lazy","magnificent","magenta","many","mighty","mushy","nasty","new","nice","nosy","nutty","nutritious","odd","orange","ordinary","pretty","precious","prickly","purple","quaint","quiet","quick","quickest","rainy","rare","ratty","red","roasted","robust","round","sad","scary","scrawny","short","silly","stingy","strange","striped","spotty","tart","tall","tame","tan","tender","testy","tricky","tough","ugly","ugliest","vast","watery","wasteful","wonderful","yellow","yummy","zany"],RD=["canidae","felidae","cat","cattle","dog","donkey","goat","horse","pig","rabbit","aardvark","aardwolf","albatross","alligator","alpaca","amphibian","anaconda","angelfish","anglerfish","ant","anteater","antelope","antlion","ape","aphid","armadillo","asp","baboon","badger","bandicoot","barnacle","barracuda","basilisk","bass","bat","bear","beaver","bedbug","bee","beetle","bird","bison","blackbird","boa","boar","bobcat","bobolink","bonobo","booby","bovid","bug","butterfly","buzzard","camel","canid","capybara","cardinal","caribou","carp","cat","catshark","caterpillar","catfish","cattle","centipede","cephalopod","chameleon","cheetah","chickadee","chicken","chimpanzee","chinchilla","chipmunk","clam","clownfish","cobra","cockroach","cod","condor","constrictor","coral","cougar","cow","coyote","crab","crane","crawdad","crayfish","cricket","crocodile","crow","cuckoo","cicada","damselfly","deer","dingo","dinosaur","dog","dolphin","donkey","dormouse","dove","dragonfly","dragon","duck","eagle","earthworm","earwig","echidna","eel","egret","elephant","elk","emu","ermine","falcon","ferret","finch","firefly","fish","flamingo","flea","fly","flyingfish","fowl","fox","frog","gamefowl","galliform","gazelle","gecko","gerbil","gibbon","giraffe","goat","goldfish","goose","gopher","gorilla","grasshopper","grouse","guan","guanaco","guineafowl","gull","guppy","haddock","halibut","hamster","hare","harrier","hawk","hedgehog","heron","herring","hippopotamus","hookworm","hornet","horse","hoverfly","hummingbird","hyena","iguana","impala","jackal","jaguar","jay","jellyfish","junglefowl","kangaroo","kingfisher","kite","kiwi","koala","koi","krill","ladybug","lamprey","landfowl","lark","leech","lemming","lemur","leopard","leopon","limpet","lion","lizard","llama","lobster","locust","loon","louse","lungfish","lynx","macaw","mackerel","magpie","mammal","manatee","mandrill","marlin","marmoset","marmot","marsupial","marten","mastodon","meadowlark","meerkat","mink","minnow","mite","mockingbird","mole","mollusk","mongoose","monkey","moose","mosquito","moth","mouse","mule","muskox","narwhal","newt","nightingale","ocelot","octopus","opossum","orangutan","orca","ostrich","otter","owl","ox","panda","panther","parakeet","parrot","parrotfish","partridge","peacock","peafowl","pelican","penguin","perch","pheasant","pig","pigeon","pike","pinniped","piranha","planarian","platypus","pony","porcupine","porpoise","possum","prawn","primate","ptarmigan","puffin","puma","python","quail","quelea","quokka","rabbit","raccoon","rat","rattlesnake","raven","reindeer","reptile","rhinoceros","roadrunner","rodent","rook","rooster","roundworm","sailfish","salamander","salmon","sawfish","scallop","scorpion","seahorse","shark","sheep","shrew","shrimp","silkworm","silverfish","skink","skunk","sloth","slug","smelt","snail","snake","snipe","sole","sparrow","spider","spoonbill","squid","squirrel","starfish","stingray","stoat","stork","sturgeon","swallow","swan","swift","swordfish","swordtail","tahr","takin","tapir","tarantula","tarsier","termite","tern","thrush","tick","tiger","tiglon","toad","tortoise","toucan","trout","tuna","turkey","turtle","tyrannosaurus","urial","vicuna","viper","vole","vulture","wallaby","walrus","wasp","warbler","weasel","whale","whippet","whitefish","wildcat","wildebeest","wildfowl","wolf","wolverine","wombat","woodpecker","worm","wren","xerinae","yak","zebra","alpaca","cat","cattle","chicken","dog","donkey","ferret","gayal","goldfish","guppy","horse","koi","llama","sheep","yak","unicorn"],OD=["amaranth","amber","amethyst","apricot","aqua","aquamarine","azure","beige","black","blue","blush","bronze","brown","chocolate","coffee","copper","coral","crimson","cyan","emerald","fuchsia","gold","gray","green","harlequin","indigo","ivory","jade","lavender","lime","magenta","maroon","moccasin","olive","orange","peach","pink","plum","purple","red","rose","salmon","sapphire","scarlet","silver","tan","teal","tomato","turquoise","violet","white","yellow"];let ID=(()=>{class e{constructor(e){this.http=e}register(e){return this.http.post(sd+"/users",e)}checkModel(e){return this.http.post(sd+"/users/model",e)}password(e){return this.http.patch(sd+"/users/password",e)}update(e){return this.http.patch(sd+"/users",e)}}return e.\u0275fac=function(t){return new(t||e)($e(s_))},e.\u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),jD=(()=>{class e{constructor(e){this.http=e}items(){return this.http.get(sd+"/items")}redeemSecret(e){return this.http.put(sd+"/items",JSON.stringify(e))}removeSecret(e){return this.http.request("delete",sd+"/items",{body:JSON.stringify(e)})}redeem(){return this.http.post(sd+"/items",{})}}return e.\u0275fac=function(t){return new(t||e)($e(s_))},e.\u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),FD=(()=>{class e{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(e){this._vertical=kw(e)}get inset(){return this._inset}set inset(e){this._inset=kw(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=mt({type:e,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(e,t){2&e&&(Ea("aria-orientation",t.vertical?"vertical":"horizontal"),fo("mat-divider-vertical",t.vertical)("mat-divider-horizontal",!t.vertical)("mat-divider-inset",t.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(e,t){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],encapsulation:2,changeDetection:0}),e})(),HD=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[bk],bk]}),e})();const ND=["*"],BD='.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n',zD=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],UD=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"];class VD{}const KD=vk(kk(VD));class WD{}const qD=kk(WD),GD=new Fe("MatList"),$D=new Fe("MatNavList");let ZD=(()=>{class e extends KD{constructor(){super(...arguments),this._stateChanges=new M}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return e.\u0275fac=function(t){return JD(t||e)},e.\u0275cmp=mt({type:e,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[Fo([{provide:$D,useExisting:e}]),ga,Ot],ngContentSelectors:ND,decls:1,vars:0,template:function(e,t){1&e&&(eo(),to(0))},styles:[BD],encapsulation:2,changeDetection:0}),e})();const JD=vn(ZD);let QD=(()=>{class e extends KD{constructor(e){super(),this._elementRef=e,this._stateChanges=new M,"action-list"===this._getListType()&&e.nativeElement.classList.add("mat-action-list")}_getListType(){const e=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===e?"list":"mat-action-list"===e?"action-list":null}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo))},e.\u0275cmp=mt({type:e,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[Fo([{provide:GD,useExisting:e}]),ga,Ot],ngContentSelectors:ND,decls:1,vars:0,template:function(e,t){1&e&&(eo(),to(0))},styles:[BD],encapsulation:2,changeDetection:0}),e})(),XD=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=vt({type:e,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),e})(),eL=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=vt({type:e,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),e})(),tL=(()=>{class e extends qD{constructor(e,t,r,n){super(),this._element=e,this._isInteractiveList=!1,this._destroyed=new M,this._disabled=!1,this._isInteractiveList=!!(r||n&&"action-list"===n._getListType()),this._list=r||n;const i=this._getHostElement();"button"!==i.nodeName.toLowerCase()||i.hasAttribute("type")||i.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe(gM(this._destroyed)).subscribe(()=>{t.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(e){this._disabled=kw(e)}ngAfterContentInit(){!function(e,t,r="mat"){e.changes.pipe(Nh(e)).subscribe(({length:e})=>{Pk(t,r+"-2-line",!1),Pk(t,r+"-3-line",!1),Pk(t,r+"-multi-line",!1),2===e||3===e?Pk(t,`${r}-${e}-line`,!0):e>3&&Pk(t,r+"-multi-line",!0)})}(this._lines,this._element)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(Zs),Ra($D,8),Ra(GD,8))},e.\u0275cmp=mt({type:e,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(e,t,r){var n;1&e&&(rc(r,XD,!0),rc(r,eL,!0),rc(r,Tk,!0)),2&e&&(Ql(n=sc())&&(t._avatar=n.first),Ql(n=sc())&&(t._icon=n.first),Ql(n=sc())&&(t._lines=n))},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(e,t){2&e&&fo("mat-list-item-disabled",t.disabled)("mat-list-item-avatar",t._avatar||t._icon)("mat-list-item-with-avatar",t._avatar||t._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[ga],ngContentSelectors:UD,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(e,t){1&e&&(eo(zD),Fa(0,"div",0),Na(1,"div",1),to(2),Fa(3,"div",2),to(4,1),Ha(),to(5,2),Ha()),2&e&&(Li(1),Ia("matRippleTrigger",t._getHostElement())("matRippleDisabled",t._isRippleDisabled()))},directives:[Bk],encapsulation:2,changeDetection:0}),e})(),rL=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Yk,zk,bk,Vk,Mu],Yk,bk,Vk,HD]}),e})();const nL=[[["caption"]],[["colgroup"],["col"]]],iL=["caption","colgroup, col"];function sL(e){return class extends e{constructor(...e){super(...e),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(e){const t=this._sticky;this._sticky=kw(e),this._hasStickyChanged=t!==this._sticky}hasStickyChanged(){const e=this._hasStickyChanged;return this._hasStickyChanged=!1,e}resetStickyChanged(){this._hasStickyChanged=!1}}}const aL=new Fe("CDK_TABLE");let oL=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(Ra(hl))},e.\u0275dir=vt({type:e,selectors:[["","cdkCellDef",""]]}),e})(),lL=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(Ra(hl))},e.\u0275dir=vt({type:e,selectors:[["","cdkHeaderCellDef",""]]}),e})(),cL=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(Ra(hl))},e.\u0275dir=vt({type:e,selectors:[["","cdkFooterCellDef",""]]}),e})();class dL{}const uL=sL(dL);let hL=(()=>{class e extends uL{constructor(e){super(),this._table=e,this._stickyEnd=!1}get name(){return this._name}set name(e){this._setNameInput(e)}get stickyEnd(){return this._stickyEnd}set stickyEnd(e){const t=this._stickyEnd;this._stickyEnd=kw(e),this._hasStickyChanged=t!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=["cdk-column-"+this.cssClassFriendlyName]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return e.\u0275fac=function(t){return new(t||e)(Ra(aL,8))},e.\u0275dir=vt({type:e,selectors:[["","cdkColumnDef",""]],contentQueries:function(e,t,r){var n;1&e&&(rc(r,oL,!0),rc(r,lL,!0),rc(r,cL,!0)),2&e&&(Ql(n=sc())&&(t.cell=n.first),Ql(n=sc())&&(t.headerCell=n.first),Ql(n=sc())&&(t.footerCell=n.first))},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[Fo([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),ga]}),e})();class fL{constructor(e,t){const r=t.nativeElement.classList;for(const n of e._columnCssClassName)r.add(n)}}let mL=(()=>{class e extends fL{constructor(e,t){super(e,t)}}return e.\u0275fac=function(t){return new(t||e)(Ra(hL),Ra(zo))},e.\u0275dir=vt({type:e,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[ga]}),e})(),pL=(()=>{class e extends fL{constructor(e,t){super(e,t)}}return e.\u0275fac=function(t){return new(t||e)(Ra(hL),Ra(zo))},e.\u0275dir=vt({type:e,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:["role","gridcell",1,"cdk-cell"],features:[ga]}),e})();class _L{constructor(){this.tasks=[],this.endTasks=[]}}const gL=new Fe("_COALESCED_STYLE_SCHEDULER");let yL=(()=>{class e{constructor(e){this._ngZone=e,this._currentSchedule=null,this._destroyed=new M}schedule(e){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(e)}scheduleEnd(e){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(e)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new _L,this._getScheduleObservable().pipe(gM(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const e=this._currentSchedule;this._currentSchedule=new _L;for(const t of e.tasks)t();for(const t of e.endTasks)t()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?I(Promise.resolve(void 0)):this._ngZone.onStable.pipe(Ih(1))}}return e.\u0275fac=function(t){return new(t||e)($e(Ec))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})(),bL=(()=>{class e{constructor(e,t){this.template=e,this._differs=t}ngOnChanges(e){if(!this._columnsDiffer){const t=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(t).create(),this._columnsDiffer.diff(t)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof kL?e.headerCell.template:this instanceof xL?e.footerCell.template:e.cell.template}}return e.\u0275fac=function(t){return new(t||e)(Ra(hl),Ra(ol))},e.\u0275dir=vt({type:e,features:[Ot]}),e})();class vL extends bL{}const wL=sL(vL);let kL=(()=>{class e extends wL{constructor(e,t,r){super(e,t),this._table=r}ngOnChanges(e){super.ngOnChanges(e)}}return e.\u0275fac=function(t){return new(t||e)(Ra(hl),Ra(ol),Ra(aL,8))},e.\u0275dir=vt({type:e,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[ga,Ot]}),e})();class ML extends bL{}const SL=sL(ML);let xL=(()=>{class e extends SL{constructor(e,t,r){super(e,t),this._table=r}ngOnChanges(e){super.ngOnChanges(e)}}return e.\u0275fac=function(t){return new(t||e)(Ra(hl),Ra(ol),Ra(aL,8))},e.\u0275dir=vt({type:e,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[ga,Ot]}),e})(),CL=(()=>{class e extends bL{constructor(e,t,r){super(e,t),this._table=r}}return e.\u0275fac=function(t){return new(t||e)(Ra(hl),Ra(ol),Ra(aL,8))},e.\u0275dir=vt({type:e,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[ga]}),e})(),DL=(()=>{class e{constructor(t){this._viewContainer=t,e.mostRecentCellOutlet=this}ngOnDestroy(){e.mostRecentCellOutlet===this&&(e.mostRecentCellOutlet=null)}}return e.\u0275fac=function(t){return new(t||e)(Ra(ml))},e.\u0275dir=vt({type:e,selectors:[["","cdkCellOutlet",""]]}),e.mostRecentCellOutlet=null,e})(),LL=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=mt({type:e,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&Ua(0,0)},directives:[DL],encapsulation:2}),e})(),AL=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=mt({type:e,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&Ua(0,0)},directives:[DL],encapsulation:2}),e})(),EL=(()=>{class e{constructor(e){this.templateRef=e}}return e.\u0275fac=function(t){return new(t||e)(Ra(hl))},e.\u0275dir=vt({type:e,selectors:[["ng-template","cdkNoDataRow",""]]}),e})();const TL=["top","bottom","left","right"];class PL{constructor(e,t,r,n,i=!0,s=!0){this._isNativeHtmlTable=e,this._stickCellCss=t,this.direction=r,this._coalescedStyleScheduler=n,this._isBrowser=i,this._needsPositionStickyOnElement=s}clearStickyPositioning(e,t){const r=[];for(const n of e)if(n.nodeType===n.ELEMENT_NODE){r.push(n);for(let e=0;e{for(const e of r)this._removeStickyStyle(e,t)})}updateStickyColumns(e,t,r){if(!e.length||!this._isBrowser||!t.some(e=>e)&&!r.some(e=>e))return;const n=e[0],i=n.children.length,s=this._getCellWidths(n),a=this._getStickyStartColumnPositions(s,t),o=this._getStickyEndColumnPositions(s,r);this._scheduleStyleChanges(()=>{const n="rtl"===this.direction,s=n?"right":"left",l=n?"left":"right";for(const c of e)for(let e=0;e{for(let e=0;e{t.some(e=>!e)?this._removeStickyStyle(r,["bottom"]):this._addStickyStyle(r,"bottom",0)})}_removeStickyStyle(e,t){for(const r of t)e.style[r]="";TL.some(r=>-1===t.indexOf(r)&&e.style[r])?e.style.zIndex=this._getCalculatedZIndex(e):(e.style.zIndex="",this._needsPositionStickyOnElement&&(e.style.position=""),e.classList.remove(this._stickCellCss))}_addStickyStyle(e,t,r){e.classList.add(this._stickCellCss),e.style[t]=r+"px",e.style.zIndex=this._getCalculatedZIndex(e),this._needsPositionStickyOnElement&&(e.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(e){const t={top:100,bottom:10,left:1,right:1};let r=0;for(const n of TL)e.style[n]&&(r+=t[n]);return r?""+r:""}_getCellWidths(e){const t=[],r=e.children;for(let n=0;n0;i--)t[i]&&(r[i]=n,n+=e[i]);return r}_scheduleStyleChanges(e){this._coalescedStyleScheduler?this._coalescedStyleScheduler.schedule(e):e()}}let YL=(()=>{class e{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return e.\u0275fac=function(t){return new(t||e)(Ra(ml),Ra(zo))},e.\u0275dir=vt({type:e,selectors:[["","rowOutlet",""]]}),e})(),RL=(()=>{class e{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return e.\u0275fac=function(t){return new(t||e)(Ra(ml),Ra(zo))},e.\u0275dir=vt({type:e,selectors:[["","headerRowOutlet",""]]}),e})(),OL=(()=>{class e{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return e.\u0275fac=function(t){return new(t||e)(Ra(ml),Ra(zo))},e.\u0275dir=vt({type:e,selectors:[["","footerRowOutlet",""]]}),e})(),IL=(()=>{class e{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return e.\u0275fac=function(t){return new(t||e)(Ra(ml),Ra(zo))},e.\u0275dir=vt({type:e,selectors:[["","noDataRowOutlet",""]]}),e})(),jL=(()=>{class e{constructor(e,t,r,n,i,s,a,o,l){this._differs=e,this._changeDetectorRef=t,this._elementRef=r,this._dir=i,this._platform=a,this._viewRepeater=o,this._coalescedStyleScheduler=l,this._onDestroy=new M,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this.viewChange=new ah({start:0,end:Number.MAX_VALUE}),n||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=s,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=kw(e),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((e,t)=>this.trackBy?this.trackBy(t.dataIndex,t.data):t)}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const e=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():e&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){this._rowOutlet.viewContainer.clear(),this._noDataRowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),tC(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const e=this._dataDiffer.diff(this._renderRows);if(!e)return void this._updateNoDataRow();const t=this._rowOutlet.viewContainer;this._viewRepeater?this._viewRepeater.applyChanges(e,t,(e,t,r)=>this._getEmbeddedViewArgs(e.item,r),e=>e.item.data,e=>{1===e.operation&&e.context&&this._renderCellTemplateForItem(e.record.item.rowDef,e.context)}):e.forEachOperation((e,r,n)=>{if(null==e.previousIndex){const t=e.item;this._renderRow(this._rowOutlet,t.rowDef,n,{$implicit:t.data})}else if(null==n)t.remove(r);else{const e=t.get(r);t.move(e,n)}}),this._updateRowIndexContext(),e.forEachIdentityChange(e=>{t.get(e.currentIndex).context.$implicit=e.item.data}),this._updateNoDataRow(),this.updateStickyColumnStyles()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}updateStickyHeaderRowStyles(){const e=this._getRenderedRows(this._headerRowOutlet),t=this._elementRef.nativeElement.querySelector("thead");t&&(t.style.display=e.length?"":"none");const r=this._headerRowDefs.map(e=>e.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,r,"top"),this._headerRowDefs.forEach(e=>e.resetStickyChanged())}updateStickyFooterRowStyles(){const e=this._getRenderedRows(this._footerRowOutlet),t=this._elementRef.nativeElement.querySelector("tfoot");t&&(t.style.display=e.length?"":"none");const r=this._footerRowDefs.map(e=>e.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,r,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,r),this._footerRowDefs.forEach(e=>e.resetStickyChanged())}updateStickyColumnStyles(){const e=this._getRenderedRows(this._headerRowOutlet),t=this._getRenderedRows(this._rowOutlet),r=this._getRenderedRows(this._footerRowOutlet);this._stickyStyler.clearStickyPositioning([...e,...t,...r],["left","right"]),e.forEach((e,t)=>{this._addStickyColumnStyles([e],this._headerRowDefs[t])}),this._rowDefs.forEach(e=>{const r=[];for(let n=0;n{this._addStickyColumnStyles([e],this._footerRowDefs[t])}),Array.from(this._columnDefsByName.values()).forEach(e=>e.resetStickyChanged())}_getAllRenderRows(){const e=[],t=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let r=0;r{const i=r&&r.has(n)?r.get(n):[];if(i.length){const e=i.shift();return e.dataIndex=t,e}return{data:e,rowDef:n,dataIndex:t}})}_cacheColumnDefs(){this._columnDefsByName.clear(),FL(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(e=>{this._columnDefsByName.has(e.name),this._columnDefsByName.set(e.name,e)})}_cacheRowDefs(){this._headerRowDefs=FL(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=FL(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=FL(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const e=this._rowDefs.filter(e=>!e.when);this._defaultRowDef=e[0]}_renderUpdatedColumns(){const e=(e,t)=>e||!!t.getColumnsDiff(),t=this._rowDefs.reduce(e,!1);t&&this._forceRenderDataRows();const r=this._headerRowDefs.reduce(e,!1);r&&this._forceRenderHeaderRows();const n=this._footerRowDefs.reduce(e,!1);return n&&this._forceRenderFooterRows(),t||r||n}_switchDataSource(e){this._data=[],tC(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;var t;tC(this.dataSource)?e=this.dataSource.connect(this):(t=this.dataSource)&&(t instanceof y||"function"==typeof t.lift&&"function"==typeof t.subscribe)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=sh(this.dataSource)),this._renderChangeSubscription=e.pipe(gM(this._onDestroy)).subscribe(e=>{this._data=e||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,t)=>this._renderRow(this._headerRowOutlet,e,t)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,t)=>this._renderRow(this._footerRowOutlet,e,t)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,t){const r=Array.from(t.columns||[]).map(e=>this._columnDefsByName.get(e)),n=r.map(e=>e.sticky),i=r.map(e=>e.stickyEnd);this._stickyStyler.updateStickyColumns(e,n,i)}_getRenderedRows(e){const t=[];for(let r=0;r!r.when||r.when(t,e));else{let n=this._rowDefs.find(r=>r.when&&r.when(t,e))||this._defaultRowDef;n&&r.push(n)}return r}_getEmbeddedViewArgs(e,t){return{templateRef:e.rowDef.template,context:{$implicit:e.data},index:t}}_renderRow(e,t,r,n={}){const i=e.viewContainer.createEmbeddedView(t.template,n,r);return this._renderCellTemplateForItem(t,n),i}_renderCellTemplateForItem(e,t){for(let r of this._getCellTemplates(e))DL.mostRecentCellOutlet&&DL.mostRecentCellOutlet._viewContainer.createEmbeddedView(r,t);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const e=this._rowOutlet.viewContainer;for(let t=0,r=e.length;t{const r=this._columnDefsByName.get(t);return e.extractCellTemplate(r)}):[]}_applyNativeTableSections(){const e=this._document.createDocumentFragment(),t=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const r of t){const t=this._document.createElement(r.tag);t.setAttribute("role","rowgroup");for(const e of r.outlets)t.appendChild(e.elementRef.nativeElement);e.appendChild(t)}this._elementRef.nativeElement.appendChild(e)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const e=(e,t)=>e||t.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&this.updateStickyColumnStyles()}_setupStickyStyler(){this._stickyStyler=new PL(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement),(this._dir?this._dir.change:sh()).pipe(gM(this._onDestroy)).subscribe(e=>{this._stickyStyler.direction=e,this.updateStickyColumnStyles()})}_getOwnDefs(e){return e.filter(e=>!e._table||e._table===this)}_updateNoDataRow(){if(this._noDataRow){const e=0===this._rowOutlet.viewContainer.length;if(e!==this._isShowingNoDataRow){const t=this._noDataRowOutlet.viewContainer;e?t.createEmbeddedView(this._noDataRow.templateRef):t.clear(),this._isShowingNoDataRow=e}}}}return e.\u0275fac=function(t){return new(t||e)(Ra(ol),Ra(Zs),Ra(zo),Oa("role"),Ra(dk,8),Ra(ld),Ra($v),Ra(iC,8),Ra(gL,8))},e.\u0275cmp=mt({type:e,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(e,t,r){var n;1&e&&(rc(r,EL,!0),rc(r,hL,!0),rc(r,CL,!0),rc(r,kL,!0),rc(r,xL,!0)),2&e&&(Ql(n=sc())&&(t._noDataRow=n.first),Ql(n=sc())&&(t._contentColumnDefs=n),Ql(n=sc())&&(t._contentRowDefs=n),Ql(n=sc())&&(t._contentHeaderRowDefs=n),Ql(n=sc())&&(t._contentFooterRowDefs=n))},viewQuery:function(e,t){var r;1&e&&(Xl(YL,!0),Xl(RL,!0),Xl(OL,!0),Xl(IL,!0)),2&e&&(Ql(r=sc())&&(t._rowOutlet=r.first),Ql(r=sc())&&(t._headerRowOutlet=r.first),Ql(r=sc())&&(t._footerRowOutlet=r.first),Ql(r=sc())&&(t._noDataRowOutlet=r.first))},hostAttrs:[1,"cdk-table"],inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows"},exportAs:["cdkTable"],features:[Fo([{provide:aL,useExisting:e},{provide:iC,useClass:rC},{provide:gL,useClass:yL}])],ngContentSelectors:iL,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,t){1&e&&(eo(nL),to(0),to(1,1),Ua(2,0),Ua(3,1),Ua(4,2),Ua(5,3))},directives:[RL,YL,IL,OL],encapsulation:2}),e})();function FL(e,t){return e.concat(Array.from(t))}let HL=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[cC]]}),e})();const NL=[[["caption"]],[["colgroup"],["col"]]],BL=["caption","colgroup, col"];let zL=(()=>{class e extends jL{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return e.\u0275fac=function(t){return UL(t||e)},e.\u0275cmp=mt({type:e,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],exportAs:["matTable"],features:[Fo([{provide:iC,useClass:rC},{provide:jL,useExisting:e},{provide:aL,useExisting:e},{provide:gL,useClass:yL}]),ga],ngContentSelectors:BL,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,t){1&e&&(eo(NL),to(0),to(1,1),Ua(2,0),Ua(3,1),Ua(4,2),Ua(5,3))},directives:[RL,YL,IL,OL],styles:['mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-row::after,mat-header-row::after,mat-footer-row::after{display:inline-block;min-height:inherit;content:""}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:-webkit-sticky;position:sticky}\n'],encapsulation:2}),e})();const UL=vn(zL);let VL=(()=>{class e extends oL{}return e.\u0275fac=function(t){return KL(t||e)},e.\u0275dir=vt({type:e,selectors:[["","matCellDef",""]],features:[Fo([{provide:oL,useExisting:e}]),ga]}),e})();const KL=vn(VL);let WL=(()=>{class e extends lL{}return e.\u0275fac=function(t){return qL(t||e)},e.\u0275dir=vt({type:e,selectors:[["","matHeaderCellDef",""]],features:[Fo([{provide:lL,useExisting:e}]),ga]}),e})();const qL=vn(WL);let GL=(()=>{class e extends hL{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push("mat-column-"+this.cssClassFriendlyName)}}return e.\u0275fac=function(t){return $L(t||e)},e.\u0275dir=vt({type:e,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[Fo([{provide:hL,useExisting:e},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),ga]}),e})();const $L=vn(GL);let ZL=(()=>{class e extends mL{}return e.\u0275fac=function(t){return JL(t||e)},e.\u0275dir=vt({type:e,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[ga]}),e})();const JL=vn(ZL);let QL=(()=>{class e extends pL{}return e.\u0275fac=function(t){return XL(t||e)},e.\u0275dir=vt({type:e,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[ga]}),e})();const XL=vn(QL);let eA=(()=>{class e extends kL{}return e.\u0275fac=function(t){return tA(t||e)},e.\u0275dir=vt({type:e,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[Fo([{provide:kL,useExisting:e}]),ga]}),e})();const tA=vn(eA);let rA=(()=>{class e extends CL{}return e.\u0275fac=function(t){return nA(t||e)},e.\u0275dir=vt({type:e,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[Fo([{provide:CL,useExisting:e}]),ga]}),e})();const nA=vn(rA);let iA=(()=>{class e extends LL{}return e.\u0275fac=function(t){return sA(t||e)},e.\u0275cmp=mt({type:e,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[Fo([{provide:LL,useExisting:e}]),ga],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&Ua(0,0)},directives:[DL],encapsulation:2}),e})();const sA=vn(iA);let aA=(()=>{class e extends AL{}return e.\u0275fac=function(t){return oA(t||e)},e.\u0275cmp=mt({type:e,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[Fo([{provide:AL,useExisting:e}]),ga],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&Ua(0,0)},directives:[DL],encapsulation:2}),e})();const oA=vn(aA);let lA=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[HL,bk],bk]}),e})();class cA extends class{}{constructor(e=[]){super(),this._renderData=new ah([]),this._filter=new ah(""),this._internalPageChanges=new M,this._renderChangesSubscription=u.EMPTY,this.sortingDataAccessor=(e,t)=>{const r=e[t];if(Sw(r)){const e=Number(r);return e<9007199254740991?e:r}return r},this.sortData=(e,t)=>{const r=t.active,n=t.direction;return r&&""!=n?e.sort((e,t)=>{let i=this.sortingDataAccessor(e,r),s=this.sortingDataAccessor(t,r);const a=typeof i,o=typeof s;a!==o&&("number"===a&&(i+=""),"number"===o&&(s+=""));let l=0;return null!=i&&null!=s?i>s?l=1:i{const r=Object.keys(e).reduce((t,r)=>t+e[r]+"\u25ec","").toLowerCase(),n=t.trim().toLowerCase();return-1!=r.indexOf(n)},this._data=new ah(e),this._updateChangeSubscription()}get data(){return this._data.value}set data(e){this._data.next(e)}get filter(){return this._filter.value}set filter(e){this._filter.next(e)}get sort(){return this._sort}set sort(e){this._sort=e,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(e){this._paginator=e,this._updateChangeSubscription()}_updateChangeSubscription(){const e=this._sort?K(this._sort.sortChange,this._sort.initialized):sh(null),t=this._paginator?K(this._paginator.page,this._internalPageChanges,this._paginator.initialized):sh(null),r=uh([this._data,this._filter]).pipe(C(([e])=>this._filterData(e))),n=uh([r,e]).pipe(C(([e])=>this._orderData(e))),i=uh([n,t]).pipe(C(([e])=>this._pageData(e)));this._renderChangesSubscription.unsubscribe(),this._renderChangesSubscription=i.subscribe(e=>this._renderData.next(e))}_filterData(e){return this.filteredData=this.filter?e.filter(e=>this.filterPredicate(e,this.filter)):e,this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(e){return this.sort?this.sortData(e.slice(),this.sort):e}_pageData(e){if(!this.paginator)return e;const t=this.paginator.pageIndex*this.paginator.pageSize;return e.slice(t,t+this.paginator.pageSize)}_updatePaginator(e){Promise.resolve().then(()=>{const t=this.paginator;if(t&&(t.length=e,t.pageIndex>0)){const e=Math.ceil(t.length/t.pageSize)-1||0,r=Math.min(t.pageIndex,e);r!==t.pageIndex&&(t.pageIndex=r,this._internalPageChanges.next())}})}connect(){return this._renderData}disconnect(){}}const dA=["mat-sort-header",""];function uA(e,t){if(1&e){const e=Va();Fa(0,"div",3),qa("@arrowPosition.start",(function(){return or(e),Qa()._disableViewStateAnimation=!0}))("@arrowPosition.done",(function(){return or(e),Qa()._disableViewStateAnimation=!1})),Na(1,"div",4),Fa(2,"div",5),Na(3,"div",6),Na(4,"div",7),Na(5,"div",8),Ha(),Ha()}if(2&e){const e=Qa();Ia("@arrowOpacity",e._getArrowViewState())("@arrowPosition",e._getArrowViewState())("@allowChildren",e._getArrowDirectionState()),Li(2),Ia("@indicator",e._getArrowDirectionState()),Li(1),Ia("@leftPointer",e._getArrowDirectionState()),Li(1),Ia("@rightPointer",e._getArrowDirectionState())}}const hA=["*"];class fA{}const mA=xk(vk(fA));let pA=(()=>{class e extends mA{constructor(){super(...arguments),this.sortables=new Map,this._stateChanges=new M,this.start="asc",this._direction="",this.sortChange=new Bl}get direction(){return this._direction}set direction(e){this._direction=e}get disableClear(){return this._disableClear}set disableClear(e){this._disableClear=kw(e)}register(e){this.sortables.set(e.id,e)}deregister(e){this.sortables.delete(e.id)}sort(e){this.active!=e.id?(this.active=e.id,this.direction=e.start?e.start:this.start):this.direction=this.getNextSortDirection(e),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(e){if(!e)return"";let t=function(e,t){let r=["asc","desc"];return"desc"==e&&r.reverse(),t||r.push(""),r}(e.start||this.start,null!=e.disableClear?e.disableClear:this.disableClear),r=t.indexOf(this.direction)+1;return r>=t.length&&(r=0),t[r]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return e.\u0275fac=function(t){return _A(t||e)},e.\u0275dir=vt({type:e,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"],active:["matSortActive","active"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[ga,Ot]}),e})();const _A=vn(pA),gA=_k.ENTERING+" "+pk.STANDARD_CURVE,yA={indicator:ly("indicator",[fy("active-asc, asc",hy({transform:"translateY(0px)"})),fy("active-desc, desc",hy({transform:"translateY(10px)"})),py("active-asc <=> active-desc",cy(gA))]),leftPointer:ly("leftPointer",[fy("active-asc, asc",hy({transform:"rotate(-45deg)"})),fy("active-desc, desc",hy({transform:"rotate(45deg)"})),py("active-asc <=> active-desc",cy(gA))]),rightPointer:ly("rightPointer",[fy("active-asc, asc",hy({transform:"rotate(45deg)"})),fy("active-desc, desc",hy({transform:"rotate(-45deg)"})),py("active-asc <=> active-desc",cy(gA))]),arrowOpacity:ly("arrowOpacity",[fy("desc-to-active, asc-to-active, active",hy({opacity:1})),fy("desc-to-hint, asc-to-hint, hint",hy({opacity:.54})),fy("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",hy({opacity:0})),py("* => asc, * => desc, * => active, * => hint, * => void",cy("0ms")),py("* <=> *",cy(gA))]),arrowPosition:ly("arrowPosition",[py("* => desc-to-hint, * => desc-to-active",cy(gA,my([hy({transform:"translateY(-25%)"}),hy({transform:"translateY(0)"})]))),py("* => hint-to-desc, * => active-to-desc",cy(gA,my([hy({transform:"translateY(0)"}),hy({transform:"translateY(25%)"})]))),py("* => asc-to-hint, * => asc-to-active",cy(gA,my([hy({transform:"translateY(25%)"}),hy({transform:"translateY(0)"})]))),py("* => hint-to-asc, * => active-to-asc",cy(gA,my([hy({transform:"translateY(0)"}),hy({transform:"translateY(-25%)"})]))),fy("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",hy({transform:"translateY(0)"})),fy("hint-to-desc, active-to-desc, desc",hy({transform:"translateY(-25%)"})),fy("hint-to-asc, active-to-asc, asc",hy({transform:"translateY(25%)"}))]),allowChildren:ly("allowChildren",[py("* <=> *",[gy("@*",_y(),{optional:!0})])])};let bA=(()=>{class e{constructor(){this.changes=new M,this.sortButtonLabel=e=>"Change sorting for "+e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=de({factory:function(){return new e},token:e,providedIn:"root"}),e})();const vA={provide:bA,deps:[[new ie,new ae,bA]],useFactory:function(e){return e||new bA}};class wA{}const kA=vk(wA);let MA=(()=>{class e extends kA{constructor(e,t,r,n,i,s){super(),this._intl=e,this._sort=r,this._columnDef=n,this._focusMonitor=i,this._elementRef=s,this._showIndicatorHint=!1,this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._rerenderSubscription=K(r.sortChange,r._stateChanges,e.changes).subscribe(()=>{this._isSorted()&&this._updateArrowDirection(),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),t.markForCheck()})}get disableClear(){return this._disableClear}set disableClear(e){this._disableClear=kw(e)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>this._setIndicatorHintVisible(!!e))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(e){this._isDisabled()&&e||(this._showIndicatorHint=e,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(e){this._viewState=e,this._disableViewStateAnimation&&(this._viewState={toState:e.toState})}_toggleOnInteraction(){this._sort.sort(this),"hint"!==this._viewState.toState&&"active"!==this._viewState.toState||(this._disableViewStateAnimation=!0);const e=this._isSorted()?{fromState:this._arrowDirection,toState:"active"}:{fromState:"active",toState:this._arrowDirection};this._setAnimationTransitionState(e),this._showIndicatorHint=!1}_handleClick(){this._isDisabled()||this._toggleOnInteraction()}_handleKeydown(e){this._isDisabled()||e.keyCode!==ow&&e.keyCode!==sw||(e.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const e=this._viewState.fromState;return(e?e+"-to-":"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}}return e.\u0275fac=function(t){return new(t||e)(Ra(bA),Ra(Zs),Ra(pA,8),Ra("MAT_SORT_HEADER_COLUMN_DEF",8),Ra(tk),Ra(zo))},e.\u0275cmp=mt({type:e,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(e,t){1&e&&qa("click",(function(){return t._handleClick()}))("keydown",(function(e){return t._handleKeydown(e)}))("mouseenter",(function(){return t._setIndicatorHintVisible(!0)}))("mouseleave",(function(){return t._setIndicatorHintVisible(!1)})),2&e&&(Ea("aria-sort",t._getAriaSortAttribute()),fo("mat-sort-header-disabled",t._isDisabled()))},inputs:{disabled:"disabled",arrowPosition:"arrowPosition",disableClear:"disableClear",id:["mat-sort-header","id"],start:"start"},exportAs:["matSortHeader"],features:[ga],attrs:dA,ngContentSelectors:hA,decls:4,vars:6,consts:[["role","button",1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(e,t){1&e&&(eo(),Fa(0,"div",0),Fa(1,"div",1),to(2),Ha(),Pa(3,uA,6,6,"div",2),Ha()),2&e&&(fo("mat-sort-header-sorted",t._isSorted())("mat-sort-header-position-before","before"==t.arrowPosition),Ea("tabindex",t._isDisabled()?null:0),Li(3),Ia("ngIf",t._renderArrow()))},directives:[au],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}\n"],encapsulation:2,data:{animation:[yA.indicator,yA.leftPointer,yA.rightPointer,yA.arrowOpacity,yA.arrowPosition,yA.allowChildren]},changeDetection:0}),e})(),SA=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[vA],imports:[[Mu]]}),e})();function xA(e,t){1&e&&(Fa(0,"th",10),xo(1),Il(2,"i18n"),Ha()),2&e&&(Li(1),Do(" ",jl(2,1,"permissions.name")," "))}function CA(e,t){1&e&&(Fa(0,"mat-icon"),xo(1,"add_circle"),Ha())}function DA(e,t){if(1&e&&(Fa(0,"td",11),Fa(1,"mat-icon",12),xo(2),Il(3,"i18n"),Ha(),xo(4),Il(5,"i18n"),Pa(6,CA,2,0,"mat-icon",13),Na(7,"br"),Fa(8,"small"),xo(9),Il(10,"i18n"),Ha(),Ha()),2&e){const e=t.$implicit;Li(2),Co(jl(3,4,"services."+e.name+".icon")),Li(2),Do(" ",jl(5,6,"services."+e.name+".title")," "),Li(2),Ia("ngIf",e.addon),Li(3),Co(jl(10,8,"services."+e.name+".subtitle"))}}function LA(e,t){1&e&&(Fa(0,"th",14),xo(1),Il(2,"i18n"),Ha()),2&e&&(Li(1),Do(" ",jl(2,1,"permissions.starts")," "))}function AA(e,t){if(1&e&&(Fa(0,"td",11),xo(1),Il(2,"date"),Ha()),2&e){const e=t.$implicit,r=Qa();Li(1),Co(Fl(2,1,e.starts,r.datetimeformat))}}function EA(e,t){1&e&&(Fa(0,"th",15),xo(1),Il(2,"i18n"),Ha()),2&e&&(Li(1),Do(" ",jl(2,1,"permissions.expires")," "))}function TA(e,t){if(1&e&&(Fa(0,"td",11),xo(1),Il(2,"date"),Ha()),2&e){const e=t.$implicit,r=Qa();Li(1),Co(Fl(2,1,e.expires,r.datetimeformat))}}function PA(e,t){1&e&&Na(0,"tr",16)}function YA(e,t){1&e&&Na(0,"tr",17)}let RA=(()=>{class e{constructor(e){this.i18n=e,this.permissionColumns=["name","starts","expires"]}ngOnInit(){this.datetimeformat=this.i18n.get("date-time-format",[])}sortData(e){const t=this.permissions.slice();this.permissions=e.active&&""!==e.direction?t.sort((t,r)=>{const n="asc"===e.direction;switch(e.active){case"name":return this.compare(this.i18n.get("services."+t.name+".title",[]),this.i18n.get("services."+r.name+".title",[]),n);case"starts":return this.compare(t.starts,r.starts,n);case"expires":return this.compare(t.expires,r.expires,n);default:return 0}}):t}compare(e,t,r){return(e{class e{constructor(e){this.i18n=e,this.quotaColumns=["name","quota","quotaUnit"]}ngOnInit(){}sortData(e){const t=this.quotas.slice();this.quotas=e.active&&""!==e.direction?t.sort((t,r)=>{const n="asc"===e.direction;switch(e.active){case"name":return this.compare(this.i18n.get("services."+t.name+".title",[]),this.i18n.get("services."+r.name+".title",[]),n);case"value":return this.compare(t.value,r.value,n);default:return 0}}):t}compare(e,t,r){return(e{class e{constructor(e,t){this.renderer=e,this.platformId=t,this.colordark="",this.colorlight="",this.level="",this.hidetitle=!1,this.size=0,this.usesvg=!1,this.allowEmptyString=!1,this.qrdata="",this.colorDark="#000000ff",this.colorLight="#ffffffff",this.cssClass="qrcode",this.elementType="canvas",this.errorCorrectionLevel="M",this.margin=4,this.scale=4,this.width=10,""!==this.colordark&&console.warn("[angularx-qrcode] colordark is deprecated, use colorDark."),""!==this.colorlight&&console.warn("[angularx-qrcode] colorlight is deprecated, use colorLight."),""!==this.level&&console.warn("[angularx-qrcode] level is deprecated, use errorCorrectionLevel."),!1!==this.hidetitle&&console.warn("[angularx-qrcode] hidetitle is deprecated."),0!==this.size&&console.warn("[angularx-qrcode] size is deprecated, use `width`. Defaults to 10."),!1!==this.usesvg&&console.warn("[angularx-qrcode] usesvg is deprecated, use [elementType]=\"'svg'\".")}ngOnChanges(){this.createQRCode()}isValidQrCodeText(e){return!1===this.allowEmptyString?!(void 0===e||""===e||"null"===e||null===e):!(void 0===e)}toDataURL(){return new Promise((e,t)=>{Object(WA.toDataURL)(this.qrdata,{color:{dark:this.colorDark,light:this.colorLight},errorCorrectionLevel:this.errorCorrectionLevel,margin:this.margin,scale:this.scale,version:this.version,width:this.width},(r,n)=>{r?t(r):e(n)})})}toCanvas(e){return new Promise((t,r)=>{Object(WA.toCanvas)(e,this.qrdata,{color:{dark:this.colorDark,light:this.colorLight},errorCorrectionLevel:this.errorCorrectionLevel,margin:this.margin,scale:this.scale,version:this.version,width:this.width},e=>{e?r(e):t("success")})})}toSVG(){return new Promise((e,t)=>{Object(WA.toString)(this.qrdata,{color:{dark:this.colorDark,light:this.colorLight},errorCorrectionLevel:this.errorCorrectionLevel,margin:this.margin,scale:this.scale,type:"svg",version:this.version,width:this.width},(r,n)=>{r?t(r):e(n)})})}renderElement(e){for(const t of this.qrcElement.nativeElement.childNodes)this.renderer.removeChild(this.qrcElement.nativeElement,t);this.renderer.appendChild(this.qrcElement.nativeElement,e)}createQRCode(){this.version&&this.version>40?(console.warn("[angularx-qrcode] max value for `version` is 40"),this.version=40):this.version&&this.version<1?(console.warn("[angularx-qrcode]`min value for `version` is 1"),this.version=1):void 0!==this.version&&isNaN(this.version)&&(console.warn("[angularx-qrcode] version should be a number, defaulting to auto."),this.version=void 0);try{if(!this.isValidQrCodeText(this.qrdata))throw new Error('[angularx-qrcode] Field `qrdata` is empty, set`allowEmptyString="true"` to overwrite this behaviour.');let e;switch(this.elementType){case"canvas":e=this.renderer.createElement("canvas"),this.toCanvas(e).then(()=>{this.renderElement(e)}).catch(e=>{console.error("[angularx-qrcode] canvas error: ",e)});break;case"svg":e=this.renderer.createElement("svg","svg"),this.toSVG().then(t=>{e.innerHTML=t,this.renderer.setAttribute(e,"height",""+this.width),this.renderer.setAttribute(e,"width",""+this.width),this.renderElement(e)}).catch(e=>{console.error("[angularx-qrcode] svg error: ",e)});break;case"url":case"img":default:e=this.renderer.createElement("img"),this.toDataURL().then(t=>{e.setAttribute("src",t),this.renderElement(e)}).catch(e=>{console.error("[angularx-qrcode] img/url error: ",e)})}}catch(e){console.error("[angularx-qrcode] Error generating QR Code: ",e.message)}}}return e.\u0275fac=function(t){return new(t||e)(Ra(Wo),Ra(pc))},e.\u0275cmp=mt({type:e,selectors:[["qrcode"]],viewQuery:function(e,t){var r;1&e&&Xl(qA,!0),2&e&&Ql(r=sc())&&(t.qrcElement=r.first)},inputs:{colordark:"colordark",colorlight:"colorlight",level:"level",hidetitle:"hidetitle",size:"size",usesvg:"usesvg",allowEmptyString:"allowEmptyString",qrdata:"qrdata",colorDark:"colorDark",colorLight:"colorLight",cssClass:"cssClass",elementType:"elementType",errorCorrectionLevel:"errorCorrectionLevel",margin:"margin",scale:"scale",width:"width",version:"version"},features:[Ot],decls:2,vars:2,consts:[["qrcElement",""]],template:function(e,t){1&e&&Na(0,"div",null,0),2&e&&_o(at,mo,t.cssClass,!0)},encapsulation:2,changeDetection:0}),e})(),$A=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[]}),e})();class ZA{constructor(e){this.total=e}call(e,t){return t.subscribe(new JA(e,this.total))}}class JA extends m{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){++this.count>this.total&&this.destination.next(e)}}const QA=new Set;let XA,eE=(()=>{class e{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):tE}matchMedia(e){return this._platform.WEBKIT&&function(e){if(!QA.has(e))try{XA||(XA=document.createElement("style"),XA.setAttribute("type","text/css"),document.head.appendChild(XA)),XA.sheet&&(XA.sheet.insertRule(`@media ${e} {.fx-query-test{ }}`,0),QA.add(e))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}return e.\u0275fac=function(t){return new(t||e)($e($v))},e.\u0275prov=de({factory:function(){return new e($e($v))},token:e,providedIn:"root"}),e})();function tE(e){return{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{}}}let rE=(()=>{class e{constructor(e,t){this._mediaMatcher=e,this._zone=t,this._queries=new Map,this._destroySubject=new M}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return nE(xw(e)).some(e=>this._registerQuery(e).mql.matches)}observe(e){let t=uh(nE(xw(e)).map(e=>this._registerQuery(e).observable));return t=Hh(t.pipe(Ih(1)),t.pipe(e=>e.lift(new ZA(1)),yw(0))),t.pipe(C(e=>{const t={matches:!1,breakpoints:{}};return e.forEach(({matches:e,query:r})=>{t.matches=t.matches||e,t.breakpoints[r]=e}),t}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const t=this._mediaMatcher.matchMedia(e),r={observable:new y(e=>{const r=t=>this._zone.run(()=>e.next(t));return t.addListener(r),()=>{t.removeListener(r)}}).pipe(Nh(t),C(({matches:t})=>({query:e,matches:t})),gM(this._destroySubject)),mql:t};return this._queries.set(e,r),r}}return e.\u0275fac=function(t){return new(t||e)($e(eE),$e(Ec))},e.\u0275prov=de({factory:function(){return new e($e(eE),$e(Ec))},token:e,providedIn:"root"}),e})();function nE(e){return e.map(e=>e.split(",")).reduce((e,t)=>e.concat(t)).map(e=>e.trim())}const iE={tooltipState:ly("state",[fy("initial, void, hidden",hy({opacity:0,transform:"scale(0)"})),fy("visible",hy({transform:"scale(1)"})),py("* => visible",cy("200ms cubic-bezier(0, 0, 0.2, 1)",my([hy({opacity:0,transform:"scale(0)",offset:0}),hy({opacity:.5,transform:"scale(0.99)",offset:.5}),hy({opacity:1,transform:"scale(1)",offset:1})]))),py("* => hidden",cy("100ms cubic-bezier(0, 0, 0.2, 1)",hy({opacity:0})))])},sE=nw({passive:!0}),aE=new Fe("mat-tooltip-scroll-strategy"),oE={provide:aE,deps:[rD],useFactory:function(e){return()=>e.scrollStrategies.reposition({scrollThrottle:20})}},lE=new Fe("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let cE=(()=>{class e{constructor(e,t,r,n,i,s,a,o,l,c,d){this._overlay=e,this._elementRef=t,this._scrollDispatcher=r,this._viewContainerRef=n,this._ngZone=i,this._platform=s,this._ariaDescriber=a,this._focusMonitor=o,this._dir=c,this._defaultOptions=d,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new M,this._handleKeydown=e=>{this._isTooltipVisible()&&e.keyCode===aw&&!hw(e)&&(e.preventDefault(),e.stopPropagation(),this._ngZone.run(()=>this.hide(0)))},this._scrollStrategy=l,d&&(d.position&&(this.position=d.position),d.touchGestures&&(this.touchGestures=d.touchGestures)),i.runOutsideAngular(()=>{t.nativeElement.addEventListener("keydown",this._handleKeydown)})}get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(e){this._disabled=kw(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=e?(""+e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message)})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(gM(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),e.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(([t,r])=>{e.removeEventListener(t,r,sE)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const t=this._createOverlay();this._detach(),this._portal=this._portal||new Ix(dE,this._viewContainerRef),this._tooltipInstance=t.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(gM(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(e)}hide(e=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(e)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),t=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(e);return t.positionChanges.pipe(gM(this._destroyed)).subscribe(e=>{this._tooltipInstance&&e.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:t,panelClass:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(gM(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(){const e=this._overlayRef.getConfig().positionStrategy,t=this._getOrigin(),r=this._getOverlayPosition();e.withPositions([Object.assign(Object.assign({},t.main),r.main),Object.assign(Object.assign({},t.fallback),r.fallback)])}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,t=this.position;let r;"above"==t||"below"==t?r={originX:"center",originY:"above"==t?"top":"bottom"}:"before"==t||"left"==t&&e||"right"==t&&!e?r={originX:"start",originY:"center"}:("after"==t||"right"==t&&e||"left"==t&&!e)&&(r={originX:"end",originY:"center"});const{x:n,y:i}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:n,originY:i}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,t=this.position;let r;"above"==t?r={overlayX:"center",overlayY:"bottom"}:"below"==t?r={overlayX:"center",overlayY:"top"}:"before"==t||"left"==t&&e||"right"==t&&!e?r={overlayX:"end",overlayY:"center"}:("after"==t||"right"==t&&e||"left"==t&&!e)&&(r={overlayX:"start",overlayY:"center"});const{x:n,y:i}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:n,overlayY:i}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Ih(1),gM(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,t){return"above"===this.position||"below"===this.position?"top"===t?t="bottom":"bottom"===t&&(t="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:t}}_setupPointerEnterEventsIfNeeded(){!this._disabled&&this.message&&this._viewInitialized&&!this._passiveListeners.length&&(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",()=>this.hide()]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const t=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",t],["touchcancel",t])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([e,t])=>{this._elementRef.nativeElement.addEventListener(e,t,sE)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const t=this._elementRef.nativeElement,r=t.style;("on"===e||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName)&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),"on"!==e&&t.draggable||(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}}return e.\u0275fac=function(t){return new(t||e)(Ra(rD),Ra(zo),Ra(sC),Ra(ml),Ra(Ec),Ra($v),Ra(Fw),Ra(tk),Ra(aE),Ra(dk,8),Ra(lE,8))},e.\u0275dir=vt({type:e,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]}),e})(),dE=(()=>{class e{constructor(e,t){this._changeDetectorRef=e,this._breakpointObserver=t,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new M,this._isHandset=this._breakpointObserver.observe("(max-width: 599.99px) and (orientation: portrait), (max-width: 959.99px) and (orientation: landscape)")}show(e){this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=null,this._markForCheck()},e)}hide(e){this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=null,this._markForCheck()},e)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(e){const t=e.toState;"hidden"!==t||this.isVisible()||this._onHide.next(),"visible"!==t&&"hidden"!==t||(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}}return e.\u0275fac=function(t){return new(t||e)(Ra(Zs),Ra(rE))},e.\u0275cmp=mt({type:e,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,t){1&e&&qa("click",(function(){return t._handleBodyInteraction()}),!1,en),2&e&&ho("zoom","visible"===t._visibility?1:null)},decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(e,t){var r;1&e&&(Fa(0,"div",0),qa("@state.start",(function(){return t._animationStart()}))("@state.done",(function(e){return t._animationDone(e)})),Il(1,"async"),xo(2),Ha()),2&e&&(fo("mat-tooltip-handset",null==(r=jl(1,5,t._isHandset))?null:r.matches),Ia("ngClass",t.tooltipClass)("@state",t._visibility),Li(2),Co(t.message))},directives:[ru],pipes:[bu],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[iE.tooltipState]},changeDetection:0}),e})(),uE=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[oE],imports:[[lk,Mu,lD,bk],bk,lC]}),e})();function hE(e,t){1&e&&(Fa(0,"mat-error"),Fa(1,"a",12),xo(2),Il(3,"i18n"),Ha(),Ha()),2&e&&(Li(2),Co(jl(3,1,"register.token.missing")))}function fE(e,t){if(1&e){const e=Va();Fa(0,"mat-slide-toggle",13),qa("ngModelChange",(function(t){return or(e),Qa(2).model.primaryEmail=t})),xo(1),Il(2,"i18n"),Ha()}2&e&&(Ia("ngModel",Qa(2).model.primaryEmail),Li(1),Do(" ",jl(2,2,"email.primary")," "))}function mE(e,t){if(1&e&&(Fa(0,"div"),xo(1),Il(2,"i18n"),Na(3,"br"),Ha()),2&e){const e=t.$implicit;Li(1),Do(" ",jl(2,1,"password.error."+e.key),"")}}function pE(e,t){if(1&e&&(Fa(0,"mat-list-item"),Fa(1,"mat-icon",14),xo(2,"plus_one"),Ha(),xo(3),Ha()),2&e){const e=t.$implicit,r=Qa(3);Li(3),Do(" ",e.name[r.currentLocale]||"missing"," ")}}function _E(e,t){if(1&e&&(Fa(0,"mat-list"),Pa(1,pE,4,1,"mat-list-item",8),Ha()),2&e){const e=Qa(2);Li(1),Ia("ngForOf",e.items)}}function gE(e,t){1&e&&(Fa(0,"button",15),xo(1),Il(2,"i18n"),Ha()),2&e&&(Ia("disabled",Qa(2).form.invalid),Li(1),Do(" ",jl(2,2,"register")," "))}function yE(e,t){1&e&&Na(0,"mat-progress-bar",16)}function bE(e,t){if(1&e){const e=Va();Fa(0,"form",2),qa("ngSubmit",(function(){return or(e),Qa().register()})),Fa(1,"mat-card"),Fa(2,"mat-card-content"),Fa(3,"h2"),xo(4),Il(5,"i18n"),Ha(),Pa(6,hE,4,3,"mat-error",1),Fa(7,"mat-form-field"),Fa(8,"input",3),qa("ngModelChange",(function(t){return or(e),Qa().model.username=t})),Il(9,"i18n"),Ha(),Fa(10,"mat-error"),xo(11),Il(12,"i18n"),Ha(),Fa(13,"a",4),qa("click",(function(){return or(e),Qa().genUsername()})),Fa(14,"mat-icon"),xo(15,"autorenew"),Ha(),Ha(),Ha(),Fa(16,"mat-form-field"),Fa(17,"input",5),qa("ngModelChange",(function(t){return or(e),Qa().model.email=t})),Il(18,"i18n"),Ha(),Fa(19,"mat-error"),xo(20),Il(21,"i18n"),Ha(),Ha(),Pa(22,fE,3,4,"mat-slide-toggle",6),Fa(23,"mat-form-field"),Fa(24,"input",7),qa("ngModelChange",(function(t){return or(e),Qa().model.password=t})),Il(25,"i18n"),Ha(),Fa(26,"mat-error"),Pa(27,mE,4,3,"div",8),Il(28,"keyvalue"),Ha(),Ha(),Fa(29,"mat-form-field"),Fa(30,"input",9),qa("ngModelChange",(function(t){return or(e),Qa().model.password2=t})),Il(31,"i18n"),Ha(),Fa(32,"mat-error"),xo(33),Il(34,"i18n"),Ha(),Ha(),Pa(35,_E,2,1,"mat-list",1),Na(36,"mat-divider"),Ha(),Fa(37,"mat-card-actions"),Pa(38,gE,3,4,"button",10),Pa(39,yE,1,0,"mat-progress-bar",11),Ha(),Ha(),Ha()}if(2&e){const e=Qa();Ia("formGroup",e.form),Li(4),Co(jl(5,19,"register")),Li(2),Ia("ngIf",e.missingToken),Li(2),ro("placeholder",jl(9,21,"username")),Ia("ngModel",e.model.username),Li(3),Do(" ",jl(12,23,"username.error")," "),Li(6),ro("placeholder",jl(18,25,"email")),Ia("ngModel",e.model.email),Li(3),Do(" ",jl(21,27,"email.invalid")," "),Li(2),Ia("ngIf",e.model.email),Li(2),ro("placeholder",jl(25,29,"password")),Ia("ngModel",e.model.password),Li(3),Ia("ngForOf",jl(28,31,e.form.get("password").errors)),Li(3),ro("placeholder",jl(31,33,"password.confirm")),Ia("ngModel",e.model.password2),Li(3),Do(" ",jl(34,35,"password.not-match")," "),Li(2),Ia("ngIf",e.items&&e.items[0]),Li(3),Ia("ngIf",!e.working),Li(1),Ia("ngIf",e.working)}}function vE(e,t){1&e&&(Fa(0,"mat-card"),Fa(1,"mat-card-content"),Fa(2,"h2"),xo(3),Il(4,"i18n"),Ha(),Fa(5,"p"),xo(6),Il(7,"i18n"),Ha(),Ha(),Fa(8,"mat-card-actions"),Fa(9,"a",17),xo(10),Il(11,"i18n"),Ha(),Ha(),Ha()),2&e&&(Li(3),Co(jl(4,3,"register.success.title")),Li(3),Co(jl(7,5,"register.success.text")),Li(4),Do(" ",jl(11,7,"register.login")," "))}const wE=["downloadKey"];var kE=r("QYcz");let ME=(()=>{class e{constructor(e,t,r,n,i){this.formBuilder=e,this.userService=t,this.itemService=r,this.i18n=n,this.dialog=i,this.items=[],this.model={username:"",password:"",password2:""},this.currentLocale=this.i18n.getLocale()}ngOnInit(){return C_(this,void 0,void 0,(function*(){this.form=this.formBuilder.group({username:["",Q_.required],email:["",Q_.email],primaryEmail:[!1,Q_.nullValidator],password:["",Q_.required],password2:["",Q_.required]},{validator:Dx("password","password2")}),this.itemService.items().subscribe(e=>{this.items=e})}))}genUsername(){this.model.username=(e=>{const t=[...e&&e.dictionaries||PD.dictionaries],r={...PD,...e,length:e&&e.length||t.length,dictionaries:t};if(!e||!e.dictionaries||!e.dictionaries.length)throw new Error('A "dictionaries" array must be provided. This is a breaking change introduced starting from Unique Name Generator v4. Read more about the breaking change here: https://github.com/andreasonny83/unique-names-generator#migration-guide');return new TD(r).generate()})({dictionaries:[YD,OD,RD],separator:"",style:"capital",length:3})}register(){var e;this.missingToken=!1,this.form.valid&&!this.working&&(this.working=!0,kE.generateKey({userIds:[{name:this.model.username,email:this.model.username+"@we.bstly.de"}],curve:"ed25519"}).then(t=>{e=t.privateKeyArmored,this.model.profileFields=[{name:"publicKey",type:"BLOB",visibility:"PROTECTED",blob:t.publicKeyArmored}],this.model.email&&this.model.profileFields.push({name:"email",type:"EMAIL",visibility:"PRITAVE",value:this.model.email}),this.model.primaryEmail&&this.model.profileFields.push({name:"primaryEmail",type:"BOOL",visibility:"PRITAVE",value:this.model.primaryEmail}),this.userService.register(this.model).subscribe(t=>{t.privateKey=e,this.dialog.open(SE,{closeOnNavigation:!1,disableClose:!0,data:t}).afterClosed().subscribe(e=>{e&&(this.success=!0)}),this.working=!1},e=>{if(this.working=!1,401==e.status)this.missingToken=!0;else if(409==e.status){let t={};for(let r of e.error)t[r.field]=t[r.field]||{},t[r.field][r.code]=!0;for(let e in t)this.form.get(e).setErrors(t[e])}})}))}}return e.\u0275fac=function(t){return new(t||e)(Ra(ny),Ra(ID),Ra(jD),Ra(D_),Ra(MD))},e.\u0275cmp=mt({type:e,selectors:[["app-register"]],decls:2,vars:2,consts:[[3,"formGroup","ngSubmit",4,"ngIf"],[4,"ngIf"],[3,"formGroup","ngSubmit"],["matInput","","formControlName","username",3,"placeholder","ngModel","ngModelChange"],["mat-button","","matSuffix","","mat-icon-button","",3,"click"],["matInput","","type","email","formControlName","email",3,"placeholder","ngModel","ngModelChange"],["formControlName","primaryEmail",3,"ngModel","ngModelChange",4,"ngIf"],["matInput","","type","password","formControlName","password",3,"placeholder","ngModel","ngModelChange"],[4,"ngFor","ngForOf"],["matInput","","type","password","formControlName","password2",3,"placeholder","ngModel","ngModelChange"],["mat-raised-button","","color","primary",3,"disabled",4,"ngIf"],["mode","indeterminate",4,"ngIf"],["routerLink","/tokens"],["formControlName","primaryEmail",3,"ngModel","ngModelChange"],["mat-list-icon",""],["mat-raised-button","","color","primary",3,"disabled"],["mode","indeterminate"],["routerLink","/login","mat-raised-button","","color","primary"]],template:function(e,t){1&e&&(Pa(0,bE,40,37,"form",0),Pa(1,vE,12,9,"mat-card",1)),2&e&&(Ia("ngIf",!t.success),Li(1),Ia("ngIf",t.success))},directives:[au,Wg,W_,Jg,fM,cM,tS,gS,H_,K_,Xg,HM,NS,$M,cx,iu,FD,hM,wp,ES,QD,tL,eL,HS,vx],pipes:[zS,wu],styles:["mat-form-field[_ngcontent-%COMP%]{display:block}"]}),e})(),SE=(()=>{class e{constructor(e,t,r){this.router=e,this.dialogRef=t,this.data=r,this.downloaded=!1}ngAfterViewInit(){this.downloadKey.nativeElement.setAttribute("href","data:text/plain;charset=utf-8,"+encodeURIComponent(this.data.privateKey)),this.downloadKey.nativeElement.setAttribute("download",this.data.username+".private.key")}setDownloaded(){this.downloaded=!0}}return e.\u0275fac=function(t){return new(t||e)(Ra(bp),Ra(_D),Ra(yD))},e.\u0275cmp=mt({type:e,selectors:[["app-register-dialog"]],viewQuery:function(e,t){var r;1&e&&ec(wE,!0,zo),2&e&&Ql(r=sc())&&(t.downloadKey=r.first)},decls:37,vars:35,consts:[["mat-dialog-title",""],[3,"permissions"],[3,"quotas"],[3,"qrdata","width","errorCorrectionLevel"],["matInput","","readonly","",3,"ngModel","ngModelChange"],["mat-raised-button","","color","primary",3,"click"],["downloadKey",""],["mat-icon-button","","matTooltipPosition","after",3,"matTooltip"],[3,"ngModel","disabled","ngModelChange"],["mat-button","",3,"disabled","mat-dialog-close"]],template:function(e,t){1&e&&(Fa(0,"h1",0),xo(1),Ha(),Fa(2,"mat-dialog-content"),Fa(3,"h3"),xo(4),Il(5,"i18n"),Ha(),Na(6,"app-permissions",1),Fa(7,"h3"),xo(8),Il(9,"i18n"),Ha(),Na(10,"app-quotas",2),Fa(11,"h3"),xo(12),Il(13,"i18n"),Ha(),Fa(14,"mat-form-field"),Na(15,"qrcode",3),Fa(16,"mat-label"),xo(17),Il(18,"i18n"),Ha(),Fa(19,"textarea",4),qa("ngModelChange",(function(e){return t.data.privateKey=e})),Ha(),Ha(),Ha(),Fa(20,"mat-dialog-actions"),Fa(21,"a",5,6),qa("click",(function(){return t.setDownloaded()})),xo(23),Il(24,"i18n"),Ha(),Fa(25,"button",7),Il(26,"i18n"),Fa(27,"mat-icon"),xo(28,"help"),Ha(),Ha(),Ha(),Na(29,"br"),Fa(30,"mat-dialog-actions"),Fa(31,"mat-slide-toggle",8),qa("ngModelChange",(function(e){return t.data.confirmClose=e})),xo(32),Il(33,"i18n"),Ha(),Fa(34,"button",9),xo(35),Il(36,"i18n"),Ha(),Ha()),2&e&&(Li(1),Co(t.data.username),Li(3),Co(jl(5,19,"permissions")),Li(2),Ia("permissions",t.data.permissions),Li(2),Co(jl(9,21,"quotas")),Li(2),Ia("quotas",t.data.quotas),Li(2),Co(jl(13,23,"pgp.privateKey")),Li(3),Ia("qrdata",t.data.privateKey)("width",400)("errorCorrectionLevel","M"),Li(2),Co(jl(18,25,"pgp.privateKey")),Li(2),Ia("ngModel",t.data.privateKey),Li(4),Co(jl(24,27,"pgp.privateKey.downloadKey")),Li(2),Ia("matTooltip",jl(26,29,"pgp.privateKey.help")),Li(6),Ia("ngModel",t.data.confirmClose)("disabled",!t.downloaded),Li(1),Do(" ",jl(33,31,"pgp.privateKey.confirmStore")," "),Li(2),Ia("disabled",!t.data.confirmClose)("mat-dialog-close",!0),Li(1),Co(jl(36,33,"ok")))},directives:[CD,DD,RA,KA,tS,GA,KM,gS,H_,K_,Kg,LD,NS,HS,cE,cx,ES,xD],pipes:[zS],styles:["mat-form-field[_ngcontent-%COMP%]{display:block}textarea[_ngcontent-%COMP%]{width:100%;min-height:200px}"]}),e})(),xE=(()=>{class e{constructor(e){this.http=e}permissions(){return this.http.get(sd+"/permissions")}permissionsNew(){return this.http.get(sd+"/permissions/new")}}return e.\u0275fac=function(t){return new(t||e)($e(s_))},e.\u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),CE=(()=>{class e{constructor(e){this.http=e}quotas(){return this.http.get(sd+"/quotas")}quotasNew(){return this.http.get(sd+"/quotas/new")}}return e.\u0275fac=function(t){return new(t||e)($e(s_))},e.\u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const DE=["formDirective"];function LE(e,t){1&e&&(Fa(0,"mat-error"),xo(1),Il(2,"i18n"),Ha()),2&e&&(Li(1),Do(" ",jl(2,1,"tokens.invalid")," "))}function AE(e,t){1&e&&(Fa(0,"mat-error"),xo(1),Il(2,"i18n"),Ha()),2&e&&(Li(1),Do(" ",jl(2,1,"tokens.redeemed")," "))}function EE(e,t){if(1&e){const e=Va();Fa(0,"mat-list-item"),Fa(1,"mat-icon",9),xo(2,"plus_one"),Ha(),xo(3),Fa(4,"button",10),qa("click",(function(){or(e);const r=t.$implicit;return Qa(2).removeSecret(r.secret)})),Fa(5,"mat-icon"),xo(6,"delete"),Ha(),Ha(),Ha()}if(2&e){const e=t.$implicit,r=Qa(2);Li(3),Do(" ",e.name[r.currentLocale]||"missing"," ")}}function TE(e,t){if(1&e){const e=Va();Fa(0,"button",11),qa("click",(function(){return or(e),Qa(2).redeem()})),Fa(1,"mat-icon"),xo(2,"redeem"),Ha(),xo(3),Il(4,"i18n"),Ha()}2&e&&(Li(3),Do(" ",jl(4,1,"tokens.redeem")," "))}function PE(e,t){1&e&&(Fa(0,"a",12),Fa(1,"mat-icon"),xo(2,"how_to_reg"),Ha(),xo(3),Il(4,"i18n"),Ha()),2&e&&(Li(3),Do(" ",jl(4,1,"register")," "))}const YE=function(){return{target:"tokens"}};function RE(e,t){1&e&&(Fa(0,"a",13),Fa(1,"mat-icon"),xo(2,"login"),Ha(),xo(3),Il(4,"i18n"),Ha()),2&e&&(Ia("queryParams",Rl(4,YE)),Li(3),Do(" ",jl(4,2,"login")," "))}function OE(e,t){if(1&e&&(Fa(0,"mat-card"),Fa(1,"mat-card-content"),Fa(2,"mat-list"),Pa(3,EE,7,1,"mat-list-item",5),Ha(),Na(4,"mat-divider"),Ha(),Fa(5,"mat-card-actions"),Pa(6,TE,5,3,"button",6),Pa(7,PE,5,3,"a",7),Pa(8,RE,5,5,"a",8),Ha(),Ha()),2&e){const e=Qa();Li(3),Ia("ngForOf",e.items),Li(3),Ia("ngIf",e.auth.authenticated),Li(1),Ia("ngIf",!e.auth.authenticated),Li(1),Ia("ngIf",!e.auth.authenticated)}}function IE(e,t){if(1&e&&(Fa(0,"div"),Fa(1,"h3"),xo(2),Il(3,"i18n"),Ha(),Na(4,"app-permissions",14),Ha()),2&e){const e=Qa();Li(2),Co(jl(3,2,"permissions")),Li(2),Ia("permissions",e.permissions)}}function jE(e,t){if(1&e&&(Fa(0,"div"),Fa(1,"h3"),xo(2),Il(3,"i18n"),Ha(),Na(4,"app-quotas",15),Ha()),2&e){const e=Qa();Li(2),Co(jl(3,2,"quotas")),Li(2),Ia("quotas",e.quotas)}}let FE=(()=>{class e{constructor(e,t,r,n,i,s,a,o){this.formBuilder=e,this.authService=t,this.itemService=r,this.i18n=n,this.permissionService=i,this.quotaService=s,this.router=a,this.route=o,this.items=[],this.permissions=[],this.quotas=[],this.currentLocale=this.i18n.getLocale(),this.authService.auth.subscribe(e=>{this.auth=e}),this.update()}ngOnInit(){return C_(this,void 0,void 0,(function*(){this.form=this.formBuilder.group({token:["",Q_.required]}),this.route.queryParams.subscribe(e=>{e.token&&this.itemService.redeemSecret(e.token).subscribe(e=>{this.update(),this.router.navigate(["."],{relativeTo:this.route})},t=>{this.form.get("token").patchValue(e.token),410==t.status?this.tokenRedeemed=!0:this.tokenInvalid=!0})})}))}redeemSecret(){if(this.tokenInvalid=!1,this.tokenRedeemed=!1,this.form.valid){const e=this.form.get("token").value;this.itemService.redeemSecret(e).subscribe(e=>{this.formDirective.resetForm(),this.update()},e=>{410==e.status?this.tokenRedeemed=!0:this.tokenInvalid=!0})}}removeSecret(e){this.itemService.removeSecret(e).subscribe(e=>{this.update()},e=>{})}redeem(){this.auth.authenticated&&this.itemService.redeem().subscribe(e=>{this.router.navigate(["/account/info"])})}update(){this.authService.getAuth().then(e=>{this.itemService.items().subscribe(e=>{this.items=e}),this.permissionService.permissionsNew().subscribe(e=>{this.permissions=e}),this.quotaService.quotasNew().subscribe(e=>{this.quotas=e})}).catch((function(e){}))}canRegister(){return this.permissions&&this.permissions.some((function(e){return!e.addon}))}}return e.\u0275fac=function(t){return new(t||e)(Ra(ny),Ra(w_),Ra(jD),Ra(D_),Ra(xE),Ra(CE),Ra(bp),Ra(im))},e.\u0275cmp=mt({type:e,selectors:[["app-tokens"]],viewQuery:function(e,t){var r;1&e&&ec(DE,!0),2&e&&Ql(r=sc())&&(t.formDirective=r.first)},decls:22,vars:19,consts:[[3,"formGroup","ngSubmit"],["formDirective","ngForm"],[4,"ngIf"],["matInput","","formControlName","token",3,"placeholder"],["mat-raised-button","","color","primary",3,"disabled"],[4,"ngFor","ngForOf"],["mat-raised-button","","color","accent",3,"click",4,"ngIf"],["routerLink","/register","mat-raised-button","","color","accent",4,"ngIf"],["routerLink","/login","mat-raised-button","","color","primary",3,"queryParams",4,"ngIf"],["mat-list-icon",""],["mat-icon-button","",3,"click"],["mat-raised-button","","color","accent",3,"click"],["routerLink","/register","mat-raised-button","","color","accent"],["routerLink","/login","mat-raised-button","","color","primary",3,"queryParams"],[3,"permissions"],[3,"quotas"]],template:function(e,t){1&e&&(Fa(0,"form",0,1),qa("ngSubmit",(function(){return t.redeemSecret()})),Fa(2,"mat-card"),Fa(3,"mat-card-content"),Fa(4,"h2"),xo(5),Il(6,"i18n"),Ha(),Pa(7,LE,3,3,"mat-error",2),Pa(8,AE,3,3,"mat-error",2),Fa(9,"mat-form-field"),Na(10,"input",3),Il(11,"i18n"),Fa(12,"mat-error"),xo(13),Il(14,"i18n"),Ha(),Ha(),Ha(),Fa(15,"mat-card-actions"),Fa(16,"button",4),xo(17),Il(18,"i18n"),Ha(),Ha(),Ha(),Ha(),Pa(19,OE,9,4,"mat-card",2),Pa(20,IE,5,4,"div",2),Pa(21,jE,5,4,"div",2)),2&e&&(Ia("formGroup",t.form),Li(5),Co(jl(6,11,"tokens.enter")),Li(2),Ia("ngIf",t.tokenInvalid),Li(1),Ia("ngIf",t.tokenRedeemed),Li(2),ro("placeholder",jl(11,13,"token")),Li(3),Do(" ",jl(14,15,"tokens.provide-valid")," "),Li(3),Ia("disabled",t.form.invalid),Li(1),Co(jl(18,17,"tokens.validate")),Li(2),Ia("ngIf",t.items&&t.items[0]),Li(1),Ia("ngIf",t.permissions&&t.permissions[0]),Li(1),Ia("ngIf",t.quotas&&t.quotas[0]))},directives:[Wg,W_,Jg,fM,cM,au,tS,gS,H_,K_,Xg,HM,hM,HS,QD,iu,FD,tL,cx,eL,wp,NS,RA,KA],pipes:[zS],styles:["mat-form-field[_ngcontent-%COMP%]{display:block}"]}),e})(),HE=(()=>{class e{constructor(e){this.http=e}services(){return this.http.get(sd+"/services")}}return e.\u0275fac=function(t){return new(t||e)($e(s_))},e.\u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const NE={provide:_c,useFactory:function(e,t){return()=>{if(Su(t)){const t=Array.from(e.querySelectorAll(`[class*=${BE}]`)),r=/\bflex-layout-.+?\b/g;t.forEach(e=>{e.classList.contains(BE+"ssr")&&e.parentNode?e.parentNode.removeChild(e):e.className.replace(r,"")})}}},deps:[ld,pc],multi:!0},BE="flex-layout-";let zE=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[NE]}),e})();class UE{constructor(e=!1,t="all",r="",n="",i=0){this.matches=e,this.mediaQuery=t,this.mqAlias=r,this.suffix=n,this.priority=i,this.property=""}clone(){return new UE(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let VE=(()=>{class e{constructor(){this.stylesheet=new Map}addStyleToElement(e,t,r){const n=this.stylesheet.get(e);n?n.set(t,r):this.stylesheet.set(e,new Map([[t,r]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(e,t){const r=this.stylesheet.get(e);let n="";if(r){const e=r.get(t);"number"!=typeof e&&"string"!=typeof e||(n=e+"")}return n}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=de({factory:function(){return new e},token:e,providedIn:"root"}),e})();const KE={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[]},WE=new Fe("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>KE}),qE=new Fe("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),GE=new Fe("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function $E(e,t){return e=e?e.clone():new UE,t&&(e.mqAlias=t.alias,e.mediaQuery=t.mediaQuery,e.suffix=t.suffix,e.priority=t.priority),e}const ZE="inline",JE=["row","column","row-reverse","column-reverse"];function QE(e){if(e)switch(e.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":e="wrap-reverse";break;case"no":case"none":case"nowrap":e="nowrap";break;default:e="wrap"}return e}let XE=(()=>{class e{constructor(e,t,r,n){this.elementRef=e,this.styleBuilder=t,this.styler=r,this.marshal=n,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new M,this.styleCache=new Map}get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,this.marshal.activatedAlias)}ngOnChanges(e){Object.keys(e).forEach(t=>{if(-1!==this.inputs.indexOf(t)){const r=t.split(".").slice(1).join(".");this.setValue(e[t].currentValue,r)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(e=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),e)}addStyles(e,t){const r=this.styleBuilder,n=r.shouldCache;let i=this.styleCache.get(e);i&&n||(i=r.buildStyles(e,t),n&&this.styleCache.set(e,i)),this.mru=Object.assign({},i),this.applyStyleToElement(i),r.sideEffect(e,i,t)}clearStyles(){Object.keys(this.mru).forEach(e=>{this.mru[e]=""}),this.applyStyleToElement(this.mru),this.mru={}}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(e,t=!1){if(e){const[r,n]=this.styler.getFlowDirection(e);if(!n&&t){const t=function(e){let[t,r,n]=function(e){e=e?e.toLowerCase():"";let[t,r,n]=e.split(" ");return JE.find(e=>e===t)||(t=JE[0]),r===ZE&&(r=n!==ZE?n:"",n=ZE),[t,QE(r),!!n]}(e);return function(e,t=null,r=!1){return{display:r?"inline-flex":"flex","box-sizing":"border-box","flex-direction":e,"flex-wrap":t||null}}(t,r,n)}(r);this.styler.applyStyleToElements(t,[e])}return r.trim()}return"row"}hasWrap(e){return this.styler.hasWrap(e)}applyStyleToElement(e,t,r=this.nativeElement){this.styler.applyStyleToElement(r,e,t)}setValue(e,t){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,t)}updateWithValue(e){this.currentValue!==e&&(this.addStyles(e),this.currentValue=e)}}return e.\u0275fac=function(e){!function(){throw new Error("invalid")}()},e.\u0275dir=vt({type:e,features:[Ot]}),e})();const eT=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.98px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.98px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.98px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.98px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.98px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.98px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.98px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.98px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.98px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],tT="(orientation: portrait) and (max-width: 599.98px)",rT="(orientation: landscape) and (max-width: 959.98px)",nT="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",iT="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",sT="(orientation: portrait) and (min-width: 840px)",aT="(orientation: landscape) and (min-width: 1280px)",oT={HANDSET:`${tT}, ${rT}`,TABLET:`${nT} , ${iT}`,WEB:`${sT}, ${aT} `,HANDSET_PORTRAIT:""+tT,TABLET_PORTRAIT:nT+" ",WEB_PORTRAIT:""+sT,HANDSET_LANDSCAPE:""+rT,TABLET_LANDSCAPE:""+iT,WEB_LANDSCAPE:""+aT},lT=[{alias:"handset",priority:2e3,mediaQuery:oT.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:oT.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:oT.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:oT.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:oT.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:oT.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:oT.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:oT.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:oT.WEB_PORTRAIT,overlapping:!0}],cT=/(\.|-|_)/g;function dT(e){let t=e.length>0?e.charAt(0):"",r=e.length>1?e.slice(1):"";return t.toUpperCase()+r}const uT=new Fe("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const e=Ze(GE),t=Ze(WE),r=[].concat.apply([],(e||[]).map(e=>Array.isArray(e)?e:[e]));return function(e,t=[]){const r={};return e.forEach(e=>{r[e.alias]=e}),t.forEach(e=>{r[e.alias]?function(e,...t){if(null==e)throw TypeError("Cannot convert undefined or null to object");for(let r of t)if(null!=r)for(let t in r)r.hasOwnProperty(t)&&(e[t]=r[t])}(r[e.alias],e):r[e.alias]=e}),(n=Object.keys(r).map(e=>r[e])).forEach(e=>{e.suffix||(e.suffix=e.alias.replace(cT,"|").split("|").map(dT).join(""),e.overlapping=!!e.overlapping)}),n;var n}((t.disableDefaultBps?[]:eT).concat(t.addOrientationBps?lT:[]),r)}});function hT(e,t){return(t&&t.priority||0)-(e&&e.priority||0)}function fT(e,t){return(e.priority||0)-(t.priority||0)}let mT=(()=>{class e{constructor(e){this.findByMap=new Map,this.items=[...e].sort(fT)}findByAlias(e){return e?this.findWithPredicate(e,t=>t.alias==e):null}findByQuery(e){return this.findWithPredicate(e,t=>t.mediaQuery==e)}get overlappings(){return this.items.filter(e=>1==e.overlapping)}get aliases(){return this.items.map(e=>e.alias)}get suffixes(){return this.items.map(e=>e.suffix?e.suffix:"")}findWithPredicate(e,t){let r=this.findByMap.get(e);return r||(r=this.items.find(t)||null,this.findByMap.set(e,r)),r||null}}return e.\u0275fac=function(t){return new(t||e)($e(uT))},e.\u0275prov=de({factory:function(){return new e($e(uT))},token:e,providedIn:"root"}),e})(),pT=(()=>{class e{constructor(e,t,r){this._zone=e,this._platformId=t,this._document=r,this.source=new ah(new UE(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const e=[];return this.registry.forEach((t,r)=>{t.matches&&e.push(r)}),e}isActive(e){const t=this.registry.get(e);return t?t.matches:this.registerQuery(e).some(e=>e.matches)}observe(e,t=!1){if(e&&e.length){const r=this._observable$.pipe(bh(r=>!t||e.indexOf(r.mediaQuery)>-1));return K(new y(t=>{const r=this.registerQuery(e);if(r.length){const e=r.pop();r.forEach(e=>{t.next(e)}),this.source.next(e)}t.complete()}),r)}return this._observable$}registerQuery(e){const t=Array.isArray(e)?e:[e],r=[];return function(e,t){const r=e.filter(e=>!_T[e]);if(r.length>0){const e=r.join(", ");try{const n=t.createElement("style");n.setAttribute("type","text/css"),n.styleSheet||n.appendChild(t.createTextNode(`\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${e} {.fx-query-test{ }}\n`)),t.head.appendChild(n),r.forEach(e=>_T[e]=n)}catch(n){console.error(n)}}}(t,this._document),t.forEach(e=>{const t=t=>{this._zone.run(()=>this.source.next(new UE(t.matches,e)))};let n=this.registry.get(e);n||(n=this.buildMQL(e),n.addListener(t),this.pendingRemoveListenerFns.push(()=>n.removeListener(t)),this.registry.set(e,n)),n.matches&&r.push(new UE(!0,e))}),r}ngOnDestroy(){let e;for(;e=this.pendingRemoveListenerFns.pop();)e()}buildMQL(e){return function(e,t){return t&&window.matchMedia("all").addListener?window.matchMedia(e):{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{},onchange:null,addEventListener(){},removeEventListener(){},dispatchEvent:()=>!1}}(e,Su(this._platformId))}}return e.\u0275fac=function(t){return new(t||e)($e(Ec),$e(pc),$e(ld))},e.\u0275prov=de({factory:function(){return new e($e(Ec),$e(pc),$e(ld))},token:e,providedIn:"root"}),e})();const _T={},gT="print",yT={alias:gT,mediaQuery:gT,priority:1e3};let bT=(()=>{class e{constructor(e,t,r){this.breakpoints=e,this.layoutConfig=t,this._document=r,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.isPrinting=!1,this.queue=new vT,this.deactivations=[]}withPrintQuery(e){return[...e,gT]}isPrintEvent(e){return e.mediaQuery.startsWith(gT)}get printAlias(){return this.layoutConfig.printWithBreakpoints||[]}get printBreakPoints(){return this.printAlias.map(e=>this.breakpoints.findByAlias(e)).filter(e=>null!==e)}getEventBreakpoints({mediaQuery:e}){const t=this.breakpoints.findByQuery(e);return(t?[...this.printBreakPoints,t]:this.printBreakPoints).sort(hT)}updateEvent(e){let t=this.breakpoints.findByQuery(e.mediaQuery);return this.isPrintEvent(e)&&(t=this.getEventBreakpoints(e)[0],e.mediaQuery=t?t.mediaQuery:""),$E(e,t)}registerBeforeAfterPrintHooks(e){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const t=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(e,this.getEventBreakpoints(new UE(!0,gT))),e.updateStyles())},r=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(e),e.updateStyles())};this._document.defaultView.addEventListener("beforeprint",t),this._document.defaultView.addEventListener("afterprint",r),this.beforePrintEventListeners.push(t),this.afterPrintEventListeners.push(r)}interceptEvents(e){return this.registerBeforeAfterPrintHooks(e),t=>{this.isPrintEvent(t)?t.matches&&!this.isPrinting?(this.startPrinting(e,this.getEventBreakpoints(t)),e.updateStyles()):t.matches||!this.isPrinting||this.isPrintingBeforeAfterEvent||(this.stopPrinting(e),e.updateStyles()):this.collectActivations(t)}}blockPropagation(){return e=>!(this.isPrinting||this.isPrintEvent(e))}startPrinting(e,t){this.isPrinting=!0,e.activatedBreakpoints=this.queue.addPrintBreakpoints(t)}stopPrinting(e){e.activatedBreakpoints=this.deactivations,this.deactivations=[],this.queue.clear(),this.isPrinting=!1}collectActivations(e){if(!this.isPrinting||this.isPrintingBeforeAfterEvent)if(e.matches)this.isPrintingBeforeAfterEvent||(this.deactivations=[]);else{const t=this.breakpoints.findByQuery(e.mediaQuery);t&&(this.deactivations.push(t),this.deactivations.sort(hT))}}ngOnDestroy(){this.beforePrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("beforeprint",e)),this.afterPrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("afterprint",e))}}return e.\u0275fac=function(t){return new(t||e)($e(mT),$e(WE),$e(ld))},e.\u0275prov=de({factory:function(){return new e($e(mT),$e(WE),$e(ld))},token:e,providedIn:"root"}),e})();class vT{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(e){return e.push(yT),e.sort(hT),e.forEach(e=>this.addBreakpoint(e)),this.printBreakpoints}addBreakpoint(e){e&&void 0===this.printBreakpoints.find(t=>t.mediaQuery===e.mediaQuery)&&(this.printBreakpoints=function(e){return!!e&&e.mediaQuery.startsWith(gT)}(e)?[e,...this.printBreakpoints]:[...this.printBreakpoints,e])}clear(){this.printBreakpoints=[]}}function wT(e){for(let t in e){let r=e[t]||"";switch(t){case"display":e.display="flex"===r?["-webkit-flex","flex"]:"inline-flex"===r?["-webkit-inline-flex","inline-flex"]:r;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":e["-webkit-"+t]=r;break;case"flex-direction":r=r||"row",e["-webkit-flex-direction"]=r,e["flex-direction"]=r;break;case"order":e.order=e["-webkit-"+t]=isNaN(+r)?"0":r}}return e}let kT=(()=>{class e{constructor(e,t,r,n){this._serverStylesheet=e,this._serverModuleLoaded=t,this._platformId=r,this.layoutConfig=n}applyStyleToElement(e,t,r=null){let n={};"string"==typeof t&&(n[t]=r,t=n),n=this.layoutConfig.disableVendorPrefixes?t:wT(t),this._applyMultiValueStyleToElement(n,e)}applyStyleToElements(e,t=[]){const r=this.layoutConfig.disableVendorPrefixes?e:wT(e);t.forEach(e=>{this._applyMultiValueStyleToElement(r,e)})}getFlowDirection(e){const t="flex-direction";let r=this.lookupStyle(e,t);return[r||"row",this.lookupInlineStyle(e,t)||xu(this._platformId)&&this._serverModuleLoaded?r:""]}hasWrap(e){return"wrap"===this.lookupStyle(e,"flex-wrap")}lookupAttributeValue(e,t){return e.getAttribute(t)||""}lookupInlineStyle(e,t){return Su(this._platformId)?e.style.getPropertyValue(t):this._getServerStyle(e,t)}lookupStyle(e,t,r=!1){let n="";return e&&((n=this.lookupInlineStyle(e,t))||(Su(this._platformId)?r||(n=getComputedStyle(e).getPropertyValue(t)):this._serverModuleLoaded&&(n=this._serverStylesheet.getStyleForElement(e,t)))),n?n.trim():""}_applyMultiValueStyleToElement(e,t){Object.keys(e).sort().forEach(r=>{const n=e[r],i=Array.isArray(n)?n:[n];i.sort();for(let e of i)e=e?e+"":"",Su(this._platformId)||!this._serverModuleLoaded?Su(this._platformId)?t.style.setProperty(r,e):this._setServerStyle(t,r,e):this._serverStylesheet.addStyleToElement(t,r,e)})}_setServerStyle(e,t,r){t=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const n=this._readStyleAttribute(e);n[t]=r||"",this._writeStyleAttribute(e,n)}_getServerStyle(e,t){return this._readStyleAttribute(e)[t]||""}_readStyleAttribute(e){const t={},r=e.getAttribute("style");if(r){const e=r.split(/;+/g);for(let r=0;r0){const e=n.indexOf(":");if(-1===e)throw new Error("Invalid CSS style: "+n);t[n.substr(0,e).trim()]=n.substr(e+1).trim()}}}return t}_writeStyleAttribute(e,t){let r="";for(const n in t)t[n]&&(r+=n+":"+t[n]+";");e.setAttribute("style",r)}}return e.\u0275fac=function(t){return new(t||e)($e(VE),$e(qE),$e(pc),$e(WE))},e.\u0275prov=de({factory:function(){return new e($e(VE),$e(qE),$e(pc),$e(WE))},token:e,providedIn:"root"}),e})();class MT{constructor(){this.shouldCache=!0}sideEffect(e,t,r){}}function ST(e,t="1",r="1"){let n=[t,r,e],i=e.indexOf("calc");if(i>0){n[2]=xT(e.substring(i).trim());let t=e.substr(0,i).trim().split(" ");2==t.length&&(n[0]=t[0],n[1]=t[1])}else if(0==i)n[2]=xT(e.trim());else{let i=e.split(" ");n=3===i.length?i:[t,r,e]}return n}function xT(e){return e.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}let CT=(()=>{class e{constructor(e,t,r){this.matchMedia=e,this.breakpoints=t,this.hook=r,this.activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new M,this.observeActivations()}get activatedAlias(){return this.activatedBreakpoints[0]?this.activatedBreakpoints[0].alias:""}onMediaChange(e){const t=this.findByQuery(e.mediaQuery);t&&((e=$E(e,t)).matches&&-1===this.activatedBreakpoints.indexOf(t)?(this.activatedBreakpoints.push(t),this.activatedBreakpoints.sort(hT),this.updateStyles()):e.matches||-1===this.activatedBreakpoints.indexOf(t)||(this.activatedBreakpoints.splice(this.activatedBreakpoints.indexOf(t),1),this.activatedBreakpoints.sort(hT),this.updateStyles()))}init(e,t,r,n,i=[]){DT(this.updateMap,e,t,r),DT(this.clearMap,e,t,n),this.buildElementKeyMap(e,t),this.watchExtraTriggers(e,t,i)}getValue(e,t,r){const n=this.elementMap.get(e);if(n){const e=void 0!==r?n.get(r):this.getActivatedValues(n,t);if(e)return e.get(t)}}hasValue(e,t){const r=this.elementMap.get(e);if(r){const e=this.getActivatedValues(r,t);if(e)return void 0!==e.get(t)||!1}return!1}setValue(e,t,r,n){let i=this.elementMap.get(e);if(i){const s=(i.get(n)||new Map).set(t,r);i.set(n,s),this.elementMap.set(e,i)}else i=(new Map).set(n,(new Map).set(t,r)),this.elementMap.set(e,i);const s=this.getValue(e,t);void 0!==s&&this.updateElement(e,t,s)}trackValue(e,t){return this.subject.asObservable().pipe(bh(r=>r.element===e&&r.key===t))}updateStyles(){this.elementMap.forEach((e,t)=>{const r=new Set(this.elementKeyMap.get(t));let n=this.getActivatedValues(e);n&&n.forEach((e,n)=>{this.updateElement(t,n,e),r.delete(n)}),r.forEach(r=>{if(n=this.getActivatedValues(e,r),n){const e=n.get(r);this.updateElement(t,r,e)}else this.clearElement(t,r)})})}clearElement(e,t){const r=this.clearMap.get(e);if(r){const n=r.get(t);n&&(n(),this.subject.next({element:e,key:t,value:""}))}}updateElement(e,t,r){const n=this.updateMap.get(e);if(n){const i=n.get(t);i&&(i(r),this.subject.next({element:e,key:t,value:r}))}}releaseElement(e){const t=this.watcherMap.get(e);t&&(t.forEach(e=>e.unsubscribe()),this.watcherMap.delete(e));const r=this.elementMap.get(e);r&&(r.forEach((e,t)=>r.delete(t)),this.elementMap.delete(e))}triggerUpdate(e,t){const r=this.elementMap.get(e);if(r){const n=this.getActivatedValues(r,t);n&&(t?this.updateElement(e,t,n.get(t)):n.forEach((t,r)=>this.updateElement(e,r,t)))}}buildElementKeyMap(e,t){let r=this.elementKeyMap.get(e);r||(r=new Set,this.elementKeyMap.set(e,r)),r.add(t)}watchExtraTriggers(e,t,r){if(r&&r.length){let n=this.watcherMap.get(e);if(n||(n=new Map,this.watcherMap.set(e,n)),!n.get(t)){const i=K(...r).subscribe(()=>{const r=this.getValue(e,t);this.updateElement(e,t,r)});n.set(t,i)}}}findByQuery(e){return this.breakpoints.findByQuery(e)}getActivatedValues(e,t){for(let n=0;ne.mediaQuery);this.matchMedia.observe(this.hook.withPrintQuery(e)).pipe($h(this.hook.interceptEvents(this)),bh(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return e.\u0275fac=function(t){return new(t||e)($e(pT),$e(mT),$e(bT))},e.\u0275prov=de({factory:function(){return new e($e(pT),$e(mT),$e(bT))},token:e,providedIn:"root"}),e})();function DT(e,t,r,n){if(void 0!==n){let i=e.get(t);i||(i=new Map,e.set(t,i)),i.set(r,n)}}const LT="inline",AT=["row","column","row-reverse","column-reverse"];function ET(e){e=e?e.toLowerCase():"";let[t,r,n]=e.split(" ");return AT.find(e=>e===t)||(t=AT[0]),r===LT&&(r=n!==LT?n:"",n=LT),[t,PT(r),!!n]}function TT(e){let[t]=ET(e);return t.indexOf("row")>-1}function PT(e){if(e)switch(e.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":e="wrap-reverse";break;case"no":case"none":case"nowrap":e="nowrap";break;default:e="wrap"}return e}let YT=(()=>{class e extends MT{buildStyles(e){return function(e){let[t,r,n]=ET(e);return function(e,t=null,r=!1){return{display:r?"inline-flex":"flex","box-sizing":"border-box","flex-direction":e,"flex-wrap":t||null}}(t,r,n)}(e)}}return e.\u0275fac=function(t){return RT(t||e)},e.\u0275prov=de({factory:function(){return new e},token:e,providedIn:"root"}),e})();const RT=vn(YT),OT=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"];let IT=(()=>{class e extends XE{constructor(e,t,r,n){super(e,r,t,n),this.DIRECTIVE_KEY="layout",this.styleCache=HT,this.init()}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(kT),Ra(YT),Ra(CT))},e.\u0275dir=vt({type:e,features:[ga]}),e})(),jT=(()=>{class e extends IT{constructor(){super(...arguments),this.inputs=OT}}return e.\u0275fac=function(t){return FT(t||e)},e.\u0275dir=vt({type:e,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[ga]}),e})();const FT=vn(jT),HT=new Map,NT={"margin-left":null,"margin-right":null,"margin-top":null,"margin-bottom":null};let BT=(()=>{class e extends MT{constructor(e){super(),this._styler=e}buildStyles(e,t){return e.endsWith(ZT)?function(e,t){const[r,n]=e.split(" "),i=e=>"-"+e;let s="0px",a=i(n||r),o="0px";return"rtl"===t?o=i(r):s=i(r),{margin:`0px ${s} ${a} ${o}`}}(e=e.slice(0,e.indexOf(ZT)),t.directionality):{}}sideEffect(e,t,r){const n=r.items;if(e.endsWith(ZT)){const t=function(e,t){const[r,n]=e.split(" ");let i="0px",s="0px";return"rtl"===t?s=r:i=r,{padding:`0px ${i} ${n||r} ${s}`}}(e=e.slice(0,e.indexOf(ZT)),r.directionality);this._styler.applyStyleToElements(t,r.items)}else{const t=n.pop(),i=function(e,t){const r=JT(t.directionality,t.layout),n=Object.assign({},NT);return n[r]=e,n}(e,r);this._styler.applyStyleToElements(i,n),this._styler.applyStyleToElements(NT,[t])}}}return e.\u0275fac=function(t){return new(t||e)($e(kT))},e.\u0275prov=de({factory:function(){return new e($e(kT))},token:e,providedIn:"root"}),e})();const zT=["fxLayoutGap","fxLayoutGap.xs","fxLayoutGap.sm","fxLayoutGap.md","fxLayoutGap.lg","fxLayoutGap.xl","fxLayoutGap.lt-sm","fxLayoutGap.lt-md","fxLayoutGap.lt-lg","fxLayoutGap.lt-xl","fxLayoutGap.gt-xs","fxLayoutGap.gt-sm","fxLayoutGap.gt-md","fxLayoutGap.gt-lg"];let UT=(()=>{class e extends XE{constructor(e,t,r,n,i,s){super(e,i,n,s),this.zone=t,this.directionality=r,this.styleUtils=n,this.layout="row",this.DIRECTIVE_KEY="layout-gap",this.observerSubject=new M;const a=[this.directionality.change,this.observerSubject.asObservable()];this.init(a),this.marshal.trackValue(this.nativeElement,"layout").pipe(gM(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}get childrenNodes(){const e=this.nativeElement.children,t=[];for(let r=e.length;r--;)t[r]=e[r];return t}ngAfterContentInit(){this.buildChildObservable(),this.triggerUpdate()}ngOnDestroy(){super.ngOnDestroy(),this.observer&&this.observer.disconnect()}onLayoutChange(e){const t=e.value.split(" ");this.layout=t[0],AT.find(e=>e===this.layout)||(this.layout="row"),this.triggerUpdate()}updateWithValue(e){const t=this.childrenNodes.filter(e=>1===e.nodeType&&this.willDisplay(e)).sort((e,t)=>{const r=+this.styler.lookupStyle(e,"order"),n=+this.styler.lookupStyle(t,"order");return isNaN(r)||isNaN(n)||r===n?0:r>n?1:-1});if(t.length>0){const r=this.directionality.value,n=this.layout;"row"===n&&"rtl"===r?this.styleCache=WT:"row"===n&&"rtl"!==r?this.styleCache=GT:"column"===n&&"rtl"===r?this.styleCache=qT:"column"===n&&"rtl"!==r&&(this.styleCache=$T),this.addStyles(e,{directionality:r,items:t,layout:n})}}clearStyles(){const e=Object.keys(this.mru).length>0,t=e?"padding":JT(this.directionality.value,this.layout);e&&super.clearStyles(),this.styleUtils.applyStyleToElements({[t]:""},this.childrenNodes)}willDisplay(e){const t=this.marshal.getValue(e,"show-hide");return!0===t||void 0===t&&"none"!==this.styleUtils.lookupStyle(e,"display")}buildChildObservable(){this.zone.runOutsideAngular(()=>{"undefined"!=typeof MutationObserver&&(this.observer=new MutationObserver(e=>{e.some(e=>e.addedNodes&&e.addedNodes.length>0||e.removedNodes&&e.removedNodes.length>0)&&this.observerSubject.next()}),this.observer.observe(this.nativeElement,{childList:!0}))})}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(Ec),Ra(dk),Ra(kT),Ra(BT),Ra(CT))},e.\u0275dir=vt({type:e,features:[ga]}),e})(),VT=(()=>{class e extends UT{constructor(){super(...arguments),this.inputs=zT}}return e.\u0275fac=function(t){return KT(t||e)},e.\u0275dir=vt({type:e,selectors:[["","fxLayoutGap",""],["","fxLayoutGap.xs",""],["","fxLayoutGap.sm",""],["","fxLayoutGap.md",""],["","fxLayoutGap.lg",""],["","fxLayoutGap.xl",""],["","fxLayoutGap.lt-sm",""],["","fxLayoutGap.lt-md",""],["","fxLayoutGap.lt-lg",""],["","fxLayoutGap.lt-xl",""],["","fxLayoutGap.gt-xs",""],["","fxLayoutGap.gt-sm",""],["","fxLayoutGap.gt-md",""],["","fxLayoutGap.gt-lg",""]],inputs:{fxLayoutGap:"fxLayoutGap","fxLayoutGap.xs":"fxLayoutGap.xs","fxLayoutGap.sm":"fxLayoutGap.sm","fxLayoutGap.md":"fxLayoutGap.md","fxLayoutGap.lg":"fxLayoutGap.lg","fxLayoutGap.xl":"fxLayoutGap.xl","fxLayoutGap.lt-sm":"fxLayoutGap.lt-sm","fxLayoutGap.lt-md":"fxLayoutGap.lt-md","fxLayoutGap.lt-lg":"fxLayoutGap.lt-lg","fxLayoutGap.lt-xl":"fxLayoutGap.lt-xl","fxLayoutGap.gt-xs":"fxLayoutGap.gt-xs","fxLayoutGap.gt-sm":"fxLayoutGap.gt-sm","fxLayoutGap.gt-md":"fxLayoutGap.gt-md","fxLayoutGap.gt-lg":"fxLayoutGap.gt-lg"},features:[ga]}),e})();const KT=vn(VT),WT=new Map,qT=new Map,GT=new Map,$T=new Map,ZT=" grid";function JT(e,t){switch(t){case"column":return"margin-bottom";case"column-reverse":return"margin-top";case"row":return"rtl"===e?"margin-left":"margin-right";case"row-reverse":return"rtl"===e?"margin-right":"margin-left";default:return"rtl"===e?"margin-left":"margin-right"}}function QT(e,...t){if(null==e)throw TypeError("Cannot convert undefined or null to object");for(let r of t)if(null!=r)for(let t in r)r.hasOwnProperty(t)&&(e[t]=r[t]);return e}let XT=(()=>{class e extends MT{constructor(e){super(),this.layoutConfig=e}buildStyles(e,t){let[r,n,...i]=e.split(" "),s=i.join(" ");const a=t.direction.indexOf("column")>-1?"column":"row",o=TT(a)?"max-width":"max-height",l=TT(a)?"min-width":"min-height",c=String(s).indexOf("calc")>-1,d=c||"auto"===s,u=String(s).indexOf("%")>-1&&!c,h=String(s).indexOf("px")>-1||String(s).indexOf("rem")>-1||String(s).indexOf("em")>-1||String(s).indexOf("vw")>-1||String(s).indexOf("vh")>-1;let f=c||h;r="0"==r?0:r,n="0"==n?0:n;const m=!r&&!n;let p={};const _={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(s||""){case"":const e=!1!==this.layoutConfig.useColumnBasisZero;s="row"===a?"0%":e?"0.000000001px":"auto";break;case"initial":case"nogrow":r=0,s="auto";break;case"grow":s="100%";break;case"noshrink":n=0,s="auto";break;case"auto":break;case"none":r=0,n=0,s="auto";break;default:f||u||isNaN(s)||(s+="%"),"0%"===s&&(f=!0),"0px"===s&&(s="0%"),p=QT(_,c?{"flex-grow":r,"flex-shrink":n,"flex-basis":f?s:"100%"}:{flex:`${r} ${n} ${f?s:"100%"}`})}return p.flex||p["flex-grow"]||(p=QT(_,c?{"flex-grow":r,"flex-shrink":n,"flex-basis":s}:{flex:`${r} ${n} ${s}`})),"0%"!==s&&"0px"!==s&&"0.000000001px"!==s&&"auto"!==s&&(p[l]=m||f&&r?s:null,p[o]=m||!d&&n?s:null),p[l]||p[o]?t.hasWrap&&(p[c?"flex-basis":"flex"]=p[o]?c?p[o]:`${r} ${n} ${p[o]}`:c?p[l]:`${r} ${n} ${p[l]}`):p=QT(_,c?{"flex-grow":r,"flex-shrink":n,"flex-basis":s}:{flex:`${r} ${n} ${s}`}),QT(p,{"box-sizing":"border-box"})}}return e.\u0275fac=function(t){return new(t||e)($e(WE))},e.\u0275prov=de({factory:function(){return new e($e(WE))},token:e,providedIn:"root"}),e})();const eP=["fxFlex","fxFlex.xs","fxFlex.sm","fxFlex.md","fxFlex.lg","fxFlex.xl","fxFlex.lt-sm","fxFlex.lt-md","fxFlex.lt-lg","fxFlex.lt-xl","fxFlex.gt-xs","fxFlex.gt-sm","fxFlex.gt-md","fxFlex.gt-lg"];let tP=(()=>{class e extends XE{constructor(e,t,r,n,i){super(e,n,t,i),this.layoutConfig=r,this.marshal=i,this.DIRECTIVE_KEY="flex",this.direction=void 0,this.wrap=void 0,this.flexGrow="1",this.flexShrink="1",this.init()}get shrink(){return this.flexShrink}set shrink(e){this.flexShrink=e||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(e){this.flexGrow=e||"1",this.triggerReflow()}ngOnInit(){this.parentElement&&(this.marshal.trackValue(this.parentElement,"layout").pipe(gM(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe(gM(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}onLayoutChange(e){const t=e.value.split(" ");this.direction=t[0],this.wrap=void 0!==t[1]&&"wrap"===t[1],this.triggerUpdate()}updateWithValue(e){void 0===this.direction&&(this.direction=this.getFlexFlowDirection(this.parentElement,!1!==this.layoutConfig.addFlexToParent)),void 0===this.wrap&&(this.wrap=this.hasWrap(this.parentElement));const t=this.direction,r=t.startsWith("row"),n=this.wrap;r&&n?this.styleCache=aP:r&&!n?this.styleCache=iP:!r&&n?this.styleCache=oP:r||n||(this.styleCache=sP);const i=ST(String(e).replace(";",""),this.flexGrow,this.flexShrink);this.addStyles(i.join(" "),{direction:t,hasWrap:n})}triggerReflow(){const e=this.activatedValue;if(void 0!==e){const t=ST(e+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,t.join(" "))}}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(kT),Ra(WE),Ra(XT),Ra(CT))},e.\u0275dir=vt({type:e,inputs:{shrink:["fxShrink","shrink"],grow:["fxGrow","grow"]},features:[ga]}),e})(),rP=(()=>{class e extends tP{constructor(){super(...arguments),this.inputs=eP}}return e.\u0275fac=function(t){return nP(t||e)},e.\u0275dir=vt({type:e,selectors:[["","fxFlex",""],["","fxFlex.xs",""],["","fxFlex.sm",""],["","fxFlex.md",""],["","fxFlex.lg",""],["","fxFlex.xl",""],["","fxFlex.lt-sm",""],["","fxFlex.lt-md",""],["","fxFlex.lt-lg",""],["","fxFlex.lt-xl",""],["","fxFlex.gt-xs",""],["","fxFlex.gt-sm",""],["","fxFlex.gt-md",""],["","fxFlex.gt-lg",""]],inputs:{fxFlex:"fxFlex","fxFlex.xs":"fxFlex.xs","fxFlex.sm":"fxFlex.sm","fxFlex.md":"fxFlex.md","fxFlex.lg":"fxFlex.lg","fxFlex.xl":"fxFlex.xl","fxFlex.lt-sm":"fxFlex.lt-sm","fxFlex.lt-md":"fxFlex.lt-md","fxFlex.lt-lg":"fxFlex.lt-lg","fxFlex.lt-xl":"fxFlex.lt-xl","fxFlex.gt-xs":"fxFlex.gt-xs","fxFlex.gt-sm":"fxFlex.gt-sm","fxFlex.gt-md":"fxFlex.gt-md","fxFlex.gt-lg":"fxFlex.gt-lg"},features:[ga]}),e})();const nP=vn(rP),iP=new Map,sP=new Map,aP=new Map,oP=new Map;let lP=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[zE,uk]]}),e})();function cP(e,t){if(1&e&&(Fa(0,"div",2),Fa(1,"mat-card"),Fa(2,"mat-card-header"),Fa(3,"mat-icon"),xo(4),Il(5,"i18n"),Ha(),Fa(6,"mat-card-title"),xo(7),Il(8,"i18n"),Ha(),Fa(9,"mat-card-subtitle"),xo(10),Il(11,"i18n"),Ha(),Ha(),Fa(12,"mat-card-content"),Fa(13,"p"),xo(14),Il(15,"i18n"),Ha(),Ha(),Fa(16,"mat-card-actions"),Fa(17,"a",3),xo(18),Il(19,"i18n"),Ha(),Ha(),Ha(),Ha()),2&e){const e=t.$implicit;Li(4),Co(jl(5,6,"services."+e.name+".icon")),Li(3),Co(jl(8,8,"services."+e.name+".title")),Li(3),Co(jl(11,10,"services."+e.name+".subtitle")),Li(4),Do(" ",jl(15,12,"services."+e.name+".text")," "),Li(3),ro("href",e.url,li),Li(1),Co(jl(19,14,"services.goto"))}}let dP=(()=>{class e{constructor(e){this.serviceService=e,this.services=[]}ngOnInit(){this.serviceService.services().subscribe(e=>{this.services=e})}}return e.\u0275fac=function(t){return new(t||e)(Ra(HE))},e.\u0275cmp=mt({type:e,selectors:[["app-services"]],decls:5,vars:4,consts:[["fxLayout","row wrap","fxLayoutGap","16px grid"],["fxFlex","33.33%","fxFlex.sm","50%","fxFlex.xs","100%",4,"ngFor","ngForOf"],["fxFlex","33.33%","fxFlex.sm","50%","fxFlex.xs","100%"],["target","_blank","mat-raised-button","","color","primary",3,"href"]],template:function(e,t){1&e&&(Fa(0,"h3"),xo(1),Il(2,"i18n"),Ha(),Fa(3,"div",0),Pa(4,cP,20,16,"div",1),Ha()),2&e&&(Li(1),Co(jl(2,2,"services")),Li(3),Ia("ngForOf",t.services))},directives:[jT,VT,iu,rP,fM,mM,cx,dM,uM,cM,hM,NS],pipes:[zS],styles:["mat-card[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}mat-card-content[_ngcontent-%COMP%]{flex-grow:1;overflow:auto}"]}),e})(),uP=(()=>{class e{constructor(e){this.http=e}getAll(){return this.http.get(sd+"/profiles")}getAllForUser(e){return this.http.get(sd+"/profiles/"+e)}getForUser(e,t){return this.http.get(sd+"/profiles/"+e+"/"+t)}createOrUpdate(e){return this.http.post(sd+"/profiles",e)}delete(e){return this.http.delete(sd+"/profiles/"+e)}}return e.\u0275fac=function(t){return new(t||e)($e(s_))},e.\u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const hP=["trigger"],fP=["panel"];function mP(e,t){if(1&e&&(Fa(0,"span",8),xo(1),Ha()),2&e){const e=Qa();Li(1),Co(e.placeholder||"\xa0")}}function pP(e,t){if(1&e&&(Fa(0,"span"),xo(1),Ha()),2&e){const e=Qa(2);Li(1),Co(e.triggerValue||"\xa0")}}function _P(e,t){1&e&&to(0,0,["*ngSwitchCase","true"])}function gP(e,t){1&e&&(Fa(0,"span",9),Pa(1,pP,2,1,"span",10),Pa(2,_P,1,0,"ng-content",11),Ha()),2&e&&(Ia("ngSwitch",!!Qa().customTrigger),Li(2),Ia("ngSwitchCase",!0))}function yP(e,t){if(1&e){const e=Va();Fa(0,"div",12),Fa(1,"div",13,14),qa("@transformPanel.done",(function(t){return or(e),Qa()._panelDoneAnimatingStream.next(t.toState)}))("keydown",(function(t){return or(e),Qa()._handleKeydown(t)})),to(3,1),Ha(),Ha()}if(2&e){const e=Qa();Ia("@transformPanelWrap",void 0),Li(1),"mat-select-panel ",r=e._getPanelTheme(),"",_o(at,mo,Ta(sr(),"mat-select-panel ",r,""),!0),ho("transform-origin",e._transformOrigin)("font-size",e._triggerFontSize,"px"),Ia("ngClass",e.panelClass)("@transformPanel",e.multiple?"showing-multiple":"showing"),Ea("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}var r}const bP=[[["mat-select-trigger"]],"*"],vP=["mat-select-trigger","*"],wP={transformPanelWrap:ly("transformPanelWrap",[py("* => void",gy("@transformPanel",[_y()],{optional:!0}))]),transformPanel:ly("transformPanel",[fy("void",hy({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),fy("showing",hy({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),fy("showing-multiple",hy({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),py("void => *",cy("120ms cubic-bezier(0, 0, 0.2, 1)")),py("* => void",cy("100ms 25ms linear",hy({opacity:0})))])};let kP=0;const MP=256,SP=new Fe("mat-select-scroll-strategy"),xP=new Fe("MAT_SELECT_CONFIG"),CP={provide:SP,deps:[rD],useFactory:function(e){return()=>e.scrollStrategies.reposition()}};class DP{constructor(e,t){this.source=e,this.value=t}}class LP{constructor(e,t,r,n,i){this._elementRef=e,this._defaultErrorStateMatcher=t,this._parentForm=r,this._parentFormGroup=n,this.ngControl=i}}const AP=kk(Mk(vk(Sk(LP)))),EP=new Fe("MatSelectTrigger");let TP=(()=>{class e extends AP{constructor(e,t,r,n,i,s,a,o,l,c,d,u,h,f){super(i,n,a,o,c),this._viewportRuler=e,this._changeDetectorRef=t,this._ngZone=r,this._dir=s,this._parentFormField=l,this.ngControl=c,this._liveAnnouncer=h,this._panelOpen=!1,this._required=!1,this._scrollTop=0,this._multiple=!1,this._compareWith=(e,t)=>e===t,this._uid="mat-select-"+kP++,this._triggerAriaLabelledBy=null,this._destroy=new M,this._triggerFontSize=0,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+kP++,this._transformOrigin="top",this._panelDoneAnimatingStream=new M,this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],this._disableOptionCentering=!1,this._focused=!1,this.controlType="mat-select",this.ariaLabel="",this.optionSelectionChanges=gh(()=>{const e=this.options;return e?e.changes.pipe(Nh(e),Yh(()=>K(...e.map(e=>e.onSelectionChange)))):this._ngZone.onStable.pipe(Ih(1),Yh(()=>this.optionSelectionChanges))}),this.openedChange=new Bl,this._openedStream=this.openedChange.pipe(bh(e=>e),C(()=>{})),this._closedStream=this.openedChange.pipe(bh(e=>!e),C(()=>{})),this.selectionChange=new Bl,this.valueChange=new Bl,this.ngControl&&(this.ngControl.valueAccessor=this),this._scrollStrategyFactory=u,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(d)||0,this.id=this.id,f&&(null!=f.disableOptionCentering&&(this.disableOptionCentering=f.disableOptionCentering),null!=f.typeaheadDebounceInterval&&(this.typeaheadDebounceInterval=f.typeaheadDebounceInterval))}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){return this._required}set required(e){this._required=kw(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=kw(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=kw(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){e!==this._value&&(this.options&&this._setSelectionByValue(e),this._value=e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=Mw(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new nC(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Ux(),gM(this._destroy)).subscribe(()=>{this.panelOpen?(this._scrollTop=0,this.openedChange.emit(!0)):(this.openedChange.emit(!1),this.overlayDir.offsetX=0,this._changeDetectorRef.markForCheck())}),this._viewportRuler.change().pipe(gM(this._destroy)).subscribe(()=>{this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(gM(this._destroy)).subscribe(e=>{e.added.forEach(e=>e.select()),e.removed.forEach(e=>e.deselect())}),this.options.changes.pipe(Nh(null),gM(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby();if(e!==this._triggerAriaLabelledBy){const t=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?t.setAttribute("aria-labelledby",e):t.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}ngOnChanges(e){e.disabled&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){!this.disabled&&this.options&&this.options.length&&!this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._calculateOverlayPosition(),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this._ngZone.onStable.pipe(Ih(1)).subscribe(()=>{this._triggerFontSize&&this.overlayDir.overlayRef&&this.overlayDir.overlayRef.overlayElement&&(this.overlayDir.overlayRef.overlayElement.style.fontSize=this._triggerFontSize+"px")}))}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(e){this.value=e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const e=this._selectionModel.selected.map(e=>e.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){const t=e.keyCode,r=t===uw||t===cw||t===lw||t===dw,n=t===sw||t===ow,i=this._keyManager;if(!i.isTyping()&&n&&!hw(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){const t=this.selected;i.onKeydown(e);const r=this.selected;r&&t!==r&&this._liveAnnouncer.announce(r.viewValue,1e4)}}_handleOpenKeydown(e){const t=this._keyManager,r=e.keyCode,n=r===uw||r===cw,i=t.isTyping();if(n&&e.altKey)e.preventDefault(),this.close();else if(i||r!==sw&&r!==ow||!t.activeItem||hw(e))if(!i&&this._multiple&&65===r&&e.ctrlKey){e.preventDefault();const t=this.options.some(e=>!e.disabled&&!e.selected);this.options.forEach(e=>{e.disabled||(t?e.select():e.deselect())})}else{const r=t.activeItemIndex;t.onKeydown(e),this._multiple&&n&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==r&&t.activeItem._selectViaInteraction()}else e.preventDefault(),t.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this.overlayDir.positionChange.pipe(Ih(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop})}_getPanelTheme(){return this._parentFormField?"mat-"+this._parentFormField.color:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.multiple&&e)Array.isArray(e),this._selectionModel.clear(),e.forEach(e=>this._selectValue(e)),this._sortValues();else{this._selectionModel.clear();const t=this._selectValue(e);t?this._keyManager.updateActiveItem(t):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(e){const t=this.options.find(t=>{try{return null!=t.value&&this._compareWith(t.value,e)}catch(r){return!1}});return t&&this._selectionModel.select(t),t}_initKeyManager(){this._keyManager=new Nw(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(gM(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe(gM(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollActiveOptionIntoView():this._panelOpen||this.multiple||!this._keyManager.activeItem||this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const e=K(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(gM(e)).subscribe(e=>{this._onSelect(e.source,e.isUserInput),e.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),K(...this.options.map(e=>e._stateChanges)).pipe(gM(e)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(e,t){const r=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(r!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),r!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((t,r)=>this.sortComparator?this.sortComparator(t,r,e):e.indexOf(t)-e.indexOf(r)),this.stateChanges.next()}}_propagateChanges(e){let t=null;t=this.multiple?this.selected.map(e=>e.value):this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(new DP(this,t)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_scrollActiveOptionIntoView(){const e=this._keyManager.activeItemIndex||0,t=rM(e,this.options,this.optionGroups),r=this._getItemHeight();var n,i,s;this.panel.nativeElement.scrollTop=(i=r,MP,(n=(e+t)*r)<(s=this.panel.nativeElement.scrollTop)?n:n+i>s+256?Math.max(0,n-256+i):s)}focus(e){this._elementRef.nativeElement.focus(e)}_getOptionIndex(e){return this.options.reduce((t,r,n)=>void 0!==t?t:e===r?n:void 0,void 0)}_calculateOverlayPosition(){const e=this._getItemHeight(),t=this._getItemCount(),r=Math.min(t*e,MP),n=t*e-r;let i=this.empty?0:this._getOptionIndex(this._selectionModel.selected[0]);i+=rM(i,this.options,this.optionGroups);const s=r/2;this._scrollTop=this._calculateOverlayScroll(i,s,n),this._offsetY=this._calculateOverlayOffsetY(i,s,n),this._checkOverlayWithinViewport(n)}_calculateOverlayScroll(e,t,r){const n=this._getItemHeight();return Math.min(Math.max(0,n*e-t+n/2),r)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const e=this._getLabelId();return this.ariaLabelledby?e+" "+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getLabelId(){var e;return(null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId())||""}_calculateOverlayOffsetX(){const e=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),t=this._viewportRuler.getViewportSize(),r=this._isRtl(),n=this.multiple?56:32;let i;if(this.multiple)i=40;else{let e=this._selectionModel.selected[0]||this.options.first;i=e&&e.group?32:16}r||(i*=-1);const s=0-(e.left+i-(r?n:0)),a=e.right+i-t.width+(r?0:n);s>0?i+=s+8:a>0&&(i-=a+8),this.overlayDir.offsetX=Math.round(i),this.overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(e,t,r){const n=this._getItemHeight(),i=(n-this._triggerRect.height)/2,s=Math.floor(MP/n);let a;return this._disableOptionCentering?0:(a=0===this._scrollTop?e*n:this._scrollTop===r?(e-(this._getItemCount()-s))*n+(n-(this._getItemCount()*n-MP)%n):t-n/2,Math.round(-1*a-i))}_checkOverlayWithinViewport(e){const t=this._getItemHeight(),r=this._viewportRuler.getViewportSize(),n=this._triggerRect.top-8,i=r.height-this._triggerRect.bottom-8,s=Math.abs(this._offsetY),a=Math.min(this._getItemCount()*t,MP)-s-this._triggerRect.height;a>i?this._adjustPanelUp(a,i):s>n?this._adjustPanelDown(s,n,e):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(e,t){const r=Math.round(e-t);this._scrollTop-=r,this._offsetY-=r,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(e,t,r){const n=Math.round(e-t);if(this._scrollTop+=n,this._offsetY+=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=r)return this._scrollTop=r,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_getOriginBasedOnOption(){const e=this._getItemHeight(),t=(e-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-t+e/2}px 0px`}_getItemCount(){return this.options.length+this.optionGroups.length}_getItemHeight(){return 3*this._triggerFontSize}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._getLabelId()+" "+this._valueId;return this.ariaLabelledby&&(e+=" "+this.ariaLabelledby),e}setDescribedByIds(e){this._ariaDescribedby=e.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty}}return e.\u0275fac=function(t){return new(t||e)(Ra(oC),Ra(Zs),Ra(Ec),Ra(Ek),Ra(zo),Ra(dk,8),Ra(zg,8),Ra(Jg,8),Ra(eS,8),Ra(U_,10),Oa("tabindex"),Ra(SP),Ra(Zw),Ra(xP,8))},e.\u0275cmp=mt({type:e,selectors:[["mat-select"]],contentQueries:function(e,t,r){var n;1&e&&(rc(r,EP,!0),rc(r,tM,!0),rc(r,Zk,!0)),2&e&&(Ql(n=sc())&&(t.customTrigger=n.first),Ql(n=sc())&&(t.options=n),Ql(n=sc())&&(t.optionGroups=n))},viewQuery:function(e,t){var r;1&e&&(ec(hP,!0),ec(fP,!0),ec(aD,!0)),2&e&&(Ql(r=sc())&&(t.trigger=r.first),Ql(r=sc())&&(t.panel=r.first),Ql(r=sc())&&(t.overlayDir=r.first))},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(e,t){1&e&&qa("keydown",(function(e){return t._handleKeydown(e)}))("focus",(function(){return t._onFocus()}))("blur",(function(){return t._onBlur()})),2&e&&(Ea("id",t.id)("tabindex",t.tabIndex)("aria-controls",t.panelOpen?t.id+"-panel":null)("aria-expanded",t.panelOpen)("aria-label",t.ariaLabel||null)("aria-required",t.required.toString())("aria-disabled",t.disabled.toString())("aria-invalid",t.errorState)("aria-describedby",t._ariaDescribedby||null)("aria-activedescendant",t._getAriaActiveDescendant()),fo("mat-select-disabled",t.disabled)("mat-select-invalid",t.errorState)("mat-select-required",t.required)("mat-select-empty",t.empty)("mat-select-multiple",t.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],id:"id",disableOptionCentering:"disableOptionCentering",typeaheadDebounceInterval:"typeaheadDebounceInterval",placeholder:"placeholder",required:"required",multiple:"multiple",compareWith:"compareWith",value:"value",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[Fo([{provide:BM,useExisting:e},{provide:Xk,useExisting:e}]),ga,Ot],ngContentSelectors:vP,decls:9,vars:10,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder"],[1,"mat-select-value-text",3,"ngSwitch"],[4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,t){if(1&e&&(eo(bP),Fa(0,"div",0,1),qa("click",(function(){return t.toggle()})),Fa(3,"div",2),Pa(4,mP,2,1,"span",3),Pa(5,gP,3,2,"span",4),Ha(),Fa(6,"div",5),Na(7,"div",6),Ha(),Ha(),Pa(8,yP,4,14,"ng-template",7),qa("backdropClick",(function(){return t.close()}))("attach",(function(){return t._onAttached()}))("detach",(function(){return t.close()}))),2&e){const e=Ya(1);Li(3),Ia("ngSwitch",t.empty),Ea("id",t._valueId),Li(1),Ia("ngSwitchCase",!0),Li(1),Ia("ngSwitchCase",!1),Li(3),Ia("cdkConnectedOverlayScrollStrategy",t._scrollStrategy)("cdkConnectedOverlayOrigin",e)("cdkConnectedOverlayOpen",t.panelOpen)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayMinWidth",null==t._triggerRect?null:t._triggerRect.width)("cdkConnectedOverlayOffsetY",t._offsetY)}},directives:[sD,du,uu,aD,hu,ru],styles:[".mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}\n"],encapsulation:2,data:{animation:[wP.transformPanelWrap,wP.transformPanel]},changeDetection:0}),e})(),PP=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[CP],imports:[[Mu,lD,nM,bk],lC,rS,nM,bk]}),e})();const YP=["mat-calendar-body",""];function RP(e,t){if(1&e&&(Fa(0,"tr",2),Fa(1,"td",3),xo(2),Ha(),Ha()),2&e){const e=Qa();Li(1),ho("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),Ea("colspan",e.numCols),Li(1),Do(" ",e.label," ")}}function OP(e,t){if(1&e&&(Fa(0,"td",7),xo(1),Ha()),2&e){const e=Qa(2);ho("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),Ea("colspan",e._firstRowOffset),Li(1),Do(" ",e._firstRowOffset>=e.labelMinRequiredCells?e.label:""," ")}}function IP(e,t){if(1&e){const e=Va();Fa(0,"td",8),qa("click",(function(r){or(e);const n=t.$implicit;return Qa(2)._cellClicked(n,r)})),Fa(1,"div",9),xo(2),Ha(),Na(3,"div",10),Ha()}if(2&e){const e=t.$implicit,r=t.index,n=Qa().index,i=Qa();ho("width",i._cellWidth)("padding-top",i._cellPadding)("padding-bottom",i._cellPadding),fo("mat-calendar-body-disabled",!e.enabled)("mat-calendar-body-active",i._isActiveCell(n,r))("mat-calendar-body-range-start",i._isRangeStart(e.compareValue))("mat-calendar-body-range-end",i._isRangeEnd(e.compareValue))("mat-calendar-body-in-range",i._isInRange(e.compareValue))("mat-calendar-body-comparison-bridge-start",i._isComparisonBridgeStart(e.compareValue,n,r))("mat-calendar-body-comparison-bridge-end",i._isComparisonBridgeEnd(e.compareValue,n,r))("mat-calendar-body-comparison-start",i._isComparisonStart(e.compareValue))("mat-calendar-body-comparison-end",i._isComparisonEnd(e.compareValue))("mat-calendar-body-in-comparison-range",i._isInComparisonRange(e.compareValue))("mat-calendar-body-preview-start",i._isPreviewStart(e.compareValue))("mat-calendar-body-preview-end",i._isPreviewEnd(e.compareValue))("mat-calendar-body-in-preview",i._isInPreview(e.compareValue)),Ia("ngClass",e.cssClasses)("tabindex",i._isActiveCell(n,r)?0:-1),Ea("data-mat-row",n)("data-mat-col",r)("aria-label",e.ariaLabel)("aria-disabled",!e.enabled||null)("aria-selected",i._isSelected(e.compareValue)),Li(1),fo("mat-calendar-body-selected",i._isSelected(e.compareValue))("mat-calendar-body-comparison-identical",i._isComparisonIdentical(e.compareValue))("mat-calendar-body-today",i.todayValue===e.compareValue),Li(1),Do(" ",e.displayValue," ")}}function jP(e,t){if(1&e&&(Fa(0,"tr",4),Pa(1,OP,2,6,"td",5),Pa(2,IP,4,46,"td",6),Ha()),2&e){const e=t.$implicit,r=t.index,n=Qa();Li(1),Ia("ngIf",0===r&&n._firstRowOffset),Li(1),Ia("ngForOf",e)}}function FP(e,t){if(1&e&&(Fa(0,"th",5),xo(1),Ha()),2&e){const e=t.$implicit;Ea("aria-label",e.long),Li(1),Co(e.narrow)}}const HP=["*"];function NP(e,t){}function BP(e,t){if(1&e){const e=Va();Fa(0,"mat-month-view",5),qa("activeDateChange",(function(t){return or(e),Qa().activeDate=t}))("_userSelection",(function(t){return or(e),Qa()._dateSelected(t)})),Ha()}if(2&e){const e=Qa();Ia("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)}}function zP(e,t){if(1&e){const e=Va();Fa(0,"mat-year-view",6),qa("activeDateChange",(function(t){return or(e),Qa().activeDate=t}))("monthSelected",(function(t){return or(e),Qa()._monthSelectedInYearView(t)}))("selectedChange",(function(t){return or(e),Qa()._goToDateInView(t,"month")})),Ha()}if(2&e){const e=Qa();Ia("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function UP(e,t){if(1&e){const e=Va();Fa(0,"mat-multi-year-view",7),qa("activeDateChange",(function(t){return or(e),Qa().activeDate=t}))("yearSelected",(function(t){return or(e),Qa()._yearSelectedInMultiYearView(t)}))("selectedChange",(function(t){return or(e),Qa()._goToDateInView(t,"year")})),Ha()}if(2&e){const e=Qa();Ia("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}const VP=["button"];function KP(e,t){1&e&&(Yr(),Fa(0,"svg",3),Na(1,"path",4),Ha())}const WP=[[["","matDatepickerToggleIcon",""]]],qP=["[matDatepickerToggleIcon]"];let GP=(()=>{class e{constructor(){this.changes=new M,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 20 years",this.nextMultiYearLabel="Next 20 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}formatYearRange(e,t){return`${e} \u2013 ${t}`}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=de({factory:function(){return new e},token:e,providedIn:"root"}),e})();class $P{constructor(e,t,r,n,i={},s=e,a){this.value=e,this.displayValue=t,this.ariaLabel=r,this.enabled=n,this.cssClasses=i,this.compareValue=s,this.rawValue=a}}let ZP=(()=>{class e{constructor(e,t){this._elementRef=e,this._ngZone=t,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new Bl,this.previewChange=new Bl,this._enterHandler=e=>{if(this._skipNextFocus&&"focus"===e.type)this._skipNextFocus=!1;else if(e.target&&this.isRange){const t=this._getCellFromElement(e.target);t&&this._ngZone.run(()=>this.previewChange.emit({value:t.enabled?t:null,event:e}))}},this._leaveHandler=e=>{null!==this.previewEnd&&this.isRange&&e.target&&JP(e.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:e}))},t.runOutsideAngular(()=>{const t=e.nativeElement;t.addEventListener("mouseenter",this._enterHandler,!0),t.addEventListener("focus",this._enterHandler,!0),t.addEventListener("mouseleave",this._leaveHandler,!0),t.addEventListener("blur",this._leaveHandler,!0)})}_cellClicked(e,t){e.enabled&&this.selectedValueChange.emit({value:e.value,event:t})}_isSelected(e){return this.startValue===e||this.endValue===e}ngOnChanges(e){const t=e.numCols,{rows:r,numCols:n}=this;(e.rows||t)&&(this._firstRowOffset=r&&r.length&&r[0].length?n-r[0].length:0),(e.cellAspectRatio||t||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/n+"%"),!t&&this._cellWidth||(this._cellWidth=100/n+"%")}ngOnDestroy(){const e=this._elementRef.nativeElement;e.removeEventListener("mouseenter",this._enterHandler,!0),e.removeEventListener("focus",this._enterHandler,!0),e.removeEventListener("mouseleave",this._leaveHandler,!0),e.removeEventListener("blur",this._leaveHandler,!0)}_isActiveCell(e,t){let r=e*this.numCols+t;return e&&(r-=this._firstRowOffset),r==this.activeCell}_focusActiveCell(e=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Ih(1)).subscribe(()=>{const t=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");t&&(e||(this._skipNextFocus=!0),t.focus())})})}_isRangeStart(e){return QP(e,this.startValue,this.endValue)}_isRangeEnd(e){return XP(e,this.startValue,this.endValue)}_isInRange(e){return eY(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return QP(e,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(e,t,r){if(!this._isComparisonStart(e)||this._isRangeStart(e)||!this._isInRange(e))return!1;let n=this.rows[t][r-1];if(!n){const e=this.rows[t-1];n=e&&e[e.length-1]}return n&&!this._isRangeEnd(n.compareValue)}_isComparisonBridgeEnd(e,t,r){if(!this._isComparisonEnd(e)||this._isRangeEnd(e)||!this._isInRange(e))return!1;let n=this.rows[t][r+1];if(!n){const e=this.rows[t+1];n=e&&e[0]}return n&&!this._isRangeStart(n.compareValue)}_isComparisonEnd(e){return XP(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return eY(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}_isPreviewStart(e){return QP(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return XP(e,this.previewStart,this.previewEnd)}_isInPreview(e){return eY(e,this.previewStart,this.previewEnd,this.isRange)}_getCellFromElement(e){let t;if(JP(e)?t=e:JP(e.parentNode)&&(t=e.parentNode),t){const e=t.getAttribute("data-mat-row"),r=t.getAttribute("data-mat-col");if(e&&r)return this.rows[parseInt(e)][parseInt(r)]}return null}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(Ec))},e.\u0275cmp=mt({type:e,selectors:[["","mat-calendar-body",""]],hostAttrs:["role","grid","aria-readonly","true",1,"mat-calendar-body"],inputs:{numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",previewStart:"previewStart",previewEnd:"previewEnd",label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange"},exportAs:["matCalendarBody"],features:[Ot],attrs:YP,decls:2,vars:2,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["aria-hidden","true","class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell",3,"ngClass","tabindex","mat-calendar-body-disabled","mat-calendar-body-active","mat-calendar-body-range-start","mat-calendar-body-range-end","mat-calendar-body-in-range","mat-calendar-body-comparison-bridge-start","mat-calendar-body-comparison-bridge-end","mat-calendar-body-comparison-start","mat-calendar-body-comparison-end","mat-calendar-body-in-comparison-range","mat-calendar-body-preview-start","mat-calendar-body-preview-end","mat-calendar-body-in-preview","width","paddingTop","paddingBottom","click",4,"ngFor","ngForOf"],["aria-hidden","true",1,"mat-calendar-body-label"],["role","gridcell",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],[1,"mat-calendar-body-cell-preview"]],template:function(e,t){1&e&&(Pa(0,RP,3,6,"tr",0),Pa(1,jP,3,2,"tr",1)),2&e&&(Ia("ngIf",t._firstRowOffset.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){outline:dotted 2px}[dir=rtl] .mat-calendar-body-label{text-align:right}@media(hover: none){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){background-color:transparent}}\n'],encapsulation:2,changeDetection:0}),e})();function JP(e){return"TD"===e.nodeName}function QP(e,t,r){return null!==r&&t!==r&&e=t&&e===r}function eY(e,t,r,n){return n&&null!==t&&null!==r&&t!==r&&e>=t&&e<=r}class tY{constructor(e,t){this.start=e,this.end=t}}let rY=(()=>{class e{constructor(e,t){this.selection=e,this._adapter=t,this._selectionChanged=new M,this.selectionChanged=this._selectionChanged,this.selection=e}updateSelection(e,t){this.selection=e,this._selectionChanged.next({selection:e,source:t})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(e){return this._adapter.isDateInstance(e)&&this._adapter.isValid(e)}}return e.\u0275fac=function(t){return new(t||e)(Ra(void 0),Ra(Dk))},e.\u0275dir=vt({type:e}),e})(),nY=(()=>{class e extends rY{constructor(e){super(null,e)}add(e){super.updateSelection(e,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}}return e.\u0275fac=function(t){return new(t||e)($e(Dk))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})();const iY={provide:rY,deps:[[new ie,new ae,rY],Dk],useFactory:function(e,t){return e||new nY(t)}},sY=new Fe("MAT_DATE_RANGE_SELECTION_STRATEGY");let aY=(()=>{class e{constructor(e,t,r,n,i){this._changeDetectorRef=e,this._dateFormats=t,this._dateAdapter=r,this._dir=n,this._rangeStrategy=i,this._rerenderSubscription=u.EMPTY,this.selectedChange=new Bl,this._userSelection=new Bl,this.activeDateChange=new Bl,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){const t=this._activeDate,r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),this._hasSameMonthAndYear(t,this._activeDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof tY?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Nh(null)).subscribe(()=>this._init())}ngOnChanges(e){const t=e.comparisonStart||e.comparisonEnd;t&&!t.firstChange&&this._setRanges(this.selected)}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(e){const t=e.value,r=this._dateAdapter.getYear(this.activeDate),n=this._dateAdapter.getMonth(this.activeDate),i=this._dateAdapter.createDate(r,n,t);let s,a;this._selected instanceof tY?(s=this._getDateInCurrentMonth(this._selected.start),a=this._getDateInCurrentMonth(this._selected.end)):s=a=this._getDateInCurrentMonth(this._selected),s===t&&a===t||this.selectedChange.emit(i),this._userSelection.emit({value:i,event:e.event})}_handleCalendarBodyKeydown(e){const t=this._activeDate,r=this._isRtl();switch(e.keyCode){case lw:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,r?1:-1);break;case dw:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,r?-1:1);break;case cw:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case uw:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case 36:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case 33:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case sw:case ow:return void(this.dateFilter&&!this.dateFilter(this._activeDate)||(this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:e}),e.preventDefault()));case aw:return void(null!=this._previewEnd&&(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:e}),e.preventDefault(),e.stopPropagation()));default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(e)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(e){this._matCalendarBody._focusActiveCell(e)}_previewChanged({event:e,value:t}){if(this._rangeStrategy){const r=this._rangeStrategy.createPreview(t?t.rawValue:null,this.selected,e);this._previewStart=this._getCellCompareValue(r.start),this._previewEnd=this._getCellCompareValue(r.end),this._changeDetectorRef.detectChanges()}}_initWeekdays(){const e=this._dateAdapter.getFirstDayOfWeek(),t=this._dateAdapter.getDayOfWeekNames("narrow");let r=this._dateAdapter.getDayOfWeekNames("long").map((e,r)=>({long:e,narrow:t[r]}));this._weekdays=r.slice(e).concat(r.slice(0,e))}_createWeekCells(){const e=this._dateAdapter.getNumDaysInMonth(this.activeDate),t=this._dateAdapter.getDateNames();this._weeks=[[]];for(let r=0,n=this._firstWeekOffset;r=0)&&(!this.maxDate||this._dateAdapter.compareDate(e,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(e))}_getDateInCurrentMonth(e){return e&&this._hasSameMonthAndYear(e,this.activeDate)?this._dateAdapter.getDate(e):null}_hasSameMonthAndYear(e,t){return!(!e||!t||this._dateAdapter.getMonth(e)!=this._dateAdapter.getMonth(t)||this._dateAdapter.getYear(e)!=this._dateAdapter.getYear(t))}_getCellCompareValue(e){if(e){const t=this._dateAdapter.getYear(e),r=this._dateAdapter.getMonth(e),n=this._dateAdapter.getDate(e);return new Date(t,r,n).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(e){e instanceof tY?(this._rangeStart=this._getCellCompareValue(e.start),this._rangeEnd=this._getCellCompareValue(e.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(e),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}}return e.\u0275fac=function(t){return new(t||e)(Ra(Zs),Ra(Lk,8),Ra(Dk,8),Ra(dk,8),Ra(sY,8))},e.\u0275cmp=mt({type:e,selectors:[["mat-month-view"]],viewQuery:function(e,t){var r;1&e&&ec(ZP,!0),2&e&&Ql(r=sc())&&(t._matCalendarBody=r.first)},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[Ot],decls:7,vars:13,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["colspan","7","aria-hidden","true",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","selectedValueChange","previewChange","keydown"],["scope","col"]],template:function(e,t){1&e&&(Fa(0,"table",0),Fa(1,"thead",1),Fa(2,"tr"),Pa(3,FP,2,2,"th",2),Ha(),Fa(4,"tr"),Na(5,"th",3),Ha(),Ha(),Fa(6,"tbody",4),qa("selectedValueChange",(function(e){return t._dateSelected(e)}))("previewChange",(function(e){return t._previewChanged(e)}))("keydown",(function(e){return t._handleCalendarBodyKeydown(e)})),Ha(),Ha()),2&e&&(Li(3),Ia("ngForOf",t._weekdays),Li(3),Ia("label",t._monthLabel)("rows",t._weeks)("todayValue",t._todayDate)("startValue",t._rangeStart)("endValue",t._rangeEnd)("comparisonStart",t._comparisonRangeStart)("comparisonEnd",t._comparisonRangeEnd)("previewStart",t._previewStart)("previewEnd",t._previewEnd)("isRange",t._isRange)("labelMinRequiredCells",3)("activeCell",t._dateAdapter.getDate(t.activeDate)-1))},directives:[iu,ZP],encapsulation:2,changeDetection:0}),e})();const oY=24;let lY=(()=>{class e{constructor(e,t,r){this._changeDetectorRef=e,this._dateAdapter=t,this._dir=r,this._rerenderSubscription=u.EMPTY,this.selectedChange=new Bl,this.yearSelected=new Bl,this.activeDateChange=new Bl,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){let t=this._activeDate;const r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),cY(this._dateAdapter,t,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof tY?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedYear(e)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Nh(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const e=this._dateAdapter.getYear(this._activeDate)-dY(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let t=0,r=[];tthis._createCellForYear(e))),r=[]);this._changeDetectorRef.markForCheck()}_yearSelected(e){const t=e.value;this.yearSelected.emit(this._dateAdapter.createDate(t,0,1));let r=this._dateAdapter.getMonth(this.activeDate),n=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(t,r,1));this.selectedChange.emit(this._dateAdapter.createDate(t,r,Math.min(this._dateAdapter.getDate(this.activeDate),n)))}_handleCalendarBodyKeydown(e){const t=this._activeDate,r=this._isRtl();switch(e.keyCode){case lw:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,r?1:-1);break;case dw:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,r?-1:1);break;case cw:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case uw:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-dY(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,oY-dY(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-240:-24);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?240:oY);break;case sw:case ow:this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:e});break;default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}_getActiveCell(){return dY(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_createCellForYear(e){const t=this._dateAdapter.createDate(e,0,1),r=this._dateAdapter.getYearName(t),n=this.dateClass?this.dateClass(t,"multi-year"):void 0;return new $P(e,r,r,this._shouldEnableYear(e),n)}_shouldEnableYear(e){if(null==e||this.maxDate&&e>this._dateAdapter.getYear(this.maxDate)||this.minDate&&e{class e{constructor(e,t,r,n){this._changeDetectorRef=e,this._dateFormats=t,this._dateAdapter=r,this._dir=n,this._rerenderSubscription=u.EMPTY,this.selectedChange=new Bl,this.monthSelected=new Bl,this.activeDateChange=new Bl,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){let t=this._activeDate;const r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),this._dateAdapter.getYear(t)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(e){this._selected=e instanceof tY?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedMonth(e)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Nh(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(e){const t=e.value,r=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1);this.monthSelected.emit(r);const n=this._dateAdapter.getNumDaysInMonth(r);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,Math.min(this._dateAdapter.getDate(this.activeDate),n)))}_handleCalendarBodyKeydown(e){const t=this._activeDate,r=this._isRtl();switch(e.keyCode){case lw:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,r?1:-1);break;case dw:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,r?-1:1);break;case cw:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case uw:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-10:-1);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10:1);break;case sw:case ow:this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:e});break;default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let e=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(t=>t.map(t=>this._createCellForMonth(t,e[t]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_getMonthInCurrentYear(e){return e&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(e):null}_createCellForMonth(e,t){const r=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),n=this._dateAdapter.format(r,this._dateFormats.display.monthYearA11yLabel),i=this.dateClass?this.dateClass(r,"year"):void 0;return new $P(e,t.toLocaleUpperCase(),n,this._shouldEnableMonth(e),i)}_shouldEnableMonth(e){const t=this._dateAdapter.getYear(this.activeDate);if(null==e||this._isYearAndMonthAfterMaxDate(t,e)||this._isYearAndMonthBeforeMinDate(t,e))return!1;if(!this.dateFilter)return!0;for(let r=this._dateAdapter.createDate(t,e,1);this._dateAdapter.getMonth(r)==e;r=this._dateAdapter.addCalendarDays(r,1))if(this.dateFilter(r))return!0;return!1}_isYearAndMonthAfterMaxDate(e,t){if(this.maxDate){const r=this._dateAdapter.getYear(this.maxDate),n=this._dateAdapter.getMonth(this.maxDate);return e>r||e===r&&t>n}return!1}_isYearAndMonthBeforeMinDate(e,t){if(this.minDate){const r=this._dateAdapter.getYear(this.minDate),n=this._dateAdapter.getMonth(this.minDate);return e{class e{constructor(e,t,r,n,i){this._intl=e,this.calendar=t,this._dateAdapter=r,this._dateFormats=n,this.calendar.stateChanges.subscribe(()=>i.markForCheck())}get periodButtonText(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);const e=this._dateAdapter.getYear(this.calendar.activeDate)-dY(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),t=e+oY-1,r=this._dateAdapter.getYearName(this._dateAdapter.createDate(e,0,1)),n=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1));return this._intl.formatYearRange(r,n)}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:oY)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(e,t){return"month"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(t)&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(t):"year"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(t):cY(this._dateAdapter,e,t,this.calendar.minDate,this.calendar.maxDate)}}return e.\u0275fac=function(t){return new(t||e)(Ra(GP),Ra(Me(()=>mY)),Ra(Dk,8),Ra(Lk,8),Ra(Zs))},e.\u0275cmp=mt({type:e,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:HP,decls:9,vars:8,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","cdkAriaLive","polite",1,"mat-calendar-period-button",3,"click"],[1,"mat-calendar-arrow"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"]],template:function(e,t){1&e&&(eo(),Fa(0,"div",0),Fa(1,"div",1),Fa(2,"button",2),qa("click",(function(){return t.currentPeriodClicked()})),xo(3),Na(4,"div",3),Ha(),Na(5,"div",4),to(6),Fa(7,"button",5),qa("click",(function(){return t.previousClicked()})),Ha(),Fa(8,"button",6),qa("click",(function(){return t.nextClicked()})),Ha(),Ha(),Ha()),2&e&&(Li(2),Ea("aria-label",t.periodButtonLabel),Li(1),Do(" ",t.periodButtonText," "),Li(1),fo("mat-calendar-invert","month"!=t.calendar.currentView),Li(3),Ia("disabled",!t.previousEnabled()),Ea("aria-label",t.prevButtonLabel),Li(1),Ia("disabled",!t.nextEnabled()),Ea("aria-label",t.nextButtonLabel))},directives:[HS,Jw],encapsulation:2,changeDetection:0}),e})(),mY=(()=>{class e{constructor(e,t,r,n){this._dateAdapter=t,this._dateFormats=r,this._changeDetectorRef=n,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new Bl,this.yearSelected=new Bl,this.monthSelected=new Bl,this._userSelection=new Bl,this.stateChanges=new M,this._intlChanges=e.changes.subscribe(()=>{n.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get selected(){return this._selected}set selected(e){this._selected=e instanceof tY?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get minDate(){return this._minDate}set minDate(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get activeDate(){return this._clampedActiveDate}set activeDate(e){this._clampedActiveDate=this._dateAdapter.clampDate(e,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(e){this._currentView=e,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck()}ngAfterContentInit(){this._calendarHeaderPortal=new Ix(this.headerComponent||fY),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(e){const t=e.minDate||e.maxDate||e.dateFilter;if(t&&!t.firstChange){const e=this._getCurrentViewComponent();e&&(this._changeDetectorRef.detectChanges(),e._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){const e=this.currentView;let t;t="month"===e?this.monthView:"year"===e?this.yearView:this.multiYearView,t._init()}_dateSelected(e){const t=e.value;(this.selected instanceof tY||t&&!this._dateAdapter.sameDate(t,this.selected))&&this.selectedChange.emit(t),this._userSelection.emit(e)}_yearSelectedInMultiYearView(e){this.yearSelected.emit(e)}_monthSelectedInYearView(e){this.monthSelected.emit(e)}_goToDateInView(e,t){this.activeDate=e,this.currentView=t}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return e.\u0275fac=function(t){return new(t||e)(Ra(GP),Ra(Dk,8),Ra(Lk,8),Ra(Zs))},e.\u0275cmp=mt({type:e,selectors:[["mat-calendar"]],viewQuery:function(e,t){var r;1&e&&(ec(aY,!0),ec(hY,!0),ec(lY,!0)),2&e&&(Ql(r=sc())&&(t.monthView=r.first),Ql(r=sc())&&(t.yearView=r.first),Ql(r=sc())&&(t.multiYearView=r.first))},hostAttrs:[1,"mat-calendar"],inputs:{startView:"startView",startAt:"startAt",selected:"selected",minDate:"minDate",maxDate:"maxDate",headerComponent:"headerComponent",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[Fo([iY]),Ot],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(e,t){1&e&&(Pa(0,NP,0,0,"ng-template",0),Fa(1,"div",1),Pa(2,BP,1,8,"mat-month-view",2),Pa(3,zP,1,6,"mat-year-view",3),Pa(4,UP,1,6,"mat-multi-year-view",4),Ha()),2&e&&(Ia("cdkPortalOutlet",t._calendarHeaderPortal),Li(1),Ia("ngSwitch",t.currentView),Li(1),Ia("ngSwitchCase","month"),Li(1),Ia("ngSwitchCase","year"),Li(1),Ia("ngSwitchCase","multi-year"))},directives:[Bx,nk,du,uu,aY,hY,lY],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;margin:5% calc(33% / 7 - 16px)}.mat-calendar-controls .mat-icon-button:hover .mat-button-focus-overlay{opacity:.04}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top-width:5px;border-top-style:solid;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}\n'],encapsulation:2,changeDetection:0}),e})();const pY={transformPanel:ly("transformPanel",[fy("void",hy({opacity:0,transform:"scale(1, 0.8)"})),py("void => enter",cy("120ms cubic-bezier(0, 0, 0.2, 1)",hy({opacity:1,transform:"scale(1, 1)"}))),py("* => void",cy("100ms linear",hy({opacity:0})))]),fadeInCalendar:ly("fadeInCalendar",[fy("void",hy({opacity:0})),fy("enter",hy({opacity:1})),py("void => *",cy("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let _Y=0;const gY=new Fe("mat-datepicker-scroll-strategy"),yY={provide:gY,deps:[rD],useFactory:function(e){return()=>e.scrollStrategies.reposition()}};class bY{constructor(e){this._elementRef=e}}const vY=wk(bY);let wY=(()=>{class e extends vY{constructor(e,t,r,n,i){super(e),this._changeDetectorRef=t,this._model=r,this._dateAdapter=n,this._rangeSelectionStrategy=i,this._subscriptions=new u,this._animationState="enter",this._animationDone=new M}ngAfterViewInit(){this._changeDetectorRef&&this._subscriptions.add(this.datepicker._stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(e){if(this._model&&this._dateAdapter){const t=this._model.selection,r=e.value,n=t instanceof tY;if(n&&this._rangeSelectionStrategy){const n=this._rangeSelectionStrategy.selectionFinished(r,t,e.event);this._model.updateSelection(n,this)}else!r||!n&&this._dateAdapter.sameDate(r,t)||this._model.add(r)}this._model&&!this._model.isComplete()||this.datepicker.close()}_startExitAnimation(){this._animationState="void",this._changeDetectorRef&&this._changeDetectorRef.markForCheck()}_getSelected(){return this._model?this._model.selection:null}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(Zs),Ra(rY),Ra(Dk),Ra(sY,8))},e.\u0275cmp=mt({type:e,selectors:[["mat-datepicker-content"]],viewQuery:function(e,t){var r;1&e&&ec(mY,!0),2&e&&Ql(r=sc())&&(t._calendar=r.first)},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(e,t){1&e&&Ga("@transformPanel.done",(function(){return t._animationDone.next()})),2&e&&(Eo("@transformPanel",t._animationState),fo("mat-datepicker-content-touch",t.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[ga],decls:1,vars:13,consts:[["cdkTrapFocus","",3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","yearSelected","monthSelected","_userSelection"]],template:function(e,t){1&e&&(Fa(0,"mat-calendar",0),qa("yearSelected",(function(e){return t.datepicker._selectYear(e)}))("monthSelected",(function(e){return t.datepicker._selectMonth(e)}))("_userSelection",(function(e){return t._handleUserSelection(e)})),Ha()),2&e&&Ia("id",t.datepicker.id)("ngClass",t.datepicker.panelClass)("startAt",t.datepicker.startAt)("startView",t.datepicker.startView)("minDate",t.datepicker._getMinDate())("maxDate",t.datepicker._getMaxDate())("dateFilter",t.datepicker._getDateFilter())("headerComponent",t.datepicker.calendarHeaderComponent)("selected",t._getSelected())("dateClass",t.datepicker.dateClass)("comparisonStart",t.comparisonStart)("comparisonEnd",t.comparisonEnd)("@fadeInCalendar","enter")},directives:[mY,qw,ru],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content-touch{display:block;max-height:80vh;overflow:auto;margin:-24px}.mat-datepicker-content-touch .mat-calendar{min-width:250px;min-height:312px;max-width:750px;max-height:788px}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-calendar{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-calendar{width:80vw;height:100vw}}\n"],encapsulation:2,data:{animation:[pY.transformPanel,pY.fadeInCalendar]},changeDetection:0}),e})(),kY=(()=>{class e{constructor(e,t,r,n,i,s,a,o,l){this._dialog=e,this._overlay=t,this._ngZone=r,this._viewContainerRef=n,this._dateAdapter=s,this._dir=a,this._document=o,this._model=l,this._inputStateChanges=u.EMPTY,this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this.yearSelected=new Bl,this.monthSelected=new Bl,this.openedStream=new Bl,this.closedStream=new Bl,this._opened=!1,this.id="mat-datepicker-"+_Y++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=this.id+"-backdrop",this._stateChanges=new M,this._scrollStrategy=i}get startAt(){return this._startAt||(this._datepickerInput?this._datepickerInput.getStartValue():null)}set startAt(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}get color(){return this._color||(this._datepickerInput?this._datepickerInput.getThemePalette():void 0)}set color(e){this._color=e}get touchUi(){return this._touchUi}set touchUi(e){this._touchUi=kw(e)}get disabled(){return void 0===this._disabled&&this._datepickerInput?this._datepickerInput.disabled:!!this._disabled}set disabled(e){const t=kw(e);t!==this._disabled&&(this._disabled=t,this._stateChanges.next(void 0))}get opened(){return this._opened}set opened(e){kw(e)?this.open():this.close()}_getMinDate(){return this._datepickerInput&&this._datepickerInput.min}_getMaxDate(){return this._datepickerInput&&this._datepickerInput.max}_getDateFilter(){return this._datepickerInput&&this._datepickerInput.dateFilter}ngOnChanges(e){const t=e.xPosition||e.yPosition;t&&!t.firstChange&&this._popupRef&&(this._setConnectedPositions(this._popupRef.getConfig().positionStrategy),this.opened&&this._popupRef.updatePosition()),this._stateChanges.next(void 0)}ngOnDestroy(){this._destroyPopup(),this.close(),this._inputStateChanges.unsubscribe(),this._stateChanges.complete()}select(e){this._model.add(e)}_selectYear(e){this.yearSelected.emit(e)}_selectMonth(e){this.monthSelected.emit(e)}_registerInput(e){return this._inputStateChanges.unsubscribe(),this._datepickerInput=e,this._inputStateChanges=e.stateChanges.subscribe(()=>this._stateChanges.next(void 0)),this._model}open(){this._opened||this.disabled||(this._document&&(this._focusedElementBeforeOpen=this._document.activeElement),this.touchUi?this._openAsDialog():this._openAsPopup(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened)return;if(this._popupComponentRef&&this._popupRef){const e=this._popupComponentRef.instance;e._startExitAnimation(),e._animationDone.pipe(Ih(1)).subscribe(()=>this._destroyPopup())}this._dialogRef&&(this._dialogRef.close(),this._dialogRef=null);const e=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(e)):e()}_openAsDialog(){this._dialogRef&&this._dialogRef.close(),this._dialogRef=this._dialog.open(wY,{direction:this._dir?this._dir.value:"ltr",viewContainerRef:this._viewContainerRef,panelClass:"mat-datepicker-dialog",hasBackdrop:!0,disableClose:!1,backdropClass:["cdk-overlay-dark-backdrop",this._backdropHarnessClass],width:"",height:"",minWidth:"",minHeight:"",maxWidth:"80vw",maxHeight:"",position:{},autoFocus:!0,restoreFocus:!1}),this._dialogRef.afterClosed().subscribe(()=>this.close()),this._forwardContentValues(this._dialogRef.componentInstance)}_openAsPopup(){const e=new Ix(wY,this._viewContainerRef);this._destroyPopup(),this._createPopup(),this._popupComponentRef=this._popupRef.attach(e),this._forwardContentValues(this._popupComponentRef.instance),this._ngZone.onStable.pipe(Ih(1)).subscribe(()=>{this._popupRef.updatePosition()})}_forwardContentValues(e){e.datepicker=this,e.color=this.color}_createPopup(){const e=this._overlay.position().flexibleConnectedTo(this._datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition(),t=new jC({positionStrategy:this._setConnectedPositions(e),hasBackdrop:!0,backdropClass:["mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:this._scrollStrategy(),panelClass:"mat-datepicker-popup"});this._popupRef=this._overlay.create(t),this._popupRef.overlayElement.setAttribute("role","dialog"),K(this._popupRef.backdropClick(),this._popupRef.detachments(),this._popupRef.keydownEvents().pipe(bh(e=>e.keyCode===aw||this._datepickerInput&&e.altKey&&e.keyCode===cw))).subscribe(e=>{e&&e.preventDefault(),this.close()})}_destroyPopup(){this._popupRef&&(this._popupRef.dispose(),this._popupRef=this._popupComponentRef=null)}_setConnectedPositions(e){const t="end"===this.xPosition?"end":"start",r="start"===t?"end":"start",n="above"===this.yPosition?"bottom":"top",i="top"===n?"bottom":"top";return e.withPositions([{originX:t,originY:i,overlayX:t,overlayY:n},{originX:t,originY:n,overlayX:t,overlayY:i},{originX:r,originY:i,overlayX:r,overlayY:n},{originX:r,originY:n,overlayX:r,overlayY:i}])}}return e.\u0275fac=function(t){return new(t||e)(Ra(MD),Ra(rD),Ra(Ec),Ra(ml),Ra(gY),Ra(Dk,8),Ra(dk,8),Ra(ld,8),Ra(rY))},e.\u0275dir=vt({type:e,inputs:{startView:"startView",xPosition:"xPosition",yPosition:"yPosition",startAt:"startAt",color:"color",touchUi:"touchUi",disabled:"disabled",opened:"opened",calendarHeaderComponent:"calendarHeaderComponent",panelClass:"panelClass",dateClass:"dateClass"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",openedStream:"opened",closedStream:"closed"},features:[Ot]}),e})(),MY=(()=>{class e extends kY{}return e.\u0275fac=function(t){return SY(t||e)},e.\u0275cmp=mt({type:e,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[Fo([iY]),ga],decls:0,vars:0,template:function(e,t){},encapsulation:2,changeDetection:0}),e})();const SY=vn(MY);class xY{constructor(e,t){this.target=e,this.targetElement=t,this.value=this.target.value}}let CY=(()=>{class e{constructor(e,t,r){this._elementRef=e,this._dateAdapter=t,this._dateFormats=r,this.dateChange=new Bl,this.dateInput=new Bl,this._valueChange=new Bl,this.stateChanges=new M,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=u.EMPTY,this._localeSubscription=u.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=e=>{const t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value)),r=this._getDateFilter();return r&&t&&!r(t)?{matDatepickerFilter:!0}:null},this._minValidator=e=>{const t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value)),r=this._getMinDate();return!r||!t||this._dateAdapter.compareDate(r,t)<=0?null:{matDatepickerMin:{min:r,actual:t}}},this._maxValidator=e=>{const t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e.value)),r=this._getMaxDate();return!r||!t||this._dateAdapter.compareDate(r,t)>=0?null:{matDatepickerMax:{max:r,actual:t}}},this._lastValueValid=!1,this._localeSubscription=t.localeChanges.subscribe(()=>{this.value=this.value})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(e){e=this._dateAdapter.deserialize(e),this._lastValueValid=this._isValidValue(e),e=this._dateAdapter.getValidDateOrNull(e);const t=this.value;this._assignValue(e),this._formatValue(e),this._dateAdapter.sameDate(t,e)||this._valueChange.emit(e)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(e){const t=kw(e),r=this._elementRef.nativeElement;this._disabled!==t&&(this._disabled=t,this.stateChanges.next(void 0)),t&&this._isInitialized&&r.blur&&r.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(e){this._model=e,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(e=>{if(e.source!==this){const t=this._getValueFromModel(e.selection);this._lastValueValid=this._isValidValue(t),this._cvaOnChange(t),this._onTouched(),this._formatValue(t),this._canEmitChangeEvent(e)&&(this.dateInput.emit(new xY(this,this._elementRef.nativeElement)),this.dateChange.emit(new xY(this,this._elementRef.nativeElement))),this._outsideValueChanged&&this._outsideValueChanged()}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(e){(function(e,t){const r=Object.keys(e);for(let n of r){const{previousValue:r,currentValue:i}=e[n];if(!t.isDateInstance(r)||!t.isDateInstance(i))return!0;if(!t.sameDate(r,i))return!0}return!1})(e,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this._valueChange.complete(),this.stateChanges.complete()}registerOnValidatorChange(e){this._validatorOnChange=e}validate(e){return this._validator?this._validator(e):null}writeValue(e){this.value=e}registerOnChange(e){this._cvaOnChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_onKeydown(e){e.altKey&&e.keyCode===uw&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),e.preventDefault())}_onInput(e){const t=this._lastValueValid;let r=this._dateAdapter.parse(e,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(r),r=this._dateAdapter.getValidDateOrNull(r),this._dateAdapter.sameDate(r,this.value)?(e&&!this.value&&this._cvaOnChange(r),t!==this._lastValueValid&&this._validatorOnChange()):(this._assignValue(r),this._cvaOnChange(r),this._valueChange.emit(r),this.dateInput.emit(new xY(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new xY(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(e){this._elementRef.nativeElement.value=e?this._dateAdapter.format(e,this._dateFormats.display.dateInput):""}_assignValue(e){this._model?(this._assignValueToModel(e),this._pendingValue=null):this._pendingValue=e}_isValidValue(e){return!e||this._dateAdapter.isValid(e)}_parentDisabled(){return!1}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(Dk,8),Ra(Lk,8))},e.\u0275dir=vt({type:e,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[Ot]}),e})();const DY={provide:R_,useExisting:Me(()=>AY),multi:!0},LY={provide:$_,useExisting:Me(()=>AY),multi:!0};let AY=(()=>{class e extends CY{constructor(e,t,r,n){super(e,t,r),this._formField=n,this._validator=Q_.compose(super._getValidators())}set matDatepicker(e){e&&(this._datepicker=e,this._registerModel(e._registerInput(this)))}get min(){return this._min}set min(e){const t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(t,this._min)||(this._min=t,this._validatorOnChange())}get max(){return this._max}set max(e){const t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(t,this._max)||(this._max=t,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(e){this._dateFilter=e,this._validatorOnChange()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}getPopupConnectionElementRef(){return this.getConnectedOverlayOrigin()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(e){return e}_assignValueToModel(e){this._model&&this._model.updateSelection(e,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_canEmitChangeEvent(){return!0}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(Dk,8),Ra(Lk,8),Ra(eS,8))},e.\u0275dir=vt({type:e,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(e,t){1&e&&qa("input",(function(e){return t._onInput(e.target.value)}))("change",(function(){return t._onChange()}))("blur",(function(){return t._onBlur()}))("keydown",(function(e){return t._onKeydown(e)})),2&e&&(Ao("disabled",t.disabled),Ea("aria-haspopup",t._datepicker?"dialog":null)("aria-owns",(null==t._datepicker?null:t._datepicker.opened)&&t._datepicker.id||null)("min",t.min?t._dateAdapter.toIso8601(t.min):null)("max",t.max?t._dateAdapter.toIso8601(t.max):null)("data-mat-calendar",t._datepicker?t._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[Fo([DY,LY,{provide:hS,useExisting:e}]),ga]}),e})(),EY=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=vt({type:e,selectors:[["","matDatepickerToggleIcon",""]]}),e})(),TY=(()=>{class e{constructor(e,t,r){this._intl=e,this._changeDetectorRef=t,this._stateChanges=u.EMPTY;const n=Number(r);this.tabIndex=n||0===n?n:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(e){this._disabled=kw(e)}ngOnChanges(e){e.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(e){this.datepicker&&!this.disabled&&(this.datepicker.open(),e.stopPropagation())}_watchStateChanges(){const e=this.datepicker?this.datepicker._stateChanges:sh(),t=this.datepicker&&this.datepicker._datepickerInput?this.datepicker._datepickerInput.stateChanges:sh(),r=this.datepicker?K(this.datepicker.openedStream,this.datepicker.closedStream):sh();this._stateChanges.unsubscribe(),this._stateChanges=K(this._intl.changes,e,t,r).subscribe(()=>this._changeDetectorRef.markForCheck())}}return e.\u0275fac=function(t){return new(t||e)(Ra(GP),Ra(Zs),Oa("tabindex"))},e.\u0275cmp=mt({type:e,selectors:[["mat-datepicker-toggle"]],contentQueries:function(e,t,r){var n;1&e&&rc(r,EY,!0),2&e&&Ql(n=sc())&&(t._customIcon=n.first)},viewQuery:function(e,t){var r;1&e&&ec(VP,!0),2&e&&Ql(r=sc())&&(t._button=r.first)},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(e,t){1&e&&qa("focus",(function(){return t._button.focus()})),2&e&&(Ea("tabindex",t.disabled?null:-1)("data-mat-calendar",t.datepicker?t.datepicker.id:null),fo("mat-datepicker-toggle-active",t.datepicker&&t.datepicker.opened)("mat-accent",t.datepicker&&"accent"===t.datepicker.color)("mat-warn",t.datepicker&&"warn"===t.datepicker.color))},inputs:{tabIndex:"tabIndex",disabled:"disabled",datepicker:["for","datepicker"],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[Ot],ngContentSelectors:qP,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple","click"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(e,t){1&e&&(eo(WP),Fa(0,"button",0,1),qa("click",(function(e){return t._open(e)})),Pa(2,KP,2,0,"svg",2),to(3),Ha()),2&e&&(Ia("disabled",t.disabled)("disableRipple",t.disableRipple),Ea("aria-haspopup",t.datepicker?"dialog":null)("aria-label",t._intl.openCalendarLabel)("tabindex",t.disabled?-1:t.tabIndex),Li(2),Ia("ngIf",!t._customIcon))},directives:[HS,au],styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),e})(),PY=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[GP,yY],imports:[[Mu,BS,ED,lD,lk,zx],lC]}),e})();function YY(e,t){1&e&&(Fa(0,"th",12),xo(1),Il(2,"i18n"),Ha()),2&e&&(Li(1),Do(" ",jl(2,1,"profileField.name")," "))}function RY(e,t){if(1&e&&(Fa(0,"td",13),xo(1),Il(2,"i18n"),Ha()),2&e){const e=t.$implicit;Li(1),Do(" ",jl(2,1,"profileField.name."+e.name)," ")}}function OY(e,t){1&e&&(Fa(0,"th",14),xo(1),Il(2,"i18n"),Ha()),2&e&&(Li(1),Do(" ",jl(2,1,"profileField.value")," "))}function IY(e,t){if(1&e&&(Fa(0,"span"),xo(1),Ha()),2&e){const e=Qa().$implicit;Li(1),Co(e.value)}}function jY(e,t){if(1&e&&(Fa(0,"span"),xo(1),Il(2,"date"),Ha()),2&e){const e=Qa().$implicit,t=Qa();Li(1),Co(Fl(2,1,e.value,t.datetimeformat))}}function FY(e,t){if(1&e&&(Fa(0,"a",19),xo(1),Ha()),2&e){const e=Qa().$implicit;ro("href",e.value,li),Li(1),Co(e.value)}}function HY(e,t){if(1&e&&(Fa(0,"a",19),xo(1),Ha()),2&e){const e=Qa().$implicit;no("href","mailto:",e.value,"",li),Li(1),Co(e.value)}}function NY(e,t){if(1&e&&(Fa(0,"span"),xo(1),Ha()),2&e){const e=Qa().$implicit;Li(1),Co(e.value)}}function BY(e,t){if(1&e){const e=Va();Fa(0,"button",20),qa("click",(function(){or(e);const t=Qa().$implicit;return Qa().openBlob(t)})),xo(1),Il(2,"i18n"),Ha()}2&e&&(Li(1),Co(jl(2,1,"profileField.openBlob")))}function zY(e,t){if(1&e&&(Fa(0,"td",13),Fa(1,"div",15),Pa(2,IY,2,1,"span",16),Pa(3,jY,3,4,"span",16),Pa(4,FY,2,2,"a",17),Pa(5,HY,2,2,"a",17),Pa(6,NY,2,1,"span",16),Pa(7,BY,3,3,"button",18),Ha(),Ha()),2&e){const e=t.$implicit;Li(1),Ia("ngSwitch",e.type),Li(1),Ia("ngSwitchCase","TEXT"),Li(1),Ia("ngSwitchCase","DATE"),Li(1),Ia("ngSwitchCase","URL"),Li(1),Ia("ngSwitchCase","EMAIL"),Li(1),Ia("ngSwitchCase","NUMBER"),Li(1),Ia("ngSwitchCase","BLOB")}}function UY(e,t){1&e&&(Fa(0,"th",23),xo(1),Il(2,"i18n"),Ha()),2&e&&(Li(1),Do(" ",jl(2,1,"profileField.visibility")," "))}function VY(e,t){if(1&e&&(Fa(0,"td",13),xo(1),Il(2,"i18n"),Ha()),2&e){const e=t.$implicit;Li(1),Do(" ",jl(2,1,"profileField.visibility."+e.visibility)," ")}}function KY(e,t){1&e&&(Ba(0,21),Pa(1,UY,3,3,"th",22),Pa(2,VY,3,3,"td",3),za())}function WY(e,t){1&e&&(Fa(0,"th",26),xo(1),Il(2,"i18n"),Ha()),2&e&&(Li(1),Do(" ",jl(2,1,"profileField.edit")," "))}function qY(e,t){if(1&e){const e=Va();Fa(0,"td",13),Fa(1,"a",27),Fa(2,"mat-icon",28),qa("click",(function(){or(e);const r=t.$implicit;return Qa(2).openEdit(r)})),xo(3,"edit"),Ha(),Ha(),Ha()}}function GY(e,t){1&e&&(Ba(0,24),Pa(1,WY,3,3,"th",25),Pa(2,qY,4,0,"td",3),za())}function $Y(e,t){1&e&&(Fa(0,"th",26),xo(1),Il(2,"i18n"),Ha()),2&e&&(Li(1),Do(" ",jl(2,1,"profileField.delete")," "))}function ZY(e,t){if(1&e){const e=Va();Fa(0,"td",13),Fa(1,"a",27),Fa(2,"mat-icon",28),qa("click",(function(){or(e);const r=t.$implicit;return Qa(2).confirmDelete(r)})),xo(3,"delete"),Ha(),Ha(),Ha()}}function JY(e,t){1&e&&(Ba(0,29),Pa(1,$Y,3,3,"th",25),Pa(2,ZY,4,0,"td",3),za())}function QY(e,t){1&e&&Na(0,"tr",30)}function XY(e,t){1&e&&Na(0,"tr",31)}function eR(e,t){if(1&e){const e=Va();Fa(0,"div",32),Fa(1,"button",33),qa("click",(function(){return or(e),Qa().openCreate()})),xo(2),Il(3,"i18n"),Ha(),Ha()}2&e&&(Li(2),Co(jl(3,1,"profileField.create")))}function tR(e,t){if(1&e&&(Fa(0,"mat-option",11),xo(1),Il(2,"i18n"),Ha()),2&e){const e=t.$implicit;Ia("value",e),Li(1),Do(" ",jl(2,2,"profileField.type."+e)," ")}}function rR(e,t){if(1&e){const e=Va();Fa(0,"mat-form-field"),Fa(1,"input",12),qa("ngModelChange",(function(t){return or(e),Qa().profileField.value=t})),Il(2,"i18n"),Ha(),Ha()}if(2&e){const e=Qa();Li(1),ro("placeholder",jl(2,2,"profileField.value")),Ia("ngModel",e.profileField.value)}}function nR(e,t){if(1&e){const e=Va();Fa(0,"mat-form-field"),Fa(1,"input",13),qa("ngModelChange",(function(t){return or(e),Qa().profileField.value=t})),Il(2,"i18n"),Ha(),Na(3,"mat-datepicker-toggle",14),Na(4,"mat-datepicker",null,15),Ha()}if(2&e){const e=Ya(5),t=Qa();Li(1),ro("placeholder",jl(2,4,"profileField.value")),Ia("matDatepicker",e)("ngModel",t.profileField.value),Li(2),Ia("for",e)}}function iR(e,t){if(1&e){const e=Va();Fa(0,"mat-form-field"),Fa(1,"input",16),qa("ngModelChange",(function(t){return or(e),Qa().profileField.value=t})),Il(2,"i18n"),Ha(),Ha()}if(2&e){const e=Qa();Li(1),ro("placeholder",jl(2,2,"profileField.value")),Ia("ngModel",e.profileField.value)}}function sR(e,t){if(1&e){const e=Va();Fa(0,"mat-form-field"),Fa(1,"input",17),qa("ngModelChange",(function(t){return or(e),Qa().profileField.value=t})),Il(2,"i18n"),Ha(),Ha()}if(2&e){const e=Qa();Li(1),ro("placeholder",jl(2,2,"profileField.value")),Ia("ngModel",e.profileField.value)}}function aR(e,t){if(1&e){const e=Va();Fa(0,"mat-form-field"),Fa(1,"input",18),qa("ngModelChange",(function(t){return or(e),Qa().profileField.value=t})),Il(2,"i18n"),Ha(),Ha()}if(2&e){const e=Qa();Li(1),ro("placeholder",jl(2,2,"profileField.value")),Ia("ngModel",e.profileField.value)}}function oR(e,t){if(1&e){const e=Va();Fa(0,"mat-form-field"),Fa(1,"textarea",19),qa("ngModelChange",(function(t){return or(e),Qa().profileField.blob=t})),Il(2,"i18n"),Ha(),Ha()}if(2&e){const e=Qa();Li(1),ro("placeholder",jl(2,2,"profileField.value")),Ia("ngModel",e.profileField.blob)}}function lR(e,t){if(1&e&&(Fa(0,"mat-option",11),xo(1),Il(2,"i18n"),Ha()),2&e){const e=t.$implicit;Ia("value",e),Li(1),Do(" ",jl(2,2,"profileField.visibility."+e)," ")}}let cR=(()=>{class e{constructor(e,t,r){this.i18n=e,this.profileService=t,this.dialog=r,this.profileFieldColumns=["name","value"]}ngOnInit(){this.edit&&(this.profileFieldColumns.push("visibility"),this.profileFieldColumns.push("edit"),this.profileFieldColumns.push("delete"))}sortData(e){const t=this.profileFields.slice();this.profileFields=e.active&&""!==e.direction?t.sort((t,r)=>{const n="asc"===e.direction;switch(e.active){case"name":return this.compare(this.i18n.get("profileField.name."+t.name,[]),this.i18n.get("profileField.name."+r.name,[]),n);case"value":return this.compare(t.value,r.value,n);case"index":return this.compare(t.index,r.index,n);default:return 0}}):t}compare(e,t,r){return(e{r?this.profileService.createOrUpdate(r).subscribe():(e.name=t.name,e.value=t.value,e.type=t.type,e.visibility=t.visibility,e.index=t.index)})}confirmDelete(e){this.profileService.delete(e.name).subscribe(t=>{this.profileFields.splice(this.profileFields.indexOf(e),1),this.profileFields=[...this.profileFields]})}openCreate(){this.dialog.open(dR,{data:{type:"TEXT",visibility:"PRIVATE"},minWidth:"400px"}).afterClosed().subscribe(e=>{e&&this.profileService.createOrUpdate(e).subscribe(e=>{this.profileFields.push(e),this.profileFields=[...this.profileFields]})})}openBlob(e){this.dialog.open(uR,{data:e,minWidth:"400px"})}}return e.\u0275fac=function(t){return new(t||e)(Ra(D_),Ra(uP),Ra(MD))},e.\u0275cmp=mt({type:e,selectors:[["app-profilefields"]],inputs:{profileFields:"profileFields",edit:"edit"},decls:14,vars:7,consts:[["mat-table","","matSort","","matSortActive","index","matSortDirection","asc",3,"dataSource","matSortChange"],["matColumnDef","name"],["mat-header-cell","","mat-sort-header","name",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","value"],["mat-header-cell","","mat-sort-header","value",4,"matHeaderCellDef"],["matColumnDef","visibility",4,"ngIf"],["matColumnDef","edit",4,"ngIf"],["matColumnDef","delete",4,"ngIf"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["class","text-center",4,"ngIf"],["mat-header-cell","","mat-sort-header","name"],["mat-cell",""],["mat-header-cell","","mat-sort-header","value"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"href",4,"ngSwitchCase"],["mat-raised-button","",3,"click",4,"ngSwitchCase"],[3,"href"],["mat-raised-button","",3,"click"],["matColumnDef","visibility"],["mat-header-cell","","mat-sort-header","visibility",4,"matHeaderCellDef"],["mat-header-cell","","mat-sort-header","visibility"],["matColumnDef","edit"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-header-cell",""],["mat-icon-button",""],[3,"click"],["matColumnDef","delete"],["mat-header-row",""],["mat-row",""],[1,"text-center"],["mat-raised-button","","color","primary",3,"click"]],template:function(e,t){1&e&&(Fa(0,"table",0),qa("matSortChange",(function(e){return t.sortData(e)})),Ba(1,1),Pa(2,YY,3,3,"th",2),Pa(3,RY,3,3,"td",3),za(),Ba(4,4),Pa(5,OY,3,3,"th",5),Pa(6,zY,8,7,"td",3),za(),Pa(7,KY,3,0,"ng-container",6),Pa(8,GY,3,0,"ng-container",7),Pa(9,JY,3,0,"ng-container",8),Pa(10,QY,1,0,"tr",9),Pa(11,XY,1,0,"tr",10),Ha(),Na(12,"br"),Pa(13,eR,4,3,"div",11)),2&e&&(Ia("dataSource",t.profileFields),Li(7),Ia("ngIf",t.edit),Li(1),Ia("ngIf",t.edit),Li(1),Ia("ngIf",t.edit),Li(1),Ia("matHeaderRowDef",t.profileFieldColumns),Li(1),Ia("matRowDefColumns",t.profileFieldColumns),Li(2),Ia("ngIf",t.edit))},directives:[zL,pA,GL,WL,VL,au,eA,rA,ZL,MA,QL,du,uu,HS,NS,cx,iA,aA],pipes:[zS,vu],styles:["table[_ngcontent-%COMP%]{width:100%}"]}),e})(),dR=(()=>{class e{constructor(e,t,r){this.formBuilder=e,this.dialogRef=t,this.data=r,this.types=["TEXT","NUMBER","DATE","URL","EMAIL","BOOL","BLOB"],this.visibilities=["PRIVATE","PROTECTED","PUBLIC"],this.profileField=r}ngOnInit(){this.form=this.formBuilder.group({name:["",Q_.required],type:["",Q_.required],value:[""],blob:[""],visibility:["",Q_.required],index:[""]})}}return e.\u0275fac=function(t){return new(t||e)(Ra(ny),Ra(_D),Ra(yD))},e.\u0275cmp=mt({type:e,selectors:[["app-profilefield-dialog"]],decls:31,vars:35,consts:[["mat-dialog-title",""],[3,"formGroup"],["matInput","","type","text","min","3","formControlName","name",3,"ngModel","placeholder","ngModelChange"],["formControlName","type",3,"ngModel","placeholder","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"ngSwitch"],[4,"ngSwitchCase"],["formControlName","visibility",3,"ngModel","placeholder","ngModelChange"],["matInput","","type","number","min","0","formControlName","index",3,"ngModel","placeholder","ngModelChange"],["mat-button","",3,"mat-dialog-close"],["mat-raised-button","","color","accent",3,"disabled","mat-dialog-close"],[3,"value"],["matInput","","type","text","max","255","formControlName","value",3,"ngModel","placeholder","ngModelChange"],["matInput","","formControlName","value",3,"matDatepicker","ngModel","placeholder","ngModelChange"],["matSuffix","",3,"for"],["picker",""],["matInput","","type","url","formControlName","value",3,"ngModel","placeholder","ngModelChange"],["matInput","","type","email","formControlName","value",3,"ngModel","placeholder","ngModelChange"],["matInput","","type","number","formControlName","value",3,"ngModel","placeholder","ngModelChange"],["matInput","","formControlName","blob",3,"ngModel","placeholder","ngModelChange"]],template:function(e,t){1&e&&(Na(0,"h1",0),Fa(1,"mat-dialog-content"),Fa(2,"form",1),Fa(3,"mat-form-field"),Fa(4,"input",2),qa("ngModelChange",(function(e){return t.profileField.name=e})),Il(5,"i18n"),Ha(),Ha(),Fa(6,"mat-form-field"),Fa(7,"mat-select",3),qa("ngModelChange",(function(e){return t.profileField.type=e})),Il(8,"i18n"),Pa(9,tR,3,4,"mat-option",4),Ha(),Ha(),Fa(10,"div",5),Pa(11,rR,3,4,"mat-form-field",6),Pa(12,nR,6,6,"mat-form-field",6),Pa(13,iR,3,4,"mat-form-field",6),Pa(14,sR,3,4,"mat-form-field",6),Pa(15,aR,3,4,"mat-form-field",6),Pa(16,oR,3,4,"mat-form-field",6),Ha(),Fa(17,"mat-form-field"),Fa(18,"mat-select",7),qa("ngModelChange",(function(e){return t.profileField.visibility=e})),Il(19,"i18n"),Pa(20,lR,3,4,"mat-option",4),Ha(),Ha(),Fa(21,"mat-form-field"),Fa(22,"input",8),qa("ngModelChange",(function(e){return t.profileField.index=e})),Il(23,"i18n"),Ha(),Ha(),Ha(),Ha(),Fa(24,"mat-dialog-actions"),Fa(25,"button",9),xo(26),Il(27,"i18n"),Ha(),Fa(28,"button",10),xo(29),Il(30,"i18n"),Ha(),Ha()),2&e&&(Li(2),Ia("formGroup",t.form),Li(2),ro("placeholder",jl(5,23,"profileField.name")),Ia("ngModel",t.profileField.name),Li(3),ro("placeholder",jl(8,25,"profileField.type")),Ia("ngModel",t.profileField.type),Li(2),Ia("ngForOf",t.types),Li(1),Ia("ngSwitch",t.profileField.type),Li(1),Ia("ngSwitchCase","TEXT"),Li(1),Ia("ngSwitchCase","DATE"),Li(1),Ia("ngSwitchCase","URL"),Li(1),Ia("ngSwitchCase","EMAIL"),Li(1),Ia("ngSwitchCase","NUMBER"),Li(1),Ia("ngSwitchCase","BLOB"),Li(2),ro("placeholder",jl(19,27,"profileField.visibility")),Ia("ngModel",t.profileField.visibility),Li(2),Ia("ngForOf",t.visibilities),Li(2),ro("placeholder",jl(23,29,"profileField.index")),Ia("ngModel",t.profileField.index),Li(3),Ia("mat-dialog-close",!1),Li(1),Co(jl(27,31,"cancel")),Li(2),Ia("disabled",t.form.invalid)("mat-dialog-close",t.profileField),Li(1),Co(jl(30,33,"save")))},directives:[CD,DD,Wg,W_,Jg,tS,gS,H_,K_,Xg,TP,iu,du,uu,sg,LD,HS,xD,tM,AY,TY,$M,MY],pipes:[zS],styles:["mat-form-field[_ngcontent-%COMP%]{display:block}"]}),e})(),uR=(()=>{class e{constructor(e,t){this.dialogRef=e,this.data=t,this.profileField=t}}return e.\u0275fac=function(t){return new(t||e)(Ra(_D),Ra(yD))},e.\u0275cmp=mt({type:e,selectors:[["app-profilefield-blob"]],decls:8,vars:4,consts:[["mat-dialog-title",""],["mat-button","","mat-dialog-close",""]],template:function(e,t){1&e&&(Na(0,"h1",0),Fa(1,"mat-dialog-content"),Fa(2,"pre"),xo(3),Ha(),Ha(),Fa(4,"mat-dialog-actions"),Fa(5,"button",1),xo(6),Il(7,"i18n"),Ha(),Ha()),2&e&&(Li(3),Do(" ",t.profileField.blob,"\n "),Li(3),Co(jl(7,2,"close")))},directives:[CD,DD,LD,HS,xD],pipes:[zS],styles:["mat-form-field[_ngcontent-%COMP%]{display:block}"]}),e})(),hR=(()=>{class e{constructor(e,t,r){this.permissionService=e,this.quotaService=t,this.profileService=r,this.permissions=[],this.quotas=[],this.profileFields=[]}ngOnInit(){this.permissionService.permissions().subscribe(e=>{this.permissions=e}),this.quotaService.quotas().subscribe(e=>{this.quotas=e}),this.profileService.getAll().subscribe(e=>{this.profileFields=e})}}return e.\u0275fac=function(t){return new(t||e)(Ra(xE),Ra(CE),Ra(uP))},e.\u0275cmp=mt({type:e,selectors:[["app-account-info"]],decls:12,vars:12,consts:[[3,"permissions"],[3,"quotas"],[3,"profileFields"]],template:function(e,t){1&e&&(Fa(0,"h3"),xo(1),Il(2,"i18n"),Ha(),Na(3,"app-permissions",0),Fa(4,"h3"),xo(5),Il(6,"i18n"),Ha(),Na(7,"app-quotas",1),Fa(8,"h3"),xo(9),Il(10,"i18n"),Ha(),Na(11,"app-profilefields",2)),2&e&&(Li(1),Co(jl(2,6,"permissions")),Li(2),Ia("permissions",t.permissions),Li(2),Co(jl(6,8,"quotas")),Li(2),Ia("quotas",t.quotas),Li(2),Co(jl(10,10,"profile")),Li(2),Ia("profileFields",t.profileFields))},directives:[RA,KA,cR],pipes:[zS],styles:["mat-form-field[_ngcontent-%COMP%]{display:block}"]}),e})(),fR=(()=>{class e{constructor(e,t){this.profileService=e,this.i18n=t,this.profileFields=[],this.types=["TEXT","NUMBER","DATE","URL","EMAIL","BOOL"],this.visibilities=["PRIVATE","PROTECTED","PUBLIC"]}ngOnInit(){this.profileService.getAll().subscribe(e=>{this.profileFields=e})}}return e.\u0275fac=function(t){return new(t||e)(Ra(uP),Ra(D_))},e.\u0275cmp=mt({type:e,selectors:[["app-account-profile"]],decls:1,vars:2,consts:[[3,"profileFields","edit"]],template:function(e,t){1&e&&Na(0,"app-profilefields",0),2&e&&Ia("profileFields",t.profileFields)("edit",!0)},directives:[cR],styles:["table[_ngcontent-%COMP%]{width:100%}td.mat-cell[_ngcontent-%COMP%]{padding:12px}"]}),e})(),mR=(()=>{class e{constructor(e){this.http=e}registration(){return this.http.post(sd+"/vouchers/registration",{})}addon(){return this.http.post(sd+"/vouchers/addon",{})}}return e.\u0275fac=function(t){return new(t||e)($e(s_))},e.\u0275prov=de({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function pR(e,t){1&e&&(Fa(0,"th",10),xo(1),Il(2,"i18n"),Ha()),2&e&&(Li(1),Do(" ",jl(2,1,"voucher.type")," "))}function _R(e,t){if(1&e&&(Fa(0,"td",11),xo(1),Ha()),2&e){const e=t.$implicit;Li(1),Co(e.type)}}function gR(e,t){1&e&&(Fa(0,"th",10),xo(1),Il(2,"i18n"),Ha()),2&e&&(Li(1),Do(" ",jl(2,1,"voucher.code")," "))}function yR(e,t){if(1&e&&(Fa(0,"td",11),xo(1),Ha()),2&e){const e=t.$implicit;Li(1),Co(e.code)}}function bR(e,t){1&e&&Na(0,"tr",12)}function vR(e,t){1&e&&Na(0,"tr",13)}function wR(e,t){if(1&e&&(Fa(0,"div"),Fa(1,"h3"),xo(2),Il(3,"i18n"),Ha(),Fa(4,"p"),xo(5),Il(6,"i18n"),Ha(),Fa(7,"table",3),Ba(8,4),Pa(9,pR,3,3,"th",5),Pa(10,_R,2,1,"td",6),za(),Ba(11,7),Pa(12,gR,3,3,"th",5),Pa(13,yR,2,1,"td",6),za(),Pa(14,bR,1,0,"tr",8),Pa(15,vR,1,0,"tr",9),Ha(),Ha()),2&e){const e=Qa();Li(2),Co(jl(3,5,"vouchers.temp")),Li(3),Co(jl(6,7,"vouchers.temp.info")),Li(2),Ia("dataSource",e.voucherSource),Li(7),Ia("matHeaderRowDef",e.voucherColumns),Li(1),Ia("matRowDefColumns",e.voucherColumns)}}let kR=(()=>{class e{constructor(e,t,r){this.voucherService=e,this.quotaService=t,this.dialog=r,this.hasRegistration=!1,this.model={},this.vouchers=[],this.voucherSource=new cA,this.voucherColumns=["type","code"]}ngOnInit(){this.voucherSource.data=this.vouchers,this.quotaService.quotas().subscribe(e=>{this.hasRegistration=e&&e.some((function(e){return"registration_vouchers"==e.name&&e.value>0}))})}registration(){this.voucherService.registration().toPromise().then(e=>{this.model.type="registration",this.model.code=e,this.vouchers.push(this.model),this.voucherSource.data=this.vouchers,this.dialog.open(MR,{closeOnNavigation:!1,disableClose:!0,data:this.model})},e=>{})}addon(){this.voucherService.addon().subscribe(e=>{this.model.type="add-on",this.model.code=e,this.vouchers.push(this.model),this.voucherSource.data=this.vouchers,this.dialog.open(MR,{closeOnNavigation:!1,disableClose:!0,data:this.model})},e=>{})}}return e.\u0275fac=function(t){return new(t||e)(Ra(mR),Ra(CE),Ra(MD))},e.\u0275cmp=mt({type:e,selectors:[["app-account-voucher"]],decls:13,vars:11,consts:[["mat-raised-button","","color","primary",3,"disabled","click"],["mat-raised-button","","color","accent",3,"click"],[4,"ngIf"],["mat-table","",3,"dataSource"],["matColumnDef","type"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","code"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-row",""],["mat-row",""]],template:function(e,t){1&e&&(Fa(0,"mat-card"),Fa(1,"mat-card-content"),Fa(2,"p"),xo(3),Il(4,"i18n"),Ha(),Ha(),Fa(5,"mat-card-actions"),Fa(6,"button",0),qa("click",(function(){return t.registration()})),xo(7),Il(8,"i18n"),Ha(),Fa(9,"button",1),qa("click",(function(){return t.addon()})),xo(10),Il(11,"i18n"),Ha(),Ha(),Ha(),Pa(12,wR,16,9,"div",2)),2&e&&(Li(3),Co(jl(4,5,"vouchers.info")),Li(3),Ia("disabled",!t.hasRegistration),Li(1),Do(" ",jl(8,7,"vouchers.registration")," "),Li(3),Do(" ",jl(11,9,"vouchers.add-on")," "),Li(2),Ia("ngIf",t.vouchers&&t.vouchers[0]))},directives:[fM,cM,hM,HS,au,zL,GL,WL,VL,eA,rA,ZL,QL,iA,aA],pipes:[zS],styles:["table[_ngcontent-%COMP%]{width:100%}"]}),e})(),MR=(()=>{class e{constructor(e,t){this.dialogRef=e,this.data=t}onOkClick(){this.dialogRef.close()}}return e.\u0275fac=function(t){return new(t||e)(Ra(_D),Ra(yD))},e.\u0275cmp=mt({type:e,selectors:[["app-voucher-dialog"]],decls:17,vars:18,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions",""],[3,"ngModel","ngModelChange"],["mat-button","",3,"disabled","click"]],template:function(e,t){1&e&&(Fa(0,"h1",0),xo(1),Il(2,"i18n"),Ha(),Fa(3,"div",1),Fa(4,"p"),xo(5),Il(6,"i18n"),Ha(),Fa(7,"span"),xo(8),Il(9,"i18n"),Ha(),Ha(),Fa(10,"div",2),Fa(11,"mat-slide-toggle",3),qa("ngModelChange",(function(e){return t.data.confirmClose=e})),xo(12),Il(13,"i18n"),Ha(),Fa(14,"button",4),qa("click",(function(){return t.onOkClick()})),xo(15),Il(16,"i18n"),Ha(),Ha()),2&e&&(Li(1),Co(jl(2,8,"voucher")),Li(4),Co(jl(6,10,"vouchers.stored-safely")),Li(3),Lo("",jl(9,12,"vouchers."+t.data.type),": ",t.data.code,""),Li(3),Ia("ngModel",t.data.confirmClose),Li(1),Do(" ",jl(13,14,"vouchers.stored-safely.confirm")," "),Li(2),Ia("disabled",!t.data.confirmClose),Li(1),Co(jl(16,16,"ok")))},directives:[CD,DD,LD,ES,K_,Kg,HS],pipes:[zS],styles:["mat-form-field[_ngcontent-%COMP%]{display:block}"]}),e})();const SR=["passwordFormDirective"];function xR(e,t){1&e&&(Fa(0,"mat-hint"),xo(1),Il(2,"i18n"),Ha()),2&e&&(Li(1),Do(" ",jl(2,1,"password.changed")," "))}function CR(e,t){if(1&e&&(Fa(0,"mat-error"),xo(1),Ha()),2&e){const e=t.$implicit;Li(1),Do(" ",e.key," ")}}function DR(e,t){if(1&e&&(Fa(0,"mat-error"),xo(1),Ha()),2&e){const e=t.$implicit;Li(1),Do(" ",e.key," ")}}function LR(e,t){1&e&&Na(0,"mat-progress-bar",11)}function AR(e,t){1&e&&(Fa(0,"button",12),xo(1),Il(2,"i18n"),Ha()),2&e&&(Ia("disabled",Qa().passwordForm.invalid),Li(1),Do(" ",jl(2,2,"password.change")," "))}function ER(e,t){if(1&e){const e=Va();Fa(0,"button",13),qa("click",(function(){return or(e),Qa().createTotp()})),xo(1),Il(2,"i18n"),Ha()}2&e&&(Li(1),Co(jl(2,1,"security.2fa.totp.create")))}function TR(e,t){if(1&e){const e=Va();Fa(0,"button",14),qa("click",(function(){return or(e),Qa().removeTotp()})),xo(1),Il(2,"i18n"),Ha()}2&e&&(Li(1),Co(jl(2,1,"security.2fa.totp.remove")))}function PR(e,t){if(1&e&&Na(0,"qrcode",7),2&e){const e=Qa();ro("title",e.data.qrData),Ia("qrdata",e.data.qrData)("width",400)("errorCorrectionLevel","M")}}let YR=(()=>{class e{constructor(e,t,r,n){this.formBuilder=e,this.userService=t,this.authService=r,this.dialog=n,this.model={},this.totp=!1}ngOnInit(){this.passwordForm=this.formBuilder.group({oldPassword:["",Q_.required],password:["",Q_.required],password2:["",Q_.required]},{validator:Dx("password","password2")}),this.authService.isTotpEnabled().subscribe(e=>{this.totp=!0},e=>{this.totp=!1})}changePassword(){this.passwordForm.valid&&!this.working&&(this.working=!0,this.userService.password(this.model).subscribe(e=>{this.passwordFormDirective.resetForm(),this.success=!0,this.working=!1},e=>{if(this.working=!1,409==e.status){let t={};for(let r of e.error)t[r.field]=t[r.field]||{},t[r.field][r.code]=!0;for(let e in t)this.passwordForm.get(e).setErrors(t[e])}}))}createTotp(){this.authService.createTotp().subscribe(e=>{this.dialog.open(RR,{closeOnNavigation:!1,disableClose:!0,data:e}).afterClosed().subscribe(e=>{e?this.authService.enableTotp(e).subscribe(e=>{this.totp=!0}):this.authService.removeTotp().subscribe(e=>{this.totp=!1})})})}enableTotp(){this.dialog.open(RR,{closeOnNavigation:!1,disableClose:!0,data:{}})}removeTotp(){this.authService.removeTotp().subscribe(e=>{this.totp=!1})}}return e.\u0275fac=function(t){return new(t||e)(Ra(ny),Ra(ID),Ra(w_),Ra(MD))},e.\u0275cmp=mt({type:e,selectors:[["app-account-security"]],viewQuery:function(e,t){var r;1&e&&ec(SR,!0),2&e&&Ql(r=sc())&&(t.passwordFormDirective=r.first)},decls:38,vars:36,consts:[[3,"formGroup","ngSubmit"],["passwordFormDirective","ngForm"],[4,"ngIf"],["matInput","","type","password","formControlName","oldPassword",3,"placeholder","ngModel","ngModelChange"],[4,"ngFor","ngForOf"],["matInput","","type","password","formControlName","password",3,"placeholder","ngModel","ngModelChange"],["matInput","","type","password","length","6","formControlName","password2",3,"placeholder","ngModel","ngModelChange"],["mode","indeterminate",4,"ngIf"],["mat-raised-button","","color","primary",3,"disabled",4,"ngIf"],["mat-raised-button","","color","accent",3,"click",4,"ngIf"],["mat-raised-button","","color","warn",3,"click",4,"ngIf"],["mode","indeterminate"],["mat-raised-button","","color","primary",3,"disabled"],["mat-raised-button","","color","accent",3,"click"],["mat-raised-button","","color","warn",3,"click"]],template:function(e,t){1&e&&(Fa(0,"form",0,1),qa("ngSubmit",(function(){return t.changePassword()})),Fa(2,"mat-card"),Fa(3,"mat-card-content"),Fa(4,"h2"),xo(5),Il(6,"i18n"),Ha(),Pa(7,xR,3,3,"mat-hint",2),Fa(8,"mat-form-field"),Fa(9,"input",3),qa("ngModelChange",(function(e){return t.model.old=e})),Il(10,"i18n"),Ha(),Pa(11,CR,2,1,"mat-error",4),Il(12,"keyvalue"),Ha(),Fa(13,"mat-form-field"),Fa(14,"input",5),qa("ngModelChange",(function(e){return t.model.password=e})),Il(15,"i18n"),Ha(),Pa(16,DR,2,1,"mat-error",4),Il(17,"keyvalue"),Ha(),Fa(18,"mat-form-field"),Fa(19,"input",6),qa("ngModelChange",(function(e){return t.model.password2=e})),Il(20,"i18n"),Ha(),Fa(21,"mat-error"),xo(22),Il(23,"i18n"),Ha(),Ha(),Ha(),Fa(24,"mat-card-actions"),Pa(25,LR,1,0,"mat-progress-bar",7),Pa(26,AR,3,4,"button",8),Ha(),Ha(),Ha(),Fa(27,"mat-card"),Fa(28,"mat-card-content"),Fa(29,"h2"),xo(30),Il(31,"i18n"),Ha(),Fa(32,"p"),xo(33),Il(34,"i18n"),Ha(),Ha(),Fa(35,"mat-card-actions"),Pa(36,ER,3,3,"button",9),Pa(37,TR,3,3,"button",10),Ha(),Ha()),2&e&&(Ia("formGroup",t.passwordForm),Li(5),Co(jl(6,18,"password.change")),Li(2),Ia("ngIf",t.success),Li(2),ro("placeholder",jl(10,20,"password.current")),Ia("ngModel",t.model.old),Li(2),Ia("ngForOf",jl(12,22,t.passwordForm.get("oldPassword").errors)),Li(3),ro("placeholder",jl(15,24,"password")),Ia("ngModel",t.model.password),Li(2),Ia("ngForOf",jl(17,26,t.passwordForm.get("password").errors)),Li(3),ro("placeholder",jl(20,28,"password.confirm")),Ia("ngModel",t.model.password2),Li(3),Do(" ",jl(23,30,"password.not-match")," "),Li(3),Ia("ngIf",t.working),Li(1),Ia("ngIf",!t.working),Li(4),Co(jl(31,32,"security.2fa")),Li(3),Co(jl(34,34,"security.2fa.info")),Li(3),Ia("ngIf",!t.totp),Li(1),Ia("ngIf",t.totp))},directives:[Wg,W_,Jg,fM,cM,au,tS,gS,H_,K_,Xg,iu,HM,hM,VM,vx,HS],pipes:[zS,wu],styles:["mat-form-field[_ngcontent-%COMP%]{display:inline}"]}),e})(),RR=(()=>{class e{constructor(e,t){this.dialogRef=e,this.data=t}ngOnInit(){this.code=new jg("",[Q_.required,Q_.pattern("[0-9]{6}")])}}return e.\u0275fac=function(t){return new(t||e)(Ra(_D),Ra(yD))},e.\u0275cmp=mt({type:e,selectors:[["app-security-totp-dialog"]],decls:19,vars:23,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[3,"qrdata","width","errorCorrectionLevel","title",4,"ngIf"],["matInput","","required","",3,"placeholder","formControl"],["mat-dialog-actions",""],["mat-button","",3,"mat-dialog-close"],["mat-raised-button","","color","accent",3,"disabled","mat-dialog-close"],[3,"qrdata","width","errorCorrectionLevel","title"]],template:function(e,t){1&e&&(Fa(0,"h1",0),xo(1),Il(2,"i18n"),Ha(),Fa(3,"div",1),xo(4),Il(5,"i18n"),Pa(6,PR,1,4,"qrcode",2),xo(7),Il(8,"i18n"),Fa(9,"mat-form-field"),Na(10,"input",3),Il(11,"i18n"),Ha(),Ha(),Fa(12,"div",4),Fa(13,"button",5),xo(14),Il(15,"i18n"),Ha(),Fa(16,"button",6),xo(17),Il(18,"i18n"),Ha(),Ha()),2&e&&(Li(1),Co(jl(2,11,"security.2fa.totp.enable")),Li(3),Do(" ",jl(5,13,"security.2fa.totp.hint")," "),Li(2),Ia("ngIf",t.data.qrData),Li(1),Do(" ",jl(8,15,"security.2fa.totp.activate")," "),Li(3),ro("placeholder",jl(11,17,"security.2fa.totp.code")),Ia("formControl",t.code),Li(3),Ia("mat-dialog-close",!1),Li(1),Co(jl(15,19,"cancel")),Li(2),Ia("disabled",t.code.invalid)("mat-dialog-close",t.code.value),Li(1),Co(jl(18,21,"security.2fa.totp.enable")))},directives:[CD,DD,au,tS,gS,H_,ty,K_,$g,LD,HS,xD,GA],pipes:[zS],styles:["mat-form-field[_ngcontent-%COMP%]{display:inline}"]}),e})();const OR=[{path:"",redirectTo:"/account/info",pathMatch:"full"},{path:"imprint",component:A_,canActivate:[k_]},{path:"privacy-policy",component:E_,canActivate:[k_]},{path:"terms-of-service",component:T_,canActivate:[k_]},{path:"login",component:VS,canActivate:[x_]},{path:"login/totp",component:WS,canActivate:[x_]},{path:"service-login",component:hx,canActivate:[x_]},{path:"service-login/totp",component:mx,canActivate:[x_]},{path:"password",component:Cx,canActivate:[x_]},{path:"password-reset",component:Rx,canActivate:[x_]},{path:"services",component:dP,canActivate:[S_]},{path:"account",component:DC,canActivate:[S_],children:[{path:"info",component:hR,canActivate:[S_]},{path:"profile",component:fR,canActivate:[S_]},{path:"voucher",component:kR,canActivate:[S_]},{path:"security",component:YR,canActivate:[S_]}]},{path:"register",component:ME,canActivate:[x_]},{path:"tokens",component:FE,canActivate:[M_]},{path:"unavailable",component:(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=mt({type:e,selectors:[["app-unavailable"]],decls:11,vars:6,template:function(e,t){1&e&&(Fa(0,"mat-card"),Fa(1,"mat-card-header"),Fa(2,"mat-card-title"),xo(3,"503"),Ha(),Fa(4,"mat-card-subtitle"),xo(5),Il(6,"i18n"),Ha(),Ha(),Fa(7,"mat-card-content"),Fa(8,"p"),xo(9),Il(10,"i18n"),Ha(),Ha(),Ha()),2&e&&(Li(5),Co(jl(6,2,"service-unavailable")),Li(4),Do(" ",jl(10,4,"service-unavailable.text")," "))},directives:[fM,mM,dM,uM,cM],pipes:[zS],styles:["mat-card-header[_ngcontent-%COMP%]{background-color:#f44336!important;padding:16px 16px 0}mat-card[_ngcontent-%COMP%]{padding:0}mat-card-content[_ngcontent-%COMP%]{padding:16px}"]}),e})()},{path:"**",component:(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=mt({type:e,selectors:[["app-notfound"]],decls:11,vars:6,template:function(e,t){1&e&&(Fa(0,"mat-card"),Fa(1,"mat-card-header"),Fa(2,"mat-card-title"),xo(3,"404"),Ha(),Fa(4,"mat-card-subtitle"),xo(5),Il(6,"i18n"),Ha(),Ha(),Fa(7,"mat-card-content"),Fa(8,"p"),xo(9),Il(10,"i18n"),Ha(),Ha(),Ha()),2&e&&(Li(5),Co(jl(6,2,"not-found")),Li(4),Do(" ",jl(10,4,"not-found.text")," "))},directives:[fM,mM,dM,uM,cM],pipes:[zS],styles:["mat-card-header[_ngcontent-%COMP%]{background-color:#ff4081!important;padding:16px 16px 0}mat-card[_ngcontent-%COMP%]{padding:0}mat-card-content[_ngcontent-%COMP%]{padding:16px}"]}),e})(),pathMatch:"full"}];let IR=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Rp.forRoot(OR,{onSameUrlNavigation:"reload"})],Rp]}),e})();function jR(e,t=gw){var r;const n=(r=e)instanceof Date&&!isNaN(+r)?+e-t.now():Math.abs(e);return e=>e.lift(new FR(n,t))}class FR{constructor(e,t){this.delay=e,this.scheduler=t}call(e,t){return t.subscribe(new HR(e,this.delay,this.scheduler))}}class HR extends m{constructor(e,t,r){super(e),this.delay=t,this.scheduler=r,this.queue=[],this.active=!1,this.errored=!1}static dispatch(e){const t=e.source,r=t.queue,n=e.scheduler,i=e.destination;for(;r.length>0&&r[0].time-n.now()<=0;)r.shift().notification.observe(i);if(r.length>0){const t=Math.max(0,r[0].time-n.now());this.schedule(e,t)}else this.unsubscribe(),t.active=!1}_schedule(e){this.active=!0,this.destination.add(e.schedule(HR.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))}scheduleNotification(e){if(!0===this.errored)return;const t=this.scheduler,r=new NR(t.now()+this.delay,e);this.queue.push(r),!1===this.active&&this._schedule(t)}_next(e){this.scheduleNotification(eC.createNext(e))}_error(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}_complete(){this.scheduleNotification(eC.createComplete()),this.unsubscribe()}}class NR{constructor(e,t){this.time=e,this.notification=t}}const BR={provide:new Fe("mat-autocomplete-scroll-strategy"),deps:[rD],useFactory:function(e){return()=>e.scrollStrategies.reposition()}};let zR=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[BR],imports:[[lD,nM,bk,Mu],lC,nM,bk]}),e})(),UR=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)}}),e})(),VR=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[zk,bk,Tw,UR],bk,UR]}),e})(),KR=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[zk,bk],bk]}),e})(),WR=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Mu,bk],bk]}),e})();const qR=["mat-menu-item",""],GR=["*"];function $R(e,t){if(1&e){const e=Va();Fa(0,"div",0),qa("keydown",(function(t){return or(e),Qa()._handleKeydown(t)}))("click",(function(){return or(e),Qa().closed.emit("click")}))("@transformMenu.start",(function(t){return or(e),Qa()._onAnimationStart(t)}))("@transformMenu.done",(function(t){return or(e),Qa()._onAnimationDone(t)})),Fa(1,"div",1),to(2),Ha(),Ha()}if(2&e){const e=Qa();Ia("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),Ea("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const ZR={transformMenu:ly("transformMenu",[fy("void",hy({opacity:0,transform:"scale(0.8)"})),py("void => enter",dy([gy(".mat-menu-content, .mat-mdc-menu-content",cy("100ms linear",hy({opacity:1}))),cy("120ms cubic-bezier(0, 0, 0.2, 1)",hy({transform:"scale(1)"}))])),py("* => void",cy("100ms 25ms linear",hy({opacity:0})))]),fadeInItems:ly("fadeInItems",[fy("showing",hy({opacity:1})),py("void => *",[hy({opacity:0}),cy("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},JR=new Fe("MatMenuContent"),QR=new Fe("MAT_MENU_PANEL");class XR{}const eO=kk(vk(XR));let tO=(()=>{class e extends eO{constructor(e,t,r,n){super(),this._elementRef=e,this._focusMonitor=r,this._parentMenu=n,this.role="menuitem",this._hovered=new M,this._focused=new M,this._highlighted=!1,this._triggersSubmenu=!1,n&&n.addItem&&n.addItem(this),this._document=t}focus(e="program",t){this._focusMonitor?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const e=this._elementRef.nativeElement,t=this._document?this._document.TEXT_NODE:3;let r="";if(e.childNodes){const n=e.childNodes.length;for(let i=0;i{class e{constructor(e,t,r){this._elementRef=e,this._ngZone=t,this._defaultOptions=r,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new Ul,this._tabSubscription=u.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new M,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new Bl,this.close=this.closed,this.panelId="mat-menu-panel-"+nO++}get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(e){this._overlapTrigger=kw(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=kw(e)}set panelClass(e){const t=this._previousPanelClass;t&&t.length&&t.split(" ").forEach(e=>{this._classList[e]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(e=>{this._classList[e]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new Bw(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Nh(this._directDescendantItems),Yh(e=>K(...e.map(e=>e._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(Nh(this._directDescendantItems),Yh(e=>K(...e.map(e=>e._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const t=e.keyCode,r=this._keyManager;switch(t){case aw:hw(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case lw:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case dw:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:t!==cw&&t!==uw||r.setFocusOrigin("keyboard"),r.onKeydown(e)}}focusFirstItem(e="program"){this.lazyContent?this._ngZone.onStable.pipe(Ih(1)).subscribe(()=>this._focusFirstItem(e)):this._focusFirstItem(e)}_focusFirstItem(e){const t=this._keyManager;if(t.setFocusOrigin(e).setFirstItemActive(),!t.activeItem&&this._directDescendantItems.length){let e=this._directDescendantItems.first._getHostElement().parentElement;for(;e;){if("menu"===e.getAttribute("role")){e.focus();break}e=e.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const t="mat-elevation-z"+Math.min(4+e,24),r=Object.keys(this._classList).find(e=>e.startsWith("mat-elevation-z"));r&&r!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[t]=!0,this._previousElevation=t)}setPositionClasses(e=this.xPosition,t=this.yPosition){const r=this._classList;r["mat-menu-before"]="before"===e,r["mat-menu-after"]="after"===e,r["mat-menu-above"]="above"===t,r["mat-menu-below"]="below"===t}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Nh(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(e=>e._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(Ec),Ra(rO))},e.\u0275dir=vt({type:e,contentQueries:function(e,t,r){var n;1&e&&(rc(r,JR,!0),rc(r,tO,!0),rc(r,tO,!1)),2&e&&(Ql(n=sc())&&(t.lazyContent=n.first),Ql(n=sc())&&(t._allItems=n),Ql(n=sc())&&(t.items=n))},viewQuery:function(e,t){var r;1&e&&ec(hl,!0),2&e&&Ql(r=sc())&&(t.templateRef=r.first)},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),e})(),sO=(()=>{class e extends iO{}return e.\u0275fac=function(t){return aO(t||e)},e.\u0275dir=vt({type:e,features:[ga]}),e})();const aO=vn(sO);let oO=(()=>{class e extends sO{constructor(e,t,r){super(e,t,r)}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(Ec),Ra(rO))},e.\u0275cmp=mt({type:e,selectors:[["mat-menu"]],exportAs:["matMenu"],features:[Fo([{provide:QR,useExisting:sO},{provide:sO,useExisting:e}]),ga],ngContentSelectors:GR,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(e,t){1&e&&(eo(),Pa(0,$R,3,6,"ng-template"))},directives:[ru],styles:['.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:"";display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],encapsulation:2,data:{animation:[ZR.transformMenu,ZR.fadeInItems]},changeDetection:0}),e})();const lO=new Fe("mat-menu-scroll-strategy"),cO={provide:lO,deps:[rD],useFactory:function(e){return()=>e.scrollStrategies.reposition()}},dO=nw({passive:!0});let uO=(()=>{class e{constructor(e,t,r,n,i,s,a,o){this._overlay=e,this._element=t,this._viewContainerRef=r,this._parentMenu=i,this._menuItemInstance=s,this._dir=a,this._focusMonitor=o,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=u.EMPTY,this._hoverSubscription=u.EMPTY,this._menuCloseSubscription=u.EMPTY,this._handleTouchStart=()=>this._openedBy="touch",this._openedBy=null,this.restoreFocus=!0,this.menuOpened=new Bl,this.onMenuOpen=this.menuOpened,this.menuClosed=new Bl,this.onMenuClose=this.menuClosed,t.nativeElement.addEventListener("touchstart",this._handleTouchStart,dO),s&&(s._triggersSubmenu=this.triggersSubmenu()),this._scrollStrategy=n}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(e=>{this._destroyMenu(),"click"!==e&&"tab"!==e||!this._parentMenu||this._parentMenu.closed.emit(e)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,dO),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const e=this._createOverlay(),t=e.getConfig();this._setPosition(t.positionStrategy),t.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,e.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof sO&&this.menu._startAnimation()}closeMenu(){this.menu.close.emit()}focus(e="program",t){this._focusMonitor?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}_destroyMenu(){if(!this._overlayRef||!this.menuOpen)return;const e=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this._restoreFocus(),e instanceof sO?(e._resetAnimation(),e.lazyContent?e._animationDone.pipe(bh(e=>"void"===e.toState),Ih(1),gM(e.lazyContent._attached)).subscribe({next:()=>e.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),e.lazyContent&&e.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this._setIsMenuOpen(!0),this.menu.focusFirstItem(this._openedBy||"program")}_setMenuElevation(){if(this.menu.setElevation){let e=0,t=this.menu.parentMenu;for(;t;)e++,t=t.parentMenu;this.menu.setElevation(e)}}_restoreFocus(){this.restoreFocus&&(this._openedBy?this.triggersSubmenu()||this.focus(this._openedBy):this.focus()),this._openedBy=null}_setIsMenuOpen(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=e)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const e=this._getOverlayConfig();this._subscribeToPositions(e.positionStrategy),this._overlayRef=this._overlay.create(e),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new jC({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e){this.menu.setPositionClasses&&e.positionChanges.subscribe(e=>{this.menu.setPositionClasses("start"===e.connectionPair.overlayX?"after":"before","top"===e.connectionPair.overlayY?"below":"above")})}_setPosition(e){let[t,r]="before"===this.menu.xPosition?["end","start"]:["start","end"],[n,i]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[s,a]=[n,i],[o,l]=[t,r],c=0;this.triggersSubmenu()?(l=t="before"===this.menu.xPosition?"start":"end",r=o="end"===t?"start":"end",c="bottom"===n?8:-8):this.menu.overlapTrigger||(s="top"===n?"bottom":"top",a="top"===i?"bottom":"top"),e.withPositions([{originX:t,originY:s,overlayX:o,overlayY:n,offsetY:c},{originX:r,originY:s,overlayX:l,overlayY:n,offsetY:c},{originX:t,originY:a,overlayX:o,overlayY:i,offsetY:-c},{originX:r,originY:a,overlayX:l,overlayY:i,offsetY:-c}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),t=this._overlayRef.detachments();return K(e,this._parentMenu?this._parentMenu.closed:sh(),this._parentMenu?this._parentMenu._hovered().pipe(bh(e=>e!==this._menuItemInstance),bh(()=>this._menuOpen)):sh(),t)}_handleMousedown(e){Qw(e)||(this._openedBy=0===e.button?"mouse":null,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const t=e.keyCode;this.triggersSubmenu()&&(t===dw&&"ltr"===this.dir||t===lw&&"rtl"===this.dir)&&this.openMenu()}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&(this._hoverSubscription=this._parentMenu._hovered().pipe(bh(e=>e===this._menuItemInstance&&!e.disabled),jR(0,Xx)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof sO&&this.menu._isAnimating?this.menu._animationDone.pipe(Ih(1),jR(0,Xx),gM(this._parentMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new jx(this.menu.templateRef,this._viewContainerRef)),this._portal}}return e.\u0275fac=function(t){return new(t||e)(Ra(rD),Ra(zo),Ra(ml),Ra(lO),Ra(sO,8),Ra(tO,10),Ra(dk,8),Ra(tk))},e.\u0275dir=vt({type:e,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(e,t){1&e&&qa("mousedown",(function(e){return t._handleMousedown(e)}))("keydown",(function(e){return t._handleKeydown(e)}))("click",(function(e){return t._handleClick(e)})),2&e&&Ea("aria-expanded",t.menuOpen||null)("aria-controls",t.menuOpen?t.menu.panelId:null)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]}),e})(),hO=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[cO],imports:[bk]}),e})(),fO=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[cO],imports:[[Mu,bk,zk,lD,hO],lC,bk,hO]}),e})();function mO(e){return t=>t.lift(new pO(e))}class pO{constructor(e){this.value=e}call(e,t){return t.subscribe(new _O(e,this.value))}}class _O extends m{constructor(e,t){super(e),this.value=t}_next(e){this.destination.next(this.value)}}const gO=["*"];function yO(e,t){if(1&e){const e=Va();Fa(0,"div",2),qa("click",(function(){return or(e),Qa()._onBackdropClicked()})),Ha()}2&e&&fo("mat-drawer-shown",Qa()._isShowingBackdrop())}function bO(e,t){1&e&&(Fa(0,"mat-drawer-content"),to(1,2),Ha())}const vO=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],wO=["mat-drawer","mat-drawer-content","*"];function kO(e,t){if(1&e){const e=Va();Fa(0,"div",2),qa("click",(function(){return or(e),Qa()._onBackdropClicked()})),Ha()}2&e&&fo("mat-drawer-shown",Qa()._isShowingBackdrop())}function MO(e,t){1&e&&(Fa(0,"mat-sidenav-content",3),to(1,2),Ha())}const SO=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],xO=["mat-sidenav","mat-sidenav-content","*"],CO=".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n",DO={transformDrawer:ly("transform",[fy("open, open-instant",hy({transform:"none",visibility:"visible"})),fy("void",hy({"box-shadow":"none",visibility:"hidden"})),py("void => open-instant",cy("0ms")),py("void <=> open, open-instant => void",cy("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},LO=new Fe("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),AO=new Fe("MAT_DRAWER_CONTAINER");let EO=(()=>{class e extends aC{constructor(e,t,r,n,i){super(r,n,i),this._changeDetectorRef=e,this._container=t}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return e.\u0275fac=function(t){return new(t||e)(Ra(Zs),Ra(Me(()=>PO)),Ra(zo),Ra(sC),Ra(Ec))},e.\u0275cmp=mt({type:e,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(e,t){2&e&&ho("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[ga],ngContentSelectors:gO,decls:1,vars:0,template:function(e,t){1&e&&(eo(),to(0))},encapsulation:2,changeDetection:0}),e})(),TO=(()=>{class e{constructor(e,t,r,n,i,s,a){this._elementRef=e,this._focusTrapFactory=t,this._focusMonitor=r,this._platform=n,this._ngZone=i,this._doc=s,this._container=a,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new M,this._animationEnd=new M,this._animationState="void",this.openedChange=new Bl(!0),this._openedStream=this.openedChange.pipe(bh(e=>e),C(()=>{})),this.openedStart=this._animationStarted.pipe(bh(e=>e.fromState!==e.toState&&0===e.toState.indexOf("open")),mO(void 0)),this._closedStream=this.openedChange.pipe(bh(e=>!e),C(()=>{})),this.closedStart=this._animationStarted.pipe(bh(e=>e.fromState!==e.toState&&"void"===e.toState),mO(void 0)),this._destroyed=new M,this.onPositionChanged=new Bl,this._modeChanged=new M,this.openedChange.subscribe(e=>{e?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus()}),this._ngZone.runOutsideAngular(()=>{_M(this._elementRef.nativeElement,"keydown").pipe(bh(e=>e.keyCode===aw&&!this.disableClose&&!hw(e)),gM(this._destroyed)).subscribe(e=>this._ngZone.run(()=>{this.close(),e.stopPropagation(),e.preventDefault()}))}),this._animationEnd.pipe(Ux((e,t)=>e.fromState===t.fromState&&e.toState===t.toState)).subscribe(e=>{const{fromState:t,toState:r}=e;(0===r.indexOf("open")&&"void"===t||"void"===r&&0===t.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(e){(e="end"===e?"end":"start")!=this._position&&(this._position=e,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(e){this._disableClose=kw(e)}get autoFocus(){const e=this._autoFocus;return null==e?"side"!==this.mode:e}set autoFocus(e){this._autoFocus=kw(e)}get opened(){return this._opened}set opened(e){this.toggle(kw(e))}_takeFocus(){this.autoFocus&&this._focusTrap&&this._focusTrap.focusInitialElementWhenReady().then(e=>{e||"function"!=typeof this._elementRef.nativeElement.focus||this._elementRef.nativeElement.focus()})}_restoreFocus(){this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null)}_isFocusWithinDrawer(){var e;const t=null===(e=this._doc)||void 0===e?void 0:e.activeElement;return!!t&&this._elementRef.nativeElement.contains(t)}ngAfterContentInit(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState()}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap&&this._focusTrap.destroy(),this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(e){return this.toggle(!0,e)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0)}toggle(e=!this.opened,t){return this._setOpen(e,!e&&this._isFocusWithinDrawer(),t)}_setOpen(e,t,r="program"){return this._opened=e,e?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=r):(this._animationState="void",t&&this._restoreFocus()),this._updateFocusTrapState(),new Promise(e=>{this.openedChange.pipe(Ih(1)).subscribe(t=>e(t?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_animationStartListener(e){this._animationStarted.next(e)}_animationDoneListener(e){this._animationEnd.next(e)}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra(Ww),Ra(tk),Ra($v),Ra(Ec),Ra(ld,8),Ra(AO,8))},e.\u0275cmp=mt({type:e,selectors:[["mat-drawer"]],hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(e,t){1&e&&Ga("@transform.start",(function(e){return t._animationStartListener(e)}))("@transform.done",(function(e){return t._animationDoneListener(e)})),2&e&&(Ea("align",null),Eo("@transform",t._animationState),fo("mat-drawer-end","end"===t.position)("mat-drawer-over","over"===t.mode)("mat-drawer-push","push"===t.mode)("mat-drawer-side","side"===t.mode)("mat-drawer-opened",t.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:gO,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(e,t){1&e&&(eo(),Fa(0,"div",0),to(1),Ha())},encapsulation:2,data:{animation:[DO.transformDrawer]},changeDetection:0}),e})(),PO=(()=>{class e{constructor(e,t,r,n,i,s=!1,a){this._dir=e,this._element=t,this._ngZone=r,this._changeDetectorRef=n,this._animationMode=a,this._drawers=new Ul,this.backdropClick=new Bl,this._destroyed=new M,this._doCheckSubject=new M,this._contentMargins={left:null,right:null},this._contentMarginChanges=new M,e&&e.change.pipe(gM(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),i.change().pipe(gM(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=s}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(e){this._autosize=kw(e)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(e){this._backdropOverride=null==e?null:kw(e)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe(Nh(this._allDrawers),gM(this._destroyed)).subscribe(e=>{this._drawers.reset(e.filter(e=>!e._container||e._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(Nh(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(e=>{this._watchDrawerToggle(e),this._watchDrawerPosition(e),this._watchDrawerMode(e)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe(yw(10),gM(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(e=>e.open())}close(){this._drawers.forEach(e=>e.close())}updateContentMargins(){let e=0,t=0;if(this._left&&this._left.opened)if("side"==this._left.mode)e+=this._left._getWidth();else if("push"==this._left.mode){const r=this._left._getWidth();e+=r,t-=r}if(this._right&&this._right.opened)if("side"==this._right.mode)t+=this._right._getWidth();else if("push"==this._right.mode){const r=this._right._getWidth();t+=r,e-=r}e=e||null,t=t||null,e===this._contentMargins.left&&t===this._contentMargins.right||(this._contentMargins={left:e,right:t},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(e){e._animationStarted.pipe(bh(e=>e.fromState!==e.toState),gM(this._drawers.changes)).subscribe(e=>{"open-instant"!==e.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==e.mode&&e.openedChange.pipe(gM(this._drawers.changes)).subscribe(()=>this._setContainerClass(e.opened))}_watchDrawerPosition(e){e&&e.onPositionChanged.pipe(gM(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe(Ih(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(e){e&&e._modeChanged.pipe(gM(K(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(e){const t=this._element.nativeElement.classList,r="mat-drawer-container-has-open";e?t.add(r):t.remove(r)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(e=>{"end"==e.position?this._end=e:this._start=e}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(e=>e&&!e.disableClose&&this._canHaveBackdrop(e)).forEach(e=>e._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(e){return"side"!==e.mode||!!this._backdropOverride}_isDrawerOpen(e){return null!=e&&e.opened}}return e.\u0275fac=function(t){return new(t||e)(Ra(dk,8),Ra(zo),Ra(Ec),Ra(Zs),Ra(oC),Ra(LO),Ra(Vv,8))},e.\u0275cmp=mt({type:e,selectors:[["mat-drawer-container"]],contentQueries:function(e,t,r){var n;1&e&&(rc(r,EO,!0),rc(r,TO,!0)),2&e&&(Ql(n=sc())&&(t._content=n.first),Ql(n=sc())&&(t._allDrawers=n))},viewQuery:function(e,t){var r;1&e&&ec(EO,!0),2&e&&Ql(r=sc())&&(t._userContent=r.first)},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(e,t){2&e&&fo("mat-drawer-container-explicit-backdrop",t._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[Fo([{provide:AO,useExisting:e}])],ngContentSelectors:wO,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(e,t){1&e&&(eo(vO),Pa(0,yO,1,2,"div",0),to(1),to(2,1),Pa(3,bO,2,0,"mat-drawer-content",1)),2&e&&(Ia("ngIf",t.hasBackdrop),Li(3),Ia("ngIf",!t._content))},directives:[au,EO],styles:[CO],encapsulation:2,changeDetection:0}),e})(),YO=(()=>{class e extends EO{constructor(e,t,r,n,i){super(e,t,r,n,i)}}return e.\u0275fac=function(t){return new(t||e)(Ra(Zs),Ra(Me(()=>IO)),Ra(zo),Ra(sC),Ra(Ec))},e.\u0275cmp=mt({type:e,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(e,t){2&e&&ho("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[ga],ngContentSelectors:gO,decls:1,vars:0,template:function(e,t){1&e&&(eo(),to(0))},encapsulation:2,changeDetection:0}),e})(),RO=(()=>{class e extends TO{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(e){this._fixedInViewport=kw(e)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(e){this._fixedTopGap=Mw(e)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(e){this._fixedBottomGap=Mw(e)}}return e.\u0275fac=function(t){return OO(t||e)},e.\u0275cmp=mt({type:e,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(e,t){2&e&&(Ea("align",null),ho("top",t.fixedInViewport?t.fixedTopGap:null,"px")("bottom",t.fixedInViewport?t.fixedBottomGap:null,"px"),fo("mat-drawer-end","end"===t.position)("mat-drawer-over","over"===t.mode)("mat-drawer-push","push"===t.mode)("mat-drawer-side","side"===t.mode)("mat-drawer-opened",t.opened)("mat-sidenav-fixed",t.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[ga],ngContentSelectors:gO,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(e,t){1&e&&(eo(),Fa(0,"div",0),to(1),Ha())},encapsulation:2,data:{animation:[DO.transformDrawer]},changeDetection:0}),e})();const OO=vn(RO);let IO=(()=>{class e extends PO{}return e.\u0275fac=function(t){return jO(t||e)},e.\u0275cmp=mt({type:e,selectors:[["mat-sidenav-container"]],contentQueries:function(e,t,r){var n;1&e&&(rc(r,YO,!0),rc(r,RO,!0)),2&e&&(Ql(n=sc())&&(t._content=n.first),Ql(n=sc())&&(t._allDrawers=n))},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(e,t){2&e&&fo("mat-drawer-container-explicit-backdrop",t._backdropOverride)},exportAs:["matSidenavContainer"],features:[Fo([{provide:AO,useExisting:e}]),ga],ngContentSelectors:xO,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],["cdkScrollable","",4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"],["cdkScrollable",""]],template:function(e,t){1&e&&(eo(SO),Pa(0,kO,1,2,"div",0),to(1),to(2,1),Pa(3,MO,2,0,"mat-sidenav-content",1)),2&e&&(Ia("ngIf",t.hasBackdrop),Li(3),Ia("ngIf",!t._content))},directives:[au,YO,aC],styles:[CO],encapsulation:2,changeDetection:0}),e})();const jO=vn(IO);let FO=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Mu,bk,Zv,lC],lC,bk]}),e})();const HO=["*",[["mat-toolbar-row"]]],NO=["*","mat-toolbar-row"];class BO{constructor(e){this._elementRef=e}}const zO=wk(BO);let UO=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=vt({type:e,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),e})(),VO=(()=>{class e extends zO{constructor(e,t,r){super(e),this._platform=t,this._document=r}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return e.\u0275fac=function(t){return new(t||e)(Ra(zo),Ra($v),Ra(ld))},e.\u0275cmp=mt({type:e,selectors:[["mat-toolbar"]],contentQueries:function(e,t,r){var n;1&e&&rc(r,UO,!0),2&e&&Ql(n=sc())&&(t._toolbarRows=n)},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,t){2&e&&fo("mat-toolbar-multiple-rows",t._toolbarRows.length>0)("mat-toolbar-single-row",0===t._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[ga],ngContentSelectors:NO,decls:2,vars:0,template:function(e,t){1&e&&(eo(HO),to(0),to(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}\n"],encapsulation:2,changeDetection:0}),e})(),KO=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[bk],bk]}),e})(),WO=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)}}),e})(),qO=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Mu,WO,zx]]}),e})(),GO=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Yk,bk],Yk,bk]}),e})(),$O=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[uk]]}),e})(),ZO=(()=>{class e{constructor(){this.changes=new M,this.optionalLabel="Optional"}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=de({factory:function(){return new e},token:e,providedIn:"root"}),e})();const JO={provide:ZO,deps:[[new ie,new ae,ZO]],useFactory:function(e){return e||new ZO}};let QO=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[JO,Ek],imports:[[bk,Mu,zx,BS,$O,dx,zk],bk]}),e})(),XO=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)}}),e})(),eI=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[XO,bk],bk]}),e})(),tI=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[bk,zk],bk]}),e})(),rI=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[lk,bk],bk]}),e})();const nI=new Fe("mat-chips-default-options"),iI={separatorKeyCodes:[sw]};let sI=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[Ek,{provide:nI,useValue:iI}]}),e})(),aI=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[bk,Mu],bk]}),e})(),oI=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[lD,bk,zx],bk]}),e})(),lI=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[lD,zx,Mu,BS,bk],bk]}),e})(),cI=(()=>{class e{constructor(){this.changes=new M,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(e,t,r)=>{if(0==r||0==t)return"0 of "+r;const n=e*t;return`${n+1} \u2013 ${n<(r=Math.max(r,0))?Math.min(n+t,r):n+t} of ${r}`}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=de({factory:function(){return new e},token:e,providedIn:"root"}),e})();const dI={provide:cI,deps:[[new ie,new ae,cI]],useFactory:function(e){return e||new cI}};let uI=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[dI],imports:[[Mu,BS,PP,uE]]}),e})();var hI=r("wd/R");const fI=r.n(hI).a||hI,mI=new Fe("MAT_MOMENT_DATE_ADAPTER_OPTIONS",{providedIn:"root",factory:function(){return{useUtc:!1}}});function pI(e,t){const r=Array(e);for(let n=0;n{class e extends Dk{constructor(e,t){super(),this._options=t,this.setLocale(e||fI.locale())}setLocale(e){super.setLocale(e);let t=fI.localeData(e);this._localeData={firstDayOfWeek:t.firstDayOfWeek(),longMonths:t.months(),shortMonths:t.monthsShort(),dates:pI(31,e=>this.createDate(2017,0,e+1).format("D")),longDaysOfWeek:t.weekdays(),shortDaysOfWeek:t.weekdaysShort(),narrowDaysOfWeek:t.weekdaysMin()}}getYear(e){return this.clone(e).year()}getMonth(e){return this.clone(e).month()}getDate(e){return this.clone(e).date()}getDayOfWeek(e){return this.clone(e).day()}getMonthNames(e){return"long"==e?this._localeData.longMonths:this._localeData.shortMonths}getDateNames(){return this._localeData.dates}getDayOfWeekNames(e){return"long"==e?this._localeData.longDaysOfWeek:"short"==e?this._localeData.shortDaysOfWeek:this._localeData.narrowDaysOfWeek}getYearName(e){return this.clone(e).format("YYYY")}getFirstDayOfWeek(){return this._localeData.firstDayOfWeek}getNumDaysInMonth(e){return this.clone(e).daysInMonth()}clone(e){return e.clone().locale(this.locale)}createDate(e,t,r){const n=this._createMoment({year:e,month:t,date:r}).locale(this.locale);return n.isValid(),n}today(){return this._createMoment().locale(this.locale)}parse(e,t){return e&&"string"==typeof e?this._createMoment(e,t,this.locale):e?this._createMoment(e).locale(this.locale):null}format(e,t){return e=this.clone(e),this.isValid(e),e.format(t)}addCalendarYears(e,t){return this.clone(e).add({years:t})}addCalendarMonths(e,t){return this.clone(e).add({months:t})}addCalendarDays(e,t){return this.clone(e).add({days:t})}toIso8601(e){return this.clone(e).format()}deserialize(e){let t;if(e instanceof Date)t=this._createMoment(e).locale(this.locale);else if(this.isDateInstance(e))return this.clone(e);if("string"==typeof e){if(!e)return null;t=this._createMoment(e,fI.ISO_8601).locale(this.locale)}return t&&this.isValid(t)?this._createMoment(t).locale(this.locale):super.deserialize(e)}isDateInstance(e){return fI.isMoment(e)}isValid(e){return this.clone(e).isValid()}invalid(){return fI.invalid()}_createMoment(e,t,r){const{strict:n,useUtc:i}=this._options||{};return i?fI.utc(e,t,r,n):fI(e,t,r,n)}}return e.\u0275fac=function(t){return new(t||e)($e(Ck,8),$e(mI,8))},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})(),gI=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[{provide:Dk,useClass:_I,deps:[Ck,mI]}]}),e})();const yI={parse:{dateInput:"l"},display:{dateInput:"l",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}};let bI=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[{provide:Lk,useValue:yI}],imports:[[gI]]}),e})(),vI=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[zE]]}),e})(),wI=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[zE]]}),e})(),kI=(()=>{class e{constructor(e,t){xu(t)&&!e&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(t,r=[]){return{ngModule:e,providers:t.serverLoaded?[{provide:WE,useValue:Object.assign(Object.assign({},KE),t)},{provide:GE,useValue:r,multi:!0},{provide:qE,useValue:!0}]:[{provide:WE,useValue:Object.assign(Object.assign({},KE),t)},{provide:GE,useValue:r,multi:!0}]}}}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)($e(qE),$e(pc))},imports:[[lP,vI,wI],lP,vI,wI]}),e})(),MI=(()=>{class e{}return e.\u0275mod=yt({type:e}),e.\u0275inj=ue({factory:function(t){return new(t||e)},imports:[[Mu,zR,VR,PY,rS,yS,KR,PP,WR,PS,fO,FO,KO,pM,HD,qO,GO,rL,QO,CC,eI,BS,tI,rI,sI,dx,aI,kx,zk,oI,ED,lI,uE,uI,SA,lA,bI,kI],zR,VR,PY,rS,yS,KR,PP,WR,PS,fO,FO,KO,pM,HD,qO,GO,rL,QO,CC,eI,BS,tI,rI,sI,dx,aI,kx,zk,oI,ED,lI,uE,uI,SA,lA,kI]}),e})();function SI(e,t){1&e&&(Fa(0,"button",20),Fa(1,"mat-icon"),xo(2,"language"),Ha(),Fa(3,"mat-icon"),xo(4,"arrow_drop_down"),Ha(),Ha()),2&e&&(Qa(),Ia("matMenuTriggerFor",Ya(11)))}function xI(e,t){if(1&e){const e=Va();Fa(0,"a",21),qa("click",(function(){or(e);const r=t.$implicit;return Qa().setLocale(r)})),xo(1),Il(2,"i18n"),Ha()}if(2&e){const e=t.$implicit;Li(1),Co(jl(2,1,"locale."+e+".long"))}}function CI(e,t){1&e&&(Fa(0,"a",22),Fa(1,"mat-icon"),xo(2,"login"),Ha(),xo(3),Il(4,"i18n"),Ha()),2&e&&(Li(3),Do(" ",jl(4,1,"login")," "))}function DI(e,t){1&e&&(Fa(0,"a",23),Fa(1,"mat-icon"),xo(2,"account_circle"),Ha(),xo(3),Il(4,"i18n"),Ha()),2&e&&(Li(3),Do(" ",jl(4,1,"account")," "))}function LI(e,t){1&e&&(Fa(0,"a",24),Fa(1,"mat-icon"),xo(2,"widgets"),Ha(),xo(3),Il(4,"i18n"),Ha()),2&e&&(Li(3),Do(" ",jl(4,1,"services")," "))}function AI(e,t){if(1&e){const e=Va();Fa(0,"a",25),qa("click",(function(){return or(e),Qa().logout()})),Fa(1,"mat-icon"),xo(2,"exit_to_app"),Ha(),xo(3),Il(4,"i18n"),Ha()}2&e&&(Li(3),Do(" ",jl(4,1,"logout")," "))}let EI=(()=>{class e{constructor(e,t,r,n,i,s){this.i18n=e,this.authService=t,this.router=r,this.iconRegistry=n,this.sanitizer=i,this._adapter=s,this.opened=!0,this.title="we.bstly",this.currentLocale=this.i18n.getLocale(),this.locales=this.i18n.getLocales(),this.authService.auth.subscribe(e=>{this.auth=e}),this._adapter.setLocale(this.currentLocale),n.addSvgIcon("logo",i.bypassSecurityTrustResourceUrl("assets/icons/logo.svg"))}ngOnInit(){const e=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;this.opened=!(e<768)}setLocale(e){localStorage.setItem("bstly.locale",e),window.location.reload()}logout(){this.authService.logout().subscribe(e=>{this.router.navigate([""]).then(()=>{window.location.reload()})})}isBiggerScreen(){return!((window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth)<768)}onResize(e){this.opened=!(e.target.innerWidth<768)}}return e.\u0275fac=function(t){return new(t||e)(Ra(D_),Ra(w_),Ra(bp),Ra(ex),Ra(eh),Ra(Dk))},e.\u0275cmp=mt({type:e,selectors:[["app-root"]],hostBindings:function(e,t){1&e&&qa("resize",(function(e){return t.onResize(e)}),!1,Xr)},decls:44,vars:20,consts:[["color","primary"],["href","javascript:","mat-icon-button",""],[3,"click"],["svgIcon","logo"],[1,"spacer"],["mat-button","",3,"matMenuTriggerFor",4,"ngIf"],["menu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],[3,"mode","opened","openedChange","click"],["sidenav",""],["routerLink","/login","routerLinkActive","active","mat-list-item","",4,"ngIf"],["routerLink","/account/info","routerLinkActive","active","mat-list-item","",4,"ngIf"],["routerLink","/services","routerLinkActive","active","mat-list-item","",4,"ngIf"],["routerLink","/tokens","mat-list-item",""],["href","https://token.bstly.de","target","_blank","mat-list-item",""],[2,"font-size","1em"],["mat-list-item","",3,"click",4,"ngIf"],["routerLink","/imprint","mat-list-item","",2,"font-size","0.7em"],["routerLink","/privacy-policy","mat-list-item","",2,"font-size","0.7em"],[1,"container"],["mat-button","",3,"matMenuTriggerFor"],["mat-menu-item","",3,"click"],["routerLink","/login","routerLinkActive","active","mat-list-item",""],["routerLink","/account/info","routerLinkActive","active","mat-list-item",""],["routerLink","/services","routerLinkActive","active","mat-list-item",""],["mat-list-item","",3,"click"]],template:function(e,t){if(1&e){const e=Va();Fa(0,"mat-toolbar",0),Fa(1,"a",1),Fa(2,"mat-icon",2),qa("click",(function(){return or(e),Ya(15).toggle()})),xo(3,"menu"),Ha(),Ha(),Na(4,"mat-icon",3),Fa(5,"span"),xo(6," we.bstly "),Ha(),Na(7,"span",4),Ba(8),Pa(9,SI,5,1,"button",5),Fa(10,"mat-menu",null,6),Pa(12,xI,3,3,"a",7),Ha(),za(),Ha(),Fa(13,"mat-sidenav-container"),Fa(14,"mat-sidenav",8,9),qa("openedChange",(function(e){return t.opened=e}))("click",(function(){return!t.isBiggerScreen()&&(t.opened=!1)})),Fa(16,"mat-nav-list"),Pa(17,CI,5,3,"a",10),Pa(18,DI,5,3,"a",11),Pa(19,LI,5,3,"a",12),Fa(20,"a",13),Fa(21,"mat-icon"),xo(22,"card_giftcard"),Ha(),xo(23),Il(24,"i18n"),Ha(),Fa(25,"a",14),Fa(26,"mat-icon"),xo(27,"shopping_cart"),Ha(),xo(28),Il(29,"i18n"),Fa(30,"mat-icon",15),xo(31,"open_in_new "),Ha(),Ha(),Pa(32,AI,5,3,"a",16),Ha(),Na(33,"span",4),Fa(34,"mat-nav-list"),Fa(35,"a",17),xo(36),Il(37,"i18n"),Ha(),Fa(38,"a",18),xo(39),Il(40,"i18n"),Ha(),Ha(),Ha(),Fa(41,"mat-sidenav-content"),Fa(42,"div",19),Na(43,"router-outlet"),Ha(),Ha(),Ha()}2&e&&(Li(9),Ia("ngIf",t.locales.length>1),Li(3),Ia("ngForOf",t.locales),Li(2),Ia("mode",t.isBiggerScreen()?"side":"over")("opened",t.opened),Li(3),Ia("ngIf",!t.auth||t.auth&&!t.auth.authenticated),Li(1),Ia("ngIf",t.auth&&t.auth.authenticated),Li(1),Ia("ngIf",t.auth&&t.auth.authenticated),Li(4),Do(" ",jl(24,12,"tokens.redeem")," "),Li(5),Do(" ",jl(29,14,"tokens.get"),""),Li(4),Ia("ngIf",t.auth&&t.auth.authenticated),Li(4),Do(" ",jl(37,16,"imprint")," "),Li(3),Do(" ",jl(40,18,"privacy-policy")," "))},directives:[VO,NS,cx,au,oO,iu,IO,RO,ZD,wp,tL,YO,Sp,HS,uO,tO,Mp],pipes:[zS],styles:[""]}),e})();function TI(e){return()=>e.fetch(e.getLocale()).then(e=>{},e=>{})}let PI=(()=>{class e{intercept(e,t){const r=e.clone({headers:e.headers.set("X-Requested-With","XMLHttpRequest").set("Content-Type","application/json;charset=UTF-8"),withCredentials:!0});return t.handle(r)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=de({token:e,factory:e.\u0275fac}),e})(),YI=(()=>{class e{}return e.\u0275mod=yt({type:e,bootstrap:[EI]}),e.\u0275inj=ue({factory:function(t){return new(t||e)},providers:[{provide:cc,useFactory:TI,deps:[D_],multi:!0},{provide:o_,useClass:PI,multi:!0}],imports:[[ih,IR,qv,MI,v_,iy,sy,$A],MI]}),e})();(function(){if(On)throw new Error("Cannot enable prod mode after platform setup.");Rn=!1})(),rh().bootstrapModule(YI).catch(e=>console.error(e))},zn8P:function(e,t){function r(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}r.keys=function(){return[]},r.resolve=r,e.exports=r,r.id="zn8P"},zx6S:function(e,t,r){!function(e){"use strict";var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,r,n){var i=t.words[n];return 1===n.length?r?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}};e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(r("wd/R"))}},[[0,0]]]); \ No newline at end of file diff --git a/src/environments/environment.prod.ts b/src/environments/environment.prod.ts index bb5e44b..805c0c2 100644 --- a/src/environments/environment.prod.ts +++ b/src/environments/environment.prod.ts @@ -1,4 +1,4 @@ export const environment = { production: true, - apiUrl : 'https://api.mig.bstly.de' + apiUrl : 'https://api.bstly.de' };