(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"010e":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.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}});return e}))},"0135":function(t,e,r){"use strict";var n=r("c964");r.d(e,"a",(function(){return n["a"]}));var i=r("2487");r.d(e,"b",(function(){return i["a"]}));var o=r("acd6");r.d(e,"c",(function(){return o["a"]}));n["a"],i["a"],o["a"]},"0160":function(t,e,r){},"01b1":function(t,e,r){"use strict";var n=e;n.Service=r("807e")},"0246":function(t,e,r){"use strict";r.r(e),r.d(e,"linear",(function(){return n})),r.d(e,"easeInQuad",(function(){return i})),r.d(e,"easeOutQuad",(function(){return o})),r.d(e,"easeInOutQuad",(function(){return a})),r.d(e,"easeInCubic",(function(){return s})),r.d(e,"easeOutCubic",(function(){return u})),r.d(e,"easeInOutCubic",(function(){return c})),r.d(e,"easeInQuart",(function(){return l})),r.d(e,"easeOutQuart",(function(){return h})),r.d(e,"easeInOutQuart",(function(){return f})),r.d(e,"easeInQuint",(function(){return d})),r.d(e,"easeOutQuint",(function(){return p})),r.d(e,"easeInOutQuint",(function(){return m}));const n=t=>t,i=t=>t**2,o=t=>t*(2-t),a=t=>t<.5?2*t**2:(4-2*t)*t-1,s=t=>t**3,u=t=>--t**3+1,c=t=>t<.5?4*t**3:(t-1)*(2*t-2)*(2*t-2)+1,l=t=>t**4,h=t=>1- --t**4,f=t=>t<.5?8*t*t*t*t:1-8*--t*t*t*t,d=t=>t**5,p=t=>1+--t**5,m=t=>t<.5?16*t**5:1+16*--t**5},"02f0":function(t,e,r){},"02fb":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".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:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(t,e){return 12===t&&(t=0),"രാത്രി"===e&&t>=4||"ഉച്ച കഴിഞ്ഞ്"===e||"വൈകുന്നേരം"===e?t+12:t},meridiem:function(t,e,r){return t<4?"രാത്രി":t<12?"രാവിലെ":t<17?"ഉച്ച കഴിഞ്ഞ്":t<20?"വൈകുന്നേരം":"രാത്രി"}});return e}))},"031b":function(t,e,r){"use strict";function n(t){var e=t.match(/\s*(.+)\s*=\s*"?([^"]+)"?/);return e?{key:e[1],value:e[2]}:null}function i(t){var e=t.match(/<?([^>]*)>(.*)/);if(!e)return null;var r=e[1],i=e[2].split(";"),o=null,a=i.reduce((function(t,e){var r=n(e);return r?"rel"===r.key?(o||(o=r.value),t):(t[r.key]=r.value,t):t}),{});return o?{url:r,rel:o,params:a}:null}function o(t){return t?t.split(/,\s*</).reduce((function(t,e){var r=i(e);if(!r)return t;var n=r.rel.split(/\s+/);return n.forEach((function(e){t[e]||(t[e]={url:r.url,params:r.params})})),t}),{}):{}}t.exports=o},"0393":function(t,e,r){"use strict";r("210b");var n=r("604c"),i=r("d9bd");e["a"]=n["a"].extend({name:"v-expansion-panels",provide(){return{expansionPanels:this}},props:{accordion:Boolean,disabled:Boolean,flat:Boolean,hover:Boolean,focusable:Boolean,inset:Boolean,popout:Boolean,readonly:Boolean,tile:Boolean},computed:{classes(){return{...n["a"].options.computed.classes.call(this),"v-expansion-panels":!0,"v-expansion-panels--accordion":this.accordion,"v-expansion-panels--flat":this.flat,"v-expansion-panels--hover":this.hover,"v-expansion-panels--focusable":this.focusable,"v-expansion-panels--inset":this.inset,"v-expansion-panels--popout":this.popout,"v-expansion-panels--tile":this.tile}}},created(){this.$attrs.hasOwnProperty("expand")&&Object(i["a"])("expand","multiple",this),Array.isArray(this.value)&&this.value.length>0&&"boolean"===typeof this.value[0]&&Object(i["a"])(':value="[true, false, true]"',':value="[0, 2]"',this)},methods:{updateItem(t,e){const r=this.getValue(t,e),n=this.getValue(t,e+1);t.isActive=this.toggleMethod(r),t.nextIsActive=this.toggleMethod(n)}}})},"03a4":function(t,e,r){"use strict";r("bb18");var n=r("8dd9"),i=(r("7863"),r("ba0d")),o=r("7bc6"),a=r("2b0e"),s=r("2e05"),u=a["default"].extend({name:"v-color-picker-preview",props:{color:Object,disabled:Boolean,hideAlpha:Boolean},methods:{genAlpha(){return this.genTrack({staticClass:"v-color-picker__alpha",props:{thumbColor:"grey lighten-2",hideDetails:!0,value:this.color.alpha,step:0,min:0,max:1},style:{backgroundImage:this.disabled?void 0:`linear-gradient(to ${this.$vuetify.rtl?"left":"right"}, transparent, ${Object(o["i"])(this.color.rgba)})`},on:{input:t=>this.color.alpha!==t&&this.$emit("update:color",Object(s["c"])({...this.color.hsva,a:t}))}})},genSliders(){return this.$createElement("div",{staticClass:"v-color-picker__sliders"},[this.genHue(),!this.hideAlpha&&this.genAlpha()])},genDot(){return this.$createElement("div",{staticClass:"v-color-picker__dot"},[this.$createElement("div",{style:{background:Object(o["f"])(this.color.rgba)}})])},genHue(){return this.genTrack({staticClass:"v-color-picker__hue",props:{thumbColor:"grey lighten-2",hideDetails:!0,value:this.color.hue,step:0,min:0,max:360},on:{input:t=>this.color.hue!==t&&this.$emit("update:color",Object(s["c"])({...this.color.hsva,h:t}))}})},genTrack(t){return this.$createElement(i["a"],{class:"v-color-picker__track",...t,props:{disabled:this.disabled,...t.props}})}},render(t){return t("div",{staticClass:"v-color-picker__preview",class:{"v-color-picker__preview--hide-alpha":this.hideAlpha}},[this.genDot(),this.genSliders()])}}),c=r("ab50"),l=(r("9f7f"),r("afdd")),h=r("9d26");const f={rgba:{inputs:[["r",255,"int"],["g",255,"int"],["b",255,"int"],["a",1,"float"]],from:s["f"]},hsla:{inputs:[["h",360,"int"],["s",1,"float"],["l",1,"float"],["a",1,"float"]],from:s["b"]},hexa:{from:s["e"]}};var d=a["default"].extend({name:"v-color-picker-edit",props:{color:Object,disabled:Boolean,hideAlpha:Boolean,hideModeSwitch:Boolean,mode:{type:String,default:"rgba",validator:t=>Object.keys(f).includes(t)}},data(){return{modes:f,internalMode:this.mode}},computed:{currentMode(){return this.modes[this.internalMode]}},watch:{mode(t){this.internalMode=t}},created(){this.internalMode=this.mode},methods:{getValue(t,e){return"float"===e?Math.round(100*t)/100:"int"===e?Math.round(t):0},parseValue(t,e){return"float"===e?parseFloat(t):"int"===e&&parseInt(t,10)||0},changeMode(){const t=Object.keys(this.modes),e=t.indexOf(this.internalMode),r=t[(e+1)%t.length];this.internalMode=r,this.$emit("update:mode",r)},genInput(t,e,r,n){return this.$createElement("div",{staticClass:"v-color-picker__input"},[this.$createElement("input",{key:t,attrs:e,domProps:{value:r},on:n}),this.$createElement("span",t.toUpperCase())])},genInputs(){if("hexa"===this.internalMode){const t=this.color.hexa,e=this.hideAlpha&&t.endsWith("FF")?t.substr(0,7):t;return this.genInput("hex",{maxlength:this.hideAlpha?7:9,disabled:this.disabled},e,{change:t=>{const e=t.target;this.$emit("update:color",this.currentMode.from(Object(o["o"])(e.value)))}})}{const t=this.hideAlpha?this.currentMode.inputs.slice(0,-1):this.currentMode.inputs;return t.map(([t,e,r])=>{const n=this.color[this.internalMode];return this.genInput(t,{type:"number",min:0,max:e,step:"float"===r?"0.01":"int"===r?"1":void 0,disabled:this.disabled},this.getValue(n[t],r),{input:e=>{const i=e.target,o=this.parseValue(i.value||"0",r);this.$emit("update:color",this.currentMode.from(Object.assign({},n,{[t]:o}),this.color.alpha))}})})}},genSwitch(){return this.$createElement(l["b"],{props:{small:!0,icon:!0,disabled:this.disabled},on:{click:this.changeMode}},[this.$createElement(h["b"],"$unfold")])}},render(t){return t("div",{staticClass:"v-color-picker__edit"},[this.genInputs(),!this.hideModeSwitch&&this.genSwitch()])}}),p=r("fe98"),m=r("58df"),g=r("80d2"),y=r("c995"),v=r("7560");e["a"]=Object(m["a"])(y["a"],v["a"]).extend({name:"v-color-picker",props:{canvasHeight:{type:[String,Number],default:150},disabled:Boolean,dotSize:{type:[Number,String],default:10},flat:Boolean,hideCanvas:Boolean,hideSliders:Boolean,hideInputs:Boolean,hideModeSwitch:Boolean,mode:{type:String,default:"rgba",validator:t=>Object.keys(f).includes(t)},showSwatches:Boolean,swatches:Array,swatchesMaxHeight:{type:[Number,String],default:150},value:{type:[Object,String]},width:{type:[Number,String],default:300}},data:()=>({internalValue:Object(s["f"])({r:255,g:0,b:0,a:1})}),computed:{hideAlpha(){return!!this.value&&!Object(s["g"])(this.value)}},watch:{value:{handler(t){this.updateColor(Object(s["h"])(t,this.internalValue))},immediate:!0}},methods:{updateColor(t){this.internalValue=t;const e=Object(s["a"])(this.internalValue,this.value);Object(g["m"])(e,this.value)||(this.$emit("input",e),this.$emit("update:color",this.internalValue))},genCanvas(){return this.$createElement(c["a"],{props:{color:this.internalValue,disabled:this.disabled,dotSize:this.dotSize,width:this.width,height:this.canvasHeight},on:{"update:color":this.updateColor}})},genControls(){return this.$createElement("div",{staticClass:"v-color-picker__controls"},[!this.hideSliders&&this.genPreview(),!this.hideInputs&&this.genEdit()])},genEdit(){return this.$createElement(d,{props:{color:this.internalValue,disabled:this.disabled,hideAlpha:this.hideAlpha,hideModeSwitch:this.hideModeSwitch,mode:this.mode},on:{"update:color":this.updateColor,"update:mode":t=>this.$emit("update:mode",t)}})},genPreview(){return this.$createElement(u,{props:{color:this.internalValue,disabled:this.disabled,hideAlpha:this.hideAlpha},on:{"update:color":this.updateColor}})},genSwatches(){return this.$createElement(p["a"],{props:{dark:this.dark,light:this.light,disabled:this.disabled,swatches:this.swatches,color:this.internalValue,maxHeight:this.swatchesMaxHeight},on:{"update:color":this.updateColor}})}},render(t){return t(n["a"],{staticClass:"v-color-picker",class:{"v-color-picker--flat":this.flat,...this.themeClasses,...this.elevationClasses},props:{maxWidth:this.width}},[!this.hideCanvas&&this.genCanvas(),(!this.hideSliders||!this.hideInputs)&&this.genControls(),this.showSwatches&&this.genSwatches()])}})},"03ec":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(t){var e=/сехет$/i.exec(t)?"рен":/ҫул$/i.exec(t)?"тан":"ран";return t+e},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}});return e}))},"0446":function(t,e,r){"use strict";function n(t,e,r){var n=r||8192,i=n>>>1,o=null,a=n;return function(r){if(r<1||r>i)return t(r);a+r>n&&(o=t(n),a=0);var s=e.call(o,a,a+=r);return 7&a&&(a=1+(7|a)),s}}t.exports=n},"0467":function(t,e,r){},"04d9":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1ec9"),i=r("2a12");const o=n.configure(t=>{async function e(e={}){const r=await t.post("shutdown",{signal:e.signal,searchParams:i.toUrlSearchParams(e),headers:e.headers});await r.text()}return e});e.createStop=o},"0553":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("fb86"),i=r("1ec9"),o=r("2a12");const a=i.configure(t=>{async function e(e,r={}){const i=await t.post("object/data",{signal:r.signal,searchParams:o.toUrlSearchParams({arg:""+(e instanceof Uint8Array?n.CID.decode(e):e),...r}),headers:r.headers}),a=await i.arrayBuffer();return new Uint8Array(a,0,a.byteLength)}return e});e.createData=a},"0558":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
function e(t){return t%100===11||t%10!==1}function r(t,r,n,i){var o=t+" ";switch(n){case"s":return r||i?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return e(t)?o+(r||i?"sekúndur":"sekúndum"):o+"sekúnda";case"m":return r?"mínúta":"mínútu";case"mm":return e(t)?o+(r||i?"mínútur":"mínútum"):r?o+"mínúta":o+"mínútu";case"hh":return e(t)?o+(r||i?"klukkustundir":"klukkustundum"):o+"klukkustund";case"d":return r?"dagur":i?"dag":"degi";case"dd":return e(t)?r?o+"dagar":o+(i?"daga":"dögum"):r?o+"dagur":o+(i?"dag":"degi");case"M":return r?"mánuður":i?"mánuð":"mánuði";case"MM":return e(t)?r?o+"mánuðir":o+(i?"mánuði":"mánuðum"):r?o+"mánuður":o+(i?"mánuð":"mánuði");case"y":return r||i?"ár":"ári";case"yy":return e(t)?o+(r||i?"ár":"árum"):o+(r||i?"ár":"ári")}}var n=t.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_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:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",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}});return n}))},"062f":function(t,e,r){"use strict";var n=r("47f5");t.exports=n,"undefined"!==typeof window&&(window.Suggestions=n)},"064a":function(t,e,r){"use strict";t.exports={}},"0721":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.defineLocale("fo",{months:"januar_februar_mars_apríl_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ánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_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:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return e}))},"0789":function(t,e,r){"use strict";r.d(e,"b",(function(){return c})),r.d(e,"a",(function(){return l})),r.d(e,"u",(function(){return h})),r.d(e,"t",(function(){return f})),r.d(e,"j",(function(){return d})),r.d(e,"h",(function(){return p})),r.d(e,"e",(function(){return m})),r.d(e,"c",(function(){return g})),r.d(e,"d",(function(){return y})),r.d(e,"i",(function(){return v})),r.d(e,"k",(function(){return b})),r.d(e,"m",(function(){return _})),r.d(e,"l",(function(){return w})),r.d(e,"o",(function(){return x})),r.d(e,"n",(function(){return k})),r.d(e,"q",(function(){return S})),r.d(e,"p",(function(){return E})),r.d(e,"s",(function(){return M})),r.d(e,"r",(function(){return A})),r.d(e,"f",(function(){return T})),r.d(e,"g",(function(){return C}));var n=r("d9f7");function i(t=[],...e){return Array().concat(t,...e)}function o(t,e="top center 0",r){return{name:t,functional:!0,props:{group:{type:Boolean,default:!1},hideOnLeave:{type:Boolean,default:!1},leaveAbsolute:{type:Boolean,default:!1},mode:{type:String,default:r},origin:{type:String,default:e}},render(e,r){const o="transition"+(r.props.group?"-group":""),a={props:{name:t,mode:r.props.mode},on:{beforeEnter(t){t.style.transformOrigin=r.props.origin,t.style.webkitTransformOrigin=r.props.origin}}};return r.props.leaveAbsolute&&(a.on.leave=i(a.on.leave,t=>{const{offsetTop:e,offsetLeft:r,offsetWidth:n,offsetHeight:i}=t;t._transitionInitialStyles={position:t.style.position,top:t.style.top,left:t.style.left,width:t.style.width,height:t.style.height},t.style.position="absolute",t.style.top=e+"px",t.style.left=r+"px",t.style.width=n+"px",t.style.height=i+"px"}),a.on.afterLeave=i(a.on.afterLeave,t=>{if(t&&t._transitionInitialStyles){const{position:e,top:r,left:n,width:i,height:o}=t._transitionInitialStyles;delete t._transitionInitialStyles,t.style.position=e||"",t.style.top=r||"",t.style.left=n||"",t.style.width=i||"",t.style.height=o||""}})),r.props.hideOnLeave&&(a.on.leave=i(a.on.leave,t=>{t.style.setProperty("display","none","important")})),e(o,Object(n["a"])(r.data,a),r.children)}}}function a(t,e,r="in-out"){return{name:t,functional:!0,props:{mode:{type:String,default:r}},render(r,i){return r("transition",Object(n["a"])(i.data,{props:{name:t},on:e}),i.children)}}}var s=r("80d2"),u=function(t="",e=!1){const r=e?"width":"height",n="offset"+Object(s["J"])(r);return{beforeEnter(t){t._parent=t.parentNode,t._initialStyle={transition:t.style.transition,overflow:t.style.overflow,[r]:t.style[r]}},enter(e){const i=e._initialStyle;e.style.setProperty("transition","none","important"),e.style.overflow="hidden";const o=e[n]+"px";e.style[r]="0",e.offsetHeight,e.style.transition=i.transition,t&&e._parent&&e._parent.classList.add(t),requestAnimationFrame(()=>{e.style[r]=o})},afterEnter:o,enterCancelled:o,leave(t){t._initialStyle={transition:"",overflow:t.style.overflow,[r]:t.style[r]},t.style.overflow="hidden",t.style[r]=t[n]+"px",t.offsetHeight,requestAnimationFrame(()=>t.style[r]="0")},afterLeave:i,leaveCancelled:i};function i(e){t&&e._parent&&e._parent.classList.remove(t),o(e)}function o(t){const e=t._initialStyle[r];t.style.overflow=t._initialStyle.overflow,null!=e&&(t.style[r]=e),delete t._initialStyle}};const c=o("carousel-transition"),l=o("carousel-reverse-transition"),h=o("tab-transition"),f=o("tab-reverse-transition"),d=o("menu-transition"),p=o("fab-transition","center center","out-in"),m=o("dialog-transition"),g=o("dialog-bottom-transition"),y=o("dialog-top-transition"),v=o("fade-transition"),b=o("scale-transition"),_=o("scroll-x-transition"),w=o("scroll-x-reverse-transition"),x=o("scroll-y-transition"),k=o("scroll-y-reverse-transition"),S=o("slide-x-transition"),E=o("slide-x-reverse-transition"),M=o("slide-y-transition"),A=o("slide-y-reverse-transition"),T=a("expand-transition",u()),C=a("expand-x-transition",u("",!0))},"0798":function(t,e,r){"use strict";r("0c18");var n=r("10d2"),i=r("afdd"),o=r("9d26"),a=r("f2e7"),s=r("7560"),u=r("f40d"),c=r("58df"),l=r("d9bd"),h=r("80d2");e["a"]=Object(c["a"])(n["b"],a["a"],u["a"]).extend({name:"v-alert",props:{border:{type:String,validator(t){return["top","right","bottom","left"].includes(t)}},closeLabel:{type:String,default:"$vuetify.close"},coloredBorder:Boolean,dense:Boolean,dismissible:Boolean,closeIcon:{type:String,default:"$cancel"},icon:{default:"",type:[Boolean,String],validator(t){return"string"===typeof t||!1===t}},outlined:Boolean,prominent:Boolean,text:Boolean,type:{type:String,validator(t){return["info","error","success","warning"].includes(t)}},value:{type:Boolean,default:!0}},computed:{__cachedBorder(){if(!this.border)return null;let t={staticClass:"v-alert__border",class:{["v-alert__border--"+this.border]:!0}};return this.coloredBorder&&(t=this.setBackgroundColor(this.computedColor,t),t.class["v-alert__border--has-color"]=!0),this.$createElement("div",t)},__cachedDismissible(){if(!this.dismissible)return null;const t=this.iconColor;return this.$createElement(i["b"],{staticClass:"v-alert__dismissible",props:{color:t,icon:!0,small:!0},attrs:{"aria-label":this.$vuetify.lang.t(this.closeLabel)},on:{click:()=>this.isActive=!1}},[this.$createElement(o["b"],{props:{color:t}},this.closeIcon)])},__cachedIcon(){return this.computedIcon?this.$createElement(o["b"],{staticClass:"v-alert__icon",props:{color:this.iconColor}},this.computedIcon):null},classes(){const t={...n["b"].options.computed.classes.call(this),"v-alert--border":Boolean(this.border),"v-alert--dense":this.dense,"v-alert--outlined":this.outlined,"v-alert--prominent":this.prominent,"v-alert--text":this.text};return this.border&&(t["v-alert--border-"+this.border]=!0),t},computedColor(){return this.color||this.type},computedIcon(){return!1!==this.icon&&("string"===typeof this.icon&&this.icon?this.icon:!!["error","info","success","warning"].includes(this.type)&&"$"+this.type)},hasColoredIcon(){return this.hasText||Boolean(this.border)&&this.coloredBorder},hasText(){return this.text||this.outlined},iconColor(){return this.hasColoredIcon?this.computedColor:void 0},isDark(){return!(!this.type||this.coloredBorder||this.outlined)||s["a"].options.computed.isDark.call(this)}},created(){this.$attrs.hasOwnProperty("outline")&&Object(l["a"])("outline","outlined",this)},methods:{genWrapper(){const t=[Object(h["u"])(this,"prepend")||this.__cachedIcon,this.genContent(),this.__cachedBorder,Object(h["u"])(this,"append"),this.$scopedSlots.close?this.$scopedSlots.close({toggle:this.toggle}):this.__cachedDismissible],e={staticClass:"v-alert__wrapper"};return this.$createElement("div",e,t)},genContent(){return this.$createElement("div",{staticClass:"v-alert__content"},Object(h["u"])(this))},genAlert(){let t={staticClass:"v-alert",attrs:{role:"alert"},on:this.listeners$,class:this.classes,style:this.styles,directives:[{name:"show",value:this.isActive}]};if(!this.coloredBorder){const e=this.hasText?this.setTextColor:this.setBackgroundColor;t=e(this.computedColor,t)}return this.$createElement("div",t,[this.genWrapper()])},toggle(){this.isActive=!this.isActive}},render(t){const e=this.genAlert();return this.transition?t("transition",{props:{name:this.transition,origin:this.origin,mode:this.mode}},[e]):e}})},"079e":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"令和",narrow:"㋿",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"平成",narrow:"㍻",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"昭和",narrow:"㍼",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"大正",narrow:"㍽",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"明治",narrow:"㍾",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"西暦",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"紀元前",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(元|\d+)年/,eraYearOrdinalParse:function(t,e){return"元"===e[1]?1:parseInt(e[1]||t,10)},months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(t){return"午後"===t},meridiem:function(t,e,r){return t<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(t){return t.week()!==this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(t){return this.week()!==t.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(t,e){switch(e){case"y":return 1===t?"元年":t+"年";case"d":case"D":case"DDD":return t+"日";default:return t}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}});return e}))},"08e3":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1169"),i=r("1ec9"),o=r("2a12");const a=i.configure(t=>{async function e(e={}){const r=await t.post("name/pubsub/state",{signal:e.signal,searchParams:o.toUrlSearchParams(e),headers:e.headers});return n.objectToCamel(await r.json())}return e});e.createState=a},"093a":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("99c3"),i=r("9975"),o=r("1ec9");function a(t){return t&&"object"===typeof t&&"default"in t?t:{default:t}}var s=a(i);function u(t){const e=n.createAddAll(t);return o.configure(()=>{async function t(t,r={}){return await s["default"](e(t,r))}return t})(t)}e.createAdd=u},"0a3c":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e="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,o=t.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,n){return t?/-MMM-/.test(n)?r[t.month()]:e[t.month()]:e},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ércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".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ñana 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ía",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return o}))},"0a84":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".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:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}});return e}))},"0ad3":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1755"),i=r("b92d"),o=r("7cf7"),a=r("a4cc"),s=r("83ec"),u=r("e80e"),c=r("d6fc"),l=r("68c3"),h=r("237f"),f=r("ac23"),d=r("3ef0");function p(t,e,r){throw new Error(`${f.decodeErrPrefix} encountered invalid minor (${r}) for major ${t[e]>>>5}`)}function m(t){return()=>{throw new Error(`${f.decodeErrPrefix} ${t}`)}}const g=[];for(let b=0;b<=23;b++)g[b]=p;g[24]=i.decodeUint8,g[25]=i.decodeUint16,g[26]=i.decodeUint32,g[27]=i.decodeUint64,g[28]=p,g[29]=p,g[30]=p,g[31]=p;for(let b=32;b<=55;b++)g[b]=p;g[56]=o.decodeNegint8,g[57]=o.decodeNegint16,g[58]=o.decodeNegint32,g[59]=o.decodeNegint64,g[60]=p,g[61]=p,g[62]=p,g[63]=p;for(let b=64;b<=87;b++)g[b]=a.decodeBytesCompact;g[88]=a.decodeBytes8,g[89]=a.decodeBytes16,g[90]=a.decodeBytes32,g[91]=a.decodeBytes64,g[92]=p,g[93]=p,g[94]=p,g[95]=m("indefinite length bytes/strings are not supported");for(let b=96;b<=119;b++)g[b]=s.decodeStringCompact;g[120]=s.decodeString8,g[121]=s.decodeString16,g[122]=s.decodeString32,g[123]=s.decodeString64,g[124]=p,g[125]=p,g[126]=p,g[127]=m("indefinite length bytes/strings are not supported");for(let b=128;b<=151;b++)g[b]=u.decodeArrayCompact;g[152]=u.decodeArray8,g[153]=u.decodeArray16,g[154]=u.decodeArray32,g[155]=u.decodeArray64,g[156]=p,g[157]=p,g[158]=p,g[159]=u.decodeArrayIndefinite;for(let b=160;b<=183;b++)g[b]=c.decodeMapCompact;g[184]=c.decodeMap8,g[185]=c.decodeMap16,g[186]=c.decodeMap32,g[187]=c.decodeMap64,g[188]=p,g[189]=p,g[190]=p,g[191]=c.decodeMapIndefinite;for(let b=192;b<=215;b++)g[b]=l.decodeTagCompact;g[216]=l.decodeTag8,g[217]=l.decodeTag16,g[218]=l.decodeTag32,g[219]=l.decodeTag64,g[220]=p,g[221]=p,g[222]=p,g[223]=p;for(let b=224;b<=243;b++)g[b]=m("simple values are not supported");g[244]=p,g[245]=p,g[246]=p,g[247]=h.decodeUndefined,g[248]=m("simple values are not supported"),g[249]=h.decodeFloat16,g[250]=h.decodeFloat32,g[251]=h.decodeFloat64,g[252]=p,g[253]=p,g[254]=p,g[255]=h.decodeBreak;const y=[];for(let b=0;b<24;b++)y[b]=new n.Token(n.Type.uint,b,1);for(let b=-1;b>=-24;b--)y[31-b]=new n.Token(n.Type.negint,b,1);function v(t){switch(t.type){case n.Type.false:return d.fromArray([244]);case n.Type.true:return d.fromArray([245]);case n.Type.null:return d.fromArray([246]);case n.Type.bytes:return t.value.length?void 0:d.fromArray([64]);case n.Type.string:return""===t.value?d.fromArray([96]):void 0;case n.Type.array:return 0===t.value?d.fromArray([128]):void 0;case n.Type.map:return 0===t.value?d.fromArray([160]):void 0;case n.Type.uint:return t.value<24?d.fromArray([Number(t.value)]):void 0;case n.Type.negint:if(t.value>=-24)return d.fromArray([31-Number(t.value)])}}y[64]=new n.Token(n.Type.bytes,new Uint8Array(0),1),y[96]=new n.Token(n.Type.string,"",1),y[128]=new n.Token(n.Type.array,0,1),y[160]=new n.Token(n.Type.map,0,1),y[244]=new n.Token(n.Type.false,!1,1),y[245]=new n.Token(n.Type.true,!0,1),y[246]=new n.Token(n.Type.null,null,1),e.jump=g,e.quick=y,e.quickEncodeToken=v},"0aed":function(t,e,r){"use strict";var n=r("9dc5"),i=r("297cd");function o(t){return function(e){var r;r=n.prototype.isPrototypeOf(e)?e:i(e);var o=Object.create(t);return o.client=r,o}}t.exports=o},"0bbd":function(t,e,r){"use strict";var n=r("ef9a");r.d(e,"a",(function(){return n["a"]}));n["a"]},"0bc6":function(t,e,r){},"0bef":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1ec9"),i=r("2a12"),o=r("842b"),a=r("876b"),s=r("c181");const u=n.configure(t=>{async function e(e,r,n={}){const u=i.toUrlSearchParams({arg:e,...n}),c=new s.AbortController,l=a.abortSignal(c.signal,n.signal),h=await t.post("pubsub/pub",{signal:l,searchParams:u,...await o.multipartRequest(r,c,n.headers)});await h.text()}return e});e.createPublish=u},"0c18":function(t,e,r){},"0c39":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("9b08"),i=r("a13c");function o(t){return{apply:n.createApply(t),list:i.createList(t)}}e.createProfiles=o},"0c7e":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1ec9"),i=r("2a12"),o=r("2054");const a=n.configure(t=>{async function e(e={}){const r=await t.post("bootstrap/add",{signal:e.signal,searchParams:i.toUrlSearchParams({...e,default:!0}),headers:e.headers}),{Peers:n}=await r.json();return{Peers:n.map(t=>new o.Multiaddr(t))}}return e});e.createReset=a},"0c83":function(t,e,r){"use strict";t.exports=h;var n,i=r("e938"),o=i.LongBits,a=i.base64,s=i.utf8;function u(t,e,r){this.fn=t,this.len=e,this.next=void 0,this.val=r}function c(){}function l(t){this.head=t.head,this.tail=t.tail,this.len=t.len,this.next=t.states}function h(){this.len=0,this.head=new u(c,0,0),this.tail=this.head,this.states=null}var f=function(){return i.Buffer?function(){return(h.create=function(){return new n})()}:function(){return new h}};function d(t,e,r){e[r]=255&t}function p(t,e,r){while(t>127)e[r++]=127&t|128,t>>>=7;e[r]=t}function m(t,e){this.len=t,this.next=void 0,this.val=e}function g(t,e,r){while(t.hi)e[r++]=127&t.lo|128,t.lo=(t.lo>>>7|t.hi<<25)>>>0,t.hi>>>=7;while(t.lo>127)e[r++]=127&t.lo|128,t.lo=t.lo>>>7;e[r++]=t.lo}function y(t,e,r){e[r]=255&t,e[r+1]=t>>>8&255,e[r+2]=t>>>16&255,e[r+3]=t>>>24}h.create=f(),h.alloc=function(t){return new i.Array(t)},i.Array!==Array&&(h.alloc=i.pool(h.alloc,i.Array.prototype.subarray)),h.prototype._push=function(t,e,r){return this.tail=this.tail.next=new u(t,e,r),this.len+=e,this},m.prototype=Object.create(u.prototype),m.prototype.fn=p,h.prototype.uint32=function(t){return this.len+=(this.tail=this.tail.next=new m((t>>>=0)<128?1:t<16384?2:t<2097152?3:t<268435456?4:5,t)).len,this},h.prototype.int32=function(t){return t<0?this._push(g,10,o.fromNumber(t)):this.uint32(t)},h.prototype.sint32=function(t){return this.uint32((t<<1^t>>31)>>>0)},h.prototype.uint64=function(t){var e=o.from(t);return this._push(g,e.length(),e)},h.prototype.int64=h.prototype.uint64,h.prototype.sint64=function(t){var e=o.from(t).zzEncode();return this._push(g,e.length(),e)},h.prototype.bool=function(t){return this._push(d,1,t?1:0)},h.prototype.fixed32=function(t){return this._push(y,4,t>>>0)},h.prototype.sfixed32=h.prototype.fixed32,h.prototype.fixed64=function(t){var e=o.from(t);return this._push(y,4,e.lo)._push(y,4,e.hi)},h.prototype.sfixed64=h.prototype.fixed64,h.prototype.float=function(t){return this._push(i.float.writeFloatLE,4,t)},h.prototype.double=function(t){return this._push(i.float.writeDoubleLE,8,t)};var v=i.Array.prototype.set?function(t,e,r){e.set(t,r)}:function(t,e,r){for(var n=0;n<t.length;++n)e[r+n]=t[n]};h.prototype.bytes=function(t){var e=t.length>>>0;if(!e)return this._push(d,1,0);if(i.isString(t)){var r=h.alloc(e=a.length(t));a.decode(t,r,0),t=r}return this.uint32(e)._push(v,e,t)},h.prototype.string=function(t){var e=s.length(t);return e?this.uint32(e)._push(s.write,e,t):this._push(d,1,0)},h.prototype.fork=function(){return this.states=new l(this),this.head=this.tail=new u(c,0,0),this.len=0,this},h.prototype.reset=function(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new u(c,0,0),this.len=0),this},h.prototype.ldelim=function(){var t=this.head,e=this.tail,r=this.len;return this.reset().uint32(r),r&&(this.tail.next=t.next,this.tail=e,this.len+=r),this},h.prototype.finish=function(){var t=this.head.next,e=this.constructor.alloc(this.len),r=0;while(t)t.fn(t.val,e,r),r+=t.len,t=t.next;return e},h._configure=function(t){n=t,h.create=f(),n._configure()}},"0ca8":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("dc74");const i=n.rfc4648({prefix:"f",name:"base16",alphabet:"0123456789abcdef",bitsPerChar:4}),o=n.rfc4648({prefix:"F",name:"base16upper",alphabet:"0123456789ABCDEF",bitsPerChar:4});e.base16=i,e.base16upper=o},"0caa":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
function e(t,e,r,n){var i={s:["thoddea sekondamni","thodde sekond"],ss:[t+" sekondamni",t+" sekond"],m:["eka mintan","ek minut"],mm:[t+" mintamni",t+" mintam"],h:["eka voran","ek vor"],hh:[t+" voramni",t+" voram"],d:["eka disan","ek dis"],dd:[t+" disamni",t+" dis"],M:["eka mhoinean","ek mhoino"],MM:[t+" mhoineamni",t+" mhoine"],y:["eka vorsan","ek voros"],yy:[t+" vorsamni",t+" vorsam"]};return n?i[r][0]:i[r][1]}var r=t.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:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(t,e){switch(e){case"D":return t+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return t}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(t,e){return 12===t&&(t=0),"rati"===e?t<4?t:t+12:"sokallim"===e?t:"donparam"===e?t>12?t:t+12:"sanje"===e?t+12:void 0},meridiem:function(t,e,r){return t<4?"rati":t<12?"sokallim":t<16?"donparam":t<20?"sanje":"rati"}});return r}))},"0e42":function(t,e,r){"use strict";r.d(e,"a",(function(){return n["a"]})),r.d(e,"b",(function(){return s})),r.d(e,"c",(function(){return f}));var n=r("40dc"),i=r("9d26"),o=r("8336"),a=r("2b0e"),s=a["default"].extend({name:"v-app-bar-nav-icon",functional:!0,render(t,{slots:e,listeners:r,props:n,data:a}){const s=Object.assign(a,{staticClass:("v-app-bar__nav-icon "+(a.staticClass||"")).trim(),props:{...n,icon:!0},on:r}),u=e().default;return t(o["a"],s,u||[t(i["b"],"$menu")])}}),u=r("3206"),c=r("80d2"),l=r("0246");const h=Object(u["a"])("VAppBar","v-app-bar-title","v-app-bar");var f=h.extend().extend({name:"v-app-bar-title",data:()=>({contentWidth:0,left:0,width:0}),watch:{"$vuetify.breakpoint.width":"updateDimensions"},computed:{styles(){if(!this.contentWidth)return{};const t=this.width,e=this.contentWidth,r=Object(l["easeInOutCubic"])(Math.min(1,1.5*this.VAppBar.scrollRatio));return{width:Object(c["i"])(t+(e-t)*r),visibility:this.VAppBar.scrollRatio?"visible":"hidden"}}},mounted(){this.updateDimensions()},methods:{updateDimensions(){const t=this.$refs.placeholder.getBoundingClientRect();this.width=t.width,this.left=t.left,this.contentWidth=this.$refs.content.scrollWidth}},render(t){return t("div",{class:"v-toolbar__title v-app-bar-title"},[t("div",{class:"v-app-bar-title__content",style:this.styles,ref:"content"},Object(c["u"])(this)),t("div",{class:"v-app-bar-title__placeholder",style:{visibility:this.VAppBar.scrollRatio?"hidden":"visible"},ref:"placeholder"},Object(c["u"])(this))])}});n["a"]},"0e49":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".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’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] 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(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}});return e}))},"0e6b":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.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(t){var e=t%10,r=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+r},week:{dow:0,doy:4}});return e}))},"0e81":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"},r=t.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_Çar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),meridiem:function(t,e,r){return t<12?r?"öö":"ÖÖ":r?"ös":"ÖS"},meridiemParse:/öö|ÖÖ|ös|ÖS/,isPM:function(t){return"ös"===t||"ÖS"===t},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ün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(t,r){switch(r){case"d":case"D":case"Do":case"DD":return t;default:if(0===t)return t+"'ıncı";var n=t%10,i=t%100-n,o=t>=100?100:null;return t+(e[n]||e[i]||e[o])}},week:{dow:1,doy:7}});return r}))},"0e8f":function(t,e,r){"use strict";r("20f6");var n=r("e8f2");e["a"]=Object(n["a"])("flex")},"0ec3":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1169"),i=r("2054"),o=r("1ec9"),a=r("2a12");const s=o.configure(t=>{async function e(e={}){const r=await t.post("id",{signal:e.signal,searchParams:a.toUrlSearchParams({arg:e.peerId?e.peerId.toString():void 0,...e}),headers:e.headers}),o=await r.json(),s={...n.objectToCamel(o)};return s.addresses&&(s.addresses=s.addresses.map(t=>new i.Multiaddr(t))),s}return e});e.createId=s},"0f14":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.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øndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".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å dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få 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åned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return e}))},"0f38":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.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(t){return t},week:{dow:1,doy:4}});return e}))},"0f6c":function(t,e,r){"use strict";t.exports=t=>{if("[object Object]"!==Object.prototype.toString.call(t))return!1;const e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}},"0fcc":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("fb86"),i=r("5085"),o=r("1ec9"),a=r("2a12");const s=o.configure(t=>{async function*e(e,r={}){if(!e)throw new Error("ipfs.files.ls requires a path");const o=await t.post("files/ls",{signal:r.signal,searchParams:a.toUrlSearchParams({arg:n.CID.asCID(e)?"/ipfs/"+e:e,long:!0,...r,stream:!0}),headers:r.headers});for await(const t of o.ndjson())if("Entries"in t)for(const e of t.Entries||[])yield u(i.objectToCamelWithMetadata(e));else yield u(i.objectToCamelWithMetadata(t))}return e});function u(t){return t.hash&&(t.cid=n.CID.parse(t.hash)),delete t.hash,t.type=1===t.type?"directory":"file",t}e.createLs=s},"0fd9":function(t,e,r){"use strict";r("4b85");var n=r("2b0e"),i=r("d9f7"),o=r("80d2");const a=["sm","md","lg","xl"],s=["start","end","center"];function u(t,e){return a.reduce((r,n)=>(r[t+Object(o["J"])(n)]=e(),r),{})}const c=t=>[...s,"baseline","stretch"].includes(t),l=u("align",()=>({type:String,default:null,validator:c})),h=t=>[...s,"space-between","space-around"].includes(t),f=u("justify",()=>({type:String,default:null,validator:h})),d=t=>[...s,"space-between","space-around","stretch"].includes(t),p=u("alignContent",()=>({type:String,default:null,validator:d})),m={align:Object.keys(l),justify:Object.keys(f),alignContent:Object.keys(p)},g={align:"align",justify:"justify",alignContent:"align-content"};function y(t,e,r){let n=g[t];if(null!=r){if(e){const r=e.replace(t,"");n+="-"+r}return n+="-"+r,n.toLowerCase()}}const v=new Map;e["a"]=n["default"].extend({name:"v-row",functional:!0,props:{tag:{type:String,default:"div"},dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:c},...l,justify:{type:String,default:null,validator:h},...f,alignContent:{type:String,default:null,validator:d},...p},render(t,{props:e,data:r,children:n}){let o="";for(const i in e)o+=String(e[i]);let a=v.get(o);if(!a){let t;for(t in a=[],m)m[t].forEach(r=>{const n=e[r],i=y(t,r,n);i&&a.push(i)});a.push({"no-gutters":e.noGutters,"row--dense":e.dense,["align-"+e.align]:e.align,["justify-"+e.justify]:e.justify,["align-content-"+e.alignContent]:e.alignContent}),v.set(o,a)}return t(e.tag,Object(i["a"])(r,{staticClass:"row",class:a}),n)}})},"0ff2":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.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}});return e}))},"104d":function(t,e,r){"use strict";const n="[a-fA-F\\d:]",i=t=>t&&t.includeBoundaries?`(?:(?<=\\s|^)(?=${n})|(?<=${n})(?=\\s|$))`:"",o="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",a="[a-fA-F\\d]{1,4}",s=`\n(?:\n(?:${a}:){7}(?:${a}|:)|                                    // 1:2:3:4:5:6:7::  1:2:3:4:5:6:7:8\n(?:${a}:){6}(?:${o}|:${a}|:)|                             // 1:2:3:4:5:6::    1:2:3:4:5:6::8   1:2:3:4:5:6::8  1:2:3:4:5:6::1.2.3.4\n(?:${a}:){5}(?::${o}|(?::${a}){1,2}|:)|                   // 1:2:3:4:5::      1:2:3:4:5::7:8   1:2:3:4:5::8    1:2:3:4:5::7:1.2.3.4\n(?:${a}:){4}(?:(?::${a}){0,1}:${o}|(?::${a}){1,3}|:)| // 1:2:3:4::        1:2:3:4::6:7:8   1:2:3:4::8      1:2:3:4::6:7:1.2.3.4\n(?:${a}:){3}(?:(?::${a}){0,2}:${o}|(?::${a}){1,4}|:)| // 1:2:3::          1:2:3::5:6:7:8   1:2:3::8        1:2:3::5:6:7:1.2.3.4\n(?:${a}:){2}(?:(?::${a}){0,3}:${o}|(?::${a}){1,5}|:)| // 1:2::            1:2::4:5:6:7:8   1:2::8          1:2::4:5:6:7:1.2.3.4\n(?:${a}:){1}(?:(?::${a}){0,4}:${o}|(?::${a}){1,6}|:)| // 1::              1::3:4:5:6:7:8   1::8            1::3:4:5:6:7:1.2.3.4\n(?::(?:(?::${a}){0,5}:${o}|(?::${a}){1,7}|:))             // ::2:3:4:5:6:7:8  ::2:3:4:5:6:7:8  ::8             ::1.2.3.4\n)(?:%[0-9a-zA-Z]{1,})?                                             // %eth0            %1\n`.replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),u=new RegExp(`(?:^${o}$)|(?:^${s}$)`),c=new RegExp(`^${o}$`),l=new RegExp(`^${s}$`),h=t=>t&&t.exact?u:new RegExp(`(?:${i(t)}${o}${i(t)})|(?:${i(t)}${s}${i(t)})`,"g");h.v4=t=>t&&t.exact?c:new RegExp(`${i(t)}${o}${i(t)}`,"g"),h.v6=t=>t&&t.exact?l:new RegExp(`${i(t)}${s}${i(t)}`,"g"),t.exports=h},"10d2":function(t,e,r){"use strict";var n=r("8dd9");r.d(e,"a",(function(){return n["a"]})),e["b"]=n["a"]},"10e8":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".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"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(t){return"หลังเที่ยง"===t},meridiem:function(t,e,r){return t<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",w:"1 สัปดาห์",ww:"%d สัปดาห์",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}});return e}))},1169:function(t,e,r){"use strict";function n(t){if(null==t)return t;const e=/^[A-Z]+$/,r={};return Object.keys(t).reduce((r,n)=>(e.test(n)?r[n.toLowerCase()]=t[n]:e.test(n[0])?r[n[0].toLowerCase()+n.slice(1)]=t[n]:r[n]=t[n],r),r)}Object.defineProperty(e,"__esModule",{value:!0}),e.objectToCamel=n},1175:function(t,e,r){"use strict";const n=r("e03b"),{toString:i}=r("eaf0"),o=n,a=n.v4,s=n.v6,u=function(t,e,r){let n;if(r=~~r,a(t))n=e||new Uint8Array(r+4),t.split(/\./g).map((function(t){n[r++]=255&parseInt(t,10)}));else if(s(t)){const o=t.split(":",8);let s;for(s=0;s<o.length;s++){const t=a(o[s]);let e;t&&(e=u(o[s]),o[s]=i(e.slice(0,2),"base16")),e&&++s<8&&o.splice(s,0,i(e.slice(2,4),"base16"))}if(""===o[0])while(o.length<8)o.unshift("0");else if(""===o[o.length-1])while(o.length<8)o.push("0");else if(o.length<8){for(s=0;s<o.length&&""!==o[s];s++);const t=[s,"1"];for(s=9-o.length;s>0;s--)t.push("0");o.splice.apply(o,t)}for(n=e||new Uint8Array(r+16),s=0;s<o.length;s++){const t=parseInt(o[s],16);n[r++]=t>>8&255,n[r++]=255&t}}if(!n)throw Error("Invalid ip address: "+t);return n},c=function(t,e,r){e=~~e,r=r||t.length-e;const n=[];let i;const o=new DataView(t.buffer);if(4===r){for(let i=0;i<r;i++)n.push(t[e+i]);i=n.join(".")}else if(16===r){for(let t=0;t<r;t+=2)n.push(o.getUint16(e+t).toString(16));i=n.join(":"),i=i.replace(/(^|:)0(:0)*:0(:|$)/,"$1::$3"),i=i.replace(/:{3,4}/,"::")}return i};t.exports={isIP:o,isV4:a,isV6:s,toBytes:u,toString:c}},"11ad":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1169"),i=r("1ec9"),o=r("2a12");const a=i.configure(t=>{async function e(e,r={}){const i=await t.post("name/pubsub/cancel",{signal:r.signal,searchParams:o.toUrlSearchParams({arg:e,...r}),headers:r.headers});return n.objectToCamel(await i.json())}return e});e.createCancel=a},"11c2":function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));r("e9b1");var n=r("7560"),i=r("58df"),o=Object(i["a"])(n["a"]).extend({name:"v-counter",functional:!0,props:{value:{type:[Number,String],default:""},max:[Number,String]},render(t,e){const{props:r}=e,i=parseInt(r.max,10),o=parseInt(r.value,10),a=i?`${o} / ${i}`:String(r.value),s=i&&o>i;return t("div",{staticClass:"v-counter",class:{"error--text":s,...Object(n["b"])(e)}},a)}});e["b"]=o},"11f1":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("dc74");const i=n.rfc4648({prefix:"7",name:"base8",alphabet:"01234567",bitsPerChar:3});e.base8=i},1233:function(t,e,r){"use strict";var n=r("a844");r.d(e,"a",(function(){return n["a"]}));n["a"]},"12ba":function(t,e,r){"use strict";r.d(e,"a",(function(){return h}));var n=r("fd3a"),i=r("d6f8"),o=r("4b3c"),a=r("8c86"),s=r("fe1f"),u=r("beaf");function c(t,e){var r,n,c,l,h,f,d,p;Object(a["a"])(1,arguments);var m=Object(u["a"])(),g=Object(s["a"])(null!==(r=null!==(n=null!==(c=null!==(l=null===e||void 0===e?void 0:e.firstWeekContainsDate)&&void 0!==l?l:null===e||void 0===e||null===(h=e.locale)||void 0===h||null===(f=h.options)||void 0===f?void 0:f.firstWeekContainsDate)&&void 0!==c?c:m.firstWeekContainsDate)&&void 0!==n?n:null===(d=m.locale)||void 0===d||null===(p=d.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==r?r:1),y=Object(o["a"])(t,e),v=new Date(0);v.setUTCFullYear(y,0,g),v.setUTCHours(0,0,0,0);var b=Object(i["a"])(v,e);return b}var l=6048e5;function h(t,e){Object(a["a"])(1,arguments);var r=Object(n["a"])(t),o=Object(i["a"])(r,e).getTime()-c(r,e).getTime();return Math.round(o/l)+1}},"132d":function(t,e,r){"use strict";r("4804");var n,i=r("7e2b"),o=r("a9ad"),a=r("af2b"),s=r("7560"),u=r("80d2"),c=r("2b0e"),l=r("58df");function h(t){return["fas","far","fal","fab","fad","fak"].some(e=>t.includes(e))}function f(t){return/^[mzlhvcsqta]\s*[-+.0-9][^mlhvzcsqta]+/i.test(t)&&/[\dz]$/i.test(t)&&t.length>4}(function(t){t["xSmall"]="12px",t["small"]="16px",t["default"]="24px",t["medium"]="28px",t["large"]="36px",t["xLarge"]="40px"})(n||(n={}));const d=Object(l["a"])(i["a"],o["a"],a["a"],s["a"]).extend({name:"v-icon",props:{dense:Boolean,disabled:Boolean,left:Boolean,right:Boolean,size:[Number,String],tag:{type:String,required:!1,default:"i"}},computed:{medium(){return!1},hasClickListener(){return Boolean(this.listeners$.click||this.listeners$["!click"])}},methods:{getIcon(){let t="";return this.$slots.default&&(t=this.$slots.default[0].text.trim()),Object(u["F"])(this,t)},getSize(){const t={xSmall:this.xSmall,small:this.small,medium:this.medium,large:this.large,xLarge:this.xLarge},e=Object(u["B"])(t).find(e=>t[e]);return e&&n[e]||Object(u["i"])(this.size)},getDefaultData(){return{staticClass:"v-icon notranslate",class:{"v-icon--disabled":this.disabled,"v-icon--left":this.left,"v-icon--link":this.hasClickListener,"v-icon--right":this.right,"v-icon--dense":this.dense},attrs:{"aria-hidden":!this.hasClickListener,disabled:this.hasClickListener&&this.disabled,type:this.hasClickListener?"button":void 0,...this.attrs$},on:this.listeners$}},getSvgWrapperData(){const t=this.getSize(),e={...this.getDefaultData(),style:t?{fontSize:t,height:t,width:t}:void 0};return this.applyColors(e),e},applyColors(t){t.class={...t.class,...this.themeClasses},this.setTextColor(this.color,t)},renderFontIcon(t,e){const r=[],n=this.getDefaultData();let i="material-icons";const o=t.indexOf("-"),a=o<=-1;a?r.push(t):(i=t.slice(0,o),h(i)&&(i="")),n.class[i]=!0,n.class[t]=!a;const s=this.getSize();return s&&(n.style={fontSize:s}),this.applyColors(n),e(this.hasClickListener?"button":this.tag,n,r)},renderSvgIcon(t,e){const r={class:"v-icon__svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":!0}},n=this.getSize();return n&&(r.style={fontSize:n,height:n,width:n}),e(this.hasClickListener?"button":"span",this.getSvgWrapperData(),[e("svg",r,[e("path",{attrs:{d:t}})])])},renderSvgIconComponent(t,e){const r={class:{"v-icon__component":!0}},n=this.getSize();n&&(r.style={fontSize:n,height:n,width:n}),this.applyColors(r);const i=t.component;return r.props=t.props,r.nativeOn=r.on,e(this.hasClickListener?"button":"span",this.getSvgWrapperData(),[e(i,r)])}},render(t){const e=this.getIcon();return"string"===typeof e?f(e)?this.renderSvgIcon(e,t):this.renderFontIcon(e,t):this.renderSvgIconComponent(e,t)}});e["a"]=c["default"].extend({name:"v-icon",$_wrapperFor:d,functional:!0,render(t,{data:e,children:r}){let n="";return e.domProps&&(n=e.domProps.textContent||e.domProps.innerHTML||n,delete e.domProps.textContent,delete e.domProps.innerHTML),t(d,e,n?[n]:r)}})},1335:function(t,e,r){"use strict";var n=r("7efd");r.d(e,"a",(function(){return n["b"]}));var i=r("9dbe");r.d(e,"b",(function(){return i["a"]}));n["b"],i["a"]},"138a":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1ec9"),i=r("2a12");const o=n.configure(t=>{async function e(e={}){const r=await t.post("diag/net",{signal:e.signal,searchParams:i.toUrlSearchParams(e),headers:e.headers});return r.json()}return e});e.createNet=o},"13b3":function(t,e,r){},"13e9":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e={words:{ss:["секунда","секунде","секунди"],m:["један минут","једног минута"],mm:["минут","минута","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],d:["један дан","једног дана"],dd:["дан","дана","дана"],M:["један месец","једног месеца"],MM:["месец","месеца","месеци"],y:["једну годину","једне године"],yy:["годину","године","година"]},correctGrammaticalCase:function(t,e){return t%10>=1&&t%10<=4&&(t%100<10||t%100>=20)?t%10===1?e[0]:e[1]:e[2]},translate:function(t,r,n,i){var o,a=e.words[n];return 1===n.length?"y"===n&&r?"једна година":i||r?a[0]:a[1]:(o=e.correctGrammaticalCase(t,a),"yy"===n&&r&&"годину"===o?t+" година":t+" "+o)}},r=t.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".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:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){var t=["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"];return t[this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:e.translate,dd:e.translate,M:e.translate,MM:e.translate,y:e.translate,yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return r}))},"13f8":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1ec9"),i=r("2a12"),o=r("876b"),a=r("842b"),s=r("c181"),u=r("fb86");const c=n.configure(t=>{async function*e(e,r={}){const n=new s.AbortController,c=o.abortSignal(n.signal,r.signal),{headers:l,body:h}=await a.multipartRequest(e,n,r.headers),f=await t.post("dag/import",{signal:c,headers:l,body:h,searchParams:i.toUrlSearchParams({"pin-roots":r.pinRoots})});for await(const{Root:t}of f.ndjson())if(void 0!==t){const{Cid:{"/":e},PinErrorMsg:r}=t;yield{root:{cid:u.CID.parse(e),pinErrorMsg:r}}}}return e});e.createImport=c},1442:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("fe37"),i=r("f513"),o=r("610d");function a(t){return{publish:n.createPublish(t),resolve:i.createResolve(t),pubsub:o.createPubsub(t)}}e.createName=a},1463:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("2054"),i=r("1ec9"),o=r("2a12"),a=r("2225");const s=i.configure(t=>{async function e(e,r={}){const i=await t.post("dht/findpeer",{signal:r.signal,searchParams:o.toUrlSearchParams({arg:e,...r}),headers:r.headers});for await(const t of i.ndjson())if(t.Type===a.FinalPeer&&t.Responses){const{ID:e,Addrs:r}=t.Responses[0];return{id:e,addrs:(r||[]).map(t=>new n.Multiaddr(t))}}throw new Error("not found")}return e});e.createFindPeer=s},1468:function(t,e){var r=1e3,n=60*r,i=60*n,o=24*i,a=7*o,s=365.25*o;function u(t){if(t=String(t),!(t.length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var u=parseFloat(e[1]),c=(e[2]||"ms").toLowerCase();switch(c){case"years":case"year":case"yrs":case"yr":case"y":return u*s;case"weeks":case"week":case"w":return u*a;case"days":case"day":case"d":return u*o;case"hours":case"hour":case"hrs":case"hr":case"h":return u*i;case"minutes":case"minute":case"mins":case"min":case"m":return u*n;case"seconds":case"second":case"secs":case"sec":case"s":return u*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return u;default:return}}}}function c(t){var e=Math.abs(t);return e>=o?Math.round(t/o)+"d":e>=i?Math.round(t/i)+"h":e>=n?Math.round(t/n)+"m":e>=r?Math.round(t/r)+"s":t+"ms"}function l(t){var e=Math.abs(t);return e>=o?h(t,e,o,"day"):e>=i?h(t,e,i,"hour"):e>=n?h(t,e,n,"minute"):e>=r?h(t,e,r,"second"):t+" ms"}function h(t,e,r,n){var i=e>=1.5*r;return Math.round(t/r)+" "+n+(i?"s":"")}t.exports=function(t,e){e=e||{};var r=typeof t;if("string"===r&&t.length>0)return u(t);if("number"===r&&isFinite(t))return e.long?l(t):c(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},"14ab":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("fb86"),i=r("1ec9"),o=r("2a12");const a=i.configure(t=>{async function e(e,r={}){const i=await t.post("object/stat",{signal:r.signal,searchParams:o.toUrlSearchParams({arg:""+e,...r}),headers:r.headers}),a=await i.json();return{...a,Hash:n.CID.parse(a.Hash)}}return e});e.createStat=a},"15b4":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("fb86"),i=r("1ec9"),o=r("2a12");const a=i.configure(t=>{async function e(e,r={}){const i=await t.post("object/links",{signal:r.signal,searchParams:o.toUrlSearchParams({arg:""+(e instanceof Uint8Array?n.CID.decode(e):e),...r}),headers:r.headers}),a=await i.json();return(a.Links||[]).map(t=>({Name:t.Name,Tsize:t.Size,Hash:n.CID.parse(t.Hash)}))}return e});e.createLinks=a},"15c3":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1ec9"),i=r("2a12");const o=n.configure(t=>{async function e(e,r={}){const n=await t.post("block/get",{signal:r.signal,searchParams:i.toUrlSearchParams({arg:e.toString(),...r}),headers:r.headers});return new Uint8Array(await n.arrayBuffer())}return e});e.createGet=o},1608:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1169"),i=r("1ec9"),o=r("2a12");const a=i.configure(t=>{async function*e(e,r={}){const i=await t.post("ping",{signal:r.signal,searchParams:o.toUrlSearchParams({arg:""+e,...r}),headers:r.headers,transform:n.objectToCamel});yield*i.ndjson()}return e});e.createPing=a},"166a":function(t,e,r){},"167b":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.defineLocale("oc-lnc",{months:{standalone:"genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),format:"de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dimècres_dijòus_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èi a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[ièr a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aquí %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|è|a)/,ordinal:function(t,e){var r=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"è";return"w"!==e&&"W"!==e||(r="a"),t+r},week:{dow:1,doy:4}});return e}))},1681:function(t,e,r){},"169a":function(t,e,r){"use strict";r("368e");var n=r("480e"),i=r("4ad4"),o=r("b848"),a=r("75eb"),s=r("e707"),u=r("e4d3"),c=r("21be9"),l=r("a293"),h=r("58df"),f=r("d9bd"),d=r("80d2");const p=Object(h["a"])(o["a"],a["a"],s["a"],u["a"],c["a"],i["a"]);e["a"]=p.extend({name:"v-dialog",directives:{ClickOutside:l["b"]},props:{dark:Boolean,disabled:Boolean,fullscreen:Boolean,light:Boolean,maxWidth:[String,Number],noClickAnimation:Boolean,origin:{type:String,default:"center center"},persistent:Boolean,retainFocus:{type:Boolean,default:!0},scrollable:Boolean,transition:{type:[String,Boolean],default:"dialog-transition"},width:[String,Number]},data(){return{activatedBy:null,animate:!1,animateTimeout:-1,stackMinZIndex:200,previousActiveElement:null}},computed:{classes(){return{[("v-dialog "+this.contentClass).trim()]:!0,"v-dialog--active":this.isActive,"v-dialog--persistent":this.persistent,"v-dialog--fullscreen":this.fullscreen,"v-dialog--scrollable":this.scrollable,"v-dialog--animated":this.animate}},contentClasses(){return{"v-dialog__content":!0,"v-dialog__content--active":this.isActive}},hasActivator(){return Boolean(!!this.$slots.activator||!!this.$scopedSlots.activator)}},watch:{isActive(t){var e;t?(this.show(),this.hideScroll()):(this.removeOverlay(),this.unbind(),null===(e=this.previousActiveElement)||void 0===e||e.focus())},fullscreen(t){this.isActive&&(t?(this.hideScroll(),this.removeOverlay(!1)):(this.showScroll(),this.genOverlay()))}},created(){this.$attrs.hasOwnProperty("full-width")&&Object(f["e"])("full-width",this)},beforeMount(){this.$nextTick(()=>{this.isBooted=this.isActive,this.isActive&&this.show()})},beforeDestroy(){"undefined"!==typeof window&&this.unbind()},methods:{animateClick(){this.animate=!1,this.$nextTick(()=>{this.animate=!0,window.clearTimeout(this.animateTimeout),this.animateTimeout=window.setTimeout(()=>this.animate=!1,150)})},closeConditional(t){const e=t.target;return!(this._isDestroyed||!this.isActive||this.$refs.content.contains(e)||this.overlay&&e&&!this.overlay.$el.contains(e))&&this.activeZIndex>=this.getMaxZIndex()},hideScroll(){this.fullscreen?document.documentElement.classList.add("overflow-y-hidden"):s["a"].options.methods.hideScroll.call(this)},show(){!this.fullscreen&&!this.hideOverlay&&this.genOverlay(),this.$nextTick(()=>{this.$nextTick(()=>{var t,e;(null===(t=this.$refs.dialog)||void 0===t?void 0:t.contains(document.activeElement))||(this.previousActiveElement=document.activeElement,null===(e=this.$refs.dialog)||void 0===e||e.focus()),this.bind()})})},bind(){window.addEventListener("focusin",this.onFocusin)},unbind(){window.removeEventListener("focusin",this.onFocusin)},onClickOutside(t){this.$emit("click:outside",t),this.persistent?this.noClickAnimation||this.animateClick():this.isActive=!1},onKeydown(t){if(t.keyCode===d["A"].esc&&!this.getOpenDependents().length)if(this.persistent)this.noClickAnimation||this.animateClick();else{this.isActive=!1;const t=this.getActivator();this.$nextTick(()=>t&&t.focus())}this.$emit("keydown",t)},onFocusin(t){if(!t||!this.retainFocus)return;const e=t.target;if(e&&this.$refs.dialog&&![document,this.$refs.dialog].includes(e)&&!this.$refs.dialog.contains(e)&&this.activeZIndex>=this.getMaxZIndex()&&!this.getOpenDependentElements().some(t=>t.contains(e))){const t=this.$refs.dialog.querySelectorAll('button, [href], input:not([type="hidden"]), select, textarea, [tabindex]:not([tabindex="-1"])'),e=[...t].find(t=>!t.hasAttribute("disabled")&&!t.matches('[tabindex="-1"]'));e&&e.focus()}},genContent(){return this.showLazyContent(()=>[this.$createElement(n["a"],{props:{root:!0,light:this.light,dark:this.dark}},[this.$createElement("div",{class:this.contentClasses,attrs:{role:"dialog","aria-modal":this.hideOverlay?void 0:"true",...this.getScopeIdAttrs()},on:{keydown:this.onKeydown},style:{zIndex:this.activeZIndex},ref:"content"},[this.genTransition()])])])},genTransition(){const t=this.genInnerContent();return this.transition?this.$createElement("transition",{props:{name:this.transition,origin:this.origin,appear:!0}},[t]):t},genInnerContent(){const t={class:this.classes,attrs:{tabindex:this.isActive?0:void 0},ref:"dialog",directives:[{name:"click-outside",value:{handler:this.onClickOutside,closeConditional:this.closeConditional,include:this.getOpenDependentElements}},{name:"show",value:this.isActive}],style:{transformOrigin:this.origin}};return this.fullscreen||(t.style={...t.style,maxWidth:Object(d["i"])(this.maxWidth),width:Object(d["i"])(this.width)}),this.$createElement("div",t,this.getContentSlot())}},render(t){return t("div",{staticClass:"v-dialog__container",class:{"v-dialog__container--attached":""===this.attach||!0===this.attach||"attach"===this.attach}},[this.genActivator(),this.genContent()])}})},"16ad":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1ec9"),i=r("2a12");const o=n.configure(t=>{async function*e(e,r={}){const n=await t.post("cat",{signal:r.signal,searchParams:i.toUrlSearchParams({arg:e.toString(),...r}),headers:r.headers});yield*n.iterator()}return e});e.createCat=o},"16af":function(t,e,r){"use strict";const{URLWithLegacySupport:n,format:i,URLSearchParams:o,defaultBase:a}=r("1f0b"),s=r("3d5e");t.exports={URL:n,URLSearchParams:o,format:i,relative:s,defaultBase:a}},"16b7":function(t,e,r){"use strict";var n=r("2b0e");e["a"]=n["default"].extend().extend({name:"delayable",props:{openDelay:{type:[Number,String],default:0},closeDelay:{type:[Number,String],default:0}},data:()=>({openTimeout:void 0,closeTimeout:void 0}),methods:{clearDelay(){clearTimeout(this.openTimeout),clearTimeout(this.closeTimeout)},runDelay(t,e){this.clearDelay();const r=parseInt(this[t+"Delay"],10);this[t+"Timeout"]=setTimeout(e||(()=>{this.isActive={open:!0,close:!1}[t]}),r)}}})},1755:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});class n{constructor(t,e,r){this.major=t,this.majorEncoded=t<<5,this.name=e,this.terminal=r}toString(){return`Type[${this.major}].${this.name}`}compare(t){return this.major<t.major?-1:this.major>t.major?1:0}}n.uint=new n(0,"uint",!0),n.negint=new n(1,"negint",!0),n.bytes=new n(2,"bytes",!0),n.string=new n(3,"string",!0),n.array=new n(4,"array",!1),n.map=new n(5,"map",!1),n.tag=new n(6,"tag",!1),n.float=new n(7,"float",!0),n.false=new n(7,"false",!0),n.true=new n(7,"true",!0),n.null=new n(7,"null",!0),n.undefined=new n(7,"undefined",!0),n.break=new n(7,"break",!0);class i{constructor(t,e,r){this.type=t,this.value=e,this.encodedLength=r,this.encodedBytes=void 0,this.byteValue=void 0}toString(){return`Token[${this.type}].${this.value}`}}e.Token=i,e.Type=n},"178e":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1ec9"),i=r("2a12");const o=n.configure(t=>{async function e(e={}){const r=await(await t.post("repo/version",{signal:e.signal,searchParams:i.toUrlSearchParams(e),headers:e.headers})).json();return r.Version}return e});e.createVersion=o},"17b3":function(t,e,r){},"17fb":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("dc74");const i=n.rfc4648({prefix:"b",name:"base32",alphabet:"abcdefghijklmnopqrstuvwxyz234567",bitsPerChar:5}),o=n.rfc4648({prefix:"B",name:"base32upper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",bitsPerChar:5}),a=n.rfc4648({prefix:"c",name:"base32pad",alphabet:"abcdefghijklmnopqrstuvwxyz234567=",bitsPerChar:5}),s=n.rfc4648({prefix:"C",name:"base32padupper",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",bitsPerChar:5}),u=n.rfc4648({prefix:"v",name:"base32hex",alphabet:"0123456789abcdefghijklmnopqrstuv",bitsPerChar:5}),c=n.rfc4648({prefix:"V",name:"base32hexupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV",bitsPerChar:5}),l=n.rfc4648({prefix:"t",name:"base32hexpad",alphabet:"0123456789abcdefghijklmnopqrstuv=",bitsPerChar:5}),h=n.rfc4648({prefix:"T",name:"base32hexpadupper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUV=",bitsPerChar:5}),f=n.rfc4648({prefix:"h",name:"base32z",alphabet:"ybndrfg8ejkmcpqxot1uwisza345h769",bitsPerChar:5});e.base32=i,e.base32hex=u,e.base32hexpad=l,e.base32hexpadupper=h,e.base32hexupper=c,e.base32pad=a,e.base32padupper=s,e.base32upper=o,e.base32z=f},"17fc":function(t,e,r){"use strict";r("c982");var n=r("c3f0"),i=r("a9ad"),o=r("dfda"),a=r("7560"),s=r("aaeb"),u=r("6fcc"),c=r("530a"),l=r("d9f7"),h=r("58df"),f=r("80d2");e["a"]=Object(h["a"])(i["a"],o["a"],a["a"]).extend({directives:{Touch:n["b"]},props:{allowedDates:Function,current:String,disabled:Boolean,format:Function,events:{type:[Array,Function,Object],default:()=>null},eventColor:{type:[Array,Function,Object,String],default:()=>"warning"},min:String,max:String,range:Boolean,readonly:Boolean,scrollable:Boolean,tableDate:{type:String,required:!0},value:[String,Array]},data:()=>({isReversing:!1,wheelThrottle:null}),computed:{computedTransition(){return this.isReversing===!this.$vuetify.rtl?"tab-reverse-transition":"tab-transition"},displayedMonth(){return Number(this.tableDate.split("-")[1])-1},displayedYear(){return Number(this.tableDate.split("-")[0])}},watch:{tableDate(t,e){this.isReversing=t<e}},mounted(){this.wheelThrottle=Object(f["I"])(this.wheel,250)},methods:{genButtonClasses(t,e,r,n,i,o){return{"v-size--default":!e,"v-date-picker-table__current":n,"v-btn--active":r,"v-btn--flat":!t||this.disabled,"v-btn--text":r===n,"v-btn--rounded":e,"v-btn--disabled":!t||this.disabled,"v-btn--outlined":n&&!r,"v-date-picker--first-in-range":i,"v-date-picker--last-in-range":o,...this.themeClasses}},genButtonEvents(t,e,r){if(!this.disabled)return Object(l["c"])({click:()=>{e&&!this.readonly&&this.$emit("input",t)}},Object(s["b"])(this,":"+r,t))},genButton(t,e,r,n,i=!1){const o=Object(c["a"])(t,this.min,this.max,this.allowedDates),a=this.isSelected(t)&&o,s=t===this.current,u=a?this.setBackgroundColor:this.setTextColor,l=(a||s)&&(this.color||"accent");let h=!1,f=!1;return this.range&&this.value&&Array.isArray(this.value)&&(h=t===this.value[0],f=t===this.value[this.value.length-1]),this.$createElement("button",u(l,{staticClass:"v-btn",class:this.genButtonClasses(o&&!i,e,a,s,h,f),attrs:{type:"button"},domProps:{disabled:this.disabled||!o||i},on:this.genButtonEvents(t,o,r)}),[this.$createElement("div",{staticClass:"v-btn__content"},[n(t)]),this.genEvents(t)])},getEventColors(t){const e=t=>Array.isArray(t)?t:[t];let r,n=[];return r=Array.isArray(this.events)?this.events.includes(t):this.events instanceof Function?this.events(t)||!1:this.events&&this.events[t]||!1,r?(n=!0!==r?e(r):"string"===typeof this.eventColor?[this.eventColor]:"function"===typeof this.eventColor?e(this.eventColor(t)):Array.isArray(this.eventColor)?this.eventColor:e(this.eventColor[t]),n.filter(t=>t)):[]},genEvents(t){const e=this.getEventColors(t);return e.length?this.$createElement("div",{staticClass:"v-date-picker-table__events"},e.map(t=>this.$createElement("div",this.setBackgroundColor(t)))):null},isValidScroll(t,e){const r=e(t),n=1===r.split("-").length?"year":"month";return t<0&&(!this.min||r>=Object(u["a"])(this.min,n))||t>0&&(!this.max||r<=Object(u["a"])(this.max,n))},wheel(t,e){this.$emit("update:table-date",e(t.deltaY))},touch(t,e){this.$emit("update:table-date",e(t))},genTable(t,e,r){const n=this.$createElement("transition",{props:{name:this.computedTransition}},[this.$createElement("table",{key:this.tableDate},e)]),i={name:"touch",value:{left:t=>t.offsetX<-15&&this.isValidScroll(1,r)&&this.touch(1,r),right:t=>t.offsetX>15&&this.isValidScroll(-1,r)&&this.touch(-1,r)}};return this.$createElement("div",{staticClass:t,class:{"v-date-picker-table--disabled":this.disabled,...this.themeClasses},on:!this.disabled&&this.scrollable?{wheel:t=>{t.preventDefault(),this.isValidScroll(t.deltaY,r)&&this.wheelThrottle(t,r)}}:void 0,directives:[i]},[n])},isSelected(t){if(Array.isArray(this.value)){if(this.range&&2===this.value.length){const[e,r]=[...this.value].sort();return e<=t&&t<=r}return-1!==this.value.indexOf(t)}return t===this.value}}})},1800:function(t,e,r){"use strict";var n=r("2b0e");e["a"]=n["default"].extend({name:"v-list-item-action",functional:!0,render(t,{data:e,children:r=[]}){e.staticClass=e.staticClass?"v-list-item__action "+e.staticClass:"v-list-item__action";const n=r.filter(t=>!1===t.isComment&&" "!==t.text);return n.length>1&&(e.staticClass+=" v-list-item__action--stack"),t("div",e,r)}})},"1abc":function(t,e,r){"use strict";var n=r("a797");r.d(e,"a",(function(){return n["a"]})),e["b"]=n["a"]},"1ad7":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("24ea"),i=r("1755"),o=r("e3db"),a=r("ac23"),s=r("0ad3"),u=r("3ef0"),c=r("b92d"),l=r("7cf7"),h=r("a4cc"),f=r("83ec"),d=r("e80e"),p=r("d6fc"),m=r("68c3"),g=r("237f");const y={float64:!1,mapSorter:M,quickEncodeToken:s.quickEncodeToken};function v(){const t=[];return t[i.Type.uint.major]=c.encodeUint,t[i.Type.negint.major]=l.encodeNegint,t[i.Type.bytes.major]=h.encodeBytes,t[i.Type.string.major]=f.encodeString,t[i.Type.array.major]=d.encodeArray,t[i.Type.map.major]=p.encodeMap,t[i.Type.tag.major]=m.encodeTag,t[i.Type.float.major]=g.encodeFloat,t}const b=v(),_=new o.Bl;class w{constructor(t,e){this.obj=t,this.parent=e}includes(t){let e=this;do{if(e.obj===t)return!0}while(e=e.parent);return!1}static createCheck(t,e){if(t&&t.includes(e))throw new Error(a.encodeErrPrefix+" object contains circular references");return new w(e,t)}}const x={null:new i.Token(i.Type.null,null),undefined:new i.Token(i.Type.undefined,void 0),true:new i.Token(i.Type.true,!0),false:new i.Token(i.Type.false,!1),emptyArray:new i.Token(i.Type.array,0),emptyMap:new i.Token(i.Type.map,0)},k={number(t,e,r,n){return Number.isInteger(t)&&Number.isSafeInteger(t)?t>=0?new i.Token(i.Type.uint,t):new i.Token(i.Type.negint,t):new i.Token(i.Type.float,t)},bigint(t,e,r,n){return t>=BigInt(0)?new i.Token(i.Type.uint,t):new i.Token(i.Type.negint,t)},Uint8Array(t,e,r,n){return new i.Token(i.Type.bytes,t)},string(t,e,r,n){return new i.Token(i.Type.string,t)},boolean(t,e,r,n){return t?x.true:x.false},null(t,e,r,n){return x.null},undefined(t,e,r,n){return x.undefined},ArrayBuffer(t,e,r,n){return new i.Token(i.Type.bytes,new Uint8Array(t))},DataView(t,e,r,n){return new i.Token(i.Type.bytes,new Uint8Array(t.buffer,t.byteOffset,t.byteLength))},Array(t,e,r,n){if(!t.length)return!0===r.addBreakTokens?[x.emptyArray,new i.Token(i.Type.break)]:x.emptyArray;n=w.createCheck(n,t);const o=[];let a=0;for(const i of t)o[a++]=S(i,r,n);return r.addBreakTokens?[new i.Token(i.Type.array,t.length),o,new i.Token(i.Type.break)]:[new i.Token(i.Type.array,t.length),o]},Object(t,e,r,n){const o="Object"!==e,a=o?t.keys():Object.keys(t),s=o?t.size:a.length;if(!s)return!0===r.addBreakTokens?[x.emptyMap,new i.Token(i.Type.break)]:x.emptyMap;n=w.createCheck(n,t);const u=[];let c=0;for(const i of a)u[c++]=[S(i,r,n),S(o?t.get(i):t[i],r,n)];return E(u,r),r.addBreakTokens?[new i.Token(i.Type.map,s),u,new i.Token(i.Type.break)]:[new i.Token(i.Type.map,s),u]}};k.Map=k.Object,k.Buffer=k.Uint8Array;for(const L of"Uint8Clamped Uint16 Uint32 Int8 Int16 Int32 BigUint64 BigInt64 Float32 Float64".split(" "))k[L+"Array"]=k.DataView;function S(t,e={},r){const i=n.is(t),o=e&&e.typeEncoders&&e.typeEncoders[i]||k[i];if("function"===typeof o){const n=o(t,i,e,r);if(null!=n)return n}const s=k[i];if(!s)throw new Error(`${a.encodeErrPrefix} unsupported type: ${i}`);return s(t,i,e,r)}function E(t,e){e.mapSorter&&t.sort(e.mapSorter)}function M(t,e){const r=Array.isArray(t[0])?t[0][0]:t[0],n=Array.isArray(e[0])?e[0][0]:e[0];if(r.type!==n.type)return r.type.compare(n.type);const i=r.type.major,o=b[i].compareTokens(r,n);return 0===o&&console.warn("WARNING: complex key types used, CBOR key sorting guarantees are gone"),o}function A(t,e,r,n){if(Array.isArray(e))for(const i of e)A(t,i,r,n);else r[e.type.major](t,e,n)}function T(t,e,r){const n=S(t,r);if(!Array.isArray(n)&&r.quickEncodeToken){const t=r.quickEncodeToken(n);if(t)return t;const i=e[n.type.major];if(i.encodedSize){const t=i.encodedSize(n,r),e=new o.Bl(t);if(i(e,n,r),1!==e.chunks.length)throw new Error(`Unexpected error: pre-calculated length for ${n} was wrong`);return u.asU8A(e.chunks[0])}}return _.reset(),A(_,n,e,r),_.toBytes(!0)}function C(t,e){return e=Object.assign({},y,e),T(t,b,e)}e.Ref=w,e.encode=C,e.encodeCustom=T,e.makeCborEncoders=v,e.objectToTokens=S},"1b2c":function(t,e,r){},"1b45":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_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ħada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return e}))},"1b5b":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("dc74");const i=n.rfc4648({prefix:"m",name:"base64",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",bitsPerChar:6}),o=n.rfc4648({prefix:"M",name:"base64pad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",bitsPerChar:6}),a=n.rfc4648({prefix:"u",name:"base64url",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",bitsPerChar:6}),s=n.rfc4648({prefix:"U",name:"base64urlpad",alphabet:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",bitsPerChar:6});e.base64=i,e.base64pad=o,e.base64url=a,e.base64urlpad=s},"1baa":function(t,e,r){"use strict";r("899c");var n=r("604c"),i=r("a9ad"),o=r("58df");e["a"]=Object(o["a"])(n["a"],i["a"]).extend({name:"v-list-item-group",provide(){return{isInGroup:!0,listItemGroup:this}},computed:{classes(){return{...n["a"].options.computed.classes.call(this),"v-list-item-group":!0}}},methods:{genData(){return this.setTextColor(this.color,{...n["a"].options.methods.genData.call(this),attrs:{role:"listbox"}})}}})},"1bfb":function(t,e,r){},"1c35":function(t,e,r){"use strict";(function(t){
/*!
 * The buffer module from node.js, for the browser.
 *
 * @author   Feross Aboukhadijeh <http://feross.org>
 * @license  MIT
 */
var n=r("1fb5"),i=r("9152"),o=r("bf74");function a(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"===typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(e){return!1}}function s(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function u(t,e){if(s()<e)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e),t.__proto__=c.prototype):(null===t&&(t=new c(e)),t.length=e),t}function c(t,e,r){if(!c.TYPED_ARRAY_SUPPORT&&!(this instanceof c))return new c(t,e,r);if("number"===typeof t){if("string"===typeof e)throw new Error("If encoding is specified then the first argument must be a string");return d(this,t)}return l(this,t,e,r)}function l(t,e,r,n){if("number"===typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&e instanceof ArrayBuffer?g(t,e,r,n):"string"===typeof e?p(t,e,r):y(t,e)}function h(t){if("number"!==typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function f(t,e,r,n){return h(e),e<=0?u(t,e):void 0!==r?"string"===typeof n?u(t,e).fill(r,n):u(t,e).fill(r):u(t,e)}function d(t,e){if(h(e),t=u(t,e<0?0:0|v(e)),!c.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function p(t,e,r){if("string"===typeof r&&""!==r||(r="utf8"),!c.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|_(e,r);t=u(t,n);var i=t.write(e,r);return i!==n&&(t=t.slice(0,i)),t}function m(t,e){var r=e.length<0?0:0|v(e.length);t=u(t,r);for(var n=0;n<r;n+=1)t[n]=255&e[n];return t}function g(t,e,r,n){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");return e=void 0===r&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,r):new Uint8Array(e,r,n),c.TYPED_ARRAY_SUPPORT?(t=e,t.__proto__=c.prototype):t=m(t,e),t}function y(t,e){if(c.isBuffer(e)){var r=0|v(e.length);return t=u(t,r),0===t.length?t:(e.copy(t,0,0,r),t)}if(e){if("undefined"!==typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!==typeof e.length||et(e.length)?u(t,0):m(t,e);if("Buffer"===e.type&&o(e.data))return m(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function v(t){if(t>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|t}function b(t){return+t!=t&&(t=0),c.alloc(+t)}function _(t,e){if(c.isBuffer(t))return t.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!==typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return X(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return Q(t).length;default:if(n)return X(t).length;e=(""+e).toLowerCase(),n=!0}}function w(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,e>>>=0,r<=e)return"";t||(t="utf8");while(1)switch(t){case"hex":return N(this,e,r);case"utf8":case"utf-8":return O(this,e,r);case"ascii":return B(this,e,r);case"latin1":case"binary":return j(this,e,r);case"base64":return P(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function x(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function k(t,e,r,n,i){if(0===t.length)return-1;if("string"===typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0){if(!i)return-1;r=0}if("string"===typeof e&&(e=c.from(e,n)),c.isBuffer(e))return 0===e.length?-1:S(t,e,r,n,i);if("number"===typeof e)return e&=255,c.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):S(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function S(t,e,r,n,i){var o,a=1,s=t.length,u=e.length;if(void 0!==n&&(n=String(n).toLowerCase(),"ucs2"===n||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;a=2,s/=2,u/=2,r/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){var l=-1;for(o=r;o<s;o++)if(c(t,o)===c(e,-1===l?0:o-l)){if(-1===l&&(l=o),o-l+1===u)return l*a}else-1!==l&&(o-=o-l),l=-1}else for(r+u>s&&(r=s-u),o=r;o>=0;o--){for(var h=!0,f=0;f<u;f++)if(c(t,o+f)!==c(e,f)){h=!1;break}if(h)return o}return-1}function E(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var o=e.length;if(o%2!==0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var a=0;a<n;++a){var s=parseInt(e.substr(2*a,2),16);if(isNaN(s))return a;t[r+a]=s}return a}function M(t,e,r,n){return tt(X(e,t.length-r),t,r,n)}function A(t,e,r,n){return tt(J(e),t,r,n)}function T(t,e,r,n){return A(t,e,r,n)}function C(t,e,r,n){return tt(Q(e),t,r,n)}function L(t,e,r,n){return tt(Z(e,t.length-r),t,r,n)}function P(t,e,r){return 0===e&&r===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(e,r))}function O(t,e,r){r=Math.min(t.length,r);var n=[],i=e;while(i<r){var o,a,s,u,c=t[i],l=null,h=c>239?4:c>223?3:c>191?2:1;if(i+h<=r)switch(h){case 1:c<128&&(l=c);break;case 2:o=t[i+1],128===(192&o)&&(u=(31&c)<<6|63&o,u>127&&(l=u));break;case 3:o=t[i+1],a=t[i+2],128===(192&o)&&128===(192&a)&&(u=(15&c)<<12|(63&o)<<6|63&a,u>2047&&(u<55296||u>57343)&&(l=u));break;case 4:o=t[i+1],a=t[i+2],s=t[i+3],128===(192&o)&&128===(192&a)&&128===(192&s)&&(u=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s,u>65535&&u<1114112&&(l=u))}null===l?(l=65533,h=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),i+=h}return D(n)}e.Buffer=c,e.SlowBuffer=b,e.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:a(),e.kMaxLength=s(),c.poolSize=8192,c._augment=function(t){return t.__proto__=c.prototype,t},c.from=function(t,e,r){return l(null,t,e,r)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(t,e,r){return f(null,t,e,r)},c.allocUnsafe=function(t){return d(null,t)},c.allocUnsafeSlow=function(t){return d(null,t)},c.isBuffer=function(t){return!(null==t||!t._isBuffer)},c.compare=function(t,e){if(!c.isBuffer(t)||!c.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var r=t.length,n=e.length,i=0,o=Math.min(r,n);i<o;++i)if(t[i]!==e[i]){r=t[i],n=e[i];break}return r<n?-1:n<r?1:0},c.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(t,e){if(!o(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return c.alloc(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=c.allocUnsafe(e),i=0;for(r=0;r<t.length;++r){var a=t[r];if(!c.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,i),i+=a.length}return n},c.byteLength=_,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)x(this,e,e+1);return this},c.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)x(this,e,e+3),x(this,e+1,e+2);return this},c.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)x(this,e,e+7),x(this,e+1,e+6),x(this,e+2,e+5),x(this,e+3,e+4);return this},c.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?O(this,0,t):w.apply(this,arguments)},c.prototype.equals=function(t){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===c.compare(this,t)},c.prototype.inspect=function(){var t="",r=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(t+=" ... ")),"<Buffer "+t+">"},c.prototype.compare=function(t,e,r,n,i){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return-1;if(e>=r)return 1;if(e>>>=0,r>>>=0,n>>>=0,i>>>=0,this===t)return 0;for(var o=i-n,a=r-e,s=Math.min(o,a),u=this.slice(n,i),l=t.slice(e,r),h=0;h<s;++h)if(u[h]!==l[h]){o=u[h],a=l[h];break}return o<a?-1:a<o?1:0},c.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},c.prototype.indexOf=function(t,e,r){return k(this,t,e,r,!0)},c.prototype.lastIndexOf=function(t,e,r){return k(this,t,e,r,!1)},c.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"===typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-e;if((void 0===r||r>i)&&(r=i),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return E(this,t,e,r);case"utf8":case"utf-8":return M(this,t,e,r);case"ascii":return A(this,t,e,r);case"latin1":case"binary":return T(this,t,e,r);case"base64":return C(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,t,e,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var I=4096;function D(t){var e=t.length;if(e<=I)return String.fromCharCode.apply(String,t);var r="",n=0;while(n<e)r+=String.fromCharCode.apply(String,t.slice(n,n+=I));return r}function B(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(127&t[i]);return n}function j(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function N(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=K(t[o]);return i}function R(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function F(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function Y(t,e,r,n,i,o){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function U(t,e,r,n){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-r,2);i<o;++i)t[r+i]=(e&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function H(t,e,r,n){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-r,4);i<o;++i)t[r+i]=e>>>8*(n?i:3-i)&255}function z(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function V(t,e,r,n,o){return o||z(t,e,r,4,34028234663852886e22,-34028234663852886e22),i.write(t,e,r,n,23,4),r+4}function $(t,e,r,n,o){return o||z(t,e,r,8,17976931348623157e292,-17976931348623157e292),i.write(t,e,r,n,52,8),r+8}c.prototype.slice=function(t,e){var r,n=this.length;if(t=~~t,e=void 0===e?n:~~e,t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<t&&(e=t),c.TYPED_ARRAY_SUPPORT)r=this.subarray(t,e),r.__proto__=c.prototype;else{var i=e-t;r=new c(i,void 0);for(var o=0;o<i;++o)r[o]=this[o+t]}return r},c.prototype.readUIntLE=function(t,e,r){t|=0,e|=0,r||F(t,e,this.length);var n=this[t],i=1,o=0;while(++o<e&&(i*=256))n+=this[t+o]*i;return n},c.prototype.readUIntBE=function(t,e,r){t|=0,e|=0,r||F(t,e,this.length);var n=this[t+--e],i=1;while(e>0&&(i*=256))n+=this[t+--e]*i;return n},c.prototype.readUInt8=function(t,e){return e||F(t,1,this.length),this[t]},c.prototype.readUInt16LE=function(t,e){return e||F(t,2,this.length),this[t]|this[t+1]<<8},c.prototype.readUInt16BE=function(t,e){return e||F(t,2,this.length),this[t]<<8|this[t+1]},c.prototype.readUInt32LE=function(t,e){return e||F(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},c.prototype.readUInt32BE=function(t,e){return e||F(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},c.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||F(t,e,this.length);var n=this[t],i=1,o=0;while(++o<e&&(i*=256))n+=this[t+o]*i;return i*=128,n>=i&&(n-=Math.pow(2,8*e)),n},c.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||F(t,e,this.length);var n=e,i=1,o=this[t+--n];while(n>0&&(i*=256))o+=this[t+--n]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*e)),o},c.prototype.readInt8=function(t,e){return e||F(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},c.prototype.readInt16LE=function(t,e){e||F(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt16BE=function(t,e){e||F(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt32LE=function(t,e){return e||F(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},c.prototype.readInt32BE=function(t,e){return e||F(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},c.prototype.readFloatLE=function(t,e){return e||F(t,4,this.length),i.read(this,t,!0,23,4)},c.prototype.readFloatBE=function(t,e){return e||F(t,4,this.length),i.read(this,t,!1,23,4)},c.prototype.readDoubleLE=function(t,e){return e||F(t,8,this.length),i.read(this,t,!0,52,8)},c.prototype.readDoubleBE=function(t,e){return e||F(t,8,this.length),i.read(this,t,!1,52,8)},c.prototype.writeUIntLE=function(t,e,r,n){if(t=+t,e|=0,r|=0,!n){var i=Math.pow(2,8*r)-1;Y(this,t,e,r,i,0)}var o=1,a=0;this[e]=255&t;while(++a<r&&(o*=256))this[e+a]=t/o&255;return e+r},c.prototype.writeUIntBE=function(t,e,r,n){if(t=+t,e|=0,r|=0,!n){var i=Math.pow(2,8*r)-1;Y(this,t,e,r,i,0)}var o=r-1,a=1;this[e+o]=255&t;while(--o>=0&&(a*=256))this[e+o]=t/a&255;return e+r},c.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||Y(this,t,e,1,255,0),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},c.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||Y(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):U(this,t,e,!0),e+2},c.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||Y(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):U(this,t,e,!1),e+2},c.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||Y(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):H(this,t,e,!0),e+4},c.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||Y(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):H(this,t,e,!1),e+4},c.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var i=Math.pow(2,8*r-1);Y(this,t,e,r,i-1,-i)}var o=0,a=1,s=0;this[e]=255&t;while(++o<r&&(a*=256))t<0&&0===s&&0!==this[e+o-1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+r},c.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var i=Math.pow(2,8*r-1);Y(this,t,e,r,i-1,-i)}var o=r-1,a=1,s=0;this[e+o]=255&t;while(--o>=0&&(a*=256))t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+r},c.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||Y(this,t,e,1,127,-128),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},c.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||Y(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):U(this,t,e,!0),e+2},c.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||Y(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):U(this,t,e,!1),e+2},c.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||Y(this,t,e,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):H(this,t,e,!0),e+4},c.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||Y(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):H(this,t,e,!1),e+4},c.prototype.writeFloatLE=function(t,e,r){return V(this,t,e,!0,r)},c.prototype.writeFloatBE=function(t,e,r){return V(this,t,e,!1,r)},c.prototype.writeDoubleLE=function(t,e,r){return $(this,t,e,!0,r)},c.prototype.writeDoubleBE=function(t,e,r){return $(this,t,e,!1,r)},c.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=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),t.length-e<n-r&&(n=t.length-e+r);var i,o=n-r;if(this===t&&r<e&&e<n)for(i=o-1;i>=0;--i)t[i+e]=this[i+r];else if(o<1e3||!c.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)t[i+e]=this[i+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+o),e);return o},c.prototype.fill=function(t,e,r,n){if("string"===typeof t){if("string"===typeof e?(n=e,e=0,r=this.length):"string"===typeof r&&(n=r,r=this.length),1===t.length){var i=t.charCodeAt(0);i<256&&(t=i)}if(void 0!==n&&"string"!==typeof n)throw new TypeError("encoding must be a string");if("string"===typeof n&&!c.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"===typeof t&&(t&=255);if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;var o;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"===typeof t)for(o=e;o<r;++o)this[o]=t;else{var a=c.isBuffer(t)?t:X(new c(t,n).toString()),s=a.length;for(o=0;o<r-e;++o)this[o+e]=a[o%s]}return this};var q=/[^+\/0-9A-Za-z-_]/g;function G(t){if(t=W(t).replace(q,""),t.length<2)return"";while(t.length%4!==0)t+="=";return t}function W(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function K(t){return t<16?"0"+t.toString(16):t.toString(16)}function X(t,e){var r;e=e||1/0;for(var n=t.length,i=null,o=[],a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function J(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}function Z(t,e){for(var r,n,i,o=[],a=0;a<t.length;++a){if((e-=2)<0)break;r=t.charCodeAt(a),n=r>>8,i=r%256,o.push(i),o.push(n)}return o}function Q(t){return n.toByteArray(G(t))}function tt(t,e,r,n){for(var i=0;i<n;++i){if(i+r>=e.length||i>=t.length)break;e[i+r]=t[i]}return i}function et(t){return t!==t}}).call(this,r("c8ba"))},"1c58":function(t,e,r){},"1c87":function(t,e,r){"use strict";var n=r("2b0e"),i=r("5607"),o=r("80d2");e["a"]=n["default"].extend({name:"routable",directives:{Ripple:i["b"]},props:{activeClass:String,append:Boolean,disabled:Boolean,exact:{type:Boolean,default:void 0},exactPath:Boolean,exactActiveClass:String,link:Boolean,href:[String,Object],to:[String,Object],nuxt:Boolean,replace:Boolean,ripple:{type:[Boolean,Object],default:null},tag:String,target:String},data:()=>({isActive:!1,proxyClass:""}),computed:{classes(){const t={};return this.to||(this.activeClass&&(t[this.activeClass]=this.isActive),this.proxyClass&&(t[this.proxyClass]=this.isActive)),t},computedRipple(){var t;return null!==(t=this.ripple)&&void 0!==t?t:!this.disabled&&this.isClickable},isClickable(){return!this.disabled&&Boolean(this.isLink||this.$listeners.click||this.$listeners["!click"]||this.$attrs.tabindex)},isLink(){return this.to||this.href||this.link},styles:()=>({})},watch:{$route:"onRouteChange"},mounted(){this.onRouteChange()},methods:{generateRouteLink(){let t,e=this.exact;const r={attrs:{tabindex:"tabindex"in this.$attrs?this.$attrs.tabindex:void 0},class:this.classes,style:this.styles,props:{},directives:[{name:"ripple",value:this.computedRipple}],[this.to?"nativeOn":"on"]:{...this.$listeners,..."click"in this?{click:this.click}:void 0},ref:"link"};if("undefined"===typeof this.exact&&(e="/"===this.to||this.to===Object(this.to)&&"/"===this.to.path),this.to){let n=this.activeClass,i=this.exactActiveClass||n;this.proxyClass&&(n=`${n} ${this.proxyClass}`.trim(),i=`${i} ${this.proxyClass}`.trim()),t=this.nuxt?"nuxt-link":"router-link",Object.assign(r.props,{to:this.to,exact:e,exactPath:this.exactPath,activeClass:n,exactActiveClass:i,append:this.append,replace:this.replace})}else t=(this.href?"a":this.tag)||"div","a"===t&&this.href&&(r.attrs.href=this.href);return this.target&&(r.attrs.target=this.target),{tag:t,data:r}},onRouteChange(){if(!this.to||!this.$refs.link||!this.$route)return;const t=`${this.activeClass||""} ${this.proxyClass||""}`.trim(),e=`${this.exactActiveClass||""} ${this.proxyClass||""}`.trim()||t,r="_vnode.data.class."+(this.exact?e:t);this.$nextTick(()=>{!Object(o["r"])(this.$refs.link,r)===this.isActive&&this.toggle()})},toggle(){this.isActive=!this.isActive}}})},"1cc0":function(t,e,r){"use strict";var n=r("c73b");r.d(e,"a",(function(){return n["a"]}));n["a"]},"1cfd":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},r=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},n={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},i=function(t){return function(e,i,o,a){var s=r(e),u=n[t][r(e)];return 2===s&&(u=u[i?0:1]),u.replace(/%d/i,e)}},o=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],a=t.defineLocale("ar-ly",{months:o,monthsShort:o,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,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:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,r){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %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(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},week:{dow:6,doy:12}});return a}))},"1d2b":function(t,e,r){"use strict";function n(t,e){return function(){return t.apply(e,arguments)}}r.d(e,"a",(function(){return n}))},"1e06":function(t,e,r){"use strict";var n=r("58df"),i=r("9d26"),o=r("7560"),a=r("a9ad"),s=r("80d2");const u=Object(n["a"])(a["a"],o["a"]);e["a"]=u.extend().extend({name:"v-timeline-item",inject:["timeline"],props:{color:{type:String,default:"primary"},fillDot:Boolean,hideDot:Boolean,icon:String,iconColor:String,large:Boolean,left:Boolean,right:Boolean,small:Boolean},computed:{hasIcon(){return!!this.icon||!!this.$slots.icon}},methods:{genBody(){return this.$createElement("div",{staticClass:"v-timeline-item__body"},Object(s["u"])(this))},genIcon(){return Object(s["u"])(this,"icon")||this.$createElement(i["b"],{props:{color:this.iconColor,dark:!this.theme.isDark,small:this.small}},this.icon)},genInnerDot(){const t=this.setBackgroundColor(this.color);return this.$createElement("div",{staticClass:"v-timeline-item__inner-dot",...t},[this.hasIcon&&this.genIcon()])},genDot(){return this.$createElement("div",{staticClass:"v-timeline-item__dot",class:{"v-timeline-item__dot--small":this.small,"v-timeline-item__dot--large":this.large}},[this.genInnerDot()])},genDivider(){const t=[];return this.hideDot||t.push(this.genDot()),this.$createElement("div",{staticClass:"v-timeline-item__divider"},t)},genOpposite(){return this.$createElement("div",{staticClass:"v-timeline-item__opposite"},Object(s["u"])(this,"opposite"))}},render(t){const e=[this.genBody(),this.genDivider()];return this.$slots.opposite&&e.push(this.genOpposite()),t("div",{staticClass:"v-timeline-item",class:{"v-timeline-item--fill-dot":this.fillDot,"v-timeline-item--before":this.timeline.reverse?this.right:this.left,"v-timeline-item--after":this.timeline.reverse?this.left:this.right,...this.themeClasses}},e)}})},"1e6c":function(t,e,r){"use strict";var n=r("9d65"),i=r("4e82"),o=r("c3f0"),a=r("80d2"),s=r("58df");const u=Object(s["a"])(n["a"],Object(i["a"])("windowGroup","v-window-item","v-window"));e["a"]=u.extend().extend().extend({name:"v-window-item",directives:{Touch:o["b"]},props:{disabled:Boolean,reverseTransition:{type:[Boolean,String],default:void 0},transition:{type:[Boolean,String],default:void 0},value:{required:!1}},data(){return{isActive:!1,inTransition:!1}},computed:{classes(){return this.groupClasses},computedTransition(){return this.windowGroup.internalReverse?"undefined"!==typeof this.reverseTransition?this.reverseTransition||"":this.windowGroup.computedTransition:"undefined"!==typeof this.transition?this.transition||"":this.windowGroup.computedTransition}},methods:{genDefaultSlot(){return Object(a["u"])(this)},genWindowItem(){return this.$createElement("div",{staticClass:"v-window-item",class:this.classes,directives:[{name:"show",value:this.isActive}],on:this.$listeners},this.genDefaultSlot())},onAfterTransition(){this.inTransition&&(this.inTransition=!1,this.windowGroup.transitionCount>0&&(this.windowGroup.transitionCount--,0===this.windowGroup.transitionCount&&(this.windowGroup.transitionHeight=void 0)))},onBeforeTransition(){this.inTransition||(this.inTransition=!0,0===this.windowGroup.transitionCount&&(this.windowGroup.transitionHeight=Object(a["i"])(this.windowGroup.$el.clientHeight)),this.windowGroup.transitionCount++)},onTransitionCancelled(){this.onAfterTransition()},onEnter(t){this.inTransition&&this.$nextTick(()=>{this.computedTransition&&this.inTransition&&(this.windowGroup.transitionHeight=Object(a["i"])(t.clientHeight))})}},render(t){return t("transition",{props:{name:this.computedTransition},on:{beforeEnter:this.onBeforeTransition,afterEnter:this.onAfterTransition,enterCancelled:this.onTransitionCancelled,beforeLeave:this.onBeforeTransition,afterLeave:this.onAfterTransition,leaveCancelled:this.onTransitionCancelled,enter:this.onEnter}},this.showLazyContent(()=>[this.genWindowItem()]))}})},"1e71":function(t,e,r){"use strict";r("f823");var n=r("58df"),i=r("b974"),o=r("34ef"),a=r("9d26"),s=r("9e88"),u=r("5607"),c=Object(n["a"])().extend({directives:{ripple:u["b"]},props:{headers:{type:Array,default:()=>[]},options:{type:Object,default:()=>({page:1,itemsPerPage:10,sortBy:[],sortDesc:[],groupBy:[],groupDesc:[],multiSort:!1,mustSort:!1})},checkboxColor:String,sortIcon:{type:String,default:"$sort"},everyItem:Boolean,someItems:Boolean,showGroupBy:Boolean,singleSelect:Boolean,disableSort:Boolean},methods:{genSelectAll(){var t;const e={props:{value:this.everyItem,indeterminate:!this.everyItem&&this.someItems,color:null!==(t=this.checkboxColor)&&void 0!==t?t:""},on:{input:t=>this.$emit("toggle-select-all",t)}};return this.$scopedSlots["data-table-select"]?this.$scopedSlots["data-table-select"](e):this.$createElement(s["a"],{staticClass:"v-data-table__checkbox",...e})},genSortIcon(){return this.$createElement(a["b"],{staticClass:"v-data-table-header__icon",props:{size:18}},[this.sortIcon])}}}),l=r("80d2"),h=Object(n["a"])(c).extend({name:"v-data-table-header-mobile",props:{sortByText:{type:String,default:"$vuetify.dataTable.sortBy"}},methods:{genSortChip(t){const e=[t.item.text],r=this.options.sortBy.findIndex(e=>e===t.item.value),n=r>=0,i=this.options.sortDesc[r];return e.push(this.$createElement("div",{staticClass:"v-chip__close",class:{sortable:!0,active:n,asc:n&&!i,desc:n&&i}},[this.genSortIcon()])),this.$createElement(o["b"],{staticClass:"sortable",on:{click:e=>{e.stopPropagation(),this.$emit("sort",t.item.value)}}},e)},genSortSelect(t){return this.$createElement(i["a"],{props:{label:this.$vuetify.lang.t(this.sortByText),items:t,hideDetails:!0,multiple:this.options.multiSort,value:this.options.multiSort?this.options.sortBy:this.options.sortBy[0],menuProps:{closeOnContentClick:!0}},on:{change:t=>this.$emit("sort",t)},scopedSlots:{selection:t=>this.genSortChip(t)}})}},render(t){const e=[],r=this.headers.find(t=>"data-table-select"===t.value);r&&!this.singleSelect&&e.push(this.$createElement("div",{class:["v-data-table-header-mobile__select",...Object(l["K"])(r.class)],attrs:{width:r.width}},[this.genSelectAll()]));const n=this.headers.filter(t=>!1!==t.sortable&&"data-table-select"!==t.value).map(t=>({text:t.text,value:t.value}));!this.disableSort&&n.length&&e.push(this.genSortSelect(n));const i=e.length?t("th",[t("div",{staticClass:"v-data-table-header-mobile__wrapper"},e)]):void 0,o=t("tr",[i]);return t("thead",{staticClass:"v-data-table-header v-data-table-header-mobile"},[o])}}),f=Object(n["a"])(c).extend({name:"v-data-table-header-desktop",methods:{genGroupByToggle(t){return this.$createElement("span",{on:{click:e=>{e.stopPropagation(),this.$emit("group",t.value)}}},["group"])},getAria(t,e){const r=t=>this.$vuetify.lang.t("$vuetify.dataTable.ariaLabel."+t);let n="none",i=[r("sortNone"),r("activateAscending")];return t?(e?(n="descending",i=[r("sortDescending"),r(this.options.mustSort?"activateAscending":"activateNone")]):(n="ascending",i=[r("sortAscending"),r("activateDescending")]),{ariaSort:n,ariaLabel:i.join(" ")}):{ariaSort:n,ariaLabel:i.join(" ")}},genHeader(t){const e={attrs:{role:"columnheader",scope:"col","aria-label":t.text||""},style:{width:Object(l["i"])(t.width),minWidth:Object(l["i"])(t.width)},class:["text-"+(t.align||"start"),...Object(l["K"])(t.class),t.divider&&"v-data-table__divider"],on:{}},r=[];if("data-table-select"===t.value&&!this.singleSelect)return this.$createElement("th",e,[this.genSelectAll()]);if(r.push(this.$scopedSlots.hasOwnProperty(t.value)?this.$scopedSlots[t.value]({header:t}):this.$createElement("span",[t.text])),!this.disableSort&&(t.sortable||!t.hasOwnProperty("sortable"))){e.on.click=()=>this.$emit("sort",t.value);const n=this.options.sortBy.findIndex(e=>e===t.value),i=n>=0,o=this.options.sortDesc[n];e.class.push("sortable");const{ariaLabel:a,ariaSort:s}=this.getAria(i,o);e.attrs["aria-label"]+=`${t.text?": ":""}${a}`,e.attrs["aria-sort"]=s,i&&(e.class.push("active"),e.class.push(o?"desc":"asc")),"end"===t.align?r.unshift(this.genSortIcon()):r.push(this.genSortIcon()),this.options.multiSort&&i&&r.push(this.$createElement("span",{class:"v-data-table-header__sort-badge"},[String(n+1)]))}return this.showGroupBy&&!1!==t.groupable&&r.push(this.genGroupByToggle(t)),this.$createElement("th",e,r)}},render(){return this.$createElement("thead",{staticClass:"v-data-table-header"},[this.$createElement("tr",this.headers.map(t=>this.genHeader(t)))])}});function d(t){if(t.model&&t.on&&t.on.input)if(Array.isArray(t.on.input)){const e=t.on.input.indexOf(t.model.callback);e>-1&&t.on.input.splice(e,1)}else delete t.on.input}var p=r("d9f7");function m(t,e){const r=[];for(const n in t)t.hasOwnProperty(n)&&r.push(e("template",{slot:n},t[n]));return r}var g=r("2b0e");e["a"]=g["default"].extend({name:"v-data-table-header",functional:!0,props:{...c.options.props,mobile:Boolean},render(t,{props:e,data:r,slots:n}){d(r);const i=m(n(),t);return r=Object(p["a"])(r,{props:e}),e.mobile?t(h,r,i):t(f,r,i)}})},"1ec9":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("f592");const i=t=>e=>t(new n.Client(e),e);e.configure=i},"1f09":function(t,e,r){},"1f0b":function(t,e,r){"use strict";const n="undefined"!==typeof navigator&&"ReactNative"===navigator.product;function i(){return n?"http://localhost":self.location?self.location.protocol+"//"+self.location.host:""}const o=self.URL,a=i();class s{constructor(t="",e=a){this.super=new o(t,e),this.path=this.pathname+this.search,this.auth=this.username&&this.password?this.username+":"+this.password:null,this.query=this.search&&this.search.startsWith("?")?this.search.slice(1):null}get hash(){return this.super.hash}get host(){return this.super.host}get hostname(){return this.super.hostname}get href(){return this.super.href}get origin(){return this.super.origin}get password(){return this.super.password}get pathname(){return this.super.pathname}get port(){return this.super.port}get protocol(){return this.super.protocol}get search(){return this.super.search}get searchParams(){return this.super.searchParams}get username(){return this.super.username}set hash(t){this.super.hash=t}set host(t){this.super.host=t}set hostname(t){this.super.hostname=t}set href(t){this.super.href=t}set password(t){this.super.password=t}set pathname(t){this.super.pathname=t}set port(t){this.super.port=t}set protocol(t){this.super.protocol=t}set search(t){this.super.search=t}set username(t){this.super.username=t}static createObjectURL(t){return o.createObjectURL(t)}static revokeObjectURL(t){o.revokeObjectURL(t)}toJSON(){return this.super.toJSON()}toString(){return this.super.toString()}format(){return this.toString()}}function u(t){if("string"===typeof t){const e=new o(t);return e.toString()}if(!(t instanceof o)){const e=t.username&&t.password?`${t.username}:${t.password}@`:"",r=t.auth?t.auth+"@":"",n=t.port?":"+t.port:"",i=t.protocol?t.protocol+"//":"",o=t.host||"",a=t.hostname||"",s=t.search||(t.query?"?"+t.query:""),u=t.hash||"",c=t.pathname||"",l=t.path||c+s;return`${i}${e||r}${o||a+n}${l}${u}`}}t.exports={URLWithLegacySupport:s,URLSearchParams:self.URLSearchParams,defaultBase:a,format:u}},"1f0e":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("fb86"),i=r("1ec9"),o=r("589c"),a=r("2a12");const s=i.configure(t=>{async function*e(e,r={}){for await(const{path:i,recursive:s}of o.normaliseInput(e)){const e=new URLSearchParams(r.searchParams);e.append("arg",""+i),null!=s&&e.set("recursive",String(s));const o=await t.post("pin/rm",{signal:r.signal,headers:r.headers,searchParams:a.toUrlSearchParams({...r,arg:""+i,recursive:s})});for await(const t of o.ndjson())t.Pins?yield*t.Pins.map(t=>n.CID.parse(t)):yield n.CID.parse(t)}}return e});e.createRmAll=s},"1f4f":function(t,e,r){"use strict";r("8b37");var n=r("80d2"),i=r("7560"),o=r("58df");e["a"]=Object(o["a"])(i["a"]).extend({name:"v-simple-table",props:{dense:Boolean,fixedHeader:Boolean,height:[Number,String]},computed:{classes(){return{"v-data-table--dense":this.dense,"v-data-table--fixed-height":!!this.height&&!this.fixedHeader,"v-data-table--fixed-header":this.fixedHeader,"v-data-table--has-top":!!this.$slots.top,"v-data-table--has-bottom":!!this.$slots.bottom,...this.themeClasses}}},methods:{genWrapper(){return this.$slots.wrapper||this.$createElement("div",{staticClass:"v-data-table__wrapper",style:{height:Object(n["i"])(this.height)}},[this.$createElement("table",Object(n["u"])(this))])}},render(t){return t("div",{staticClass:"v-data-table",class:this.classes},[Object(n["u"])(this,"top"),this.genWrapper(),Object(n["u"])(this,"bottom")])}})},"1fa4":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1ec9"),i=r("6661");const o=(t,e)=>{const r=n.configure(r=>{const n=i.createPut(t,e);async function o(t,e={}){return n(t,{...e,format:"dag-pb",hashAlg:"sha2-256",version:0})}return o});return r(e)};e.createPut=o},"1fb5":function(t,e,r){"use strict";e.byteLength=l,e.toByteArray=f,e.fromByteArray=m;for(var n=[],i=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,u=a.length;s<u;++s)n[s]=a[s],i[a.charCodeAt(s)]=s;function c(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");-1===r&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function l(t){var e=c(t),r=e[0],n=e[1];return 3*(r+n)/4-n}function h(t,e,r){return 3*(e+r)/4-r}function f(t){var e,r,n=c(t),a=n[0],s=n[1],u=new o(h(t,a,s)),l=0,f=s>0?a-4:a;for(r=0;r<f;r+=4)e=i[t.charCodeAt(r)]<<18|i[t.charCodeAt(r+1)]<<12|i[t.charCodeAt(r+2)]<<6|i[t.charCodeAt(r+3)],u[l++]=e>>16&255,u[l++]=e>>8&255,u[l++]=255&e;return 2===s&&(e=i[t.charCodeAt(r)]<<2|i[t.charCodeAt(r+1)]>>4,u[l++]=255&e),1===s&&(e=i[t.charCodeAt(r)]<<10|i[t.charCodeAt(r+1)]<<4|i[t.charCodeAt(r+2)]>>2,u[l++]=e>>8&255,u[l++]=255&e),u}function d(t){return n[t>>18&63]+n[t>>12&63]+n[t>>6&63]+n[63&t]}function p(t,e,r){for(var n,i=[],o=e;o<r;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(255&t[o+2]),i.push(d(n));return i.join("")}function m(t){for(var e,r=t.length,i=r%3,o=[],a=16383,s=0,u=r-i;s<u;s+=a)o.push(p(t,s,s+a>u?u:s+a));return 1===i?(e=t[r-1],o.push(n[e>>2]+n[e<<4&63]+"==")):2===i&&(e=(t[r-2]<<8)+t[r-1],o.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"=")),o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},"1fbd":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("dd7b"),i=r("29f9");const o=0,a="identity",s=n.coerce,u=t=>i.create(o,s(t)),c={code:o,name:a,encode:s,digest:u};e.identity=c},"1fc1":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
function e(t,e){var r=t.split("_");return e%10===1&&e%100!==11?r[0]:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?r[1]:r[2]}function r(t,r,n){var i={ss:r?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:r?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:r?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"};return"m"===n?r?"хвіліна":"хвіліну":"h"===n?r?"гадзіна":"гадзіну":t+" "+e(i[n],+t)}var n=t.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".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:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:r,mm:r,h:r,hh:r,d:"дзень",dd:r,M:"месяц",MM:r,y:"год",yy:r},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(t){return/^(дня|вечара)$/.test(t)},meridiem:function(t,e,r){return t<4?"ночы":t<12?"раніцы":t<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t%10!==2&&t%10!==3||t%100===12||t%100===13?t+"-ы":t+"-і";case"D":return t+"-га";default:return t}},week:{dow:1,doy:7}});return n}))},"201b":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.defineLocale("ka",{months:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".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:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(t){return t.replace(/(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/,(function(t,e,r){return"ი"===r?e+"ში":e+r+"ში"}))},past:function(t){return/(წამი|წუთი|საათი|დღე|თვე)/.test(t)?t.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(t)?t.replace(/წელი$/,"წლის წინ"):t},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(t){return 0===t?t:1===t?t+"-ლი":t<20||t<=100&&t%20===0||t%100===0?"მე-"+t:t+"-ე"},week:{dow:1,doy:7}});return e}))},"202a":function(t,e,r){"use strict";var n=r("8414");r.d(e,"a",(function(){return n["a"]}));var i=r("1e06");r.d(e,"b",(function(){return i["a"]}));n["a"],i["a"]},2054:function(t,e,r){"use strict";const n=r("ba1f"),i=r("956c"),o=r("2612"),{CID:a}=r("fb86"),{base58btc:s}=r("e4de"),u=r("b6aa"),c=Symbol.for("nodejs.util.inspect.custom"),{toString:l}=r("eaf0"),{equals:h}=r("b2af"),f=new Map,d=Symbol.for("@multiformats/js-multiaddr/multiaddr");class p{constructor(t){if(null==t&&(t=""),Object.defineProperty(this,d,{value:!0}),t instanceof Uint8Array)this.bytes=n.fromBytes(t);else if("string"===typeof t){if(t.length>0&&"/"!==t.charAt(0))throw new Error(`multiaddr "${t}" must start with a "/"`);this.bytes=n.fromString(t)}else{if(!p.isMultiaddr(t))throw new Error("addr must be a string, Buffer, or another Multiaddr");this.bytes=n.fromBytes(t.bytes)}}toString(){return n.bytesToString(this.bytes)}toJSON(){return this.toString()}toOptions(){const t={},e=this.toString().split("/");return t.family="ip4"===e[1]?4:6,t.host=e[2],t.transport=e[3],t.port=parseInt(e[4]),t}protos(){return this.protoCodes().map(t=>Object.assign({},i(t)))}protoCodes(){const t=[],e=this.bytes;let r=0;while(r<e.length){const a=o.decode(e,r),s=o.decode.bytes,u=i(a),c=n.sizeForAddr(u,e.slice(r+s));r+=c+s,t.push(a)}return t}protoNames(){return this.protos().map(t=>t.name)}tuples(){return n.bytesToTuples(this.bytes)}stringTuples(){const t=n.bytesToTuples(this.bytes);return n.tuplesToStringTuples(t)}encapsulate(t){return t=new p(t),new p(this.toString()+t.toString())}decapsulate(t){const e=t.toString(),r=this.toString(),n=r.lastIndexOf(e);if(n<0)throw new Error("Address "+this+" does not contain subaddress: "+t);return new p(r.slice(0,n))}decapsulateCode(t){const e=this.tuples();for(let r=e.length-1;r>=0;r--)if(e[r][0]===t)return new p(n.tuplesToBytes(e.slice(0,r)));return this}getPeerId(){try{const t=this.stringTuples().filter(t=>t[0]===i.names.ipfs.code),e=t.pop();if(e&&e[1]){const t=e[1];return"Q"===t[0]||"1"===t[0]?l(s.decode("z"+t),"base58btc"):l(a.parse(t).multihash.bytes,"base58btc")}return null}catch(t){return null}}getPath(){let t=null;try{t=this.stringTuples().filter(t=>{const e=i(t[0]);return!!e.path})[0][1],t||(t=null)}catch(e){t=null}return t}equals(t){return h(this.bytes,t.bytes)}async resolve(){const t=this.protos().find(t=>t.resolvable);if(!t)return[this];const e=f.get(t.name);if(!e)throw u(new Error("no available resolver for "+t.name),"ERR_NO_AVAILABLE_RESOLVER");const r=await e(this);return r.map(t=>new p(t))}nodeAddress(){const t=this.protoCodes(),e=this.protoNames(),r=this.toString().split("/").slice(1);if(r.length<4)throw new Error('multiaddr must have a valid format: "/{ip4, ip6, dns4, dns6}/{address}/{tcp, udp}/{port}".');if(4!==t[0]&&41!==t[0]&&54!==t[0]&&55!==t[0])throw new Error(`no protocol with name: "'${e[0]}'". Must have a valid family name: "{ip4, ip6, dns4, dns6}".`);if("tcp"!==r[2]&&"udp"!==r[2])throw new Error(`no protocol with name: "'${e[1]}'". Must have a valid transport protocol: "{tcp, udp}".`);return{family:41===t[0]||55===t[0]?6:4,address:r[1],port:parseInt(r[3])}}isThinWaistAddress(t){const e=(t||this).protos();return 2===e.length&&((4===e[0].code||41===e[0].code)&&(6===e[1].code||273===e[1].code))}static fromNodeAddress(t,e){if(!t)throw new Error("requires node address object");if(!e)throw new Error("requires transport protocol");let r;switch(t.family){case 4:r="ip4";break;case 6:r="ip6";break;default:throw Error(`Invalid addr family. Got '${t.family}' instead of 4 or 6`)}return new p("/"+[r,t.address,e,t.port].join("/"))}static isName(t){return!!p.isMultiaddr(t)&&t.protos().some(t=>t.resolvable)}static isMultiaddr(t){return t instanceof p||Boolean(t&&t[d])}[c](){return"<Multiaddr "+l(this.bytes,"base16")+" - "+n.bytesToString(this.bytes)+">"}inspect(){return"<Multiaddr "+l(this.bytes,"base16")+" - "+n.bytesToString(this.bytes)+">"}}function m(t){return new p(t)}p.protocols=i,p.resolvers=f,t.exports={Multiaddr:p,multiaddr:m,protocols:i,resolvers:f}},"20f6":function(t,e,r){},2102:function(t,e,r){},"210b":function(t,e,r){},2110:function(t,e,r){"use strict";t.exports=u;var n,i=r("e938"),o=i.LongBits,a=i.utf8;function s(t,e){return RangeError("index out of range: "+t.pos+" + "+(e||1)+" > "+t.len)}function u(t){this.buf=t,this.pos=0,this.len=t.length}var c="undefined"!==typeof Uint8Array?function(t){if(t instanceof Uint8Array||Array.isArray(t))return new u(t);throw Error("illegal buffer")}:function(t){if(Array.isArray(t))return new u(t);throw Error("illegal buffer")},l=function(){return i.Buffer?function(t){return(u.create=function(t){return i.Buffer.isBuffer(t)?new n(t):c(t)})(t)}:c};function h(){var t=new o(0,0),e=0;if(!(this.len-this.pos>4)){for(;e<3;++e){if(this.pos>=this.len)throw s(this);if(t.lo=(t.lo|(127&this.buf[this.pos])<<7*e)>>>0,this.buf[this.pos++]<128)return t}return t.lo=(t.lo|(127&this.buf[this.pos++])<<7*e)>>>0,t}for(;e<4;++e)if(t.lo=(t.lo|(127&this.buf[this.pos])<<7*e)>>>0,this.buf[this.pos++]<128)return t;if(t.lo=(t.lo|(127&this.buf[this.pos])<<28)>>>0,t.hi=(t.hi|(127&this.buf[this.pos])>>4)>>>0,this.buf[this.pos++]<128)return t;if(e=0,this.len-this.pos>4){for(;e<5;++e)if(t.hi=(t.hi|(127&this.buf[this.pos])<<7*e+3)>>>0,this.buf[this.pos++]<128)return t}else for(;e<5;++e){if(this.pos>=this.len)throw s(this);if(t.hi=(t.hi|(127&this.buf[this.pos])<<7*e+3)>>>0,this.buf[this.pos++]<128)return t}throw Error("invalid varint encoding")}function f(t,e){return(t[e-4]|t[e-3]<<8|t[e-2]<<16|t[e-1]<<24)>>>0}function d(){if(this.pos+8>this.len)throw s(this,8);return new o(f(this.buf,this.pos+=4),f(this.buf,this.pos+=4))}u.create=l(),u.prototype._slice=i.Array.prototype.subarray||i.Array.prototype.slice,u.prototype.uint32=function(){var t=4294967295;return function(){if(t=(127&this.buf[this.pos])>>>0,this.buf[this.pos++]<128)return t;if(t=(t|(127&this.buf[this.pos])<<7)>>>0,this.buf[this.pos++]<128)return t;if(t=(t|(127&this.buf[this.pos])<<14)>>>0,this.buf[this.pos++]<128)return t;if(t=(t|(127&this.buf[this.pos])<<21)>>>0,this.buf[this.pos++]<128)return t;if(t=(t|(15&this.buf[this.pos])<<28)>>>0,this.buf[this.pos++]<128)return t;if((this.pos+=5)>this.len)throw this.pos=this.len,s(this,10);return t}}(),u.prototype.int32=function(){return 0|this.uint32()},u.prototype.sint32=function(){var t=this.uint32();return t>>>1^-(1&t)|0},u.prototype.bool=function(){return 0!==this.uint32()},u.prototype.fixed32=function(){if(this.pos+4>this.len)throw s(this,4);return f(this.buf,this.pos+=4)},u.prototype.sfixed32=function(){if(this.pos+4>this.len)throw s(this,4);return 0|f(this.buf,this.pos+=4)},u.prototype.float=function(){if(this.pos+4>this.len)throw s(this,4);var t=i.float.readFloatLE(this.buf,this.pos);return this.pos+=4,t},u.prototype.double=function(){if(this.pos+8>this.len)throw s(this,4);var t=i.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,t},u.prototype.bytes=function(){var t=this.uint32(),e=this.pos,r=this.pos+t;if(r>this.len)throw s(this,t);return this.pos+=t,Array.isArray(this.buf)?this.buf.slice(e,r):e===r?new this.buf.constructor(0):this._slice.call(this.buf,e,r)},u.prototype.string=function(){var t=this.bytes();return a.read(t,0,t.length)},u.prototype.skip=function(t){if("number"===typeof t){if(this.pos+t>this.len)throw s(this,t);this.pos+=t}else do{if(this.pos>=this.len)throw s(this)}while(128&this.buf[this.pos++]);return this},u.prototype.skipType=function(t){switch(t){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:while(4!==(t=7&this.uint32()))this.skipType(t);break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+t+" at offset "+this.pos)}return this},u._configure=function(t){n=t,u.create=l(),n._configure();var e=i.Long?"toLong":"toNumber";i.merge(u.prototype,{int64:function(){return h.call(this)[e](!1)},uint64:function(){return h.call(this)[e](!0)},sint64:function(){return h.call(this).zzDecode()[e](!1)},fixed64:function(){return d.call(this)[e](!0)},sfixed64:function(){return d.call(this)[e](!1)}})}},"212d":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("f592"),i=r("782b"),o=r("d7ec"),a=r("7b4d"),s=r("f878"),u=r("3671");function c(t){const e=new n.Client(t);return{add:i.createAdd(e),ls:o.createLs(e),rm:a.createRm(e),rmAll:s.createRmAll(e),service:u.createService(t)}}e.createRemote=c},"21a6":function(t,e,r){(function(r){var n,i,o;(function(r,a){i=[],n=a,o="function"===typeof n?n.apply(e,i):n,void 0===o||(t.exports=o)})(0,(function(){"use strict";function e(t,e){return"undefined"==typeof e?e={autoBom:!1}:"object"!=typeof e&&(console.warn("Deprecated: Expected third argument to be a object"),e={autoBom:!e}),e.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob(["\ufeff",t],{type:t.type}):t}function n(t,e,r){var n=new XMLHttpRequest;n.open("GET",t),n.responseType="blob",n.onload=function(){u(n.response,e,r)},n.onerror=function(){console.error("could not download file")},n.send()}function i(t){var e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch(t){}return 200<=e.status&&299>=e.status}function o(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(n){var e=document.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(e)}}var a="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof r&&r.global===r?r:void 0,s=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),u=a.saveAs||("object"!=typeof window||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!s?function(t,e,r){var s=a.URL||a.webkitURL,u=document.createElement("a");e=e||t.name||"download",u.download=e,u.rel="noopener","string"==typeof t?(u.href=t,u.origin===location.origin?o(u):i(u.href)?n(t,e,r):o(u,u.target="_blank")):(u.href=s.createObjectURL(t),setTimeout((function(){s.revokeObjectURL(u.href)}),4e4),setTimeout((function(){o(u)}),0))}:"msSaveOrOpenBlob"in navigator?function(t,r,a){if(r=r||t.name||"download","string"!=typeof t)navigator.msSaveOrOpenBlob(e(t,a),r);else if(i(t))n(t,r,a);else{var s=document.createElement("a");s.href=t,s.target="_blank",setTimeout((function(){o(s)}))}}:function(t,e,r,i){if(i=i||open("","_blank"),i&&(i.document.title=i.document.body.innerText="downloading..."),"string"==typeof t)return n(t,e,r);var o="application/octet-stream"===t.type,u=/constructor/i.test(a.HTMLElement)||a.safari,c=/CriOS\/[\d]+/.test(navigator.userAgent);if((c||o&&u||s)&&"undefined"!=typeof FileReader){var l=new FileReader;l.onloadend=function(){var t=l.result;t=c?t:t.replace(/^data:[^;]*;/,"data:attachment/file;"),i?i.location.href=t:location=t,i=null},l.readAsDataURL(t)}else{var h=a.URL||a.webkitURL,f=h.createObjectURL(t);i?i.location=f:location.href=f,i=null,setTimeout((function(){h.revokeObjectURL(f)}),4e4)}});a.saveAs=u.saveAs=u,t.exports=u}))}).call(this,r("c8ba"))},"21be":function(t,e,r){"use strict";var n=function(t,e){switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}},i=function(t,e){switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}},o=function(t,e){var r,o=t.match(/(P+)(p+)?/)||[],a=o[1],s=o[2];if(!s)return n(t,e);switch(a){case"P":r=e.dateTime({width:"short"});break;case"PP":r=e.dateTime({width:"medium"});break;case"PPP":r=e.dateTime({width:"long"});break;case"PPPP":default:r=e.dateTime({width:"full"});break}return r.replace("{{date}}",n(a,e)).replace("{{time}}",i(s,e))},a={p:i,P:o};e["a"]=a},"21be9":function(t,e,r){"use strict";var n=r("2b0e"),i=r("80d2");e["a"]=n["default"].extend().extend({name:"stackable",data(){return{stackElement:null,stackExclude:null,stackMinZIndex:0,isActive:!1}},computed:{activeZIndex(){if("undefined"===typeof window)return 0;const t=this.stackElement||this.$refs.content,e=this.isActive?this.getMaxZIndex(this.stackExclude||[t])+2:Object(i["w"])(t);return null==e?e:parseInt(e)}},methods:{getMaxZIndex(t=[]){const e=this.$el,r=[this.stackMinZIndex,Object(i["w"])(e)],n=[...document.getElementsByClassName("v-menu__content--active"),...document.getElementsByClassName("v-dialog__content--active")];for(let o=0;o<n.length;o++)t.includes(n[o])||r.push(Object(i["w"])(n[o]));return Math.max(...r)}}})},2225:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=0,i=1,o=2,a=3,s=4,u=5,c=6,l=7;e.AddingPeer=c,e.DialingPeer=l,e.FinalPeer=o,e.PeerResponse=i,e.Provider=s,e.QueryError=a,e.SendingQuery=n,e.Value=u},"22da":function(t,e,r){"use strict";var n=r("490a");r.d(e,"a",(function(){return n["a"]})),e["b"]=n["a"]},"22f8":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),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일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"일";case"M":return t+"월";case"w":case"W":return t+"주";default:return t}},meridiemParse:/오전|오후/,isPM:function(t){return"오후"===t},meridiem:function(t,e,r){return t<12?"오전":"오후"}});return e}))},"234c":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1ec9"),i=r("b6aa");function o(t){return t&&"object"===typeof t&&"default"in t?t:{default:t}}var a=o(i);const s=n.configure(t=>{const e=async(t,e={})=>{throw a["default"](new Error("Not implemented"),"ERR_NOT_IMPLEMENTED")};return e});e.createInfo=s},"237f":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1755"),i=r("ac23"),o=r("b92d");const a=20,s=21,u=22,c=23;function l(t,e,r,o){if(!1===o.allowUndefined)throw new Error(i.decodeErrPrefix+" undefined values are not supported");return!0===o.coerceUndefinedToNull?new n.Token(n.Type.null,null,1):new n.Token(n.Type.undefined,void 0,1)}function h(t,e,r,o){if(!1===o.allowIndefinite)throw new Error(i.decodeErrPrefix+" indefinite length items not allowed");return new n.Token(n.Type.break,void 0,1)}function f(t,e,r){if(r){if(!1===r.allowNaN&&Number.isNaN(t))throw new Error(i.decodeErrPrefix+" NaN values are not supported");if(!1===r.allowInfinity&&(t===1/0||t===-1/0))throw new Error(i.decodeErrPrefix+" Infinity values are not supported")}return new n.Token(n.Type.float,t,e)}function d(t,e,r,n){return f(w(t,e+1),3,n)}function p(t,e,r,n){return f(k(t,e+1),5,n)}function m(t,e,r,n){return f(E(t,e+1),9,n)}function g(t,e,r){const i=e.value;if(!1===i)t.push([n.Type.float.majorEncoded|a]);else if(!0===i)t.push([n.Type.float.majorEncoded|s]);else if(null===i)t.push([n.Type.float.majorEncoded|u]);else if(void 0===i)t.push([n.Type.float.majorEncoded|c]);else{let e,n=!1;r&&!0===r.float64||(_(i),e=w(b,1),i===e||Number.isNaN(i)?(b[0]=249,t.push(b.slice(0,3)),n=!0):(x(i),e=k(b,1),i===e&&(b[0]=250,t.push(b.slice(0,5)),n=!0))),n||(S(i),e=E(b,1),b[0]=251,t.push(b.slice(0,9)))}}g.encodedSize=function(t,e){const r=t.value;if(!1===r||!0===r||null===r||void 0===r)return 1;if(!e||!0!==e.float64){_(r);let t=w(b,1);if(r===t||Number.isNaN(r))return 3;if(x(r),t=k(b,1),r===t)return 5}return 9};const y=new ArrayBuffer(9),v=new DataView(y,1),b=new Uint8Array(y,0);function _(t){if(t===1/0)v.setUint16(0,31744,!1);else if(t===-1/0)v.setUint16(0,64512,!1);else if(Number.isNaN(t))v.setUint16(0,32256,!1);else{v.setFloat32(0,t);const e=v.getUint32(0),r=(2139095040&e)>>23,n=8388607&e;if(255===r)v.setUint16(0,31744,!1);else if(0===r)v.setUint16(0,(2147483648&t)>>16|n>>13,!1);else{const t=r-127;t<-24?v.setUint16(0,0):t<-14?v.setUint16(0,(2147483648&e)>>16|1<<24+t,!1):v.setUint16(0,(2147483648&e)>>16|t+15<<10|n>>13,!1)}}}function w(t,e){if(t.length-e<2)throw new Error(i.decodeErrPrefix+" not enough data for float16");const r=(t[e]<<8)+t[e+1];if(31744===r)return 1/0;if(64512===r)return-1/0;if(32256===r)return NaN;const n=r>>10&31,o=1023&r;let a;return a=0===n?o*2**-24:31!==n?(o+1024)*2**(n-25):0===o?1/0:NaN,32768&r?-a:a}function x(t){v.setFloat32(0,t,!1)}function k(t,e){if(t.length-e<4)throw new Error(i.decodeErrPrefix+" not enough data for float32");const r=(t.byteOffset||0)+e;return new DataView(t.buffer,r,4).getFloat32(0,!1)}function S(t){v.setFloat64(0,t,!1)}function E(t,e){if(t.length-e<8)throw new Error(i.decodeErrPrefix+" not enough data for float64");const r=(t.byteOffset||0)+e;return new DataView(t.buffer,r,8).getFloat64(0,!1)}g.compareTokens=o.encodeUint.compareTokens,e.decodeBreak=h,e.decodeFloat16=d,e.decodeFloat32=p,e.decodeFloat64=m,e.decodeUndefined=l,e.encodeFloat=g},"23a7":function(t,e,r){"use strict";r("5803");var n=r("2677"),i=r("cc20"),o=r("80d2"),a=r("d9bd"),s=r("d9f7");e["a"]=n["b"].extend({name:"v-file-input",model:{prop:"value",event:"change"},props:{chips:Boolean,clearable:{type:Boolean,default:!0},counterSizeString:{type:String,default:"$vuetify.fileInput.counterSize"},counterString:{type:String,default:"$vuetify.fileInput.counter"},hideInput:Boolean,multiple:Boolean,placeholder:String,prependIcon:{type:String,default:"$file"},readonly:{type:Boolean,default:!1},showSize:{type:[Boolean,Number],default:!1,validator:t=>"boolean"===typeof t||[1e3,1024].includes(t)},smallChips:Boolean,truncateLength:{type:[Number,String],default:22},type:{type:String,default:"file"},value:{default:void 0,validator:t=>Object(o["K"])(t).every(t=>null!=t&&"object"===typeof t)}},computed:{classes(){return{...n["b"].options.computed.classes.call(this),"v-file-input":!0}},computedCounterValue(){const t=this.multiple&&this.lazyValue?this.lazyValue.length:this.lazyValue instanceof File?1:0;if(!this.showSize)return this.$vuetify.lang.t(this.counterString,t);const e=this.internalArrayValue.reduce((t,{size:e=0})=>t+e,0);return this.$vuetify.lang.t(this.counterSizeString,t,Object(o["y"])(e,1024===this.base))},internalArrayValue(){return Object(o["K"])(this.internalValue)},internalValue:{get(){return this.lazyValue},set(t){this.lazyValue=t,this.$emit("change",this.lazyValue)}},isDirty(){return this.internalArrayValue.length>0},isLabelActive(){return this.isDirty},text(){return this.isDirty||!this.persistentPlaceholder&&!this.isFocused&&this.hasLabel?this.internalArrayValue.map(t=>{const{name:e="",size:r=0}=t,n=this.truncateText(e);return this.showSize?`${n} (${Object(o["y"])(r,1024===this.base)})`:n}):[this.placeholder]},base(){return"boolean"!==typeof this.showSize?this.showSize:void 0},hasChips(){return this.chips||this.smallChips}},watch:{readonly:{handler(t){!0===t&&Object(a["b"])("readonly is not supported on <v-file-input>",this)},immediate:!0},value(t){const e=this.multiple?t:t?[t]:[];Object(o["m"])(e,this.$refs.input.files)||(this.$refs.input.value="")}},methods:{clearableCallback(){this.internalValue=this.multiple?[]:null,this.$refs.input.value=""},genChips(){return this.isDirty?this.text.map((t,e)=>this.$createElement(i["a"],{props:{small:this.smallChips},on:{"click:close":()=>{const t=this.internalValue;t.splice(e,1),this.internalValue=t}}},[t])):[]},genControl(){const t=n["b"].options.methods.genControl.call(this);return this.hideInput&&(t.data.style=Object(s["d"])(t.data.style,{display:"none"})),t},genInput(){const t=n["b"].options.methods.genInput.call(this);return t.data.attrs.multiple=this.multiple,delete t.data.domProps.value,delete t.data.on.input,t.data.on.change=this.onInput,[this.genSelections(),t]},genPrependSlot(){if(!this.prependIcon)return null;const t=this.genIcon("prepend",()=>{this.$refs.input.click()});return this.genSlot("prepend","outer",[t])},genSelectionText(){const t=this.text.length;return t<2?this.text:this.showSize&&!this.counter?[this.computedCounterValue]:[this.$vuetify.lang.t(this.counterString,t)]},genSelections(){const t=[];return this.isDirty&&this.$scopedSlots.selection?this.internalArrayValue.forEach((e,r)=>{this.$scopedSlots.selection&&t.push(this.$scopedSlots.selection({text:this.text[r],file:e,index:r}))}):t.push(this.hasChips&&this.isDirty?this.genChips():this.genSelectionText()),this.$createElement("div",{staticClass:"v-file-input__text",class:{"v-file-input__text--placeholder":this.placeholder&&!this.isDirty,"v-file-input__text--chips":this.hasChips&&!this.$scopedSlots.selection}},t)},genTextFieldSlot(){const t=n["b"].options.methods.genTextFieldSlot.call(this);return t.data.on={...t.data.on||{},click:t=>{t.target&&"LABEL"===t.target.nodeName||this.$refs.input.click()}},t},onInput(t){const e=[...t.target.files||[]];this.internalValue=this.multiple?e:e[0],this.initialValue=this.internalValue},onKeyDown(t){this.$emit("keydown",t)},truncateText(t){if(t.length<Number(this.truncateLength))return t;const e=Math.floor((Number(this.truncateLength)-1)/2);return`${t.slice(0,e)}…${t.slice(t.length-e)}`}}})},2420:function(t,e,r){"use strict";function n(t){var e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),t.getTime()-e.getTime()}r.d(e,"a",(function(){return n}))},2421:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},r={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},n=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"],i=t.defineLocale("ku",{months:n,monthsShort:n,weekdays:"یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌".split("_"),weekdaysShort:"یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".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:/ئێواره‌|به‌یانی/,isPM:function(t){return/ئێواره‌/.test(t)},meridiem:function(t,e,r){return t<12?"به‌یانی":"ئێواره‌"},calendar:{sameDay:"[ئه‌مرۆ كاتژمێر] LT",nextDay:"[به‌یانی كاتژمێر] LT",nextWeek:"dddd [كاتژمێر] LT",lastDay:"[دوێنێ كاتژمێر] LT",lastWeek:"dddd [كاتژمێر] LT",sameElse:"L"},relativeTime:{future:"له‌ %s",past:"%s",s:"چه‌ند چركه‌یه‌ك",ss:"چركه‌ %d",m:"یه‌ك خوله‌ك",mm:"%d خوله‌ك",h:"یه‌ك كاتژمێر",hh:"%d كاتژمێر",d:"یه‌ك ڕۆژ",dd:"%d ڕۆژ",M:"یه‌ك مانگ",MM:"%d مانگ",y:"یه‌ك ساڵ",yy:"%d ساڵ"},preparse:function(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(t){return r[t]})).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},week:{dow:6,doy:12}});return i}))},2487:function(t,e,r){"use strict";r("1c58");var n=r("a9ad"),i=r("7560"),o=r("58df");e["a"]=Object(o["a"])(n["a"],i["a"]).extend({name:"v-time-picker-clock",props:{allowedValues:Function,ampm:Boolean,disabled:Boolean,double:Boolean,format:{type:Function,default:t=>t},max:{type:Number,required:!0},min:{type:Number,required:!0},scrollable:Boolean,readonly:Boolean,rotate:{type:Number,default:0},step:{type:Number,default:1},value:Number},data(){return{inputValue:this.value,isDragging:!1,valueOnMouseDown:null,valueOnMouseUp:null}},computed:{count(){return this.max-this.min+1},degreesPerUnit(){return 360/this.roundCount},degrees(){return this.degreesPerUnit*Math.PI/180},displayedValue(){return null==this.value?this.min:this.value},innerRadiusScale(){return.62},roundCount(){return this.double?this.count/2:this.count}},watch:{value(t){this.inputValue=t}},methods:{wheel(t){t.preventDefault();const e=Math.sign(-t.deltaY||1);let r=this.displayedValue;do{r+=e,r=(r-this.min+this.count)%this.count+this.min}while(!this.isAllowed(r)&&r!==this.displayedValue);r!==this.displayedValue&&this.update(r)},isInner(t){return this.double&&t-this.min>=this.roundCount},handScale(t){return this.isInner(t)?this.innerRadiusScale:1},isAllowed(t){return!this.allowedValues||this.allowedValues(t)},genValues(){const t=[];for(let e=this.min;e<=this.max;e+=this.step){const r=e===this.value&&(this.color||"accent");t.push(this.$createElement("span",this.setBackgroundColor(r,{staticClass:"v-time-picker-clock__item",class:{"v-time-picker-clock__item--active":e===this.displayedValue,"v-time-picker-clock__item--disabled":this.disabled||!this.isAllowed(e)},style:this.getTransform(e),domProps:{innerHTML:`<span>${this.format(e)}</span>`}})))}return t},genHand(){const t=`scaleY(${this.handScale(this.displayedValue)})`,e=this.rotate+this.degreesPerUnit*(this.displayedValue-this.min),r=null!=this.value&&(this.color||"accent");return this.$createElement("div",this.setBackgroundColor(r,{staticClass:"v-time-picker-clock__hand",class:{"v-time-picker-clock__hand--inner":this.isInner(this.value)},style:{transform:`rotate(${e}deg) ${t}`}}))},getTransform(t){const{x:e,y:r}=this.getPosition(t);return{left:50+50*e+"%",top:50+50*r+"%"}},getPosition(t){const e=this.rotate*Math.PI/180;return{x:Math.sin((t-this.min)*this.degrees+e)*this.handScale(t),y:-Math.cos((t-this.min)*this.degrees+e)*this.handScale(t)}},onMouseDown(t){t.preventDefault(),this.valueOnMouseDown=null,this.valueOnMouseUp=null,this.isDragging=!0,this.onDragMove(t)},onMouseUp(t){t.stopPropagation(),this.isDragging=!1,null!==this.valueOnMouseUp&&this.isAllowed(this.valueOnMouseUp)&&this.$emit("change",this.valueOnMouseUp)},onDragMove(t){if(t.preventDefault(),!this.isDragging&&"click"!==t.type||!this.$refs.clock)return;const{width:e,top:r,left:n}=this.$refs.clock.getBoundingClientRect(),{width:i}=this.$refs.innerClock.getBoundingClientRect(),{clientX:o,clientY:a}="touches"in t?t.touches[0]:t,s={x:e/2,y:-e/2},u={x:o-n,y:r-a},c=Math.round(this.angle(s,u)-this.rotate+360)%360,l=this.double&&this.euclidean(s,u)<(i+i*this.innerRadiusScale)/4,h=Math.ceil(15/this.degreesPerUnit);let f;for(let d=0;d<h;d++){if(f=this.angleToValue(c+d*this.degreesPerUnit,l),this.isAllowed(f))return this.setMouseDownValue(f);if(f=this.angleToValue(c-d*this.degreesPerUnit,l),this.isAllowed(f))return this.setMouseDownValue(f)}},angleToValue(t,e){const r=(Math.round(t/this.degreesPerUnit)+(e?this.roundCount:0))%this.count+this.min;return t<360-this.degreesPerUnit/2?r:e?this.max-this.roundCount+1:this.min},setMouseDownValue(t){null===this.valueOnMouseDown&&(this.valueOnMouseDown=t),this.valueOnMouseUp=t,this.update(t)},update(t){this.inputValue!==t&&(this.inputValue=t,this.$emit("input",t))},euclidean(t,e){const r=e.x-t.x,n=e.y-t.y;return Math.sqrt(r*r+n*n)},angle(t,e){const r=2*Math.atan2(e.y-t.y-this.euclidean(t,e),e.x-t.x);return Math.abs(180*r/Math.PI)}},render(t){const e={staticClass:"v-time-picker-clock",class:{"v-time-picker-clock--indeterminate":null==this.value,...this.themeClasses},on:this.readonly||this.disabled?void 0:{mousedown:this.onMouseDown,mouseup:this.onMouseUp,mouseleave:t=>this.isDragging&&this.onMouseUp(t),touchstart:this.onMouseDown,touchend:this.onMouseUp,mousemove:this.onDragMove,touchmove:this.onDragMove},ref:"clock"};return this.scrollable&&e.on&&(e.on.wheel=this.wheel),t("div",e,[t("div",{staticClass:"v-time-picker-clock__inner",ref:"innerClock"},[this.genHand(),this.genValues()])])}})},"24b2":function(t,e,r){"use strict";var n=r("80d2"),i=r("2b0e");e["a"]=i["default"].extend({name:"measurable",props:{height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},computed:{measurableStyles(){const t={},e=Object(n["i"])(this.height),r=Object(n["i"])(this.minHeight),i=Object(n["i"])(this.minWidth),o=Object(n["i"])(this.maxHeight),a=Object(n["i"])(this.maxWidth),s=Object(n["i"])(this.width);return e&&(t.height=e),r&&(t.minHeight=r),i&&(t.minWidth=i),o&&(t.maxHeight=o),a&&(t.maxWidth=a),s&&(t.width=s),t}}})},"24c9":function(t,e,r){"use strict";r("1b2c");var n=r("a9ad"),i=r("7560"),o=r("58df"),a=r("80d2"),s=r("d9f7");e["a"]=Object(o["a"])(i["a"]).extend({name:"v-label",functional:!0,props:{absolute:Boolean,color:{type:String,default:"primary"},disabled:Boolean,focused:Boolean,for:String,left:{type:[Number,String],default:0},right:{type:[Number,String],default:"auto"},value:Boolean},render(t,e){const{children:r,listeners:o,props:u,data:c}=e,l=Object(s["a"])({staticClass:"v-label",class:{"v-label--active":u.value,"v-label--is-disabled":u.disabled,...Object(i["b"])(e)},attrs:{for:u.for,"aria-hidden":!u.for},on:o,style:{left:Object(a["i"])(u.left),right:Object(a["i"])(u.right),position:u.absolute?"absolute":"relative"},ref:"label"},c);return t("label",n["a"].options.methods.setTextColor(u.focused&&u.color,l),r)}})},"24e2":function(t,e,r){"use strict";var n=r("e0c7");r.d(e,"a",(function(){return n["a"]})),e["b"]=n["a"]},"24ea":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=["string","number","bigint","symbol"],i=["Function","Generator","AsyncGenerator","GeneratorFunction","AsyncGeneratorFunction","AsyncFunction","Observable","Array","Buffer","Object","RegExp","Date","Error","Map","Set","WeakMap","WeakSet","ArrayBuffer","SharedArrayBuffer","DataView","Promise","URL","HTMLElement","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","BigInt64Array","BigUint64Array"];function o(t){if(null===t)return"null";if(void 0===t)return"undefined";if(!0===t||!1===t)return"boolean";const e=typeof t;if(n.includes(e))return e;if("function"===e)return"Function";if(Array.isArray(t))return"Array";if(a(t))return"Buffer";const r=s(t);return r||"Object"}function a(t){return t&&t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer.call(null,t)}function s(t){const e=Object.prototype.toString.call(t).slice(8,-1);if(i.includes(e))return e}e.is=o},2540:function(t,e){t.exports=t=>{if(t[Symbol.asyncIterator])return t;if(t.getReader)return async function*(){const e=t.getReader();try{while(1){const{done:t,value:r}=await e.read();if(t)return;yield r}}finally{e.releaseLock()}}();throw new Error("unknown stream")}},2554:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
function e(t,e,r,n){switch(r){case"m":return e?"jedna minuta":n?"jednu minutu":"jedne minute"}}function r(t,e,r){var n=t+" ";switch(r){case"ss":return n+=1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi",n;case"mm":return n+=1===t?"minuta":2===t||3===t||4===t?"minute":"minuta",n;case"h":return"jedan sat";case"hh":return n+=1===t?"sat":2===t||3===t||4===t?"sata":"sati",n;case"dd":return n+=1===t?"dan":"dana",n;case"MM":return n+=1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci",n;case"yy":return n+=1===t?"godina":2===t||3===t||4===t?"godine":"godina",n}}var n=t.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_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_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čer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:r,m:e,mm:r,h:r,hh:r,d:"dan",dd:r,M:"mjesec",MM:r,y:"godinu",yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},"25a8":function(t,e,r){},2612:function(t,e,r){t.exports={encode:r("af3a"),decode:r("fa45"),encodingLength:r("61f1")}},2677:function(t,e,r){"use strict";var n=r("8654");r.d(e,"a",(function(){return n["a"]})),e["b"]=n["a"]},"26a2":function(t,e,r){"use strict";var n=r("7496");r.d(e,"a",(function(){return n["a"]}));n["a"]},"26f9":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function r(t,e,r,n){return e?"kelios sekundės":n?"kelių sekundžių":"kelias sekundes"}function n(t,e,r,n){return e?o(r)[0]:n?o(r)[1]:o(r)[2]}function i(t){return t%10===0||t>10&&t<20}function o(t){return e[t].split("_")}function a(t,e,r,a){var s=t+" ";return 1===t?s+n(t,e,r[0],a):e?s+(i(t)?o(r)[1]:o(r)[0]):a?s+o(r)[1]:s+(i(t)?o(r)[1]:o(r)[2])}var s=t.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_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į_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".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:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:r,ss:a,m:n,mm:a,h:n,hh:a,d:n,dd:a,M:n,MM:a,y:n,yy:a},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(t){return t+"-oji"},week:{dow:1,doy:4}});return s}))},"273a":function(t,e,r){"use strict";const{TimeoutError:n,AbortError:i}=r("d2aa"),{Response:o,Request:a,Headers:s,default:u}=r("74a5"),c=(t,e={})=>{const r=new XMLHttpRequest;r.open(e.method||"GET",t.toString(),!0);const{timeout:a,headers:u}=e;if(a&&a>0&&a<1/0&&(r.timeout=a),null!=e.overrideMimeType&&r.overrideMimeType(e.overrideMimeType),u)for(const[n,i]of new s(u))r.setRequestHeader(n,i);return e.signal&&(e.signal.onabort=()=>r.abort()),e.onUploadProgress&&(r.upload.onprogress=e.onUploadProgress),r.responseType="arraybuffer",new Promise((t,a)=>{const s=e=>{switch(e.type){case"error":t(o.error());break;case"load":t(new d(r.responseURL,r.response,{status:r.status,statusText:r.statusText,headers:f(r.getAllResponseHeaders())}));break;case"timeout":a(new n);break;case"abort":a(new i);break;default:break}};r.onerror=s,r.onload=s,r.ontimeout=s,r.onabort=s,r.send(e.body)})},l=u,h=(t,e={})=>null!=e.onUploadProgress?c(t,e):l(t,e),f=t=>{const e=new s;for(const r of t.trim().split(/[\r\n]+/)){const t=r.indexOf(": ");t>0&&e.set(r.slice(0,t),r.slice(t+1))}return e};class d extends o{constructor(t,e,r){super(e,r),Object.defineProperty(this,"url",{value:t})}}t.exports={fetch:h,Request:a,Headers:s}},"277e":function(t,e,r){"use strict";var n=r("f977"),i=r("d9bd"),o=r("2b0e");e["a"]=o["default"].extend({name:"scrollable",directives:{Scroll:n["a"]},props:{scrollTarget:String,scrollThreshold:[String,Number]},data:()=>({currentScroll:0,currentThreshold:0,isActive:!1,isScrollingUp:!1,previousScroll:0,savedScroll:0,target:null}),computed:{canScroll(){return"undefined"!==typeof window},computedScrollThreshold(){return this.scrollThreshold?Number(this.scrollThreshold):300}},watch:{isScrollingUp(){this.savedScroll=this.savedScroll||this.currentScroll},isActive(){this.savedScroll=0}},mounted(){this.scrollTarget&&(this.target=document.querySelector(this.scrollTarget),this.target||Object(i["c"])("Unable to locate element with identifier "+this.scrollTarget,this))},methods:{onScroll(){this.canScroll&&(this.previousScroll=this.currentScroll,this.currentScroll=this.target?this.target.scrollTop:window.pageYOffset,this.isScrollingUp=this.currentScroll<this.previousScroll,this.currentThreshold=Math.abs(this.currentScroll-this.computedScrollThreshold),this.$nextTick(()=>{Math.abs(this.currentScroll-this.savedScroll)>this.computedScrollThreshold&&this.thresholdMet()}))},thresholdMet(){}}})},2877:function(t,e,r){"use strict";function n(t,e,r,n,i,o,a,s){var u,c="function"===typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=r,c._compiled=!0),n&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(u=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=u):i&&(u=s?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),u)if(c.functional){c._injectStyles=u;var l=c.render;c.render=function(t,e){return u.call(e),l(t,e)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,u):[u]}return{exports:t,options:c}}r.d(e,"a",(function(){return n}))},"288c":function(t,e,r){"use strict";r("d0cd");var n=r("169a");e["a"]=n["a"].extend({name:"v-bottom-sheet",props:{inset:Boolean,maxWidth:[String,Number],transition:{type:String,default:"bottom-sheet-transition"}},computed:{classes(){return{...n["a"].options.computed.classes.call(this),"v-bottom-sheet":!0,"v-bottom-sheet--inset":this.inset}}}})},2921:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 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ủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".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(t){return/^ch$/i.test(t)},meridiem:function(t,e,r){return t<12?r?"sa":"SA":r?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] 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ôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần trước lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",w:"một tuần",ww:"%d tuần",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}});return e}))},"293c":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e={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(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,r,n){var i=e.words[n];return 1===n.length?r?i[0]:i[1]:t+" "+e.correctGrammaticalCase(t,i)}},r=t.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_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_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če u] LT",lastWeek:function(){var t=["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return t[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mjesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return r}))},"297c":function(t,e,r){"use strict";var n=r("2b0e"),i=r("37c6"),o=r("80d2");e["a"]=n["default"].extend().extend({name:"loadable",props:{loading:{type:[Boolean,String],default:!1},loaderHeight:{type:[Number,String],default:2}},methods:{genProgress(){return!1===this.loading?null:Object(o["u"])(this,"progress")||this.$createElement(i["b"],{props:{absolute:!0,color:!0===this.loading||""===this.loading?this.color||"primary":this.loading,height:this.loaderHeight,indeterminate:!0}})}}})},"297cd":function(t,e,r){"use strict";var n=r("a066"),i=r("9dc5");function o(t){i.call(this,t)}function a(t){return new o(t)}o.prototype=Object.create(i.prototype),o.prototype.constructor=o,o.prototype.sendRequest=n.browserSend,o.prototype.abortRequest=n.browserAbort,t.exports=a},2984:function(t,e,r){"use strict";(function(e){const n=r("63a6"),i="object"===typeof window&&"object"===typeof document&&9===document.nodeType,o=n(),a=i&&!o,s=o&&!i,u=o&&i,c="undefined"!==typeof e&&"undefined"!==typeof e.release&&"node"===e.release.name&&!o,l="function"===typeof importScripts&&"undefined"!==typeof self&&"undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,h="undefined"!==typeof e&&!1,f="undefined"!==typeof navigator&&"ReactNative"===navigator.product;t.exports={isTest:h,isElectron:o,isElectronMain:s,isElectronRenderer:u,isNode:c,isBrowser:a,isWebWorker:l,isEnvWithDom:i,isReactNative:f}}).call(this,r("4362"))},"29f9":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("dd7b"),i=r("ac1b");const o=(t,e)=>{const r=e.byteLength,n=i.encodingLength(t),o=n+i.encodingLength(r),a=new Uint8Array(o+r);return i.encodeTo(t,a,0),i.encodeTo(r,a,n),a.set(e,o),new u(t,r,e,a)},a=t=>{const e=n.coerce(t),[r,o]=i.decode(e),[a,s]=i.decode(e.subarray(o)),c=e.subarray(o+s);if(c.byteLength!==a)throw new Error("Incorrect length");return new u(r,a,c,e)},s=(t,e)=>t===e||t.code===e.code&&t.size===e.size&&n.equals(t.bytes,e.bytes);class u{constructor(t,e,r,n){this.code=t,this.size=e,this.digest=r,this.bytes=n}}e.Digest=u,e.create=o,e.decode=a,e.equals=s},"2a12":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("b58f"),i=r("6657");function o({arg:t,searchParams:e,hashAlg:r,mtime:o,mode:a,...s}={}){e&&(s={...s,...e}),r&&(s.hash=r),null!=o&&(o=i.parseMtime(o),s.mtime=o.secs,s.mtimeNsecs=o.nsecs),null!=a&&(s.mode=n.modeToString(a)),s.timeout&&!isNaN(s.timeout)&&(s.timeout=s.timeout+"ms"),void 0===t||null===t?t=[]:Array.isArray(t)||(t=[t]);const u=new URLSearchParams(s);return t.forEach(t=>u.append("arg",t)),u}e.toUrlSearchParams=o},"2a7f":function(t,e,r){"use strict";r.d(e,"b",(function(){return a})),r.d(e,"c",(function(){return o}));var n=r("71d9");r.d(e,"a",(function(){return n["a"]}));var i=r("80d2");const o=Object(i["k"])("v-toolbar__title"),a=Object(i["k"])("v-toolbar__items");n["a"]},"2ad4":function(t,e,r){"use strict";(function(e){var n=r("53a8"),i=r("a62b");function o(t){if("undefined"!==typeof window){if(t instanceof e.Blob||t instanceof e.ArrayBuffer)return;return"Blob or ArrayBuffer"}if("string"!==typeof t&&void 0===t.pipe)return"Filename or Readable stream"}function a(t,e){return i.assert(i.strictShape(t),e)}function s(t){var e="date";if("boolean"===typeof t)return e;try{var r=new Date(t);if(r.getTime&&isNaN(r.getTime()))return e}catch(n){return e}}function u(t){return i.tuple(i.number,i.number)(t)}t.exports=n(i,{file:o,date:s,coordinates:u,assertShape:a})}).call(this,r("c8ba"))},"2b01":function(t,e,r){"use strict";function n(t){return"undefined"!==typeof Float32Array?function(){var e=new Float32Array([-0]),r=new Uint8Array(e.buffer),n=128===r[3];function i(t,n,i){e[0]=t,n[i]=r[0],n[i+1]=r[1],n[i+2]=r[2],n[i+3]=r[3]}function o(t,n,i){e[0]=t,n[i]=r[3],n[i+1]=r[2],n[i+2]=r[1],n[i+3]=r[0]}function a(t,n){return r[0]=t[n],r[1]=t[n+1],r[2]=t[n+2],r[3]=t[n+3],e[0]}function s(t,n){return r[3]=t[n],r[2]=t[n+1],r[1]=t[n+2],r[0]=t[n+3],e[0]}t.writeFloatLE=n?i:o,t.writeFloatBE=n?o:i,t.readFloatLE=n?a:s,t.readFloatBE=n?s:a}():function(){function e(t,e,r,n){var i=e<0?1:0;if(i&&(e=-e),0===e)t(1/e>0?0:2147483648,r,n);else if(isNaN(e))t(2143289344,r,n);else if(e>34028234663852886e22)t((i<<31|2139095040)>>>0,r,n);else if(e<11754943508222875e-54)t((i<<31|Math.round(e/1401298464324817e-60))>>>0,r,n);else{var o=Math.floor(Math.log(e)/Math.LN2),a=8388607&Math.round(e*Math.pow(2,-o)*8388608);t((i<<31|o+127<<23|a)>>>0,r,n)}}function r(t,e,r){var n=t(e,r),i=2*(n>>31)+1,o=n>>>23&255,a=8388607&n;return 255===o?a?NaN:i*(1/0):0===o?1401298464324817e-60*i*a:i*Math.pow(2,o-150)*(a+8388608)}t.writeFloatLE=e.bind(null,i),t.writeFloatBE=e.bind(null,o),t.readFloatLE=r.bind(null,a),t.readFloatBE=r.bind(null,s)}(),"undefined"!==typeof Float64Array?function(){var e=new Float64Array([-0]),r=new Uint8Array(e.buffer),n=128===r[7];function i(t,n,i){e[0]=t,n[i]=r[0],n[i+1]=r[1],n[i+2]=r[2],n[i+3]=r[3],n[i+4]=r[4],n[i+5]=r[5],n[i+6]=r[6],n[i+7]=r[7]}function o(t,n,i){e[0]=t,n[i]=r[7],n[i+1]=r[6],n[i+2]=r[5],n[i+3]=r[4],n[i+4]=r[3],n[i+5]=r[2],n[i+6]=r[1],n[i+7]=r[0]}function a(t,n){return r[0]=t[n],r[1]=t[n+1],r[2]=t[n+2],r[3]=t[n+3],r[4]=t[n+4],r[5]=t[n+5],r[6]=t[n+6],r[7]=t[n+7],e[0]}function s(t,n){return r[7]=t[n],r[6]=t[n+1],r[5]=t[n+2],r[4]=t[n+3],r[3]=t[n+4],r[2]=t[n+5],r[1]=t[n+6],r[0]=t[n+7],e[0]}t.writeDoubleLE=n?i:o,t.writeDoubleBE=n?o:i,t.readDoubleLE=n?a:s,t.readDoubleBE=n?s:a}():function(){function e(t,e,r,n,i,o){var a=n<0?1:0;if(a&&(n=-n),0===n)t(0,i,o+e),t(1/n>0?0:2147483648,i,o+r);else if(isNaN(n))t(0,i,o+e),t(2146959360,i,o+r);else if(n>17976931348623157e292)t(0,i,o+e),t((a<<31|2146435072)>>>0,i,o+r);else{var s;if(n<22250738585072014e-324)s=n/5e-324,t(s>>>0,i,o+e),t((a<<31|s/4294967296)>>>0,i,o+r);else{var u=Math.floor(Math.log(n)/Math.LN2);1024===u&&(u=1023),s=n*Math.pow(2,-u),t(4503599627370496*s>>>0,i,o+e),t((a<<31|u+1023<<20|1048576*s&1048575)>>>0,i,o+r)}}}function r(t,e,r,n,i){var o=t(n,i+e),a=t(n,i+r),s=2*(a>>31)+1,u=a>>>20&2047,c=4294967296*(1048575&a)+o;return 2047===u?c?NaN:s*(1/0):0===u?5e-324*s*c:s*Math.pow(2,u-1075)*(c+4503599627370496)}t.writeDoubleLE=e.bind(null,i,0,4),t.writeDoubleBE=e.bind(null,o,4,0),t.readDoubleLE=r.bind(null,a,0,4),t.readDoubleBE=r.bind(null,s,4,0)}(),t}function i(t,e,r){e[r]=255&t,e[r+1]=t>>>8&255,e[r+2]=t>>>16&255,e[r+3]=t>>>24}function o(t,e,r){e[r]=t>>>24,e[r+1]=t>>>16&255,e[r+2]=t>>>8&255,e[r+3]=255&t}function a(t,e){return(t[e]|t[e+1]<<8|t[e+2]<<16|t[e+3]<<24)>>>0}function s(t,e){return(t[e]<<24|t[e+1]<<16|t[e+2]<<8|t[e+3])>>>0}t.exports=n(n)},"2b0e":function(t,e,r){"use strict";r.r(e),function(t){r.d(e,"EffectScope",(function(){return Ce})),r.d(e,"computed",(function(){return ye})),r.d(e,"customRef",(function(){return ue})),r.d(e,"default",(function(){return io})),r.d(e,"defineAsyncComponent",(function(){return en})),r.d(e,"defineComponent",(function(){return bn})),r.d(e,"del",(function(){return Ht})),r.d(e,"effectScope",(function(){return Le})),r.d(e,"getCurrentInstance",(function(){return yt})),r.d(e,"getCurrentScope",(function(){return Oe})),r.d(e,"h",(function(){return Rr})),r.d(e,"inject",(function(){return je})),r.d(e,"isProxy",(function(){return Xt})),r.d(e,"isReactive",(function(){return Gt})),r.d(e,"isReadonly",(function(){return Kt})),r.d(e,"isRef",(function(){return te})),r.d(e,"isShallow",(function(){return Wt})),r.d(e,"markRaw",(function(){return Zt})),r.d(e,"mergeDefaults",(function(){return Sr})),r.d(e,"nextTick",(function(){return Zr})),r.d(e,"onActivated",(function(){return hn})),r.d(e,"onBeforeMount",(function(){return on})),r.d(e,"onBeforeUnmount",(function(){return cn})),r.d(e,"onBeforeUpdate",(function(){return sn})),r.d(e,"onDeactivated",(function(){return fn})),r.d(e,"onErrorCaptured",(function(){return yn})),r.d(e,"onMounted",(function(){return an})),r.d(e,"onRenderTracked",(function(){return pn})),r.d(e,"onRenderTriggered",(function(){return mn})),r.d(e,"onScopeDispose",(function(){return Ie})),r.d(e,"onServerPrefetch",(function(){return dn})),r.d(e,"onUnmounted",(function(){return ln})),r.d(e,"onUpdated",(function(){return un})),r.d(e,"provide",(function(){return De})),r.d(e,"proxyRefs",(function(){return ae})),r.d(e,"reactive",(function(){return Vt})),r.d(e,"readonly",(function(){return de})),r.d(e,"ref",(function(){return ee})),r.d(e,"set",(function(){return Ut})),r.d(e,"shallowReactive",(function(){return $t})),r.d(e,"shallowReadonly",(function(){return ge})),r.d(e,"shallowRef",(function(){return re})),r.d(e,"toRaw",(function(){return Jt})),r.d(e,"toRef",(function(){return le})),r.d(e,"toRefs",(function(){return ce})),r.d(e,"triggerRef",(function(){return ie})),r.d(e,"unref",(function(){return oe})),r.d(e,"useAttrs",(function(){return wr})),r.d(e,"useCssModule",(function(){return Qr})),r.d(e,"useCssVars",(function(){return tn})),r.d(e,"useListeners",(function(){return xr})),r.d(e,"useSlots",(function(){return _r})),r.d(e,"version",(function(){return vn})),r.d(e,"watch",(function(){return Ae})),r.d(e,"watchEffect",(function(){return xe})),r.d(e,"watchPostEffect",(function(){return ke})),r.d(e,"watchSyncEffect",(function(){return Se}));
/*!
 * Vue.js v2.7.16
 * (c) 2014-2023 Evan You
 * Released under the MIT License.
 */
var n=Object.freeze({}),i=Array.isArray;function o(t){return void 0===t||null===t}function a(t){return void 0!==t&&null!==t}function s(t){return!0===t}function u(t){return!1===t}function c(t){return"string"===typeof t||"number"===typeof t||"symbol"===typeof t||"boolean"===typeof t}function l(t){return"function"===typeof t}function h(t){return null!==t&&"object"===typeof t}var f=Object.prototype.toString;function d(t){return"[object Object]"===f.call(t)}function p(t){return"[object RegExp]"===f.call(t)}function m(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function g(t){return a(t)&&"function"===typeof t.then&&"function"===typeof t.catch}function y(t){return null==t?"":Array.isArray(t)||d(t)&&t.toString===f?JSON.stringify(t,v,2):String(t)}function v(t,e){return e&&e.__v_isRef?e.value:e}function b(t){var e=parseFloat(t);return isNaN(e)?t:e}function _(t,e){for(var r=Object.create(null),n=t.split(","),i=0;i<n.length;i++)r[n[i]]=!0;return e?function(t){return r[t.toLowerCase()]}:function(t){return r[t]}}_("slot,component",!0);var w=_("key,ref,slot,slot-scope,is");function x(t,e){var r=t.length;if(r){if(e===t[r-1])return void(t.length=r-1);var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}var k=Object.prototype.hasOwnProperty;function S(t,e){return k.call(t,e)}function E(t){var e=Object.create(null);return function(r){var n=e[r];return n||(e[r]=t(r))}}var M=/-(\w)/g,A=E((function(t){return t.replace(M,(function(t,e){return e?e.toUpperCase():""}))})),T=E((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),C=/\B([A-Z])/g,L=E((function(t){return t.replace(C,"-$1").toLowerCase()}));function P(t,e){function r(r){var n=arguments.length;return n?n>1?t.apply(e,arguments):t.call(e,r):t.call(e)}return r._length=t.length,r}function O(t,e){return t.bind(e)}var I=Function.prototype.bind?O:P;function D(t,e){e=e||0;var r=t.length-e,n=new Array(r);while(r--)n[r]=t[r+e];return n}function B(t,e){for(var r in e)t[r]=e[r];return t}function j(t){for(var e={},r=0;r<t.length;r++)t[r]&&B(e,t[r]);return e}function N(t,e,r){}var R=function(t,e,r){return!1},F=function(t){return t};function Y(t,e){if(t===e)return!0;var r=h(t),n=h(e);if(!r||!n)return!r&&!n&&String(t)===String(e);try{var i=Array.isArray(t),o=Array.isArray(e);if(i&&o)return t.length===e.length&&t.every((function(t,r){return Y(t,e[r])}));if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(i||o)return!1;var a=Object.keys(t),s=Object.keys(e);return a.length===s.length&&a.every((function(r){return Y(t[r],e[r])}))}catch(u){return!1}}function U(t,e){for(var r=0;r<t.length;r++)if(Y(t[r],e))return r;return-1}function H(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}function z(t,e){return t===e?0===t&&1/t!==1/e:t===t||e===e}var V="data-server-rendered",$=["component","directive","filter"],q=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],G={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:R,isReservedAttr:R,isUnknownElement:R,getTagNamespace:N,parsePlatformTagName:F,mustUseProp:R,async:!0,_lifecycleHooks:q},W=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function K(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function X(t,e,r,n){Object.defineProperty(t,e,{value:r,enumerable:!!n,writable:!0,configurable:!0})}var J=new RegExp("[^".concat(W.source,".$_\\d]"));function Z(t){if(!J.test(t)){var e=t.split(".");return function(t){for(var r=0;r<e.length;r++){if(!t)return;t=t[e[r]]}return t}}}var Q="__proto__"in{},tt="undefined"!==typeof window,et=tt&&window.navigator.userAgent.toLowerCase(),rt=et&&/msie|trident/.test(et),nt=et&&et.indexOf("msie 9.0")>0,it=et&&et.indexOf("edge/")>0;et&&et.indexOf("android");var ot=et&&/iphone|ipad|ipod|ios/.test(et);et&&/chrome\/\d+/.test(et),et&&/phantomjs/.test(et);var at,st=et&&et.match(/firefox\/(\d+)/),ut={}.watch,ct=!1;if(tt)try{var lt={};Object.defineProperty(lt,"passive",{get:function(){ct=!0}}),window.addEventListener("test-passive",null,lt)}catch(ou){}var ht=function(){return void 0===at&&(at=!tt&&"undefined"!==typeof t&&(t["process"]&&"server"===t["process"].env.VUE_ENV)),at},ft=tt&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function dt(t){return"function"===typeof t&&/native code/.test(t.toString())}var pt,mt="undefined"!==typeof Symbol&&dt(Symbol)&&"undefined"!==typeof Reflect&&dt(Reflect.ownKeys);pt="undefined"!==typeof Set&&dt(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var gt=null;function yt(){return gt&&{proxy:gt}}function vt(t){void 0===t&&(t=null),t||gt&&gt._scope.off(),gt=t,t&&t._scope.on()}var bt=function(){function t(t,e,r,n,i,o,a,s){this.tag=t,this.data=e,this.children=r,this.text=n,this.elm=i,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),t}(),_t=function(t){void 0===t&&(t="");var e=new bt;return e.text=t,e.isComment=!0,e};function wt(t){return new bt(void 0,void 0,void 0,String(t))}function xt(t){var e=new bt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}"function"===typeof SuppressedError&&SuppressedError;var kt=0,St=[],Et=function(){for(var t=0;t<St.length;t++){var e=St[t];e.subs=e.subs.filter((function(t){return t})),e._pending=!1}St.length=0},Mt=function(){function t(){this._pending=!1,this.id=kt++,this.subs=[]}return t.prototype.addSub=function(t){this.subs.push(t)},t.prototype.removeSub=function(t){this.subs[this.subs.indexOf(t)]=null,this._pending||(this._pending=!0,St.push(this))},t.prototype.depend=function(e){t.target&&t.target.addDep(this)},t.prototype.notify=function(t){var e=this.subs.filter((function(t){return t}));for(var r=0,n=e.length;r<n;r++){var i=e[r];0,i.update()}},t}();Mt.target=null;var At=[];function Tt(t){At.push(t),Mt.target=t}function Ct(){At.pop(),Mt.target=At[At.length-1]}var Lt=Array.prototype,Pt=Object.create(Lt),Ot=["push","pop","shift","unshift","splice","sort","reverse"];Ot.forEach((function(t){var e=Lt[t];X(Pt,t,(function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i,o=e.apply(this,r),a=this.__ob__;switch(t){case"push":case"unshift":i=r;break;case"splice":i=r.slice(2);break}return i&&a.observeArray(i),a.dep.notify(),o}))}));var It=Object.getOwnPropertyNames(Pt),Dt={},Bt=!0;function jt(t){Bt=t}var Nt={notify:N,depend:N,addSub:N,removeSub:N},Rt=function(){function t(t,e,r){if(void 0===e&&(e=!1),void 0===r&&(r=!1),this.value=t,this.shallow=e,this.mock=r,this.dep=r?Nt:new Mt,this.vmCount=0,X(t,"__ob__",this),i(t)){if(!r)if(Q)t.__proto__=Pt;else for(var n=0,o=It.length;n<o;n++){var a=It[n];X(t,a,Pt[a])}e||this.observeArray(t)}else{var s=Object.keys(t);for(n=0;n<s.length;n++){a=s[n];Yt(t,a,Dt,void 0,e,r)}}}return t.prototype.observeArray=function(t){for(var e=0,r=t.length;e<r;e++)Ft(t[e],!1,this.mock)},t}();function Ft(t,e,r){return t&&S(t,"__ob__")&&t.__ob__ instanceof Rt?t.__ob__:!Bt||!r&&ht()||!i(t)&&!d(t)||!Object.isExtensible(t)||t.__v_skip||te(t)||t instanceof bt?void 0:new Rt(t,e,r)}function Yt(t,e,r,n,o,a,s){void 0===s&&(s=!1);var u=new Mt,c=Object.getOwnPropertyDescriptor(t,e);if(!c||!1!==c.configurable){var l=c&&c.get,h=c&&c.set;l&&!h||r!==Dt&&2!==arguments.length||(r=t[e]);var f=o?r&&r.__ob__:Ft(r,!1,a);return Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=l?l.call(t):r;return Mt.target&&(u.depend(),f&&(f.dep.depend(),i(e)&&zt(e))),te(e)&&!o?e.value:e},set:function(e){var n=l?l.call(t):r;if(z(n,e)){if(h)h.call(t,e);else{if(l)return;if(!o&&te(n)&&!te(e))return void(n.value=e);r=e}f=o?e&&e.__ob__:Ft(e,!1,a),u.notify()}}}),u}}function Ut(t,e,r){if(!Kt(t)){var n=t.__ob__;return i(t)&&m(e)?(t.length=Math.max(t.length,e),t.splice(e,1,r),n&&!n.shallow&&n.mock&&Ft(r,!1,!0),r):e in t&&!(e in Object.prototype)?(t[e]=r,r):t._isVue||n&&n.vmCount?r:n?(Yt(n.value,e,r,void 0,n.shallow,n.mock),n.dep.notify(),r):(t[e]=r,r)}}function Ht(t,e){if(i(t)&&m(e))t.splice(e,1);else{var r=t.__ob__;t._isVue||r&&r.vmCount||Kt(t)||S(t,e)&&(delete t[e],r&&r.dep.notify())}}function zt(t){for(var e=void 0,r=0,n=t.length;r<n;r++)e=t[r],e&&e.__ob__&&e.__ob__.dep.depend(),i(e)&&zt(e)}function Vt(t){return qt(t,!1),t}function $t(t){return qt(t,!0),X(t,"__v_isShallow",!0),t}function qt(t,e){if(!Kt(t)){Ft(t,e,ht());0}}function Gt(t){return Kt(t)?Gt(t["__v_raw"]):!(!t||!t.__ob__)}function Wt(t){return!(!t||!t.__v_isShallow)}function Kt(t){return!(!t||!t.__v_isReadonly)}function Xt(t){return Gt(t)||Kt(t)}function Jt(t){var e=t&&t["__v_raw"];return e?Jt(e):t}function Zt(t){return Object.isExtensible(t)&&X(t,"__v_skip",!0),t}var Qt="__v_isRef";function te(t){return!(!t||!0!==t.__v_isRef)}function ee(t){return ne(t,!1)}function re(t){return ne(t,!0)}function ne(t,e){if(te(t))return t;var r={};return X(r,Qt,!0),X(r,"__v_isShallow",e),X(r,"dep",Yt(r,"value",t,null,e,ht())),r}function ie(t){t.dep&&t.dep.notify()}function oe(t){return te(t)?t.value:t}function ae(t){if(Gt(t))return t;for(var e={},r=Object.keys(t),n=0;n<r.length;n++)se(e,t,r[n]);return e}function se(t,e,r){Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:function(){var t=e[r];if(te(t))return t.value;var n=t&&t.__ob__;return n&&n.dep.depend(),t},set:function(t){var n=e[r];te(n)&&!te(t)?n.value=t:e[r]=t}})}function ue(t){var e=new Mt,r=t((function(){e.depend()}),(function(){e.notify()})),n=r.get,i=r.set,o={get value(){return n()},set value(t){i(t)}};return X(o,Qt,!0),o}function ce(t){var e=i(t)?new Array(t.length):{};for(var r in t)e[r]=le(t,r);return e}function le(t,e,r){var n=t[e];if(te(n))return n;var i={get value(){var n=t[e];return void 0===n?r:n},set value(r){t[e]=r}};return X(i,Qt,!0),i}var he="__v_rawToReadonly",fe="__v_rawToShallowReadonly";function de(t){return pe(t,!1)}function pe(t,e){if(!d(t))return t;if(Kt(t))return t;var r=e?fe:he,n=t[r];if(n)return n;var i=Object.create(Object.getPrototypeOf(t));X(t,r,i),X(i,"__v_isReadonly",!0),X(i,"__v_raw",t),te(t)&&X(i,Qt,!0),(e||Wt(t))&&X(i,"__v_isShallow",!0);for(var o=Object.keys(t),a=0;a<o.length;a++)me(i,t,o[a],e);return i}function me(t,e,r,n){Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:function(){var t=e[r];return n||!d(t)?t:de(t)},set:function(){}})}function ge(t){return pe(t,!0)}function ye(t,e){var r,n,i=l(t);i?(r=t,n=N):(r=t.get,n=t.set);var o=ht()?null:new En(gt,r,N,{lazy:!0});var a={effect:o,get value(){return o?(o.dirty&&o.evaluate(),Mt.target&&o.depend(),o.value):r()},set value(t){n(t)}};return X(a,Qt,!0),X(a,"__v_isReadonly",i),a}var ve="watcher",be="".concat(ve," callback"),_e="".concat(ve," getter"),we="".concat(ve," cleanup");function xe(t,e){return Te(t,null,e)}function ke(t,e){return Te(t,null,{flush:"post"})}function Se(t,e){return Te(t,null,{flush:"sync"})}var Ee,Me={};function Ae(t,e,r){return Te(t,e,r)}function Te(t,e,r){var o=void 0===r?n:r,a=o.immediate,s=o.deep,u=o.flush,c=void 0===u?"pre":u;o.onTrack,o.onTrigger;var h,f,d=gt,p=function(t,e,r){void 0===r&&(r=null);var n=Yr(t,null,r,d,e);return s&&n&&n.__ob__&&n.__ob__.dep.depend(),n},m=!1,g=!1;if(te(t)?(h=function(){return t.value},m=Wt(t)):Gt(t)?(h=function(){return t.__ob__.dep.depend(),t},s=!0):i(t)?(g=!0,m=t.some((function(t){return Gt(t)||Wt(t)})),h=function(){return t.map((function(t){return te(t)?t.value:Gt(t)?(t.__ob__.dep.depend(),wn(t)):l(t)?p(t,_e):void 0}))}):h=l(t)?e?function(){return p(t,_e)}:function(){if(!d||!d._isDestroyed)return f&&f(),p(t,ve,[v])}:N,e&&s){var y=h;h=function(){return wn(y())}}var v=function(t){f=b.onStop=function(){p(t,we)}};if(ht())return v=N,e?a&&p(e,be,[h(),g?[]:void 0,v]):h(),N;var b=new En(gt,h,N,{lazy:!0});b.noRecurse=!e;var _=g?[]:Me;return b.run=function(){if(b.active)if(e){var t=b.get();(s||m||(g?t.some((function(t,e){return z(t,_[e])})):z(t,_)))&&(f&&f(),p(e,be,[t,_===Me?void 0:_,v]),_=t)}else b.get()},"sync"===c?b.update=b.run:"post"===c?(b.post=!0,b.update=function(){return ni(b)}):b.update=function(){if(d&&d===gt&&!d._isMounted){var t=d._preWatchers||(d._preWatchers=[]);t.indexOf(b)<0&&t.push(b)}else ni(b)},e?a?b.run():_=b.get():"post"===c&&d?d.$once("hook:mounted",(function(){return b.get()})):b.get(),function(){b.teardown()}}var Ce=function(){function t(t){void 0===t&&(t=!1),this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=Ee,!t&&Ee&&(this.index=(Ee.scopes||(Ee.scopes=[])).push(this)-1)}return t.prototype.run=function(t){if(this.active){var e=Ee;try{return Ee=this,t()}finally{Ee=e}}else 0},t.prototype.on=function(){Ee=this},t.prototype.off=function(){Ee=this.parent},t.prototype.stop=function(t){if(this.active){var e=void 0,r=void 0;for(e=0,r=this.effects.length;e<r;e++)this.effects[e].teardown();for(e=0,r=this.cleanups.length;e<r;e++)this.cleanups[e]();if(this.scopes)for(e=0,r=this.scopes.length;e<r;e++)this.scopes[e].stop(!0);if(!this.detached&&this.parent&&!t){var n=this.parent.scopes.pop();n&&n!==this&&(this.parent.scopes[this.index]=n,n.index=this.index)}this.parent=void 0,this.active=!1}},t}();function Le(t){return new Ce(t)}function Pe(t,e){void 0===e&&(e=Ee),e&&e.active&&e.effects.push(t)}function Oe(){return Ee}function Ie(t){Ee&&Ee.cleanups.push(t)}function De(t,e){gt&&(Be(gt)[t]=e)}function Be(t){var e=t._provided,r=t.$parent&&t.$parent._provided;return r===e?t._provided=Object.create(r):e}function je(t,e,r){void 0===r&&(r=!1);var n=gt;if(n){var i=n.$parent&&n.$parent._provided;if(i&&t in i)return i[t];if(arguments.length>1)return r&&l(e)?e.call(n):e}else 0}var Ne=E((function(t){var e="&"===t.charAt(0);t=e?t.slice(1):t;var r="~"===t.charAt(0);t=r?t.slice(1):t;var n="!"===t.charAt(0);return t=n?t.slice(1):t,{name:t,once:r,capture:n,passive:e}}));function Re(t,e){function r(){var t=r.fns;if(!i(t))return Yr(t,null,arguments,e,"v-on handler");for(var n=t.slice(),o=0;o<n.length;o++)Yr(n[o],null,arguments,e,"v-on handler")}return r.fns=t,r}function Fe(t,e,r,n,i,a){var u,c,l,h;for(u in t)c=t[u],l=e[u],h=Ne(u),o(c)||(o(l)?(o(c.fns)&&(c=t[u]=Re(c,a)),s(h.once)&&(c=t[u]=i(h.name,c,h.capture)),r(h.name,c,h.capture,h.passive,h.params)):c!==l&&(l.fns=c,t[u]=l));for(u in e)o(t[u])&&(h=Ne(u),n(h.name,e[u],h.capture))}function Ye(t,e,r){var n;t instanceof bt&&(t=t.data.hook||(t.data.hook={}));var i=t[e];function u(){r.apply(this,arguments),x(n.fns,u)}o(i)?n=Re([u]):a(i.fns)&&s(i.merged)?(n=i,n.fns.push(u)):n=Re([i,u]),n.merged=!0,t[e]=n}function Ue(t,e,r){var n=e.options.props;if(!o(n)){var i={},s=t.attrs,u=t.props;if(a(s)||a(u))for(var c in n){var l=L(c);He(i,u,c,l,!0)||He(i,s,c,l,!1)}return i}}function He(t,e,r,n,i){if(a(e)){if(S(e,r))return t[r]=e[r],i||delete e[r],!0;if(S(e,n))return t[r]=e[n],i||delete e[n],!0}return!1}function ze(t){for(var e=0;e<t.length;e++)if(i(t[e]))return Array.prototype.concat.apply([],t);return t}function Ve(t){return c(t)?[wt(t)]:i(t)?qe(t):void 0}function $e(t){return a(t)&&a(t.text)&&u(t.isComment)}function qe(t,e){var r,n,u,l,h=[];for(r=0;r<t.length;r++)n=t[r],o(n)||"boolean"===typeof n||(u=h.length-1,l=h[u],i(n)?n.length>0&&(n=qe(n,"".concat(e||"","_").concat(r)),$e(n[0])&&$e(l)&&(h[u]=wt(l.text+n[0].text),n.shift()),h.push.apply(h,n)):c(n)?$e(l)?h[u]=wt(l.text+n):""!==n&&h.push(wt(n)):$e(n)&&$e(l)?h[u]=wt(l.text+n.text):(s(t._isVList)&&a(n.tag)&&o(n.key)&&a(e)&&(n.key="__vlist".concat(e,"_").concat(r,"__")),h.push(n)));return h}function Ge(t,e){var r,n,o,s,u=null;if(i(t)||"string"===typeof t)for(u=new Array(t.length),r=0,n=t.length;r<n;r++)u[r]=e(t[r],r);else if("number"===typeof t)for(u=new Array(t),r=0;r<t;r++)u[r]=e(r+1,r);else if(h(t))if(mt&&t[Symbol.iterator]){u=[];var c=t[Symbol.iterator](),l=c.next();while(!l.done)u.push(e(l.value,u.length)),l=c.next()}else for(o=Object.keys(t),u=new Array(o.length),r=0,n=o.length;r<n;r++)s=o[r],u[r]=e(t[s],s,r);return a(u)||(u=[]),u._isVList=!0,u}function We(t,e,r,n){var i,o=this.$scopedSlots[t];o?(r=r||{},n&&(r=B(B({},n),r)),i=o(r)||(l(e)?e():e)):i=this.$slots[t]||(l(e)?e():e);var a=r&&r.slot;return a?this.$createElement("template",{slot:a},i):i}function Ke(t){return Pi(this.$options,"filters",t,!0)||F}function Xe(t,e){return i(t)?-1===t.indexOf(e):t!==e}function Je(t,e,r,n,i){var o=G.keyCodes[e]||r;return i&&n&&!G.keyCodes[e]?Xe(i,n):o?Xe(o,t):n?L(n)!==e:void 0===t}function Ze(t,e,r,n,o){if(r)if(h(r)){i(r)&&(r=j(r));var a=void 0,s=function(i){if("class"===i||"style"===i||w(i))a=t;else{var s=t.attrs&&t.attrs.type;a=n||G.mustUseProp(e,s,i)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var u=A(i),c=L(i);if(!(u in a)&&!(c in a)&&(a[i]=r[i],o)){var l=t.on||(t.on={});l["update:".concat(i)]=function(t){r[i]=t}}};for(var u in r)s(u)}else;return t}function Qe(t,e){var r=this._staticTrees||(this._staticTrees=[]),n=r[t];return n&&!e||(n=r[t]=this.$options.staticRenderFns[t].call(this._renderProxy,this._c,this),er(n,"__static__".concat(t),!1)),n}function tr(t,e,r){return er(t,"__once__".concat(e).concat(r?"_".concat(r):""),!0),t}function er(t,e,r){if(i(t))for(var n=0;n<t.length;n++)t[n]&&"string"!==typeof t[n]&&rr(t[n],"".concat(e,"_").concat(n),r);else rr(t,e,r)}function rr(t,e,r){t.isStatic=!0,t.key=e,t.isOnce=r}function nr(t,e){if(e)if(d(e)){var r=t.on=t.on?B({},t.on):{};for(var n in e){var i=r[n],o=e[n];r[n]=i?[].concat(i,o):o}}else;return t}function ir(t,e,r,n){e=e||{$stable:!r};for(var o=0;o<t.length;o++){var a=t[o];i(a)?ir(a,e,r):a&&(a.proxy&&(a.fn.proxy=!0),e[a.key]=a.fn)}return n&&(e.$key=n),e}function or(t,e){for(var r=0;r<e.length;r+=2){var n=e[r];"string"===typeof n&&n&&(t[e[r]]=e[r+1])}return t}function ar(t,e){return"string"===typeof t?e+t:t}function sr(t){t._o=tr,t._n=b,t._s=y,t._l=Ge,t._t=We,t._q=Y,t._i=U,t._m=Qe,t._f=Ke,t._k=Je,t._b=Ze,t._v=wt,t._e=_t,t._u=ir,t._g=nr,t._d=or,t._p=ar}function ur(t,e){if(!t||!t.length)return{};for(var r={},n=0,i=t.length;n<i;n++){var o=t[n],a=o.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,o.context!==e&&o.fnContext!==e||!a||null==a.slot)(r.default||(r.default=[])).push(o);else{var s=a.slot,u=r[s]||(r[s]=[]);"template"===o.tag?u.push.apply(u,o.children||[]):u.push(o)}}for(var c in r)r[c].every(cr)&&delete r[c];return r}function cr(t){return t.isComment&&!t.asyncFactory||" "===t.text}function lr(t){return t.isComment&&t.asyncFactory}function hr(t,e,r,i){var o,a=Object.keys(r).length>0,s=e?!!e.$stable:!a,u=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(s&&i&&i!==n&&u===i.$key&&!a&&!i.$hasNormal)return i;for(var c in o={},e)e[c]&&"$"!==c[0]&&(o[c]=fr(t,r,c,e[c]))}else o={};for(var l in r)l in o||(o[l]=dr(r,l));return e&&Object.isExtensible(e)&&(e._normalized=o),X(o,"$stable",s),X(o,"$key",u),X(o,"$hasNormal",a),o}function fr(t,e,r,n){var o=function(){var e=gt;vt(t);var r=arguments.length?n.apply(null,arguments):n({});r=r&&"object"===typeof r&&!i(r)?[r]:Ve(r);var o=r&&r[0];return vt(e),r&&(!o||1===r.length&&o.isComment&&!lr(o))?void 0:r};return n.proxy&&Object.defineProperty(e,r,{get:o,enumerable:!0,configurable:!0}),o}function dr(t,e){return function(){return t[e]}}function pr(t){var e=t.$options,r=e.setup;if(r){var n=t._setupContext=mr(t);vt(t),Tt();var i=Yr(r,null,[t._props||$t({}),n],t,"setup");if(Ct(),vt(),l(i))e.render=i;else if(h(i))if(t._setupState=i,i.__sfc){var o=t._setupProxy={};for(var a in i)"__sfc"!==a&&se(o,i,a)}else for(var a in i)K(a)||se(t,i,a);else 0}}function mr(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};X(e,"_v_attr_proxy",!0),gr(e,t.$attrs,n,t,"$attrs")}return t._attrsProxy},get listeners(){if(!t._listenersProxy){var e=t._listenersProxy={};gr(e,t.$listeners,n,t,"$listeners")}return t._listenersProxy},get slots(){return vr(t)},emit:I(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach((function(r){return se(t,e,r)}))}}}function gr(t,e,r,n,i){var o=!1;for(var a in e)a in t?e[a]!==r[a]&&(o=!0):(o=!0,yr(t,a,n,i));for(var a in t)a in e||(o=!0,delete t[a]);return o}function yr(t,e,r,n){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return r[n][e]}})}function vr(t){return t._slotsProxy||br(t._slotsProxy={},t.$scopedSlots),t._slotsProxy}function br(t,e){for(var r in e)t[r]=e[r];for(var r in t)r in e||delete t[r]}function _r(){return kr().slots}function wr(){return kr().attrs}function xr(){return kr().listeners}function kr(){var t=gt;return t._setupContext||(t._setupContext=mr(t))}function Sr(t,e){var r=i(t)?t.reduce((function(t,e){return t[e]={},t}),{}):t;for(var n in e){var o=r[n];o?i(o)||l(o)?r[n]={type:o,default:e[n]}:o.default=e[n]:null===o&&(r[n]={default:e[n]})}return r}function Er(t){t._vnode=null,t._staticTrees=null;var e=t.$options,r=t.$vnode=e._parentVnode,i=r&&r.context;t.$slots=ur(e._renderChildren,i),t.$scopedSlots=r?hr(t.$parent,r.data.scopedSlots,t.$slots):n,t._c=function(e,r,n,i){return Dr(t,e,r,n,i,!1)},t.$createElement=function(e,r,n,i){return Dr(t,e,r,n,i,!0)};var o=r&&r.data;Yt(t,"$attrs",o&&o.attrs||n,null,!0),Yt(t,"$listeners",e._parentListeners||n,null,!0)}var Mr=null;function Ar(t){sr(t.prototype),t.prototype.$nextTick=function(t){return Zr(t,this)},t.prototype._render=function(){var t=this,e=t.$options,r=e.render,n=e._parentVnode;n&&t._isMounted&&(t.$scopedSlots=hr(t.$parent,n.data.scopedSlots,t.$slots,t.$scopedSlots),t._slotsProxy&&br(t._slotsProxy,t.$scopedSlots)),t.$vnode=n;var o,a=gt,s=Mr;try{vt(t),Mr=t,o=r.call(t._renderProxy,t.$createElement)}catch(ou){Fr(ou,t,"render"),o=t._vnode}finally{Mr=s,vt(a)}return i(o)&&1===o.length&&(o=o[0]),o instanceof bt||(o=_t()),o.parent=n,o}}function Tr(t,e){return(t.__esModule||mt&&"Module"===t[Symbol.toStringTag])&&(t=t.default),h(t)?e.extend(t):t}function Cr(t,e,r,n,i){var o=_t();return o.asyncFactory=t,o.asyncMeta={data:e,context:r,children:n,tag:i},o}function Lr(t,e){if(s(t.error)&&a(t.errorComp))return t.errorComp;if(a(t.resolved))return t.resolved;var r=Mr;if(r&&a(t.owners)&&-1===t.owners.indexOf(r)&&t.owners.push(r),s(t.loading)&&a(t.loadingComp))return t.loadingComp;if(r&&!a(t.owners)){var n=t.owners=[r],i=!0,u=null,c=null;r.$on("hook:destroyed",(function(){return x(n,r)}));var l=function(t){for(var e=0,r=n.length;e<r;e++)n[e].$forceUpdate();t&&(n.length=0,null!==u&&(clearTimeout(u),u=null),null!==c&&(clearTimeout(c),c=null))},f=H((function(r){t.resolved=Tr(r,e),i?n.length=0:l(!0)})),d=H((function(e){a(t.errorComp)&&(t.error=!0,l(!0))})),p=t(f,d);return h(p)&&(g(p)?o(t.resolved)&&p.then(f,d):g(p.component)&&(p.component.then(f,d),a(p.error)&&(t.errorComp=Tr(p.error,e)),a(p.loading)&&(t.loadingComp=Tr(p.loading,e),0===p.delay?t.loading=!0:u=setTimeout((function(){u=null,o(t.resolved)&&o(t.error)&&(t.loading=!0,l(!1))}),p.delay||200)),a(p.timeout)&&(c=setTimeout((function(){c=null,o(t.resolved)&&d(null)}),p.timeout)))),i=!1,t.loading?t.loadingComp:t.resolved}}function Pr(t){if(i(t))for(var e=0;e<t.length;e++){var r=t[e];if(a(r)&&(a(r.componentOptions)||lr(r)))return r}}var Or=1,Ir=2;function Dr(t,e,r,n,o,a){return(i(r)||c(r))&&(o=n,n=r,r=void 0),s(a)&&(o=Ir),Br(t,e,r,n,o)}function Br(t,e,r,n,o){if(a(r)&&a(r.__ob__))return _t();if(a(r)&&a(r.is)&&(e=r.is),!e)return _t();var s,u;if(i(n)&&l(n[0])&&(r=r||{},r.scopedSlots={default:n[0]},n.length=0),o===Ir?n=Ve(n):o===Or&&(n=ze(n)),"string"===typeof e){var c=void 0;u=t.$vnode&&t.$vnode.ns||G.getTagNamespace(e),s=G.isReservedTag(e)?new bt(G.parsePlatformTagName(e),r,n,void 0,void 0,t):r&&r.pre||!a(c=Pi(t.$options,"components",e))?new bt(e,r,n,void 0,void 0,t):pi(c,r,t,n,e)}else s=pi(e,r,t,n);return i(s)?s:a(s)?(a(u)&&jr(s,u),a(r)&&Nr(r),s):_t()}function jr(t,e,r){if(t.ns=e,"foreignObject"===t.tag&&(e=void 0,r=!0),a(t.children))for(var n=0,i=t.children.length;n<i;n++){var u=t.children[n];a(u.tag)&&(o(u.ns)||s(r)&&"svg"!==u.tag)&&jr(u,e,r)}}function Nr(t){h(t.style)&&wn(t.style),h(t.class)&&wn(t.class)}function Rr(t,e,r){return Dr(gt,t,e,r,2,!0)}function Fr(t,e,r){Tt();try{if(e){var n=e;while(n=n.$parent){var i=n.$options.errorCaptured;if(i)for(var o=0;o<i.length;o++)try{var a=!1===i[o].call(n,t,e,r);if(a)return}catch(ou){Ur(ou,n,"errorCaptured hook")}}}Ur(t,e,r)}finally{Ct()}}function Yr(t,e,r,n,i){var o;try{o=r?t.apply(e,r):t.call(e),o&&!o._isVue&&g(o)&&!o._handled&&(o.catch((function(t){return Fr(t,n,i+" (Promise/async)")})),o._handled=!0)}catch(ou){Fr(ou,n,i)}return o}function Ur(t,e,r){if(G.errorHandler)try{return G.errorHandler.call(null,t,e,r)}catch(ou){ou!==t&&Hr(ou,null,"config.errorHandler")}Hr(t,e,r)}function Hr(t,e,r){if(!tt||"undefined"===typeof console)throw t;console.error(t)}var zr,Vr=!1,$r=[],qr=!1;function Gr(){qr=!1;var t=$r.slice(0);$r.length=0;for(var e=0;e<t.length;e++)t[e]()}if("undefined"!==typeof Promise&&dt(Promise)){var Wr=Promise.resolve();zr=function(){Wr.then(Gr),ot&&setTimeout(N)},Vr=!0}else if(rt||"undefined"===typeof MutationObserver||!dt(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())zr="undefined"!==typeof setImmediate&&dt(setImmediate)?function(){setImmediate(Gr)}:function(){setTimeout(Gr,0)};else{var Kr=1,Xr=new MutationObserver(Gr),Jr=document.createTextNode(String(Kr));Xr.observe(Jr,{characterData:!0}),zr=function(){Kr=(Kr+1)%2,Jr.data=String(Kr)},Vr=!0}function Zr(t,e){var r;if($r.push((function(){if(t)try{t.call(e)}catch(ou){Fr(ou,e,"nextTick")}else r&&r(e)})),qr||(qr=!0,zr()),!t&&"undefined"!==typeof Promise)return new Promise((function(t){r=t}))}function Qr(t){if(void 0===t&&(t="$style"),!gt)return n;var e=gt[t];return e||n}function tn(t){if(tt){var e=gt;e&&ke((function(){var r=e.$el,n=t(e,e._setupProxy);if(r&&1===r.nodeType){var i=r.style;for(var o in n)i.setProperty("--".concat(o),n[o])}}))}}function en(t){l(t)&&(t={loader:t});var e=t.loader,r=t.loadingComponent,n=t.errorComponent,i=t.delay,o=void 0===i?200:i,a=t.timeout,s=(t.suspensible,t.onError);var u=null,c=0,h=function(){return c++,u=null,f()},f=function(){var t;return u||(t=u=e().catch((function(t){if(t=t instanceof Error?t:new Error(String(t)),s)return new Promise((function(e,r){var n=function(){return e(h())},i=function(){return r(t)};s(t,n,i,c+1)}));throw t})).then((function(e){return t!==u&&u?u:(e&&(e.__esModule||"Module"===e[Symbol.toStringTag])&&(e=e.default),e)})))};return function(){var t=f();return{component:t,delay:o,timeout:a,error:n,loading:r}}}function rn(t){return function(e,r){if(void 0===r&&(r=gt),r)return nn(r,t,e)}}function nn(t,e,r){var n=t.$options;n[e]=ki(n[e],r)}var on=rn("beforeMount"),an=rn("mounted"),sn=rn("beforeUpdate"),un=rn("updated"),cn=rn("beforeDestroy"),ln=rn("destroyed"),hn=rn("activated"),fn=rn("deactivated"),dn=rn("serverPrefetch"),pn=rn("renderTracked"),mn=rn("renderTriggered"),gn=rn("errorCaptured");function yn(t,e){void 0===e&&(e=gt),gn(t,e)}var vn="2.7.16";function bn(t){return t}var _n=new pt;function wn(t){return xn(t,_n),_n.clear(),t}function xn(t,e){var r,n,o=i(t);if(!(!o&&!h(t)||t.__v_skip||Object.isFrozen(t)||t instanceof bt)){if(t.__ob__){var a=t.__ob__.dep.id;if(e.has(a))return;e.add(a)}if(o){r=t.length;while(r--)xn(t[r],e)}else if(te(t))xn(t.value,e);else{n=Object.keys(t),r=n.length;while(r--)xn(t[n[r]],e)}}}var kn,Sn=0,En=function(){function t(t,e,r,n,i){Pe(this,Ee&&!Ee._vm?Ee:t?t._scope:void 0),(this.vm=t)&&i&&(t._watcher=this),n?(this.deep=!!n.deep,this.user=!!n.user,this.lazy=!!n.lazy,this.sync=!!n.sync,this.before=n.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=r,this.id=++Sn,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new pt,this.newDepIds=new pt,this.expression="",l(e)?this.getter=e:(this.getter=Z(e),this.getter||(this.getter=N)),this.value=this.lazy?void 0:this.get()}return t.prototype.get=function(){var t;Tt(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(ou){if(!this.user)throw ou;Fr(ou,e,'getter for watcher "'.concat(this.expression,'"'))}finally{this.deep&&wn(t),Ct(),this.cleanupDeps()}return t},t.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},t.prototype.cleanupDeps=function(){var t=this.deps.length;while(t--){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var r=this.depIds;this.depIds=this.newDepIds,this.newDepIds=r,this.newDepIds.clear(),r=this.deps,this.deps=this.newDeps,this.newDeps=r,this.newDeps.length=0},t.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():ni(this)},t.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||h(t)||this.deep){var e=this.value;if(this.value=t,this.user){var r='callback for watcher "'.concat(this.expression,'"');Yr(this.cb,this.vm,[t,e],this.vm,r)}else this.cb.call(this.vm,t,e)}}},t.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},t.prototype.depend=function(){var t=this.deps.length;while(t--)this.deps[t].depend()},t.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&x(this.vm._scope.effects,this),this.active){var t=this.deps.length;while(t--)this.deps[t].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},t}();function Mn(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&Ln(t,e)}function An(t,e){kn.$on(t,e)}function Tn(t,e){kn.$off(t,e)}function Cn(t,e){var r=kn;return function n(){var i=e.apply(null,arguments);null!==i&&r.$off(t,n)}}function Ln(t,e,r){kn=t,Fe(e,r||{},An,Tn,Cn,t),kn=void 0}function Pn(t){var e=/^hook:/;t.prototype.$on=function(t,r){var n=this;if(i(t))for(var o=0,a=t.length;o<a;o++)n.$on(t[o],r);else(n._events[t]||(n._events[t]=[])).push(r),e.test(t)&&(n._hasHookEvent=!0);return n},t.prototype.$once=function(t,e){var r=this;function n(){r.$off(t,n),e.apply(r,arguments)}return n.fn=e,r.$on(t,n),r},t.prototype.$off=function(t,e){var r=this;if(!arguments.length)return r._events=Object.create(null),r;if(i(t)){for(var n=0,o=t.length;n<o;n++)r.$off(t[n],e);return r}var a,s=r._events[t];if(!s)return r;if(!e)return r._events[t]=null,r;var u=s.length;while(u--)if(a=s[u],a===e||a.fn===e){s.splice(u,1);break}return r},t.prototype.$emit=function(t){var e=this,r=e._events[t];if(r){r=r.length>1?D(r):r;for(var n=D(arguments,1),i='event handler for "'.concat(t,'"'),o=0,a=r.length;o<a;o++)Yr(r[o],e,n,e,i)}return e}}var On=null;function In(t){var e=On;return On=t,function(){On=e}}function Dn(t){var e=t.$options,r=e.parent;if(r&&!e.abstract){while(r.$options.abstract&&r.$parent)r=r.$parent;r.$children.push(t)}t.$parent=r,t.$root=r?r.$root:t,t.$children=[],t.$refs={},t._provided=r?r._provided:Object.create(null),t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}function Bn(t){t.prototype._update=function(t,e){var r=this,n=r.$el,i=r._vnode,o=In(r);r._vnode=t,r.$el=i?r.__patch__(i,t):r.__patch__(r.$el,t,e,!1),o(),n&&(n.__vue__=null),r.$el&&(r.$el.__vue__=r);var a=r;while(a&&a.$vnode&&a.$parent&&a.$vnode===a.$parent._vnode)a.$parent.$el=a.$el,a=a.$parent},t.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){Un(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||x(e.$children,t),t._scope.stop(),t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),Un(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}function jn(t,e,r){var n;t.$el=e,t.$options.render||(t.$options.render=_t),Un(t,"beforeMount"),n=function(){t._update(t._render(),r)};var i={before:function(){t._isMounted&&!t._isDestroyed&&Un(t,"beforeUpdate")}};new En(t,n,N,i,!0),r=!1;var o=t._preWatchers;if(o)for(var a=0;a<o.length;a++)o[a].run();return null==t.$vnode&&(t._isMounted=!0,Un(t,"mounted")),t}function Nn(t,e,r,i,o){var a=i.data.scopedSlots,s=t.$scopedSlots,u=!!(a&&!a.$stable||s!==n&&!s.$stable||a&&t.$scopedSlots.$key!==a.$key||!a&&t.$scopedSlots.$key),c=!!(o||t.$options._renderChildren||u),l=t.$vnode;t.$options._parentVnode=i,t.$vnode=i,t._vnode&&(t._vnode.parent=i),t.$options._renderChildren=o;var h=i.data.attrs||n;t._attrsProxy&&gr(t._attrsProxy,h,l.data&&l.data.attrs||n,t,"$attrs")&&(c=!0),t.$attrs=h,r=r||n;var f=t.$options._parentListeners;if(t._listenersProxy&&gr(t._listenersProxy,r,f||n,t,"$listeners"),t.$listeners=t.$options._parentListeners=r,Ln(t,r,f),e&&t.$options.props){jt(!1);for(var d=t._props,p=t.$options._propKeys||[],m=0;m<p.length;m++){var g=p[m],y=t.$options.props;d[g]=Oi(g,y,e,t)}jt(!0),t.$options.propsData=e}c&&(t.$slots=ur(o,i.context),t.$forceUpdate())}function Rn(t){while(t&&(t=t.$parent))if(t._inactive)return!0;return!1}function Fn(t,e){if(e){if(t._directInactive=!1,Rn(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var r=0;r<t.$children.length;r++)Fn(t.$children[r]);Un(t,"activated")}}function Yn(t,e){if((!e||(t._directInactive=!0,!Rn(t)))&&!t._inactive){t._inactive=!0;for(var r=0;r<t.$children.length;r++)Yn(t.$children[r]);Un(t,"deactivated")}}function Un(t,e,r,n){void 0===n&&(n=!0),Tt();var i=gt,o=Oe();n&&vt(t);var a=t.$options[e],s="".concat(e," hook");if(a)for(var u=0,c=a.length;u<c;u++)Yr(a[u],t,r||null,t,s);t._hasHookEvent&&t.$emit("hook:"+e),n&&(vt(i),o&&o.on()),Ct()}var Hn=[],zn=[],Vn={},$n=!1,qn=!1,Gn=0;function Wn(){Gn=Hn.length=zn.length=0,Vn={},$n=qn=!1}var Kn=0,Xn=Date.now;if(tt&&!rt){var Jn=window.performance;Jn&&"function"===typeof Jn.now&&Xn()>document.createEvent("Event").timeStamp&&(Xn=function(){return Jn.now()})}var Zn=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function Qn(){var t,e;for(Kn=Xn(),qn=!0,Hn.sort(Zn),Gn=0;Gn<Hn.length;Gn++)t=Hn[Gn],t.before&&t.before(),e=t.id,Vn[e]=null,t.run();var r=zn.slice(),n=Hn.slice();Wn(),ri(r),ti(n),Et(),ft&&G.devtools&&ft.emit("flush")}function ti(t){var e=t.length;while(e--){var r=t[e],n=r.vm;n&&n._watcher===r&&n._isMounted&&!n._isDestroyed&&Un(n,"updated")}}function ei(t){t._inactive=!1,zn.push(t)}function ri(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,Fn(t[e],!0)}function ni(t){var e=t.id;if(null==Vn[e]&&(t!==Mt.target||!t.noRecurse)){if(Vn[e]=!0,qn){var r=Hn.length-1;while(r>Gn&&Hn[r].id>t.id)r--;Hn.splice(r+1,0,t)}else Hn.push(t);$n||($n=!0,Zr(Qn))}}function ii(t){var e=t.$options.provide;if(e){var r=l(e)?e.call(t):e;if(!h(r))return;for(var n=Be(t),i=mt?Reflect.ownKeys(r):Object.keys(r),o=0;o<i.length;o++){var a=i[o];Object.defineProperty(n,a,Object.getOwnPropertyDescriptor(r,a))}}}function oi(t){var e=ai(t.$options.inject,t);e&&(jt(!1),Object.keys(e).forEach((function(r){Yt(t,r,e[r])})),jt(!0))}function ai(t,e){if(t){for(var r=Object.create(null),n=mt?Reflect.ownKeys(t):Object.keys(t),i=0;i<n.length;i++){var o=n[i];if("__ob__"!==o){var a=t[o].from;if(a in e._provided)r[o]=e._provided[a];else if("default"in t[o]){var s=t[o].default;r[o]=l(s)?s.call(e):s}else 0}}return r}}function si(t,e,r,o,a){var u,c=this,l=a.options;S(o,"_uid")?(u=Object.create(o),u._original=o):(u=o,o=o._original);var h=s(l._compiled),f=!h;this.data=t,this.props=e,this.children=r,this.parent=o,this.listeners=t.on||n,this.injections=ai(l.inject,o),this.slots=function(){return c.$slots||hr(o,t.scopedSlots,c.$slots=ur(r,o)),c.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return hr(o,t.scopedSlots,this.slots())}}),h&&(this.$options=l,this.$slots=this.slots(),this.$scopedSlots=hr(o,t.scopedSlots,this.$slots)),l._scopeId?this._c=function(t,e,r,n){var a=Dr(u,t,e,r,n,f);return a&&!i(a)&&(a.fnScopeId=l._scopeId,a.fnContext=o),a}:this._c=function(t,e,r,n){return Dr(u,t,e,r,n,f)}}function ui(t,e,r,o,s){var u=t.options,c={},l=u.props;if(a(l))for(var h in l)c[h]=Oi(h,l,e||n);else a(r.attrs)&&li(c,r.attrs),a(r.props)&&li(c,r.props);var f=new si(r,c,s,o,t),d=u.render.call(null,f._c,f);if(d instanceof bt)return ci(d,r,f.parent,u,f);if(i(d)){for(var p=Ve(d)||[],m=new Array(p.length),g=0;g<p.length;g++)m[g]=ci(p[g],r,f.parent,u,f);return m}}function ci(t,e,r,n,i){var o=xt(t);return o.fnContext=r,o.fnOptions=n,e.slot&&((o.data||(o.data={})).slot=e.slot),o}function li(t,e){for(var r in e)t[A(r)]=e[r]}function hi(t){return t.name||t.__name||t._componentTag}sr(si.prototype);var fi={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var r=t;fi.prepatch(r,r)}else{var n=t.componentInstance=mi(t,On);n.$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var r=e.componentOptions,n=e.componentInstance=t.componentInstance;Nn(n,r.propsData,r.listeners,e,r.children)},insert:function(t){var e=t.context,r=t.componentInstance;r._isMounted||(r._isMounted=!0,Un(r,"mounted")),t.data.keepAlive&&(e._isMounted?ei(r):Fn(r,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?Yn(e,!0):e.$destroy())}},di=Object.keys(fi);function pi(t,e,r,n,i){if(!o(t)){var u=r.$options._base;if(h(t)&&(t=u.extend(t)),"function"===typeof t){var c;if(o(t.cid)&&(c=t,t=Lr(c,u),void 0===t))return Cr(c,e,r,n,i);e=e||{},ro(t),a(e.model)&&vi(t.options,e);var l=Ue(e,t,i);if(s(t.options.functional))return ui(t,l,e,r,n);var f=e.on;if(e.on=e.nativeOn,s(t.options.abstract)){var d=e.slot;e={},d&&(e.slot=d)}gi(e);var p=hi(t.options)||i,m=new bt("vue-component-".concat(t.cid).concat(p?"-".concat(p):""),e,void 0,void 0,void 0,r,{Ctor:t,propsData:l,listeners:f,tag:i,children:n},c);return m}}}function mi(t,e){var r={_isComponent:!0,_parentVnode:t,parent:e},n=t.data.inlineTemplate;return a(n)&&(r.render=n.render,r.staticRenderFns=n.staticRenderFns),new t.componentOptions.Ctor(r)}function gi(t){for(var e=t.hook||(t.hook={}),r=0;r<di.length;r++){var n=di[r],i=e[n],o=fi[n];i===o||i&&i._merged||(e[n]=i?yi(o,i):o)}}function yi(t,e){var r=function(r,n){t(r,n),e(r,n)};return r._merged=!0,r}function vi(t,e){var r=t.model&&t.model.prop||"value",n=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[r]=e.model.value;var o=e.on||(e.on={}),s=o[n],u=e.model.callback;a(s)?(i(s)?-1===s.indexOf(u):s!==u)&&(o[n]=[u].concat(s)):o[n]=u}var bi=N,_i=G.optionMergeStrategies;function wi(t,e,r){if(void 0===r&&(r=!0),!e)return t;for(var n,i,o,a=mt?Reflect.ownKeys(e):Object.keys(e),s=0;s<a.length;s++)n=a[s],"__ob__"!==n&&(i=t[n],o=e[n],r&&S(t,n)?i!==o&&d(i)&&d(o)&&wi(i,o):Ut(t,n,o));return t}function xi(t,e,r){return r?function(){var n=l(e)?e.call(r,r):e,i=l(t)?t.call(r,r):t;return n?wi(n,i):i}:e?t?function(){return wi(l(e)?e.call(this,this):e,l(t)?t.call(this,this):t)}:e:t}function ki(t,e){var r=e?t?t.concat(e):i(e)?e:[e]:t;return r?Si(r):r}function Si(t){for(var e=[],r=0;r<t.length;r++)-1===e.indexOf(t[r])&&e.push(t[r]);return e}function Ei(t,e,r,n){var i=Object.create(t||null);return e?B(i,e):i}_i.data=function(t,e,r){return r?xi(t,e,r):e&&"function"!==typeof e?t:xi(t,e)},q.forEach((function(t){_i[t]=ki})),$.forEach((function(t){_i[t+"s"]=Ei})),_i.watch=function(t,e,r,n){if(t===ut&&(t=void 0),e===ut&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var o={};for(var a in B(o,t),e){var s=o[a],u=e[a];s&&!i(s)&&(s=[s]),o[a]=s?s.concat(u):i(u)?u:[u]}return o},_i.props=_i.methods=_i.inject=_i.computed=function(t,e,r,n){if(!t)return e;var i=Object.create(null);return B(i,t),e&&B(i,e),i},_i.provide=function(t,e){return t?function(){var r=Object.create(null);return wi(r,l(t)?t.call(this):t),e&&wi(r,l(e)?e.call(this):e,!1),r}:e};var Mi=function(t,e){return void 0===e?t:e};function Ai(t,e){var r=t.props;if(r){var n,o,a,s={};if(i(r)){n=r.length;while(n--)o=r[n],"string"===typeof o&&(a=A(o),s[a]={type:null})}else if(d(r))for(var u in r)o=r[u],a=A(u),s[a]=d(o)?o:{type:o};else 0;t.props=s}}function Ti(t,e){var r=t.inject;if(r){var n=t.inject={};if(i(r))for(var o=0;o<r.length;o++)n[r[o]]={from:r[o]};else if(d(r))for(var a in r){var s=r[a];n[a]=d(s)?B({from:a},s):{from:s}}else 0}}function Ci(t){var e=t.directives;if(e)for(var r in e){var n=e[r];l(n)&&(e[r]={bind:n,update:n})}}function Li(t,e,r){if(l(e)&&(e=e.options),Ai(e,r),Ti(e,r),Ci(e),!e._base&&(e.extends&&(t=Li(t,e.extends,r)),e.mixins))for(var n=0,i=e.mixins.length;n<i;n++)t=Li(t,e.mixins[n],r);var o,a={};for(o in t)s(o);for(o in e)S(t,o)||s(o);function s(n){var i=_i[n]||Mi;a[n]=i(t[n],e[n],r,n)}return a}function Pi(t,e,r,n){if("string"===typeof r){var i=t[e];if(S(i,r))return i[r];var o=A(r);if(S(i,o))return i[o];var a=T(o);if(S(i,a))return i[a];var s=i[r]||i[o]||i[a];return s}}function Oi(t,e,r,n){var i=e[t],o=!S(r,t),a=r[t],s=Ni(Boolean,i.type);if(s>-1)if(o&&!S(i,"default"))a=!1;else if(""===a||a===L(t)){var u=Ni(String,i.type);(u<0||s<u)&&(a=!0)}if(void 0===a){a=Ii(n,i,t);var c=Bt;jt(!0),Ft(a),jt(c)}return a}function Ii(t,e,r){if(S(e,"default")){var n=e.default;return t&&t.$options.propsData&&void 0===t.$options.propsData[r]&&void 0!==t._props[r]?t._props[r]:l(n)&&"Function"!==Bi(e.type)?n.call(t):n}}var Di=/^\s*function (\w+)/;function Bi(t){var e=t&&t.toString().match(Di);return e?e[1]:""}function ji(t,e){return Bi(t)===Bi(e)}function Ni(t,e){if(!i(e))return ji(e,t)?0:-1;for(var r=0,n=e.length;r<n;r++)if(ji(e[r],t))return r;return-1}var Ri={enumerable:!0,configurable:!0,get:N,set:N};function Fi(t,e,r){Ri.get=function(){return this[e][r]},Ri.set=function(t){this[e][r]=t},Object.defineProperty(t,r,Ri)}function Yi(t){var e=t.$options;if(e.props&&Ui(t,e.props),pr(t),e.methods&&Ki(t,e.methods),e.data)Hi(t);else{var r=Ft(t._data={});r&&r.vmCount++}e.computed&&$i(t,e.computed),e.watch&&e.watch!==ut&&Xi(t,e.watch)}function Ui(t,e){var r=t.$options.propsData||{},n=t._props=$t({}),i=t.$options._propKeys=[],o=!t.$parent;o||jt(!1);var a=function(o){i.push(o);var a=Oi(o,e,r,t);Yt(n,o,a,void 0,!0),o in t||Fi(t,"_props",o)};for(var s in e)a(s);jt(!0)}function Hi(t){var e=t.$options.data;e=t._data=l(e)?zi(e,t):e||{},d(e)||(e={});var r=Object.keys(e),n=t.$options.props,i=(t.$options.methods,r.length);while(i--){var o=r[i];0,n&&S(n,o)||K(o)||Fi(t,"_data",o)}var a=Ft(e);a&&a.vmCount++}function zi(t,e){Tt();try{return t.call(e,e)}catch(ou){return Fr(ou,e,"data()"),{}}finally{Ct()}}var Vi={lazy:!0};function $i(t,e){var r=t._computedWatchers=Object.create(null),n=ht();for(var i in e){var o=e[i],a=l(o)?o:o.get;0,n||(r[i]=new En(t,a||N,N,Vi)),i in t||qi(t,i,o)}}function qi(t,e,r){var n=!ht();l(r)?(Ri.get=n?Gi(e):Wi(r),Ri.set=N):(Ri.get=r.get?n&&!1!==r.cache?Gi(e):Wi(r.get):N,Ri.set=r.set||N),Object.defineProperty(t,e,Ri)}function Gi(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),Mt.target&&e.depend(),e.value}}function Wi(t){return function(){return t.call(this,this)}}function Ki(t,e){t.$options.props;for(var r in e)t[r]="function"!==typeof e[r]?N:I(e[r],t)}function Xi(t,e){for(var r in e){var n=e[r];if(i(n))for(var o=0;o<n.length;o++)Ji(t,r,n[o]);else Ji(t,r,n)}}function Ji(t,e,r,n){return d(r)&&(n=r,r=r.handler),"string"===typeof r&&(r=t[r]),t.$watch(e,r,n)}function Zi(t){var e={get:function(){return this._data}},r={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",r),t.prototype.$set=Ut,t.prototype.$delete=Ht,t.prototype.$watch=function(t,e,r){var n=this;if(d(e))return Ji(n,t,e,r);r=r||{},r.user=!0;var i=new En(n,t,e,r);if(r.immediate){var o='callback for immediate watcher "'.concat(i.expression,'"');Tt(),Yr(e,n,[i.value],n,o),Ct()}return function(){i.teardown()}}}var Qi=0;function to(t){t.prototype._init=function(t){var e=this;e._uid=Qi++,e._isVue=!0,e.__v_skip=!0,e._scope=new Ce(!0),e._scope.parent=void 0,e._scope._vm=!0,t&&t._isComponent?eo(e,t):e.$options=Li(ro(e.constructor),t||{},e),e._renderProxy=e,e._self=e,Dn(e),Mn(e),Er(e),Un(e,"beforeCreate",void 0,!1),oi(e),Yi(e),ii(e),Un(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}function eo(t,e){var r=t.$options=Object.create(t.constructor.options),n=e._parentVnode;r.parent=e.parent,r._parentVnode=n;var i=n.componentOptions;r.propsData=i.propsData,r._parentListeners=i.listeners,r._renderChildren=i.children,r._componentTag=i.tag,e.render&&(r.render=e.render,r.staticRenderFns=e.staticRenderFns)}function ro(t){var e=t.options;if(t.super){var r=ro(t.super),n=t.superOptions;if(r!==n){t.superOptions=r;var i=no(t);i&&B(t.extendOptions,i),e=t.options=Li(r,t.extendOptions),e.name&&(e.components[e.name]=t)}}return e}function no(t){var e,r=t.options,n=t.sealedOptions;for(var i in r)r[i]!==n[i]&&(e||(e={}),e[i]=r[i]);return e}function io(t){this._init(t)}function oo(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var r=D(arguments,1);return r.unshift(this),l(t.install)?t.install.apply(t,r):l(t)&&t.apply(null,r),e.push(t),this}}function ao(t){t.mixin=function(t){return this.options=Li(this.options,t),this}}function so(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var r=this,n=r.cid,i=t._Ctor||(t._Ctor={});if(i[n])return i[n];var o=hi(t)||hi(r.options);var a=function(t){this._init(t)};return a.prototype=Object.create(r.prototype),a.prototype.constructor=a,a.cid=e++,a.options=Li(r.options,t),a["super"]=r,a.options.props&&uo(a),a.options.computed&&co(a),a.extend=r.extend,a.mixin=r.mixin,a.use=r.use,$.forEach((function(t){a[t]=r[t]})),o&&(a.options.components[o]=a),a.superOptions=r.options,a.extendOptions=t,a.sealedOptions=B({},a.options),i[n]=a,a}}function uo(t){var e=t.options.props;for(var r in e)Fi(t.prototype,"_props",r)}function co(t){var e=t.options.computed;for(var r in e)qi(t.prototype,r,e[r])}function lo(t){$.forEach((function(e){t[e]=function(t,r){return r?("component"===e&&d(r)&&(r.name=r.name||t,r=this.options._base.extend(r)),"directive"===e&&l(r)&&(r={bind:r,update:r}),this.options[e+"s"][t]=r,r):this.options[e+"s"][t]}}))}function ho(t){return t&&(hi(t.Ctor.options)||t.tag)}function fo(t,e){return i(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!p(t)&&t.test(e)}function po(t,e){var r=t.cache,n=t.keys,i=t._vnode,o=t.$vnode;for(var a in r){var s=r[a];if(s){var u=s.name;u&&!e(u)&&mo(r,a,n,i)}}o.componentOptions.children=void 0}function mo(t,e,r,n){var i=t[e];!i||n&&i.tag===n.tag||i.componentInstance.$destroy(),t[e]=null,x(r,e)}to(io),Zi(io),Pn(io),Bn(io),Ar(io);var go=[String,RegExp,Array],yo={name:"keep-alive",abstract:!0,props:{include:go,exclude:go,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,r=t.keys,n=t.vnodeToCache,i=t.keyToCache;if(n){var o=n.tag,a=n.componentInstance,s=n.componentOptions;e[i]={name:ho(s),tag:o,componentInstance:a},r.push(i),this.max&&r.length>parseInt(this.max)&&mo(e,r[0],r,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)mo(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){po(t,(function(t){return fo(e,t)}))})),this.$watch("exclude",(function(e){po(t,(function(t){return!fo(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=Pr(t),r=e&&e.componentOptions;if(r){var n=ho(r),i=this,o=i.include,a=i.exclude;if(o&&(!n||!fo(o,n))||a&&n&&fo(a,n))return e;var s=this,u=s.cache,c=s.keys,l=null==e.key?r.Ctor.cid+(r.tag?"::".concat(r.tag):""):e.key;u[l]?(e.componentInstance=u[l].componentInstance,x(c,l),c.push(l)):(this.vnodeToCache=e,this.keyToCache=l),e.data.keepAlive=!0}return e||t&&t[0]}},vo={KeepAlive:yo};function bo(t){var e={get:function(){return G}};Object.defineProperty(t,"config",e),t.util={warn:bi,extend:B,mergeOptions:Li,defineReactive:Yt},t.set=Ut,t.delete=Ht,t.nextTick=Zr,t.observable=function(t){return Ft(t),t},t.options=Object.create(null),$.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,B(t.options.components,vo),oo(t),ao(t),so(t),lo(t)}bo(io),Object.defineProperty(io.prototype,"$isServer",{get:ht}),Object.defineProperty(io.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(io,"FunctionalRenderContext",{value:si}),io.version=vn;var _o=_("style,class"),wo=_("input,textarea,option,select,progress"),xo=function(t,e,r){return"value"===r&&wo(t)&&"button"!==e||"selected"===r&&"option"===t||"checked"===r&&"input"===t||"muted"===r&&"video"===t},ko=_("contenteditable,draggable,spellcheck"),So=_("events,caret,typing,plaintext-only"),Eo=function(t,e){return Lo(e)||"false"===e?"false":"contenteditable"===t&&So(e)?e:"true"},Mo=_("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),Ao="http://www.w3.org/1999/xlink",To=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Co=function(t){return To(t)?t.slice(6,t.length):""},Lo=function(t){return null==t||!1===t};function Po(t){var e=t.data,r=t,n=t;while(a(n.componentInstance))n=n.componentInstance._vnode,n&&n.data&&(e=Oo(n.data,e));while(a(r=r.parent))r&&r.data&&(e=Oo(e,r.data));return Io(e.staticClass,e.class)}function Oo(t,e){return{staticClass:Do(t.staticClass,e.staticClass),class:a(t.class)?[t.class,e.class]:e.class}}function Io(t,e){return a(t)||a(e)?Do(t,Bo(e)):""}function Do(t,e){return t?e?t+" "+e:t:e||""}function Bo(t){return Array.isArray(t)?jo(t):h(t)?No(t):"string"===typeof t?t:""}function jo(t){for(var e,r="",n=0,i=t.length;n<i;n++)a(e=Bo(t[n]))&&""!==e&&(r&&(r+=" "),r+=e);return r}function No(t){var e="";for(var r in t)t[r]&&(e&&(e+=" "),e+=r);return e}var Ro={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Fo=_("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Yo=_("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Uo=function(t){return Fo(t)||Yo(t)};function Ho(t){return Yo(t)?"svg":"math"===t?"math":void 0}var zo=Object.create(null);function Vo(t){if(!tt)return!0;if(Uo(t))return!1;if(t=t.toLowerCase(),null!=zo[t])return zo[t];var e=document.createElement(t);return t.indexOf("-")>-1?zo[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:zo[t]=/HTMLUnknownElement/.test(e.toString())}var $o=_("text,number,password,search,email,tel,url");function qo(t){if("string"===typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function Go(t,e){var r=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&r.setAttribute("multiple","multiple"),r}function Wo(t,e){return document.createElementNS(Ro[t],e)}function Ko(t){return document.createTextNode(t)}function Xo(t){return document.createComment(t)}function Jo(t,e,r){t.insertBefore(e,r)}function Zo(t,e){t.removeChild(e)}function Qo(t,e){t.appendChild(e)}function ta(t){return t.parentNode}function ea(t){return t.nextSibling}function ra(t){return t.tagName}function na(t,e){t.textContent=e}function ia(t,e){t.setAttribute(e,"")}var oa=Object.freeze({__proto__:null,createElement:Go,createElementNS:Wo,createTextNode:Ko,createComment:Xo,insertBefore:Jo,removeChild:Zo,appendChild:Qo,parentNode:ta,nextSibling:ea,tagName:ra,setTextContent:na,setStyleScope:ia}),aa={create:function(t,e){sa(e)},update:function(t,e){t.data.ref!==e.data.ref&&(sa(t,!0),sa(e))},destroy:function(t){sa(t,!0)}};function sa(t,e){var r=t.data.ref;if(a(r)){var n=t.context,o=t.componentInstance||t.elm,s=e?null:o,u=e?void 0:o;if(l(r))Yr(r,n,[s],n,"template ref function");else{var c=t.data.refInFor,h="string"===typeof r||"number"===typeof r,f=te(r),d=n.$refs;if(h||f)if(c){var p=h?d[r]:r.value;e?i(p)&&x(p,o):i(p)?p.includes(o)||p.push(o):h?(d[r]=[o],ua(n,r,d[r])):r.value=[o]}else if(h){if(e&&d[r]!==o)return;d[r]=u,ua(n,r,s)}else if(f){if(e&&r.value!==o)return;r.value=s}else 0}}}function ua(t,e,r){var n=t._setupState;n&&S(n,e)&&(te(n[e])?n[e].value=r:n[e]=r)}var ca=new bt("",{},[]),la=["create","activate","update","remove","destroy"];function ha(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&a(t.data)===a(e.data)&&fa(t,e)||s(t.isAsyncPlaceholder)&&o(e.asyncFactory.error))}function fa(t,e){if("input"!==t.tag)return!0;var r,n=a(r=t.data)&&a(r=r.attrs)&&r.type,i=a(r=e.data)&&a(r=r.attrs)&&r.type;return n===i||$o(n)&&$o(i)}function da(t,e,r){var n,i,o={};for(n=e;n<=r;++n)i=t[n].key,a(i)&&(o[i]=n);return o}function pa(t){var e,r,n={},u=t.modules,l=t.nodeOps;for(e=0;e<la.length;++e)for(n[la[e]]=[],r=0;r<u.length;++r)a(u[r][la[e]])&&n[la[e]].push(u[r][la[e]]);function h(t){return new bt(l.tagName(t).toLowerCase(),{},[],void 0,t)}function f(t,e){function r(){0===--r.listeners&&d(t)}return r.listeners=e,r}function d(t){var e=l.parentNode(t);a(e)&&l.removeChild(e,t)}function p(t,e,r,n,i,o,u){if(a(t.elm)&&a(o)&&(t=o[u]=xt(t)),t.isRootInsert=!i,!m(t,e,r,n)){var c=t.data,h=t.children,f=t.tag;a(f)?(t.elm=t.ns?l.createElementNS(t.ns,f):l.createElement(f,t),k(t),b(t,h,e),a(c)&&x(t,e),v(r,t.elm,n)):s(t.isComment)?(t.elm=l.createComment(t.text),v(r,t.elm,n)):(t.elm=l.createTextNode(t.text),v(r,t.elm,n))}}function m(t,e,r,n){var i=t.data;if(a(i)){var o=a(t.componentInstance)&&i.keepAlive;if(a(i=i.hook)&&a(i=i.init)&&i(t,!1),a(t.componentInstance))return g(t,e),v(r,t.elm,n),s(o)&&y(t,e,r,n),!0}}function g(t,e){a(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,w(t)?(x(t,e),k(t)):(sa(t),e.push(t))}function y(t,e,r,i){var o,s=t;while(s.componentInstance)if(s=s.componentInstance._vnode,a(o=s.data)&&a(o=o.transition)){for(o=0;o<n.activate.length;++o)n.activate[o](ca,s);e.push(s);break}v(r,t.elm,i)}function v(t,e,r){a(t)&&(a(r)?l.parentNode(r)===t&&l.insertBefore(t,e,r):l.appendChild(t,e))}function b(t,e,r){if(i(e)){0;for(var n=0;n<e.length;++n)p(e[n],r,t.elm,null,!0,e,n)}else c(t.text)&&l.appendChild(t.elm,l.createTextNode(String(t.text)))}function w(t){while(t.componentInstance)t=t.componentInstance._vnode;return a(t.tag)}function x(t,r){for(var i=0;i<n.create.length;++i)n.create[i](ca,t);e=t.data.hook,a(e)&&(a(e.create)&&e.create(ca,t),a(e.insert)&&r.push(t))}function k(t){var e;if(a(e=t.fnScopeId))l.setStyleScope(t.elm,e);else{var r=t;while(r)a(e=r.context)&&a(e=e.$options._scopeId)&&l.setStyleScope(t.elm,e),r=r.parent}a(e=On)&&e!==t.context&&e!==t.fnContext&&a(e=e.$options._scopeId)&&l.setStyleScope(t.elm,e)}function S(t,e,r,n,i,o){for(;n<=i;++n)p(r[n],o,t,e,!1,r,n)}function E(t){var e,r,i=t.data;if(a(i))for(a(e=i.hook)&&a(e=e.destroy)&&e(t),e=0;e<n.destroy.length;++e)n.destroy[e](t);if(a(e=t.children))for(r=0;r<t.children.length;++r)E(t.children[r])}function M(t,e,r){for(;e<=r;++e){var n=t[e];a(n)&&(a(n.tag)?(A(n),E(n)):d(n.elm))}}function A(t,e){if(a(e)||a(t.data)){var r,i=n.remove.length+1;for(a(e)?e.listeners+=i:e=f(t.elm,i),a(r=t.componentInstance)&&a(r=r._vnode)&&a(r.data)&&A(r,e),r=0;r<n.remove.length;++r)n.remove[r](t,e);a(r=t.data.hook)&&a(r=r.remove)?r(t,e):e()}else d(t.elm)}function T(t,e,r,n,i){var s,u,c,h,f=0,d=0,m=e.length-1,g=e[0],y=e[m],v=r.length-1,b=r[0],_=r[v],w=!i;while(f<=m&&d<=v)o(g)?g=e[++f]:o(y)?y=e[--m]:ha(g,b)?(L(g,b,n,r,d),g=e[++f],b=r[++d]):ha(y,_)?(L(y,_,n,r,v),y=e[--m],_=r[--v]):ha(g,_)?(L(g,_,n,r,v),w&&l.insertBefore(t,g.elm,l.nextSibling(y.elm)),g=e[++f],_=r[--v]):ha(y,b)?(L(y,b,n,r,d),w&&l.insertBefore(t,y.elm,g.elm),y=e[--m],b=r[++d]):(o(s)&&(s=da(e,f,m)),u=a(b.key)?s[b.key]:C(b,e,f,m),o(u)?p(b,n,t,g.elm,!1,r,d):(c=e[u],ha(c,b)?(L(c,b,n,r,d),e[u]=void 0,w&&l.insertBefore(t,c.elm,g.elm)):p(b,n,t,g.elm,!1,r,d)),b=r[++d]);f>m?(h=o(r[v+1])?null:r[v+1].elm,S(t,h,r,d,v,n)):d>v&&M(e,f,m)}function C(t,e,r,n){for(var i=r;i<n;i++){var o=e[i];if(a(o)&&ha(t,o))return i}}function L(t,e,r,i,u,c){if(t!==e){a(e.elm)&&a(i)&&(e=i[u]=xt(e));var h=e.elm=t.elm;if(s(t.isAsyncPlaceholder))a(e.asyncFactory.resolved)?I(t.elm,e,r):e.isAsyncPlaceholder=!0;else if(s(e.isStatic)&&s(t.isStatic)&&e.key===t.key&&(s(e.isCloned)||s(e.isOnce)))e.componentInstance=t.componentInstance;else{var f,d=e.data;a(d)&&a(f=d.hook)&&a(f=f.prepatch)&&f(t,e);var p=t.children,m=e.children;if(a(d)&&w(e)){for(f=0;f<n.update.length;++f)n.update[f](t,e);a(f=d.hook)&&a(f=f.update)&&f(t,e)}o(e.text)?a(p)&&a(m)?p!==m&&T(h,p,m,r,c):a(m)?(a(t.text)&&l.setTextContent(h,""),S(h,null,m,0,m.length-1,r)):a(p)?M(p,0,p.length-1):a(t.text)&&l.setTextContent(h,""):t.text!==e.text&&l.setTextContent(h,e.text),a(d)&&a(f=d.hook)&&a(f=f.postpatch)&&f(t,e)}}}function P(t,e,r){if(s(r)&&a(t.parent))t.parent.data.pendingInsert=e;else for(var n=0;n<e.length;++n)e[n].data.hook.insert(e[n])}var O=_("attrs,class,staticClass,staticStyle,key");function I(t,e,r,n){var i,o=e.tag,u=e.data,c=e.children;if(n=n||u&&u.pre,e.elm=t,s(e.isComment)&&a(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(a(u)&&(a(i=u.hook)&&a(i=i.init)&&i(e,!0),a(i=e.componentInstance)))return g(e,r),!0;if(a(o)){if(a(c))if(t.hasChildNodes())if(a(i=u)&&a(i=i.domProps)&&a(i=i.innerHTML)){if(i!==t.innerHTML)return!1}else{for(var l=!0,h=t.firstChild,f=0;f<c.length;f++){if(!h||!I(h,c[f],r,n)){l=!1;break}h=h.nextSibling}if(!l||h)return!1}else b(e,c,r);if(a(u)){var d=!1;for(var p in u)if(!O(p)){d=!0,x(e,r);break}!d&&u["class"]&&wn(u["class"])}}else t.data!==e.text&&(t.data=e.text);return!0}return function(t,e,r,i){if(!o(e)){var u=!1,c=[];if(o(t))u=!0,p(e,c);else{var f=a(t.nodeType);if(!f&&ha(t,e))L(t,e,c,null,null,i);else{if(f){if(1===t.nodeType&&t.hasAttribute(V)&&(t.removeAttribute(V),r=!0),s(r)&&I(t,e,c))return P(e,c,!0),t;t=h(t)}var d=t.elm,m=l.parentNode(d);if(p(e,c,d._leaveCb?null:m,l.nextSibling(d)),a(e.parent)){var g=e.parent,y=w(e);while(g){for(var v=0;v<n.destroy.length;++v)n.destroy[v](g);if(g.elm=e.elm,y){for(var b=0;b<n.create.length;++b)n.create[b](ca,g);var _=g.data.hook.insert;if(_.merged)for(var x=_.fns.slice(1),k=0;k<x.length;k++)x[k]()}else sa(g);g=g.parent}}a(m)?M([t],0,0):a(t.tag)&&E(t)}}return P(e,c,u),e.elm}a(t)&&E(t)}}var ma={create:ga,update:ga,destroy:function(t){ga(t,ca)}};function ga(t,e){(t.data.directives||e.data.directives)&&ya(t,e)}function ya(t,e){var r,n,i,o=t===ca,a=e===ca,s=ba(t.data.directives,t.context),u=ba(e.data.directives,e.context),c=[],l=[];for(r in u)n=s[r],i=u[r],n?(i.oldValue=n.value,i.oldArg=n.arg,wa(i,"update",e,t),i.def&&i.def.componentUpdated&&l.push(i)):(wa(i,"bind",e,t),i.def&&i.def.inserted&&c.push(i));if(c.length){var h=function(){for(var r=0;r<c.length;r++)wa(c[r],"inserted",e,t)};o?Ye(e,"insert",h):h()}if(l.length&&Ye(e,"postpatch",(function(){for(var r=0;r<l.length;r++)wa(l[r],"componentUpdated",e,t)})),!o)for(r in s)u[r]||wa(s[r],"unbind",t,t,a)}var va=Object.create(null);function ba(t,e){var r,n,i=Object.create(null);if(!t)return i;for(r=0;r<t.length;r++){if(n=t[r],n.modifiers||(n.modifiers=va),i[_a(n)]=n,e._setupState&&e._setupState.__sfc){var o=n.def||Pi(e,"_setupState","v-"+n.name);n.def="function"===typeof o?{bind:o,update:o}:o}n.def=n.def||Pi(e.$options,"directives",n.name,!0)}return i}function _a(t){return t.rawName||"".concat(t.name,".").concat(Object.keys(t.modifiers||{}).join("."))}function wa(t,e,r,n,i){var o=t.def&&t.def[e];if(o)try{o(r.elm,t,r,n,i)}catch(ou){Fr(ou,r.context,"directive ".concat(t.name," ").concat(e," hook"))}}var xa=[aa,ma];function ka(t,e){var r=e.componentOptions;if((!a(r)||!1!==r.Ctor.options.inheritAttrs)&&(!o(t.data.attrs)||!o(e.data.attrs))){var n,i,u,c=e.elm,l=t.data.attrs||{},h=e.data.attrs||{};for(n in(a(h.__ob__)||s(h._v_attr_proxy))&&(h=e.data.attrs=B({},h)),h)i=h[n],u=l[n],u!==i&&Sa(c,n,i,e.data.pre);for(n in(rt||it)&&h.value!==l.value&&Sa(c,"value",h.value),l)o(h[n])&&(To(n)?c.removeAttributeNS(Ao,Co(n)):ko(n)||c.removeAttribute(n))}}function Sa(t,e,r,n){n||t.tagName.indexOf("-")>-1?Ea(t,e,r):Mo(e)?Lo(r)?t.removeAttribute(e):(r="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,r)):ko(e)?t.setAttribute(e,Eo(e,r)):To(e)?Lo(r)?t.removeAttributeNS(Ao,Co(e)):t.setAttributeNS(Ao,e,r):Ea(t,e,r)}function Ea(t,e,r){if(Lo(r))t.removeAttribute(e);else{if(rt&&!nt&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==r&&!t.__ieph){var n=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",n)};t.addEventListener("input",n),t.__ieph=!0}t.setAttribute(e,r)}}var Ma={create:ka,update:ka};function Aa(t,e){var r=e.elm,n=e.data,i=t.data;if(!(o(n.staticClass)&&o(n.class)&&(o(i)||o(i.staticClass)&&o(i.class)))){var s=Po(e),u=r._transitionClasses;a(u)&&(s=Do(s,Bo(u))),s!==r._prevClass&&(r.setAttribute("class",s),r._prevClass=s)}}var Ta,Ca={create:Aa,update:Aa},La="__r",Pa="__c";function Oa(t){if(a(t[La])){var e=rt?"change":"input";t[e]=[].concat(t[La],t[e]||[]),delete t[La]}a(t[Pa])&&(t.change=[].concat(t[Pa],t.change||[]),delete t[Pa])}function Ia(t,e,r){var n=Ta;return function i(){var o=e.apply(null,arguments);null!==o&&ja(t,i,r,n)}}var Da=Vr&&!(st&&Number(st[1])<=53);function Ba(t,e,r,n){if(Da){var i=Kn,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=i||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}Ta.addEventListener(t,e,ct?{capture:r,passive:n}:r)}function ja(t,e,r,n){(n||Ta).removeEventListener(t,e._wrapper||e,r)}function Na(t,e){if(!o(t.data.on)||!o(e.data.on)){var r=e.data.on||{},n=t.data.on||{};Ta=e.elm||t.elm,Oa(r),Fe(r,n,Ba,ja,Ia,e.context),Ta=void 0}}var Ra,Fa={create:Na,update:Na,destroy:function(t){return Na(t,ca)}};function Ya(t,e){if(!o(t.data.domProps)||!o(e.data.domProps)){var r,n,i=e.elm,u=t.data.domProps||{},c=e.data.domProps||{};for(r in(a(c.__ob__)||s(c._v_attr_proxy))&&(c=e.data.domProps=B({},c)),u)r in c||(i[r]="");for(r in c){if(n=c[r],"textContent"===r||"innerHTML"===r){if(e.children&&(e.children.length=0),n===u[r])continue;1===i.childNodes.length&&i.removeChild(i.childNodes[0])}if("value"===r&&"PROGRESS"!==i.tagName){i._value=n;var l=o(n)?"":String(n);Ua(i,l)&&(i.value=l)}else if("innerHTML"===r&&Yo(i.tagName)&&o(i.innerHTML)){Ra=Ra||document.createElement("div"),Ra.innerHTML="<svg>".concat(n,"</svg>");var h=Ra.firstChild;while(i.firstChild)i.removeChild(i.firstChild);while(h.firstChild)i.appendChild(h.firstChild)}else if(n!==u[r])try{i[r]=n}catch(ou){}}}}function Ua(t,e){return!t.composing&&("OPTION"===t.tagName||Ha(t,e)||za(t,e))}function Ha(t,e){var r=!0;try{r=document.activeElement!==t}catch(ou){}return r&&t.value!==e}function za(t,e){var r=t.value,n=t._vModifiers;if(a(n)){if(n.number)return b(r)!==b(e);if(n.trim)return r.trim()!==e.trim()}return r!==e}var Va={create:Ya,update:Ya},$a=E((function(t){var e={},r=/;(?![^(]*\))/g,n=/:(.+)/;return t.split(r).forEach((function(t){if(t){var r=t.split(n);r.length>1&&(e[r[0].trim()]=r[1].trim())}})),e}));function qa(t){var e=Ga(t.style);return t.staticStyle?B(t.staticStyle,e):e}function Ga(t){return Array.isArray(t)?j(t):"string"===typeof t?$a(t):t}function Wa(t,e){var r,n={};if(e){var i=t;while(i.componentInstance)i=i.componentInstance._vnode,i&&i.data&&(r=qa(i.data))&&B(n,r)}(r=qa(t.data))&&B(n,r);var o=t;while(o=o.parent)o.data&&(r=qa(o.data))&&B(n,r);return n}var Ka,Xa=/^--/,Ja=/\s*!important$/,Za=function(t,e,r){if(Xa.test(e))t.style.setProperty(e,r);else if(Ja.test(r))t.style.setProperty(L(e),r.replace(Ja,""),"important");else{var n=ts(e);if(Array.isArray(r))for(var i=0,o=r.length;i<o;i++)t.style[n]=r[i];else t.style[n]=r}},Qa=["Webkit","Moz","ms"],ts=E((function(t){if(Ka=Ka||document.createElement("div").style,t=A(t),"filter"!==t&&t in Ka)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),r=0;r<Qa.length;r++){var n=Qa[r]+e;if(n in Ka)return n}}));function es(t,e){var r=e.data,n=t.data;if(!(o(r.staticStyle)&&o(r.style)&&o(n.staticStyle)&&o(n.style))){var i,s,u=e.elm,c=n.staticStyle,l=n.normalizedStyle||n.style||{},h=c||l,f=Ga(e.data.style)||{};e.data.normalizedStyle=a(f.__ob__)?B({},f):f;var d=Wa(e,!0);for(s in h)o(d[s])&&Za(u,s,"");for(s in d)i=d[s],Za(u,s,null==i?"":i)}}var rs={create:es,update:es},ns=/\s+/;function is(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(ns).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var r=" ".concat(t.getAttribute("class")||""," ");r.indexOf(" "+e+" ")<0&&t.setAttribute("class",(r+e).trim())}}function os(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(ns).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{var r=" ".concat(t.getAttribute("class")||""," "),n=" "+e+" ";while(r.indexOf(n)>=0)r=r.replace(n," ");r=r.trim(),r?t.setAttribute("class",r):t.removeAttribute("class")}}function as(t){if(t){if("object"===typeof t){var e={};return!1!==t.css&&B(e,ss(t.name||"v")),B(e,t),e}return"string"===typeof t?ss(t):void 0}}var ss=E((function(t){return{enterClass:"".concat(t,"-enter"),enterToClass:"".concat(t,"-enter-to"),enterActiveClass:"".concat(t,"-enter-active"),leaveClass:"".concat(t,"-leave"),leaveToClass:"".concat(t,"-leave-to"),leaveActiveClass:"".concat(t,"-leave-active")}})),us=tt&&!nt,cs="transition",ls="animation",hs="transition",fs="transitionend",ds="animation",ps="animationend";us&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(hs="WebkitTransition",fs="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(ds="WebkitAnimation",ps="webkitAnimationEnd"));var ms=tt?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function gs(t){ms((function(){ms(t)}))}function ys(t,e){var r=t._transitionClasses||(t._transitionClasses=[]);r.indexOf(e)<0&&(r.push(e),is(t,e))}function vs(t,e){t._transitionClasses&&x(t._transitionClasses,e),os(t,e)}function bs(t,e,r){var n=ws(t,e),i=n.type,o=n.timeout,a=n.propCount;if(!i)return r();var s=i===cs?fs:ps,u=0,c=function(){t.removeEventListener(s,l),r()},l=function(e){e.target===t&&++u>=a&&c()};setTimeout((function(){u<a&&c()}),o+1),t.addEventListener(s,l)}var _s=/\b(transform|all)(,|$)/;function ws(t,e){var r,n=window.getComputedStyle(t),i=(n[hs+"Delay"]||"").split(", "),o=(n[hs+"Duration"]||"").split(", "),a=xs(i,o),s=(n[ds+"Delay"]||"").split(", "),u=(n[ds+"Duration"]||"").split(", "),c=xs(s,u),l=0,h=0;e===cs?a>0&&(r=cs,l=a,h=o.length):e===ls?c>0&&(r=ls,l=c,h=u.length):(l=Math.max(a,c),r=l>0?a>c?cs:ls:null,h=r?r===cs?o.length:u.length:0);var f=r===cs&&_s.test(n[hs+"Property"]);return{type:r,timeout:l,propCount:h,hasTransform:f}}function xs(t,e){while(t.length<e.length)t=t.concat(t);return Math.max.apply(null,e.map((function(e,r){return ks(e)+ks(t[r])})))}function ks(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function Ss(t,e){var r=t.elm;a(r._leaveCb)&&(r._leaveCb.cancelled=!0,r._leaveCb());var n=as(t.data.transition);if(!o(n)&&!a(r._enterCb)&&1===r.nodeType){var i=n.css,s=n.type,u=n.enterClass,c=n.enterToClass,f=n.enterActiveClass,d=n.appearClass,p=n.appearToClass,m=n.appearActiveClass,g=n.beforeEnter,y=n.enter,v=n.afterEnter,_=n.enterCancelled,w=n.beforeAppear,x=n.appear,k=n.afterAppear,S=n.appearCancelled,E=n.duration,M=On,A=On.$vnode;while(A&&A.parent)M=A.context,A=A.parent;var T=!M._isMounted||!t.isRootInsert;if(!T||x||""===x){var C=T&&d?d:u,L=T&&m?m:f,P=T&&p?p:c,O=T&&w||g,I=T&&l(x)?x:y,D=T&&k||v,B=T&&S||_,j=b(h(E)?E.enter:E);0;var N=!1!==i&&!nt,R=As(I),F=r._enterCb=H((function(){N&&(vs(r,P),vs(r,L)),F.cancelled?(N&&vs(r,C),B&&B(r)):D&&D(r),r._enterCb=null}));t.data.show||Ye(t,"insert",(function(){var e=r.parentNode,n=e&&e._pending&&e._pending[t.key];n&&n.tag===t.tag&&n.elm._leaveCb&&n.elm._leaveCb(),I&&I(r,F)})),O&&O(r),N&&(ys(r,C),ys(r,L),gs((function(){vs(r,C),F.cancelled||(ys(r,P),R||(Ms(j)?setTimeout(F,j):bs(r,s,F)))}))),t.data.show&&(e&&e(),I&&I(r,F)),N||R||F()}}}function Es(t,e){var r=t.elm;a(r._enterCb)&&(r._enterCb.cancelled=!0,r._enterCb());var n=as(t.data.transition);if(o(n)||1!==r.nodeType)return e();if(!a(r._leaveCb)){var i=n.css,s=n.type,u=n.leaveClass,c=n.leaveToClass,l=n.leaveActiveClass,f=n.beforeLeave,d=n.leave,p=n.afterLeave,m=n.leaveCancelled,g=n.delayLeave,y=n.duration,v=!1!==i&&!nt,_=As(d),w=b(h(y)?y.leave:y);0;var x=r._leaveCb=H((function(){r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[t.key]=null),v&&(vs(r,c),vs(r,l)),x.cancelled?(v&&vs(r,u),m&&m(r)):(e(),p&&p(r)),r._leaveCb=null}));g?g(k):k()}function k(){x.cancelled||(!t.data.show&&r.parentNode&&((r.parentNode._pending||(r.parentNode._pending={}))[t.key]=t),f&&f(r),v&&(ys(r,u),ys(r,l),gs((function(){vs(r,u),x.cancelled||(ys(r,c),_||(Ms(w)?setTimeout(x,w):bs(r,s,x)))}))),d&&d(r,x),v||_||x())}}function Ms(t){return"number"===typeof t&&!isNaN(t)}function As(t){if(o(t))return!1;var e=t.fns;return a(e)?As(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function Ts(t,e){!0!==e.data.show&&Ss(e)}var Cs=tt?{create:Ts,activate:Ts,remove:function(t,e){!0!==t.data.show?Es(t,e):e()}}:{},Ls=[Ma,Ca,Fa,Va,rs,Cs],Ps=Ls.concat(xa),Os=pa({nodeOps:oa,modules:Ps});nt&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&Ys(t,"input")}));var Is={inserted:function(t,e,r,n){"select"===r.tag?(n.elm&&!n.elm._vOptions?Ye(r,"postpatch",(function(){Is.componentUpdated(t,e,r)})):Ds(t,e,r.context),t._vOptions=[].map.call(t.options,Ns)):("textarea"===r.tag||$o(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",Rs),t.addEventListener("compositionend",Fs),t.addEventListener("change",Fs),nt&&(t.vmodel=!0)))},componentUpdated:function(t,e,r){if("select"===r.tag){Ds(t,e,r.context);var n=t._vOptions,i=t._vOptions=[].map.call(t.options,Ns);if(i.some((function(t,e){return!Y(t,n[e])}))){var o=t.multiple?e.value.some((function(t){return js(t,i)})):e.value!==e.oldValue&&js(e.value,i);o&&Ys(t,"change")}}}};function Ds(t,e,r){Bs(t,e,r),(rt||it)&&setTimeout((function(){Bs(t,e,r)}),0)}function Bs(t,e,r){var n=e.value,i=t.multiple;if(!i||Array.isArray(n)){for(var o,a,s=0,u=t.options.length;s<u;s++)if(a=t.options[s],i)o=U(n,Ns(a))>-1,a.selected!==o&&(a.selected=o);else if(Y(Ns(a),n))return void(t.selectedIndex!==s&&(t.selectedIndex=s));i||(t.selectedIndex=-1)}}function js(t,e){return e.every((function(e){return!Y(e,t)}))}function Ns(t){return"_value"in t?t._value:t.value}function Rs(t){t.target.composing=!0}function Fs(t){t.target.composing&&(t.target.composing=!1,Ys(t.target,"input"))}function Ys(t,e){var r=document.createEvent("HTMLEvents");r.initEvent(e,!0,!0),t.dispatchEvent(r)}function Us(t){return!t.componentInstance||t.data&&t.data.transition?t:Us(t.componentInstance._vnode)}var Hs={bind:function(t,e,r){var n=e.value;r=Us(r);var i=r.data&&r.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;n&&i?(r.data.show=!0,Ss(r,(function(){t.style.display=o}))):t.style.display=n?o:"none"},update:function(t,e,r){var n=e.value,i=e.oldValue;if(!n!==!i){r=Us(r);var o=r.data&&r.data.transition;o?(r.data.show=!0,n?Ss(r,(function(){t.style.display=t.__vOriginalDisplay})):Es(r,(function(){t.style.display="none"}))):t.style.display=n?t.__vOriginalDisplay:"none"}},unbind:function(t,e,r,n,i){i||(t.style.display=t.__vOriginalDisplay)}},zs={model:Is,show:Hs},Vs={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function $s(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?$s(Pr(e.children)):t}function qs(t){var e={},r=t.$options;for(var n in r.propsData)e[n]=t[n];var i=r._parentListeners;for(var n in i)e[A(n)]=i[n];return e}function Gs(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function Ws(t){while(t=t.parent)if(t.data.transition)return!0}function Ks(t,e){return e.key===t.key&&e.tag===t.tag}var Xs=function(t){return t.tag||lr(t)},Js=function(t){return"show"===t.name},Zs={name:"transition",props:Vs,abstract:!0,render:function(t){var e=this,r=this.$slots.default;if(r&&(r=r.filter(Xs),r.length)){0;var n=this.mode;0;var i=r[0];if(Ws(this.$vnode))return i;var o=$s(i);if(!o)return i;if(this._leaving)return Gs(t,i);var a="__transition-".concat(this._uid,"-");o.key=null==o.key?o.isComment?a+"comment":a+o.tag:c(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var s=(o.data||(o.data={})).transition=qs(this),u=this._vnode,l=$s(u);if(o.data.directives&&o.data.directives.some(Js)&&(o.data.show=!0),l&&l.data&&!Ks(o,l)&&!lr(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var h=l.data.transition=B({},s);if("out-in"===n)return this._leaving=!0,Ye(h,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),Gs(t,i);if("in-out"===n){if(lr(o))return u;var f,d=function(){f()};Ye(s,"afterEnter",d),Ye(s,"enterCancelled",d),Ye(h,"delayLeave",(function(t){f=t}))}}return i}}},Qs=B({tag:String,moveClass:String},Vs);delete Qs.mode;var tu={props:Qs,beforeMount:function(){var t=this,e=this._update;this._update=function(r,n){var i=In(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,i(),e.call(t,r,n)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",r=Object.create(null),n=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=qs(this),s=0;s<i.length;s++){var u=i[s];if(u.tag)if(null!=u.key&&0!==String(u.key).indexOf("__vlist"))o.push(u),r[u.key]=u,(u.data||(u.data={})).transition=a;else;}if(n){var c=[],l=[];for(s=0;s<n.length;s++){u=n[s];u.data.transition=a,u.data.pos=u.elm.getBoundingClientRect(),r[u.key]?c.push(u):l.push(u)}this.kept=t(e,null,c),this.removed=l}return t(e,null,o)},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,e)&&(t.forEach(eu),t.forEach(ru),t.forEach(nu),this._reflow=document.body.offsetHeight,t.forEach((function(t){if(t.data.moved){var r=t.elm,n=r.style;ys(r,e),n.transform=n.WebkitTransform=n.transitionDuration="",r.addEventListener(fs,r._moveCb=function t(n){n&&n.target!==r||n&&!/transform$/.test(n.propertyName)||(r.removeEventListener(fs,t),r._moveCb=null,vs(r,e))})}})))},methods:{hasMove:function(t,e){if(!us)return!1;if(this._hasMove)return this._hasMove;var r=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach((function(t){os(r,t)})),is(r,e),r.style.display="none",this.$el.appendChild(r);var n=ws(r);return this.$el.removeChild(r),this._hasMove=n.hasTransform}}};function eu(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function ru(t){t.data.newPos=t.elm.getBoundingClientRect()}function nu(t){var e=t.data.pos,r=t.data.newPos,n=e.left-r.left,i=e.top-r.top;if(n||i){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate(".concat(n,"px,").concat(i,"px)"),o.transitionDuration="0s"}}var iu={Transition:Zs,TransitionGroup:tu};io.config.mustUseProp=xo,io.config.isReservedTag=Uo,io.config.isReservedAttr=_o,io.config.getTagNamespace=Ho,io.config.isUnknownElement=Vo,B(io.options.directives,zs),B(io.options.components,iu),io.prototype.__patch__=tt?Os:N,io.prototype.$mount=function(t,e){return t=t&&tt?qo(t):void 0,jn(this,t,e)},tt&&setTimeout((function(){G.devtools&&ft&&ft.emit("init",io)}),0)}.call(this,r("c8ba"))},"2b5d":function(t,e,r){"use strict";r("2bfd");var n=r("b974"),i=r("c6a6"),o=r("80d2");e["a"]=i["a"].extend({name:"v-combobox",props:{delimiters:{type:Array,default:()=>[]},returnObject:{type:Boolean,default:!0}},data:()=>({editingIndex:-1}),computed:{computedCounterValue(){return this.multiple?this.selectedItems.length:(this.internalSearch||"").toString().length},hasSlot(){return n["a"].options.computed.hasSlot.call(this)||this.multiple},isAnyValueAllowed(){return!0},menuCanShow(){return!!this.isFocused&&(this.hasDisplayedItems||!!this.$slots["no-data"]&&!this.hideNoData)},searchIsDirty(){return null!=this.internalSearch}},methods:{onInternalSearchChanged(t){if(t&&this.multiple&&this.delimiters.length){const e=this.delimiters.find(e=>t.endsWith(e));null!=e&&(this.internalSearch=t.slice(0,t.length-e.length),this.updateTags())}this.updateMenuDimensions()},genInput(){const t=i["a"].options.methods.genInput.call(this);return delete t.data.attrs.name,t.data.on.paste=this.onPaste,t},genChipSelection(t,e){const r=n["a"].options.methods.genChipSelection.call(this,t,e);return this.multiple&&(r.componentOptions.listeners={...r.componentOptions.listeners,dblclick:()=>{this.editingIndex=e,this.internalSearch=this.getText(t),this.selectedIndex=-1}}),r},onChipInput(t){n["a"].options.methods.onChipInput.call(this,t),this.editingIndex=-1},onEnterDown(t){t.preventDefault(),this.getMenuIndex()>-1||this.$nextTick(this.updateSelf)},onKeyDown(t){const e=t.keyCode;!t.ctrlKey&&[o["A"].home,o["A"].end].includes(e)||n["a"].options.methods.onKeyDown.call(this,t),this.multiple&&e===o["A"].left&&0===this.$refs.input.selectionStart?this.updateSelf():e===o["A"].enter&&this.onEnterDown(t),this.changeSelectedIndex(e)},onTabDown(t){if(this.multiple&&this.internalSearch&&-1===this.getMenuIndex())return t.preventDefault(),t.stopPropagation(),this.updateTags();i["a"].options.methods.onTabDown.call(this,t)},selectItem(t){this.editingIndex>-1?this.updateEditing():(i["a"].options.methods.selectItem.call(this,t),this.internalSearch&&this.multiple&&this.getText(t).toLocaleLowerCase().includes(this.internalSearch.toLocaleLowerCase())&&(this.internalSearch=null))},setSelectedItems(){null==this.internalValue||""===this.internalValue?this.selectedItems=[]:this.selectedItems=this.multiple?this.internalValue:[this.internalValue]},setValue(t){n["a"].options.methods.setValue.call(this,void 0===t?this.internalSearch:t)},updateEditing(){const t=this.internalValue.slice(),e=this.selectedItems.findIndex(t=>this.getText(t)===this.internalSearch);if(e>-1){const r="object"===typeof t[e]?Object.assign({},t[e]):t[e];t.splice(e,1),t.push(r)}else t[this.editingIndex]=this.internalSearch;this.setValue(t),this.editingIndex=-1,this.internalSearch=null},updateCombobox(){if(!this.searchIsDirty)return;this.internalSearch!==this.getText(this.internalValue)&&this.setValue();const t=Boolean(this.$scopedSlots.selection)||this.hasChips;t&&(this.internalSearch=null)},updateSelf(){this.multiple?this.updateTags():this.updateCombobox()},updateTags(){const t=this.getMenuIndex();if(t<0&&!this.searchIsDirty||!this.internalSearch)return;if(this.editingIndex>-1)return this.updateEditing();const e=this.selectedItems.findIndex(t=>this.internalSearch===this.getText(t)),r=e>-1&&"object"===typeof this.selectedItems[e]?Object.assign({},this.selectedItems[e]):this.internalSearch;if(e>-1){const t=this.internalValue.slice();t.splice(e,1),this.setValue(t)}if(t>-1)return this.internalSearch=null;this.selectItem(r),this.internalSearch=null},onPaste(t){var e;if(this.$emit("paste",t),!this.multiple||this.searchIsDirty)return;const r=null===(e=t.clipboardData)||void 0===e?void 0:e.getData("text/vnd.vuetify.autocomplete.item+plain");r&&-1===this.findExistingIndex(r)&&(t.preventDefault(),n["a"].options.methods.selectItem.call(this,r))},clearableCallback(){this.editingIndex=-1,i["a"].options.methods.clearableCallback.call(this)}}})},"2bfb":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(t){return/^nm$/i.test(t)},meridiem:function(t,e,r){return t<12?r?"vm":"VM":r?"nm":"NM"},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:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}});return e}))},"2bfd":function(t,e,r){},"2c50":function(t,e,r){"use strict";var n=r("53a8"),i=r("2ad4"),o=r("6da3"),a=r("7854"),s=r("0aed"),u={},c=["country","region","postcode","district","place","locality","neighborhood","address","poi","poi.landmark"];u.forwardGeocode=function(t){i.assertShape({query:i.required(i.string),mode:i.oneOf("mapbox.places","mapbox.places-permanent"),countries:i.arrayOf(i.string),proximity:i.oneOf(i.coordinates,"ip"),types:i.arrayOf(i.oneOf(c)),autocomplete:i.boolean,bbox:i.arrayOf(i.number),limit:i.number,language:i.arrayOf(i.string),routing:i.boolean,fuzzyMatch:i.boolean,worldview:i.string})(t),t.mode=t.mode||"mapbox.places";var e=a(n({country:t.countries},o(t,["proximity","types","autocomplete","bbox","limit","language","routing","fuzzyMatch","worldview"])));return this.client.createRequest({method:"GET",path:"/geocoding/v5/:mode/:query.json",params:o(t,["mode","query"]),query:e})},u.reverseGeocode=function(t){i.assertShape({query:i.required(i.coordinates),mode:i.oneOf("mapbox.places","mapbox.places-permanent"),countries:i.arrayOf(i.string),types:i.arrayOf(i.oneOf(c)),bbox:i.arrayOf(i.number),limit:i.number,language:i.arrayOf(i.string),reverseMode:i.oneOf("distance","score"),routing:i.boolean,worldview:i.string})(t),t.mode=t.mode||"mapbox.places";var e=a(n({country:t.countries},o(t,["country","types","bbox","limit","language","reverseMode","routing","worldview"])));return this.client.createRequest({method:"GET",path:"/geocoding/v5/:mode/:query.json",params:o(t,["mode","query"]),query:e})},t.exports=s(u)},"2c5e":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1ec9"),i=r("2a12");const o=n.configure(t=>{async function e(e,r={}){const n=await t.post("files/mkdir",{signal:r.signal,searchParams:i.toUrlSearchParams({arg:e,...r}),headers:r.headers});await n.text()}return e});e.createMkdir=o},"2c64":function(t,e,r){},"2cf3":function(t,e,r){"use strict";r.d(e,"a",(function(){return Vt}));var n=r("53ca");function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function o(t,e){if(t){if("string"==typeof t)return i(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(t,e):void 0}}function a(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=o(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return s=t.done,t},e:function(t){u=!0,a=t},f:function(){try{s||null==r["return"]||r["return"]()}finally{if(u)throw a}}}}var s=r("e3c5"),u=r("83d2"),c=r("fd3a");function l(t,e){if(null==t)throw new TypeError("assign requires that input parameter not be null or undefined");for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}var h=r("21be"),f=r("2420"),d=r("dd11"),p=r("fe1f"),m=r("8c86");function g(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function y(t,e){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},y(t,e)}function v(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&y(t,e)}function b(t){return b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},b(t)}function _(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(_=function(){return!!t})()}function w(t,e){if(e&&("object"==Object(n["a"])(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return g(t)}function x(t){var e=_();return function(){var r,n=b(t);if(e){var i=b(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return w(this,r)}}function k(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function S(t,e){if("object"!=Object(n["a"])(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!=Object(n["a"])(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}function E(t){var e=S(t,"string");return"symbol"==Object(n["a"])(e)?e:e+""}function M(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,E(n.key),n)}}function A(t,e,r){return e&&M(t.prototype,e),r&&M(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function T(t,e,r){return(e=E(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var C=10,L=function(){function t(){k(this,t),T(this,"priority",void 0),T(this,"subPriority",0)}return A(t,[{key:"validate",value:function(t,e){return!0}}]),t}(),P=function(t){v(r,t);var e=x(r);function r(t,n,i,o,a){var s;return k(this,r),s=e.call(this),s.value=t,s.validateValue=n,s.setValue=i,s.priority=o,a&&(s.subPriority=a),s}return A(r,[{key:"validate",value:function(t,e){return this.validateValue(t,this.value,e)}},{key:"set",value:function(t,e,r){return this.setValue(t,e,this.value,r)}}]),r}(L),O=function(t){v(r,t);var e=x(r);function r(){var t;k(this,r);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return t=e.call.apply(e,[this].concat(i)),T(g(t),"priority",C),T(g(t),"subPriority",-1),t}return A(r,[{key:"set",value:function(t,e){if(e.timestampIsSet)return t;var r=new Date(0);return r.setFullYear(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()),r.setHours(t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds(),t.getUTCMilliseconds()),r}}]),r}(L),I=function(){function t(){k(this,t),T(this,"incompatibleTokens",void 0),T(this,"priority",void 0),T(this,"subPriority",void 0)}return A(t,[{key:"run",value:function(t,e,r,n){var i=this.parse(t,e,r,n);return i?{setter:new P(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}},{key:"validate",value:function(t,e,r){return!0}}]),t}(),D=function(t){v(r,t);var e=x(r);function r(){var t;k(this,r);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return t=e.call.apply(e,[this].concat(i)),T(g(t),"priority",140),T(g(t),"incompatibleTokens",["R","u","t","T"]),t}return A(r,[{key:"parse",value:function(t,e,r){switch(e){case"G":case"GG":case"GGG":return r.era(t,{width:"abbreviated"})||r.era(t,{width:"narrow"});case"GGGGG":return r.era(t,{width:"narrow"});case"GGGG":default:return r.era(t,{width:"wide"})||r.era(t,{width:"abbreviated"})||r.era(t,{width:"narrow"})}}},{key:"set",value:function(t,e,r){return e.era=r,t.setUTCFullYear(r,0,1),t.setUTCHours(0,0,0,0),t}}]),r}(I),B=(Math.pow(10,8),6e4),j=36e5,N=1e3,R={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},F={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function Y(t,e){return t?{value:e(t.value),rest:t.rest}:t}function U(t,e){var r=e.match(t);return r?{value:parseInt(r[0],10),rest:e.slice(r[0].length)}:null}function H(t,e){var r=e.match(t);if(!r)return null;if("Z"===r[0])return{value:0,rest:e.slice(1)};var n="+"===r[1]?1:-1,i=r[2]?parseInt(r[2],10):0,o=r[3]?parseInt(r[3],10):0,a=r[5]?parseInt(r[5],10):0;return{value:n*(i*j+o*B+a*N),rest:e.slice(r[0].length)}}function z(t){return U(R.anyDigitsSigned,t)}function V(t,e){switch(t){case 1:return U(R.singleDigit,e);case 2:return U(R.twoDigits,e);case 3:return U(R.threeDigits,e);case 4:return U(R.fourDigits,e);default:return U(new RegExp("^\\d{1,"+t+"}"),e)}}function $(t,e){switch(t){case 1:return U(R.singleDigitSigned,e);case 2:return U(R.twoDigitsSigned,e);case 3:return U(R.threeDigitsSigned,e);case 4:return U(R.fourDigitsSigned,e);default:return U(new RegExp("^-?\\d{1,"+t+"}"),e)}}function q(t){switch(t){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function G(t,e){var r,n=e>0,i=n?e:1-e;if(i<=50)r=t||100;else{var o=i+50,a=100*Math.floor(o/100),s=t>=o%100;r=t+a-(s?100:0)}return n?r:1-r}function W(t){return t%400===0||t%4===0&&t%100!==0}var K=function(t){v(r,t);var e=x(r);function r(){var t;k(this,r);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return t=e.call.apply(e,[this].concat(i)),T(g(t),"priority",130),T(g(t),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),t}return A(r,[{key:"parse",value:function(t,e,r){var n=function(t){return{year:t,isTwoDigitYear:"yy"===e}};switch(e){case"y":return Y(V(4,t),n);case"yo":return Y(r.ordinalNumber(t,{unit:"year"}),n);default:return Y(V(e.length,t),n)}}},{key:"validate",value:function(t,e){return e.isTwoDigitYear||e.year>0}},{key:"set",value:function(t,e,r){var n=t.getUTCFullYear();if(r.isTwoDigitYear){var i=G(r.year,n);return t.setUTCFullYear(i,0,1),t.setUTCHours(0,0,0,0),t}var o="era"in e&&1!==e.era?1-r.year:r.year;return t.setUTCFullYear(o,0,1),t.setUTCHours(0,0,0,0),t}}]),r}(I),X=r("4b3c"),J=r("d6f8"),Z=function(t){v(r,t);var e=x(r);function r(){var t;k(this,r);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return t=e.call.apply(e,[this].concat(i)),T(g(t),"priority",130),T(g(t),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),t}return A(r,[{key:"parse",value:function(t,e,r){var n=function(t){return{year:t,isTwoDigitYear:"YY"===e}};switch(e){case"Y":return Y(V(4,t),n);case"Yo":return Y(r.ordinalNumber(t,{unit:"year"}),n);default:return Y(V(e.length,t),n)}}},{key:"validate",value:function(t,e){return e.isTwoDigitYear||e.year>0}},{key:"set",value:function(t,e,r,n){var i=Object(X["a"])(t,n);if(r.isTwoDigitYear){var o=G(r.year,i);return t.setUTCFullYear(o,0,n.firstWeekContainsDate),t.setUTCHours(0,0,0,0),Object(J["a"])(t,n)}var a="era"in e&&1!==e.era?1-r.year:r.year;return t.setUTCFullYear(a,0,n.firstWeekContainsDate),t.setUTCHours(0,0,0,0),Object(J["a"])(t,n)}}]),r}(I),Q=r("b69b"),tt=function(t){v(r,t);var e=x(r);function r(){var t;k(this,r);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return t=e.call.apply(e,[this].concat(i)),T(g(t),"priority",130),T(g(t),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),t}return A(r,[{key:"parse",value:function(t,e){return $("R"===e?4:e.length,t)}},{key:"set",value:function(t,e,r){var n=new Date(0);return n.setUTCFullYear(r,0,4),n.setUTCHours(0,0,0,0),Object(Q["a"])(n)}}]),r}(I),et=function(t){v(r,t);var e=x(r);function r(){var t;k(this,r);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return t=e.call.apply(e,[this].concat(i)),T(g(t),"priority",130),T(g(t),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),t}return A(r,[{key:"parse",value:function(t,e){return $("u"===e?4:e.length,t)}},{key:"set",value:function(t,e,r){return t.setUTCFullYear(r,0,1),t.setUTCHours(0,0,0,0),t}}]),r}(I),rt=function(t){v(r,t);var e=x(r);function r(){var t;k(this,r);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return t=e.call.apply(e,[this].concat(i)),T(g(t),"priority",120),T(g(t),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),t}return A(r,[{key:"parse",value:function(t,e,r){switch(e){case"Q":case"QQ":return V(e.length,t);case"Qo":return r.ordinalNumber(t,{unit:"quarter"});case"QQQ":return r.quarter(t,{width:"abbreviated",context:"formatting"})||r.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return r.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(t,{width:"wide",context:"formatting"})||r.quarter(t,{width:"abbreviated",context:"formatting"})||r.quarter(t,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(t,e){return e>=1&&e<=4}},{key:"set",value:function(t,e,r){return t.setUTCMonth(3*(r-1),1),t.setUTCHours(0,0,0,0),t}}]),r}(I),nt=function(t){v(r,t);var e=x(r);function r(){var t;k(this,r);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return t=e.call.apply(e,[this].concat(i)),T(g(t),"priority",120),T(g(t),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),t}return A(r,[{key:"parse",value:function(t,e,r){switch(e){case"q":case"qq":return V(e.length,t);case"qo":return r.ordinalNumber(t,{unit:"quarter"});case"qqq":return r.quarter(t,{width:"abbreviated",context:"standalone"})||r.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return r.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(t,{width:"wide",context:"standalone"})||r.quarter(t,{width:"abbreviated",context:"standalone"})||r.quarter(t,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(t,e){return e>=1&&e<=4}},{key:"set",value:function(t,e,r){return t.setUTCMonth(3*(r-1),1),t.setUTCHours(0,0,0,0),t}}]),r}(I),it=function(t){v(r,t);var e=x(r);function r(){var t;k(this,r);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return t=e.call.apply(e,[this].concat(i)),T(g(t),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),T(g(t),"priority",110),t}return A(r,[{key:"parse",value:function(t,e,r){var n=function(t){return t-1};switch(e){case"M":return Y(U(R.month,t),n);case"MM":return Y(V(2,t),n);case"Mo":return Y(r.ordinalNumber(t,{unit:"month"}),n);case"MMM":return r.month(t,{width:"abbreviated",context:"formatting"})||r.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return r.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(t,{width:"wide",context:"formatting"})||r.month(t,{width:"abbreviated",context:"formatting"})||r.month(t,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(t,e){return e>=0&&e<=11}},{key:"set",value:function(t,e,r){return t.setUTCMonth(r,1),t.setUTCHours(0,0,0,0),t}}]),r}(I),ot=function(t){v(r,t);var e=x(r);function r(){var t;k(this,r);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return t=e.call.apply(e,[this].concat(i)),T(g(t),"priority",110),T(g(t),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),t}return A(r,[{key:"parse",value:function(t,e,r){var n=function(t){return t-1};switch(e){case"L":return Y(U(R.month,t),n);case"LL":return Y(V(2,t),n);case"Lo":return Y(r.ordinalNumber(t,{unit:"month"}),n);case"LLL":return r.month(t,{width:"abbreviated",context:"standalone"})||r.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return r.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(t,{width:"wide",context:"standalone"})||r.month(t,{width:"abbreviated",context:"standalone"})||r.month(t,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(t,e){return e>=0&&e<=11}},{key:"set",value:function(t,e,r){return t.setUTCMonth(r,1),t.setUTCHours(0,0,0,0),t}}]),r}(I),at=r("12ba");function st(t,e,r){Object(m["a"])(2,arguments);var n=Object(c["a"])(t),i=Object(p["a"])(e),o=Object(at["a"])(n,r)-i;return n.setUTCDate(n.getUTCDate()-7*o),n}var ut=function(t){v(r,t);var e=x(r);function r(){var t;k(this,r);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return t=e.call.apply(e,[this].concat(i)),T(g(t),"priority",100),T(g(t),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),t}return A(r,[{key:"parse",value:function(t,e,r){switch(e){case"w":return U(R.week,t);case"wo":return r.ordinalNumber(t,{unit:"week"});default:return V(e.length,t)}}},{key:"validate",value:function(t,e){return e>=1&&e<=53}},{key:"set",value:function(t,e,r,n){return Object(J["a"])(st(t,r,n),n)}}]),r}(I),ct=r("9606");function lt(t,e){Object(m["a"])(2,arguments);var r=Object(c["a"])(t),n=Object(p["a"])(e),i=Object(ct["a"])(r)-n;return r.setUTCDate(r.getUTCDate()-7*i),r}var ht=function(t){v(r,t);var e=x(r);function r(){var t;k(this,r);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return t=e.call.apply(e,[this].concat(i)),T(g(t),"priority",100),T(g(t),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),t}return A(r,[{key:"parse",value:function(t,e,r){switch(e){case"I":return U(R.week,t);case"Io":return r.ordinalNumber(t,{unit:"week"});default:return V(e.length,t)}}},{key:"validate",value:function(t,e){return e>=1&&e<=53}},{key:"set",value:function(t,e,r){return Object(Q["a"])(lt(t,r))}}]),r}(I),ft=[31,28,31,30,31,30,31,31,30,31,30,31],dt=[31,29,31,30,31,30,31,31,30,31,30,31],pt=function(t){v(r,t);var e=x(r);function r(){var t;k(this,r);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return t=e.call.apply(e,[this].concat(i)),T(g(t),"priority",90),T(g(t),"subPriority",1),T(g(t),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),t}return A(r,[{key:"parse",value:function(t,e,r){switch(e){case"d":return U(R.date,t);case"do":return r.ordinalNumber(t,{unit:"date"});default:return V(e.length,t)}}},{key:"validate",value:function(t,e){var r=t.getUTCFullYear(),n=W(r),i=t.getUTCMonth();return n?e>=1&&e<=dt[i]:e>=1&&e<=ft[i]}},{key:"set",value:function(t,e,r){return t.setUTCDate(r),t.setUTCHours(0,0,0,0),t}}]),r}(I),mt=function(t){v(r,t);var e=x(r);function r(){var t;k(this,r);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return t=e.call.apply(e,[this].concat(i)),T(g(t),"priority",90),T(g(t),"subpriority",1),T(g(t),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),t}return A(r,[{key:"parse",value:function(t,e,r){switch(e){case"D":case"DD":return U(R.dayOfYear,t);case"Do":return r.ordinalNumber(t,{unit:"date"});default:return V(e.length,t)}}},{key:"validate",value:function(t,e){var r=t.getUTCFullYear(),n=W(r);return n?e>=1&&e<=366:e>=1&&e<=365}},{key:"set",value:function(t,e,r){return t.setUTCMonth(0,r),t.setUTCHours(0,0,0,0),t}}]),r}(I),gt=r("beaf");function yt(t,e,r){var n,i,o,a,s,u,l,h;Object(m["a"])(2,arguments);var f=Object(gt["a"])(),d=Object(p["a"])(null!==(n=null!==(i=null!==(o=null!==(a=null===r||void 0===r?void 0:r.weekStartsOn)&&void 0!==a?a:null===r||void 0===r||null===(s=r.locale)||void 0===s||null===(u=s.options)||void 0===u?void 0:u.weekStartsOn)&&void 0!==o?o:f.weekStartsOn)&&void 0!==i?i:null===(l=f.locale)||void 0===l||null===(h=l.options)||void 0===h?void 0:h.weekStartsOn)&&void 0!==n?n:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var g=Object(c["a"])(t),y=Object(p["a"])(e),v=g.getUTCDay(),b=y%7,_=(b+7)%7,w=(_<d?7:0)+y-v;return g.setUTCDate(g.getUTCDate()+w),g}var vt=function(t){v(r,t);var e=x(r);function r(){var t;k(this,r);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return t=e.call.apply(e,[this].concat(i)),T(g(t),"priority",90),T(g(t),"incompatibleTokens",["D","i","e","c","t","T"]),t}return A(r,[{key:"parse",value:function(t,e,r){switch(e){case"E":case"EE":case"EEE":return r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return r.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return r.day(t,{width:"wide",context:"formatting"})||r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(t,e){return e>=0&&e<=6}},{key:"set",value:function(t,e,r,n){return t=yt(t,r,n),t.setUTCHours(0,0,0,0),t}}]),r}(I),bt=function(t){v(r,t);var e=x(r);function r(){var t;k(this,r);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return t=e.call.apply(e,[this].concat(i)),T(g(t),"priority",90),T(g(t),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),t}return A(r,[{key:"parse",value:function(t,e,r,n){var i=function(t){var e=7*Math.floor((t-1)/7);return(t+n.weekStartsOn+6)%7+e};switch(e){case"e":case"ee":return Y(V(e.length,t),i);case"eo":return Y(r.ordinalNumber(t,{unit:"day"}),i);case"eee":return r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"eeeee":return r.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return r.day(t,{width:"wide",context:"formatting"})||r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(t,e){return e>=0&&e<=6}},{key:"set",value:function(t,e,r,n){return t=yt(t,r,n),t.setUTCHours(0,0,0,0),t}}]),r}(I),_t=function(t){v(r,t);var e=x(r);function r(){var t;k(this,r);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return t=e.call.apply(e,[this].concat(i)),T(g(t),"priority",90),T(g(t),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),t}return A(r,[{key:"parse",value:function(t,e,r,n){var i=function(t){var e=7*Math.floor((t-1)/7);return(t+n.weekStartsOn+6)%7+e};switch(e){case"c":case"cc":return Y(V(e.length,t),i);case"co":return Y(r.ordinalNumber(t,{unit:"day"}),i);case"ccc":return r.day(t,{width:"abbreviated",context:"standalone"})||r.day(t,{width:"short",context:"standalone"})||r.day(t,{width:"narrow",context:"standalone"});case"ccccc":return r.day(t,{width:"narrow",context:"standalone"});case"cccccc":return r.day(t,{width:"short",context:"standalone"})||r.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return r.day(t,{width:"wide",context:"standalone"})||r.day(t,{width:"abbreviated",context:"standalone"})||r.day(t,{width:"short",context:"standalone"})||r.day(t,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(t,e){return e>=0&&e<=6}},{key:"set",value:function(t,e,r,n){return t=yt(t,r,n),t.setUTCHours(0,0,0,0),t}}]),r}(I);function wt(t,e){Object(m["a"])(2,arguments);var r=Object(p["a"])(e);r%7===0&&(r-=7);var n=1,i=Object(c["a"])(t),o=i.getUTCDay(),a=r%7,s=(a+7)%7,u=(s<n?7:0)+r-o;return i.setUTCDate(i.getUTCDate()+u),i}var xt=function(t){v(r,t);var e=x(r);function r(){var t;k(this,r);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return t=e.call.apply(e,[this].concat(i)),T(g(t),"priority",90),T(g(t),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),t}return A(r,[{key:"parse",value:function(t,e,r){var n=function(t){return 0===t?7:t};switch(e){case"i":case"ii":return V(e.length,t);case"io":return r.ordinalNumber(t,{unit:"day"});case"iii":return Y(r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"}),n);case"iiiii":return Y(r.day(t,{width:"narrow",context:"formatting"}),n);case"iiiiii":return Y(r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"}),n);case"iiii":default:return Y(r.day(t,{width:"wide",context:"formatting"})||r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"}),n)}}},{key:"validate",value:function(t,e){return e>=1&&e<=7}},{key:"set",value:function(t,e,r){return t=wt(t,r),t.setUTCHours(0,0,0,0),t}}]),r}(I),kt=function(t){v(r,t);var e=x(r);function r(){var t;k(this,r);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return t=e.call.apply(e,[this].concat(i)),T(g(t),"priority",80),T(g(t),"incompatibleTokens",["b","B","H","k","t","T"]),t}return A(r,[{key:"parse",value:function(t,e,r){switch(e){case"a":case"aa":case"aaa":return r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return r.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(t,{width:"wide",context:"formatting"})||r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(t,e,r){return t.setUTCHours(q(r),0,0,0),t}}]),r}(I),St=function(t){v(r,t);var e=x(r);function r(){var t;k(this,r);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return t=e.call.apply(e,[this].concat(i)),T(g(t),"priority",80),T(g(t),"incompatibleTokens",["a","B","H","k","t","T"]),t}return A(r,[{key:"parse",value:function(t,e,r){switch(e){case"b":case"bb":case"bbb":return r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return r.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(t,{width:"wide",context:"formatting"})||r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(t,e,r){return t.setUTCHours(q(r),0,0,0),t}}]),r}(I),Et=function(t){v(r,t);var e=x(r);function r(){var t;k(this,r);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return t=e.call.apply(e,[this].concat(i)),T(g(t),"priority",80),T(g(t),"incompatibleTokens",["a","b","t","T"]),t}return A(r,[{key:"parse",value:function(t,e,r){switch(e){case"B":case"BB":case"BBB":return r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return r.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(t,{width:"wide",context:"formatting"})||r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(t,e,r){return t.setUTCHours(q(r),0,0,0),t}}]),r}(I),Mt=function(t){v(r,t);var e=x(r);function r(){var t;k(this,r);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return t=e.call.apply(e,[this].concat(i)),T(g(t),"priority",70),T(g(t),"incompatibleTokens",["H","K","k","t","T"]),t}return A(r,[{key:"parse",value:function(t,e,r){switch(e){case"h":return U(R.hour12h,t);case"ho":return r.ordinalNumber(t,{unit:"hour"});default:return V(e.length,t)}}},{key:"validate",value:function(t,e){return e>=1&&e<=12}},{key:"set",value:function(t,e,r){var n=t.getUTCHours()>=12;return n&&r<12?t.setUTCHours(r+12,0,0,0):n||12!==r?t.setUTCHours(r,0,0,0):t.setUTCHours(0,0,0,0),t}}]),r}(I),At=function(t){v(r,t);var e=x(r);function r(){var t;k(this,r);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return t=e.call.apply(e,[this].concat(i)),T(g(t),"priority",70),T(g(t),"incompatibleTokens",["a","b","h","K","k","t","T"]),t}return A(r,[{key:"parse",value:function(t,e,r){switch(e){case"H":return U(R.hour23h,t);case"Ho":return r.ordinalNumber(t,{unit:"hour"});default:return V(e.length,t)}}},{key:"validate",value:function(t,e){return e>=0&&e<=23}},{key:"set",value:function(t,e,r){return t.setUTCHours(r,0,0,0),t}}]),r}(I),Tt=function(t){v(r,t);var e=x(r);function r(){var t;k(this,r);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return t=e.call.apply(e,[this].concat(i)),T(g(t),"priority",70),T(g(t),"incompatibleTokens",["h","H","k","t","T"]),t}return A(r,[{key:"parse",value:function(t,e,r){switch(e){case"K":return U(R.hour11h,t);case"Ko":return r.ordinalNumber(t,{unit:"hour"});default:return V(e.length,t)}}},{key:"validate",value:function(t,e){return e>=0&&e<=11}},{key:"set",value:function(t,e,r){var n=t.getUTCHours()>=12;return n&&r<12?t.setUTCHours(r+12,0,0,0):t.setUTCHours(r,0,0,0),t}}]),r}(I),Ct=function(t){v(r,t);var e=x(r);function r(){var t;k(this,r);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return t=e.call.apply(e,[this].concat(i)),T(g(t),"priority",70),T(g(t),"incompatibleTokens",["a","b","h","H","K","t","T"]),t}return A(r,[{key:"parse",value:function(t,e,r){switch(e){case"k":return U(R.hour24h,t);case"ko":return r.ordinalNumber(t,{unit:"hour"});default:return V(e.length,t)}}},{key:"validate",value:function(t,e){return e>=1&&e<=24}},{key:"set",value:function(t,e,r){var n=r<=24?r%24:r;return t.setUTCHours(n,0,0,0),t}}]),r}(I),Lt=function(t){v(r,t);var e=x(r);function r(){var t;k(this,r);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return t=e.call.apply(e,[this].concat(i)),T(g(t),"priority",60),T(g(t),"incompatibleTokens",["t","T"]),t}return A(r,[{key:"parse",value:function(t,e,r){switch(e){case"m":return U(R.minute,t);case"mo":return r.ordinalNumber(t,{unit:"minute"});default:return V(e.length,t)}}},{key:"validate",value:function(t,e){return e>=0&&e<=59}},{key:"set",value:function(t,e,r){return t.setUTCMinutes(r,0,0),t}}]),r}(I),Pt=function(t){v(r,t);var e=x(r);function r(){var t;k(this,r);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return t=e.call.apply(e,[this].concat(i)),T(g(t),"priority",50),T(g(t),"incompatibleTokens",["t","T"]),t}return A(r,[{key:"parse",value:function(t,e,r){switch(e){case"s":return U(R.second,t);case"so":return r.ordinalNumber(t,{unit:"second"});default:return V(e.length,t)}}},{key:"validate",value:function(t,e){return e>=0&&e<=59}},{key:"set",value:function(t,e,r){return t.setUTCSeconds(r,0),t}}]),r}(I),Ot=function(t){v(r,t);var e=x(r);function r(){var t;k(this,r);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return t=e.call.apply(e,[this].concat(i)),T(g(t),"priority",30),T(g(t),"incompatibleTokens",["t","T"]),t}return A(r,[{key:"parse",value:function(t,e){var r=function(t){return Math.floor(t*Math.pow(10,3-e.length))};return Y(V(e.length,t),r)}},{key:"set",value:function(t,e,r){return t.setUTCMilliseconds(r),t}}]),r}(I),It=function(t){v(r,t);var e=x(r);function r(){var t;k(this,r);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return t=e.call.apply(e,[this].concat(i)),T(g(t),"priority",10),T(g(t),"incompatibleTokens",["t","T","x"]),t}return A(r,[{key:"parse",value:function(t,e){switch(e){case"X":return H(F.basicOptionalMinutes,t);case"XX":return H(F.basic,t);case"XXXX":return H(F.basicOptionalSeconds,t);case"XXXXX":return H(F.extendedOptionalSeconds,t);case"XXX":default:return H(F.extended,t)}}},{key:"set",value:function(t,e,r){return e.timestampIsSet?t:new Date(t.getTime()-r)}}]),r}(I),Dt=function(t){v(r,t);var e=x(r);function r(){var t;k(this,r);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return t=e.call.apply(e,[this].concat(i)),T(g(t),"priority",10),T(g(t),"incompatibleTokens",["t","T","X"]),t}return A(r,[{key:"parse",value:function(t,e){switch(e){case"x":return H(F.basicOptionalMinutes,t);case"xx":return H(F.basic,t);case"xxxx":return H(F.basicOptionalSeconds,t);case"xxxxx":return H(F.extendedOptionalSeconds,t);case"xxx":default:return H(F.extended,t)}}},{key:"set",value:function(t,e,r){return e.timestampIsSet?t:new Date(t.getTime()-r)}}]),r}(I),Bt=function(t){v(r,t);var e=x(r);function r(){var t;k(this,r);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return t=e.call.apply(e,[this].concat(i)),T(g(t),"priority",40),T(g(t),"incompatibleTokens","*"),t}return A(r,[{key:"parse",value:function(t){return z(t)}},{key:"set",value:function(t,e,r){return[new Date(1e3*r),{timestampIsSet:!0}]}}]),r}(I),jt=function(t){v(r,t);var e=x(r);function r(){var t;k(this,r);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return t=e.call.apply(e,[this].concat(i)),T(g(t),"priority",20),T(g(t),"incompatibleTokens","*"),t}return A(r,[{key:"parse",value:function(t){return z(t)}},{key:"set",value:function(t,e,r){return[new Date(r),{timestampIsSet:!0}]}}]),r}(I),Nt={G:new D,y:new K,Y:new Z,R:new tt,u:new et,Q:new rt,q:new nt,M:new it,L:new ot,w:new ut,I:new ht,d:new pt,D:new mt,E:new vt,e:new bt,c:new _t,i:new xt,a:new kt,b:new St,B:new Et,h:new Mt,H:new At,K:new Tt,k:new Ct,m:new Lt,s:new Pt,S:new Ot,X:new It,x:new Dt,t:new Bt,T:new jt},Rt=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ft=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Yt=/^'([^]*?)'?$/,Ut=/''/g,Ht=/\S/,zt=/[a-zA-Z]/;function Vt(t,e,r,i){var o,g,y,v,b,_,w,x,k,S,E,M,A,T,C,L,P,I;Object(m["a"])(3,arguments);var D=String(t),B=String(e),j=Object(gt["a"])(),N=null!==(o=null!==(g=null===i||void 0===i?void 0:i.locale)&&void 0!==g?g:j.locale)&&void 0!==o?o:s["a"];if(!N.match)throw new RangeError("locale must contain match property");var R=Object(p["a"])(null!==(y=null!==(v=null!==(b=null!==(_=null===i||void 0===i?void 0:i.firstWeekContainsDate)&&void 0!==_?_:null===i||void 0===i||null===(w=i.locale)||void 0===w||null===(x=w.options)||void 0===x?void 0:x.firstWeekContainsDate)&&void 0!==b?b:j.firstWeekContainsDate)&&void 0!==v?v:null===(k=j.locale)||void 0===k||null===(S=k.options)||void 0===S?void 0:S.firstWeekContainsDate)&&void 0!==y?y:1);if(!(R>=1&&R<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var F=Object(p["a"])(null!==(E=null!==(M=null!==(A=null!==(T=null===i||void 0===i?void 0:i.weekStartsOn)&&void 0!==T?T:null===i||void 0===i||null===(C=i.locale)||void 0===C||null===(L=C.options)||void 0===L?void 0:L.weekStartsOn)&&void 0!==A?A:j.weekStartsOn)&&void 0!==M?M:null===(P=j.locale)||void 0===P||null===(I=P.options)||void 0===I?void 0:I.weekStartsOn)&&void 0!==E?E:0);if(!(F>=0&&F<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===B)return""===D?Object(c["a"])(r):new Date(NaN);var Y,U={firstWeekContainsDate:R,weekStartsOn:F,locale:N},H=[new O],z=B.match(Ft).map((function(t){var e=t[0];if(e in h["a"]){var r=h["a"][e];return r(t,N.formatLong)}return t})).join("").match(Rt),V=[],$=a(z);try{var q=function(){var e=Y.value;null!==i&&void 0!==i&&i.useAdditionalWeekYearTokens||!Object(d["b"])(e)||Object(d["c"])(e,B,t),null!==i&&void 0!==i&&i.useAdditionalDayOfYearTokens||!Object(d["a"])(e)||Object(d["c"])(e,B,t);var r=e[0],n=Nt[r];if(n){var o=n.incompatibleTokens;if(Array.isArray(o)){var a=V.find((function(t){return o.includes(t.token)||t.token===r}));if(a)throw new RangeError("The format string mustn't contain `".concat(a.fullToken,"` and `").concat(e,"` at the same time"))}else if("*"===n.incompatibleTokens&&V.length>0)throw new RangeError("The format string mustn't contain `".concat(e,"` and any other token at the same time"));V.push({token:r,fullToken:e});var s=n.run(D,e,N.match,U);if(!s)return{v:new Date(NaN)};H.push(s.setter),D=s.rest}else{if(r.match(zt))throw new RangeError("Format string contains an unescaped latin alphabet character `"+r+"`");if("''"===e?e="'":"'"===r&&(e=$t(e)),0!==D.indexOf(e))return{v:new Date(NaN)};D=D.slice(e.length)}};for($.s();!(Y=$.n()).done;){var G=q();if("object"===Object(n["a"])(G))return G.v}}catch(rt){$.e(rt)}finally{$.f()}if(D.length>0&&Ht.test(D))return new Date(NaN);var W=H.map((function(t){return t.priority})).sort((function(t,e){return e-t})).filter((function(t,e,r){return r.indexOf(t)===e})).map((function(t){return H.filter((function(e){return e.priority===t})).sort((function(t,e){return e.subPriority-t.subPriority}))})).map((function(t){return t[0]})),K=Object(c["a"])(r);if(isNaN(K.getTime()))return new Date(NaN);var X,J=Object(u["a"])(K,Object(f["a"])(K)),Z={},Q=a(W);try{for(Q.s();!(X=Q.n()).done;){var tt=X.value;if(!tt.validate(J,U))return new Date(NaN);var et=tt.set(J,Z,U);Array.isArray(et)?(J=et[0],l(Z,et[1])):J=et}}catch(rt){Q.e(rt)}finally{Q.f()}return J}function $t(t){return t.match(Yt)[1].replace(Ut,"'")}},"2d31":function(t,e,r){"use strict";function n(t){return ArrayBuffer.isView(t)||t instanceof ArrayBuffer}function i(t){return t.constructor&&("Blob"===t.constructor.name||"File"===t.constructor.name)&&"function"===typeof t.stream}function o(t){return"object"===typeof t&&(t.path||t.content)}Object.defineProperty(e,"__esModule",{value:!0});const a=t=>t&&"function"===typeof t.getReader;e.isBlob=i,e.isBytes=n,e.isFileObject=o,e.isReadableStream=a},"2db4":function(t,e,r){"use strict";r("ca71");var n=r("8dd9"),i=r("a9ad"),o=r("7560"),a=r("f2e7"),s=r("fe6c"),u=r("58df"),c=r("80d2"),l=r("d9bd");e["a"]=Object(u["a"])(n["a"],i["a"],a["a"],Object(s["b"])(["absolute","bottom","left","right","top"])).extend({name:"v-snackbar",props:{app:Boolean,centered:Boolean,contentClass:{type:String,default:""},multiLine:Boolean,text:Boolean,timeout:{type:[Number,String],default:5e3},transition:{type:[Boolean,String],default:"v-snack-transition",validator:t=>"string"===typeof t||!1===t},vertical:Boolean},data:()=>({activeTimeout:-1}),computed:{classes(){return{"v-snack--absolute":this.absolute,"v-snack--active":this.isActive,"v-snack--bottom":this.bottom||!this.top,"v-snack--centered":this.centered,"v-snack--has-background":this.hasBackground,"v-snack--left":this.left,"v-snack--multi-line":this.multiLine&&!this.vertical,"v-snack--right":this.right,"v-snack--text":this.text,"v-snack--top":this.top,"v-snack--vertical":this.vertical}},hasBackground(){return!this.text&&!this.outlined},isDark(){return this.hasBackground?!this.light:o["a"].options.computed.isDark.call(this)},styles(){if(this.absolute||!this.app)return{};const{bar:t,bottom:e,footer:r,insetFooter:n,left:i,right:o,top:a}=this.$vuetify.application;return{paddingBottom:Object(c["i"])(e+r+n),paddingLeft:Object(c["i"])(i),paddingRight:Object(c["i"])(o),paddingTop:Object(c["i"])(t+a)}}},watch:{isActive:"setTimeout",timeout:"setTimeout"},mounted(){this.isActive&&this.setTimeout()},created(){this.$attrs.hasOwnProperty("auto-height")&&Object(l["e"])("auto-height",this),0==this.timeout&&Object(l["d"])('timeout="0"',"-1",this)},methods:{genActions(){return this.$createElement("div",{staticClass:"v-snack__action "},[Object(c["u"])(this,"action",{attrs:{class:"v-snack__btn"}})])},genContent(){return this.$createElement("div",{staticClass:"v-snack__content",class:{[this.contentClass]:!0},attrs:{role:"status","aria-live":"polite"}},[Object(c["u"])(this)])},genWrapper(){const t=this.hasBackground?this.setBackgroundColor:this.setTextColor,e=t(this.color,{staticClass:"v-snack__wrapper",class:n["a"].options.computed.classes.call(this),style:n["a"].options.computed.styles.call(this),directives:[{name:"show",value:this.isActive}],on:{pointerenter:()=>window.clearTimeout(this.activeTimeout),pointerleave:this.setTimeout}});return this.$createElement("div",e,[this.genContent(),this.genActions()])},genTransition(){return this.$createElement("transition",{props:{name:this.transition}},[this.genWrapper()])},setTimeout(){window.clearTimeout(this.activeTimeout);const t=Number(this.timeout);this.isActive&&![0,-1].includes(t)&&(this.activeTimeout=window.setTimeout(()=>{this.isActive=!1},t))}},render(t){return t("div",{staticClass:"v-snack",class:this.classes,style:this.styles},[!1!==this.transition?this.genTransition():this.genWrapper()])}})},"2de4":function(t,e,r){"use strict";var n=r("2e4b");r.d(e,"a",(function(){return n["a"]}));var i=r("fc5b");r.d(e,"e",(function(){return i["a"]}));var o=r("85e5");r.d(e,"c",(function(){return o["a"]}));var a=r("9335");r.d(e,"b",(function(){return a["a"]}));var s=r("5b53");r.d(e,"d",(function(){return s["a"]}));var u=r("83f0");r.d(e,"f",(function(){return u["a"]}));n["a"],i["a"],o["a"],a["a"],s["a"],u["a"]},"2e05":function(t,e,r){"use strict";r.d(e,"c",(function(){return i})),r.d(e,"b",(function(){return o})),r.d(e,"f",(function(){return a})),r.d(e,"e",(function(){return s})),r.d(e,"d",(function(){return u})),r.d(e,"h",(function(){return l})),r.d(e,"a",(function(){return f})),r.d(e,"g",(function(){return d}));var n=r("7bc6");function i(t){t={...t};const e=Object(n["c"])(t),r=Object(n["b"])(t),i=Object(n["d"])(t);return{alpha:t.a,hex:e.substr(0,7),hexa:e,hsla:r,hsva:t,hue:t.h,rgba:i}}function o(t){const e=Object(n["a"])(t),r=Object(n["c"])(e),i=Object(n["d"])(e);return{alpha:e.a,hex:r.substr(0,7),hexa:r,hsla:t,hsva:e,hue:e.h,rgba:i}}function a(t){const e=Object(n["g"])(t),r=Object(n["h"])(t),i=Object(n["b"])(e);return{alpha:e.a,hex:r.substr(0,7),hexa:r,hsla:i,hsva:e,hue:e.h,rgba:t}}function s(t){const e=Object(n["e"])(t),r=Object(n["b"])(e),i=Object(n["d"])(e);return{alpha:e.a,hex:t.substr(0,7),hexa:t,hsla:r,hsva:e,hue:e.h,rgba:i}}function u(t){return s(Object(n["o"])(t))}function c(t,e){return e.every(e=>t.hasOwnProperty(e))}function l(t,e){if(!t)return a({r:255,g:0,b:0,a:1});if("string"===typeof t){if("transparent"===t)return s("#00000000");const r=Object(n["o"])(t);return e&&r===e.hexa?e:s(r)}if("object"===typeof t){if(t.hasOwnProperty("alpha"))return t;const r=t.hasOwnProperty("a")?parseFloat(t.a):1;if(c(t,["r","g","b"]))return e&&t===e.rgba?e:a({...t,a:r});if(c(t,["h","s","l"]))return e&&t===e.hsla?e:o({...t,a:r});if(c(t,["h","s","v"]))return e&&t===e.hsva?e:i({...t,a:r})}return a({r:255,g:0,b:0,a:1})}function h(t,e){if(e){const{a:e,...r}=t;return r}return t}function f(t,e){if(null==e)return t;if("string"===typeof e)return 7===e.length?t.hex:t.hexa;if("object"===typeof e){const r="number"===typeof e.a&&0===e.a?!!e.a:!e.a;if(c(e,["r","g","b"]))return h(t.rgba,r);if(c(e,["h","s","l"]))return h(t.hsla,r);if(c(e,["h","s","v"]))return h(t.hsva,r)}return t}function d(t){return!!t&&("string"===typeof t?t.length>7:"object"===typeof t&&(c(t,["a"])||c(t,["alpha"])))}},"2e4b":function(t,e,r){"use strict";var n=r("fc5b"),i=r("85e5"),o=r("9335"),a=r("5b53"),s=r("83f0"),u=r("dfda"),c=r("4754"),l=r("530a"),h=r("58df"),f=r("80d2"),d=r("ea4a"),p=r("d9bd"),m=r("6fcc"),g=r("50de"),y=r("ceaf"),v=r("aaeb");e["a"]=Object(h["a"])(u["a"],c["a"]).extend({name:"v-date-picker",props:{activePicker:String,allowedDates:Function,dayFormat:Function,disabled:Boolean,events:{type:[Array,Function,Object],default:()=>null},eventColor:{type:[Array,Function,Object,String],default:()=>"warning"},firstDayOfWeek:{type:[String,Number],default:0},headerDateFormat:Function,localeFirstDayOfYear:{type:[String,Number],default:0},max:String,min:String,monthFormat:Function,multiple:Boolean,nextIcon:{type:String,default:"$next"},nextMonthAriaLabel:{type:String,default:"$vuetify.datePicker.nextMonthAriaLabel"},nextYearAriaLabel:{type:String,default:"$vuetify.datePicker.nextYearAriaLabel"},pickerDate:String,prevIcon:{type:String,default:"$prev"},prevMonthAriaLabel:{type:String,default:"$vuetify.datePicker.prevMonthAriaLabel"},prevYearAriaLabel:{type:String,default:"$vuetify.datePicker.prevYearAriaLabel"},range:Boolean,reactive:Boolean,readonly:Boolean,scrollable:Boolean,showCurrent:{type:[Boolean,String],default:!0},selectedItemsText:{type:String,default:"$vuetify.datePicker.itemsSelected"},showAdjacentMonths:Boolean,showWeek:Boolean,titleDateFormat:Function,type:{type:String,default:"date",validator:t=>["date","month"].includes(t)},value:[Array,String],weekdayFormat:Function,yearFormat:Function,yearIcon:String},data(){const t=new Date;return{internalActivePicker:this.type.toUpperCase(),inputDay:null,inputMonth:null,inputYear:null,isReversing:!1,now:t,tableDate:(()=>{if(this.pickerDate)return this.pickerDate;const e=Object(f["K"])(this.value),r=e[e.length-1]||("string"===typeof this.showCurrent?this.showCurrent:`${t.getFullYear()}-${t.getMonth()+1}`);return Object(m["a"])(r,"date"===this.type?"month":"year")})()}},computed:{multipleValue(){return Object(f["K"])(this.value)},isMultiple(){return this.multiple||this.range},lastValue(){return this.isMultiple?this.multipleValue[this.multipleValue.length-1]:this.value},selectedMonths(){return this.value&&"month"!==this.type?this.isMultiple?this.multipleValue.map(t=>t.substr(0,7)):this.value.substr(0,7):this.value},current(){return!0===this.showCurrent?Object(m["a"])(`${this.now.getFullYear()}-${this.now.getMonth()+1}-${this.now.getDate()}`,this.type):this.showCurrent||null},inputDate(){return"date"===this.type?`${this.inputYear}-${Object(g["a"])(this.inputMonth+1)}-${Object(g["a"])(this.inputDay)}`:`${this.inputYear}-${Object(g["a"])(this.inputMonth+1)}`},tableMonth(){return Number((this.pickerDate||this.tableDate).split("-")[1])-1},tableYear(){return Number((this.pickerDate||this.tableDate).split("-")[0])},minMonth(){return this.min?Object(m["a"])(this.min,"month"):null},maxMonth(){return this.max?Object(m["a"])(this.max,"month"):null},minYear(){return this.min?Object(m["a"])(this.min,"year"):null},maxYear(){return this.max?Object(m["a"])(this.max,"year"):null},formatters(){return{year:this.yearFormat||Object(y["a"])(this.currentLocale,{year:"numeric",timeZone:"UTC"},{length:4}),titleDate:this.titleDateFormat||(this.isMultiple?this.defaultTitleMultipleDateFormatter:this.defaultTitleDateFormatter)}},defaultTitleMultipleDateFormatter(){return t=>t.length?1===t.length?this.defaultTitleDateFormatter(t[0]):this.$vuetify.lang.t(this.selectedItemsText,t.length):"-"},defaultTitleDateFormatter(){const t={year:{year:"numeric",timeZone:"UTC"},month:{month:"long",timeZone:"UTC"},date:{weekday:"short",month:"short",day:"numeric",timeZone:"UTC"}},e=Object(y["a"])(this.currentLocale,t[this.type],{start:0,length:{date:10,month:7,year:4}[this.type]}),r=t=>e(t).replace(/([^\d\s])([\d])/g,(t,e,r)=>`${e} ${r}`).replace(", ",",<br>");return this.landscape?r:e}},watch:{internalActivePicker:{immediate:!0,handler(t){this.$emit("update:active-picker",t)}},activePicker(t){this.internalActivePicker=t},tableDate(t,e){const r="month"===this.type?"year":"month";this.isReversing=Object(m["a"])(t,r)<Object(m["a"])(e,r),this.$emit("update:picker-date",t)},pickerDate(t){t?this.tableDate=t:this.lastValue&&"date"===this.type?this.tableDate=Object(m["a"])(this.lastValue,"month"):this.lastValue&&"month"===this.type&&(this.tableDate=Object(m["a"])(this.lastValue,"year"))},value(t,e){this.checkMultipleProp(),this.setInputDate(),(this.isMultiple||!this.value||this.pickerDate)&&(!this.isMultiple||!this.multipleValue.length||e&&e.length||this.pickerDate)||(this.tableDate=Object(m["a"])(this.inputDate,"month"===this.type?"year":"month"))},type(t){if(this.internalActivePicker=t.toUpperCase(),this.value&&this.value.length){const e=this.multipleValue.map(e=>Object(m["a"])(e,t)).filter(this.isDateAllowed);this.$emit("input",this.isMultiple?e:e[0])}}},created(){this.checkMultipleProp(),this.pickerDate!==this.tableDate&&this.$emit("update:picker-date",this.tableDate),this.setInputDate()},methods:{emitInput(t){if(this.range){if(1!==this.multipleValue.length)this.$emit("input",[t]);else{const e=[this.multipleValue[0],t];this.$emit("input",e),this.$emit("change",e)}return}const e=this.multiple?-1===this.multipleValue.indexOf(t)?this.multipleValue.concat([t]):this.multipleValue.filter(e=>e!==t):t;this.$emit("input",e),this.multiple||this.$emit("change",t)},checkMultipleProp(){if(null==this.value)return;const t=this.value.constructor.name,e=this.isMultiple?"Array":"String";t!==e&&Object(p["c"])(`Value must be ${this.isMultiple?"an":"a"} ${e}, got ${t}`,this)},isDateAllowed(t){return Object(l["a"])(t,this.min,this.max,this.allowedDates)},yearClick(t){this.inputYear=t,"month"===this.type?this.tableDate=""+t:this.tableDate=`${t}-${Object(g["a"])((this.tableMonth||0)+1)}`,this.internalActivePicker="MONTH",this.reactive&&!this.readonly&&!this.isMultiple&&this.isDateAllowed(this.inputDate)&&this.$emit("input",this.inputDate)},monthClick(t){const[e,r]=t.split("-");this.inputYear=parseInt(e,10),this.inputMonth=parseInt(r,10)-1,"date"===this.type?(this.inputDay&&(this.inputDay=Math.min(this.inputDay,Object(d["i"])(this.inputYear,this.inputMonth+1))),this.tableDate=t,this.internalActivePicker="DATE",this.reactive&&!this.readonly&&!this.isMultiple&&this.isDateAllowed(this.inputDate)&&this.$emit("input",this.inputDate)):this.emitInput(this.inputDate)},dateClick(t){const[e,r,n]=t.split("-");this.inputYear=parseInt(e,10),this.inputMonth=parseInt(r,10)-1,this.inputDay=parseInt(n,10),this.emitInput(this.inputDate)},genPickerTitle(){return this.$createElement(n["a"],{props:{date:this.value?this.formatters.titleDate(this.isMultiple?this.multipleValue:this.value):"",disabled:this.disabled,readonly:this.readonly,selectingYear:"YEAR"===this.internalActivePicker,year:this.formatters.year(this.multipleValue.length?""+this.inputYear:this.tableDate),yearIcon:this.yearIcon,value:this.multipleValue[0]},slot:"title",on:{"update:selecting-year":t=>this.internalActivePicker=t?"YEAR":this.type.toUpperCase()}})},genTableHeader(){return this.$createElement(i["a"],{props:{nextIcon:this.nextIcon,color:this.color,dark:this.dark,disabled:this.disabled,format:this.headerDateFormat,light:this.light,locale:this.locale,min:"DATE"===this.internalActivePicker?this.minMonth:this.minYear,max:"DATE"===this.internalActivePicker?this.maxMonth:this.maxYear,nextAriaLabel:"DATE"===this.internalActivePicker?this.nextMonthAriaLabel:this.nextYearAriaLabel,prevAriaLabel:"DATE"===this.internalActivePicker?this.prevMonthAriaLabel:this.prevYearAriaLabel,prevIcon:this.prevIcon,readonly:this.readonly,value:"DATE"===this.internalActivePicker?`${Object(g["a"])(this.tableYear,4)}-${Object(g["a"])(this.tableMonth+1)}`:""+Object(g["a"])(this.tableYear,4)},on:{toggle:()=>this.internalActivePicker="DATE"===this.internalActivePicker?"MONTH":"YEAR",input:t=>this.tableDate=t}})},genDateTable(){return this.$createElement(o["a"],{props:{allowedDates:this.allowedDates,color:this.color,current:this.current,dark:this.dark,disabled:this.disabled,events:this.events,eventColor:this.eventColor,firstDayOfWeek:this.firstDayOfWeek,format:this.dayFormat,light:this.light,locale:this.locale,localeFirstDayOfYear:this.localeFirstDayOfYear,min:this.min,max:this.max,range:this.range,readonly:this.readonly,scrollable:this.scrollable,showAdjacentMonths:this.showAdjacentMonths,showWeek:this.showWeek,tableDate:`${Object(g["a"])(this.tableYear,4)}-${Object(g["a"])(this.tableMonth+1)}`,value:this.value,weekdayFormat:this.weekdayFormat},ref:"table",on:{input:this.dateClick,"update:table-date":t=>this.tableDate=t,...Object(v["a"])(this,":date")}})},genMonthTable(){return this.$createElement(a["a"],{props:{allowedDates:"month"===this.type?this.allowedDates:null,color:this.color,current:this.current?Object(m["a"])(this.current,"month"):null,dark:this.dark,disabled:this.disabled,events:"month"===this.type?this.events:null,eventColor:"month"===this.type?this.eventColor:null,format:this.monthFormat,light:this.light,locale:this.locale,min:this.minMonth,max:this.maxMonth,range:this.range,readonly:this.readonly&&"month"===this.type,scrollable:this.scrollable,value:this.selectedMonths,tableDate:""+Object(g["a"])(this.tableYear,4)},ref:"table",on:{input:this.monthClick,"update:table-date":t=>this.tableDate=t,...Object(v["a"])(this,":month")}})},genYears(){return this.$createElement(s["a"],{props:{color:this.color,format:this.yearFormat,locale:this.locale,min:this.minYear,max:this.maxYear,value:this.tableYear},on:{input:this.yearClick,...Object(v["a"])(this,":year")}})},genPickerBody(){const t="YEAR"===this.internalActivePicker?[this.genYears()]:[this.genTableHeader(),"DATE"===this.internalActivePicker?this.genDateTable():this.genMonthTable()];return this.$createElement("div",{key:this.internalActivePicker},t)},setInputDate(){if(this.lastValue){const t=this.lastValue.split("-");this.inputYear=parseInt(t[0],10),this.inputMonth=parseInt(t[1],10)-1,"date"===this.type&&(this.inputDay=parseInt(t[2],10))}else this.inputYear=this.inputYear||this.now.getFullYear(),this.inputMonth=null==this.inputMonth?this.inputMonth:this.now.getMonth(),this.inputDay=this.inputDay||this.now.getDate()}},render(){return this.genPicker("v-picker--date")}})},"2e8c":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".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:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}});return e}))},"2ef0":function(t,e,r){(function(t,n){var i;
/**
 * @license
 * Lodash <https://lodash.com/>
 * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
 * Released under MIT license <https://lodash.com/license>
 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
 */(function(){var o,a="4.17.21",s=200,u="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",c="Expected a function",l="Invalid `variable` option passed into `_.template`",h="__lodash_hash_undefined__",f=500,d="__lodash_placeholder__",p=1,m=2,g=4,y=1,v=2,b=1,_=2,w=4,x=8,k=16,S=32,E=64,M=128,A=256,T=512,C=30,L="...",P=800,O=16,I=1,D=2,B=3,j=1/0,N=9007199254740991,R=17976931348623157e292,F=NaN,Y=4294967295,U=Y-1,H=Y>>>1,z=[["ary",M],["bind",b],["bindKey",_],["curry",x],["curryRight",k],["flip",T],["partial",S],["partialRight",E],["rearg",A]],V="[object Arguments]",$="[object Array]",q="[object AsyncFunction]",G="[object Boolean]",W="[object Date]",K="[object DOMException]",X="[object Error]",J="[object Function]",Z="[object GeneratorFunction]",Q="[object Map]",tt="[object Number]",et="[object Null]",rt="[object Object]",nt="[object Promise]",it="[object Proxy]",ot="[object RegExp]",at="[object Set]",st="[object String]",ut="[object Symbol]",ct="[object Undefined]",lt="[object WeakMap]",ht="[object WeakSet]",ft="[object ArrayBuffer]",dt="[object DataView]",pt="[object Float32Array]",mt="[object Float64Array]",gt="[object Int8Array]",yt="[object Int16Array]",vt="[object Int32Array]",bt="[object Uint8Array]",_t="[object Uint8ClampedArray]",wt="[object Uint16Array]",xt="[object Uint32Array]",kt=/\b__p \+= '';/g,St=/\b(__p \+=) '' \+/g,Et=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Mt=/&(?:amp|lt|gt|quot|#39);/g,At=/[&<>"']/g,Tt=RegExp(Mt.source),Ct=RegExp(At.source),Lt=/<%-([\s\S]+?)%>/g,Pt=/<%([\s\S]+?)%>/g,Ot=/<%=([\s\S]+?)%>/g,It=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Dt=/^\w*$/,Bt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,jt=/[\\^$.*+?()[\]{}|]/g,Nt=RegExp(jt.source),Rt=/^\s+/,Ft=/\s/,Yt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ut=/\{\n\/\* \[wrapped with (.+)\] \*/,Ht=/,? & /,zt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Vt=/[()=,{}\[\]\/\s]/,$t=/\\(\\)?/g,qt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Gt=/\w*$/,Wt=/^[-+]0x[0-9a-f]+$/i,Kt=/^0b[01]+$/i,Xt=/^\[object .+?Constructor\]$/,Jt=/^0o[0-7]+$/i,Zt=/^(?:0|[1-9]\d*)$/,Qt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,te=/($^)/,ee=/['\n\r\u2028\u2029\\]/g,re="\\ud800-\\udfff",ne="\\u0300-\\u036f",ie="\\ufe20-\\ufe2f",oe="\\u20d0-\\u20ff",ae=ne+ie+oe,se="\\u2700-\\u27bf",ue="a-z\\xdf-\\xf6\\xf8-\\xff",ce="\\xac\\xb1\\xd7\\xf7",le="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",he="\\u2000-\\u206f",fe=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",de="A-Z\\xc0-\\xd6\\xd8-\\xde",pe="\\ufe0e\\ufe0f",me=ce+le+he+fe,ge="['’]",ye="["+re+"]",ve="["+me+"]",be="["+ae+"]",_e="\\d+",we="["+se+"]",xe="["+ue+"]",ke="[^"+re+me+_e+se+ue+de+"]",Se="\\ud83c[\\udffb-\\udfff]",Ee="(?:"+be+"|"+Se+")",Me="[^"+re+"]",Ae="(?:\\ud83c[\\udde6-\\uddff]){2}",Te="[\\ud800-\\udbff][\\udc00-\\udfff]",Ce="["+de+"]",Le="\\u200d",Pe="(?:"+xe+"|"+ke+")",Oe="(?:"+Ce+"|"+ke+")",Ie="(?:"+ge+"(?:d|ll|m|re|s|t|ve))?",De="(?:"+ge+"(?:D|LL|M|RE|S|T|VE))?",Be=Ee+"?",je="["+pe+"]?",Ne="(?:"+Le+"(?:"+[Me,Ae,Te].join("|")+")"+je+Be+")*",Re="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Fe="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ye=je+Be+Ne,Ue="(?:"+[we,Ae,Te].join("|")+")"+Ye,He="(?:"+[Me+be+"?",be,Ae,Te,ye].join("|")+")",ze=RegExp(ge,"g"),Ve=RegExp(be,"g"),$e=RegExp(Se+"(?="+Se+")|"+He+Ye,"g"),qe=RegExp([Ce+"?"+xe+"+"+Ie+"(?="+[ve,Ce,"$"].join("|")+")",Oe+"+"+De+"(?="+[ve,Ce+Pe,"$"].join("|")+")",Ce+"?"+Pe+"+"+Ie,Ce+"+"+De,Fe,Re,_e,Ue].join("|"),"g"),Ge=RegExp("["+Le+re+ae+pe+"]"),We=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ke=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Xe=-1,Je={};Je[pt]=Je[mt]=Je[gt]=Je[yt]=Je[vt]=Je[bt]=Je[_t]=Je[wt]=Je[xt]=!0,Je[V]=Je[$]=Je[ft]=Je[G]=Je[dt]=Je[W]=Je[X]=Je[J]=Je[Q]=Je[tt]=Je[rt]=Je[ot]=Je[at]=Je[st]=Je[lt]=!1;var Ze={};Ze[V]=Ze[$]=Ze[ft]=Ze[dt]=Ze[G]=Ze[W]=Ze[pt]=Ze[mt]=Ze[gt]=Ze[yt]=Ze[vt]=Ze[Q]=Ze[tt]=Ze[rt]=Ze[ot]=Ze[at]=Ze[st]=Ze[ut]=Ze[bt]=Ze[_t]=Ze[wt]=Ze[xt]=!0,Ze[X]=Ze[J]=Ze[lt]=!1;var Qe={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","Ĳ":"IJ","ĳ":"ij","Œ":"Oe","œ":"oe","ŉ":"'n","ſ":"s"},tr={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},er={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},rr={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},nr=parseFloat,ir=parseInt,or="object"==typeof t&&t&&t.Object===Object&&t,ar="object"==typeof self&&self&&self.Object===Object&&self,sr=or||ar||Function("return this")(),ur=e&&!e.nodeType&&e,cr=ur&&"object"==typeof n&&n&&!n.nodeType&&n,lr=cr&&cr.exports===ur,hr=lr&&or.process,fr=function(){try{var t=cr&&cr.require&&cr.require("util").types;return t||hr&&hr.binding&&hr.binding("util")}catch(e){}}(),dr=fr&&fr.isArrayBuffer,pr=fr&&fr.isDate,mr=fr&&fr.isMap,gr=fr&&fr.isRegExp,yr=fr&&fr.isSet,vr=fr&&fr.isTypedArray;function br(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}function _r(t,e,r,n){var i=-1,o=null==t?0:t.length;while(++i<o){var a=t[i];e(n,a,r(a),t)}return n}function wr(t,e){var r=-1,n=null==t?0:t.length;while(++r<n)if(!1===e(t[r],r,t))break;return t}function xr(t,e){var r=null==t?0:t.length;while(r--)if(!1===e(t[r],r,t))break;return t}function kr(t,e){var r=-1,n=null==t?0:t.length;while(++r<n)if(!e(t[r],r,t))return!1;return!0}function Sr(t,e){var r=-1,n=null==t?0:t.length,i=0,o=[];while(++r<n){var a=t[r];e(a,r,t)&&(o[i++]=a)}return o}function Er(t,e){var r=null==t?0:t.length;return!!r&&Nr(t,e,0)>-1}function Mr(t,e,r){var n=-1,i=null==t?0:t.length;while(++n<i)if(r(e,t[n]))return!0;return!1}function Ar(t,e){var r=-1,n=null==t?0:t.length,i=Array(n);while(++r<n)i[r]=e(t[r],r,t);return i}function Tr(t,e){var r=-1,n=e.length,i=t.length;while(++r<n)t[i+r]=e[r];return t}function Cr(t,e,r,n){var i=-1,o=null==t?0:t.length;n&&o&&(r=t[++i]);while(++i<o)r=e(r,t[i],i,t);return r}function Lr(t,e,r,n){var i=null==t?0:t.length;n&&i&&(r=t[--i]);while(i--)r=e(r,t[i],i,t);return r}function Pr(t,e){var r=-1,n=null==t?0:t.length;while(++r<n)if(e(t[r],r,t))return!0;return!1}var Or=Ur("length");function Ir(t){return t.split("")}function Dr(t){return t.match(zt)||[]}function Br(t,e,r){var n;return r(t,(function(t,r,i){if(e(t,r,i))return n=r,!1})),n}function jr(t,e,r,n){var i=t.length,o=r+(n?1:-1);while(n?o--:++o<i)if(e(t[o],o,t))return o;return-1}function Nr(t,e,r){return e===e?pn(t,e,r):jr(t,Fr,r)}function Rr(t,e,r,n){var i=r-1,o=t.length;while(++i<o)if(n(t[i],e))return i;return-1}function Fr(t){return t!==t}function Yr(t,e){var r=null==t?0:t.length;return r?$r(t,e)/r:F}function Ur(t){return function(e){return null==e?o:e[t]}}function Hr(t){return function(e){return null==t?o:t[e]}}function zr(t,e,r,n,i){return i(t,(function(t,i,o){r=n?(n=!1,t):e(r,t,i,o)})),r}function Vr(t,e){var r=t.length;t.sort(e);while(r--)t[r]=t[r].value;return t}function $r(t,e){var r,n=-1,i=t.length;while(++n<i){var a=e(t[n]);a!==o&&(r=r===o?a:r+a)}return r}function qr(t,e){var r=-1,n=Array(t);while(++r<t)n[r]=e(r);return n}function Gr(t,e){return Ar(e,(function(e){return[e,t[e]]}))}function Wr(t){return t?t.slice(0,vn(t)+1).replace(Rt,""):t}function Kr(t){return function(e){return t(e)}}function Xr(t,e){return Ar(e,(function(e){return t[e]}))}function Jr(t,e){return t.has(e)}function Zr(t,e){var r=-1,n=t.length;while(++r<n&&Nr(e,t[r],0)>-1);return r}function Qr(t,e){var r=t.length;while(r--&&Nr(e,t[r],0)>-1);return r}function tn(t,e){var r=t.length,n=0;while(r--)t[r]===e&&++n;return n}var en=Hr(Qe),rn=Hr(tr);function nn(t){return"\\"+rr[t]}function on(t,e){return null==t?o:t[e]}function an(t){return Ge.test(t)}function sn(t){return We.test(t)}function un(t){var e,r=[];while(!(e=t.next()).done)r.push(e.value);return r}function cn(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r}function ln(t,e){return function(r){return t(e(r))}}function hn(t,e){var r=-1,n=t.length,i=0,o=[];while(++r<n){var a=t[r];a!==e&&a!==d||(t[r]=d,o[i++]=r)}return o}function fn(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r}function dn(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=[t,t]})),r}function pn(t,e,r){var n=r-1,i=t.length;while(++n<i)if(t[n]===e)return n;return-1}function mn(t,e,r){var n=r+1;while(n--)if(t[n]===e)return n;return n}function gn(t){return an(t)?_n(t):Or(t)}function yn(t){return an(t)?wn(t):Ir(t)}function vn(t){var e=t.length;while(e--&&Ft.test(t.charAt(e)));return e}var bn=Hr(er);function _n(t){var e=$e.lastIndex=0;while($e.test(t))++e;return e}function wn(t){return t.match($e)||[]}function xn(t){return t.match(qe)||[]}var kn=function t(e){e=null==e?sr:Sn.defaults(sr.Object(),e,Sn.pick(sr,Ke));var r=e.Array,n=e.Date,i=e.Error,Ft=e.Function,zt=e.Math,re=e.Object,ne=e.RegExp,ie=e.String,oe=e.TypeError,ae=r.prototype,se=Ft.prototype,ue=re.prototype,ce=e["__core-js_shared__"],le=se.toString,he=ue.hasOwnProperty,fe=0,de=function(){var t=/[^.]+$/.exec(ce&&ce.keys&&ce.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),pe=ue.toString,me=le.call(re),ge=sr._,ye=ne("^"+le.call(he).replace(jt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ve=lr?e.Buffer:o,be=e.Symbol,_e=e.Uint8Array,we=ve?ve.allocUnsafe:o,xe=ln(re.getPrototypeOf,re),ke=re.create,Se=ue.propertyIsEnumerable,Ee=ae.splice,Me=be?be.isConcatSpreadable:o,Ae=be?be.iterator:o,Te=be?be.toStringTag:o,Ce=function(){try{var t=Ga(re,"defineProperty");return t({},"",{}),t}catch(e){}}(),Le=e.clearTimeout!==sr.clearTimeout&&e.clearTimeout,Pe=n&&n.now!==sr.Date.now&&n.now,Oe=e.setTimeout!==sr.setTimeout&&e.setTimeout,Ie=zt.ceil,De=zt.floor,Be=re.getOwnPropertySymbols,je=ve?ve.isBuffer:o,Ne=e.isFinite,Re=ae.join,Fe=ln(re.keys,re),Ye=zt.max,Ue=zt.min,He=n.now,$e=e.parseInt,qe=zt.random,Ge=ae.reverse,We=Ga(e,"DataView"),Qe=Ga(e,"Map"),tr=Ga(e,"Promise"),er=Ga(e,"Set"),rr=Ga(e,"WeakMap"),or=Ga(re,"create"),ar=rr&&new rr,ur={},cr=Os(We),hr=Os(Qe),fr=Os(tr),Or=Os(er),Ir=Os(rr),Hr=be?be.prototype:o,pn=Hr?Hr.valueOf:o,_n=Hr?Hr.toString:o;function wn(t){if(El(t)&&!ul(t)&&!(t instanceof An)){if(t instanceof Mn)return t;if(he.call(t,"__wrapped__"))return Ds(t)}return new Mn(t)}var kn=function(){function t(){}return function(e){if(!Sl(e))return{};if(ke)return ke(e);t.prototype=e;var r=new t;return t.prototype=o,r}}();function En(){}function Mn(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=o}function An(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Y,this.__views__=[]}function Tn(){var t=new An(this.__wrapped__);return t.__actions__=ia(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=ia(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=ia(this.__views__),t}function Cn(){if(this.__filtered__){var t=new An(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}function Ln(){var t=this.__wrapped__.value(),e=this.__dir__,r=ul(t),n=e<0,i=r?t.length:0,o=Za(0,i,this.__views__),a=o.start,s=o.end,u=s-a,c=n?s:a-1,l=this.__iteratees__,h=l.length,f=0,d=Ue(u,this.__takeCount__);if(!r||!n&&i==u&&d==u)return Fo(t,this.__actions__);var p=[];t:while(u--&&f<d){c+=e;var m=-1,g=t[c];while(++m<h){var y=l[m],v=y.iteratee,b=y.type,_=v(g);if(b==D)g=_;else if(!_){if(b==I)continue t;break t}}p[f++]=g}return p}function Pn(t){var e=-1,r=null==t?0:t.length;this.clear();while(++e<r){var n=t[e];this.set(n[0],n[1])}}function On(){this.__data__=or?or(null):{},this.size=0}function In(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}function Dn(t){var e=this.__data__;if(or){var r=e[t];return r===h?o:r}return he.call(e,t)?e[t]:o}function Bn(t){var e=this.__data__;return or?e[t]!==o:he.call(e,t)}function jn(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=or&&e===o?h:e,this}function Nn(t){var e=-1,r=null==t?0:t.length;this.clear();while(++e<r){var n=t[e];this.set(n[0],n[1])}}function Rn(){this.__data__=[],this.size=0}function Fn(t){var e=this.__data__,r=li(e,t);if(r<0)return!1;var n=e.length-1;return r==n?e.pop():Ee.call(e,r,1),--this.size,!0}function Yn(t){var e=this.__data__,r=li(e,t);return r<0?o:e[r][1]}function Un(t){return li(this.__data__,t)>-1}function Hn(t,e){var r=this.__data__,n=li(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this}function zn(t){var e=-1,r=null==t?0:t.length;this.clear();while(++e<r){var n=t[e];this.set(n[0],n[1])}}function Vn(){this.size=0,this.__data__={hash:new Pn,map:new(Qe||Nn),string:new Pn}}function $n(t){var e=$a(this,t)["delete"](t);return this.size-=e?1:0,e}function qn(t){return $a(this,t).get(t)}function Gn(t){return $a(this,t).has(t)}function Wn(t,e){var r=$a(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this}function Kn(t){var e=-1,r=null==t?0:t.length;this.__data__=new zn;while(++e<r)this.add(t[e])}function Xn(t){return this.__data__.set(t,h),this}function Jn(t){return this.__data__.has(t)}function Zn(t){var e=this.__data__=new Nn(t);this.size=e.size}function Qn(){this.__data__=new Nn,this.size=0}function ti(t){var e=this.__data__,r=e["delete"](t);return this.size=e.size,r}function ei(t){return this.__data__.get(t)}function ri(t){return this.__data__.has(t)}function ni(t,e){var r=this.__data__;if(r instanceof Nn){var n=r.__data__;if(!Qe||n.length<s-1)return n.push([t,e]),this.size=++r.size,this;r=this.__data__=new zn(n)}return r.set(t,e),this.size=r.size,this}function ii(t,e){var r=ul(t),n=!r&&sl(t),i=!r&&!n&&dl(t),o=!r&&!n&&!i&&Yl(t),a=r||n||i||o,s=a?qr(t.length,ie):[],u=s.length;for(var c in t)!e&&!he.call(t,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||as(c,u))||s.push(c);return s}function oi(t){var e=t.length;return e?t[vo(0,e-1)]:o}function ai(t,e){return Cs(ia(t),gi(e,0,t.length))}function si(t){return Cs(ia(t))}function ui(t,e,r){(r!==o&&!il(t[e],r)||r===o&&!(e in t))&&pi(t,e,r)}function ci(t,e,r){var n=t[e];he.call(t,e)&&il(n,r)&&(r!==o||e in t)||pi(t,e,r)}function li(t,e){var r=t.length;while(r--)if(il(t[r][0],e))return r;return-1}function hi(t,e,r,n){return xi(t,(function(t,i,o){e(n,t,r(t),o)})),n}function fi(t,e){return t&&oa(e,xh(e),t)}function di(t,e){return t&&oa(e,kh(e),t)}function pi(t,e,r){"__proto__"==e&&Ce?Ce(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}function mi(t,e){var n=-1,i=e.length,a=r(i),s=null==t;while(++n<i)a[n]=s?o:gh(t,e[n]);return a}function gi(t,e,r){return t===t&&(r!==o&&(t=t<=r?t:r),e!==o&&(t=t>=e?t:e)),t}function yi(t,e,r,n,i,a){var s,u=e&p,c=e&m,l=e&g;if(r&&(s=i?r(t,n,i,a):r(t)),s!==o)return s;if(!Sl(t))return t;var h=ul(t);if(h){if(s=es(t),!u)return ia(t,s)}else{var f=Ja(t),d=f==J||f==Z;if(dl(t))return Wo(t,u);if(f==rt||f==V||d&&!i){if(s=c||d?{}:rs(t),!u)return c?sa(t,di(s,t)):aa(t,fi(s,t))}else{if(!Ze[f])return i?t:{};s=ns(t,f,u)}}a||(a=new Zn);var y=a.get(t);if(y)return y;a.set(t,s),Nl(t)?t.forEach((function(n){s.add(yi(n,e,r,n,t,a))})):Ml(t)&&t.forEach((function(n,i){s.set(i,yi(n,e,r,i,t,a))}));var v=l?c?Ya:Fa:c?kh:xh,b=h?o:v(t);return wr(b||t,(function(n,i){b&&(i=n,n=t[i]),ci(s,i,yi(n,e,r,i,t,a))})),s}function vi(t){var e=xh(t);return function(r){return bi(r,t,e)}}function bi(t,e,r){var n=r.length;if(null==t)return!n;t=re(t);while(n--){var i=r[n],a=e[i],s=t[i];if(s===o&&!(i in t)||!a(s))return!1}return!0}function _i(t,e,r){if("function"!=typeof t)throw new oe(c);return Es((function(){t.apply(o,r)}),e)}function wi(t,e,r,n){var i=-1,o=Er,a=!0,u=t.length,c=[],l=e.length;if(!u)return c;r&&(e=Ar(e,Kr(r))),n?(o=Mr,a=!1):e.length>=s&&(o=Jr,a=!1,e=new Kn(e));t:while(++i<u){var h=t[i],f=null==r?h:r(h);if(h=n||0!==h?h:0,a&&f===f){var d=l;while(d--)if(e[d]===f)continue t;c.push(h)}else o(e,f,n)||c.push(h)}return c}wn.templateSettings={escape:Lt,evaluate:Pt,interpolate:Ot,variable:"",imports:{_:wn}},wn.prototype=En.prototype,wn.prototype.constructor=wn,Mn.prototype=kn(En.prototype),Mn.prototype.constructor=Mn,An.prototype=kn(En.prototype),An.prototype.constructor=An,Pn.prototype.clear=On,Pn.prototype["delete"]=In,Pn.prototype.get=Dn,Pn.prototype.has=Bn,Pn.prototype.set=jn,Nn.prototype.clear=Rn,Nn.prototype["delete"]=Fn,Nn.prototype.get=Yn,Nn.prototype.has=Un,Nn.prototype.set=Hn,zn.prototype.clear=Vn,zn.prototype["delete"]=$n,zn.prototype.get=qn,zn.prototype.has=Gn,zn.prototype.set=Wn,Kn.prototype.add=Kn.prototype.push=Xn,Kn.prototype.has=Jn,Zn.prototype.clear=Qn,Zn.prototype["delete"]=ti,Zn.prototype.get=ei,Zn.prototype.has=ri,Zn.prototype.set=ni;var xi=la(Pi),ki=la(Oi,!0);function Si(t,e){var r=!0;return xi(t,(function(t,n,i){return r=!!e(t,n,i),r})),r}function Ei(t,e,r){var n=-1,i=t.length;while(++n<i){var a=t[n],s=e(a);if(null!=s&&(u===o?s===s&&!Fl(s):r(s,u)))var u=s,c=a}return c}function Mi(t,e,r,n){var i=t.length;r=Wl(r),r<0&&(r=-r>i?0:i+r),n=n===o||n>i?i:Wl(n),n<0&&(n+=i),n=r>n?0:Kl(n);while(r<n)t[r++]=e;return t}function Ai(t,e){var r=[];return xi(t,(function(t,n,i){e(t,n,i)&&r.push(t)})),r}function Ti(t,e,r,n,i){var o=-1,a=t.length;r||(r=os),i||(i=[]);while(++o<a){var s=t[o];e>0&&r(s)?e>1?Ti(s,e-1,r,n,i):Tr(i,s):n||(i[i.length]=s)}return i}var Ci=ha(),Li=ha(!0);function Pi(t,e){return t&&Ci(t,e,xh)}function Oi(t,e){return t&&Li(t,e,xh)}function Ii(t,e){return Sr(e,(function(e){return wl(t[e])}))}function Di(t,e){e=Vo(e,t);var r=0,n=e.length;while(null!=t&&r<n)t=t[Ps(e[r++])];return r&&r==n?t:o}function Bi(t,e,r){var n=e(t);return ul(t)?n:Tr(n,r(t))}function ji(t){return null==t?t===o?ct:et:Te&&Te in re(t)?Wa(t):bs(t)}function Ni(t,e){return t>e}function Ri(t,e){return null!=t&&he.call(t,e)}function Fi(t,e){return null!=t&&e in re(t)}function Yi(t,e,r){return t>=Ue(e,r)&&t<Ye(e,r)}function Ui(t,e,n){var i=n?Mr:Er,a=t[0].length,s=t.length,u=s,c=r(s),l=1/0,h=[];while(u--){var f=t[u];u&&e&&(f=Ar(f,Kr(e))),l=Ue(f.length,l),c[u]=!n&&(e||a>=120&&f.length>=120)?new Kn(u&&f):o}f=t[0];var d=-1,p=c[0];t:while(++d<a&&h.length<l){var m=f[d],g=e?e(m):m;if(m=n||0!==m?m:0,!(p?Jr(p,g):i(h,g,n))){u=s;while(--u){var y=c[u];if(!(y?Jr(y,g):i(t[u],g,n)))continue t}p&&p.push(g),h.push(m)}}return h}function Hi(t,e,r,n){return Pi(t,(function(t,i,o){e(n,r(t),i,o)})),n}function zi(t,e,r){e=Vo(e,t),t=ws(t,e);var n=null==t?t:t[Ps(ou(e))];return null==n?o:br(n,t,r)}function Vi(t){return El(t)&&ji(t)==V}function $i(t){return El(t)&&ji(t)==ft}function qi(t){return El(t)&&ji(t)==W}function Gi(t,e,r,n,i){return t===e||(null==t||null==e||!El(t)&&!El(e)?t!==t&&e!==e:Wi(t,e,r,n,Gi,i))}function Wi(t,e,r,n,i,o){var a=ul(t),s=ul(e),u=a?$:Ja(t),c=s?$:Ja(e);u=u==V?rt:u,c=c==V?rt:c;var l=u==rt,h=c==rt,f=u==c;if(f&&dl(t)){if(!dl(e))return!1;a=!0,l=!1}if(f&&!l)return o||(o=new Zn),a||Yl(t)?Ba(t,e,r,n,i,o):ja(t,e,u,r,n,i,o);if(!(r&y)){var d=l&&he.call(t,"__wrapped__"),p=h&&he.call(e,"__wrapped__");if(d||p){var m=d?t.value():t,g=p?e.value():e;return o||(o=new Zn),i(m,g,r,n,o)}}return!!f&&(o||(o=new Zn),Na(t,e,r,n,i,o))}function Ki(t){return El(t)&&Ja(t)==Q}function Xi(t,e,r,n){var i=r.length,a=i,s=!n;if(null==t)return!a;t=re(t);while(i--){var u=r[i];if(s&&u[2]?u[1]!==t[u[0]]:!(u[0]in t))return!1}while(++i<a){u=r[i];var c=u[0],l=t[c],h=u[1];if(s&&u[2]){if(l===o&&!(c in t))return!1}else{var f=new Zn;if(n)var d=n(l,h,c,t,e,f);if(!(d===o?Gi(h,l,y|v,n,f):d))return!1}}return!0}function Ji(t){if(!Sl(t)||hs(t))return!1;var e=wl(t)?ye:Xt;return e.test(Os(t))}function Zi(t){return El(t)&&ji(t)==ot}function Qi(t){return El(t)&&Ja(t)==at}function to(t){return El(t)&&kl(t.length)&&!!Je[ji(t)]}function eo(t){return"function"==typeof t?t:null==t?Pf:"object"==typeof t?ul(t)?so(t[0],t[1]):ao(t):Vf(t)}function ro(t){if(!ds(t))return Fe(t);var e=[];for(var r in re(t))he.call(t,r)&&"constructor"!=r&&e.push(r);return e}function no(t){if(!Sl(t))return vs(t);var e=ds(t),r=[];for(var n in t)("constructor"!=n||!e&&he.call(t,n))&&r.push(n);return r}function io(t,e){return t<e}function oo(t,e){var n=-1,i=ll(t)?r(t.length):[];return xi(t,(function(t,r,o){i[++n]=e(t,r,o)})),i}function ao(t){var e=qa(t);return 1==e.length&&e[0][2]?ms(e[0][0],e[0][1]):function(r){return r===t||Xi(r,t,e)}}function so(t,e){return us(t)&&ps(e)?ms(Ps(t),e):function(r){var n=gh(r,t);return n===o&&n===e?vh(r,t):Gi(e,n,y|v)}}function uo(t,e,r,n,i){t!==e&&Ci(e,(function(a,s){if(i||(i=new Zn),Sl(a))co(t,e,s,r,uo,n,i);else{var u=n?n(ks(t,s),a,s+"",t,e,i):o;u===o&&(u=a),ui(t,s,u)}}),kh)}function co(t,e,r,n,i,a,s){var u=ks(t,r),c=ks(e,r),l=s.get(c);if(l)ui(t,r,l);else{var h=a?a(u,c,r+"",t,e,s):o,f=h===o;if(f){var d=ul(c),p=!d&&dl(c),m=!d&&!p&&Yl(c);h=c,d||p||m?ul(u)?h=u:hl(u)?h=ia(u):p?(f=!1,h=Wo(c,!0)):m?(f=!1,h=Qo(c,!0)):h=[]:Dl(c)||sl(c)?(h=u,sl(u)?h=Jl(u):Sl(u)&&!wl(u)||(h=rs(c))):f=!1}f&&(s.set(c,h),i(h,c,n,a,s),s["delete"](c)),ui(t,r,h)}}function lo(t,e){var r=t.length;if(r)return e+=e<0?r:0,as(e,r)?t[e]:o}function ho(t,e,r){e=e.length?Ar(e,(function(t){return ul(t)?function(e){return Di(e,1===t.length?t[0]:t)}:t})):[Pf];var n=-1;e=Ar(e,Kr(Va()));var i=oo(t,(function(t,r,i){var o=Ar(e,(function(e){return e(t)}));return{criteria:o,index:++n,value:t}}));return Vr(i,(function(t,e){return ea(t,e,r)}))}function fo(t,e){return po(t,e,(function(e,r){return vh(t,r)}))}function po(t,e,r){var n=-1,i=e.length,o={};while(++n<i){var a=e[n],s=Di(t,a);r(s,a)&&So(o,Vo(a,t),s)}return o}function mo(t){return function(e){return Di(e,t)}}function go(t,e,r,n){var i=n?Rr:Nr,o=-1,a=e.length,s=t;t===e&&(e=ia(e)),r&&(s=Ar(t,Kr(r)));while(++o<a){var u=0,c=e[o],l=r?r(c):c;while((u=i(s,l,u,n))>-1)s!==t&&Ee.call(s,u,1),Ee.call(t,u,1)}return t}function yo(t,e){var r=t?e.length:0,n=r-1;while(r--){var i=e[r];if(r==n||i!==o){var o=i;as(i)?Ee.call(t,i,1):jo(t,i)}}return t}function vo(t,e){return t+De(qe()*(e-t+1))}function bo(t,e,n,i){var o=-1,a=Ye(Ie((e-t)/(n||1)),0),s=r(a);while(a--)s[i?a:++o]=t,t+=n;return s}function _o(t,e){var r="";if(!t||e<1||e>N)return r;do{e%2&&(r+=t),e=De(e/2),e&&(t+=t)}while(e);return r}function wo(t,e){return Ms(_s(t,e,Pf),t+"")}function xo(t){return oi(Uh(t))}function ko(t,e){var r=Uh(t);return Cs(r,gi(e,0,r.length))}function So(t,e,r,n){if(!Sl(t))return t;e=Vo(e,t);var i=-1,a=e.length,s=a-1,u=t;while(null!=u&&++i<a){var c=Ps(e[i]),l=r;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(i!=s){var h=u[c];l=n?n(h,c,u):o,l===o&&(l=Sl(h)?h:as(e[i+1])?[]:{})}ci(u,c,l),u=u[c]}return t}var Eo=ar?function(t,e){return ar.set(t,e),t}:Pf,Mo=Ce?function(t,e){return Ce(t,"toString",{configurable:!0,enumerable:!1,value:Af(e),writable:!0})}:Pf;function Ao(t){return Cs(Uh(t))}function To(t,e,n){var i=-1,o=t.length;e<0&&(e=-e>o?0:o+e),n=n>o?o:n,n<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;var a=r(o);while(++i<o)a[i]=t[i+e];return a}function Co(t,e){var r;return xi(t,(function(t,n,i){return r=e(t,n,i),!r})),!!r}function Lo(t,e,r){var n=0,i=null==t?n:t.length;if("number"==typeof e&&e===e&&i<=H){while(n<i){var o=n+i>>>1,a=t[o];null!==a&&!Fl(a)&&(r?a<=e:a<e)?n=o+1:i=o}return i}return Po(t,e,Pf,r)}function Po(t,e,r,n){var i=0,a=null==t?0:t.length;if(0===a)return 0;e=r(e);var s=e!==e,u=null===e,c=Fl(e),l=e===o;while(i<a){var h=De((i+a)/2),f=r(t[h]),d=f!==o,p=null===f,m=f===f,g=Fl(f);if(s)var y=n||m;else y=l?m&&(n||d):u?m&&d&&(n||!p):c?m&&d&&!p&&(n||!g):!p&&!g&&(n?f<=e:f<e);y?i=h+1:a=h}return Ue(a,U)}function Oo(t,e){var r=-1,n=t.length,i=0,o=[];while(++r<n){var a=t[r],s=e?e(a):a;if(!r||!il(s,u)){var u=s;o[i++]=0===a?0:a}}return o}function Io(t){return"number"==typeof t?t:Fl(t)?F:+t}function Do(t){if("string"==typeof t)return t;if(ul(t))return Ar(t,Do)+"";if(Fl(t))return _n?_n.call(t):"";var e=t+"";return"0"==e&&1/t==-j?"-0":e}function Bo(t,e,r){var n=-1,i=Er,o=t.length,a=!0,u=[],c=u;if(r)a=!1,i=Mr;else if(o>=s){var l=e?null:Ca(t);if(l)return fn(l);a=!1,i=Jr,c=new Kn}else c=e?[]:u;t:while(++n<o){var h=t[n],f=e?e(h):h;if(h=r||0!==h?h:0,a&&f===f){var d=c.length;while(d--)if(c[d]===f)continue t;e&&c.push(f),u.push(h)}else i(c,f,r)||(c!==u&&c.push(f),u.push(h))}return u}function jo(t,e){return e=Vo(e,t),t=ws(t,e),null==t||delete t[Ps(ou(e))]}function No(t,e,r,n){return So(t,e,r(Di(t,e)),n)}function Ro(t,e,r,n){var i=t.length,o=n?i:-1;while((n?o--:++o<i)&&e(t[o],o,t));return r?To(t,n?0:o,n?o+1:i):To(t,n?o+1:0,n?i:o)}function Fo(t,e){var r=t;return r instanceof An&&(r=r.value()),Cr(e,(function(t,e){return e.func.apply(e.thisArg,Tr([t],e.args))}),r)}function Yo(t,e,n){var i=t.length;if(i<2)return i?Bo(t[0]):[];var o=-1,a=r(i);while(++o<i){var s=t[o],u=-1;while(++u<i)u!=o&&(a[o]=wi(a[o]||s,t[u],e,n))}return Bo(Ti(a,1),e,n)}function Uo(t,e,r){var n=-1,i=t.length,a=e.length,s={};while(++n<i){var u=n<a?e[n]:o;r(s,t[n],u)}return s}function Ho(t){return hl(t)?t:[]}function zo(t){return"function"==typeof t?t:Pf}function Vo(t,e){return ul(t)?t:us(t,e)?[t]:Ls(Ql(t))}var $o=wo;function qo(t,e,r){var n=t.length;return r=r===o?n:r,!e&&r>=n?t:To(t,e,r)}var Go=Le||function(t){return sr.clearTimeout(t)};function Wo(t,e){if(e)return t.slice();var r=t.length,n=we?we(r):new t.constructor(r);return t.copy(n),n}function Ko(t){var e=new t.constructor(t.byteLength);return new _e(e).set(new _e(t)),e}function Xo(t,e){var r=e?Ko(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}function Jo(t){var e=new t.constructor(t.source,Gt.exec(t));return e.lastIndex=t.lastIndex,e}function Zo(t){return pn?re(pn.call(t)):{}}function Qo(t,e){var r=e?Ko(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}function ta(t,e){if(t!==e){var r=t!==o,n=null===t,i=t===t,a=Fl(t),s=e!==o,u=null===e,c=e===e,l=Fl(e);if(!u&&!l&&!a&&t>e||a&&s&&c&&!u&&!l||n&&s&&c||!r&&c||!i)return 1;if(!n&&!a&&!l&&t<e||l&&r&&i&&!n&&!a||u&&r&&i||!s&&i||!c)return-1}return 0}function ea(t,e,r){var n=-1,i=t.criteria,o=e.criteria,a=i.length,s=r.length;while(++n<a){var u=ta(i[n],o[n]);if(u){if(n>=s)return u;var c=r[n];return u*("desc"==c?-1:1)}}return t.index-e.index}function ra(t,e,n,i){var o=-1,a=t.length,s=n.length,u=-1,c=e.length,l=Ye(a-s,0),h=r(c+l),f=!i;while(++u<c)h[u]=e[u];while(++o<s)(f||o<a)&&(h[n[o]]=t[o]);while(l--)h[u++]=t[o++];return h}function na(t,e,n,i){var o=-1,a=t.length,s=-1,u=n.length,c=-1,l=e.length,h=Ye(a-u,0),f=r(h+l),d=!i;while(++o<h)f[o]=t[o];var p=o;while(++c<l)f[p+c]=e[c];while(++s<u)(d||o<a)&&(f[p+n[s]]=t[o++]);return f}function ia(t,e){var n=-1,i=t.length;e||(e=r(i));while(++n<i)e[n]=t[n];return e}function oa(t,e,r,n){var i=!r;r||(r={});var a=-1,s=e.length;while(++a<s){var u=e[a],c=n?n(r[u],t[u],u,r,t):o;c===o&&(c=t[u]),i?pi(r,u,c):ci(r,u,c)}return r}function aa(t,e){return oa(t,Ka(t),e)}function sa(t,e){return oa(t,Xa(t),e)}function ua(t,e){return function(r,n){var i=ul(r)?_r:hi,o=e?e():{};return i(r,t,Va(n,2),o)}}function ca(t){return wo((function(e,r){var n=-1,i=r.length,a=i>1?r[i-1]:o,s=i>2?r[2]:o;a=t.length>3&&"function"==typeof a?(i--,a):o,s&&ss(r[0],r[1],s)&&(a=i<3?o:a,i=1),e=re(e);while(++n<i){var u=r[n];u&&t(e,u,n,a)}return e}))}function la(t,e){return function(r,n){if(null==r)return r;if(!ll(r))return t(r,n);var i=r.length,o=e?i:-1,a=re(r);while(e?o--:++o<i)if(!1===n(a[o],o,a))break;return r}}function ha(t){return function(e,r,n){var i=-1,o=re(e),a=n(e),s=a.length;while(s--){var u=a[t?s:++i];if(!1===r(o[u],u,o))break}return e}}function fa(t,e,r){var n=e&b,i=ma(t);function o(){var e=this&&this!==sr&&this instanceof o?i:t;return e.apply(n?r:this,arguments)}return o}function da(t){return function(e){e=Ql(e);var r=an(e)?yn(e):o,n=r?r[0]:e.charAt(0),i=r?qo(r,1).join(""):e.slice(1);return n[t]()+i}}function pa(t){return function(e){return Cr(xf(Wh(e).replace(ze,"")),t,"")}}function ma(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var r=kn(t.prototype),n=t.apply(r,e);return Sl(n)?n:r}}function ga(t,e,n){var i=ma(t);function a(){var s=arguments.length,u=r(s),c=s,l=za(a);while(c--)u[c]=arguments[c];var h=s<3&&u[0]!==l&&u[s-1]!==l?[]:hn(u,l);if(s-=h.length,s<n)return Aa(t,e,ba,a.placeholder,o,u,h,o,o,n-s);var f=this&&this!==sr&&this instanceof a?i:t;return br(f,this,u)}return a}function ya(t){return function(e,r,n){var i=re(e);if(!ll(e)){var a=Va(r,3);e=xh(e),r=function(t){return a(i[t],t,i)}}var s=t(e,r,n);return s>-1?i[a?e[s]:s]:o}}function va(t){return Ra((function(e){var r=e.length,n=r,i=Mn.prototype.thru;t&&e.reverse();while(n--){var a=e[n];if("function"!=typeof a)throw new oe(c);if(i&&!s&&"wrapper"==Ha(a))var s=new Mn([],!0)}n=s?n:r;while(++n<r){a=e[n];var u=Ha(a),l="wrapper"==u?Ua(a):o;s=l&&ls(l[0])&&l[1]==(M|x|S|A)&&!l[4].length&&1==l[9]?s[Ha(l[0])].apply(s,l[3]):1==a.length&&ls(a)?s[u]():s.thru(a)}return function(){var t=arguments,n=t[0];if(s&&1==t.length&&ul(n))return s.plant(n).value();var i=0,o=r?e[i].apply(this,t):n;while(++i<r)o=e[i].call(this,o);return o}}))}function ba(t,e,n,i,a,s,u,c,l,h){var f=e&M,d=e&b,p=e&_,m=e&(x|k),g=e&T,y=p?o:ma(t);function v(){var o=arguments.length,b=r(o),_=o;while(_--)b[_]=arguments[_];if(m)var w=za(v),x=tn(b,w);if(i&&(b=ra(b,i,a,m)),s&&(b=na(b,s,u,m)),o-=x,m&&o<h){var k=hn(b,w);return Aa(t,e,ba,v.placeholder,n,b,k,c,l,h-o)}var S=d?n:this,E=p?S[t]:t;return o=b.length,c?b=xs(b,c):g&&o>1&&b.reverse(),f&&l<o&&(b.length=l),this&&this!==sr&&this instanceof v&&(E=y||ma(E)),E.apply(S,b)}return v}function _a(t,e){return function(r,n){return Hi(r,t,e(n),{})}}function wa(t,e){return function(r,n){var i;if(r===o&&n===o)return e;if(r!==o&&(i=r),n!==o){if(i===o)return n;"string"==typeof r||"string"==typeof n?(r=Do(r),n=Do(n)):(r=Io(r),n=Io(n)),i=t(r,n)}return i}}function xa(t){return Ra((function(e){return e=Ar(e,Kr(Va())),wo((function(r){var n=this;return t(e,(function(t){return br(t,n,r)}))}))}))}function ka(t,e){e=e===o?" ":Do(e);var r=e.length;if(r<2)return r?_o(e,t):e;var n=_o(e,Ie(t/gn(e)));return an(e)?qo(yn(n),0,t).join(""):n.slice(0,t)}function Sa(t,e,n,i){var o=e&b,a=ma(t);function s(){var e=-1,u=arguments.length,c=-1,l=i.length,h=r(l+u),f=this&&this!==sr&&this instanceof s?a:t;while(++c<l)h[c]=i[c];while(u--)h[c++]=arguments[++e];return br(f,o?n:this,h)}return s}function Ea(t){return function(e,r,n){return n&&"number"!=typeof n&&ss(e,r,n)&&(r=n=o),e=Gl(e),r===o?(r=e,e=0):r=Gl(r),n=n===o?e<r?1:-1:Gl(n),bo(e,r,n,t)}}function Ma(t){return function(e,r){return"string"==typeof e&&"string"==typeof r||(e=Xl(e),r=Xl(r)),t(e,r)}}function Aa(t,e,r,n,i,a,s,u,c,l){var h=e&x,f=h?s:o,d=h?o:s,p=h?a:o,m=h?o:a;e|=h?S:E,e&=~(h?E:S),e&w||(e&=~(b|_));var g=[t,e,i,p,f,m,d,u,c,l],y=r.apply(o,g);return ls(t)&&Ss(y,g),y.placeholder=n,As(y,t,e)}function Ta(t){var e=zt[t];return function(t,r){if(t=Xl(t),r=null==r?0:Ue(Wl(r),292),r&&Ne(t)){var n=(Ql(t)+"e").split("e"),i=e(n[0]+"e"+(+n[1]+r));return n=(Ql(i)+"e").split("e"),+(n[0]+"e"+(+n[1]-r))}return e(t)}}var Ca=er&&1/fn(new er([,-0]))[1]==j?function(t){return new er(t)}:Ff;function La(t){return function(e){var r=Ja(e);return r==Q?cn(e):r==at?dn(e):Gr(e,t(e))}}function Pa(t,e,r,n,i,a,s,u){var l=e&_;if(!l&&"function"!=typeof t)throw new oe(c);var h=n?n.length:0;if(h||(e&=~(S|E),n=i=o),s=s===o?s:Ye(Wl(s),0),u=u===o?u:Wl(u),h-=i?i.length:0,e&E){var f=n,d=i;n=i=o}var p=l?o:Ua(t),m=[t,e,r,n,i,f,d,a,s,u];if(p&&ys(m,p),t=m[0],e=m[1],r=m[2],n=m[3],i=m[4],u=m[9]=m[9]===o?l?0:t.length:Ye(m[9]-h,0),!u&&e&(x|k)&&(e&=~(x|k)),e&&e!=b)g=e==x||e==k?ga(t,e,u):e!=S&&e!=(b|S)||i.length?ba.apply(o,m):Sa(t,e,r,n);else var g=fa(t,e,r);var y=p?Eo:Ss;return As(y(g,m),t,e)}function Oa(t,e,r,n){return t===o||il(t,ue[r])&&!he.call(n,r)?e:t}function Ia(t,e,r,n,i,a){return Sl(t)&&Sl(e)&&(a.set(e,t),uo(t,e,o,Ia,a),a["delete"](e)),t}function Da(t){return Dl(t)?o:t}function Ba(t,e,r,n,i,a){var s=r&y,u=t.length,c=e.length;if(u!=c&&!(s&&c>u))return!1;var l=a.get(t),h=a.get(e);if(l&&h)return l==e&&h==t;var f=-1,d=!0,p=r&v?new Kn:o;a.set(t,e),a.set(e,t);while(++f<u){var m=t[f],g=e[f];if(n)var b=s?n(g,m,f,e,t,a):n(m,g,f,t,e,a);if(b!==o){if(b)continue;d=!1;break}if(p){if(!Pr(e,(function(t,e){if(!Jr(p,e)&&(m===t||i(m,t,r,n,a)))return p.push(e)}))){d=!1;break}}else if(m!==g&&!i(m,g,r,n,a)){d=!1;break}}return a["delete"](t),a["delete"](e),d}function ja(t,e,r,n,i,o,a){switch(r){case dt:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case ft:return!(t.byteLength!=e.byteLength||!o(new _e(t),new _e(e)));case G:case W:case tt:return il(+t,+e);case X:return t.name==e.name&&t.message==e.message;case ot:case st:return t==e+"";case Q:var s=cn;case at:var u=n&y;if(s||(s=fn),t.size!=e.size&&!u)return!1;var c=a.get(t);if(c)return c==e;n|=v,a.set(t,e);var l=Ba(s(t),s(e),n,i,o,a);return a["delete"](t),l;case ut:if(pn)return pn.call(t)==pn.call(e)}return!1}function Na(t,e,r,n,i,a){var s=r&y,u=Fa(t),c=u.length,l=Fa(e),h=l.length;if(c!=h&&!s)return!1;var f=c;while(f--){var d=u[f];if(!(s?d in e:he.call(e,d)))return!1}var p=a.get(t),m=a.get(e);if(p&&m)return p==e&&m==t;var g=!0;a.set(t,e),a.set(e,t);var v=s;while(++f<c){d=u[f];var b=t[d],_=e[d];if(n)var w=s?n(_,b,d,e,t,a):n(b,_,d,t,e,a);if(!(w===o?b===_||i(b,_,r,n,a):w)){g=!1;break}v||(v="constructor"==d)}if(g&&!v){var x=t.constructor,k=e.constructor;x==k||!("constructor"in t)||!("constructor"in e)||"function"==typeof x&&x instanceof x&&"function"==typeof k&&k instanceof k||(g=!1)}return a["delete"](t),a["delete"](e),g}function Ra(t){return Ms(_s(t,o,Ws),t+"")}function Fa(t){return Bi(t,xh,Ka)}function Ya(t){return Bi(t,kh,Xa)}var Ua=ar?function(t){return ar.get(t)}:Ff;function Ha(t){var e=t.name+"",r=ur[e],n=he.call(ur,e)?r.length:0;while(n--){var i=r[n],o=i.func;if(null==o||o==t)return i.name}return e}function za(t){var e=he.call(wn,"placeholder")?wn:t;return e.placeholder}function Va(){var t=wn.iteratee||Of;return t=t===Of?eo:t,arguments.length?t(arguments[0],arguments[1]):t}function $a(t,e){var r=t.__data__;return cs(e)?r["string"==typeof e?"string":"hash"]:r.map}function qa(t){var e=xh(t),r=e.length;while(r--){var n=e[r],i=t[n];e[r]=[n,i,ps(i)]}return e}function Ga(t,e){var r=on(t,e);return Ji(r)?r:o}function Wa(t){var e=he.call(t,Te),r=t[Te];try{t[Te]=o;var n=!0}catch(a){}var i=pe.call(t);return n&&(e?t[Te]=r:delete t[Te]),i}var Ka=Be?function(t){return null==t?[]:(t=re(t),Sr(Be(t),(function(e){return Se.call(t,e)})))}:Wf,Xa=Be?function(t){var e=[];while(t)Tr(e,Ka(t)),t=xe(t);return e}:Wf,Ja=ji;function Za(t,e,r){var n=-1,i=r.length;while(++n<i){var o=r[n],a=o.size;switch(o.type){case"drop":t+=a;break;case"dropRight":e-=a;break;case"take":e=Ue(e,t+a);break;case"takeRight":t=Ye(t,e-a);break}}return{start:t,end:e}}function Qa(t){var e=t.match(Ut);return e?e[1].split(Ht):[]}function ts(t,e,r){e=Vo(e,t);var n=-1,i=e.length,o=!1;while(++n<i){var a=Ps(e[n]);if(!(o=null!=t&&r(t,a)))break;t=t[a]}return o||++n!=i?o:(i=null==t?0:t.length,!!i&&kl(i)&&as(a,i)&&(ul(t)||sl(t)))}function es(t){var e=t.length,r=new t.constructor(e);return e&&"string"==typeof t[0]&&he.call(t,"index")&&(r.index=t.index,r.input=t.input),r}function rs(t){return"function"!=typeof t.constructor||ds(t)?{}:kn(xe(t))}function ns(t,e,r){var n=t.constructor;switch(e){case ft:return Ko(t);case G:case W:return new n(+t);case dt:return Xo(t,r);case pt:case mt:case gt:case yt:case vt:case bt:case _t:case wt:case xt:return Qo(t,r);case Q:return new n;case tt:case st:return new n(t);case ot:return Jo(t);case at:return new n;case ut:return Zo(t)}}function is(t,e){var r=e.length;if(!r)return t;var n=r-1;return e[n]=(r>1?"& ":"")+e[n],e=e.join(r>2?", ":" "),t.replace(Yt,"{\n/* [wrapped with "+e+"] */\n")}function os(t){return ul(t)||sl(t)||!!(Me&&t&&t[Me])}function as(t,e){var r=typeof t;return e=null==e?N:e,!!e&&("number"==r||"symbol"!=r&&Zt.test(t))&&t>-1&&t%1==0&&t<e}function ss(t,e,r){if(!Sl(r))return!1;var n=typeof e;return!!("number"==n?ll(r)&&as(e,r.length):"string"==n&&e in r)&&il(r[e],t)}function us(t,e){if(ul(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!Fl(t))||(Dt.test(t)||!It.test(t)||null!=e&&t in re(e))}function cs(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function ls(t){var e=Ha(t),r=wn[e];if("function"!=typeof r||!(e in An.prototype))return!1;if(t===r)return!0;var n=Ua(r);return!!n&&t===n[0]}function hs(t){return!!de&&de in t}(We&&Ja(new We(new ArrayBuffer(1)))!=dt||Qe&&Ja(new Qe)!=Q||tr&&Ja(tr.resolve())!=nt||er&&Ja(new er)!=at||rr&&Ja(new rr)!=lt)&&(Ja=function(t){var e=ji(t),r=e==rt?t.constructor:o,n=r?Os(r):"";if(n)switch(n){case cr:return dt;case hr:return Q;case fr:return nt;case Or:return at;case Ir:return lt}return e});var fs=ce?wl:Kf;function ds(t){var e=t&&t.constructor,r="function"==typeof e&&e.prototype||ue;return t===r}function ps(t){return t===t&&!Sl(t)}function ms(t,e){return function(r){return null!=r&&(r[t]===e&&(e!==o||t in re(r)))}}function gs(t){var e=Yc(t,(function(t){return r.size===f&&r.clear(),t})),r=e.cache;return e}function ys(t,e){var r=t[1],n=e[1],i=r|n,o=i<(b|_|M),a=n==M&&r==x||n==M&&r==A&&t[7].length<=e[8]||n==(M|A)&&e[7].length<=e[8]&&r==x;if(!o&&!a)return t;n&b&&(t[2]=e[2],i|=r&b?0:w);var s=e[3];if(s){var u=t[3];t[3]=u?ra(u,s,e[4]):s,t[4]=u?hn(t[3],d):e[4]}return s=e[5],s&&(u=t[5],t[5]=u?na(u,s,e[6]):s,t[6]=u?hn(t[5],d):e[6]),s=e[7],s&&(t[7]=s),n&M&&(t[8]=null==t[8]?e[8]:Ue(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=i,t}function vs(t){var e=[];if(null!=t)for(var r in re(t))e.push(r);return e}function bs(t){return pe.call(t)}function _s(t,e,n){return e=Ye(e===o?t.length-1:e,0),function(){var i=arguments,o=-1,a=Ye(i.length-e,0),s=r(a);while(++o<a)s[o]=i[e+o];o=-1;var u=r(e+1);while(++o<e)u[o]=i[o];return u[e]=n(s),br(t,this,u)}}function ws(t,e){return e.length<2?t:Di(t,To(e,0,-1))}function xs(t,e){var r=t.length,n=Ue(e.length,r),i=ia(t);while(n--){var a=e[n];t[n]=as(a,r)?i[a]:o}return t}function ks(t,e){if(("constructor"!==e||"function"!==typeof t[e])&&"__proto__"!=e)return t[e]}var Ss=Ts(Eo),Es=Oe||function(t,e){return sr.setTimeout(t,e)},Ms=Ts(Mo);function As(t,e,r){var n=e+"";return Ms(t,is(n,Is(Qa(n),r)))}function Ts(t){var e=0,r=0;return function(){var n=He(),i=O-(n-r);if(r=n,i>0){if(++e>=P)return arguments[0]}else e=0;return t.apply(o,arguments)}}function Cs(t,e){var r=-1,n=t.length,i=n-1;e=e===o?n:e;while(++r<e){var a=vo(r,i),s=t[a];t[a]=t[r],t[r]=s}return t.length=e,t}var Ls=gs((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Bt,(function(t,r,n,i){e.push(n?i.replace($t,"$1"):r||t)})),e}));function Ps(t){if("string"==typeof t||Fl(t))return t;var e=t+"";return"0"==e&&1/t==-j?"-0":e}function Os(t){if(null!=t){try{return le.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function Is(t,e){return wr(z,(function(r){var n="_."+r[0];e&r[1]&&!Er(t,n)&&t.push(n)})),t.sort()}function Ds(t){if(t instanceof An)return t.clone();var e=new Mn(t.__wrapped__,t.__chain__);return e.__actions__=ia(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}function Bs(t,e,n){e=(n?ss(t,e,n):e===o)?1:Ye(Wl(e),0);var i=null==t?0:t.length;if(!i||e<1)return[];var a=0,s=0,u=r(Ie(i/e));while(a<i)u[s++]=To(t,a,a+=e);return u}function js(t){var e=-1,r=null==t?0:t.length,n=0,i=[];while(++e<r){var o=t[e];o&&(i[n++]=o)}return i}function Ns(){var t=arguments.length;if(!t)return[];var e=r(t-1),n=arguments[0],i=t;while(i--)e[i-1]=arguments[i];return Tr(ul(n)?ia(n):[n],Ti(e,1))}var Rs=wo((function(t,e){return hl(t)?wi(t,Ti(e,1,hl,!0)):[]})),Fs=wo((function(t,e){var r=ou(e);return hl(r)&&(r=o),hl(t)?wi(t,Ti(e,1,hl,!0),Va(r,2)):[]})),Ys=wo((function(t,e){var r=ou(e);return hl(r)&&(r=o),hl(t)?wi(t,Ti(e,1,hl,!0),o,r):[]}));function Us(t,e,r){var n=null==t?0:t.length;return n?(e=r||e===o?1:Wl(e),To(t,e<0?0:e,n)):[]}function Hs(t,e,r){var n=null==t?0:t.length;return n?(e=r||e===o?1:Wl(e),e=n-e,To(t,0,e<0?0:e)):[]}function zs(t,e){return t&&t.length?Ro(t,Va(e,3),!0,!0):[]}function Vs(t,e){return t&&t.length?Ro(t,Va(e,3),!0):[]}function $s(t,e,r,n){var i=null==t?0:t.length;return i?(r&&"number"!=typeof r&&ss(t,e,r)&&(r=0,n=i),Mi(t,e,r,n)):[]}function qs(t,e,r){var n=null==t?0:t.length;if(!n)return-1;var i=null==r?0:Wl(r);return i<0&&(i=Ye(n+i,0)),jr(t,Va(e,3),i)}function Gs(t,e,r){var n=null==t?0:t.length;if(!n)return-1;var i=n-1;return r!==o&&(i=Wl(r),i=r<0?Ye(n+i,0):Ue(i,n-1)),jr(t,Va(e,3),i,!0)}function Ws(t){var e=null==t?0:t.length;return e?Ti(t,1):[]}function Ks(t){var e=null==t?0:t.length;return e?Ti(t,j):[]}function Xs(t,e){var r=null==t?0:t.length;return r?(e=e===o?1:Wl(e),Ti(t,e)):[]}function Js(t){var e=-1,r=null==t?0:t.length,n={};while(++e<r){var i=t[e];n[i[0]]=i[1]}return n}function Zs(t){return t&&t.length?t[0]:o}function Qs(t,e,r){var n=null==t?0:t.length;if(!n)return-1;var i=null==r?0:Wl(r);return i<0&&(i=Ye(n+i,0)),Nr(t,e,i)}function tu(t){var e=null==t?0:t.length;return e?To(t,0,-1):[]}var eu=wo((function(t){var e=Ar(t,Ho);return e.length&&e[0]===t[0]?Ui(e):[]})),ru=wo((function(t){var e=ou(t),r=Ar(t,Ho);return e===ou(r)?e=o:r.pop(),r.length&&r[0]===t[0]?Ui(r,Va(e,2)):[]})),nu=wo((function(t){var e=ou(t),r=Ar(t,Ho);return e="function"==typeof e?e:o,e&&r.pop(),r.length&&r[0]===t[0]?Ui(r,o,e):[]}));function iu(t,e){return null==t?"":Re.call(t,e)}function ou(t){var e=null==t?0:t.length;return e?t[e-1]:o}function au(t,e,r){var n=null==t?0:t.length;if(!n)return-1;var i=n;return r!==o&&(i=Wl(r),i=i<0?Ye(n+i,0):Ue(i,n-1)),e===e?mn(t,e,i):jr(t,Fr,i,!0)}function su(t,e){return t&&t.length?lo(t,Wl(e)):o}var uu=wo(cu);function cu(t,e){return t&&t.length&&e&&e.length?go(t,e):t}function lu(t,e,r){return t&&t.length&&e&&e.length?go(t,e,Va(r,2)):t}function hu(t,e,r){return t&&t.length&&e&&e.length?go(t,e,o,r):t}var fu=Ra((function(t,e){var r=null==t?0:t.length,n=mi(t,e);return yo(t,Ar(e,(function(t){return as(t,r)?+t:t})).sort(ta)),n}));function du(t,e){var r=[];if(!t||!t.length)return r;var n=-1,i=[],o=t.length;e=Va(e,3);while(++n<o){var a=t[n];e(a,n,t)&&(r.push(a),i.push(n))}return yo(t,i),r}function pu(t){return null==t?t:Ge.call(t)}function mu(t,e,r){var n=null==t?0:t.length;return n?(r&&"number"!=typeof r&&ss(t,e,r)?(e=0,r=n):(e=null==e?0:Wl(e),r=r===o?n:Wl(r)),To(t,e,r)):[]}function gu(t,e){return Lo(t,e)}function yu(t,e,r){return Po(t,e,Va(r,2))}function vu(t,e){var r=null==t?0:t.length;if(r){var n=Lo(t,e);if(n<r&&il(t[n],e))return n}return-1}function bu(t,e){return Lo(t,e,!0)}function _u(t,e,r){return Po(t,e,Va(r,2),!0)}function wu(t,e){var r=null==t?0:t.length;if(r){var n=Lo(t,e,!0)-1;if(il(t[n],e))return n}return-1}function xu(t){return t&&t.length?Oo(t):[]}function ku(t,e){return t&&t.length?Oo(t,Va(e,2)):[]}function Su(t){var e=null==t?0:t.length;return e?To(t,1,e):[]}function Eu(t,e,r){return t&&t.length?(e=r||e===o?1:Wl(e),To(t,0,e<0?0:e)):[]}function Mu(t,e,r){var n=null==t?0:t.length;return n?(e=r||e===o?1:Wl(e),e=n-e,To(t,e<0?0:e,n)):[]}function Au(t,e){return t&&t.length?Ro(t,Va(e,3),!1,!0):[]}function Tu(t,e){return t&&t.length?Ro(t,Va(e,3)):[]}var Cu=wo((function(t){return Bo(Ti(t,1,hl,!0))})),Lu=wo((function(t){var e=ou(t);return hl(e)&&(e=o),Bo(Ti(t,1,hl,!0),Va(e,2))})),Pu=wo((function(t){var e=ou(t);return e="function"==typeof e?e:o,Bo(Ti(t,1,hl,!0),o,e)}));function Ou(t){return t&&t.length?Bo(t):[]}function Iu(t,e){return t&&t.length?Bo(t,Va(e,2)):[]}function Du(t,e){return e="function"==typeof e?e:o,t&&t.length?Bo(t,o,e):[]}function Bu(t){if(!t||!t.length)return[];var e=0;return t=Sr(t,(function(t){if(hl(t))return e=Ye(t.length,e),!0})),qr(e,(function(e){return Ar(t,Ur(e))}))}function ju(t,e){if(!t||!t.length)return[];var r=Bu(t);return null==e?r:Ar(r,(function(t){return br(e,o,t)}))}var Nu=wo((function(t,e){return hl(t)?wi(t,e):[]})),Ru=wo((function(t){return Yo(Sr(t,hl))})),Fu=wo((function(t){var e=ou(t);return hl(e)&&(e=o),Yo(Sr(t,hl),Va(e,2))})),Yu=wo((function(t){var e=ou(t);return e="function"==typeof e?e:o,Yo(Sr(t,hl),o,e)})),Uu=wo(Bu);function Hu(t,e){return Uo(t||[],e||[],ci)}function zu(t,e){return Uo(t||[],e||[],So)}var Vu=wo((function(t){var e=t.length,r=e>1?t[e-1]:o;return r="function"==typeof r?(t.pop(),r):o,ju(t,r)}));function $u(t){var e=wn(t);return e.__chain__=!0,e}function qu(t,e){return e(t),t}function Gu(t,e){return e(t)}var Wu=Ra((function(t){var e=t.length,r=e?t[0]:0,n=this.__wrapped__,i=function(e){return mi(e,t)};return!(e>1||this.__actions__.length)&&n instanceof An&&as(r)?(n=n.slice(r,+r+(e?1:0)),n.__actions__.push({func:Gu,args:[i],thisArg:o}),new Mn(n,this.__chain__).thru((function(t){return e&&!t.length&&t.push(o),t}))):this.thru(i)}));function Ku(){return $u(this)}function Xu(){return new Mn(this.value(),this.__chain__)}function Ju(){this.__values__===o&&(this.__values__=ql(this.value()));var t=this.__index__>=this.__values__.length,e=t?o:this.__values__[this.__index__++];return{done:t,value:e}}function Zu(){return this}function Qu(t){var e,r=this;while(r instanceof En){var n=Ds(r);n.__index__=0,n.__values__=o,e?i.__wrapped__=n:e=n;var i=n;r=r.__wrapped__}return i.__wrapped__=t,e}function tc(){var t=this.__wrapped__;if(t instanceof An){var e=t;return this.__actions__.length&&(e=new An(this)),e=e.reverse(),e.__actions__.push({func:Gu,args:[pu],thisArg:o}),new Mn(e,this.__chain__)}return this.thru(pu)}function ec(){return Fo(this.__wrapped__,this.__actions__)}var rc=ua((function(t,e,r){he.call(t,r)?++t[r]:pi(t,r,1)}));function nc(t,e,r){var n=ul(t)?kr:Si;return r&&ss(t,e,r)&&(e=o),n(t,Va(e,3))}function ic(t,e){var r=ul(t)?Sr:Ai;return r(t,Va(e,3))}var oc=ya(qs),ac=ya(Gs);function sc(t,e){return Ti(gc(t,e),1)}function uc(t,e){return Ti(gc(t,e),j)}function cc(t,e,r){return r=r===o?1:Wl(r),Ti(gc(t,e),r)}function lc(t,e){var r=ul(t)?wr:xi;return r(t,Va(e,3))}function hc(t,e){var r=ul(t)?xr:ki;return r(t,Va(e,3))}var fc=ua((function(t,e,r){he.call(t,r)?t[r].push(e):pi(t,r,[e])}));function dc(t,e,r,n){t=ll(t)?t:Uh(t),r=r&&!n?Wl(r):0;var i=t.length;return r<0&&(r=Ye(i+r,0)),Rl(t)?r<=i&&t.indexOf(e,r)>-1:!!i&&Nr(t,e,r)>-1}var pc=wo((function(t,e,n){var i=-1,o="function"==typeof e,a=ll(t)?r(t.length):[];return xi(t,(function(t){a[++i]=o?br(e,t,n):zi(t,e,n)})),a})),mc=ua((function(t,e,r){pi(t,r,e)}));function gc(t,e){var r=ul(t)?Ar:oo;return r(t,Va(e,3))}function yc(t,e,r,n){return null==t?[]:(ul(e)||(e=null==e?[]:[e]),r=n?o:r,ul(r)||(r=null==r?[]:[r]),ho(t,e,r))}var vc=ua((function(t,e,r){t[r?0:1].push(e)}),(function(){return[[],[]]}));function bc(t,e,r){var n=ul(t)?Cr:zr,i=arguments.length<3;return n(t,Va(e,4),r,i,xi)}function _c(t,e,r){var n=ul(t)?Lr:zr,i=arguments.length<3;return n(t,Va(e,4),r,i,ki)}function wc(t,e){var r=ul(t)?Sr:Ai;return r(t,Uc(Va(e,3)))}function xc(t){var e=ul(t)?oi:xo;return e(t)}function kc(t,e,r){e=(r?ss(t,e,r):e===o)?1:Wl(e);var n=ul(t)?ai:ko;return n(t,e)}function Sc(t){var e=ul(t)?si:Ao;return e(t)}function Ec(t){if(null==t)return 0;if(ll(t))return Rl(t)?gn(t):t.length;var e=Ja(t);return e==Q||e==at?t.size:ro(t).length}function Mc(t,e,r){var n=ul(t)?Pr:Co;return r&&ss(t,e,r)&&(e=o),n(t,Va(e,3))}var Ac=wo((function(t,e){if(null==t)return[];var r=e.length;return r>1&&ss(t,e[0],e[1])?e=[]:r>2&&ss(e[0],e[1],e[2])&&(e=[e[0]]),ho(t,Ti(e,1),[])})),Tc=Pe||function(){return sr.Date.now()};function Cc(t,e){if("function"!=typeof e)throw new oe(c);return t=Wl(t),function(){if(--t<1)return e.apply(this,arguments)}}function Lc(t,e,r){return e=r?o:e,e=t&&null==e?t.length:e,Pa(t,M,o,o,o,o,e)}function Pc(t,e){var r;if("function"!=typeof e)throw new oe(c);return t=Wl(t),function(){return--t>0&&(r=e.apply(this,arguments)),t<=1&&(e=o),r}}var Oc=wo((function(t,e,r){var n=b;if(r.length){var i=hn(r,za(Oc));n|=S}return Pa(t,n,e,r,i)})),Ic=wo((function(t,e,r){var n=b|_;if(r.length){var i=hn(r,za(Ic));n|=S}return Pa(e,n,t,r,i)}));function Dc(t,e,r){e=r?o:e;var n=Pa(t,x,o,o,o,o,o,e);return n.placeholder=Dc.placeholder,n}function Bc(t,e,r){e=r?o:e;var n=Pa(t,k,o,o,o,o,o,e);return n.placeholder=Bc.placeholder,n}function jc(t,e,r){var n,i,a,s,u,l,h=0,f=!1,d=!1,p=!0;if("function"!=typeof t)throw new oe(c);function m(e){var r=n,a=i;return n=i=o,h=e,s=t.apply(a,r),s}function g(t){return h=t,u=Es(b,e),f?m(t):s}function y(t){var r=t-l,n=t-h,i=e-r;return d?Ue(i,a-n):i}function v(t){var r=t-l,n=t-h;return l===o||r>=e||r<0||d&&n>=a}function b(){var t=Tc();if(v(t))return _(t);u=Es(b,y(t))}function _(t){return u=o,p&&n?m(t):(n=i=o,s)}function w(){u!==o&&Go(u),h=0,n=l=i=u=o}function x(){return u===o?s:_(Tc())}function k(){var t=Tc(),r=v(t);if(n=arguments,i=this,l=t,r){if(u===o)return g(l);if(d)return Go(u),u=Es(b,e),m(l)}return u===o&&(u=Es(b,e)),s}return e=Xl(e)||0,Sl(r)&&(f=!!r.leading,d="maxWait"in r,a=d?Ye(Xl(r.maxWait)||0,e):a,p="trailing"in r?!!r.trailing:p),k.cancel=w,k.flush=x,k}var Nc=wo((function(t,e){return _i(t,1,e)})),Rc=wo((function(t,e,r){return _i(t,Xl(e)||0,r)}));function Fc(t){return Pa(t,T)}function Yc(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new oe(c);var r=function(){var n=arguments,i=e?e.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=t.apply(this,n);return r.cache=o.set(i,a)||o,a};return r.cache=new(Yc.Cache||zn),r}function Uc(t){if("function"!=typeof t)throw new oe(c);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}function Hc(t){return Pc(2,t)}Yc.Cache=zn;var zc=$o((function(t,e){e=1==e.length&&ul(e[0])?Ar(e[0],Kr(Va())):Ar(Ti(e,1),Kr(Va()));var r=e.length;return wo((function(n){var i=-1,o=Ue(n.length,r);while(++i<o)n[i]=e[i].call(this,n[i]);return br(t,this,n)}))})),Vc=wo((function(t,e){var r=hn(e,za(Vc));return Pa(t,S,o,e,r)})),$c=wo((function(t,e){var r=hn(e,za($c));return Pa(t,E,o,e,r)})),qc=Ra((function(t,e){return Pa(t,A,o,o,o,e)}));function Gc(t,e){if("function"!=typeof t)throw new oe(c);return e=e===o?e:Wl(e),wo(t,e)}function Wc(t,e){if("function"!=typeof t)throw new oe(c);return e=null==e?0:Ye(Wl(e),0),wo((function(r){var n=r[e],i=qo(r,0,e);return n&&Tr(i,n),br(t,this,i)}))}function Kc(t,e,r){var n=!0,i=!0;if("function"!=typeof t)throw new oe(c);return Sl(r)&&(n="leading"in r?!!r.leading:n,i="trailing"in r?!!r.trailing:i),jc(t,e,{leading:n,maxWait:e,trailing:i})}function Xc(t){return Lc(t,1)}function Jc(t,e){return Vc(zo(e),t)}function Zc(){if(!arguments.length)return[];var t=arguments[0];return ul(t)?t:[t]}function Qc(t){return yi(t,g)}function tl(t,e){return e="function"==typeof e?e:o,yi(t,g,e)}function el(t){return yi(t,p|g)}function rl(t,e){return e="function"==typeof e?e:o,yi(t,p|g,e)}function nl(t,e){return null==e||bi(t,e,xh(e))}function il(t,e){return t===e||t!==t&&e!==e}var ol=Ma(Ni),al=Ma((function(t,e){return t>=e})),sl=Vi(function(){return arguments}())?Vi:function(t){return El(t)&&he.call(t,"callee")&&!Se.call(t,"callee")},ul=r.isArray,cl=dr?Kr(dr):$i;function ll(t){return null!=t&&kl(t.length)&&!wl(t)}function hl(t){return El(t)&&ll(t)}function fl(t){return!0===t||!1===t||El(t)&&ji(t)==G}var dl=je||Kf,pl=pr?Kr(pr):qi;function ml(t){return El(t)&&1===t.nodeType&&!Dl(t)}function gl(t){if(null==t)return!0;if(ll(t)&&(ul(t)||"string"==typeof t||"function"==typeof t.splice||dl(t)||Yl(t)||sl(t)))return!t.length;var e=Ja(t);if(e==Q||e==at)return!t.size;if(ds(t))return!ro(t).length;for(var r in t)if(he.call(t,r))return!1;return!0}function yl(t,e){return Gi(t,e)}function vl(t,e,r){r="function"==typeof r?r:o;var n=r?r(t,e):o;return n===o?Gi(t,e,o,r):!!n}function bl(t){if(!El(t))return!1;var e=ji(t);return e==X||e==K||"string"==typeof t.message&&"string"==typeof t.name&&!Dl(t)}function _l(t){return"number"==typeof t&&Ne(t)}function wl(t){if(!Sl(t))return!1;var e=ji(t);return e==J||e==Z||e==q||e==it}function xl(t){return"number"==typeof t&&t==Wl(t)}function kl(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=N}function Sl(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function El(t){return null!=t&&"object"==typeof t}var Ml=mr?Kr(mr):Ki;function Al(t,e){return t===e||Xi(t,e,qa(e))}function Tl(t,e,r){return r="function"==typeof r?r:o,Xi(t,e,qa(e),r)}function Cl(t){return Il(t)&&t!=+t}function Ll(t){if(fs(t))throw new i(u);return Ji(t)}function Pl(t){return null===t}function Ol(t){return null==t}function Il(t){return"number"==typeof t||El(t)&&ji(t)==tt}function Dl(t){if(!El(t)||ji(t)!=rt)return!1;var e=xe(t);if(null===e)return!0;var r=he.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&le.call(r)==me}var Bl=gr?Kr(gr):Zi;function jl(t){return xl(t)&&t>=-N&&t<=N}var Nl=yr?Kr(yr):Qi;function Rl(t){return"string"==typeof t||!ul(t)&&El(t)&&ji(t)==st}function Fl(t){return"symbol"==typeof t||El(t)&&ji(t)==ut}var Yl=vr?Kr(vr):to;function Ul(t){return t===o}function Hl(t){return El(t)&&Ja(t)==lt}function zl(t){return El(t)&&ji(t)==ht}var Vl=Ma(io),$l=Ma((function(t,e){return t<=e}));function ql(t){if(!t)return[];if(ll(t))return Rl(t)?yn(t):ia(t);if(Ae&&t[Ae])return un(t[Ae]());var e=Ja(t),r=e==Q?cn:e==at?fn:Uh;return r(t)}function Gl(t){if(!t)return 0===t?t:0;if(t=Xl(t),t===j||t===-j){var e=t<0?-1:1;return e*R}return t===t?t:0}function Wl(t){var e=Gl(t),r=e%1;return e===e?r?e-r:e:0}function Kl(t){return t?gi(Wl(t),0,Y):0}function Xl(t){if("number"==typeof t)return t;if(Fl(t))return F;if(Sl(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Sl(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Wr(t);var r=Kt.test(t);return r||Jt.test(t)?ir(t.slice(2),r?2:8):Wt.test(t)?F:+t}function Jl(t){return oa(t,kh(t))}function Zl(t){return t?gi(Wl(t),-N,N):0===t?t:0}function Ql(t){return null==t?"":Do(t)}var th=ca((function(t,e){if(ds(e)||ll(e))oa(e,xh(e),t);else for(var r in e)he.call(e,r)&&ci(t,r,e[r])})),eh=ca((function(t,e){oa(e,kh(e),t)})),rh=ca((function(t,e,r,n){oa(e,kh(e),t,n)})),nh=ca((function(t,e,r,n){oa(e,xh(e),t,n)})),ih=Ra(mi);function oh(t,e){var r=kn(t);return null==e?r:fi(r,e)}var ah=wo((function(t,e){t=re(t);var r=-1,n=e.length,i=n>2?e[2]:o;i&&ss(e[0],e[1],i)&&(n=1);while(++r<n){var a=e[r],s=kh(a),u=-1,c=s.length;while(++u<c){var l=s[u],h=t[l];(h===o||il(h,ue[l])&&!he.call(t,l))&&(t[l]=a[l])}}return t})),sh=wo((function(t){return t.push(o,Ia),br(Ah,o,t)}));function uh(t,e){return Br(t,Va(e,3),Pi)}function ch(t,e){return Br(t,Va(e,3),Oi)}function lh(t,e){return null==t?t:Ci(t,Va(e,3),kh)}function hh(t,e){return null==t?t:Li(t,Va(e,3),kh)}function fh(t,e){return t&&Pi(t,Va(e,3))}function dh(t,e){return t&&Oi(t,Va(e,3))}function ph(t){return null==t?[]:Ii(t,xh(t))}function mh(t){return null==t?[]:Ii(t,kh(t))}function gh(t,e,r){var n=null==t?o:Di(t,e);return n===o?r:n}function yh(t,e){return null!=t&&ts(t,e,Ri)}function vh(t,e){return null!=t&&ts(t,e,Fi)}var bh=_a((function(t,e,r){null!=e&&"function"!=typeof e.toString&&(e=pe.call(e)),t[e]=r}),Af(Pf)),_h=_a((function(t,e,r){null!=e&&"function"!=typeof e.toString&&(e=pe.call(e)),he.call(t,e)?t[e].push(r):t[e]=[r]}),Va),wh=wo(zi);function xh(t){return ll(t)?ii(t):ro(t)}function kh(t){return ll(t)?ii(t,!0):no(t)}function Sh(t,e){var r={};return e=Va(e,3),Pi(t,(function(t,n,i){pi(r,e(t,n,i),t)})),r}function Eh(t,e){var r={};return e=Va(e,3),Pi(t,(function(t,n,i){pi(r,n,e(t,n,i))})),r}var Mh=ca((function(t,e,r){uo(t,e,r)})),Ah=ca((function(t,e,r,n){uo(t,e,r,n)})),Th=Ra((function(t,e){var r={};if(null==t)return r;var n=!1;e=Ar(e,(function(e){return e=Vo(e,t),n||(n=e.length>1),e})),oa(t,Ya(t),r),n&&(r=yi(r,p|m|g,Da));var i=e.length;while(i--)jo(r,e[i]);return r}));function Ch(t,e){return Ph(t,Uc(Va(e)))}var Lh=Ra((function(t,e){return null==t?{}:fo(t,e)}));function Ph(t,e){if(null==t)return{};var r=Ar(Ya(t),(function(t){return[t]}));return e=Va(e),po(t,r,(function(t,r){return e(t,r[0])}))}function Oh(t,e,r){e=Vo(e,t);var n=-1,i=e.length;i||(i=1,t=o);while(++n<i){var a=null==t?o:t[Ps(e[n])];a===o&&(n=i,a=r),t=wl(a)?a.call(t):a}return t}function Ih(t,e,r){return null==t?t:So(t,e,r)}function Dh(t,e,r,n){return n="function"==typeof n?n:o,null==t?t:So(t,e,r,n)}var Bh=La(xh),jh=La(kh);function Nh(t,e,r){var n=ul(t),i=n||dl(t)||Yl(t);if(e=Va(e,4),null==r){var o=t&&t.constructor;r=i?n?new o:[]:Sl(t)&&wl(o)?kn(xe(t)):{}}return(i?wr:Pi)(t,(function(t,n,i){return e(r,t,n,i)})),r}function Rh(t,e){return null==t||jo(t,e)}function Fh(t,e,r){return null==t?t:No(t,e,zo(r))}function Yh(t,e,r,n){return n="function"==typeof n?n:o,null==t?t:No(t,e,zo(r),n)}function Uh(t){return null==t?[]:Xr(t,xh(t))}function Hh(t){return null==t?[]:Xr(t,kh(t))}function zh(t,e,r){return r===o&&(r=e,e=o),r!==o&&(r=Xl(r),r=r===r?r:0),e!==o&&(e=Xl(e),e=e===e?e:0),gi(Xl(t),e,r)}function Vh(t,e,r){return e=Gl(e),r===o?(r=e,e=0):r=Gl(r),t=Xl(t),Yi(t,e,r)}function $h(t,e,r){if(r&&"boolean"!=typeof r&&ss(t,e,r)&&(e=r=o),r===o&&("boolean"==typeof e?(r=e,e=o):"boolean"==typeof t&&(r=t,t=o)),t===o&&e===o?(t=0,e=1):(t=Gl(t),e===o?(e=t,t=0):e=Gl(e)),t>e){var n=t;t=e,e=n}if(r||t%1||e%1){var i=qe();return Ue(t+i*(e-t+nr("1e-"+((i+"").length-1))),e)}return vo(t,e)}var qh=pa((function(t,e,r){return e=e.toLowerCase(),t+(r?Gh(e):e)}));function Gh(t){return wf(Ql(t).toLowerCase())}function Wh(t){return t=Ql(t),t&&t.replace(Qt,en).replace(Ve,"")}function Kh(t,e,r){t=Ql(t),e=Do(e);var n=t.length;r=r===o?n:gi(Wl(r),0,n);var i=r;return r-=e.length,r>=0&&t.slice(r,i)==e}function Xh(t){return t=Ql(t),t&&Ct.test(t)?t.replace(At,rn):t}function Jh(t){return t=Ql(t),t&&Nt.test(t)?t.replace(jt,"\\$&"):t}var Zh=pa((function(t,e,r){return t+(r?"-":"")+e.toLowerCase()})),Qh=pa((function(t,e,r){return t+(r?" ":"")+e.toLowerCase()})),tf=da("toLowerCase");function ef(t,e,r){t=Ql(t),e=Wl(e);var n=e?gn(t):0;if(!e||n>=e)return t;var i=(e-n)/2;return ka(De(i),r)+t+ka(Ie(i),r)}function rf(t,e,r){t=Ql(t),e=Wl(e);var n=e?gn(t):0;return e&&n<e?t+ka(e-n,r):t}function nf(t,e,r){t=Ql(t),e=Wl(e);var n=e?gn(t):0;return e&&n<e?ka(e-n,r)+t:t}function of(t,e,r){return r||null==e?e=0:e&&(e=+e),$e(Ql(t).replace(Rt,""),e||0)}function af(t,e,r){return e=(r?ss(t,e,r):e===o)?1:Wl(e),_o(Ql(t),e)}function sf(){var t=arguments,e=Ql(t[0]);return t.length<3?e:e.replace(t[1],t[2])}var uf=pa((function(t,e,r){return t+(r?"_":"")+e.toLowerCase()}));function cf(t,e,r){return r&&"number"!=typeof r&&ss(t,e,r)&&(e=r=o),r=r===o?Y:r>>>0,r?(t=Ql(t),t&&("string"==typeof e||null!=e&&!Bl(e))&&(e=Do(e),!e&&an(t))?qo(yn(t),0,r):t.split(e,r)):[]}var lf=pa((function(t,e,r){return t+(r?" ":"")+wf(e)}));function hf(t,e,r){return t=Ql(t),r=null==r?0:gi(Wl(r),0,t.length),e=Do(e),t.slice(r,r+e.length)==e}function ff(t,e,r){var n=wn.templateSettings;r&&ss(t,e,r)&&(e=o),t=Ql(t),e=rh({},e,n,Oa);var a,s,u=rh({},e.imports,n.imports,Oa),c=xh(u),h=Xr(u,c),f=0,d=e.interpolate||te,p="__p += '",m=ne((e.escape||te).source+"|"+d.source+"|"+(d===Ot?qt:te).source+"|"+(e.evaluate||te).source+"|$","g"),g="//# sourceURL="+(he.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Xe+"]")+"\n";t.replace(m,(function(e,r,n,i,o,u){return n||(n=i),p+=t.slice(f,u).replace(ee,nn),r&&(a=!0,p+="' +\n__e("+r+") +\n'"),o&&(s=!0,p+="';\n"+o+";\n__p += '"),n&&(p+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"),f=u+e.length,e})),p+="';\n";var y=he.call(e,"variable")&&e.variable;if(y){if(Vt.test(y))throw new i(l)}else p="with (obj) {\n"+p+"\n}\n";p=(s?p.replace(kt,""):p).replace(St,"$1").replace(Et,"$1;"),p="function("+(y||"obj")+") {\n"+(y?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(a?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var v=kf((function(){return Ft(c,g+"return "+p).apply(o,h)}));if(v.source=p,bl(v))throw v;return v}function df(t){return Ql(t).toLowerCase()}function pf(t){return Ql(t).toUpperCase()}function mf(t,e,r){if(t=Ql(t),t&&(r||e===o))return Wr(t);if(!t||!(e=Do(e)))return t;var n=yn(t),i=yn(e),a=Zr(n,i),s=Qr(n,i)+1;return qo(n,a,s).join("")}function gf(t,e,r){if(t=Ql(t),t&&(r||e===o))return t.slice(0,vn(t)+1);if(!t||!(e=Do(e)))return t;var n=yn(t),i=Qr(n,yn(e))+1;return qo(n,0,i).join("")}function yf(t,e,r){if(t=Ql(t),t&&(r||e===o))return t.replace(Rt,"");if(!t||!(e=Do(e)))return t;var n=yn(t),i=Zr(n,yn(e));return qo(n,i).join("")}function vf(t,e){var r=C,n=L;if(Sl(e)){var i="separator"in e?e.separator:i;r="length"in e?Wl(e.length):r,n="omission"in e?Do(e.omission):n}t=Ql(t);var a=t.length;if(an(t)){var s=yn(t);a=s.length}if(r>=a)return t;var u=r-gn(n);if(u<1)return n;var c=s?qo(s,0,u).join(""):t.slice(0,u);if(i===o)return c+n;if(s&&(u+=c.length-u),Bl(i)){if(t.slice(u).search(i)){var l,h=c;i.global||(i=ne(i.source,Ql(Gt.exec(i))+"g")),i.lastIndex=0;while(l=i.exec(h))var f=l.index;c=c.slice(0,f===o?u:f)}}else if(t.indexOf(Do(i),u)!=u){var d=c.lastIndexOf(i);d>-1&&(c=c.slice(0,d))}return c+n}function bf(t){return t=Ql(t),t&&Tt.test(t)?t.replace(Mt,bn):t}var _f=pa((function(t,e,r){return t+(r?" ":"")+e.toUpperCase()})),wf=da("toUpperCase");function xf(t,e,r){return t=Ql(t),e=r?o:e,e===o?sn(t)?xn(t):Dr(t):t.match(e)||[]}var kf=wo((function(t,e){try{return br(t,o,e)}catch(r){return bl(r)?r:new i(r)}})),Sf=Ra((function(t,e){return wr(e,(function(e){e=Ps(e),pi(t,e,Oc(t[e],t))})),t}));function Ef(t){var e=null==t?0:t.length,r=Va();return t=e?Ar(t,(function(t){if("function"!=typeof t[1])throw new oe(c);return[r(t[0]),t[1]]})):[],wo((function(r){var n=-1;while(++n<e){var i=t[n];if(br(i[0],this,r))return br(i[1],this,r)}}))}function Mf(t){return vi(yi(t,p))}function Af(t){return function(){return t}}function Tf(t,e){return null==t||t!==t?e:t}var Cf=va(),Lf=va(!0);function Pf(t){return t}function Of(t){return eo("function"==typeof t?t:yi(t,p))}function If(t){return ao(yi(t,p))}function Df(t,e){return so(t,yi(e,p))}var Bf=wo((function(t,e){return function(r){return zi(r,t,e)}})),jf=wo((function(t,e){return function(r){return zi(t,r,e)}}));function Nf(t,e,r){var n=xh(e),i=Ii(e,n);null!=r||Sl(e)&&(i.length||!n.length)||(r=e,e=t,t=this,i=Ii(e,xh(e)));var o=!(Sl(r)&&"chain"in r)||!!r.chain,a=wl(t);return wr(i,(function(r){var n=e[r];t[r]=n,a&&(t.prototype[r]=function(){var e=this.__chain__;if(o||e){var r=t(this.__wrapped__),i=r.__actions__=ia(this.__actions__);return i.push({func:n,args:arguments,thisArg:t}),r.__chain__=e,r}return n.apply(t,Tr([this.value()],arguments))})})),t}function Rf(){return sr._===this&&(sr._=ge),this}function Ff(){}function Yf(t){return t=Wl(t),wo((function(e){return lo(e,t)}))}var Uf=xa(Ar),Hf=xa(kr),zf=xa(Pr);function Vf(t){return us(t)?Ur(Ps(t)):mo(t)}function $f(t){return function(e){return null==t?o:Di(t,e)}}var qf=Ea(),Gf=Ea(!0);function Wf(){return[]}function Kf(){return!1}function Xf(){return{}}function Jf(){return""}function Zf(){return!0}function Qf(t,e){if(t=Wl(t),t<1||t>N)return[];var r=Y,n=Ue(t,Y);e=Va(e),t-=Y;var i=qr(n,e);while(++r<t)e(r);return i}function td(t){return ul(t)?Ar(t,Ps):Fl(t)?[t]:ia(Ls(Ql(t)))}function ed(t){var e=++fe;return Ql(t)+e}var rd=wa((function(t,e){return t+e}),0),nd=Ta("ceil"),id=wa((function(t,e){return t/e}),1),od=Ta("floor");function ad(t){return t&&t.length?Ei(t,Pf,Ni):o}function sd(t,e){return t&&t.length?Ei(t,Va(e,2),Ni):o}function ud(t){return Yr(t,Pf)}function cd(t,e){return Yr(t,Va(e,2))}function ld(t){return t&&t.length?Ei(t,Pf,io):o}function hd(t,e){return t&&t.length?Ei(t,Va(e,2),io):o}var fd=wa((function(t,e){return t*e}),1),dd=Ta("round"),pd=wa((function(t,e){return t-e}),0);function md(t){return t&&t.length?$r(t,Pf):0}function gd(t,e){return t&&t.length?$r(t,Va(e,2)):0}return wn.after=Cc,wn.ary=Lc,wn.assign=th,wn.assignIn=eh,wn.assignInWith=rh,wn.assignWith=nh,wn.at=ih,wn.before=Pc,wn.bind=Oc,wn.bindAll=Sf,wn.bindKey=Ic,wn.castArray=Zc,wn.chain=$u,wn.chunk=Bs,wn.compact=js,wn.concat=Ns,wn.cond=Ef,wn.conforms=Mf,wn.constant=Af,wn.countBy=rc,wn.create=oh,wn.curry=Dc,wn.curryRight=Bc,wn.debounce=jc,wn.defaults=ah,wn.defaultsDeep=sh,wn.defer=Nc,wn.delay=Rc,wn.difference=Rs,wn.differenceBy=Fs,wn.differenceWith=Ys,wn.drop=Us,wn.dropRight=Hs,wn.dropRightWhile=zs,wn.dropWhile=Vs,wn.fill=$s,wn.filter=ic,wn.flatMap=sc,wn.flatMapDeep=uc,wn.flatMapDepth=cc,wn.flatten=Ws,wn.flattenDeep=Ks,wn.flattenDepth=Xs,wn.flip=Fc,wn.flow=Cf,wn.flowRight=Lf,wn.fromPairs=Js,wn.functions=ph,wn.functionsIn=mh,wn.groupBy=fc,wn.initial=tu,wn.intersection=eu,wn.intersectionBy=ru,wn.intersectionWith=nu,wn.invert=bh,wn.invertBy=_h,wn.invokeMap=pc,wn.iteratee=Of,wn.keyBy=mc,wn.keys=xh,wn.keysIn=kh,wn.map=gc,wn.mapKeys=Sh,wn.mapValues=Eh,wn.matches=If,wn.matchesProperty=Df,wn.memoize=Yc,wn.merge=Mh,wn.mergeWith=Ah,wn.method=Bf,wn.methodOf=jf,wn.mixin=Nf,wn.negate=Uc,wn.nthArg=Yf,wn.omit=Th,wn.omitBy=Ch,wn.once=Hc,wn.orderBy=yc,wn.over=Uf,wn.overArgs=zc,wn.overEvery=Hf,wn.overSome=zf,wn.partial=Vc,wn.partialRight=$c,wn.partition=vc,wn.pick=Lh,wn.pickBy=Ph,wn.property=Vf,wn.propertyOf=$f,wn.pull=uu,wn.pullAll=cu,wn.pullAllBy=lu,wn.pullAllWith=hu,wn.pullAt=fu,wn.range=qf,wn.rangeRight=Gf,wn.rearg=qc,wn.reject=wc,wn.remove=du,wn.rest=Gc,wn.reverse=pu,wn.sampleSize=kc,wn.set=Ih,wn.setWith=Dh,wn.shuffle=Sc,wn.slice=mu,wn.sortBy=Ac,wn.sortedUniq=xu,wn.sortedUniqBy=ku,wn.split=cf,wn.spread=Wc,wn.tail=Su,wn.take=Eu,wn.takeRight=Mu,wn.takeRightWhile=Au,wn.takeWhile=Tu,wn.tap=qu,wn.throttle=Kc,wn.thru=Gu,wn.toArray=ql,wn.toPairs=Bh,wn.toPairsIn=jh,wn.toPath=td,wn.toPlainObject=Jl,wn.transform=Nh,wn.unary=Xc,wn.union=Cu,wn.unionBy=Lu,wn.unionWith=Pu,wn.uniq=Ou,wn.uniqBy=Iu,wn.uniqWith=Du,wn.unset=Rh,wn.unzip=Bu,wn.unzipWith=ju,wn.update=Fh,wn.updateWith=Yh,wn.values=Uh,wn.valuesIn=Hh,wn.without=Nu,wn.words=xf,wn.wrap=Jc,wn.xor=Ru,wn.xorBy=Fu,wn.xorWith=Yu,wn.zip=Uu,wn.zipObject=Hu,wn.zipObjectDeep=zu,wn.zipWith=Vu,wn.entries=Bh,wn.entriesIn=jh,wn.extend=eh,wn.extendWith=rh,Nf(wn,wn),wn.add=rd,wn.attempt=kf,wn.camelCase=qh,wn.capitalize=Gh,wn.ceil=nd,wn.clamp=zh,wn.clone=Qc,wn.cloneDeep=el,wn.cloneDeepWith=rl,wn.cloneWith=tl,wn.conformsTo=nl,wn.deburr=Wh,wn.defaultTo=Tf,wn.divide=id,wn.endsWith=Kh,wn.eq=il,wn.escape=Xh,wn.escapeRegExp=Jh,wn.every=nc,wn.find=oc,wn.findIndex=qs,wn.findKey=uh,wn.findLast=ac,wn.findLastIndex=Gs,wn.findLastKey=ch,wn.floor=od,wn.forEach=lc,wn.forEachRight=hc,wn.forIn=lh,wn.forInRight=hh,wn.forOwn=fh,wn.forOwnRight=dh,wn.get=gh,wn.gt=ol,wn.gte=al,wn.has=yh,wn.hasIn=vh,wn.head=Zs,wn.identity=Pf,wn.includes=dc,wn.indexOf=Qs,wn.inRange=Vh,wn.invoke=wh,wn.isArguments=sl,wn.isArray=ul,wn.isArrayBuffer=cl,wn.isArrayLike=ll,wn.isArrayLikeObject=hl,wn.isBoolean=fl,wn.isBuffer=dl,wn.isDate=pl,wn.isElement=ml,wn.isEmpty=gl,wn.isEqual=yl,wn.isEqualWith=vl,wn.isError=bl,wn.isFinite=_l,wn.isFunction=wl,wn.isInteger=xl,wn.isLength=kl,wn.isMap=Ml,wn.isMatch=Al,wn.isMatchWith=Tl,wn.isNaN=Cl,wn.isNative=Ll,wn.isNil=Ol,wn.isNull=Pl,wn.isNumber=Il,wn.isObject=Sl,wn.isObjectLike=El,wn.isPlainObject=Dl,wn.isRegExp=Bl,wn.isSafeInteger=jl,wn.isSet=Nl,wn.isString=Rl,wn.isSymbol=Fl,wn.isTypedArray=Yl,wn.isUndefined=Ul,wn.isWeakMap=Hl,wn.isWeakSet=zl,wn.join=iu,wn.kebabCase=Zh,wn.last=ou,wn.lastIndexOf=au,wn.lowerCase=Qh,wn.lowerFirst=tf,wn.lt=Vl,wn.lte=$l,wn.max=ad,wn.maxBy=sd,wn.mean=ud,wn.meanBy=cd,wn.min=ld,wn.minBy=hd,wn.stubArray=Wf,wn.stubFalse=Kf,wn.stubObject=Xf,wn.stubString=Jf,wn.stubTrue=Zf,wn.multiply=fd,wn.nth=su,wn.noConflict=Rf,wn.noop=Ff,wn.now=Tc,wn.pad=ef,wn.padEnd=rf,wn.padStart=nf,wn.parseInt=of,wn.random=$h,wn.reduce=bc,wn.reduceRight=_c,wn.repeat=af,wn.replace=sf,wn.result=Oh,wn.round=dd,wn.runInContext=t,wn.sample=xc,wn.size=Ec,wn.snakeCase=uf,wn.some=Mc,wn.sortedIndex=gu,wn.sortedIndexBy=yu,wn.sortedIndexOf=vu,wn.sortedLastIndex=bu,wn.sortedLastIndexBy=_u,wn.sortedLastIndexOf=wu,wn.startCase=lf,wn.startsWith=hf,wn.subtract=pd,wn.sum=md,wn.sumBy=gd,wn.template=ff,wn.times=Qf,wn.toFinite=Gl,wn.toInteger=Wl,wn.toLength=Kl,wn.toLower=df,wn.toNumber=Xl,wn.toSafeInteger=Zl,wn.toString=Ql,wn.toUpper=pf,wn.trim=mf,wn.trimEnd=gf,wn.trimStart=yf,wn.truncate=vf,wn.unescape=bf,wn.uniqueId=ed,wn.upperCase=_f,wn.upperFirst=wf,wn.each=lc,wn.eachRight=hc,wn.first=Zs,Nf(wn,function(){var t={};return Pi(wn,(function(e,r){he.call(wn.prototype,r)||(t[r]=e)})),t}(),{chain:!1}),wn.VERSION=a,wr(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){wn[t].placeholder=wn})),wr(["drop","take"],(function(t,e){An.prototype[t]=function(r){r=r===o?1:Ye(Wl(r),0);var n=this.__filtered__&&!e?new An(this):this.clone();return n.__filtered__?n.__takeCount__=Ue(r,n.__takeCount__):n.__views__.push({size:Ue(r,Y),type:t+(n.__dir__<0?"Right":"")}),n},An.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),wr(["filter","map","takeWhile"],(function(t,e){var r=e+1,n=r==I||r==B;An.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:Va(t,3),type:r}),e.__filtered__=e.__filtered__||n,e}})),wr(["head","last"],(function(t,e){var r="take"+(e?"Right":"");An.prototype[t]=function(){return this[r](1).value()[0]}})),wr(["initial","tail"],(function(t,e){var r="drop"+(e?"":"Right");An.prototype[t]=function(){return this.__filtered__?new An(this):this[r](1)}})),An.prototype.compact=function(){return this.filter(Pf)},An.prototype.find=function(t){return this.filter(t).head()},An.prototype.findLast=function(t){return this.reverse().find(t)},An.prototype.invokeMap=wo((function(t,e){return"function"==typeof t?new An(this):this.map((function(r){return zi(r,t,e)}))})),An.prototype.reject=function(t){return this.filter(Uc(Va(t)))},An.prototype.slice=function(t,e){t=Wl(t);var r=this;return r.__filtered__&&(t>0||e<0)?new An(r):(t<0?r=r.takeRight(-t):t&&(r=r.drop(t)),e!==o&&(e=Wl(e),r=e<0?r.dropRight(-e):r.take(e-t)),r)},An.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},An.prototype.toArray=function(){return this.take(Y)},Pi(An.prototype,(function(t,e){var r=/^(?:filter|find|map|reject)|While$/.test(e),n=/^(?:head|last)$/.test(e),i=wn[n?"take"+("last"==e?"Right":""):e],a=n||/^find/.test(e);i&&(wn.prototype[e]=function(){var e=this.__wrapped__,s=n?[1]:arguments,u=e instanceof An,c=s[0],l=u||ul(e),h=function(t){var e=i.apply(wn,Tr([t],s));return n&&f?e[0]:e};l&&r&&"function"==typeof c&&1!=c.length&&(u=l=!1);var f=this.__chain__,d=!!this.__actions__.length,p=a&&!f,m=u&&!d;if(!a&&l){e=m?e:new An(this);var g=t.apply(e,s);return g.__actions__.push({func:Gu,args:[h],thisArg:o}),new Mn(g,f)}return p&&m?t.apply(this,s):(g=this.thru(h),p?n?g.value()[0]:g.value():g)})})),wr(["pop","push","shift","sort","splice","unshift"],(function(t){var e=ae[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",n=/^(?:pop|shift)$/.test(t);wn.prototype[t]=function(){var t=arguments;if(n&&!this.__chain__){var i=this.value();return e.apply(ul(i)?i:[],t)}return this[r]((function(r){return e.apply(ul(r)?r:[],t)}))}})),Pi(An.prototype,(function(t,e){var r=wn[e];if(r){var n=r.name+"";he.call(ur,n)||(ur[n]=[]),ur[n].push({name:e,func:r})}})),ur[ba(o,_).name]=[{name:"wrapper",func:o}],An.prototype.clone=Tn,An.prototype.reverse=Cn,An.prototype.value=Ln,wn.prototype.at=Wu,wn.prototype.chain=Ku,wn.prototype.commit=Xu,wn.prototype.next=Ju,wn.prototype.plant=Qu,wn.prototype.reverse=tc,wn.prototype.toJSON=wn.prototype.valueOf=wn.prototype.value=ec,wn.prototype.first=wn.prototype.head,Ae&&(wn.prototype[Ae]=Zu),wn},Sn=kn();sr._=Sn,i=function(){return Sn}.call(e,r,e,n),i===o||(n.exports=i)}).call(this)}).call(this,r("c8ba"),r("62e4")(t))},"2f2c":function(t,e,r){"use strict";var n=r("4a1a");r.d(e,"a",(function(){return n["a"]}));n["a"]},"2f62":function(t,e,r){"use strict";(function(t){
/*!
 * vuex v3.6.2
 * (c) 2021 Evan You
 * @license MIT
 */
function n(t){var e=Number(t.version.split(".")[0]);if(e>=2)t.mixin({beforeCreate:n});else{var r=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[n].concat(t.init):n,r.call(this,t)}}function n(){var t=this.$options;t.store?this.$store="function"===typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}r.d(e,"b",(function(){return j})),r.d(e,"c",(function(){return B})),r.d(e,"d",(function(){return I}));var i="undefined"!==typeof window?window:"undefined"!==typeof t?t:{},o=i.__VUE_DEVTOOLS_GLOBAL_HOOK__;function a(t){o&&(t._devtoolHook=o,o.emit("vuex:init",t),o.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){o.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){o.emit("vuex:action",t,e)}),{prepend:!0}))}function s(t,e){return t.filter(e)[0]}function u(t,e){if(void 0===e&&(e=[]),null===t||"object"!==typeof t)return t;var r=s(e,(function(e){return e.original===t}));if(r)return r.copy;var n=Array.isArray(t)?[]:{};return e.push({original:t,copy:n}),Object.keys(t).forEach((function(r){n[r]=u(t[r],e)})),n}function c(t,e){Object.keys(t).forEach((function(r){return e(t[r],r)}))}function l(t){return null!==t&&"object"===typeof t}function h(t){return t&&"function"===typeof t.then}function f(t,e){return function(){return t(e)}}var d=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var r=t.state;this.state=("function"===typeof r?r():r)||{}},p={namespaced:{configurable:!0}};p.namespaced.get=function(){return!!this._rawModule.namespaced},d.prototype.addChild=function(t,e){this._children[t]=e},d.prototype.removeChild=function(t){delete this._children[t]},d.prototype.getChild=function(t){return this._children[t]},d.prototype.hasChild=function(t){return t in this._children},d.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},d.prototype.forEachChild=function(t){c(this._children,t)},d.prototype.forEachGetter=function(t){this._rawModule.getters&&c(this._rawModule.getters,t)},d.prototype.forEachAction=function(t){this._rawModule.actions&&c(this._rawModule.actions,t)},d.prototype.forEachMutation=function(t){this._rawModule.mutations&&c(this._rawModule.mutations,t)},Object.defineProperties(d.prototype,p);var m=function(t){this.register([],t,!1)};function g(t,e,r){if(e.update(r),r.modules)for(var n in r.modules){if(!e.getChild(n))return void 0;g(t.concat(n),e.getChild(n),r.modules[n])}}m.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},m.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,r){return e=e.getChild(r),t+(e.namespaced?r+"/":"")}),"")},m.prototype.update=function(t){g([],this.root,t)},m.prototype.register=function(t,e,r){var n=this;void 0===r&&(r=!0);var i=new d(e,r);if(0===t.length)this.root=i;else{var o=this.get(t.slice(0,-1));o.addChild(t[t.length-1],i)}e.modules&&c(e.modules,(function(e,i){n.register(t.concat(i),e,r)}))},m.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),r=t[t.length-1],n=e.getChild(r);n&&n.runtime&&e.removeChild(r)},m.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),r=t[t.length-1];return!!e&&e.hasChild(r)};var y;var v=function(t){var e=this;void 0===t&&(t={}),!y&&"undefined"!==typeof window&&window.Vue&&O(window.Vue);var r=t.plugins;void 0===r&&(r=[]);var n=t.strict;void 0===n&&(n=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new m(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new y,this._makeLocalGettersCache=Object.create(null);var i=this,o=this,s=o.dispatch,u=o.commit;this.dispatch=function(t,e){return s.call(i,t,e)},this.commit=function(t,e,r){return u.call(i,t,e,r)},this.strict=n;var c=this._modules.root.state;k(this,c,[],this._modules.root),x(this,c),r.forEach((function(t){return t(e)}));var l=void 0!==t.devtools?t.devtools:y.config.devtools;l&&a(this)},b={state:{configurable:!0}};function _(t,e,r){return e.indexOf(t)<0&&(r&&r.prepend?e.unshift(t):e.push(t)),function(){var r=e.indexOf(t);r>-1&&e.splice(r,1)}}function w(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var r=t.state;k(t,r,[],t._modules.root,!0),x(t,r,e)}function x(t,e,r){var n=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var i=t._wrappedGetters,o={};c(i,(function(e,r){o[r]=f(e,t),Object.defineProperty(t.getters,r,{get:function(){return t._vm[r]},enumerable:!0})}));var a=y.config.silent;y.config.silent=!0,t._vm=new y({data:{$$state:e},computed:o}),y.config.silent=a,t.strict&&C(t),n&&(r&&t._withCommit((function(){n._data.$$state=null})),y.nextTick((function(){return n.$destroy()})))}function k(t,e,r,n,i){var o=!r.length,a=t._modules.getNamespace(r);if(n.namespaced&&(t._modulesNamespaceMap[a],t._modulesNamespaceMap[a]=n),!o&&!i){var s=L(e,r.slice(0,-1)),u=r[r.length-1];t._withCommit((function(){y.set(s,u,n.state)}))}var c=n.context=S(t,a,r);n.forEachMutation((function(e,r){var n=a+r;M(t,n,e,c)})),n.forEachAction((function(e,r){var n=e.root?r:a+r,i=e.handler||e;A(t,n,i,c)})),n.forEachGetter((function(e,r){var n=a+r;T(t,n,e,c)})),n.forEachChild((function(n,o){k(t,e,r.concat(o),n,i)}))}function S(t,e,r){var n=""===e,i={dispatch:n?t.dispatch:function(r,n,i){var o=P(r,n,i),a=o.payload,s=o.options,u=o.type;return s&&s.root||(u=e+u),t.dispatch(u,a)},commit:n?t.commit:function(r,n,i){var o=P(r,n,i),a=o.payload,s=o.options,u=o.type;s&&s.root||(u=e+u),t.commit(u,a,s)}};return Object.defineProperties(i,{getters:{get:n?function(){return t.getters}:function(){return E(t,e)}},state:{get:function(){return L(t.state,r)}}}),i}function E(t,e){if(!t._makeLocalGettersCache[e]){var r={},n=e.length;Object.keys(t.getters).forEach((function(i){if(i.slice(0,n)===e){var o=i.slice(n);Object.defineProperty(r,o,{get:function(){return t.getters[i]},enumerable:!0})}})),t._makeLocalGettersCache[e]=r}return t._makeLocalGettersCache[e]}function M(t,e,r,n){var i=t._mutations[e]||(t._mutations[e]=[]);i.push((function(e){r.call(t,n.state,e)}))}function A(t,e,r,n){var i=t._actions[e]||(t._actions[e]=[]);i.push((function(e){var i=r.call(t,{dispatch:n.dispatch,commit:n.commit,getters:n.getters,state:n.state,rootGetters:t.getters,rootState:t.state},e);return h(i)||(i=Promise.resolve(i)),t._devtoolHook?i.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):i}))}function T(t,e,r,n){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return r(n.state,n.getters,t.state,t.getters)})}function C(t){t._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function L(t,e){return e.reduce((function(t,e){return t[e]}),t)}function P(t,e,r){return l(t)&&t.type&&(r=e,e=t,t=t.type),{type:t,payload:e,options:r}}function O(t){y&&t===y||(y=t,n(y))}b.state.get=function(){return this._vm._data.$$state},b.state.set=function(t){0},v.prototype.commit=function(t,e,r){var n=this,i=P(t,e,r),o=i.type,a=i.payload,s=(i.options,{type:o,payload:a}),u=this._mutations[o];u&&(this._withCommit((function(){u.forEach((function(t){t(a)}))})),this._subscribers.slice().forEach((function(t){return t(s,n.state)})))},v.prototype.dispatch=function(t,e){var r=this,n=P(t,e),i=n.type,o=n.payload,a={type:i,payload:o},s=this._actions[i];if(s){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(a,r.state)}))}catch(c){0}var u=s.length>1?Promise.all(s.map((function(t){return t(o)}))):s[0](o);return new Promise((function(t,e){u.then((function(e){try{r._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(a,r.state)}))}catch(c){0}t(e)}),(function(t){try{r._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(a,r.state,t)}))}catch(c){0}e(t)}))}))}},v.prototype.subscribe=function(t,e){return _(t,this._subscribers,e)},v.prototype.subscribeAction=function(t,e){var r="function"===typeof t?{before:t}:t;return _(r,this._actionSubscribers,e)},v.prototype.watch=function(t,e,r){var n=this;return this._watcherVM.$watch((function(){return t(n.state,n.getters)}),e,r)},v.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},v.prototype.registerModule=function(t,e,r){void 0===r&&(r={}),"string"===typeof t&&(t=[t]),this._modules.register(t,e),k(this,this.state,t,this._modules.get(t),r.preserveState),x(this,this.state)},v.prototype.unregisterModule=function(t){var e=this;"string"===typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var r=L(e.state,t.slice(0,-1));y.delete(r,t[t.length-1])})),w(this)},v.prototype.hasModule=function(t){return"string"===typeof t&&(t=[t]),this._modules.isRegistered(t)},v.prototype.hotUpdate=function(t){this._modules.update(t),w(this,!0)},v.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(v.prototype,b);var I=Y((function(t,e){var r={};return R(e).forEach((function(e){var n=e.key,i=e.val;r[n]=function(){var e=this.$store.state,r=this.$store.getters;if(t){var n=U(this.$store,"mapState",t);if(!n)return;e=n.context.state,r=n.context.getters}return"function"===typeof i?i.call(this,e,r):e[i]},r[n].vuex=!0})),r})),D=Y((function(t,e){var r={};return R(e).forEach((function(e){var n=e.key,i=e.val;r[n]=function(){var e=[],r=arguments.length;while(r--)e[r]=arguments[r];var n=this.$store.commit;if(t){var o=U(this.$store,"mapMutations",t);if(!o)return;n=o.context.commit}return"function"===typeof i?i.apply(this,[n].concat(e)):n.apply(this.$store,[i].concat(e))}})),r})),B=Y((function(t,e){var r={};return R(e).forEach((function(e){var n=e.key,i=e.val;i=t+i,r[n]=function(){if(!t||U(this.$store,"mapGetters",t))return this.$store.getters[i]},r[n].vuex=!0})),r})),j=Y((function(t,e){var r={};return R(e).forEach((function(e){var n=e.key,i=e.val;r[n]=function(){var e=[],r=arguments.length;while(r--)e[r]=arguments[r];var n=this.$store.dispatch;if(t){var o=U(this.$store,"mapActions",t);if(!o)return;n=o.context.dispatch}return"function"===typeof i?i.apply(this,[n].concat(e)):n.apply(this.$store,[i].concat(e))}})),r})),N=function(t){return{mapState:I.bind(null,t),mapGetters:B.bind(null,t),mapMutations:D.bind(null,t),mapActions:j.bind(null,t)}};function R(t){return F(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function F(t){return Array.isArray(t)||l(t)}function Y(t){return function(e,r){return"string"!==typeof e?(r=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,r)}}function U(t,e,r){var n=t._modulesNamespaceMap[r];return n}function H(t){void 0===t&&(t={});var e=t.collapsed;void 0===e&&(e=!0);var r=t.filter;void 0===r&&(r=function(t,e,r){return!0});var n=t.transformer;void 0===n&&(n=function(t){return t});var i=t.mutationTransformer;void 0===i&&(i=function(t){return t});var o=t.actionFilter;void 0===o&&(o=function(t,e){return!0});var a=t.actionTransformer;void 0===a&&(a=function(t){return t});var s=t.logMutations;void 0===s&&(s=!0);var c=t.logActions;void 0===c&&(c=!0);var l=t.logger;return void 0===l&&(l=console),function(t){var h=u(t.state);"undefined"!==typeof l&&(s&&t.subscribe((function(t,o){var a=u(o);if(r(t,h,a)){var s=$(),c=i(t),f="mutation "+t.type+s;z(l,f,e),l.log("%c prev state","color: #9E9E9E; font-weight: bold",n(h)),l.log("%c mutation","color: #03A9F4; font-weight: bold",c),l.log("%c next state","color: #4CAF50; font-weight: bold",n(a)),V(l)}h=a})),c&&t.subscribeAction((function(t,r){if(o(t,r)){var n=$(),i=a(t),s="action "+t.type+n;z(l,s,e),l.log("%c action","color: #03A9F4; font-weight: bold",i),V(l)}})))}}function z(t,e,r){var n=r?t.groupCollapsed:t.group;try{n.call(t,e)}catch(i){t.log(e)}}function V(t){try{t.groupEnd()}catch(e){t.log("—— log end ——")}}function $(){var t=new Date;return" @ "+G(t.getHours(),2)+":"+G(t.getMinutes(),2)+":"+G(t.getSeconds(),2)+"."+G(t.getMilliseconds(),3)}function q(t,e){return new Array(e+1).join(t)}function G(t,e){return q("0",e-t.toString().length)+t}var W={Store:v,install:O,version:"3.6.2",mapState:I,mapMutations:D,mapGetters:B,mapActions:j,createNamespacedHelpers:N,createLogger:H};e["a"]=W}).call(this,r("c8ba"))},"2fa4":function(t,e,r){"use strict";r("20f6");var n=r("80d2");e["a"]=Object(n["k"])("spacer","div","v-spacer")},"305b":function(t,e,r){"use strict";function n(t,e){var r=new Array(arguments.length-1),n=0,i=2,o=!0;while(i<arguments.length)r[n++]=arguments[i++];return new Promise((function(i,a){r[n]=function(t){if(o)if(o=!1,t)a(t);else{var e=new Array(arguments.length-1),r=0;while(r<e.length)e[r++]=arguments[r];i.apply(null,e)}};try{t.apply(e||null,r)}catch(s){o&&(o=!1,a(s))}}))}t.exports=n},3129:function(t,e,r){"use strict";r("1f09");var n=r("c995"),i=r("24b2"),o=r("7560"),a=r("58df"),s=r("80d2");e["a"]=Object(a["a"])(n["a"],i["a"],o["a"]).extend({name:"VSkeletonLoader",props:{boilerplate:Boolean,loading:Boolean,loadingText:{type:String,default:"$vuetify.loading"},tile:Boolean,transition:String,type:String,types:{type:Object,default:()=>({})}},computed:{attrs(){return this.isLoading?{"aria-busy":!this.boilerplate||void 0,"aria-live":this.boilerplate?void 0:"polite","aria-label":this.boilerplate?void 0:this.$vuetify.lang.t(this.loadingText),role:this.boilerplate?void 0:"alert",...this.$attrs}:this.$attrs},classes(){return{"v-skeleton-loader--boilerplate":this.boilerplate,"v-skeleton-loader--is-loading":this.isLoading,"v-skeleton-loader--tile":this.tile,...this.themeClasses,...this.elevationClasses}},isLoading(){return!("default"in this.$scopedSlots)||this.loading},rootTypes(){return{actions:"button@2",article:"heading, paragraph",avatar:"avatar",button:"button",card:"image, card-heading","card-avatar":"image, list-item-avatar","card-heading":"heading",chip:"chip","date-picker":"list-item, card-heading, divider, date-picker-options, date-picker-days, actions","date-picker-options":"text, avatar@2","date-picker-days":"avatar@28",heading:"heading",image:"image","list-item":"text","list-item-avatar":"avatar, text","list-item-two-line":"sentences","list-item-avatar-two-line":"avatar, sentences","list-item-three-line":"paragraph","list-item-avatar-three-line":"avatar, paragraph",paragraph:"text@3",sentences:"text@2",table:"table-heading, table-thead, table-tbody, table-tfoot","table-heading":"heading, text","table-thead":"heading@6","table-tbody":"table-row-divider@6","table-row-divider":"table-row, divider","table-row":"table-cell@6","table-cell":"text","table-tfoot":"text@2, avatar@2",text:"text",...this.types}}},methods:{genBone(t,e){return this.$createElement("div",{staticClass:`v-skeleton-loader__${t} v-skeleton-loader__bone`},e)},genBones(t){const[e,r]=t.split("@"),n=()=>this.genStructure(e);return Array.from({length:r}).map(n)},genStructure(t){let e=[];t=t||this.type||"";const r=this.rootTypes[t]||"";if(t===r);else{if(t.indexOf(",")>-1)return this.mapBones(t);if(t.indexOf("@")>-1)return this.genBones(t);r.indexOf(",")>-1?e=this.mapBones(r):r.indexOf("@")>-1?e=this.genBones(r):r&&e.push(this.genStructure(r))}return[this.genBone(t,e)]},genSkeleton(){const t=[];return this.isLoading?t.push(this.genStructure()):t.push(Object(s["u"])(this)),this.transition?this.$createElement("transition",{props:{name:this.transition},on:{afterEnter:this.resetStyles,beforeEnter:this.onBeforeEnter,beforeLeave:this.onBeforeLeave,leaveCancelled:this.resetStyles}},t):t},mapBones(t){return t.replace(/\s/g,"").split(",").map(this.genStructure)},onBeforeEnter(t){this.resetStyles(t),this.isLoading&&(t._initialStyle={display:t.style.display,transition:t.style.transition},t.style.setProperty("transition","none","important"))},onBeforeLeave(t){t.style.setProperty("display","none","important")},resetStyles(t){t._initialStyle&&(t.style.display=t._initialStyle.display||"",t.style.transition=t._initialStyle.transition,delete t._initialStyle)}},render(t){return t("div",{staticClass:"v-skeleton-loader",attrs:this.attrs,on:this.$listeners,class:this.classes,style:this.isLoading?this.measurableStyles:void 0},[this.genSkeleton()])}})},"313f":function(t,e,r){"use strict";var n;r.d(e,"a",(function(){return n})),function(t){t[t["Hour"]=1]="Hour",t[t["Minute"]=2]="Minute",t[t["Second"]=3]="Second"}(n||(n={}))},3169:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1ec9"),i=r("2a12"),o=r("2540");function a(t){return t&&"object"===typeof t&&"default"in t?t:{default:t}}var s=a(o);const u=n.configure(t=>{async function*e(e,r={}){const n=await t.post("files/read",{signal:r.signal,searchParams:i.toUrlSearchParams({arg:e,count:r.length,...r}),headers:r.headers});yield*s["default"](n.body)}return e});e.createRead=u},"31ce":function(t,e,r){},3206:function(t,e,r){"use strict";r.d(e,"a",(function(){return a})),r.d(e,"b",(function(){return s}));var n=r("2b0e"),i=r("d9bd");function o(t,e){return()=>Object(i["c"])(`The ${t} component must be used inside a ${e}`)}function a(t,e,r){const i=e&&r?{register:o(e,r),unregister:o(e,r)}:null;return n["default"].extend({name:"registrable-inject",inject:{[t]:{default:i}}})}function s(t,e=!1){return n["default"].extend({name:"registrable-provide",provide(){return{[t]:e?this:{register:this.register,unregister:this.unregister}}}})}},"326d":function(t,e,r){"use strict";var n=r("e449");r.d(e,"a",(function(){return n["a"]})),e["b"]=n["a"]},"33a3":function(t,e,r){"use strict";globalThis.fetch&&globalThis.Headers&&globalThis.Request&&globalThis.Response?t.exports={default:globalThis.fetch,Headers:globalThis.Headers,Request:globalThis.Request,Response:globalThis.Response}:t.exports={default:r("e2fb").default,Headers:r("e2fb").Headers,Request:r("e2fb").Request,Response:r("e2fb").Response}},"33e9":function(t,e,r){},3408:function(t,e,r){},"342e":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=(t,e)=>{async function r(t,r){e.unsubscribe(t,r)}return r};e.createUnsubscribe=n},"34c3":function(t,e,r){"use strict";var n=r("2b0e");e["a"]=n["default"].extend({name:"v-list-item-icon",functional:!0,render(t,{data:e,children:r}){return e.staticClass=("v-list-item__icon "+(e.staticClass||"")).trim(),t("div",e,r)}})},"34eb":function(t,e,r){(function(n){function i(){if("undefined"!==typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let t;return"undefined"!==typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!==typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!==typeof navigator&&navigator.userAgent&&(t=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(t[1],10)>=31||"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function o(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;const r="color: "+this.color;e.splice(1,0,r,"color: inherit");let n=0,i=0;e[0].replace(/%[a-zA-Z%]/g,t=>{"%%"!==t&&(n++,"%c"===t&&(i=n))}),e.splice(i,0,r)}function a(t){try{t?e.storage.setItem("debug",t):e.storage.removeItem("debug")}catch(r){}}function s(){let t;try{t=e.storage.getItem("debug")}catch(r){}return!t&&"undefined"!==typeof n&&"env"in n&&(t=Object({NODE_ENV:"production",VUE_APP_BACK_FRONT:"https://tracesys.agtrace.ag",VUE_APP_BACK_API:"https://tracesys-api.agtrace.ag",VUE_APP_MAPBOX_API:"https://api.mapbox.com/",VUE_APP_MAPBOX_KEY:"pk.eyJ1IjoiYWd0cmFjZW1hcCIsImEiOiJja2M2Zmo5Z20wY24wMndsajBubzZ0d2FmIn0.TNmA-mkMR4tC2K5pcMBsEw",VUE_APP_LOGS_API:"https://logs-api.agtrace.ag",VUE_APP_POLYGON_SCAN:"https://www.oklink.com/polygon",VUE_APP_FACTORY:"0x7f62E9551296e5b5324d7a4d11FC873e1f81C511",VUE_APP_ABRAPA_INTEGRATION:"https://souabr-api.agtrace.ag/api/v1",VUE_APP_CUSTOM_COUNTRIES_API_URL:"https://staging-country-api-zrai.encr.app",VUE_APP_COUNTRIES_API_URL:"https://api.countrystatecity.in/v1",VUE_APP_COUNTIRES_API_KEY:"N3lEV3I2TVVSZ25yeDRyRXpyb21pcXlFNHZ3TGFZWm9ieGN3WmZRRw==",VUE_APP_I18N_LOCALE:"pt-br",VUE_APP_I18N_FALLBACK_LOCALE:"pt-br",BASE_URL:"/"}).DEBUG),t}function u(){try{return localStorage}catch(t){}}e.formatArgs=o,e.save=a,e.load=s,e.useColors=i,e.storage=u(),e.destroy=(()=>{let t=!1;return()=>{t||(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.log=console.debug||console.log||(()=>{}),t.exports=r("dc90")(e);const{formatters:c}=t.exports;c.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}).call(this,r("4362"))},"34ef":function(t,e,r){"use strict";var n=r("cc20");r.d(e,"a",(function(){return n["a"]})),e["b"]=n["a"]},3642:function(t,e,r){"use strict";var n=Object.prototype.toString;t.exports=function(t){var e;return"[object Object]"===n.call(t)&&(e=Object.getPrototypeOf(t),null===e||e===Object.getPrototypeOf({}))}},3671:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("f592"),i=r("860e"),o=r("9e7f"),a=r("b397");function s(t){const e=new n.Client(t);return{add:i.createAdd(e),ls:o.createLs(e),rm:a.createRm(e)}}e.createService=s},"368e":function(t,e,r){},3692:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1ec9"),i=r("b6aa");function o(t){return t&&"object"===typeof t&&"default"in t?t:{default:t}}var a=o(i);const s=n.configure(t=>{const e=async(t={})=>{throw a["default"](new Error("Not implemented"),"ERR_NOT_IMPLEMENTED")};return e});e.createStart=s},"36a7":function(t,e,r){},"36af":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("2054"),i=r("1169"),o=r("1ec9"),a=r("2a12");const s=o.configure(t=>{async function*e(e,r={recursive:!1}){const o=Array.isArray(e)?e:[e],s=await t.post("dht/provide",{signal:r.signal,searchParams:a.toUrlSearchParams({arg:o.map(t=>t.toString()),...r}),headers:r.headers});for await(let t of s.ndjson())t=i.objectToCamel(t),t.responses?t.responses=t.responses.map(({ID:t,Addrs:e})=>({id:t,addrs:(e||[]).map(t=>new n.Multiaddr(t))})):t.responses=[],yield t}return e});e.createProvide=s},"36e4":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("6b10"),i=r("9965"),o=r("f4b8"),a=r("234c"),s=r("9f46"),u=r("985a"),c=r("9049");function l(t){return{export:n.createExport(t),gen:i.createGen(t),import:o.createImport(t),info:a.createInfo(t),list:s.createList(t),rename:u.createRename(t),rm:c.createRm(t)}}e.createKey=l},"37c4":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("0c39"),i=r("5497"),o=r("5280"),a=r("5418"),s=r("a6a1");function u(t){return{getAll:o.createGetAll(t),get:i.createGet(t),set:s.createSet(t),replace:a.createReplace(t),profiles:n.createProfiles(t)}}e.createConfig=u},"37c6":function(t,e,r){"use strict";var n=r("8e36");r.d(e,"a",(function(){return n["a"]})),e["b"]=n["a"]},3860:function(t,e,r){"use strict";var n=r("604c");e["a"]=n["a"].extend({name:"button-group",provide(){return{btnToggle:this}},computed:{classes(){return n["a"].options.computed.classes.call(this)}},methods:{genData:n["a"].options.methods.genData}})},3886:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.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(t){var e=t%10,r=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+r}});return e}))},"38cb":function(t,e,r){"use strict";var n=r("a9ad"),i=r("7560"),o=r("3206"),a=r("80d2"),s=r("d9bd"),u=r("58df");const c=Object(u["a"])(n["a"],Object(o["a"])("form"),i["a"]);e["a"]=c.extend({name:"validatable",props:{disabled:{type:Boolean,default:null},error:Boolean,errorCount:{type:[Number,String],default:1},errorMessages:{type:[String,Array],default:()=>[]},messages:{type:[String,Array],default:()=>[]},readonly:{type:Boolean,default:null},rules:{type:Array,default:()=>[]},success:Boolean,successMessages:{type:[String,Array],default:()=>[]},validateOnBlur:Boolean,value:{required:!1}},data(){return{errorBucket:[],hasColor:!1,hasFocused:!1,hasInput:!1,isFocused:!1,isResetting:!1,lazyValue:this.value,valid:!1}},computed:{computedColor(){if(!this.isDisabled)return this.color?this.color:this.isDark&&!this.appIsDark?"white":"primary"},hasError(){return this.internalErrorMessages.length>0||this.errorBucket.length>0||this.error},hasSuccess(){return this.internalSuccessMessages.length>0||this.success},externalError(){return this.internalErrorMessages.length>0||this.error},hasMessages(){return this.validationTarget.length>0},hasState(){return!this.isDisabled&&(this.hasSuccess||this.shouldValidate&&this.hasError)},internalErrorMessages(){return this.genInternalMessages(this.errorMessages)},internalMessages(){return this.genInternalMessages(this.messages)},internalSuccessMessages(){return this.genInternalMessages(this.successMessages)},internalValue:{get(){return this.lazyValue},set(t){this.lazyValue=t,this.$emit("input",t)}},isDisabled(){var t;return null!==(t=this.disabled)&&void 0!==t?t:!!this.form&&this.form.disabled},isInteractive(){return!this.isDisabled&&!this.isReadonly},isReadonly(){var t;return null!==(t=this.readonly)&&void 0!==t?t:!!this.form&&this.form.readonly},shouldValidate(){return!!this.externalError||!this.isResetting&&(this.validateOnBlur?this.hasFocused&&!this.isFocused:this.hasInput||this.hasFocused)},validations(){return this.validationTarget.slice(0,Number(this.errorCount))},validationState(){if(!this.isDisabled)return this.hasError&&this.shouldValidate?"error":this.hasSuccess?"success":this.hasColor?this.computedColor:void 0},validationTarget(){return this.internalErrorMessages.length>0?this.internalErrorMessages:this.successMessages&&this.successMessages.length>0?this.internalSuccessMessages:this.messages&&this.messages.length>0?this.internalMessages:this.shouldValidate?this.errorBucket:[]}},watch:{rules:{handler(t,e){Object(a["m"])(t,e)||this.validate()},deep:!0},internalValue(){this.hasInput=!0,this.validateOnBlur||this.$nextTick(this.validate)},isFocused(t){t||this.isDisabled||(this.hasFocused=!0,this.validateOnBlur&&this.$nextTick(this.validate))},isResetting(){setTimeout(()=>{this.hasInput=!1,this.hasFocused=!1,this.isResetting=!1,this.validate()},0)},hasError(t){this.shouldValidate&&this.$emit("update:error",t)},value(t){this.lazyValue=t}},beforeMount(){this.validate()},created(){this.form&&this.form.register(this)},beforeDestroy(){this.form&&this.form.unregister(this)},methods:{genInternalMessages(t){return t?Array.isArray(t)?t:[t]:[]},reset(){this.isResetting=!0,this.internalValue=Array.isArray(this.internalValue)?[]:null},resetValidation(){this.isResetting=!0},validate(t=!1,e){const r=[];e=e||this.internalValue,t&&(this.hasInput=this.hasFocused=!0);for(let n=0;n<this.rules.length;n++){const t=this.rules[n],i="function"===typeof t?t(e):t;!1===i||"string"===typeof i?r.push(i||""):"boolean"!==typeof i&&Object(s["b"])(`Rules should return a string or boolean, received '${typeof i}' instead`,this)}return this.errorBucket=r,this.valid=0===r.length,this.valid}}})},3938:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("b6aa"),i=r("ac4f");function o(t){return t&&"object"===typeof t&&"default"in t?t:{default:t}}var a=o(n);const s=i.Data,u=["raw","directory","file","metadata","symlink","hamt-sharded-directory"],c=["directory","hamt-sharded-directory"],l=parseInt("0644",8),h=parseInt("0755",8);function f(t){if(null!=t)return"number"===typeof t?4095&t:(t=t.toString(),"0"===t.substring(0,1)?4095&parseInt(t,8):4095&parseInt(t,10))}function d(t){if(null==t)return;let e;if(null!=t.secs&&(e={secs:t.secs,nsecs:t.nsecs}),null!=t.Seconds&&(e={secs:t.Seconds,nsecs:t.FractionalNanoseconds}),Array.isArray(t)&&(e={secs:t[0],nsecs:t[1]}),t instanceof Date){const r=t.getTime(),n=Math.floor(r/1e3);e={secs:n,nsecs:1e3*(r-1e3*n)}}if(Object.prototype.hasOwnProperty.call(e,"secs")){if(null!=e&&null!=e.nsecs&&(e.nsecs<0||e.nsecs>999999999))throw a["default"](new Error("mtime-nsecs must be within the range [0,999999999]"),"ERR_INVALID_MTIME_NSECS");return e}}class p{static unmarshal(t){const e=s.decode(t),r=s.toObject(e,{defaults:!1,arrays:!0,longs:Number,objects:!1}),n=new p({type:u[r.Type],data:r.Data,blockSizes:r.blocksizes,mode:r.mode,mtime:r.mtime?{secs:r.mtime.Seconds,nsecs:r.mtime.FractionalNanoseconds}:void 0});return n._originalMode=r.mode||0,n}constructor(t={type:"file"}){const{type:e,data:r,blockSizes:n,hashType:i,fanout:o,mtime:s,mode:c}=t;if(e&&!u.includes(e))throw a["default"](new Error("Type: "+e+" is not valid"),"ERR_INVALID_TYPE");this.type=e||"file",this.data=r,this.hashType=i,this.fanout=o,this.blockSizes=n||[],this._originalMode=0,this.mode=f(c),s&&(this.mtime=d(s),this.mtime&&!this.mtime.nsecs&&(this.mtime.nsecs=0))}set mode(t){this._mode=this.isDirectory()?h:l;const e=f(t);void 0!==e&&(this._mode=e)}get mode(){return this._mode}isDirectory(){return Boolean(this.type&&c.includes(this.type))}addBlockSize(t){this.blockSizes.push(t)}removeBlockSize(t){this.blockSizes.splice(t,1)}fileSize(){if(this.isDirectory())return 0;let t=0;return this.blockSizes.forEach(e=>{t+=e}),this.data&&(t+=this.data.length),t}marshal(){let t;switch(this.type){case"raw":t=s.DataType.Raw;break;case"directory":t=s.DataType.Directory;break;case"file":t=s.DataType.File;break;case"metadata":t=s.DataType.Metadata;break;case"symlink":t=s.DataType.Symlink;break;case"hamt-sharded-directory":t=s.DataType.HAMTShard;break;default:throw a["default"](new Error("Type: "+t+" is not valid"),"ERR_INVALID_TYPE")}let e,r,n=this.data;if(this.data&&this.data.length||(n=void 0),null!=this.mode&&(e=4294963200&this._originalMode|(f(this.mode)||0),e!==l||this.isDirectory()||(e=void 0),e===h&&this.isDirectory()&&(e=void 0)),null!=this.mtime){const t=d(this.mtime);t&&(r={Seconds:t.secs,FractionalNanoseconds:t.nsecs},0===r.FractionalNanoseconds&&delete r.FractionalNanoseconds)}const i={Type:t,Data:n,filesize:this.isDirectory()?void 0:this.fileSize(),blocksizes:this.blockSizes,hashType:this.hashType,fanout:this.fanout,mode:e,mtime:r};return s.encode(i).finish()}}e.UnixFS=p,e.parseMode=f,e.parseMtime=d},"39a6":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.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(t){var e=t%10,r=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+r},week:{dow:1,doy:4}});return e}))},"39bd":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},r={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function n(t,e,r,n){var i="";if(e)switch(r){case"s":i="काही सेकंद";break;case"ss":i="%d सेकंद";break;case"m":i="एक मिनिट";break;case"mm":i="%d मिनिटे";break;case"h":i="एक तास";break;case"hh":i="%d तास";break;case"d":i="एक दिवस";break;case"dd":i="%d दिवस";break;case"M":i="एक महिना";break;case"MM":i="%d महिने";break;case"y":i="एक वर्ष";break;case"yy":i="%d वर्षे";break}else switch(r){case"s":i="काही सेकंदां";break;case"ss":i="%d सेकंदां";break;case"m":i="एका मिनिटा";break;case"mm":i="%d मिनिटां";break;case"h":i="एका तासा";break;case"hh":i="%d तासां";break;case"d":i="एका दिवसा";break;case"dd":i="%d दिवसां";break;case"M":i="एका महिन्या";break;case"MM":i="%d महिन्यां";break;case"y":i="एका वर्षा";break;case"yy":i="%d वर्षां";break}return i.replace(/%d/i,t)}var i=t.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".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:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",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(t){return t.replace(/[१२३४५६७८९०]/g,(function(t){return r[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,meridiemHour:function(t,e){return 12===t&&(t=0),"पहाटे"===e||"सकाळी"===e?t:"दुपारी"===e||"सायंकाळी"===e||"रात्री"===e?t>=12?t:t+12:void 0},meridiem:function(t,e,r){return t>=0&&t<6?"पहाटे":t<12?"सकाळी":t<17?"दुपारी":t<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}});return i}))},"3a0b":function(t,e,r){},"3a2f":function(t,e,r){"use strict";r("9734");var n=r("4ad4"),i=r("a9ad"),o=r("16b7"),a=r("b848"),s=r("f573"),u=r("80d2"),c=r("d9bd"),l=r("58df");e["a"]=Object(l["a"])(i["a"],o["a"],a["a"],s["a"]).extend({name:"v-tooltip",props:{closeDelay:{type:[Number,String],default:0},disabled:Boolean,openDelay:{type:[Number,String],default:0},openOnHover:{type:Boolean,default:!0},openOnFocus:{type:Boolean,default:!0},tag:{type:String,default:"span"},transition:String},data:()=>({calculatedMinWidth:0,closeDependents:!1}),computed:{calculatedLeft(){const{activator:t,content:e}=this.dimensions,r=!this.bottom&&!this.left&&!this.top&&!this.right,n=!1!==this.attach?t.offsetLeft:t.left;let i=0;return this.top||this.bottom||r?i=n+t.width/2-e.width/2:(this.left||this.right)&&(i=n+(this.right?t.width:-e.width)+(this.right?10:-10)),this.nudgeLeft&&(i-=parseInt(this.nudgeLeft)),this.nudgeRight&&(i+=parseInt(this.nudgeRight)),this.calcXOverflow(i,this.dimensions.content.width)+"px"},calculatedTop(){const{activator:t,content:e}=this.dimensions,r=!1!==this.attach?t.offsetTop:t.top;let n=0;return this.top||this.bottom?n=r+(this.bottom?t.height:-e.height)+(this.bottom?10:-10):(this.left||this.right)&&(n=r+t.height/2-e.height/2),this.nudgeTop&&(n-=parseInt(this.nudgeTop)),this.nudgeBottom&&(n+=parseInt(this.nudgeBottom)),!1===this.attach&&(n+=this.pageYOffset),this.calcYOverflow(n)+"px"},classes(){return{"v-tooltip--top":this.top,"v-tooltip--right":this.right,"v-tooltip--bottom":this.bottom,"v-tooltip--left":this.left,"v-tooltip--attached":""===this.attach||!0===this.attach||"attach"===this.attach}},computedTransition(){return this.transition?this.transition:this.isActive?"scale-transition":"fade-transition"},offsetY(){return this.top||this.bottom},offsetX(){return this.left||this.right},styles(){return{left:this.calculatedLeft,maxWidth:Object(u["i"])(this.maxWidth),minWidth:Object(u["i"])(this.minWidth),top:this.calculatedTop,zIndex:this.zIndex||this.activeZIndex}}},beforeMount(){this.$nextTick(()=>{this.value&&this.callActivate()})},mounted(){"v-slot"===Object(u["v"])(this,"activator",!0)&&Object(c["b"])("v-tooltip's activator slot must be bound, try '<template #activator=\"data\"><v-btn v-on=\"data.on>'",this)},methods:{activate(){this.updateDimensions(),requestAnimationFrame(this.startTransition)},deactivate(){this.runDelay("close")},genActivatorListeners(){const t=n["a"].options.methods.genActivatorListeners.call(this);return this.openOnFocus&&(t.focus=t=>{this.getActivator(t),this.runDelay("open")},t.blur=t=>{this.getActivator(t),this.runDelay("close")}),t.keydown=t=>{t.keyCode===u["A"].esc&&(this.getActivator(t),this.runDelay("close"))},t},genActivatorAttributes(){return{"aria-haspopup":!0,"aria-expanded":String(this.isActive)}},genTransition(){const t=this.genContent();return this.computedTransition?this.$createElement("transition",{props:{name:this.computedTransition}},[t]):t},genContent(){return this.$createElement("div",this.setBackgroundColor(this.color,{staticClass:"v-tooltip__content",class:{[this.contentClass]:!0,menuable__content__active:this.isActive,"v-tooltip__content--fixed":this.activatorFixed},style:this.styles,attrs:this.getScopeIdAttrs(),directives:[{name:"show",value:this.isContentActive}],ref:"content"}),this.getContentSlot())}},render(t){return t(this.tag,{staticClass:"v-tooltip",class:this.classes},[this.showLazyContent(()=>[this.genTransition()]),this.genActivator()])}})},"3a39":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},r={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},n=t.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,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 बजे"},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,(function(t){return r[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(t,e){return 12===t&&(t=0),"राति"===e?t<4?t:t+12:"बिहान"===e?t:"दिउँसो"===e?t>=10?t:t+12:"साँझ"===e?t+12:void 0},meridiem:function(t,e,r){return t<3?"राति":t<12?"बिहान":t<16?"दिउँसो":t<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}});return n}))},"3a66":function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r("fe6c"),i=r("58df");function o(t,e=[]){return Object(i["a"])(Object(n["b"])(["absolute","fixed"])).extend({name:"applicationable",props:{app:Boolean},computed:{applicationProperty(){return t}},watch:{app(t,e){e?this.removeApplication(!0):this.callUpdate()},applicationProperty(t,e){this.$vuetify.application.unregister(this._uid,e)}},activated(){this.callUpdate()},created(){for(let t=0,r=e.length;t<r;t++)this.$watch(e[t],this.callUpdate);this.callUpdate()},mounted(){this.callUpdate()},deactivated(){this.removeApplication()},destroyed(){this.removeApplication()},methods:{callUpdate(){this.app&&this.$vuetify.application.register(this._uid,this.applicationProperty,this.updateApplication())},removeApplication(t=!1){(t||this.app)&&this.$vuetify.application.unregister(this._uid,this.applicationProperty)},updateApplication:()=>0}})}},"3a6c":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.defineLocale("zh-mo",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"D/M/YYYY",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"中午"===e?t>=11?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,r){var n=100*t+e;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}});return e}))},"3a7e":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1ec9"),i=r("2a12");const o=n.configure(t=>{async function e(e,r={}){const n=await t.post("files/rm",{signal:r.signal,searchParams:i.toUrlSearchParams({arg:e,...r}),headers:r.headers});await n.text()}return e});e.createRm=o},"3ace":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("abd8"),i=r("ed36"),o=r("f038"),a=r("58c0");function s(t){return{addLink:n.createAddLink(t),appendData:i.createAppendData(t),rmLink:o.createRmLink(t),setData:a.createSetData(t)}}e.createPatch=s},"3ad0":function(t,e,r){},"3ae8":function(t,e,r){"use strict";var n=r("adda");r.d(e,"a",(function(){return n["a"]}));n["a"]},"3b17":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("b6aa"),i=r("6017"),o=r("a127"),a=r("5d6d"),s=r("2d31"),u=r("3938");function c(t){return t&&"object"===typeof t&&"default"in t?t:{default:t}}var l=c(n),h=c(i),f=c(o),d=c(a);async function*p(t,e){if(null===t||void 0===t)throw l["default"](new Error("Unexpected input: "+t),"ERR_UNEXPECTED_INPUT");if("string"===typeof t||t instanceof String)yield m(t.toString(),e);else if(s.isBytes(t)||s.isBlob(t))yield m(t,e);else{if(s.isReadableStream(t)&&(t=h["default"](t)),Symbol.iterator in t||Symbol.asyncIterator in t){const r=f["default"](t),{value:n,done:i}=await r.peek();if(i)return void(yield*[]);if(r.push(n),Number.isInteger(n)||s.isBytes(n))return void(yield m(r,e));if(n._readableState)return void(yield*d["default"](r,t=>m({content:t},e)));if(s.isFileObject(n)||s.isBlob(n)||"string"===typeof n||n instanceof String)return void(yield*d["default"](r,t=>m(t,e)));if(n[Symbol.iterator]||n[Symbol.asyncIterator]||s.isReadableStream(n))return void(yield*d["default"](r,t=>m(t,e)))}if(!s.isFileObject(t))throw l["default"](new Error("Unexpected input: "+typeof t),"ERR_UNEXPECTED_INPUT");yield m(t,e)}}async function m(t,e){const{path:r,mode:n,mtime:i,content:o}=t,a={path:r||"",mode:u.parseMode(n),mtime:u.parseMtime(i)};return o?a.content=await e(o):r||(a.content=await e(t)),a}e.normalise=p},"3b1b":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"},r=t.defineLocale("tg",{months:{format:"январи_феврали_марти_апрели_майи_июни_июли_августи_сентябри_октябри_ноябри_декабри".split("_"),standalone:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_")},monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".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:"[Имрӯз соати] LT",nextDay:"[Фардо соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(t,e){return 12===t&&(t=0),"шаб"===e?t<4?t:t+12:"субҳ"===e?t:"рӯз"===e?t>=11?t:t+12:"бегоҳ"===e?t+12:void 0},meridiem:function(t,e,r){return t<4?"шаб":t<11?"субҳ":t<16?"рӯз":t<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(t){var r=t%10,n=t>=100?100:null;return t+(e[t]||e[r]||e[n])},week:{dow:1,doy:7}});return r}))},"3b34":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("bdff"),i=r("eaf0"),o=r("34eb"),a=r("1ec9"),s=r("2a12");function u(t){return t&&"object"===typeof t&&"default"in t?t:{default:t}}var c=u(o);const l=c["default"]("ipfs-http-client:pubsub:subscribe"),h=(t,e)=>a.configure(t=>{async function r(r,n,i={}){let o,a;i.signal=e.subscribe(r,n,i.signal);const u=new Promise((t,e)=>{o=t,a=e}),c=setTimeout(()=>o(),1e3);return t.post("pubsub/sub",{signal:i.signal,searchParams:s.toUrlSearchParams({arg:r,...i}),headers:i.headers}).catch(t=>{e.unsubscribe(r,n),a(t)}).then(t=>{clearTimeout(c),t&&(f(t,{onMessage:n,onEnd:()=>e.unsubscribe(r,n),onError:i.onError}),o())}),u}return r})(t);async function f(t,{onMessage:e,onEnd:r,onError:o}){o=o||l;try{for await(const r of t.ndjson())try{if(!r.from)continue;e({from:i.toString(n.fromString(r.from,"base64pad"),"base58btc"),data:n.fromString(r.data,"base64pad"),seqno:n.fromString(r.seqno,"base64pad"),topicIDs:r.topicIDs})}catch(a){a.message="Failed to parse pubsub message: "+a.message,o(a,!1,r)}}catch(a){d(a)||o(a,!0)}finally{r()}}const d=t=>{switch(t.type){case"aborted":return!0;case"abort":return!0;default:return"AbortError"===t.name}};e.createSubscribe=h},"3c0d":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e={standalone:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),format:"ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince".split("_"),isFormat:/DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/},r="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),n=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],i=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function o(t){return t>1&&t<5&&1!==~~(t/10)}function a(t,e,r,n){var i=t+" ";switch(r){case"s":return e||n?"pár sekund":"pár sekundami";case"ss":return e||n?i+(o(t)?"sekundy":"sekund"):i+"sekundami";case"m":return e?"minuta":n?"minutu":"minutou";case"mm":return e||n?i+(o(t)?"minuty":"minut"):i+"minutami";case"h":return e?"hodina":n?"hodinu":"hodinou";case"hh":return e||n?i+(o(t)?"hodiny":"hodin"):i+"hodinami";case"d":return e||n?"den":"dnem";case"dd":return e||n?i+(o(t)?"dny":"dní"):i+"dny";case"M":return e||n?"měsíc":"měsícem";case"MM":return e||n?i+(o(t)?"měsíce":"měsíců"):i+"měsíci";case"y":return e||n?"rok":"rokem";case"yy":return e||n?i+(o(t)?"roky":"let"):i+"lety"}}var s=t.defineLocale("cs",{months:e,monthsShort:r,monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_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ítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %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}});return s}))},"3c35":function(t,e){(function(e){t.exports=e}).call(this,{})},"3c93":function(t,e,r){},"3cad":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1ec9"),i=r("2a12");const o=n.configure(t=>{async function e(e={}){const{Strings:r}=await(await t.post("pubsub/ls",{signal:e.signal,searchParams:i.toUrlSearchParams(e),headers:e.headers})).json();return r||[]}return e});e.createLs=o},"3cb9":function(t,e,r){"use strict";r.r(e);let n=/(-?(?:\d+\.?\d*|\d*\.?\d+)(?:e[-+]?\d+)?)\s*([\p{L}]*)/giu;function i(t="",e="ms"){var r=null;t=(t+"").replace(/(\d)[,_](\d)/g,"$1$2");var i="-"===t[0];return t.replace(n,(function(t,e,n){n=o(n),n&&(r=(r||0)+Math.abs(parseFloat(e,10))*n)})),r&&r/(o(e)||1)*(i?-1:1)}function o(t){return i[t]||i[t.toLowerCase().replace(/s$/,"")]}i.nanosecond=i.ns=1e-6,i["µs"]=i["μs"]=i.us=i.microsecond=.001,i.millisecond=i.ms=i[""]=1,i.second=i.sec=i.s=1e3*i.ms,i.minute=i.min=i.m=60*i.s,i.hour=i.hr=i.h=60*i.m,i.day=i.d=24*i.h,i.week=i.wk=i.w=7*i.d,i.month=i.b=30.4375*i.d,i.year=i.yr=i.y=365.25*i.d,e["default"]=i},"3d1f":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("fb86"),i=r("1ec9"),o=r("2a12");const a=i.configure(t=>{async function e(e,r={}){const i=await t.post("block/stat",{signal:r.signal,searchParams:o.toUrlSearchParams({arg:e.toString(),...r}),headers:r.headers}),a=await i.json();return{cid:n.CID.parse(a.Key),size:a.Size}}return e});e.createStat=a},"3d5e":function(t,e,r){"use strict";const{URLWithLegacySupport:n,format:i}=r("1f0b");t.exports=(t,e={},r={},o)=>{let a,s=e.protocol?e.protocol.replace(":",""):"http";s=(r[s]||o||s)+":";try{a=new n(t)}catch(c){a={}}const u=Object.assign({},e,{protocol:s||a.protocol,host:e.host||a.host});return new n(t,i(u)).toString()}},"3d86":function(t,e,r){},"3de5":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},r={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"},n=t.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".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:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(t){return t+"வது"},preparse:function(t){return t.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,(function(t){return r[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(t,e,r){return t<2?" யாமம்":t<6?" வைகறை":t<10?" காலை":t<14?" நண்பகல்":t<18?" எற்பாடு":t<22?" மாலை":" யாமம்"},meridiemHour:function(t,e){return 12===t&&(t=0),"யாமம்"===e?t<2?t:t+12:"வைகறை"===e||"காலை"===e||"நண்பகல்"===e&&t>=10?t:t+12},week:{dow:0,doy:6}});return n}))},"3e92":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},r={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"},n=t.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".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:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(t){return t.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,(function(t){return r[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(t,e){return 12===t&&(t=0),"ರಾತ್ರಿ"===e?t<4?t:t+12:"ಬೆಳಿಗ್ಗೆ"===e?t:"ಮಧ್ಯಾಹ್ನ"===e?t>=10?t:t+12:"ಸಂಜೆ"===e?t+12:void 0},meridiem:function(t,e,r){return t<4?"ರಾತ್ರಿ":t<10?"ಬೆಳಿಗ್ಗೆ":t<17?"ಮಧ್ಯಾಹ್ನ":t<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(t){return t+"ನೇ"},week:{dow:0,doy:6}});return n}))},"3ef0":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=globalThis.process&&!globalThis.process.browser&&globalThis.Buffer&&"function"===typeof globalThis.Buffer.isBuffer,i=new TextDecoder,o=new TextEncoder;function a(t){return n&&globalThis.Buffer.isBuffer(t)}function s(t){return t instanceof Uint8Array?a(t)?new Uint8Array(t.buffer,t.byteOffset,t.byteLength):t:Uint8Array.from(t)}const u=n?(t,e,r)=>r-e>64?globalThis.Buffer.from(t.subarray(e,r)).toString("utf8"):b(t,e,r):(t,e,r)=>r-e>64?i.decode(t.subarray(e,r)):b(t,e,r),c=n?t=>t.length>64?globalThis.Buffer.from(t):v(t):t=>t.length>64?o.encode(t):v(t),l=t=>Uint8Array.from(t),h=n?(t,e,r)=>a(t)?new Uint8Array(t.subarray(e,r)):t.slice(e,r):(t,e,r)=>t.slice(e,r),f=n?(t,e)=>(t=t.map(t=>t instanceof Uint8Array?t:globalThis.Buffer.from(t)),s(globalThis.Buffer.concat(t,e))):(t,e)=>{const r=new Uint8Array(e);let n=0;for(let i of t)n+i.length>r.length&&(i=i.subarray(0,r.length-n)),r.set(i,n),n+=i.length;return r},d=n?t=>globalThis.Buffer.allocUnsafe(t):t=>new Uint8Array(t),p=n?t=>"string"===typeof t?t:globalThis.Buffer.from(g(t)).toString("hex"):t=>"string"===typeof t?t:Array.prototype.reduce.call(g(t),(t,e)=>`${t}${e.toString(16).padStart(2,"0")}`,""),m=n?t=>t instanceof Uint8Array?t:globalThis.Buffer.from(t,"hex"):t=>t instanceof Uint8Array?t:t.length?new Uint8Array(t.split("").map((t,e,r)=>e%2===0?`0x${t}${r[e+1]}`:"").filter(Boolean).map(t=>parseInt(t,16))):new Uint8Array(0);function g(t){if(t instanceof Uint8Array&&"Uint8Array"===t.constructor.name)return t;if(t instanceof ArrayBuffer)return new Uint8Array(t);if(ArrayBuffer.isView(t))return new Uint8Array(t.buffer,t.byteOffset,t.byteLength);throw new Error("Unknown type, must be binary type")}function y(t,e){if(a(t)&&a(e))return t.compare(e);for(let r=0;r<t.length;r++)if(t[r]!==e[r])return t[r]<e[r]?-1:1;return 0}function v(t,e=1/0){let r;const n=t.length;let i=null;const o=[];for(let a=0;a<n;++a){if(r=t.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function b(t,e,r){const n=[];while(e<r){const i=t[e];let o=null,a=i>239?4:i>223?3:i>191?2:1;if(e+a<=r){let r,n,s,u;switch(a){case 1:i<128&&(o=i);break;case 2:r=t[e+1],128===(192&r)&&(u=(31&i)<<6|63&r,u>127&&(o=u));break;case 3:r=t[e+1],n=t[e+2],128===(192&r)&&128===(192&n)&&(u=(15&i)<<12|(63&r)<<6|63&n,u>2047&&(u<55296||u>57343)&&(o=u));break;case 4:r=t[e+1],n=t[e+2],s=t[e+3],128===(192&r)&&128===(192&n)&&128===(192&s)&&(u=(15&i)<<18|(63&r)<<12|(63&n)<<6|63&s,u>65535&&u<1114112&&(o=u))}}null===o?(o=65533,a=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|1023&o),n.push(o),e+=a}return w(n)}const _=4096;function w(t){const e=t.length;if(e<=_)return String.fromCharCode.apply(String,t);let r="",n=0;while(n<e)r+=String.fromCharCode.apply(String,t.slice(n,n+=_));return r}e.alloc=d,e.asU8A=s,e.compare=y,e.concat=f,e.decodeCodePointsArray=w,e.fromArray=l,e.fromHex=m,e.fromString=c,e.slice=h,e.toHex=p,e.toString=u,e.useBuffer=n},"3f08":function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function i(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},i=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),i.forEach((function(e){n(t,e,r[e])}))}return t}r.d(e,"a",(function(){return u}));var o=function(t,e,r){Object.defineProperty(t,e,{configurable:!0,get:function(){return r},set:function(t){console.warn("tried to set frozen property ".concat(e," with ").concat(t))}})},a=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;Object.defineProperty(t,e,{configurable:!0,writable:!0,value:r})},s={abstract:!0,name:"Fragment",props:{name:{type:String,default:function(){return Math.floor(Date.now()*Math.random()).toString(16)}},html:{type:String,default:null}},mounted:function(){var t=this.$el,e=t.parentNode;t.__isFragment=!0,t.__isMounted=!1;var r=document.createComment("fragment#".concat(this.name,"#head")),n=document.createComment("fragment#".concat(this.name,"#tail"));t.__head=r,t.__tail=n;var i=document.createDocumentFragment();if(i.appendChild(r),Array.from(t.childNodes).forEach((function(e){var r=!e.hasOwnProperty("__isFragmentChild__");i.appendChild(e),r&&(o(e,"parentNode",t),o(e,"__isFragmentChild__",!0))})),i.appendChild(n),this.html){var a=document.createElement("template");a.innerHTML=this.html,Array.from(a.content.childNodes).forEach((function(t){i.appendChild(t)}))}var s=t.nextSibling;e.insertBefore(i,t,!0),e.removeChild(t),o(t,"parentNode",e),o(t,"nextSibling",s),s&&o(s,"previousSibling",t),t.__isMounted=!0},render:function(t){var e=this,r=this.$slots.default;return r&&r.length&&r.forEach((function(t){return t.data=i({},t.data,{attrs:i({fragment:e.name},(t.data||{}).attrs)})})),t("div",{attrs:{fragment:this.name}},r)}};var u={install:function(t){var e=window.Node.prototype.removeChild;window.Node.prototype.removeChild=function(t){if(!this.__isFragment){if(t.__isFragment&&t.__isMounted){for(;t.__head.nextSibling!==t.__tail;)e.call(this,t.__head.nextSibling);e.call(this,t.__head),e.call(this,t.__tail);var r=t.__head.previousSibling,n=t.__tail.nextSibling;return r&&o(r,"nextSibling",n),n&&o(n,"previousSibling",r),a(t,"parentNode"),t}var i=t.previousSibling,s=t.nextSibling,u=e.call(this,t);return i&&o(i,"nextSibling",s),s&&o(s,"previousSibling",i),u}if(this.parentNode){var c=this.parentNode.removeChild(t);return a(t,"parentNode"),c}};var r=window.Node.prototype.insertBefore;window.Node.prototype.insertBefore=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=e&&e.__isFragment&&e.__isMounted?e.__head:e;if(this.__isFragment){var a=!t.hasOwnProperty("__isFragmentChild__"),s=!n||a;a&&o(t,"__isFragmentChild__",!0);var u=this.parentNode?this.parentNode.insertBefore(t,e):r.call(this,t,i);return s&&o(t,"parentNode",this),u}if(t.__isFragment&&t.__isMounted){if(t===e)return void console.error("something must be wrong");o(t,"parentNode",this),t.previousSibling&&o(t.previousSibling,"nextSibling",t.nextSibling),t.nextSibling&&o(t.nextSibling,"previousSibling",t.previousSibling),o(t,"nextSibling",e),o(t,"previousSibling",e.previousSibling),e.previousSibling&&o(e.previousSibling,"nextSibling",t),o(e,"previousSibling",t);for(var c=document.createDocumentFragment(),l=t.__head;l!==t.__tail;)c.appendChild(l),l=l.nextSibling;return c.appendChild(t.__tail),r.call(this,c,i),t}return r.call(this,t,i)};var n=window.Node.prototype.appendChild;window.Node.prototype.appendChild=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this.__isFragment)return n.call(this,t);if(this.parentNode){var r=!t.hasOwnProperty("__isFragmentChild__"),i=!e||r;r&&o(t,"__isFragmentChild__",!0);var a=this.parentNode.insertBefore(t,this.__tail,e);return i&&o(t,"parentNode",this),a}},t.component("Fragment",s)}}},"3f3d":function(t,e,r){"use strict";r.d(e,"a",(function(){return W})),r.d(e,"e",(function(){return K})),r.d(e,"g",(function(){return X})),r.d(e,"d",(function(){return J})),r.d(e,"c",(function(){return Z})),r.d(e,"b",(function(){return Q})),r.d(e,"i",(function(){return tt})),r.d(e,"f",(function(){return et})),r.d(e,"h",(function(){return rt}));var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"mgl-map-wrapper"},[t._m(0),t.initialized?t._t("default"):t._e()],2)},i=[function(){var t=this,e=t._self._c;return e("div",{ref:"container",attrs:{id:t.container}})}],o={methods:{$_emitEvent(t,e={}){this.$emit(t,{map:this.map,component:this,...e})},$_emitMapEvent(t,e={}){this.$_emitEvent(t.type,{mapboxEvent:t,...e})}}},a={resize:{name:"resize"},webglcontextlost:{name:"webglcontextlost"},webglcontextrestored:{name:"webglcontextrestored"},remove:{name:"remove"},movestart:{name:"movestart"},load:{name:"load"},contextmenu:{name:"contextmenu"},dblclick:{name:"dblclick"},click:{name:"click"},touchcancel:{name:"touchcancel"},touchmove:{name:"touchmove"},touchend:{name:"touchend"},touchstart:{name:"touchstart"},dataloading:{name:"dataloading"},mousemove:{name:"mousemove"},mouseup:{name:"mouseup"},mousedown:{name:"mousedown"},sourcedataloading:{name:"sourcedataloading"},error:{name:"error"},data:{name:"data"},styledata:{name:"styledata"},sourcedata:{name:"sourcedata"},mouseout:{name:"mouseout"},styledataloading:{name:"styledataloading"},moveend:{name:"moveend"},move:{name:"move"},render:{name:"render"},zoom:{name:"zoom"},zoomstart:{name:"zoomstart"},zoomend:{name:"zoomend"},boxzoomstart:{name:"boxzoomstart"},boxzoomcancel:{name:"boxzoomcancel"},boxzoomend:{name:"boxzoomend"},rotate:{name:"rotate"},rotatestart:{name:"rotatestart"},rotateend:{name:"rotateend"},dragend:{name:"dragend"},drag:{name:"drag"},dragstart:{name:"dragstart"},pitch:{name:"pitch"},idle:{name:"idle"}},s={container:{type:[String,HTMLElement],default(){return"map-"+(""+Math.random()).split(".")[1]}},accessToken:{type:String,default:void 0},minZoom:{type:Number,default:0},maxZoom:{type:Number,default:22},mapStyle:{type:[String,Object],required:!0},hash:{type:Boolean,default:!1},interactive:{type:Boolean,default:!0},bearingSnap:{type:Number,default:7},pitchWithRotate:{type:Boolean,default:!0},clickTolerance:{type:Number,default:3},attributionControl:{type:Boolean,default:!0},customAttribution:{type:[String,Array],default:null},logoPosition:{type:String,default:"bottom-left",validator:t=>["top-left","top-right","bottom-left","bottom-right"].includes(t)},failIfMajorPerformanceCaveat:{type:Boolean,default:!1},preserveDrawingBuffer:{type:Boolean,default:!1},refreshExpiredTiles:{type:Boolean,default:!0},maxBounds:{type:Array,default(){}},scrollZoom:{type:[Boolean,Object],default(){return!0}},boxZoom:{type:Boolean,default:!0},dragRotate:{type:Boolean,default:!0},dragPan:{type:Boolean,default:!0},keyboard:{type:Boolean,default:!0},doubleClickZoom:{type:Boolean,default:!0},touchZoomRotate:{type:[Boolean,Object],default(){return!0}},trackResize:{type:Boolean,default:!0},center:{type:[Object,Array],default:void 0},zoom:{type:Number,default:0},bearing:{type:Number,default:0},pitch:{type:Number,default:0},initialBounds:{type:[Object,Array],default:void 0},renderWorldCopies:{type:Boolean,default:!0},RTLTextPluginUrl:{type:String,default:void 0},light:{type:Object,default:void 0},tileBoundaries:{type:Boolean,default:!1},collisionBoxes:{type:Boolean,default:!1},repaint:{type:Boolean,default:!1},transformRequest:{type:Function,default:null},maxTileCacheSize:{type:Number,default:null},localIdeographFontFamily:{type:String,default:null},collectResourceTiming:{type:Boolean,default:!1},fadeDuration:{type:Number,default:300},crossSourceCollisions:{type:Boolean,default:!0}};const u={maxBounds(t){this.map.setMaxBounds(t)},minZoom(t){this.map.setMinZoom(t)},maxZoom(t){this.map.setMaxZoom(t)},mapStyle(t){this.map.setStyle(t)},collisionBoxes(t){this.map.showCollisionBoxes=t},tileBoundaries(t){this.map.showTileBoundaries=t},repaint(t){this.map.repaint=t},zoom(t){this.map.setZoom(t)},center(t){this.map.setCenter(t)},bearing(t){this.map.setBearing(t)},pitch(t){this.map.setPitch(t)},light(t){this.map.setLigh(t)}};function c(t,e,r,n){this.initial||(this.$listeners["update:"+t]?(this.propsIsUpdating[t]?(this._watcher.active=!1,this.$nextTick(()=>{this._watcher.active=!0})):(this._watcher.active=!0,e(r,n)),this.propsIsUpdating[t]=!1):e(r,n))}function l(){const t={};return Object.entries(u).forEach(e=>{t[e[0]]=function(t,r){return c.call(this,e[0],e[1].bind(this),t,r)}}),t}var h={watch:l()},f={methods:{$_updateSyncedPropsFabric(t,e){return()=>{this.propsIsUpdating[t]=!0;let r="function"===typeof e?e():e;return this.$emit("update:"+t,r)}},$_bindPropsUpdateEvents(){const t=[{events:["moveend"],prop:"center",getter:this.map.getCenter.bind(this.map)},{events:["zoomend"],prop:"zoom",getter:this.map.getZoom.bind(this.map)},{events:["rotate"],prop:"bearing",getter:this.map.getBearing.bind(this.map)},{events:["pitch"],prop:"pitch",getter:this.map.getPitch.bind(this.map)}];t.forEach(({events:t,prop:e,getter:r})=>{t.forEach(t=>{this.$listeners["update:"+e]&&this.map.on(t,this.$_updateSyncedPropsFabric(e,r))})})},$_loadMap(){return this.mapboxPromise.then(t=>(this.mapbox=t.default?t.default:t,new Promise(t=>{this.accessToken&&(this.mapbox.accessToken=this.accessToken);const e=new this.mapbox.Map({...this._props,container:this.$refs.container,style:this.mapStyle});e.on("load",()=>t(e))})))},$_RTLTextPluginError(t){this.$emit("rtl-plugin-error",{map:this.map,error:t})},$_bindMapEvents(t){Object.keys(this.$listeners).forEach(e=>{t.includes(e)&&this.map.on(e,this.$_emitMapEvent)})},$_unbindEvents(t){t.forEach(t=>{this.map.off(t,this.$_emitMapEvent)})}}},d=r("7f84"),p=r.n(d),m={created(){this.actions={}},methods:{$_registerAsyncActions(t){this.actions={...p()(t),stop(){this.map.stop();const t={pitch:this.map.getPitch(),zoom:this.map.getZoom(),bearing:this.map.getBearing(),center:this.map.getCenter()};return Object.entries(t).forEach(t=>{this.$_updateSyncedPropsFabric(t[0],t[1])()}),Promise.resolve(t)}}}}},g={name:"GlMap",mixins:[h,m,f,o],props:{mapboxGl:{type:Object,default:null},...s},provide(){const t=this;return{get mapbox(){return t.mapbox},get map(){return t.map},get actions(){return t.actions}}},data(){return{initial:!0,initialized:!1}},computed:{loaded(){return!!this.map&&this.map.loaded()},version(){return this.map?this.map.version:null},bounds(){return this.map?this.map.getBounds():null},isStyleLoaded(){return!!this.map&&this.map.isStyleLoaded()},areTilesLoaded(){return!!this.map&&this.map.areTilesLoaded()},isMoving(){return!!this.map&&this.map.isMoving()},canvas(){return this.map?this.map.getCanvas():null},canvasContainer(){return this.map?this.map.getCanvasContainer():null},images(){return this.map?this.map.listImages():null}},created(){this.map=null,this.propsIsUpdating={},this.mapboxPromise=this.mapboxGl?Promise.resolve(this.mapboxGl):r.e("chunk-2d22497b").then(r.t.bind(null,"e192",7))},mounted(){this.$_loadMap().then(t=>{this.map=t,void 0!==this.RTLTextPluginUrl&&this.mapbox.setRTLTextPlugin(this.RTLTextPluginUrl,this.$_RTLTextPluginError);const e=Object.keys(a);this.$_bindMapEvents(e),this.$_registerAsyncActions(t),this.$_bindPropsUpdateEvents(),this.initial=!1,this.initialized=!0,this.$emit("load",{map:t,component:this})})},beforeDestroy(){this.$nextTick(()=>{this.map&&this.map.remove()})}},y=g,v=(r("8d93"),r("2877")),b=Object(v["a"])(y,n,i,!1,null,null,null),_=b.exports,w={methods:{$_emitSelfEvent(t,e={}){this.$_emitMapEvent(t,{control:this.control,...e})},$_bindSelfEvents(t,e){Object.keys(this.$listeners).forEach(r=>{t.includes(r)&&e.on(r,this.$_emitSelfEvent)})},$_unbindSelfEvents(t,e){0!==t.length&&e&&t.forEach(t=>{e.off(t,this.$_emitSelfEvent)})}}},x={mixins:[o,w],inject:["mapbox","map","actions"],props:{position:{type:String,default:"top-right"}},beforeDestroy(){this.map&&this.control&&this.map.removeControl(this.control)},methods:{$_addControl(){try{this.map.addControl(this.control,this.position)}catch(t){return void this.$_emitEvent("error",{error:t})}this.$_emitEvent("added",{control:this.control})}},render(){}},k={name:"NavigationControl",mixins:[x],props:{showCompass:{type:Boolean,default:!0},showZoom:{type:Boolean,default:!0}},created(){this.control=new this.mapbox.NavigationControl(this.$props),this.$_addControl()}};const S={trackuserlocationstart:"trackuserlocationstart",trackuserlocationend:"trackuserlocationend",geolocate:"geolocate",error:"error"};var E={name:"GeolocateControl",mixins:[o,w,x],props:{positionOptions:{type:Object,default(){return{enableHighAccuracy:!1,timeout:6e3}}},fitBoundsOptions:{type:Object,default:()=>({maxZoom:15})},trackUserLocation:{type:Boolean,default:!1},showUserLocation:{type:Boolean,default:!0}},created(){const t=this.mapbox.GeolocateControl;this.control=new t(this.$props),this.$_addControl(),this.$_bindSelfEvents(Object.keys(S),this.control)},methods:{trigger(){if(this.control)return this.control.trigger()}}},M={name:"FullscreenControl",mixins:[x],props:{container:{type:HTMLElement,default:void 0}},created(){this.control=new this.mapbox.FullscreenControl(this.$props),this.$_addControl()}},A={name:"AttributionControl",mixins:[x],props:{compact:{type:Boolean,default:!0},customAttribution:{type:[String,Array],deafault:void 0}},created(){this.control=new this.mapbox.AttributionControl(this.$props),this.$_addControl()}},T={name:"ScaleControl",mixins:[x],props:{maxWidth:{type:Number,default:150},unit:{type:String,default:"metric",validator(t){return["imperial","metric","nautical"].includes(t)}}},watch:{unit(t,e){this.control&&t!==e&&this.control.setUnit(t)}},created(){this.control=new this.mapbox.ScaleControl(this.$props),this.$_addControl()}},C=function(){var t=this,e=t._self._c;return e("div",{staticStyle:{display:"none"}},[t._t("marker"),t.marker?t._t("default"):t._e()],2)},L=[];const P={drag:"drag",dragstart:"dragstart",dragend:"dragend"},O={click:"click",mouseenter:"mouseenter",mouseleave:"mouseleave"};var I={name:"MapMarker",mixins:[o,w],inject:["mapbox","map"],provide(){const t=this;return{get marker(){return t.marker}}},props:{offset:{type:[Object,Array],default:()=>[0,0]},coordinates:{type:Array,required:!0},color:{type:String},anchor:{type:String,default:"center"},draggable:{type:Boolean,default:!1}},data(){return{initial:!0,marker:void 0}},watch:{coordinates(t){this.initial||this.marker.setLngLat(t)},draggable(t){this.initial||this.marker.setDraggable(t)}},mounted(){const t={...this.$props};this.$slots.marker&&(t.element=this.$slots.marker[0].elm),this.marker=new this.mapbox.Marker(t),this.$listeners["update:coordinates"]&&this.marker.on("dragend",t=>{let e;e=this.coordinates instanceof Array?[t.target._lngLat.lng,t.target._lngLat.lat]:t.target._lngLat,this.$emit("update:coordinates",e)});const e=Object.keys(P);this.$_bindSelfEvents(e,this.marker),this.initial=!1,this.$_addMarker()},beforeDestroy(){void 0!==this.map&&void 0!==this.marker&&this.marker.remove()},methods:{$_addMarker(){this.marker.setLngLat(this.coordinates).addTo(this.map),this.$_bindMarkerDOMEvents(),this.$_emitEvent("added",{marker:this.marker})},$_emitSelfEvent(t){this.$_emitMapEvent(t,{marker:this.marker})},$_bindMarkerDOMEvents(){Object.keys(this.$listeners).forEach(t=>{Object.values(O).includes(t)&&this.marker._element.addEventListener(t,t=>{this.$_emitSelfEvent(t)})})},remove(){this.marker.remove(),this.$_emitEvent("removed")},togglePopup(){return this.marker.togglePopup()}}},D=I,B=Object(v["a"])(D,C,L,!1,null,null,null),j=B.exports,N=function(){var t=this,e=t._self._c;return e("div",{staticStyle:{display:"none"}},[t._t("default")],2)},R=[];const F={open:"open",close:"close"};var Y={name:"Popup",mixins:[o,w],inject:{mapbox:{default:null},map:{default:null},marker:{default:null}},props:{closeButton:{type:Boolean,default:!0},closeOnClick:{type:Boolean,default:!0},anchor:{validator(t){let e=["top","bottom","left","right","top-left","top-right","bottom-left","bottom-right"];return"string"===typeof t&&e.includes(t)},default:void 0},offset:{type:[Number,Object,Array],default:()=>[0,0]},coordinates:{type:Array},onlyText:{type:Boolean,default:!1},showed:{type:Boolean,default:!1}},data(){return{initial:!0,popup:void 0}},computed:{open:{get(){return void 0!==this.popup&&this.popup.isOpen()},set(t){this.map&&this.popup&&(t?this.popup.remove():this.popup.addTo(this.map))}}},watch:{coordinates(t){this.initial||this.popup.setLngLat(t)},showed(t,e){t!==e&&(this.open=t,this.marker&&this.marker.togglePopup())}},created(){this.popup=new this.mapbox.Popup(this.$props)},mounted(){this.$_addPopup(),this.initial=!1},beforeDestroy(){this.map&&(this.popup.remove(),this.$_emitEvent("removed"))},methods:{$_addPopup(){if(this.popup=new this.mapbox.Popup(this.$props),void 0!==this.coordinates&&this.popup.setLngLat(this.coordinates),void 0!==this.$slots.default)if(this.onlyText)if(3===this.$slots.default[0].elm.nodeType){let t=document.createElement("span");t.appendChild(this.$slots.default[0].elm),this.popup.setText(t.innerText)}else this.popup.setText(this.$slots.default[0].elm.innerText);else this.popup.setDOMContent(this.$slots.default[0].elm);this.$_bindSelfEvents(Object.keys(F),this.popup),this.$_emitEvent("added",{popup:this.popup}),this.marker&&this.marker.setPopup(this.popup),this.showed&&(this.open=!0,this.marker&&this.marker.togglePopup())},$_emitSelfEvent(t){this.$_emitMapEvent(t,{popup:this.popup})},remove(){this.popup.remove(),this.$_emitEvent("remove",{popup:this.popup})}}},U=Y,H=Object(v["a"])(U,N,R,!1,null,null,null),z=H.exports;const V={sourceId:{type:String,required:!0},source:{type:[Object,String],default:void 0}},$={layerId:{type:String,required:!0},layer:{type:Object,required:!0},before:{type:String,default:void 0}},q={clearSource:{type:Boolean,default:!0},replaceSource:{type:Boolean,default:!1},replace:{type:Boolean,default:!1}};var G={mixins:[o],props:{...V,...$,...q},inject:["mapbox","map"],data(){return{initial:!0}},computed:{sourceLoaded(){return!!this.map&&this.map.isSourceLoaded(this.sourceId)},mapLayer(){return this.map?this.map.getLayer(this.layerId):null},mapSource(){return this.map?this.map.getSource(this.sourceId):null}},created(){this.layer.minzoom&&this.$watch("layer.minzoom",(function(t){this.initial||this.map.setLayerZoomRange(this.layerId,t,this.layer.maxzoom)})),this.layer.maxzoom&&this.$watch("layer.maxzoom",(function(t){this.initial||this.map.setLayerZoomRange(this.layerId,this.layer.minzoom,t)})),this.layer.paint&&this.$watch("layer.paint",(function(t){if(!this.initial&&t)for(let e of Object.keys(t))this.map.setPaintProperty(this.layerId,e,t[e])}),{deep:!0}),this.layer.layout&&this.$watch("layer.layout",(function(t){if(!this.initial&&t)for(let e of Object.keys(t))this.map.setLayoutProperty(this.layerId,e,t[e])}),{deep:!0}),this.layer.filter&&this.$watch("layer.filter",(function(t){this.initial||this.map.setFilter(this.layerId,t)}),{deep:!0})},beforeDestroy(){if(this.map&&this.map.loaded()){try{this.map.removeLayer(this.layerId)}catch(t){this.$_emitEvent("layer-does-not-exist",{layerId:this.sourceId,error:t})}if(this.clearSource)try{this.map.removeSource(this.sourceId)}catch(t){this.$_emitEvent("source-does-not-exist",{sourceId:this.sourceId,error:t})}}},methods:{$_emitLayerMapEvent(t){return this.$_emitMapEvent(t,{layerId:this.layerId})},$_bindLayerEvents(t){Object.keys(this.$listeners).forEach(e=>{t.includes(e)&&this.map.on(e,this.layerId,this.$_emitLayerMapEvent)})},$_unbindEvents(t){this.map&&t.forEach(t=>{this.map.off(t,this.layerId,this.$_emitLayerMapEvent)})},$_watchSourceLoading(t){"source"===t.dataType&&t.sourceId===this.sourceId&&(this.$_emitEvent("layer-source-loading",{sourceId:this.sourceId}),this.map.off("dataloading",this.$_watchSourceLoading))},move(t){this.map.moveLayer(this.layerId,t),this.$_emitEvent("layer-moved",{layerId:this.layerId,beforeId:t})},remove(){this.map.removeLayer(this.layerId),this.map.removeSource(this.sourceId),this.$_emitEvent("layer-removed",{layerId:this.layerId}),this.$destroy()}},render(){}};const W={withEvents:o,withSelfEvents:w,asControl:x,asLayer:G},K=_,X=k,J=E,Z=M,Q=A,tt=T,et=j,rt=z},"3fcf":function(t,e,r){(function(){var e={};t.exports=e,e.simpleFilter=function(t,r){return r.filter((function(r){return e.test(t,r)}))},e.test=function(t,r){return null!==e.match(t,r)},e.match=function(t,e,r){r=r||{};var n,i=0,o=[],a=e.length,s=0,u=0,c=r.pre||"",l=r.post||"",h=r.caseSensitive&&e||e.toLowerCase();t=r.caseSensitive&&t||t.toLowerCase();for(var f=0;f<a;f++)n=e[f],h[f]===t[i]?(n=c+n+l,i+=1,u+=1+u):u=0,s+=u,o[o.length]=n;return i===t.length?(s=h===t?1/0:s,{rendered:o.join(""),score:s}):null},e.filter=function(t,r,n){return r&&0!==r.length?"string"!==typeof t?r:(n=n||{},r.reduce((function(r,i,o,a){var s=i;n.extract&&(s=n.extract(i));var u=e.match(t,s,n);return null!=u&&(r[r.length]={string:u.rendered,score:u.score,index:o,original:i}),r}),[]).sort((function(t,e){var r=e.score-t.score;return r||t.index-e.index}))):[]}})()},"40dc":function(t,e,r){"use strict";r("8b0d");var n=r("71d9"),i=r("f977"),o=r("3a66"),a=r("277e"),s=r("d10f"),u=r("f2e7"),c=r("80d2"),l=r("58df");const h=Object(l["a"])(n["a"],a["a"],s["a"],u["a"],Object(o["a"])("top",["clippedLeft","clippedRight","computedHeight","invertedScroll","isExtended","isProminent","value"]));e["a"]=h.extend({name:"v-app-bar",directives:{Scroll:i["b"]},provide(){return{VAppBar:this}},props:{clippedLeft:Boolean,clippedRight:Boolean,collapseOnScroll:Boolean,elevateOnScroll:Boolean,fadeImgOnScroll:Boolean,hideOnScroll:Boolean,invertedScroll:Boolean,scrollOffScreen:Boolean,shrinkOnScroll:Boolean,value:{type:Boolean,default:!0}},data(){return{isActive:this.value}},computed:{applicationProperty(){return this.bottom?"bottom":"top"},canScroll(){return a["a"].options.computed.canScroll.call(this)&&(this.invertedScroll||this.elevateOnScroll||this.hideOnScroll||this.collapseOnScroll||this.isBooted||!this.value)},classes(){return{...n["a"].options.computed.classes.call(this),"v-toolbar--collapse":this.collapse||this.collapseOnScroll,"v-app-bar":!0,"v-app-bar--clipped":this.clippedLeft||this.clippedRight,"v-app-bar--fade-img-on-scroll":this.fadeImgOnScroll,"v-app-bar--elevate-on-scroll":this.elevateOnScroll,"v-app-bar--fixed":!this.absolute&&(this.app||this.fixed),"v-app-bar--hide-shadow":this.hideShadow,"v-app-bar--is-scrolled":this.currentScroll>0,"v-app-bar--shrink-on-scroll":this.shrinkOnScroll}},scrollRatio(){const t=this.computedScrollThreshold;return Math.max((t-this.currentScroll)/t,0)},computedContentHeight(){if(!this.shrinkOnScroll)return n["a"].options.computed.computedContentHeight.call(this);const t=this.dense?48:56,e=this.computedOriginalHeight;return t+(e-t)*this.scrollRatio},computedFontSize(){if(!this.isProminent)return;const t=1.25,e=1.5;return t+(e-t)*this.scrollRatio},computedLeft(){return!this.app||this.clippedLeft?0:this.$vuetify.application.left},computedMarginTop(){return this.app?this.$vuetify.application.bar:0},computedOpacity(){if(this.fadeImgOnScroll)return this.scrollRatio},computedOriginalHeight(){let t=n["a"].options.computed.computedContentHeight.call(this);return this.isExtended&&(t+=parseInt(this.extensionHeight)),t},computedRight(){return!this.app||this.clippedRight?0:this.$vuetify.application.right},computedScrollThreshold(){return this.scrollThreshold?Number(this.scrollThreshold):this.computedOriginalHeight-(this.dense?48:56)},computedTransform(){if(!this.canScroll||this.elevateOnScroll&&0===this.currentScroll&&this.isActive)return 0;if(this.isActive)return 0;const t=this.scrollOffScreen?this.computedHeight:this.computedContentHeight;return this.bottom?t:-t},hideShadow(){return this.elevateOnScroll&&this.isExtended?this.currentScroll<this.computedScrollThreshold:this.elevateOnScroll?0===this.currentScroll||this.computedTransform<0:(!this.isExtended||this.scrollOffScreen)&&0!==this.computedTransform},isCollapsed(){return this.collapseOnScroll?this.currentScroll>0:n["a"].options.computed.isCollapsed.call(this)},isProminent(){return n["a"].options.computed.isProminent.call(this)||this.shrinkOnScroll},styles(){return{...n["a"].options.computed.styles.call(this),fontSize:Object(c["i"])(this.computedFontSize,"rem"),marginTop:Object(c["i"])(this.computedMarginTop),transform:`translateY(${Object(c["i"])(this.computedTransform)})`,left:Object(c["i"])(this.computedLeft),right:Object(c["i"])(this.computedRight)}}},watch:{canScroll:"onScroll",computedTransform(){this.canScroll&&(this.clippedLeft||this.clippedRight)&&this.callUpdate()},invertedScroll(t){this.isActive=!t||0!==this.currentScroll},hideOnScroll(t){this.isActive=!t||this.currentScroll<this.computedScrollThreshold}},created(){this.invertedScroll&&(this.isActive=!1)},methods:{genBackground(){const t=n["a"].options.methods.genBackground.call(this);return t.data=this._b(t.data||{},t.tag,{style:{opacity:this.computedOpacity}}),t},updateApplication(){return this.invertedScroll?0:this.computedHeight+this.computedTransform},thresholdMet(){this.invertedScroll?this.isActive=this.currentScroll>this.computedScrollThreshold:(this.hideOnScroll&&(this.isActive=this.isScrollingUp||this.currentScroll<this.computedScrollThreshold),this.currentThreshold<this.computedScrollThreshold||(this.savedScroll=this.currentScroll))}},render(t){const e=n["a"].options.render.call(this,t);return e.data=e.data||{},this.canScroll&&(e.data.directives=e.data.directives||[],e.data.directives.push({arg:this.scrollTarget,name:"scroll",value:this.onScroll})),e}})},4133:function(t,e,r){"use strict";var n=r("885b"),i=r.n(n),o=r("3f3d");const a={clear:"clear",loading:"loading",results:"results",result:"result",error:"error"};var s={name:"GeocoderControl",mixins:[o["a"].asControl],inject:["mapbox","map"],props:{accessToken:{type:String,required:!0},zoom:{type:Number,default:16},flyTo:{type:Boolean,default:!0},placeholder:{type:String,default:"Search"},proximity:{type:Object,default:null},trackProximity:{type:Boolean,default:!1},bbox:{type:Array,default:null},types:{type:String,default:null},country:{type:String,default:null},minLength:{type:Number,default:2},limit:{type:Number,default:5},language:{type:String,default:null},filter:{type:Function,default:null},localGeocoder:{type:Function,default:null},input:{type:String,default:null}},data(){return{initial:!0}},watch:{input:{handler(t,e){this.control&&t!==e&&this.control.setInput(t)},immediate:!0},proximity(t,e){this.control&&t!==e&&this.control.setProximity(t)}},created(){this.control=null,this.accessToken&&!this.mapbox.accessToken&&(this.mapbox.accessToken=this.accessToken),this.control=new i.a(this.$props),this.control.on("results",this.$_updateInput),this.$_deferredMount()},beforeDestroy(){this.control.off("results",this.$_updateInput)},methods:{$_deferredMount(){this.map.addControl(this.control),this.input&&this.control.setInput(this.input),this.$_emitEvent("added",{geocoder:this.control}),this.$_bindSelfEvents(Object.keys(a)),this.initial=!1},$_bindSelfEvents(t){const e=this;Object.keys(this.$listeners).forEach(r=>{t.includes(r)&&this.control.on(r,e.$_emitControlEvent.bind(e,r))})},$_emitControlEvent(t,e){return this.$_emitSelfEvent({type:t},e)},$_updateInput(t){if(!this.initial){const e=t.query?t.query.join(""):"";this.$emit("update:input",e)}},query(t){return this.control?(this.$emit("update:input",t),this.contol.query(t)):null}}};e["a"]=s},"41c5":function(t,e,r){"use strict";const n=async t=>{const e=[];for await(const r of t)e.push(r);return e};t.exports=n},"41f4":function(t,e,r){"use strict";var n=r("ac7c");r.d(e,"a",(function(){return n["a"]}));var i=r("9e88");r.d(e,"b",(function(){return i["a"]}));n["a"],i["a"]},"423e":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".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:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}});return e}))},"42d3":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("fb86"),i=r("1ec9"),o=r("2a12");const a=i.configure(t=>{async function e(e={}){const r=await(await t.post("bitswap/wantlist",{signal:e.signal,searchParams:o.toUrlSearchParams(e),headers:e.headers})).json();return(r.Keys||[]).map(t=>n.CID.parse(t["/"]))}return e});e.createWantlist=a},4362:function(t,e,r){e.nextTick=function(t){var e=Array.prototype.slice.call(arguments);e.shift(),setTimeout((function(){t.apply(null,e)}),0)},e.platform=e.arch=e.execPath=e.title="browser",e.pid=1,e.browser=!0,e.env={},e.argv=[],e.binding=function(t){throw new Error("No such module. (Possibly not yet loaded)")},function(){var t,n="/";e.cwd=function(){return n},e.chdir=function(e){t||(t=r("df7c")),n=t.resolve(e,n)}}(),e.exit=e.kill=e.umask=e.dlopen=e.uptime=e.memoryUsage=e.uvCounters=function(){},e.features={}},"440c":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
function e(t,e,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 e?i[r][0]:i[r][1]}function r(t){var e=t.substr(0,t.indexOf(" "));return i(e)?"a "+t:"an "+t}function n(t){var e=t.substr(0,t.indexOf(" "));return i(e)?"viru "+t:"virun "+t}function i(t){if(t=parseInt(t,10),isNaN(t))return!1;if(t<0)return!0;if(t<10)return 4<=t&&t<=7;if(t<100){var e=t%10,r=t/10;return i(0===e?r:e)}if(t<1e4){while(t>=10)t/=10;return i(t)}return t/=1e3,i(t)}var o=t.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_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éindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_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ëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:r,past:n,s:"e puer Sekonnen",ss:"%d Sekonnen",m:e,mm:"%d Minutten",h:e,hh:"%d Stonnen",d:e,dd:"%d Deeg",M:e,MM:"%d Méint",y:e,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o}))},"449d":function(t,e,r){"use strict";const n=r("670b"),i=(t,e)=>({path:decodeURIComponent(new URL(t).pathname.split("/").pop()||""),content:o(t,e)});async function*o(t,e){const r=new n,i=await r.get(t,e);yield*i.iterator()}t.exports=i},"44f3":function(t,e,r){"use strict";var n=r("fe57");r.d(e,"c",(function(){return n["a"]}));var i=r("71a3");r.d(e,"a",(function(){return i["a"]}));var o=r("aac8");r.d(e,"d",(function(){return o["a"]}));var a=r("c671");r.d(e,"b",(function(){return a["a"]}));var s=r("9a96");r.d(e,"e",(function(){return s["a"]}));n["a"],i["a"],o["a"],a["a"],s["a"]},4581:function(t,e,r){"use strict";e["a"]=null},"45b9":function(t,e,r){"use strict";e.encode=r("6c57"),e.decode=r("92cd")},4754:function(t,e,r){"use strict";var n=r("5e29"),i=r("a9ad"),o=r("c995"),a=r("7560"),s=r("58df"),u=r("80d2");e["a"]=Object(s["a"])(i["a"],o["a"],a["a"]).extend({name:"picker",props:{flat:Boolean,fullWidth:Boolean,headerColor:String,landscape:Boolean,noTitle:Boolean,width:{type:[Number,String],default:290}},methods:{genPickerTitle(){return null},genPickerBody(){return null},genPickerActionsSlot(){return this.$scopedSlots.default?this.$scopedSlots.default({save:this.save,cancel:this.cancel}):Object(u["u"])(this)},genPicker(t){const e=[];if(!this.noTitle){const t=this.genPickerTitle();t&&e.push(t)}const r=this.genPickerBody();return r&&e.push(r),e.push(this.$createElement("template",{slot:"actions"},[this.genPickerActionsSlot()])),this.$createElement(n["b"],{staticClass:t,props:{color:this.headerColor||this.color,dark:this.dark,elevation:this.elevation,flat:this.flat,fullWidth:this.fullWidth,landscape:this.landscape,light:this.light,width:this.width,noTitle:this.noTitle}},e)}}})},4790:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("92b8"),i=r("9975"),o=r("1ec9");function a(t){return t&&"object"===typeof t&&"default"in t?t:{default:t}}var s=a(i);function u(t){const e=n.createAddAll(t);return o.configure(()=>{async function t(t,r={}){return s["default"](e([{path:t,...r}],r))}return t})(t)}e.createAdd=u},"47f5":function(t,e,r){"use strict";var n=r("53a8"),i=r("3fcf"),o=r("497f"),a=function(t,e,r){return r=r||{},this.options=n({minLength:2,limit:5,filter:!0,hideOnBlur:!0},r),this.el=t,this.data=e||[],this.list=new o(this),this.query="",this.selected=null,this.list.draw(),this.el.addEventListener("keyup",function(t){this.handleKeyUp(t.keyCode)}.bind(this),!1),this.el.addEventListener("keydown",function(t){this.handleKeyDown(t)}.bind(this)),this.el.addEventListener("focus",function(){this.handleFocus()}.bind(this)),this.el.addEventListener("blur",function(){this.handleBlur()}.bind(this)),this.el.addEventListener("paste",function(t){this.handlePaste(t)}.bind(this)),this.render=this.options.render?this.options.render.bind(this):this.render.bind(this),this.getItemValue=this.options.getItemValue?this.options.getItemValue.bind(this):this.getItemValue.bind(this),this};a.prototype.handleKeyUp=function(t){40!==t&&38!==t&&27!==t&&13!==t&&9!==t&&this.handleInputChange(this.el.value)},a.prototype.handleKeyDown=function(t){switch(t.keyCode){case 13:case 9:this.list.isEmpty()||(this.list.isVisible()&&t.preventDefault(),this.value(this.list.items[this.list.active].original),this.list.hide());break;case 27:this.list.isEmpty()||this.list.hide();break;case 38:this.list.previous();break;case 40:this.list.next();break}},a.prototype.handleBlur=function(){!this.list.selectingListItem&&this.options.hideOnBlur&&this.list.hide()},a.prototype.handlePaste=function(t){if(t.clipboardData)this.handleInputChange(t.clipboardData.getData("Text"));else{var e=this;setTimeout((function(){e.handleInputChange(t.target.value)}),100)}},a.prototype.handleInputChange=function(t){this.query=this.normalize(t),this.list.clear(),this.query.length<this.options.minLength?this.list.draw():this.getCandidates(function(t){for(var e=0;e<t.length;e++)if(this.list.add(t[e]),e===this.options.limit-1)break;this.list.draw()}.bind(this))},a.prototype.handleFocus=function(){this.list.isEmpty()||this.list.show(),this.list.selectingListItem=!1},a.prototype.update=function(t){this.data=t,this.handleKeyUp()},a.prototype.clear=function(){this.data=[],this.list.clear()},a.prototype.normalize=function(t){return t=t.toLowerCase(),t},a.prototype.match=function(t,e){return t.indexOf(e)>-1},a.prototype.value=function(t){if(this.selected=t,this.el.value=this.getItemValue(t),document.createEvent){var e=document.createEvent("HTMLEvents");e.initEvent("change",!0,!1),this.el.dispatchEvent(e)}else this.el.fireEvent("onchange")},a.prototype.getCandidates=function(t){var e,r={pre:"<strong>",post:"</strong>",extract:function(t){return this.getItemValue(t)}.bind(this)};this.options.filter?(e=i.filter(this.query,this.data,r),e=e.map(function(t){return{original:t.original,string:this.render(t.original,t.string)}}.bind(this))):e=this.data.map(function(t){var e=this.render(t);return{original:t,string:e}}.bind(this)),t(e)},a.prototype.getItemValue=function(t){return t},a.prototype.render=function(t,e){if(e)return e;var r=t.original?this.getItemValue(t.original):this.getItemValue(t),n=this.normalize(r),i=n.lastIndexOf(this.query);while(i>-1){var o=i+this.query.length;r=r.slice(0,i)+"<strong>"+r.slice(i,o)+"</strong>"+r.slice(o),i=n.slice(0,i).lastIndexOf(this.query)}return r},a.prototype.renderError=function(t){this.list.drawError(t)},t.exports=a},4804:function(t,e,r){},"480e":function(t,e,r){"use strict";var n=r("7560");e["a"]=n["a"].extend({name:"v-theme-provider",props:{root:Boolean},computed:{isDark(){return this.root?this.rootIsDark:n["a"].options.computed.isDark.call(this)}},render(){return this.$slots.default&&this.$slots.default.find(t=>!t.isComment&&" "!==t.text)}})},"485c":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"},r=t.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".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:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"bir neçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(t){return/^(gündüz|axşam)$/.test(t)},meridiem:function(t,e,r){return t<4?"gecə":t<12?"səhər":t<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(t){if(0===t)return t+"-ıncı";var r=t%10,n=t%100-r,i=t>=100?100:null;return t+(e[r]||e[n]||e[i])},week:{dow:1,doy:7}});return r}))},"490a":function(t,e,r){"use strict";r("8d4f");var n=r("90a2"),i=r("a9ad"),o=r("80d2");e["a"]=i["a"].extend({name:"v-progress-circular",directives:{intersect:n["b"]},props:{button:Boolean,indeterminate:Boolean,rotate:{type:[Number,String],default:0},size:{type:[Number,String],default:32},width:{type:[Number,String],default:4},value:{type:[Number,String],default:0}},data:()=>({radius:20,isVisible:!0}),computed:{calculatedSize(){return Number(this.size)+(this.button?8:0)},circumference(){return 2*Math.PI*this.radius},classes(){return{"v-progress-circular--visible":this.isVisible,"v-progress-circular--indeterminate":this.indeterminate,"v-progress-circular--button":this.button}},normalizedValue(){return this.value<0?0:this.value>100?100:parseFloat(this.value)},strokeDashArray(){return Math.round(1e3*this.circumference)/1e3},strokeDashOffset(){return(100-this.normalizedValue)/100*this.circumference+"px"},strokeWidth(){return Number(this.width)/+this.size*this.viewBoxSize*2},styles(){return{height:Object(o["i"])(this.calculatedSize),width:Object(o["i"])(this.calculatedSize)}},svgStyles(){return{transform:`rotate(${Number(this.rotate)}deg)`}},viewBoxSize(){return this.radius/(1-Number(this.width)/+this.size)}},methods:{genCircle(t,e){return this.$createElement("circle",{class:"v-progress-circular__"+t,attrs:{fill:"transparent",cx:2*this.viewBoxSize,cy:2*this.viewBoxSize,r:this.radius,"stroke-width":this.strokeWidth,"stroke-dasharray":this.strokeDashArray,"stroke-dashoffset":e}})},genSvg(){const t=[this.indeterminate||this.genCircle("underlay",0),this.genCircle("overlay",this.strokeDashOffset)];return this.$createElement("svg",{style:this.svgStyles,attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:`${this.viewBoxSize} ${this.viewBoxSize} ${2*this.viewBoxSize} ${2*this.viewBoxSize}`}},t)},genInfo(){return this.$createElement("div",{staticClass:"v-progress-circular__info"},Object(o["u"])(this))},onObserve(t,e,r){this.isVisible=r}},render(t){return t("div",this.setTextColor(this.color,{staticClass:"v-progress-circular",attrs:{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":this.indeterminate?void 0:this.normalizedValue},class:this.classes,directives:[{name:"intersect",value:this.onObserve}],style:this.styles,on:this.$listeners}),[this.genSvg(),this.genInfo()])}})},"495d":function(t,e,r){},"497f":function(t,e,r){"use strict";var n=function(t){return this.component=t,this.items=[],this.active=0,this.wrapper=document.createElement("div"),this.wrapper.className="suggestions-wrapper",this.element=document.createElement("ul"),this.element.className="suggestions",this.wrapper.appendChild(this.element),this.selectingListItem=!1,t.el.parentNode.insertBefore(this.wrapper,t.el.nextSibling),this};n.prototype.show=function(){this.element.style.display="block"},n.prototype.hide=function(){this.element.style.display="none"},n.prototype.add=function(t){this.items.push(t)},n.prototype.clear=function(){this.items=[],this.active=0},n.prototype.isEmpty=function(){return!this.items.length},n.prototype.isVisible=function(){return"block"===this.element.style.display},n.prototype.draw=function(){if(this.element.innerHTML="",0!==this.items.length){for(var t=0;t<this.items.length;t++)this.drawItem(this.items[t],this.active===t);this.show()}else this.hide()},n.prototype.drawItem=function(t,e){var r=document.createElement("li"),n=document.createElement("a");e&&(r.className+=" active"),n.innerHTML=t.string,r.appendChild(n),this.element.appendChild(r),r.addEventListener("mousedown",function(){this.selectingListItem=!0}.bind(this)),r.addEventListener("mouseup",function(){this.handleMouseUp.call(this,t)}.bind(this))},n.prototype.handleMouseUp=function(t){this.selectingListItem=!1,this.component.value(t.original),this.clear(),this.draw()},n.prototype.move=function(t){this.active=t,this.draw()},n.prototype.previous=function(){this.move(0===this.active?this.items.length-1:this.active-1)},n.prototype.next=function(){this.move(this.active===this.items.length-1?0:this.active+1)},n.prototype.drawError=function(t){var e=document.createElement("li");e.innerHTML=t,this.element.appendChild(e),this.show()},t.exports=n},"49ab":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"中午"===e?t>=11?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,r){var n=100*t+e;return n<600?"凌晨":n<900?"早上":n<1200?"上午":1200===n?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}});return e}))},"49e2":function(t,e,r){"use strict";var n=r("0789"),i=r("9d65"),o=r("a9ad"),a=r("3206"),s=r("80d2"),u=r("58df");const c=Object(u["a"])(i["a"],o["a"],Object(a["a"])("expansionPanel","v-expansion-panel-content","v-expansion-panel"));e["a"]=c.extend().extend({name:"v-expansion-panel-content",data:()=>({isActive:!1}),computed:{parentIsActive(){return this.expansionPanel.isActive}},watch:{parentIsActive:{immediate:!0,handler(t,e){t&&(this.isBooted=!0),null==e?this.isActive=t:this.$nextTick(()=>this.isActive=t)}}},created(){this.expansionPanel.registerContent(this)},beforeDestroy(){this.expansionPanel.unregisterContent()},render(t){return t(n["f"],this.showLazyContent(()=>[t("div",this.setBackgroundColor(this.color,{staticClass:"v-expansion-panel-content",directives:[{name:"show",value:this.isActive}]}),[t("div",{class:"v-expansion-panel-content__wrap"},Object(s["u"])(this,"default",{open:this.isActive}))])]))}})},"4a1a":function(t,e,r){"use strict";var n=r("80d2"),i=r("2b0e");e["a"]=i["default"].extend({name:"v-data",inheritAttrs:!1,props:{items:{type:Array,default:()=>[]},options:{type:Object,default:()=>({})},sortBy:{type:[String,Array]},sortDesc:{type:[Boolean,Array]},customSort:{type:Function,default:n["H"]},mustSort:Boolean,multiSort:Boolean,page:{type:Number,default:1},itemsPerPage:{type:Number,default:10},groupBy:{type:[String,Array],default:()=>[]},groupDesc:{type:[Boolean,Array],default:()=>[]},customGroup:{type:Function,default:n["x"]},locale:{type:String,default:"en-US"},disableSort:Boolean,disablePagination:Boolean,disableFiltering:Boolean,search:String,customFilter:{type:Function,default:n["G"]},serverItemsLength:{type:Number,default:-1}},data(){let t={page:this.page,itemsPerPage:this.itemsPerPage,sortBy:Object(n["K"])(this.sortBy),sortDesc:Object(n["K"])(this.sortDesc),groupBy:Object(n["K"])(this.groupBy),groupDesc:Object(n["K"])(this.groupDesc),mustSort:this.mustSort,multiSort:this.multiSort};this.options&&(t=Object.assign(t,this.options));const{sortBy:e,sortDesc:r,groupBy:i,groupDesc:o}=t,a=e.length-r.length,s=i.length-o.length;return a>0&&t.sortDesc.push(...Object(n["o"])(a,!1)),s>0&&t.groupDesc.push(...Object(n["o"])(s,!1)),{internalOptions:t}},computed:{itemsLength(){return this.serverItemsLength>=0?this.serverItemsLength:this.filteredItems.length},pageCount(){return this.internalOptions.itemsPerPage<=0?1:Math.ceil(this.itemsLength/this.internalOptions.itemsPerPage)},pageStart(){return-1!==this.internalOptions.itemsPerPage&&this.items.length?(this.internalOptions.page-1)*this.internalOptions.itemsPerPage:0},pageStop(){return-1===this.internalOptions.itemsPerPage?this.itemsLength:this.items.length?Math.min(this.itemsLength,this.internalOptions.page*this.internalOptions.itemsPerPage):0},isGrouped(){return!!this.internalOptions.groupBy.length},pagination(){return{page:this.internalOptions.page,itemsPerPage:this.internalOptions.itemsPerPage,pageStart:this.pageStart,pageStop:this.pageStop,pageCount:this.pageCount,itemsLength:this.itemsLength}},filteredItems(){let t=this.items.slice();return!this.disableFiltering&&this.serverItemsLength<=0&&(t=this.customFilter(t,this.search)),t},computedItems(){let t=this.filteredItems.slice();return(!this.disableSort||this.internalOptions.groupBy.length)&&this.serverItemsLength<=0&&(t=this.sortItems(t)),!this.disablePagination&&this.serverItemsLength<=0&&(t=this.paginateItems(t)),t},groupedItems(){return this.isGrouped?this.groupItems(this.computedItems):null},scopedProps(){return{sort:this.sort,sortArray:this.sortArray,group:this.group,items:this.computedItems,options:this.internalOptions,updateOptions:this.updateOptions,pagination:this.pagination,groupedItems:this.groupedItems,originalItemsLength:this.items.length}},computedOptions(){return{...this.options}}},watch:{computedOptions:{handler(t,e){Object(n["m"])(t,e)||this.updateOptions(t)},deep:!0,immediate:!0},internalOptions:{handler(t,e){Object(n["m"])(t,e)||this.$emit("update:options",t)},deep:!0,immediate:!0},page(t){this.updateOptions({page:t})},"internalOptions.page"(t){this.$emit("update:page",t)},itemsPerPage(t){this.updateOptions({itemsPerPage:t})},"internalOptions.itemsPerPage"(t){this.$emit("update:items-per-page",t)},sortBy(t){this.updateOptions({sortBy:Object(n["K"])(t)})},"internalOptions.sortBy"(t,e){!Object(n["m"])(t,e)&&this.$emit("update:sort-by",Array.isArray(this.sortBy)?t:t[0])},sortDesc(t){this.updateOptions({sortDesc:Object(n["K"])(t)})},"internalOptions.sortDesc"(t,e){!Object(n["m"])(t,e)&&this.$emit("update:sort-desc",Array.isArray(this.sortDesc)?t:t[0])},groupBy(t){this.updateOptions({groupBy:Object(n["K"])(t)})},"internalOptions.groupBy"(t,e){!Object(n["m"])(t,e)&&this.$emit("update:group-by",Array.isArray(this.groupBy)?t:t[0])},groupDesc(t){this.updateOptions({groupDesc:Object(n["K"])(t)})},"internalOptions.groupDesc"(t,e){!Object(n["m"])(t,e)&&this.$emit("update:group-desc",Array.isArray(this.groupDesc)?t:t[0])},multiSort(t){this.updateOptions({multiSort:t})},"internalOptions.multiSort"(t){this.$emit("update:multi-sort",t)},mustSort(t){this.updateOptions({mustSort:t})},"internalOptions.mustSort"(t){this.$emit("update:must-sort",t)},pageCount:{handler(t){this.$emit("page-count",t)},immediate:!0},computedItems:{handler(t){this.$emit("current-items",t)},immediate:!0},pagination:{handler(t,e){Object(n["m"])(t,e)||this.$emit("pagination",this.pagination)},immediate:!0}},methods:{toggle(t,e,r,i,o,a){let s=e.slice(),u=r.slice();const c=s.findIndex(e=>e===t);return c<0?(a||(s=[],u=[]),s.push(t),u.push(!1)):c>=0&&!u[c]?u[c]=!0:o?u[c]=!1:(s.splice(c,1),u.splice(c,1)),Object(n["m"])(s,e)&&Object(n["m"])(u,r)||(i=1),{by:s,desc:u,page:i}},group(t){const{by:e,desc:r,page:n}=this.toggle(t,this.internalOptions.groupBy,this.internalOptions.groupDesc,this.internalOptions.page,!0,!1);this.updateOptions({groupBy:e,groupDesc:r,page:n})},sort(t){if(Array.isArray(t))return this.sortArray(t);const{by:e,desc:r,page:n}=this.toggle(t,this.internalOptions.sortBy,this.internalOptions.sortDesc,this.internalOptions.page,this.internalOptions.mustSort,this.internalOptions.multiSort);this.updateOptions({sortBy:e,sortDesc:r,page:n})},sortArray(t){const e=t.map(t=>{const e=this.internalOptions.sortBy.findIndex(e=>e===t);return e>-1&&this.internalOptions.sortDesc[e]});this.updateOptions({sortBy:t,sortDesc:e})},updateOptions(t){this.internalOptions={...this.internalOptions,...t,page:this.serverItemsLength<0?Math.max(1,Math.min(t.page||this.internalOptions.page,this.pageCount)):t.page||this.internalOptions.page}},sortItems(t){let e=[],r=[];return this.disableSort||(e=this.internalOptions.sortBy,r=this.internalOptions.sortDesc),this.internalOptions.groupBy.length&&(e=[...this.internalOptions.groupBy,...e],r=[...this.internalOptions.groupDesc,...r]),this.customSort(t,e,r,this.locale)},groupItems(t){return this.customGroup(t,this.internalOptions.groupBy,this.internalOptions.groupDesc)},paginateItems(t){return-1===this.serverItemsLength&&t.length<=this.pageStart&&(this.internalOptions.page=Math.max(1,Math.ceil(t.length/this.internalOptions.itemsPerPage))||1),t.slice(this.pageStart,this.pageStop)}},render(){return this.$scopedSlots.default&&this.$scopedSlots.default(this.scopedProps)}})},"4a69":function(t,e,r){"use strict";function n(t,e){return Object.keys(t).reduce((function(r,n){return r[n]=e(n,t[n]),r}),{})}t.exports=n},"4ac6":function(t,e){t.exports={fr:{name:"France",bbox:[[-4.59235,41.380007],[9.560016,51.148506]]},us:{name:"United States",bbox:[[-171.791111,18.91619],[-66.96466,71.357764]]},ru:{name:"Russia",bbox:[[19.66064,41.151416],[190.10042,81.2504]]},ca:{name:"Canada",bbox:[[-140.99778,41.675105],[-52.648099,83.23324]]}}},"4ad4":function(t,e,r){"use strict";var n=r("16b7"),i=r("f2e7"),o=r("58df"),a=r("80d2"),s=r("d9bd");const u=Object(o["a"])(n["a"],i["a"]);e["a"]=u.extend({name:"activatable",props:{activator:{default:null,validator:t=>["string","object"].includes(typeof t)},disabled:Boolean,internalActivator:Boolean,openOnClick:{type:Boolean,default:!0},openOnHover:Boolean,openOnFocus:Boolean},data:()=>({activatorElement:null,activatorNode:[],events:["click","mouseenter","mouseleave","focus"],listeners:{}}),watch:{activator:"resetActivator",openOnFocus:"resetActivator",openOnHover:"resetActivator"},mounted(){const t=Object(a["v"])(this,"activator",!0);t&&["v-slot","normal"].includes(t)&&Object(s["b"])('The activator slot must be bound, try \'<template v-slot:activator="{ on }"><v-btn v-on="on">\'',this),this.addActivatorEvents()},beforeDestroy(){this.removeActivatorEvents()},methods:{addActivatorEvents(){if(!this.activator||this.disabled||!this.getActivator())return;this.listeners=this.genActivatorListeners();const t=Object.keys(this.listeners);for(const e of t)this.getActivator().addEventListener(e,this.listeners[e])},genActivator(){const t=Object(a["u"])(this,"activator",Object.assign(this.getValueProxy(),{on:this.genActivatorListeners(),attrs:this.genActivatorAttributes()}))||[];return this.activatorNode=t,t},genActivatorAttributes(){return{role:this.openOnClick&&!this.openOnHover?"button":void 0,"aria-haspopup":!0,"aria-expanded":String(this.isActive)}},genActivatorListeners(){if(this.disabled)return{};const t={};return this.openOnHover?(t.mouseenter=t=>{this.getActivator(t),this.runDelay("open")},t.mouseleave=t=>{this.getActivator(t),this.runDelay("close")}):this.openOnClick&&(t.click=t=>{const e=this.getActivator(t);e&&e.focus(),t.stopPropagation(),this.isActive=!this.isActive}),this.openOnFocus&&(t.focus=t=>{this.getActivator(t),t.stopPropagation(),this.isActive=!this.isActive}),t},getActivator(t){if(this.activatorElement)return this.activatorElement;let e=null;if(this.activator){const t=this.internalActivator?this.$el:document;e="string"===typeof this.activator?t.querySelector(this.activator):this.activator.$el?this.activator.$el:this.activator}else if(1===this.activatorNode.length||this.activatorNode.length&&!t){const t=this.activatorNode[0].componentInstance;e=t&&t.$options.mixins&&t.$options.mixins.some(t=>t.options&&["activatable","menuable"].includes(t.options.name))?t.getActivator():this.activatorNode[0].elm}else t&&(e=t.currentTarget||t.target);return this.activatorElement=(null===e||void 0===e?void 0:e.nodeType)===Node.ELEMENT_NODE?e:null,this.activatorElement},getContentSlot(){return Object(a["u"])(this,"default",this.getValueProxy(),!0)},getValueProxy(){const t=this;return{get value(){return t.isActive},set value(e){t.isActive=e}}},removeActivatorEvents(){if(!this.activator||!this.activatorElement)return;const t=Object.keys(this.listeners);for(const e of t)this.activatorElement.removeEventListener(e,this.listeners[e]);this.listeners={}},resetActivator(){this.removeActivatorEvents(),this.activatorElement=null,this.getActivator(),this.addActivatorEvents()}}})},"4b3c":function(t,e,r){"use strict";r.d(e,"a",(function(){return u}));var n=r("fd3a"),i=r("8c86"),o=r("d6f8"),a=r("fe1f"),s=r("beaf");function u(t,e){var r,u,c,l,h,f,d,p;Object(i["a"])(1,arguments);var m=Object(n["a"])(t),g=m.getUTCFullYear(),y=Object(s["a"])(),v=Object(a["a"])(null!==(r=null!==(u=null!==(c=null!==(l=null===e||void 0===e?void 0:e.firstWeekContainsDate)&&void 0!==l?l:null===e||void 0===e||null===(h=e.locale)||void 0===h||null===(f=h.options)||void 0===f?void 0:f.firstWeekContainsDate)&&void 0!==c?c:y.firstWeekContainsDate)&&void 0!==u?u:null===(d=y.locale)||void 0===d||null===(p=d.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==r?r:1);if(!(v>=1&&v<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var b=new Date(0);b.setUTCFullYear(g+1,0,v),b.setUTCHours(0,0,0,0);var _=Object(o["a"])(b,e),w=new Date(0);w.setUTCFullYear(g,0,v),w.setUTCHours(0,0,0,0);var x=Object(o["a"])(w,e);return m.getTime()>=_.getTime()?g+1:m.getTime()>=x.getTime()?g:g-1}},"4b70":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("2054"),i=r("1ec9"),o=r("2a12"),a=r("2225");const s=i.configure(t=>{async function*e(e,r={}){const i=await t.post("dht/findprovs",{signal:r.signal,searchParams:o.toUrlSearchParams({arg:e.toString(),...r}),headers:r.headers});for await(const t of i.ndjson())if(t.Type===a.Provider&&t.Responses)for(const{ID:e,Addrs:r}of t.Responses)yield{id:e,addrs:(r||[]).map(t=>new n.Multiaddr(t))}}return e});e.createFindProvs=s},"4b85":function(t,e,r){},"4b86":function(t,e,r){"use strict";var n=r("169a");r.d(e,"a",(function(){return n["a"]}));n["a"]},"4ba9":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
function e(t,e,r){var n=t+" ";switch(r){case"ss":return n+=1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi",n;case"m":return e?"jedna minuta":"jedne minute";case"mm":return n+=1===t?"minuta":2===t||3===t||4===t?"minute":"minuta",n;case"h":return e?"jedan sat":"jednog sata";case"hh":return n+=1===t?"sat":2===t||3===t||4===t?"sata":"sati",n;case"dd":return n+=1===t?"dan":"dana",n;case"MM":return n+=1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci",n;case"yy":return n+=1===t?"godina":2===t||3===t||4===t?"godine":"godina",n}}var r=t.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do 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čer u] LT",lastWeek:function(){switch(this.day()){case 0:return"[prošlu] [nedjelju] [u] LT";case 3:return"[prošlu] [srijedu] [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return r}))},"4bd4":function(t,e,r){"use strict";var n=r("58df"),i=r("7e2b"),o=r("3206"),a=r("80d2");e["a"]=Object(n["a"])(i["a"],Object(o["b"])("form")).extend({name:"v-form",provide(){return{form:this}},inheritAttrs:!1,props:{disabled:Boolean,lazyValidation:Boolean,readonly:Boolean,value:Boolean},data:()=>({inputs:[],watchers:[],errorBag:{}}),watch:{errorBag:{handler(t){const e=Object.values(t).includes(!0);this.$emit("input",!e)},deep:!0,immediate:!0}},methods:{watchInput(t){const e=t=>t.$watch("hasError",e=>{this.$set(this.errorBag,t._uid,e)},{immediate:!0}),r={_uid:t._uid,valid:()=>{},shouldValidate:()=>{}};return this.lazyValidation?r.shouldValidate=t.$watch("shouldValidate",n=>{n&&(this.errorBag.hasOwnProperty(t._uid)||(r.valid=e(t)))}):r.valid=e(t),r},validate(){return 0===this.inputs.filter(t=>!t.validate(!0)).length},reset(){this.inputs.forEach(t=>t.reset()),this.resetErrorBag()},resetErrorBag(){this.lazyValidation&&setTimeout(()=>{this.errorBag={}},0)},resetValidation(){this.inputs.forEach(t=>t.resetValidation()),this.resetErrorBag()},register(t){this.inputs.push(t),this.watchers.push(this.watchInput(t))},unregister(t){const e=this.inputs.find(e=>e._uid===t._uid);if(!e)return;const r=this.watchers.find(t=>t._uid===e._uid);r&&(r.valid(),r.shouldValidate()),this.watchers=this.watchers.filter(t=>t._uid!==e._uid),this.inputs=this.inputs.filter(t=>t._uid!==e._uid),this.$delete(this.errorBag,e._uid)}},render(t){return t("form",{staticClass:"v-form",attrs:{novalidate:!0,...this.attrs$},on:{submit:t=>this.$emit("submit",t)}},Object(a["u"])(this))}})},"4c72":function(t,e,r){},"4c98":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},r={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},n=t.defineLocale("ar-ps",{months:"كانون الثاني_شباط_آذار_نيسان_أيّار_حزيران_تمّوز_آب_أيلول_تشري الأوّل_تشرين الثاني_كانون الأوّل".split("_"),monthsShort:"ك٢_شباط_آذار_نيسان_أيّار_حزيران_تمّوز_آب_أيلول_ت١_ت٢_ك١".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".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:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,r){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(t){return t.replace(/[٣٤٥٦٧٨٩٠]/g,(function(t){return r[t]})).split("").reverse().join("").replace(/[١٢](?![\u062a\u0643])/g,(function(t){return r[t]})).split("").reverse().join("").replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},week:{dow:0,doy:6}});return n}))},"4ca6":function(t,e,r){"use strict";r("ff44");var n=r("132d"),i=r("a9ad"),o=r("7560"),a=r("f2e7"),s=r("f40d"),u=r("fe6c"),c=r("58df"),l=r("80d2");e["a"]=Object(c["a"])(i["a"],Object(u["b"])(["left","bottom"]),o["a"],a["a"],s["a"]).extend({name:"v-badge",props:{avatar:Boolean,bordered:Boolean,color:{type:String,default:"primary"},content:{required:!1},dot:Boolean,label:{type:String,default:"$vuetify.badge"},icon:String,inline:Boolean,offsetX:[Number,String],offsetY:[Number,String],overlap:Boolean,tile:Boolean,transition:{type:String,default:"scale-rotate-transition"},value:{default:!0}},computed:{classes(){return{"v-badge--avatar":this.avatar,"v-badge--bordered":this.bordered,"v-badge--bottom":this.bottom,"v-badge--dot":this.dot,"v-badge--icon":null!=this.icon,"v-badge--inline":this.inline,"v-badge--left":this.left,"v-badge--overlap":this.overlap,"v-badge--tile":this.tile,...this.themeClasses}},computedBottom(){return this.bottom?"auto":this.computedYOffset},computedLeft(){return this.isRtl?this.left?this.computedXOffset:"auto":this.left?"auto":this.computedXOffset},computedRight(){return this.isRtl?this.left?"auto":this.computedXOffset:this.left?this.computedXOffset:"auto"},computedTop(){return this.bottom?this.computedYOffset:"auto"},computedXOffset(){return this.calcPosition(this.offsetX)},computedYOffset(){return this.calcPosition(this.offsetY)},isRtl(){return this.$vuetify.rtl},offset(){return this.overlap?this.dot?8:12:this.dot?2:4},styles(){return this.inline?{}:{bottom:this.computedBottom,left:this.computedLeft,right:this.computedRight,top:this.computedTop}}},methods:{calcPosition(t){return`calc(100% - ${Object(l["i"])(t||this.offset)})`},genBadge(){const t=this.$vuetify.lang,e=this.$attrs["aria-label"]||t.t(this.label),r=this.setBackgroundColor(this.color,{staticClass:"v-badge__badge",style:this.styles,attrs:{"aria-atomic":this.$attrs["aria-atomic"]||"true","aria-label":e,"aria-live":this.$attrs["aria-live"]||"polite",title:this.$attrs.title,role:this.$attrs.role||"status"},directives:[{name:"show",value:this.isActive}]}),n=this.$createElement("span",r,[this.genBadgeContent()]);return this.transition?this.$createElement("transition",{props:{name:this.transition,origin:this.origin,mode:this.mode}},[n]):n},genBadgeContent(){if(this.dot)return;const t=Object(l["u"])(this,"badge");return t||(this.content?String(this.content):this.icon?this.$createElement(n["a"],this.icon):void 0)},genBadgeWrapper(){return this.$createElement("span",{staticClass:"v-badge__wrapper"},[this.genBadge()])}},render(t){const e=[this.genBadgeWrapper()],r=[Object(l["u"])(this)],{"aria-atomic":n,"aria-label":i,"aria-live":o,role:a,title:s,...u}=this.$attrs;return this.inline&&this.left?r.unshift(e):r.push(e),t("span",{staticClass:"v-badge",attrs:u,class:this.classes},r)}})},"4d09":function(t,e,r){"use strict";var n=r("480e");r.d(e,"a",(function(){return n["a"]}));n["a"]},"4e2c":function(t,e,r){"use strict";var n=r("c377");r.d(e,"b",(function(){return n["a"]}));var i=r("f41f");r.d(e,"a",(function(){return i["a"]}));n["a"],i["a"]},"4e81":function(t,e,r){"use strict";function n(t,e=0,r=1){let n;return t<100&&t>=0?(n=new Date(Date.UTC(t,e,r)),isFinite(n.getUTCFullYear())&&n.setUTCFullYear(t)):n=new Date(Date.UTC(t,e,r)),n}function i(t,e,r){const i=7+e-r,o=(7+n(t,0,i).getUTCDay()-e)%7;return-o+i-1}function o(t,e,r,n){let i=[0,31,59,90,120,151,181,212,243,273,304,334][e];return e>1&&u(t)&&i++,i+r}function a(t,e,r){const n=i(t,e,r),o=i(t+1,e,r),a=u(t)?366:365;return(a-n+o)/7}function s(t,e,r,n,s){const u=i(t,n,s),c=Math.ceil((o(t,e,r,n)-u)/7);return c<1?c+a(t-1,n,s):c>a(t,n,s)?c-a(t,n,s):c}function u(t){return t%4===0&&t%100!==0||t%400===0}r.d(e,"b",(function(){return s})),r.d(e,"a",(function(){return u}))},"4e82":function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r("3206");function i(t,e,r){return Object(n["a"])(t,e,r).extend({name:"groupable",props:{activeClass:{type:String,default(){if(this[t])return this[t].activeClass}},disabled:Boolean},data(){return{isActive:!1}},computed:{groupClasses(){return this.activeClass?{[this.activeClass]:this.isActive}:{}}},created(){this[t]&&this[t].register(this)},beforeDestroy(){this[t]&&this[t].unregister(this)},methods:{toggle(t){this.disabled&&t?t.preventDefault():this.$emit("change")}}})}i("itemGroup")},"4fcb":function(t,e,r){"use strict";const n=r("0f6c"),{hasOwnProperty:i}=Object.prototype,{propertyIsEnumerable:o}=Object,a=(t,e,r)=>Object.defineProperty(t,e,{value:r,writable:!0,enumerable:!0,configurable:!0}),s=this,u={concatArrays:!1,ignoreUndefined:!1},c=t=>{const e=[];for(const r in t)i.call(t,r)&&e.push(r);if(Object.getOwnPropertySymbols){const r=Object.getOwnPropertySymbols(t);for(const n of r)o.call(t,n)&&e.push(n)}return e};function l(t){return Array.isArray(t)?h(t):n(t)?f(t):t}function h(t){const e=t.slice(0,0);return c(t).forEach(r=>{a(e,r,l(t[r]))}),e}function f(t){const e=null===Object.getPrototypeOf(t)?Object.create(null):{};return c(t).forEach(r=>{a(e,r,l(t[r]))}),e}const d=(t,e,r,n)=>(r.forEach(r=>{"undefined"===typeof e[r]&&n.ignoreUndefined||(r in t&&t[r]!==Object.getPrototypeOf(t)?a(t,r,m(t[r],e[r],n)):a(t,r,l(e[r])))}),t),p=(t,e,r)=>{let n=t.slice(0,0),o=0;return[t,e].forEach(e=>{const s=[];for(let r=0;r<e.length;r++)i.call(e,r)&&(s.push(String(r)),a(n,o++,e===t?e[r]:l(e[r])));n=d(n,e,c(e).filter(t=>!s.includes(t)),r)}),n};function m(t,e,r){return r.concatArrays&&Array.isArray(t)&&Array.isArray(e)?p(t,e,r):n(e)&&n(t)?d(t,e,c(e),r):l(e)}t.exports=function(...t){const e=m(l(u),this!==s&&this||{},u);let r={_:{}};for(const i of t)if(void 0!==i){if(!n(i))throw new TypeError("`"+i+"` is not an Option Object");r=m(r,{_:i},e)}return r._}},"4ff9":function(t,e,r){},5038:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.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(t,e){return 12===t&&(t=0),"pagi"===e?t:"siang"===e?t>=11?t:t+12:"sore"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,r){return t<11?"pagi":t<15?"siang":t<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}});return e}))},5085:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1169");function i(t){const e=n.objectToCamel(t);return Object.prototype.hasOwnProperty.call(e,"mode")&&(e.mode=parseInt(e.mode,8)),Object.prototype.hasOwnProperty.call(e,"mtime")&&(e.mtime={secs:e.mtime,nsecs:e.mtimeNsecs||0},delete e.mtimeNsecs),e}e.objectToCamelWithMetadata=i},"50de":function(t,e,r){"use strict";const n=(t,e,r)=>(e>>=0,t=String(t),r=String(r),t.length>e?String(t):(e-=t.length,e>r.length&&(r+=r.repeat(e/r.length)),r.slice(0,e)+String(t)));e["a"]=(t,e=2)=>n(t,e,"0")},"510b":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("dc74");const i=n.baseX({prefix:"k",name:"base36",alphabet:"0123456789abcdefghijklmnopqrstuvwxyz"}),o=n.baseX({prefix:"K",name:"base36upper",alphabet:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"});e.base36=i,e.base36upper=o},5120:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig"],r=["Ean","Feabh","Márt","Aib","Beal","Meith","Iúil","Lún","M.F.","D.F.","Samh","Noll"],n=["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],i=["Domh","Luan","Máirt","Céad","Déar","Aoine","Sath"],o=["Do","Lu","Má","Cé","Dé","A","Sa"],a=t.defineLocale("ga",{months:e,monthsShort:r,monthsParseExact:!0,weekdays:n,weekdaysShort:i,weekdaysMin:o,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árach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inné ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d míonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(t){var e=1===t?"d":t%10===2?"na":"mh";return t+e},week:{dow:1,doy:4}});return a}))},5144:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("ac23"),i=r("1755"),o=r("0ad3");const a={strict:!1,allowIndefinite:!0,allowUndefined:!0,allowBigInt:!0};class s{constructor(t,e={}){this.pos=0,this.data=t,this.options=e}done(){return this.pos>=this.data.length}next(){const t=this.data[this.pos];let e=o.quick[t];if(void 0===e){const r=o.jump[t];if(!r)throw new Error(`${n.decodeErrPrefix} no decoder for major type ${t>>>5} (byte 0x${t.toString(16).padStart(2,"0")})`);const i=31&t;e=r(this.data,this.pos,i,this.options)}return this.pos+=e.encodedLength,e}}const u=Symbol.for("DONE"),c=Symbol.for("BREAK");function l(t,e,r){const i=[];for(let o=0;o<t.value;o++){const a=f(e,r);if(a===c){if(t.value===1/0)break;throw new Error(n.decodeErrPrefix+" got unexpected break to lengthed array")}if(a===u)throw new Error(`${n.decodeErrPrefix} found array but not enough entries (got ${o}, expected ${t.value})`);i[o]=a}return i}function h(t,e,r){const i=!0===r.useMaps,o=i?void 0:{},a=i?new Map:void 0;for(let s=0;s<t.value;s++){const l=f(e,r);if(l===c){if(t.value===1/0)break;throw new Error(n.decodeErrPrefix+" got unexpected break to lengthed map")}if(l===u)throw new Error(`${n.decodeErrPrefix} found map but not enough entries (got ${s} [no key], expected ${t.value})`);if(!0!==i&&"string"!==typeof l)throw new Error(`${n.decodeErrPrefix} non-string keys not supported (got ${typeof l})`);if(!0===r.rejectDuplicateMapKeys&&(i&&a.has(l)||!i&&l in o))throw new Error(`${n.decodeErrPrefix} found repeat map key "${l}"`);const h=f(e,r);if(h===u)throw new Error(`${n.decodeErrPrefix} found map but not enough entries (got ${s} [no value], expected ${t.value})`);i?a.set(l,h):o[l]=h}return i?a:o}function f(t,e){if(t.done())return u;const r=t.next();if(r.type===i.Type.break)return c;if(r.type.terminal)return r.value;if(r.type===i.Type.array)return l(r,t,e);if(r.type===i.Type.map)return h(r,t,e);if(r.type===i.Type.tag){if(e.tags&&"function"===typeof e.tags[r.value]){const n=f(t,e);return e.tags[r.value](n)}throw new Error(`${n.decodeErrPrefix} tag not supported (${r.value})`)}throw new Error("unsupported")}function d(t,e){if(!(t instanceof Uint8Array))throw new Error(n.decodeErrPrefix+" data to decode must be a Uint8Array");e=Object.assign({},a,e);const r=e.tokenizer||new s(t,e),i=f(r,e);if(i===u)throw new Error(n.decodeErrPrefix+" did not find any content to decode");if(i===c)throw new Error(n.decodeErrPrefix+" got unexpected break");if(!r.done())throw new Error(n.decodeErrPrefix+" too many terminals, data makes no sense");return i}e.Tokeniser=s,e.decode=d,e.tokensToObject=f},"51f3":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1169"),i=r("1ec9"),o=r("2a12");const a=i.configure(t=>{async function*e(e={}){const r=await t.post("refs/local",{signal:e.signal,transform:n.objectToCamel,searchParams:o.toUrlSearchParams(e),headers:e.headers});yield*r.ndjson()}return e});e.createLocal=a},5280:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1ec9"),i=r("2a12");const o=n.configure(t=>{const e=async(e={})=>{const r=await t.post("config/show",{signal:e.signal,searchParams:i.toUrlSearchParams({...e}),headers:e.headers}),n=await r.json();return n};return e});e.createGetAll=o},5294:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],r=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"],n=t.defineLocale("ur",{months:e,monthsShort:e,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، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(t){return"شام"===t},meridiem:function(t,e,r){return t<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:1,doy:4}});return n}))},"52bd":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.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(t,e,r){return t<11?"ekuseni":t<15?"emini":t<19?"entsambama":"ebusuku"},meridiemHour:function(t,e){return 12===t&&(t=0),"ekuseni"===e?t:"emini"===e?t>=11?t:t+12:"entsambama"===e||"ebusuku"===e?0===t?0:t+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}});return e}))},"530a":function(t,e,r){"use strict";function n(t,e,r,n){return(!n||n(t))&&(!e||t>=e.substr(0,10))&&(!r||t<=r)}r.d(e,"a",(function(){return n}))},5311:function(t,e,r){"use strict";var n=r("5607"),i=r("2b0e");e["a"]=i["default"].extend({name:"rippleable",directives:{ripple:n["b"]},props:{ripple:{type:[Boolean,Object],default:!0}},methods:{genRipple(t={}){return this.ripple?(t.staticClass="v-input--selection-controls__ripple",t.directives=t.directives||[],t.directives.push({name:"ripple",value:{center:!0}}),this.$createElement("div",t)):null}}})},5339:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1ec9"),i=r("2a12");const o=n.configure(t=>{async function e(e={}){const r=await t.post("diag/cmds",{signal:e.signal,searchParams:i.toUrlSearchParams(e),headers:e.headers});return r.json()}return e});e.createCmds=o},"53a8":function(t,e){t.exports=n;var r=Object.prototype.hasOwnProperty;function n(){for(var t={},e=0;e<arguments.length;e++){var n=arguments[e];for(var i in n)r.call(n,i)&&(t[i]=n[i])}return t}},"53ca":function(t,e,r){"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}r.d(e,"a",(function(){return n}))},5409:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("fb86");const i=["Data","Links"],o=["Hash","Name","Tsize"],a=new TextEncoder;function s(t,e){if(t===e)return 0;const r=t.Name?a.encode(t.Name):[],n=e.Name?a.encode(e.Name):[];let i=r.length,o=n.length;for(let a=0,s=Math.min(i,o);a<s;++a)if(r[a]!==n[a]){i=r[a],o=n[a];break}return i<o?-1:o<i?1:0}function u(t,e){return!Object.keys(t).some(t=>!e.includes(t))}function c(t){if("object"===typeof t.asCID){const e=n.CID.asCID(t);if(!e)throw new TypeError("Invalid DAG-PB form");return{Hash:e}}if("object"!==typeof t||Array.isArray(t))throw new TypeError("Invalid DAG-PB form");const e={};if(t.Hash){let i=n.CID.asCID(t.Hash);try{i||("string"===typeof t.Hash?i=n.CID.parse(t.Hash):t.Hash instanceof Uint8Array&&(i=n.CID.decode(t.Hash)))}catch(r){throw new TypeError("Invalid DAG-PB form: "+r.message)}i&&(e.Hash=i)}if(!e.Hash)throw new TypeError("Invalid DAG-PB form");return"string"===typeof t.Name&&(e.Name=t.Name),"number"===typeof t.Tsize&&(e.Tsize=t.Tsize),e}function l(t){if((t instanceof Uint8Array||"string"===typeof t)&&(t={Data:t}),"object"!==typeof t||Array.isArray(t))throw new TypeError("Invalid DAG-PB form");const e={};if(void 0!==t.Data)if("string"===typeof t.Data)e.Data=a.encode(t.Data);else{if(!(t.Data instanceof Uint8Array))throw new TypeError("Invalid DAG-PB form");e.Data=t.Data}if(void 0!==t.Links){if(!Array.isArray(t.Links))throw new TypeError("Invalid DAG-PB form");e.Links=t.Links.map(c),e.Links.sort(s)}else e.Links=[];return e}function h(t){if(!t||"object"!==typeof t||Array.isArray(t))throw new TypeError("Invalid DAG-PB form");if(!u(t,i))throw new TypeError("Invalid DAG-PB form (extraneous properties)");if(void 0!==t.Data&&!(t.Data instanceof Uint8Array))throw new TypeError("Invalid DAG-PB form (Data must be a Uint8Array)");if(!Array.isArray(t.Links))throw new TypeError("Invalid DAG-PB form (Links must be an array)");for(let e=0;e<t.Links.length;e++){const r=t.Links[e];if(!r||"object"!==typeof r||Array.isArray(r))throw new TypeError("Invalid DAG-PB form (bad link object)");if(!u(r,o))throw new TypeError("Invalid DAG-PB form (extraneous properties on link object)");if(!r.Hash)throw new TypeError("Invalid DAG-PB form (link must have a Hash)");if(r.Hash.asCID!==r.Hash)throw new TypeError("Invalid DAG-PB form (link Hash must be a CID)");if(void 0!==r.Name&&"string"!==typeof r.Name)throw new TypeError("Invalid DAG-PB form (link Name must be a string)");if(void 0!==r.Tsize&&("number"!==typeof r.Tsize||r.Tsize%1!==0))throw new TypeError("Invalid DAG-PB form (link Tsize must be an integer)");if(e>0&&-1===s(r,t.Links[e-1]))throw new TypeError("Invalid DAG-PB form (links must be sorted by Name bytes)")}}function f(t,e=[]){return l({Data:t,Links:e})}function d(t,e,r){return c({Hash:r,Name:t,Tsize:e})}e.createLink=d,e.createNode=f,e.prepare=l,e.validate=h},5418:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("bdff"),i=r("842b"),o=r("1ec9"),a=r("2a12"),s=r("876b"),u=r("c181");const c=o.configure(t=>{const e=async(e,r={})=>{const o=new u.AbortController,c=s.abortSignal(o.signal,r.signal),l=await t.post("config/replace",{signal:c,searchParams:a.toUrlSearchParams(r),...await i.multipartRequest(n.fromString(JSON.stringify(e)),o,r.headers)});await l.text()};return e});e.createReplace=c},5429:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("fb86"),i=r("1ec9"),o=r("2a12");const a=i.configure(t=>{async function e(e,r={}){if(!e||"string"!==typeof e)throw new Error("ipfs.files.flush requires a path");const i=await t.post("files/flush",{signal:r.signal,searchParams:o.toUrlSearchParams({arg:e,...r}),headers:r.headers}),a=await i.json();return n.CID.parse(a.Cid)}return e});e.createFlush=a},"543b":function(t,e,r){"use strict";t.exports=r("6c30")},"548a":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1ec9"),i=r("2a12"),o=r("2054");const a=n.configure(t=>{async function e(e,r={}){const n=await t.post("bootstrap/add",{signal:r.signal,searchParams:i.toUrlSearchParams({arg:e,...r}),headers:r.headers}),{Peers:a}=await n.json();return{Peers:a.map(t=>new o.Multiaddr(t))}}return e});e.createAdd=a},5497:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1ec9"),i=r("2a12");const o=n.configure(t=>{const e=async(e,r={})=>{if(!e)throw new Error("key argument is required");const n=await t.post("config",{signal:r.signal,searchParams:i.toUrlSearchParams({arg:e,...r}),headers:r.headers}),o=await n.json();return o.Value};return e});e.createGet=o},"553a":function(t,e,r){"use strict";r("b5b6");var n=r("8dd9"),i=r("3a66"),o=r("d10f"),a=r("58df"),s=r("80d2");e["a"]=Object(a["a"])(n["a"],Object(i["a"])("footer",["height","inset"]),o["a"]).extend({name:"v-footer",props:{height:{default:"auto",type:[Number,String]},inset:Boolean,padless:Boolean,tag:{type:String,default:"footer"}},computed:{applicationProperty(){return this.inset?"insetFooter":"footer"},classes(){return{...n["a"].options.computed.classes.call(this),"v-footer--absolute":this.absolute,"v-footer--fixed":!this.absolute&&(this.app||this.fixed),"v-footer--padless":this.padless,"v-footer--inset":this.inset}},computedBottom(){if(this.isPositioned)return this.app?this.$vuetify.application.bottom:0},computedLeft(){if(this.isPositioned)return this.app&&this.inset?this.$vuetify.application.left:0},computedRight(){if(this.isPositioned)return this.app&&this.inset?this.$vuetify.application.right:0},isPositioned(){return Boolean(this.absolute||this.fixed||this.app)},styles(){const t=parseInt(this.height);return{...n["a"].options.computed.styles.call(this),height:isNaN(t)?t:Object(s["i"])(t),left:Object(s["i"])(this.computedLeft),right:Object(s["i"])(this.computedRight),bottom:Object(s["i"])(this.computedBottom)}}},methods:{updateApplication(){const t=parseInt(this.height);return isNaN(t)?this.$el?this.$el.clientHeight:0:t}},render(t){const e=this.setBackgroundColor(this.color,{staticClass:"v-footer",class:this.classes,style:this.styles});return t(this.tag,e,Object(s["u"])(this))}})},"55c9":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e="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,o=t.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,n){return t?/-MMM-/.test(n)?r[t.month()]:e[t.month()]:e},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ércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".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ñana 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ía",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}});return o}))},5607:function(t,e,r){"use strict";r.d(e,"a",(function(){return k}));r("7435");var n=r("80d2");const i=80;function o(t,e){t.style.transform=e,t.style.webkitTransform=e}function a(t){return"TouchEvent"===t.constructor.name}function s(t){return"KeyboardEvent"===t.constructor.name}const u=(t,e,r={})=>{let n=0,i=0;if(!s(t)){const r=e.getBoundingClientRect(),o=a(t)?t.touches[t.touches.length-1]:t;n=o.clientX-r.left,i=o.clientY-r.top}let o=0,u=.3;e._ripple&&e._ripple.circle?(u=.15,o=e.clientWidth/2,o=r.center?o:o+Math.sqrt((n-o)**2+(i-o)**2)/4):o=Math.sqrt(e.clientWidth**2+e.clientHeight**2)/2;const c=(e.clientWidth-2*o)/2+"px",l=(e.clientHeight-2*o)/2+"px",h=r.center?c:n-o+"px",f=r.center?l:i-o+"px";return{radius:o,scale:u,x:h,y:f,centerX:c,centerY:l}},c={show(t,e,r={}){if(!e._ripple||!e._ripple.enabled)return;const n=document.createElement("span"),i=document.createElement("span");n.appendChild(i),n.className="v-ripple__container",r.class&&(n.className+=" "+r.class);const{radius:a,scale:s,x:c,y:l,centerX:h,centerY:f}=u(t,e,r),d=2*a+"px";i.className="v-ripple__animation",i.style.width=d,i.style.height=d,e.appendChild(n);const p=window.getComputedStyle(e);p&&"static"===p.position&&(e.style.position="relative",e.dataset.previousPosition="static"),i.classList.add("v-ripple__animation--enter"),i.classList.add("v-ripple__animation--visible"),o(i,`translate(${c}, ${l}) scale3d(${s},${s},${s})`),i.dataset.activated=String(performance.now()),setTimeout(()=>{i.classList.remove("v-ripple__animation--enter"),i.classList.add("v-ripple__animation--in"),o(i,`translate(${h}, ${f}) scale3d(1,1,1)`)},0)},hide(t){if(!t||!t._ripple||!t._ripple.enabled)return;const e=t.getElementsByClassName("v-ripple__animation");if(0===e.length)return;const r=e[e.length-1];if(r.dataset.isHiding)return;r.dataset.isHiding="true";const n=performance.now()-Number(r.dataset.activated),i=Math.max(250-n,0);setTimeout(()=>{r.classList.remove("v-ripple__animation--in"),r.classList.add("v-ripple__animation--out"),setTimeout(()=>{var e;const n=t.getElementsByClassName("v-ripple__animation");1===n.length&&t.dataset.previousPosition&&(t.style.position=t.dataset.previousPosition,delete t.dataset.previousPosition),(null===(e=r.parentNode)||void 0===e?void 0:e.parentNode)===t&&t.removeChild(r.parentNode)},300)},i)}};function l(t){return"undefined"===typeof t||!!t}function h(t){const e={},r=t.currentTarget;if(r&&r._ripple&&!r._ripple.touched&&!t.rippleStop){if(t.rippleStop=!0,a(t))r._ripple.touched=!0,r._ripple.isTouch=!0;else if(r._ripple.isTouch)return;if(e.center=r._ripple.centered||s(t),r._ripple.class&&(e.class=r._ripple.class),a(t)){if(r._ripple.showTimerCommit)return;r._ripple.showTimerCommit=()=>{c.show(t,r,e)},r._ripple.showTimer=window.setTimeout(()=>{r&&r._ripple&&r._ripple.showTimerCommit&&(r._ripple.showTimerCommit(),r._ripple.showTimerCommit=null)},i)}else c.show(t,r,e)}}function f(t){const e=t.currentTarget;if(e&&e._ripple){if(window.clearTimeout(e._ripple.showTimer),"touchend"===t.type&&e._ripple.showTimerCommit)return e._ripple.showTimerCommit(),e._ripple.showTimerCommit=null,void(e._ripple.showTimer=setTimeout(()=>{f(t)}));window.setTimeout(()=>{e._ripple&&(e._ripple.touched=!1)}),c.hide(e)}}function d(t){const e=t.currentTarget;e&&e._ripple&&(e._ripple.showTimerCommit&&(e._ripple.showTimerCommit=null),window.clearTimeout(e._ripple.showTimer))}let p=!1;function m(t){p||t.keyCode!==n["A"].enter&&t.keyCode!==n["A"].space||(p=!0,h(t))}function g(t){p=!1,f(t)}function y(t){!0===p&&(p=!1,f(t))}function v(t,e,r){const n=l(e.value);n||c.hide(t),t._ripple=t._ripple||{},t._ripple.enabled=n;const i=e.value||{};i.center&&(t._ripple.centered=!0),i.class&&(t._ripple.class=e.value.class),i.circle&&(t._ripple.circle=i.circle),n&&!r?(t.addEventListener("touchstart",h,{passive:!0}),t.addEventListener("touchend",f,{passive:!0}),t.addEventListener("touchmove",d,{passive:!0}),t.addEventListener("touchcancel",f),t.addEventListener("mousedown",h),t.addEventListener("mouseup",f),t.addEventListener("mouseleave",f),t.addEventListener("keydown",m),t.addEventListener("keyup",g),t.addEventListener("blur",y),t.addEventListener("dragstart",f,{passive:!0})):!n&&r&&b(t)}function b(t){t.removeEventListener("mousedown",h),t.removeEventListener("touchstart",h),t.removeEventListener("touchend",f),t.removeEventListener("touchmove",d),t.removeEventListener("touchcancel",f),t.removeEventListener("mouseup",f),t.removeEventListener("mouseleave",f),t.removeEventListener("keydown",m),t.removeEventListener("keyup",g),t.removeEventListener("dragstart",f),t.removeEventListener("blur",y)}function _(t,e,r){v(t,e,!1)}function w(t){delete t._ripple,b(t)}function x(t,e){if(e.value===e.oldValue)return;const r=l(e.oldValue);v(t,e,r)}const k={bind:_,unbind:w,update:x};e["b"]=k},"56b0":function(t,e,r){"use strict";r("db42");var n=r("9d26"),i=r("da13"),o=r("34c3"),a=r("7e2b"),s=r("9d65"),u=r("a9ad"),c=r("f2e7"),l=r("3206"),h=r("5607"),f=r("0789"),d=r("58df"),p=r("80d2");const m=Object(d["a"])(a["a"],s["a"],u["a"],Object(l["a"])("list"),c["a"]);e["a"]=m.extend().extend({name:"v-list-group",directives:{ripple:h["b"]},props:{activeClass:{type:String,default:""},appendIcon:{type:String,default:"$expand"},color:{type:String,default:"primary"},disabled:Boolean,group:[String,RegExp],noAction:Boolean,prependIcon:String,ripple:{type:[Boolean,Object],default:!0},subGroup:Boolean},computed:{classes(){return{"v-list-group--active":this.isActive,"v-list-group--disabled":this.disabled,"v-list-group--no-action":this.noAction,"v-list-group--sub-group":this.subGroup}}},watch:{isActive(t){!this.subGroup&&t&&this.list&&this.list.listClick(this._uid)},$route:"onRouteChange"},created(){this.list&&this.list.register(this),this.group&&this.$route&&null==this.value&&(this.isActive=this.matchRoute(this.$route.path))},beforeDestroy(){this.list&&this.list.unregister(this)},methods:{click(t){this.disabled||(this.isBooted=!0,this.$emit("click",t),this.$nextTick(()=>this.isActive=!this.isActive))},genIcon(t){return this.$createElement(n["b"],t)},genAppendIcon(){const t=!this.subGroup&&this.appendIcon,e=Object(p["u"])(this,"appendIcon");return t||e?this.$createElement(o["a"],{staticClass:"v-list-group__header__append-icon"},[e||this.genIcon(t)]):null},genHeader(){return this.$createElement(i["a"],{staticClass:"v-list-group__header",attrs:{"aria-expanded":String(this.isActive),role:"button"},class:{[this.activeClass]:this.isActive},props:{inputValue:this.isActive},directives:[{name:"ripple",value:this.ripple}],on:{...this.listeners$,click:this.click}},[this.genPrependIcon(),Object(p["u"])(this,"activator"),this.genAppendIcon()])},genItems(){return this.showLazyContent(()=>[this.$createElement("div",{staticClass:"v-list-group__items",directives:[{name:"show",value:this.isActive}]},Object(p["u"])(this))])},genPrependIcon(){const t=this.subGroup&&null==this.prependIcon?"$subgroup":this.prependIcon,e=Object(p["u"])(this,"prependIcon");return t||e?this.$createElement(o["a"],{staticClass:"v-list-group__header__prepend-icon"},[e||this.genIcon(t)]):null},onRouteChange(t){if(!this.group)return;const e=this.matchRoute(t.path);e&&this.isActive!==e&&this.list&&this.list.listClick(this._uid),this.isActive=e},toggle(t){const e=this._uid===t;e&&(this.isBooted=!0),this.$nextTick(()=>this.isActive=e)},matchRoute(t){return null!==t.match(this.group)}},render(t){return t("div",this.setTextColor(this.isActive&&this.color,{staticClass:"v-list-group",class:this.classes}),[this.genHeader(),t(f["f"],this.genItems())])}})},"576c":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_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(t){var e=t%10,r=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+r},week:{dow:1,doy:4}});return e}))},"57c4":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("fb86"),i=r("842b"),o=r("1ec9"),a=r("2a12"),s=r("876b"),u=r("c181");const c=o.configure(t=>{async function e(r,o={}){const c=new u.AbortController,l=s.abortSignal(c.signal,o.signal);let h;try{const e=await t.post("block/put",{signal:l,searchParams:a.toUrlSearchParams(o),...await i.multipartRequest(r,c,o.headers)});h=await e.json()}catch(f){if("dag-pb"===o.format)return e(r,{...o,format:"protobuf"});if("dag-cbor"===o.format)return e(r,{...o,format:"cbor"});throw f}return n.CID.parse(h.Key)}return e});e.createPut=c},5803:function(t,e,r){},5863:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("ae71"),i=r("7ff4"),o=r("13f8"),a=r("6661"),s=r("65e2");function u(t,e){return{export:n.createExport(e),get:i.createGet(t,e),import:o.createImport(e),put:a.createPut(t,e),resolve:s.createResolve(e)}}e.createDag=u},5887:function(t,e,r){"use strict";var n=r("ce87");r.d(e,"a",(function(){return n["a"]}));n["a"]},"589c":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("b6aa"),i=r("fb86");function o(t){return t&&"object"===typeof t&&"default"in t?t:{default:t}}var a=o(n);async function*s(t){if(null===t||void 0===t)throw a["default"](new Error("Unexpected input: "+t),"ERR_UNEXPECTED_INPUT");const e=i.CID.asCID(t);if(e)yield u({cid:e});else{if(!(t instanceof String||"string"===typeof t)){if(null!=t.cid||null!=t.path)return yield u(t);if(Symbol.iterator in t){const e=t[Symbol.iterator](),r=e.next();if(r.done)return e;if(i.CID.asCID(r.value)||r.value instanceof String||"string"===typeof r.value){yield u({cid:r.value});for(const t of e)yield u({cid:t});return}if(null!=r.value.cid||null!=r.value.path){yield u(r.value);for(const t of e)yield u(t);return}throw a["default"](new Error("Unexpected input: "+typeof t),"ERR_UNEXPECTED_INPUT")}if(Symbol.asyncIterator in t){const e=t[Symbol.asyncIterator](),r=await e.next();if(r.done)return e;if(i.CID.asCID(r.value)||r.value instanceof String||"string"===typeof r.value){yield u({cid:r.value});for await(const t of e)yield u({cid:t});return}if(null!=r.value.cid||null!=r.value.path){yield u(r.value);for await(const t of e)yield u(t);return}throw a["default"](new Error("Unexpected input: "+typeof t),"ERR_UNEXPECTED_INPUT")}throw a["default"](new Error("Unexpected input: "+typeof t),"ERR_UNEXPECTED_INPUT")}yield u({path:t})}}function u(t){const e=t.cid||""+t.path;if(!e)throw a["default"](new Error("Unexpected input: Please path either a CID or an IPFS path"),"ERR_UNEXPECTED_INPUT");const r={path:e,recursive:!1!==t.recursive};return null!=t.metadata&&(r.metadata=t.metadata),r}e.normaliseInput=s},"58c0":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("fb86"),i=r("842b"),o=r("1ec9"),a=r("2a12"),s=r("876b"),u=r("c181");const c=o.configure(t=>{async function e(e,r,o={}){const c=new u.AbortController,l=s.abortSignal(c.signal,o.signal),h=await t.post("object/patch/set-data",{signal:l,searchParams:a.toUrlSearchParams({arg:[""+e],...o}),...await i.multipartRequest(r,c,o.headers)}),{Hash:f}=await h.json();return n.CID.parse(f)}return e});e.createSetData=c},"58df":function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r("2b0e");function i(...t){return n["default"].extend({mixins:t})}},"595b":function(t,e,r){!function(t,r){r(e)}(0,(function(t){"use strict";function e(t,e,r){if(r=r||{},!S(r))throw new Error("options is invalid");var n=r.bbox,i=r.id;if(void 0===t)throw new Error("geometry is required");if(e&&e.constructor!==Object)throw new Error("properties must be an Object");n&&E(n),i&&M(i);var o={type:"Feature"};return i&&(o.id=i),n&&(o.bbox=n),o.properties=e||{},o.geometry=t,o}function r(t,e,r){if(r=r||{},!S(r))throw new Error("options is invalid");var i,a=r.bbox;if(!t)throw new Error("type is required");if(!e)throw new Error("coordinates is required");if(!Array.isArray(e))throw new Error("coordinates must be an Array");switch(a&&E(a),t){case"Point":i=n(e).geometry;break;case"LineString":i=s(e).geometry;break;case"Polygon":i=o(e).geometry;break;case"MultiPoint":i=h(e).geometry;break;case"MultiLineString":i=l(e).geometry;break;case"MultiPolygon":i=f(e).geometry;break;default:throw new Error(t+" is invalid")}return a&&(i.bbox=a),i}function n(t,r,n){if(!t)throw new Error("coordinates is required");if(!Array.isArray(t))throw new Error("coordinates must be an Array");if(t.length<2)throw new Error("coordinates must be at least 2 numbers long");if(!k(t[0])||!k(t[1]))throw new Error("coordinates must contain numbers");return e({type:"Point",coordinates:t},r,n)}function i(t,e,r){if(!t)throw new Error("coordinates is required");if(!Array.isArray(t))throw new Error("coordinates must be an Array");return c(t.map((function(t){return n(t,e)})),r)}function o(t,r,n){if(!t)throw new Error("coordinates is required");for(var i=0;i<t.length;i++){var o=t[i];if(o.length<4)throw new Error("Each LinearRing of a Polygon must have 4 or more Positions.");for(var a=0;a<o[o.length-1].length;a++){if(0===i&&0===a&&!k(o[0][0])||!k(o[0][1]))throw new Error("coordinates must contain numbers");if(o[o.length-1][a]!==o[0][a])throw new Error("First and last Position are not equivalent.")}}return e({type:"Polygon",coordinates:t},r,n)}function a(t,e,r){if(!t)throw new Error("coordinates is required");if(!Array.isArray(t))throw new Error("coordinates must be an Array");return c(t.map((function(t){return o(t,e)})),r)}function s(t,r,n){if(!t)throw new Error("coordinates is required");if(t.length<2)throw new Error("coordinates must be an array of two or more positions");if(!k(t[0][1])||!k(t[0][1]))throw new Error("coordinates must contain numbers");return e({type:"LineString",coordinates:t},r,n)}function u(t,e,r){if(!t)throw new Error("coordinates is required");if(!Array.isArray(t))throw new Error("coordinates must be an Array");return c(t.map((function(t){return s(t,e)})),r)}function c(t,e){if(e=e||{},!S(e))throw new Error("options is invalid");var r=e.bbox,n=e.id;if(!t)throw new Error("No features passed");if(!Array.isArray(t))throw new Error("features must be an Array");r&&E(r),n&&M(n);var i={type:"FeatureCollection"};return n&&(i.id=n),r&&(i.bbox=r),i.features=t,i}function l(t,r,n){if(!t)throw new Error("coordinates is required");return e({type:"MultiLineString",coordinates:t},r,n)}function h(t,r,n){if(!t)throw new Error("coordinates is required");return e({type:"MultiPoint",coordinates:t},r,n)}function f(t,r,n){if(!t)throw new Error("coordinates is required");return e({type:"MultiPolygon",coordinates:t},r,n)}function d(t,r,n){if(!t)throw new Error("geometries is required");if(!Array.isArray(t))throw new Error("geometries must be an Array");return e({type:"GeometryCollection",geometries:t},r,n)}function p(t,e){if(void 0===t||null===t||isNaN(t))throw new Error("num is required");if(e&&!(e>=0))throw new Error("precision must be a positive number");var r=Math.pow(10,e||0);return Math.round(t*r)/r}function m(t,e){if(void 0===t||null===t)throw new Error("radians is required");if(e&&"string"!=typeof e)throw new Error("units must be a string");var r=No[e||"kilometers"];if(!r)throw new Error(e+" units is invalid");return t*r}function g(t,e){if(void 0===t||null===t)throw new Error("distance is required");if(e&&"string"!=typeof e)throw new Error("units must be a string");var r=No[e||"kilometers"];if(!r)throw new Error(e+" units is invalid");return t/r}function y(t,e){return b(g(t,e))}function v(t){if(null===t||void 0===t)throw new Error("bearing is required");var e=t%360;return e<0&&(e+=360),e}function b(t){if(null===t||void 0===t)throw new Error("radians is required");return t%(2*Math.PI)*180/Math.PI}function _(t){if(null===t||void 0===t)throw new Error("degrees is required");return t%360*Math.PI/180}function w(t,e,r){if(null===t||void 0===t)throw new Error("length is required");if(!(t>=0))throw new Error("length must be a positive number");return m(g(t,e),r||"kilometers")}function x(t,e,r){if(null===t||void 0===t)throw new Error("area is required");if(!(t>=0))throw new Error("area must be a positive number");var n=Fo[e||"meters"];if(!n)throw new Error("invalid original units");var i=Fo[r||"kilometers"];if(!i)throw new Error("invalid final units");return t/n*i}function k(t){return!isNaN(t)&&null!==t&&!Array.isArray(t)}function S(t){return!!t&&t.constructor===Object}function E(t){if(!t)throw new Error("bbox is required");if(!Array.isArray(t))throw new Error("bbox must be an Array");if(4!==t.length&&6!==t.length)throw new Error("bbox must be an Array of 4 or 6 numbers");t.forEach((function(t){if(!k(t))throw new Error("bbox must only contain numbers")}))}function M(t){if(!t)throw new Error("id is required");if(-1===["string","number"].indexOf(typeof t))throw new Error("id must be a number or a string")}function A(t,e,r){if(null!==t)for(var n,i,o,a,s,u,c,l,h=0,f=0,d=t.type,p="FeatureCollection"===d,m="Feature"===d,g=p?t.features.length:1,y=0;y<g;y++){s=(l=!!(c=p?t.features[y].geometry:m?t.geometry:t)&&"GeometryCollection"===c.type)?c.geometries.length:1;for(var v=0;v<s;v++){var b=0,_=0;if(null!==(a=l?c.geometries[v]:c)){u=a.coordinates;var w=a.type;switch(h=!r||"Polygon"!==w&&"MultiPolygon"!==w?0:1,w){case null:break;case"Point":e(u,f,y,b,_),f++,b++;break;case"LineString":case"MultiPoint":for(n=0;n<u.length;n++)e(u[n],f,y,b,_),f++,"MultiPoint"===w&&b++;"LineString"===w&&b++;break;case"Polygon":case"MultiLineString":for(n=0;n<u.length;n++){for(i=0;i<u[n].length-h;i++)e(u[n][i],f,y,b,_),f++;"MultiLineString"===w&&b++,"Polygon"===w&&_++}"Polygon"===w&&b++;break;case"MultiPolygon":for(n=0;n<u.length;n++){for("MultiPolygon"===w&&(_=0),i=0;i<u[n].length;i++){for(o=0;o<u[n][i].length-h;o++)e(u[n][i][o],f,y,b,_),f++;_++}b++}break;case"GeometryCollection":for(n=0;n<a.geometries.length;n++)A(a.geometries[n],e,r);break;default:throw new Error("Unknown Geometry Type")}}}}}function T(t,e,r,n){var i=r;return A(t,(function(t,n,o,a,s){i=0===n&&void 0===r?t:e(i,t,n,o,a,s)}),n),i}function C(t,e){var r;switch(t.type){case"FeatureCollection":for(r=0;r<t.features.length;r++)e(t.features[r].properties,r);break;case"Feature":e(t.properties,0)}}function L(t,e,r){var n=r;return C(t,(function(t,i){n=0===i&&void 0===r?t:e(n,t,i)})),n}function P(t,e){if("Feature"===t.type)e(t,0);else if("FeatureCollection"===t.type)for(var r=0;r<t.features.length;r++)e(t.features[r],r)}function O(t,e,r){var n=r;return P(t,(function(t,i){n=0===i&&void 0===r?t:e(n,t,i)})),n}function I(t){var e=[];return A(t,(function(t){e.push(t)})),e}function D(t,e){var r,n,i,o,a,s,u,c,l,h,f=0,d="FeatureCollection"===t.type,p="Feature"===t.type,m=d?t.features.length:1;for(r=0;r<m;r++){for(s=d?t.features[r].geometry:p?t.geometry:t,c=d?t.features[r].properties:p?t.properties:{},l=d?t.features[r].bbox:p?t.bbox:void 0,h=d?t.features[r].id:p?t.id:void 0,a=(u=!!s&&"GeometryCollection"===s.type)?s.geometries.length:1,i=0;i<a;i++)if(null!==(o=u?s.geometries[i]:s))switch(o.type){case"Point":case"LineString":case"MultiPoint":case"Polygon":case"MultiLineString":case"MultiPolygon":e(o,f,c,l,h);break;case"GeometryCollection":for(n=0;n<o.geometries.length;n++)e(o.geometries[n],f,c,l,h);break;default:throw new Error("Unknown Geometry Type")}else e(null,f,c,l,h);f++}}function B(t,e,r){var n=r;return D(t,(function(t,i,o,a,s){n=0===i&&void 0===r?t:e(n,t,i,o,a,s)})),n}function j(t,r){D(t,(function(t,n,i,o,a){var s,u=null===t?null:t.type;switch(u){case null:case"Point":case"LineString":case"Polygon":return void r(e(t,i,{bbox:o,id:a}),n,0)}switch(u){case"MultiPoint":s="Point";break;case"MultiLineString":s="LineString";break;case"MultiPolygon":s="Polygon"}t.coordinates.forEach((function(t,o){r(e({type:s,coordinates:t},i),n,o)}))}))}function N(t,e,r){var n=r;return j(t,(function(t,i,o){n=0===i&&0===o&&void 0===r?t:e(n,t,i,o)})),n}function R(t,e){j(t,(function(t,r,n){var i=0;if(t.geometry){var o=t.geometry.type;"Point"!==o&&"MultiPoint"!==o&&T(t,(function(o,a,u,c,l,h){var f=s([o,a],t.properties);return e(f,r,n,h,i),i++,a}))}}))}function F(t,e,r){var n=r,i=!1;return R(t,(function(t,o,a,s,u){n=!1===i&&void 0===r?t:e(n,t,o,a,s,u),i=!0})),n}function Y(t,e){if(!t)throw new Error("geojson is required");j(t,(function(t,r,n){if(null!==t.geometry){var i=t.geometry.type,o=t.geometry.coordinates;switch(i){case"LineString":e(t,r,n,0,0);break;case"Polygon":for(var a=0;a<o.length;a++)e(s(o[a],t.properties),r,n,a)}}}))}function U(t,e,r){var n=r;return Y(t,(function(t,i,o,a){n=0===i&&void 0===r?t:e(n,t,i,o,a)})),n}function H(t){var e=[1/0,1/0,-1/0,-1/0];return A(t,(function(t){e[0]>t[0]&&(e[0]=t[0]),e[1]>t[1]&&(e[1]=t[1]),e[2]<t[0]&&(e[2]=t[0]),e[3]<t[1]&&(e[3]=t[1])})),e}function z(t){if(!t)throw new Error("obj is required");var e=V(t);if(e.length>1&&k(e[0])&&k(e[1]))return e;throw new Error("Coordinate is not a valid Point")}function V(t){if(!t)throw new Error("obj is required");var e;if(t.length?e=t:t.coordinates?e=t.coordinates:t.geometry&&t.geometry.coordinates&&(e=t.geometry.coordinates),e)return $(e),e;throw new Error("No valid coordinates")}function $(t){if(t.length>1&&k(t[0])&&k(t[1]))return!0;if(Array.isArray(t[0])&&t[0].length)return $(t[0]);throw new Error("coordinates must only contain numbers")}function q(t,e,r){if(!e||!r)throw new Error("type and name required");if(!t||t.type!==e)throw new Error("Invalid input to "+r+": must be a "+e+", given "+t.type)}function G(t,e,r){if(!t)throw new Error("No feature passed");if(!r)throw new Error(".featureOf() requires a name");if(!t||"Feature"!==t.type||!t.geometry)throw new Error("Invalid input to "+r+", Feature with geometry required");if(!t.geometry||t.geometry.type!==e)throw new Error("Invalid input to "+r+": must be a "+e+", given "+t.geometry.type)}function W(t,e,r){if(!t)throw new Error("No featureCollection passed");if(!r)throw new Error(".collectionOf() requires a name");if(!t||"FeatureCollection"!==t.type)throw new Error("Invalid input to "+r+", FeatureCollection required");for(var n=0;n<t.features.length;n++){var i=t.features[n];if(!i||"Feature"!==i.type||!i.geometry)throw new Error("Invalid input to "+r+", Feature with geometry required");if(!i.geometry||i.geometry.type!==e)throw new Error("Invalid input to "+r+": must be a "+e+", given "+i.geometry.type)}}function K(t){if(!t)throw new Error("geojson is required");if(void 0!==t.geometry)return t.geometry;if(t.coordinates||t.geometries)return t;throw new Error("geojson must be a valid Feature or Geometry Object")}function X(){throw new Error("invariant.getGeomType has been deprecated in v5.0 in favor of invariant.getType")}function J(t,e){if(!t)throw new Error((e||"geojson")+" is required");if(t.geometry&&t.geometry.type)return t.geometry.type;if(t.type)return t.type;throw new Error((e||"geojson")+" is invalid")}function Z(t,e,r){r=r||{};for(var n=Object.keys(zo),i=0;i<n.length;i++){var o=n[i],a=r[o];a=void 0!==a&&null!==a?a:zo[o],Vo[o]=a}Vo.verbose&&console.log("MarchingSquaresJS-isoContours: computing isocontour for "+e);var s=function(t){var e=[],r=0;return t.rows,t.cols,t.cells.forEach((function(n,i){n.forEach((function(n,o){if(void 0!==n&&!function(t){return 5===t.cval||10===t.cval}(n)&&!tt(n)){var a=function(t,e,r){var n,i,o,a=t.length,s=[],u=[0,0,1,1,0,0,0,0,-1,0,1,1,-1,0,-1,0],c=[0,-1,0,0,1,1,1,1,0,-1,0,0,0,-1,0,0],l=["none","bottom","right","right","top","top","top","top","left","bottom","right","right","left","bottom","left","none"],h=(t[e][r],t[e][r]),f=h.cval,d=rt(h,o=["none","left","bottom","left","right","none","bottom","left","top","top","none","top","right","right","bottom","none"][f]);s.push([r+d[0],e+d[1]]),d=rt(h,o=l[f]),s.push([r+d[0],e+d[1]]),et(h);for(var p=r+u[f],m=e+c[f],g=f;p>=0&&m>=0&&m<a&&(p!=r||m!=e)&&void 0!==(h=t[m][p]);){if(0===(f=h.cval)||15===f)return{path:s,info:"mergeable"};o=l[f],n=u[f],i=c[f],5!==f&&10!==f||(5===f?h.flipped?-1===c[g]?(o="left",n=-1,i=0):(o="right",n=1,i=0):-1===u[g]&&(o="bottom",n=0,i=-1):10===f&&(h.flipped?-1===u[g]?(o="top",n=0,i=1):(o="bottom",n=0,i=-1):1===c[g]&&(o="left",n=-1,i=0))),d=rt(h,o),s.push([p+d[0],m+d[1]]),et(h),p+=n,m+=i,g=f}return{path:s,info:"closed"}}(t.cells,i,o),s=!1;if("mergeable"===a.info)for(var u=a.path[a.path.length-1][0],c=a.path[a.path.length-1][1],l=r-1;l>=0;l--)if(Math.abs(e[l][0][0]-u)<=1e-7&&Math.abs(e[l][0][1]-c)<=1e-7){for(var h=a.path.length-2;h>=0;--h)e[l].unshift(a.path[h]);s=!0;break}s||(e[r++]=a.path)}}))})),e}(function(t,e){for(var r=t.length-1,n=t[0].length-1,i={rows:r,cols:n,cells:[]},o=0;o<r;++o){i.cells[o]=[];for(var a=0;a<n;++a){var s=0,u=t[o+1][a],c=t[o+1][a+1],l=t[o][a+1],h=t[o][a];if(!(isNaN(u)||isNaN(c)||isNaN(l)||isNaN(h))){s|=u>=e?8:0,s|=c>=e?4:0,s|=l>=e?2:0;var f,d,p,m,g=!1;if(5===(s|=h>=e?1:0)||10===s){var y=(u+c+l+h)/4;5===s&&y<e?(s=10,g=!0):10===s&&y<e&&(s=5,g=!0)}if(0!==s&&15!==s)f=d=p=m=.5,1===s?(p=1-Q(e,u,h),d=1-Q(e,l,h)):2===s?(d=Q(e,h,l),m=1-Q(e,c,l)):3===s?(p=1-Q(e,u,h),m=1-Q(e,c,l)):4===s?(f=Q(e,u,c),m=Q(e,l,c)):5===s?(f=Q(e,u,c),m=Q(e,l,c),d=1-Q(e,l,h),p=1-Q(e,u,h)):6===s?(d=Q(e,h,l),f=Q(e,u,c)):7===s?(p=1-Q(e,u,h),f=Q(e,u,c)):8===s?(p=Q(e,h,u),f=1-Q(e,c,u)):9===s?(d=1-Q(e,l,h),f=1-Q(e,c,u)):10===s?(f=1-Q(e,c,u),m=1-Q(e,c,l),d=Q(e,h,l),p=Q(e,h,u)):11===s?(f=1-Q(e,c,u),m=1-Q(e,c,l)):12===s?(p=Q(e,h,u),m=Q(e,l,c)):13===s?(d=1-Q(e,l,h),m=Q(e,l,c)):14===s?(p=Q(e,h,u),d=Q(e,h,l)):console.log("MarchingSquaresJS-isoContours: Illegal cval detected: "+s),i.cells[o][a]={cval:s,flipped:g,top:f,right:m,bottom:d,left:p}}}}return i}(t,e));return"function"==typeof Vo.successCallback&&Vo.successCallback(s),s}function Q(t,e,r){return(t-e)/(r-e)}function tt(t){return 0===t.cval||15===t.cval}function et(t){tt(t)||5===t.cval||10===t.cval||(t.cval=15)}function rt(t,e){return"top"===e?[t.top,1]:"bottom"===e?[t.bottom,0]:"right"===e?[1,t.right]:"left"===e?[0,t.left]:void 0}function nt(t,e){if(e=e||{},!S(e))throw new Error("options is invalid");var r=e.zProperty||"elevation",n=e.flip,i=e.flags;W(t,"Point","input must contain Points");for(var o=function(t,e){var r={};return P(t,(function(t){var e=V(t)[1];r[e]||(r[e]=[]),r[e].push(t)})),Object.keys(r).map((function(t){var e=r[t],n=e.sort((function(t,e){return V(t)[0]-V(e)[0]}));return n})).sort((function(t,r){return e?V(t[0])[1]-V(r[0])[1]:V(r[0])[1]-V(t[0])[1]}))}(t,n),a=[],s=0;s<o.length;s++){for(var u=o[s],c=[],l=0;l<u.length;l++){var h=u[l];h.properties[r]?c.push(h.properties[r]):c.push(0),!0===i&&(h.properties.matrixPosition=[s,l])}a.push(c)}return a}function it(t,e,r,n,i){for(r=r||0,n=n||t.length-1,i=i||function(t,e){return t<e?-1:t>e?1:0};n>r;){if(n-r>600){var o=n-r+1,a=e-r+1,s=Math.log(o),u=.5*Math.exp(2*s/3),c=.5*Math.sqrt(s*u*(o-u)/o)*(a-o/2<0?-1:1);it(t,e,Math.max(r,Math.floor(e-a*u/o+c)),Math.min(n,Math.floor(e+(o-a)*u/o+c)),i)}var l=t[e],h=r,f=n;for(ot(t,r,e),i(t[n],l)>0&&ot(t,r,n);h<f;){for(ot(t,h,f),h++,f--;i(t[h],l)<0;)h++;for(;i(t[f],l)>0;)f--}0===i(t[r],l)?ot(t,r,f):ot(t,++f,n),f<=e&&(r=f+1),e<=f&&(n=f-1)}}function ot(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function at(t,e){if(!(this instanceof at))return new at(t,e);this._maxEntries=Math.max(4,t||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),e&&this._initFormat(e),this.clear()}function st(t,e){ut(t,0,t.children.length,e,t)}function ut(t,e,r,n,i){i||(i=gt(null)),i.minX=1/0,i.minY=1/0,i.maxX=-1/0,i.maxY=-1/0;for(var o,a=e;a<r;a++)o=t.children[a],ct(i,t.leaf?n(o):o);return i}function ct(t,e){return t.minX=Math.min(t.minX,e.minX),t.minY=Math.min(t.minY,e.minY),t.maxX=Math.max(t.maxX,e.maxX),t.maxY=Math.max(t.maxY,e.maxY),t}function lt(t,e){return t.minX-e.minX}function ht(t,e){return t.minY-e.minY}function ft(t){return(t.maxX-t.minX)*(t.maxY-t.minY)}function dt(t){return t.maxX-t.minX+(t.maxY-t.minY)}function pt(t,e){return t.minX<=e.minX&&t.minY<=e.minY&&e.maxX<=t.maxX&&e.maxY<=t.maxY}function mt(t,e){return e.minX<=t.maxX&&e.minY<=t.maxY&&e.maxX>=t.minX&&e.maxY>=t.minY}function gt(t){return{children:t,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function yt(t,e,r,n,i){for(var o,a=[e,r];a.length;)(r=a.pop())-(e=a.pop())<=n||(o=e+Math.ceil((r-e)/n/2)*n,$o(t,o,e,r,i),a.push(e,o,o,r))}function vt(t,e){return e={exports:{}},t(e,e.exports),e.exports}function bt(t,e){if(!(this instanceof bt))return new bt(t,e);if(this.data=t||[],this.length=this.data.length,this.compare=e||function(t,e){return t<e?-1:t>e?1:0},this.length>0)for(var r=(this.length>>1)-1;r>=0;r--)this._down(r)}function _t(t,e,r){e=Math.max(0,void 0===e?2:e),r=r||0;for(var n,i=function(t){for(var e=t[0],r=t[0],n=t[0],i=t[0],o=0;o<t.length;o++){var a=t[o];a[0]<e[0]&&(e=a),a[0]>n[0]&&(n=a),a[1]<r[1]&&(r=a),a[1]>i[1]&&(i=a)}var s=[e,r,n,i],u=s.slice();for(o=0;o<t.length;o++)ia(t[o],s)||u.push(t[o]);var c=ta(u),l=[];for(o=0;o<c.length;o++)l.push(u[c[o]]);return l}(t),o=qo(16,["[0]","[1]","[0]","[1]"]).load(t),a=[],s=0;s<i.length;s++){var u=i[s];o.remove(u),n=Et(u,n),a.push(n)}var c=qo(16);for(s=0;s<a.length;s++)c.insert(St(a[s]));for(var l=e*e,h=r*r;a.length;){var f=a.shift(),d=f.p,p=f.next.p,m=Mt(d,p);if(!(m<h)){var g=m/l;(u=function(t,e,r,n,i,o,a){for(var s=new ra(null,wt),u=t.data;u;){for(var c=0;c<u.children.length;c++){var l=u.children[c],h=u.leaf?At(l,r,n):function(t,e,r){if(xt(t,r)||xt(e,r))return 0;var n=Tt(t[0],t[1],e[0],e[1],r.minX,r.minY,r.maxX,r.minY);if(0===n)return 0;var i=Tt(t[0],t[1],e[0],e[1],r.minX,r.minY,r.minX,r.maxY);if(0===i)return 0;var o=Tt(t[0],t[1],e[0],e[1],r.maxX,r.minY,r.maxX,r.maxY);if(0===o)return 0;var a=Tt(t[0],t[1],e[0],e[1],r.minX,r.maxY,r.maxX,r.maxY);return 0===a?0:Math.min(n,i,o,a)}(r,n,l);h>o||s.push({node:l,dist:h})}for(;s.length&&!s.peek().node.children;){var f=s.pop(),d=f.node,p=At(d,e,r),m=At(d,n,i);if(f.dist<p&&f.dist<m&&kt(r,d,a)&&kt(n,d,a))return d}(u=s.pop())&&(u=u.node)}return null}(o,f.prev.p,d,p,f.next.next.p,g,c))&&Math.min(Mt(u,d),Mt(u,p))<=g&&(a.push(f),a.push(Et(u,f)),o.remove(u),c.remove(f),c.insert(St(f)),c.insert(St(f.next)))}}f=n;var y=[];do{y.push(f.p),f=f.next}while(f!==n);return y.push(f.p),y}function wt(t,e){return t.dist-e.dist}function xt(t,e){return t[0]>=e.minX&&t[0]<=e.maxX&&t[1]>=e.minY&&t[1]<=e.maxY}function kt(t,e,r){for(var n=Math.min(t[0],e[0]),i=Math.min(t[1],e[1]),o=Math.max(t[0],e[0]),a=Math.max(t[1],e[1]),s=r.search({minX:n,minY:i,maxX:o,maxY:a}),u=0;u<s.length;u++)if(function(t,e,r,n){return t!==n&&e!==r&&oa(t,e,r)>0!=oa(t,e,n)>0&&oa(r,n,t)>0!=oa(r,n,e)>0}(s[u].p,s[u].next.p,t,e))return!1;return!0}function St(t){var e=t.p,r=t.next.p;return t.minX=Math.min(e[0],r[0]),t.minY=Math.min(e[1],r[1]),t.maxX=Math.max(e[0],r[0]),t.maxY=Math.max(e[1],r[1]),t}function Et(t,e){var r={p:t,prev:null,next:null,minX:0,minY:0,maxX:0,maxY:0};return e?(r.next=e.next,r.prev=e,e.next.prev=r,e.next=r):(r.prev=r,r.next=r),r}function Mt(t,e){var r=t[0]-e[0],n=t[1]-e[1];return r*r+n*n}function At(t,e,r){var n=e[0],i=e[1],o=r[0]-n,a=r[1]-i;if(0!==o||0!==a){var s=((t[0]-n)*o+(t[1]-i)*a)/(o*o+a*a);s>1?(n=r[0],i=r[1]):s>0&&(n+=o*s,i+=a*s)}return o=t[0]-n,a=t[1]-i,o*o+a*a}function Tt(t,e,r,n,i,o,a,s){var u,c,l,h,f=r-t,d=n-e,p=a-i,m=s-o,g=t-i,y=e-o,v=f*f+d*d,b=f*p+d*m,_=p*p+m*m,w=f*g+d*y,x=p*g+m*y,k=v*_-b*b,S=k,E=k;0===k?(c=0,S=1,h=x,E=_):(h=v*x-b*w,(c=b*x-_*w)<0?(c=0,h=x,E=_):c>S&&(c=S,h=x+b,E=_)),h<0?(h=0,-w<0?c=0:-w>v?c=S:(c=-w,S=v)):h>E&&(h=E,-w+b<0?c=0:-w+b>v?c=S:(c=-w+b,S=v)),u=0===c?0:c/S;var M=(1-(l=0===h?0:h/E))*i+l*a-((1-u)*t+u*r),A=(1-l)*o+l*s-((1-u)*e+u*n);return M*M+A*A}function Ct(t,e){if(e=e||{},!S(e))throw new Error("options is invalid");var r=e.concavity||1/0,n=[];if(A(t,(function(t){n.push([t[0],t[1]])})),!n.length)return null;var i=aa(n,r);return i.length>3?o([i]):null}function Lt(t,e,r){if("object"!=typeof(r=r||{}))throw new Error("options is invalid");var n=r.ignoreBoundary;if(!t)throw new Error("point is required");if(!e)throw new Error("polygon is required");var i=z(t),o=V(e),a=e.geometry?e.geometry.type:e.type,s=e.bbox;if(s&&!1===function(t,e){return e[0]<=t[0]&&e[1]<=t[1]&&e[2]>=t[0]&&e[3]>=t[1]}(i,s))return!1;"Polygon"===a&&(o=[o]);for(var u=0,c=!1;u<o.length&&!c;u++)if(Pt(i,o[u][0],n)){for(var l=!1,h=1;h<o[u].length&&!l;)Pt(i,o[u][h],!n)&&(l=!0),h++;l||(c=!0)}return c}function Pt(t,e,r){var n=!1;e[0][0]===e[e.length-1][0]&&e[0][1]===e[e.length-1][1]&&(e=e.slice(0,e.length-1));for(var i=0,o=e.length-1;i<e.length;o=i++){var a=e[i][0],s=e[i][1],u=e[o][0],c=e[o][1];if(t[1]*(a-u)+s*(u-t[0])+c*(t[0]-a)==0&&(a-t[0])*(u-t[0])<=0&&(s-t[1])*(c-t[1])<=0)return!r;s>t[1]!=c>t[1]&&t[0]<(u-a)*(t[1]-s)/(c-s)+a&&(n=!n)}return n}function Ot(t,e){var r=[];return D(e,(function(e){P(t,(function(t){Lt(t,e)&&r.push(t)}))})),c(r)}function It(t,e){if("FeatureCollection"!==t.type)throw new Error("points must be a FeatureCollection");var r=!1;return c(function(t){if(t.length<3)return[];t.sort(Bt);for(var e,r,n,i,o,a,s=t.length-1,u=t[s].x,c=t[0].x,l=t[s].y,h=l;s--;)t[s].y<l&&(l=t[s].y),t[s].y>h&&(h=t[s].y);var f,d=c-u,p=h-l,m=d>p?d:p,g=.5*(c+u),y=.5*(h+l),v=[new Dt({x:g-20*m,y:y-m,__sentinel:!0},{x:g,y:y+20*m,__sentinel:!0},{x:g+20*m,y:y-m,__sentinel:!0})],b=[],_=[];for(s=t.length;s--;){for(_.length=0,f=v.length;f--;)(d=t[s].x-v[f].x)>0&&d*d>v[f].r?(b.push(v[f]),v.splice(f,1)):(p=t[s].y-v[f].y,d*d+p*p>v[f].r||(_.push(v[f].a,v[f].b,v[f].b,v[f].c,v[f].c,v[f].a),v.splice(f,1)));for(jt(_),f=_.length;f;)r=_[--f],e=_[--f],n=t[s],i=r.x-e.x,o=r.y-e.y,a=2*(i*(n.y-r.y)-o*(n.x-r.x)),Math.abs(a)>1e-12&&v.push(new Dt(e,r,n))}for(Array.prototype.push.apply(b,v),s=b.length;s--;)(b[s].a.__sentinel||b[s].b.__sentinel||b[s].c.__sentinel)&&b.splice(s,1);return b}(t.features.map((function(t){var n={x:t.geometry.coordinates[0],y:t.geometry.coordinates[1]};return e?n.z=t.properties[e]:3===t.geometry.coordinates.length&&(r=!0,n.z=t.geometry.coordinates[2]),n}))).map((function(t){var e=[t.a.x,t.a.y],n=[t.b.x,t.b.y],i=[t.c.x,t.c.y],a={};return r?(e.push(t.a.z),n.push(t.b.z),i.push(t.c.z)):a={a:t.a.z,b:t.b.z,c:t.c.z},o([[e,n,i,e]],a)})))}function Dt(t,e,r){this.a=t,this.b=e,this.c=r;var n,i,o=e.x-t.x,a=e.y-t.y,s=r.x-t.x,u=r.y-t.y,c=o*(t.x+e.x)+a*(t.y+e.y),l=s*(t.x+r.x)+u*(t.y+r.y),h=2*(o*(r.y-e.y)-a*(r.x-e.x));this.x=(u*c-a*l)/h,this.y=(o*l-s*c)/h,n=this.x-t.x,i=this.y-t.y,this.r=n*n+i*i}function Bt(t,e){return e.x-t.x}function jt(t){var e,r,n,i,o,a=t.length;t:for(;a;)for(r=t[--a],e=t[--a],n=a;n;)if(o=t[--n],i=t[--n],e===i&&r===o||e===o&&r===i){t.splice(a,2),t.splice(n,2),a-=2;continue t}}function Nt(t,e,r){if(r=r||{},!S(r))throw new Error("options is invalid");var n=r.units,i=z(t),o=z(e),a=_(o[1]-i[1]),s=_(o[0]-i[0]),u=_(i[1]),c=_(o[1]),l=Math.pow(Math.sin(a/2),2)+Math.pow(Math.sin(s/2),2)*Math.cos(u)*Math.cos(c);return m(2*Math.atan2(Math.sqrt(l),Math.sqrt(1-l)),n)}function Rt(t){if(!t)throw new Error("geojson is required");switch(t.type){case"Feature":return Ft(t);case"FeatureCollection":return function(t){var e={type:"FeatureCollection"};return Object.keys(t).forEach((function(r){switch(r){case"type":case"features":return;default:e[r]=t[r]}})),e.features=t.features.map((function(t){return Ft(t)})),e}(t);case"Point":case"LineString":case"Polygon":case"MultiPoint":case"MultiLineString":case"MultiPolygon":case"GeometryCollection":return Ut(t);default:throw new Error("unknown GeoJSON type")}}function Ft(t){var e={type:"Feature"};return Object.keys(t).forEach((function(r){switch(r){case"type":case"properties":case"geometry":return;default:e[r]=t[r]}})),e.properties=Yt(t.properties),e.geometry=Ut(t.geometry),e}function Yt(t){var e={};return t?(Object.keys(t).forEach((function(r){var n=t[r];"object"==typeof n?null===n?e[r]=null:n.length?e[r]=n.map((function(t){return t})):e[r]=Yt(n):e[r]=n})),e):e}function Ut(t){var e={type:t.type};return t.bbox&&(e.bbox=t.bbox),"GeometryCollection"===t.type?(e.geometries=t.geometries.map((function(t){return Ut(t)})),e):(e.coordinates=Ht(t.coordinates),e)}function Ht(t){return"object"!=typeof t[0]?t.slice():t.map((function(t){return Ht(t)}))}function zt(t,e){function r(t,e){e.length&&e.pop();for(var r=c[t<0?~t:t],n=0,i=r.length;n<i;++n)e.push(u(r[n],n));t<0&&la(e,i)}function n(t){return u(t)}function i(t){for(var e=[],n=0,i=t.length;n<i;++n)r(t[n],e);return e.length<2&&e.push(e[0]),e}function o(t){for(var e=i(t);e.length<4;)e.push(e[0]);return e}function a(t){return t.map(o)}function s(t){var e,r=t.type;switch(r){case"GeometryCollection":return{type:r,geometries:t.geometries.map(s)};case"Point":e=n(t.coordinates);break;case"MultiPoint":e=t.coordinates.map(n);break;case"LineString":e=i(t.arcs);break;case"MultiLineString":e=t.arcs.map(i);break;case"Polygon":e=a(t.arcs);break;case"MultiPolygon":e=t.arcs.map(a);break;default:return null}return{type:r,coordinates:e}}var u=ca(t.transform),c=t.arcs;return s(e)}function Vt(t,e){function r(t){switch(t.type){case"GeometryCollection":t.geometries.forEach(r);break;case"Polygon":n(t.arcs);break;case"MultiPolygon":t.arcs.forEach(n)}}function n(t){t.forEach((function(e){e.forEach((function(e){(o[e=e<0?~e:e]||(o[e]=[])).push(t)}))})),a.push(t)}function i(e){return function(t){for(var e,r=-1,n=t.length,i=t[n-1],o=0;++r<n;)e=i,i=t[r],o+=e[0]*i[1]-e[1]*i[0];return Math.abs(o)}(zt(t,{type:"Polygon",arcs:[e]}).coordinates[0])}var o={},a=[],s=[];return e.forEach(r),a.forEach((function(t){if(!t._){var e=[],r=[t];for(t._=1,s.push(e);t=r.pop();)e.push(t),t.forEach((function(t){t.forEach((function(t){o[t<0?~t:t].forEach((function(t){t._||(t._=1,r.push(t))}))}))}))}})),a.forEach((function(t){delete t._})),{type:"MultiPolygon",arcs:s.map((function(e){var r,n=[];if(e.forEach((function(t){t.forEach((function(t){t.forEach((function(t){o[t<0?~t:t].length<2&&n.push(t)}))}))})),n=ha(t,n),(r=n.length)>1)for(var a,s,u=1,c=i(n[0]);u<r;++u)(a=i(n[u]))>c&&(s=n[0],n[0]=n[u],n[u]=s,c=a);return n}))}}function $t(t,e,r){for(var n,i=e+(r---e>>1);e<i;++e,--r)n=t[e],t[e]=t[r],t[r]=n}function qt(t){return null==t?{type:null}:("FeatureCollection"===t.type?function(t){var e={type:"GeometryCollection",geometries:t.features.map(Gt)};return null!=t.bbox&&(e.bbox=t.bbox),e}:"Feature"===t.type?Gt:Wt)(t)}function Gt(t){var e,r=Wt(t.geometry);for(e in null!=t.id&&(r.id=t.id),null!=t.bbox&&(r.bbox=t.bbox),t.properties){r.properties=t.properties;break}return r}function Wt(t){if(null==t)return{type:null};var e="GeometryCollection"===t.type?{type:"GeometryCollection",geometries:t.geometries.map(Wt)}:"Point"===t.type||"MultiPoint"===t.type?{type:t.type,coordinates:t.coordinates}:{type:t.type,arcs:t.coordinates};return null!=t.bbox&&(e.bbox=t.bbox),e}function Kt(t){var e,r=t[0],n=t[1];return n<r&&(e=r,r=n,n=e),r+31*n}function Xt(t,e){var r,n=t[0],i=t[1],o=e[0],a=e[1];return i<n&&(r=n,n=i,i=r),a<o&&(r=o,o=a,a=r),n===o&&i===a}function Jt(t,e){if(e=e||{},!S(e))throw new Error("options is invalid");var r=e.mutate;if("FeatureCollection"!==J(t))throw new Error("geojson must be a FeatureCollection");if(!t.features.length)throw new Error("geojson is empty");!1!==r&&void 0!==r||(t=Rt(t));var n=[],i=U(t,(function(t,e){var r=function(t,e){var r,n=t.geometry.coordinates,i=e.geometry.coordinates,o=Zt(n[0]),a=Zt(n[n.length-1]),u=Zt(i[0]),c=Zt(i[i.length-1]);if(o===c)r=i.concat(n.slice(1));else if(u===a)r=n.concat(i.slice(1));else if(o===u)r=n.slice(1).reverse().concat(i);else{if(a!==c)return null;r=n.concat(i.reverse().slice(1))}return s(r)}(t,e);return r||(n.push(t),e)}));return i&&n.push(i),n.length?1===n.length?n[0]:l(n.map((function(t){return t.coordinates}))):null}function Zt(t){return t[0].toString()+","+t[1].toString()}function Qt(t,e){if(e=e||{},!S(e))throw new Error("options is invalid");var r=e.mutate;if("FeatureCollection"!==J(t))throw new Error("geojson must be a FeatureCollection");if(!t.features.length)throw new Error("geojson is empty");!1!==r&&void 0!==r||(t=Rt(t));var n=function(t){var e={};j(t,(function(t){e[t.geometry.type]=!0}));var r=Object.keys(e);return 1===r.length?r[0]:null}(t);if(!n)throw new Error("geojson must be homogenous");switch(n){case"LineString":return Jt(t,e);case"Polygon":return function(t,e){if(e=e||{},!S(e))throw new Error("options is invalid");var r=e.mutate;if("FeatureCollection"!==J(t))throw new Error("geojson must be a FeatureCollection");if(!t.features.length)throw new Error("geojson is empty");!1!==r&&void 0!==r||(t=Rt(t));var n=[];j(t,(function(t){n.push(t.geometry)}));var i=xa({geoms:d(n).geometry});return fa(i,i.objects.geoms.geometries)}(t,e);default:throw new Error(n+" is not supported")}}function te(t,r){var n="object"==typeof r?r.mutate:r;if(!t)throw new Error("geojson is required");var i=J(t),o=[];switch(i){case"LineString":o=ee(t);break;case"MultiLineString":case"Polygon":V(t).forEach((function(t){o.push(ee(t))}));break;case"MultiPolygon":V(t).forEach((function(t){var e=[];t.forEach((function(t){e.push(ee(t))})),o.push(e)}));break;case"Point":return t;case"MultiPoint":var a={};V(t).forEach((function(t){var e=t.join("-");a.hasOwnProperty(e)||(o.push(t),a[e]=!0)}));break;default:throw new Error(i+" geometry not supported")}return t.coordinates?!0===n?(t.coordinates=o,t):{type:i,coordinates:o}:!0===n?(t.geometry.coordinates=o,t):e({type:i,coordinates:o},t.properties,t.bbox,t.id)}function ee(t){var e=V(t);if(2===e.length&&!function(t,e){return t[0]===e[0]&&t[1]===e[1]}(e[0],e[1]))return e;var r,n,i,o=[],a=e.length-1;o.push(e[0]);for(var s=1;s<a;s++)r=e[s-1],n=e[s],function(t,e,r){var n=r[0],i=r[1],o=t[0],a=t[1],s=e[0],u=e[1],c=s-o,l=u-a;return(n-o)*l-(i-a)*c==0&&(Math.abs(c)>=Math.abs(l)?c>0?o<=n&&n<=s:s<=n&&n<=o:l>0?a<=i&&i<=u:u<=i&&i<=a)}(r,i=e[s+1],n)||o.push(n);return o.push(i),o}function re(t,e){var r=t.x-e.x,n=t.y-e.y;return r*r+n*n}function ne(t,e,r){var n=e.x,i=e.y,o=r.x-n,a=r.y-i;if(0!==o||0!==a){var s=((t.x-n)*o+(t.y-i)*a)/(o*o+a*a);s>1?(n=r.x,i=r.y):s>0&&(n+=o*s,i+=a*s)}return o=t.x-n,a=t.y-i,o*o+a*a}function ie(t,e,r,n,i){for(var o,a=n,s=e+1;s<r;s++){var u=ne(t[s],t[e],t[r]);u>a&&(o=s,a=u)}a>n&&(o-e>1&&ie(t,e,o,n,i),i.push(t[o]),r-o>1&&ie(t,o,r,n,i))}function oe(t,e,r){if(t.length<=2)return t;var n=void 0!==e?e*e:1;return t=r?t:function(t,e){for(var r,n=t[0],i=[n],o=1,a=t.length;o<a;o++)re(r=t[o],n)>e&&(i.push(r),n=r);return n!==r&&i.push(r),i}(t,n),function(t,e){var r=t.length-1,n=[t[0]];return ie(t,0,r,e,n),n.push(t[r]),n}(t,n)}function ae(t,e,r){return oe(t.map((function(t){return{x:t[0],y:t[1],z:t[2]}})),e,r).map((function(t){return t.z?[t.x,t.y,t.z]:[t.x,t.y]}))}function se(t,e,r){return t.map((function(t){var n=t.map((function(t){return{x:t[0],y:t[1]}}));if(n.length<4)throw new Error("invalid polygon");for(var i=oe(n,e,r).map((function(t){return[t.x,t.y]}));!function(t){return!(t.length<3||3===t.length&&t[2][0]===t[0][0]&&t[2][1]===t[0][1])}(i);)i=oe(n,e-=.01*e,r).map((function(t){return[t.x,t.y]}));return i[i.length-1][0]===i[0][0]&&i[i.length-1][1]===i[0][1]||i.push(i[0]),i}))}function ue(t,e){if(e=e||{},!S(e))throw new Error("options is invalid");var r=e.resolution||1e4,n=e.sharpness||.85;if(!t)throw new Error("line is required");if(!k(r))throw new Error("resolution must be an number");if(!k(n))throw new Error("sharpness must be an number");for(var i=[],o=new ka({points:K(t).coordinates.map((function(t){return{x:t[0],y:t[1]}})),duration:r,sharpness:n}),a=0;a<o.duration;a+=10){var u=o.pos(a);Math.floor(a/100)%2==0&&i.push([u.x,u.y])}return s(i,t.properties)}function ce(t){E(t);var e=Number(t[0]),r=Number(t[1]),n=Number(t[2]),i=Number(t[3]);if(6===t.length)throw new Error("@turf/bbox-polygon does not support BBox with 6 positions");var a=[e,r];return o([[a,[n,r],[n,i],[e,i],a]])}function le(t){return ce(H(t))}function he(t){var e=t[0],r=t[1],n=t[2],i=t[3];if(Nt(t.slice(0,2),[n,r])>=Nt(t.slice(0,2),[e,i])){var o=(r+i)/2;return[e,o-(n-e)/2,n,o+(n-e)/2]}var a=(e+n)/2;return[a-(i-r)/2,r,a+(i-r)/2,i]}function fe(t,e,r,i){if(i=i||{},!S(i))throw new Error("options is invalid");var o=i.units,a=i.properties,s=z(t),u=_(s[0]),c=_(s[1]),l=_(r),h=g(e,o),f=Math.asin(Math.sin(c)*Math.cos(h)+Math.cos(c)*Math.sin(h)*Math.cos(l));return n([b(u+Math.atan2(Math.sin(l)*Math.sin(h)*Math.cos(c),Math.cos(h)-Math.sin(c)*Math.sin(f))),b(f)],a)}function de(t,e,r){var n=(r=r||{}).steps||64,i=r.properties;if(!t)throw new Error("center is required");if(!e)throw new Error("radius is required");if("object"!=typeof r)throw new Error("options must be an object");if("number"!=typeof n)throw new Error("steps must be a number");n=n||64,i=i||t.properties||{};for(var a=[],s=0;s<n;s++)a.push(fe(t,e,-360*s/n,r).geometry.coordinates);return a.push(a[0]),o([a],i)}function pe(t,e,r){if(r=r||{},!S(r))throw new Error("options is invalid");if(!0===r.final)return function(t,e){var r=pe(e,t);return(r+180)%360}(t,e);var n=z(t),i=z(e),o=_(n[0]),a=_(i[0]),s=_(n[1]),u=_(i[1]),c=Math.sin(a-o)*Math.cos(u),l=Math.cos(s)*Math.sin(u)-Math.sin(s)*Math.cos(u)*Math.cos(a-o);return b(Math.atan2(c,l))}function me(t,e){if(e=e||{},!S(e))throw new Error("options is invalid");var r=e.properties;if(!t)throw new Error("geojson is required");var i=H(t);return n([(i[0]+i[2])/2,(i[1]+i[3])/2],r)}function ge(t,e){var r=0,i=0,o=0;return A(t,(function(t){r+=t[0],i+=t[1],o++}),!0),n([r/o,i/o],e)}function ye(t,e){switch(J(t)){case"Point":return t;case"Polygon":var r=[];A(t,(function(t){r.push(t)}));var i,o,a,s,u,c,l,h,f=ge(t,e),d=f.geometry.coordinates,p=0,m=0,g=0,y=r.map((function(t){return[t[0]-d[0],t[1]-d[1]]}));for(i=0;i<r.length-1;i++)s=(o=y[i])[0],c=o[1],u=(a=y[i+1])[0],g+=h=s*(l=a[1])-u*c,p+=(s+u)*h,m+=(c+l)*h;if(0===g)return f;var v=1/(.5*g*6);return n([d[0]+v*p,d[1]+v*m],e);default:var b=Ct(t);return b?ye(b,e):ge(t,e)}}function ve(t){var e=[];return"FeatureCollection"===t.type?P(t,(function(t){A(t,(function(r){e.push(n(r,t.properties))}))})):A(t,(function(r){e.push(n(r,t.properties))})),c(e)}function be(t,e,r){r=r||2;var n,i,o,a,s,u,c,l=e&&e.length,h=l?e[0]*r:t.length,f=_e(t,0,h,r,!0),d=[];if(!f)return d;if(l&&(f=function(t,e,r,n){var i,o,a,s,u,c=[];for(i=0,o=e.length;i<o;i++)a=e[i]*n,s=i<o-1?e[i+1]*n:t.length,(u=_e(t,a,s,n,!1))===u.next&&(u.steiner=!0),c.push(function(t){var e=t,r=t;do{e.x<r.x&&(r=e),e=e.next}while(e!==t);return r}(u));for(c.sort(ke),i=0;i<c.length;i++)!function(t,e){if(e=function(t,e){var r,n=e,i=t.x,o=t.y,a=-1/0;do{if(o<=n.y&&o>=n.next.y&&n.next.y!==n.y){var s=n.x+(o-n.y)*(n.next.x-n.x)/(n.next.y-n.y);if(s<=i&&s>a){if(a=s,s===i){if(o===n.y)return n;if(o===n.next.y)return n.next}r=n.x<n.next.x?n:n.next}}n=n.next}while(n!==e);if(!r)return null;if(i===a)return r.prev;var u,c=r,l=r.x,h=r.y,f=1/0;for(n=r.next;n!==c;)i>=n.x&&n.x>=l&&i!==n.x&&Ee(o<h?i:a,o,l,h,o<h?a:i,o,n.x,n.y)&&((u=Math.abs(o-n.y)/(i-n.x))<f||u===f&&n.x>r.x)&&Ce(n,t)&&(r=n,f=u),n=n.next;return r}(t,e)){var r=Le(e,t);we(r,r.next)}}(c[i],r),r=we(r,r.next);return r}(t,e,f,r)),t.length>80*r){n=o=t[0],i=a=t[1];for(var p=r;p<h;p+=r)s=t[p],u=t[p+1],s<n&&(n=s),u<i&&(i=u),s>o&&(o=s),u>a&&(a=u);c=0!==(c=Math.max(o-n,a-i))?1/c:0}return xe(f,d,r,n,i,c),d}function _e(t,e,r,n,i){var o,a;if(i===De(t,e,r,n)>0)for(o=e;o<r;o+=n)a=Pe(o,t[o],t[o+1],a);else for(o=r-n;o>=e;o-=n)a=Pe(o,t[o],t[o+1],a);return a&&Ae(a,a.next)&&(Oe(a),a=a.next),a}function we(t,e){if(!t)return t;e||(e=t);var r,n=t;do{if(r=!1,n.steiner||!Ae(n,n.next)&&0!==Me(n.prev,n,n.next))n=n.next;else{if(Oe(n),(n=e=n.prev)===n.next)break;r=!0}}while(r||n!==e);return e}function xe(t,e,r,n,i,o,a){if(t){!a&&o&&function(t,e,r,n){var i=t;do{null===i.z&&(i.z=Se(i.x,i.y,e,r,n)),i.prevZ=i.prev,i.nextZ=i.next,i=i.next}while(i!==t);i.prevZ.nextZ=null,i.prevZ=null,function(t){var e,r,n,i,o,a,s,u,c=1;do{for(r=t,t=null,o=null,a=0;r;){for(a++,n=r,s=0,e=0;e<c&&(s++,n=n.nextZ);e++);for(u=c;s>0||u>0&&n;)0!==s&&(0===u||!n||r.z<=n.z)?(i=r,r=r.nextZ,s--):(i=n,n=n.nextZ,u--),o?o.nextZ=i:t=i,i.prevZ=o,o=i;r=n}o.nextZ=null,c*=2}while(a>1)}(i)}(t,n,i,o);for(var s,u,c=t;t.prev!==t.next;)if(s=t.prev,u=t.next,o?function(t,e,r,n){var i=t.prev,o=t,a=t.next;if(Me(i,o,a)>=0)return!1;for(var s=i.x<o.x?i.x<a.x?i.x:a.x:o.x<a.x?o.x:a.x,u=i.y<o.y?i.y<a.y?i.y:a.y:o.y<a.y?o.y:a.y,c=i.x>o.x?i.x>a.x?i.x:a.x:o.x>a.x?o.x:a.x,l=i.y>o.y?i.y>a.y?i.y:a.y:o.y>a.y?o.y:a.y,h=Se(s,u,e,r,n),f=Se(c,l,e,r,n),d=t.nextZ;d&&d.z<=f;){if(d!==t.prev&&d!==t.next&&Ee(i.x,i.y,o.x,o.y,a.x,a.y,d.x,d.y)&&Me(d.prev,d,d.next)>=0)return!1;d=d.nextZ}for(d=t.prevZ;d&&d.z>=h;){if(d!==t.prev&&d!==t.next&&Ee(i.x,i.y,o.x,o.y,a.x,a.y,d.x,d.y)&&Me(d.prev,d,d.next)>=0)return!1;d=d.prevZ}return!0}(t,n,i,o):function(t){var e=t.prev,r=t,n=t.next;if(Me(e,r,n)>=0)return!1;for(var i=t.next.next;i!==t.prev;){if(Ee(e.x,e.y,r.x,r.y,n.x,n.y,i.x,i.y)&&Me(i.prev,i,i.next)>=0)return!1;i=i.next}return!0}(t))e.push(s.i/r),e.push(t.i/r),e.push(u.i/r),Oe(t),t=u.next,c=u.next;else if((t=u)===c){a?1===a?xe(t=function(t,e,r){var n=t;do{var i=n.prev,o=n.next.next;!Ae(i,o)&&Te(i,n,n.next,o)&&Ce(i,o)&&Ce(o,i)&&(e.push(i.i/r),e.push(n.i/r),e.push(o.i/r),Oe(n),Oe(n.next),n=t=o),n=n.next}while(n!==t);return n}(t,e,r),e,r,n,i,o,2):2===a&&function(t,e,r,n,i,o){var a=t;do{for(var s=a.next.next;s!==a.prev;){if(a.i!==s.i&&function(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!function(t,e){var r=t;do{if(r.i!==t.i&&r.next.i!==t.i&&r.i!==e.i&&r.next.i!==e.i&&Te(r,r.next,t,e))return!0;r=r.next}while(r!==t);return!1}(t,e)&&Ce(t,e)&&Ce(e,t)&&function(t,e){var r=t,n=!1,i=(t.x+e.x)/2,o=(t.y+e.y)/2;do{r.y>o!=r.next.y>o&&r.next.y!==r.y&&i<(r.next.x-r.x)*(o-r.y)/(r.next.y-r.y)+r.x&&(n=!n),r=r.next}while(r!==t);return n}(t,e)}(a,s)){var u=Le(a,s);return a=we(a,a.next),u=we(u,u.next),xe(a,e,r,n,i,o),void xe(u,e,r,n,i,o)}s=s.next}a=a.next}while(a!==t)}(t,e,r,n,i,o):xe(we(t),e,r,n,i,o,1);break}}}function ke(t,e){return t.x-e.x}function Se(t,e,r,n,i){return t=32767*(t-r)*i,e=32767*(e-n)*i,t=16711935&(t|t<<8),t=252645135&(t|t<<4),t=858993459&(t|t<<2),t=1431655765&(t|t<<1),e=16711935&(e|e<<8),e=252645135&(e|e<<4),e=858993459&(e|e<<2),e=1431655765&(e|e<<1),t|e<<1}function Ee(t,e,r,n,i,o,a,s){return(i-a)*(e-s)-(t-a)*(o-s)>=0&&(t-a)*(n-s)-(r-a)*(e-s)>=0&&(r-a)*(o-s)-(i-a)*(n-s)>=0}function Me(t,e,r){return(e.y-t.y)*(r.x-e.x)-(e.x-t.x)*(r.y-e.y)}function Ae(t,e){return t.x===e.x&&t.y===e.y}function Te(t,e,r,n){return!!(Ae(t,e)&&Ae(r,n)||Ae(t,n)&&Ae(r,e))||Me(t,e,r)>0!=Me(t,e,n)>0&&Me(r,n,t)>0!=Me(r,n,e)>0}function Ce(t,e){return Me(t.prev,t,t.next)<0?Me(t,e,t.next)>=0&&Me(t,t.prev,e)>=0:Me(t,e,t.prev)<0||Me(t,t.next,e)<0}function Le(t,e){var r=new Ie(t.i,t.x,t.y),n=new Ie(e.i,e.x,e.y),i=t.next,o=e.prev;return t.next=e,e.prev=t,r.next=i,i.prev=r,n.next=r,r.prev=n,o.next=n,n.prev=o,n}function Pe(t,e,r,n){var i=new Ie(t,e,r);return n?(i.next=n.next,i.prev=n,n.next.prev=i,n.next=i):(i.prev=i,i.next=i),i}function Oe(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function Ie(t,e,r){this.i=t,this.x=e,this.y=r,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function De(t,e,r,n){for(var i=0,o=e,a=r-n;o<r;o+=n)i+=(t[a]-t[o])*(t[o+1]+t[a+1]),a=o;return i}function Be(t){var e=function(t){for(var e=t[0][0].length,r={vertices:[],holes:[],dimensions:e},n=0,i=0;i<t.length;i++){for(var o=0;o<t[i].length;o++)for(var a=0;a<e;a++)r.vertices.push(t[i][o][a]);i>0&&(n+=t[i-1].length,r.holes.push(n))}return r}(t),r=Sa(e.vertices,e.holes,2),n=[],i=[];r.forEach((function(t,n){var o=r[n];i.push([e.vertices[2*o],e.vertices[2*o+1]])}));for(var a=0;a<i.length;a+=3){var s=i.slice(a,a+3);s.push(i[a]),n.push(o([s]))}return n}function je(t,e){if(!t)throw new Error("targetPoint is required");if(!e)throw new Error("points is required");var r,n=1/0;return P(e,(function(e,i){var o=Nt(t,e);o<n&&((r=Rt(e)).properties.featureIndex=i,r.properties.distanceToPoint=o,n=o)})),r}function Ne(t,e,r,n,i){Re(t,e,r||0,n||t.length-1,i||function(t,e){return t<e?-1:t>e?1:0})}function Re(t,e,r,n,i){for(;n>r;){if(n-r>600){var o=n-r+1,a=e-r+1,s=Math.log(o),u=.5*Math.exp(2*s/3),c=.5*Math.sqrt(s*u*(o-u)/o)*(a-o/2<0?-1:1);Re(t,e,Math.max(r,Math.floor(e-a*u/o+c)),Math.min(n,Math.floor(e+(o-a)*u/o+c)),i)}var l=t[e],h=r,f=n;for(Fe(t,r,e),i(t[n],l)>0&&Fe(t,r,n);h<f;){for(Fe(t,h,f),h++,f--;i(t[h],l)<0;)h++;for(;i(t[f],l)>0;)f--}0===i(t[r],l)?Fe(t,r,f):Fe(t,++f,n),f<=e&&(r=f+1),e<=f&&(n=f-1)}}function Fe(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function Ye(t,e){if(!(this instanceof Ye))return new Ye(t,e);this._maxEntries=Math.max(4,t||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),e&&this._initFormat(e),this.clear()}function Ue(t,e){He(t,0,t.children.length,e,t)}function He(t,e,r,n,i){i||(i=Xe(null)),i.minX=1/0,i.minY=1/0,i.maxX=-1/0,i.maxY=-1/0;for(var o,a=e;a<r;a++)o=t.children[a],ze(i,t.leaf?n(o):o);return i}function ze(t,e){return t.minX=Math.min(t.minX,e.minX),t.minY=Math.min(t.minY,e.minY),t.maxX=Math.max(t.maxX,e.maxX),t.maxY=Math.max(t.maxY,e.maxY),t}function Ve(t,e){return t.minX-e.minX}function $e(t,e){return t.minY-e.minY}function qe(t){return(t.maxX-t.minX)*(t.maxY-t.minY)}function Ge(t){return t.maxX-t.minX+(t.maxY-t.minY)}function We(t,e){return t.minX<=e.minX&&t.minY<=e.minY&&e.maxX<=t.maxX&&e.maxY<=t.maxY}function Ke(t,e){return e.minX<=t.maxX&&e.minY<=t.maxY&&e.maxX>=t.minX&&e.maxY>=t.minY}function Xe(t){return{children:t,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function Je(t,e,r,n,i){for(var o,a=[e,r];a.length;)(r=a.pop())-(e=a.pop())<=n||(Ne(t,o=e+Math.ceil((r-e)/n/2)*n,e,r,i),a.push(e,o,o,r))}function Ze(t){var e=Ye(t);return e.insert=function(t){if(Array.isArray(t)){var e=t;(t=Qe(e)).bbox=e}else t.bbox=t.bbox?t.bbox:tr(t);return Ye.prototype.insert.call(this,t)},e.load=function(t){var e=[];return Array.isArray(t)?t.forEach((function(t){var r=Qe(t);r.bbox=t,e.push(r)})):P(t,(function(t){t.bbox=t.bbox?t.bbox:tr(t),e.push(t)})),Ye.prototype.load.call(this,e)},e.remove=function(t){if(Array.isArray(t)){var e=t;(t=Qe(e)).bbox=e}return Ye.prototype.remove.call(this,t)},e.clear=function(){return Ye.prototype.clear.call(this)},e.search=function(t){return{type:"FeatureCollection",features:Ye.prototype.search.call(this,this.toBBox(t))}},e.collides=function(t){return Ye.prototype.collides.call(this,this.toBBox(t))},e.all=function(){return{type:"FeatureCollection",features:Ye.prototype.all.call(this)}},e.toJSON=function(){return Ye.prototype.toJSON.call(this)},e.fromJSON=function(t){return Ye.prototype.fromJSON.call(this,t)},e.toBBox=function(t){var e;return e=t.bbox?t.bbox:Array.isArray(t)&&4===t.length?t:tr(t),{minX:e[0],minY:e[1],maxX:e[2],maxY:e[3]}},e}function Qe(t){var e=[t[0],t[1]],r=[t[0],t[3]],n=[t[2],t[3]];return{type:"Feature",bbox:t,properties:{},geometry:{type:"Polygon",coordinates:[[e,[t[2],t[1]],n,r,e]]}}}function tr(t){var e=[1/0,1/0,-1/0,-1/0];return A(t,(function(t){e[0]>t[0]&&(e[0]=t[0]),e[1]>t[1]&&(e[1]=t[1]),e[2]<t[0]&&(e[2]=t[0]),e[3]<t[1]&&(e[3]=t[1])})),e}function er(t){if(!t)throw new Error("geojson is required");var e=[];return j(t,(function(t){!function(t,e){var r=[],n=t.geometry;switch(n.type){case"Polygon":r=V(n);break;case"LineString":r=[V(n)]}r.forEach((function(r){var n=function(t,e){var r=[];return t.reduce((function(t,n){var i=s([t,n],e);return i.bbox=function(t,e){var r=t[0],n=t[1],i=e[0],o=e[1];return[r<i?r:i,n<o?n:o,r>i?r:i,n>o?n:o]}(t,n),r.push(i),n})),r}(r,t.properties);n.forEach((function(t){t.id=e.length,e.push(t)}))}))}(t,e)})),c(e)}function rr(t,r){var n={},i=[];if("LineString"===t.type&&(t=e(t)),"LineString"===r.type&&(r=e(r)),"Feature"===t.type&&"Feature"===r.type&&"LineString"===t.geometry.type&&"LineString"===r.geometry.type&&2===t.geometry.coordinates.length&&2===r.geometry.coordinates.length){var o=nr(t,r);return o&&i.push(o),c(i)}var a=Ze();return a.load(er(r)),P(er(t),(function(t){P(a.search(t),(function(e){var r=nr(t,e);if(r){var o=V(r).join(",");n[o]||(n[o]=!0,i.push(r))}}))})),c(i)}function nr(t,e){var r=V(t),i=V(e);if(2!==r.length)throw new Error("<intersects> line1 must only contain 2 coordinates");if(2!==i.length)throw new Error("<intersects> line2 must only contain 2 coordinates");var o=r[0][0],a=r[0][1],s=r[1][0],u=r[1][1],c=i[0][0],l=i[0][1],h=i[1][0],f=i[1][1],d=(f-l)*(s-o)-(h-c)*(u-a),p=(h-c)*(a-l)-(f-l)*(o-c),m=(s-o)*(a-l)-(u-a)*(o-c);if(0===d)return null;var g=p/d,y=m/d;return g>=0&&g<=1&&y>=0&&y<=1?n([o+g*(s-o),a+g*(u-a)]):null}function ir(t,e,r){if(r=r||{},!S(r))throw new Error("options is invalid");var i=t.geometry?t.geometry.type:t.type;if("LineString"!==i&&"MultiLineString"!==i)throw new Error("lines must be LineString or MultiLineString");var o=n([1/0,1/0],{dist:1/0}),a=0;return j(t,(function(t){for(var i=V(t),u=0;u<i.length-1;u++){var c=n(i[u]);c.properties.dist=Nt(e,c,r);var l=n(i[u+1]);l.properties.dist=Nt(e,l,r);var h=Nt(c,l,r),f=Math.max(c.properties.dist,l.properties.dist),d=pe(c,l),p=fe(e,f,d+90,r),m=fe(e,f,d-90,r),g=rr(s([p.geometry.coordinates,m.geometry.coordinates]),s([c.geometry.coordinates,l.geometry.coordinates])),y=null;g.features.length>0&&((y=g.features[0]).properties.dist=Nt(e,y,r),y.properties.location=a+Nt(c,y,r)),c.properties.dist<o.properties.dist&&((o=c).properties.index=u,o.properties.location=a),l.properties.dist<o.properties.dist&&((o=l).properties.index=u+1,o.properties.location=a+h),y&&y.properties.dist<o.properties.dist&&((o=y).properties.index=u),a+=h}})),o}function or(t,e,r){if(r=r||{},!S(r))throw new Error("options is invalid");var n,i=r.final;if(!t)throw new Error("start point is required");if(!e)throw new Error("end point is required");return(n=i?ar(z(e),z(t)):ar(z(t),z(e)))>180?-(360-n):n}function ar(t,e){var r=_(t[1]),n=_(e[1]),i=_(e[0]-t[0]);i>Math.PI&&(i-=2*Math.PI),i<-Math.PI&&(i+=2*Math.PI);var o=Math.log(Math.tan(n/2+Math.PI/4)/Math.tan(r/2+Math.PI/4));return(b(Math.atan2(i,o))+360)%360}function sr(t,e,r){if(r=r||{},!S(r))throw new Error("options is invalid");var n=r.units;if(!t)throw new Error("from point is required");if(!e)throw new Error("to point is required");var i=z(t),o=z(e);return o[0]+=o[0]-i[0]>180?-360:i[0]-o[0]>180?360:0,w(function(t,e,r){var n=r=void 0===r?jo:Number(r),i=t[1]*Math.PI/180,o=e[1]*Math.PI/180,a=o-i,s=Math.abs(e[0]-t[0])*Math.PI/180;s>Math.PI&&(s-=2*Math.PI);var u=Math.log(Math.tan(o/2+Math.PI/4)/Math.tan(i/2+Math.PI/4)),c=Math.abs(u)>1e-11?a/u:Math.cos(i);return Math.sqrt(a*a+c*c*s*s)*n}(i,o),"meters",n)}function ur(t,e){return lr(t,"mercator",e)}function cr(t,e){return lr(t,"wgs84",e)}function lr(t,e,r){if(r=r||{},!S(r))throw new Error("options is invalid");var n=r.mutate;if(!t)throw new Error("geojson is required");return Array.isArray(t)&&k(t[0])?t="mercator"===e?hr(t):fr(t):(!0!==n&&(t=Rt(t)),A(t,(function(t){var r="mercator"===e?hr(t):fr(t);t[0]=r[0],t[1]=r[1]}))),t}function hr(t){var e=Math.PI/180,r=20037508.342789244,n=[6378137*(Math.abs(t[0])<=180?t[0]:t[0]-360*function(t){return t<0?-1:t>0?1:0}(t[0]))*e,6378137*Math.log(Math.tan(.25*Math.PI+.5*t[1]*e))];return n[0]>r&&(n[0]=r),n[0]<-r&&(n[0]=-r),n[1]>r&&(n[1]=r),n[1]<-r&&(n[1]=-r),n}function fr(t){var e=180/Math.PI;return[t[0]*e/6378137,(.5*Math.PI-2*Math.atan(Math.exp(-t[1]/6378137)))*e]}function dr(t,r,i){if(i=i||{},!S(i))throw new Error("options is invalid");if(!t)throw new Error("pt is required");if(Array.isArray(t)?t=n(t):"Point"===t.type?t=e(t):G(t,"Point","point"),!r)throw new Error("line is required");Array.isArray(r)?r=s(r):"LineString"===r.type?r=e(r):G(r,"LineString","line");var o=1/0,a=t.geometry.coordinates;return R(r,(function(t){var e=t.geometry.coordinates[0],r=t.geometry.coordinates[1],s=function(t,e,r,i){var o=i.mercator,a=!0!==o?Nt(e,t,i):pr(e,t,i),s=v(!0!==o?pe(e,t):or(e,t)),u=v(!0!==o?pe(e,r):or(e,r)),c=Math.abs(s-u);if(c>90)return a;var l=(u+180)%360,h=v(!0!==o?pe(r,t):or(r,t)),f=Math.abs(h-l);return f>180&&(f=Math.abs(f-360)),f>90?!0!==o?Nt(t,r,i):pr(t,r,i):!0!==o?a*Math.sin(_(c)):function(t,e,r,i){var o=0;(Math.abs(t[0])>=180||Math.abs(e[0])>=180||Math.abs(r[0])>=180)&&(o=t[0]>0||e[0]>0||r[0]>0?-180:180);var a=n(r),s=ur([t[0]+o,t[1]]),u=ur([e[0]+o,e[1]]),c=ur([r[0]+o,r[1]]),l=cr(function(t,e,r){var n=t[0],i=t[1],o=e[0],a=e[1],s=r[0],u=r[1],c=o-n,l=a-i,h=((s-n)*c+(u-i)*l)/(c*c+l*l);return[n+h*c,i+h*l]}(s,u,c));return 0!==o&&(l[0]-=o),sr(a,l,i)}(e,r,t,i)}(a,e,r,i);o>s&&(o=s)})),o}function pr(t,e,r){var n=r.units,i=0;Math.abs(t[0])>=180&&(i=t[0]>0?-180:180),Math.abs(e[0])>=180&&(i=e[0]>0?-180:180);var o=ur([t[0]+i,t[1]]),a=ur([e[0]+i,e[1]]),s=function(t){return t*t},u=s(o[0]-a[0])+s(o[1]-a[1]);return w(Math.sqrt(u),"meters",n)}function mr(t){for(var r=function(t){return"FeatureCollection"!==t.type?"Feature"!==t.type?c([e(t)]):c([t]):t}(t),i=me(r),o=!1,a=0;!o&&a<r.features.length;){var s,u=r.features[a].geometry,l=!1;if("Point"===u.type)i.geometry.coordinates[0]===u.coordinates[0]&&i.geometry.coordinates[1]===u.coordinates[1]&&(o=!0);else if("MultiPoint"===u.type){var h=!1;for(s=0;!h&&s<u.coordinates.length;)i.geometry.coordinates[0]===u.coordinates[s][0]&&i.geometry.coordinates[1]===u.coordinates[s][1]&&(o=!0,h=!0),s++}else if("LineString"===u.type)for(s=0;!l&&s<u.coordinates.length-1;)gr(i.geometry.coordinates[0],i.geometry.coordinates[1],u.coordinates[s][0],u.coordinates[s][1],u.coordinates[s+1][0],u.coordinates[s+1][1])&&(l=!0,o=!0),s++;else if("MultiLineString"===u.type)for(var f=0;f<u.coordinates.length;){l=!1,s=0;for(var d=u.coordinates[f];!l&&s<d.length-1;)gr(i.geometry.coordinates[0],i.geometry.coordinates[1],d[s][0],d[s][1],d[s+1][0],d[s+1][1])&&(l=!0,o=!0),s++;f++}else"Polygon"!==u.type&&"MultiPolygon"!==u.type||Lt(i,u)&&(o=!0);a++}if(o)return i;var p=c([]);for(a=0;a<r.features.length;a++)p.features=p.features.concat(ve(r.features[a]).features);return n(je(i,p).geometry.coordinates)}function gr(t,e,r,n,i,o){return Math.sqrt((i-r)*(i-r)+(o-n)*(o-n))===Math.sqrt((t-r)*(t-r)+(e-n)*(e-n))+Math.sqrt((i-t)*(i-t)+(o-e)*(o-e))}function yr(t){return B(t,(function(t,e){return t+vr(e)}),0)}function vr(t){var e,r=0;switch(t.type){case"Polygon":return br(t.coordinates);case"MultiPolygon":for(e=0;e<t.coordinates.length;e++)r+=br(t.coordinates[e]);return r;case"Point":case"MultiPoint":case"LineString":case"MultiLineString":return 0;case"GeometryCollection":for(e=0;e<t.geometries.length;e++)r+=vr(t.geometries[e]);return r}}function br(t){var e=0;if(t&&t.length>0){e+=Math.abs(_r(t[0]));for(var r=1;r<t.length;r++)e-=Math.abs(_r(t[r]))}return e}function _r(t){var e,r,n,i,o,a,s=0,u=t.length;if(u>2){for(a=0;a<u;a++)a===u-2?(n=u-2,i=u-1,o=0):a===u-1?(n=u-1,i=0,o=1):(n=a,i=a+1,o=a+2),e=t[n],r=t[i],s+=(wr(t[o][0])-wr(e[0]))*Math.sin(wr(r[1]));s=s*Aa*Aa/2}return s}function wr(t){return t*Math.PI/180}function xr(t,e){if(e=e||{},!S(e))throw new Error("options is invalid");if(!t)throw new Error("geojson is required");return F(t,(function(t,r){var n=r.geometry.coordinates;return t+Nt(n[0],n[1],e)}),0)}function kr(t,e,r,n){if(n=n||{},!S(n))throw new Error("options is invalid");var i,o=[];if("Feature"===t.type)i=t.geometry.coordinates;else{if("LineString"!==t.type)throw new Error("input must be a LineString Feature or Geometry");i=t.coordinates}for(var a,u,c,l=0,h=0;h<i.length&&!(e>=l&&h===i.length-1);h++){if(l>e&&0===o.length){if(!(a=e-l))return o.push(i[h]),s(o);u=pe(i[h],i[h-1])-180,c=fe(i[h],a,u,n),o.push(c.geometry.coordinates)}if(l>=r)return(a=r-l)?(u=pe(i[h],i[h-1])-180,c=fe(i[h],a,u,n),o.push(c.geometry.coordinates),s(o)):(o.push(i[h]),s(o));if(l>=e&&o.push(i[h]),h===i.length-1)return s(o);l+=Nt(i[h],i[h+1],n)}return s(i[i.length-1])}function Sr(t,e,r){var n=(r=r||{}).ignoreEndVertices;if(!S(r))throw new Error("invalid options");if(!t)throw new Error("pt is required");if(!e)throw new Error("line is required");for(var i=z(t),o=V(e),a=0;a<o.length-1;a++){var s=!1;if(n&&(0===a&&(s="start"),a===o.length-2&&(s="end"),0===a&&a+1===o.length-1&&(s="both")),function(t,e,r,n){var i=r[0],o=r[1],a=t[0],s=t[1],u=e[0],c=e[1],l=r[0]-a,h=r[1]-s,f=u-a,d=c-s;return l*d-h*f==0&&(n?"start"===n?Math.abs(f)>=Math.abs(d)?f>0?a<i&&i<=u:u<=i&&i<a:d>0?s<o&&o<=c:c<=o&&o<s:"end"===n?Math.abs(f)>=Math.abs(d)?f>0?a<=i&&i<u:u<i&&i<=a:d>0?s<=o&&o<c:c<o&&o<=s:"both"===n?Math.abs(f)>=Math.abs(d)?f>0?a<i&&i<u:u<i&&i<a:d>0?s<o&&o<c:c<o&&o<s:void 0:Math.abs(f)>=Math.abs(d)?f>0?a<=i&&i<=u:u<=i&&i<=a:d>0?s<=o&&o<=c:c<=o&&o<=s)}(o[a],o[a+1],i,s))return!0}return!1}function Er(t,e){var r=J(t),n=J(e),i=K(t),o=K(e);switch(r){case"Point":switch(n){case"MultiPoint":return function(t,e){var r,n=!1;for(r=0;r<e.coordinates.length;r++)if(Ar(e.coordinates[r],t.coordinates)){n=!0;break}return n}(i,o);case"LineString":return Sr(i,o,{ignoreEndVertices:!0});case"Polygon":return Lt(i,o,{ignoreBoundary:!0});default:throw new Error("feature2 "+n+" geometry not supported")}case"MultiPoint":switch(n){case"MultiPoint":return function(t,e){for(var r=0;r<t.coordinates.length;r++){for(var n=!1,i=0;i<e.coordinates.length;i++)Ar(t.coordinates[r],e.coordinates[i])&&(n=!0);if(!n)return!1}return!0}(i,o);case"LineString":return function(t,e){for(var r=!1,n=0;n<t.coordinates.length;n++){if(!Sr(t.coordinates[n],e))return!1;r||(r=Sr(t.coordinates[n],e,{ignoreEndVertices:!0}))}return r}(i,o);case"Polygon":return function(t,e){for(var r=!0,n=0;n<t.coordinates.length;n++){var i=Lt(t.coordinates[1],e);if(!i){r=!1;break}i=Lt(t.coordinates[1],e,{ignoreBoundary:!0})}return r&&i}(i,o);default:throw new Error("feature2 "+n+" geometry not supported")}case"LineString":switch(n){case"LineString":return function(t,e){for(var r=0;r<t.coordinates.length;r++)if(!Sr(t.coordinates[r],e))return!1;return!0}(i,o);case"Polygon":return function(t,e){var r=H(e),n=H(t);if(!Mr(r,n))return!1;for(var i=!1,o=0;o<t.coordinates.length-1;o++){if(!Lt(t.coordinates[o],e))return!1;if(i||(i=Lt(t.coordinates[o],e,{ignoreBoundary:!0})),!i){var a=function(t,e){return[(t[0]+e[0])/2,(t[1]+e[1])/2]}(t.coordinates[o],t.coordinates[o+1]);i=Lt(a,e,{ignoreBoundary:!0})}}return i}(i,o);default:throw new Error("feature2 "+n+" geometry not supported")}case"Polygon":switch(n){case"Polygon":return function(t,e){var r=H(t);if(!Mr(H(e),r))return!1;for(var n=0;n<t.coordinates[0].length;n++)if(!Lt(t.coordinates[0][n],e))return!1;return!0}(i,o);default:throw new Error("feature2 "+n+" geometry not supported")}default:throw new Error("feature1 "+r+" geometry not supported")}}function Mr(t,e){return!(t[0]>e[0])&&!(t[2]<e[2])&&!(t[1]>e[1])&&!(t[3]<e[3])}function Ar(t,e){return t[0]===e[0]&&t[1]===e[1]}function Tr(t,e,r){if(r=r||{},!S(r))throw new Error("options is invalid");var i=r.mask,o=r.properties,a=[];if(null===e||void 0===e)throw new Error("cellSide is required");if(!k(e))throw new Error("cellSide is invalid");if(!t)throw new Error("bbox is required");if(!Array.isArray(t))throw new Error("bbox must be array");if(4!==t.length)throw new Error("bbox must contain 4 numbers");if(i&&-1===["Polygon","MultiPolygon"].indexOf(J(i)))throw new Error("options.mask must be a (Multi)Polygon");for(var s=t[0],u=t[1],l=t[2],h=t[3],f=e/Nt([s,u],[l,u],r)*(l-s),d=e/Nt([s,u],[s,h],r)*(h-u),p=l-s,m=h-u,g=Math.floor(p/f),y=(m-Math.floor(m/d)*d)/2,v=s+(p-g*f)/2;v<=l;){for(var b=u+y;b<=h;){var _=n([v,b],o);i?Er(_,i)&&a.push(_):a.push(_),b+=d}v+=f}return c(a)}function Cr(t,e){if(e=e||{},!S(e))throw new Error("options is invalid");var r=e.precision,n=e.coordinates,i=e.mutate;if(r=void 0===r||null===r||isNaN(r)?6:r,n=void 0===n||null===n||isNaN(n)?3:n,!t)throw new Error("<geojson> is required");if("number"!=typeof r)throw new Error("<precision> must be a number");if("number"!=typeof n)throw new Error("<coordinates> must be a number");!1!==i&&void 0!==i||(t=JSON.parse(JSON.stringify(t)));var o=Math.pow(10,r);return A(t,(function(t){!function(t,e,r){t.length>r&&t.splice(r,t.length);for(var n=0;n<t.length;n++)t[n]=Math.round(t[n]*e)/e}(t,o,n)})),t}function Lr(t,e){if(!t||!e)return!1;if(t.length!==e.length)return!1;for(var r=0,n=t.length;r<n;r++)if(t[r]instanceof Array&&e[r]instanceof Array){if(!Lr(t[r],e[r]))return!1}else if(t[r]!==e[r])return!1;return!0}function Pr(t,e){if(void 0===e&&(e=!0),3!=t.length)throw new Error("This function requires an array of three points [x,y]");return(t[1][0]-t[0][0])*(t[2][1]-t[0][1])-(t[1][1]-t[0][1])*(t[2][0]-t[0][0])>=0==e}function Or(t,e){if(!t||!e)return!1;if(t.length!=e.length)return!1;for(var r=0,n=t.length;r<n;r++)if(t[r]instanceof Array&&e[r]instanceof Array){if(!Or(t[r],e[r]))return!1}else if(t[r]!=e[r])return!1;return!0}function Ir(t,e){var r=[],n=Ze();return j(e,(function(e){if(r.forEach((function(t,e){t.id=e})),r.length){var i=n.search(e);if(i.features.length){var o=Br(e,i);r=r.filter((function(t){return t.id!==o.id})),n.remove(o),P(Dr(o,e),(function(t){r.push(t),n.insert(t)}))}}else(r=Dr(t,e).features).forEach((function(t){t.bbox||(t.bbox=he(H(t)))})),n.load(c(r))})),c(r)}function Dr(t,e){var r=[],n=V(t)[0],i=V(t)[t.geometry.coordinates.length-1];if(jr(n,z(e))||jr(i,z(e)))return c([t]);var o=Ze(),a=er(t);o.load(a);var u=o.search(e);if(!u.features.length)return c([t]);var l=Br(e,u),h=O(a,(function(t,n,i){var o=V(n)[1],a=z(e);return i===l.id?(t.push(a),r.push(s(t)),jr(a,o)?[a]:[a,o]):(t.push(o),t)}),[n]);return h.length>1&&r.push(s(h)),c(r)}function Br(t,e){if(!e.features.length)throw new Error("lines must contain features");if(1===e.features.length)return e.features[0];var r,n=1/0;return P(e,(function(e){var i=ir(e,t).properties.dist;i<n&&(r=e,n=i)})),r}function jr(t,e){return t[0]===e[0]&&t[1]===e[1]}function Nr(t,e,r,n,i){if(i=i||{},!S(i))throw new Error("options is invalid");var o=i.steps,a=i.units;if(!t)throw new Error("center is required");if(!e)throw new Error("radius is required");if(void 0===r||null===r)throw new Error("bearing1 is required");if(void 0===n||null===n)throw new Error("bearing2 is required");if("object"!=typeof i)throw new Error("options must be an object");o=o||64;var u=Rr(r),c=Rr(n),l=t.properties;if(u===c)return s(de(t,e,i).geometry.coordinates[0],l);for(var h=u,f=u<c?c:c+360,d=h,p=[],m=0;d<f;)p.push(fe(t,e,d,a).geometry.coordinates),d=h+360*++m/o;return d>f&&p.push(fe(t,e,f,a).geometry.coordinates),s(p,l)}function Rr(t){var e=t%360;return e<0&&(e+=360),e}function Fr(t,e){if(e=e||{},!S(e))throw new Error("options is invalid");var r=e.properties,n=J(t),i=V(t);if(r=r||t.properties||{},!i.length)throw new Error("polygon must contain coordinates");switch(n){case"Polygon":return Yr(i,r);case"MultiPolygon":var o=[];return i.forEach((function(t){o.push(Yr(t,r))})),c(o);default:throw new Error("geom "+n+" not supported")}}function Yr(t,e){return t.length>1?l(t,e):s(t[0],e)}function Ur(t,e){if(e=e||{},!S(e))throw new Error("options is invalid");var r=e.properties,n=e.autoComplete,i=e.orderCoords;if(!t)throw new Error("lines is required");switch(n=void 0===n||n,i=void 0===i||i,J(t)){case"FeatureCollection":case"GeometryCollection":var o=[];return(t.features?t.features:t.geometries).forEach((function(t){o.push(V(Hr(t,{},n,i)))})),f(o,r)}return Hr(t,r,n,i)}function Hr(t,e,r,n){e=e||t.properties||{};var i=V(t),a=J(t);if(!i.length)throw new Error("line must contain coordinates");switch(a){case"LineString":return r&&(i=zr(i)),o([i],e);case"MultiLineString":var u=[],c=0;return i.forEach((function(t){if(r&&(t=zr(t)),n){var e=function(t){var e=t[0],r=t[1],n=t[2],i=t[3];return Math.abs(e-n)*Math.abs(r-i)}(H(s(t)));e>c?(u.unshift(t),c=e):u.push(t)}else u.push(t)})),o(u,e);default:throw new Error("geometry type "+a+" is not supported")}}function zr(t){var e=t[0],r=e[0],n=e[1],i=t[t.length-1],o=i[0],a=i[1];return r===o&&n===a||t.push(e),t}function Vr(t,e,r){var n,i,o,a,s,u=t.length,c=qr(t[0],e),l=[];for(r||(r=[]),n=1;n<u;n++){for(i=t[n-1],a=s=qr(o=t[n],e);;){if(!(c|a)){l.push(i),a!==s?(l.push(o),n<u-1&&(r.push(l),l=[])):n===u-1&&l.push(o);break}if(c&a)break;c?c=qr(i=$r(i,o,c,e),e):a=qr(o=$r(i,o,a,e),e)}c=s}return l.length&&r.push(l),r}function $r(t,e,r,n){return 8&r?[t[0]+(e[0]-t[0])*(n[3]-t[1])/(e[1]-t[1]),n[3]]:4&r?[t[0]+(e[0]-t[0])*(n[1]-t[1])/(e[1]-t[1]),n[1]]:2&r?[n[2],t[1]+(e[1]-t[1])*(n[2]-t[0])/(e[0]-t[0])]:1&r?[n[0],t[1]+(e[1]-t[1])*(n[0]-t[0])/(e[0]-t[0])]:null}function qr(t,e){var r=0;return t[0]<e[0]?r|=1:t[0]>e[2]&&(r|=2),t[1]<e[1]?r|=4:t[1]>e[3]&&(r|=8),r}function Gr(t,e){for(var r=[],n=0;n<t.length;n++){var i=Ra.polygon(t[n],e);i.length>0&&(i[0][0]===i[i.length-1][0]&&i[0][1]===i[i.length-1][1]||i.push(i[0]),i.length>=4&&r.push(i))}return r}function Wr(t){return"[object Arguments]"===Object.prototype.toString.call(t)}function Kr(t,e,r){return r||(r={}),t===e||(t instanceof Date&&e instanceof Date?t.getTime()===e.getTime():!t||!e||"object"!=typeof t&&"object"!=typeof e?(r.strict,t===e):function(t,e,r){var n,i;if(Xr(t)||Xr(e))return!1;if(t.prototype!==e.prototype)return!1;if(Wr(t))return!!Wr(e)&&(t=Fa.call(t),e=Fa.call(e),Kr(t,e,r));if(Jr(t)){if(!Jr(e))return!1;if(t.length!==e.length)return!1;for(n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}try{var o=Object.keys(t),a=Object.keys(e)}catch(t){return!1}if(o.length!==a.length)return!1;for(o.sort(),a.sort(),n=o.length-1;n>=0;n--)if(o[n]!==a[n])return!1;for(n=o.length-1;n>=0;n--)if(i=o[n],!Kr(t[i],e[i],r))return!1;return typeof t==typeof e}(t,e,r))}function Xr(t){return null===t||void 0===t}function Jr(t){return!(!t||"object"!=typeof t||"number"!=typeof t.length)&&"function"==typeof t.copy&&"function"==typeof t.slice&&!(t.length>0&&"number"!=typeof t[0])}function Zr(t,e,r){if(r=r||{},!S(r))throw new Error("options is invalid");var n,i=r.tolerance||0,o=[],a=Ze();return a.load(er(t)),R(e,(function(t){var e=!1;P(a.search(t),(function(r){if(!1===e){var o=V(t).sort(),a=V(r).sort();Kr(o,a)||(0===i?Sr(o[0],r)&&Sr(o[1],r):ir(r,o[0]).properties.dist<=i&&ir(r,o[1]).properties.dist<=i)?(e=!0,n=n?Qr(n,t):t):(0===i?Sr(a[0],t)&&Sr(a[1],t):ir(t,a[0]).properties.dist<=i&&ir(t,a[1]).properties.dist<=i)&&(n=n?Qr(n,r):r)}})),!1===e&&n&&(o.push(n),n=void 0)})),n&&o.push(n),c(o)}function Qr(t,e){var r=V(e),n=V(t),i=n[0],o=n[n.length-1],a=t.geometry.coordinates;return Kr(r[0],i)?a.unshift(r[1]):Kr(r[0],o)?a.push(r[1]):Kr(r[1],i)?a.unshift(r[0]):Kr(r[1],o)&&a.push(r[0]),t}function tn(t){var e=t%360;return e<0&&(e+=360),e}function en(t,e,r,i){if(i=i||{},!S(i))throw new Error("options is invalid");var o=i.units,a=i.properties;if(!t)throw new Error("origin is required");if(void 0===e||null===e)throw new Error("distance is required");if(void 0===r||null===r)throw new Error("bearing is required");if(!(e>=0))throw new Error("distance must be greater than 0");var s=w(e,o,"meters"),u=z(t),c=function(t,e,r,n){n=void 0===n?jo:Number(n);var i=e/n,o=t[0]*Math.PI/180,a=_(t[1]),s=_(r),u=i*Math.cos(s),c=a+u;Math.abs(c)>Math.PI/2&&(c=c>0?Math.PI-c:-Math.PI-c);var l=Math.log(Math.tan(c/2+Math.PI/4)/Math.tan(a/2+Math.PI/4)),h=Math.abs(l)>1e-11?u/l:Math.cos(a),f=i*Math.sin(s)/h;return[(180*(o+f)/Math.PI+540)%360-180,180*c/Math.PI]}(u,s,r);return c[0]+=c[0]-u[0]>180?-360:u[0]-c[0]>180?360:0,n(c,a)}function rn(t,e,r,n,i,o){for(var a=0;a<t.length;a++){var s=t[a],u=t[a+1];a===t.length-1&&(u=t[0]),n=nn(s,u,e),r<=0&&n>0?function(t,e,r){return nn(t,e,r)<0}(e,s,i)||(i=s):r>0&&n<=0&&(function(t,e,r){return nn(t,e,r)>0}(e,s,o)||(o=s)),r=n}return[i,o]}function nn(t,e,r){return(e[0]-t[0])*(r[1]-t[1])-(r[0]-t[0])*(e[1]-t[1])}function on(t){if(!t)throw new Error("line is required");var e=t.geometry?t.geometry.type:t.type;if(!Array.isArray(t)&&"LineString"!==e)throw new Error("geometry must be a LineString");for(var r,n,i=V(t),o=0,a=1;a<i.length;)r=n||i[0],o+=((n=i[a])[0]-r[0])*(n[1]+r[1]),a++;return o>0}function an(t,e){switch("Feature"===t.type?t.geometry.type:t.type){case"GeometryCollection":return D(t,(function(t){an(t,e)})),t;case"LineString":return sn(V(t),e),t;case"Polygon":return un(V(t),e),t;case"MultiLineString":return V(t).forEach((function(t){sn(t,e)})),t;case"MultiPolygon":return V(t).forEach((function(t){un(t,e)})),t;case"Point":case"MultiPoint":return t}}function sn(t,e){on(t)===e&&t.reverse()}function un(t,e){on(t[0])!==e&&t[0].reverse();for(var r=1;r<t.length;r++)on(t[r])===e&&t[r].reverse()}function cn(t,e){if(e=e||{},!S(e))throw new Error("options is invalid");var r=e.zProperty||"elevation",n=e.flip,i=e.flags;W(t,"Point","input must contain Points");for(var o=function(t,e){var r={};return P(t,(function(t){var e=V(t)[1];r[e]||(r[e]=[]),r[e].push(t)})),Object.keys(r).map((function(t){var e=r[t],n=e.sort((function(t,e){return V(t)[0]-V(e)[0]}));return n})).sort((function(t,r){return e?V(t[0])[1]-V(r[0])[1]:V(r[0])[1]-V(t[0])[1]}))}(t,n),a=[],s=0;s<o.length;s++){for(var u=o[s],c=[],l=0;l<u.length;l++){var h=u[l];h.properties[r]?c.push(h.properties[r]):c.push(0),!0===i&&(h.properties.matrixPosition=[s,l])}a.push(c)}return a}function ln(t,e,r,n){n=n||{};for(var i=Object.keys(Ya),o=0;o<i.length;o++){var a=i[o],s=n[a];s=void 0!==s&&null!==s?s:Ya[a],Ua[a]=s}Ua.verbose&&console.log("MarchingSquaresJS-isoBands: computing isobands for ["+e+":"+(e+r)+"]");var u,c=function(t,e,r){for(var n=t.length-1,i=t[0].length-1,o={rows:n,cols:i,cells:[]},a=e+Math.abs(r),s=0;s<n;++s){o.cells[s]=[];for(var u=0;u<i;++u){var c=0,l=t[s+1][u],h=t[s+1][u+1],f=t[s][u+1],d=t[s][u];if(!(isNaN(l)||isNaN(h)||isNaN(f)||isNaN(d))){c|=l<e?0:l>a?128:64,c|=h<e?0:h>a?32:16,c|=f<e?0:f>a?8:4;var p=+(c|=d<e?0:d>a?2:1),m=0;if(17===c||18===c||33===c||34===c||38===c||68===c||72===c||98===c||102===c||132===c||136===c||137===c||152===c||153===c){var g=(l+h+f+d)/4;m=g>a?2:g<e?0:1,34===c?1===m?c=35:0===m&&(c=136):136===c?1===m?(c=35,m=4):0===m&&(c=34):17===c?1===m?(c=155,m=4):0===m&&(c=153):68===c?1===m?(c=103,m=4):0===m&&(c=102):153===c?1===m&&(c=155):102===c?1===m&&(c=103):152===c?m<2&&(c=156,m=1):137===c?m<2&&(c=139,m=1):98===c?m<2&&(c=99,m=1):38===c?m<2&&(c=39,m=1):18===c?m>0?(c=156,m=4):c=152:33===c?m>0?(c=139,m=4):c=137:72===c?m>0?(c=99,m=4):c=98:132===c&&(m>0?(c=39,m=4):c=38)}if(0!=c&&170!=c){var y,v,b,_,w,x,k,S;y=v=b=_=w=x=k=S=.5;var E=[];1===c?(b=1-hn(e,f,d),S=1-hn(e,l,d),E.push(As[c])):169===c?(b=hn(a,d,f),S=hn(a,d,l),E.push(As[c])):4===c?(x=1-hn(e,h,f),_=hn(e,d,f),E.push(Es[c])):166===c?(x=hn(a,f,h),_=1-hn(a,f,d),E.push(Es[c])):16===c?(w=hn(e,f,h),v=hn(e,l,h),E.push(Ss[c])):154===c?(w=1-hn(a,h,f),v=1-hn(a,h,l),E.push(Ss[c])):64===c?(k=hn(e,d,l),y=1-hn(e,h,l),E.push(Cs[c])):106===c?(k=1-hn(a,l,d),y=hn(a,l,h),E.push(Cs[c])):168===c?(_=hn(a,d,f),b=hn(e,d,f),S=hn(e,d,l),k=hn(a,d,l),E.push(Ms[c]),E.push(As[c])):2===c?(_=1-hn(e,f,d),b=1-hn(a,f,d),S=1-hn(a,l,d),k=1-hn(e,l,d),E.push(Ms[c]),E.push(As[c])):162===c?(w=hn(a,f,h),x=hn(e,f,h),_=1-hn(e,f,d),b=1-hn(a,f,d),E.push(Ms[c]),E.push(As[c])):8===c?(w=1-hn(e,h,f),x=1-hn(a,h,f),_=hn(a,d,f),b=hn(e,d,f),E.push(Ss[c]),E.push(Es[c])):138===c?(w=1-hn(e,h,f),x=1-hn(a,h,f),y=1-hn(a,h,l),v=1-hn(e,h,l),E.push(Ss[c]),E.push(Es[c])):32===c?(w=hn(a,f,h),x=hn(e,f,h),y=hn(e,l,h),v=hn(a,l,h),E.push(Ss[c]),E.push(Es[c])):42===c?(S=1-hn(a,l,d),k=1-hn(e,l,d),y=hn(e,l,h),v=hn(a,l,h),E.push(Ts[c]),E.push(Cs[c])):128===c&&(S=hn(e,d,l),k=hn(a,d,l),y=1-hn(a,h,l),v=1-hn(e,h,l),E.push(Ts[c]),E.push(Cs[c])),5===c?(x=1-hn(e,h,f),S=1-hn(e,l,d),E.push(Es[c])):165===c?(x=hn(a,f,h),S=hn(a,d,l),E.push(Es[c])):20===c?(_=hn(e,d,f),v=hn(e,l,h),E.push(Ms[c])):150===c?(_=1-hn(a,f,d),v=1-hn(a,h,l),E.push(Ms[c])):80===c?(w=hn(e,f,h),k=hn(e,d,l),E.push(Ss[c])):90===c?(w=1-hn(a,h,f),k=1-hn(a,l,d),E.push(Ss[c])):65===c?(b=1-hn(e,f,d),y=1-hn(e,h,l),E.push(As[c])):105===c?(b=hn(a,d,f),y=hn(a,l,h),E.push(As[c])):160===c?(w=hn(a,f,h),x=hn(e,f,h),S=hn(e,d,l),k=hn(a,d,l),E.push(Ss[c]),E.push(Es[c])):10===c?(w=1-hn(e,h,f),x=1-hn(a,h,f),S=1-hn(a,l,d),k=1-hn(e,l,d),E.push(Ss[c]),E.push(Es[c])):130===c?(_=1-hn(e,f,d),b=1-hn(a,f,d),y=1-hn(a,h,l),v=1-hn(e,h,l),E.push(Ms[c]),E.push(As[c])):40===c?(_=hn(a,d,f),b=hn(e,d,f),y=hn(e,l,h),v=hn(a,l,h),E.push(Ms[c]),E.push(As[c])):101===c?(x=hn(a,f,h),y=hn(a,l,h),E.push(Es[c])):69===c?(x=1-hn(e,h,f),y=1-hn(e,h,l),E.push(Es[c])):149===c?(S=hn(a,d,l),v=1-hn(a,h,l),E.push(Ts[c])):21===c?(S=1-hn(e,l,d),v=hn(e,l,h),E.push(Ts[c])):86===c?(_=1-hn(a,f,d),k=1-hn(a,l,d),E.push(Ms[c])):84===c?(_=hn(e,d,f),k=hn(e,d,l),E.push(Ms[c])):89===c?(w=1-hn(a,h,f),b=hn(a,d,f),E.push(As[c])):81===c?(w=hn(e,f,h),b=1-hn(e,f,d),E.push(As[c])):96===c?(w=hn(a,f,h),x=hn(e,f,h),k=hn(e,d,l),y=hn(a,l,h),E.push(Ss[c]),E.push(Es[c])):74===c?(w=1-hn(e,h,f),x=1-hn(a,h,f),k=1-hn(a,l,d),y=1-hn(e,h,l),E.push(Ss[c]),E.push(Es[c])):24===c?(w=1-hn(a,h,f),_=hn(a,d,f),b=hn(e,d,f),v=hn(e,l,h),E.push(Ss[c]),E.push(As[c])):146===c?(w=hn(e,f,h),_=1-hn(e,f,d),b=1-hn(a,f,d),v=1-hn(a,h,l),E.push(Ss[c]),E.push(As[c])):6===c?(x=1-hn(e,h,f),_=1-hn(a,f,d),S=1-hn(a,l,d),k=1-hn(e,l,d),E.push(Es[c]),E.push(Ms[c])):164===c?(x=hn(a,f,h),_=hn(e,d,f),S=hn(e,d,l),k=hn(a,d,l),E.push(Es[c]),E.push(Ms[c])):129===c?(b=1-hn(e,f,d),S=hn(a,d,l),y=1-hn(a,h,l),v=1-hn(e,h,l),E.push(As[c]),E.push(Ts[c])):41===c?(b=hn(a,d,f),S=1-hn(e,l,d),y=hn(e,l,h),v=hn(a,l,h),E.push(As[c]),E.push(Ts[c])):66===c?(_=1-hn(e,f,d),b=1-hn(a,f,d),k=1-hn(a,l,d),y=1-hn(e,h,l),E.push(Ms[c]),E.push(As[c])):104===c?(_=hn(a,d,f),b=hn(e,d,f),k=hn(e,d,l),y=hn(a,l,h),E.push(As[c]),E.push(Ls[c])):144===c?(w=hn(e,f,h),S=hn(e,d,l),k=hn(a,d,l),v=1-hn(a,h,l),E.push(Ss[c]),E.push(Cs[c])):26===c?(w=1-hn(a,h,f),S=1-hn(a,l,d),k=1-hn(e,l,d),v=hn(e,l,h),E.push(Ss[c]),E.push(Cs[c])):36===c?(x=hn(a,f,h),_=hn(e,d,f),y=hn(e,l,h),v=hn(a,l,h),E.push(Es[c]),E.push(Ms[c])):134===c?(x=1-hn(e,h,f),_=1-hn(a,f,d),y=1-hn(a,h,l),v=1-hn(e,h,l),E.push(Es[c]),E.push(Ms[c])):9===c?(w=1-hn(e,h,f),x=1-hn(a,h,f),b=hn(a,d,f),S=1-hn(e,l,d),E.push(Ss[c]),E.push(Es[c])):161===c?(w=hn(a,f,h),x=hn(e,f,h),b=1-hn(e,f,d),S=hn(a,d,l),E.push(Ss[c]),E.push(Es[c])):37===c?(x=hn(a,f,h),S=1-hn(e,l,d),y=hn(e,l,h),v=hn(a,l,h),E.push(Es[c]),E.push(Ts[c])):133===c?(x=1-hn(e,h,f),S=hn(a,d,l),y=1-hn(a,h,l),v=1-hn(e,h,l),E.push(Es[c]),E.push(Ts[c])):148===c?(_=hn(e,d,f),S=hn(e,d,l),k=hn(a,d,l),v=1-hn(a,h,l),E.push(Ms[c]),E.push(Cs[c])):22===c?(_=1-hn(a,f,d),S=1-hn(a,l,d),k=1-hn(e,l,d),v=hn(e,l,h),E.push(Ms[c]),E.push(Cs[c])):82===c?(w=hn(e,f,h),_=1-hn(e,f,d),b=1-hn(a,f,d),k=1-hn(a,l,d),E.push(Ss[c]),E.push(As[c])):88===c?(w=1-hn(a,h,f),_=hn(a,d,f),b=hn(e,d,f),k=hn(e,d,l),E.push(Ss[c]),E.push(As[c])):73===c?(w=1-hn(e,h,f),x=1-hn(a,h,f),b=hn(a,d,f),y=1-hn(e,h,l),E.push(Ss[c]),E.push(Es[c])):97===c?(w=hn(a,f,h),x=hn(e,f,h),b=1-hn(e,f,d),y=hn(a,l,h),E.push(Ss[c]),E.push(Es[c])):145===c?(w=hn(e,f,h),b=1-hn(e,f,d),S=hn(a,d,l),v=1-hn(a,h,l),E.push(Ss[c]),E.push(Ts[c])):25===c?(w=1-hn(a,h,f),b=hn(a,d,f),S=1-hn(e,l,d),v=hn(e,l,h),E.push(Ss[c]),E.push(Ts[c])):70===c?(x=1-hn(e,h,f),_=1-hn(a,f,d),k=1-hn(a,l,d),y=1-hn(e,h,l),E.push(Es[c]),E.push(Ms[c])):100===c?(x=hn(a,f,h),_=hn(e,d,f),k=hn(e,d,l),y=hn(a,l,h),E.push(Es[c]),E.push(Ms[c])):34===c?(0===m?(w=1-hn(e,h,f),x=1-hn(a,h,f),_=hn(a,d,f),b=hn(e,d,f),S=hn(e,d,l),k=hn(a,d,l),y=1-hn(a,h,l),v=1-hn(e,h,l)):(w=hn(a,f,h),x=hn(e,f,h),_=1-hn(e,f,d),b=1-hn(a,f,d),S=1-hn(a,l,d),k=1-hn(e,l,d),y=hn(e,l,h),v=hn(a,l,h)),E.push(Ss[c]),E.push(Es[c]),E.push(Ts[c]),E.push(Cs[c])):35===c?(4===m?(w=1-hn(e,h,f),x=1-hn(a,h,f),_=hn(a,d,f),b=hn(e,d,f),S=hn(e,d,l),k=hn(a,d,l),y=1-hn(a,h,l),v=1-hn(e,h,l)):(w=hn(a,f,h),x=hn(e,f,h),_=1-hn(e,f,d),b=1-hn(a,f,d),S=1-hn(a,l,d),k=1-hn(e,l,d),y=hn(e,l,h),v=hn(a,l,h)),E.push(Ss[c]),E.push(Es[c]),E.push(As[c]),E.push(Cs[c])):136===c?(0===m?(w=hn(a,f,h),x=hn(e,f,h),_=1-hn(e,f,d),b=1-hn(a,f,d),S=1-hn(a,l,d),k=1-hn(e,l,d),y=hn(e,l,h),v=hn(a,l,h)):(w=1-hn(e,h,f),x=1-hn(a,h,f),_=hn(a,d,f),b=hn(e,d,f),S=hn(e,d,l),k=hn(a,d,l),y=1-hn(a,h,l),v=1-hn(e,h,l)),E.push(Ss[c]),E.push(Es[c]),E.push(Ts[c]),E.push(Cs[c])):153===c?(0===m?(w=hn(e,f,h),b=1-hn(e,f,d),S=1-hn(e,l,d),v=hn(e,l,h)):(w=1-hn(a,h,f),b=hn(a,d,f),S=hn(a,d,l),v=1-hn(a,h,l)),E.push(Ss[c]),E.push(As[c])):102===c?(0===m?(x=1-hn(e,h,f),_=hn(e,d,f),k=hn(e,d,l),y=1-hn(e,h,l)):(x=hn(a,f,h),_=1-hn(a,f,d),k=1-hn(a,l,d),y=hn(a,l,h)),E.push(Es[c]),E.push(Cs[c])):155===c?(4===m?(w=hn(e,f,h),b=1-hn(e,f,d),S=1-hn(e,l,d),v=hn(e,l,h)):(w=1-hn(a,h,f),b=hn(a,d,f),S=hn(a,d,l),v=1-hn(a,h,l)),E.push(Ss[c]),E.push(Ts[c])):103===c?(4===m?(x=1-hn(e,h,f),_=hn(e,d,f),k=hn(e,d,l),y=1-hn(e,h,l)):(x=hn(a,f,h),_=1-hn(a,f,d),k=1-hn(a,l,d),y=hn(a,l,h)),E.push(Es[c]),E.push(Ms[c])):152===c?(0===m?(w=hn(e,f,h),_=1-hn(e,f,d),b=1-hn(a,f,d),S=1-hn(a,l,d),k=1-hn(e,l,d),v=hn(e,l,h)):(w=1-hn(a,h,f),_=hn(a,d,f),b=hn(e,d,f),S=hn(e,d,l),k=hn(a,d,l),v=1-hn(a,h,l)),E.push(Ss[c]),E.push(Ms[c]),E.push(As[c])):156===c?(4===m?(w=hn(e,f,h),_=1-hn(e,f,d),b=1-hn(a,f,d),S=1-hn(a,l,d),k=1-hn(e,l,d),v=hn(e,l,h)):(w=1-hn(a,h,f),_=hn(a,d,f),b=hn(e,d,f),S=hn(e,d,l),k=hn(a,d,l),v=1-hn(a,h,l)),E.push(Ss[c]),E.push(As[c]),E.push(Cs[c])):137===c?(0===m?(w=hn(a,f,h),x=hn(e,f,h),b=1-hn(e,f,d),S=1-hn(e,l,d),y=hn(e,l,h),v=hn(a,l,h)):(w=1-hn(e,h,f),x=1-hn(a,h,f),b=hn(a,d,f),S=hn(a,d,l),y=1-hn(a,h,l),v=1-hn(e,h,l)),E.push(Ss[c]),E.push(Es[c]),E.push(As[c])):139===c?(4===m?(w=hn(a,f,h),x=hn(e,f,h),b=1-hn(e,f,d),S=1-hn(e,l,d),y=hn(e,l,h),v=hn(a,l,h)):(w=1-hn(e,h,f),x=1-hn(a,h,f),b=hn(a,d,f),S=hn(a,d,l),y=1-hn(a,h,l),v=1-hn(e,h,l)),E.push(Ss[c]),E.push(Es[c]),E.push(Ts[c])):98===c?(0===m?(w=1-hn(e,h,f),x=1-hn(a,h,f),_=hn(a,d,f),b=hn(e,d,f),k=hn(e,d,l),y=1-hn(e,h,l)):(w=hn(a,f,h),x=hn(e,f,h),_=1-hn(e,f,d),b=1-hn(a,f,d),k=1-hn(a,l,d),y=hn(a,l,h)),E.push(Ss[c]),E.push(Es[c]),E.push(Cs[c])):99===c?(4===m?(w=1-hn(e,h,f),x=1-hn(a,h,f),_=hn(a,d,f),b=hn(e,d,f),k=hn(e,d,l),y=1-hn(e,h,l)):(w=hn(a,f,h),x=hn(e,f,h),_=1-hn(e,f,d),b=1-hn(a,f,d),k=1-hn(a,l,d),y=hn(a,l,h)),E.push(Ss[c]),E.push(Es[c]),E.push(As[c])):38===c?(0===m?(x=1-hn(e,h,f),_=hn(e,d,f),S=hn(e,d,l),k=hn(a,d,l),y=1-hn(a,h,l),v=1-hn(e,h,l)):(x=hn(a,f,h),_=1-hn(a,f,d),S=1-hn(a,l,d),k=1-hn(e,l,d),y=hn(e,l,h),v=hn(a,l,h)),E.push(Es[c]),E.push(Ts[c]),E.push(Cs[c])):39===c?(4===m?(x=1-hn(e,h,f),_=hn(e,d,f),S=hn(e,d,l),k=hn(a,d,l),y=1-hn(a,h,l),v=1-hn(e,h,l)):(x=hn(a,f,h),_=1-hn(a,f,d),S=1-hn(a,l,d),k=1-hn(e,l,d),y=hn(e,l,h),v=hn(a,l,h)),E.push(Es[c]),E.push(Ms[c]),E.push(Cs[c])):85===c&&(w=1,x=0,_=1,b=0,S=0,k=1,y=0,v=1),(y<0||y>1||v<0||v>1||w<0||w>1||_<0||_>1||S<0||S>1||k<0||k>1)&&console.log("MarchingSquaresJS-isoBands: "+c+" "+p+" "+l+","+h+","+f+","+d+" "+m+" "+y+" "+v+" "+w+" "+x+" "+_+" "+b+" "+S+" "+k),o.cells[s][u]={cval:c,cval_real:p,flipped:m,topleft:y,topright:v,righttop:w,rightbottom:x,bottomright:_,bottomleft:b,leftbottom:S,lefttop:k,edges:E}}}}}return o}(t,e,r);return Ua.polygons?(Ua.verbose&&console.log("MarchingSquaresJS-isoBands: returning single polygons for each grid cell"),u=function(t){var e=[],r=0;return t.cells.forEach((function(t,n){t.forEach((function(t,i){if(void 0!==t){var o=Os[t.cval](t);"object"==typeof o&&fn(o)?"object"==typeof o[0]&&fn(o[0])?"object"==typeof o[0][0]&&fn(o[0][0])?o.forEach((function(t){t.forEach((function(t){t[0]+=i,t[1]+=n})),e[r++]=t})):(o.forEach((function(t){t[0]+=i,t[1]+=n})),e[r++]=o):console.log("MarchingSquaresJS-isoBands: bandcell polygon with malformed coordinates"):console.log("MarchingSquaresJS-isoBands: bandcell polygon with null coordinates")}}))})),e}(c)):(Ua.verbose&&console.log("MarchingSquaresJS-isoBands: returning polygon paths for entire data grid"),u=function(t){for(var e=[],r=t.rows,n=t.cols,i=[],o=0;o<r;o++)for(var a=0;a<n;a++)if(void 0!==t.cells[o][a]&&t.cells[o][a].edges.length>0){var s=t.cells[o][a],u=function(t){if(t.edges.length>0){var e=t.edges[t.edges.length-1],r=t.cval_real;switch(e){case 0:return r&za?{p:[1,t.righttop],x:-1,y:0,o:1}:{p:[t.topleft,1],x:0,y:-1,o:0};case 1:return r&Va?{p:[t.topleft,1],x:0,y:-1,o:0}:{p:[1,t.rightbottom],x:-1,y:0,o:0};case 2:return r&Va?{p:[t.bottomright,0],x:0,y:1,o:1}:{p:[t.topleft,1],x:0,y:-1,o:0};case 3:return r&$a?{p:[t.topleft,1],x:0,y:-1,o:0}:{p:[t.bottomleft,0],x:0,y:1,o:0};case 4:return r&za?{p:[1,t.righttop],x:-1,y:0,o:1}:{p:[t.topright,1],x:0,y:-1,o:1};case 5:return r&Va?{p:[t.topright,1],x:0,y:-1,o:1}:{p:[1,t.rightbottom],x:-1,y:0,o:0};case 6:return r&Va?{p:[t.bottomright,0],x:0,y:1,o:1}:{p:[t.topright,1],x:0,y:-1,o:1};case 7:return r&$a?{p:[t.topright,1],x:0,y:-1,o:1}:{p:[t.bottomleft,0],x:0,y:1,o:0};case 8:return r&Va?{p:[t.bottomright,0],x:0,y:1,o:1}:{p:[1,t.righttop],x:-1,y:0,o:1};case 9:return r&$a?{p:[1,t.righttop],x:-1,y:0,o:1}:{p:[t.bottomleft,0],x:0,y:1,o:0};case 10:return r&$a?{p:[0,t.leftbottom],x:1,y:0,o:0}:{p:[1,t.righttop],x:-1,y:0,o:1};case 11:return r&Ha?{p:[1,t.righttop],x:-1,y:0,o:1}:{p:[0,t.lefttop],x:1,y:0,o:1};case 12:return r&Va?{p:[t.bottomright,0],x:0,y:1,o:1}:{p:[1,t.rightbottom],x:-1,y:0,o:0};case 13:return r&$a?{p:[1,t.rightbottom],x:-1,y:0,o:0}:{p:[t.bottomleft,0],x:0,y:1,o:0};case 14:return r&$a?{p:[0,t.leftbottom],x:1,y:0,o:0}:{p:[1,t.rightbottom],x:-1,y:0,o:0};case 15:return r&Ha?{p:[1,t.rightbottom],x:-1,y:0,o:0}:{p:[0,t.lefttop],x:1,y:0,o:1};case 16:return r&Va?{p:[t.bottomright,0],x:0,y:1,o:1}:{p:[0,t.leftbottom],x:1,y:0,o:0};case 17:return r&Ha?{p:[t.bottomright,0],x:0,y:1,o:1}:{p:[0,t.lefttop],x:1,y:0,o:1};case 18:return r&$a?{p:[0,t.leftbottom],x:1,y:0,o:0}:{p:[t.bottomleft,0],x:0,y:1,o:0};case 19:return r&Ha?{p:[t.bottomleft,0],x:0,y:1,o:0}:{p:[0,t.lefttop],x:1,y:0,o:1};case 20:return r&Ha?{p:[t.topleft,1],x:0,y:-1,o:0}:{p:[0,t.leftbottom],x:1,y:0,o:0};case 21:return r&za?{p:[0,t.leftbottom],x:1,y:0,o:0}:{p:[t.topright,1],x:0,y:-1,o:1};case 22:return r&Ha?{p:[t.topleft,1],x:0,y:-1,o:0}:{p:[0,t.lefttop],x:1,y:0,o:1};case 23:return r&za?{p:[0,t.lefttop],x:1,y:0,o:1}:{p:[t.topright,1],x:0,y:-1,o:1};default:console.log("MarchingSquaresJS-isoBands: edge index out of range!"),console.log(t)}}return null}(s),c=null,l=a,h=o;null!==u&&i.push([u.p[0]+l,u.p[1]+h]);do{if(null===(c=function(t,e,r,n){var i,o,a,s,u,c=t.cval;switch(e){case-1:switch(n){case 0:i=Es[c],a=es[c],s=rs[c],u=ns[c];break;default:i=Ss[c],a=Za[c],s=Qa[c],u=ts[c]}break;case 1:switch(n){case 0:i=Ts[c],a=ds[c],s=ps[c],u=ms[c];break;default:i=Cs[c],a=ls[c],s=hs[c],u=fs[c]}break;default:switch(r){case-1:switch(n){case 0:i=Ls[c],a=qa[c],s=Ga[c],u=Wa[c];break;default:i=Ps[c],a=Ka[c],s=Xa[c],u=Ja[c]}break;case 1:switch(n){case 0:i=As[c],a=is[c],s=os[c],u=as[c];break;default:i=Ms[c],a=ss[c],s=us[c],u=cs[c]}}}if(o=t.edges.indexOf(i),void 0===t.edges[o])return null;switch(function(t,e){delete t.edges[e];for(var r=e+1;r<t.edges.length;r++)t.edges[r-1]=t.edges[r];t.edges.pop()}(t,o),c=t.cval_real,i){case 0:c&za?(e=t.topleft,r=1):(e=1,r=t.righttop);break;case 1:c&Va?(e=1,r=t.rightbottom):(e=t.topleft,r=1);break;case 2:c&Va?(e=t.topleft,r=1):(e=t.bottomright,r=0);break;case 3:c&$a?(e=t.bottomleft,r=0):(e=t.topleft,r=1);break;case 4:c&za?(e=t.topright,r=1):(e=1,r=t.righttop);break;case 5:c&Va?(e=1,r=t.rightbottom):(e=t.topright,r=1);break;case 6:c&Va?(e=t.topright,r=1):(e=t.bottomright,r=0);break;case 7:c&$a?(e=t.bottomleft,r=0):(e=t.topright,r=1);break;case 8:c&Va?(e=1,r=t.righttop):(e=t.bottomright,r=0);break;case 9:c&$a?(e=t.bottomleft,r=0):(e=1,r=t.righttop);break;case 10:c&$a?(e=1,r=t.righttop):(e=0,r=t.leftbottom);break;case 11:c&Ha?(e=0,r=t.lefttop):(e=1,r=t.righttop);break;case 12:c&Va?(e=1,r=t.rightbottom):(e=t.bottomright,r=0);break;case 13:c&$a?(e=t.bottomleft,r=0):(e=1,r=t.rightbottom);break;case 14:c&$a?(e=1,r=t.rightbottom):(e=0,r=t.leftbottom);break;case 15:c&Ha?(e=0,r=t.lefttop):(e=1,r=t.rightbottom);break;case 16:c&Va?(e=0,r=t.leftbottom):(e=t.bottomright,r=0);break;case 17:c&Ha?(e=0,r=t.lefttop):(e=t.bottomright,r=0);break;case 18:c&$a?(e=t.bottomleft,r=0):(e=0,r=t.leftbottom);break;case 19:c&Ha?(e=0,r=t.lefttop):(e=t.bottomleft,r=0);break;case 20:c&Ha?(e=0,r=t.leftbottom):(e=t.topleft,r=1);break;case 21:c&za?(e=t.topright,r=1):(e=0,r=t.leftbottom);break;case 22:c&Ha?(e=0,r=t.lefttop):(e=t.topleft,r=1);break;case 23:c&za?(e=t.topright,r=1):(e=0,r=t.lefttop);break;default:return console.log("MarchingSquaresJS-isoBands: edge index out of range!"),console.log(t),null}return void 0!==e&&void 0!==r&&void 0!==a&&void 0!==s&&void 0!==u||(console.log("MarchingSquaresJS-isoBands: undefined value!"),console.log(t),console.log(e+" "+r+" "+a+" "+s+" "+u)),{p:[e,r],x:a,y:s,o:u}}(t.cells[h][l],u.x,u.y,u.o)))break;if(i.push([c.p[0]+l,c.p[1]+h]),l+=c.x,h+=c.y,u=c,h<0||h>=r||l<0||l>=n||void 0===t.cells[h][l]){l-=c.x,h-=c.y;var f=function(t,e,r,n,i,o){for(var a=t.cells[r][e],s=a.cval_real,u=e+n,c=r+i,l=[],h=!1;!h;){if(void 0===t.cells[c]||void 0===t.cells[c][u])if(c-=i,u-=n,a=t.cells[c][u],s=a.cval_real,-1===i)if(0===o)if(s&$a)l.push([u,c]),n=-1,i=0,o=0;else{if(!(s&Va)){l.push([u+a.bottomright,c]),n=0,i=1,o=1,h=!0;break}l.push([u+1,c]),n=1,i=0,o=0}else{if(!(s&$a)){if(s&Va){l.push([u+a.bottomright,c]),n=0,i=1,o=1,h=!0;break}l.push([u+a.bottomleft,c]),n=0,i=1,o=0,h=!0;break}l.push([u,c]),n=-1,i=0,o=0}else if(1===i)if(0===o){if(!(s&za)){if(s&Ha){l.push([u+a.topleft,c+1]),n=0,i=-1,o=0,h=!0;break}l.push([u+a.topright,c+1]),n=0,i=-1,o=1,h=!0;break}l.push([u+1,c+1]),n=1,i=0,o=1}else l.push([u+1,c+1]),n=1,i=0,o=1;else if(-1===n)if(0===o){if(!(s&Ha)){if(s&$a){l.push([u,c+a.leftbottom]),n=1,i=0,o=0,h=!0;break}l.push([u,c+a.lefttop]),n=1,i=0,o=1,h=!0;break}l.push([u,c+1]),n=0,i=1,o=0}else{if(!(s&Ha)){console.log("MarchingSquaresJS-isoBands: wtf");break}l.push([u,c+1]),n=0,i=1,o=0}else{if(1!==n){console.log("MarchingSquaresJS-isoBands: we came from nowhere!");break}if(0===o){if(!(s&Va)){l.push([u+1,c+a.rightbottom]),n=-1,i=0,o=0,h=!0;break}l.push([u+1,c]),n=0,i=-1,o=1}else{if(!(s&Va)){if(s&za){l.push([u+1,c+a.righttop]),n=-1,i=0,o=1;break}l.push([u+1,c+a.rightbottom]),n=-1,i=0,o=0,h=!0;break}l.push([u+1,c]),n=0,i=-1,o=1}}else if(a=t.cells[c][u],s=a.cval_real,-1===n)if(0===o)if(void 0!==t.cells[c-1]&&void 0!==t.cells[c-1][u])n=0,i=-1,o=1;else{if(!(s&$a)){l.push([u+a.bottomright,c]),n=0,i=1,o=1,h=!0;break}l.push([u,c])}else{if(!(s&Ha)){console.log("MarchingSquaresJS-isoBands: found entry from top at "+u+","+c);break}console.log("MarchingSquaresJS-isoBands: proceeding in x-direction!")}else if(1===n){if(0===o){console.log("MarchingSquaresJS-isoBands: wtf");break}if(void 0!==t.cells[c+1]&&void 0!==t.cells[c+1][u])n=0,i=1,o=0;else{if(!(s&za)){l.push([u+a.topleft,c+1]),n=0,i=-1,o=0,h=!0;break}l.push([u+1,c+1]),n=1,i=0,o=1}}else if(-1===i){if(1!==o){console.log("MarchingSquaresJS-isoBands: wtf");break}if(void 0!==t.cells[c][u+1])n=1,i=0,o=1;else{if(!(s&Va)){l.push([u+1,c+a.righttop]),n=-1,i=0,o=1,h=!0;break}l.push([u+1,c]),n=0,i=-1,o=1}}else{if(1!==i){console.log("MarchingSquaresJS-isoBands: where did we came from???");break}if(0!==o){console.log("MarchingSquaresJS-isoBands: wtf");break}if(void 0!==t.cells[c][u-1])n=-1,i=0,o=0;else{if(!(s&Ha)){l.push([u,c+a.leftbottom]),n=1,i=0,o=0,h=!0;break}l.push([u,c+1]),n=0,i=1,o=0}}if(u+=n,c+=i,u===e&&c===r)break}return{path:l,i:u,j:c,x:n,y:i,o:o}}(t,l,h,c.x,c.y,c.o);if(null===f)break;f.path.forEach((function(t){i.push(t)})),l=f.i,h=f.j,u=f}}while(void 0!==t.cells[h][l]&&t.cells[h][l].edges.length>0);e.push(i),i=[],t.cells[o][a].edges.length>0&&a--}return e}(c)),"function"==typeof Ua.successCallback&&Ua.successCallback(u),u}function hn(t,e,r){return(t-e)/(r-e)}function fn(t){return t.constructor.toString().indexOf("Array")>-1}function dn(t,e,r){if(r=r||{},!S(r))throw new Error("options is invalid");var n=r.pivot,i=r.mutate;if(!t)throw new Error("geojson is required");if(void 0===e||null===e||isNaN(e))throw new Error("angle is required");return 0===e||(n||(n=ge(t)),!1!==i&&void 0!==i||(t=Rt(t)),A(t,(function(t){var r=or(n,t)+e,i=sr(n,t),o=V(en(n,i,r));t[0]=o[0],t[1]=o[1]}))),t}function pn(t,e,r){if(r=r||{},!S(r))throw new Error("options is invalid");var n=r.origin,i=r.mutate;if(!t)throw new Error("geojson required");if("number"!=typeof e||0===e)throw new Error("invalid factor");var o=Array.isArray(n)||"object"==typeof n;return!0!==i&&(t=Rt(t)),"FeatureCollection"!==t.type||o?mn(t,e,n):(P(t,(function(r,i){t.features[i]=mn(r,e,n)})),t)}function mn(t,e,r){var i="Point"===J(t);return r=function(t,e){if(void 0!==e&&null!==e||(e="centroid"),Array.isArray(e)||"object"==typeof e)return z(e);var r=t.bbox?t.bbox:H(t),i=r[0],o=r[1],a=r[2],s=r[3];switch(e){case"sw":case"southwest":case"westsouth":case"bottomleft":return n([i,o]);case"se":case"southeast":case"eastsouth":case"bottomright":return n([a,o]);case"nw":case"northwest":case"westnorth":case"topleft":return n([i,s]);case"ne":case"northeast":case"eastnorth":case"topright":return n([a,s]);case"center":return me(t);case void 0:case null:case"centroid":return ge(t);default:throw new Error("invalid origin")}}(t,r),1===e||i||A(t,(function(t){var n=sr(r,t),i=or(r,t),o=V(en(r,n*e,i));t[0]=o[0],t[1]=o[1],3===t.length&&(t[2]*=e)})),t}function gn(t){var e=t[0],r=t[1];return[r[0]-e[0],r[1]-e[1]]}function yn(t,e){return t[0]*e[1]-e[0]*t[1]}function vn(t,e){return!function(t,e){return 0===yn(gn(t),gn(e))}(t,e)&&function(t,e){var r=t[0],n=gn(t),i=e[0],o=gn(e),a=yn(n,o);return function(t,e){return[t[0]+e[0],t[1]+e[1]]}(r,function(t,e){return[t*e[0],t*e[1]]}(yn(function(t,e){return[t[0]-e[0],t[1]-e[1]]}(i,r),o)/a,n))}(t,e)}function bn(t,e,r){var n=[],i=y(e,r),o=V(t),a=[];return o.forEach((function(t,e){if(e!==o.length-1){var r=function(t,e,r){var n=Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])),i=t[0]+r*(e[1]-t[1])/n,o=e[0]+r*(e[1]-t[1])/n,a=t[1]+r*(t[0]-e[0])/n,s=e[1]+r*(t[0]-e[0])/n;return[[i,a],[o,s]]}(t,o[e+1],i);if(n.push(r),e>0){var s=n[e-1],u=vn(r,s);!1!==u&&(s[1]=u,r[0]=u),a.push(s[0]),e===o.length-2&&(a.push(r[0]),a.push(r[1]))}2===o.length&&(a.push(r[0]),a.push(r[1]))}})),s(a,t.properties)}function _n(t,e,r){var n=e[0]-t[0],i=e[1]-t[1],o=r[0]-e[0],a=r[1]-e[1];return Math.sign(n*a-o*i)}function wn(t,e){return e.geometry.coordinates[0].every((function(e){return Lt(n(e),t)}))}function xn(t,e){for(var r=0;r<t.coordinates.length-1;r++)if(function(t,e,r){var n=r[0]-t[0],i=r[1]-t[1],o=e[0]-t[0],a=e[1]-t[1];return n*a-i*o==0&&(Math.abs(o)>=Math.abs(a)?o>0?t[0]<=r[0]&&r[0]<=e[0]:e[0]<=r[0]&&r[0]<=t[0]:a>0?t[1]<=r[1]&&r[1]<=e[1]:e[1]<=r[1]&&r[1]<=t[1])}(t.coordinates[r],t.coordinates[r+1],e.coordinates))return!0;return!1}function kn(t,e){return rr(e,Fr(t)).features.length>0}function Sn(t,e){return!(t[0]>e[0])&&!(t[2]<e[2])&&!(t[1]>e[1])&&!(t[3]<e[3])}function En(t,e){return t[0]===e[0]&&t[1]===e[1]}function Mn(t,e){for(var r=!1,n=!1,i=t.coordinates.length,o=0;o<i&&!r&&!n;){for(var a=0;a<e.coordinates.length-1;a++){var s=!0;0!==a&&a!==e.coordinates.length-2||(s=!1),Cn(e.coordinates[a],e.coordinates[a+1],t.coordinates[o],s)?r=!0:n=!0}o++}return r&&n}function An(t,e){return rr(t,Fr(e)).features.length>0}function Tn(t,e){for(var r=!1,i=!1,o=t.coordinates[0].length,a=0;a<o&&r&&i;)Lt(n(t.coordinates[0][a]),e)?r=!0:i=!0,a++;return i&&i}function Cn(t,e,r,n){var i=r[0]-t[0],o=r[1]-t[1],a=e[0]-t[0],s=e[1]-t[1];return 0==i*s-o*a&&(n?Math.abs(a)>=Math.abs(s)?a>0?t[0]<=r[0]&&r[0]<=e[0]:e[0]<=r[0]&&r[0]<=t[0]:s>0?t[1]<=r[1]&&r[1]<=e[1]:e[1]<=r[1]&&r[1]<=t[1]:Math.abs(a)>=Math.abs(s)?a>0?t[0]<r[0]&&r[0]<e[0]:e[0]<r[0]&&r[0]<t[0]:s>0?t[1]<r[1]&&r[1]<e[1]:e[1]<r[1]&&r[1]<t[1])}function Ln(t){return t.coordinates.map((function(e){return{type:t.type.replace("Multi",""),coordinates:e}}))}function Pn(t,e){return t.hasOwnProperty("coordinates")?t.coordinates.length===e.coordinates.length:t.length===e.length}function On(t,e){return Ys(t,e,{strict:!0})}function In(t,e){if(!t)throw new Error("feature1 is required");if(!e)throw new Error("feature2 is required");var r=J(t);if(r!==J(e))throw new Error("features must be of the same type");if("Point"===r)throw new Error("Point geometry not supported");if(new Hs({precision:6}).compare(t,e))return!1;var n=0;switch(r){case"MultiPoint":var i=I(t),o=I(e);i.forEach((function(t){o.forEach((function(e){t[0]===e[0]&&t[1]===e[1]&&n++}))}));break;case"LineString":case"MultiLineString":R(t,(function(t){R(e,(function(e){Zr(t,e).features.length&&n++}))}));break;case"Polygon":case"MultiPolygon":R(t,(function(t){R(e,(function(e){rr(t,e).features.length&&n++}))}))}return n>0}function Dn(t,e,r){r=r||[];for(var n=0;n<t;n++)r[n]=e;return r}function Bn(t,e){if(t.geometry&&t.geometry.type)return t.geometry.type;if(t.type)return t.type;throw new Error("Invalid GeoJSON object for "+e)}function jn(t){for(var e=t,r=[];e.parent;)r.unshift(e),e=e.parent;return r}function Nn(t,e){e=e||{},this.nodes=[],this.diagonal=!!e.diagonal,this.grid=[];for(var r=0;r<t.length;r++){this.grid[r]=[];for(var n=0,i=t[r];n<i.length;n++){var o=new Rn(r,n,i[n]);this.grid[r][n]=o,this.nodes.push(o)}}this.init()}function Rn(t,e,r){this.x=t,this.y=e,this.weight=r}function Fn(t){this.content=[],this.scoreFunction=t}function Yn(t){return t[0]}function Un(t){return t[1]}function Hn(){this._=null}function zn(t){t.U=t.C=t.L=t.R=t.P=t.N=null}function Vn(t,e){var r=e,n=e.R,i=r.U;i?i.L===r?i.L=n:i.R=n:t._=n,n.U=i,r.U=n,r.R=n.L,r.R&&(r.R.U=r),n.L=r}function $n(t,e){var r=e,n=e.L,i=r.U;i?i.L===r?i.L=n:i.R=n:t._=n,n.U=i,r.U=n,r.L=n.R,r.L&&(r.L.U=r),n.R=r}function qn(t){for(;t.L;)t=t.L;return t}function Gn(t,e,r,n){var i=[null,null],o=uu.push(i)-1;return i.left=t,i.right=e,r&&Kn(i,t,e,r),n&&Kn(i,e,t,n),au[t.index].halfedges.push(o),au[e.index].halfedges.push(o),i}function Wn(t,e,r){var n=[e,r];return n.left=t,n}function Kn(t,e,r,n){t[0]||t[1]?t.left===r?t[1]=n:t[0]=n:(t[0]=n,t.left=e,t.right=r)}function Xn(t,e,r,n,i){var o,a=t[0],s=t[1],u=a[0],c=a[1],l=0,h=1,f=s[0]-u,d=s[1]-c;if(o=e-u,f||!(o>0)){if(o/=f,f<0){if(o<l)return;o<h&&(h=o)}else if(f>0){if(o>h)return;o>l&&(l=o)}if(o=n-u,f||!(o<0)){if(o/=f,f<0){if(o>h)return;o>l&&(l=o)}else if(f>0){if(o<l)return;o<h&&(h=o)}if(o=r-c,d||!(o>0)){if(o/=d,d<0){if(o<l)return;o<h&&(h=o)}else if(d>0){if(o>h)return;o>l&&(l=o)}if(o=i-c,d||!(o<0)){if(o/=d,d<0){if(o>h)return;o>l&&(l=o)}else if(d>0){if(o<l)return;o<h&&(h=o)}return!(l>0||h<1)||(l>0&&(t[0]=[u+l*f,c+l*d]),h<1&&(t[1]=[u+h*f,c+h*d]),!0)}}}}}function Jn(t,e,r,n,i){var o=t[1];if(o)return!0;var a,s,u=t[0],c=t.left,l=t.right,h=c[0],f=c[1],d=l[0],p=l[1],m=(h+d)/2,g=(f+p)/2;if(p===f){if(m<e||m>=n)return;if(h>d){if(u){if(u[1]>=i)return}else u=[m,r];o=[m,i]}else{if(u){if(u[1]<r)return}else u=[m,i];o=[m,r]}}else if(a=(h-d)/(p-f),s=g-a*m,a<-1||a>1)if(h>d){if(u){if(u[1]>=i)return}else u=[(r-s)/a,r];o=[(i-s)/a,i]}else{if(u){if(u[1]<r)return}else u=[(i-s)/a,i];o=[(r-s)/a,r]}else if(f<p){if(u){if(u[0]>=n)return}else u=[e,a*e+s];o=[n,a*n+s]}else{if(u){if(u[0]<e)return}else u=[n,a*n+s];o=[e,a*e+s]}return t[0]=u,t[1]=o,!0}function Zn(t,e){var r=t.site,n=e.left,i=e.right;return r===i&&(i=n,n=r),i?Math.atan2(i[1]-n[1],i[0]-n[0]):(r===n?(n=e[1],i=e[0]):(n=e[0],i=e[1]),Math.atan2(n[0]-i[0],i[1]-n[1]))}function Qn(t,e){return e[+(e.left!==t.site)]}function ti(t,e){return e[+(e.left===t.site)]}function ei(t){var e=t.P,r=t.N;if(e&&r){var n=e.site,i=t.site,o=r.site;if(n!==o){var a=i[0],s=i[1],u=n[0]-a,c=n[1]-s,l=o[0]-a,h=o[1]-s,f=2*(u*h-c*l);if(!(f>=-fu)){var d=u*u+c*c,p=l*l+h*h,m=(h*d-c*p)/f,g=(u*p-l*d)/f,y=cu.pop()||new function(){zn(this),this.x=this.y=this.arc=this.site=this.cy=null};y.arc=t,y.site=i,y.x=m+a,y.y=(y.cy=g+s)+Math.sqrt(m*m+g*g),t.circle=y;for(var v=null,b=su._;b;)if(y.y<b.y||y.y===b.y&&y.x<=b.x){if(!b.L){v=b.P;break}b=b.L}else{if(!b.R){v=b;break}b=b.R}su.insert(v,y),v||(iu=y)}}}}function ri(t){var e=t.circle;e&&(e.P||(iu=e.N),su.remove(e),cu.push(e),zn(e),t.circle=null)}function ni(t){var e=lu.pop()||new function(){zn(this),this.edge=this.site=this.circle=null};return e.site=t,e}function ii(t){ri(t),ou.remove(t),lu.push(t),zn(t)}function oi(t){var e=t.circle,r=e.x,n=e.cy,i=[r,n],o=t.P,a=t.N,s=[t];ii(t);for(var u=o;u.circle&&Math.abs(r-u.circle.x)<hu&&Math.abs(n-u.circle.cy)<hu;)o=u.P,s.unshift(u),ii(u),u=o;s.unshift(u),ri(u);for(var c=a;c.circle&&Math.abs(r-c.circle.x)<hu&&Math.abs(n-c.circle.cy)<hu;)a=c.N,s.push(c),ii(c),c=a;s.push(c),ri(c);var l,h=s.length;for(l=1;l<h;++l)c=s[l],u=s[l-1],Kn(c.edge,u.site,c.site,i);u=s[0],(c=s[h-1]).edge=Gn(u.site,c.site,null,i),ei(u),ei(c)}function ai(t){for(var e,r,n,i,o=t[0],a=t[1],s=ou._;s;)if((n=si(s,a)-o)>hu)s=s.L;else{if(!((i=o-function(t,e){var r=t.N;if(r)return si(r,e);var n=t.site;return n[1]===e?n[0]:1/0}(s,a))>hu)){n>-hu?(e=s.P,r=s):i>-hu?(e=s,r=s.N):e=r=s;break}if(!s.R){e=s;break}s=s.R}!function(t){au[t.index]={site:t,halfedges:[]}}(t);var u=ni(t);if(ou.insert(e,u),e||r){if(e===r)return ri(e),r=ni(e.site),ou.insert(u,r),u.edge=r.edge=Gn(e.site,u.site),ei(e),void ei(r);if(r){ri(e),ri(r);var c=e.site,l=c[0],h=c[1],f=t[0]-l,d=t[1]-h,p=r.site,m=p[0]-l,g=p[1]-h,y=2*(f*g-d*m),v=f*f+d*d,b=m*m+g*g,_=[(g*v-d*b)/y+l,(f*b-m*v)/y+h];Kn(r.edge,c,p,_),u.edge=Gn(c,t,null,_),r.edge=Gn(t,p,null,_),ei(e),ei(r)}else u.edge=Gn(e.site,u.site)}}function si(t,e){var r=t.site,n=r[0],i=r[1],o=i-e;if(!o)return n;var a=t.P;if(!a)return-1/0;var s=(r=a.site)[0],u=r[1],c=u-e;if(!c)return s;var l=s-n,h=1/o-1/c,f=l/c;return h?(-f+Math.sqrt(f*f-2*h*(l*l/(-2*c)-u+c/2+i-o/2)))/h+n:(n+s)/2}function ui(t,e,r){return(t[0]-r[0])*(e[1]-t[1])-(t[0]-e[0])*(r[1]-t[1])}function ci(t,e){return e[1]-t[1]||e[0]-t[0]}function li(t,e){var r,n,i,o=t.sort(ci).pop();for(uu=[],au=new Array(t.length),ou=new Hn,su=new Hn;;)if(i=iu,o&&(!i||o[1]<i.y||o[1]===i.y&&o[0]<i.x))o[0]===r&&o[1]===n||(ai(o),r=o[0],n=o[1]),o=t.pop();else{if(!i)break;oi(i.arc)}if(function(){for(var t,e,r,n,i=0,o=au.length;i<o;++i)if((t=au[i])&&(n=(e=t.halfedges).length)){var a=new Array(n),s=new Array(n);for(r=0;r<n;++r)a[r]=r,s[r]=Zn(t,uu[e[r]]);for(a.sort((function(t,e){return s[e]-s[t]})),r=0;r<n;++r)s[r]=e[a[r]];for(r=0;r<n;++r)e[r]=s[r]}}(),e){var a=+e[0][0],s=+e[0][1],u=+e[1][0],c=+e[1][1];!function(t,e,r,n){for(var i,o=uu.length;o--;)Jn(i=uu[o],t,e,r,n)&&Xn(i,t,e,r,n)&&(Math.abs(i[0][0]-i[1][0])>hu||Math.abs(i[0][1]-i[1][1])>hu)||delete uu[o]}(a,s,u,c),function(t,e,r,n){var i,o,a,s,u,c,l,h,f,d,p,m,g=au.length,y=!0;for(i=0;i<g;++i)if(o=au[i]){for(a=o.site,s=(u=o.halfedges).length;s--;)uu[u[s]]||u.splice(s,1);for(s=0,c=u.length;s<c;)p=(d=ti(o,uu[u[s]]))[0],m=d[1],h=(l=Qn(o,uu[u[++s%c]]))[0],f=l[1],(Math.abs(p-h)>hu||Math.abs(m-f)>hu)&&(u.splice(s,0,uu.push(Wn(a,d,Math.abs(p-t)<hu&&n-m>hu?[t,Math.abs(h-t)<hu?f:n]:Math.abs(m-n)<hu&&r-p>hu?[Math.abs(f-n)<hu?h:r,n]:Math.abs(p-r)<hu&&m-e>hu?[r,Math.abs(h-r)<hu?f:e]:Math.abs(m-e)<hu&&p-t>hu?[Math.abs(f-e)<hu?h:t,e]:null))-1),++c);c&&(y=!1)}if(y){var v,b,_,w=1/0;for(i=0,y=null;i<g;++i)(o=au[i])&&(_=(v=(a=o.site)[0]-t)*v+(b=a[1]-e)*b)<w&&(w=_,y=o);if(y){var x=[t,e],k=[t,n],S=[r,n],E=[r,e];y.halfedges.push(uu.push(Wn(a=y.site,x,k))-1,uu.push(Wn(a,k,S))-1,uu.push(Wn(a,S,E))-1,uu.push(Wn(a,E,x))-1)}}for(i=0;i<g;++i)(o=au[i])&&(o.halfedges.length||delete au[i])}(a,s,u,c)}this.edges=uu,this.cells=au,ou=su=uu=au=null}function hi(t){return(t=t.slice()).push(t[0]),o([t])}function fi(t,e,r,n){var i=(n=n||{}).steps||64,a=n.units||"kilometers",s=n.angle||0,u=n.pivot||t,c=n.properties||t.properties||{};if(!t)throw new Error("center is required");if(!e)throw new Error("xSemiAxis is required");if(!r)throw new Error("ySemiAxis is required");if(!S(n))throw new Error("options must be an object");if(!k(i))throw new Error("steps must be a number");if(!k(s))throw new Error("angle must be a number");var l=z(t);if("degrees"===a)var h=_(s);else e=en(t,e,90,{units:a}),r=en(t,r,0,{units:a}),e=z(e)[0]-l[0],r=z(r)[1]-l[1];for(var f=[],d=0;d<i;d+=1){var p=-360*d/i,m=e*r/Math.sqrt(Math.pow(r,2)+Math.pow(e,2)*Math.pow(di(p),2)),g=e*r/Math.sqrt(Math.pow(e,2)+Math.pow(r,2)/Math.pow(di(p),2));if(p<-90&&p>=-270&&(m=-m),p<-180&&p>=-360&&(g=-g),"degrees"===a){var y=m*Math.cos(h)+g*Math.sin(h),v=g*Math.cos(h)-m*Math.sin(h);m=y,g=v}f.push([m+l[0],g+l[1]])}return f.push(f[0]),"degrees"===a?o([f],c):dn(o([f],c),s,{pivot:u})}function di(t){var e=t*Math.PI/180;return Math.tan(e)}function pi(t,e){if(e=e||{},!S(e))throw new Error("options is invalid");var r=e.properties,i=e.weight;if(!t)throw new Error("geojson is required");var o=0,a=0,s=0;return D(t,(function(t,e,r){var n=r[i];if(n=void 0===n||null===n?1:n,!k(n))throw new Error("weight value must be a number for feature index "+e);(n=Number(n))>0&&A(t,(function(t){o+=t[0]*n,a+=t[1]*n,s+=n}))})),n([o/s,a/s],r)}function mi(t,e,r,i){var o=r.properties.tolerance||.001,a=0,s=0,u=0,c=0;if(P(r,(function(e){var r=e.properties.weight,n=void 0===r||null===r?1:r;if(n=Number(n),!k(n))throw new Error("weight value must be a number");if(n>0){c+=1;var i=n*Nt(e,t);0===i&&(i=1);var o=n/i;a+=e.geometry.coordinates[0]*o,s+=e.geometry.coordinates[1]*o,u+=o}})),c<1)throw new Error("no features to measure");var l=a/u,h=s/u;return 1===c||0===i||Math.abs(l-e[0])<o&&Math.abs(h-e[1])<o?n([l,h],{medianCandidates:r.properties.medianCandidates}):(r.properties.medianCandidates.push([l,h]),mi([l,h],t,r,i-1))}function gi(t,e){return{x:t[0]-e[0],y:t[1]-e[1]}}function yi(t){if(S(t)&&(t=t.bbox),t&&!Array.isArray(t))throw new Error("bbox is invalid");return t?function(t){return[Math.random()*(t[2]-t[0])+t[0],Math.random()*(t[3]-t[1])+t[1]]}(t):[360*wi(),180*wi()]}function vi(t,e){if(e=e||{},!S(e))throw new Error("options is invalid");var r=e.bbox;void 0!==t&&null!==t||(t=1);for(var i=[],o=0;o<t;o++)i.push(n(yi(r)));return c(i)}function bi(t,e){if(e=e||{},!S(e))throw new Error("options is invalid");var r=e.bbox,n=e.num_vertices,i=e.max_radial_length;void 0!==t&&null!==t||(t=1),k(n)||(n=10),k(i)||(i=10);for(var a=[],s=0;s<t;s++){var u=[],l=Array.apply(null,new Array(n+1)).map(Math.random);l.forEach((function(t,e,r){r[e]=e>0?t+r[e-1]:t})),l.forEach((function(t){t=2*t*Math.PI/l[l.length-1];var e=Math.random();u.push([e*i*Math.sin(t),e*i*Math.cos(t)])})),u[u.length-1]=u[0],u=u.map(function(t){return function(e){return[e[0]+t[0],e[1]+t[1]]}}(yi(r))),a.push(o([u]))}return c(a)}function _i(t,e){if(e=e||{},!S(e))throw new Error("options is invalid");var r=e.bbox,n=e.num_vertices,i=e.max_length,o=e.max_rotation;void 0!==t&&null!==t||(t=1),(!k(n)||n<2)&&(n=10),k(i)||(i=1e-4),k(o)||(o=Math.PI/8);for(var a=[],u=0;u<t;u++){for(var l=[yi(r)],h=0;h<n-1;h++){var f=(0===h?2*Math.random()*Math.PI:Math.tan((l[h][1]-l[h-1][1])/(l[h][0]-l[h-1][0])))+(Math.random()-.5)*o*2,d=Math.random()*i;l.push([l[h][0]+d*Math.cos(f),l[h][1]+d*Math.sin(f)])}a.push(s(l))}return c(a)}function wi(){return Math.random()-.5}function xi(t,e){if(!t)throw new Error("geojson is required");if("FeatureCollection"!==t.type)throw new Error("geojson must be a FeatureCollection");if(void 0===e||null===e)throw new Error("filter is required");var r=[];return P(t,(function(t){Mi(t.properties,e)&&r.push(t)})),c(r)}function ki(t,e,r){if(!t)throw new Error("geojson is required");if("FeatureCollection"!==t.type)throw new Error("geojson must be a FeatureCollection");if(void 0===e||null===e)throw new Error("property is required");for(var n=Ei(t,e),i=Object.keys(n),o=0;o<i.length;o++){for(var a=i[o],s=n[a],u=[],l=0;l<s.length;l++)u.push(t.features[s[l]]);r(c(u),a,o)}}function Si(t,e,r,n){var i=n;return ki(t,e,(function(t,e,o){i=0===o&&void 0===n?t:r(i,t,e,o)})),i}function Ei(t,e){var r={};return P(t,(function(t,n){var i=t.properties||{};if(i.hasOwnProperty(e)){var o=i[e];r.hasOwnProperty(o)?r[o].push(n):r[o]=[n]}})),r}function Mi(t,e){if(void 0===t)return!1;var r=typeof e;if("number"===r||"string"===r)return t.hasOwnProperty(e);if(Array.isArray(e)){for(var n=0;n<e.length;n++)if(!Mi(t,e[n]))return!1;return!0}return Ai(t,e)}function Ai(t,e){for(var r=Object.keys(e),n=0;n<r.length;n++){var i=r[n];if(t[i]!==e[i])return!1}return!0}function Ti(t,e){if(!e)return{};if(!e.length)return{};for(var r={},n=0;n<e.length;n++){var i=e[n];t.hasOwnProperty(i)&&(r[i]=t[i])}return r}function Ci(){}function Li(t){this.message=t||""}function Pi(t){this.message=t||""}function Oi(){}function Ii(t){return null===t?Dc:t.color}function Di(t){return null===t?null:t.parent}function Bi(t,e){null!==t&&(t.color=e)}function ji(t){return null===t?null:t.left}function Ni(t){return null===t?null:t.right}function Ri(){this.root_=null,this.size_=0}function Fi(){}function Yi(){this.array_=[],arguments[0]instanceof bc&&this.addAll(arguments[0])}function Ui(){}function Hi(t){this.message=t||""}function zi(){this.array_=[]}function Vi(t){switch(t.type){case"Polygon":return yr(t)>1?t:null;case"MultiPolygon":var e=[];if(j(t,(function(t){yr(t)>1&&e.push(t.geometry.coordinates)})),e.length)return{type:"MultiPolygon",coordinates:e}}}function $i(){this.reset()}function qi(t,e,r){var n=t.s=e+r,i=n-e,o=n-i;t.t=e-o+(r-i)}function Gi(t){return t>1?Yd:t<-1?-Yd:Math.asin(t)}function Wi(){}function Ki(t,e){t&&ep.hasOwnProperty(t.type)&&ep[t.type](t,e)}function Xi(t,e,r){var n,i=-1,o=t.length-r;for(e.lineStart();++i<o;)n=t[i],e.point(n[0],n[1],n[2]);e.lineEnd()}function Ji(t,e){var r=-1,n=t.length;for(e.polygonStart();++r<n;)Xi(t[r],e,1);e.polygonEnd()}function Zi(t){return[Gd(t[1],t[0]),Gi(t[2])]}function Qi(t){var e=t[0],r=t[1],n=Wd(r);return[n*Wd(e),n*Jd(e),Jd(r)]}function to(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function eo(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function ro(t,e){t[0]+=e[0],t[1]+=e[1],t[2]+=e[2]}function no(t,e){return[t[0]*e,t[1]*e,t[2]*e]}function io(t){var e=Zd(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=e,t[1]/=e,t[2]/=e}function oo(t,e){return[t>Fd?t-Hd:t<-Fd?t+Hd:t,e]}function ao(t,e,r){return(t%=Hd)?e||r?np(uo(t),co(e,r)):uo(t):e||r?co(e,r):oo}function so(t){return function(e,r){return e+=t,[e>Fd?e-Hd:e<-Fd?e+Hd:e,r]}}function uo(t){var e=so(t);return e.invert=so(-t),e}function co(t,e){function r(t,e){var r=Wd(e),s=Wd(t)*r,u=Jd(t)*r,c=Jd(e),l=c*n+s*i;return[Gd(u*o-l*a,s*n-c*i),Gi(l*o+u*a)]}var n=Wd(t),i=Jd(t),o=Wd(e),a=Jd(e);return r.invert=function(t,e){var r=Wd(e),s=Wd(t)*r,u=Jd(t)*r,c=Jd(e),l=c*o-u*a;return[Gd(u*o+c*a,s*n+l*i),Gi(l*n-s*i)]},r}function lo(t,e){(e=Qi(e))[0]-=t,io(e);var r=function(t){return t>1?0:t<-1?Fd:Math.acos(t)}(-e[1]);return((-e[2]<0?-r:r)+Hd-Rd)%Hd}function ho(t,e,r,n){this.x=t,this.z=e,this.o=r,this.e=n,this.v=!1,this.n=this.p=null}function fo(t){if(e=t.length){for(var e,r,n=0,i=t[0];++n<e;)i.n=r=t[n],r.p=i,i=r;i.n=r=t[0],r.p=i}}function po(t,e,r,n){function i(i,o){return t<=i&&i<=r&&e<=o&&o<=n}function o(i,o,s,c){var l=0,h=0;if(null==i||(l=a(i,s))!==(h=a(o,s))||u(i,o)<0^s>0)do{c.point(0===l||3===l?t:r,l>1?n:e)}while((l=(l+s+4)%4)!==h);else c.point(o[0],o[1])}function a(n,i){return $d(n[0]-t)<Rd?i>0?0:3:$d(n[0]-r)<Rd?i>0?2:1:$d(n[1]-e)<Rd?i>0?1:0:i>0?3:2}function s(t,e){return u(t.x,e.x)}function u(t,e){var r=a(t,1),n=a(e,1);return r!==n?r-n:0===r?e[1]-t[1]:1===r?t[0]-e[0]:2===r?t[1]-e[1]:e[0]-t[0]}return function(a){function u(t,e){i(t,e)&&w.point(t,e)}function c(o,a){var s=i(o,a);if(h&&f.push([o,a]),b)d=o,p=a,m=s,b=!1,s&&(w.lineStart(),w.point(o,a));else if(s&&v)w.point(o,a);else{var u=[g=Math.max(fp,Math.min(hp,g)),y=Math.max(fp,Math.min(hp,y))],c=[o=Math.max(fp,Math.min(hp,o)),a=Math.max(fp,Math.min(hp,a))];ap(u,c,t,e,r,n)?(v||(w.lineStart(),w.point(u[0],u[1])),w.point(c[0],c[1]),s||w.lineEnd(),_=!1):s&&(w.lineStart(),w.point(o,a),_=!1)}g=o,y=a,v=s}var l,h,f,d,p,m,g,y,v,b,_,w=a,x=op(),k={point:u,lineStart:function(){k.point=c,h&&h.push(f=[]),b=!0,v=!1,g=y=NaN},lineEnd:function(){l&&(c(d,p),m&&v&&x.rejoin(),l.push(x.result())),k.point=u,v&&w.lineEnd()},polygonStart:function(){w=x,l=[],h=[],_=!0},polygonEnd:function(){var e=function(){for(var e=0,r=0,i=h.length;r<i;++r)for(var o,a,s=h[r],u=1,c=s.length,l=s[0],f=l[0],d=l[1];u<c;++u)o=f,a=d,f=(l=s[u])[0],d=l[1],a<=n?d>n&&(f-o)*(n-a)>(d-a)*(t-o)&&++e:d<=n&&(f-o)*(n-a)<(d-a)*(t-o)&&--e;return e}(),r=_&&e,i=(l=lp(l)).length;(r||i)&&(a.polygonStart(),r&&(a.lineStart(),o(null,null,1,a),a.lineEnd()),i&&up(l,s,e,o,a),a.polygonEnd()),w=a,l=h=f=null}};return k}}function mo(t){return t.length>1}function go(t,e){return((t=t.x)[0]<0?t[1]-Yd-Rd:Yd-t[1])-((e=e.x)[0]<0?e[1]-Yd-Rd:Yd-e[1])}function yo(t){return function(e){var r=new vo;for(var n in t)r[n]=t[n];return r.stream=e,r}}function vo(){}function bo(t,e,r){var n=e[1][0]-e[0][0],i=e[1][1]-e[0][1],o=t.clipExtent&&t.clipExtent();t.scale(150).translate([0,0]),null!=o&&t.clipExtent(null),rp(r,t.stream(bp));var a=bp.result(),s=Math.min(n/(a[1][0]-a[0][0]),i/(a[1][1]-a[0][1])),u=+e[0][0]+(n-s*(a[1][0]+a[0][0]))/2,c=+e[0][1]+(i-s*(a[1][1]+a[0][1]))/2;return null!=o&&t.clipExtent(o),t.scale(150*s).translate([u,c])}function _o(t){return function(t){function e(t){return t=c(t[0]*Vd,t[1]*Vd),[t[0]*m+a,s-t[1]*m]}function r(t,e){return t=o(t,e),[t[0]*m+a,s-t[1]*m]}function n(){c=np(u=ao(_,w,x),o);var t=o(v,b);return a=g-t[0]*m,s=y+t[1]*m,i()}function i(){return d=p=null,e}var o,a,s,u,c,l,h,f,d,p,m=150,g=480,y=250,v=0,b=0,_=0,w=0,x=0,k=null,S=wp,E=null,M=pp,A=.5,T=Ep(r,A);return e.stream=function(t){return d&&p===t?d:d=Mp(S(u,T(M(p=t))))},e.clipAngle=function(t){return arguments.length?(S=+t?xp(k=t*Vd,6*Vd):(k=null,wp),i()):k*zd},e.clipExtent=function(t){return arguments.length?(M=null==t?(E=l=h=f=null,pp):po(E=+t[0][0],l=+t[0][1],h=+t[1][0],f=+t[1][1]),i()):null==E?null:[[E,l],[h,f]]},e.scale=function(t){return arguments.length?(m=+t,n()):m},e.translate=function(t){return arguments.length?(g=+t[0],y=+t[1],n()):[g,y]},e.center=function(t){return arguments.length?(v=t[0]%360*Vd,b=t[1]%360*Vd,n()):[v*zd,b*zd]},e.rotate=function(t){return arguments.length?(_=t[0]%360*Vd,w=t[1]%360*Vd,x=t.length>2?t[2]%360*Vd:0,n()):[_*zd,w*zd,x*zd]},e.precision=function(t){return arguments.length?(T=Ep(r,A=t*t),i()):Zd(A)},e.fitExtent=function(t,r){return bo(e,t,r)},e.fitSize=function(t,r){return function(t,e,r){return bo(t,[[0,0],e],r)}(e,t,r)},function(){return o=t.apply(this,arguments),e.invert=o.invert&&function(t){return(t=c.invert((t[0]-a)/m,(s-t[1])/m))&&[t[0]*zd,t[1]*zd]},n()}}((function(){return t}))()}function wo(t,e){return[t,Xd(Qd((Yd+e)/2))]}function xo(t,e){return[Xd(Qd((Yd+e)/2)),-t]}function ko(t,r,n,i){var o=t.properties||{},a="Feature"===t.type?t.geometry:t;if("GeometryCollection"===a.type){var s=[];return D(t,(function(t){var e=ko(t,r,n,i);e&&s.push(e)})),c(s)}var u,l=H(t),h=l[1]>50&&l[3]>50;u=h?{type:a.type,coordinates:Eo(a.coordinates,Ao(a))}:ur(a);var f,d=(new kl).read(u),p=m(g(r,n),"meters"),y=mf.bufferOp(d,p);if(y=(new Sl).write(y),!So(y.coordinates))return(f=h?{type:y.type,coordinates:Mo(y.coordinates,Ao(a))}:cr(y)).geometry?f:e(f,o)}function So(t){return Array.isArray(t[0])?So(t[0]):isNaN(t[0])}function Eo(t,e){return"object"!=typeof t[0]?e(t):t.map((function(t){return Eo(t,e)}))}function Mo(t,e){return"object"!=typeof t[0]?e.invert(t):t.map((function(t){return Mo(t,e)}))}function Ao(t){var e=me(t).geometry.coordinates.reverse(),r=e.map((function(t){return-t}));return Ap().center(e).rotate(r).scale(jo)}function To(){for(var t=new kl,e=t.read(JSON.stringify(arguments[0].geometry)),r=1;r<arguments.length;r++)e=Bd.union(e,t.read(JSON.stringify(arguments[r].geometry)));return e=(new Sl).write(e),{type:"Feature",geometry:e,properties:arguments[0].properties}}function Co(t,r){var n=K(t),i=K(r);if(te(Cr(i,{precision:4})).coordinates[0].length<4)return null;if(te(Cr(n,{precision:4})).coordinates[0].length<4)return null;var o=new kl,a=o.read(Cr(n)),s=o.read(Cr(i)),u=Md.intersection(a,s);return u.isEmpty()?null:e((new Sl).write(u))}function Lo(t,e){return function(t,e,r){var n,i;if(!Array.isArray(e))throw new Error("Get closest expects an array as second argument");return e.forEach((function(e,o){var a=r(e,t);a>=0&&(void 0===i||a<i)&&(i=a,n=o)})),n}(t,e,(function(t,e){return t-e}))}function Po(t,e,r){if(r=r||{},!S(r))throw new Error("options is invalid");var n=r.properties||{},i=r.triangles,a=r.mask;if(null===e||void 0===e)throw new Error("cellSide is required");if(!k(e))throw new Error("cellSide is invalid");if(!t)throw new Error("bbox is required");if(!Array.isArray(t))throw new Error("bbox must be array");if(4!==t.length)throw new Error("bbox must contain 4 numbers");if(a&&-1===["Polygon","MultiPolygon"].indexOf(J(a)))throw new Error("options.mask must be a (Multi)Polygon");var s=t[0],u=t[1],l=t[2],h=t[3],f=(u+h)/2,d=(s+l)/2,p=2*e/Nt([s,f],[l,f],r)*(l-s),m=2*e/Nt([d,u],[d,h],r)*(h-u),g=p/2,y=2*g,v=Math.sqrt(3)/2*m,b=l-s,_=h-u,w=.75*y,x=v,E=(b-y)/(y-g/2),M=Math.floor(E),A=(M*w-g/2-b)/2-g/2+w/2,T=Math.floor((_-v)/v),C=(_-T*v)/2,L=T*v-_>v/2;L&&(C-=v/4);for(var P=[],O=[],I=0;I<6;I++){var D=2*Math.PI/6*I;P.push(Math.cos(D)),O.push(Math.sin(D))}for(var B=[],j=0;j<=M;j++)for(var N=0;N<=T;N++){var R=j%2==1;if((0!==N||!R)&&(0!==N||!L)){var F=j*w+s-A,Y=N*x+u+C;if(R&&(Y-=v/2),!0===i)(function(t,e,r,n,i,a){for(var s=[],u=0;u<6;u++){var c=[];c.push(t),c.push([t[0]+e*i[u],t[1]+r*a[u]]),c.push([t[0]+e*i[(u+1)%6],t[1]+r*a[(u+1)%6]]),c.push(t),s.push(o([c],n))}return s})([F,Y],p/2,m/2,n,P,O).forEach((function(t){a?Co(a,t)&&B.push(t):B.push(t)}));else{var U=function(t,e,r,n,i,a){for(var s=[],u=0;u<6;u++){var c=t[0]+e*i[u],l=t[1]+r*a[u];s.push([c,l])}return s.push(s[0].slice()),o([s],n)}([F,Y],p/2,m/2,n,P,O);a?Co(a,U)&&B.push(U):B.push(U)}}}return c(B)}function Oo(t){if(t.features.length<=1)return t;var e=function(t){var e=qo(),r=[];return j(t,(function(t,e){var n=H(t);r.push({minX:n[0],minY:n[1],maxX:n[2],maxY:n[3],geojson:t,index:e})})),e.load(r),e}(t),r=[],n={};return j(t,(function(t,i){if(n[i])return!0;for(e.remove({index:i},Io),n[i]=!0;;){var o=H(t),a=e.search({minX:o[0],minY:o[1],maxX:o[2],maxY:o[3]});if(a.length>0){var s=a.map((function(t){return n[t.index]=!0,e.remove({index:t.index},Io),t.geojson}));s.push(t),t=To.apply(this,s)}if(0===a.length)break}r.push(t)})),c(r)}function Io(t,e){return t.index===e.index}function Do(t,e,r){if(r=r||{},!S(r))throw new Error("options is invalid");var n=r.properties,i=r.mask,a=[];if(null===e||void 0===e)throw new Error("cellSide is required");if(!k(e))throw new Error("cellSide is invalid");if(!t)throw new Error("bbox is required");if(!Array.isArray(t))throw new Error("bbox must be array");if(4!==t.length)throw new Error("bbox must contain 4 numbers");if(i&&-1===["Polygon","MultiPolygon"].indexOf(J(i)))throw new Error("options.mask must be a (Multi)Polygon");for(var s=t[0],u=t[1],l=t[2],h=t[3],f=e/Nt([s,u],[l,u],r)*(l-s),d=e/Nt([s,u],[s,h],r)*(h-u),p=l-s,m=h-u,g=Math.floor(p/f),y=Math.floor(m/d),v=(m-y*d)/2,b=s+(p-g*f)/2,_=0;_<g;_++){for(var w=u+v,x=0;x<y;x++){var E=o([[[b,w],[b,w+d],[b+f,w+d],[b+f,w],[b,w]]],n);i?Co(i,E)&&a.push(E):a.push(E),w+=d}b+=f}return c(a)}function Bo(t,e,r){if(r=r||{},!S(r))throw new Error("options is invalid");var n=r.properties,i=r.mask,a=[];if(null===e||void 0===e)throw new Error("cellSide is required");if(!k(e))throw new Error("cellSide is invalid");if(!t)throw new Error("bbox is required");if(!Array.isArray(t))throw new Error("bbox must be array");if(4!==t.length)throw new Error("bbox must contain 4 numbers");if(i&&-1===["Polygon","MultiPolygon"].indexOf(J(i)))throw new Error("options.mask must be a (Multi)Polygon");for(var s=e/Nt([t[0],t[1]],[t[2],t[1]],r)*(t[2]-t[0]),u=e/Nt([t[0],t[1]],[t[0],t[3]],r)*(t[3]-t[1]),l=0,h=t[0];h<=t[2];){for(var f=0,d=t[1];d<=t[3];){var p=null,m=null;l%2==0&&f%2==0?(p=o([[[h,d],[h,d+u],[h+s,d],[h,d]]],n),m=o([[[h,d+u],[h+s,d+u],[h+s,d],[h,d+u]]],n)):l%2==0&&f%2==1?(p=o([[[h,d],[h+s,d+u],[h+s,d],[h,d]]],n),m=o([[[h,d],[h,d+u],[h+s,d+u],[h,d]]],n)):f%2==0&&l%2==1?(p=o([[[h,d],[h,d+u],[h+s,d+u],[h,d]]],n),m=o([[[h,d],[h+s,d+u],[h+s,d],[h,d]]],n)):f%2==1&&l%2==1&&(p=o([[[h,d],[h,d+u],[h+s,d],[h,d]]],n),m=o([[[h,d+u],[h+s,d+u],[h+s,d],[h,d+u]]],n)),i?(Co(i,p)&&a.push(p),Co(i,m)&&a.push(m)):(a.push(p),a.push(m)),d+=u,f++}l++,h+=s}return c(a)}var jo=6371008.8,No={meters:jo,metres:jo,millimeters:1e3*jo,millimetres:1e3*jo,centimeters:100*jo,centimetres:100*jo,kilometers:jo/1e3,kilometres:jo/1e3,miles:jo/1609.344,nauticalmiles:jo/1852,inches:39.37*jo,yards:jo/1.0936,feet:3.28084*jo,radians:1,degrees:jo/111325},Ro={meters:1,metres:1,millimeters:1e3,millimetres:1e3,centimeters:100,centimetres:100,kilometers:.001,kilometres:.001,miles:1/1609.344,nauticalmiles:1/1852,inches:39.37,yards:1/1.0936,feet:3.28084,radians:1/jo,degrees:1/111325},Fo={meters:1,metres:1,millimeters:1e6,millimetres:1e6,centimeters:1e4,centimetres:1e4,kilometers:1e-6,kilometres:1e-6,acres:247105e-9,miles:386e-9,yards:1.195990046,feet:10.763910417,inches:1550.003100006},Yo=Object.freeze({earthRadius:jo,factors:No,unitsFactors:Ro,areaFactors:Fo,feature:e,geometry:r,point:n,points:i,polygon:o,polygons:a,lineString:s,lineStrings:u,featureCollection:c,multiLineString:l,multiPoint:h,multiPolygon:f,geometryCollection:d,round:p,radiansToLength:m,lengthToRadians:g,lengthToDegrees:y,bearingToAzimuth:v,radiansToDegrees:b,degreesToRadians:_,convertLength:w,convertArea:x,isNumber:k,isObject:S,validateBBox:E,validateId:M,radians2degrees:function(){throw new Error("method has been renamed to `radiansToDegrees`")},degrees2radians:function(){throw new Error("method has been renamed to `degreesToRadians`")},distanceToDegrees:function(){throw new Error("method has been renamed to `lengthToDegrees`")},distanceToRadians:function(){throw new Error("method has been renamed to `lengthToRadians`")},radiansToDistance:function(){throw new Error("method has been renamed to `radiansToLength`")},bearingToAngle:function(){throw new Error("method has been renamed to `bearingToAzimuth`")},convertDistance:function(){throw new Error("method has been renamed to `convertLength`")}}),Uo=Object.freeze({coordEach:A,coordReduce:T,propEach:C,propReduce:L,featureEach:P,featureReduce:O,coordAll:I,geomEach:D,geomReduce:B,flattenEach:j,flattenReduce:N,segmentEach:R,segmentReduce:F,lineEach:Y,lineReduce:U}),Ho=Object.freeze({getCoord:z,getCoords:V,containsNumber:$,geojsonType:q,featureOf:G,collectionOf:W,getGeom:K,getGeomType:X,getType:J}),zo={successCallback:null,verbose:!1},Vo={},$o=it,qo=at;at.prototype={all:function(){return this._all(this.data,[])},search:function(t){var e=this.data,r=[],n=this.toBBox;if(!mt(t,e))return r;for(var i,o,a,s,u=[];e;){for(i=0,o=e.children.length;i<o;i++)a=e.children[i],mt(t,s=e.leaf?n(a):a)&&(e.leaf?r.push(a):pt(t,s)?this._all(a,r):u.push(a));e=u.pop()}return r},collides:function(t){var e=this.data,r=this.toBBox;if(!mt(t,e))return!1;for(var n,i,o,a,s=[];e;){for(n=0,i=e.children.length;n<i;n++)if(o=e.children[n],a=e.leaf?r(o):o,mt(t,a)){if(e.leaf||pt(t,a))return!0;s.push(o)}e=s.pop()}return!1},load:function(t){if(!t||!t.length)return this;if(t.length<this._minEntries){for(var e=0,r=t.length;e<r;e++)this.insert(t[e]);return this}var n=this._build(t.slice(),0,t.length-1,0);if(this.data.children.length)if(this.data.height===n.height)this._splitRoot(this.data,n);else{if(this.data.height<n.height){var i=this.data;this.data=n,n=i}this._insert(n,this.data.height-n.height-1,!0)}else this.data=n;return this},insert:function(t){return t&&this._insert(t,this.data.height-1),this},clear:function(){return this.data=gt([]),this},remove:function(t,e){if(!t)return this;for(var r,n,i,o,a=this.data,s=this.toBBox(t),u=[],c=[];a||u.length;){if(a||(a=u.pop(),n=u[u.length-1],r=c.pop(),o=!0),a.leaf&&-1!==(i=function(t,e,r){if(!r)return e.indexOf(t);for(var n=0;n<e.length;n++)if(r(t,e[n]))return n;return-1}(t,a.children,e)))return a.children.splice(i,1),u.push(a),this._condense(u),this;o||a.leaf||!pt(a,s)?n?(r++,a=n.children[r],o=!1):a=null:(u.push(a),c.push(r),r=0,n=a,a=a.children[0])}return this},toBBox:function(t){return t},compareMinX:lt,compareMinY:ht,toJSON:function(){return this.data},fromJSON:function(t){return this.data=t,this},_all:function(t,e){for(var r=[];t;)t.leaf?e.push.apply(e,t.children):r.push.apply(r,t.children),t=r.pop();return e},_build:function(t,e,r,n){var i,o=r-e+1,a=this._maxEntries;if(o<=a)return i=gt(t.slice(e,r+1)),st(i,this.toBBox),i;n||(n=Math.ceil(Math.log(o)/Math.log(a)),a=Math.ceil(o/Math.pow(a,n-1))),(i=gt([])).leaf=!1,i.height=n;var s,u,c,l,h=Math.ceil(o/a),f=h*Math.ceil(Math.sqrt(a));for(yt(t,e,r,f,this.compareMinX),s=e;s<=r;s+=f)for(yt(t,s,c=Math.min(s+f-1,r),h,this.compareMinY),u=s;u<=c;u+=h)l=Math.min(u+h-1,c),i.children.push(this._build(t,u,l,n-1));return st(i,this.toBBox),i},_chooseSubtree:function(t,e,r,n){for(var i,o,a,s,u,c,l,h;n.push(e),!e.leaf&&n.length-1!==r;){for(l=h=1/0,i=0,o=e.children.length;i<o;i++)u=ft(a=e.children[i]),(c=function(t,e){return(Math.max(e.maxX,t.maxX)-Math.min(e.minX,t.minX))*(Math.max(e.maxY,t.maxY)-Math.min(e.minY,t.minY))}(t,a)-u)<h?(h=c,l=u<l?u:l,s=a):c===h&&u<l&&(l=u,s=a);e=s||e.children[0]}return e},_insert:function(t,e,r){var n=this.toBBox,i=r?t:n(t),o=[],a=this._chooseSubtree(i,this.data,e,o);for(a.children.push(t),ct(a,i);e>=0&&o[e].children.length>this._maxEntries;)this._split(o,e),e--;this._adjustParentBBoxes(i,o,e)},_split:function(t,e){var r=t[e],n=r.children.length,i=this._minEntries;this._chooseSplitAxis(r,i,n);var o=this._chooseSplitIndex(r,i,n),a=gt(r.children.splice(o,r.children.length-o));a.height=r.height,a.leaf=r.leaf,st(r,this.toBBox),st(a,this.toBBox),e?t[e-1].children.push(a):this._splitRoot(r,a)},_splitRoot:function(t,e){this.data=gt([t,e]),this.data.height=t.height+1,this.data.leaf=!1,st(this.data,this.toBBox)},_chooseSplitIndex:function(t,e,r){var n,i,o,a,s,u,c,l;for(u=c=1/0,n=e;n<=r-e;n++)a=function(t,e){var r=Math.max(t.minX,e.minX),n=Math.max(t.minY,e.minY),i=Math.min(t.maxX,e.maxX),o=Math.min(t.maxY,e.maxY);return Math.max(0,i-r)*Math.max(0,o-n)}(i=ut(t,0,n,this.toBBox),o=ut(t,n,r,this.toBBox)),s=ft(i)+ft(o),a<u?(u=a,l=n,c=s<c?s:c):a===u&&s<c&&(c=s,l=n);return l},_chooseSplitAxis:function(t,e,r){var n=t.leaf?this.compareMinX:lt,i=t.leaf?this.compareMinY:ht;this._allDistMargin(t,e,r,n)<this._allDistMargin(t,e,r,i)&&t.children.sort(n)},_allDistMargin:function(t,e,r,n){t.children.sort(n);var i,o,a=this.toBBox,s=ut(t,0,e,a),u=ut(t,r-e,r,a),c=dt(s)+dt(u);for(i=e;i<r-e;i++)o=t.children[i],ct(s,t.leaf?a(o):o),c+=dt(s);for(i=r-e-1;i>=e;i--)o=t.children[i],ct(u,t.leaf?a(o):o),c+=dt(u);return c},_adjustParentBBoxes:function(t,e,r){for(var n=r;n>=0;n--)ct(e[n],t)},_condense:function(t){for(var e,r=t.length-1;r>=0;r--)0===t[r].children.length?r>0?(e=t[r-1].children).splice(e.indexOf(t[r]),1):this.clear():st(t[r],this.toBBox)},_initFormat:function(t){var e=["return a"," - b",";"];this.compareMinX=new Function("a","b",e.join(t[0])),this.compareMinY=new Function("a","b",e.join(t[1])),this.toBBox=new Function("a","return {minX: a"+t[0]+", minY: a"+t[1]+", maxX: a"+t[2]+", maxY: a"+t[3]+"};")}};var Go=function(t,e,r){var n=t*e,i=Wo*t,o=i-(i-t),a=t-o,s=Wo*e,u=s-(s-e),c=e-u,l=a*c-(n-o*u-a*u-o*c);return r?(r[0]=l,r[1]=n,r):[l,n]},Wo=+(Math.pow(2,27)+1),Ko=function(t,e){var r=0|t.length,n=0|e.length;if(1===r&&1===n)return function(t,e){var r=t+e,n=r-t,i=t-(r-n)+(e-n);return i?[i,r]:[r]}(t[0],e[0]);var i,o,a=r+n,s=new Array(a),u=0,c=0,l=0,h=Math.abs,f=t[c],d=h(f),p=e[l],m=h(p);d<m?(o=f,(c+=1)<r&&(d=h(f=t[c]))):(o=p,(l+=1)<n&&(m=h(p=e[l]))),c<r&&d<m||l>=n?(i=f,(c+=1)<r&&(d=h(f=t[c]))):(i=p,(l+=1)<n&&(m=h(p=e[l])));for(var g,y,v=i+o,b=v-i,_=o-b,w=_,x=v;c<r&&l<n;)d<m?(i=f,(c+=1)<r&&(d=h(f=t[c]))):(i=p,(l+=1)<n&&(m=h(p=e[l]))),(_=(o=w)-(b=(v=i+o)-i))&&(s[u++]=_),w=x-((g=x+v)-(y=g-x))+(v-y),x=g;for(;c<r;)(_=(o=w)-(b=(v=(i=f)+o)-i))&&(s[u++]=_),w=x-((g=x+v)-(y=g-x))+(v-y),x=g,(c+=1)<r&&(f=t[c]);for(;l<n;)(_=(o=w)-(b=(v=(i=p)+o)-i))&&(s[u++]=_),w=x-((g=x+v)-(y=g-x))+(v-y),x=g,(l+=1)<n&&(p=e[l]);return w&&(s[u++]=w),x&&(s[u++]=x),u||(s[u++]=0),s.length=u,s},Xo=function(t,e,r){var n=t+e,i=n-t,o=e-i,a=t-(n-i);return r?(r[0]=a+o,r[1]=n,r):[a+o,n]},Jo=function(t,e){var r=t.length;if(1===r){var n=Go(t[0],e);return n[0]?n:[n[1]]}var i=new Array(2*r),o=[.1,.1],a=[.1,.1],s=0;Go(t[0],e,o),o[0]&&(i[s++]=o[0]);for(var u=1;u<r;++u){Go(t[u],e,a);var c=o[1];Xo(c,a[0],o),o[0]&&(i[s++]=o[0]);var l=a[1],h=o[1],f=l+h,d=h-(f-l);o[1]=f,d&&(i[s++]=d)}return o[1]&&(i[s++]=o[1]),0===s&&(i[s++]=0),i.length=s,i},Zo=function(t,e){var r=0|t.length,n=0|e.length;if(1===r&&1===n)return function(t,e){var r=t+e,n=r-t,i=t-(r-n)+(e-n);return i?[i,r]:[r]}(t[0],-e[0]);var i,o,a=r+n,s=new Array(a),u=0,c=0,l=0,h=Math.abs,f=t[c],d=h(f),p=-e[l],m=h(p);d<m?(o=f,(c+=1)<r&&(d=h(f=t[c]))):(o=p,(l+=1)<n&&(m=h(p=-e[l]))),c<r&&d<m||l>=n?(i=f,(c+=1)<r&&(d=h(f=t[c]))):(i=p,(l+=1)<n&&(m=h(p=-e[l])));for(var g,y,v=i+o,b=v-i,_=o-b,w=_,x=v;c<r&&l<n;)d<m?(i=f,(c+=1)<r&&(d=h(f=t[c]))):(i=p,(l+=1)<n&&(m=h(p=-e[l]))),(_=(o=w)-(b=(v=i+o)-i))&&(s[u++]=_),w=x-((g=x+v)-(y=g-x))+(v-y),x=g;for(;c<r;)(_=(o=w)-(b=(v=(i=f)+o)-i))&&(s[u++]=_),w=x-((g=x+v)-(y=g-x))+(v-y),x=g,(c+=1)<r&&(f=t[c]);for(;l<n;)(_=(o=w)-(b=(v=(i=p)+o)-i))&&(s[u++]=_),w=x-((g=x+v)-(y=g-x))+(v-y),x=g,(l+=1)<n&&(p=-e[l]);return w&&(s[u++]=w),x&&(s[u++]=x),u||(s[u++]=0),s.length=u,s},Qo=vt((function(t){function e(t,e){for(var r=new Array(t.length-1),n=1;n<t.length;++n)for(var i=r[n-1]=new Array(t.length-1),o=0,a=0;o<t.length;++o)o!==e&&(i[a++]=t[n][o]);return r}function r(t){return 1&t?"-":""}function n(t){if(1===t.length)return t[0];if(2===t.length)return["sum(",t[0],",",t[1],")"].join("");var e=t.length>>1;return["sum(",n(t.slice(0,e)),",",n(t.slice(e)),")"].join("")}function i(t){if(2===t.length)return[["sum(prod(",t[0][0],",",t[1][1],"),prod(-",t[0][1],",",t[1][0],"))"].join("")];for(var o=[],a=0;a<t.length;++a)o.push(["scale(",n(i(e(t,a))),",",r(a),t[0][a],")"].join(""));return o}function o(t){for(var r=[],o=[],a=function(t){for(var e=new Array(t),r=0;r<t;++r){e[r]=new Array(t);for(var n=0;n<t;++n)e[r][n]=["m",n,"[",t-r-1,"]"].join("")}return e}(t),s=[],u=0;u<t;++u)0==(1&u)?r.push.apply(r,i(e(a,u))):o.push.apply(o,i(e(a,u))),s.push("m"+u);var c=n(r),l=n(o),h="orientation"+t+"Exact",f=["function ",h,"(",s.join(),"){var p=",c,",n=",l,",d=sub(p,n);return d[d.length-1];};return ",h].join("");return new Function("sum","prod","scale","sub",f)(Ko,Go,Jo,Zo)}var a=5,s=o(3),u=o(4),c=[function(){return 0},function(){return 0},function(t,e){return e[0]-t[0]},function(t,e,r){var n,i=(t[1]-r[1])*(e[0]-r[0]),o=(t[0]-r[0])*(e[1]-r[1]),a=i-o;if(i>0){if(o<=0)return a;n=i+o}else{if(!(i<0))return a;if(o>=0)return a;n=-(i+o)}var u=33306690738754716e-32*n;return a>=u||a<=-u?a:s(t,e,r)},function(t,e,r,n){var i=t[0]-n[0],o=e[0]-n[0],a=r[0]-n[0],s=t[1]-n[1],c=e[1]-n[1],l=r[1]-n[1],h=t[2]-n[2],f=e[2]-n[2],d=r[2]-n[2],p=o*l,m=a*c,g=a*s,y=i*l,v=i*c,b=o*s,_=h*(p-m)+f*(g-y)+d*(v-b),w=7771561172376103e-31*((Math.abs(p)+Math.abs(m))*Math.abs(h)+(Math.abs(g)+Math.abs(y))*Math.abs(f)+(Math.abs(v)+Math.abs(b))*Math.abs(d));return _>w||-_>w?_:u(t,e,r,n)}];!function(){for(;c.length<=a;)c.push(o(c.length));for(var e=[],r=["slow"],n=0;n<=a;++n)e.push("a"+n),r.push("o"+n);var i=["function getOrientation(",e.join(),"){switch(arguments.length){case 0:case 1:return 0;"];for(n=2;n<=a;++n)i.push("case ",n,":return o",n,"(",e.slice(0,n).join(),");");i.push("}var s=new Array(arguments.length);for(var i=0;i<arguments.length;++i){s[i]=arguments[i]};return slow(s);}return getOrientation"),r.push(i.join(""));var s=Function.apply(void 0,r);for(t.exports=s.apply(void 0,[function(t){var e=c[t.length];return e||(e=c[t.length]=o(t.length)),e.apply(void 0,t)}].concat(c)),n=0;n<=a;++n)t.exports[n]=c[n]}()})),ta=function(t){var e=t.length;if(e<3){for(var r=new Array(e),n=0;n<e;++n)r[n]=n;return 2===e&&t[0][0]===t[1][0]&&t[0][1]===t[1][1]?[0]:r}var i=new Array(e);for(n=0;n<e;++n)i[n]=n;i.sort((function(e,r){var n=t[e][0]-t[r][0];return n||t[e][1]-t[r][1]}));var o=[i[0],i[1]],a=[i[0],i[1]];for(n=2;n<e;++n){for(var s=i[n],u=t[s],c=o.length;c>1&&ea(t[o[c-2]],t[o[c-1]],u)<=0;)c-=1,o.pop();for(o.push(s),c=a.length;c>1&&ea(t[a[c-2]],t[a[c-1]],u)>=0;)c-=1,a.pop();a.push(s)}r=new Array(a.length+o.length-2);for(var l=0,h=(n=0,o.length);n<h;++n)r[l++]=o[n];for(var f=a.length-2;f>0;--f)r[l++]=a[f];return r},ea=Qo[3],ra=bt,na=bt;bt.prototype={push:function(t){this.data.push(t),this.length++,this._up(this.length-1)},pop:function(){if(0!==this.length){var t=this.data[0];return this.length--,this.length>0&&(this.data[0]=this.data[this.length],this._down(0)),this.data.pop(),t}},peek:function(){return this.data[0]},_up:function(t){for(var e=this.data,r=this.compare,n=e[t];t>0;){var i=t-1>>1,o=e[i];if(r(n,o)>=0)break;e[t]=o,t=i}e[t]=n},_down:function(t){for(var e=this.data,r=this.compare,n=this.length>>1,i=e[t];t<n;){var o=1+(t<<1),a=o+1,s=e[o];if(a<this.length&&r(e[a],s)<0&&(o=a,s=e[a]),r(s,i)>=0)break;e[t]=s,t=o}e[t]=i}},ra.default=na;var ia=function(t,e){for(var r=t[0],n=t[1],i=!1,o=0,a=e.length-1;o<e.length;a=o++){var s=e[o][0],u=e[o][1],c=e[a][0],l=e[a][1];u>n!=l>n&&r<(c-s)*(n-u)/(l-u)+s&&(i=!i)}return i},oa=Qo[3],aa=_t,sa=_t;aa.default=sa;var ua=function(t){return t},ca=function(t){if(null==t)return ua;var e,r,n=t.scale[0],i=t.scale[1],o=t.translate[0],a=t.translate[1];return function(t,s){s||(e=r=0);var u=2,c=t.length,l=new Array(c);for(l[0]=(e+=t[0])*n+o,l[1]=(r+=t[1])*i+a;u<c;)l[u]=t[u],++u;return l}},la=function(t,e){for(var r,n=t.length,i=n-e;i<--n;)r=t[i],t[i++]=t[n],t[n]=r},ha=function(t,e){function r(t,e){for(var r in t){var i=t[r];delete e[i.start],delete i.start,delete i.end,i.forEach((function(t){n[t<0?~t:t]=1})),a.push(i)}}var n={},i={},o={},a=[],s=-1;return e.forEach((function(r,n){var i,o=t.arcs[r<0?~r:r];o.length<3&&!o[1][0]&&!o[1][1]&&(i=e[++s],e[s]=r,e[n]=i)})),e.forEach((function(e){var r,n,a=function(e){var r,n=t.arcs[e<0?~e:e],i=n[0];return t.transform?(r=[0,0],n.forEach((function(t){r[0]+=t[0],r[1]+=t[1]}))):r=n[n.length-1],e<0?[r,i]:[i,r]}(e),s=a[0],u=a[1];if(r=o[s])if(delete o[r.end],r.push(e),r.end=u,n=i[u]){delete i[n.start];var c=n===r?r:r.concat(n);i[c.start=r.start]=o[c.end=n.end]=c}else i[r.start]=o[r.end]=r;else if(r=i[u])if(delete i[r.start],r.unshift(e),r.start=s,n=o[s]){delete o[n.end];var l=n===r?r:n.concat(r);i[l.start=n.start]=o[l.end=r.end]=l}else i[r.start]=o[r.end]=r;else i[(r=[e]).start=s]=o[r.end=u]=r})),r(o,i),r(i,o),e.forEach((function(t){n[t<0?~t:t]||a.push([t])})),a},fa=function(t){return zt(t,Vt.apply(this,arguments))},da=function(t,e,r,n,i,o){3===arguments.length&&(n=o=Array,i=null);for(var a=new n(t=1<<Math.max(4,Math.ceil(Math.log(t)/Math.LN2))),s=new o(t),u=t-1,c=0;c<t;++c)a[c]=i;return{set:function(n,o){for(var c=e(n)&u,l=a[c],h=0;l!=i;){if(r(l,n))return s[c]=o;if(++h>=t)throw new Error("full hashmap");l=a[c=c+1&u]}return a[c]=n,s[c]=o,o},maybeSet:function(n,o){for(var c=e(n)&u,l=a[c],h=0;l!=i;){if(r(l,n))return s[c];if(++h>=t)throw new Error("full hashmap");l=a[c=c+1&u]}return a[c]=n,s[c]=o,o},get:function(n,o){for(var c=e(n)&u,l=a[c],h=0;l!=i;){if(r(l,n))return s[c];if(++h>=t)break;l=a[c=c+1&u]}return o},keys:function(){for(var t=[],e=0,r=a.length;e<r;++e){var n=a[e];n!=i&&t.push(n)}return t}}},pa=function(t,e){return t[0]===e[0]&&t[1]===e[1]},ma=new ArrayBuffer(16),ga=new Float64Array(ma),ya=new Uint32Array(ma),va=function(t){ga[0]=t[0],ga[1]=t[1];var e=ya[0]^ya[1];return 2147483647&(e<<5^e>>7^ya[2]^ya[3])},ba=function(t){function e(t,e,r,n){if(f[r]!==t){f[r]=t;var i=d[r];if(i>=0){var o=p[r];i===e&&o===n||i===n&&o===e||(++g,m[r]=1)}else d[r]=e,p[r]=n}}function r(t){return va(u[t])}function n(t,e){return pa(u[t],u[e])}var i,o,a,s,u=t.coordinates,c=t.lines,l=t.rings,h=function(){for(var t=da(1.4*u.length,r,n,Int32Array,-1,Int32Array),e=new Int32Array(u.length),i=0,o=u.length;i<o;++i)e[i]=t.maybeSet(i,i);return e}(),f=new Int32Array(u.length),d=new Int32Array(u.length),p=new Int32Array(u.length),m=new Int8Array(u.length),g=0;for(i=0,o=u.length;i<o;++i)f[i]=d[i]=p[i]=-1;for(i=0,o=c.length;i<o;++i){var y=c[i],v=y[0],b=y[1];for(a=h[v],s=h[++v],++g,m[a]=1;++v<=b;)e(i,a,a=s,s=h[v]);++g,m[s]=1}for(i=0,o=u.length;i<o;++i)f[i]=-1;for(i=0,o=l.length;i<o;++i){var _=l[i],w=_[0]+1,x=_[1];for(e(i,h[x-1],a=h[w-1],s=h[w]);++w<=x;)e(i,a,a=s,s=h[w])}f=d=p=null;var k,S=function(t,e,r,n,i){3===arguments.length&&(n=Array,i=null);for(var o=new n(t=1<<Math.max(4,Math.ceil(Math.log(t)/Math.LN2))),a=t-1,s=0;s<t;++s)o[s]=i;return{add:function(n){for(var s=e(n)&a,u=o[s],c=0;u!=i;){if(r(u,n))return!0;if(++c>=t)throw new Error("full hashset");u=o[s=s+1&a]}return o[s]=n,!0},has:function(n){for(var s=e(n)&a,u=o[s],c=0;u!=i;){if(r(u,n))return!0;if(++c>=t)break;u=o[s=s+1&a]}return!1},values:function(){for(var t=[],e=0,r=o.length;e<r;++e){var n=o[e];n!=i&&t.push(n)}return t}}}(1.4*g,va,pa);for(i=0,o=u.length;i<o;++i)m[k=h[i]]&&S.add(u[k]);return S},_a=function(t){var e,r,n,i=ba(t),o=t.coordinates,a=t.lines,s=t.rings;for(r=0,n=a.length;r<n;++r)for(var u=a[r],c=u[0],l=u[1];++c<l;)i.has(o[c])&&(e={0:c,1:u[1]},u[1]=c,u=u.next=e);for(r=0,n=s.length;r<n;++r)for(var h=s[r],f=h[0],d=f,p=h[1],m=i.has(o[f]);++d<p;)i.has(o[d])&&(m?(e={0:d,1:h[1]},h[1]=d,h=h.next=e):(function(t,e,r,n){$t(t,e,r),$t(t,e,e+n),$t(t,e+n,r)}(o,f,p,p-d),o[p]=o[f],m=!0,d=f));return t},wa=function(t){function e(t){var e,r,n,i,o,a,s,u;if(n=d.get(e=c[t[0]]))for(s=0,u=n.length;s<u;++s)if(i=n[s],function(t,e){var r=t[0],n=e[0],i=t[1],o=e[1];if(r-i!=n-o)return!1;for(;r<=i;++r,++n)if(!pa(c[r],c[n]))return!1;return!0}(i,t))return t[0]=i[0],void(t[1]=i[1]);if(o=d.get(r=c[t[1]]))for(s=0,u=o.length;s<u;++s)if(a=o[s],function(t,e){var r=t[0],n=e[0],i=t[1],o=e[1];if(r-i!=n-o)return!1;for(;r<=i;++r,--o)if(!pa(c[r],c[o]))return!1;return!0}(a,t))return t[1]=a[0],void(t[0]=a[1]);n?n.push(t):d.set(e,[t]),o?o.push(t):d.set(r,[t]),p.push(t)}function r(t,e){var r=t[0],n=e[0],o=t[1]-r;if(o!==e[1]-n)return!1;for(var a=i(t),s=i(e),u=0;u<o;++u)if(!pa(c[r+(u+a)%o],c[n+(u+s)%o]))return!1;return!0}function n(t,e){var r=t[0],n=e[0],o=t[1],a=e[1],s=o-r;if(s!==a-n)return!1;for(var u=i(t),l=s-i(e),h=0;h<s;++h)if(!pa(c[r+(h+u)%s],c[a-(h+l)%s]))return!1;return!0}function i(t){for(var e=t[0],r=t[1],n=e,i=n,o=c[n];++n<r;){var a=c[n];(a[0]<o[0]||a[0]===o[0]&&a[1]<o[1])&&(i=n,o=a)}return i-e}var o,a,s,u,c=t.coordinates,l=t.lines,h=t.rings,f=l.length+h.length;for(delete t.lines,delete t.rings,s=0,u=l.length;s<u;++s)for(o=l[s];o=o.next;)++f;for(s=0,u=h.length;s<u;++s)for(a=h[s];a=a.next;)++f;var d=da(2*f*1.4,va,pa),p=t.arcs=[];for(s=0,u=l.length;s<u;++s){o=l[s];do{e(o)}while(o=o.next)}for(s=0,u=h.length;s<u;++s)if((a=h[s]).next)do{e(a)}while(a=a.next);else!function(t){var e,o,a,s,u;if(o=d.get(e=c[t[0]]))for(s=0,u=o.length;s<u;++s){if(a=o[s],r(a,t))return t[0]=a[0],void(t[1]=a[1]);if(n(a,t))return t[0]=a[1],void(t[1]=a[0])}if(o=d.get(e=c[t[0]+i(t)]))for(s=0,u=o.length;s<u;++s){if(a=o[s],r(a,t))return t[0]=a[0],void(t[1]=a[1]);if(n(a,t))return t[0]=a[1],void(t[1]=a[0])}o?o.push(t):d.set(e,[t]),p.push(t)}(a);return t},xa=function(t,e){function r(t){t&&l.hasOwnProperty(t.type)&&l[t.type](t)}function n(t){var e=[];do{var r=c.get(t);e.push(t[0]<t[1]?r:~r)}while(t=t.next);return e}function i(t){return t.map(n)}var o=function(t){function e(t){null!=t&&c.hasOwnProperty(t.type)&&c[t.type](t)}function r(t){var e=t[0],r=t[1];e<o&&(o=e),e>s&&(s=e),r<a&&(a=r),r>u&&(u=r)}function n(t){t.forEach(r)}function i(t){t.forEach(n)}var o=1/0,a=1/0,s=-1/0,u=-1/0,c={GeometryCollection:function(t){t.geometries.forEach(e)},Point:function(t){r(t.coordinates)},MultiPoint:function(t){t.coordinates.forEach(r)},LineString:function(t){n(t.arcs)},MultiLineString:function(t){t.arcs.forEach(n)},Polygon:function(t){t.arcs.forEach(n)},MultiPolygon:function(t){t.arcs.forEach(i)}};for(var l in t)e(t[l]);return s>=o&&u>=a?[o,a,s,u]:void 0}(t=function(t){var e,r={};for(e in t)r[e]=qt(t[e]);return r}(t)),a=e>0&&o&&function(t,e,r){function n(t){return[Math.round((t[0]-c)*d),Math.round((t[1]-l)*p)]}function i(t,e){for(var r,n,i,o,a,s=-1,u=0,h=t.length,f=new Array(h);++s<h;)r=t[s],o=Math.round((r[0]-c)*d),a=Math.round((r[1]-l)*p),o===n&&a===i||(f[u++]=[n=o,i=a]);for(f.length=u;u<e;)u=f.push([f[0][0],f[0][1]]);return f}function o(t){return i(t,2)}function a(t){return i(t,4)}function s(t){return t.map(a)}function u(t){null!=t&&m.hasOwnProperty(t.type)&&m[t.type](t)}var c=e[0],l=e[1],h=e[2],f=e[3],d=h-c?(r-1)/(h-c):1,p=f-l?(r-1)/(f-l):1,m={GeometryCollection:function(t){t.geometries.forEach(u)},Point:function(t){t.coordinates=n(t.coordinates)},MultiPoint:function(t){t.coordinates=t.coordinates.map(n)},LineString:function(t){t.arcs=o(t.arcs)},MultiLineString:function(t){t.arcs=t.arcs.map(o)},Polygon:function(t){t.arcs=s(t.arcs)},MultiPolygon:function(t){t.arcs=t.arcs.map(s)}};for(var g in t)u(t[g]);return{scale:[1/d,1/p],translate:[c,l]}}(t,o,e),s=wa(_a(function(t){function e(t){t&&c.hasOwnProperty(t.type)&&c[t.type](t)}function r(t){for(var e=0,r=t.length;e<r;++e)u[++o]=t[e];var n={0:o-r+1,1:o};return a.push(n),n}function n(t){for(var e=0,r=t.length;e<r;++e)u[++o]=t[e];var n={0:o-r+1,1:o};return s.push(n),n}function i(t){return t.map(n)}var o=-1,a=[],s=[],u=[],c={GeometryCollection:function(t){t.geometries.forEach(e)},LineString:function(t){t.arcs=r(t.arcs)},MultiLineString:function(t){t.arcs=t.arcs.map(r)},Polygon:function(t){t.arcs=t.arcs.map(n)},MultiPolygon:function(t){t.arcs=t.arcs.map(i)}};for(var l in t)e(t[l]);return{type:"Topology",coordinates:u,lines:a,rings:s,objects:t}}(t))),u=s.coordinates,c=da(1.4*s.arcs.length,Kt,Xt);t=s.objects,s.bbox=o,s.arcs=s.arcs.map((function(t,e){return c.set(t,e),u.slice(t[0],t[1]+1)})),delete s.coordinates,u=null;var l={GeometryCollection:function(t){t.geometries.forEach(r)},LineString:function(t){t.arcs=n(t.arcs)},MultiLineString:function(t){t.arcs=t.arcs.map(n)},Polygon:function(t){t.arcs=t.arcs.map(n)},MultiPolygon:function(t){t.arcs=t.arcs.map(i)}};for(var h in t)r(t[h]);return a&&(s.transform=a,s.arcs=function(t){for(var e=-1,r=t.length;++e<r;){for(var n,i,o=t[e],a=0,s=1,u=o.length,c=o[0],l=c[0],h=c[1];++a<u;)n=(c=o[a])[0],i=c[1],n===l&&i===h||(o[s++]=[n-l,i-h],l=n,h=i);1===s&&(o[s++]=[0,0]),o.length=s}return t}(s.arcs)),s},ka=function(t){this.points=t.points||[],this.duration=t.duration||1e4,this.sharpness=t.sharpness||.85,this.centers=[],this.controls=[],this.stepLength=t.stepLength||60,this.length=this.points.length,this.delay=0;for(var e=0;e<this.length;e++)this.points[e].z=this.points[e].z||0;for(e=0;e<this.length-1;e++){var r=this.points[e],n=this.points[e+1];this.centers.push({x:(r.x+n.x)/2,y:(r.y+n.y)/2,z:(r.z+n.z)/2})}for(this.controls.push([this.points[0],this.points[0]]),e=0;e<this.centers.length-1;e++){r=this.centers[e],n=this.centers[e+1];var i=this.points[e+1].x-(this.centers[e].x+this.centers[e+1].x)/2,o=this.points[e+1].y-(this.centers[e].y+this.centers[e+1].y)/2,a=this.points[e+1].z-(this.centers[e].y+this.centers[e+1].z)/2;this.controls.push([{x:(1-this.sharpness)*this.points[e+1].x+this.sharpness*(this.centers[e].x+i),y:(1-this.sharpness)*this.points[e+1].y+this.sharpness*(this.centers[e].y+o),z:(1-this.sharpness)*this.points[e+1].z+this.sharpness*(this.centers[e].z+a)},{x:(1-this.sharpness)*this.points[e+1].x+this.sharpness*(this.centers[e+1].x+i),y:(1-this.sharpness)*this.points[e+1].y+this.sharpness*(this.centers[e+1].y+o),z:(1-this.sharpness)*this.points[e+1].z+this.sharpness*(this.centers[e+1].z+a)}])}return this.controls.push([this.points[this.length-1],this.points[this.length-1]]),this.steps=this.cacheSteps(this.stepLength),this};ka.prototype.cacheSteps=function(t){var e=[],r=this.pos(0);e.push(0);for(var n=0;n<this.duration;n+=10){var i=this.pos(n);Math.sqrt((i.x-r.x)*(i.x-r.x)+(i.y-r.y)*(i.y-r.y)+(i.z-r.z)*(i.z-r.z))>t&&(e.push(n),r=i)}return e},ka.prototype.vector=function(t){var e=this.pos(t+10),r=this.pos(t-10);return{angle:180*Math.atan2(e.y-r.y,e.x-r.x)/3.14,speed:Math.sqrt((r.x-e.x)*(r.x-e.x)+(r.y-e.y)*(r.y-e.y)+(r.z-e.z)*(r.z-e.z))}},ka.prototype.pos=function(t){var e=t-this.delay;e<0&&(e=0),e>this.duration&&(e=this.duration-1);var r=e/this.duration;if(r>=1)return this.points[this.length-1];var n=Math.floor((this.points.length-1)*r);return function(t,e,r,n,i){var o=function(t){var e=t*t;return[e*t,3*e*(1-t),3*t*(1-t)*(1-t),(1-t)*(1-t)*(1-t)]}(t);return{x:i.x*o[0]+n.x*o[1]+r.x*o[2]+e.x*o[3],y:i.y*o[0]+n.y*o[1]+r.y*o[2]+e.y*o[3],z:i.z*o[0]+n.z*o[1]+r.z*o[2]+e.z*o[3]}}((this.length-1)*r-n,this.points[n],this.controls[n][1],this.controls[n+1][0],this.points[n+1])};var Sa=be,Ea=be;be.deviation=function(t,e,r,n){var i=e&&e.length,o=i?e[0]*r:t.length,a=Math.abs(De(t,0,o,r));if(i)for(var s=0,u=e.length;s<u;s++){var c=e[s]*r,l=s<u-1?e[s+1]*r:t.length;a-=Math.abs(De(t,c,l,r))}var h=0;for(s=0;s<n.length;s+=3){var f=n[s]*r,d=n[s+1]*r,p=n[s+2]*r;h+=Math.abs((t[f]-t[p])*(t[d+1]-t[f+1])-(t[f]-t[d])*(t[p+1]-t[f+1]))}return 0===a&&0===h?0:Math.abs((h-a)/a)},be.flatten=function(t){for(var e=t[0][0].length,r={vertices:[],holes:[],dimensions:e},n=0,i=0;i<t.length;i++){for(var o=0;o<t[i].length;o++)for(var a=0;a<e;a++)r.vertices.push(t[i][o][a]);i>0&&(n+=t[i-1].length,r.holes.push(n))}return r},Sa.default=Ea,Ye.prototype={all:function(){return this._all(this.data,[])},search:function(t){var e=this.data,r=[],n=this.toBBox;if(!Ke(t,e))return r;for(var i,o,a,s,u=[];e;){for(i=0,o=e.children.length;i<o;i++)a=e.children[i],Ke(t,s=e.leaf?n(a):a)&&(e.leaf?r.push(a):We(t,s)?this._all(a,r):u.push(a));e=u.pop()}return r},collides:function(t){var e=this.data,r=this.toBBox;if(!Ke(t,e))return!1;for(var n,i,o,a,s=[];e;){for(n=0,i=e.children.length;n<i;n++)if(o=e.children[n],a=e.leaf?r(o):o,Ke(t,a)){if(e.leaf||We(t,a))return!0;s.push(o)}e=s.pop()}return!1},load:function(t){if(!t||!t.length)return this;if(t.length<this._minEntries){for(var e=0,r=t.length;e<r;e++)this.insert(t[e]);return this}var n=this._build(t.slice(),0,t.length-1,0);if(this.data.children.length)if(this.data.height===n.height)this._splitRoot(this.data,n);else{if(this.data.height<n.height){var i=this.data;this.data=n,n=i}this._insert(n,this.data.height-n.height-1,!0)}else this.data=n;return this},insert:function(t){return t&&this._insert(t,this.data.height-1),this},clear:function(){return this.data=Xe([]),this},remove:function(t,e){if(!t)return this;for(var r,n,i,o,a=this.data,s=this.toBBox(t),u=[],c=[];a||u.length;){if(a||(a=u.pop(),n=u[u.length-1],r=c.pop(),o=!0),a.leaf&&-1!==(i=function(t,e,r){if(!r)return e.indexOf(t);for(var n=0;n<e.length;n++)if(r(t,e[n]))return n;return-1}(t,a.children,e)))return a.children.splice(i,1),u.push(a),this._condense(u),this;o||a.leaf||!We(a,s)?n?(r++,a=n.children[r],o=!1):a=null:(u.push(a),c.push(r),r=0,n=a,a=a.children[0])}return this},toBBox:function(t){return t},compareMinX:Ve,compareMinY:$e,toJSON:function(){return this.data},fromJSON:function(t){return this.data=t,this},_all:function(t,e){for(var r=[];t;)t.leaf?e.push.apply(e,t.children):r.push.apply(r,t.children),t=r.pop();return e},_build:function(t,e,r,n){var i,o=r-e+1,a=this._maxEntries;if(o<=a)return i=Xe(t.slice(e,r+1)),Ue(i,this.toBBox),i;n||(n=Math.ceil(Math.log(o)/Math.log(a)),a=Math.ceil(o/Math.pow(a,n-1))),(i=Xe([])).leaf=!1,i.height=n;var s,u,c,l,h=Math.ceil(o/a),f=h*Math.ceil(Math.sqrt(a));for(Je(t,e,r,f,this.compareMinX),s=e;s<=r;s+=f)for(Je(t,s,c=Math.min(s+f-1,r),h,this.compareMinY),u=s;u<=c;u+=h)l=Math.min(u+h-1,c),i.children.push(this._build(t,u,l,n-1));return Ue(i,this.toBBox),i},_chooseSubtree:function(t,e,r,n){for(var i,o,a,s,u,c,l,h;n.push(e),!e.leaf&&n.length-1!==r;){for(l=h=1/0,i=0,o=e.children.length;i<o;i++)u=qe(a=e.children[i]),(c=function(t,e){return(Math.max(e.maxX,t.maxX)-Math.min(e.minX,t.minX))*(Math.max(e.maxY,t.maxY)-Math.min(e.minY,t.minY))}(t,a)-u)<h?(h=c,l=u<l?u:l,s=a):c===h&&u<l&&(l=u,s=a);e=s||e.children[0]}return e},_insert:function(t,e,r){var n=this.toBBox,i=r?t:n(t),o=[],a=this._chooseSubtree(i,this.data,e,o);for(a.children.push(t),ze(a,i);e>=0&&o[e].children.length>this._maxEntries;)this._split(o,e),e--;this._adjustParentBBoxes(i,o,e)},_split:function(t,e){var r=t[e],n=r.children.length,i=this._minEntries;this._chooseSplitAxis(r,i,n);var o=this._chooseSplitIndex(r,i,n),a=Xe(r.children.splice(o,r.children.length-o));a.height=r.height,a.leaf=r.leaf,Ue(r,this.toBBox),Ue(a,this.toBBox),e?t[e-1].children.push(a):this._splitRoot(r,a)},_splitRoot:function(t,e){this.data=Xe([t,e]),this.data.height=t.height+1,this.data.leaf=!1,Ue(this.data,this.toBBox)},_chooseSplitIndex:function(t,e,r){var n,i,o,a,s,u,c,l;for(u=c=1/0,n=e;n<=r-e;n++)a=function(t,e){var r=Math.max(t.minX,e.minX),n=Math.max(t.minY,e.minY),i=Math.min(t.maxX,e.maxX),o=Math.min(t.maxY,e.maxY);return Math.max(0,i-r)*Math.max(0,o-n)}(i=He(t,0,n,this.toBBox),o=He(t,n,r,this.toBBox)),s=qe(i)+qe(o),a<u?(u=a,l=n,c=s<c?s:c):a===u&&s<c&&(c=s,l=n);return l},_chooseSplitAxis:function(t,e,r){var n=t.leaf?this.compareMinX:Ve,i=t.leaf?this.compareMinY:$e;this._allDistMargin(t,e,r,n)<this._allDistMargin(t,e,r,i)&&t.children.sort(n)},_allDistMargin:function(t,e,r,n){t.children.sort(n);var i,o,a=this.toBBox,s=He(t,0,e,a),u=He(t,r-e,r,a),c=Ge(s)+Ge(u);for(i=e;i<r-e;i++)o=t.children[i],ze(s,t.leaf?a(o):o),c+=Ge(s);for(i=r-e-1;i>=e;i--)o=t.children[i],ze(u,t.leaf?a(o):o),c+=Ge(u);return c},_adjustParentBBoxes:function(t,e,r){for(var n=r;n>=0;n--)ze(e[n],t)},_condense:function(t){for(var e,r=t.length-1;r>=0;r--)0===t[r].children.length?r>0?(e=t[r-1].children).splice(e.indexOf(t[r]),1):this.clear():Ue(t[r],this.toBBox)},_initFormat:function(t){var e=["return a"," - b",";"];this.compareMinX=new Function("a","b",e.join(t[0])),this.compareMinY=new Function("a","b",e.join(t[1])),this.toBBox=new Function("a","return {minX: a"+t[0]+", minY: a"+t[1]+", maxX: a"+t[2]+", maxY: a"+t[3]+"};")}};var Ma=Object.freeze({toMercator:ur,toWgs84:cr}),Aa=6378137,Ta=function(t,e,r){function n(t,r,n,i){var u,c,l=o[t][r],h=o[t][r+1],f=o[n][i],d=o[n][i+1],p=function(t,e,r,n){if(Lr(t,r)||Lr(t,n)||Lr(e,r)||Lr(n,r))return null;var i=t[0],o=t[1],a=e[0],s=e[1],u=r[0],c=r[1],l=n[0],h=n[1],f=(i-a)*(c-h)-(o-s)*(u-l);return 0===f?null:[((i*s-o*a)*(u-l)-(i-a)*(u*h-c*l))/f,((i*s-o*a)*(c-h)-(o-s)*(u*h-c*l))/f]}(l,h,f,d);if(null!==p&&(u=h[0]!==l[0]?(p[0]-l[0])/(h[0]-l[0]):(p[1]-l[1])/(h[1]-l[1]),c=d[0]!==f[0]?(p[0]-f[0])/(d[0]-f[0]):(p[1]-f[1])/(d[1]-f[1]),!(u>=1||u<=0||c>=1||c<=0))){var m=p,g=!s[m];g&&(s[m]=!0),e?a.push(e(p,t,r,l,h,u,n,i,f,d,c,g)):a.push(p)}}function i(t,e){var r,n,i,a,s=o[t][e],u=o[t][e+1];return s[0]<u[0]?(r=s[0],n=u[0]):(r=u[0],n=s[0]),s[1]<u[1]?(i=s[1],a=u[1]):(i=u[1],a=s[1]),{minX:r,minY:i,maxX:n,maxY:a,ring:t,edge:e}}if("Polygon"!==t.geometry.type)throw new Error("The input feature must be a Polygon");void 0===r&&(r=1);var o=t.geometry.coordinates,a=[],s={};if(r){for(var u=[],c=0;c<o.length;c++)for(var l=0;l<o[c].length-1;l++)u.push(i(c,l));var h=qo();h.load(u)}for(var f=0;f<o.length;f++)for(var d=0;d<o[f].length-1;d++)if(r)h.search(i(f,d)).forEach((function(t){var e=t.ring,r=t.edge;n(f,d,e,r)}));else for(var p=0;p<o.length;p++)for(var m=0;m<o[p].length-1;m++)n(f,d,p,m);return e||(a={type:"Feature",geometry:{type:"MultiPoint",coordinates:a}}),a},Ca=function(t){function e(){for(var t=[],e=0;e<p.features.length;e++)-1==p.features[e].properties.parent&&t.push(e);if(t.length>1)for(e=0;e<t.length;e++){for(var r=-1,n=0;n<p.features.length;n++)t[e]!=n&&Lt(p.features[t[e]].geometry.coordinates[0][0],p.features[n],{ignoreBoundary:!0})&&yr(p.features[n])<1/0&&(r=n);p.features[t[e]].properties.parent=r}}function r(){for(var t=0;t<p.features.length;t++)if(-1==p.features[t].properties.parent){var e=p.features[t].properties.winding;p.features[t].properties.netWinding=e,n(t,e)}}function n(t,e){for(var r=0;r<p.features.length;r++)if(p.features[r].properties.parent==t){var i=e+p.features[r].properties.winding;p.features[r].properties.netWinding=i,n(r,i)}}if("Feature"!=t.type)throw new Error("The input must a geojson object of type Feature");if(void 0===t.geometry||null==t.geometry)throw new Error("The input must a geojson object with a non-empty geometry");if("Polygon"!=t.geometry.type)throw new Error("The input must be a geojson Polygon");for(var i=t.geometry.coordinates.length,a=[],s=0;s<i;s++){var u=t.geometry.coordinates[s];Or(u[0],u[u.length-1])||u.push(u[0]),a.push.apply(a,u.slice(0,u.length-1))}if(!function(t){for(var e={},r=1,n=0,i=t.length;n<i;++n){if(e.hasOwnProperty(t[n])){r=0;break}e[t[n]]=1}return r}(a))throw new Error("The input polygon may not have duplicate vertices (except for the first and last vertex of each ring)");var l=a.length,h=Ta(t,(function(t,e,r,n,i,o,a,s,u,c,l,h){return[t,e,r,n,i,o,a,s,u,c,l,h]})),f=h.length;if(0==f){var d=[];for(s=0;s<i;s++)d.push(o([t.geometry.coordinates[s]],{parent:-1,winding:function(t){for(var e=0,r=0;r<t.length-1;r++)t[r][0]<t[e][0]&&(e=r);if(Pr([t[(e-1).modulo(t.length-1)],t[e],t[(e+1).modulo(t.length-1)]],!0))var n=1;else n=-1;return n}(t.geometry.coordinates[s])}));var p=c(d);return e(),r(),p}var m=[],g=[];for(s=0;s<i;s++){m.push([]);for(var y=0;y<t.geometry.coordinates[s].length-1;y++)m[s].push([new La(t.geometry.coordinates[s][(y+1).modulo(t.geometry.coordinates[s].length-1)],1,[s,y],[s,(y+1).modulo(t.geometry.coordinates[s].length-1)],void 0)]),g.push(new Pa(t.geometry.coordinates[s][y],[s,(y-1).modulo(t.geometry.coordinates[s].length-1)],[s,y],void 0,void 0,!1,!0))}for(s=0;s<f;s++)m[h[s][1]][h[s][2]].push(new La(h[s][0],h[s][5],[h[s][1],h[s][2]],[h[s][6],h[s][7]],void 0)),h[s][11]&&g.push(new Pa(h[s][0],[h[s][1],h[s][2]],[h[s][6],h[s][7]],void 0,void 0,!0,!0));var v=g.length;for(s=0;s<m.length;s++)for(y=0;y<m[s].length;y++)m[s][y].sort((function(t,e){return t.param<e.param?-1:1}));var b=[];for(s=0;s<v;s++)b.push({minX:g[s].coord[0],minY:g[s].coord[1],maxX:g[s].coord[0],maxY:g[s].coord[1],index:s});var _=qo();for(_.load(b),s=0;s<m.length;s++)for(y=0;y<m[s].length;y++)for(var w=0;w<m[s][y].length;w++){k=w==m[s][y].length-1?m[s][(y+1).modulo(t.geometry.coordinates[s].length-1)][0].coord:m[s][y][w+1].coord;var x=_.search({minX:k[0],minY:k[1],maxX:k[0],maxY:k[1]})[0];m[s][y][w].nxtIsectAlongEdgeIn=x.index}for(s=0;s<m.length;s++)for(y=0;y<m[s].length;y++)for(w=0;w<m[s][y].length;w++){var k=m[s][y][w].coord,S=(x=_.search({minX:k[0],minY:k[1],maxX:k[0],maxY:k[1]})[0]).index;S<l?g[S].nxtIsectAlongRingAndEdge2=m[s][y][w].nxtIsectAlongEdgeIn:Or(g[S].ringAndEdge1,m[s][y][w].ringAndEdgeIn)?g[S].nxtIsectAlongRingAndEdge1=m[s][y][w].nxtIsectAlongEdgeIn:g[S].nxtIsectAlongRingAndEdge2=m[s][y][w].nxtIsectAlongEdgeIn}var E=[];for(s=0,y=0;y<i;y++){var M=s;for(w=0;w<t.geometry.coordinates[y].length-1;w++)g[s].coord[0]<g[M].coord[0]&&(M=s),s++;var A=g[M].nxtIsectAlongRingAndEdge2;for(w=0;w<g.length;w++)if(g[w].nxtIsectAlongRingAndEdge1==M||g[w].nxtIsectAlongRingAndEdge2==M){var T=w;break}var C=Pr([g[T].coord,g[M].coord,g[A].coord],!0)?1:-1;E.push({isect:M,parent:-1,winding:C})}for(E.sort((function(t,e){return g[t.isect].coord>g[e.isect].coord?-1:1})),d=[];E.length>0;){var L=E.pop(),P=L.isect,O=L.parent,I=L.winding,D=d.length,B=[g[P].coord],j=P;if(g[P].ringAndEdge1Walkable)var N=g[P].ringAndEdge1,R=g[P].nxtIsectAlongRingAndEdge1;else N=g[P].ringAndEdge2,R=g[P].nxtIsectAlongRingAndEdge2;for(;!Or(g[P].coord,g[R].coord);){B.push(g[R].coord);var F=void 0;for(s=0;s<E.length;s++)if(E[s].isect==R){F=s;break}if(void 0!=F&&E.splice(F,1),Or(N,g[R].ringAndEdge1)){if(N=g[R].ringAndEdge2,g[R].ringAndEdge2Walkable=!1,g[R].ringAndEdge1Walkable){var Y={isect:R};Pr([g[j].coord,g[R].coord,g[g[R].nxtIsectAlongRingAndEdge2].coord],1==I)?(Y.parent=O,Y.winding=-I):(Y.parent=D,Y.winding=I),E.push(Y)}j=R,R=g[R].nxtIsectAlongRingAndEdge2}else N=g[R].ringAndEdge1,g[R].ringAndEdge1Walkable=!1,g[R].ringAndEdge2Walkable&&(Y={isect:R},Pr([g[j].coord,g[R].coord,g[g[R].nxtIsectAlongRingAndEdge1].coord],1==I)?(Y.parent=O,Y.winding=-I):(Y.parent=D,Y.winding=I),E.push(Y)),j=R,R=g[R].nxtIsectAlongRingAndEdge1}B.push(g[R].coord),d.push(o([B],{index:D,parent:O,winding:I,netWinding:void 0}))}return p=c(d),e(),r(),p},La=function(t,e,r,n,i){this.coord=t,this.param=e,this.ringAndEdgeIn=r,this.ringAndEdgeOut=n,this.nxtIsectAlongEdgeIn=i},Pa=function(t,e,r,n,i,o,a){this.coord=t,this.ringAndEdge1=e,this.ringAndEdge2=r,this.nxtIsectAlongRingAndEdge1=n,this.nxtIsectAlongRingAndEdge2=i,this.ringAndEdge1Walkable=o,this.ringAndEdge2Walkable=a};Number.prototype.modulo=function(t){return(this%t+t)%t};var Oa=Math.PI/180,Ia=180/Math.PI,Da=function(t,e){this.lon=t,this.lat=e,this.x=Oa*t,this.y=Oa*e};Da.prototype.view=function(){return String(this.lon).slice(0,4)+","+String(this.lat).slice(0,4)},Da.prototype.antipode=function(){var t=-1*this.lat,e=this.lon<0?180+this.lon:-1*(180-this.lon);return new Da(e,t)};var Ba=function(){this.coords=[],this.length=0};Ba.prototype.move_to=function(t){this.length++,this.coords.push(t)};var ja=function(t){this.properties=t||{},this.geometries=[]};ja.prototype.json=function(){if(this.geometries.length<=0)return{geometry:{type:"LineString",coordinates:null},type:"Feature",properties:this.properties};if(1===this.geometries.length)return{geometry:{type:"LineString",coordinates:this.geometries[0].coords},type:"Feature",properties:this.properties};for(var t=[],e=0;e<this.geometries.length;e++)t.push(this.geometries[e].coords);return{geometry:{type:"MultiLineString",coordinates:t},type:"Feature",properties:this.properties}},ja.prototype.wkt=function(){for(var t="",e="LINESTRING(",r=function(t){e+=t[0]+" "+t[1]+","},n=0;n<this.geometries.length;n++){if(0===this.geometries[n].coords.length)return"LINESTRING(empty)";this.geometries[n].coords.forEach(r),t+=e.substring(0,e.length-1)+")"}return t};var Na=function(t,e,r){if(!t||void 0===t.x||void 0===t.y)throw new Error("GreatCircle constructor expects two args: start and end objects with x and y properties");if(!e||void 0===e.x||void 0===e.y)throw new Error("GreatCircle constructor expects two args: start and end objects with x and y properties");this.start=new Da(t.x,t.y),this.end=new Da(e.x,e.y),this.properties=r||{};var n=this.start.x-this.end.x,i=this.start.y-this.end.y,o=Math.pow(Math.sin(i/2),2)+Math.cos(this.start.y)*Math.cos(this.end.y)*Math.pow(Math.sin(n/2),2);if(this.g=2*Math.asin(Math.sqrt(o)),this.g===Math.PI)throw new Error("it appears "+t.view()+" and "+e.view()+" are 'antipodal', e.g diametrically opposite, thus there is no single route but rather infinite");if(isNaN(this.g))throw new Error("could not calculate great circle between "+t+" and "+e)};Na.prototype.interpolate=function(t){var e=Math.sin((1-t)*this.g)/Math.sin(this.g),r=Math.sin(t*this.g)/Math.sin(this.g),n=e*Math.cos(this.start.y)*Math.cos(this.start.x)+r*Math.cos(this.end.y)*Math.cos(this.end.x),i=e*Math.cos(this.start.y)*Math.sin(this.start.x)+r*Math.cos(this.end.y)*Math.sin(this.end.x),o=e*Math.sin(this.start.y)+r*Math.sin(this.end.y),a=Ia*Math.atan2(o,Math.sqrt(Math.pow(n,2)+Math.pow(i,2)));return[Ia*Math.atan2(i,n),a]},Na.prototype.Arc=function(t,e){var r=[];if(!t||t<=2)r.push([this.start.lon,this.start.lat]),r.push([this.end.lon,this.end.lat]);else for(var n=1/(t-1),i=0;i<t;++i){var o=n*i,a=this.interpolate(o);r.push(a)}for(var s=!1,u=0,c=e&&e.offset?e.offset:10,l=180-c,h=-180+c,f=360-c,d=1;d<r.length;++d){var p=r[d-1][0],m=r[d][0],g=Math.abs(m-p);g>f&&(m>l&&p<h||p>l&&m<h)?s=!0:g>u&&(u=g)}var y=[];if(s&&u<c){var v=[];y.push(v);for(var b=0;b<r.length;++b){var _=parseFloat(r[b][0]);if(b>0&&Math.abs(_-r[b-1][0])>f){var w=parseFloat(r[b-1][0]),x=parseFloat(r[b-1][1]),k=parseFloat(r[b][0]),S=parseFloat(r[b][1]);if(w>-180&&w<h&&180===k&&b+1<r.length&&r[b-1][0]>-180&&r[b-1][0]<h){v.push([-180,r[b][1]]),b++,v.push([r[b][0],r[b][1]]);continue}if(w>l&&w<180&&-180===k&&b+1<r.length&&r[b-1][0]>l&&r[b-1][0]<180){v.push([180,r[b][1]]),b++,v.push([r[b][0],r[b][1]]);continue}if(w<h&&k>l){var E=w;w=k,k=E;var M=x;x=S,S=M}if(w>l&&k<h&&(k+=360),w<=180&&k>=180&&w<k){var A=(180-w)/(k-w),T=A*S+(1-A)*x;v.push([r[b-1][0]>l?180:-180,T]),(v=[]).push([r[b-1][0]>l?-180:180,T]),y.push(v)}else v=[],y.push(v);v.push([_,r[b][1]])}else v.push([r[b][0],r[b][1]])}}else{var C=[];y.push(C);for(var L=0;L<r.length;++L)C.push([r[L][0],r[L][1]])}for(var P=new ja(this.properties),O=0;O<y.length;++O){var I=new Ba;P.geometries.push(I);for(var D=y[O],B=0;B<D.length;++B)I.move_to(D[B])}return P};var Ra=Vr;Vr.polyline=Vr,Vr.polygon=function(t,e){var r,n,i,o,a,s,u;for(n=1;n<=8;n*=2){for(r=[],o=!(qr(i=t[t.length-1],e)&n),a=0;a<t.length;a++)(u=!(qr(s=t[a],e)&n))!==o&&r.push($r(i,s,n,e)),u&&r.push(s),i=s,o=u;if(!(t=r).length)break}return r};var Fa=Array.prototype.slice,Ya={successCallback:null,verbose:!1,polygons:!1},Ua={},Ha=64,za=16,Va=4,$a=1,qa=[],Ga=[],Wa=[],Ka=[],Xa=[],Ja=[],Za=[],Qa=[],ts=[],es=[],rs=[],ns=[],is=[],os=[],as=[],ss=[],us=[],cs=[],ls=[],hs=[],fs=[],ds=[],ps=[],ms=[];Za[85]=es[85]=-1,Qa[85]=rs[85]=0,ts[85]=ns[85]=1,ls[85]=ds[85]=1,hs[85]=ps[85]=0,fs[85]=ms[85]=1,qa[85]=Ka[85]=0,Ga[85]=Xa[85]=-1,Wa[85]=as[85]=0,ss[85]=is[85]=0,us[85]=os[85]=1,Ja[85]=cs[85]=1,ds[1]=ds[169]=0,ps[1]=ps[169]=-1,ms[1]=ms[169]=0,is[1]=is[169]=-1,os[1]=os[169]=0,as[1]=as[169]=0,es[4]=es[166]=0,rs[4]=rs[166]=-1,ns[4]=ns[166]=1,ss[4]=ss[166]=1,us[4]=us[166]=0,cs[4]=cs[166]=0,Za[16]=Za[154]=0,Qa[16]=Qa[154]=1,ts[16]=ts[154]=1,Ka[16]=Ka[154]=1,Xa[16]=Xa[154]=0,Ja[16]=Ja[154]=1,ls[64]=ls[106]=0,hs[64]=hs[106]=1,fs[64]=fs[106]=0,qa[64]=qa[106]=-1,Ga[64]=Ga[106]=0,Wa[64]=Wa[106]=1,ls[2]=ls[168]=0,hs[2]=hs[168]=-1,fs[2]=fs[168]=1,ds[2]=ds[168]=0,ps[2]=ps[168]=-1,ms[2]=ms[168]=0,is[2]=is[168]=-1,os[2]=os[168]=0,as[2]=as[168]=0,ss[2]=ss[168]=-1,us[2]=us[168]=0,cs[2]=cs[168]=1,Za[8]=Za[162]=0,Qa[8]=Qa[162]=-1,ts[8]=ts[162]=0,es[8]=es[162]=0,rs[8]=rs[162]=-1,ns[8]=ns[162]=1,is[8]=is[162]=1,os[8]=os[162]=0,as[8]=as[162]=1,ss[8]=ss[162]=1,us[8]=us[162]=0,cs[8]=cs[162]=0,Za[32]=Za[138]=0,Qa[32]=Qa[138]=1,ts[32]=ts[138]=1,es[32]=es[138]=0,rs[32]=rs[138]=1,ns[32]=ns[138]=0,qa[32]=qa[138]=1,Ga[32]=Ga[138]=0,Wa[32]=Wa[138]=0,Ka[32]=Ka[138]=1,Xa[32]=Xa[138]=0,Ja[32]=Ja[138]=1,ds[128]=ds[42]=0,ps[128]=ps[42]=1,ms[128]=ms[42]=1,ls[128]=ls[42]=0,hs[128]=hs[42]=1,fs[128]=fs[42]=0,qa[128]=qa[42]=-1,Ga[128]=Ga[42]=0,Wa[128]=Wa[42]=1,Ka[128]=Ka[42]=-1,Xa[128]=Xa[42]=0,Ja[128]=Ja[42]=0,es[5]=es[165]=-1,rs[5]=rs[165]=0,ns[5]=ns[165]=0,ds[5]=ds[165]=1,ps[5]=ps[165]=0,ms[5]=ms[165]=0,ss[20]=ss[150]=0,us[20]=us[150]=1,cs[20]=cs[150]=1,Ka[20]=Ka[150]=0,Xa[20]=Xa[150]=-1,Ja[20]=Ja[150]=1,Za[80]=Za[90]=-1,Qa[80]=Qa[90]=0,ts[80]=ts[90]=1,ls[80]=ls[90]=1,hs[80]=hs[90]=0,fs[80]=fs[90]=1,is[65]=is[105]=0,os[65]=os[105]=1,as[65]=as[105]=0,qa[65]=qa[105]=0,Ga[65]=Ga[105]=-1,Wa[65]=Wa[105]=0,Za[160]=Za[10]=-1,Qa[160]=Qa[10]=0,ts[160]=ts[10]=1,es[160]=es[10]=-1,rs[160]=rs[10]=0,ns[160]=ns[10]=0,ds[160]=ds[10]=1,ps[160]=ps[10]=0,ms[160]=ms[10]=0,ls[160]=ls[10]=1,hs[160]=hs[10]=0,fs[160]=fs[10]=1,ss[130]=ss[40]=0,us[130]=us[40]=1,cs[130]=cs[40]=1,is[130]=is[40]=0,os[130]=os[40]=1,as[130]=as[40]=0,qa[130]=qa[40]=0,Ga[130]=Ga[40]=-1,Wa[130]=Wa[40]=0,Ka[130]=Ka[40]=0,Xa[130]=Xa[40]=-1,Ja[130]=Ja[40]=1,es[37]=es[133]=0,rs[37]=rs[133]=1,ns[37]=ns[133]=1,ds[37]=ds[133]=0,ps[37]=ps[133]=1,ms[37]=ms[133]=0,qa[37]=qa[133]=-1,Ga[37]=Ga[133]=0,Wa[37]=Wa[133]=0,Ka[37]=Ka[133]=1,Xa[37]=Xa[133]=0,Ja[37]=Ja[133]=0,ss[148]=ss[22]=-1,us[148]=us[22]=0,cs[148]=cs[22]=0,ds[148]=ds[22]=0,ps[148]=ps[22]=-1,ms[148]=ms[22]=1,ls[148]=ls[22]=0,hs[148]=hs[22]=1,fs[148]=fs[22]=1,Ka[148]=Ka[22]=-1,Xa[148]=Xa[22]=0,Ja[148]=Ja[22]=1,Za[82]=Za[88]=0,Qa[82]=Qa[88]=-1,ts[82]=ts[88]=1,ss[82]=ss[88]=1,us[82]=us[88]=0,cs[82]=cs[88]=1,is[82]=is[88]=-1,os[82]=os[88]=0,as[82]=as[88]=1,ls[82]=ls[88]=0,hs[82]=hs[88]=-1,fs[82]=fs[88]=0,Za[73]=Za[97]=0,Qa[73]=Qa[97]=1,ts[73]=ts[97]=0,es[73]=es[97]=0,rs[73]=rs[97]=-1,ns[73]=ns[97]=0,is[73]=is[97]=1,os[73]=os[97]=0,as[73]=as[97]=0,qa[73]=qa[97]=1,Ga[73]=Ga[97]=0,Wa[73]=Wa[97]=1,Za[145]=Za[25]=0,Qa[145]=Qa[25]=-1,ts[145]=ts[25]=0,is[145]=is[25]=1,os[145]=os[25]=0,as[145]=as[25]=1,ds[145]=ds[25]=0,ps[145]=ps[25]=1,ms[145]=ms[25]=1,Ka[145]=Ka[25]=-1,Xa[145]=Xa[25]=0,Ja[145]=Ja[25]=0,es[70]=es[100]=0,rs[70]=rs[100]=1,ns[70]=ns[100]=0,ss[70]=ss[100]=-1,us[70]=us[100]=0,cs[70]=cs[100]=1,ls[70]=ls[100]=0,hs[70]=hs[100]=-1,fs[70]=fs[100]=1,qa[70]=qa[100]=1,Ga[70]=Ga[100]=0,Wa[70]=Wa[100]=0,es[101]=es[69]=0,rs[101]=rs[69]=1,ns[101]=ns[69]=0,qa[101]=qa[69]=1,Ga[101]=Ga[69]=0,Wa[101]=Wa[69]=0,ds[149]=ds[21]=0,ps[149]=ps[21]=1,ms[149]=ms[21]=1,Ka[149]=Ka[21]=-1,Xa[149]=Xa[21]=0,Ja[149]=Ja[21]=0,ss[86]=ss[84]=-1,us[86]=us[84]=0,cs[86]=cs[84]=1,ls[86]=ls[84]=0,hs[86]=hs[84]=-1,fs[86]=fs[84]=1,Za[89]=Za[81]=0,Qa[89]=Qa[81]=-1,ts[89]=ts[81]=0,is[89]=is[81]=1,os[89]=os[81]=0,as[89]=as[81]=1,Za[96]=Za[74]=0,Qa[96]=Qa[74]=1,ts[96]=ts[74]=0,es[96]=es[74]=-1,rs[96]=rs[74]=0,ns[96]=ns[74]=1,ls[96]=ls[74]=1,hs[96]=hs[74]=0,fs[96]=fs[74]=0,qa[96]=qa[74]=1,Ga[96]=Ga[74]=0,Wa[96]=Wa[74]=1,Za[24]=Za[146]=0,Qa[24]=Qa[146]=-1,ts[24]=ts[146]=1,ss[24]=ss[146]=1,us[24]=us[146]=0,cs[24]=cs[146]=1,is[24]=is[146]=0,os[24]=os[146]=1,as[24]=as[146]=1,Ka[24]=Ka[146]=0,Xa[24]=Xa[146]=-1,Ja[24]=Ja[146]=0,es[6]=es[164]=-1,rs[6]=rs[164]=0,ns[6]=ns[164]=1,ss[6]=ss[164]=-1,us[6]=us[164]=0,cs[6]=cs[164]=0,ds[6]=ds[164]=0,ps[6]=ps[164]=-1,ms[6]=ms[164]=1,ls[6]=ls[164]=1,hs[6]=hs[164]=0,fs[6]=fs[164]=0,is[129]=is[41]=0,os[129]=os[41]=1,as[129]=as[41]=1,ds[129]=ds[41]=0,ps[129]=ps[41]=1,ms[129]=ms[41]=0,qa[129]=qa[41]=-1,Ga[129]=Ga[41]=0,Wa[129]=Wa[41]=0,Ka[129]=Ka[41]=0,Xa[129]=Xa[41]=-1,Ja[129]=Ja[41]=0,ss[66]=ss[104]=0,us[66]=us[104]=1,cs[66]=cs[104]=0,is[66]=is[104]=-1,os[66]=os[104]=0,as[66]=as[104]=1,ls[66]=ls[104]=0,hs[66]=hs[104]=-1,fs[66]=fs[104]=0,qa[66]=qa[104]=0,Ga[66]=Ga[104]=-1,Wa[66]=Wa[104]=1,Za[144]=Za[26]=-1,Qa[144]=Qa[26]=0,ts[144]=ts[26]=0,ds[144]=ds[26]=1,ps[144]=ps[26]=0,ms[144]=ms[26]=1,ls[144]=ls[26]=0,hs[144]=hs[26]=1,fs[144]=fs[26]=1,Ka[144]=Ka[26]=-1,Xa[144]=Xa[26]=0,Ja[144]=Ja[26]=1,es[36]=es[134]=0,rs[36]=rs[134]=1,ns[36]=ns[134]=1,ss[36]=ss[134]=0,us[36]=us[134]=1,cs[36]=cs[134]=0,qa[36]=qa[134]=0,Ga[36]=Ga[134]=-1,Wa[36]=Wa[134]=1,Ka[36]=Ka[134]=1,Xa[36]=Xa[134]=0,Ja[36]=Ja[134]=0,Za[9]=Za[161]=-1,Qa[9]=Qa[161]=0,ts[9]=ts[161]=0,es[9]=es[161]=0,rs[9]=rs[161]=-1,ns[9]=ns[161]=0,is[9]=is[161]=1,os[9]=os[161]=0,as[9]=as[161]=0,ds[9]=ds[161]=1,ps[9]=ps[161]=0,ms[9]=ms[161]=1,Za[136]=0,Qa[136]=1,ts[136]=1,es[136]=0,rs[136]=1,ns[136]=0,ss[136]=-1,us[136]=0,cs[136]=1,is[136]=-1,os[136]=0,as[136]=0,ds[136]=0,ps[136]=-1,ms[136]=0,ls[136]=0,hs[136]=-1,fs[136]=1,qa[136]=1,Ga[136]=0,Wa[136]=0,Ka[136]=1,Xa[136]=0,Ja[136]=1,Za[34]=0,Qa[34]=-1,ts[34]=0,es[34]=0,rs[34]=-1,ns[34]=1,ss[34]=1,us[34]=0,cs[34]=0,is[34]=1,os[34]=0,as[34]=1,ds[34]=0,ps[34]=1,ms[34]=1,ls[34]=0,hs[34]=1,fs[34]=0,qa[34]=-1,Ga[34]=0,Wa[34]=1,Ka[34]=-1,Xa[34]=0,Ja[34]=0,Za[35]=0,Qa[35]=1,ts[35]=1,es[35]=0,rs[35]=-1,ns[35]=1,ss[35]=1,us[35]=0,cs[35]=0,is[35]=-1,os[35]=0,as[35]=0,ds[35]=0,ps[35]=-1,ms[35]=0,ls[35]=0,hs[35]=1,fs[35]=0,qa[35]=-1,Ga[35]=0,Wa[35]=1,Ka[35]=1,Xa[35]=0,Ja[35]=1,Za[153]=0,Qa[153]=1,ts[153]=1,is[153]=-1,os[153]=0,as[153]=0,ds[153]=0,ps[153]=-1,ms[153]=0,Ka[153]=1,Xa[153]=0,Ja[153]=1,es[102]=0,rs[102]=-1,ns[102]=1,ss[102]=1,us[102]=0,cs[102]=0,ls[102]=0,hs[102]=1,fs[102]=0,qa[102]=-1,Ga[102]=0,Wa[102]=1,Za[155]=0,Qa[155]=-1,ts[155]=0,is[155]=1,os[155]=0,as[155]=1,ds[155]=0,ps[155]=1,ms[155]=1,Ka[155]=-1,Xa[155]=0,Ja[155]=0,es[103]=0,rs[103]=1,ns[103]=0,ss[103]=-1,us[103]=0,cs[103]=1,ls[103]=0,hs[103]=-1,fs[103]=1,qa[103]=1,Ga[103]=0,Wa[103]=0,Za[152]=0,Qa[152]=1,ts[152]=1,ss[152]=-1,us[152]=0,cs[152]=1,is[152]=-1,os[152]=0,as[152]=0,ds[152]=0,ps[152]=-1,ms[152]=0,ls[152]=0,hs[152]=-1,fs[152]=1,Ka[152]=1,Xa[152]=0,Ja[152]=1,Za[156]=0,Qa[156]=-1,ts[156]=1,ss[156]=1,us[156]=0,cs[156]=1,is[156]=-1,os[156]=0,as[156]=0,ds[156]=0,ps[156]=-1,ms[156]=0,ls[156]=0,hs[156]=1,fs[156]=1,Ka[156]=-1,Xa[156]=0,Ja[156]=1,Za[137]=0,Qa[137]=1,ts[137]=1,es[137]=0,rs[137]=1,ns[137]=0,is[137]=-1,os[137]=0,as[137]=0,ds[137]=0,ps[137]=-1,ms[137]=0,qa[137]=1,Ga[137]=0,Wa[137]=0,Ka[137]=1,Xa[137]=0,Ja[137]=1,Za[139]=0,Qa[139]=1,ts[139]=1,es[139]=0,rs[139]=-1,ns[139]=0,is[139]=1,os[139]=0,as[139]=0,ds[139]=0,ps[139]=1,ms[139]=0,qa[139]=-1,Ga[139]=0,Wa[139]=0,Ka[139]=1,Xa[139]=0,Ja[139]=1,Za[98]=0,Qa[98]=-1,ts[98]=0,es[98]=0,rs[98]=-1,ns[98]=1,ss[98]=1,us[98]=0,cs[98]=0,is[98]=1,os[98]=0,as[98]=1,ls[98]=0,hs[98]=1,fs[98]=0,qa[98]=-1,Ga[98]=0,Wa[98]=1,Za[99]=0,Qa[99]=1,ts[99]=0,es[99]=0,rs[99]=-1,ns[99]=1,ss[99]=1,us[99]=0,cs[99]=0,is[99]=-1,os[99]=0,as[99]=1,ls[99]=0,hs[99]=-1,fs[99]=0,qa[99]=1,Ga[99]=0,Wa[99]=1,es[38]=0,rs[38]=-1,ns[38]=1,ss[38]=1,us[38]=0,cs[38]=0,ds[38]=0,ps[38]=1,ms[38]=1,ls[38]=0,hs[38]=1,fs[38]=0,qa[38]=-1,Ga[38]=0,Wa[38]=1,Ka[38]=-1,Xa[38]=0,Ja[38]=0,es[39]=0,rs[39]=1,ns[39]=1,ss[39]=-1,us[39]=0,cs[39]=0,ds[39]=0,ps[39]=-1,ms[39]=1,ls[39]=0,hs[39]=1,fs[39]=0,qa[39]=-1,Ga[39]=0,Wa[39]=1,Ka[39]=1,Xa[39]=0,Ja[39]=0;var gs=function(t){return[[t.bottomleft,0],[0,0],[0,t.leftbottom]]},ys=function(t){return[[1,t.rightbottom],[1,0],[t.bottomright,0]]},vs=function(t){return[[t.topright,1],[1,1],[1,t.righttop]]},bs=function(t){return[[0,t.lefttop],[0,1],[t.topleft,1]]},_s=function(t){return[[t.bottomright,0],[t.bottomleft,0],[0,t.leftbottom],[0,t.lefttop]]},ws=function(t){return[[t.bottomright,0],[t.bottomleft,0],[1,t.righttop],[1,t.rightbottom]]},xs=function(t){return[[1,t.righttop],[1,t.rightbottom],[t.topleft,1],[t.topright,1]]},ks=function(t){return[[0,t.leftbottom],[0,t.lefttop],[t.topleft,1],[t.topright,1]]},Ss=[],Es=[],Ms=[],As=[],Ts=[],Cs=[],Ls=[],Ps=[];As[1]=Ts[1]=18,As[169]=Ts[169]=18,Ms[4]=Es[4]=12,Ms[166]=Es[166]=12,Ss[16]=Ps[16]=4,Ss[154]=Ps[154]=4,Cs[64]=Ls[64]=22,Cs[106]=Ls[106]=22,Ms[2]=Cs[2]=17,As[2]=Ts[2]=18,Ms[168]=Cs[168]=17,As[168]=Ts[168]=18,Ss[8]=As[8]=9,Es[8]=Ms[8]=12,Ss[162]=As[162]=9,Es[162]=Ms[162]=12,Ss[32]=Ps[32]=4,Es[32]=Ls[32]=1,Ss[138]=Ps[138]=4,Es[138]=Ls[138]=1,Ts[128]=Ps[128]=21,Cs[128]=Ls[128]=22,Ts[42]=Ps[42]=21,Cs[42]=Ls[42]=22,Es[5]=Ts[5]=14,Es[165]=Ts[165]=14,Ms[20]=Ps[20]=6,Ms[150]=Ps[150]=6,Ss[80]=Cs[80]=11,Ss[90]=Cs[90]=11,As[65]=Ls[65]=3,As[105]=Ls[105]=3,Ss[160]=Cs[160]=11,Es[160]=Ts[160]=14,Ss[10]=Cs[10]=11,Es[10]=Ts[10]=14,Ms[130]=Ps[130]=6,As[130]=Ls[130]=3,Ms[40]=Ps[40]=6,As[40]=Ls[40]=3,Es[101]=Ls[101]=1,Es[69]=Ls[69]=1,Ts[149]=Ps[149]=21,Ts[21]=Ps[21]=21,Ms[86]=Cs[86]=17,Ms[84]=Cs[84]=17,Ss[89]=As[89]=9,Ss[81]=As[81]=9,Ss[96]=Ls[96]=0,Es[96]=Cs[96]=15,Ss[74]=Ls[74]=0,Es[74]=Cs[74]=15,Ss[24]=Ms[24]=8,As[24]=Ps[24]=7,Ss[146]=Ms[146]=8,As[146]=Ps[146]=7,Es[6]=Cs[6]=15,Ms[6]=Ts[6]=16,Es[164]=Cs[164]=15,Ms[164]=Ts[164]=16,As[129]=Ps[129]=7,Ts[129]=Ls[129]=20,As[41]=Ps[41]=7,Ts[41]=Ls[41]=20,Ms[66]=Ls[66]=2,As[66]=Cs[66]=19,Ms[104]=Ls[104]=2,As[104]=Cs[104]=19,Ss[144]=Ts[144]=10,Cs[144]=Ps[144]=23,Ss[26]=Ts[26]=10,Cs[26]=Ps[26]=23,Es[36]=Ps[36]=5,Ms[36]=Ls[36]=2,Es[134]=Ps[134]=5,Ms[134]=Ls[134]=2,Ss[9]=Ts[9]=10,Es[9]=As[9]=13,Ss[161]=Ts[161]=10,Es[161]=As[161]=13,Es[37]=Ps[37]=5,Ts[37]=Ls[37]=20,Es[133]=Ps[133]=5,Ts[133]=Ls[133]=20,Ms[148]=Ts[148]=16,Cs[148]=Ps[148]=23,Ms[22]=Ts[22]=16,Cs[22]=Ps[22]=23,Ss[82]=Ms[82]=8,As[82]=Cs[82]=19,Ss[88]=Ms[88]=8,As[88]=Cs[88]=19,Ss[73]=Ls[73]=0,Es[73]=As[73]=13,Ss[97]=Ls[97]=0,Es[97]=As[97]=13,Ss[145]=As[145]=9,Ts[145]=Ps[145]=21,Ss[25]=As[25]=9,Ts[25]=Ps[25]=21,Es[70]=Ls[70]=1,Ms[70]=Cs[70]=17,Es[100]=Ls[100]=1,Ms[100]=Cs[100]=17,Ss[34]=As[34]=9,Es[34]=Ms[34]=12,Ts[34]=Ps[34]=21,Cs[34]=Ls[34]=22,Ss[136]=Ps[136]=4,Es[136]=Ls[136]=1,Ms[136]=Cs[136]=17,As[136]=Ts[136]=18,Ss[35]=Ps[35]=4,Es[35]=Ms[35]=12,As[35]=Ts[35]=18,Cs[35]=Ls[35]=22,Ss[153]=Ps[153]=4,As[153]=Ts[153]=18,Es[102]=Ms[102]=12,Cs[102]=Ls[102]=22,Ss[155]=As[155]=9,Ts[155]=Ps[155]=23,Es[103]=Ls[103]=1,Ms[103]=Cs[103]=17,Ss[152]=Ps[152]=4,Ms[152]=Cs[152]=17,As[152]=Ts[152]=18,Ss[156]=Ms[156]=8,As[156]=Ts[156]=18,Cs[156]=Ps[156]=23,Ss[137]=Ps[137]=4,Es[137]=Ls[137]=1,As[137]=Ts[137]=18,Ss[139]=Ps[139]=4,Es[139]=As[139]=13,Ts[139]=Ls[139]=20,Ss[98]=As[98]=9,Es[98]=Ms[98]=12,Cs[98]=Ls[98]=22,Ss[99]=Ls[99]=0,Es[99]=Ms[99]=12,As[99]=Cs[99]=19,Es[38]=Ms[38]=12,Ts[38]=Ps[38]=21,Cs[38]=Ls[38]=22,Es[39]=Ps[39]=5,Ms[39]=Ts[39]=16,Cs[39]=Ls[39]=22;var Os=[];Os[1]=Os[169]=gs,Os[4]=Os[166]=ys,Os[16]=Os[154]=vs,Os[64]=Os[106]=bs,Os[168]=Os[2]=_s,Os[162]=Os[8]=ws,Os[138]=Os[32]=xs,Os[42]=Os[128]=ks,Os[5]=Os[165]=function(t){return[[0,0],[0,t.leftbottom],[1,t.rightbottom],[1,0]]},Os[20]=Os[150]=function(t){return[[1,0],[t.bottomright,0],[t.topright,1],[1,1]]},Os[80]=Os[90]=function(t){return[[1,1],[1,t.righttop],[0,t.lefttop],[0,1]]},Os[65]=Os[105]=function(t){return[[t.bottomleft,0],[0,0],[0,1],[t.topleft,1]]},Os[160]=Os[10]=function(t){return[[1,t.righttop],[1,t.rightbottom],[0,t.leftbottom],[0,t.lefttop]]},Os[130]=Os[40]=function(t){return[[t.topleft,1],[t.topright,1],[t.bottomright,0],[t.bottomleft,0]]},Os[85]=function(){return[[0,0],[0,1],[1,1],[1,0]]},Os[101]=Os[69]=function(t){return[[1,t.rightbottom],[1,0],[0,0],[0,1],[t.topleft,1]]},Os[149]=Os[21]=function(t){return[[t.topright,1],[1,1],[1,0],[0,0],[0,t.leftbottom]]},Os[86]=Os[84]=function(t){return[[1,0],[t.bottomright,0],[0,t.lefttop],[0,1],[1,1]]},Os[89]=Os[81]=function(t){return[[1,1],[1,t.righttop],[t.bottomleft,0],[0,0],[0,1]]},Os[96]=Os[74]=function(t){return[[1,t.righttop],[1,t.rightbottom],[0,t.lefttop],[0,1],[t.topleft,1]]},Os[24]=Os[146]=function(t){return[[1,1],[1,t.righttop],[t.bottomright,0],[t.bottomleft,0],[t.topright,1]]},Os[6]=Os[164]=function(t){return[[1,t.rightbottom],[1,0],[t.bottomright,0],[0,t.leftbottom],[0,t.lefttop]]},Os[129]=Os[41]=function(t){return[[t.topright,1],[t.bottomleft,0],[0,0],[0,t.leftbottom],[t.topleft,1]]},Os[66]=Os[104]=function(t){return[[t.bottomright,0],[t.bottomleft,0],[0,t.lefttop],[0,1],[t.topleft,1]]},Os[144]=Os[26]=function(t){return[[1,1],[1,t.righttop],[0,t.leftbottom],[0,t.lefttop],[t.topright,1]]},Os[36]=Os[134]=function(t){return[[1,t.rightbottom],[1,0],[t.bottomright,0],[t.topleft,1],[t.topright,1]]},Os[9]=Os[161]=function(t){return[[1,t.righttop],[1,t.rightbottom],[t.bottomleft,0],[0,0],[0,t.leftbottom]]},Os[37]=Os[133]=function(t){return[[1,t.rightbottom],[1,0],[0,0],[0,t.leftbottom],[t.topleft,1],[t.topright,1]]},Os[148]=Os[22]=function(t){return[[1,1],[1,0],[t.bottomright,0],[0,t.leftbottom],[0,t.lefttop],[t.topright,1]]},Os[82]=Os[88]=function(t){return[[1,1],[1,t.righttop],[t.bottomright,0],[t.bottomleft,0],[0,t.lefttop],[0,1]]},Os[73]=Os[97]=function(t){return[[1,t.righttop],[1,t.rightbottom],[t.bottomleft,0],[0,0],[0,1],[t.topleft,1]]},Os[145]=Os[25]=function(t){return[[1,1],[1,t.righttop],[t.bottomleft,0],[0,0],[0,t.leftbottom],[t.topright,1]]},Os[70]=Os[100]=function(t){return[[1,t.rightbottom],[1,0],[t.bottomright,0],[0,t.lefttop],[0,1],[t.topleft,1]]},Os[34]=function(t){return[ks(t),ws(t)]},Os[35]=function(t){return[[1,t.righttop],[1,t.rightbottom],[t.bottomright,0],[t.bottomleft,0],[0,t.leftbottom],[0,t.lefttop],[t.topleft,1],[t.topright,1]]},Os[136]=function(t){return[xs(t),_s(t)]},Os[153]=function(t){return[vs(t),gs(t)]},Os[102]=function(t){return[ys(t),bs(t)]},Os[155]=function(t){return[[1,1],[1,t.righttop],[t.bottomleft,0],[0,0],[0,t.leftbottom],[t.topright,1]]},Os[103]=function(t){return[[1,t.rightbottom],[1,0],[t.bottomright,0],[0,t.lefttop],[0,1],[t.topleft,1]]},Os[152]=function(t){return[vs(t),_s(t)]},Os[156]=function(t){return[[1,1],[1,t.righttop],[t.bottomright,0],[t.bottomleft,0],[0,t.leftbottom],[0,t.lefttop],[t.topright,1]]},Os[137]=function(t){return[xs(t),gs(t)]},Os[139]=function(t){return[[1,t.righttop],[1,t.rightbottom],[t.bottomleft,0],[0,0],[0,t.leftbottom],[t.topleft,1],[t.topright,1]]},Os[98]=function(t){return[ws(t),bs(t)]},Os[99]=function(t){return[[1,t.righttop],[1,t.rightbottom],[t.bottomright,0],[t.bottomleft,0],[0,t.lefttop],[0,1],[t.topleft,1]]},Os[38]=function(t){return[ys(t),ks(t)]},Os[39]=function(t){return[[1,t.rightbottom],[1,0],[t.bottomright,0],[0,t.leftbottom],[0,t.lefttop],[t.topleft,1],[t.topright,1]]};var Is=function t(e){this.id=t.buildId(e),this.coordinates=e,this.innerEdges=[],this.outerEdges=[],this.outerEdgesSorted=!1};Is.buildId=function(t){return t.join(",")},Is.prototype.removeInnerEdge=function(t){this.innerEdges=this.innerEdges.filter((function(e){return e.from.id!==t.from.id}))},Is.prototype.removeOuterEdge=function(t){this.outerEdges=this.outerEdges.filter((function(e){return e.to.id!==t.to.id}))},Is.prototype.addOuterEdge=function(t){this.outerEdges.push(t),this.outerEdgesSorted=!1},Is.prototype.sortOuterEdges=function(){var t=this;this.outerEdgesSorted||(this.outerEdges.sort((function(e,r){var n=e.to,i=r.to;if(n.coordinates[0]-t.coordinates[0]>=0&&i.coordinates[0]-t.coordinates[0]<0)return 1;if(n.coordinates[0]-t.coordinates[0]<0&&i.coordinates[0]-t.coordinates[0]>=0)return-1;if(n.coordinates[0]-t.coordinates[0]==0&&i.coordinates[0]-t.coordinates[0]==0)return n.coordinates[1]-t.coordinates[1]>=0||i.coordinates[1]-t.coordinates[1]>=0?n.coordinates[1]-i.coordinates[1]:i.coordinates[1]-n.coordinates[1];var o=_n(t.coordinates,n.coordinates,i.coordinates);return o<0?1:o>0?-1:Math.pow(n.coordinates[0]-t.coordinates[0],2)+Math.pow(n.coordinates[1]-t.coordinates[1],2)-(Math.pow(i.coordinates[0]-t.coordinates[0],2)+Math.pow(i.coordinates[1]-t.coordinates[1],2))})),this.outerEdgesSorted=!0)},Is.prototype.getOuterEdges=function(){return this.sortOuterEdges(),this.outerEdges},Is.prototype.getOuterEdge=function(t){return this.sortOuterEdges(),this.outerEdges[t]},Is.prototype.addInnerEdge=function(t){this.innerEdges.push(t)};var Ds=function(t,e){this.from=t,this.to=e,this.next=void 0,this.label=void 0,this.symetric=void 0,this.ring=void 0,this.from.addOuterEdge(this),this.to.addInnerEdge(this)};Ds.prototype.getSymetric=function(){return this.symetric||(this.symetric=new Ds(this.to,this.from),this.symetric.symetric=this),this.symetric},Ds.prototype.deleteEdge=function(){this.from.removeOuterEdge(this),this.to.removeInnerEdge(this)},Ds.prototype.isEqual=function(t){return this.from.id===t.from.id&&this.to.id===t.to.id},Ds.prototype.toString=function(){return"Edge { "+this.from.id+" -> "+this.to.id+" }"},Ds.prototype.toLineString=function(){return s([this.from.coordinates,this.to.coordinates])},Ds.prototype.compareTo=function(t){return _n(t.from.coordinates,t.to.coordinates,this.to.coordinates)};var Bs=function(){this.edges=[],this.polygon=void 0,this.envelope=void 0},js={length:{configurable:!0}};Bs.prototype.push=function(t){this[this.edges.length]=t,this.edges.push(t),this.polygon=this.envelope=void 0},Bs.prototype.get=function(t){return this.edges[t]},js.length.get=function(){return this.edges.length},Bs.prototype.forEach=function(t){this.edges.forEach(t)},Bs.prototype.map=function(t){return this.edges.map(t)},Bs.prototype.some=function(t){return this.edges.some(t)},Bs.prototype.isValid=function(){return!0},Bs.prototype.isHole=function(){var t=this,e=this.edges.reduce((function(e,r,n){return r.from.coordinates[1]>t.edges[e].from.coordinates[1]&&(e=n),e}),0),r=(0===e?this.length:e)-1,n=(e+1)%this.length,i=_n(this.edges[r].from.coordinates,this.edges[e].from.coordinates,this.edges[n].from.coordinates);return 0===i?this.edges[r].from.coordinates[0]>this.edges[n].from.coordinates[0]:i>0},Bs.prototype.toMultiPoint=function(){return h(this.edges.map((function(t){return t.from.coordinates})))},Bs.prototype.toPolygon=function(){if(this.polygon)return this.polygon;var t=this.edges.map((function(t){return t.from.coordinates}));return t.push(this.edges[0].from.coordinates),this.polygon=o([t])},Bs.prototype.getEnvelope=function(){return this.envelope?this.envelope:this.envelope=le(this.toPolygon())},Bs.findEdgeRingContaining=function(t,e){var r,i,o=t.getEnvelope();return e.forEach((function(e){var a=e.getEnvelope();if(i&&(r=i.getEnvelope()),!function(t,e){var r=t.geometry.coordinates.map((function(t){return t[0]})),n=t.geometry.coordinates.map((function(t){return t[1]})),i=e.geometry.coordinates.map((function(t){return t[0]})),o=e.geometry.coordinates.map((function(t){return t[1]}));return Math.max(null,r)===Math.max(null,i)&&Math.max(null,n)===Math.max(null,o)&&Math.min(null,r)===Math.min(null,i)&&Math.min(null,n)===Math.min(null,o)}(a,o)&&wn(a,o)){var s=t.map((function(t){return t.from.coordinates})).find((function(t){return!e.some((function(e){return function(t,e){return t[0]===e[0]&&t[1]===e[1]}(t,e.from.coordinates)}))}));s&&e.inside(n(s))&&(i&&!wn(r,a)||(i=e))}})),i},Bs.prototype.inside=function(t){return Lt(t,this.toPolygon())},Object.defineProperties(Bs.prototype,js);var Ns=function(){this.edges=[],this.nodes={}};Ns.fromGeoJson=function(t){!function(t){if(!t)throw new Error("No geojson passed");if("FeatureCollection"!==t.type&&"GeometryCollection"!==t.type&&"MultiLineString"!==t.type&&"LineString"!==t.type&&"Feature"!==t.type)throw new Error("Invalid input type '"+t.type+"'. Geojson must be FeatureCollection, GeometryCollection, LineString, MultiLineString or Feature")}(t);var e=new Ns;return j(t,(function(t){G(t,"LineString","Graph::fromGeoJson"),T(t,(function(t,r){if(t){var n=e.getNode(t),i=e.getNode(r);e.addEdge(n,i)}return r}))})),e},Ns.prototype.getNode=function(t){var e=Is.buildId(t),r=this.nodes[e];return r||(r=this.nodes[e]=new Is(t)),r},Ns.prototype.addEdge=function(t,e){var r=new Ds(t,e),n=r.getSymetric();this.edges.push(r),this.edges.push(n)},Ns.prototype.deleteDangles=function(){var t=this;Object.keys(this.nodes).map((function(e){return t.nodes[e]})).forEach((function(e){return t._removeIfDangle(e)}))},Ns.prototype._removeIfDangle=function(t){var e=this;if(t.innerEdges.length<=1){var r=t.getOuterEdges().map((function(t){return t.to}));this.removeNode(t),r.forEach((function(t){return e._removeIfDangle(t)}))}},Ns.prototype.deleteCutEdges=function(){var t=this;this._computeNextCWEdges(),this._findLabeledEdgeRings(),this.edges.forEach((function(e){e.label===e.symetric.label&&(t.removeEdge(e.symetric),t.removeEdge(e))}))},Ns.prototype._computeNextCWEdges=function(t){var e=this;void 0===t?Object.keys(this.nodes).forEach((function(t){return e._computeNextCWEdges(e.nodes[t])})):t.getOuterEdges().forEach((function(e,r){t.getOuterEdge((0===r?t.getOuterEdges().length:r)-1).symetric.next=e}))},Ns.prototype._computeNextCCWEdges=function(t,e){for(var r,n,i=t.getOuterEdges(),o=i.length-1;o>=0;--o){var a=i[o],s=a.symetric,u=void 0,c=void 0;a.label===e&&(u=a),s.label===e&&(c=s),u&&c&&(c&&(n=c),u&&(n&&(n.next=u,n=void 0),r||(r=u)))}n&&(n.next=r)},Ns.prototype._findLabeledEdgeRings=function(){var t=[],e=0;return this.edges.forEach((function(r){if(!(r.label>=0)){t.push(r);var n=r;do{n.label=e,n=n.next}while(!r.isEqual(n));e++}})),t},Ns.prototype.getEdgeRings=function(){var t=this;this._computeNextCWEdges(),this.edges.forEach((function(t){t.label=void 0})),this._findLabeledEdgeRings().forEach((function(e){t._findIntersectionNodes(e).forEach((function(r){t._computeNextCCWEdges(r,e.label)}))}));var e=[];return this.edges.forEach((function(r){r.ring||e.push(t._findEdgeRing(r))})),e},Ns.prototype._findIntersectionNodes=function(t){var e=[],r=t,n=function(){var n=0;r.from.getOuterEdges().forEach((function(e){e.label===t.label&&++n})),n>1&&e.push(r.from),r=r.next};do{n()}while(!t.isEqual(r));return e},Ns.prototype._findEdgeRing=function(t){var e=t,r=new Bs;do{r.push(e),e.ring=r,e=e.next}while(!t.isEqual(e));return r},Ns.prototype.removeNode=function(t){var e=this;t.getOuterEdges().forEach((function(t){return e.removeEdge(t)})),t.innerEdges.forEach((function(t){return e.removeEdge(t)})),delete this.nodes[t.id]},Ns.prototype.removeEdge=function(t){this.edges=this.edges.filter((function(e){return!e.isEqual(t)})),t.deleteEdge()};var Rs=vt((function(t,e){function r(t){var e=[];for(var r in t)e.push(r);return e}(t.exports="function"==typeof Object.keys?Object.keys:r).shim=r})),Fs=(Rs.shim,vt((function(t,e){function r(t){return"[object Arguments]"==Object.prototype.toString.call(t)}function n(t){return t&&"object"==typeof t&&"number"==typeof t.length&&Object.prototype.hasOwnProperty.call(t,"callee")&&!Object.prototype.propertyIsEnumerable.call(t,"callee")||!1}var i="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();(e=t.exports=i?r:n).supported=r,e.unsupported=n}))),Ys=(Fs.supported,Fs.unsupported,vt((function(t){function e(t){return null===t||void 0===t}function r(t){return!(!t||"object"!=typeof t||"number"!=typeof t.length)&&"function"==typeof t.copy&&"function"==typeof t.slice&&!(t.length>0&&"number"!=typeof t[0])}var n=Array.prototype.slice,i=t.exports=function(t,o,a){return a||(a={}),t===o||(t instanceof Date&&o instanceof Date?t.getTime()===o.getTime():!t||!o||"object"!=typeof t&&"object"!=typeof o?a.strict?t===o:t==o:function(t,o,a){var s,u;if(e(t)||e(o))return!1;if(t.prototype!==o.prototype)return!1;if(Fs(t))return!!Fs(o)&&(t=n.call(t),o=n.call(o),i(t,o,a));if(r(t)){if(!r(o))return!1;if(t.length!==o.length)return!1;for(s=0;s<t.length;s++)if(t[s]!==o[s])return!1;return!0}try{var c=Rs(t),l=Rs(o)}catch(t){return!1}if(c.length!=l.length)return!1;for(c.sort(),l.sort(),s=c.length-1;s>=0;s--)if(c[s]!=l[s])return!1;for(s=c.length-1;s>=0;s--)if(u=c[s],!i(t[u],o[u],a))return!1;return typeof t==typeof o}(t,o,a))}}))),Us=function(t){this.precision=t&&t.precision?t.precision:17,this.direction=!(!t||!t.direction)&&t.direction,this.pseudoNode=!(!t||!t.pseudoNode)&&t.pseudoNode,this.objectComparator=t&&t.objectComparator?t.objectComparator:On};Us.prototype.compare=function(t,e){if(t.type!==e.type||!Pn(t,e))return!1;switch(t.type){case"Point":return this.compareCoord(t.coordinates,e.coordinates);case"LineString":return this.compareLine(t.coordinates,e.coordinates,0,!1);case"Polygon":return this.comparePolygon(t,e);case"Feature":return this.compareFeature(t,e);default:if(0===t.type.indexOf("Multi")){var r=this,n=Ln(t),i=Ln(e);return n.every((function(t){return this.some((function(e){return r.compare(t,e)}))}),i)}}return!1},Us.prototype.compareCoord=function(t,e){if(t.length!==e.length)return!1;for(var r=0;r<t.length;r++)if(t[r].toFixed(this.precision)!==e[r].toFixed(this.precision))return!1;return!0},Us.prototype.compareLine=function(t,e,r,n){if(!Pn(t,e))return!1;var i=this.pseudoNode?t:this.removePseudo(t),o=this.pseudoNode?e:this.removePseudo(e);if(!n||this.compareCoord(i[0],o[0])||(o=this.fixStartIndex(o,i))){var a=this.compareCoord(i[r],o[r]);return this.direction||a?this.comparePath(i,o):!!this.compareCoord(i[r],o[o.length-(1+r)])&&this.comparePath(i.slice().reverse(),o)}},Us.prototype.fixStartIndex=function(t,e){for(var r,n=-1,i=0;i<t.length;i++)if(this.compareCoord(t[i],e[0])){n=i;break}return n>=0&&(r=[].concat(t.slice(n,t.length),t.slice(1,n+1))),r},Us.prototype.comparePath=function(t,e){var r=this;return t.every((function(t,e){return r.compareCoord(t,this[e])}),e)},Us.prototype.comparePolygon=function(t,e){if(this.compareLine(t.coordinates[0],e.coordinates[0],1,!0)){var r=t.coordinates.slice(1,t.coordinates.length),n=e.coordinates.slice(1,e.coordinates.length),i=this;return r.every((function(t){return this.some((function(e){return i.compareLine(t,e,1,!0)}))}),n)}return!1},Us.prototype.compareFeature=function(t,e){return!(t.id!==e.id||!this.objectComparator(t.properties,e.properties)||!this.compareBBox(t,e))&&this.compare(t.geometry,e.geometry)},Us.prototype.compareBBox=function(t,e){return!!(!t.bbox&&!e.bbox||t.bbox&&e.bbox&&this.compareCoord(t.bbox,e.bbox))},Us.prototype.removePseudo=function(t){return t};var Hs=Us,zs=vt((function(t){function e(t,e,r,n){this.dataset=[],this.epsilon=1,this.minPts=2,this.distance=this._euclideanDistance,this.clusters=[],this.noise=[],this._visited=[],this._assigned=[],this._datasetLength=0,this._init(t,e,r,n)}e.prototype.run=function(t,e,r,n){this._init(t,e,r,n);for(var i=0;i<this._datasetLength;i++)if(1!==this._visited[i]){this._visited[i]=1;var o=this._regionQuery(i);if(o.length<this.minPts)this.noise.push(i);else{var a=this.clusters.length;this.clusters.push([]),this._addToCluster(i,a),this._expandCluster(a,o)}}return this.clusters},e.prototype._init=function(t,e,r,n){if(t){if(!(t instanceof Array))throw Error("Dataset must be of type array, "+typeof t+" given");this.dataset=t,this.clusters=[],this.noise=[],this._datasetLength=t.length,this._visited=new Array(this._datasetLength),this._assigned=new Array(this._datasetLength)}e&&(this.epsilon=e),r&&(this.minPts=r),n&&(this.distance=n)},e.prototype._expandCluster=function(t,e){for(var r=0;r<e.length;r++){var n=e[r];if(1!==this._visited[n]){this._visited[n]=1;var i=this._regionQuery(n);i.length>=this.minPts&&(e=this._mergeArrays(e,i))}1!==this._assigned[n]&&this._addToCluster(n,t)}},e.prototype._addToCluster=function(t,e){this.clusters[e].push(t),this._assigned[t]=1},e.prototype._regionQuery=function(t){for(var e=[],r=0;r<this._datasetLength;r++)this.distance(this.dataset[t],this.dataset[r])<this.epsilon&&e.push(r);return e},e.prototype._mergeArrays=function(t,e){for(var r=e.length,n=0;n<r;n++){var i=e[n];t.indexOf(i)<0&&t.push(i)}return t},e.prototype._euclideanDistance=function(t,e){for(var r=0,n=Math.min(t.length,e.length);n--;)r+=(t[n]-e[n])*(t[n]-e[n]);return Math.sqrt(r)},t.exports&&(t.exports=e)})),Vs=vt((function(t){function e(t,e,r){this.k=3,this.dataset=[],this.assignments=[],this.centroids=[],this.init(t,e,r)}e.prototype.init=function(t,e,r){this.assignments=[],this.centroids=[],void 0!==t&&(this.dataset=t),void 0!==e&&(this.k=e),void 0!==r&&(this.distance=r)},e.prototype.run=function(t,e){this.init(t,e);for(var r=this.dataset.length,n=0;n<this.k;n++)this.centroids[n]=this.randomCentroid();for(var i=!0;i;){i=this.assign();for(var o=0;o<this.k;o++){for(var a=new Array(l),s=0,u=0;u<l;u++)a[u]=0;for(var c=0;c<r;c++){var l=this.dataset[c].length;if(o===this.assignments[c]){for(u=0;u<l;u++)a[u]+=this.dataset[c][u];s++}}if(s>0){for(u=0;u<l;u++)a[u]/=s;this.centroids[o]=a}else this.centroids[o]=this.randomCentroid(),i=!0}}return this.getClusters()},e.prototype.randomCentroid=function(){var t,e,r=this.dataset.length-1;do{e=Math.round(Math.random()*r),t=this.dataset[e]}while(this.centroids.indexOf(t)>=0);return t},e.prototype.assign=function(){for(var t,e=!1,r=this.dataset.length,n=0;n<r;n++)(t=this.argmin(this.dataset[n],this.centroids,this.distance))!=this.assignments[n]&&(this.assignments[n]=t,e=!0);return e},e.prototype.getClusters=function(){for(var t,e=new Array(this.k),r=0;r<this.assignments.length;r++)void 0===e[t=this.assignments[r]]&&(e[t]=[]),e[t].push(r);return e},e.prototype.argmin=function(t,e,r){for(var n,i=Number.MAX_VALUE,o=0,a=e.length,s=0;s<a;s++)(n=r(t,e[s]))<i&&(i=n,o=s);return o},e.prototype.distance=function(t,e){for(var r=0,n=Math.min(t.length,e.length);n--;){var i=t[n]-e[n];r+=i*i}return Math.sqrt(r)},t.exports&&(t.exports=e)})),$s=vt((function(t){function e(t,e,r){this._queue=[],this._priorities=[],this._sorting="desc",this._init(t,e,r)}e.prototype.insert=function(t,e){for(var r=this._queue.length,n=r;n--;){var i=this._priorities[n];"desc"===this._sorting?e>i&&(r=n):e<i&&(r=n)}this._insertAt(t,e,r)},e.prototype.remove=function(t){for(var e=this._queue.length;e--;)if(t===this._queue[e]){this._queue.splice(e,1),this._priorities.splice(e,1);break}},e.prototype.forEach=function(t){this._queue.forEach(t)},e.prototype.getElements=function(){return this._queue},e.prototype.getElementPriority=function(t){return this._priorities[t]},e.prototype.getPriorities=function(){return this._priorities},e.prototype.getElementsWithPriorities=function(){for(var t=[],e=0,r=this._queue.length;e<r;e++)t.push([this._queue[e],this._priorities[e]]);return t},e.prototype._init=function(t,e,r){if(t&&e){if(this._queue=[],this._priorities=[],t.length!==e.length)throw new Error("Arrays must have the same length");for(var n=0;n<t.length;n++)this.insert(t[n],e[n])}r&&(this._sorting=r)},e.prototype._insertAt=function(t,e,r){this._queue.length===r?(this._queue.push(t),this._priorities.push(e)):(this._queue.splice(r,0,t),this._priorities.splice(r,0,e))},t.exports&&(t.exports=e)})),qs=vt((function(t){function e(t,e,r,n){this.epsilon=1,this.minPts=1,this.distance=this._euclideanDistance,this._reachability=[],this._processed=[],this._coreDistance=0,this._orderedList=[],this._init(t,e,r,n)}if(t.exports)var r=$s;e.prototype.run=function(t,e,n,i){this._init(t,e,n,i);for(var o=0,a=this.dataset.length;o<a;o++)if(1!==this._processed[o]){this._processed[o]=1,this.clusters.push([o]);var s=this.clusters.length-1;this._orderedList.push(o);var u=new r(null,null,"asc"),c=this._regionQuery(o);void 0!==this._distanceToCore(o)&&(this._updateQueue(o,c,u),this._expandCluster(s,u))}return this.clusters},e.prototype.getReachabilityPlot=function(){for(var t=[],e=0,r=this._orderedList.length;e<r;e++){var n=this._orderedList[e],i=this._reachability[n];t.push([n,i])}return t},e.prototype._init=function(t,e,r,n){if(t){if(!(t instanceof Array))throw Error("Dataset must be of type array, "+typeof t+" given");this.dataset=t,this.clusters=[],this._reachability=new Array(this.dataset.length),this._processed=new Array(this.dataset.length),this._coreDistance=0,this._orderedList=[]}e&&(this.epsilon=e),r&&(this.minPts=r),n&&(this.distance=n)},e.prototype._updateQueue=function(t,e,r){var n=this;this._coreDistance=this._distanceToCore(t),e.forEach((function(e){if(void 0===n._processed[e]){var i=n.distance(n.dataset[t],n.dataset[e]),o=Math.max(n._coreDistance,i);void 0===n._reachability[e]?(n._reachability[e]=o,r.insert(e,o)):o<n._reachability[e]&&(n._reachability[e]=o,r.remove(e),r.insert(e,o))}}))},e.prototype._expandCluster=function(t,e){for(var r=e.getElements(),n=0,i=r.length;n<i;n++){var o=r[n];if(void 0===this._processed[o]){var a=this._regionQuery(o);this._processed[o]=1,this.clusters[t].push(o),this._orderedList.push(o),void 0!==this._distanceToCore(o)&&(this._updateQueue(o,a,e),this._expandCluster(t,e))}}},e.prototype._distanceToCore=function(t){for(var e=this.epsilon,r=0;r<e;r++)if(this._regionQuery(t,r).length>=this.minPts)return r},e.prototype._regionQuery=function(t,e){e=e||this.epsilon;for(var r=[],n=0,i=this.dataset.length;n<i;n++)this.distance(this.dataset[t],this.dataset[n])<e&&r.push(n);return r},e.prototype._euclideanDistance=function(t,e){for(var r=0,n=Math.min(t.length,e.length);n--;)r+=(t[n]-e[n])*(t[n]-e[n]);return Math.sqrt(r)},t.exports&&(t.exports=e)})),Gs=vt((function(t){t.exports&&(t.exports={DBSCAN:zs,KMEANS:Vs,OPTICS:qs,PriorityQueue:$s})})),Ws=(Gs.DBSCAN,Gs.KMEANS,Gs.OPTICS,Gs.PriorityQueue,function(t,e,r){for(var n=t.length,i=0,o=0;o<n;o++){var a=(t[o]||0)-(e[o]||0);i+=a*a}return r?Math.sqrt(i):i}),Ks=Ws,Xs=function(t,e,r){var n=Math.abs(t-e);return r?n:n*n},Js=Ws,Zs=function(t,e){for(var r={},n=[],i=e<<2,o=t.length,a=t[0].length>0;n.length<e&&i-- >0;){var s=t[Math.floor(Math.random()*o)],u=a?s.join("_"):""+s;r[u]||(r[u]=!0,n.push(s))}if(n.length<e)throw new Error("Error initializating clusters");return n},Qs=function(t,e){var r=t[0].length?Ks:Xs,n=[],i=t.length,o=t[0].length>0,a=t[Math.floor(Math.random()*i)];for(o&&a.join("_"),n.push(a);n.length<e;){for(var s=[],u=n.length,c=0,l=[],h=0;h<i;h++){for(var f=1/0,d=0;d<u;d++){var p=r(t[h],n[d]);p<=f&&(f=p)}s[h]=f}for(var m=0;m<i;m++)c+=s[m];for(var g=0;g<i;g++)l[g]={i:g,v:t[g],pr:s[g]/c,cs:0};l.sort((function(t,e){return t.pr-e.pr})),l[0].cs=l[0].pr;for(var y=1;y<i;y++)l[y].cs=l[y-1].cs+l[y].pr;for(var v=Math.random(),b=0;b<i-1&&l[b++].cs<v;);n.push(l[b-1].v)}return n},tu=1e4,eu=function(t,e,r,n){var i=[],o=[],a=[],s=[],u=!1,c=n||tu,l=t.length,h=t[0].length,f=h>0,d=[];if(r)i="kmrand"==r?Zs(t,e):"kmpp"==r?Qs(t,e):r;else for(var p={};i.length<e;){var m=Math.floor(Math.random()*l);p[m]||(p[m]=!0,i.push(t[m]))}do{Dn(e,0,d);for(var g=0;g<l;g++){for(var y=1/0,v=0,b=0;b<e;b++)(s=f?Js(t[g],i[b]):Math.abs(t[g]-i[b]))<=y&&(y=s,v=b);a[g]=v,d[v]++}for(var _=[],w=(o=[],0);w<e;w++)_[w]=f?Dn(h,0,_[w]):0,o[w]=i[w];if(f){for(var x=0;x<e;x++)i[x]=[];for(var k=0;k<l;k++)for(var S=_[a[k]],E=t[k],M=0;M<h;M++)S[M]+=E[M];u=!0;for(var A=0;A<e;A++){for(var T=i[A],C=_[A],L=o[A],P=d[A],O=0;O<h;O++)T[O]=C[O]/P||0;if(u)for(var I=0;I<h;I++)if(L[I]!=T[I]){u=!1;break}}}else{for(var D=0;D<l;D++)_[a[D]]+=t[D];for(var B=0;B<e;B++)i[B]=_[B]/d[B]||0;u=!0;for(var j=0;j<e;j++)if(o[j]!=i[j]){u=!1;break}}u=u||--c<=0}while(!u);return{it:tu-c,k:e,idxs:a,centroids:i}},ru={search:function(t,e,r,n){t.cleanDirty();var i=(n=n||{}).heuristic||ru.heuristics.manhattan,o=n.closest||!1,a=new Fn((function(t){return t.f})),s=e;for(e.h=i(e,r),a.push(e);a.size()>0;){var u=a.pop();if(u===r)return jn(u);u.closed=!0;for(var c=t.neighbors(u),l=0,h=c.length;l<h;++l){var f=c[l];if(!f.closed&&!f.isWall()){var d=u.g+f.getCost(u),p=f.visited;(!p||d<f.g)&&(f.visited=!0,f.parent=u,f.h=f.h||i(f,r),f.g=d,f.f=f.g+f.h,t.markDirty(f),o&&(f.h<s.h||f.h===s.h&&f.g<s.g)&&(s=f),p?a.rescoreElement(f):a.push(f))}}}return o?jn(s):[]},heuristics:{manhattan:function(t,e){return Math.abs(e.x-t.x)+Math.abs(e.y-t.y)},diagonal:function(t,e){var r=Math.sqrt(2),n=Math.abs(e.x-t.x),i=Math.abs(e.y-t.y);return 1*(n+i)+(r-2)*Math.min(n,i)}},cleanNode:function(t){t.f=0,t.g=0,t.h=0,t.visited=!1,t.closed=!1,t.parent=null}};Nn.prototype.init=function(){this.dirtyNodes=[];for(var t=0;t<this.nodes.length;t++)ru.cleanNode(this.nodes[t])},Nn.prototype.cleanDirty=function(){for(var t=0;t<this.dirtyNodes.length;t++)ru.cleanNode(this.dirtyNodes[t]);this.dirtyNodes=[]},Nn.prototype.markDirty=function(t){this.dirtyNodes.push(t)},Nn.prototype.neighbors=function(t){var e=[],r=t.x,n=t.y,i=this.grid;return i[r-1]&&i[r-1][n]&&e.push(i[r-1][n]),i[r+1]&&i[r+1][n]&&e.push(i[r+1][n]),i[r]&&i[r][n-1]&&e.push(i[r][n-1]),i[r]&&i[r][n+1]&&e.push(i[r][n+1]),this.diagonal&&(i[r-1]&&i[r-1][n-1]&&e.push(i[r-1][n-1]),i[r+1]&&i[r+1][n-1]&&e.push(i[r+1][n-1]),i[r-1]&&i[r-1][n+1]&&e.push(i[r-1][n+1]),i[r+1]&&i[r+1][n+1]&&e.push(i[r+1][n+1])),e},Nn.prototype.toString=function(){for(var t,e,r,n,i=[],o=this.grid,a=0,s=o.length;a<s;a++){for(t=[],r=0,n=(e=o[a]).length;r<n;r++)t.push(e[r].weight);i.push(t.join(" "))}return i.join("\n")},Rn.prototype.toString=function(){return"["+this.x+" "+this.y+"]"},Rn.prototype.getCost=function(t){return t&&t.x!==this.x&&t.y!==this.y?1.41421*this.weight:this.weight},Rn.prototype.isWall=function(){return 0===this.weight},Fn.prototype={push:function(t){this.content.push(t),this.sinkDown(this.content.length-1)},pop:function(){var t=this.content[0],e=this.content.pop();return this.content.length>0&&(this.content[0]=e,this.bubbleUp(0)),t},remove:function(t){var e=this.content.indexOf(t),r=this.content.pop();e!==this.content.length-1&&(this.content[e]=r,this.scoreFunction(r)<this.scoreFunction(t)?this.sinkDown(e):this.bubbleUp(e))},size:function(){return this.content.length},rescoreElement:function(t){this.sinkDown(this.content.indexOf(t))},sinkDown:function(t){for(var e=this.content[t];t>0;){var r=(t+1>>1)-1,n=this.content[r];if(!(this.scoreFunction(e)<this.scoreFunction(n)))break;this.content[r]=e,this.content[t]=n,t=r}},bubbleUp:function(t){for(var e=this.content.length,r=this.content[t],n=this.scoreFunction(r);;){var i,o=t+1<<1,a=o-1,s=null;if(a<e){var u=this.content[a];(i=this.scoreFunction(u))<n&&(s=a)}if(o<e){var c=this.content[o];this.scoreFunction(c)<(null===s?n:i)&&(s=o)}if(null===s)break;this.content[t]=this.content[s],this.content[s]=r,t=s}}};var nu=function(t){return function(){return t}};Hn.prototype={constructor:Hn,insert:function(t,e){var r,n,i;if(t){if(e.P=t,e.N=t.N,t.N&&(t.N.P=e),t.N=e,t.R){for(t=t.R;t.L;)t=t.L;t.L=e}else t.R=e;r=t}else this._?(t=qn(this._),e.P=null,e.N=t,t.P=t.L=e,r=t):(e.P=e.N=null,this._=e,r=null);for(e.L=e.R=null,e.U=r,e.C=!0,t=e;r&&r.C;)r===(n=r.U).L?(i=n.R)&&i.C?(r.C=i.C=!1,n.C=!0,t=n):(t===r.R&&(Vn(this,r),r=(t=r).U),r.C=!1,n.C=!0,$n(this,n)):(i=n.L)&&i.C?(r.C=i.C=!1,n.C=!0,t=n):(t===r.L&&($n(this,r),r=(t=r).U),r.C=!1,n.C=!0,Vn(this,n)),r=t.U;this._.C=!1},remove:function(t){t.N&&(t.N.P=t.P),t.P&&(t.P.N=t.N),t.N=t.P=null;var e,r,n,i=t.U,o=t.L,a=t.R;if(r=o?a?qn(a):o:a,i?i.L===t?i.L=r:i.R=r:this._=r,o&&a?(n=r.C,r.C=t.C,r.L=o,o.U=r,r!==a?(i=r.U,r.U=t.U,t=r.R,i.L=t,r.R=a,a.U=r):(r.U=i,i=r,t=r.R)):(n=t.C,t=r),t&&(t.U=i),!n)if(t&&t.C)t.C=!1;else{do{if(t===this._)break;if(t===i.L){if((e=i.R).C&&(e.C=!1,i.C=!0,Vn(this,i),e=i.R),e.L&&e.L.C||e.R&&e.R.C){e.R&&e.R.C||(e.L.C=!1,e.C=!0,$n(this,e),e=i.R),e.C=i.C,i.C=e.R.C=!1,Vn(this,i),t=this._;break}}else if((e=i.L).C&&(e.C=!1,i.C=!0,$n(this,i),e=i.L),e.L&&e.L.C||e.R&&e.R.C){e.L&&e.L.C||(e.R.C=!1,e.C=!0,Vn(this,e),e=i.L),e.C=i.C,i.C=e.L.C=!1,$n(this,i),t=this._;break}e.C=!0,t=i,i=i.U}while(!t.C);t&&(t.C=!1)}}};var iu,ou,au,su,uu,cu=[],lu=[],hu=1e-6,fu=1e-12;li.prototype={constructor:li,polygons:function(){var t=this.edges;return this.cells.map((function(e){var r=e.halfedges.map((function(r){return Qn(e,t[r])}));return r.data=e.site.data,r}))},triangles:function(){var t=[],e=this.edges;return this.cells.forEach((function(r,n){if(o=(i=r.halfedges).length)for(var i,o,a,s=r.site,u=-1,c=e[i[o-1]],l=c.left===s?c.right:c.left;++u<o;)a=l,l=(c=e[i[u]]).left===s?c.right:c.left,a&&l&&n<a.index&&n<l.index&&ui(s,a,l)<0&&t.push([s.data,a.data,l.data])})),t},links:function(){return this.edges.filter((function(t){return t.right})).map((function(t){return{source:t.left.data,target:t.right.data}}))},find:function(t,e,r){for(var n,i,o=this,a=o._found||0,s=o.cells.length;!(i=o.cells[a]);)if(++a>=s)return null;var u=t-i.site[0],c=e-i.site[1],l=u*u+c*c;do{i=o.cells[n=a],a=null,i.halfedges.forEach((function(r){var n=o.edges[r],s=n.left;if(s!==i.site&&s||(s=n.right)){var u=t-s[0],c=e-s[1],h=u*u+c*c;h<l&&(l=h,a=s.index)}}))}while(null!==a);return o._found=n,null==r||l<=r*r?i.site:null}};var du=function(){function t(t){return new li(t.map((function(n,i){var o=[Math.round(e(n,i,t)/hu)*hu,Math.round(r(n,i,t)/hu)*hu];return o.index=i,o.data=n,o})),n)}var e=Yn,r=Un,n=null;return t.polygons=function(e){return t(e).polygons()},t.links=function(e){return t(e).links()},t.triangles=function(e){return t(e).triangles()},t.x=function(r){return arguments.length?(e="function"==typeof r?r:nu(+r),t):e},t.y=function(e){return arguments.length?(r="function"==typeof e?e:nu(+e),t):r},t.extent=function(e){return arguments.length?(n=null==e?null:[[+e[0][0],+e[0][1]],[+e[1][0],+e[1][1]]],t):n&&[[n[0][0],n[0][1]],[n[1][0],n[1][1]]]},t.size=function(e){return arguments.length?(n=null==e?null:[[0,0],[+e[0],+e[1]]],t):n&&[n[1][0]-n[0][0],n[1][1]-n[0][1]]},t},pu=Object.freeze({randomPosition:yi,randomPoint:vi,randomPolygon:bi,randomLineString:_i}),mu=Object.freeze({getCluster:xi,clusterEach:ki,clusterReduce:Si,createBins:Ei,applyFilter:Mi,propertiesContainsFilter:Ai,filterProperties:Ti});"fill"in Array.prototype||Object.defineProperty(Array.prototype,"fill",{configurable:!0,value:function(t){if(void 0===this||null===this)throw new TypeError(this+" is not an object");var e=Object(this),r=Math.max(Math.min(e.length,9007199254740991),0)||0,n=1 in arguments&&parseInt(Number(arguments[1]),10)||0;n=n<0?Math.max(r+n,0):Math.min(n,r);var i=2 in arguments&&void 0!==arguments[2]?parseInt(Number(arguments[2]),10)||0:r;for(i=i<0?Math.max(r+arguments[2],0):Math.min(i,r);n<i;)e[n]=t,++n;return e},writable:!0}),Number.isFinite=Number.isFinite||function(t){return"number"==typeof t&&isFinite(t)},Number.isInteger=Number.isInteger||function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t},Number.parseFloat=Number.parseFloat||parseFloat,Number.isNaN=Number.isNaN||function(t){return t!=t},Math.trunc=Math.trunc||function(t){return t<0?Math.ceil(t):Math.floor(t)};var gu=function(){};gu.prototype.interfaces_=function(){return[]},gu.prototype.getClass=function(){return gu},gu.prototype.equalsWithTolerance=function(t,e,r){return Math.abs(t-e)<=r};var yu=function(){},vu=function(){},bu={MAX_VALUE:{configurable:!0}};vu.isNaN=function(t){return Number.isNaN(t)},vu.doubleToLongBits=function(t){return t},vu.longBitsToDouble=function(t){return t},vu.isInfinite=function(t){return!Number.isFinite(t)},bu.MAX_VALUE.get=function(){return Number.MAX_VALUE},Object.defineProperties(vu,bu);var _u=function(){},wu=function(){},xu=function(){},ku=function t(){if(this.x=null,this.y=null,this.z=null,0===arguments.length)this.x=0,this.y=0,this.z=t.NULL_ORDINATE;else if(1===arguments.length){var e=arguments[0];this.x=e.x,this.y=e.y,this.z=e.z}else 2===arguments.length?(this.x=arguments[0],this.y=arguments[1],this.z=t.NULL_ORDINATE):3===arguments.length&&(this.x=arguments[0],this.y=arguments[1],this.z=arguments[2])},Su={DimensionalComparator:{configurable:!0},serialVersionUID:{configurable:!0},NULL_ORDINATE:{configurable:!0},X:{configurable:!0},Y:{configurable:!0},Z:{configurable:!0}};ku.prototype.setOrdinate=function(t,e){switch(t){case ku.X:this.x=e;break;case ku.Y:this.y=e;break;case ku.Z:this.z=e;break;default:throw new yu("Invalid ordinate index: "+t)}},ku.prototype.equals2D=function(){if(1===arguments.length){var t=arguments[0];return this.x===t.x&&this.y===t.y}if(2===arguments.length){var e=arguments[0],r=arguments[1];return!!gu.equalsWithTolerance(this.x,e.x,r)&&!!gu.equalsWithTolerance(this.y,e.y,r)}},ku.prototype.getOrdinate=function(t){switch(t){case ku.X:return this.x;case ku.Y:return this.y;case ku.Z:return this.z}throw new yu("Invalid ordinate index: "+t)},ku.prototype.equals3D=function(t){return this.x===t.x&&this.y===t.y&&(this.z===t.z||vu.isNaN(this.z))&&vu.isNaN(t.z)},ku.prototype.equals=function(t){return t instanceof ku&&this.equals2D(t)},ku.prototype.equalInZ=function(t,e){return gu.equalsWithTolerance(this.z,t.z,e)},ku.prototype.compareTo=function(t){var e=t;return this.x<e.x?-1:this.x>e.x?1:this.y<e.y?-1:this.y>e.y?1:0},ku.prototype.clone=function(){},ku.prototype.copy=function(){return new ku(this)},ku.prototype.toString=function(){return"("+this.x+", "+this.y+", "+this.z+")"},ku.prototype.distance3D=function(t){var e=this.x-t.x,r=this.y-t.y,n=this.z-t.z;return Math.sqrt(e*e+r*r+n*n)},ku.prototype.distance=function(t){var e=this.x-t.x,r=this.y-t.y;return Math.sqrt(e*e+r*r)},ku.prototype.hashCode=function(){var t=17;return t=37*t+ku.hashCode(this.x),37*t+ku.hashCode(this.y)},ku.prototype.setCoordinate=function(t){this.x=t.x,this.y=t.y,this.z=t.z},ku.prototype.interfaces_=function(){return[_u,wu,Ci]},ku.prototype.getClass=function(){return ku},ku.hashCode=function(){if(1===arguments.length){var t=arguments[0],e=vu.doubleToLongBits(t);return Math.trunc((e^e)>>>32)}},Su.DimensionalComparator.get=function(){return Eu},Su.serialVersionUID.get=function(){return 0x5cbf2c235c7e5800},Su.NULL_ORDINATE.get=function(){return vu.NaN},Su.X.get=function(){return 0},Su.Y.get=function(){return 1},Su.Z.get=function(){return 2},Object.defineProperties(ku,Su);var Eu=function(t){if(this._dimensionsToTest=2,0===arguments.length);else if(1===arguments.length){var e=arguments[0];if(2!==e&&3!==e)throw new yu("only 2 or 3 dimensions may be specified");this._dimensionsToTest=e}};Eu.prototype.compare=function(t,e){var r=t,n=e,i=Eu.compare(r.x,n.x);if(0!==i)return i;var o=Eu.compare(r.y,n.y);return 0!==o?o:this._dimensionsToTest<=2?0:Eu.compare(r.z,n.z)},Eu.prototype.interfaces_=function(){return[xu]},Eu.prototype.getClass=function(){return Eu},Eu.compare=function(t,e){return t<e?-1:t>e?1:vu.isNaN(t)?vu.isNaN(e)?0:-1:vu.isNaN(e)?1:0};var Mu=function(){};Mu.prototype.create=function(){},Mu.prototype.interfaces_=function(){return[]},Mu.prototype.getClass=function(){return Mu};var Au=function(){},Tu={INTERIOR:{configurable:!0},BOUNDARY:{configurable:!0},EXTERIOR:{configurable:!0},NONE:{configurable:!0}};Au.prototype.interfaces_=function(){return[]},Au.prototype.getClass=function(){return Au},Au.toLocationSymbol=function(t){switch(t){case Au.EXTERIOR:return"e";case Au.BOUNDARY:return"b";case Au.INTERIOR:return"i";case Au.NONE:return"-"}throw new yu("Unknown location value: "+t)},Tu.INTERIOR.get=function(){return 0},Tu.BOUNDARY.get=function(){return 1},Tu.EXTERIOR.get=function(){return 2},Tu.NONE.get=function(){return-1},Object.defineProperties(Au,Tu);var Cu=function(t,e){return t.interfaces_&&t.interfaces_().indexOf(e)>-1},Lu=function(){},Pu={LOG_10:{configurable:!0}};Lu.prototype.interfaces_=function(){return[]},Lu.prototype.getClass=function(){return Lu},Lu.log10=function(t){var e=Math.log(t);return vu.isInfinite(e)||vu.isNaN(e)?e:e/Lu.LOG_10},Lu.min=function(t,e,r,n){var i=t;return e<i&&(i=e),r<i&&(i=r),n<i&&(i=n),i},Lu.clamp=function(){if("number"==typeof arguments[2]&&"number"==typeof arguments[0]&&"number"==typeof arguments[1]){var t=arguments[0],e=arguments[1],r=arguments[2];return t<e?e:t>r?r:t}if(Number.isInteger(arguments[2])&&Number.isInteger(arguments[0])&&Number.isInteger(arguments[1])){var n=arguments[0],i=arguments[1],o=arguments[2];return n<i?i:n>o?o:n}},Lu.wrap=function(t,e){return t<0?e- -t%e:t%e},Lu.max=function(){if(3===arguments.length){var t=arguments[0],e=arguments[1],r=arguments[2],n=t;return e>n&&(n=e),r>n&&(n=r),n}if(4===arguments.length){var i=arguments[0],o=arguments[1],a=arguments[2],s=arguments[3],u=i;return o>u&&(u=o),a>u&&(u=a),s>u&&(u=s),u}},Lu.average=function(t,e){return(t+e)/2},Pu.LOG_10.get=function(){return Math.log(10)},Object.defineProperties(Lu,Pu);var Ou=function(t){this.str=t};Ou.prototype.append=function(t){this.str+=t},Ou.prototype.setCharAt=function(t,e){this.str=this.str.substr(0,t)+e+this.str.substr(t+1)},Ou.prototype.toString=function(t){return this.str};var Iu=function(t){this.value=t};Iu.prototype.intValue=function(){return this.value},Iu.prototype.compareTo=function(t){return this.value<t?-1:this.value>t?1:0},Iu.isNaN=function(t){return Number.isNaN(t)};var Du=function(){};Du.isWhitespace=function(t){return t<=32&&t>=0||127===t},Du.toUpperCase=function(t){return t.toUpperCase()};var Bu=function t(){if(this._hi=0,this._lo=0,0===arguments.length)this.init(0);else if(1===arguments.length){if("number"==typeof arguments[0]){var e=arguments[0];this.init(e)}else if(arguments[0]instanceof t){var r=arguments[0];this.init(r)}else if("string"==typeof arguments[0]){var n=arguments[0];t.call(this,t.parse(n))}}else if(2===arguments.length){var i=arguments[0],o=arguments[1];this.init(i,o)}},ju={PI:{configurable:!0},TWO_PI:{configurable:!0},PI_2:{configurable:!0},E:{configurable:!0},NaN:{configurable:!0},EPS:{configurable:!0},SPLIT:{configurable:!0},MAX_PRINT_DIGITS:{configurable:!0},TEN:{configurable:!0},ONE:{configurable:!0},SCI_NOT_EXPONENT_CHAR:{configurable:!0},SCI_NOT_ZERO:{configurable:!0}};Bu.prototype.le=function(t){return(this._hi<t._hi||this._hi===t._hi)&&this._lo<=t._lo},Bu.prototype.extractSignificantDigits=function(t,e){var r=this.abs(),n=Bu.magnitude(r._hi),i=Bu.TEN.pow(n);(r=r.divide(i)).gt(Bu.TEN)?(r=r.divide(Bu.TEN),n+=1):r.lt(Bu.ONE)&&(r=r.multiply(Bu.TEN),n-=1);for(var o=n+1,a=new Ou,s=Bu.MAX_PRINT_DIGITS-1,u=0;u<=s;u++){t&&u===o&&a.append(".");var c=Math.trunc(r._hi);if(c<0)break;var l=!1,h=0;c>9?(l=!0,h="9"):h="0"+c,a.append(h),r=r.subtract(Bu.valueOf(c)).multiply(Bu.TEN),l&&r.selfAdd(Bu.TEN);var f=!0,d=Bu.magnitude(r._hi);if(d<0&&Math.abs(d)>=s-u&&(f=!1),!f)break}return e[0]=n,a.toString()},Bu.prototype.sqr=function(){return this.multiply(this)},Bu.prototype.doubleValue=function(){return this._hi+this._lo},Bu.prototype.subtract=function(){if(arguments[0]instanceof Bu){var t=arguments[0];return this.add(t.negate())}if("number"==typeof arguments[0]){var e=arguments[0];return this.add(-e)}},Bu.prototype.equals=function(){if(1===arguments.length){var t=arguments[0];return this._hi===t._hi&&this._lo===t._lo}},Bu.prototype.isZero=function(){return 0===this._hi&&0===this._lo},Bu.prototype.selfSubtract=function(){if(arguments[0]instanceof Bu){var t=arguments[0];return this.isNaN()?this:this.selfAdd(-t._hi,-t._lo)}if("number"==typeof arguments[0]){var e=arguments[0];return this.isNaN()?this:this.selfAdd(-e,0)}},Bu.prototype.getSpecialNumberString=function(){return this.isZero()?"0.0":this.isNaN()?"NaN ":null},Bu.prototype.min=function(t){return this.le(t)?this:t},Bu.prototype.selfDivide=function(){if(1===arguments.length){if(arguments[0]instanceof Bu){var t=arguments[0];return this.selfDivide(t._hi,t._lo)}if("number"==typeof arguments[0]){var e=arguments[0];return this.selfDivide(e,0)}}else if(2===arguments.length){var r=arguments[0],n=arguments[1],i=null,o=null,a=null,s=null,u=null,c=null,l=null,h=null;return u=this._hi/r,c=Bu.SPLIT*u,i=c-u,h=Bu.SPLIT*r,i=c-i,o=u-i,a=h-r,l=u*r,a=h-a,s=r-a,h=i*a-l+i*s+o*a+o*s,c=(this._hi-l-h+this._lo-u*n)/r,h=u+c,this._hi=h,this._lo=u-h+c,this}},Bu.prototype.dump=function(){return"DD<"+this._hi+", "+this._lo+">"},Bu.prototype.divide=function(){if(arguments[0]instanceof Bu){var t=arguments[0],e=null,r=null,n=null,i=null,o=null,a=null,s=null,u=null;return r=(o=this._hi/t._hi)-(e=(a=Bu.SPLIT*o)-(e=a-o)),u=e*(n=(u=Bu.SPLIT*t._hi)-(n=u-t._hi))-(s=o*t._hi)+e*(i=t._hi-n)+r*n+r*i,a=(this._hi-s-u+this._lo-o*t._lo)/t._hi,new Bu(u=o+a,o-u+a)}if("number"==typeof arguments[0]){var c=arguments[0];return vu.isNaN(c)?Bu.createNaN():Bu.copy(this).selfDivide(c,0)}},Bu.prototype.ge=function(t){return(this._hi>t._hi||this._hi===t._hi)&&this._lo>=t._lo},Bu.prototype.pow=function(t){if(0===t)return Bu.valueOf(1);var e=new Bu(this),r=Bu.valueOf(1),n=Math.abs(t);if(n>1)for(;n>0;)n%2==1&&r.selfMultiply(e),(n/=2)>0&&(e=e.sqr());else r=e;return t<0?r.reciprocal():r},Bu.prototype.ceil=function(){if(this.isNaN())return Bu.NaN;var t=Math.ceil(this._hi),e=0;return t===this._hi&&(e=Math.ceil(this._lo)),new Bu(t,e)},Bu.prototype.compareTo=function(t){var e=t;return this._hi<e._hi?-1:this._hi>e._hi?1:this._lo<e._lo?-1:this._lo>e._lo?1:0},Bu.prototype.rint=function(){return this.isNaN()?this:this.add(.5).floor()},Bu.prototype.setValue=function(){if(arguments[0]instanceof Bu){var t=arguments[0];return this.init(t),this}if("number"==typeof arguments[0]){var e=arguments[0];return this.init(e),this}},Bu.prototype.max=function(t){return this.ge(t)?this:t},Bu.prototype.sqrt=function(){if(this.isZero())return Bu.valueOf(0);if(this.isNegative())return Bu.NaN;var t=1/Math.sqrt(this._hi),e=this._hi*t,r=Bu.valueOf(e),n=this.subtract(r.sqr())._hi*(.5*t);return r.add(n)},Bu.prototype.selfAdd=function(){if(1===arguments.length){if(arguments[0]instanceof Bu){var t=arguments[0];return this.selfAdd(t._hi,t._lo)}if("number"==typeof arguments[0]){var e=arguments[0],r=null,n=null,i=null,o=null,a=null,s=null;return i=this._hi+e,a=i-this._hi,o=i-a,o=e-a+(this._hi-o),s=o+this._lo,r=i+s,n=s+(i-r),this._hi=r+n,this._lo=n+(r-this._hi),this}}else if(2===arguments.length){var u=arguments[0],c=arguments[1],l=null,h=null,f=null,d=null,p=null,m=null,g=null;d=this._hi+u,h=this._lo+c,p=d-(m=d-this._hi),f=h-(g=h-this._lo);var y=(l=d+(m=(p=u-m+(this._hi-p))+h))+(m=(f=c-g+(this._lo-f))+(m+(d-l))),v=m+(l-y);return this._hi=y,this._lo=v,this}},Bu.prototype.selfMultiply=function(){if(1===arguments.length){if(arguments[0]instanceof Bu){var t=arguments[0];return this.selfMultiply(t._hi,t._lo)}if("number"==typeof arguments[0]){var e=arguments[0];return this.selfMultiply(e,0)}}else if(2===arguments.length){var r=arguments[0],n=arguments[1],i=null,o=null,a=null,s=null,u=null,c=null;i=(u=Bu.SPLIT*this._hi)-this._hi,c=Bu.SPLIT*r,i=u-i,o=this._hi-i,a=c-r;var l=(u=this._hi*r)+(c=i*(a=c-a)-u+i*(s=r-a)+o*a+o*s+(this._hi*n+this._lo*r)),h=c+(i=u-l);return this._hi=l,this._lo=h,this}},Bu.prototype.selfSqr=function(){return this.selfMultiply(this)},Bu.prototype.floor=function(){if(this.isNaN())return Bu.NaN;var t=Math.floor(this._hi),e=0;return t===this._hi&&(e=Math.floor(this._lo)),new Bu(t,e)},Bu.prototype.negate=function(){return this.isNaN()?this:new Bu(-this._hi,-this._lo)},Bu.prototype.clone=function(){},Bu.prototype.multiply=function(){if(arguments[0]instanceof Bu){var t=arguments[0];return t.isNaN()?Bu.createNaN():Bu.copy(this).selfMultiply(t)}if("number"==typeof arguments[0]){var e=arguments[0];return vu.isNaN(e)?Bu.createNaN():Bu.copy(this).selfMultiply(e,0)}},Bu.prototype.isNaN=function(){return vu.isNaN(this._hi)},Bu.prototype.intValue=function(){return Math.trunc(this._hi)},Bu.prototype.toString=function(){var t=Bu.magnitude(this._hi);return t>=-3&&t<=20?this.toStandardNotation():this.toSciNotation()},Bu.prototype.toStandardNotation=function(){var t=this.getSpecialNumberString();if(null!==t)return t;var e=new Array(1).fill(null),r=this.extractSignificantDigits(!0,e),n=e[0]+1,i=r;if("."===r.charAt(0))i="0"+r;else if(n<0)i="0."+Bu.stringOfChar("0",-n)+r;else if(-1===r.indexOf(".")){var o=n-r.length;i=r+Bu.stringOfChar("0",o)+".0"}return this.isNegative()?"-"+i:i},Bu.prototype.reciprocal=function(){var t=null,e=null,r=null,n=null,i=null,o=null,a=null,s=null;e=(i=1/this._hi)-(t=(o=Bu.SPLIT*i)-(t=o-i)),r=(s=Bu.SPLIT*this._hi)-this._hi;var u=i+(o=(1-(a=i*this._hi)-(s=t*(r=s-r)-a+t*(n=this._hi-r)+e*r+e*n)-i*this._lo)/this._hi);return new Bu(u,i-u+o)},Bu.prototype.toSciNotation=function(){if(this.isZero())return Bu.SCI_NOT_ZERO;var t=this.getSpecialNumberString();if(null!==t)return t;var e=new Array(1).fill(null),r=this.extractSignificantDigits(!1,e),n=Bu.SCI_NOT_EXPONENT_CHAR+e[0];if("0"===r.charAt(0))throw new Error("Found leading zero: "+r);var i="";r.length>1&&(i=r.substring(1));var o=r.charAt(0)+"."+i;return this.isNegative()?"-"+o+n:o+n},Bu.prototype.abs=function(){return this.isNaN()?Bu.NaN:this.isNegative()?this.negate():new Bu(this)},Bu.prototype.isPositive=function(){return(this._hi>0||0===this._hi)&&this._lo>0},Bu.prototype.lt=function(t){return(this._hi<t._hi||this._hi===t._hi)&&this._lo<t._lo},Bu.prototype.add=function(){if(arguments[0]instanceof Bu){var t=arguments[0];return Bu.copy(this).selfAdd(t)}if("number"==typeof arguments[0]){var e=arguments[0];return Bu.copy(this).selfAdd(e)}},Bu.prototype.init=function(){if(1===arguments.length){if("number"==typeof arguments[0]){var t=arguments[0];this._hi=t,this._lo=0}else if(arguments[0]instanceof Bu){var e=arguments[0];this._hi=e._hi,this._lo=e._lo}}else if(2===arguments.length){var r=arguments[0],n=arguments[1];this._hi=r,this._lo=n}},Bu.prototype.gt=function(t){return(this._hi>t._hi||this._hi===t._hi)&&this._lo>t._lo},Bu.prototype.isNegative=function(){return(this._hi<0||0===this._hi)&&this._lo<0},Bu.prototype.trunc=function(){return this.isNaN()?Bu.NaN:this.isPositive()?this.floor():this.ceil()},Bu.prototype.signum=function(){return this._hi>0?1:this._hi<0?-1:this._lo>0?1:this._lo<0?-1:0},Bu.prototype.interfaces_=function(){return[Ci,_u,wu]},Bu.prototype.getClass=function(){return Bu},Bu.sqr=function(t){return Bu.valueOf(t).selfMultiply(t)},Bu.valueOf=function(){if("string"==typeof arguments[0]){var t=arguments[0];return Bu.parse(t)}if("number"==typeof arguments[0]){var e=arguments[0];return new Bu(e)}},Bu.sqrt=function(t){return Bu.valueOf(t).sqrt()},Bu.parse=function(t){for(var e=0,r=t.length;Du.isWhitespace(t.charAt(e));)e++;var n=!1;if(e<r){var i=t.charAt(e);"-"!==i&&"+"!==i||(e++,"-"===i&&(n=!0))}for(var o=new Bu,a=0,s=0,u=0;!(e>=r);){var c=t.charAt(e);if(e++,Du.isDigit(c)){var l=c-"0";o.selfMultiply(Bu.TEN),o.selfAdd(l),a++}else{if("."!==c){if("e"===c||"E"===c){var h=t.substring(e);try{u=Iu.parseInt(h)}catch(e){throw e instanceof Error?new Error("Invalid exponent "+h+" in string "+t):e}break}throw new Error("Unexpected character '"+c+"' at position "+e+" in string "+t)}s=a}}var f=o,d=a-s-u;if(0===d)f=o;else if(d>0){var p=Bu.TEN.pow(d);f=o.divide(p)}else if(d<0){var m=Bu.TEN.pow(-d);f=o.multiply(m)}return n?f.negate():f},Bu.createNaN=function(){return new Bu(vu.NaN,vu.NaN)},Bu.copy=function(t){return new Bu(t)},Bu.magnitude=function(t){var e=Math.abs(t),r=Math.log(e)/Math.log(10),n=Math.trunc(Math.floor(r));return 10*Math.pow(10,n)<=e&&(n+=1),n},Bu.stringOfChar=function(t,e){for(var r=new Ou,n=0;n<e;n++)r.append(t);return r.toString()},ju.PI.get=function(){return new Bu(3.141592653589793,12246467991473532e-32)},ju.TWO_PI.get=function(){return new Bu(6.283185307179586,24492935982947064e-32)},ju.PI_2.get=function(){return new Bu(1.5707963267948966,6123233995736766e-32)},ju.E.get=function(){return new Bu(2.718281828459045,14456468917292502e-32)},ju.NaN.get=function(){return new Bu(vu.NaN,vu.NaN)},ju.EPS.get=function(){return 123259516440783e-46},ju.SPLIT.get=function(){return 134217729},ju.MAX_PRINT_DIGITS.get=function(){return 32},ju.TEN.get=function(){return Bu.valueOf(10)},ju.ONE.get=function(){return Bu.valueOf(1)},ju.SCI_NOT_EXPONENT_CHAR.get=function(){return"E"},ju.SCI_NOT_ZERO.get=function(){return"0.0E0"},Object.defineProperties(Bu,ju);var Nu=function(){},Ru={DP_SAFE_EPSILON:{configurable:!0}};Nu.prototype.interfaces_=function(){return[]},Nu.prototype.getClass=function(){return Nu},Nu.orientationIndex=function(t,e,r){var n=Nu.orientationIndexFilter(t,e,r);if(n<=1)return n;var i=Bu.valueOf(e.x).selfAdd(-t.x),o=Bu.valueOf(e.y).selfAdd(-t.y),a=Bu.valueOf(r.x).selfAdd(-e.x),s=Bu.valueOf(r.y).selfAdd(-e.y);return i.selfMultiply(s).selfSubtract(o.selfMultiply(a)).signum()},Nu.signOfDet2x2=function(t,e,r,n){return t.multiply(n).selfSubtract(e.multiply(r)).signum()},Nu.intersection=function(t,e,r,n){var i=Bu.valueOf(n.y).selfSubtract(r.y).selfMultiply(Bu.valueOf(e.x).selfSubtract(t.x)),o=Bu.valueOf(n.x).selfSubtract(r.x).selfMultiply(Bu.valueOf(e.y).selfSubtract(t.y)),a=i.subtract(o),s=Bu.valueOf(n.x).selfSubtract(r.x).selfMultiply(Bu.valueOf(t.y).selfSubtract(r.y)),u=Bu.valueOf(n.y).selfSubtract(r.y).selfMultiply(Bu.valueOf(t.x).selfSubtract(r.x)),c=s.subtract(u).selfDivide(a).doubleValue(),l=Bu.valueOf(t.x).selfAdd(Bu.valueOf(e.x).selfSubtract(t.x).selfMultiply(c)).doubleValue(),h=Bu.valueOf(e.x).selfSubtract(t.x).selfMultiply(Bu.valueOf(t.y).selfSubtract(r.y)),f=Bu.valueOf(e.y).selfSubtract(t.y).selfMultiply(Bu.valueOf(t.x).selfSubtract(r.x)),d=h.subtract(f).selfDivide(a).doubleValue(),p=Bu.valueOf(r.y).selfAdd(Bu.valueOf(n.y).selfSubtract(r.y).selfMultiply(d)).doubleValue();return new ku(l,p)},Nu.orientationIndexFilter=function(t,e,r){var n=null,i=(t.x-r.x)*(e.y-r.y),o=(t.y-r.y)*(e.x-r.x),a=i-o;if(i>0){if(o<=0)return Nu.signum(a);n=i+o}else{if(!(i<0))return Nu.signum(a);if(o>=0)return Nu.signum(a);n=-i-o}var s=Nu.DP_SAFE_EPSILON*n;return a>=s||-a>=s?Nu.signum(a):2},Nu.signum=function(t){return t>0?1:t<0?-1:0},Ru.DP_SAFE_EPSILON.get=function(){return 1e-15},Object.defineProperties(Nu,Ru);var Fu=function(){},Yu={X:{configurable:!0},Y:{configurable:!0},Z:{configurable:!0},M:{configurable:!0}};Yu.X.get=function(){return 0},Yu.Y.get=function(){return 1},Yu.Z.get=function(){return 2},Yu.M.get=function(){return 3},Fu.prototype.setOrdinate=function(t,e,r){},Fu.prototype.size=function(){},Fu.prototype.getOrdinate=function(t,e){},Fu.prototype.getCoordinate=function(){},Fu.prototype.getCoordinateCopy=function(t){},Fu.prototype.getDimension=function(){},Fu.prototype.getX=function(t){},Fu.prototype.clone=function(){},Fu.prototype.expandEnvelope=function(t){},Fu.prototype.copy=function(){},Fu.prototype.getY=function(t){},Fu.prototype.toCoordinateArray=function(){},Fu.prototype.interfaces_=function(){return[wu]},Fu.prototype.getClass=function(){return Fu},Object.defineProperties(Fu,Yu);var Uu=function(){},Hu=function(t){function e(){t.call(this,"Projective point not representable on the Cartesian plane.")}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(Uu),zu=function(){};zu.arraycopy=function(t,e,r,n,i){for(var o=0,a=e;a<e+i;a++)r[n+o]=t[a],o++},zu.getProperty=function(t){return{"line.separator":"\n"}[t]};var Vu=function t(){if(this.x=null,this.y=null,this.w=null,0===arguments.length)this.x=0,this.y=0,this.w=1;else if(1===arguments.length){var e=arguments[0];this.x=e.x,this.y=e.y,this.w=1}else if(2===arguments.length){if("number"==typeof arguments[0]&&"number"==typeof arguments[1]){var r=arguments[0],n=arguments[1];this.x=r,this.y=n,this.w=1}else if(arguments[0]instanceof t&&arguments[1]instanceof t){var i=arguments[0],o=arguments[1];this.x=i.y*o.w-o.y*i.w,this.y=o.x*i.w-i.x*o.w,this.w=i.x*o.y-o.x*i.y}else if(arguments[0]instanceof ku&&arguments[1]instanceof ku){var a=arguments[0],s=arguments[1];this.x=a.y-s.y,this.y=s.x-a.x,this.w=a.x*s.y-s.x*a.y}}else if(3===arguments.length){var u=arguments[0],c=arguments[1],l=arguments[2];this.x=u,this.y=c,this.w=l}else if(4===arguments.length){var h=arguments[0],f=arguments[1],d=arguments[2],p=arguments[3],m=h.y-f.y,g=f.x-h.x,y=h.x*f.y-f.x*h.y,v=d.y-p.y,b=p.x-d.x,_=d.x*p.y-p.x*d.y;this.x=g*_-b*y,this.y=v*y-m*_,this.w=m*b-v*g}};Vu.prototype.getY=function(){var t=this.y/this.w;if(vu.isNaN(t)||vu.isInfinite(t))throw new Hu;return t},Vu.prototype.getX=function(){var t=this.x/this.w;if(vu.isNaN(t)||vu.isInfinite(t))throw new Hu;return t},Vu.prototype.getCoordinate=function(){var t=new ku;return t.x=this.getX(),t.y=this.getY(),t},Vu.prototype.interfaces_=function(){return[]},Vu.prototype.getClass=function(){return Vu},Vu.intersection=function(t,e,r,n){var i=t.y-e.y,o=e.x-t.x,a=t.x*e.y-e.x*t.y,s=r.y-n.y,u=n.x-r.x,c=r.x*n.y-n.x*r.y,l=i*u-s*o,h=(o*c-u*a)/l,f=(s*a-i*c)/l;if(vu.isNaN(h)||vu.isInfinite(h)||vu.isNaN(f)||vu.isInfinite(f))throw new Hu;return new ku(h,f)};var $u=function t(){if(this._minx=null,this._maxx=null,this._miny=null,this._maxy=null,0===arguments.length)this.init();else if(1===arguments.length){if(arguments[0]instanceof ku){var e=arguments[0];this.init(e.x,e.x,e.y,e.y)}else if(arguments[0]instanceof t){var r=arguments[0];this.init(r)}}else if(2===arguments.length){var n=arguments[0],i=arguments[1];this.init(n.x,i.x,n.y,i.y)}else if(4===arguments.length){var o=arguments[0],a=arguments[1],s=arguments[2],u=arguments[3];this.init(o,a,s,u)}},qu={serialVersionUID:{configurable:!0}};$u.prototype.getArea=function(){return this.getWidth()*this.getHeight()},$u.prototype.equals=function(t){if(!(t instanceof $u))return!1;var e=t;return this.isNull()?e.isNull():this._maxx===e.getMaxX()&&this._maxy===e.getMaxY()&&this._minx===e.getMinX()&&this._miny===e.getMinY()},$u.prototype.intersection=function(t){if(this.isNull()||t.isNull()||!this.intersects(t))return new $u;var e=this._minx>t._minx?this._minx:t._minx,r=this._miny>t._miny?this._miny:t._miny,n=this._maxx<t._maxx?this._maxx:t._maxx,i=this._maxy<t._maxy?this._maxy:t._maxy;return new $u(e,n,r,i)},$u.prototype.isNull=function(){return this._maxx<this._minx},$u.prototype.getMaxX=function(){return this._maxx},$u.prototype.covers=function(){if(1===arguments.length){if(arguments[0]instanceof ku){var t=arguments[0];return this.covers(t.x,t.y)}if(arguments[0]instanceof $u){var e=arguments[0];return!this.isNull()&&!e.isNull()&&e.getMinX()>=this._minx&&e.getMaxX()<=this._maxx&&e.getMinY()>=this._miny&&e.getMaxY()<=this._maxy}}else if(2===arguments.length){var r=arguments[0],n=arguments[1];return!this.isNull()&&r>=this._minx&&r<=this._maxx&&n>=this._miny&&n<=this._maxy}},$u.prototype.intersects=function(){if(1===arguments.length){if(arguments[0]instanceof $u){var t=arguments[0];return!this.isNull()&&!t.isNull()&&!(t._minx>this._maxx||t._maxx<this._minx||t._miny>this._maxy||t._maxy<this._miny)}if(arguments[0]instanceof ku){var e=arguments[0];return this.intersects(e.x,e.y)}}else if(2===arguments.length){var r=arguments[0],n=arguments[1];return!this.isNull()&&!(r>this._maxx||r<this._minx||n>this._maxy||n<this._miny)}},$u.prototype.getMinY=function(){return this._miny},$u.prototype.getMinX=function(){return this._minx},$u.prototype.expandToInclude=function(){if(1===arguments.length){if(arguments[0]instanceof ku){var t=arguments[0];this.expandToInclude(t.x,t.y)}else if(arguments[0]instanceof $u){var e=arguments[0];if(e.isNull())return null;this.isNull()?(this._minx=e.getMinX(),this._maxx=e.getMaxX(),this._miny=e.getMinY(),this._maxy=e.getMaxY()):(e._minx<this._minx&&(this._minx=e._minx),e._maxx>this._maxx&&(this._maxx=e._maxx),e._miny<this._miny&&(this._miny=e._miny),e._maxy>this._maxy&&(this._maxy=e._maxy))}}else if(2===arguments.length){var r=arguments[0],n=arguments[1];this.isNull()?(this._minx=r,this._maxx=r,this._miny=n,this._maxy=n):(r<this._minx&&(this._minx=r),r>this._maxx&&(this._maxx=r),n<this._miny&&(this._miny=n),n>this._maxy&&(this._maxy=n))}},$u.prototype.minExtent=function(){if(this.isNull())return 0;var t=this.getWidth(),e=this.getHeight();return t<e?t:e},$u.prototype.getWidth=function(){return this.isNull()?0:this._maxx-this._minx},$u.prototype.compareTo=function(t){var e=t;return this.isNull()?e.isNull()?0:-1:e.isNull()?1:this._minx<e._minx?-1:this._minx>e._minx?1:this._miny<e._miny?-1:this._miny>e._miny?1:this._maxx<e._maxx?-1:this._maxx>e._maxx?1:this._maxy<e._maxy?-1:this._maxy>e._maxy?1:0},$u.prototype.translate=function(t,e){if(this.isNull())return null;this.init(this.getMinX()+t,this.getMaxX()+t,this.getMinY()+e,this.getMaxY()+e)},$u.prototype.toString=function(){return"Env["+this._minx+" : "+this._maxx+", "+this._miny+" : "+this._maxy+"]"},$u.prototype.setToNull=function(){this._minx=0,this._maxx=-1,this._miny=0,this._maxy=-1},$u.prototype.getHeight=function(){return this.isNull()?0:this._maxy-this._miny},$u.prototype.maxExtent=function(){if(this.isNull())return 0;var t=this.getWidth(),e=this.getHeight();return t>e?t:e},$u.prototype.expandBy=function(){if(1===arguments.length){var t=arguments[0];this.expandBy(t,t)}else if(2===arguments.length){var e=arguments[0],r=arguments[1];if(this.isNull())return null;this._minx-=e,this._maxx+=e,this._miny-=r,this._maxy+=r,(this._minx>this._maxx||this._miny>this._maxy)&&this.setToNull()}},$u.prototype.contains=function(){if(1===arguments.length){if(arguments[0]instanceof $u){var t=arguments[0];return this.covers(t)}if(arguments[0]instanceof ku){var e=arguments[0];return this.covers(e)}}else if(2===arguments.length){var r=arguments[0],n=arguments[1];return this.covers(r,n)}},$u.prototype.centre=function(){return this.isNull()?null:new ku((this.getMinX()+this.getMaxX())/2,(this.getMinY()+this.getMaxY())/2)},$u.prototype.init=function(){if(0===arguments.length)this.setToNull();else if(1===arguments.length){if(arguments[0]instanceof ku){var t=arguments[0];this.init(t.x,t.x,t.y,t.y)}else if(arguments[0]instanceof $u){var e=arguments[0];this._minx=e._minx,this._maxx=e._maxx,this._miny=e._miny,this._maxy=e._maxy}}else if(2===arguments.length){var r=arguments[0],n=arguments[1];this.init(r.x,n.x,r.y,n.y)}else if(4===arguments.length){var i=arguments[0],o=arguments[1],a=arguments[2],s=arguments[3];i<o?(this._minx=i,this._maxx=o):(this._minx=o,this._maxx=i),a<s?(this._miny=a,this._maxy=s):(this._miny=s,this._maxy=a)}},$u.prototype.getMaxY=function(){return this._maxy},$u.prototype.distance=function(t){if(this.intersects(t))return 0;var e=0;this._maxx<t._minx?e=t._minx-this._maxx:this._minx>t._maxx&&(e=this._minx-t._maxx);var r=0;return this._maxy<t._miny?r=t._miny-this._maxy:this._miny>t._maxy&&(r=this._miny-t._maxy),0===e?r:0===r?e:Math.sqrt(e*e+r*r)},$u.prototype.hashCode=function(){var t=17;return t=37*t+ku.hashCode(this._minx),t=37*t+ku.hashCode(this._maxx),t=37*t+ku.hashCode(this._miny),37*t+ku.hashCode(this._maxy)},$u.prototype.interfaces_=function(){return[_u,Ci]},$u.prototype.getClass=function(){return $u},$u.intersects=function(){if(3===arguments.length){var t=arguments[0],e=arguments[1],r=arguments[2];return r.x>=(t.x<e.x?t.x:e.x)&&r.x<=(t.x>e.x?t.x:e.x)&&r.y>=(t.y<e.y?t.y:e.y)&&r.y<=(t.y>e.y?t.y:e.y)}if(4===arguments.length){var n=arguments[0],i=arguments[1],o=arguments[2],a=arguments[3],s=Math.min(o.x,a.x),u=Math.max(o.x,a.x),c=Math.min(n.x,i.x),l=Math.max(n.x,i.x);return!(c>u)&&!(l<s)&&(s=Math.min(o.y,a.y),u=Math.max(o.y,a.y),c=Math.min(n.y,i.y),l=Math.max(n.y,i.y),!(c>u)&&!(l<s))}},qu.serialVersionUID.get=function(){return 0x51845cd552189800},Object.defineProperties($u,qu);var Gu={typeStr:/^\s*(\w+)\s*\(\s*(.*)\s*\)\s*$/,emptyTypeStr:/^\s*(\w+)\s*EMPTY\s*$/,spaces:/\s+/,parenComma:/\)\s*,\s*\(/,doubleParenComma:/\)\s*\)\s*,\s*\(\s*\(/,trimParens:/^\s*\(?(.*?)\)?\s*$/},Wu=function(t){this.geometryFactory=t||new yl};Wu.prototype.read=function(t){var e,r,n;t=t.replace(/[\n\r]/g," ");var i=Gu.typeStr.exec(t);if(-1!==t.search("EMPTY")&&((i=Gu.emptyTypeStr.exec(t))[2]=void 0),i&&(r=i[1].toLowerCase(),n=i[2],Xu[r]&&(e=Xu[r].apply(this,[n]))),void 0===e)throw new Error("Could not parse WKT "+t);return e},Wu.prototype.write=function(t){return this.extractGeometry(t)},Wu.prototype.extractGeometry=function(t){var e=t.getGeometryType().toLowerCase();if(!Ku[e])return null;var r=e.toUpperCase();return t.isEmpty()?r+" EMPTY":r+"("+Ku[e].apply(this,[t])+")"};var Ku={coordinate:function(t){return t.x+" "+t.y},point:function(t){return Ku.coordinate.call(this,t._coordinates._coordinates[0])},multipoint:function(t){for(var e=[],r=0,n=t._geometries.length;r<n;++r)e.push("("+Ku.point.apply(this,[t._geometries[r]])+")");return e.join(",")},linestring:function(t){for(var e=[],r=0,n=t._points._coordinates.length;r<n;++r)e.push(Ku.coordinate.apply(this,[t._points._coordinates[r]]));return e.join(",")},linearring:function(t){for(var e=[],r=0,n=t._points._coordinates.length;r<n;++r)e.push(Ku.coordinate.apply(this,[t._points._coordinates[r]]));return e.join(",")},multilinestring:function(t){for(var e=[],r=0,n=t._geometries.length;r<n;++r)e.push("("+Ku.linestring.apply(this,[t._geometries[r]])+")");return e.join(",")},polygon:function(t){var e=[];e.push("("+Ku.linestring.apply(this,[t._shell])+")");for(var r=0,n=t._holes.length;r<n;++r)e.push("("+Ku.linestring.apply(this,[t._holes[r]])+")");return e.join(",")},multipolygon:function(t){for(var e=[],r=0,n=t._geometries.length;r<n;++r)e.push("("+Ku.polygon.apply(this,[t._geometries[r]])+")");return e.join(",")},geometrycollection:function(t){for(var e=[],r=0,n=t._geometries.length;r<n;++r)e.push(this.extractGeometry(t._geometries[r]));return e.join(",")}},Xu={point:function(t){if(void 0===t)return this.geometryFactory.createPoint();var e=t.trim().split(Gu.spaces);return this.geometryFactory.createPoint(new ku(Number.parseFloat(e[0]),Number.parseFloat(e[1])))},multipoint:function(t){if(void 0===t)return this.geometryFactory.createMultiPoint();for(var e,r=t.trim().split(","),n=[],i=0,o=r.length;i<o;++i)e=r[i].replace(Gu.trimParens,"$1"),n.push(Xu.point.apply(this,[e]));return this.geometryFactory.createMultiPoint(n)},linestring:function(t){if(void 0===t)return this.geometryFactory.createLineString();for(var e,r=t.trim().split(","),n=[],i=0,o=r.length;i<o;++i)e=r[i].trim().split(Gu.spaces),n.push(new ku(Number.parseFloat(e[0]),Number.parseFloat(e[1])));return this.geometryFactory.createLineString(n)},linearring:function(t){if(void 0===t)return this.geometryFactory.createLinearRing();for(var e,r=t.trim().split(","),n=[],i=0,o=r.length;i<o;++i)e=r[i].trim().split(Gu.spaces),n.push(new ku(Number.parseFloat(e[0]),Number.parseFloat(e[1])));return this.geometryFactory.createLinearRing(n)},multilinestring:function(t){if(void 0===t)return this.geometryFactory.createMultiLineString();for(var e,r=t.trim().split(Gu.parenComma),n=[],i=0,o=r.length;i<o;++i)e=r[i].replace(Gu.trimParens,"$1"),n.push(Xu.linestring.apply(this,[e]));return this.geometryFactory.createMultiLineString(n)},polygon:function(t){if(void 0===t)return this.geometryFactory.createPolygon();for(var e,r,n,i,o=t.trim().split(Gu.parenComma),a=[],s=0,u=o.length;s<u;++s)e=o[s].replace(Gu.trimParens,"$1"),r=Xu.linestring.apply(this,[e]),n=this.geometryFactory.createLinearRing(r._points),0===s?i=n:a.push(n);return this.geometryFactory.createPolygon(i,a)},multipolygon:function(t){if(void 0===t)return this.geometryFactory.createMultiPolygon();for(var e,r=t.trim().split(Gu.doubleParenComma),n=[],i=0,o=r.length;i<o;++i)e=r[i].replace(Gu.trimParens,"$1"),n.push(Xu.polygon.apply(this,[e]));return this.geometryFactory.createMultiPolygon(n)},geometrycollection:function(t){if(void 0===t)return this.geometryFactory.createGeometryCollection();for(var e=(t=t.replace(/,\s*([A-Za-z])/g,"|$1")).trim().split("|"),r=[],n=0,i=e.length;n<i;++n)r.push(this.read(e[n]));return this.geometryFactory.createGeometryCollection(r)}},Ju=function(t){this.parser=new Wu(t)};Ju.prototype.write=function(t){return this.parser.write(t)},Ju.toLineString=function(t,e){if(2!==arguments.length)throw new Error("Not implemented");return"LINESTRING ( "+t.x+" "+t.y+", "+e.x+" "+e.y+" )"};var Zu=function(t){function e(e){t.call(this,e),this.name="RuntimeException",this.message=e,this.stack=(new t).stack}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(Error),Qu=function(t){function e(){if(t.call(this),0===arguments.length)t.call(this);else if(1===arguments.length){var e=arguments[0];t.call(this,e)}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(Zu),tc=function(){};tc.prototype.interfaces_=function(){return[]},tc.prototype.getClass=function(){return tc},tc.shouldNeverReachHere=function(){if(0===arguments.length)tc.shouldNeverReachHere(null);else if(1===arguments.length){var t=arguments[0];throw new Qu("Should never reach here"+(null!==t?": "+t:""))}},tc.isTrue=function(){var t,e;if(1===arguments.length)t=arguments[0],tc.isTrue(t,null);else if(2===arguments.length&&(t=arguments[0],e=arguments[1],!t))throw null===e?new Qu:new Qu(e)},tc.equals=function(){var t,e,r;if(2===arguments.length)t=arguments[0],e=arguments[1],tc.equals(t,e,null);else if(3===arguments.length&&(t=arguments[0],e=arguments[1],r=arguments[2],!e.equals(t)))throw new Qu("Expected "+t+" but encountered "+e+(null!==r?": "+r:""))};var ec=function(){this._result=null,this._inputLines=Array(2).fill().map((function(){return Array(2)})),this._intPt=new Array(2).fill(null),this._intLineIndex=null,this._isProper=null,this._pa=null,this._pb=null,this._precisionModel=null,this._intPt[0]=new ku,this._intPt[1]=new ku,this._pa=this._intPt[0],this._pb=this._intPt[1],this._result=0},rc={DONT_INTERSECT:{configurable:!0},DO_INTERSECT:{configurable:!0},COLLINEAR:{configurable:!0},NO_INTERSECTION:{configurable:!0},POINT_INTERSECTION:{configurable:!0},COLLINEAR_INTERSECTION:{configurable:!0}};ec.prototype.getIndexAlongSegment=function(t,e){return this.computeIntLineIndex(),this._intLineIndex[t][e]},ec.prototype.getTopologySummary=function(){var t=new Ou;return this.isEndPoint()&&t.append(" endpoint"),this._isProper&&t.append(" proper"),this.isCollinear()&&t.append(" collinear"),t.toString()},ec.prototype.computeIntersection=function(t,e,r,n){this._inputLines[0][0]=t,this._inputLines[0][1]=e,this._inputLines[1][0]=r,this._inputLines[1][1]=n,this._result=this.computeIntersect(t,e,r,n)},ec.prototype.getIntersectionNum=function(){return this._result},ec.prototype.computeIntLineIndex=function(){if(0===arguments.length)null===this._intLineIndex&&(this._intLineIndex=Array(2).fill().map((function(){return Array(2)})),this.computeIntLineIndex(0),this.computeIntLineIndex(1));else if(1===arguments.length){var t=arguments[0];this.getEdgeDistance(t,0)>this.getEdgeDistance(t,1)?(this._intLineIndex[t][0]=0,this._intLineIndex[t][1]=1):(this._intLineIndex[t][0]=1,this._intLineIndex[t][1]=0)}},ec.prototype.isProper=function(){return this.hasIntersection()&&this._isProper},ec.prototype.setPrecisionModel=function(t){this._precisionModel=t},ec.prototype.isInteriorIntersection=function(){if(0===arguments.length)return!!this.isInteriorIntersection(0)||!!this.isInteriorIntersection(1);if(1===arguments.length){for(var t=arguments[0],e=0;e<this._result;e++)if(!this._intPt[e].equals2D(this._inputLines[t][0])&&!this._intPt[e].equals2D(this._inputLines[t][1]))return!0;return!1}},ec.prototype.getIntersection=function(t){return this._intPt[t]},ec.prototype.isEndPoint=function(){return this.hasIntersection()&&!this._isProper},ec.prototype.hasIntersection=function(){return this._result!==ec.NO_INTERSECTION},ec.prototype.getEdgeDistance=function(t,e){return ec.computeEdgeDistance(this._intPt[e],this._inputLines[t][0],this._inputLines[t][1])},ec.prototype.isCollinear=function(){return this._result===ec.COLLINEAR_INTERSECTION},ec.prototype.toString=function(){return Ju.toLineString(this._inputLines[0][0],this._inputLines[0][1])+" - "+Ju.toLineString(this._inputLines[1][0],this._inputLines[1][1])+this.getTopologySummary()},ec.prototype.getEndpoint=function(t,e){return this._inputLines[t][e]},ec.prototype.isIntersection=function(t){for(var e=0;e<this._result;e++)if(this._intPt[e].equals2D(t))return!0;return!1},ec.prototype.getIntersectionAlongSegment=function(t,e){return this.computeIntLineIndex(),this._intPt[this._intLineIndex[t][e]]},ec.prototype.interfaces_=function(){return[]},ec.prototype.getClass=function(){return ec},ec.computeEdgeDistance=function(t,e,r){var n=Math.abs(r.x-e.x),i=Math.abs(r.y-e.y),o=-1;if(t.equals(e))o=0;else if(t.equals(r))o=n>i?n:i;else{var a=Math.abs(t.x-e.x),s=Math.abs(t.y-e.y);0!==(o=n>i?a:s)||t.equals(e)||(o=Math.max(a,s))}return tc.isTrue(!(0===o&&!t.equals(e)),"Bad distance calculation"),o},ec.nonRobustComputeEdgeDistance=function(t,e,r){var n=t.x-e.x,i=t.y-e.y,o=Math.sqrt(n*n+i*i);return tc.isTrue(!(0===o&&!t.equals(e)),"Invalid distance calculation"),o},rc.DONT_INTERSECT.get=function(){return 0},rc.DO_INTERSECT.get=function(){return 1},rc.COLLINEAR.get=function(){return 2},rc.NO_INTERSECTION.get=function(){return 0},rc.POINT_INTERSECTION.get=function(){return 1},rc.COLLINEAR_INTERSECTION.get=function(){return 2},Object.defineProperties(ec,rc);var nc=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.isInSegmentEnvelopes=function(t){var e=new $u(this._inputLines[0][0],this._inputLines[0][1]),r=new $u(this._inputLines[1][0],this._inputLines[1][1]);return e.contains(t)&&r.contains(t)},e.prototype.computeIntersection=function(){if(3!==arguments.length)return t.prototype.computeIntersection.apply(this,arguments);var e=arguments[0],r=arguments[1],n=arguments[2];if(this._isProper=!1,$u.intersects(r,n,e)&&0===ac.orientationIndex(r,n,e)&&0===ac.orientationIndex(n,r,e))return this._isProper=!0,(e.equals(r)||e.equals(n))&&(this._isProper=!1),this._result=t.POINT_INTERSECTION,null;this._result=t.NO_INTERSECTION},e.prototype.normalizeToMinimum=function(t,e,r,n,i){i.x=this.smallestInAbsValue(t.x,e.x,r.x,n.x),i.y=this.smallestInAbsValue(t.y,e.y,r.y,n.y),t.x-=i.x,t.y-=i.y,e.x-=i.x,e.y-=i.y,r.x-=i.x,r.y-=i.y,n.x-=i.x,n.y-=i.y},e.prototype.safeHCoordinateIntersection=function(t,r,n,i){var o=null;try{o=Vu.intersection(t,r,n,i)}catch(a){if(!(a instanceof Hu))throw a;o=e.nearestEndpoint(t,r,n,i)}return o},e.prototype.intersection=function(t,r,n,i){var o=this.intersectionWithNormalization(t,r,n,i);return this.isInSegmentEnvelopes(o)||(o=new ku(e.nearestEndpoint(t,r,n,i))),null!==this._precisionModel&&this._precisionModel.makePrecise(o),o},e.prototype.smallestInAbsValue=function(t,e,r,n){var i=t,o=Math.abs(i);return Math.abs(e)<o&&(i=e,o=Math.abs(e)),Math.abs(r)<o&&(i=r,o=Math.abs(r)),Math.abs(n)<o&&(i=n),i},e.prototype.checkDD=function(t,e,r,n,i){var o=Nu.intersection(t,e,r,n),a=this.isInSegmentEnvelopes(o);zu.out.println("DD in env = "+a+"  --------------------- "+o),i.distance(o)>1e-4&&zu.out.println("Distance = "+i.distance(o))},e.prototype.intersectionWithNormalization=function(t,e,r,n){var i=new ku(t),o=new ku(e),a=new ku(r),s=new ku(n),u=new ku;this.normalizeToEnvCentre(i,o,a,s,u);var c=this.safeHCoordinateIntersection(i,o,a,s);return c.x+=u.x,c.y+=u.y,c},e.prototype.computeCollinearIntersection=function(e,r,n,i){var o=$u.intersects(e,r,n),a=$u.intersects(e,r,i),s=$u.intersects(n,i,e),u=$u.intersects(n,i,r);return o&&a?(this._intPt[0]=n,this._intPt[1]=i,t.COLLINEAR_INTERSECTION):s&&u?(this._intPt[0]=e,this._intPt[1]=r,t.COLLINEAR_INTERSECTION):o&&s?(this._intPt[0]=n,this._intPt[1]=e,!n.equals(e)||a||u?t.COLLINEAR_INTERSECTION:t.POINT_INTERSECTION):o&&u?(this._intPt[0]=n,this._intPt[1]=r,!n.equals(r)||a||s?t.COLLINEAR_INTERSECTION:t.POINT_INTERSECTION):a&&s?(this._intPt[0]=i,this._intPt[1]=e,!i.equals(e)||o||u?t.COLLINEAR_INTERSECTION:t.POINT_INTERSECTION):a&&u?(this._intPt[0]=i,this._intPt[1]=r,!i.equals(r)||o||s?t.COLLINEAR_INTERSECTION:t.POINT_INTERSECTION):t.NO_INTERSECTION},e.prototype.normalizeToEnvCentre=function(t,e,r,n,i){var o=t.x<e.x?t.x:e.x,a=t.y<e.y?t.y:e.y,s=t.x>e.x?t.x:e.x,u=t.y>e.y?t.y:e.y,c=r.x<n.x?r.x:n.x,l=r.y<n.y?r.y:n.y,h=r.x>n.x?r.x:n.x,f=r.y>n.y?r.y:n.y,d=((o>c?o:c)+(s<h?s:h))/2,p=((a>l?a:l)+(u<f?u:f))/2;i.x=d,i.y=p,t.x-=i.x,t.y-=i.y,e.x-=i.x,e.y-=i.y,r.x-=i.x,r.y-=i.y,n.x-=i.x,n.y-=i.y},e.prototype.computeIntersect=function(e,r,n,i){if(this._isProper=!1,!$u.intersects(e,r,n,i))return t.NO_INTERSECTION;var o=ac.orientationIndex(e,r,n),a=ac.orientationIndex(e,r,i);if(o>0&&a>0||o<0&&a<0)return t.NO_INTERSECTION;var s=ac.orientationIndex(n,i,e),u=ac.orientationIndex(n,i,r);return s>0&&u>0||s<0&&u<0?t.NO_INTERSECTION:0===o&&0===a&&0===s&&0===u?this.computeCollinearIntersection(e,r,n,i):(0===o||0===a||0===s||0===u?(this._isProper=!1,e.equals2D(n)||e.equals2D(i)?this._intPt[0]=e:r.equals2D(n)||r.equals2D(i)?this._intPt[0]=r:0===o?this._intPt[0]=new ku(n):0===a?this._intPt[0]=new ku(i):0===s?this._intPt[0]=new ku(e):0===u&&(this._intPt[0]=new ku(r))):(this._isProper=!0,this._intPt[0]=this.intersection(e,r,n,i)),t.POINT_INTERSECTION)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e.nearestEndpoint=function(t,e,r,n){var i=t,o=ac.distancePointLine(t,r,n),a=ac.distancePointLine(e,r,n);return a<o&&(o=a,i=e),(a=ac.distancePointLine(r,t,e))<o&&(o=a,i=r),(a=ac.distancePointLine(n,t,e))<o&&(o=a,i=n),i},e}(ec),ic=function(){};ic.prototype.interfaces_=function(){return[]},ic.prototype.getClass=function(){return ic},ic.orientationIndex=function(t,e,r){var n=e.x-t.x,i=e.y-t.y,o=r.x-e.x,a=r.y-e.y;return ic.signOfDet2x2(n,i,o,a)},ic.signOfDet2x2=function(t,e,r,n){var i=null,o=null,a=null;if(i=1,0===t||0===n)return 0===e||0===r?0:e>0?r>0?-i:i:r>0?i:-i;if(0===e||0===r)return n>0?t>0?i:-i:t>0?-i:i;if(e>0?n>0?e<=n||(i=-i,o=t,t=r,r=o,o=e,e=n,n=o):e<=-n?(i=-i,r=-r,n=-n):(o=t,t=-r,r=o,o=e,e=-n,n=o):n>0?-e<=n?(i=-i,t=-t,e=-e):(o=-t,t=r,r=o,o=-e,e=n,n=o):e>=n?(t=-t,e=-e,r=-r,n=-n):(i=-i,o=-t,t=-r,r=o,o=-e,e=-n,n=o),t>0){if(!(r>0))return i;if(!(t<=r))return i}else{if(r>0)return-i;if(!(t>=r))return-i;i=-i,t=-t,r=-r}for(;;){if(a=Math.floor(r/t),r-=a*t,(n-=a*e)<0)return-i;if(n>e)return i;if(t>r+r){if(e<n+n)return i}else{if(e>n+n)return-i;r=t-r,n=e-n,i=-i}if(0===n)return 0===r?0:-i;if(0===r)return i;if(a=Math.floor(t/r),t-=a*r,(e-=a*n)<0)return i;if(e>n)return-i;if(r>t+t){if(n<e+e)return-i}else{if(n>e+e)return i;t=r-t,e=n-e,i=-i}if(0===e)return 0===t?0:i;if(0===t)return-i}};var oc=function(){this._p=null,this._crossingCount=0,this._isPointOnSegment=!1;var t=arguments[0];this._p=t};oc.prototype.countSegment=function(t,e){if(t.x<this._p.x&&e.x<this._p.x)return null;if(this._p.x===e.x&&this._p.y===e.y)return this._isPointOnSegment=!0,null;if(t.y===this._p.y&&e.y===this._p.y){var r=t.x,n=e.x;return r>n&&(r=e.x,n=t.x),this._p.x>=r&&this._p.x<=n&&(this._isPointOnSegment=!0),null}if(t.y>this._p.y&&e.y<=this._p.y||e.y>this._p.y&&t.y<=this._p.y){var i=t.x-this._p.x,o=t.y-this._p.y,a=e.x-this._p.x,s=e.y-this._p.y,u=ic.signOfDet2x2(i,o,a,s);if(0===u)return this._isPointOnSegment=!0,null;s<o&&(u=-u),u>0&&this._crossingCount++}},oc.prototype.isPointInPolygon=function(){return this.getLocation()!==Au.EXTERIOR},oc.prototype.getLocation=function(){return this._isPointOnSegment?Au.BOUNDARY:this._crossingCount%2==1?Au.INTERIOR:Au.EXTERIOR},oc.prototype.isOnSegment=function(){return this._isPointOnSegment},oc.prototype.interfaces_=function(){return[]},oc.prototype.getClass=function(){return oc},oc.locatePointInRing=function(){if(arguments[0]instanceof ku&&Cu(arguments[1],Fu)){for(var t=arguments[0],e=arguments[1],r=new oc(t),n=new ku,i=new ku,o=1;o<e.size();o++)if(e.getCoordinate(o,n),e.getCoordinate(o-1,i),r.countSegment(n,i),r.isOnSegment())return r.getLocation();return r.getLocation()}if(arguments[0]instanceof ku&&arguments[1]instanceof Array){for(var a=arguments[0],s=arguments[1],u=new oc(a),c=1;c<s.length;c++){var l=s[c],h=s[c-1];if(u.countSegment(l,h),u.isOnSegment())return u.getLocation()}return u.getLocation()}};var ac=function(){},sc={CLOCKWISE:{configurable:!0},RIGHT:{configurable:!0},COUNTERCLOCKWISE:{configurable:!0},LEFT:{configurable:!0},COLLINEAR:{configurable:!0},STRAIGHT:{configurable:!0}};ac.prototype.interfaces_=function(){return[]},ac.prototype.getClass=function(){return ac},ac.orientationIndex=function(t,e,r){return Nu.orientationIndex(t,e,r)},ac.signedArea=function(){if(arguments[0]instanceof Array){var t=arguments[0];if(t.length<3)return 0;for(var e=0,r=t[0].x,n=1;n<t.length-1;n++){var i=t[n].x-r,o=t[n+1].y;e+=i*(t[n-1].y-o)}return e/2}if(Cu(arguments[0],Fu)){var a=arguments[0],s=a.size();if(s<3)return 0;var u=new ku,c=new ku,l=new ku;a.getCoordinate(0,c),a.getCoordinate(1,l);var h=c.x;l.x-=h;for(var f=0,d=1;d<s-1;d++)u.y=c.y,c.x=l.x,c.y=l.y,a.getCoordinate(d+1,l),l.x-=h,f+=c.x*(u.y-l.y);return f/2}},ac.distanceLineLine=function(t,e,r,n){if(t.equals(e))return ac.distancePointLine(t,r,n);if(r.equals(n))return ac.distancePointLine(n,t,e);var i=!1;if($u.intersects(t,e,r,n)){var o=(e.x-t.x)*(n.y-r.y)-(e.y-t.y)*(n.x-r.x);if(0===o)i=!0;else{var a=(t.y-r.y)*(n.x-r.x)-(t.x-r.x)*(n.y-r.y),s=((t.y-r.y)*(e.x-t.x)-(t.x-r.x)*(e.y-t.y))/o,u=a/o;(u<0||u>1||s<0||s>1)&&(i=!0)}}else i=!0;return i?Lu.min(ac.distancePointLine(t,r,n),ac.distancePointLine(e,r,n),ac.distancePointLine(r,t,e),ac.distancePointLine(n,t,e)):0},ac.isPointInRing=function(t,e){return ac.locatePointInRing(t,e)!==Au.EXTERIOR},ac.computeLength=function(t){var e=t.size();if(e<=1)return 0;var r=0,n=new ku;t.getCoordinate(0,n);for(var i=n.x,o=n.y,a=1;a<e;a++){t.getCoordinate(a,n);var s=n.x,u=n.y,c=s-i,l=u-o;r+=Math.sqrt(c*c+l*l),i=s,o=u}return r},ac.isCCW=function(t){var e=t.length-1;if(e<3)throw new yu("Ring has fewer than 4 points, so orientation cannot be determined");for(var r=t[0],n=0,i=1;i<=e;i++){var o=t[i];o.y>r.y&&(r=o,n=i)}var a=n;do{(a-=1)<0&&(a=e)}while(t[a].equals2D(r)&&a!==n);var s=n;do{s=(s+1)%e}while(t[s].equals2D(r)&&s!==n);var u=t[a],c=t[s];if(u.equals2D(r)||c.equals2D(r)||u.equals2D(c))return!1;var l=ac.computeOrientation(u,r,c),h=!1;return h=0===l?u.x>c.x:l>0,h},ac.locatePointInRing=function(t,e){return oc.locatePointInRing(t,e)},ac.distancePointLinePerpendicular=function(t,e,r){var n=(r.x-e.x)*(r.x-e.x)+(r.y-e.y)*(r.y-e.y),i=((e.y-t.y)*(r.x-e.x)-(e.x-t.x)*(r.y-e.y))/n;return Math.abs(i)*Math.sqrt(n)},ac.computeOrientation=function(t,e,r){return ac.orientationIndex(t,e,r)},ac.distancePointLine=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1];if(0===e.length)throw new yu("Line array must contain at least one vertex");for(var r=t.distance(e[0]),n=0;n<e.length-1;n++){var i=ac.distancePointLine(t,e[n],e[n+1]);i<r&&(r=i)}return r}if(3===arguments.length){var o=arguments[0],a=arguments[1],s=arguments[2];if(a.x===s.x&&a.y===s.y)return o.distance(a);var u=(s.x-a.x)*(s.x-a.x)+(s.y-a.y)*(s.y-a.y),c=((o.x-a.x)*(s.x-a.x)+(o.y-a.y)*(s.y-a.y))/u;if(c<=0)return o.distance(a);if(c>=1)return o.distance(s);var l=((a.y-o.y)*(s.x-a.x)-(a.x-o.x)*(s.y-a.y))/u;return Math.abs(l)*Math.sqrt(u)}},ac.isOnLine=function(t,e){for(var r=new nc,n=1;n<e.length;n++){var i=e[n-1],o=e[n];if(r.computeIntersection(t,i,o),r.hasIntersection())return!0}return!1},sc.CLOCKWISE.get=function(){return-1},sc.RIGHT.get=function(){return ac.CLOCKWISE},sc.COUNTERCLOCKWISE.get=function(){return 1},sc.LEFT.get=function(){return ac.COUNTERCLOCKWISE},sc.COLLINEAR.get=function(){return 0},sc.STRAIGHT.get=function(){return ac.COLLINEAR},Object.defineProperties(ac,sc);var uc=function(){};uc.prototype.filter=function(t){},uc.prototype.interfaces_=function(){return[]},uc.prototype.getClass=function(){return uc};var cc=function(){var t=arguments[0];this._envelope=null,this._factory=null,this._SRID=null,this._userData=null,this._factory=t,this._SRID=t.getSRID()},lc={serialVersionUID:{configurable:!0},SORTINDEX_POINT:{configurable:!0},SORTINDEX_MULTIPOINT:{configurable:!0},SORTINDEX_LINESTRING:{configurable:!0},SORTINDEX_LINEARRING:{configurable:!0},SORTINDEX_MULTILINESTRING:{configurable:!0},SORTINDEX_POLYGON:{configurable:!0},SORTINDEX_MULTIPOLYGON:{configurable:!0},SORTINDEX_GEOMETRYCOLLECTION:{configurable:!0},geometryChangedFilter:{configurable:!0}};cc.prototype.isGeometryCollection=function(){return this.getSortIndex()===cc.SORTINDEX_GEOMETRYCOLLECTION},cc.prototype.getFactory=function(){return this._factory},cc.prototype.getGeometryN=function(t){return this},cc.prototype.getArea=function(){return 0},cc.prototype.isRectangle=function(){return!1},cc.prototype.equals=function(){if(arguments[0]instanceof cc){var t=arguments[0];return null!==t&&this.equalsTopo(t)}if(arguments[0]instanceof Object){var e=arguments[0];if(!(e instanceof cc))return!1;var r=e;return this.equalsExact(r)}},cc.prototype.equalsExact=function(t){return this===t||this.equalsExact(t,0)},cc.prototype.geometryChanged=function(){this.apply(cc.geometryChangedFilter)},cc.prototype.geometryChangedAction=function(){this._envelope=null},cc.prototype.equalsNorm=function(t){return null!==t&&this.norm().equalsExact(t.norm())},cc.prototype.getLength=function(){return 0},cc.prototype.getNumGeometries=function(){return 1},cc.prototype.compareTo=function(){if(1===arguments.length){var t=arguments[0],e=t;return this.getSortIndex()!==e.getSortIndex()?this.getSortIndex()-e.getSortIndex():this.isEmpty()&&e.isEmpty()?0:this.isEmpty()?-1:e.isEmpty()?1:this.compareToSameClass(t)}if(2===arguments.length){var r=arguments[0],n=arguments[1];return this.getSortIndex()!==r.getSortIndex()?this.getSortIndex()-r.getSortIndex():this.isEmpty()&&r.isEmpty()?0:this.isEmpty()?-1:r.isEmpty()?1:this.compareToSameClass(r,n)}},cc.prototype.getUserData=function(){return this._userData},cc.prototype.getSRID=function(){return this._SRID},cc.prototype.getEnvelope=function(){return this.getFactory().toGeometry(this.getEnvelopeInternal())},cc.prototype.checkNotGeometryCollection=function(t){if(t.getSortIndex()===cc.SORTINDEX_GEOMETRYCOLLECTION)throw new yu("This method does not support GeometryCollection arguments")},cc.prototype.equal=function(t,e,r){return 0===r?t.equals(e):t.distance(e)<=r},cc.prototype.norm=function(){var t=this.copy();return t.normalize(),t},cc.prototype.getPrecisionModel=function(){return this._factory.getPrecisionModel()},cc.prototype.getEnvelopeInternal=function(){return null===this._envelope&&(this._envelope=this.computeEnvelopeInternal()),new $u(this._envelope)},cc.prototype.setSRID=function(t){this._SRID=t},cc.prototype.setUserData=function(t){this._userData=t},cc.prototype.compare=function(t,e){for(var r=t.iterator(),n=e.iterator();r.hasNext()&&n.hasNext();){var i=r.next(),o=n.next(),a=i.compareTo(o);if(0!==a)return a}return r.hasNext()?1:n.hasNext()?-1:0},cc.prototype.hashCode=function(){return this.getEnvelopeInternal().hashCode()},cc.prototype.isGeometryCollectionOrDerived=function(){return this.getSortIndex()===cc.SORTINDEX_GEOMETRYCOLLECTION||this.getSortIndex()===cc.SORTINDEX_MULTIPOINT||this.getSortIndex()===cc.SORTINDEX_MULTILINESTRING||this.getSortIndex()===cc.SORTINDEX_MULTIPOLYGON},cc.prototype.interfaces_=function(){return[wu,_u,Ci]},cc.prototype.getClass=function(){return cc},cc.hasNonEmptyElements=function(t){for(var e=0;e<t.length;e++)if(!t[e].isEmpty())return!0;return!1},cc.hasNullElements=function(t){for(var e=0;e<t.length;e++)if(null===t[e])return!0;return!1},lc.serialVersionUID.get=function(){return 0x799ea46522854c00},lc.SORTINDEX_POINT.get=function(){return 0},lc.SORTINDEX_MULTIPOINT.get=function(){return 1},lc.SORTINDEX_LINESTRING.get=function(){return 2},lc.SORTINDEX_LINEARRING.get=function(){return 3},lc.SORTINDEX_MULTILINESTRING.get=function(){return 4},lc.SORTINDEX_POLYGON.get=function(){return 5},lc.SORTINDEX_MULTIPOLYGON.get=function(){return 6},lc.SORTINDEX_GEOMETRYCOLLECTION.get=function(){return 7},lc.geometryChangedFilter.get=function(){return hc},Object.defineProperties(cc,lc);var hc=function(){};hc.interfaces_=function(){return[uc]},hc.filter=function(t){t.geometryChangedAction()};var fc=function(){};fc.prototype.filter=function(t){},fc.prototype.interfaces_=function(){return[]},fc.prototype.getClass=function(){return fc};var dc=function(){},pc={Mod2BoundaryNodeRule:{configurable:!0},EndPointBoundaryNodeRule:{configurable:!0},MultiValentEndPointBoundaryNodeRule:{configurable:!0},MonoValentEndPointBoundaryNodeRule:{configurable:!0},MOD2_BOUNDARY_RULE:{configurable:!0},ENDPOINT_BOUNDARY_RULE:{configurable:!0},MULTIVALENT_ENDPOINT_BOUNDARY_RULE:{configurable:!0},MONOVALENT_ENDPOINT_BOUNDARY_RULE:{configurable:!0},OGC_SFS_BOUNDARY_RULE:{configurable:!0}};dc.prototype.isInBoundary=function(t){},dc.prototype.interfaces_=function(){return[]},dc.prototype.getClass=function(){return dc},pc.Mod2BoundaryNodeRule.get=function(){return mc},pc.EndPointBoundaryNodeRule.get=function(){return gc},pc.MultiValentEndPointBoundaryNodeRule.get=function(){return yc},pc.MonoValentEndPointBoundaryNodeRule.get=function(){return vc},pc.MOD2_BOUNDARY_RULE.get=function(){return new mc},pc.ENDPOINT_BOUNDARY_RULE.get=function(){return new gc},pc.MULTIVALENT_ENDPOINT_BOUNDARY_RULE.get=function(){return new yc},pc.MONOVALENT_ENDPOINT_BOUNDARY_RULE.get=function(){return new vc},pc.OGC_SFS_BOUNDARY_RULE.get=function(){return dc.MOD2_BOUNDARY_RULE},Object.defineProperties(dc,pc);var mc=function(){};mc.prototype.isInBoundary=function(t){return t%2==1},mc.prototype.interfaces_=function(){return[dc]},mc.prototype.getClass=function(){return mc};var gc=function(){};gc.prototype.isInBoundary=function(t){return t>0},gc.prototype.interfaces_=function(){return[dc]},gc.prototype.getClass=function(){return gc};var yc=function(){};yc.prototype.isInBoundary=function(t){return t>1},yc.prototype.interfaces_=function(){return[dc]},yc.prototype.getClass=function(){return yc};var vc=function(){};vc.prototype.isInBoundary=function(t){return 1===t},vc.prototype.interfaces_=function(){return[dc]},vc.prototype.getClass=function(){return vc};var bc=function(){};bc.prototype.add=function(){},bc.prototype.addAll=function(){},bc.prototype.isEmpty=function(){},bc.prototype.iterator=function(){},bc.prototype.size=function(){},bc.prototype.toArray=function(){},bc.prototype.remove=function(){};var _c=function(t){function e(e){t.call(this),this.message=e||""}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var r={name:{configurable:!0}};return r.name.get=function(){return"IndexOutOfBoundsException"},Object.defineProperties(e,r),e}(Error),wc=function(){};wc.prototype.hasNext=function(){},wc.prototype.next=function(){},wc.prototype.remove=function(){};var xc=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(){},e.prototype.set=function(){},e.prototype.isEmpty=function(){},e}(bc);(Li.prototype=new Error).name="NoSuchElementException";var kc=function(t){function e(){t.call(this),this.array_=[],arguments[0]instanceof bc&&this.addAll(arguments[0])}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.ensureCapacity=function(){},e.prototype.interfaces_=function(){return[t,bc]},e.prototype.add=function(t){return 1===arguments.length?this.array_.push(t):this.array_.splice(arguments[0],arguments[1]),!0},e.prototype.clear=function(){this.array_=[]},e.prototype.addAll=function(t){for(var e=t.iterator();e.hasNext();)this.add(e.next());return!0},e.prototype.set=function(t,e){var r=this.array_[t];return this.array_[t]=e,r},e.prototype.iterator=function(){return new Sc(this)},e.prototype.get=function(t){if(t<0||t>=this.size())throw new _c;return this.array_[t]},e.prototype.isEmpty=function(){return 0===this.array_.length},e.prototype.size=function(){return this.array_.length},e.prototype.toArray=function(){for(var t=[],e=0,r=this.array_.length;e<r;e++)t.push(this.array_[e]);return t},e.prototype.remove=function(t){for(var e=!1,r=0,n=this.array_.length;r<n;r++)if(this.array_[r]===t){this.array_.splice(r,1),e=!0;break}return e},e}(xc),Sc=function(t){function e(e){t.call(this),this.arrayList_=e,this.position_=0}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.next=function(){if(this.position_===this.arrayList_.size())throw new Li;return this.arrayList_.get(this.position_++)},e.prototype.hasNext=function(){return this.position_<this.arrayList_.size()},e.prototype.set=function(t){return this.arrayList_.set(this.position_-1,t)},e.prototype.remove=function(){this.arrayList_.remove(this.arrayList_.get(this.position_))},e}(wc),Ec=function(t){function e(){if(t.call(this),0===arguments.length);else if(1===arguments.length){var e=arguments[0];this.ensureCapacity(e.length),this.add(e,!0)}else if(2===arguments.length){var r=arguments[0],n=arguments[1];this.ensureCapacity(r.length),this.add(r,n)}}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var r={coordArrayType:{configurable:!0}};return r.coordArrayType.get=function(){return new Array(0).fill(null)},e.prototype.getCoordinate=function(t){return this.get(t)},e.prototype.addAll=function(){if(2===arguments.length){for(var e=arguments[0],r=arguments[1],n=!1,i=e.iterator();i.hasNext();)this.add(i.next(),r),n=!0;return n}return t.prototype.addAll.apply(this,arguments)},e.prototype.clone=function(){for(var e=t.prototype.clone.call(this),r=0;r<this.size();r++)e.add(r,this.get(r).copy());return e},e.prototype.toCoordinateArray=function(){return this.toArray(e.coordArrayType)},e.prototype.add=function(){if(1===arguments.length){var e=arguments[0];t.prototype.add.call(this,e)}else if(2===arguments.length){if(arguments[0]instanceof Array&&"boolean"==typeof arguments[1]){var r=arguments[0],n=arguments[1];return this.add(r,n,!0),!0}if(arguments[0]instanceof ku&&"boolean"==typeof arguments[1]){var i=arguments[0];if(!arguments[1]&&this.size()>=1&&this.get(this.size()-1).equals2D(i))return null;t.prototype.add.call(this,i)}else if(arguments[0]instanceof Object&&"boolean"==typeof arguments[1]){var o=arguments[0],a=arguments[1];return this.add(o,a),!0}}else if(3===arguments.length){if("boolean"==typeof arguments[2]&&arguments[0]instanceof Array&&"boolean"==typeof arguments[1]){var s=arguments[0],u=arguments[1];if(arguments[2])for(var c=0;c<s.length;c++)this.add(s[c],u);else for(var l=s.length-1;l>=0;l--)this.add(s[l],u);return!0}if("boolean"==typeof arguments[2]&&Number.isInteger(arguments[0])&&arguments[1]instanceof ku){var h=arguments[0],f=arguments[1];if(!arguments[2]){var d=this.size();if(d>0){if(h>0&&this.get(h-1).equals2D(f))return null;if(h<d&&this.get(h).equals2D(f))return null}}t.prototype.add.call(this,h,f)}}else if(4===arguments.length){var p=arguments[0],m=arguments[1],g=arguments[2],y=arguments[3],v=1;g>y&&(v=-1);for(var b=g;b!==y;b+=v)this.add(p[b],m);return!0}},e.prototype.closeRing=function(){this.size()>0&&this.add(new ku(this.get(0)),!1)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},Object.defineProperties(e,r),e}(kc),Mc=function(){},Ac={ForwardComparator:{configurable:!0},BidirectionalComparator:{configurable:!0},coordArrayType:{configurable:!0}};Ac.ForwardComparator.get=function(){return Tc},Ac.BidirectionalComparator.get=function(){return Cc},Ac.coordArrayType.get=function(){return new Array(0).fill(null)},Mc.prototype.interfaces_=function(){return[]},Mc.prototype.getClass=function(){return Mc},Mc.isRing=function(t){return!(t.length<4)&&!!t[0].equals2D(t[t.length-1])},Mc.ptNotInList=function(t,e){for(var r=0;r<t.length;r++){var n=t[r];if(Mc.indexOf(n,e)<0)return n}return null},Mc.scroll=function(t,e){var r=Mc.indexOf(e,t);if(r<0)return null;var n=new Array(t.length).fill(null);zu.arraycopy(t,r,n,0,t.length-r),zu.arraycopy(t,0,n,t.length-r,r),zu.arraycopy(n,0,t,0,t.length)},Mc.equals=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1];if(t===e)return!0;if(null===t||null===e)return!1;if(t.length!==e.length)return!1;for(var r=0;r<t.length;r++)if(!t[r].equals(e[r]))return!1;return!0}if(3===arguments.length){var n=arguments[0],i=arguments[1],o=arguments[2];if(n===i)return!0;if(null===n||null===i)return!1;if(n.length!==i.length)return!1;for(var a=0;a<n.length;a++)if(0!==o.compare(n[a],i[a]))return!1;return!0}},Mc.intersection=function(t,e){for(var r=new Ec,n=0;n<t.length;n++)e.intersects(t[n])&&r.add(t[n],!0);return r.toCoordinateArray()},Mc.hasRepeatedPoints=function(t){for(var e=1;e<t.length;e++)if(t[e-1].equals(t[e]))return!0;return!1},Mc.removeRepeatedPoints=function(t){return Mc.hasRepeatedPoints(t)?new Ec(t,!1).toCoordinateArray():t},Mc.reverse=function(t){for(var e=t.length-1,r=Math.trunc(e/2),n=0;n<=r;n++){var i=t[n];t[n]=t[e-n],t[e-n]=i}},Mc.removeNull=function(t){for(var e=0,r=0;r<t.length;r++)null!==t[r]&&e++;var n=new Array(e).fill(null);if(0===e)return n;for(var i=0,o=0;o<t.length;o++)null!==t[o]&&(n[i++]=t[o]);return n},Mc.copyDeep=function(){if(1===arguments.length){for(var t=arguments[0],e=new Array(t.length).fill(null),r=0;r<t.length;r++)e[r]=new ku(t[r]);return e}if(5===arguments.length)for(var n=arguments[0],i=arguments[1],o=arguments[2],a=arguments[3],s=arguments[4],u=0;u<s;u++)o[a+u]=new ku(n[i+u])},Mc.isEqualReversed=function(t,e){for(var r=0;r<t.length;r++){var n=t[r],i=e[t.length-r-1];if(0!==n.compareTo(i))return!1}return!0},Mc.envelope=function(t){for(var e=new $u,r=0;r<t.length;r++)e.expandToInclude(t[r]);return e},Mc.toCoordinateArray=function(t){return t.toArray(Mc.coordArrayType)},Mc.atLeastNCoordinatesOrNothing=function(t,e){return e.length>=t?e:[]},Mc.indexOf=function(t,e){for(var r=0;r<e.length;r++)if(t.equals(e[r]))return r;return-1},Mc.increasingDirection=function(t){for(var e=0;e<Math.trunc(t.length/2);e++){var r=t.length-1-e,n=t[e].compareTo(t[r]);if(0!==n)return n}return 1},Mc.compare=function(t,e){for(var r=0;r<t.length&&r<e.length;){var n=t[r].compareTo(e[r]);if(0!==n)return n;r++}return r<e.length?-1:r<t.length?1:0},Mc.minCoordinate=function(t){for(var e=null,r=0;r<t.length;r++)(null===e||e.compareTo(t[r])>0)&&(e=t[r]);return e},Mc.extract=function(t,e,r){e=Lu.clamp(e,0,t.length);var n=(r=Lu.clamp(r,-1,t.length))-e+1;r<0&&(n=0),e>=t.length&&(n=0),r<e&&(n=0);var i=new Array(n).fill(null);if(0===n)return i;for(var o=0,a=e;a<=r;a++)i[o++]=t[a];return i},Object.defineProperties(Mc,Ac);var Tc=function(){};Tc.prototype.compare=function(t,e){return Mc.compare(t,e)},Tc.prototype.interfaces_=function(){return[xu]},Tc.prototype.getClass=function(){return Tc};var Cc=function(){};Cc.prototype.compare=function(t,e){var r=t,n=e;if(r.length<n.length)return-1;if(r.length>n.length)return 1;if(0===r.length)return 0;var i=Mc.compare(r,n);return Mc.isEqualReversed(r,n)?0:i},Cc.prototype.OLDcompare=function(t,e){var r=t,n=e;if(r.length<n.length)return-1;if(r.length>n.length)return 1;if(0===r.length)return 0;for(var i=Mc.increasingDirection(r),o=Mc.increasingDirection(n),a=i>0?0:r.length-1,s=o>0?0:r.length-1,u=0;u<r.length;u++){var c=r[a].compareTo(n[s]);if(0!==c)return c;a+=i,s+=o}return 0},Cc.prototype.interfaces_=function(){return[xu]},Cc.prototype.getClass=function(){return Cc};var Lc=function(){};Lc.prototype.get=function(){},Lc.prototype.put=function(){},Lc.prototype.size=function(){},Lc.prototype.values=function(){},Lc.prototype.entrySet=function(){};var Pc=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(Lc);(Pi.prototype=new Error).name="OperationNotSupported",(Oi.prototype=new bc).contains=function(){};var Oc=function(t){function e(){t.call(this),this.array_=[],arguments[0]instanceof bc&&this.addAll(arguments[0])}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.contains=function(t){for(var e=0,r=this.array_.length;e<r;e++)if(this.array_[e]===t)return!0;return!1},e.prototype.add=function(t){return!this.contains(t)&&(this.array_.push(t),!0)},e.prototype.addAll=function(t){for(var e=t.iterator();e.hasNext();)this.add(e.next());return!0},e.prototype.remove=function(t){throw new Error},e.prototype.size=function(){return this.array_.length},e.prototype.isEmpty=function(){return 0===this.array_.length},e.prototype.toArray=function(){for(var t=[],e=0,r=this.array_.length;e<r;e++)t.push(this.array_[e]);return t},e.prototype.iterator=function(){return new Ic(this)},e}(Oi),Ic=function(t){function e(e){t.call(this),this.hashSet_=e,this.position_=0}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.next=function(){if(this.position_===this.hashSet_.size())throw new Li;return this.hashSet_.array_[this.position_++]},e.prototype.hasNext=function(){return this.position_<this.hashSet_.size()},e.prototype.remove=function(){throw new Pi},e}(wc),Dc=0;(Ri.prototype=new Pc).get=function(t){for(var e=this.root_;null!==e;){var r=t.compareTo(e.key);if(r<0)e=e.left;else{if(!(r>0))return e.value;e=e.right}}return null},Ri.prototype.put=function(t,e){if(null===this.root_)return this.root_={key:t,value:e,left:null,right:null,parent:null,color:Dc,getValue:function(){return this.value},getKey:function(){return this.key}},this.size_=1,null;var r,n,i=this.root_;do{if(r=i,(n=t.compareTo(i.key))<0)i=i.left;else{if(!(n>0)){var o=i.value;return i.value=e,o}i=i.right}}while(null!==i);var a={key:t,left:null,right:null,value:e,parent:r,color:Dc,getValue:function(){return this.value},getKey:function(){return this.key}};return n<0?r.left=a:r.right=a,this.fixAfterInsertion(a),this.size_++,null},Ri.prototype.fixAfterInsertion=function(t){for(t.color=1;null!=t&&t!==this.root_&&1===t.parent.color;)if(Di(t)===ji(Di(Di(t)))){var e=Ni(Di(Di(t)));1===Ii(e)?(Bi(Di(t),Dc),Bi(e,Dc),Bi(Di(Di(t)),1),t=Di(Di(t))):(t===Ni(Di(t))&&(t=Di(t),this.rotateLeft(t)),Bi(Di(t),Dc),Bi(Di(Di(t)),1),this.rotateRight(Di(Di(t))))}else{var r=ji(Di(Di(t)));1===Ii(r)?(Bi(Di(t),Dc),Bi(r,Dc),Bi(Di(Di(t)),1),t=Di(Di(t))):(t===ji(Di(t))&&(t=Di(t),this.rotateRight(t)),Bi(Di(t),Dc),Bi(Di(Di(t)),1),this.rotateLeft(Di(Di(t))))}this.root_.color=Dc},Ri.prototype.values=function(){var t=new kc,e=this.getFirstEntry();if(null!==e)for(t.add(e.value);null!==(e=Ri.successor(e));)t.add(e.value);return t},Ri.prototype.entrySet=function(){var t=new Oc,e=this.getFirstEntry();if(null!==e)for(t.add(e);null!==(e=Ri.successor(e));)t.add(e);return t},Ri.prototype.rotateLeft=function(t){if(null!=t){var e=t.right;t.right=e.left,null!=e.left&&(e.left.parent=t),e.parent=t.parent,null===t.parent?this.root_=e:t.parent.left===t?t.parent.left=e:t.parent.right=e,e.left=t,t.parent=e}},Ri.prototype.rotateRight=function(t){if(null!=t){var e=t.left;t.left=e.right,null!=e.right&&(e.right.parent=t),e.parent=t.parent,null===t.parent?this.root_=e:t.parent.right===t?t.parent.right=e:t.parent.left=e,e.right=t,t.parent=e}},Ri.prototype.getFirstEntry=function(){var t=this.root_;if(null!=t)for(;null!=t.left;)t=t.left;return t},Ri.successor=function(t){if(null===t)return null;if(null!==t.right){for(var e=t.right;null!==e.left;)e=e.left;return e}for(var r=t.parent,n=t;null!==r&&n===r.right;)n=r,r=r.parent;return r},Ri.prototype.size=function(){return this.size_};var Bc=function(){};Bc.prototype.interfaces_=function(){return[]},Bc.prototype.getClass=function(){return Bc},Fi.prototype=new Oi,(Yi.prototype=new Fi).contains=function(t){for(var e=0,r=this.array_.length;e<r;e++)if(0===this.array_[e].compareTo(t))return!0;return!1},Yi.prototype.add=function(t){if(this.contains(t))return!1;for(var e=0,r=this.array_.length;e<r;e++)if(1===this.array_[e].compareTo(t))return this.array_.splice(e,0,t),!0;return this.array_.push(t),!0},Yi.prototype.addAll=function(t){for(var e=t.iterator();e.hasNext();)this.add(e.next());return!0},Yi.prototype.remove=function(t){throw new Pi},Yi.prototype.size=function(){return this.array_.length},Yi.prototype.isEmpty=function(){return 0===this.array_.length},Yi.prototype.toArray=function(){for(var t=[],e=0,r=this.array_.length;e<r;e++)t.push(this.array_[e]);return t},Yi.prototype.iterator=function(){return new jc(this)};var jc=function(t){this.treeSet_=t,this.position_=0};jc.prototype.next=function(){if(this.position_===this.treeSet_.size())throw new Li;return this.treeSet_.array_[this.position_++]},jc.prototype.hasNext=function(){return this.position_<this.treeSet_.size()},jc.prototype.remove=function(){throw new Pi};var Nc=function(){};Nc.sort=function(){var t,e,r,n,i=arguments[0];if(1===arguments.length)n=function(t,e){return t.compareTo(e)},i.sort(n);else if(2===arguments.length)r=arguments[1],n=function(t,e){return r.compare(t,e)},i.sort(n);else if(3===arguments.length){(e=i.slice(arguments[1],arguments[2])).sort();var o=i.slice(0,arguments[1]).concat(e,i.slice(arguments[2],i.length));for(i.splice(0,i.length),t=0;t<o.length;t++)i.push(o[t])}else if(4===arguments.length)for(e=i.slice(arguments[1],arguments[2]),r=arguments[3],n=function(t,e){return r.compare(t,e)},e.sort(n),o=i.slice(0,arguments[1]).concat(e,i.slice(arguments[2],i.length)),i.splice(0,i.length),t=0;t<o.length;t++)i.push(o[t])},Nc.asList=function(t){for(var e=new kc,r=0,n=t.length;r<n;r++)e.add(t[r]);return e};var Rc=function(){},Fc={P:{configurable:!0},L:{configurable:!0},A:{configurable:!0},FALSE:{configurable:!0},TRUE:{configurable:!0},DONTCARE:{configurable:!0},SYM_FALSE:{configurable:!0},SYM_TRUE:{configurable:!0},SYM_DONTCARE:{configurable:!0},SYM_P:{configurable:!0},SYM_L:{configurable:!0},SYM_A:{configurable:!0}};Fc.P.get=function(){return 0},Fc.L.get=function(){return 1},Fc.A.get=function(){return 2},Fc.FALSE.get=function(){return-1},Fc.TRUE.get=function(){return-2},Fc.DONTCARE.get=function(){return-3},Fc.SYM_FALSE.get=function(){return"F"},Fc.SYM_TRUE.get=function(){return"T"},Fc.SYM_DONTCARE.get=function(){return"*"},Fc.SYM_P.get=function(){return"0"},Fc.SYM_L.get=function(){return"1"},Fc.SYM_A.get=function(){return"2"},Rc.prototype.interfaces_=function(){return[]},Rc.prototype.getClass=function(){return Rc},Rc.toDimensionSymbol=function(t){switch(t){case Rc.FALSE:return Rc.SYM_FALSE;case Rc.TRUE:return Rc.SYM_TRUE;case Rc.DONTCARE:return Rc.SYM_DONTCARE;case Rc.P:return Rc.SYM_P;case Rc.L:return Rc.SYM_L;case Rc.A:return Rc.SYM_A}throw new yu("Unknown dimension value: "+t)},Rc.toDimensionValue=function(t){switch(Du.toUpperCase(t)){case Rc.SYM_FALSE:return Rc.FALSE;case Rc.SYM_TRUE:return Rc.TRUE;case Rc.SYM_DONTCARE:return Rc.DONTCARE;case Rc.SYM_P:return Rc.P;case Rc.SYM_L:return Rc.L;case Rc.SYM_A:return Rc.A}throw new yu("Unknown dimension symbol: "+t)},Object.defineProperties(Rc,Fc);var Yc=function(){};Yc.prototype.filter=function(t){},Yc.prototype.interfaces_=function(){return[]},Yc.prototype.getClass=function(){return Yc};var Uc=function(){};Uc.prototype.filter=function(t,e){},Uc.prototype.isDone=function(){},Uc.prototype.isGeometryChanged=function(){},Uc.prototype.interfaces_=function(){return[]},Uc.prototype.getClass=function(){return Uc};var Hc=function(t){function e(e,r){if(t.call(this,r),this._geometries=e||[],t.hasNullElements(this._geometries))throw new yu("geometries must not contain null elements")}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var r={serialVersionUID:{configurable:!0}};return e.prototype.computeEnvelopeInternal=function(){for(var t=new $u,e=0;e<this._geometries.length;e++)t.expandToInclude(this._geometries[e].getEnvelopeInternal());return t},e.prototype.getGeometryN=function(t){return this._geometries[t]},e.prototype.getSortIndex=function(){return t.SORTINDEX_GEOMETRYCOLLECTION},e.prototype.getCoordinates=function(){for(var t=new Array(this.getNumPoints()).fill(null),e=-1,r=0;r<this._geometries.length;r++)for(var n=this._geometries[r].getCoordinates(),i=0;i<n.length;i++)t[++e]=n[i];return t},e.prototype.getArea=function(){for(var t=0,e=0;e<this._geometries.length;e++)t+=this._geometries[e].getArea();return t},e.prototype.equalsExact=function(){if(2===arguments.length){var e=arguments[0],r=arguments[1];if(!this.isEquivalentClass(e))return!1;var n=e;if(this._geometries.length!==n._geometries.length)return!1;for(var i=0;i<this._geometries.length;i++)if(!this._geometries[i].equalsExact(n._geometries[i],r))return!1;return!0}return t.prototype.equalsExact.apply(this,arguments)},e.prototype.normalize=function(){for(var t=0;t<this._geometries.length;t++)this._geometries[t].normalize();Nc.sort(this._geometries)},e.prototype.getCoordinate=function(){return this.isEmpty()?null:this._geometries[0].getCoordinate()},e.prototype.getBoundaryDimension=function(){for(var t=Rc.FALSE,e=0;e<this._geometries.length;e++)t=Math.max(t,this._geometries[e].getBoundaryDimension());return t},e.prototype.getDimension=function(){for(var t=Rc.FALSE,e=0;e<this._geometries.length;e++)t=Math.max(t,this._geometries[e].getDimension());return t},e.prototype.getLength=function(){for(var t=0,e=0;e<this._geometries.length;e++)t+=this._geometries[e].getLength();return t},e.prototype.getNumPoints=function(){for(var t=0,e=0;e<this._geometries.length;e++)t+=this._geometries[e].getNumPoints();return t},e.prototype.getNumGeometries=function(){return this._geometries.length},e.prototype.reverse=function(){for(var t=this._geometries.length,e=new Array(t).fill(null),r=0;r<this._geometries.length;r++)e[r]=this._geometries[r].reverse();return this.getFactory().createGeometryCollection(e)},e.prototype.compareToSameClass=function(){if(1===arguments.length){var t=arguments[0],e=new Yi(Nc.asList(this._geometries)),r=new Yi(Nc.asList(t._geometries));return this.compare(e,r)}if(2===arguments.length){for(var n=arguments[0],i=arguments[1],o=n,a=this.getNumGeometries(),s=o.getNumGeometries(),u=0;u<a&&u<s;){var c=this.getGeometryN(u),l=o.getGeometryN(u),h=c.compareToSameClass(l,i);if(0!==h)return h;u++}return u<a?1:u<s?-1:0}},e.prototype.apply=function(){if(Cu(arguments[0],fc))for(var t=arguments[0],e=0;e<this._geometries.length;e++)this._geometries[e].apply(t);else if(Cu(arguments[0],Uc)){var r=arguments[0];if(0===this._geometries.length)return null;for(var n=0;n<this._geometries.length&&(this._geometries[n].apply(r),!r.isDone());n++);r.isGeometryChanged()&&this.geometryChanged()}else if(Cu(arguments[0],Yc)){var i=arguments[0];i.filter(this);for(var o=0;o<this._geometries.length;o++)this._geometries[o].apply(i)}else if(Cu(arguments[0],uc)){var a=arguments[0];a.filter(this);for(var s=0;s<this._geometries.length;s++)this._geometries[s].apply(a)}},e.prototype.getBoundary=function(){return this.checkNotGeometryCollection(this),tc.shouldNeverReachHere(),null},e.prototype.clone=function(){var e=t.prototype.clone.call(this);e._geometries=new Array(this._geometries.length).fill(null);for(var r=0;r<this._geometries.length;r++)e._geometries[r]=this._geometries[r].clone();return e},e.prototype.getGeometryType=function(){return"GeometryCollection"},e.prototype.copy=function(){for(var t=new Array(this._geometries.length).fill(null),r=0;r<t.length;r++)t[r]=this._geometries[r].copy();return new e(t,this._factory)},e.prototype.isEmpty=function(){for(var t=0;t<this._geometries.length;t++)if(!this._geometries[t].isEmpty())return!1;return!0},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},r.serialVersionUID.get=function(){return-0x4f07bcb1f857d800},Object.defineProperties(e,r),e}(cc),zc=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var r={serialVersionUID:{configurable:!0}};return e.prototype.getSortIndex=function(){return cc.SORTINDEX_MULTILINESTRING},e.prototype.equalsExact=function(){if(2===arguments.length){var e=arguments[0],r=arguments[1];return!!this.isEquivalentClass(e)&&t.prototype.equalsExact.call(this,e,r)}return t.prototype.equalsExact.apply(this,arguments)},e.prototype.getBoundaryDimension=function(){return this.isClosed()?Rc.FALSE:0},e.prototype.isClosed=function(){if(this.isEmpty())return!1;for(var t=0;t<this._geometries.length;t++)if(!this._geometries[t].isClosed())return!1;return!0},e.prototype.getDimension=function(){return 1},e.prototype.reverse=function(){for(var t=this._geometries.length,e=new Array(t).fill(null),r=0;r<this._geometries.length;r++)e[t-1-r]=this._geometries[r].reverse();return this.getFactory().createMultiLineString(e)},e.prototype.getBoundary=function(){return new Vc(this).getBoundary()},e.prototype.getGeometryType=function(){return"MultiLineString"},e.prototype.copy=function(){for(var t=new Array(this._geometries.length).fill(null),r=0;r<t.length;r++)t[r]=this._geometries[r].copy();return new e(t,this._factory)},e.prototype.interfaces_=function(){return[Bc]},e.prototype.getClass=function(){return e},r.serialVersionUID.get=function(){return 0x7155d2ab4afa8000},Object.defineProperties(e,r),e}(Hc),Vc=function(){if(this._geom=null,this._geomFact=null,this._bnRule=null,this._endpointMap=null,1===arguments.length){var t=arguments[0],e=dc.MOD2_BOUNDARY_RULE;this._geom=t,this._geomFact=t.getFactory(),this._bnRule=e}else if(2===arguments.length){var r=arguments[0],n=arguments[1];this._geom=r,this._geomFact=r.getFactory(),this._bnRule=n}};Vc.prototype.boundaryMultiLineString=function(t){if(this._geom.isEmpty())return this.getEmptyMultiPoint();var e=this.computeBoundaryCoordinates(t);return 1===e.length?this._geomFact.createPoint(e[0]):this._geomFact.createMultiPointFromCoords(e)},Vc.prototype.getBoundary=function(){return this._geom instanceof Kc?this.boundaryLineString(this._geom):this._geom instanceof zc?this.boundaryMultiLineString(this._geom):this._geom.getBoundary()},Vc.prototype.boundaryLineString=function(t){return this._geom.isEmpty()?this.getEmptyMultiPoint():t.isClosed()?this._bnRule.isInBoundary(2)?t.getStartPoint():this._geomFact.createMultiPoint():this._geomFact.createMultiPoint([t.getStartPoint(),t.getEndPoint()])},Vc.prototype.getEmptyMultiPoint=function(){return this._geomFact.createMultiPoint()},Vc.prototype.computeBoundaryCoordinates=function(t){var e=new kc;this._endpointMap=new Ri;for(var r=0;r<t.getNumGeometries();r++){var n=t.getGeometryN(r);0!==n.getNumPoints()&&(this.addEndpoint(n.getCoordinateN(0)),this.addEndpoint(n.getCoordinateN(n.getNumPoints()-1)))}for(var i=this._endpointMap.entrySet().iterator();i.hasNext();){var o=i.next(),a=o.getValue().count;this._bnRule.isInBoundary(a)&&e.add(o.getKey())}return Mc.toCoordinateArray(e)},Vc.prototype.addEndpoint=function(t){var e=this._endpointMap.get(t);null===e&&(e=new $c,this._endpointMap.put(t,e)),e.count++},Vc.prototype.interfaces_=function(){return[]},Vc.prototype.getClass=function(){return Vc},Vc.getBoundary=function(){if(1===arguments.length){var t=arguments[0];return new Vc(t).getBoundary()}if(2===arguments.length){var e=arguments[0],r=arguments[1];return new Vc(e,r).getBoundary()}};var $c=function(){this.count=null};$c.prototype.interfaces_=function(){return[]},$c.prototype.getClass=function(){return $c};var qc=function(){},Gc={NEWLINE:{configurable:!0},SIMPLE_ORDINATE_FORMAT:{configurable:!0}};qc.prototype.interfaces_=function(){return[]},qc.prototype.getClass=function(){return qc},qc.chars=function(t,e){for(var r=new Array(e).fill(null),n=0;n<e;n++)r[n]=t;return String(r)},qc.getStackTrace=function(){if(1===arguments.length){var t=arguments[0],e=new function(){},r=new function(){}(e);return t.printStackTrace(r),e.toString()}if(2===arguments.length){for(var n=arguments[0],i=arguments[1],o="",a=new function(){}(new function(){}(qc.getStackTrace(n))),s=0;s<i;s++)try{o+=a.readLine()+qc.NEWLINE}catch(t){if(!(t instanceof Ui))throw t;tc.shouldNeverReachHere()}return o}},qc.split=function(t,e){for(var r=e.length,n=new kc,i=""+t,o=i.indexOf(e);o>=0;){var a=i.substring(0,o);n.add(a),o=(i=i.substring(o+r)).indexOf(e)}i.length>0&&n.add(i);for(var s=new Array(n.size()).fill(null),u=0;u<s.length;u++)s[u]=n.get(u);return s},qc.toString=function(){if(1===arguments.length){var t=arguments[0];return qc.SIMPLE_ORDINATE_FORMAT.format(t)}},qc.spaces=function(t){return qc.chars(" ",t)},Gc.NEWLINE.get=function(){return zu.getProperty("line.separator")},Gc.SIMPLE_ORDINATE_FORMAT.get=function(){return new function(){}("0.#")},Object.defineProperties(qc,Gc);var Wc=function(){};Wc.prototype.interfaces_=function(){return[]},Wc.prototype.getClass=function(){return Wc},Wc.copyCoord=function(t,e,r,n){for(var i=Math.min(t.getDimension(),r.getDimension()),o=0;o<i;o++)r.setOrdinate(n,o,t.getOrdinate(e,o))},Wc.isRing=function(t){var e=t.size();return 0===e||!(e<=3)&&t.getOrdinate(0,Fu.X)===t.getOrdinate(e-1,Fu.X)&&t.getOrdinate(0,Fu.Y)===t.getOrdinate(e-1,Fu.Y)},Wc.isEqual=function(t,e){var r=t.size();if(r!==e.size())return!1;for(var n=Math.min(t.getDimension(),e.getDimension()),i=0;i<r;i++)for(var o=0;o<n;o++){var a=t.getOrdinate(i,o),s=e.getOrdinate(i,o);if(t.getOrdinate(i,o)!==e.getOrdinate(i,o)&&(!vu.isNaN(a)||!vu.isNaN(s)))return!1}return!0},Wc.extend=function(t,e,r){var n=t.create(r,e.getDimension()),i=e.size();if(Wc.copy(e,0,n,0,i),i>0)for(var o=i;o<r;o++)Wc.copy(e,i-1,n,o,1);return n},Wc.reverse=function(t){for(var e=t.size()-1,r=Math.trunc(e/2),n=0;n<=r;n++)Wc.swap(t,n,e-n)},Wc.swap=function(t,e,r){if(e===r)return null;for(var n=0;n<t.getDimension();n++){var i=t.getOrdinate(e,n);t.setOrdinate(e,n,t.getOrdinate(r,n)),t.setOrdinate(r,n,i)}},Wc.copy=function(t,e,r,n,i){for(var o=0;o<i;o++)Wc.copyCoord(t,e+o,r,n+o)},Wc.toString=function(){if(1===arguments.length){var t=arguments[0],e=t.size();if(0===e)return"()";var r=t.getDimension(),n=new Ou;n.append("(");for(var i=0;i<e;i++){i>0&&n.append(" ");for(var o=0;o<r;o++)o>0&&n.append(","),n.append(qc.toString(t.getOrdinate(i,o)))}return n.append(")"),n.toString()}},Wc.ensureValidRing=function(t,e){var r=e.size();return 0===r?e:r<=3?Wc.createClosedRing(t,e,4):e.getOrdinate(0,Fu.X)===e.getOrdinate(r-1,Fu.X)&&e.getOrdinate(0,Fu.Y)===e.getOrdinate(r-1,Fu.Y)?e:Wc.createClosedRing(t,e,r+1)},Wc.createClosedRing=function(t,e,r){var n=t.create(r,e.getDimension()),i=e.size();Wc.copy(e,0,n,0,i);for(var o=i;o<r;o++)Wc.copy(e,0,n,o,1);return n};var Kc=function(t){function e(e,r){t.call(this,r),this._points=null,this.init(e)}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var r={serialVersionUID:{configurable:!0}};return e.prototype.computeEnvelopeInternal=function(){return this.isEmpty()?new $u:this._points.expandEnvelope(new $u)},e.prototype.isRing=function(){return this.isClosed()&&this.isSimple()},e.prototype.getSortIndex=function(){return t.SORTINDEX_LINESTRING},e.prototype.getCoordinates=function(){return this._points.toCoordinateArray()},e.prototype.equalsExact=function(){if(2===arguments.length){var e=arguments[0],r=arguments[1];if(!this.isEquivalentClass(e))return!1;var n=e;if(this._points.size()!==n._points.size())return!1;for(var i=0;i<this._points.size();i++)if(!this.equal(this._points.getCoordinate(i),n._points.getCoordinate(i),r))return!1;return!0}return t.prototype.equalsExact.apply(this,arguments)},e.prototype.normalize=function(){for(var t=0;t<Math.trunc(this._points.size()/2);t++){var e=this._points.size()-1-t;if(!this._points.getCoordinate(t).equals(this._points.getCoordinate(e)))return this._points.getCoordinate(t).compareTo(this._points.getCoordinate(e))>0&&Wc.reverse(this._points),null}},e.prototype.getCoordinate=function(){return this.isEmpty()?null:this._points.getCoordinate(0)},e.prototype.getBoundaryDimension=function(){return this.isClosed()?Rc.FALSE:0},e.prototype.isClosed=function(){return!this.isEmpty()&&this.getCoordinateN(0).equals2D(this.getCoordinateN(this.getNumPoints()-1))},e.prototype.getEndPoint=function(){return this.isEmpty()?null:this.getPointN(this.getNumPoints()-1)},e.prototype.getDimension=function(){return 1},e.prototype.getLength=function(){return ac.computeLength(this._points)},e.prototype.getNumPoints=function(){return this._points.size()},e.prototype.reverse=function(){var t=this._points.copy();return Wc.reverse(t),this.getFactory().createLineString(t)},e.prototype.compareToSameClass=function(){if(1===arguments.length){for(var t=arguments[0],e=0,r=0;e<this._points.size()&&r<t._points.size();){var n=this._points.getCoordinate(e).compareTo(t._points.getCoordinate(r));if(0!==n)return n;e++,r++}return e<this._points.size()?1:r<t._points.size()?-1:0}if(2===arguments.length){var i=arguments[0];return arguments[1].compare(this._points,i._points)}},e.prototype.apply=function(){if(Cu(arguments[0],fc))for(var t=arguments[0],e=0;e<this._points.size();e++)t.filter(this._points.getCoordinate(e));else if(Cu(arguments[0],Uc)){var r=arguments[0];if(0===this._points.size())return null;for(var n=0;n<this._points.size()&&(r.filter(this._points,n),!r.isDone());n++);r.isGeometryChanged()&&this.geometryChanged()}else(Cu(arguments[0],Yc)||Cu(arguments[0],uc))&&arguments[0].filter(this)},e.prototype.getBoundary=function(){return new Vc(this).getBoundary()},e.prototype.isEquivalentClass=function(t){return t instanceof e},e.prototype.clone=function(){var e=t.prototype.clone.call(this);return e._points=this._points.clone(),e},e.prototype.getCoordinateN=function(t){return this._points.getCoordinate(t)},e.prototype.getGeometryType=function(){return"LineString"},e.prototype.copy=function(){return new e(this._points.copy(),this._factory)},e.prototype.getCoordinateSequence=function(){return this._points},e.prototype.isEmpty=function(){return 0===this._points.size()},e.prototype.init=function(t){if(null===t&&(t=this.getFactory().getCoordinateSequenceFactory().create([])),1===t.size())throw new yu("Invalid number of points in LineString (found "+t.size()+" - must be 0 or >= 2)");this._points=t},e.prototype.isCoordinate=function(t){for(var e=0;e<this._points.size();e++)if(this._points.getCoordinate(e).equals(t))return!0;return!1},e.prototype.getStartPoint=function(){return this.isEmpty()?null:this.getPointN(0)},e.prototype.getPointN=function(t){return this.getFactory().createPoint(this._points.getCoordinate(t))},e.prototype.interfaces_=function(){return[Bc]},e.prototype.getClass=function(){return e},r.serialVersionUID.get=function(){return 0x2b2b51ba435c8e00},Object.defineProperties(e,r),e}(cc),Xc=function(){};Xc.prototype.interfaces_=function(){return[]},Xc.prototype.getClass=function(){return Xc};var Jc=function(t){function e(e,r){t.call(this,r),this._coordinates=e||null,this.init(this._coordinates)}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var r={serialVersionUID:{configurable:!0}};return e.prototype.computeEnvelopeInternal=function(){if(this.isEmpty())return new $u;var t=new $u;return t.expandToInclude(this._coordinates.getX(0),this._coordinates.getY(0)),t},e.prototype.getSortIndex=function(){return t.SORTINDEX_POINT},e.prototype.getCoordinates=function(){return this.isEmpty()?[]:[this.getCoordinate()]},e.prototype.equalsExact=function(){if(2===arguments.length){var e=arguments[0],r=arguments[1];return!!this.isEquivalentClass(e)&&(!(!this.isEmpty()||!e.isEmpty())||this.isEmpty()===e.isEmpty()&&this.equal(e.getCoordinate(),this.getCoordinate(),r))}return t.prototype.equalsExact.apply(this,arguments)},e.prototype.normalize=function(){},e.prototype.getCoordinate=function(){return 0!==this._coordinates.size()?this._coordinates.getCoordinate(0):null},e.prototype.getBoundaryDimension=function(){return Rc.FALSE},e.prototype.getDimension=function(){return 0},e.prototype.getNumPoints=function(){return this.isEmpty()?0:1},e.prototype.reverse=function(){return this.copy()},e.prototype.getX=function(){if(null===this.getCoordinate())throw new Error("getX called on empty Point");return this.getCoordinate().x},e.prototype.compareToSameClass=function(){if(1===arguments.length){var t=arguments[0];return this.getCoordinate().compareTo(t.getCoordinate())}if(2===arguments.length){var e=arguments[0];return arguments[1].compare(this._coordinates,e._coordinates)}},e.prototype.apply=function(){if(Cu(arguments[0],fc)){var t=arguments[0];if(this.isEmpty())return null;t.filter(this.getCoordinate())}else if(Cu(arguments[0],Uc)){var e=arguments[0];if(this.isEmpty())return null;e.filter(this._coordinates,0),e.isGeometryChanged()&&this.geometryChanged()}else(Cu(arguments[0],Yc)||Cu(arguments[0],uc))&&arguments[0].filter(this)},e.prototype.getBoundary=function(){return this.getFactory().createGeometryCollection(null)},e.prototype.clone=function(){var e=t.prototype.clone.call(this);return e._coordinates=this._coordinates.clone(),e},e.prototype.getGeometryType=function(){return"Point"},e.prototype.copy=function(){return new e(this._coordinates.copy(),this._factory)},e.prototype.getCoordinateSequence=function(){return this._coordinates},e.prototype.getY=function(){if(null===this.getCoordinate())throw new Error("getY called on empty Point");return this.getCoordinate().y},e.prototype.isEmpty=function(){return 0===this._coordinates.size()},e.prototype.init=function(t){null===t&&(t=this.getFactory().getCoordinateSequenceFactory().create([])),tc.isTrue(t.size()<=1),this._coordinates=t},e.prototype.isSimple=function(){return!0},e.prototype.interfaces_=function(){return[Xc]},e.prototype.getClass=function(){return e},r.serialVersionUID.get=function(){return 0x44077bad161cbc00},Object.defineProperties(e,r),e}(cc),Zc=function(){};Zc.prototype.interfaces_=function(){return[]},Zc.prototype.getClass=function(){return Zc};var Qc=function(t){function e(e,r,n){if(t.call(this,n),this._shell=null,this._holes=null,null===e&&(e=this.getFactory().createLinearRing()),null===r&&(r=[]),t.hasNullElements(r))throw new yu("holes must not contain null elements");if(e.isEmpty()&&t.hasNonEmptyElements(r))throw new yu("shell is empty but holes are not");this._shell=e,this._holes=r}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var r={serialVersionUID:{configurable:!0}};return e.prototype.computeEnvelopeInternal=function(){return this._shell.getEnvelopeInternal()},e.prototype.getSortIndex=function(){return t.SORTINDEX_POLYGON},e.prototype.getCoordinates=function(){if(this.isEmpty())return[];for(var t=new Array(this.getNumPoints()).fill(null),e=-1,r=this._shell.getCoordinates(),n=0;n<r.length;n++)t[++e]=r[n];for(var i=0;i<this._holes.length;i++)for(var o=this._holes[i].getCoordinates(),a=0;a<o.length;a++)t[++e]=o[a];return t},e.prototype.getArea=function(){var t=0;t+=Math.abs(ac.signedArea(this._shell.getCoordinateSequence()));for(var e=0;e<this._holes.length;e++)t-=Math.abs(ac.signedArea(this._holes[e].getCoordinateSequence()));return t},e.prototype.isRectangle=function(){if(0!==this.getNumInteriorRing())return!1;if(null===this._shell)return!1;if(5!==this._shell.getNumPoints())return!1;for(var t=this._shell.getCoordinateSequence(),e=this.getEnvelopeInternal(),r=0;r<5;r++){var n=t.getX(r);if(n!==e.getMinX()&&n!==e.getMaxX())return!1;var i=t.getY(r);if(i!==e.getMinY()&&i!==e.getMaxY())return!1}for(var o=t.getX(0),a=t.getY(0),s=1;s<=4;s++){var u=t.getX(s),c=t.getY(s);if(u!==o===(c!==a))return!1;o=u,a=c}return!0},e.prototype.equalsExact=function(){if(2===arguments.length){var e=arguments[0],r=arguments[1];if(!this.isEquivalentClass(e))return!1;var n=e,i=this._shell,o=n._shell;if(!i.equalsExact(o,r))return!1;if(this._holes.length!==n._holes.length)return!1;for(var a=0;a<this._holes.length;a++)if(!this._holes[a].equalsExact(n._holes[a],r))return!1;return!0}return t.prototype.equalsExact.apply(this,arguments)},e.prototype.normalize=function(){if(0===arguments.length){this.normalize(this._shell,!0);for(var t=0;t<this._holes.length;t++)this.normalize(this._holes[t],!1);Nc.sort(this._holes)}else if(2===arguments.length){var e=arguments[0],r=arguments[1];if(e.isEmpty())return null;var n=new Array(e.getCoordinates().length-1).fill(null);zu.arraycopy(e.getCoordinates(),0,n,0,n.length);var i=Mc.minCoordinate(e.getCoordinates());Mc.scroll(n,i),zu.arraycopy(n,0,e.getCoordinates(),0,n.length),e.getCoordinates()[n.length]=n[0],ac.isCCW(e.getCoordinates())===r&&Mc.reverse(e.getCoordinates())}},e.prototype.getCoordinate=function(){return this._shell.getCoordinate()},e.prototype.getNumInteriorRing=function(){return this._holes.length},e.prototype.getBoundaryDimension=function(){return 1},e.prototype.getDimension=function(){return 2},e.prototype.getLength=function(){var t=0;t+=this._shell.getLength();for(var e=0;e<this._holes.length;e++)t+=this._holes[e].getLength();return t},e.prototype.getNumPoints=function(){for(var t=this._shell.getNumPoints(),e=0;e<this._holes.length;e++)t+=this._holes[e].getNumPoints();return t},e.prototype.reverse=function(){var t=this.copy();t._shell=this._shell.copy().reverse(),t._holes=new Array(this._holes.length).fill(null);for(var e=0;e<this._holes.length;e++)t._holes[e]=this._holes[e].copy().reverse();return t},e.prototype.convexHull=function(){return this.getExteriorRing().convexHull()},e.prototype.compareToSameClass=function(){if(1===arguments.length){var t=arguments[0],e=this._shell,r=t._shell;return e.compareToSameClass(r)}if(2===arguments.length){var n=arguments[0],i=arguments[1],o=n,a=this._shell,s=o._shell,u=a.compareToSameClass(s,i);if(0!==u)return u;for(var c=this.getNumInteriorRing(),l=o.getNumInteriorRing(),h=0;h<c&&h<l;){var f=this.getInteriorRingN(h),d=o.getInteriorRingN(h),p=f.compareToSameClass(d,i);if(0!==p)return p;h++}return h<c?1:h<l?-1:0}},e.prototype.apply=function(t){if(Cu(t,fc)){this._shell.apply(t);for(var e=0;e<this._holes.length;e++)this._holes[e].apply(t)}else if(Cu(t,Uc)){if(this._shell.apply(t),!t.isDone())for(var r=0;r<this._holes.length&&(this._holes[r].apply(t),!t.isDone());r++);t.isGeometryChanged()&&this.geometryChanged()}else if(Cu(t,Yc))t.filter(this);else if(Cu(t,uc)){t.filter(this),this._shell.apply(t);for(var n=0;n<this._holes.length;n++)this._holes[n].apply(t)}},e.prototype.getBoundary=function(){if(this.isEmpty())return this.getFactory().createMultiLineString();var t=new Array(this._holes.length+1).fill(null);t[0]=this._shell;for(var e=0;e<this._holes.length;e++)t[e+1]=this._holes[e];return t.length<=1?this.getFactory().createLinearRing(t[0].getCoordinateSequence()):this.getFactory().createMultiLineString(t)},e.prototype.clone=function(){var e=t.prototype.clone.call(this);e._shell=this._shell.clone(),e._holes=new Array(this._holes.length).fill(null);for(var r=0;r<this._holes.length;r++)e._holes[r]=this._holes[r].clone();return e},e.prototype.getGeometryType=function(){return"Polygon"},e.prototype.copy=function(){for(var t=this._shell.copy(),r=new Array(this._holes.length).fill(null),n=0;n<r.length;n++)r[n]=this._holes[n].copy();return new e(t,r,this._factory)},e.prototype.getExteriorRing=function(){return this._shell},e.prototype.isEmpty=function(){return this._shell.isEmpty()},e.prototype.getInteriorRingN=function(t){return this._holes[t]},e.prototype.interfaces_=function(){return[Zc]},e.prototype.getClass=function(){return e},r.serialVersionUID.get=function(){return-0x307ffefd8dc97200},Object.defineProperties(e,r),e}(cc),tl=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var r={serialVersionUID:{configurable:!0}};return e.prototype.getSortIndex=function(){return cc.SORTINDEX_MULTIPOINT},e.prototype.isValid=function(){return!0},e.prototype.equalsExact=function(){if(2===arguments.length){var e=arguments[0],r=arguments[1];return!!this.isEquivalentClass(e)&&t.prototype.equalsExact.call(this,e,r)}return t.prototype.equalsExact.apply(this,arguments)},e.prototype.getCoordinate=function(){if(1===arguments.length){var e=arguments[0];return this._geometries[e].getCoordinate()}return t.prototype.getCoordinate.apply(this,arguments)},e.prototype.getBoundaryDimension=function(){return Rc.FALSE},e.prototype.getDimension=function(){return 0},e.prototype.getBoundary=function(){return this.getFactory().createGeometryCollection(null)},e.prototype.getGeometryType=function(){return"MultiPoint"},e.prototype.copy=function(){for(var t=new Array(this._geometries.length).fill(null),r=0;r<t.length;r++)t[r]=this._geometries[r].copy();return new e(t,this._factory)},e.prototype.interfaces_=function(){return[Xc]},e.prototype.getClass=function(){return e},r.serialVersionUID.get=function(){return-0x6fb1ed4162e0fc00},Object.defineProperties(e,r),e}(Hc),el=function(t){function e(e,r){e instanceof ku&&r instanceof yl&&(e=r.getCoordinateSequenceFactory().create(e)),t.call(this,e,r),this.validateConstruction()}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var r={MINIMUM_VALID_SIZE:{configurable:!0},serialVersionUID:{configurable:!0}};return e.prototype.getSortIndex=function(){return cc.SORTINDEX_LINEARRING},e.prototype.getBoundaryDimension=function(){return Rc.FALSE},e.prototype.isClosed=function(){return!!this.isEmpty()||t.prototype.isClosed.call(this)},e.prototype.reverse=function(){var t=this._points.copy();return Wc.reverse(t),this.getFactory().createLinearRing(t)},e.prototype.validateConstruction=function(){if(!this.isEmpty()&&!t.prototype.isClosed.call(this))throw new yu("Points of LinearRing do not form a closed linestring");if(this.getCoordinateSequence().size()>=1&&this.getCoordinateSequence().size()<e.MINIMUM_VALID_SIZE)throw new yu("Invalid number of points in LinearRing (found "+this.getCoordinateSequence().size()+" - must be 0 or >= 4)")},e.prototype.getGeometryType=function(){return"LinearRing"},e.prototype.copy=function(){return new e(this._points.copy(),this._factory)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},r.MINIMUM_VALID_SIZE.get=function(){return 4},r.serialVersionUID.get=function(){return-0x3b229e262367a600},Object.defineProperties(e,r),e}(Kc),rl=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var r={serialVersionUID:{configurable:!0}};return e.prototype.getSortIndex=function(){return cc.SORTINDEX_MULTIPOLYGON},e.prototype.equalsExact=function(){if(2===arguments.length){var e=arguments[0],r=arguments[1];return!!this.isEquivalentClass(e)&&t.prototype.equalsExact.call(this,e,r)}return t.prototype.equalsExact.apply(this,arguments)},e.prototype.getBoundaryDimension=function(){return 1},e.prototype.getDimension=function(){return 2},e.prototype.reverse=function(){for(var t=this._geometries.length,e=new Array(t).fill(null),r=0;r<this._geometries.length;r++)e[r]=this._geometries[r].reverse();return this.getFactory().createMultiPolygon(e)},e.prototype.getBoundary=function(){if(this.isEmpty())return this.getFactory().createMultiLineString();for(var t=new kc,e=0;e<this._geometries.length;e++)for(var r=this._geometries[e].getBoundary(),n=0;n<r.getNumGeometries();n++)t.add(r.getGeometryN(n));var i=new Array(t.size()).fill(null);return this.getFactory().createMultiLineString(t.toArray(i))},e.prototype.getGeometryType=function(){return"MultiPolygon"},e.prototype.copy=function(){for(var t=new Array(this._geometries.length).fill(null),r=0;r<t.length;r++)t[r]=this._geometries[r].copy();return new e(t,this._factory)},e.prototype.interfaces_=function(){return[Zc]},e.prototype.getClass=function(){return e},r.serialVersionUID.get=function(){return-0x7a5aa1369171980},Object.defineProperties(e,r),e}(Hc),nl=function(t){this._factory=t||null,this._isUserDataCopied=!1},il={NoOpGeometryOperation:{configurable:!0},CoordinateOperation:{configurable:!0},CoordinateSequenceOperation:{configurable:!0}};nl.prototype.setCopyUserData=function(t){this._isUserDataCopied=t},nl.prototype.edit=function(t,e){if(null===t)return null;var r=this.editInternal(t,e);return this._isUserDataCopied&&r.setUserData(t.getUserData()),r},nl.prototype.editInternal=function(t,e){return null===this._factory&&(this._factory=t.getFactory()),t instanceof Hc?this.editGeometryCollection(t,e):t instanceof Qc?this.editPolygon(t,e):t instanceof Jc||t instanceof Kc?e.edit(t,this._factory):(tc.shouldNeverReachHere("Unsupported Geometry class: "+t.getClass().getName()),null)},nl.prototype.editGeometryCollection=function(t,e){for(var r=e.edit(t,this._factory),n=new kc,i=0;i<r.getNumGeometries();i++){var o=this.edit(r.getGeometryN(i),e);null===o||o.isEmpty()||n.add(o)}return r.getClass()===tl?this._factory.createMultiPoint(n.toArray([])):r.getClass()===zc?this._factory.createMultiLineString(n.toArray([])):r.getClass()===rl?this._factory.createMultiPolygon(n.toArray([])):this._factory.createGeometryCollection(n.toArray([]))},nl.prototype.editPolygon=function(t,e){var r=e.edit(t,this._factory);if(null===r&&(r=this._factory.createPolygon(null)),r.isEmpty())return r;var n=this.edit(r.getExteriorRing(),e);if(null===n||n.isEmpty())return this._factory.createPolygon();for(var i=new kc,o=0;o<r.getNumInteriorRing();o++){var a=this.edit(r.getInteriorRingN(o),e);null===a||a.isEmpty()||i.add(a)}return this._factory.createPolygon(n,i.toArray([]))},nl.prototype.interfaces_=function(){return[]},nl.prototype.getClass=function(){return nl},nl.GeometryEditorOperation=function(){},il.NoOpGeometryOperation.get=function(){return ol},il.CoordinateOperation.get=function(){return al},il.CoordinateSequenceOperation.get=function(){return sl},Object.defineProperties(nl,il);var ol=function(){};ol.prototype.edit=function(t,e){return t},ol.prototype.interfaces_=function(){return[nl.GeometryEditorOperation]},ol.prototype.getClass=function(){return ol};var al=function(){};al.prototype.edit=function(t,e){var r=this.editCoordinates(t.getCoordinates(),t);return null===r?t:t instanceof el?e.createLinearRing(r):t instanceof Kc?e.createLineString(r):t instanceof Jc?r.length>0?e.createPoint(r[0]):e.createPoint():t},al.prototype.interfaces_=function(){return[nl.GeometryEditorOperation]},al.prototype.getClass=function(){return al};var sl=function(){};sl.prototype.edit=function(t,e){return t instanceof el?e.createLinearRing(this.edit(t.getCoordinateSequence(),t)):t instanceof Kc?e.createLineString(this.edit(t.getCoordinateSequence(),t)):t instanceof Jc?e.createPoint(this.edit(t.getCoordinateSequence(),t)):t},sl.prototype.interfaces_=function(){return[nl.GeometryEditorOperation]},sl.prototype.getClass=function(){return sl};var ul=function(){if(this._dimension=3,this._coordinates=null,1===arguments.length){if(arguments[0]instanceof Array)this._coordinates=arguments[0],this._dimension=3;else if(Number.isInteger(arguments[0])){var t=arguments[0];this._coordinates=new Array(t).fill(null);for(var e=0;e<t;e++)this._coordinates[e]=new ku}else if(Cu(arguments[0],Fu)){var r=arguments[0];if(null===r)return this._coordinates=new Array(0).fill(null),null;this._dimension=r.getDimension(),this._coordinates=new Array(r.size()).fill(null);for(var n=0;n<this._coordinates.length;n++)this._coordinates[n]=r.getCoordinateCopy(n)}}else if(2===arguments.length)if(arguments[0]instanceof Array&&Number.isInteger(arguments[1])){var i=arguments[0],o=arguments[1];this._coordinates=i,this._dimension=o,null===i&&(this._coordinates=new Array(0).fill(null))}else if(Number.isInteger(arguments[0])&&Number.isInteger(arguments[1])){var a=arguments[0],s=arguments[1];this._coordinates=new Array(a).fill(null),this._dimension=s;for(var u=0;u<a;u++)this._coordinates[u]=new ku}},cl={serialVersionUID:{configurable:!0}};ul.prototype.setOrdinate=function(t,e,r){switch(e){case Fu.X:this._coordinates[t].x=r;break;case Fu.Y:this._coordinates[t].y=r;break;case Fu.Z:this._coordinates[t].z=r;break;default:throw new yu("invalid ordinateIndex")}},ul.prototype.size=function(){return this._coordinates.length},ul.prototype.getOrdinate=function(t,e){switch(e){case Fu.X:return this._coordinates[t].x;case Fu.Y:return this._coordinates[t].y;case Fu.Z:return this._coordinates[t].z}return vu.NaN},ul.prototype.getCoordinate=function(){if(1===arguments.length){var t=arguments[0];return this._coordinates[t]}if(2===arguments.length){var e=arguments[0],r=arguments[1];r.x=this._coordinates[e].x,r.y=this._coordinates[e].y,r.z=this._coordinates[e].z}},ul.prototype.getCoordinateCopy=function(t){return new ku(this._coordinates[t])},ul.prototype.getDimension=function(){return this._dimension},ul.prototype.getX=function(t){return this._coordinates[t].x},ul.prototype.clone=function(){for(var t=new Array(this.size()).fill(null),e=0;e<this._coordinates.length;e++)t[e]=this._coordinates[e].clone();return new ul(t,this._dimension)},ul.prototype.expandEnvelope=function(t){for(var e=0;e<this._coordinates.length;e++)t.expandToInclude(this._coordinates[e]);return t},ul.prototype.copy=function(){for(var t=new Array(this.size()).fill(null),e=0;e<this._coordinates.length;e++)t[e]=this._coordinates[e].copy();return new ul(t,this._dimension)},ul.prototype.toString=function(){if(this._coordinates.length>0){var t=new Ou(17*this._coordinates.length);t.append("("),t.append(this._coordinates[0]);for(var e=1;e<this._coordinates.length;e++)t.append(", "),t.append(this._coordinates[e]);return t.append(")"),t.toString()}return"()"},ul.prototype.getY=function(t){return this._coordinates[t].y},ul.prototype.toCoordinateArray=function(){return this._coordinates},ul.prototype.interfaces_=function(){return[Fu,Ci]},ul.prototype.getClass=function(){return ul},cl.serialVersionUID.get=function(){return-0xcb44a778db18e00},Object.defineProperties(ul,cl);var ll=function(){},hl={serialVersionUID:{configurable:!0},instanceObject:{configurable:!0}};ll.prototype.readResolve=function(){return ll.instance()},ll.prototype.create=function(){if(1===arguments.length){if(arguments[0]instanceof Array){var t=arguments[0];return new ul(t)}if(Cu(arguments[0],Fu)){var e=arguments[0];return new ul(e)}}else if(2===arguments.length){var r=arguments[0],n=arguments[1];return n>3&&(n=3),n<2?new ul(r):new ul(r,n)}},ll.prototype.interfaces_=function(){return[Mu,Ci]},ll.prototype.getClass=function(){return ll},ll.instance=function(){return ll.instanceObject},hl.serialVersionUID.get=function(){return-0x38e49fa6cf6f2e00},hl.instanceObject.get=function(){return new ll},Object.defineProperties(ll,hl);var fl=function(t){function e(){t.call(this),this.map_=new Map}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t){return this.map_.get(t)||null},e.prototype.put=function(t,e){return this.map_.set(t,e),e},e.prototype.values=function(){for(var t=new kc,e=this.map_.values(),r=e.next();!r.done;)t.add(r.value),r=e.next();return t},e.prototype.entrySet=function(){var t=new Oc;return this.map_.entries().forEach((function(e){return t.add(e)})),t},e.prototype.size=function(){return this.map_.size()},e}(Lc),dl=function t(){if(this._modelType=null,this._scale=null,0===arguments.length)this._modelType=t.FLOATING;else if(1===arguments.length)if(arguments[0]instanceof ml){var e=arguments[0];this._modelType=e,e===t.FIXED&&this.setScale(1)}else if("number"==typeof arguments[0]){var r=arguments[0];this._modelType=t.FIXED,this.setScale(r)}else if(arguments[0]instanceof t){var n=arguments[0];this._modelType=n._modelType,this._scale=n._scale}},pl={serialVersionUID:{configurable:!0},maximumPreciseValue:{configurable:!0}};dl.prototype.equals=function(t){if(!(t instanceof dl))return!1;var e=t;return this._modelType===e._modelType&&this._scale===e._scale},dl.prototype.compareTo=function(t){var e=t,r=this.getMaximumSignificantDigits(),n=e.getMaximumSignificantDigits();return new Iu(r).compareTo(new Iu(n))},dl.prototype.getScale=function(){return this._scale},dl.prototype.isFloating=function(){return this._modelType===dl.FLOATING||this._modelType===dl.FLOATING_SINGLE},dl.prototype.getType=function(){return this._modelType},dl.prototype.toString=function(){var t="UNKNOWN";return this._modelType===dl.FLOATING?t="Floating":this._modelType===dl.FLOATING_SINGLE?t="Floating-Single":this._modelType===dl.FIXED&&(t="Fixed (Scale="+this.getScale()+")"),t},dl.prototype.makePrecise=function(){if("number"==typeof arguments[0]){var t=arguments[0];return vu.isNaN(t)||this._modelType===dl.FLOATING_SINGLE?t:this._modelType===dl.FIXED?Math.round(t*this._scale)/this._scale:t}if(arguments[0]instanceof ku){var e=arguments[0];if(this._modelType===dl.FLOATING)return null;e.x=this.makePrecise(e.x),e.y=this.makePrecise(e.y)}},dl.prototype.getMaximumSignificantDigits=function(){var t=16;return this._modelType===dl.FLOATING?t=16:this._modelType===dl.FLOATING_SINGLE?t=6:this._modelType===dl.FIXED&&(t=1+Math.trunc(Math.ceil(Math.log(this.getScale())/Math.log(10)))),t},dl.prototype.setScale=function(t){this._scale=Math.abs(t)},dl.prototype.interfaces_=function(){return[Ci,_u]},dl.prototype.getClass=function(){return dl},dl.mostPrecise=function(t,e){return t.compareTo(e)>=0?t:e},pl.serialVersionUID.get=function(){return 0x6bee6404e9a25c00},pl.maximumPreciseValue.get=function(){return 9007199254740992},Object.defineProperties(dl,pl);var ml=function t(e){this._name=e||null,t.nameToTypeMap.put(e,this)},gl={serialVersionUID:{configurable:!0},nameToTypeMap:{configurable:!0}};ml.prototype.readResolve=function(){return ml.nameToTypeMap.get(this._name)},ml.prototype.toString=function(){return this._name},ml.prototype.interfaces_=function(){return[Ci]},ml.prototype.getClass=function(){return ml},gl.serialVersionUID.get=function(){return-552860263173159e4},gl.nameToTypeMap.get=function(){return new fl},Object.defineProperties(ml,gl),dl.Type=ml,dl.FIXED=new ml("FIXED"),dl.FLOATING=new ml("FLOATING"),dl.FLOATING_SINGLE=new ml("FLOATING SINGLE");var yl=function t(){this._precisionModel=new dl,this._SRID=0,this._coordinateSequenceFactory=t.getDefaultCoordinateSequenceFactory(),0===arguments.length||(1===arguments.length?Cu(arguments[0],Mu)?this._coordinateSequenceFactory=arguments[0]:arguments[0]instanceof dl&&(this._precisionModel=arguments[0]):2===arguments.length?(this._precisionModel=arguments[0],this._SRID=arguments[1]):3===arguments.length&&(this._precisionModel=arguments[0],this._SRID=arguments[1],this._coordinateSequenceFactory=arguments[2]))},vl={serialVersionUID:{configurable:!0}};yl.prototype.toGeometry=function(t){return t.isNull()?this.createPoint(null):t.getMinX()===t.getMaxX()&&t.getMinY()===t.getMaxY()?this.createPoint(new ku(t.getMinX(),t.getMinY())):t.getMinX()===t.getMaxX()||t.getMinY()===t.getMaxY()?this.createLineString([new ku(t.getMinX(),t.getMinY()),new ku(t.getMaxX(),t.getMaxY())]):this.createPolygon(this.createLinearRing([new ku(t.getMinX(),t.getMinY()),new ku(t.getMinX(),t.getMaxY()),new ku(t.getMaxX(),t.getMaxY()),new ku(t.getMaxX(),t.getMinY()),new ku(t.getMinX(),t.getMinY())]),null)},yl.prototype.createLineString=function(t){return t?t instanceof Array?new Kc(this.getCoordinateSequenceFactory().create(t),this):Cu(t,Fu)?new Kc(t,this):void 0:new Kc(this.getCoordinateSequenceFactory().create([]),this)},yl.prototype.createMultiLineString=function(){if(0===arguments.length)return new zc(null,this);if(1===arguments.length){var t=arguments[0];return new zc(t,this)}},yl.prototype.buildGeometry=function(t){for(var e=null,r=!1,n=!1,i=t.iterator();i.hasNext();){var o=i.next(),a=o.getClass();null===e&&(e=a),a!==e&&(r=!0),o.isGeometryCollectionOrDerived()&&(n=!0)}if(null===e)return this.createGeometryCollection();if(r||n)return this.createGeometryCollection(yl.toGeometryArray(t));var s=t.iterator().next();if(t.size()>1){if(s instanceof Qc)return this.createMultiPolygon(yl.toPolygonArray(t));if(s instanceof Kc)return this.createMultiLineString(yl.toLineStringArray(t));if(s instanceof Jc)return this.createMultiPoint(yl.toPointArray(t));tc.shouldNeverReachHere("Unhandled class: "+s.getClass().getName())}return s},yl.prototype.createMultiPointFromCoords=function(t){return this.createMultiPoint(null!==t?this.getCoordinateSequenceFactory().create(t):null)},yl.prototype.createPoint=function(){if(0===arguments.length)return this.createPoint(this.getCoordinateSequenceFactory().create([]));if(1===arguments.length){if(arguments[0]instanceof ku){var t=arguments[0];return this.createPoint(null!==t?this.getCoordinateSequenceFactory().create([t]):null)}if(Cu(arguments[0],Fu)){var e=arguments[0];return new Jc(e,this)}}},yl.prototype.getCoordinateSequenceFactory=function(){return this._coordinateSequenceFactory},yl.prototype.createPolygon=function(){if(0===arguments.length)return new Qc(null,null,this);if(1===arguments.length){if(Cu(arguments[0],Fu)){var t=arguments[0];return this.createPolygon(this.createLinearRing(t))}if(arguments[0]instanceof Array){var e=arguments[0];return this.createPolygon(this.createLinearRing(e))}if(arguments[0]instanceof el){var r=arguments[0];return this.createPolygon(r,null)}}else if(2===arguments.length){var n=arguments[0],i=arguments[1];return new Qc(n,i,this)}},yl.prototype.getSRID=function(){return this._SRID},yl.prototype.createGeometryCollection=function(){if(0===arguments.length)return new Hc(null,this);if(1===arguments.length){var t=arguments[0];return new Hc(t,this)}},yl.prototype.createGeometry=function(t){return new nl(this).edit(t,{edit:function(){if(2===arguments.length){var t=arguments[0];return this._coordinateSequenceFactory.create(t)}}})},yl.prototype.getPrecisionModel=function(){return this._precisionModel},yl.prototype.createLinearRing=function(){if(0===arguments.length)return this.createLinearRing(this.getCoordinateSequenceFactory().create([]));if(1===arguments.length){if(arguments[0]instanceof Array){var t=arguments[0];return this.createLinearRing(null!==t?this.getCoordinateSequenceFactory().create(t):null)}if(Cu(arguments[0],Fu)){var e=arguments[0];return new el(e,this)}}},yl.prototype.createMultiPolygon=function(){if(0===arguments.length)return new rl(null,this);if(1===arguments.length){var t=arguments[0];return new rl(t,this)}},yl.prototype.createMultiPoint=function(){if(0===arguments.length)return new tl(null,this);if(1===arguments.length){if(arguments[0]instanceof Array){var t=arguments[0];return new tl(t,this)}if(arguments[0]instanceof Array){var e=arguments[0];return this.createMultiPoint(null!==e?this.getCoordinateSequenceFactory().create(e):null)}if(Cu(arguments[0],Fu)){var r=arguments[0];if(null===r)return this.createMultiPoint(new Array(0).fill(null));for(var n=new Array(r.size()).fill(null),i=0;i<r.size();i++){var o=this.getCoordinateSequenceFactory().create(1,r.getDimension());Wc.copy(r,i,o,0,1),n[i]=this.createPoint(o)}return this.createMultiPoint(n)}}},yl.prototype.interfaces_=function(){return[Ci]},yl.prototype.getClass=function(){return yl},yl.toMultiPolygonArray=function(t){var e=new Array(t.size()).fill(null);return t.toArray(e)},yl.toGeometryArray=function(t){if(null===t)return null;var e=new Array(t.size()).fill(null);return t.toArray(e)},yl.getDefaultCoordinateSequenceFactory=function(){return ll.instance()},yl.toMultiLineStringArray=function(t){var e=new Array(t.size()).fill(null);return t.toArray(e)},yl.toLineStringArray=function(t){var e=new Array(t.size()).fill(null);return t.toArray(e)},yl.toMultiPointArray=function(t){var e=new Array(t.size()).fill(null);return t.toArray(e)},yl.toLinearRingArray=function(t){var e=new Array(t.size()).fill(null);return t.toArray(e)},yl.toPointArray=function(t){var e=new Array(t.size()).fill(null);return t.toArray(e)},yl.toPolygonArray=function(t){var e=new Array(t.size()).fill(null);return t.toArray(e)},yl.createPointFromInternalCoord=function(t,e){return e.getPrecisionModel().makePrecise(t),e.getFactory().createPoint(t)},vl.serialVersionUID.get=function(){return-0x5ea75f2051eeb400},Object.defineProperties(yl,vl);var bl=["Point","MultiPoint","LineString","MultiLineString","Polygon","MultiPolygon"],_l=function(t){this.geometryFactory=t||new yl};_l.prototype.read=function(t){var e,r=(e="string"==typeof t?JSON.parse(t):t).type;if(!wl[r])throw new Error("Unknown GeoJSON type: "+e.type);return-1!==bl.indexOf(r)?wl[r].apply(this,[e.coordinates]):"GeometryCollection"===r?wl[r].apply(this,[e.geometries]):wl[r].apply(this,[e])},_l.prototype.write=function(t){var e=t.getGeometryType();if(!xl[e])throw new Error("Geometry is not supported");return xl[e].apply(this,[t])};var wl={Feature:function(t){var e={};for(var r in t)e[r]=t[r];if(t.geometry){var n=t.geometry.type;if(!wl[n])throw new Error("Unknown GeoJSON type: "+t.type);e.geometry=this.read(t.geometry)}return t.bbox&&(e.bbox=wl.bbox.apply(this,[t.bbox])),e},FeatureCollection:function(t){var e={};if(t.features){e.features=[];for(var r=0;r<t.features.length;++r)e.features.push(this.read(t.features[r]))}return t.bbox&&(e.bbox=this.parse.bbox.apply(this,[t.bbox])),e},coordinates:function(t){for(var e=[],r=0;r<t.length;++r){var n=t[r];e.push(new ku(n[0],n[1]))}return e},bbox:function(t){return this.geometryFactory.createLinearRing([new ku(t[0],t[1]),new ku(t[2],t[1]),new ku(t[2],t[3]),new ku(t[0],t[3]),new ku(t[0],t[1])])},Point:function(t){var e=new ku(t[0],t[1]);return this.geometryFactory.createPoint(e)},MultiPoint:function(t){for(var e=[],r=0;r<t.length;++r)e.push(wl.Point.apply(this,[t[r]]));return this.geometryFactory.createMultiPoint(e)},LineString:function(t){var e=wl.coordinates.apply(this,[t]);return this.geometryFactory.createLineString(e)},MultiLineString:function(t){for(var e=[],r=0;r<t.length;++r)e.push(wl.LineString.apply(this,[t[r]]));return this.geometryFactory.createMultiLineString(e)},Polygon:function(t){for(var e=wl.coordinates.apply(this,[t[0]]),r=this.geometryFactory.createLinearRing(e),n=[],i=1;i<t.length;++i){var o=t[i],a=wl.coordinates.apply(this,[o]),s=this.geometryFactory.createLinearRing(a);n.push(s)}return this.geometryFactory.createPolygon(r,n)},MultiPolygon:function(t){for(var e=[],r=0;r<t.length;++r){var n=t[r];e.push(wl.Polygon.apply(this,[n]))}return this.geometryFactory.createMultiPolygon(e)},GeometryCollection:function(t){for(var e=[],r=0;r<t.length;++r){var n=t[r];e.push(this.read(n))}return this.geometryFactory.createGeometryCollection(e)}},xl={coordinate:function(t){return[t.x,t.y]},Point:function(t){return{type:"Point",coordinates:xl.coordinate.apply(this,[t.getCoordinate()])}},MultiPoint:function(t){for(var e=[],r=0;r<t._geometries.length;++r){var n=t._geometries[r],i=xl.Point.apply(this,[n]);e.push(i.coordinates)}return{type:"MultiPoint",coordinates:e}},LineString:function(t){for(var e=[],r=t.getCoordinates(),n=0;n<r.length;++n){var i=r[n];e.push(xl.coordinate.apply(this,[i]))}return{type:"LineString",coordinates:e}},MultiLineString:function(t){for(var e=[],r=0;r<t._geometries.length;++r){var n=t._geometries[r],i=xl.LineString.apply(this,[n]);e.push(i.coordinates)}return{type:"MultiLineString",coordinates:e}},Polygon:function(t){var e=[],r=xl.LineString.apply(this,[t._shell]);e.push(r.coordinates);for(var n=0;n<t._holes.length;++n){var i=t._holes[n],o=xl.LineString.apply(this,[i]);e.push(o.coordinates)}return{type:"Polygon",coordinates:e}},MultiPolygon:function(t){for(var e=[],r=0;r<t._geometries.length;++r){var n=t._geometries[r],i=xl.Polygon.apply(this,[n]);e.push(i.coordinates)}return{type:"MultiPolygon",coordinates:e}},GeometryCollection:function(t){for(var e=[],r=0;r<t._geometries.length;++r){var n=t._geometries[r],i=n.getGeometryType();e.push(xl[i].apply(this,[n]))}return{type:"GeometryCollection",geometries:e}}},kl=function(t){this.geometryFactory=t||new yl,this.precisionModel=this.geometryFactory.getPrecisionModel(),this.parser=new _l(this.geometryFactory)};kl.prototype.read=function(t){var e=this.parser.read(t);return this.precisionModel.getType()===dl.FIXED&&this.reducePrecision(e),e},kl.prototype.reducePrecision=function(t){var e,r;if(t.coordinate)this.precisionModel.makePrecise(t.coordinate);else if(t.points)for(e=0,r=t.points.length;e<r;e++)this.precisionModel.makePrecise(t.points[e]);else if(t.geometries)for(e=0,r=t.geometries.length;e<r;e++)this.reducePrecision(t.geometries[e])};var Sl=function(){this.parser=new _l(this.geometryFactory)};Sl.prototype.write=function(t){return this.parser.write(t)};var El=function(){},Ml={ON:{configurable:!0},LEFT:{configurable:!0},RIGHT:{configurable:!0}};El.prototype.interfaces_=function(){return[]},El.prototype.getClass=function(){return El},El.opposite=function(t){return t===El.LEFT?El.RIGHT:t===El.RIGHT?El.LEFT:t},Ml.ON.get=function(){return 0},Ml.LEFT.get=function(){return 1},Ml.RIGHT.get=function(){return 2},Object.defineProperties(El,Ml),(Hi.prototype=new Error).name="EmptyStackException",(zi.prototype=new xc).add=function(t){return this.array_.push(t),!0},zi.prototype.get=function(t){if(t<0||t>=this.size())throw new Error;return this.array_[t]},zi.prototype.push=function(t){return this.array_.push(t),t},zi.prototype.pop=function(t){if(0===this.array_.length)throw new Hi;return this.array_.pop()},zi.prototype.peek=function(){if(0===this.array_.length)throw new Hi;return this.array_[this.array_.length-1]},zi.prototype.empty=function(){return 0===this.array_.length},zi.prototype.isEmpty=function(){return this.empty()},zi.prototype.search=function(t){return this.array_.indexOf(t)},zi.prototype.size=function(){return this.array_.length},zi.prototype.toArray=function(){for(var t=[],e=0,r=this.array_.length;e<r;e++)t.push(this.array_[e]);return t};var Al=function(){this._minIndex=-1,this._minCoord=null,this._minDe=null,this._orientedDe=null};Al.prototype.getCoordinate=function(){return this._minCoord},Al.prototype.getRightmostSide=function(t,e){var r=this.getRightmostSideOfSegment(t,e);return r<0&&(r=this.getRightmostSideOfSegment(t,e-1)),r<0&&(this._minCoord=null,this.checkForRightmostCoordinate(t)),r},Al.prototype.findRightmostEdgeAtVertex=function(){var t=this._minDe.getEdge().getCoordinates();tc.isTrue(this._minIndex>0&&this._minIndex<t.length,"rightmost point expected to be interior vertex of edge");var e=t[this._minIndex-1],r=t[this._minIndex+1],n=ac.computeOrientation(this._minCoord,r,e),i=!1;(e.y<this._minCoord.y&&r.y<this._minCoord.y&&n===ac.COUNTERCLOCKWISE||e.y>this._minCoord.y&&r.y>this._minCoord.y&&n===ac.CLOCKWISE)&&(i=!0),i&&(this._minIndex=this._minIndex-1)},Al.prototype.getRightmostSideOfSegment=function(t,e){var r=t.getEdge().getCoordinates();if(e<0||e+1>=r.length)return-1;if(r[e].y===r[e+1].y)return-1;var n=El.LEFT;return r[e].y<r[e+1].y&&(n=El.RIGHT),n},Al.prototype.getEdge=function(){return this._orientedDe},Al.prototype.checkForRightmostCoordinate=function(t){for(var e=t.getEdge().getCoordinates(),r=0;r<e.length-1;r++)(null===this._minCoord||e[r].x>this._minCoord.x)&&(this._minDe=t,this._minIndex=r,this._minCoord=e[r])},Al.prototype.findRightmostEdgeAtNode=function(){var t=this._minDe.getNode().getEdges();this._minDe=t.getRightmostEdge(),this._minDe.isForward()||(this._minDe=this._minDe.getSym(),this._minIndex=this._minDe.getEdge().getCoordinates().length-1)},Al.prototype.findEdge=function(t){for(var e=t.iterator();e.hasNext();){var r=e.next();r.isForward()&&this.checkForRightmostCoordinate(r)}tc.isTrue(0!==this._minIndex||this._minCoord.equals(this._minDe.getCoordinate()),"inconsistency in rightmost processing"),0===this._minIndex?this.findRightmostEdgeAtNode():this.findRightmostEdgeAtVertex(),this._orientedDe=this._minDe,this.getRightmostSide(this._minDe,this._minIndex)===El.LEFT&&(this._orientedDe=this._minDe.getSym())},Al.prototype.interfaces_=function(){return[]},Al.prototype.getClass=function(){return Al};var Tl=function(t){function e(r,n){t.call(this,e.msgWithCoord(r,n)),this.pt=n?new ku(n):null,this.name="TopologyException"}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getCoordinate=function(){return this.pt},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e.msgWithCoord=function(t,e){return e?t:t+" [ "+e+" ]"},e}(Zu),Cl=function(){this.array_=[]};Cl.prototype.addLast=function(t){this.array_.push(t)},Cl.prototype.removeFirst=function(){return this.array_.shift()},Cl.prototype.isEmpty=function(){return 0===this.array_.length};var Ll=function(){this._finder=null,this._dirEdgeList=new kc,this._nodes=new kc,this._rightMostCoord=null,this._env=null,this._finder=new Al};Ll.prototype.clearVisitedEdges=function(){for(var t=this._dirEdgeList.iterator();t.hasNext();)t.next().setVisited(!1)},Ll.prototype.getRightmostCoordinate=function(){return this._rightMostCoord},Ll.prototype.computeNodeDepth=function(t){for(var e=null,r=t.getEdges().iterator();r.hasNext();){var n=r.next();if(n.isVisited()||n.getSym().isVisited()){e=n;break}}if(null===e)throw new Tl("unable to find edge to compute depths at "+t.getCoordinate());t.getEdges().computeDepths(e);for(var i=t.getEdges().iterator();i.hasNext();){var o=i.next();o.setVisited(!0),this.copySymDepths(o)}},Ll.prototype.computeDepth=function(t){this.clearVisitedEdges();var e=this._finder.getEdge();e.setEdgeDepths(El.RIGHT,t),this.copySymDepths(e),this.computeDepths(e)},Ll.prototype.create=function(t){this.addReachable(t),this._finder.findEdge(this._dirEdgeList),this._rightMostCoord=this._finder.getCoordinate()},Ll.prototype.findResultEdges=function(){for(var t=this._dirEdgeList.iterator();t.hasNext();){var e=t.next();e.getDepth(El.RIGHT)>=1&&e.getDepth(El.LEFT)<=0&&!e.isInteriorAreaEdge()&&e.setInResult(!0)}},Ll.prototype.computeDepths=function(t){var e=new Oc,r=new Cl,n=t.getNode();for(r.addLast(n),e.add(n),t.setVisited(!0);!r.isEmpty();){var i=r.removeFirst();e.add(i),this.computeNodeDepth(i);for(var o=i.getEdges().iterator();o.hasNext();){var a=o.next().getSym();if(!a.isVisited()){var s=a.getNode();e.contains(s)||(r.addLast(s),e.add(s))}}}},Ll.prototype.compareTo=function(t){var e=t;return this._rightMostCoord.x<e._rightMostCoord.x?-1:this._rightMostCoord.x>e._rightMostCoord.x?1:0},Ll.prototype.getEnvelope=function(){if(null===this._env){for(var t=new $u,e=this._dirEdgeList.iterator();e.hasNext();)for(var r=e.next().getEdge().getCoordinates(),n=0;n<r.length-1;n++)t.expandToInclude(r[n]);this._env=t}return this._env},Ll.prototype.addReachable=function(t){var e=new zi;for(e.add(t);!e.empty();){var r=e.pop();this.add(r,e)}},Ll.prototype.copySymDepths=function(t){var e=t.getSym();e.setDepth(El.LEFT,t.getDepth(El.RIGHT)),e.setDepth(El.RIGHT,t.getDepth(El.LEFT))},Ll.prototype.add=function(t,e){t.setVisited(!0),this._nodes.add(t);for(var r=t.getEdges().iterator();r.hasNext();){var n=r.next();this._dirEdgeList.add(n);var i=n.getSym().getNode();i.isVisited()||e.push(i)}},Ll.prototype.getNodes=function(){return this._nodes},Ll.prototype.getDirectedEdges=function(){return this._dirEdgeList},Ll.prototype.interfaces_=function(){return[_u]},Ll.prototype.getClass=function(){return Ll};var Pl=function t(){if(this.location=null,1===arguments.length){if(arguments[0]instanceof Array){var e=arguments[0];this.init(e.length)}else if(Number.isInteger(arguments[0])){var r=arguments[0];this.init(1),this.location[El.ON]=r}else if(arguments[0]instanceof t){var n=arguments[0];if(this.init(n.location.length),null!==n)for(var i=0;i<this.location.length;i++)this.location[i]=n.location[i]}}else if(3===arguments.length){var o=arguments[0],a=arguments[1],s=arguments[2];this.init(3),this.location[El.ON]=o,this.location[El.LEFT]=a,this.location[El.RIGHT]=s}};Pl.prototype.setAllLocations=function(t){for(var e=0;e<this.location.length;e++)this.location[e]=t},Pl.prototype.isNull=function(){for(var t=0;t<this.location.length;t++)if(this.location[t]!==Au.NONE)return!1;return!0},Pl.prototype.setAllLocationsIfNull=function(t){for(var e=0;e<this.location.length;e++)this.location[e]===Au.NONE&&(this.location[e]=t)},Pl.prototype.isLine=function(){return 1===this.location.length},Pl.prototype.merge=function(t){if(t.location.length>this.location.length){var e=new Array(3).fill(null);e[El.ON]=this.location[El.ON],e[El.LEFT]=Au.NONE,e[El.RIGHT]=Au.NONE,this.location=e}for(var r=0;r<this.location.length;r++)this.location[r]===Au.NONE&&r<t.location.length&&(this.location[r]=t.location[r])},Pl.prototype.getLocations=function(){return this.location},Pl.prototype.flip=function(){if(this.location.length<=1)return null;var t=this.location[El.LEFT];this.location[El.LEFT]=this.location[El.RIGHT],this.location[El.RIGHT]=t},Pl.prototype.toString=function(){var t=new Ou;return this.location.length>1&&t.append(Au.toLocationSymbol(this.location[El.LEFT])),t.append(Au.toLocationSymbol(this.location[El.ON])),this.location.length>1&&t.append(Au.toLocationSymbol(this.location[El.RIGHT])),t.toString()},Pl.prototype.setLocations=function(t,e,r){this.location[El.ON]=t,this.location[El.LEFT]=e,this.location[El.RIGHT]=r},Pl.prototype.get=function(t){return t<this.location.length?this.location[t]:Au.NONE},Pl.prototype.isArea=function(){return this.location.length>1},Pl.prototype.isAnyNull=function(){for(var t=0;t<this.location.length;t++)if(this.location[t]===Au.NONE)return!0;return!1},Pl.prototype.setLocation=function(){if(1===arguments.length){var t=arguments[0];this.setLocation(El.ON,t)}else if(2===arguments.length){var e=arguments[0],r=arguments[1];this.location[e]=r}},Pl.prototype.init=function(t){this.location=new Array(t).fill(null),this.setAllLocations(Au.NONE)},Pl.prototype.isEqualOnSide=function(t,e){return this.location[e]===t.location[e]},Pl.prototype.allPositionsEqual=function(t){for(var e=0;e<this.location.length;e++)if(this.location[e]!==t)return!1;return!0},Pl.prototype.interfaces_=function(){return[]},Pl.prototype.getClass=function(){return Pl};var Ol=function t(){if(this.elt=new Array(2).fill(null),1===arguments.length){if(Number.isInteger(arguments[0])){var e=arguments[0];this.elt[0]=new Pl(e),this.elt[1]=new Pl(e)}else if(arguments[0]instanceof t){var r=arguments[0];this.elt[0]=new Pl(r.elt[0]),this.elt[1]=new Pl(r.elt[1])}}else if(2===arguments.length){var n=arguments[0],i=arguments[1];this.elt[0]=new Pl(Au.NONE),this.elt[1]=new Pl(Au.NONE),this.elt[n].setLocation(i)}else if(3===arguments.length){var o=arguments[0],a=arguments[1],s=arguments[2];this.elt[0]=new Pl(o,a,s),this.elt[1]=new Pl(o,a,s)}else if(4===arguments.length){var u=arguments[0],c=arguments[1],l=arguments[2],h=arguments[3];this.elt[0]=new Pl(Au.NONE,Au.NONE,Au.NONE),this.elt[1]=new Pl(Au.NONE,Au.NONE,Au.NONE),this.elt[u].setLocations(c,l,h)}};Ol.prototype.getGeometryCount=function(){var t=0;return this.elt[0].isNull()||t++,this.elt[1].isNull()||t++,t},Ol.prototype.setAllLocations=function(t,e){this.elt[t].setAllLocations(e)},Ol.prototype.isNull=function(t){return this.elt[t].isNull()},Ol.prototype.setAllLocationsIfNull=function(){if(1===arguments.length){var t=arguments[0];this.setAllLocationsIfNull(0,t),this.setAllLocationsIfNull(1,t)}else if(2===arguments.length){var e=arguments[0],r=arguments[1];this.elt[e].setAllLocationsIfNull(r)}},Ol.prototype.isLine=function(t){return this.elt[t].isLine()},Ol.prototype.merge=function(t){for(var e=0;e<2;e++)null===this.elt[e]&&null!==t.elt[e]?this.elt[e]=new Pl(t.elt[e]):this.elt[e].merge(t.elt[e])},Ol.prototype.flip=function(){this.elt[0].flip(),this.elt[1].flip()},Ol.prototype.getLocation=function(){if(1===arguments.length){var t=arguments[0];return this.elt[t].get(El.ON)}if(2===arguments.length){var e=arguments[0],r=arguments[1];return this.elt[e].get(r)}},Ol.prototype.toString=function(){var t=new Ou;return null!==this.elt[0]&&(t.append("A:"),t.append(this.elt[0].toString())),null!==this.elt[1]&&(t.append(" B:"),t.append(this.elt[1].toString())),t.toString()},Ol.prototype.isArea=function(){if(0===arguments.length)return this.elt[0].isArea()||this.elt[1].isArea();if(1===arguments.length){var t=arguments[0];return this.elt[t].isArea()}},Ol.prototype.isAnyNull=function(t){return this.elt[t].isAnyNull()},Ol.prototype.setLocation=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1];this.elt[t].setLocation(El.ON,e)}else if(3===arguments.length){var r=arguments[0],n=arguments[1],i=arguments[2];this.elt[r].setLocation(n,i)}},Ol.prototype.isEqualOnSide=function(t,e){return this.elt[0].isEqualOnSide(t.elt[0],e)&&this.elt[1].isEqualOnSide(t.elt[1],e)},Ol.prototype.allPositionsEqual=function(t,e){return this.elt[t].allPositionsEqual(e)},Ol.prototype.toLine=function(t){this.elt[t].isArea()&&(this.elt[t]=new Pl(this.elt[t].location[0]))},Ol.prototype.interfaces_=function(){return[]},Ol.prototype.getClass=function(){return Ol},Ol.toLineLabel=function(t){for(var e=new Ol(Au.NONE),r=0;r<2;r++)e.setLocation(r,t.getLocation(r));return e};var Il=function(){this._startDe=null,this._maxNodeDegree=-1,this._edges=new kc,this._pts=new kc,this._label=new Ol(Au.NONE),this._ring=null,this._isHole=null,this._shell=null,this._holes=new kc,this._geometryFactory=null;var t=arguments[0],e=arguments[1];this._geometryFactory=e,this.computePoints(t),this.computeRing()};Il.prototype.computeRing=function(){if(null!==this._ring)return null;for(var t=new Array(this._pts.size()).fill(null),e=0;e<this._pts.size();e++)t[e]=this._pts.get(e);this._ring=this._geometryFactory.createLinearRing(t),this._isHole=ac.isCCW(this._ring.getCoordinates())},Il.prototype.isIsolated=function(){return 1===this._label.getGeometryCount()},Il.prototype.computePoints=function(t){this._startDe=t;var e=t,r=!0;do{if(null===e)throw new Tl("Found null DirectedEdge");if(e.getEdgeRing()===this)throw new Tl("Directed Edge visited twice during ring-building at "+e.getCoordinate());this._edges.add(e);var n=e.getLabel();tc.isTrue(n.isArea()),this.mergeLabel(n),this.addPoints(e.getEdge(),e.isForward(),r),r=!1,this.setEdgeRing(e,this),e=this.getNext(e)}while(e!==this._startDe)},Il.prototype.getLinearRing=function(){return this._ring},Il.prototype.getCoordinate=function(t){return this._pts.get(t)},Il.prototype.computeMaxNodeDegree=function(){this._maxNodeDegree=0;var t=this._startDe;do{var e=t.getNode().getEdges().getOutgoingDegree(this);e>this._maxNodeDegree&&(this._maxNodeDegree=e),t=this.getNext(t)}while(t!==this._startDe);this._maxNodeDegree*=2},Il.prototype.addPoints=function(t,e,r){var n=t.getCoordinates();if(e){var i=1;r&&(i=0);for(var o=i;o<n.length;o++)this._pts.add(n[o])}else{var a=n.length-2;r&&(a=n.length-1);for(var s=a;s>=0;s--)this._pts.add(n[s])}},Il.prototype.isHole=function(){return this._isHole},Il.prototype.setInResult=function(){var t=this._startDe;do{t.getEdge().setInResult(!0),t=t.getNext()}while(t!==this._startDe)},Il.prototype.containsPoint=function(t){var e=this.getLinearRing();if(!e.getEnvelopeInternal().contains(t))return!1;if(!ac.isPointInRing(t,e.getCoordinates()))return!1;for(var r=this._holes.iterator();r.hasNext();)if(r.next().containsPoint(t))return!1;return!0},Il.prototype.addHole=function(t){this._holes.add(t)},Il.prototype.isShell=function(){return null===this._shell},Il.prototype.getLabel=function(){return this._label},Il.prototype.getEdges=function(){return this._edges},Il.prototype.getMaxNodeDegree=function(){return this._maxNodeDegree<0&&this.computeMaxNodeDegree(),this._maxNodeDegree},Il.prototype.getShell=function(){return this._shell},Il.prototype.mergeLabel=function(){if(1===arguments.length){var t=arguments[0];this.mergeLabel(t,0),this.mergeLabel(t,1)}else if(2===arguments.length){var e=arguments[0],r=arguments[1],n=e.getLocation(r,El.RIGHT);if(n===Au.NONE)return null;if(this._label.getLocation(r)===Au.NONE)return this._label.setLocation(r,n),null}},Il.prototype.setShell=function(t){this._shell=t,null!==t&&t.addHole(this)},Il.prototype.toPolygon=function(t){for(var e=new Array(this._holes.size()).fill(null),r=0;r<this._holes.size();r++)e[r]=this._holes.get(r).getLinearRing();return t.createPolygon(this.getLinearRing(),e)},Il.prototype.interfaces_=function(){return[]},Il.prototype.getClass=function(){return Il};var Dl=function(t){function e(){var e=arguments[0],r=arguments[1];t.call(this,e,r)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setEdgeRing=function(t,e){t.setMinEdgeRing(e)},e.prototype.getNext=function(t){return t.getNextMin()},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(Il),Bl=function(t){function e(){var e=arguments[0],r=arguments[1];t.call(this,e,r)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.buildMinimalRings=function(){var t=new kc,e=this._startDe;do{if(null===e.getMinEdgeRing()){var r=new Dl(e,this._geometryFactory);t.add(r)}e=e.getNext()}while(e!==this._startDe);return t},e.prototype.setEdgeRing=function(t,e){t.setEdgeRing(e)},e.prototype.linkDirectedEdgesForMinimalEdgeRings=function(){var t=this._startDe;do{t.getNode().getEdges().linkMinimalDirectedEdges(this),t=t.getNext()}while(t!==this._startDe)},e.prototype.getNext=function(t){return t.getNext()},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(Il),jl=function(){if(this._label=null,this._isInResult=!1,this._isCovered=!1,this._isCoveredSet=!1,this._isVisited=!1,0===arguments.length);else if(1===arguments.length){var t=arguments[0];this._label=t}};jl.prototype.setVisited=function(t){this._isVisited=t},jl.prototype.setInResult=function(t){this._isInResult=t},jl.prototype.isCovered=function(){return this._isCovered},jl.prototype.isCoveredSet=function(){return this._isCoveredSet},jl.prototype.setLabel=function(t){this._label=t},jl.prototype.getLabel=function(){return this._label},jl.prototype.setCovered=function(t){this._isCovered=t,this._isCoveredSet=!0},jl.prototype.updateIM=function(t){tc.isTrue(this._label.getGeometryCount()>=2,"found partial label"),this.computeIM(t)},jl.prototype.isInResult=function(){return this._isInResult},jl.prototype.isVisited=function(){return this._isVisited},jl.prototype.interfaces_=function(){return[]},jl.prototype.getClass=function(){return jl};var Nl=function(t){function e(){t.call(this),this._coord=null,this._edges=null;var e=arguments[0],r=arguments[1];this._coord=e,this._edges=r,this._label=new Ol(0,Au.NONE)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.isIncidentEdgeInResult=function(){for(var t=this.getEdges().getEdges().iterator();t.hasNext();)if(t.next().getEdge().isInResult())return!0;return!1},e.prototype.isIsolated=function(){return 1===this._label.getGeometryCount()},e.prototype.getCoordinate=function(){return this._coord},e.prototype.print=function(t){t.println("node "+this._coord+" lbl: "+this._label)},e.prototype.computeIM=function(t){},e.prototype.computeMergedLocation=function(t,e){var r=Au.NONE;if(r=this._label.getLocation(e),!t.isNull(e)){var n=t.getLocation(e);r!==Au.BOUNDARY&&(r=n)}return r},e.prototype.setLabel=function(){if(2!==arguments.length)return t.prototype.setLabel.apply(this,arguments);var e=arguments[0],r=arguments[1];null===this._label?this._label=new Ol(e,r):this._label.setLocation(e,r)},e.prototype.getEdges=function(){return this._edges},e.prototype.mergeLabel=function(){if(arguments[0]instanceof e){var t=arguments[0];this.mergeLabel(t._label)}else if(arguments[0]instanceof Ol)for(var r=arguments[0],n=0;n<2;n++){var i=this.computeMergedLocation(r,n);this._label.getLocation(n)===Au.NONE&&this._label.setLocation(n,i)}},e.prototype.add=function(t){this._edges.insert(t),t.setNode(this)},e.prototype.setLabelBoundary=function(t){if(null===this._label)return null;var e=Au.NONE;null!==this._label&&(e=this._label.getLocation(t));var r=null;switch(e){case Au.BOUNDARY:r=Au.INTERIOR;break;case Au.INTERIOR:default:r=Au.BOUNDARY}this._label.setLocation(t,r)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(jl),Rl=function(){this.nodeMap=new Ri,this.nodeFact=null;var t=arguments[0];this.nodeFact=t};Rl.prototype.find=function(t){return this.nodeMap.get(t)},Rl.prototype.addNode=function(){if(arguments[0]instanceof ku){var t=arguments[0],e=this.nodeMap.get(t);return null===e&&(e=this.nodeFact.createNode(t),this.nodeMap.put(t,e)),e}if(arguments[0]instanceof Nl){var r=arguments[0],n=this.nodeMap.get(r.getCoordinate());return null===n?(this.nodeMap.put(r.getCoordinate(),r),r):(n.mergeLabel(r),n)}},Rl.prototype.print=function(t){for(var e=this.iterator();e.hasNext();)e.next().print(t)},Rl.prototype.iterator=function(){return this.nodeMap.values().iterator()},Rl.prototype.values=function(){return this.nodeMap.values()},Rl.prototype.getBoundaryNodes=function(t){for(var e=new kc,r=this.iterator();r.hasNext();){var n=r.next();n.getLabel().getLocation(t)===Au.BOUNDARY&&e.add(n)}return e},Rl.prototype.add=function(t){var e=t.getCoordinate();this.addNode(e).add(t)},Rl.prototype.interfaces_=function(){return[]},Rl.prototype.getClass=function(){return Rl};var Fl=function(){},Yl={NE:{configurable:!0},NW:{configurable:!0},SW:{configurable:!0},SE:{configurable:!0}};Fl.prototype.interfaces_=function(){return[]},Fl.prototype.getClass=function(){return Fl},Fl.isNorthern=function(t){return t===Fl.NE||t===Fl.NW},Fl.isOpposite=function(t,e){return t!==e&&2===(t-e+4)%4},Fl.commonHalfPlane=function(t,e){if(t===e)return t;if(2===(t-e+4)%4)return-1;var r=t<e?t:e;return 0===r&&3===(t>e?t:e)?3:r},Fl.isInHalfPlane=function(t,e){return e===Fl.SE?t===Fl.SE||t===Fl.SW:t===e||t===e+1},Fl.quadrant=function(){if("number"==typeof arguments[0]&&"number"==typeof arguments[1]){var t=arguments[0],e=arguments[1];if(0===t&&0===e)throw new yu("Cannot compute the quadrant for point ( "+t+", "+e+" )");return t>=0?e>=0?Fl.NE:Fl.SE:e>=0?Fl.NW:Fl.SW}if(arguments[0]instanceof ku&&arguments[1]instanceof ku){var r=arguments[0],n=arguments[1];if(n.x===r.x&&n.y===r.y)throw new yu("Cannot compute the quadrant for two identical points "+r);return n.x>=r.x?n.y>=r.y?Fl.NE:Fl.SE:n.y>=r.y?Fl.NW:Fl.SW}},Yl.NE.get=function(){return 0},Yl.NW.get=function(){return 1},Yl.SW.get=function(){return 2},Yl.SE.get=function(){return 3},Object.defineProperties(Fl,Yl);var Ul=function(){if(this._edge=null,this._label=null,this._node=null,this._p0=null,this._p1=null,this._dx=null,this._dy=null,this._quadrant=null,1===arguments.length){var t=arguments[0];this._edge=t}else if(3===arguments.length){var e=arguments[0],r=arguments[1],n=arguments[2];this._edge=e,this.init(r,n),this._label=null}else if(4===arguments.length){var i=arguments[0],o=arguments[1],a=arguments[2],s=arguments[3];this._edge=i,this.init(o,a),this._label=s}};Ul.prototype.compareDirection=function(t){return this._dx===t._dx&&this._dy===t._dy?0:this._quadrant>t._quadrant?1:this._quadrant<t._quadrant?-1:ac.computeOrientation(t._p0,t._p1,this._p1)},Ul.prototype.getDy=function(){return this._dy},Ul.prototype.getCoordinate=function(){return this._p0},Ul.prototype.setNode=function(t){this._node=t},Ul.prototype.print=function(t){var e=Math.atan2(this._dy,this._dx),r=this.getClass().getName(),n=r.lastIndexOf("."),i=r.substring(n+1);t.print("  "+i+": "+this._p0+" - "+this._p1+" "+this._quadrant+":"+e+"   "+this._label)},Ul.prototype.compareTo=function(t){var e=t;return this.compareDirection(e)},Ul.prototype.getDirectedCoordinate=function(){return this._p1},Ul.prototype.getDx=function(){return this._dx},Ul.prototype.getLabel=function(){return this._label},Ul.prototype.getEdge=function(){return this._edge},Ul.prototype.getQuadrant=function(){return this._quadrant},Ul.prototype.getNode=function(){return this._node},Ul.prototype.toString=function(){var t=Math.atan2(this._dy,this._dx),e=this.getClass().getName(),r=e.lastIndexOf(".");return"  "+e.substring(r+1)+": "+this._p0+" - "+this._p1+" "+this._quadrant+":"+t+"   "+this._label},Ul.prototype.computeLabel=function(t){},Ul.prototype.init=function(t,e){this._p0=t,this._p1=e,this._dx=e.x-t.x,this._dy=e.y-t.y,this._quadrant=Fl.quadrant(this._dx,this._dy),tc.isTrue(!(0===this._dx&&0===this._dy),"EdgeEnd with identical endpoints found")},Ul.prototype.interfaces_=function(){return[_u]},Ul.prototype.getClass=function(){return Ul};var Hl=function(t){function e(){var e=arguments[0],r=arguments[1];if(t.call(this,e),this._isForward=null,this._isInResult=!1,this._isVisited=!1,this._sym=null,this._next=null,this._nextMin=null,this._edgeRing=null,this._minEdgeRing=null,this._depth=[0,-999,-999],this._isForward=r,r)this.init(e.getCoordinate(0),e.getCoordinate(1));else{var n=e.getNumPoints()-1;this.init(e.getCoordinate(n),e.getCoordinate(n-1))}this.computeDirectedLabel()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getNextMin=function(){return this._nextMin},e.prototype.getDepth=function(t){return this._depth[t]},e.prototype.setVisited=function(t){this._isVisited=t},e.prototype.computeDirectedLabel=function(){this._label=new Ol(this._edge.getLabel()),this._isForward||this._label.flip()},e.prototype.getNext=function(){return this._next},e.prototype.setDepth=function(t,e){if(-999!==this._depth[t]&&this._depth[t]!==e)throw new Tl("assigned depths do not match",this.getCoordinate());this._depth[t]=e},e.prototype.isInteriorAreaEdge=function(){for(var t=!0,e=0;e<2;e++)this._label.isArea(e)&&this._label.getLocation(e,El.LEFT)===Au.INTERIOR&&this._label.getLocation(e,El.RIGHT)===Au.INTERIOR||(t=!1);return t},e.prototype.setNextMin=function(t){this._nextMin=t},e.prototype.print=function(e){t.prototype.print.call(this,e),e.print(" "+this._depth[El.LEFT]+"/"+this._depth[El.RIGHT]),e.print(" ("+this.getDepthDelta()+")"),this._isInResult&&e.print(" inResult")},e.prototype.setMinEdgeRing=function(t){this._minEdgeRing=t},e.prototype.isLineEdge=function(){var t=this._label.isLine(0)||this._label.isLine(1),e=!this._label.isArea(0)||this._label.allPositionsEqual(0,Au.EXTERIOR),r=!this._label.isArea(1)||this._label.allPositionsEqual(1,Au.EXTERIOR);return t&&e&&r},e.prototype.setEdgeRing=function(t){this._edgeRing=t},e.prototype.getMinEdgeRing=function(){return this._minEdgeRing},e.prototype.getDepthDelta=function(){var t=this._edge.getDepthDelta();return this._isForward||(t=-t),t},e.prototype.setInResult=function(t){this._isInResult=t},e.prototype.getSym=function(){return this._sym},e.prototype.isForward=function(){return this._isForward},e.prototype.getEdge=function(){return this._edge},e.prototype.printEdge=function(t){this.print(t),t.print(" "),this._isForward?this._edge.print(t):this._edge.printReverse(t)},e.prototype.setSym=function(t){this._sym=t},e.prototype.setVisitedEdge=function(t){this.setVisited(t),this._sym.setVisited(t)},e.prototype.setEdgeDepths=function(t,e){var r=this.getEdge().getDepthDelta();this._isForward||(r=-r);var n=1;t===El.LEFT&&(n=-1);var i=El.opposite(t),o=e+r*n;this.setDepth(t,e),this.setDepth(i,o)},e.prototype.getEdgeRing=function(){return this._edgeRing},e.prototype.isInResult=function(){return this._isInResult},e.prototype.setNext=function(t){this._next=t},e.prototype.isVisited=function(){return this._isVisited},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e.depthFactor=function(t,e){return t===Au.EXTERIOR&&e===Au.INTERIOR?1:t===Au.INTERIOR&&e===Au.EXTERIOR?-1:0},e}(Ul),zl=function(){};zl.prototype.createNode=function(t){return new Nl(t,null)},zl.prototype.interfaces_=function(){return[]},zl.prototype.getClass=function(){return zl};var Vl=function(){if(this._edges=new kc,this._nodes=null,this._edgeEndList=new kc,0===arguments.length)this._nodes=new Rl(new zl);else if(1===arguments.length){var t=arguments[0];this._nodes=new Rl(t)}};Vl.prototype.printEdges=function(t){t.println("Edges:");for(var e=0;e<this._edges.size();e++){t.println("edge "+e+":");var r=this._edges.get(e);r.print(t),r.eiList.print(t)}},Vl.prototype.find=function(t){return this._nodes.find(t)},Vl.prototype.addNode=function(){if(arguments[0]instanceof Nl){var t=arguments[0];return this._nodes.addNode(t)}if(arguments[0]instanceof ku){var e=arguments[0];return this._nodes.addNode(e)}},Vl.prototype.getNodeIterator=function(){return this._nodes.iterator()},Vl.prototype.linkResultDirectedEdges=function(){for(var t=this._nodes.iterator();t.hasNext();)t.next().getEdges().linkResultDirectedEdges()},Vl.prototype.debugPrintln=function(t){zu.out.println(t)},Vl.prototype.isBoundaryNode=function(t,e){var r=this._nodes.find(e);if(null===r)return!1;var n=r.getLabel();return null!==n&&n.getLocation(t)===Au.BOUNDARY},Vl.prototype.linkAllDirectedEdges=function(){for(var t=this._nodes.iterator();t.hasNext();)t.next().getEdges().linkAllDirectedEdges()},Vl.prototype.matchInSameDirection=function(t,e,r,n){return!!t.equals(r)&&ac.computeOrientation(t,e,n)===ac.COLLINEAR&&Fl.quadrant(t,e)===Fl.quadrant(r,n)},Vl.prototype.getEdgeEnds=function(){return this._edgeEndList},Vl.prototype.debugPrint=function(t){zu.out.print(t)},Vl.prototype.getEdgeIterator=function(){return this._edges.iterator()},Vl.prototype.findEdgeInSameDirection=function(t,e){for(var r=0;r<this._edges.size();r++){var n=this._edges.get(r),i=n.getCoordinates();if(this.matchInSameDirection(t,e,i[0],i[1]))return n;if(this.matchInSameDirection(t,e,i[i.length-1],i[i.length-2]))return n}return null},Vl.prototype.insertEdge=function(t){this._edges.add(t)},Vl.prototype.findEdgeEnd=function(t){for(var e=this.getEdgeEnds().iterator();e.hasNext();){var r=e.next();if(r.getEdge()===t)return r}return null},Vl.prototype.addEdges=function(t){for(var e=t.iterator();e.hasNext();){var r=e.next();this._edges.add(r);var n=new Hl(r,!0),i=new Hl(r,!1);n.setSym(i),i.setSym(n),this.add(n),this.add(i)}},Vl.prototype.add=function(t){this._nodes.add(t),this._edgeEndList.add(t)},Vl.prototype.getNodes=function(){return this._nodes.values()},Vl.prototype.findEdge=function(t,e){for(var r=0;r<this._edges.size();r++){var n=this._edges.get(r),i=n.getCoordinates();if(t.equals(i[0])&&e.equals(i[1]))return n}return null},Vl.prototype.interfaces_=function(){return[]},Vl.prototype.getClass=function(){return Vl},Vl.linkResultDirectedEdges=function(t){for(var e=t.iterator();e.hasNext();)e.next().getEdges().linkResultDirectedEdges()};var $l=function(){this._geometryFactory=null,this._shellList=new kc;var t=arguments[0];this._geometryFactory=t};$l.prototype.sortShellsAndHoles=function(t,e,r){for(var n=t.iterator();n.hasNext();){var i=n.next();i.isHole()?r.add(i):e.add(i)}},$l.prototype.computePolygons=function(t){for(var e=new kc,r=t.iterator();r.hasNext();){var n=r.next().toPolygon(this._geometryFactory);e.add(n)}return e},$l.prototype.placeFreeHoles=function(t,e){for(var r=e.iterator();r.hasNext();){var n=r.next();if(null===n.getShell()){var i=this.findEdgeRingContaining(n,t);if(null===i)throw new Tl("unable to assign hole to a shell",n.getCoordinate(0));n.setShell(i)}}},$l.prototype.buildMinimalEdgeRings=function(t,e,r){for(var n=new kc,i=t.iterator();i.hasNext();){var o=i.next();if(o.getMaxNodeDegree()>2){o.linkDirectedEdgesForMinimalEdgeRings();var a=o.buildMinimalRings(),s=this.findShell(a);null!==s?(this.placePolygonHoles(s,a),e.add(s)):r.addAll(a)}else n.add(o)}return n},$l.prototype.containsPoint=function(t){for(var e=this._shellList.iterator();e.hasNext();)if(e.next().containsPoint(t))return!0;return!1},$l.prototype.buildMaximalEdgeRings=function(t){for(var e=new kc,r=t.iterator();r.hasNext();){var n=r.next();if(n.isInResult()&&n.getLabel().isArea()&&null===n.getEdgeRing()){var i=new Bl(n,this._geometryFactory);e.add(i),i.setInResult()}}return e},$l.prototype.placePolygonHoles=function(t,e){for(var r=e.iterator();r.hasNext();){var n=r.next();n.isHole()&&n.setShell(t)}},$l.prototype.getPolygons=function(){return this.computePolygons(this._shellList)},$l.prototype.findEdgeRingContaining=function(t,e){for(var r=t.getLinearRing(),n=r.getEnvelopeInternal(),i=r.getCoordinateN(0),o=null,a=null,s=e.iterator();s.hasNext();){var u=s.next(),c=u.getLinearRing(),l=c.getEnvelopeInternal();null!==o&&(a=o.getLinearRing().getEnvelopeInternal());var h=!1;l.contains(n)&&ac.isPointInRing(i,c.getCoordinates())&&(h=!0),h&&(null===o||a.contains(l))&&(o=u)}return o},$l.prototype.findShell=function(t){for(var e=0,r=null,n=t.iterator();n.hasNext();){var i=n.next();i.isHole()||(r=i,e++)}return tc.isTrue(e<=1,"found two shells in MinimalEdgeRing list"),r},$l.prototype.add=function(){if(1===arguments.length){var t=arguments[0];this.add(t.getEdgeEnds(),t.getNodes())}else if(2===arguments.length){var e=arguments[0],r=arguments[1];Vl.linkResultDirectedEdges(r);var n=this.buildMaximalEdgeRings(e),i=new kc,o=this.buildMinimalEdgeRings(n,this._shellList,i);this.sortShellsAndHoles(o,this._shellList,i),this.placeFreeHoles(this._shellList,i)}},$l.prototype.interfaces_=function(){return[]},$l.prototype.getClass=function(){return $l};var ql=function(){};ql.prototype.getBounds=function(){},ql.prototype.interfaces_=function(){return[]},ql.prototype.getClass=function(){return ql};var Gl=function(){this._bounds=null,this._item=null;var t=arguments[0],e=arguments[1];this._bounds=t,this._item=e};Gl.prototype.getItem=function(){return this._item},Gl.prototype.getBounds=function(){return this._bounds},Gl.prototype.interfaces_=function(){return[ql,Ci]},Gl.prototype.getClass=function(){return Gl};var Wl=function(){this._size=null,this._items=null,this._size=0,this._items=new kc,this._items.add(null)};Wl.prototype.poll=function(){if(this.isEmpty())return null;var t=this._items.get(1);return this._items.set(1,this._items.get(this._size)),this._size-=1,this.reorder(1),t},Wl.prototype.size=function(){return this._size},Wl.prototype.reorder=function(t){for(var e=null,r=this._items.get(t);2*t<=this._size&&((e=2*t)!==this._size&&this._items.get(e+1).compareTo(this._items.get(e))<0&&e++,this._items.get(e).compareTo(r)<0);t=e)this._items.set(t,this._items.get(e));this._items.set(t,r)},Wl.prototype.clear=function(){this._size=0,this._items.clear()},Wl.prototype.isEmpty=function(){return 0===this._size},Wl.prototype.add=function(t){this._items.add(null),this._size+=1;var e=this._size;for(this._items.set(0,t);t.compareTo(this._items.get(Math.trunc(e/2)))<0;e/=2)this._items.set(e,this._items.get(Math.trunc(e/2)));this._items.set(e,t)},Wl.prototype.interfaces_=function(){return[]},Wl.prototype.getClass=function(){return Wl};var Kl=function(){};Kl.prototype.visitItem=function(t){},Kl.prototype.interfaces_=function(){return[]},Kl.prototype.getClass=function(){return Kl};var Xl=function(){};Xl.prototype.insert=function(t,e){},Xl.prototype.remove=function(t,e){},Xl.prototype.query=function(){},Xl.prototype.interfaces_=function(){return[]},Xl.prototype.getClass=function(){return Xl};var Jl=function(){if(this._childBoundables=new kc,this._bounds=null,this._level=null,0===arguments.length);else if(1===arguments.length){var t=arguments[0];this._level=t}},Zl={serialVersionUID:{configurable:!0}};Jl.prototype.getLevel=function(){return this._level},Jl.prototype.size=function(){return this._childBoundables.size()},Jl.prototype.getChildBoundables=function(){return this._childBoundables},Jl.prototype.addChildBoundable=function(t){tc.isTrue(null===this._bounds),this._childBoundables.add(t)},Jl.prototype.isEmpty=function(){return this._childBoundables.isEmpty()},Jl.prototype.getBounds=function(){return null===this._bounds&&(this._bounds=this.computeBounds()),this._bounds},Jl.prototype.interfaces_=function(){return[ql,Ci]},Jl.prototype.getClass=function(){return Jl},Zl.serialVersionUID.get=function(){return 0x5a1e55ec41369800},Object.defineProperties(Jl,Zl);var Ql=function(){};Ql.reverseOrder=function(){return{compare:function(t,e){return e.compareTo(t)}}},Ql.min=function(t){return Ql.sort(t),t.get(0)},Ql.sort=function(t,e){var r=t.toArray();e?Nc.sort(r,e):Nc.sort(r);for(var n=t.iterator(),i=0,o=r.length;i<o;i++)n.next(),n.set(r[i])},Ql.singletonList=function(t){var e=new kc;return e.add(t),e};var th=function(){this._boundable1=null,this._boundable2=null,this._distance=null,this._itemDistance=null;var t=arguments[0],e=arguments[1],r=arguments[2];this._boundable1=t,this._boundable2=e,this._itemDistance=r,this._distance=this.distance()};th.prototype.expandToQueue=function(t,e){var r=th.isComposite(this._boundable1),n=th.isComposite(this._boundable2);if(r&&n)return th.area(this._boundable1)>th.area(this._boundable2)?(this.expand(this._boundable1,this._boundable2,t,e),null):(this.expand(this._boundable2,this._boundable1,t,e),null);if(r)return this.expand(this._boundable1,this._boundable2,t,e),null;if(n)return this.expand(this._boundable2,this._boundable1,t,e),null;throw new yu("neither boundable is composite")},th.prototype.isLeaves=function(){return!(th.isComposite(this._boundable1)||th.isComposite(this._boundable2))},th.prototype.compareTo=function(t){var e=t;return this._distance<e._distance?-1:this._distance>e._distance?1:0},th.prototype.expand=function(t,e,r,n){for(var i=t.getChildBoundables().iterator();i.hasNext();){var o=i.next(),a=new th(o,e,this._itemDistance);a.getDistance()<n&&r.add(a)}},th.prototype.getBoundable=function(t){return 0===t?this._boundable1:this._boundable2},th.prototype.getDistance=function(){return this._distance},th.prototype.distance=function(){return this.isLeaves()?this._itemDistance.distance(this._boundable1,this._boundable2):this._boundable1.getBounds().distance(this._boundable2.getBounds())},th.prototype.interfaces_=function(){return[_u]},th.prototype.getClass=function(){return th},th.area=function(t){return t.getBounds().getArea()},th.isComposite=function(t){return t instanceof Jl};var eh=function t(){if(this._root=null,this._built=!1,this._itemBoundables=new kc,this._nodeCapacity=null,0===arguments.length){var e=t.DEFAULT_NODE_CAPACITY;this._nodeCapacity=e}else if(1===arguments.length){var r=arguments[0];tc.isTrue(r>1,"Node capacity must be greater than 1"),this._nodeCapacity=r}},rh={IntersectsOp:{configurable:!0},serialVersionUID:{configurable:!0},DEFAULT_NODE_CAPACITY:{configurable:!0}};eh.prototype.getNodeCapacity=function(){return this._nodeCapacity},eh.prototype.lastNode=function(t){return t.get(t.size()-1)},eh.prototype.size=function(){if(0===arguments.length)return this.isEmpty()?0:(this.build(),this.size(this._root));if(1===arguments.length){for(var t=0,e=arguments[0].getChildBoundables().iterator();e.hasNext();){var r=e.next();r instanceof Jl?t+=this.size(r):r instanceof Gl&&(t+=1)}return t}},eh.prototype.removeItem=function(t,e){for(var r=null,n=t.getChildBoundables().iterator();n.hasNext();){var i=n.next();i instanceof Gl&&i.getItem()===e&&(r=i)}return null!==r&&(t.getChildBoundables().remove(r),!0)},eh.prototype.itemsTree=function(){if(0===arguments.length){this.build();var t=this.itemsTree(this._root);return null===t?new kc:t}if(1===arguments.length){for(var e=arguments[0],r=new kc,n=e.getChildBoundables().iterator();n.hasNext();){var i=n.next();if(i instanceof Jl){var o=this.itemsTree(i);null!==o&&r.add(o)}else i instanceof Gl?r.add(i.getItem()):tc.shouldNeverReachHere()}return r.size()<=0?null:r}},eh.prototype.insert=function(t,e){tc.isTrue(!this._built,"Cannot insert items into an STR packed R-tree after it has been built."),this._itemBoundables.add(new Gl(t,e))},eh.prototype.boundablesAtLevel=function(){if(1===arguments.length){var t=arguments[0],e=new kc;return this.boundablesAtLevel(t,this._root,e),e}if(3===arguments.length){var r=arguments[0],n=arguments[1],i=arguments[2];if(tc.isTrue(r>-2),n.getLevel()===r)return i.add(n),null;for(var o=n.getChildBoundables().iterator();o.hasNext();){var a=o.next();a instanceof Jl?this.boundablesAtLevel(r,a,i):(tc.isTrue(a instanceof Gl),-1===r&&i.add(a))}return null}},eh.prototype.query=function(){if(1===arguments.length){var t=arguments[0];this.build();var e=new kc;return this.isEmpty()||this.getIntersectsOp().intersects(this._root.getBounds(),t)&&this.query(t,this._root,e),e}if(2===arguments.length){var r=arguments[0],n=arguments[1];if(this.build(),this.isEmpty())return null;this.getIntersectsOp().intersects(this._root.getBounds(),r)&&this.query(r,this._root,n)}else if(3===arguments.length)if(Cu(arguments[2],Kl)&&arguments[0]instanceof Object&&arguments[1]instanceof Jl)for(var i=arguments[0],o=arguments[1],a=arguments[2],s=o.getChildBoundables(),u=0;u<s.size();u++){var c=s.get(u);this.getIntersectsOp().intersects(c.getBounds(),i)&&(c instanceof Jl?this.query(i,c,a):c instanceof Gl?a.visitItem(c.getItem()):tc.shouldNeverReachHere())}else if(Cu(arguments[2],xc)&&arguments[0]instanceof Object&&arguments[1]instanceof Jl)for(var l=arguments[0],h=arguments[1],f=arguments[2],d=h.getChildBoundables(),p=0;p<d.size();p++){var m=d.get(p);this.getIntersectsOp().intersects(m.getBounds(),l)&&(m instanceof Jl?this.query(l,m,f):m instanceof Gl?f.add(m.getItem()):tc.shouldNeverReachHere())}},eh.prototype.build=function(){if(this._built)return null;this._root=this._itemBoundables.isEmpty()?this.createNode(0):this.createHigherLevels(this._itemBoundables,-1),this._itemBoundables=null,this._built=!0},eh.prototype.getRoot=function(){return this.build(),this._root},eh.prototype.remove=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1];return this.build(),!!this.getIntersectsOp().intersects(this._root.getBounds(),t)&&this.remove(t,this._root,e)}if(3===arguments.length){var r=arguments[0],n=arguments[1],i=arguments[2],o=this.removeItem(n,i);if(o)return!0;for(var a=null,s=n.getChildBoundables().iterator();s.hasNext();){var u=s.next();if(this.getIntersectsOp().intersects(u.getBounds(),r)&&u instanceof Jl&&(o=this.remove(r,u,i))){a=u;break}}return null!==a&&a.getChildBoundables().isEmpty()&&n.getChildBoundables().remove(a),o}},eh.prototype.createHigherLevels=function(t,e){tc.isTrue(!t.isEmpty());var r=this.createParentBoundables(t,e+1);return 1===r.size()?r.get(0):this.createHigherLevels(r,e+1)},eh.prototype.depth=function(){if(0===arguments.length)return this.isEmpty()?0:(this.build(),this.depth(this._root));if(1===arguments.length){for(var t=0,e=arguments[0].getChildBoundables().iterator();e.hasNext();){var r=e.next();if(r instanceof Jl){var n=this.depth(r);n>t&&(t=n)}}return t+1}},eh.prototype.createParentBoundables=function(t,e){tc.isTrue(!t.isEmpty());var r=new kc;r.add(this.createNode(e));var n=new kc(t);Ql.sort(n,this.getComparator());for(var i=n.iterator();i.hasNext();){var o=i.next();this.lastNode(r).getChildBoundables().size()===this.getNodeCapacity()&&r.add(this.createNode(e)),this.lastNode(r).addChildBoundable(o)}return r},eh.prototype.isEmpty=function(){return this._built?this._root.isEmpty():this._itemBoundables.isEmpty()},eh.prototype.interfaces_=function(){return[Ci]},eh.prototype.getClass=function(){return eh},eh.compareDoubles=function(t,e){return t>e?1:t<e?-1:0},rh.IntersectsOp.get=function(){return nh},rh.serialVersionUID.get=function(){return-0x35ef64c82d4c5400},rh.DEFAULT_NODE_CAPACITY.get=function(){return 10},Object.defineProperties(eh,rh);var nh=function(){},ih=function(){};ih.prototype.distance=function(t,e){},ih.prototype.interfaces_=function(){return[]},ih.prototype.getClass=function(){return ih};var oh=function(t){function e(r){r=r||e.DEFAULT_NODE_CAPACITY,t.call(this,r)}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var r={STRtreeNode:{configurable:!0},serialVersionUID:{configurable:!0},xComparator:{configurable:!0},yComparator:{configurable:!0},intersectsOp:{configurable:!0},DEFAULT_NODE_CAPACITY:{configurable:!0}};return e.prototype.createParentBoundablesFromVerticalSlices=function(t,e){tc.isTrue(t.length>0);for(var r=new kc,n=0;n<t.length;n++)r.addAll(this.createParentBoundablesFromVerticalSlice(t[n],e));return r},e.prototype.createNode=function(t){return new ah(t)},e.prototype.size=function(){return 0===arguments.length?t.prototype.size.call(this):t.prototype.size.apply(this,arguments)},e.prototype.insert=function(){if(2!==arguments.length)return t.prototype.insert.apply(this,arguments);var e=arguments[0],r=arguments[1];if(e.isNull())return null;t.prototype.insert.call(this,e,r)},e.prototype.getIntersectsOp=function(){return e.intersectsOp},e.prototype.verticalSlices=function(t,e){for(var r=Math.trunc(Math.ceil(t.size()/e)),n=new Array(e).fill(null),i=t.iterator(),o=0;o<e;o++){n[o]=new kc;for(var a=0;i.hasNext()&&a<r;){var s=i.next();n[o].add(s),a++}}return n},e.prototype.query=function(){if(1===arguments.length){var e=arguments[0];return t.prototype.query.call(this,e)}if(2===arguments.length){var r=arguments[0],n=arguments[1];t.prototype.query.call(this,r,n)}else if(3===arguments.length)if(Cu(arguments[2],Kl)&&arguments[0]instanceof Object&&arguments[1]instanceof Jl){var i=arguments[0],o=arguments[1],a=arguments[2];t.prototype.query.call(this,i,o,a)}else if(Cu(arguments[2],xc)&&arguments[0]instanceof Object&&arguments[1]instanceof Jl){var s=arguments[0],u=arguments[1],c=arguments[2];t.prototype.query.call(this,s,u,c)}},e.prototype.getComparator=function(){return e.yComparator},e.prototype.createParentBoundablesFromVerticalSlice=function(e,r){return t.prototype.createParentBoundables.call(this,e,r)},e.prototype.remove=function(){if(2===arguments.length){var e=arguments[0],r=arguments[1];return t.prototype.remove.call(this,e,r)}return t.prototype.remove.apply(this,arguments)},e.prototype.depth=function(){return 0===arguments.length?t.prototype.depth.call(this):t.prototype.depth.apply(this,arguments)},e.prototype.createParentBoundables=function(t,r){tc.isTrue(!t.isEmpty());var n=Math.trunc(Math.ceil(t.size()/this.getNodeCapacity())),i=new kc(t);Ql.sort(i,e.xComparator);var o=this.verticalSlices(i,Math.trunc(Math.ceil(Math.sqrt(n))));return this.createParentBoundablesFromVerticalSlices(o,r)},e.prototype.nearestNeighbour=function(){if(1===arguments.length){if(Cu(arguments[0],ih)){var t=arguments[0],r=new th(this.getRoot(),this.getRoot(),t);return this.nearestNeighbour(r)}if(arguments[0]instanceof th){var n=arguments[0];return this.nearestNeighbour(n,vu.POSITIVE_INFINITY)}}else if(2===arguments.length){if(arguments[0]instanceof e&&Cu(arguments[1],ih)){var i=arguments[0],o=arguments[1],a=new th(this.getRoot(),i.getRoot(),o);return this.nearestNeighbour(a)}if(arguments[0]instanceof th&&"number"==typeof arguments[1]){var s=arguments[0],u=arguments[1],c=null,l=new Wl;for(l.add(s);!l.isEmpty()&&u>0;){var h=l.poll(),f=h.getDistance();if(f>=u)break;h.isLeaves()?(u=f,c=h):h.expandToQueue(l,u)}return[c.getBoundable(0).getItem(),c.getBoundable(1).getItem()]}}else if(3===arguments.length){var d=arguments[0],p=arguments[1],m=arguments[2],g=new Gl(d,p),y=new th(this.getRoot(),g,m);return this.nearestNeighbour(y)[0]}},e.prototype.interfaces_=function(){return[Xl,Ci]},e.prototype.getClass=function(){return e},e.centreX=function(t){return e.avg(t.getMinX(),t.getMaxX())},e.avg=function(t,e){return(t+e)/2},e.centreY=function(t){return e.avg(t.getMinY(),t.getMaxY())},r.STRtreeNode.get=function(){return ah},r.serialVersionUID.get=function(){return 0x39920f7d5f261e0},r.xComparator.get=function(){return{interfaces_:function(){return[xu]},compare:function(r,n){return t.compareDoubles(e.centreX(r.getBounds()),e.centreX(n.getBounds()))}}},r.yComparator.get=function(){return{interfaces_:function(){return[xu]},compare:function(r,n){return t.compareDoubles(e.centreY(r.getBounds()),e.centreY(n.getBounds()))}}},r.intersectsOp.get=function(){return{interfaces_:function(){return[t.IntersectsOp]},intersects:function(t,e){return t.intersects(e)}}},r.DEFAULT_NODE_CAPACITY.get=function(){return 10},Object.defineProperties(e,r),e}(eh),ah=function(t){function e(){var e=arguments[0];t.call(this,e)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.computeBounds=function(){for(var t=null,e=this.getChildBoundables().iterator();e.hasNext();){var r=e.next();null===t?t=new $u(r.getBounds()):t.expandToInclude(r.getBounds())}return t},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(Jl),sh=function(){};sh.prototype.interfaces_=function(){return[]},sh.prototype.getClass=function(){return sh},sh.relativeSign=function(t,e){return t<e?-1:t>e?1:0},sh.compare=function(t,e,r){if(e.equals2D(r))return 0;var n=sh.relativeSign(e.x,r.x),i=sh.relativeSign(e.y,r.y);switch(t){case 0:return sh.compareValue(n,i);case 1:return sh.compareValue(i,n);case 2:return sh.compareValue(i,-n);case 3:return sh.compareValue(-n,i);case 4:return sh.compareValue(-n,-i);case 5:return sh.compareValue(-i,-n);case 6:return sh.compareValue(-i,n);case 7:return sh.compareValue(n,-i)}return tc.shouldNeverReachHere("invalid octant value"),0},sh.compareValue=function(t,e){return t<0?-1:t>0?1:e<0?-1:e>0?1:0};var uh=function(){this._segString=null,this.coord=null,this.segmentIndex=null,this._segmentOctant=null,this._isInterior=null;var t=arguments[0],e=arguments[1],r=arguments[2],n=arguments[3];this._segString=t,this.coord=new ku(e),this.segmentIndex=r,this._segmentOctant=n,this._isInterior=!e.equals2D(t.getCoordinate(r))};uh.prototype.getCoordinate=function(){return this.coord},uh.prototype.print=function(t){t.print(this.coord),t.print(" seg # = "+this.segmentIndex)},uh.prototype.compareTo=function(t){var e=t;return this.segmentIndex<e.segmentIndex?-1:this.segmentIndex>e.segmentIndex?1:this.coord.equals2D(e.coord)?0:sh.compare(this._segmentOctant,this.coord,e.coord)},uh.prototype.isEndPoint=function(t){return 0===this.segmentIndex&&!this._isInterior||this.segmentIndex===t},uh.prototype.isInterior=function(){return this._isInterior},uh.prototype.interfaces_=function(){return[_u]},uh.prototype.getClass=function(){return uh};var ch=function(){this._nodeMap=new Ri,this._edge=null;var t=arguments[0];this._edge=t};ch.prototype.getSplitCoordinates=function(){var t=new Ec;this.addEndpoints();for(var e=this.iterator(),r=e.next();e.hasNext();){var n=e.next();this.addEdgeCoordinates(r,n,t),r=n}return t.toCoordinateArray()},ch.prototype.addCollapsedNodes=function(){var t=new kc;this.findCollapsesFromInsertedNodes(t),this.findCollapsesFromExistingVertices(t);for(var e=t.iterator();e.hasNext();){var r=e.next().intValue();this.add(this._edge.getCoordinate(r),r)}},ch.prototype.print=function(t){t.println("Intersections:");for(var e=this.iterator();e.hasNext();)e.next().print(t)},ch.prototype.findCollapsesFromExistingVertices=function(t){for(var e=0;e<this._edge.size()-2;e++){var r=this._edge.getCoordinate(e),n=this._edge.getCoordinate(e+2);r.equals2D(n)&&t.add(new Iu(e+1))}},ch.prototype.addEdgeCoordinates=function(t,e,r){var n=this._edge.getCoordinate(e.segmentIndex),i=e.isInterior()||!e.coord.equals2D(n);r.add(new ku(t.coord),!1);for(var o=t.segmentIndex+1;o<=e.segmentIndex;o++)r.add(this._edge.getCoordinate(o));i&&r.add(new ku(e.coord))},ch.prototype.iterator=function(){return this._nodeMap.values().iterator()},ch.prototype.addSplitEdges=function(t){this.addEndpoints(),this.addCollapsedNodes();for(var e=this.iterator(),r=e.next();e.hasNext();){var n=e.next(),i=this.createSplitEdge(r,n);t.add(i),r=n}},ch.prototype.findCollapseIndex=function(t,e,r){if(!t.coord.equals2D(e.coord))return!1;var n=e.segmentIndex-t.segmentIndex;return e.isInterior()||n--,1===n&&(r[0]=t.segmentIndex+1,!0)},ch.prototype.findCollapsesFromInsertedNodes=function(t){for(var e=new Array(1).fill(null),r=this.iterator(),n=r.next();r.hasNext();){var i=r.next();this.findCollapseIndex(n,i,e)&&t.add(new Iu(e[0])),n=i}},ch.prototype.getEdge=function(){return this._edge},ch.prototype.addEndpoints=function(){var t=this._edge.size()-1;this.add(this._edge.getCoordinate(0),0),this.add(this._edge.getCoordinate(t),t)},ch.prototype.createSplitEdge=function(t,e){var r=e.segmentIndex-t.segmentIndex+2,n=this._edge.getCoordinate(e.segmentIndex),i=e.isInterior()||!e.coord.equals2D(n);i||r--;var o=new Array(r).fill(null),a=0;o[a++]=new ku(t.coord);for(var s=t.segmentIndex+1;s<=e.segmentIndex;s++)o[a++]=this._edge.getCoordinate(s);return i&&(o[a]=new ku(e.coord)),new dh(o,this._edge.getData())},ch.prototype.add=function(t,e){var r=new uh(this._edge,t,e,this._edge.getSegmentOctant(e)),n=this._nodeMap.get(r);return null!==n?(tc.isTrue(n.coord.equals2D(t),"Found equal nodes with different coordinates"),n):(this._nodeMap.put(r,r),r)},ch.prototype.checkSplitEdgesCorrectness=function(t){var e=this._edge.getCoordinates(),r=t.get(0).getCoordinate(0);if(!r.equals2D(e[0]))throw new Zu("bad split edge start point at "+r);var n=t.get(t.size()-1).getCoordinates(),i=n[n.length-1];if(!i.equals2D(e[e.length-1]))throw new Zu("bad split edge end point at "+i)},ch.prototype.interfaces_=function(){return[]},ch.prototype.getClass=function(){return ch};var lh=function(){};lh.prototype.interfaces_=function(){return[]},lh.prototype.getClass=function(){return lh},lh.octant=function(){if("number"==typeof arguments[0]&&"number"==typeof arguments[1]){var t=arguments[0],e=arguments[1];if(0===t&&0===e)throw new yu("Cannot compute the octant for point ( "+t+", "+e+" )");var r=Math.abs(t),n=Math.abs(e);return t>=0?e>=0?r>=n?0:1:r>=n?7:6:e>=0?r>=n?3:2:r>=n?4:5}if(arguments[0]instanceof ku&&arguments[1]instanceof ku){var i=arguments[0],o=arguments[1],a=o.x-i.x,s=o.y-i.y;if(0===a&&0===s)throw new yu("Cannot compute the octant for two identical points "+i);return lh.octant(a,s)}};var hh=function(){};hh.prototype.getCoordinates=function(){},hh.prototype.size=function(){},hh.prototype.getCoordinate=function(t){},hh.prototype.isClosed=function(){},hh.prototype.setData=function(t){},hh.prototype.getData=function(){},hh.prototype.interfaces_=function(){return[]},hh.prototype.getClass=function(){return hh};var fh=function(){};fh.prototype.addIntersection=function(t,e){},fh.prototype.interfaces_=function(){return[hh]},fh.prototype.getClass=function(){return fh};var dh=function(){this._nodeList=new ch(this),this._pts=null,this._data=null;var t=arguments[0],e=arguments[1];this._pts=t,this._data=e};dh.prototype.getCoordinates=function(){return this._pts},dh.prototype.size=function(){return this._pts.length},dh.prototype.getCoordinate=function(t){return this._pts[t]},dh.prototype.isClosed=function(){return this._pts[0].equals(this._pts[this._pts.length-1])},dh.prototype.getSegmentOctant=function(t){return t===this._pts.length-1?-1:this.safeOctant(this.getCoordinate(t),this.getCoordinate(t+1))},dh.prototype.setData=function(t){this._data=t},dh.prototype.safeOctant=function(t,e){return t.equals2D(e)?0:lh.octant(t,e)},dh.prototype.getData=function(){return this._data},dh.prototype.addIntersection=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1];this.addIntersectionNode(t,e)}else if(4===arguments.length){var r=arguments[0],n=arguments[1],i=arguments[3],o=new ku(r.getIntersection(i));this.addIntersection(o,n)}},dh.prototype.toString=function(){return Ju.toLineString(new ul(this._pts))},dh.prototype.getNodeList=function(){return this._nodeList},dh.prototype.addIntersectionNode=function(t,e){var r=e,n=r+1;if(n<this._pts.length){var i=this._pts[n];t.equals2D(i)&&(r=n)}return this._nodeList.add(t,r)},dh.prototype.addIntersections=function(t,e,r){for(var n=0;n<t.getIntersectionNum();n++)this.addIntersection(t,e,r,n)},dh.prototype.interfaces_=function(){return[fh]},dh.prototype.getClass=function(){return dh},dh.getNodedSubstrings=function(){if(1===arguments.length){var t=arguments[0],e=new kc;return dh.getNodedSubstrings(t,e),e}if(2===arguments.length)for(var r=arguments[0],n=arguments[1],i=r.iterator();i.hasNext();)i.next().getNodeList().addSplitEdges(n)};var ph=function(){if(this.p0=null,this.p1=null,0===arguments.length)this.p0=new ku,this.p1=new ku;else if(1===arguments.length){var t=arguments[0];this.p0=new ku(t.p0),this.p1=new ku(t.p1)}else if(2===arguments.length)this.p0=arguments[0],this.p1=arguments[1];else if(4===arguments.length){var e=arguments[0],r=arguments[1],n=arguments[2],i=arguments[3];this.p0=new ku(e,r),this.p1=new ku(n,i)}},mh={serialVersionUID:{configurable:!0}};ph.prototype.minX=function(){return Math.min(this.p0.x,this.p1.x)},ph.prototype.orientationIndex=function(){if(arguments[0]instanceof ph){var t=arguments[0],e=ac.orientationIndex(this.p0,this.p1,t.p0),r=ac.orientationIndex(this.p0,this.p1,t.p1);return e>=0&&r>=0||e<=0&&r<=0?Math.max(e,r):0}if(arguments[0]instanceof ku){var n=arguments[0];return ac.orientationIndex(this.p0,this.p1,n)}},ph.prototype.toGeometry=function(t){return t.createLineString([this.p0,this.p1])},ph.prototype.isVertical=function(){return this.p0.x===this.p1.x},ph.prototype.equals=function(t){if(!(t instanceof ph))return!1;var e=t;return this.p0.equals(e.p0)&&this.p1.equals(e.p1)},ph.prototype.intersection=function(t){var e=new nc;return e.computeIntersection(this.p0,this.p1,t.p0,t.p1),e.hasIntersection()?e.getIntersection(0):null},ph.prototype.project=function(){if(arguments[0]instanceof ku){var t=arguments[0];if(t.equals(this.p0)||t.equals(this.p1))return new ku(t);var e=this.projectionFactor(t),r=new ku;return r.x=this.p0.x+e*(this.p1.x-this.p0.x),r.y=this.p0.y+e*(this.p1.y-this.p0.y),r}if(arguments[0]instanceof ph){var n=arguments[0],i=this.projectionFactor(n.p0),o=this.projectionFactor(n.p1);if(i>=1&&o>=1)return null;if(i<=0&&o<=0)return null;var a=this.project(n.p0);i<0&&(a=this.p0),i>1&&(a=this.p1);var s=this.project(n.p1);return o<0&&(s=this.p0),o>1&&(s=this.p1),new ph(a,s)}},ph.prototype.normalize=function(){this.p1.compareTo(this.p0)<0&&this.reverse()},ph.prototype.angle=function(){return Math.atan2(this.p1.y-this.p0.y,this.p1.x-this.p0.x)},ph.prototype.getCoordinate=function(t){return 0===t?this.p0:this.p1},ph.prototype.distancePerpendicular=function(t){return ac.distancePointLinePerpendicular(t,this.p0,this.p1)},ph.prototype.minY=function(){return Math.min(this.p0.y,this.p1.y)},ph.prototype.midPoint=function(){return ph.midPoint(this.p0,this.p1)},ph.prototype.projectionFactor=function(t){if(t.equals(this.p0))return 0;if(t.equals(this.p1))return 1;var e=this.p1.x-this.p0.x,r=this.p1.y-this.p0.y,n=e*e+r*r;return n<=0?vu.NaN:((t.x-this.p0.x)*e+(t.y-this.p0.y)*r)/n},ph.prototype.closestPoints=function(t){var e=this.intersection(t);if(null!==e)return[e,e];var r=new Array(2).fill(null),n=vu.MAX_VALUE,i=null,o=this.closestPoint(t.p0);n=o.distance(t.p0),r[0]=o,r[1]=t.p0;var a=this.closestPoint(t.p1);(i=a.distance(t.p1))<n&&(n=i,r[0]=a,r[1]=t.p1);var s=t.closestPoint(this.p0);(i=s.distance(this.p0))<n&&(n=i,r[0]=this.p0,r[1]=s);var u=t.closestPoint(this.p1);return(i=u.distance(this.p1))<n&&(n=i,r[0]=this.p1,r[1]=u),r},ph.prototype.closestPoint=function(t){var e=this.projectionFactor(t);return e>0&&e<1?this.project(t):this.p0.distance(t)<this.p1.distance(t)?this.p0:this.p1},ph.prototype.maxX=function(){return Math.max(this.p0.x,this.p1.x)},ph.prototype.getLength=function(){return this.p0.distance(this.p1)},ph.prototype.compareTo=function(t){var e=t,r=this.p0.compareTo(e.p0);return 0!==r?r:this.p1.compareTo(e.p1)},ph.prototype.reverse=function(){var t=this.p0;this.p0=this.p1,this.p1=t},ph.prototype.equalsTopo=function(t){return this.p0.equals(t.p0)&&(this.p1.equals(t.p1)||this.p0.equals(t.p1))&&this.p1.equals(t.p0)},ph.prototype.lineIntersection=function(t){try{return Vu.intersection(this.p0,this.p1,t.p0,t.p1)}catch(t){if(!(t instanceof Hu))throw t}return null},ph.prototype.maxY=function(){return Math.max(this.p0.y,this.p1.y)},ph.prototype.pointAlongOffset=function(t,e){var r=this.p0.x+t*(this.p1.x-this.p0.x),n=this.p0.y+t*(this.p1.y-this.p0.y),i=this.p1.x-this.p0.x,o=this.p1.y-this.p0.y,a=Math.sqrt(i*i+o*o),s=0,u=0;if(0!==e){if(a<=0)throw new Error("Cannot compute offset from zero-length line segment");s=e*i/a,u=e*o/a}return new ku(r-u,n+s)},ph.prototype.setCoordinates=function(){if(1===arguments.length){var t=arguments[0];this.setCoordinates(t.p0,t.p1)}else if(2===arguments.length){var e=arguments[0],r=arguments[1];this.p0.x=e.x,this.p0.y=e.y,this.p1.x=r.x,this.p1.y=r.y}},ph.prototype.segmentFraction=function(t){var e=this.projectionFactor(t);return e<0?e=0:(e>1||vu.isNaN(e))&&(e=1),e},ph.prototype.toString=function(){return"LINESTRING( "+this.p0.x+" "+this.p0.y+", "+this.p1.x+" "+this.p1.y+")"},ph.prototype.isHorizontal=function(){return this.p0.y===this.p1.y},ph.prototype.distance=function(){if(arguments[0]instanceof ph){var t=arguments[0];return ac.distanceLineLine(this.p0,this.p1,t.p0,t.p1)}if(arguments[0]instanceof ku){var e=arguments[0];return ac.distancePointLine(e,this.p0,this.p1)}},ph.prototype.pointAlong=function(t){var e=new ku;return e.x=this.p0.x+t*(this.p1.x-this.p0.x),e.y=this.p0.y+t*(this.p1.y-this.p0.y),e},ph.prototype.hashCode=function(){var t=vu.doubleToLongBits(this.p0.x);t^=31*vu.doubleToLongBits(this.p0.y);var e=Math.trunc(t)^Math.trunc(t>>32),r=vu.doubleToLongBits(this.p1.x);return r^=31*vu.doubleToLongBits(this.p1.y),e^Math.trunc(r)^Math.trunc(r>>32)},ph.prototype.interfaces_=function(){return[_u,Ci]},ph.prototype.getClass=function(){return ph},ph.midPoint=function(t,e){return new ku((t.x+e.x)/2,(t.y+e.y)/2)},mh.serialVersionUID.get=function(){return 0x2d2172135f411c00},Object.defineProperties(ph,mh);var gh=function(){this.tempEnv1=new $u,this.tempEnv2=new $u,this._overlapSeg1=new ph,this._overlapSeg2=new ph};gh.prototype.overlap=function(){if(2===arguments.length);else if(4===arguments.length){var t=arguments[0],e=arguments[1],r=arguments[2],n=arguments[3];t.getLineSegment(e,this._overlapSeg1),r.getLineSegment(n,this._overlapSeg2),this.overlap(this._overlapSeg1,this._overlapSeg2)}},gh.prototype.interfaces_=function(){return[]},gh.prototype.getClass=function(){return gh};var yh=function(){this._pts=null,this._start=null,this._end=null,this._env=null,this._context=null,this._id=null;var t=arguments[0],e=arguments[1],r=arguments[2],n=arguments[3];this._pts=t,this._start=e,this._end=r,this._context=n};yh.prototype.getLineSegment=function(t,e){e.p0=this._pts[t],e.p1=this._pts[t+1]},yh.prototype.computeSelect=function(t,e,r,n){var i=this._pts[e],o=this._pts[r];if(n.tempEnv1.init(i,o),r-e==1)return n.select(this,e),null;if(!t.intersects(n.tempEnv1))return null;var a=Math.trunc((e+r)/2);e<a&&this.computeSelect(t,e,a,n),a<r&&this.computeSelect(t,a,r,n)},yh.prototype.getCoordinates=function(){for(var t=new Array(this._end-this._start+1).fill(null),e=0,r=this._start;r<=this._end;r++)t[e++]=this._pts[r];return t},yh.prototype.computeOverlaps=function(t,e){this.computeOverlapsInternal(this._start,this._end,t,t._start,t._end,e)},yh.prototype.setId=function(t){this._id=t},yh.prototype.select=function(t,e){this.computeSelect(t,this._start,this._end,e)},yh.prototype.getEnvelope=function(){if(null===this._env){var t=this._pts[this._start],e=this._pts[this._end];this._env=new $u(t,e)}return this._env},yh.prototype.getEndIndex=function(){return this._end},yh.prototype.getStartIndex=function(){return this._start},yh.prototype.getContext=function(){return this._context},yh.prototype.getId=function(){return this._id},yh.prototype.computeOverlapsInternal=function(t,e,r,n,i,o){var a=this._pts[t],s=this._pts[e],u=r._pts[n],c=r._pts[i];if(e-t==1&&i-n==1)return o.overlap(this,t,r,n),null;if(o.tempEnv1.init(a,s),o.tempEnv2.init(u,c),!o.tempEnv1.intersects(o.tempEnv2))return null;var l=Math.trunc((t+e)/2),h=Math.trunc((n+i)/2);t<l&&(n<h&&this.computeOverlapsInternal(t,l,r,n,h,o),h<i&&this.computeOverlapsInternal(t,l,r,h,i,o)),l<e&&(n<h&&this.computeOverlapsInternal(l,e,r,n,h,o),h<i&&this.computeOverlapsInternal(l,e,r,h,i,o))},yh.prototype.interfaces_=function(){return[]},yh.prototype.getClass=function(){return yh};var vh=function(){};vh.prototype.interfaces_=function(){return[]},vh.prototype.getClass=function(){return vh},vh.getChainStartIndices=function(t){var e=0,r=new kc;r.add(new Iu(e));do{var n=vh.findChainEnd(t,e);r.add(new Iu(n)),e=n}while(e<t.length-1);return vh.toIntArray(r)},vh.findChainEnd=function(t,e){for(var r=e;r<t.length-1&&t[r].equals2D(t[r+1]);)r++;if(r>=t.length-1)return t.length-1;for(var n=Fl.quadrant(t[r],t[r+1]),i=e+1;i<t.length;){if(!t[i-1].equals2D(t[i])&&Fl.quadrant(t[i-1],t[i])!==n)break;i++}return i-1},vh.getChains=function(){if(1===arguments.length){var t=arguments[0];return vh.getChains(t,null)}if(2===arguments.length){for(var e=arguments[0],r=arguments[1],n=new kc,i=vh.getChainStartIndices(e),o=0;o<i.length-1;o++){var a=new yh(e,i[o],i[o+1],r);n.add(a)}return n}},vh.toIntArray=function(t){for(var e=new Array(t.size()).fill(null),r=0;r<e.length;r++)e[r]=t.get(r).intValue();return e};var bh=function(){};bh.prototype.computeNodes=function(t){},bh.prototype.getNodedSubstrings=function(){},bh.prototype.interfaces_=function(){return[]},bh.prototype.getClass=function(){return bh};var _h=function(){if(this._segInt=null,0===arguments.length);else if(1===arguments.length){var t=arguments[0];this.setSegmentIntersector(t)}};_h.prototype.setSegmentIntersector=function(t){this._segInt=t},_h.prototype.interfaces_=function(){return[bh]},_h.prototype.getClass=function(){return _h};var wh=function(t){function e(e){e?t.call(this,e):t.call(this),this._monoChains=new kc,this._index=new oh,this._idCounter=0,this._nodedSegStrings=null,this._nOverlaps=0}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var r={SegmentOverlapAction:{configurable:!0}};return e.prototype.getMonotoneChains=function(){return this._monoChains},e.prototype.getNodedSubstrings=function(){return dh.getNodedSubstrings(this._nodedSegStrings)},e.prototype.getIndex=function(){return this._index},e.prototype.add=function(t){for(var e=vh.getChains(t.getCoordinates(),t).iterator();e.hasNext();){var r=e.next();r.setId(this._idCounter++),this._index.insert(r.getEnvelope(),r),this._monoChains.add(r)}},e.prototype.computeNodes=function(t){this._nodedSegStrings=t;for(var e=t.iterator();e.hasNext();)this.add(e.next());this.intersectChains()},e.prototype.intersectChains=function(){for(var t=new xh(this._segInt),e=this._monoChains.iterator();e.hasNext();)for(var r=e.next(),n=this._index.query(r.getEnvelope()).iterator();n.hasNext();){var i=n.next();if(i.getId()>r.getId()&&(r.computeOverlaps(i,t),this._nOverlaps++),this._segInt.isDone())return null}},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},r.SegmentOverlapAction.get=function(){return xh},Object.defineProperties(e,r),e}(_h),xh=function(t){function e(){t.call(this),this._si=null;var e=arguments[0];this._si=e}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.overlap=function(){if(4!==arguments.length)return t.prototype.overlap.apply(this,arguments);var e=arguments[0],r=arguments[1],n=arguments[2],i=arguments[3],o=e.getContext(),a=n.getContext();this._si.processIntersections(o,r,a,i)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(gh),kh=function t(){if(this._quadrantSegments=t.DEFAULT_QUADRANT_SEGMENTS,this._endCapStyle=t.CAP_ROUND,this._joinStyle=t.JOIN_ROUND,this._mitreLimit=t.DEFAULT_MITRE_LIMIT,this._isSingleSided=!1,this._simplifyFactor=t.DEFAULT_SIMPLIFY_FACTOR,0===arguments.length);else if(1===arguments.length){var e=arguments[0];this.setQuadrantSegments(e)}else if(2===arguments.length){var r=arguments[0],n=arguments[1];this.setQuadrantSegments(r),this.setEndCapStyle(n)}else if(4===arguments.length){var i=arguments[0],o=arguments[1],a=arguments[2],s=arguments[3];this.setQuadrantSegments(i),this.setEndCapStyle(o),this.setJoinStyle(a),this.setMitreLimit(s)}},Sh={CAP_ROUND:{configurable:!0},CAP_FLAT:{configurable:!0},CAP_SQUARE:{configurable:!0},JOIN_ROUND:{configurable:!0},JOIN_MITRE:{configurable:!0},JOIN_BEVEL:{configurable:!0},DEFAULT_QUADRANT_SEGMENTS:{configurable:!0},DEFAULT_MITRE_LIMIT:{configurable:!0},DEFAULT_SIMPLIFY_FACTOR:{configurable:!0}};kh.prototype.getEndCapStyle=function(){return this._endCapStyle},kh.prototype.isSingleSided=function(){return this._isSingleSided},kh.prototype.setQuadrantSegments=function(t){this._quadrantSegments=t,0===this._quadrantSegments&&(this._joinStyle=kh.JOIN_BEVEL),this._quadrantSegments<0&&(this._joinStyle=kh.JOIN_MITRE,this._mitreLimit=Math.abs(this._quadrantSegments)),t<=0&&(this._quadrantSegments=1),this._joinStyle!==kh.JOIN_ROUND&&(this._quadrantSegments=kh.DEFAULT_QUADRANT_SEGMENTS)},kh.prototype.getJoinStyle=function(){return this._joinStyle},kh.prototype.setJoinStyle=function(t){this._joinStyle=t},kh.prototype.setSimplifyFactor=function(t){this._simplifyFactor=t<0?0:t},kh.prototype.getSimplifyFactor=function(){return this._simplifyFactor},kh.prototype.getQuadrantSegments=function(){return this._quadrantSegments},kh.prototype.setEndCapStyle=function(t){this._endCapStyle=t},kh.prototype.getMitreLimit=function(){return this._mitreLimit},kh.prototype.setMitreLimit=function(t){this._mitreLimit=t},kh.prototype.setSingleSided=function(t){this._isSingleSided=t},kh.prototype.interfaces_=function(){return[]},kh.prototype.getClass=function(){return kh},kh.bufferDistanceError=function(t){var e=Math.PI/2/t;return 1-Math.cos(e/2)},Sh.CAP_ROUND.get=function(){return 1},Sh.CAP_FLAT.get=function(){return 2},Sh.CAP_SQUARE.get=function(){return 3},Sh.JOIN_ROUND.get=function(){return 1},Sh.JOIN_MITRE.get=function(){return 2},Sh.JOIN_BEVEL.get=function(){return 3},Sh.DEFAULT_QUADRANT_SEGMENTS.get=function(){return 8},Sh.DEFAULT_MITRE_LIMIT.get=function(){return 5},Sh.DEFAULT_SIMPLIFY_FACTOR.get=function(){return.01},Object.defineProperties(kh,Sh);var Eh=function(t){this._distanceTol=null,this._isDeleted=null,this._angleOrientation=ac.COUNTERCLOCKWISE,this._inputLine=t||null},Mh={INIT:{configurable:!0},DELETE:{configurable:!0},KEEP:{configurable:!0},NUM_PTS_TO_CHECK:{configurable:!0}};Eh.prototype.isDeletable=function(t,e,r,n){var i=this._inputLine[t],o=this._inputLine[e],a=this._inputLine[r];return!!this.isConcave(i,o,a)&&!!this.isShallow(i,o,a,n)&&this.isShallowSampled(i,o,t,r,n)},Eh.prototype.deleteShallowConcavities=function(){for(var t=1,e=this.findNextNonDeletedIndex(t),r=this.findNextNonDeletedIndex(e),n=!1;r<this._inputLine.length;){var i=!1;this.isDeletable(t,e,r,this._distanceTol)&&(this._isDeleted[e]=Eh.DELETE,i=!0,n=!0),t=i?r:e,e=this.findNextNonDeletedIndex(t),r=this.findNextNonDeletedIndex(e)}return n},Eh.prototype.isShallowConcavity=function(t,e,r,n){return ac.computeOrientation(t,e,r)===this._angleOrientation&&ac.distancePointLine(e,t,r)<n},Eh.prototype.isShallowSampled=function(t,e,r,n,i){var o=Math.trunc((n-r)/Eh.NUM_PTS_TO_CHECK);o<=0&&(o=1);for(var a=r;a<n;a+=o)if(!this.isShallow(t,e,this._inputLine[a],i))return!1;return!0},Eh.prototype.isConcave=function(t,e,r){var n=ac.computeOrientation(t,e,r)===this._angleOrientation;return n},Eh.prototype.simplify=function(t){this._distanceTol=Math.abs(t),t<0&&(this._angleOrientation=ac.CLOCKWISE),this._isDeleted=new Array(this._inputLine.length).fill(null);var e=!1;do{e=this.deleteShallowConcavities()}while(e);return this.collapseLine()},Eh.prototype.findNextNonDeletedIndex=function(t){for(var e=t+1;e<this._inputLine.length&&this._isDeleted[e]===Eh.DELETE;)e++;return e},Eh.prototype.isShallow=function(t,e,r,n){return ac.distancePointLine(e,t,r)<n},Eh.prototype.collapseLine=function(){for(var t=new Ec,e=0;e<this._inputLine.length;e++)this._isDeleted[e]!==Eh.DELETE&&t.add(this._inputLine[e]);return t.toCoordinateArray()},Eh.prototype.interfaces_=function(){return[]},Eh.prototype.getClass=function(){return Eh},Eh.simplify=function(t,e){return new Eh(t).simplify(e)},Mh.INIT.get=function(){return 0},Mh.DELETE.get=function(){return 1},Mh.KEEP.get=function(){return 1},Mh.NUM_PTS_TO_CHECK.get=function(){return 10},Object.defineProperties(Eh,Mh);var Ah=function(){this._ptList=null,this._precisionModel=null,this._minimimVertexDistance=0,this._ptList=new kc},Th={COORDINATE_ARRAY_TYPE:{configurable:!0}};Ah.prototype.getCoordinates=function(){return this._ptList.toArray(Ah.COORDINATE_ARRAY_TYPE)},Ah.prototype.setPrecisionModel=function(t){this._precisionModel=t},Ah.prototype.addPt=function(t){var e=new ku(t);if(this._precisionModel.makePrecise(e),this.isRedundant(e))return null;this._ptList.add(e)},Ah.prototype.revere=function(){},Ah.prototype.addPts=function(t,e){if(e)for(var r=0;r<t.length;r++)this.addPt(t[r]);else for(var n=t.length-1;n>=0;n--)this.addPt(t[n])},Ah.prototype.isRedundant=function(t){if(this._ptList.size()<1)return!1;var e=this._ptList.get(this._ptList.size()-1);return t.distance(e)<this._minimimVertexDistance},Ah.prototype.toString=function(){return(new yl).createLineString(this.getCoordinates()).toString()},Ah.prototype.closeRing=function(){if(this._ptList.size()<1)return null;var t=new ku(this._ptList.get(0)),e=this._ptList.get(this._ptList.size()-1);if(t.equals(e))return null;this._ptList.add(t)},Ah.prototype.setMinimumVertexDistance=function(t){this._minimimVertexDistance=t},Ah.prototype.interfaces_=function(){return[]},Ah.prototype.getClass=function(){return Ah},Th.COORDINATE_ARRAY_TYPE.get=function(){return new Array(0).fill(null)},Object.defineProperties(Ah,Th);var Ch=function(){},Lh={PI_TIMES_2:{configurable:!0},PI_OVER_2:{configurable:!0},PI_OVER_4:{configurable:!0},COUNTERCLOCKWISE:{configurable:!0},CLOCKWISE:{configurable:!0},NONE:{configurable:!0}};Ch.prototype.interfaces_=function(){return[]},Ch.prototype.getClass=function(){return Ch},Ch.toDegrees=function(t){return 180*t/Math.PI},Ch.normalize=function(t){for(;t>Math.PI;)t-=Ch.PI_TIMES_2;for(;t<=-Math.PI;)t+=Ch.PI_TIMES_2;return t},Ch.angle=function(){if(1===arguments.length){var t=arguments[0];return Math.atan2(t.y,t.x)}if(2===arguments.length){var e=arguments[0],r=arguments[1],n=r.x-e.x,i=r.y-e.y;return Math.atan2(i,n)}},Ch.isAcute=function(t,e,r){var n=t.x-e.x,i=t.y-e.y;return n*(r.x-e.x)+i*(r.y-e.y)>0},Ch.isObtuse=function(t,e,r){var n=t.x-e.x,i=t.y-e.y;return n*(r.x-e.x)+i*(r.y-e.y)<0},Ch.interiorAngle=function(t,e,r){var n=Ch.angle(e,t),i=Ch.angle(e,r);return Math.abs(i-n)},Ch.normalizePositive=function(t){if(t<0){for(;t<0;)t+=Ch.PI_TIMES_2;t>=Ch.PI_TIMES_2&&(t=0)}else{for(;t>=Ch.PI_TIMES_2;)t-=Ch.PI_TIMES_2;t<0&&(t=0)}return t},Ch.angleBetween=function(t,e,r){var n=Ch.angle(e,t),i=Ch.angle(e,r);return Ch.diff(n,i)},Ch.diff=function(t,e){var r=null;return(r=t<e?e-t:t-e)>Math.PI&&(r=2*Math.PI-r),r},Ch.toRadians=function(t){return t*Math.PI/180},Ch.getTurn=function(t,e){var r=Math.sin(e-t);return r>0?Ch.COUNTERCLOCKWISE:r<0?Ch.CLOCKWISE:Ch.NONE},Ch.angleBetweenOriented=function(t,e,r){var n=Ch.angle(e,t),i=Ch.angle(e,r)-n;return i<=-Math.PI?i+Ch.PI_TIMES_2:i>Math.PI?i-Ch.PI_TIMES_2:i},Lh.PI_TIMES_2.get=function(){return 2*Math.PI},Lh.PI_OVER_2.get=function(){return Math.PI/2},Lh.PI_OVER_4.get=function(){return Math.PI/4},Lh.COUNTERCLOCKWISE.get=function(){return ac.COUNTERCLOCKWISE},Lh.CLOCKWISE.get=function(){return ac.CLOCKWISE},Lh.NONE.get=function(){return ac.COLLINEAR},Object.defineProperties(Ch,Lh);var Ph=function t(){this._maxCurveSegmentError=0,this._filletAngleQuantum=null,this._closingSegLengthFactor=1,this._segList=null,this._distance=0,this._precisionModel=null,this._bufParams=null,this._li=null,this._s0=null,this._s1=null,this._s2=null,this._seg0=new ph,this._seg1=new ph,this._offset0=new ph,this._offset1=new ph,this._side=0,this._hasNarrowConcaveAngle=!1;var e=arguments[0],r=arguments[1],n=arguments[2];this._precisionModel=e,this._bufParams=r,this._li=new nc,this._filletAngleQuantum=Math.PI/2/r.getQuadrantSegments(),r.getQuadrantSegments()>=8&&r.getJoinStyle()===kh.JOIN_ROUND&&(this._closingSegLengthFactor=t.MAX_CLOSING_SEG_LEN_FACTOR),this.init(n)},Oh={OFFSET_SEGMENT_SEPARATION_FACTOR:{configurable:!0},INSIDE_TURN_VERTEX_SNAP_DISTANCE_FACTOR:{configurable:!0},CURVE_VERTEX_SNAP_DISTANCE_FACTOR:{configurable:!0},MAX_CLOSING_SEG_LEN_FACTOR:{configurable:!0}};Ph.prototype.addNextSegment=function(t,e){if(this._s0=this._s1,this._s1=this._s2,this._s2=t,this._seg0.setCoordinates(this._s0,this._s1),this.computeOffsetSegment(this._seg0,this._side,this._distance,this._offset0),this._seg1.setCoordinates(this._s1,this._s2),this.computeOffsetSegment(this._seg1,this._side,this._distance,this._offset1),this._s1.equals(this._s2))return null;var r=ac.computeOrientation(this._s0,this._s1,this._s2),n=r===ac.CLOCKWISE&&this._side===El.LEFT||r===ac.COUNTERCLOCKWISE&&this._side===El.RIGHT;0===r?this.addCollinear(e):n?this.addOutsideTurn(r,e):this.addInsideTurn(r,e)},Ph.prototype.addLineEndCap=function(t,e){var r=new ph(t,e),n=new ph;this.computeOffsetSegment(r,El.LEFT,this._distance,n);var i=new ph;this.computeOffsetSegment(r,El.RIGHT,this._distance,i);var o=e.x-t.x,a=e.y-t.y,s=Math.atan2(a,o);switch(this._bufParams.getEndCapStyle()){case kh.CAP_ROUND:this._segList.addPt(n.p1),this.addFilletArc(e,s+Math.PI/2,s-Math.PI/2,ac.CLOCKWISE,this._distance),this._segList.addPt(i.p1);break;case kh.CAP_FLAT:this._segList.addPt(n.p1),this._segList.addPt(i.p1);break;case kh.CAP_SQUARE:var u=new ku;u.x=Math.abs(this._distance)*Math.cos(s),u.y=Math.abs(this._distance)*Math.sin(s);var c=new ku(n.p1.x+u.x,n.p1.y+u.y),l=new ku(i.p1.x+u.x,i.p1.y+u.y);this._segList.addPt(c),this._segList.addPt(l)}},Ph.prototype.getCoordinates=function(){return this._segList.getCoordinates()},Ph.prototype.addMitreJoin=function(t,e,r,n){var i=!0,o=null;try{o=Vu.intersection(e.p0,e.p1,r.p0,r.p1),(n<=0?1:o.distance(t)/Math.abs(n))>this._bufParams.getMitreLimit()&&(i=!1)}catch(t){if(!(t instanceof Hu))throw t;o=new ku(0,0),i=!1}i?this._segList.addPt(o):this.addLimitedMitreJoin(e,r,n,this._bufParams.getMitreLimit())},Ph.prototype.addFilletCorner=function(t,e,r,n,i){var o=e.x-t.x,a=e.y-t.y,s=Math.atan2(a,o),u=r.x-t.x,c=r.y-t.y,l=Math.atan2(c,u);n===ac.CLOCKWISE?s<=l&&(s+=2*Math.PI):s>=l&&(s-=2*Math.PI),this._segList.addPt(e),this.addFilletArc(t,s,l,n,i),this._segList.addPt(r)},Ph.prototype.addOutsideTurn=function(t,e){if(this._offset0.p1.distance(this._offset1.p0)<this._distance*Ph.OFFSET_SEGMENT_SEPARATION_FACTOR)return this._segList.addPt(this._offset0.p1),null;this._bufParams.getJoinStyle()===kh.JOIN_MITRE?this.addMitreJoin(this._s1,this._offset0,this._offset1,this._distance):this._bufParams.getJoinStyle()===kh.JOIN_BEVEL?this.addBevelJoin(this._offset0,this._offset1):(e&&this._segList.addPt(this._offset0.p1),this.addFilletCorner(this._s1,this._offset0.p1,this._offset1.p0,t,this._distance),this._segList.addPt(this._offset1.p0))},Ph.prototype.createSquare=function(t){this._segList.addPt(new ku(t.x+this._distance,t.y+this._distance)),this._segList.addPt(new ku(t.x+this._distance,t.y-this._distance)),this._segList.addPt(new ku(t.x-this._distance,t.y-this._distance)),this._segList.addPt(new ku(t.x-this._distance,t.y+this._distance)),this._segList.closeRing()},Ph.prototype.addSegments=function(t,e){this._segList.addPts(t,e)},Ph.prototype.addFirstSegment=function(){this._segList.addPt(this._offset1.p0)},Ph.prototype.addLastSegment=function(){this._segList.addPt(this._offset1.p1)},Ph.prototype.initSideSegments=function(t,e,r){this._s1=t,this._s2=e,this._side=r,this._seg1.setCoordinates(t,e),this.computeOffsetSegment(this._seg1,r,this._distance,this._offset1)},Ph.prototype.addLimitedMitreJoin=function(t,e,r,n){var i=this._seg0.p1,o=Ch.angle(i,this._seg0.p0),a=Ch.angleBetweenOriented(this._seg0.p0,i,this._seg1.p1)/2,s=Ch.normalize(o+a),u=Ch.normalize(s+Math.PI),c=n*r,l=r-c*Math.abs(Math.sin(a)),h=i.x+c*Math.cos(u),f=i.y+c*Math.sin(u),d=new ku(h,f),p=new ph(i,d),m=p.pointAlongOffset(1,l),g=p.pointAlongOffset(1,-l);this._side===El.LEFT?(this._segList.addPt(m),this._segList.addPt(g)):(this._segList.addPt(g),this._segList.addPt(m))},Ph.prototype.computeOffsetSegment=function(t,e,r,n){var i=e===El.LEFT?1:-1,o=t.p1.x-t.p0.x,a=t.p1.y-t.p0.y,s=Math.sqrt(o*o+a*a),u=i*r*o/s,c=i*r*a/s;n.p0.x=t.p0.x-c,n.p0.y=t.p0.y+u,n.p1.x=t.p1.x-c,n.p1.y=t.p1.y+u},Ph.prototype.addFilletArc=function(t,e,r,n,i){var o=n===ac.CLOCKWISE?-1:1,a=Math.abs(e-r),s=Math.trunc(a/this._filletAngleQuantum+.5);if(s<1)return null;for(var u=a/s,c=0,l=new ku;c<a;){var h=e+o*c;l.x=t.x+i*Math.cos(h),l.y=t.y+i*Math.sin(h),this._segList.addPt(l),c+=u}},Ph.prototype.addInsideTurn=function(t,e){if(this._li.computeIntersection(this._offset0.p0,this._offset0.p1,this._offset1.p0,this._offset1.p1),this._li.hasIntersection())this._segList.addPt(this._li.getIntersection(0));else if(this._hasNarrowConcaveAngle=!0,this._offset0.p1.distance(this._offset1.p0)<this._distance*Ph.INSIDE_TURN_VERTEX_SNAP_DISTANCE_FACTOR)this._segList.addPt(this._offset0.p1);else{if(this._segList.addPt(this._offset0.p1),this._closingSegLengthFactor>0){var r=new ku((this._closingSegLengthFactor*this._offset0.p1.x+this._s1.x)/(this._closingSegLengthFactor+1),(this._closingSegLengthFactor*this._offset0.p1.y+this._s1.y)/(this._closingSegLengthFactor+1));this._segList.addPt(r);var n=new ku((this._closingSegLengthFactor*this._offset1.p0.x+this._s1.x)/(this._closingSegLengthFactor+1),(this._closingSegLengthFactor*this._offset1.p0.y+this._s1.y)/(this._closingSegLengthFactor+1));this._segList.addPt(n)}else this._segList.addPt(this._s1);this._segList.addPt(this._offset1.p0)}},Ph.prototype.createCircle=function(t){var e=new ku(t.x+this._distance,t.y);this._segList.addPt(e),this.addFilletArc(t,0,2*Math.PI,-1,this._distance),this._segList.closeRing()},Ph.prototype.addBevelJoin=function(t,e){this._segList.addPt(t.p1),this._segList.addPt(e.p0)},Ph.prototype.init=function(t){this._distance=t,this._maxCurveSegmentError=t*(1-Math.cos(this._filletAngleQuantum/2)),this._segList=new Ah,this._segList.setPrecisionModel(this._precisionModel),this._segList.setMinimumVertexDistance(t*Ph.CURVE_VERTEX_SNAP_DISTANCE_FACTOR)},Ph.prototype.addCollinear=function(t){this._li.computeIntersection(this._s0,this._s1,this._s1,this._s2),this._li.getIntersectionNum()>=2&&(this._bufParams.getJoinStyle()===kh.JOIN_BEVEL||this._bufParams.getJoinStyle()===kh.JOIN_MITRE?(t&&this._segList.addPt(this._offset0.p1),this._segList.addPt(this._offset1.p0)):this.addFilletCorner(this._s1,this._offset0.p1,this._offset1.p0,ac.CLOCKWISE,this._distance))},Ph.prototype.closeRing=function(){this._segList.closeRing()},Ph.prototype.hasNarrowConcaveAngle=function(){return this._hasNarrowConcaveAngle},Ph.prototype.interfaces_=function(){return[]},Ph.prototype.getClass=function(){return Ph},Oh.OFFSET_SEGMENT_SEPARATION_FACTOR.get=function(){return.001},Oh.INSIDE_TURN_VERTEX_SNAP_DISTANCE_FACTOR.get=function(){return.001},Oh.CURVE_VERTEX_SNAP_DISTANCE_FACTOR.get=function(){return 1e-6},Oh.MAX_CLOSING_SEG_LEN_FACTOR.get=function(){return 80},Object.defineProperties(Ph,Oh);var Ih=function(){this._distance=0,this._precisionModel=null,this._bufParams=null;var t=arguments[0],e=arguments[1];this._precisionModel=t,this._bufParams=e};Ih.prototype.getOffsetCurve=function(t,e){if(this._distance=e,0===e)return null;var r=e<0,n=Math.abs(e),i=this.getSegGen(n);t.length<=1?this.computePointCurve(t[0],i):this.computeOffsetCurve(t,r,i);var o=i.getCoordinates();return r&&Mc.reverse(o),o},Ih.prototype.computeSingleSidedBufferCurve=function(t,e,r){var n=this.simplifyTolerance(this._distance);if(e){r.addSegments(t,!0);var i=Eh.simplify(t,-n),o=i.length-1;r.initSideSegments(i[o],i[o-1],El.LEFT),r.addFirstSegment();for(var a=o-2;a>=0;a--)r.addNextSegment(i[a],!0)}else{r.addSegments(t,!1);var s=Eh.simplify(t,n),u=s.length-1;r.initSideSegments(s[0],s[1],El.LEFT),r.addFirstSegment();for(var c=2;c<=u;c++)r.addNextSegment(s[c],!0)}r.addLastSegment(),r.closeRing()},Ih.prototype.computeRingBufferCurve=function(t,e,r){var n=this.simplifyTolerance(this._distance);e===El.RIGHT&&(n=-n);var i=Eh.simplify(t,n),o=i.length-1;r.initSideSegments(i[o-1],i[0],e);for(var a=1;a<=o;a++){var s=1!==a;r.addNextSegment(i[a],s)}r.closeRing()},Ih.prototype.computeLineBufferCurve=function(t,e){var r=this.simplifyTolerance(this._distance),n=Eh.simplify(t,r),i=n.length-1;e.initSideSegments(n[0],n[1],El.LEFT);for(var o=2;o<=i;o++)e.addNextSegment(n[o],!0);e.addLastSegment(),e.addLineEndCap(n[i-1],n[i]);var a=Eh.simplify(t,-r),s=a.length-1;e.initSideSegments(a[s],a[s-1],El.LEFT);for(var u=s-2;u>=0;u--)e.addNextSegment(a[u],!0);e.addLastSegment(),e.addLineEndCap(a[1],a[0]),e.closeRing()},Ih.prototype.computePointCurve=function(t,e){switch(this._bufParams.getEndCapStyle()){case kh.CAP_ROUND:e.createCircle(t);break;case kh.CAP_SQUARE:e.createSquare(t)}},Ih.prototype.getLineCurve=function(t,e){if(this._distance=e,e<0&&!this._bufParams.isSingleSided())return null;if(0===e)return null;var r=Math.abs(e),n=this.getSegGen(r);if(t.length<=1)this.computePointCurve(t[0],n);else if(this._bufParams.isSingleSided()){var i=e<0;this.computeSingleSidedBufferCurve(t,i,n)}else this.computeLineBufferCurve(t,n);return n.getCoordinates()},Ih.prototype.getBufferParameters=function(){return this._bufParams},Ih.prototype.simplifyTolerance=function(t){return t*this._bufParams.getSimplifyFactor()},Ih.prototype.getRingCurve=function(t,e,r){if(this._distance=r,t.length<=2)return this.getLineCurve(t,r);if(0===r)return Ih.copyCoordinates(t);var n=this.getSegGen(r);return this.computeRingBufferCurve(t,e,n),n.getCoordinates()},Ih.prototype.computeOffsetCurve=function(t,e,r){var n=this.simplifyTolerance(this._distance);if(e){var i=Eh.simplify(t,-n),o=i.length-1;r.initSideSegments(i[o],i[o-1],El.LEFT),r.addFirstSegment();for(var a=o-2;a>=0;a--)r.addNextSegment(i[a],!0)}else{var s=Eh.simplify(t,n),u=s.length-1;r.initSideSegments(s[0],s[1],El.LEFT),r.addFirstSegment();for(var c=2;c<=u;c++)r.addNextSegment(s[c],!0)}r.addLastSegment()},Ih.prototype.getSegGen=function(t){return new Ph(this._precisionModel,this._bufParams,t)},Ih.prototype.interfaces_=function(){return[]},Ih.prototype.getClass=function(){return Ih},Ih.copyCoordinates=function(t){for(var e=new Array(t.length).fill(null),r=0;r<e.length;r++)e[r]=new ku(t[r]);return e};var Dh=function(){this._subgraphs=null,this._seg=new ph,this._cga=new ac;var t=arguments[0];this._subgraphs=t},Bh={DepthSegment:{configurable:!0}};Dh.prototype.findStabbedSegments=function(){if(1===arguments.length){for(var t=arguments[0],e=new kc,r=this._subgraphs.iterator();r.hasNext();){var n=r.next(),i=n.getEnvelope();t.y<i.getMinY()||t.y>i.getMaxY()||this.findStabbedSegments(t,n.getDirectedEdges(),e)}return e}if(3===arguments.length)if(Cu(arguments[2],xc)&&arguments[0]instanceof ku&&arguments[1]instanceof Hl){for(var o=arguments[0],a=arguments[1],s=arguments[2],u=a.getEdge().getCoordinates(),c=0;c<u.length-1;c++)if(this._seg.p0=u[c],this._seg.p1=u[c+1],this._seg.p0.y>this._seg.p1.y&&this._seg.reverse(),!(Math.max(this._seg.p0.x,this._seg.p1.x)<o.x)&&!(this._seg.isHorizontal()||o.y<this._seg.p0.y||o.y>this._seg.p1.y||ac.computeOrientation(this._seg.p0,this._seg.p1,o)===ac.RIGHT)){var l=a.getDepth(El.LEFT);this._seg.p0.equals(u[c])||(l=a.getDepth(El.RIGHT));var h=new jh(this._seg,l);s.add(h)}}else if(Cu(arguments[2],xc)&&arguments[0]instanceof ku&&Cu(arguments[1],xc))for(var f=arguments[0],d=arguments[1],p=arguments[2],m=d.iterator();m.hasNext();){var g=m.next();g.isForward()&&this.findStabbedSegments(f,g,p)}},Dh.prototype.getDepth=function(t){var e=this.findStabbedSegments(t);return 0===e.size()?0:Ql.min(e)._leftDepth},Dh.prototype.interfaces_=function(){return[]},Dh.prototype.getClass=function(){return Dh},Bh.DepthSegment.get=function(){return jh},Object.defineProperties(Dh,Bh);var jh=function(){this._upwardSeg=null,this._leftDepth=null;var t=arguments[0],e=arguments[1];this._upwardSeg=new ph(t),this._leftDepth=e};jh.prototype.compareTo=function(t){var e=t;if(this._upwardSeg.minX()>=e._upwardSeg.maxX())return 1;if(this._upwardSeg.maxX()<=e._upwardSeg.minX())return-1;var r=this._upwardSeg.orientationIndex(e._upwardSeg);return 0!==r||0!=(r=-1*e._upwardSeg.orientationIndex(this._upwardSeg))?r:this._upwardSeg.compareTo(e._upwardSeg)},jh.prototype.compareX=function(t,e){var r=t.p0.compareTo(e.p0);return 0!==r?r:t.p1.compareTo(e.p1)},jh.prototype.toString=function(){return this._upwardSeg.toString()},jh.prototype.interfaces_=function(){return[_u]},jh.prototype.getClass=function(){return jh};var Nh=function(t,e,r){this.p0=t||null,this.p1=e||null,this.p2=r||null};Nh.prototype.area=function(){return Nh.area(this.p0,this.p1,this.p2)},Nh.prototype.signedArea=function(){return Nh.signedArea(this.p0,this.p1,this.p2)},Nh.prototype.interpolateZ=function(t){if(null===t)throw new yu("Supplied point is null.");return Nh.interpolateZ(t,this.p0,this.p1,this.p2)},Nh.prototype.longestSideLength=function(){return Nh.longestSideLength(this.p0,this.p1,this.p2)},Nh.prototype.isAcute=function(){return Nh.isAcute(this.p0,this.p1,this.p2)},Nh.prototype.circumcentre=function(){return Nh.circumcentre(this.p0,this.p1,this.p2)},Nh.prototype.area3D=function(){return Nh.area3D(this.p0,this.p1,this.p2)},Nh.prototype.centroid=function(){return Nh.centroid(this.p0,this.p1,this.p2)},Nh.prototype.inCentre=function(){return Nh.inCentre(this.p0,this.p1,this.p2)},Nh.prototype.interfaces_=function(){return[]},Nh.prototype.getClass=function(){return Nh},Nh.area=function(t,e,r){return Math.abs(((r.x-t.x)*(e.y-t.y)-(e.x-t.x)*(r.y-t.y))/2)},Nh.signedArea=function(t,e,r){return((r.x-t.x)*(e.y-t.y)-(e.x-t.x)*(r.y-t.y))/2},Nh.det=function(t,e,r,n){return t*n-e*r},Nh.interpolateZ=function(t,e,r,n){var i=e.x,o=e.y,a=r.x-i,s=n.x-i,u=r.y-o,c=n.y-o,l=a*c-s*u,h=t.x-i,f=t.y-o,d=(c*h-s*f)/l,p=(-u*h+a*f)/l;return e.z+d*(r.z-e.z)+p*(n.z-e.z)},Nh.longestSideLength=function(t,e,r){var n=t.distance(e),i=e.distance(r),o=r.distance(t),a=n;return i>a&&(a=i),o>a&&(a=o),a},Nh.isAcute=function(t,e,r){return!!Ch.isAcute(t,e,r)&&!!Ch.isAcute(e,r,t)&&!!Ch.isAcute(r,t,e)},Nh.circumcentre=function(t,e,r){var n=r.x,i=r.y,o=t.x-n,a=t.y-i,s=e.x-n,u=e.y-i,c=2*Nh.det(o,a,s,u),l=Nh.det(a,o*o+a*a,u,s*s+u*u),h=Nh.det(o,o*o+a*a,s,s*s+u*u);return new ku(n-l/c,i+h/c)},Nh.perpendicularBisector=function(t,e){var r=e.x-t.x,n=e.y-t.y,i=new Vu(t.x+r/2,t.y+n/2,1),o=new Vu(t.x-n+r/2,t.y+r+n/2,1);return new Vu(i,o)},Nh.angleBisector=function(t,e,r){var n=e.distance(t),i=n/(n+e.distance(r)),o=r.x-t.x,a=r.y-t.y;return new ku(t.x+i*o,t.y+i*a)},Nh.area3D=function(t,e,r){var n=e.x-t.x,i=e.y-t.y,o=e.z-t.z,a=r.x-t.x,s=r.y-t.y,u=r.z-t.z,c=i*u-o*s,l=o*a-n*u,h=n*s-i*a,f=c*c+l*l+h*h,d=Math.sqrt(f)/2;return d},Nh.centroid=function(t,e,r){var n=(t.x+e.x+r.x)/3,i=(t.y+e.y+r.y)/3;return new ku(n,i)},Nh.inCentre=function(t,e,r){var n=e.distance(r),i=t.distance(r),o=t.distance(e),a=n+i+o,s=(n*t.x+i*e.x+o*r.x)/a,u=(n*t.y+i*e.y+o*r.y)/a;return new ku(s,u)};var Rh=function(){this._inputGeom=null,this._distance=null,this._curveBuilder=null,this._curveList=new kc;var t=arguments[0],e=arguments[1],r=arguments[2];this._inputGeom=t,this._distance=e,this._curveBuilder=r};Rh.prototype.addPoint=function(t){if(this._distance<=0)return null;var e=t.getCoordinates(),r=this._curveBuilder.getLineCurve(e,this._distance);this.addCurve(r,Au.EXTERIOR,Au.INTERIOR)},Rh.prototype.addPolygon=function(t){var e=this._distance,r=El.LEFT;this._distance<0&&(e=-this._distance,r=El.RIGHT);var n=t.getExteriorRing(),i=Mc.removeRepeatedPoints(n.getCoordinates());if(this._distance<0&&this.isErodedCompletely(n,this._distance))return null;if(this._distance<=0&&i.length<3)return null;this.addPolygonRing(i,e,r,Au.EXTERIOR,Au.INTERIOR);for(var o=0;o<t.getNumInteriorRing();o++){var a=t.getInteriorRingN(o),s=Mc.removeRepeatedPoints(a.getCoordinates());this._distance>0&&this.isErodedCompletely(a,-this._distance)||this.addPolygonRing(s,e,El.opposite(r),Au.INTERIOR,Au.EXTERIOR)}},Rh.prototype.isTriangleErodedCompletely=function(t,e){var r=new Nh(t[0],t[1],t[2]),n=r.inCentre();return ac.distancePointLine(n,r.p0,r.p1)<Math.abs(e)},Rh.prototype.addLineString=function(t){if(this._distance<=0&&!this._curveBuilder.getBufferParameters().isSingleSided())return null;var e=Mc.removeRepeatedPoints(t.getCoordinates()),r=this._curveBuilder.getLineCurve(e,this._distance);this.addCurve(r,Au.EXTERIOR,Au.INTERIOR)},Rh.prototype.addCurve=function(t,e,r){if(null===t||t.length<2)return null;var n=new dh(t,new Ol(0,Au.BOUNDARY,e,r));this._curveList.add(n)},Rh.prototype.getCurves=function(){return this.add(this._inputGeom),this._curveList},Rh.prototype.addPolygonRing=function(t,e,r,n,i){if(0===e&&t.length<el.MINIMUM_VALID_SIZE)return null;var o=n,a=i;t.length>=el.MINIMUM_VALID_SIZE&&ac.isCCW(t)&&(o=i,a=n,r=El.opposite(r));var s=this._curveBuilder.getRingCurve(t,r,e);this.addCurve(s,o,a)},Rh.prototype.add=function(t){if(t.isEmpty())return null;t instanceof Qc?this.addPolygon(t):t instanceof Kc?this.addLineString(t):t instanceof Jc?this.addPoint(t):(t instanceof tl||t instanceof zc||t instanceof rl||t instanceof Hc)&&this.addCollection(t)},Rh.prototype.isErodedCompletely=function(t,e){var r=t.getCoordinates();if(r.length<4)return e<0;if(4===r.length)return this.isTriangleErodedCompletely(r,e);var n=t.getEnvelopeInternal(),i=Math.min(n.getHeight(),n.getWidth());return e<0&&2*Math.abs(e)>i},Rh.prototype.addCollection=function(t){for(var e=0;e<t.getNumGeometries();e++){var r=t.getGeometryN(e);this.add(r)}},Rh.prototype.interfaces_=function(){return[]},Rh.prototype.getClass=function(){return Rh};var Fh=function(){};Fh.prototype.locate=function(t){},Fh.prototype.interfaces_=function(){return[]},Fh.prototype.getClass=function(){return Fh};var Yh=function(){this._parent=null,this._atStart=null,this._max=null,this._index=null,this._subcollectionIterator=null;var t=arguments[0];this._parent=t,this._atStart=!0,this._index=0,this._max=t.getNumGeometries()};Yh.prototype.next=function(){if(this._atStart)return this._atStart=!1,Yh.isAtomic(this._parent)&&this._index++,this._parent;if(null!==this._subcollectionIterator){if(this._subcollectionIterator.hasNext())return this._subcollectionIterator.next();this._subcollectionIterator=null}if(this._index>=this._max)throw new Li;var t=this._parent.getGeometryN(this._index++);return t instanceof Hc?(this._subcollectionIterator=new Yh(t),this._subcollectionIterator.next()):t},Yh.prototype.remove=function(){throw new Error(this.getClass().getName())},Yh.prototype.hasNext=function(){if(this._atStart)return!0;if(null!==this._subcollectionIterator){if(this._subcollectionIterator.hasNext())return!0;this._subcollectionIterator=null}return!(this._index>=this._max)},Yh.prototype.interfaces_=function(){return[wc]},Yh.prototype.getClass=function(){return Yh},Yh.isAtomic=function(t){return!(t instanceof Hc)};var Uh=function(){this._geom=null;var t=arguments[0];this._geom=t};Uh.prototype.locate=function(t){return Uh.locate(t,this._geom)},Uh.prototype.interfaces_=function(){return[Fh]},Uh.prototype.getClass=function(){return Uh},Uh.isPointInRing=function(t,e){return!!e.getEnvelopeInternal().intersects(t)&&ac.isPointInRing(t,e.getCoordinates())},Uh.containsPointInPolygon=function(t,e){if(e.isEmpty())return!1;var r=e.getExteriorRing();if(!Uh.isPointInRing(t,r))return!1;for(var n=0;n<e.getNumInteriorRing();n++){var i=e.getInteriorRingN(n);if(Uh.isPointInRing(t,i))return!1}return!0},Uh.containsPoint=function(t,e){if(e instanceof Qc)return Uh.containsPointInPolygon(t,e);if(e instanceof Hc)for(var r=new Yh(e);r.hasNext();){var n=r.next();if(n!==e&&Uh.containsPoint(t,n))return!0}return!1},Uh.locate=function(t,e){return e.isEmpty()?Au.EXTERIOR:Uh.containsPoint(t,e)?Au.INTERIOR:Au.EXTERIOR};var Hh=function(){this._edgeMap=new Ri,this._edgeList=null,this._ptInAreaLocation=[Au.NONE,Au.NONE]};Hh.prototype.getNextCW=function(t){this.getEdges();var e=this._edgeList.indexOf(t),r=e-1;return 0===e&&(r=this._edgeList.size()-1),this._edgeList.get(r)},Hh.prototype.propagateSideLabels=function(t){for(var e=Au.NONE,r=this.iterator();r.hasNext();){var n=r.next().getLabel();n.isArea(t)&&n.getLocation(t,El.LEFT)!==Au.NONE&&(e=n.getLocation(t,El.LEFT))}if(e===Au.NONE)return null;for(var i=e,o=this.iterator();o.hasNext();){var a=o.next(),s=a.getLabel();if(s.getLocation(t,El.ON)===Au.NONE&&s.setLocation(t,El.ON,i),s.isArea(t)){var u=s.getLocation(t,El.LEFT),c=s.getLocation(t,El.RIGHT);if(c!==Au.NONE){if(c!==i)throw new Tl("side location conflict",a.getCoordinate());u===Au.NONE&&tc.shouldNeverReachHere("found single null side (at "+a.getCoordinate()+")"),i=u}else tc.isTrue(s.getLocation(t,El.LEFT)===Au.NONE,"found single null side"),s.setLocation(t,El.RIGHT,i),s.setLocation(t,El.LEFT,i)}}},Hh.prototype.getCoordinate=function(){var t=this.iterator();return t.hasNext()?t.next().getCoordinate():null},Hh.prototype.print=function(t){zu.out.println("EdgeEndStar:   "+this.getCoordinate());for(var e=this.iterator();e.hasNext();)e.next().print(t)},Hh.prototype.isAreaLabelsConsistent=function(t){return this.computeEdgeEndLabels(t.getBoundaryNodeRule()),this.checkAreaLabelsConsistent(0)},Hh.prototype.checkAreaLabelsConsistent=function(t){var e=this.getEdges();if(e.size()<=0)return!0;var r=e.size()-1,n=e.get(r).getLabel().getLocation(t,El.LEFT);tc.isTrue(n!==Au.NONE,"Found unlabelled area edge");for(var i=n,o=this.iterator();o.hasNext();){var a=o.next().getLabel();tc.isTrue(a.isArea(t),"Found non-area edge");var s=a.getLocation(t,El.LEFT),u=a.getLocation(t,El.RIGHT);if(s===u)return!1;if(u!==i)return!1;i=s}return!0},Hh.prototype.findIndex=function(t){this.iterator();for(var e=0;e<this._edgeList.size();e++)if(this._edgeList.get(e)===t)return e;return-1},Hh.prototype.iterator=function(){return this.getEdges().iterator()},Hh.prototype.getEdges=function(){return null===this._edgeList&&(this._edgeList=new kc(this._edgeMap.values())),this._edgeList},Hh.prototype.getLocation=function(t,e,r){return this._ptInAreaLocation[t]===Au.NONE&&(this._ptInAreaLocation[t]=Uh.locate(e,r[t].getGeometry())),this._ptInAreaLocation[t]},Hh.prototype.toString=function(){var t=new Ou;t.append("EdgeEndStar:   "+this.getCoordinate()),t.append("\n");for(var e=this.iterator();e.hasNext();){var r=e.next();t.append(r),t.append("\n")}return t.toString()},Hh.prototype.computeEdgeEndLabels=function(t){for(var e=this.iterator();e.hasNext();)e.next().computeLabel(t)},Hh.prototype.computeLabelling=function(t){this.computeEdgeEndLabels(t[0].getBoundaryNodeRule()),this.propagateSideLabels(0),this.propagateSideLabels(1);for(var e=[!1,!1],r=this.iterator();r.hasNext();)for(var n=r.next().getLabel(),i=0;i<2;i++)n.isLine(i)&&n.getLocation(i)===Au.BOUNDARY&&(e[i]=!0);for(var o=this.iterator();o.hasNext();)for(var a=o.next(),s=a.getLabel(),u=0;u<2;u++)if(s.isAnyNull(u)){var c=Au.NONE;if(e[u])c=Au.EXTERIOR;else{var l=a.getCoordinate();c=this.getLocation(u,l,t)}s.setAllLocationsIfNull(u,c)}},Hh.prototype.getDegree=function(){return this._edgeMap.size()},Hh.prototype.insertEdgeEnd=function(t,e){this._edgeMap.put(t,e),this._edgeList=null},Hh.prototype.interfaces_=function(){return[]},Hh.prototype.getClass=function(){return Hh};var zh=function(t){function e(){t.call(this),this._resultAreaEdgeList=null,this._label=null,this._SCANNING_FOR_INCOMING=1,this._LINKING_TO_OUTGOING=2}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.linkResultDirectedEdges=function(){this.getResultAreaEdges();for(var t=null,e=null,r=this._SCANNING_FOR_INCOMING,n=0;n<this._resultAreaEdgeList.size();n++){var i=this._resultAreaEdgeList.get(n),o=i.getSym();if(i.getLabel().isArea())switch(null===t&&i.isInResult()&&(t=i),r){case this._SCANNING_FOR_INCOMING:if(!o.isInResult())continue;e=o,r=this._LINKING_TO_OUTGOING;break;case this._LINKING_TO_OUTGOING:if(!i.isInResult())continue;e.setNext(i),r=this._SCANNING_FOR_INCOMING}}if(r===this._LINKING_TO_OUTGOING){if(null===t)throw new Tl("no outgoing dirEdge found",this.getCoordinate());tc.isTrue(t.isInResult(),"unable to link last incoming dirEdge"),e.setNext(t)}},e.prototype.insert=function(t){var e=t;this.insertEdgeEnd(e,e)},e.prototype.getRightmostEdge=function(){var t=this.getEdges(),e=t.size();if(e<1)return null;var r=t.get(0);if(1===e)return r;var n=t.get(e-1),i=r.getQuadrant(),o=n.getQuadrant();return Fl.isNorthern(i)&&Fl.isNorthern(o)?r:Fl.isNorthern(i)||Fl.isNorthern(o)?0!==r.getDy()?r:0!==n.getDy()?n:(tc.shouldNeverReachHere("found two horizontal edges incident on node"),null):n},e.prototype.print=function(t){zu.out.println("DirectedEdgeStar: "+this.getCoordinate());for(var e=this.iterator();e.hasNext();){var r=e.next();t.print("out "),r.print(t),t.println(),t.print("in "),r.getSym().print(t),t.println()}},e.prototype.getResultAreaEdges=function(){if(null!==this._resultAreaEdgeList)return this._resultAreaEdgeList;this._resultAreaEdgeList=new kc;for(var t=this.iterator();t.hasNext();){var e=t.next();(e.isInResult()||e.getSym().isInResult())&&this._resultAreaEdgeList.add(e)}return this._resultAreaEdgeList},e.prototype.updateLabelling=function(t){for(var e=this.iterator();e.hasNext();){var r=e.next().getLabel();r.setAllLocationsIfNull(0,t.getLocation(0)),r.setAllLocationsIfNull(1,t.getLocation(1))}},e.prototype.linkAllDirectedEdges=function(){this.getEdges();for(var t=null,e=null,r=this._edgeList.size()-1;r>=0;r--){var n=this._edgeList.get(r),i=n.getSym();null===e&&(e=i),null!==t&&i.setNext(t),t=n}e.setNext(t)},e.prototype.computeDepths=function(){if(1===arguments.length){var t=arguments[0],e=this.findIndex(t),r=t.getDepth(El.LEFT),n=t.getDepth(El.RIGHT),i=this.computeDepths(e+1,this._edgeList.size(),r);if(this.computeDepths(0,e,i)!==n)throw new Tl("depth mismatch at "+t.getCoordinate())}else if(3===arguments.length){for(var o=arguments[0],a=arguments[1],s=arguments[2],u=o;u<a;u++){var c=this._edgeList.get(u);c.setEdgeDepths(El.RIGHT,s),s=c.getDepth(El.LEFT)}return s}},e.prototype.mergeSymLabels=function(){for(var t=this.iterator();t.hasNext();){var e=t.next();e.getLabel().merge(e.getSym().getLabel())}},e.prototype.linkMinimalDirectedEdges=function(t){for(var e=null,r=null,n=this._SCANNING_FOR_INCOMING,i=this._resultAreaEdgeList.size()-1;i>=0;i--){var o=this._resultAreaEdgeList.get(i),a=o.getSym();switch(null===e&&o.getEdgeRing()===t&&(e=o),n){case this._SCANNING_FOR_INCOMING:if(a.getEdgeRing()!==t)continue;r=a,n=this._LINKING_TO_OUTGOING;break;case this._LINKING_TO_OUTGOING:if(o.getEdgeRing()!==t)continue;r.setNextMin(o),n=this._SCANNING_FOR_INCOMING}}n===this._LINKING_TO_OUTGOING&&(tc.isTrue(null!==e,"found null for first outgoing dirEdge"),tc.isTrue(e.getEdgeRing()===t,"unable to link last incoming dirEdge"),r.setNextMin(e))},e.prototype.getOutgoingDegree=function(){if(0===arguments.length){for(var t=0,e=this.iterator();e.hasNext();)e.next().isInResult()&&t++;return t}if(1===arguments.length){for(var r=arguments[0],n=0,i=this.iterator();i.hasNext();)i.next().getEdgeRing()===r&&n++;return n}},e.prototype.getLabel=function(){return this._label},e.prototype.findCoveredLineEdges=function(){for(var t=Au.NONE,e=this.iterator();e.hasNext();){var r=e.next(),n=r.getSym();if(!r.isLineEdge()){if(r.isInResult()){t=Au.INTERIOR;break}if(n.isInResult()){t=Au.EXTERIOR;break}}}if(t===Au.NONE)return null;for(var i=t,o=this.iterator();o.hasNext();){var a=o.next(),s=a.getSym();a.isLineEdge()?a.getEdge().setCovered(i===Au.INTERIOR):(a.isInResult()&&(i=Au.EXTERIOR),s.isInResult()&&(i=Au.INTERIOR))}},e.prototype.computeLabelling=function(e){t.prototype.computeLabelling.call(this,e),this._label=new Ol(Au.NONE);for(var r=this.iterator();r.hasNext();)for(var n=r.next().getEdge().getLabel(),i=0;i<2;i++){var o=n.getLocation(i);o!==Au.INTERIOR&&o!==Au.BOUNDARY||this._label.setLocation(i,Au.INTERIOR)}},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(Hh),Vh=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createNode=function(t){return new Nl(t,new zh)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(zl),$h=function t(){this._pts=null,this._orientation=null;var e=arguments[0];this._pts=e,this._orientation=t.orientation(e)};$h.prototype.compareTo=function(t){var e=t;return $h.compareOriented(this._pts,this._orientation,e._pts,e._orientation)},$h.prototype.interfaces_=function(){return[_u]},$h.prototype.getClass=function(){return $h},$h.orientation=function(t){return 1===Mc.increasingDirection(t)},$h.compareOriented=function(t,e,r,n){for(var i=e?1:-1,o=n?1:-1,a=e?t.length:-1,s=n?r.length:-1,u=e?0:t.length-1,c=n?0:r.length-1;;){var l=t[u].compareTo(r[c]);if(0!==l)return l;var h=(u+=i)===a,f=(c+=o)===s;if(h&&!f)return-1;if(!h&&f)return 1;if(h&&f)return 0}};var qh=function(){this._edges=new kc,this._ocaMap=new Ri};qh.prototype.print=function(t){t.print("MULTILINESTRING ( ");for(var e=0;e<this._edges.size();e++){var r=this._edges.get(e);e>0&&t.print(","),t.print("(");for(var n=r.getCoordinates(),i=0;i<n.length;i++)i>0&&t.print(","),t.print(n[i].x+" "+n[i].y);t.println(")")}t.print(")  ")},qh.prototype.addAll=function(t){for(var e=t.iterator();e.hasNext();)this.add(e.next())},qh.prototype.findEdgeIndex=function(t){for(var e=0;e<this._edges.size();e++)if(this._edges.get(e).equals(t))return e;return-1},qh.prototype.iterator=function(){return this._edges.iterator()},qh.prototype.getEdges=function(){return this._edges},qh.prototype.get=function(t){return this._edges.get(t)},qh.prototype.findEqualEdge=function(t){var e=new $h(t.getCoordinates());return this._ocaMap.get(e)},qh.prototype.add=function(t){this._edges.add(t);var e=new $h(t.getCoordinates());this._ocaMap.put(e,t)},qh.prototype.interfaces_=function(){return[]},qh.prototype.getClass=function(){return qh};var Gh=function(){};Gh.prototype.processIntersections=function(t,e,r,n){},Gh.prototype.isDone=function(){},Gh.prototype.interfaces_=function(){return[]},Gh.prototype.getClass=function(){return Gh};var Wh=function(){this._hasIntersection=!1,this._hasProper=!1,this._hasProperInterior=!1,this._hasInterior=!1,this._properIntersectionPoint=null,this._li=null,this._isSelfIntersection=null,this.numIntersections=0,this.numInteriorIntersections=0,this.numProperIntersections=0,this.numTests=0;var t=arguments[0];this._li=t};Wh.prototype.isTrivialIntersection=function(t,e,r,n){if(t===r&&1===this._li.getIntersectionNum()){if(Wh.isAdjacentSegments(e,n))return!0;if(t.isClosed()){var i=t.size()-1;if(0===e&&n===i||0===n&&e===i)return!0}}return!1},Wh.prototype.getProperIntersectionPoint=function(){return this._properIntersectionPoint},Wh.prototype.hasProperInteriorIntersection=function(){return this._hasProperInterior},Wh.prototype.getLineIntersector=function(){return this._li},Wh.prototype.hasProperIntersection=function(){return this._hasProper},Wh.prototype.processIntersections=function(t,e,r,n){if(t===r&&e===n)return null;this.numTests++;var i=t.getCoordinates()[e],o=t.getCoordinates()[e+1],a=r.getCoordinates()[n],s=r.getCoordinates()[n+1];this._li.computeIntersection(i,o,a,s),this._li.hasIntersection()&&(this.numIntersections++,this._li.isInteriorIntersection()&&(this.numInteriorIntersections++,this._hasInterior=!0),this.isTrivialIntersection(t,e,r,n)||(this._hasIntersection=!0,t.addIntersections(this._li,e,0),r.addIntersections(this._li,n,1),this._li.isProper()&&(this.numProperIntersections++,this._hasProper=!0,this._hasProperInterior=!0)))},Wh.prototype.hasIntersection=function(){return this._hasIntersection},Wh.prototype.isDone=function(){return!1},Wh.prototype.hasInteriorIntersection=function(){return this._hasInterior},Wh.prototype.interfaces_=function(){return[Gh]},Wh.prototype.getClass=function(){return Wh},Wh.isAdjacentSegments=function(t,e){return 1===Math.abs(t-e)};var Kh=function(){this.coord=null,this.segmentIndex=null,this.dist=null;var t=arguments[0],e=arguments[1],r=arguments[2];this.coord=new ku(t),this.segmentIndex=e,this.dist=r};Kh.prototype.getSegmentIndex=function(){return this.segmentIndex},Kh.prototype.getCoordinate=function(){return this.coord},Kh.prototype.print=function(t){t.print(this.coord),t.print(" seg # = "+this.segmentIndex),t.println(" dist = "+this.dist)},Kh.prototype.compareTo=function(t){var e=t;return this.compare(e.segmentIndex,e.dist)},Kh.prototype.isEndPoint=function(t){return 0===this.segmentIndex&&0===this.dist||this.segmentIndex===t},Kh.prototype.toString=function(){return this.coord+" seg # = "+this.segmentIndex+" dist = "+this.dist},Kh.prototype.getDistance=function(){return this.dist},Kh.prototype.compare=function(t,e){return this.segmentIndex<t?-1:this.segmentIndex>t?1:this.dist<e?-1:this.dist>e?1:0},Kh.prototype.interfaces_=function(){return[_u]},Kh.prototype.getClass=function(){return Kh};var Xh=function(){this._nodeMap=new Ri,this.edge=null;var t=arguments[0];this.edge=t};Xh.prototype.print=function(t){t.println("Intersections:");for(var e=this.iterator();e.hasNext();)e.next().print(t)},Xh.prototype.iterator=function(){return this._nodeMap.values().iterator()},Xh.prototype.addSplitEdges=function(t){this.addEndpoints();for(var e=this.iterator(),r=e.next();e.hasNext();){var n=e.next(),i=this.createSplitEdge(r,n);t.add(i),r=n}},Xh.prototype.addEndpoints=function(){var t=this.edge.pts.length-1;this.add(this.edge.pts[0],0,0),this.add(this.edge.pts[t],t,0)},Xh.prototype.createSplitEdge=function(t,e){var r=e.segmentIndex-t.segmentIndex+2,n=this.edge.pts[e.segmentIndex],i=e.dist>0||!e.coord.equals2D(n);i||r--;var o=new Array(r).fill(null),a=0;o[a++]=new ku(t.coord);for(var s=t.segmentIndex+1;s<=e.segmentIndex;s++)o[a++]=this.edge.pts[s];return i&&(o[a]=e.coord),new ef(o,new Ol(this.edge._label))},Xh.prototype.add=function(t,e,r){var n=new Kh(t,e,r),i=this._nodeMap.get(n);return null!==i?i:(this._nodeMap.put(n,n),n)},Xh.prototype.isIntersection=function(t){for(var e=this.iterator();e.hasNext();)if(e.next().coord.equals(t))return!0;return!1},Xh.prototype.interfaces_=function(){return[]},Xh.prototype.getClass=function(){return Xh};var Jh=function(){};Jh.prototype.getChainStartIndices=function(t){var e=0,r=new kc;r.add(new Iu(e));do{var n=this.findChainEnd(t,e);r.add(new Iu(n)),e=n}while(e<t.length-1);return Jh.toIntArray(r)},Jh.prototype.findChainEnd=function(t,e){for(var r=Fl.quadrant(t[e],t[e+1]),n=e+1;n<t.length;){if(Fl.quadrant(t[n-1],t[n])!==r)break;n++}return n-1},Jh.prototype.interfaces_=function(){return[]},Jh.prototype.getClass=function(){return Jh},Jh.toIntArray=function(t){for(var e=new Array(t.size()).fill(null),r=0;r<e.length;r++)e[r]=t.get(r).intValue();return e};var Zh=function(){this.e=null,this.pts=null,this.startIndex=null,this.env1=new $u,this.env2=new $u;var t=arguments[0];this.e=t,this.pts=t.getCoordinates();var e=new Jh;this.startIndex=e.getChainStartIndices(this.pts)};Zh.prototype.getCoordinates=function(){return this.pts},Zh.prototype.getMaxX=function(t){var e=this.pts[this.startIndex[t]].x,r=this.pts[this.startIndex[t+1]].x;return e>r?e:r},Zh.prototype.getMinX=function(t){var e=this.pts[this.startIndex[t]].x,r=this.pts[this.startIndex[t+1]].x;return e<r?e:r},Zh.prototype.computeIntersectsForChain=function(){if(4===arguments.length){var t=arguments[0],e=arguments[1],r=arguments[2],n=arguments[3];this.computeIntersectsForChain(this.startIndex[t],this.startIndex[t+1],e,e.startIndex[r],e.startIndex[r+1],n)}else if(6===arguments.length){var i=arguments[0],o=arguments[1],a=arguments[2],s=arguments[3],u=arguments[4],c=arguments[5],l=this.pts[i],h=this.pts[o],f=a.pts[s],d=a.pts[u];if(o-i==1&&u-s==1)return c.addIntersections(this.e,i,a.e,s),null;if(this.env1.init(l,h),this.env2.init(f,d),!this.env1.intersects(this.env2))return null;var p=Math.trunc((i+o)/2),m=Math.trunc((s+u)/2);i<p&&(s<m&&this.computeIntersectsForChain(i,p,a,s,m,c),m<u&&this.computeIntersectsForChain(i,p,a,m,u,c)),p<o&&(s<m&&this.computeIntersectsForChain(p,o,a,s,m,c),m<u&&this.computeIntersectsForChain(p,o,a,m,u,c))}},Zh.prototype.getStartIndexes=function(){return this.startIndex},Zh.prototype.computeIntersects=function(t,e){for(var r=0;r<this.startIndex.length-1;r++)for(var n=0;n<t.startIndex.length-1;n++)this.computeIntersectsForChain(r,t,n,e)},Zh.prototype.interfaces_=function(){return[]},Zh.prototype.getClass=function(){return Zh};var Qh=function t(){this._depth=Array(2).fill().map((function(){return Array(3)}));for(var e=0;e<2;e++)for(var r=0;r<3;r++)this._depth[e][r]=t.NULL_VALUE},tf={NULL_VALUE:{configurable:!0}};Qh.prototype.getDepth=function(t,e){return this._depth[t][e]},Qh.prototype.setDepth=function(t,e,r){this._depth[t][e]=r},Qh.prototype.isNull=function(){if(0===arguments.length){for(var t=0;t<2;t++)for(var e=0;e<3;e++)if(this._depth[t][e]!==Qh.NULL_VALUE)return!1;return!0}if(1===arguments.length){var r=arguments[0];return this._depth[r][1]===Qh.NULL_VALUE}if(2===arguments.length){var n=arguments[0],i=arguments[1];return this._depth[n][i]===Qh.NULL_VALUE}},Qh.prototype.normalize=function(){for(var t=0;t<2;t++)if(!this.isNull(t)){var e=this._depth[t][1];this._depth[t][2]<e&&(e=this._depth[t][2]),e<0&&(e=0);for(var r=1;r<3;r++){var n=0;this._depth[t][r]>e&&(n=1),this._depth[t][r]=n}}},Qh.prototype.getDelta=function(t){return this._depth[t][El.RIGHT]-this._depth[t][El.LEFT]},Qh.prototype.getLocation=function(t,e){return this._depth[t][e]<=0?Au.EXTERIOR:Au.INTERIOR},Qh.prototype.toString=function(){return"A: "+this._depth[0][1]+","+this._depth[0][2]+" B: "+this._depth[1][1]+","+this._depth[1][2]},Qh.prototype.add=function(){if(1===arguments.length)for(var t=arguments[0],e=0;e<2;e++)for(var r=1;r<3;r++){var n=t.getLocation(e,r);n!==Au.EXTERIOR&&n!==Au.INTERIOR||(this.isNull(e,r)?this._depth[e][r]=Qh.depthAtLocation(n):this._depth[e][r]+=Qh.depthAtLocation(n))}else if(3===arguments.length){var i=arguments[0],o=arguments[1];arguments[2]===Au.INTERIOR&&this._depth[i][o]++}},Qh.prototype.interfaces_=function(){return[]},Qh.prototype.getClass=function(){return Qh},Qh.depthAtLocation=function(t){return t===Au.EXTERIOR?0:t===Au.INTERIOR?1:Qh.NULL_VALUE},tf.NULL_VALUE.get=function(){return-1},Object.defineProperties(Qh,tf);var ef=function(t){function e(){if(t.call(this),this.pts=null,this._env=null,this.eiList=new Xh(this),this._name=null,this._mce=null,this._isIsolated=!0,this._depth=new Qh,this._depthDelta=0,1===arguments.length){var r=arguments[0];e.call(this,r,null)}else if(2===arguments.length){var n=arguments[0],i=arguments[1];this.pts=n,this._label=i}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDepth=function(){return this._depth},e.prototype.getCollapsedEdge=function(){var t=new Array(2).fill(null);return t[0]=this.pts[0],t[1]=this.pts[1],new e(t,Ol.toLineLabel(this._label))},e.prototype.isIsolated=function(){return this._isIsolated},e.prototype.getCoordinates=function(){return this.pts},e.prototype.setIsolated=function(t){this._isIsolated=t},e.prototype.setName=function(t){this._name=t},e.prototype.equals=function(t){if(!(t instanceof e))return!1;var r=t;if(this.pts.length!==r.pts.length)return!1;for(var n=!0,i=!0,o=this.pts.length,a=0;a<this.pts.length;a++)if(this.pts[a].equals2D(r.pts[a])||(n=!1),this.pts[a].equals2D(r.pts[--o])||(i=!1),!n&&!i)return!1;return!0},e.prototype.getCoordinate=function(){if(0===arguments.length)return this.pts.length>0?this.pts[0]:null;if(1===arguments.length){var t=arguments[0];return this.pts[t]}},e.prototype.print=function(t){t.print("edge "+this._name+": "),t.print("LINESTRING (");for(var e=0;e<this.pts.length;e++)e>0&&t.print(","),t.print(this.pts[e].x+" "+this.pts[e].y);t.print(")  "+this._label+" "+this._depthDelta)},e.prototype.computeIM=function(t){e.updateIM(this._label,t)},e.prototype.isCollapsed=function(){return!!this._label.isArea()&&3===this.pts.length&&!!this.pts[0].equals(this.pts[2])},e.prototype.isClosed=function(){return this.pts[0].equals(this.pts[this.pts.length-1])},e.prototype.getMaximumSegmentIndex=function(){return this.pts.length-1},e.prototype.getDepthDelta=function(){return this._depthDelta},e.prototype.getNumPoints=function(){return this.pts.length},e.prototype.printReverse=function(t){t.print("edge "+this._name+": ");for(var e=this.pts.length-1;e>=0;e--)t.print(this.pts[e]+" ");t.println("")},e.prototype.getMonotoneChainEdge=function(){return null===this._mce&&(this._mce=new Zh(this)),this._mce},e.prototype.getEnvelope=function(){if(null===this._env){this._env=new $u;for(var t=0;t<this.pts.length;t++)this._env.expandToInclude(this.pts[t])}return this._env},e.prototype.addIntersection=function(t,e,r,n){var i=new ku(t.getIntersection(n)),o=e,a=t.getEdgeDistance(r,n),s=o+1;if(s<this.pts.length){var u=this.pts[s];i.equals2D(u)&&(o=s,a=0)}this.eiList.add(i,o,a)},e.prototype.toString=function(){var t=new Ou;t.append("edge "+this._name+": "),t.append("LINESTRING (");for(var e=0;e<this.pts.length;e++)e>0&&t.append(","),t.append(this.pts[e].x+" "+this.pts[e].y);return t.append(")  "+this._label+" "+this._depthDelta),t.toString()},e.prototype.isPointwiseEqual=function(t){if(this.pts.length!==t.pts.length)return!1;for(var e=0;e<this.pts.length;e++)if(!this.pts[e].equals2D(t.pts[e]))return!1;return!0},e.prototype.setDepthDelta=function(t){this._depthDelta=t},e.prototype.getEdgeIntersectionList=function(){return this.eiList},e.prototype.addIntersections=function(t,e,r){for(var n=0;n<t.getIntersectionNum();n++)this.addIntersection(t,e,r,n)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e.updateIM=function(){if(2!==arguments.length)return t.prototype.updateIM.apply(this,arguments);var e=arguments[0],r=arguments[1];r.setAtLeastIfValid(e.getLocation(0,El.ON),e.getLocation(1,El.ON),1),e.isArea()&&(r.setAtLeastIfValid(e.getLocation(0,El.LEFT),e.getLocation(1,El.LEFT),2),r.setAtLeastIfValid(e.getLocation(0,El.RIGHT),e.getLocation(1,El.RIGHT),2))},e}(jl),rf=function(t){this._workingPrecisionModel=null,this._workingNoder=null,this._geomFact=null,this._graph=null,this._edgeList=new qh,this._bufParams=t||null};rf.prototype.setWorkingPrecisionModel=function(t){this._workingPrecisionModel=t},rf.prototype.insertUniqueEdge=function(t){var e=this._edgeList.findEqualEdge(t);if(null!==e){var r=e.getLabel(),n=t.getLabel();e.isPointwiseEqual(t)||(n=new Ol(t.getLabel())).flip(),r.merge(n);var i=rf.depthDelta(n),o=e.getDepthDelta()+i;e.setDepthDelta(o)}else this._edgeList.add(t),t.setDepthDelta(rf.depthDelta(t.getLabel()))},rf.prototype.buildSubgraphs=function(t,e){for(var r=new kc,n=t.iterator();n.hasNext();){var i=n.next(),o=i.getRightmostCoordinate(),a=new Dh(r).getDepth(o);i.computeDepth(a),i.findResultEdges(),r.add(i),e.add(i.getDirectedEdges(),i.getNodes())}},rf.prototype.createSubgraphs=function(t){for(var e=new kc,r=t.getNodes().iterator();r.hasNext();){var n=r.next();if(!n.isVisited()){var i=new Ll;i.create(n),e.add(i)}}return Ql.sort(e,Ql.reverseOrder()),e},rf.prototype.createEmptyResultGeometry=function(){return this._geomFact.createPolygon()},rf.prototype.getNoder=function(t){if(null!==this._workingNoder)return this._workingNoder;var e=new wh,r=new nc;return r.setPrecisionModel(t),e.setSegmentIntersector(new Wh(r)),e},rf.prototype.buffer=function(t,e){var r=this._workingPrecisionModel;null===r&&(r=t.getPrecisionModel()),this._geomFact=t.getFactory();var n=new Ih(r,this._bufParams),i=new Rh(t,e,n).getCurves();if(i.size()<=0)return this.createEmptyResultGeometry();this.computeNodedEdges(i,r),this._graph=new Vl(new Vh),this._graph.addEdges(this._edgeList.getEdges());var o=this.createSubgraphs(this._graph),a=new $l(this._geomFact);this.buildSubgraphs(o,a);var s=a.getPolygons();return s.size()<=0?this.createEmptyResultGeometry():this._geomFact.buildGeometry(s)},rf.prototype.computeNodedEdges=function(t,e){var r=this.getNoder(e);r.computeNodes(t);for(var n=r.getNodedSubstrings().iterator();n.hasNext();){var i=n.next(),o=i.getCoordinates();if(2!==o.length||!o[0].equals2D(o[1])){var a=i.getData(),s=new ef(i.getCoordinates(),new Ol(a));this.insertUniqueEdge(s)}}},rf.prototype.setNoder=function(t){this._workingNoder=t},rf.prototype.interfaces_=function(){return[]},rf.prototype.getClass=function(){return rf},rf.depthDelta=function(t){var e=t.getLocation(0,El.LEFT),r=t.getLocation(0,El.RIGHT);return e===Au.INTERIOR&&r===Au.EXTERIOR?1:e===Au.EXTERIOR&&r===Au.INTERIOR?-1:0},rf.convertSegStrings=function(t){for(var e=new yl,r=new kc;t.hasNext();){var n=t.next(),i=e.createLineString(n.getCoordinates());r.add(i)}return e.buildGeometry(r)};var nf=function(){if(this._noder=null,this._scaleFactor=null,this._offsetX=null,this._offsetY=null,this._isScaled=!1,2===arguments.length){var t=arguments[0],e=arguments[1];this._noder=t,this._scaleFactor=e,this._offsetX=0,this._offsetY=0,this._isScaled=!this.isIntegerPrecision()}else if(4===arguments.length){var r=arguments[0],n=arguments[1],i=arguments[2],o=arguments[3];this._noder=r,this._scaleFactor=n,this._offsetX=i,this._offsetY=o,this._isScaled=!this.isIntegerPrecision()}};nf.prototype.rescale=function(){if(Cu(arguments[0],bc))for(var t=arguments[0].iterator();t.hasNext();){var e=t.next();this.rescale(e.getCoordinates())}else if(arguments[0]instanceof Array){for(var r=arguments[0],n=0;n<r.length;n++)r[n].x=r[n].x/this._scaleFactor+this._offsetX,r[n].y=r[n].y/this._scaleFactor+this._offsetY;2===r.length&&r[0].equals2D(r[1])&&zu.out.println(r)}},nf.prototype.scale=function(){if(Cu(arguments[0],bc)){for(var t=arguments[0],e=new kc,r=t.iterator();r.hasNext();){var n=r.next();e.add(new dh(this.scale(n.getCoordinates()),n.getData()))}return e}if(arguments[0]instanceof Array){for(var i=arguments[0],o=new Array(i.length).fill(null),a=0;a<i.length;a++)o[a]=new ku(Math.round((i[a].x-this._offsetX)*this._scaleFactor),Math.round((i[a].y-this._offsetY)*this._scaleFactor),i[a].z);return Mc.removeRepeatedPoints(o)}},nf.prototype.isIntegerPrecision=function(){return 1===this._scaleFactor},nf.prototype.getNodedSubstrings=function(){var t=this._noder.getNodedSubstrings();return this._isScaled&&this.rescale(t),t},nf.prototype.computeNodes=function(t){var e=t;this._isScaled&&(e=this.scale(t)),this._noder.computeNodes(e)},nf.prototype.interfaces_=function(){return[bh]},nf.prototype.getClass=function(){return nf};var of=function(){this._li=new nc,this._segStrings=null;var t=arguments[0];this._segStrings=t},af={fact:{configurable:!0}};of.prototype.checkEndPtVertexIntersections=function(){if(0===arguments.length)for(var t=this._segStrings.iterator();t.hasNext();){var e=t.next().getCoordinates();this.checkEndPtVertexIntersections(e[0],this._segStrings),this.checkEndPtVertexIntersections(e[e.length-1],this._segStrings)}else if(2===arguments.length)for(var r=arguments[0],n=arguments[1].iterator();n.hasNext();)for(var i=n.next().getCoordinates(),o=1;o<i.length-1;o++)if(i[o].equals(r))throw new Zu("found endpt/interior pt intersection at index "+o+" :pt "+r)},of.prototype.checkInteriorIntersections=function(){if(0===arguments.length)for(var t=this._segStrings.iterator();t.hasNext();)for(var e=t.next(),r=this._segStrings.iterator();r.hasNext();){var n=r.next();this.checkInteriorIntersections(e,n)}else if(2===arguments.length)for(var i=arguments[0],o=arguments[1],a=i.getCoordinates(),s=o.getCoordinates(),u=0;u<a.length-1;u++)for(var c=0;c<s.length-1;c++)this.checkInteriorIntersections(i,u,o,c);else if(4===arguments.length){var l=arguments[0],h=arguments[1],f=arguments[2],d=arguments[3];if(l===f&&h===d)return null;var p=l.getCoordinates()[h],m=l.getCoordinates()[h+1],g=f.getCoordinates()[d],y=f.getCoordinates()[d+1];if(this._li.computeIntersection(p,m,g,y),this._li.hasIntersection()&&(this._li.isProper()||this.hasInteriorIntersection(this._li,p,m)||this.hasInteriorIntersection(this._li,g,y)))throw new Zu("found non-noded intersection at "+p+"-"+m+" and "+g+"-"+y)}},of.prototype.checkValid=function(){this.checkEndPtVertexIntersections(),this.checkInteriorIntersections(),this.checkCollapses()},of.prototype.checkCollapses=function(){if(0===arguments.length)for(var t=this._segStrings.iterator();t.hasNext();){var e=t.next();this.checkCollapses(e)}else if(1===arguments.length)for(var r=arguments[0].getCoordinates(),n=0;n<r.length-2;n++)this.checkCollapse(r[n],r[n+1],r[n+2])},of.prototype.hasInteriorIntersection=function(t,e,r){for(var n=0;n<t.getIntersectionNum();n++){var i=t.getIntersection(n);if(!i.equals(e)&&!i.equals(r))return!0}return!1},of.prototype.checkCollapse=function(t,e,r){if(t.equals(r))throw new Zu("found non-noded collapse at "+of.fact.createLineString([t,e,r]))},of.prototype.interfaces_=function(){return[]},of.prototype.getClass=function(){return of},af.fact.get=function(){return new yl},Object.defineProperties(of,af);var sf=function(){this._li=null,this._pt=null,this._originalPt=null,this._ptScaled=null,this._p0Scaled=null,this._p1Scaled=null,this._scaleFactor=null,this._minx=null,this._maxx=null,this._miny=null,this._maxy=null,this._corner=new Array(4).fill(null),this._safeEnv=null;var t=arguments[0],e=arguments[1],r=arguments[2];if(this._originalPt=t,this._pt=t,this._scaleFactor=e,this._li=r,e<=0)throw new yu("Scale factor must be non-zero");1!==e&&(this._pt=new ku(this.scale(t.x),this.scale(t.y)),this._p0Scaled=new ku,this._p1Scaled=new ku),this.initCorners(this._pt)},uf={SAFE_ENV_EXPANSION_FACTOR:{configurable:!0}};sf.prototype.intersectsScaled=function(t,e){var r=Math.min(t.x,e.x),n=Math.max(t.x,e.x),i=Math.min(t.y,e.y),o=Math.max(t.y,e.y),a=this._maxx<r||this._minx>n||this._maxy<i||this._miny>o;if(a)return!1;var s=this.intersectsToleranceSquare(t,e);return tc.isTrue(!(a&&s),"Found bad envelope test"),s},sf.prototype.initCorners=function(t){this._minx=t.x-.5,this._maxx=t.x+.5,this._miny=t.y-.5,this._maxy=t.y+.5,this._corner[0]=new ku(this._maxx,this._maxy),this._corner[1]=new ku(this._minx,this._maxy),this._corner[2]=new ku(this._minx,this._miny),this._corner[3]=new ku(this._maxx,this._miny)},sf.prototype.intersects=function(t,e){return 1===this._scaleFactor?this.intersectsScaled(t,e):(this.copyScaled(t,this._p0Scaled),this.copyScaled(e,this._p1Scaled),this.intersectsScaled(this._p0Scaled,this._p1Scaled))},sf.prototype.scale=function(t){return Math.round(t*this._scaleFactor)},sf.prototype.getCoordinate=function(){return this._originalPt},sf.prototype.copyScaled=function(t,e){e.x=this.scale(t.x),e.y=this.scale(t.y)},sf.prototype.getSafeEnvelope=function(){if(null===this._safeEnv){var t=sf.SAFE_ENV_EXPANSION_FACTOR/this._scaleFactor;this._safeEnv=new $u(this._originalPt.x-t,this._originalPt.x+t,this._originalPt.y-t,this._originalPt.y+t)}return this._safeEnv},sf.prototype.intersectsPixelClosure=function(t,e){return this._li.computeIntersection(t,e,this._corner[0],this._corner[1]),!!this._li.hasIntersection()||(this._li.computeIntersection(t,e,this._corner[1],this._corner[2]),!!this._li.hasIntersection()||(this._li.computeIntersection(t,e,this._corner[2],this._corner[3]),!!this._li.hasIntersection()||(this._li.computeIntersection(t,e,this._corner[3],this._corner[0]),!!this._li.hasIntersection())))},sf.prototype.intersectsToleranceSquare=function(t,e){var r=!1,n=!1;return this._li.computeIntersection(t,e,this._corner[0],this._corner[1]),!!this._li.isProper()||(this._li.computeIntersection(t,e,this._corner[1],this._corner[2]),!!this._li.isProper()||(this._li.hasIntersection()&&(r=!0),this._li.computeIntersection(t,e,this._corner[2],this._corner[3]),!!this._li.isProper()||(this._li.hasIntersection()&&(n=!0),this._li.computeIntersection(t,e,this._corner[3],this._corner[0]),!!this._li.isProper()||!(!r||!n)||!!t.equals(this._pt)||!!e.equals(this._pt))))},sf.prototype.addSnappedNode=function(t,e){var r=t.getCoordinate(e),n=t.getCoordinate(e+1);return!!this.intersects(r,n)&&(t.addIntersection(this.getCoordinate(),e),!0)},sf.prototype.interfaces_=function(){return[]},sf.prototype.getClass=function(){return sf},uf.SAFE_ENV_EXPANSION_FACTOR.get=function(){return.75},Object.defineProperties(sf,uf);var cf=function(){this.tempEnv1=new $u,this.selectedSegment=new ph};cf.prototype.select=function(){if(1===arguments.length);else if(2===arguments.length){var t=arguments[0],e=arguments[1];t.getLineSegment(e,this.selectedSegment),this.select(this.selectedSegment)}},cf.prototype.interfaces_=function(){return[]},cf.prototype.getClass=function(){return cf};var lf=function(){this._index=null;var t=arguments[0];this._index=t},hf={HotPixelSnapAction:{configurable:!0}};lf.prototype.snap=function(){if(1===arguments.length){var t=arguments[0];return this.snap(t,null,-1)}if(3===arguments.length){var e=arguments[0],r=arguments[1],n=arguments[2],i=e.getSafeEnvelope(),o=new ff(e,r,n);return this._index.query(i,{interfaces_:function(){return[Kl]},visitItem:function(t){t.select(i,o)}}),o.isNodeAdded()}},lf.prototype.interfaces_=function(){return[]},lf.prototype.getClass=function(){return lf},hf.HotPixelSnapAction.get=function(){return ff},Object.defineProperties(lf,hf);var ff=function(t){function e(){t.call(this),this._hotPixel=null,this._parentEdge=null,this._hotPixelVertexIndex=null,this._isNodeAdded=!1;var e=arguments[0],r=arguments[1],n=arguments[2];this._hotPixel=e,this._parentEdge=r,this._hotPixelVertexIndex=n}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.isNodeAdded=function(){return this._isNodeAdded},e.prototype.select=function(){if(2!==arguments.length)return t.prototype.select.apply(this,arguments);var e=arguments[0],r=arguments[1],n=e.getContext();if(null!==this._parentEdge&&n===this._parentEdge&&r===this._hotPixelVertexIndex)return null;this._isNodeAdded=this._hotPixel.addSnappedNode(n,r)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(cf),df=function(){this._li=null,this._interiorIntersections=null;var t=arguments[0];this._li=t,this._interiorIntersections=new kc};df.prototype.processIntersections=function(t,e,r,n){if(t===r&&e===n)return null;var i=t.getCoordinates()[e],o=t.getCoordinates()[e+1],a=r.getCoordinates()[n],s=r.getCoordinates()[n+1];if(this._li.computeIntersection(i,o,a,s),this._li.hasIntersection()&&this._li.isInteriorIntersection()){for(var u=0;u<this._li.getIntersectionNum();u++)this._interiorIntersections.add(this._li.getIntersection(u));t.addIntersections(this._li,e,0),r.addIntersections(this._li,n,1)}},df.prototype.isDone=function(){return!1},df.prototype.getInteriorIntersections=function(){return this._interiorIntersections},df.prototype.interfaces_=function(){return[Gh]},df.prototype.getClass=function(){return df};var pf=function(){this._pm=null,this._li=null,this._scaleFactor=null,this._noder=null,this._pointSnapper=null,this._nodedSegStrings=null;var t=arguments[0];this._pm=t,this._li=new nc,this._li.setPrecisionModel(t),this._scaleFactor=t.getScale()};pf.prototype.checkCorrectness=function(t){var e=dh.getNodedSubstrings(t),r=new of(e);try{r.checkValid()}catch(t){if(!(t instanceof Uu))throw t;t.printStackTrace()}},pf.prototype.getNodedSubstrings=function(){return dh.getNodedSubstrings(this._nodedSegStrings)},pf.prototype.snapRound=function(t,e){var r=this.findInteriorIntersections(t,e);this.computeIntersectionSnaps(r),this.computeVertexSnaps(t)},pf.prototype.findInteriorIntersections=function(t,e){var r=new df(e);return this._noder.setSegmentIntersector(r),this._noder.computeNodes(t),r.getInteriorIntersections()},pf.prototype.computeVertexSnaps=function(){if(Cu(arguments[0],bc))for(var t=arguments[0].iterator();t.hasNext();){var e=t.next();this.computeVertexSnaps(e)}else if(arguments[0]instanceof dh)for(var r=arguments[0],n=r.getCoordinates(),i=0;i<n.length;i++){var o=new sf(n[i],this._scaleFactor,this._li);this._pointSnapper.snap(o,r,i)&&r.addIntersection(n[i],i)}},pf.prototype.computeNodes=function(t){this._nodedSegStrings=t,this._noder=new wh,this._pointSnapper=new lf(this._noder.getIndex()),this.snapRound(t,this._li)},pf.prototype.computeIntersectionSnaps=function(t){for(var e=t.iterator();e.hasNext();){var r=e.next(),n=new sf(r,this._scaleFactor,this._li);this._pointSnapper.snap(n)}},pf.prototype.interfaces_=function(){return[bh]},pf.prototype.getClass=function(){return pf};var mf=function(){if(this._argGeom=null,this._distance=null,this._bufParams=new kh,this._resultGeometry=null,this._saveException=null,1===arguments.length){var t=arguments[0];this._argGeom=t}else if(2===arguments.length){var e=arguments[0],r=arguments[1];this._argGeom=e,this._bufParams=r}},gf={CAP_ROUND:{configurable:!0},CAP_BUTT:{configurable:!0},CAP_FLAT:{configurable:!0},CAP_SQUARE:{configurable:!0},MAX_PRECISION_DIGITS:{configurable:!0}};mf.prototype.bufferFixedPrecision=function(t){var e=new nf(new pf(new dl(1)),t.getScale()),r=new rf(this._bufParams);r.setWorkingPrecisionModel(t),r.setNoder(e),this._resultGeometry=r.buffer(this._argGeom,this._distance)},mf.prototype.bufferReducedPrecision=function(){var t=this;if(0===arguments.length){for(var e=mf.MAX_PRECISION_DIGITS;e>=0;e--){try{t.bufferReducedPrecision(e)}catch(e){if(!(e instanceof Tl))throw e;t._saveException=e}if(null!==t._resultGeometry)return null}throw this._saveException}if(1===arguments.length){var r=arguments[0],n=mf.precisionScaleFactor(this._argGeom,this._distance,r),i=new dl(n);this.bufferFixedPrecision(i)}},mf.prototype.computeGeometry=function(){if(this.bufferOriginalPrecision(),null!==this._resultGeometry)return null;var t=this._argGeom.getFactory().getPrecisionModel();t.getType()===dl.FIXED?this.bufferFixedPrecision(t):this.bufferReducedPrecision()},mf.prototype.setQuadrantSegments=function(t){this._bufParams.setQuadrantSegments(t)},mf.prototype.bufferOriginalPrecision=function(){try{var t=new rf(this._bufParams);this._resultGeometry=t.buffer(this._argGeom,this._distance)}catch(t){if(!(t instanceof Zu))throw t;this._saveException=t}},mf.prototype.getResultGeometry=function(t){return this._distance=t,this.computeGeometry(),this._resultGeometry},mf.prototype.setEndCapStyle=function(t){this._bufParams.setEndCapStyle(t)},mf.prototype.interfaces_=function(){return[]},mf.prototype.getClass=function(){return mf},mf.bufferOp=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1];return new mf(t).getResultGeometry(e)}if(3===arguments.length){if(Number.isInteger(arguments[2])&&arguments[0]instanceof cc&&"number"==typeof arguments[1]){var r=arguments[0],n=arguments[1],i=arguments[2],o=new mf(r);return o.setQuadrantSegments(i),o.getResultGeometry(n)}if(arguments[2]instanceof kh&&arguments[0]instanceof cc&&"number"==typeof arguments[1]){var a=arguments[0],s=arguments[1],u=arguments[2];return new mf(a,u).getResultGeometry(s)}}else if(4===arguments.length){var c=arguments[0],l=arguments[1],h=arguments[2],f=arguments[3],d=new mf(c);return d.setQuadrantSegments(h),d.setEndCapStyle(f),d.getResultGeometry(l)}},mf.precisionScaleFactor=function(t,e,r){var n=t.getEnvelopeInternal(),i=Lu.max(Math.abs(n.getMaxX()),Math.abs(n.getMaxY()),Math.abs(n.getMinX()),Math.abs(n.getMinY()))+2*(e>0?e:0),o=r-Math.trunc(Math.log(i)/Math.log(10)+1);return Math.pow(10,o)},gf.CAP_ROUND.get=function(){return kh.CAP_ROUND},gf.CAP_BUTT.get=function(){return kh.CAP_FLAT},gf.CAP_FLAT.get=function(){return kh.CAP_FLAT},gf.CAP_SQUARE.get=function(){return kh.CAP_SQUARE},gf.MAX_PRECISION_DIGITS.get=function(){return 12},Object.defineProperties(mf,gf);var yf=function(){this._pt=[new ku,new ku],this._distance=vu.NaN,this._isNull=!0};yf.prototype.getCoordinates=function(){return this._pt},yf.prototype.getCoordinate=function(t){return this._pt[t]},yf.prototype.setMinimum=function(){if(1===arguments.length){var t=arguments[0];this.setMinimum(t._pt[0],t._pt[1])}else if(2===arguments.length){var e=arguments[0],r=arguments[1];if(this._isNull)return this.initialize(e,r),null;var n=e.distance(r);n<this._distance&&this.initialize(e,r,n)}},yf.prototype.initialize=function(){if(0===arguments.length)this._isNull=!0;else if(2===arguments.length){var t=arguments[0],e=arguments[1];this._pt[0].setCoordinate(t),this._pt[1].setCoordinate(e),this._distance=t.distance(e),this._isNull=!1}else if(3===arguments.length){var r=arguments[0],n=arguments[1],i=arguments[2];this._pt[0].setCoordinate(r),this._pt[1].setCoordinate(n),this._distance=i,this._isNull=!1}},yf.prototype.getDistance=function(){return this._distance},yf.prototype.setMaximum=function(){if(1===arguments.length){var t=arguments[0];this.setMaximum(t._pt[0],t._pt[1])}else if(2===arguments.length){var e=arguments[0],r=arguments[1];if(this._isNull)return this.initialize(e,r),null;var n=e.distance(r);n>this._distance&&this.initialize(e,r,n)}},yf.prototype.interfaces_=function(){return[]},yf.prototype.getClass=function(){return yf};var vf=function(){};vf.prototype.interfaces_=function(){return[]},vf.prototype.getClass=function(){return vf},vf.computeDistance=function(){if(arguments[2]instanceof yf&&arguments[0]instanceof Kc&&arguments[1]instanceof ku)for(var t=arguments[0],e=arguments[1],r=arguments[2],n=t.getCoordinates(),i=new ph,o=0;o<n.length-1;o++){i.setCoordinates(n[o],n[o+1]);var a=i.closestPoint(e);r.setMinimum(a,e)}else if(arguments[2]instanceof yf&&arguments[0]instanceof Qc&&arguments[1]instanceof ku){var s=arguments[0],u=arguments[1],c=arguments[2];vf.computeDistance(s.getExteriorRing(),u,c);for(var l=0;l<s.getNumInteriorRing();l++)vf.computeDistance(s.getInteriorRingN(l),u,c)}else if(arguments[2]instanceof yf&&arguments[0]instanceof cc&&arguments[1]instanceof ku){var h=arguments[0],f=arguments[1],d=arguments[2];if(h instanceof Kc)vf.computeDistance(h,f,d);else if(h instanceof Qc)vf.computeDistance(h,f,d);else if(h instanceof Hc)for(var p=h,m=0;m<p.getNumGeometries();m++){var g=p.getGeometryN(m);vf.computeDistance(g,f,d)}else d.setMinimum(h.getCoordinate(),f)}else if(arguments[2]instanceof yf&&arguments[0]instanceof ph&&arguments[1]instanceof ku){var y=arguments[0],v=arguments[1],b=arguments[2],_=y.closestPoint(v);b.setMinimum(_,v)}};var bf=function(t){this._maxPtDist=new yf,this._inputGeom=t||null},_f={MaxPointDistanceFilter:{configurable:!0},MaxMidpointDistanceFilter:{configurable:!0}};bf.prototype.computeMaxMidpointDistance=function(t){var e=new xf(this._inputGeom);t.apply(e),this._maxPtDist.setMaximum(e.getMaxPointDistance())},bf.prototype.computeMaxVertexDistance=function(t){var e=new wf(this._inputGeom);t.apply(e),this._maxPtDist.setMaximum(e.getMaxPointDistance())},bf.prototype.findDistance=function(t){return this.computeMaxVertexDistance(t),this.computeMaxMidpointDistance(t),this._maxPtDist.getDistance()},bf.prototype.getDistancePoints=function(){return this._maxPtDist},bf.prototype.interfaces_=function(){return[]},bf.prototype.getClass=function(){return bf},_f.MaxPointDistanceFilter.get=function(){return wf},_f.MaxMidpointDistanceFilter.get=function(){return xf},Object.defineProperties(bf,_f);var wf=function(t){this._maxPtDist=new yf,this._minPtDist=new yf,this._geom=t||null};wf.prototype.filter=function(t){this._minPtDist.initialize(),vf.computeDistance(this._geom,t,this._minPtDist),this._maxPtDist.setMaximum(this._minPtDist)},wf.prototype.getMaxPointDistance=function(){return this._maxPtDist},wf.prototype.interfaces_=function(){return[fc]},wf.prototype.getClass=function(){return wf};var xf=function(t){this._maxPtDist=new yf,this._minPtDist=new yf,this._geom=t||null};xf.prototype.filter=function(t,e){if(0===e)return null;var r=t.getCoordinate(e-1),n=t.getCoordinate(e),i=new ku((r.x+n.x)/2,(r.y+n.y)/2);this._minPtDist.initialize(),vf.computeDistance(this._geom,i,this._minPtDist),this._maxPtDist.setMaximum(this._minPtDist)},xf.prototype.isDone=function(){return!1},xf.prototype.isGeometryChanged=function(){return!1},xf.prototype.getMaxPointDistance=function(){return this._maxPtDist},xf.prototype.interfaces_=function(){return[Uc]},xf.prototype.getClass=function(){return xf};var kf=function(t){this._comps=t||null};kf.prototype.filter=function(t){t instanceof Qc&&this._comps.add(t)},kf.prototype.interfaces_=function(){return[Yc]},kf.prototype.getClass=function(){return kf},kf.getPolygons=function(){if(1===arguments.length){var t=arguments[0];return kf.getPolygons(t,new kc)}if(2===arguments.length){var e=arguments[0],r=arguments[1];return e instanceof Qc?r.add(e):e instanceof Hc&&e.apply(new kf(r)),r}};var Sf=function(){if(this._lines=null,this._isForcedToLineString=!1,1===arguments.length){var t=arguments[0];this._lines=t}else if(2===arguments.length){var e=arguments[0],r=arguments[1];this._lines=e,this._isForcedToLineString=r}};Sf.prototype.filter=function(t){if(this._isForcedToLineString&&t instanceof el){var e=t.getFactory().createLineString(t.getCoordinateSequence());return this._lines.add(e),null}t instanceof Kc&&this._lines.add(t)},Sf.prototype.setForceToLineString=function(t){this._isForcedToLineString=t},Sf.prototype.interfaces_=function(){return[uc]},Sf.prototype.getClass=function(){return Sf},Sf.getGeometry=function(){if(1===arguments.length){var t=arguments[0];return t.getFactory().buildGeometry(Sf.getLines(t))}if(2===arguments.length){var e=arguments[0],r=arguments[1];return e.getFactory().buildGeometry(Sf.getLines(e,r))}},Sf.getLines=function(){if(1===arguments.length){var t=arguments[0];return Sf.getLines(t,!1)}if(2===arguments.length){if(Cu(arguments[0],bc)&&Cu(arguments[1],bc)){for(var e=arguments[0],r=arguments[1],n=e.iterator();n.hasNext();){var i=n.next();Sf.getLines(i,r)}return r}if(arguments[0]instanceof cc&&"boolean"==typeof arguments[1]){var o=arguments[0],a=arguments[1],s=new kc;return o.apply(new Sf(s,a)),s}if(arguments[0]instanceof cc&&Cu(arguments[1],bc)){var u=arguments[0],c=arguments[1];return u instanceof Kc?c.add(u):u.apply(new Sf(c)),c}}else if(3===arguments.length){if("boolean"==typeof arguments[2]&&Cu(arguments[0],bc)&&Cu(arguments[1],bc)){for(var l=arguments[0],h=arguments[1],f=arguments[2],d=l.iterator();d.hasNext();){var p=d.next();Sf.getLines(p,h,f)}return h}if("boolean"==typeof arguments[2]&&arguments[0]instanceof cc&&Cu(arguments[1],bc)){var m=arguments[0],g=arguments[1],y=arguments[2];return m.apply(new Sf(g,y)),g}}};var Ef=function(){if(this._boundaryRule=dc.OGC_SFS_BOUNDARY_RULE,this._isIn=null,this._numBoundaries=null,0===arguments.length);else if(1===arguments.length){var t=arguments[0];if(null===t)throw new yu("Rule must be non-null");this._boundaryRule=t}};Ef.prototype.locateInternal=function(){if(arguments[0]instanceof ku&&arguments[1]instanceof Qc){var t=arguments[0],e=arguments[1];if(e.isEmpty())return Au.EXTERIOR;var r=e.getExteriorRing(),n=this.locateInPolygonRing(t,r);if(n===Au.EXTERIOR)return Au.EXTERIOR;if(n===Au.BOUNDARY)return Au.BOUNDARY;for(var i=0;i<e.getNumInteriorRing();i++){var o=e.getInteriorRingN(i),a=this.locateInPolygonRing(t,o);if(a===Au.INTERIOR)return Au.EXTERIOR;if(a===Au.BOUNDARY)return Au.BOUNDARY}return Au.INTERIOR}if(arguments[0]instanceof ku&&arguments[1]instanceof Kc){var s=arguments[0],u=arguments[1];if(!u.getEnvelopeInternal().intersects(s))return Au.EXTERIOR;var c=u.getCoordinates();return u.isClosed()||!s.equals(c[0])&&!s.equals(c[c.length-1])?ac.isOnLine(s,c)?Au.INTERIOR:Au.EXTERIOR:Au.BOUNDARY}if(arguments[0]instanceof ku&&arguments[1]instanceof Jc){var l=arguments[0];return arguments[1].getCoordinate().equals2D(l)?Au.INTERIOR:Au.EXTERIOR}},Ef.prototype.locateInPolygonRing=function(t,e){return e.getEnvelopeInternal().intersects(t)?ac.locatePointInRing(t,e.getCoordinates()):Au.EXTERIOR},Ef.prototype.intersects=function(t,e){return this.locate(t,e)!==Au.EXTERIOR},Ef.prototype.updateLocationInfo=function(t){t===Au.INTERIOR&&(this._isIn=!0),t===Au.BOUNDARY&&this._numBoundaries++},Ef.prototype.computeLocation=function(t,e){if(e instanceof Jc&&this.updateLocationInfo(this.locateInternal(t,e)),e instanceof Kc)this.updateLocationInfo(this.locateInternal(t,e));else if(e instanceof Qc)this.updateLocationInfo(this.locateInternal(t,e));else if(e instanceof zc)for(var r=e,n=0;n<r.getNumGeometries();n++){var i=r.getGeometryN(n);this.updateLocationInfo(this.locateInternal(t,i))}else if(e instanceof rl)for(var o=e,a=0;a<o.getNumGeometries();a++){var s=o.getGeometryN(a);this.updateLocationInfo(this.locateInternal(t,s))}else if(e instanceof Hc)for(var u=new Yh(e);u.hasNext();){var c=u.next();c!==e&&this.computeLocation(t,c)}},Ef.prototype.locate=function(t,e){return e.isEmpty()?Au.EXTERIOR:e instanceof Kc||e instanceof Qc?this.locateInternal(t,e):(this._isIn=!1,this._numBoundaries=0,this.computeLocation(t,e),this._boundaryRule.isInBoundary(this._numBoundaries)?Au.BOUNDARY:this._numBoundaries>0||this._isIn?Au.INTERIOR:Au.EXTERIOR)},Ef.prototype.interfaces_=function(){return[]},Ef.prototype.getClass=function(){return Ef};var Mf=function t(){if(this._component=null,this._segIndex=null,this._pt=null,2===arguments.length){var e=arguments[0],r=arguments[1];t.call(this,e,t.INSIDE_AREA,r)}else if(3===arguments.length){var n=arguments[0],i=arguments[1],o=arguments[2];this._component=n,this._segIndex=i,this._pt=o}},Af={INSIDE_AREA:{configurable:!0}};Mf.prototype.isInsideArea=function(){return this._segIndex===Mf.INSIDE_AREA},Mf.prototype.getCoordinate=function(){return this._pt},Mf.prototype.getGeometryComponent=function(){return this._component},Mf.prototype.getSegmentIndex=function(){return this._segIndex},Mf.prototype.interfaces_=function(){return[]},Mf.prototype.getClass=function(){return Mf},Af.INSIDE_AREA.get=function(){return-1},Object.defineProperties(Mf,Af);var Tf=function(t){this._pts=t||null};Tf.prototype.filter=function(t){t instanceof Jc&&this._pts.add(t)},Tf.prototype.interfaces_=function(){return[Yc]},Tf.prototype.getClass=function(){return Tf},Tf.getPoints=function(){if(1===arguments.length){var t=arguments[0];return t instanceof Jc?Ql.singletonList(t):Tf.getPoints(t,new kc)}if(2===arguments.length){var e=arguments[0],r=arguments[1];return e instanceof Jc?r.add(e):e instanceof Hc&&e.apply(new Tf(r)),r}};var Cf=function(){this._locations=null;var t=arguments[0];this._locations=t};Cf.prototype.filter=function(t){(t instanceof Jc||t instanceof Kc||t instanceof Qc)&&this._locations.add(new Mf(t,0,t.getCoordinate()))},Cf.prototype.interfaces_=function(){return[Yc]},Cf.prototype.getClass=function(){return Cf},Cf.getLocations=function(t){var e=new kc;return t.apply(new Cf(e)),e};var Lf=function(){if(this._geom=null,this._terminateDistance=0,this._ptLocator=new Ef,this._minDistanceLocation=null,this._minDistance=vu.MAX_VALUE,2===arguments.length){var t=arguments[0],e=arguments[1];this._geom=[t,e],this._terminateDistance=0}else if(3===arguments.length){var r=arguments[0],n=arguments[1],i=arguments[2];this._geom=new Array(2).fill(null),this._geom[0]=r,this._geom[1]=n,this._terminateDistance=i}};Lf.prototype.computeContainmentDistance=function(){if(0===arguments.length){var t=new Array(2).fill(null);if(this.computeContainmentDistance(0,t),this._minDistance<=this._terminateDistance)return null;this.computeContainmentDistance(1,t)}else if(2===arguments.length){var e=arguments[0],r=arguments[1],n=1-e,i=kf.getPolygons(this._geom[e]);if(i.size()>0){var o=Cf.getLocations(this._geom[n]);if(this.computeContainmentDistance(o,i,r),this._minDistance<=this._terminateDistance)return this._minDistanceLocation[n]=r[0],this._minDistanceLocation[e]=r[1],null}}else if(3===arguments.length)if(arguments[2]instanceof Array&&Cu(arguments[0],xc)&&Cu(arguments[1],xc)){for(var a=arguments[0],s=arguments[1],u=arguments[2],c=0;c<a.size();c++)for(var l=a.get(c),h=0;h<s.size();h++)if(this.computeContainmentDistance(l,s.get(h),u),this._minDistance<=this._terminateDistance)return null}else if(arguments[2]instanceof Array&&arguments[0]instanceof Mf&&arguments[1]instanceof Qc){var f=arguments[0],d=arguments[1],p=arguments[2],m=f.getCoordinate();if(Au.EXTERIOR!==this._ptLocator.locate(m,d))return this._minDistance=0,p[0]=f,p[1]=new Mf(d,m),null}},Lf.prototype.computeMinDistanceLinesPoints=function(t,e,r){for(var n=0;n<t.size();n++)for(var i=t.get(n),o=0;o<e.size();o++){var a=e.get(o);if(this.computeMinDistance(i,a,r),this._minDistance<=this._terminateDistance)return null}},Lf.prototype.computeFacetDistance=function(){var t=new Array(2).fill(null),e=Sf.getLines(this._geom[0]),r=Sf.getLines(this._geom[1]),n=Tf.getPoints(this._geom[0]),i=Tf.getPoints(this._geom[1]);return this.computeMinDistanceLines(e,r,t),this.updateMinDistance(t,!1),this._minDistance<=this._terminateDistance?null:(t[0]=null,t[1]=null,this.computeMinDistanceLinesPoints(e,i,t),this.updateMinDistance(t,!1),this._minDistance<=this._terminateDistance?null:(t[0]=null,t[1]=null,this.computeMinDistanceLinesPoints(r,n,t),this.updateMinDistance(t,!0),this._minDistance<=this._terminateDistance?null:(t[0]=null,t[1]=null,this.computeMinDistancePoints(n,i,t),void this.updateMinDistance(t,!1))))},Lf.prototype.nearestLocations=function(){return this.computeMinDistance(),this._minDistanceLocation},Lf.prototype.updateMinDistance=function(t,e){if(null===t[0])return null;e?(this._minDistanceLocation[0]=t[1],this._minDistanceLocation[1]=t[0]):(this._minDistanceLocation[0]=t[0],this._minDistanceLocation[1]=t[1])},Lf.prototype.nearestPoints=function(){return this.computeMinDistance(),[this._minDistanceLocation[0].getCoordinate(),this._minDistanceLocation[1].getCoordinate()]},Lf.prototype.computeMinDistance=function(){if(0===arguments.length){if(null!==this._minDistanceLocation)return null;if(this._minDistanceLocation=new Array(2).fill(null),this.computeContainmentDistance(),this._minDistance<=this._terminateDistance)return null;this.computeFacetDistance()}else if(3===arguments.length)if(arguments[2]instanceof Array&&arguments[0]instanceof Kc&&arguments[1]instanceof Jc){var t=arguments[0],e=arguments[1],r=arguments[2];if(t.getEnvelopeInternal().distance(e.getEnvelopeInternal())>this._minDistance)return null;for(var n=t.getCoordinates(),i=e.getCoordinate(),o=0;o<n.length-1;o++){var a=ac.distancePointLine(i,n[o],n[o+1]);if(a<this._minDistance){this._minDistance=a;var s=new ph(n[o],n[o+1]).closestPoint(i);r[0]=new Mf(t,o,s),r[1]=new Mf(e,0,i)}if(this._minDistance<=this._terminateDistance)return null}}else if(arguments[2]instanceof Array&&arguments[0]instanceof Kc&&arguments[1]instanceof Kc){var u=arguments[0],c=arguments[1],l=arguments[2];if(u.getEnvelopeInternal().distance(c.getEnvelopeInternal())>this._minDistance)return null;for(var h=u.getCoordinates(),f=c.getCoordinates(),d=0;d<h.length-1;d++)for(var p=0;p<f.length-1;p++){var m=ac.distanceLineLine(h[d],h[d+1],f[p],f[p+1]);if(m<this._minDistance){this._minDistance=m;var g=new ph(h[d],h[d+1]),y=new ph(f[p],f[p+1]),v=g.closestPoints(y);l[0]=new Mf(u,d,v[0]),l[1]=new Mf(c,p,v[1])}if(this._minDistance<=this._terminateDistance)return null}}},Lf.prototype.computeMinDistancePoints=function(t,e,r){for(var n=0;n<t.size();n++)for(var i=t.get(n),o=0;o<e.size();o++){var a=e.get(o),s=i.getCoordinate().distance(a.getCoordinate());if(s<this._minDistance&&(this._minDistance=s,r[0]=new Mf(i,0,i.getCoordinate()),r[1]=new Mf(a,0,a.getCoordinate())),this._minDistance<=this._terminateDistance)return null}},Lf.prototype.distance=function(){if(null===this._geom[0]||null===this._geom[1])throw new yu("null geometries are not supported");return this._geom[0].isEmpty()||this._geom[1].isEmpty()?0:(this.computeMinDistance(),this._minDistance)},Lf.prototype.computeMinDistanceLines=function(t,e,r){for(var n=0;n<t.size();n++)for(var i=t.get(n),o=0;o<e.size();o++){var a=e.get(o);if(this.computeMinDistance(i,a,r),this._minDistance<=this._terminateDistance)return null}},Lf.prototype.interfaces_=function(){return[]},Lf.prototype.getClass=function(){return Lf},Lf.distance=function(t,e){return new Lf(t,e).distance()},Lf.isWithinDistance=function(t,e,r){return new Lf(t,e,r).distance()<=r},Lf.nearestPoints=function(t,e){return new Lf(t,e).nearestPoints()};var Pf=function(){this._pt=[new ku,new ku],this._distance=vu.NaN,this._isNull=!0};Pf.prototype.getCoordinates=function(){return this._pt},Pf.prototype.getCoordinate=function(t){return this._pt[t]},Pf.prototype.setMinimum=function(){if(1===arguments.length){var t=arguments[0];this.setMinimum(t._pt[0],t._pt[1])}else if(2===arguments.length){var e=arguments[0],r=arguments[1];if(this._isNull)return this.initialize(e,r),null;var n=e.distance(r);n<this._distance&&this.initialize(e,r,n)}},Pf.prototype.initialize=function(){if(0===arguments.length)this._isNull=!0;else if(2===arguments.length){var t=arguments[0],e=arguments[1];this._pt[0].setCoordinate(t),this._pt[1].setCoordinate(e),this._distance=t.distance(e),this._isNull=!1}else if(3===arguments.length){var r=arguments[0],n=arguments[1],i=arguments[2];this._pt[0].setCoordinate(r),this._pt[1].setCoordinate(n),this._distance=i,this._isNull=!1}},Pf.prototype.toString=function(){return Ju.toLineString(this._pt[0],this._pt[1])},Pf.prototype.getDistance=function(){return this._distance},Pf.prototype.setMaximum=function(){if(1===arguments.length){var t=arguments[0];this.setMaximum(t._pt[0],t._pt[1])}else if(2===arguments.length){var e=arguments[0],r=arguments[1];if(this._isNull)return this.initialize(e,r),null;var n=e.distance(r);n>this._distance&&this.initialize(e,r,n)}},Pf.prototype.interfaces_=function(){return[]},Pf.prototype.getClass=function(){return Pf};var Of=function(){};Of.prototype.interfaces_=function(){return[]},Of.prototype.getClass=function(){return Of},Of.computeDistance=function(){if(arguments[2]instanceof Pf&&arguments[0]instanceof Kc&&arguments[1]instanceof ku)for(var t=arguments[0],e=arguments[1],r=arguments[2],n=new ph,i=t.getCoordinates(),o=0;o<i.length-1;o++){n.setCoordinates(i[o],i[o+1]);var a=n.closestPoint(e);r.setMinimum(a,e)}else if(arguments[2]instanceof Pf&&arguments[0]instanceof Qc&&arguments[1]instanceof ku){var s=arguments[0],u=arguments[1],c=arguments[2];Of.computeDistance(s.getExteriorRing(),u,c);for(var l=0;l<s.getNumInteriorRing();l++)Of.computeDistance(s.getInteriorRingN(l),u,c)}else if(arguments[2]instanceof Pf&&arguments[0]instanceof cc&&arguments[1]instanceof ku){var h=arguments[0],f=arguments[1],d=arguments[2];if(h instanceof Kc)Of.computeDistance(h,f,d);else if(h instanceof Qc)Of.computeDistance(h,f,d);else if(h instanceof Hc)for(var p=h,m=0;m<p.getNumGeometries();m++){var g=p.getGeometryN(m);Of.computeDistance(g,f,d)}else d.setMinimum(h.getCoordinate(),f)}else if(arguments[2]instanceof Pf&&arguments[0]instanceof ph&&arguments[1]instanceof ku){var y=arguments[0],v=arguments[1],b=arguments[2],_=y.closestPoint(v);b.setMinimum(_,v)}};var If=function(){this._g0=null,this._g1=null,this._ptDist=new Pf,this._densifyFrac=0;var t=arguments[0],e=arguments[1];this._g0=t,this._g1=e},Df={MaxPointDistanceFilter:{configurable:!0},MaxDensifiedByFractionDistanceFilter:{configurable:!0}};If.prototype.getCoordinates=function(){return this._ptDist.getCoordinates()},If.prototype.setDensifyFraction=function(t){if(t>1||t<=0)throw new yu("Fraction is not in range (0.0 - 1.0]");this._densifyFrac=t},If.prototype.compute=function(t,e){this.computeOrientedDistance(t,e,this._ptDist),this.computeOrientedDistance(e,t,this._ptDist)},If.prototype.distance=function(){return this.compute(this._g0,this._g1),this._ptDist.getDistance()},If.prototype.computeOrientedDistance=function(t,e,r){var n=new Bf(e);if(t.apply(n),r.setMaximum(n.getMaxPointDistance()),this._densifyFrac>0){var i=new jf(e,this._densifyFrac);t.apply(i),r.setMaximum(i.getMaxPointDistance())}},If.prototype.orientedDistance=function(){return this.computeOrientedDistance(this._g0,this._g1,this._ptDist),this._ptDist.getDistance()},If.prototype.interfaces_=function(){return[]},If.prototype.getClass=function(){return If},If.distance=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1];return new If(t,e).distance()}if(3===arguments.length){var r=arguments[0],n=arguments[1],i=arguments[2],o=new If(r,n);return o.setDensifyFraction(i),o.distance()}},Df.MaxPointDistanceFilter.get=function(){return Bf},Df.MaxDensifiedByFractionDistanceFilter.get=function(){return jf},Object.defineProperties(If,Df);var Bf=function(){this._maxPtDist=new Pf,this._minPtDist=new Pf,this._euclideanDist=new Of,this._geom=null;var t=arguments[0];this._geom=t};Bf.prototype.filter=function(t){this._minPtDist.initialize(),Of.computeDistance(this._geom,t,this._minPtDist),this._maxPtDist.setMaximum(this._minPtDist)},Bf.prototype.getMaxPointDistance=function(){return this._maxPtDist},Bf.prototype.interfaces_=function(){return[fc]},Bf.prototype.getClass=function(){return Bf};var jf=function(){this._maxPtDist=new Pf,this._minPtDist=new Pf,this._geom=null,this._numSubSegs=0;var t=arguments[0],e=arguments[1];this._geom=t,this._numSubSegs=Math.trunc(Math.round(1/e))};jf.prototype.filter=function(t,e){if(0===e)return null;for(var r=t.getCoordinate(e-1),n=t.getCoordinate(e),i=(n.x-r.x)/this._numSubSegs,o=(n.y-r.y)/this._numSubSegs,a=0;a<this._numSubSegs;a++){var s=r.x+a*i,u=r.y+a*o,c=new ku(s,u);this._minPtDist.initialize(),Of.computeDistance(this._geom,c,this._minPtDist),this._maxPtDist.setMaximum(this._minPtDist)}},jf.prototype.isDone=function(){return!1},jf.prototype.isGeometryChanged=function(){return!1},jf.prototype.getMaxPointDistance=function(){return this._maxPtDist},jf.prototype.interfaces_=function(){return[Uc]},jf.prototype.getClass=function(){return jf};var Nf=function(t,e,r){this._minValidDistance=null,this._maxValidDistance=null,this._minDistanceFound=null,this._maxDistanceFound=null,this._isValid=!0,this._errMsg=null,this._errorLocation=null,this._errorIndicator=null,this._input=t||null,this._bufDistance=e||null,this._result=r||null},Rf={VERBOSE:{configurable:!0},MAX_DISTANCE_DIFF_FRAC:{configurable:!0}};Nf.prototype.checkMaximumDistance=function(t,e,r){var n=new If(e,t);if(n.setDensifyFraction(.25),this._maxDistanceFound=n.orientedDistance(),this._maxDistanceFound>r){this._isValid=!1;var i=n.getCoordinates();this._errorLocation=i[1],this._errorIndicator=t.getFactory().createLineString(i),this._errMsg="Distance between buffer curve and input is too large ("+this._maxDistanceFound+" at "+Ju.toLineString(i[0],i[1])+")"}},Nf.prototype.isValid=function(){var t=Math.abs(this._bufDistance),e=Nf.MAX_DISTANCE_DIFF_FRAC*t;return this._minValidDistance=t-e,this._maxValidDistance=t+e,!(!this._input.isEmpty()&&!this._result.isEmpty())||(this._bufDistance>0?this.checkPositiveValid():this.checkNegativeValid(),Nf.VERBOSE&&zu.out.println("Min Dist= "+this._minDistanceFound+"  err= "+(1-this._minDistanceFound/this._bufDistance)+"  Max Dist= "+this._maxDistanceFound+"  err= "+(this._maxDistanceFound/this._bufDistance-1)),this._isValid)},Nf.prototype.checkNegativeValid=function(){if(!(this._input instanceof Qc||this._input instanceof rl||this._input instanceof Hc))return null;var t=this.getPolygonLines(this._input);if(this.checkMinimumDistance(t,this._result,this._minValidDistance),!this._isValid)return null;this.checkMaximumDistance(t,this._result,this._maxValidDistance)},Nf.prototype.getErrorIndicator=function(){return this._errorIndicator},Nf.prototype.checkMinimumDistance=function(t,e,r){var n=new Lf(t,e,r);if(this._minDistanceFound=n.distance(),this._minDistanceFound<r){this._isValid=!1;var i=n.nearestPoints();this._errorLocation=n.nearestPoints()[1],this._errorIndicator=t.getFactory().createLineString(i),this._errMsg="Distance between buffer curve and input is too small ("+this._minDistanceFound+" at "+Ju.toLineString(i[0],i[1])+" )"}},Nf.prototype.checkPositiveValid=function(){var t=this._result.getBoundary();if(this.checkMinimumDistance(this._input,t,this._minValidDistance),!this._isValid)return null;this.checkMaximumDistance(this._input,t,this._maxValidDistance)},Nf.prototype.getErrorLocation=function(){return this._errorLocation},Nf.prototype.getPolygonLines=function(t){for(var e=new kc,r=new Sf(e),n=kf.getPolygons(t).iterator();n.hasNext();)n.next().apply(r);return t.getFactory().buildGeometry(e)},Nf.prototype.getErrorMessage=function(){return this._errMsg},Nf.prototype.interfaces_=function(){return[]},Nf.prototype.getClass=function(){return Nf},Rf.VERBOSE.get=function(){return!1},Rf.MAX_DISTANCE_DIFF_FRAC.get=function(){return.012},Object.defineProperties(Nf,Rf);var Ff=function(t,e,r){this._isValid=!0,this._errorMsg=null,this._errorLocation=null,this._errorIndicator=null,this._input=t||null,this._distance=e||null,this._result=r||null},Yf={VERBOSE:{configurable:!0},MAX_ENV_DIFF_FRAC:{configurable:!0}};Ff.prototype.isValid=function(){return this.checkPolygonal(),this._isValid?(this.checkExpectedEmpty(),this._isValid?(this.checkEnvelope(),this._isValid?(this.checkArea(),this._isValid?(this.checkDistance(),this._isValid):this._isValid):this._isValid):this._isValid):this._isValid},Ff.prototype.checkEnvelope=function(){if(this._distance<0)return null;var t=this._distance*Ff.MAX_ENV_DIFF_FRAC;0===t&&(t=.001);var e=new $u(this._input.getEnvelopeInternal());e.expandBy(this._distance);var r=new $u(this._result.getEnvelopeInternal());r.expandBy(t),r.contains(e)||(this._isValid=!1,this._errorMsg="Buffer envelope is incorrect",this._errorIndicator=this._input.getFactory().toGeometry(r)),this.report("Envelope")},Ff.prototype.checkDistance=function(){var t=new Nf(this._input,this._distance,this._result);t.isValid()||(this._isValid=!1,this._errorMsg=t.getErrorMessage(),this._errorLocation=t.getErrorLocation(),this._errorIndicator=t.getErrorIndicator()),this.report("Distance")},Ff.prototype.checkArea=function(){var t=this._input.getArea(),e=this._result.getArea();this._distance>0&&t>e&&(this._isValid=!1,this._errorMsg="Area of positive buffer is smaller than input",this._errorIndicator=this._result),this._distance<0&&t<e&&(this._isValid=!1,this._errorMsg="Area of negative buffer is larger than input",this._errorIndicator=this._result),this.report("Area")},Ff.prototype.checkPolygonal=function(){this._result instanceof Qc||this._result instanceof rl||(this._isValid=!1),this._errorMsg="Result is not polygonal",this._errorIndicator=this._result,this.report("Polygonal")},Ff.prototype.getErrorIndicator=function(){return this._errorIndicator},Ff.prototype.getErrorLocation=function(){return this._errorLocation},Ff.prototype.checkExpectedEmpty=function(){return this._input.getDimension()>=2||this._distance>0?null:(this._result.isEmpty()||(this._isValid=!1,this._errorMsg="Result is non-empty",this._errorIndicator=this._result),void this.report("ExpectedEmpty"))},Ff.prototype.report=function(t){if(!Ff.VERBOSE)return null;zu.out.println("Check "+t+": "+(this._isValid?"passed":"FAILED"))},Ff.prototype.getErrorMessage=function(){return this._errorMsg},Ff.prototype.interfaces_=function(){return[]},Ff.prototype.getClass=function(){return Ff},Ff.isValidMsg=function(t,e,r){var n=new Ff(t,e,r);return n.isValid()?null:n.getErrorMessage()},Ff.isValid=function(t,e,r){return!!new Ff(t,e,r).isValid()},Yf.VERBOSE.get=function(){return!1},Yf.MAX_ENV_DIFF_FRAC.get=function(){return.012},Object.defineProperties(Ff,Yf);var Uf=function(){this._pts=null,this._data=null;var t=arguments[0],e=arguments[1];this._pts=t,this._data=e};Uf.prototype.getCoordinates=function(){return this._pts},Uf.prototype.size=function(){return this._pts.length},Uf.prototype.getCoordinate=function(t){return this._pts[t]},Uf.prototype.isClosed=function(){return this._pts[0].equals(this._pts[this._pts.length-1])},Uf.prototype.getSegmentOctant=function(t){return t===this._pts.length-1?-1:lh.octant(this.getCoordinate(t),this.getCoordinate(t+1))},Uf.prototype.setData=function(t){this._data=t},Uf.prototype.getData=function(){return this._data},Uf.prototype.toString=function(){return Ju.toLineString(new ul(this._pts))},Uf.prototype.interfaces_=function(){return[hh]},Uf.prototype.getClass=function(){return Uf};var Hf=function(){this._findAllIntersections=!1,this._isCheckEndSegmentsOnly=!1,this._li=null,this._interiorIntersection=null,this._intSegments=null,this._intersections=new kc,this._intersectionCount=0,this._keepIntersections=!0;var t=arguments[0];this._li=t,this._interiorIntersection=null};Hf.prototype.getInteriorIntersection=function(){return this._interiorIntersection},Hf.prototype.setCheckEndSegmentsOnly=function(t){this._isCheckEndSegmentsOnly=t},Hf.prototype.getIntersectionSegments=function(){return this._intSegments},Hf.prototype.count=function(){return this._intersectionCount},Hf.prototype.getIntersections=function(){return this._intersections},Hf.prototype.setFindAllIntersections=function(t){this._findAllIntersections=t},Hf.prototype.setKeepIntersections=function(t){this._keepIntersections=t},Hf.prototype.processIntersections=function(t,e,r,n){if(!this._findAllIntersections&&this.hasIntersection())return null;if(t===r&&e===n)return null;if(this._isCheckEndSegmentsOnly&&!this.isEndSegment(t,e)&&!this.isEndSegment(r,n))return null;var i=t.getCoordinates()[e],o=t.getCoordinates()[e+1],a=r.getCoordinates()[n],s=r.getCoordinates()[n+1];this._li.computeIntersection(i,o,a,s),this._li.hasIntersection()&&this._li.isInteriorIntersection()&&(this._intSegments=new Array(4).fill(null),this._intSegments[0]=i,this._intSegments[1]=o,this._intSegments[2]=a,this._intSegments[3]=s,this._interiorIntersection=this._li.getIntersection(0),this._keepIntersections&&this._intersections.add(this._interiorIntersection),this._intersectionCount++)},Hf.prototype.isEndSegment=function(t,e){return 0===e||e>=t.size()-2},Hf.prototype.hasIntersection=function(){return null!==this._interiorIntersection},Hf.prototype.isDone=function(){return!this._findAllIntersections&&null!==this._interiorIntersection},Hf.prototype.interfaces_=function(){return[Gh]},Hf.prototype.getClass=function(){return Hf},Hf.createAllIntersectionsFinder=function(t){var e=new Hf(t);return e.setFindAllIntersections(!0),e},Hf.createAnyIntersectionFinder=function(t){return new Hf(t)},Hf.createIntersectionCounter=function(t){var e=new Hf(t);return e.setFindAllIntersections(!0),e.setKeepIntersections(!1),e};var zf=function(){this._li=new nc,this._segStrings=null,this._findAllIntersections=!1,this._segInt=null,this._isValid=!0;var t=arguments[0];this._segStrings=t};zf.prototype.execute=function(){if(null!==this._segInt)return null;this.checkInteriorIntersections()},zf.prototype.getIntersections=function(){return this._segInt.getIntersections()},zf.prototype.isValid=function(){return this.execute(),this._isValid},zf.prototype.setFindAllIntersections=function(t){this._findAllIntersections=t},zf.prototype.checkInteriorIntersections=function(){this._isValid=!0,this._segInt=new Hf(this._li),this._segInt.setFindAllIntersections(this._findAllIntersections);var t=new wh;if(t.setSegmentIntersector(this._segInt),t.computeNodes(this._segStrings),this._segInt.hasIntersection())return this._isValid=!1,null},zf.prototype.checkValid=function(){if(this.execute(),!this._isValid)throw new Tl(this.getErrorMessage(),this._segInt.getInteriorIntersection())},zf.prototype.getErrorMessage=function(){if(this._isValid)return"no intersections found";var t=this._segInt.getIntersectionSegments();return"found non-noded intersection between "+Ju.toLineString(t[0],t[1])+" and "+Ju.toLineString(t[2],t[3])},zf.prototype.interfaces_=function(){return[]},zf.prototype.getClass=function(){return zf},zf.computeIntersections=function(t){var e=new zf(t);return e.setFindAllIntersections(!0),e.isValid(),e.getIntersections()};var Vf=function t(){this._nv=null;var e=arguments[0];this._nv=new zf(t.toSegmentStrings(e))};Vf.prototype.checkValid=function(){this._nv.checkValid()},Vf.prototype.interfaces_=function(){return[]},Vf.prototype.getClass=function(){return Vf},Vf.toSegmentStrings=function(t){for(var e=new kc,r=t.iterator();r.hasNext();){var n=r.next();e.add(new Uf(n.getCoordinates(),n))}return e},Vf.checkValid=function(t){new Vf(t).checkValid()};var $f=function(t){this._mapOp=t};$f.prototype.map=function(t){for(var e=new kc,r=0;r<t.getNumGeometries();r++){var n=this._mapOp.map(t.getGeometryN(r));n.isEmpty()||e.add(n)}return t.getFactory().createGeometryCollection(yl.toGeometryArray(e))},$f.prototype.interfaces_=function(){return[]},$f.prototype.getClass=function(){return $f},$f.map=function(t,e){return new $f(e).map(t)};var qf=function(){this._op=null,this._geometryFactory=null,this._ptLocator=null,this._lineEdgesList=new kc,this._resultLineList=new kc;var t=arguments[0],e=arguments[1],r=arguments[2];this._op=t,this._geometryFactory=e,this._ptLocator=r};qf.prototype.collectLines=function(t){for(var e=this._op.getGraph().getEdgeEnds().iterator();e.hasNext();){var r=e.next();this.collectLineEdge(r,t,this._lineEdgesList),this.collectBoundaryTouchEdge(r,t,this._lineEdgesList)}},qf.prototype.labelIsolatedLine=function(t,e){var r=this._ptLocator.locate(t.getCoordinate(),this._op.getArgGeometry(e));t.getLabel().setLocation(e,r)},qf.prototype.build=function(t){return this.findCoveredLineEdges(),this.collectLines(t),this.buildLines(t),this._resultLineList},qf.prototype.collectLineEdge=function(t,e,r){var n=t.getLabel(),i=t.getEdge();t.isLineEdge()&&(t.isVisited()||!Md.isResultOfOp(n,e)||i.isCovered()||(r.add(i),t.setVisitedEdge(!0)))},qf.prototype.findCoveredLineEdges=function(){for(var t=this._op.getGraph().getNodes().iterator();t.hasNext();)t.next().getEdges().findCoveredLineEdges();for(var e=this._op.getGraph().getEdgeEnds().iterator();e.hasNext();){var r=e.next(),n=r.getEdge();if(r.isLineEdge()&&!n.isCoveredSet()){var i=this._op.isCoveredByA(r.getCoordinate());n.setCovered(i)}}},qf.prototype.labelIsolatedLines=function(t){for(var e=t.iterator();e.hasNext();){var r=e.next(),n=r.getLabel();r.isIsolated()&&(n.isNull(0)?this.labelIsolatedLine(r,0):this.labelIsolatedLine(r,1))}},qf.prototype.buildLines=function(t){for(var e=this._lineEdgesList.iterator();e.hasNext();){var r=e.next(),n=this._geometryFactory.createLineString(r.getCoordinates());this._resultLineList.add(n),r.setInResult(!0)}},qf.prototype.collectBoundaryTouchEdge=function(t,e,r){var n=t.getLabel();return t.isLineEdge()||t.isVisited()||t.isInteriorAreaEdge()||t.getEdge().isInResult()?null:(tc.isTrue(!(t.isInResult()||t.getSym().isInResult())||!t.getEdge().isInResult()),void(Md.isResultOfOp(n,e)&&e===Md.INTERSECTION&&(r.add(t.getEdge()),t.setVisitedEdge(!0))))},qf.prototype.interfaces_=function(){return[]},qf.prototype.getClass=function(){return qf};var Gf=function(){this._op=null,this._geometryFactory=null,this._resultPointList=new kc;var t=arguments[0],e=arguments[1];this._op=t,this._geometryFactory=e};Gf.prototype.filterCoveredNodeToPoint=function(t){var e=t.getCoordinate();if(!this._op.isCoveredByLA(e)){var r=this._geometryFactory.createPoint(e);this._resultPointList.add(r)}},Gf.prototype.extractNonCoveredResultNodes=function(t){for(var e=this._op.getGraph().getNodes().iterator();e.hasNext();){var r=e.next();if(!r.isInResult()&&!r.isIncidentEdgeInResult()&&(0===r.getEdges().getDegree()||t===Md.INTERSECTION)){var n=r.getLabel();Md.isResultOfOp(n,t)&&this.filterCoveredNodeToPoint(r)}}},Gf.prototype.build=function(t){return this.extractNonCoveredResultNodes(t),this._resultPointList},Gf.prototype.interfaces_=function(){return[]},Gf.prototype.getClass=function(){return Gf};var Wf=function(){this._inputGeom=null,this._factory=null,this._pruneEmptyGeometry=!0,this._preserveGeometryCollectionType=!0,this._preserveCollections=!1,this._preserveType=!1};Wf.prototype.transformPoint=function(t,e){return this._factory.createPoint(this.transformCoordinates(t.getCoordinateSequence(),t))},Wf.prototype.transformPolygon=function(t,e){var r=!0,n=this.transformLinearRing(t.getExteriorRing(),t);null!==n&&n instanceof el&&!n.isEmpty()||(r=!1);for(var i=new kc,o=0;o<t.getNumInteriorRing();o++){var a=this.transformLinearRing(t.getInteriorRingN(o),t);null===a||a.isEmpty()||(a instanceof el||(r=!1),i.add(a))}if(r)return this._factory.createPolygon(n,i.toArray([]));var s=new kc;return null!==n&&s.add(n),s.addAll(i),this._factory.buildGeometry(s)},Wf.prototype.createCoordinateSequence=function(t){return this._factory.getCoordinateSequenceFactory().create(t)},Wf.prototype.getInputGeometry=function(){return this._inputGeom},Wf.prototype.transformMultiLineString=function(t,e){for(var r=new kc,n=0;n<t.getNumGeometries();n++){var i=this.transformLineString(t.getGeometryN(n),t);null!==i&&(i.isEmpty()||r.add(i))}return this._factory.buildGeometry(r)},Wf.prototype.transformCoordinates=function(t,e){return this.copy(t)},Wf.prototype.transformLineString=function(t,e){return this._factory.createLineString(this.transformCoordinates(t.getCoordinateSequence(),t))},Wf.prototype.transformMultiPoint=function(t,e){for(var r=new kc,n=0;n<t.getNumGeometries();n++){var i=this.transformPoint(t.getGeometryN(n),t);null!==i&&(i.isEmpty()||r.add(i))}return this._factory.buildGeometry(r)},Wf.prototype.transformMultiPolygon=function(t,e){for(var r=new kc,n=0;n<t.getNumGeometries();n++){var i=this.transformPolygon(t.getGeometryN(n),t);null!==i&&(i.isEmpty()||r.add(i))}return this._factory.buildGeometry(r)},Wf.prototype.copy=function(t){return t.copy()},Wf.prototype.transformGeometryCollection=function(t,e){for(var r=new kc,n=0;n<t.getNumGeometries();n++){var i=this.transform(t.getGeometryN(n));null!==i&&(this._pruneEmptyGeometry&&i.isEmpty()||r.add(i))}return this._preserveGeometryCollectionType?this._factory.createGeometryCollection(yl.toGeometryArray(r)):this._factory.buildGeometry(r)},Wf.prototype.transform=function(t){if(this._inputGeom=t,this._factory=t.getFactory(),t instanceof Jc)return this.transformPoint(t,null);if(t instanceof tl)return this.transformMultiPoint(t,null);if(t instanceof el)return this.transformLinearRing(t,null);if(t instanceof Kc)return this.transformLineString(t,null);if(t instanceof zc)return this.transformMultiLineString(t,null);if(t instanceof Qc)return this.transformPolygon(t,null);if(t instanceof rl)return this.transformMultiPolygon(t,null);if(t instanceof Hc)return this.transformGeometryCollection(t,null);throw new yu("Unknown Geometry subtype: "+t.getClass().getName())},Wf.prototype.transformLinearRing=function(t,e){var r=this.transformCoordinates(t.getCoordinateSequence(),t);if(null===r)return this._factory.createLinearRing(null);var n=r.size();return n>0&&n<4&&!this._preserveType?this._factory.createLineString(r):this._factory.createLinearRing(r)},Wf.prototype.interfaces_=function(){return[]},Wf.prototype.getClass=function(){return Wf};var Kf=function t(){if(this._snapTolerance=0,this._srcPts=null,this._seg=new ph,this._allowSnappingToSourceVertices=!1,this._isClosed=!1,arguments[0]instanceof Kc&&"number"==typeof arguments[1]){var e=arguments[0],r=arguments[1];t.call(this,e.getCoordinates(),r)}else if(arguments[0]instanceof Array&&"number"==typeof arguments[1]){var n=arguments[0],i=arguments[1];this._srcPts=n,this._isClosed=t.isClosed(n),this._snapTolerance=i}};Kf.prototype.snapVertices=function(t,e){for(var r=this._isClosed?t.size()-1:t.size(),n=0;n<r;n++){var i=t.get(n),o=this.findSnapForVertex(i,e);null!==o&&(t.set(n,new ku(o)),0===n&&this._isClosed&&t.set(t.size()-1,new ku(o)))}},Kf.prototype.findSnapForVertex=function(t,e){for(var r=0;r<e.length;r++){if(t.equals2D(e[r]))return null;if(t.distance(e[r])<this._snapTolerance)return e[r]}return null},Kf.prototype.snapTo=function(t){var e=new Ec(this._srcPts);return this.snapVertices(e,t),this.snapSegments(e,t),e.toCoordinateArray()},Kf.prototype.snapSegments=function(t,e){if(0===e.length)return null;var r=e.length;e[0].equals2D(e[e.length-1])&&(r=e.length-1);for(var n=0;n<r;n++){var i=e[n],o=this.findSegmentIndexToSnap(i,t);o>=0&&t.add(o+1,new ku(i),!1)}},Kf.prototype.findSegmentIndexToSnap=function(t,e){for(var r=vu.MAX_VALUE,n=-1,i=0;i<e.size()-1;i++){if(this._seg.p0=e.get(i),this._seg.p1=e.get(i+1),this._seg.p0.equals2D(t)||this._seg.p1.equals2D(t)){if(this._allowSnappingToSourceVertices)continue;return-1}var o=this._seg.distance(t);o<this._snapTolerance&&o<r&&(r=o,n=i)}return n},Kf.prototype.setAllowSnappingToSourceVertices=function(t){this._allowSnappingToSourceVertices=t},Kf.prototype.interfaces_=function(){return[]},Kf.prototype.getClass=function(){return Kf},Kf.isClosed=function(t){return!(t.length<=1)&&t[0].equals2D(t[t.length-1])};var Xf=function(t){this._srcGeom=t||null},Jf={SNAP_PRECISION_FACTOR:{configurable:!0}};Xf.prototype.snapTo=function(t,e){var r=this.extractTargetCoordinates(t);return new Zf(e,r).transform(this._srcGeom)},Xf.prototype.snapToSelf=function(t,e){var r=this.extractTargetCoordinates(this._srcGeom),n=new Zf(t,r,!0).transform(this._srcGeom),i=n;return e&&Cu(i,Zc)&&(i=n.buffer(0)),i},Xf.prototype.computeSnapTolerance=function(t){return this.computeMinimumSegmentLength(t)/10},Xf.prototype.extractTargetCoordinates=function(t){for(var e=new Yi,r=t.getCoordinates(),n=0;n<r.length;n++)e.add(r[n]);return e.toArray(new Array(0).fill(null))},Xf.prototype.computeMinimumSegmentLength=function(t){for(var e=vu.MAX_VALUE,r=0;r<t.length-1;r++){var n=t[r].distance(t[r+1]);n<e&&(e=n)}return e},Xf.prototype.interfaces_=function(){return[]},Xf.prototype.getClass=function(){return Xf},Xf.snap=function(t,e,r){var n=new Array(2).fill(null),i=new Xf(t);n[0]=i.snapTo(e,r);var o=new Xf(e);return n[1]=o.snapTo(n[0],r),n},Xf.computeOverlaySnapTolerance=function(){if(1===arguments.length){var t=arguments[0],e=Xf.computeSizeBasedSnapTolerance(t),r=t.getPrecisionModel();if(r.getType()===dl.FIXED){var n=1/r.getScale()*2/1.415;n>e&&(e=n)}return e}if(2===arguments.length){var i=arguments[0],o=arguments[1];return Math.min(Xf.computeOverlaySnapTolerance(i),Xf.computeOverlaySnapTolerance(o))}},Xf.computeSizeBasedSnapTolerance=function(t){var e=t.getEnvelopeInternal();return Math.min(e.getHeight(),e.getWidth())*Xf.SNAP_PRECISION_FACTOR},Xf.snapToSelf=function(t,e,r){return new Xf(t).snapToSelf(e,r)},Jf.SNAP_PRECISION_FACTOR.get=function(){return 1e-9},Object.defineProperties(Xf,Jf);var Zf=function(t){function e(e,r,n){t.call(this),this._snapTolerance=e||null,this._snapPts=r||null,this._isSelfSnap=void 0!==n&&n}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.snapLine=function(t,e){var r=new Kf(t,this._snapTolerance);return r.setAllowSnappingToSourceVertices(this._isSelfSnap),r.snapTo(e)},e.prototype.transformCoordinates=function(t,e){var r=t.toCoordinateArray(),n=this.snapLine(r,this._snapPts);return this._factory.getCoordinateSequenceFactory().create(n)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(Wf),Qf=function(){this._isFirst=!0,this._commonMantissaBitsCount=53,this._commonBits=0,this._commonSignExp=null};Qf.prototype.getCommon=function(){return vu.longBitsToDouble(this._commonBits)},Qf.prototype.add=function(t){var e=vu.doubleToLongBits(t);return this._isFirst?(this._commonBits=e,this._commonSignExp=Qf.signExpBits(this._commonBits),this._isFirst=!1,null):Qf.signExpBits(e)!==this._commonSignExp?(this._commonBits=0,null):(this._commonMantissaBitsCount=Qf.numCommonMostSigMantissaBits(this._commonBits,e),void(this._commonBits=Qf.zeroLowerBits(this._commonBits,64-(12+this._commonMantissaBitsCount))))},Qf.prototype.toString=function(){if(1===arguments.length){var t=arguments[0],e=vu.longBitsToDouble(t),r="0000000000000000000000000000000000000000000000000000000000000000"+vu.toBinaryString(t),n=r.substring(r.length-64);return n.substring(0,1)+"  "+n.substring(1,12)+"(exp) "+n.substring(12)+" [ "+e+" ]"}},Qf.prototype.interfaces_=function(){return[]},Qf.prototype.getClass=function(){return Qf},Qf.getBit=function(t,e){return 0!=(t&1<<e)?1:0},Qf.signExpBits=function(t){return t>>52},Qf.zeroLowerBits=function(t,e){return t&~((1<<e)-1)},Qf.numCommonMostSigMantissaBits=function(t,e){for(var r=0,n=52;n>=0;n--){if(Qf.getBit(t,n)!==Qf.getBit(e,n))return r;r++}return 52};var td=function(){this._commonCoord=null,this._ccFilter=new rd},ed={CommonCoordinateFilter:{configurable:!0},Translater:{configurable:!0}};td.prototype.addCommonBits=function(t){var e=new nd(this._commonCoord);t.apply(e),t.geometryChanged()},td.prototype.removeCommonBits=function(t){if(0===this._commonCoord.x&&0===this._commonCoord.y)return t;var e=new ku(this._commonCoord);e.x=-e.x,e.y=-e.y;var r=new nd(e);return t.apply(r),t.geometryChanged(),t},td.prototype.getCommonCoordinate=function(){return this._commonCoord},td.prototype.add=function(t){t.apply(this._ccFilter),this._commonCoord=this._ccFilter.getCommonCoordinate()},td.prototype.interfaces_=function(){return[]},td.prototype.getClass=function(){return td},ed.CommonCoordinateFilter.get=function(){return rd},ed.Translater.get=function(){return nd},Object.defineProperties(td,ed);var rd=function(){this._commonBitsX=new Qf,this._commonBitsY=new Qf};rd.prototype.filter=function(t){this._commonBitsX.add(t.x),this._commonBitsY.add(t.y)},rd.prototype.getCommonCoordinate=function(){return new ku(this._commonBitsX.getCommon(),this._commonBitsY.getCommon())},rd.prototype.interfaces_=function(){return[fc]},rd.prototype.getClass=function(){return rd};var nd=function(){this.trans=null;var t=arguments[0];this.trans=t};nd.prototype.filter=function(t,e){var r=t.getOrdinate(e,0)+this.trans.x,n=t.getOrdinate(e,1)+this.trans.y;t.setOrdinate(e,0,r),t.setOrdinate(e,1,n)},nd.prototype.isDone=function(){return!1},nd.prototype.isGeometryChanged=function(){return!0},nd.prototype.interfaces_=function(){return[Uc]},nd.prototype.getClass=function(){return nd};var id=function(t,e){this._geom=new Array(2).fill(null),this._snapTolerance=null,this._cbr=null,this._geom[0]=t,this._geom[1]=e,this.computeSnapTolerance()};id.prototype.selfSnap=function(t){return new Xf(t).snapTo(t,this._snapTolerance)},id.prototype.removeCommonBits=function(t){this._cbr=new td,this._cbr.add(t[0]),this._cbr.add(t[1]);var e=new Array(2).fill(null);return e[0]=this._cbr.removeCommonBits(t[0].copy()),e[1]=this._cbr.removeCommonBits(t[1].copy()),e},id.prototype.prepareResult=function(t){return this._cbr.addCommonBits(t),t},id.prototype.getResultGeometry=function(t){var e=this.snap(this._geom),r=Md.overlayOp(e[0],e[1],t);return this.prepareResult(r)},id.prototype.checkValid=function(t){t.isValid()||zu.out.println("Snapped geometry is invalid")},id.prototype.computeSnapTolerance=function(){this._snapTolerance=Xf.computeOverlaySnapTolerance(this._geom[0],this._geom[1])},id.prototype.snap=function(t){var e=this.removeCommonBits(t);return Xf.snap(e[0],e[1],this._snapTolerance)},id.prototype.interfaces_=function(){return[]},id.prototype.getClass=function(){return id},id.overlayOp=function(t,e,r){return new id(t,e).getResultGeometry(r)},id.union=function(t,e){return id.overlayOp(t,e,Md.UNION)},id.intersection=function(t,e){return id.overlayOp(t,e,Md.INTERSECTION)},id.symDifference=function(t,e){return id.overlayOp(t,e,Md.SYMDIFFERENCE)},id.difference=function(t,e){return id.overlayOp(t,e,Md.DIFFERENCE)};var od=function(t,e){this._geom=new Array(2).fill(null),this._geom[0]=t,this._geom[1]=e};od.prototype.getResultGeometry=function(t){var e=null,r=!1,n=null;try{e=Md.overlayOp(this._geom[0],this._geom[1],t),r=!0}catch(t){if(!(t instanceof Zu))throw t;n=t}if(!r)try{e=id.overlayOp(this._geom[0],this._geom[1],t)}catch(t){throw t instanceof Zu?n:t}return e},od.prototype.interfaces_=function(){return[]},od.prototype.getClass=function(){return od},od.overlayOp=function(t,e,r){return new od(t,e).getResultGeometry(r)},od.union=function(t,e){return od.overlayOp(t,e,Md.UNION)},od.intersection=function(t,e){return od.overlayOp(t,e,Md.INTERSECTION)},od.symDifference=function(t,e){return od.overlayOp(t,e,Md.SYMDIFFERENCE)},od.difference=function(t,e){return od.overlayOp(t,e,Md.DIFFERENCE)};var ad=function(){this.mce=null,this.chainIndex=null;var t=arguments[0],e=arguments[1];this.mce=t,this.chainIndex=e};ad.prototype.computeIntersections=function(t,e){this.mce.computeIntersectsForChain(this.chainIndex,t.mce,t.chainIndex,e)},ad.prototype.interfaces_=function(){return[]},ad.prototype.getClass=function(){return ad};var sd=function t(){if(this._label=null,this._xValue=null,this._eventType=null,this._insertEvent=null,this._deleteEventIndex=null,this._obj=null,2===arguments.length){var e=arguments[0],r=arguments[1];this._eventType=t.DELETE,this._xValue=e,this._insertEvent=r}else if(3===arguments.length){var n=arguments[0],i=arguments[1],o=arguments[2];this._eventType=t.INSERT,this._label=n,this._xValue=i,this._obj=o}},ud={INSERT:{configurable:!0},DELETE:{configurable:!0}};sd.prototype.isDelete=function(){return this._eventType===sd.DELETE},sd.prototype.setDeleteEventIndex=function(t){this._deleteEventIndex=t},sd.prototype.getObject=function(){return this._obj},sd.prototype.compareTo=function(t){var e=t;return this._xValue<e._xValue?-1:this._xValue>e._xValue?1:this._eventType<e._eventType?-1:this._eventType>e._eventType?1:0},sd.prototype.getInsertEvent=function(){return this._insertEvent},sd.prototype.isInsert=function(){return this._eventType===sd.INSERT},sd.prototype.isSameLabel=function(t){return null!==this._label&&this._label===t._label},sd.prototype.getDeleteEventIndex=function(){return this._deleteEventIndex},sd.prototype.interfaces_=function(){return[_u]},sd.prototype.getClass=function(){return sd},ud.INSERT.get=function(){return 1},ud.DELETE.get=function(){return 2},Object.defineProperties(sd,ud);var cd=function(){};cd.prototype.interfaces_=function(){return[]},cd.prototype.getClass=function(){return cd};var ld=function(){this._hasIntersection=!1,this._hasProper=!1,this._hasProperInterior=!1,this._properIntersectionPoint=null,this._li=null,this._includeProper=null,this._recordIsolated=null,this._isSelfIntersection=null,this._numIntersections=0,this.numTests=0,this._bdyNodes=null,this._isDone=!1,this._isDoneWhenProperInt=!1;var t=arguments[0],e=arguments[1],r=arguments[2];this._li=t,this._includeProper=e,this._recordIsolated=r};ld.prototype.isTrivialIntersection=function(t,e,r,n){if(t===r&&1===this._li.getIntersectionNum()){if(ld.isAdjacentSegments(e,n))return!0;if(t.isClosed()){var i=t.getNumPoints()-1;if(0===e&&n===i||0===n&&e===i)return!0}}return!1},ld.prototype.getProperIntersectionPoint=function(){return this._properIntersectionPoint},ld.prototype.setIsDoneIfProperInt=function(t){this._isDoneWhenProperInt=t},ld.prototype.hasProperInteriorIntersection=function(){return this._hasProperInterior},ld.prototype.isBoundaryPointInternal=function(t,e){for(var r=e.iterator();r.hasNext();){var n=r.next().getCoordinate();if(t.isIntersection(n))return!0}return!1},ld.prototype.hasProperIntersection=function(){return this._hasProper},ld.prototype.hasIntersection=function(){return this._hasIntersection},ld.prototype.isDone=function(){return this._isDone},ld.prototype.isBoundaryPoint=function(t,e){return null!==e&&(!!this.isBoundaryPointInternal(t,e[0])||!!this.isBoundaryPointInternal(t,e[1]))},ld.prototype.setBoundaryNodes=function(t,e){this._bdyNodes=new Array(2).fill(null),this._bdyNodes[0]=t,this._bdyNodes[1]=e},ld.prototype.addIntersections=function(t,e,r,n){if(t===r&&e===n)return null;this.numTests++;var i=t.getCoordinates()[e],o=t.getCoordinates()[e+1],a=r.getCoordinates()[n],s=r.getCoordinates()[n+1];this._li.computeIntersection(i,o,a,s),this._li.hasIntersection()&&(this._recordIsolated&&(t.setIsolated(!1),r.setIsolated(!1)),this._numIntersections++,this.isTrivialIntersection(t,e,r,n)||(this._hasIntersection=!0,!this._includeProper&&this._li.isProper()||(t.addIntersections(this._li,e,0),r.addIntersections(this._li,n,1)),this._li.isProper()&&(this._properIntersectionPoint=this._li.getIntersection(0).copy(),this._hasProper=!0,this._isDoneWhenProperInt&&(this._isDone=!0),this.isBoundaryPoint(this._li,this._bdyNodes)||(this._hasProperInterior=!0))))},ld.prototype.interfaces_=function(){return[]},ld.prototype.getClass=function(){return ld},ld.isAdjacentSegments=function(t,e){return 1===Math.abs(t-e)};var hd=function(t){function e(){t.call(this),this.events=new kc,this.nOverlaps=null}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.prepareEvents=function(){Ql.sort(this.events);for(var t=0;t<this.events.size();t++){var e=this.events.get(t);e.isDelete()&&e.getInsertEvent().setDeleteEventIndex(t)}},e.prototype.computeIntersections=function(){if(1===arguments.length){var t=arguments[0];this.nOverlaps=0,this.prepareEvents();for(var e=0;e<this.events.size();e++){var r=this.events.get(e);if(r.isInsert()&&this.processOverlaps(e,r.getDeleteEventIndex(),r,t),t.isDone())break}}else if(3===arguments.length)if(arguments[2]instanceof ld&&Cu(arguments[0],xc)&&Cu(arguments[1],xc)){var n=arguments[0],i=arguments[1],o=arguments[2];this.addEdges(n,n),this.addEdges(i,i),this.computeIntersections(o)}else if("boolean"==typeof arguments[2]&&Cu(arguments[0],xc)&&arguments[1]instanceof ld){var a=arguments[0],s=arguments[1];arguments[2]?this.addEdges(a,null):this.addEdges(a),this.computeIntersections(s)}},e.prototype.addEdge=function(t,e){for(var r=t.getMonotoneChainEdge(),n=r.getStartIndexes(),i=0;i<n.length-1;i++){var o=new ad(r,i),a=new sd(e,r.getMinX(i),o);this.events.add(a),this.events.add(new sd(r.getMaxX(i),a))}},e.prototype.processOverlaps=function(t,e,r,n){for(var i=r.getObject(),o=t;o<e;o++){var a=this.events.get(o);if(a.isInsert()){var s=a.getObject();r.isSameLabel(a)||(i.computeIntersections(s,n),this.nOverlaps++)}}},e.prototype.addEdges=function(){if(1===arguments.length)for(var t=arguments[0].iterator();t.hasNext();){var e=t.next();this.addEdge(e,e)}else if(2===arguments.length)for(var r=arguments[0],n=arguments[1],i=r.iterator();i.hasNext();){var o=i.next();this.addEdge(o,n)}},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(cd),fd=function(){this._min=vu.POSITIVE_INFINITY,this._max=vu.NEGATIVE_INFINITY},dd={NodeComparator:{configurable:!0}};fd.prototype.getMin=function(){return this._min},fd.prototype.intersects=function(t,e){return!(this._min>e||this._max<t)},fd.prototype.getMax=function(){return this._max},fd.prototype.toString=function(){return Ju.toLineString(new ku(this._min,0),new ku(this._max,0))},fd.prototype.interfaces_=function(){return[]},fd.prototype.getClass=function(){return fd},dd.NodeComparator.get=function(){return pd},Object.defineProperties(fd,dd);var pd=function(){};pd.prototype.compare=function(t,e){var r=t,n=e,i=(r._min+r._max)/2,o=(n._min+n._max)/2;return i<o?-1:i>o?1:0},pd.prototype.interfaces_=function(){return[xu]},pd.prototype.getClass=function(){return pd};var md=function(t){function e(){t.call(this),this._item=null;var e=arguments[0],r=arguments[1],n=arguments[2];this._min=e,this._max=r,this._item=n}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.query=function(t,e,r){if(!this.intersects(t,e))return null;r.visitItem(this._item)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(fd),gd=function(t){function e(){t.call(this),this._node1=null,this._node2=null;var e=arguments[0],r=arguments[1];this._node1=e,this._node2=r,this.buildExtent(this._node1,this._node2)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.buildExtent=function(t,e){this._min=Math.min(t._min,e._min),this._max=Math.max(t._max,e._max)},e.prototype.query=function(t,e,r){if(!this.intersects(t,e))return null;null!==this._node1&&this._node1.query(t,e,r),null!==this._node2&&this._node2.query(t,e,r)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(fd),yd=function(){this._leaves=new kc,this._root=null,this._level=0};yd.prototype.buildTree=function(){Ql.sort(this._leaves,new fd.NodeComparator);for(var t=this._leaves,e=null,r=new kc;;){if(this.buildLevel(t,r),1===r.size())return r.get(0);e=t,t=r,r=e}},yd.prototype.insert=function(t,e,r){if(null!==this._root)throw new Error("Index cannot be added to once it has been queried");this._leaves.add(new md(t,e,r))},yd.prototype.query=function(t,e,r){this.init(),this._root.query(t,e,r)},yd.prototype.buildRoot=function(){if(null!==this._root)return null;this._root=this.buildTree()},yd.prototype.printNode=function(t){zu.out.println(Ju.toLineString(new ku(t._min,this._level),new ku(t._max,this._level)))},yd.prototype.init=function(){if(null!==this._root)return null;this.buildRoot()},yd.prototype.buildLevel=function(t,e){this._level++,e.clear();for(var r=0;r<t.size();r+=2){var n=t.get(r);if(null===(r+1<t.size()?t.get(r):null))e.add(n);else{var i=new gd(t.get(r),t.get(r+1));e.add(i)}}},yd.prototype.interfaces_=function(){return[]},yd.prototype.getClass=function(){return yd};var vd=function(){this._items=new kc};vd.prototype.visitItem=function(t){this._items.add(t)},vd.prototype.getItems=function(){return this._items},vd.prototype.interfaces_=function(){return[Kl]},vd.prototype.getClass=function(){return vd};var bd=function(){this._index=null;var t=arguments[0];if(!Cu(t,Zc))throw new yu("Argument must be Polygonal");this._index=new xd(t)},_d={SegmentVisitor:{configurable:!0},IntervalIndexedGeometry:{configurable:!0}};bd.prototype.locate=function(t){var e=new oc(t),r=new wd(e);return this._index.query(t.y,t.y,r),e.getLocation()},bd.prototype.interfaces_=function(){return[Fh]},bd.prototype.getClass=function(){return bd},_d.SegmentVisitor.get=function(){return wd},_d.IntervalIndexedGeometry.get=function(){return xd},Object.defineProperties(bd,_d);var wd=function(){this._counter=null;var t=arguments[0];this._counter=t};wd.prototype.visitItem=function(t){var e=t;this._counter.countSegment(e.getCoordinate(0),e.getCoordinate(1))},wd.prototype.interfaces_=function(){return[Kl]},wd.prototype.getClass=function(){return wd};var xd=function(){this._index=new yd;var t=arguments[0];this.init(t)};xd.prototype.init=function(t){for(var e=Sf.getLines(t).iterator();e.hasNext();){var r=e.next().getCoordinates();this.addLine(r)}},xd.prototype.addLine=function(t){for(var e=1;e<t.length;e++){var r=new ph(t[e-1],t[e]),n=Math.min(r.p0.y,r.p1.y),i=Math.max(r.p0.y,r.p1.y);this._index.insert(n,i,r)}},xd.prototype.query=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1],r=new vd;return this._index.query(t,e,r),r.getItems()}if(3===arguments.length){var n=arguments[0],i=arguments[1],o=arguments[2];this._index.query(n,i,o)}},xd.prototype.interfaces_=function(){return[]},xd.prototype.getClass=function(){return xd};var kd=function(t){function e(){if(t.call(this),this._parentGeom=null,this._lineEdgeMap=new fl,this._boundaryNodeRule=null,this._useBoundaryDeterminationRule=!0,this._argIndex=null,this._boundaryNodes=null,this._hasTooFewPoints=!1,this._invalidPoint=null,this._areaPtLocator=null,this._ptLocator=new Ef,2===arguments.length){var e=arguments[0],r=arguments[1],n=dc.OGC_SFS_BOUNDARY_RULE;this._argIndex=e,this._parentGeom=r,this._boundaryNodeRule=n,null!==r&&this.add(r)}else if(3===arguments.length){var i=arguments[0],o=arguments[1],a=arguments[2];this._argIndex=i,this._parentGeom=o,this._boundaryNodeRule=a,null!==o&&this.add(o)}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.insertBoundaryPoint=function(t,r){var n=this._nodes.addNode(r).getLabel(),i=1;Au.NONE,n.getLocation(t,El.ON)===Au.BOUNDARY&&i++;var o=e.determineBoundary(this._boundaryNodeRule,i);n.setLocation(t,o)},e.prototype.computeSelfNodes=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1];return this.computeSelfNodes(t,e,!1)}if(3===arguments.length){var r=arguments[0],n=arguments[1],i=arguments[2],o=new ld(r,!0,!1);o.setIsDoneIfProperInt(i);var a=this.createEdgeSetIntersector(),s=this._parentGeom instanceof el||this._parentGeom instanceof Qc||this._parentGeom instanceof rl,u=n||!s;return a.computeIntersections(this._edges,o,u),this.addSelfIntersectionNodes(this._argIndex),o}},e.prototype.computeSplitEdges=function(t){for(var e=this._edges.iterator();e.hasNext();)e.next().eiList.addSplitEdges(t)},e.prototype.computeEdgeIntersections=function(t,e,r){var n=new ld(e,r,!0);return n.setBoundaryNodes(this.getBoundaryNodes(),t.getBoundaryNodes()),this.createEdgeSetIntersector().computeIntersections(this._edges,t._edges,n),n},e.prototype.getGeometry=function(){return this._parentGeom},e.prototype.getBoundaryNodeRule=function(){return this._boundaryNodeRule},e.prototype.hasTooFewPoints=function(){return this._hasTooFewPoints},e.prototype.addPoint=function(){if(arguments[0]instanceof Jc){var t=arguments[0].getCoordinate();this.insertPoint(this._argIndex,t,Au.INTERIOR)}else if(arguments[0]instanceof ku){var e=arguments[0];this.insertPoint(this._argIndex,e,Au.INTERIOR)}},e.prototype.addPolygon=function(t){this.addPolygonRing(t.getExteriorRing(),Au.EXTERIOR,Au.INTERIOR);for(var e=0;e<t.getNumInteriorRing();e++){var r=t.getInteriorRingN(e);this.addPolygonRing(r,Au.INTERIOR,Au.EXTERIOR)}},e.prototype.addEdge=function(t){this.insertEdge(t);var e=t.getCoordinates();this.insertPoint(this._argIndex,e[0],Au.BOUNDARY),this.insertPoint(this._argIndex,e[e.length-1],Au.BOUNDARY)},e.prototype.addLineString=function(t){var e=Mc.removeRepeatedPoints(t.getCoordinates());if(e.length<2)return this._hasTooFewPoints=!0,this._invalidPoint=e[0],null;var r=new ef(e,new Ol(this._argIndex,Au.INTERIOR));this._lineEdgeMap.put(t,r),this.insertEdge(r),tc.isTrue(e.length>=2,"found LineString with single point"),this.insertBoundaryPoint(this._argIndex,e[0]),this.insertBoundaryPoint(this._argIndex,e[e.length-1])},e.prototype.getInvalidPoint=function(){return this._invalidPoint},e.prototype.getBoundaryPoints=function(){for(var t=this.getBoundaryNodes(),e=new Array(t.size()).fill(null),r=0,n=t.iterator();n.hasNext();){var i=n.next();e[r++]=i.getCoordinate().copy()}return e},e.prototype.getBoundaryNodes=function(){return null===this._boundaryNodes&&(this._boundaryNodes=this._nodes.getBoundaryNodes(this._argIndex)),this._boundaryNodes},e.prototype.addSelfIntersectionNode=function(t,e,r){if(this.isBoundaryNode(t,e))return null;r===Au.BOUNDARY&&this._useBoundaryDeterminationRule?this.insertBoundaryPoint(t,e):this.insertPoint(t,e,r)},e.prototype.addPolygonRing=function(t,e,r){if(t.isEmpty())return null;var n=Mc.removeRepeatedPoints(t.getCoordinates());if(n.length<4)return this._hasTooFewPoints=!0,this._invalidPoint=n[0],null;var i=e,o=r;ac.isCCW(n)&&(i=r,o=e);var a=new ef(n,new Ol(this._argIndex,Au.BOUNDARY,i,o));this._lineEdgeMap.put(t,a),this.insertEdge(a),this.insertPoint(this._argIndex,n[0],Au.BOUNDARY)},e.prototype.insertPoint=function(t,e,r){var n=this._nodes.addNode(e),i=n.getLabel();null===i?n._label=new Ol(t,r):i.setLocation(t,r)},e.prototype.createEdgeSetIntersector=function(){return new hd},e.prototype.addSelfIntersectionNodes=function(t){for(var e=this._edges.iterator();e.hasNext();)for(var r=e.next(),n=r.getLabel().getLocation(t),i=r.eiList.iterator();i.hasNext();){var o=i.next();this.addSelfIntersectionNode(t,o.coord,n)}},e.prototype.add=function(){if(1!==arguments.length)return t.prototype.add.apply(this,arguments);var e=arguments[0];if(e.isEmpty())return null;if(e instanceof rl&&(this._useBoundaryDeterminationRule=!1),e instanceof Qc)this.addPolygon(e);else if(e instanceof Kc)this.addLineString(e);else if(e instanceof Jc)this.addPoint(e);else if(e instanceof tl)this.addCollection(e);else if(e instanceof zc)this.addCollection(e);else if(e instanceof rl)this.addCollection(e);else{if(!(e instanceof Hc))throw new Error(e.getClass().getName());this.addCollection(e)}},e.prototype.addCollection=function(t){for(var e=0;e<t.getNumGeometries();e++){var r=t.getGeometryN(e);this.add(r)}},e.prototype.locate=function(t){return Cu(this._parentGeom,Zc)&&this._parentGeom.getNumGeometries()>50?(null===this._areaPtLocator&&(this._areaPtLocator=new bd(this._parentGeom)),this._areaPtLocator.locate(t)):this._ptLocator.locate(t,this._parentGeom)},e.prototype.findEdge=function(){if(1===arguments.length){var e=arguments[0];return this._lineEdgeMap.get(e)}return t.prototype.findEdge.apply(this,arguments)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e.determineBoundary=function(t,e){return t.isInBoundary(e)?Au.BOUNDARY:Au.INTERIOR},e}(Vl),Sd=function(){if(this._li=new nc,this._resultPrecisionModel=null,this._arg=null,1===arguments.length){var t=arguments[0];this.setComputationPrecision(t.getPrecisionModel()),this._arg=new Array(1).fill(null),this._arg[0]=new kd(0,t)}else if(2===arguments.length){var e=arguments[0],r=arguments[1],n=dc.OGC_SFS_BOUNDARY_RULE;e.getPrecisionModel().compareTo(r.getPrecisionModel())>=0?this.setComputationPrecision(e.getPrecisionModel()):this.setComputationPrecision(r.getPrecisionModel()),this._arg=new Array(2).fill(null),this._arg[0]=new kd(0,e,n),this._arg[1]=new kd(1,r,n)}else if(3===arguments.length){var i=arguments[0],o=arguments[1],a=arguments[2];i.getPrecisionModel().compareTo(o.getPrecisionModel())>=0?this.setComputationPrecision(i.getPrecisionModel()):this.setComputationPrecision(o.getPrecisionModel()),this._arg=new Array(2).fill(null),this._arg[0]=new kd(0,i,a),this._arg[1]=new kd(1,o,a)}};Sd.prototype.getArgGeometry=function(t){return this._arg[t].getGeometry()},Sd.prototype.setComputationPrecision=function(t){this._resultPrecisionModel=t,this._li.setPrecisionModel(this._resultPrecisionModel)},Sd.prototype.interfaces_=function(){return[]},Sd.prototype.getClass=function(){return Sd};var Ed=function(){};Ed.prototype.interfaces_=function(){return[]},Ed.prototype.getClass=function(){return Ed},Ed.map=function(){if(arguments[0]instanceof cc&&Cu(arguments[1],Ed.MapOp)){for(var t=arguments[0],e=arguments[1],r=new kc,n=0;n<t.getNumGeometries();n++){var i=e.map(t.getGeometryN(n));null!==i&&r.add(i)}return t.getFactory().buildGeometry(r)}if(Cu(arguments[0],bc)&&Cu(arguments[1],Ed.MapOp)){for(var o=arguments[0],a=arguments[1],s=new kc,u=o.iterator();u.hasNext();){var c=u.next(),l=a.map(c);null!==l&&s.add(l)}return s}},Ed.MapOp=function(){};var Md=function(t){function e(){var e=arguments[0],r=arguments[1];t.call(this,e,r),this._ptLocator=new Ef,this._geomFact=null,this._resultGeom=null,this._graph=null,this._edgeList=new qh,this._resultPolyList=new kc,this._resultLineList=new kc,this._resultPointList=new kc,this._graph=new Vl(new Vh),this._geomFact=e.getFactory()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.insertUniqueEdge=function(t){var e=this._edgeList.findEqualEdge(t);if(null!==e){var r=e.getLabel(),n=t.getLabel();e.isPointwiseEqual(t)||(n=new Ol(t.getLabel())).flip();var i=e.getDepth();i.isNull()&&i.add(r),i.add(n),r.merge(n)}else this._edgeList.add(t)},e.prototype.getGraph=function(){return this._graph},e.prototype.cancelDuplicateResultEdges=function(){for(var t=this._graph.getEdgeEnds().iterator();t.hasNext();){var e=t.next(),r=e.getSym();e.isInResult()&&r.isInResult()&&(e.setInResult(!1),r.setInResult(!1))}},e.prototype.isCoveredByLA=function(t){return!!this.isCovered(t,this._resultLineList)||!!this.isCovered(t,this._resultPolyList)},e.prototype.computeGeometry=function(t,r,n,i){var o=new kc;return o.addAll(t),o.addAll(r),o.addAll(n),o.isEmpty()?e.createEmptyResult(i,this._arg[0].getGeometry(),this._arg[1].getGeometry(),this._geomFact):this._geomFact.buildGeometry(o)},e.prototype.mergeSymLabels=function(){for(var t=this._graph.getNodes().iterator();t.hasNext();)t.next().getEdges().mergeSymLabels()},e.prototype.isCovered=function(t,e){for(var r=e.iterator();r.hasNext();){var n=r.next();if(this._ptLocator.locate(t,n)!==Au.EXTERIOR)return!0}return!1},e.prototype.replaceCollapsedEdges=function(){for(var t=new kc,e=this._edgeList.iterator();e.hasNext();){var r=e.next();r.isCollapsed()&&(e.remove(),t.add(r.getCollapsedEdge()))}this._edgeList.addAll(t)},e.prototype.updateNodeLabelling=function(){for(var t=this._graph.getNodes().iterator();t.hasNext();){var e=t.next(),r=e.getEdges().getLabel();e.getLabel().merge(r)}},e.prototype.getResultGeometry=function(t){return this.computeOverlay(t),this._resultGeom},e.prototype.insertUniqueEdges=function(t){for(var e=t.iterator();e.hasNext();){var r=e.next();this.insertUniqueEdge(r)}},e.prototype.computeOverlay=function(t){this.copyPoints(0),this.copyPoints(1),this._arg[0].computeSelfNodes(this._li,!1),this._arg[1].computeSelfNodes(this._li,!1),this._arg[0].computeEdgeIntersections(this._arg[1],this._li,!0);var e=new kc;this._arg[0].computeSplitEdges(e),this._arg[1].computeSplitEdges(e),this.insertUniqueEdges(e),this.computeLabelsFromDepths(),this.replaceCollapsedEdges(),Vf.checkValid(this._edgeList.getEdges()),this._graph.addEdges(this._edgeList.getEdges()),this.computeLabelling(),this.labelIncompleteNodes(),this.findResultAreaEdges(t),this.cancelDuplicateResultEdges();var r=new $l(this._geomFact);r.add(this._graph),this._resultPolyList=r.getPolygons();var n=new qf(this,this._geomFact,this._ptLocator);this._resultLineList=n.build(t);var i=new Gf(this,this._geomFact,this._ptLocator);this._resultPointList=i.build(t),this._resultGeom=this.computeGeometry(this._resultPointList,this._resultLineList,this._resultPolyList,t)},e.prototype.labelIncompleteNode=function(t,e){var r=this._ptLocator.locate(t.getCoordinate(),this._arg[e].getGeometry());t.getLabel().setLocation(e,r)},e.prototype.copyPoints=function(t){for(var e=this._arg[t].getNodeIterator();e.hasNext();){var r=e.next();this._graph.addNode(r.getCoordinate()).setLabel(t,r.getLabel().getLocation(t))}},e.prototype.findResultAreaEdges=function(t){for(var r=this._graph.getEdgeEnds().iterator();r.hasNext();){var n=r.next(),i=n.getLabel();i.isArea()&&!n.isInteriorAreaEdge()&&e.isResultOfOp(i.getLocation(0,El.RIGHT),i.getLocation(1,El.RIGHT),t)&&n.setInResult(!0)}},e.prototype.computeLabelsFromDepths=function(){for(var t=this._edgeList.iterator();t.hasNext();){var e=t.next(),r=e.getLabel(),n=e.getDepth();if(!n.isNull()){n.normalize();for(var i=0;i<2;i++)r.isNull(i)||!r.isArea()||n.isNull(i)||(0===n.getDelta(i)?r.toLine(i):(tc.isTrue(!n.isNull(i,El.LEFT),"depth of LEFT side has not been initialized"),r.setLocation(i,El.LEFT,n.getLocation(i,El.LEFT)),tc.isTrue(!n.isNull(i,El.RIGHT),"depth of RIGHT side has not been initialized"),r.setLocation(i,El.RIGHT,n.getLocation(i,El.RIGHT))))}}},e.prototype.computeLabelling=function(){for(var t=this._graph.getNodes().iterator();t.hasNext();)t.next().getEdges().computeLabelling(this._arg);this.mergeSymLabels(),this.updateNodeLabelling()},e.prototype.labelIncompleteNodes=function(){for(var t=this._graph.getNodes().iterator();t.hasNext();){var e=t.next(),r=e.getLabel();e.isIsolated()&&(r.isNull(0)?this.labelIncompleteNode(e,0):this.labelIncompleteNode(e,1)),e.getEdges().updateLabelling(r)}},e.prototype.isCoveredByA=function(t){return!!this.isCovered(t,this._resultPolyList)},e.prototype.interfaces_=function(){return[]},e.prototype.getClass=function(){return e},e}(Sd);Md.overlayOp=function(t,e,r){return new Md(t,e).getResultGeometry(r)},Md.intersection=function(t,e){if(t.isEmpty()||e.isEmpty())return Md.createEmptyResult(Md.INTERSECTION,t,e,t.getFactory());if(t.isGeometryCollection()){var r=e;return $f.map(t,{interfaces_:function(){return[Ed.MapOp]},map:function(t){return t.intersection(r)}})}return t.checkNotGeometryCollection(t),t.checkNotGeometryCollection(e),od.overlayOp(t,e,Md.INTERSECTION)},Md.symDifference=function(t,e){if(t.isEmpty()||e.isEmpty()){if(t.isEmpty()&&e.isEmpty())return Md.createEmptyResult(Md.SYMDIFFERENCE,t,e,t.getFactory());if(t.isEmpty())return e.copy();if(e.isEmpty())return t.copy()}return t.checkNotGeometryCollection(t),t.checkNotGeometryCollection(e),od.overlayOp(t,e,Md.SYMDIFFERENCE)},Md.resultDimension=function(t,e,r){var n=e.getDimension(),i=r.getDimension(),o=-1;switch(t){case Md.INTERSECTION:o=Math.min(n,i);break;case Md.UNION:o=Math.max(n,i);break;case Md.DIFFERENCE:o=n;break;case Md.SYMDIFFERENCE:o=Math.max(n,i)}return o},Md.createEmptyResult=function(t,e,r,n){var i=null;switch(Md.resultDimension(t,e,r)){case-1:i=n.createGeometryCollection(new Array(0).fill(null));break;case 0:i=n.createPoint();break;case 1:i=n.createLineString();break;case 2:i=n.createPolygon()}return i},Md.difference=function(t,e){return t.isEmpty()?Md.createEmptyResult(Md.DIFFERENCE,t,e,t.getFactory()):e.isEmpty()?t.copy():(t.checkNotGeometryCollection(t),t.checkNotGeometryCollection(e),od.overlayOp(t,e,Md.DIFFERENCE))},Md.isResultOfOp=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1],r=t.getLocation(0),n=t.getLocation(1);return Md.isResultOfOp(r,n,e)}if(3===arguments.length){var i=arguments[0],o=arguments[1],a=arguments[2];switch(i===Au.BOUNDARY&&(i=Au.INTERIOR),o===Au.BOUNDARY&&(o=Au.INTERIOR),a){case Md.INTERSECTION:return i===Au.INTERIOR&&o===Au.INTERIOR;case Md.UNION:return i===Au.INTERIOR||o===Au.INTERIOR;case Md.DIFFERENCE:return i===Au.INTERIOR&&o!==Au.INTERIOR;case Md.SYMDIFFERENCE:return i===Au.INTERIOR&&o!==Au.INTERIOR||i!==Au.INTERIOR&&o===Au.INTERIOR}return!1}},Md.INTERSECTION=1,Md.UNION=2,Md.DIFFERENCE=3,Md.SYMDIFFERENCE=4;var Ad=function(){this._g=null,this._boundaryDistanceTolerance=null,this._linework=null,this._ptLocator=new Ef,this._seg=new ph;var t=arguments[0],e=arguments[1];this._g=t,this._boundaryDistanceTolerance=e,this._linework=this.extractLinework(t)};Ad.prototype.isWithinToleranceOfBoundary=function(t){for(var e=0;e<this._linework.getNumGeometries();e++)for(var r=this._linework.getGeometryN(e).getCoordinateSequence(),n=0;n<r.size()-1;n++)if(r.getCoordinate(n,this._seg.p0),r.getCoordinate(n+1,this._seg.p1),this._seg.distance(t)<=this._boundaryDistanceTolerance)return!0;return!1},Ad.prototype.getLocation=function(t){return this.isWithinToleranceOfBoundary(t)?Au.BOUNDARY:this._ptLocator.locate(t,this._g)},Ad.prototype.extractLinework=function(t){var e=new Td;t.apply(e);var r=e.getLinework(),n=yl.toLineStringArray(r);return t.getFactory().createMultiLineString(n)},Ad.prototype.interfaces_=function(){return[]},Ad.prototype.getClass=function(){return Ad};var Td=function(){this._linework=null,this._linework=new kc};Td.prototype.getLinework=function(){return this._linework},Td.prototype.filter=function(t){if(t instanceof Qc){var e=t;this._linework.add(e.getExteriorRing());for(var r=0;r<e.getNumInteriorRing();r++)this._linework.add(e.getInteriorRingN(r))}},Td.prototype.interfaces_=function(){return[Yc]},Td.prototype.getClass=function(){return Td};var Cd=function(){this._g=null,this._doLeft=!0,this._doRight=!0;var t=arguments[0];this._g=t};Cd.prototype.extractPoints=function(t,e,r){for(var n=t.getCoordinates(),i=0;i<n.length-1;i++)this.computeOffsetPoints(n[i],n[i+1],e,r)},Cd.prototype.setSidesToGenerate=function(t,e){this._doLeft=t,this._doRight=e},Cd.prototype.getPoints=function(t){for(var e=new kc,r=Sf.getLines(this._g).iterator();r.hasNext();){var n=r.next();this.extractPoints(n,t,e)}return e},Cd.prototype.computeOffsetPoints=function(t,e,r,n){var i=e.x-t.x,o=e.y-t.y,a=Math.sqrt(i*i+o*o),s=r*i/a,u=r*o/a,c=(e.x+t.x)/2,l=(e.y+t.y)/2;if(this._doLeft){var h=new ku(c-u,l+s);n.add(h)}if(this._doRight){var f=new ku(c+u,l-s);n.add(f)}},Cd.prototype.interfaces_=function(){return[]},Cd.prototype.getClass=function(){return Cd};var Ld=function t(){this._geom=null,this._locFinder=null,this._location=new Array(3).fill(null),this._invalidLocation=null,this._boundaryDistanceTolerance=t.TOLERANCE,this._testCoords=new kc;var e=arguments[0],r=arguments[1],n=arguments[2];this._boundaryDistanceTolerance=t.computeBoundaryDistanceTolerance(e,r),this._geom=[e,r,n],this._locFinder=[new Ad(this._geom[0],this._boundaryDistanceTolerance),new Ad(this._geom[1],this._boundaryDistanceTolerance),new Ad(this._geom[2],this._boundaryDistanceTolerance)]},Pd={TOLERANCE:{configurable:!0}};Ld.prototype.reportResult=function(t,e,r){zu.out.println("Overlay result invalid - A:"+Au.toLocationSymbol(e[0])+" B:"+Au.toLocationSymbol(e[1])+" expected:"+(r?"i":"e")+" actual:"+Au.toLocationSymbol(e[2]))},Ld.prototype.isValid=function(t){this.addTestPts(this._geom[0]),this.addTestPts(this._geom[1]);var e=this.checkValid(t);return e},Ld.prototype.checkValid=function(){if(1===arguments.length){for(var t=arguments[0],e=0;e<this._testCoords.size();e++){var r=this._testCoords.get(e);if(!this.checkValid(t,r))return this._invalidLocation=r,!1}return!0}if(2===arguments.length){var n=arguments[0],i=arguments[1];return this._location[0]=this._locFinder[0].getLocation(i),this._location[1]=this._locFinder[1].getLocation(i),this._location[2]=this._locFinder[2].getLocation(i),!!Ld.hasLocation(this._location,Au.BOUNDARY)||this.isValidResult(n,this._location)}},Ld.prototype.addTestPts=function(t){var e=new Cd(t);this._testCoords.addAll(e.getPoints(5*this._boundaryDistanceTolerance))},Ld.prototype.isValidResult=function(t,e){var r=Md.isResultOfOp(e[0],e[1],t),n=!(r^e[2]===Au.INTERIOR);return n||this.reportResult(t,e,r),n},Ld.prototype.getInvalidLocation=function(){return this._invalidLocation},Ld.prototype.interfaces_=function(){return[]},Ld.prototype.getClass=function(){return Ld},Ld.hasLocation=function(t,e){for(var r=0;r<3;r++)if(t[r]===e)return!0;return!1},Ld.computeBoundaryDistanceTolerance=function(t,e){return Math.min(Xf.computeSizeBasedSnapTolerance(t),Xf.computeSizeBasedSnapTolerance(e))},Ld.isValid=function(t,e,r,n){return new Ld(t,e,n).isValid(r)},Pd.TOLERANCE.get=function(){return 1e-6},Object.defineProperties(Ld,Pd);var Od=function t(e){this._geomFactory=null,this._skipEmpty=!1,this._inputGeoms=null,this._geomFactory=t.extractFactory(e),this._inputGeoms=e};Od.prototype.extractElements=function(t,e){if(null===t)return null;for(var r=0;r<t.getNumGeometries();r++){var n=t.getGeometryN(r);this._skipEmpty&&n.isEmpty()||e.add(n)}},Od.prototype.combine=function(){for(var t=new kc,e=this._inputGeoms.iterator();e.hasNext();){var r=e.next();this.extractElements(r,t)}return 0===t.size()?null!==this._geomFactory?this._geomFactory.createGeometryCollection(null):null:this._geomFactory.buildGeometry(t)},Od.prototype.interfaces_=function(){return[]},Od.prototype.getClass=function(){return Od},Od.combine=function(){if(1===arguments.length){var t=arguments[0];return new Od(t).combine()}if(2===arguments.length){var e=arguments[0],r=arguments[1];return new Od(Od.createList(e,r)).combine()}if(3===arguments.length){var n=arguments[0],i=arguments[1],o=arguments[2];return new Od(Od.createList(n,i,o)).combine()}},Od.extractFactory=function(t){return t.isEmpty()?null:t.iterator().next().getFactory()},Od.createList=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1],r=new kc;return r.add(t),r.add(e),r}if(3===arguments.length){var n=arguments[0],i=arguments[1],o=arguments[2],a=new kc;return a.add(n),a.add(i),a.add(o),a}};var Id=function(){this._inputPolys=null,this._geomFactory=null;var t=arguments[0];this._inputPolys=t,null===this._inputPolys&&(this._inputPolys=new kc)},Dd={STRTREE_NODE_CAPACITY:{configurable:!0}};Id.prototype.reduceToGeometries=function(t){for(var e=new kc,r=t.iterator();r.hasNext();){var n=r.next(),i=null;Cu(n,xc)?i=this.unionTree(n):n instanceof cc&&(i=n),e.add(i)}return e},Id.prototype.extractByEnvelope=function(t,e,r){for(var n=new kc,i=0;i<e.getNumGeometries();i++){var o=e.getGeometryN(i);o.getEnvelopeInternal().intersects(t)?n.add(o):r.add(o)}return this._geomFactory.buildGeometry(n)},Id.prototype.unionOptimized=function(t,e){var r=t.getEnvelopeInternal(),n=e.getEnvelopeInternal();if(!r.intersects(n))return Od.combine(t,e);if(t.getNumGeometries()<=1&&e.getNumGeometries()<=1)return this.unionActual(t,e);var i=r.intersection(n);return this.unionUsingEnvelopeIntersection(t,e,i)},Id.prototype.union=function(){if(null===this._inputPolys)throw new Error("union() method cannot be called twice");if(this._inputPolys.isEmpty())return null;this._geomFactory=this._inputPolys.iterator().next().getFactory();for(var t=new oh(Id.STRTREE_NODE_CAPACITY),e=this._inputPolys.iterator();e.hasNext();){var r=e.next();t.insert(r.getEnvelopeInternal(),r)}this._inputPolys=null;var n=t.itemsTree();return this.unionTree(n)},Id.prototype.binaryUnion=function(){if(1===arguments.length){var t=arguments[0];return this.binaryUnion(t,0,t.size())}if(3===arguments.length){var e=arguments[0],r=arguments[1],n=arguments[2];if(n-r<=1){var i=Id.getGeometry(e,r);return this.unionSafe(i,null)}if(n-r==2)return this.unionSafe(Id.getGeometry(e,r),Id.getGeometry(e,r+1));var o=Math.trunc((n+r)/2),a=this.binaryUnion(e,r,o),s=this.binaryUnion(e,o,n);return this.unionSafe(a,s)}},Id.prototype.repeatedUnion=function(t){for(var e=null,r=t.iterator();r.hasNext();){var n=r.next();e=null===e?n.copy():e.union(n)}return e},Id.prototype.unionSafe=function(t,e){return null===t&&null===e?null:null===t?e.copy():null===e?t.copy():this.unionOptimized(t,e)},Id.prototype.unionActual=function(t,e){return Id.restrictToPolygons(t.union(e))},Id.prototype.unionTree=function(t){var e=this.reduceToGeometries(t);return this.binaryUnion(e)},Id.prototype.unionUsingEnvelopeIntersection=function(t,e,r){var n=new kc,i=this.extractByEnvelope(r,t,n),o=this.extractByEnvelope(r,e,n),a=this.unionActual(i,o);return n.add(a),Od.combine(n)},Id.prototype.bufferUnion=function(){if(1===arguments.length){var t=arguments[0];return t.get(0).getFactory().buildGeometry(t).buffer(0)}if(2===arguments.length){var e=arguments[0],r=arguments[1];return e.getFactory().createGeometryCollection([e,r]).buffer(0)}},Id.prototype.interfaces_=function(){return[]},Id.prototype.getClass=function(){return Id},Id.restrictToPolygons=function(t){if(Cu(t,Zc))return t;var e=kf.getPolygons(t);return 1===e.size()?e.get(0):t.getFactory().createMultiPolygon(yl.toPolygonArray(e))},Id.getGeometry=function(t,e){return e>=t.size()?null:t.get(e)},Id.union=function(t){return new Id(t).union()},Dd.STRTREE_NODE_CAPACITY.get=function(){return 4},Object.defineProperties(Id,Dd);var Bd=function(){};Bd.prototype.interfaces_=function(){return[]},Bd.prototype.getClass=function(){return Bd},Bd.union=function(t,e){if(t.isEmpty()||e.isEmpty()){if(t.isEmpty()&&e.isEmpty())return Md.createEmptyResult(Md.UNION,t,e,t.getFactory());if(t.isEmpty())return e.copy();if(e.isEmpty())return t.copy()}return t.checkNotGeometryCollection(t),t.checkNotGeometryCollection(e),od.overlayOp(t,e,Md.UNION)};var jd=function(){return new $i};$i.prototype={constructor:$i,reset:function(){this.s=this.t=0},add:function(t){qi(Nd,t,this.t),qi(this,Nd.s,this.s),this.s?this.t+=Nd.t:this.s=Nd.t},valueOf:function(){return this.s}};var Nd=new $i,Rd=1e-6,Fd=Math.PI,Yd=Fd/2,Ud=Fd/4,Hd=2*Fd,zd=180/Fd,Vd=Fd/180,$d=Math.abs,qd=Math.atan,Gd=Math.atan2,Wd=Math.cos,Kd=Math.exp,Xd=Math.log,Jd=Math.sin,Zd=Math.sqrt,Qd=Math.tan,tp={Feature:function(t,e){Ki(t.geometry,e)},FeatureCollection:function(t,e){for(var r=t.features,n=-1,i=r.length;++n<i;)Ki(r[n].geometry,e)}},ep={Sphere:function(t,e){e.sphere()},Point:function(t,e){t=t.coordinates,e.point(t[0],t[1],t[2])},MultiPoint:function(t,e){for(var r=t.coordinates,n=-1,i=r.length;++n<i;)t=r[n],e.point(t[0],t[1],t[2])},LineString:function(t,e){Xi(t.coordinates,e,0)},MultiLineString:function(t,e){for(var r=t.coordinates,n=-1,i=r.length;++n<i;)Xi(r[n],e,0)},Polygon:function(t,e){Ji(t.coordinates,e)},MultiPolygon:function(t,e){for(var r=t.coordinates,n=-1,i=r.length;++n<i;)Ji(r[n],e)},GeometryCollection:function(t,e){for(var r=t.geometries,n=-1,i=r.length;++n<i;)Ki(r[n],e)}},rp=function(t,e){t&&tp.hasOwnProperty(t.type)?tp[t.type](t,e):Ki(t,e)},np=(jd(),jd(),jd(),function(t,e){function r(r,n){return r=t(r,n),e(r[0],r[1])}return t.invert&&e.invert&&(r.invert=function(r,n){return(r=e.invert(r,n))&&t.invert(r[0],r[1])}),r});oo.invert=oo;var ip=function(t){function e(e){return e=t(e[0]*Vd,e[1]*Vd),e[0]*=zd,e[1]*=zd,e}return t=ao(t[0]*Vd,t[1]*Vd,t.length>2?t[2]*Vd:0),e.invert=function(e){return e=t.invert(e[0]*Vd,e[1]*Vd),e[0]*=zd,e[1]*=zd,e},e},op=function(){var t,e=[];return{point:function(e,r){t.push([e,r])},lineStart:function(){e.push(t=[])},lineEnd:Wi,rejoin:function(){e.length>1&&e.push(e.pop().concat(e.shift()))},result:function(){var r=e;return e=[],t=null,r}}},ap=function(t,e,r,n,i,o){var a,s=t[0],u=t[1],c=0,l=1,h=e[0]-s,f=e[1]-u;if(a=r-s,h||!(a>0)){if(a/=h,h<0){if(a<c)return;a<l&&(l=a)}else if(h>0){if(a>l)return;a>c&&(c=a)}if(a=i-s,h||!(a<0)){if(a/=h,h<0){if(a>l)return;a>c&&(c=a)}else if(h>0){if(a<c)return;a<l&&(l=a)}if(a=n-u,f||!(a>0)){if(a/=f,f<0){if(a<c)return;a<l&&(l=a)}else if(f>0){if(a>l)return;a>c&&(c=a)}if(a=o-u,f||!(a<0)){if(a/=f,f<0){if(a>l)return;a>c&&(c=a)}else if(f>0){if(a<c)return;a<l&&(l=a)}return c>0&&(t[0]=s+c*h,t[1]=u+c*f),l<1&&(e[0]=s+l*h,e[1]=u+l*f),!0}}}}},sp=function(t,e){return $d(t[0]-e[0])<Rd&&$d(t[1]-e[1])<Rd},up=function(t,e,r,n,i){var o,a,s=[],u=[];if(t.forEach((function(t){if(!((e=t.length-1)<=0)){var e,r,n=t[0],a=t[e];if(sp(n,a)){for(i.lineStart(),o=0;o<e;++o)i.point((n=t[o])[0],n[1]);i.lineEnd()}else s.push(r=new ho(n,t,null,!0)),u.push(r.o=new ho(n,null,r,!1)),s.push(r=new ho(a,t,null,!1)),u.push(r.o=new ho(a,null,r,!0))}})),s.length){for(u.sort(e),fo(s),fo(u),o=0,a=u.length;o<a;++o)u[o].e=r=!r;for(var c,l,h=s[0];;){for(var f=h,d=!0;f.v;)if((f=f.n)===h)return;c=f.z,i.lineStart();do{if(f.v=f.o.v=!0,f.e){if(d)for(o=0,a=c.length;o<a;++o)i.point((l=c[o])[0],l[1]);else n(f.x,f.n.x,1,i);f=f.n}else{if(d)for(c=f.p.z,o=c.length-1;o>=0;--o)i.point((l=c[o])[0],l[1]);else n(f.x,f.p.x,-1,i);f=f.p}c=(f=f.o).z,d=!d}while(!f.v);i.lineEnd()}}},cp=function(t,e){return t<e?-1:t>e?1:t>=e?0:NaN},lp=(function(t){1===t.length&&(t=function(t){return function(e,r){return cp(t(e),r)}}(t))}(cp),function(t){for(var e,r,n,i=t.length,o=-1,a=0;++o<i;)a+=t[o].length;for(r=new Array(a);--i>=0;)for(e=(n=t[i]).length;--e>=0;)r[--a]=n[e];return r}),hp=1e9,fp=-hp,dp=jd(),pp=(jd(),function(t){return t}),mp=(jd(),jd(),1/0),gp=mp,yp=-mp,vp=yp,bp={point:function(t,e){t<mp&&(mp=t),t>yp&&(yp=t),e<gp&&(gp=e),e>vp&&(vp=e)},lineStart:Wi,lineEnd:Wi,polygonStart:Wi,polygonEnd:Wi,result:function(){var t=[[mp,gp],[yp,vp]];return yp=vp=-(gp=mp=1/0),t}},_p=(jd(),function(t,e,r,n){return function(i,o){function a(e,r){var n=i(e,r);t(e=n[0],r=n[1])&&o.point(e,r)}function s(t,e){var r=i(t,e);g.point(r[0],r[1])}function u(){w.point=s,g.lineStart()}function c(){w.point=a,g.lineEnd()}function l(t,e){m.push([t,e]);var r=i(t,e);b.point(r[0],r[1])}function h(){b.lineStart(),m=[]}function f(){l(m[0][0],m[0][1]),b.lineEnd();var t,e,r,n,i=b.clean(),a=v.result(),s=a.length;if(m.pop(),d.push(m),m=null,s)if(1&i){if(r=a[0],(e=r.length-1)>0){for(_||(o.polygonStart(),_=!0),o.lineStart(),t=0;t<e;++t)o.point((n=r[t])[0],n[1]);o.lineEnd()}}else s>1&&2&i&&a.push(a.pop().concat(a.shift())),p.push(a.filter(mo))}var d,p,m,g=e(o),y=i.invert(n[0],n[1]),v=op(),b=e(v),_=!1,w={point:a,lineStart:u,lineEnd:c,polygonStart:function(){w.point=l,w.lineStart=h,w.lineEnd=f,p=[],d=[]},polygonEnd:function(){w.point=a,w.lineStart=u,w.lineEnd=c,p=lp(p);var t=function(t,e){var r=e[0],n=e[1],i=[Jd(r),-Wd(r),0],o=0,a=0;dp.reset();for(var s=0,u=t.length;s<u;++s)if(l=(c=t[s]).length)for(var c,l,h=c[l-1],f=h[0],d=h[1]/2+Ud,p=Jd(d),m=Wd(d),g=0;g<l;++g,f=v,p=_,m=w,h=y){var y=c[g],v=y[0],b=y[1]/2+Ud,_=Jd(b),w=Wd(b),x=v-f,k=x>=0?1:-1,S=k*x,E=S>Fd,M=p*_;if(dp.add(Gd(M*k*Jd(S),m*w+M*Wd(S))),o+=E?x+k*Hd:x,E^f>=r^v>=r){var A=eo(Qi(h),Qi(y));io(A);var T=eo(i,A);io(T);var C=(E^x>=0?-1:1)*Gi(T[2]);(n>C||n===C&&(A[0]||A[1]))&&(a+=E^x>=0?1:-1)}}return(o<-Rd||o<Rd&&dp<-Rd)^1&a}(d,y);p.length?(_||(o.polygonStart(),_=!0),up(p,go,t,r,o)):t&&(_||(o.polygonStart(),_=!0),o.lineStart(),r(null,null,1,o),o.lineEnd()),_&&(o.polygonEnd(),_=!1),p=d=null},sphere:function(){o.polygonStart(),o.lineStart(),r(null,null,1,o),o.lineEnd(),o.polygonEnd()}};return w}}),wp=_p((function(){return!0}),(function(t){var e,r=NaN,n=NaN,i=NaN;return{lineStart:function(){t.lineStart(),e=1},point:function(o,a){var s=o>0?Fd:-Fd,u=$d(o-r);$d(u-Fd)<Rd?(t.point(r,n=(n+a)/2>0?Yd:-Yd),t.point(i,n),t.lineEnd(),t.lineStart(),t.point(s,n),t.point(o,n),e=0):i!==s&&u>=Fd&&($d(r-i)<Rd&&(r-=i*Rd),$d(o-s)<Rd&&(o-=s*Rd),n=function(t,e,r,n){var i,o,a=Jd(t-r);return $d(a)>Rd?qd((Jd(e)*(o=Wd(n))*Jd(r)-Jd(n)*(i=Wd(e))*Jd(t))/(i*o*a)):(e+n)/2}(r,n,o,a),t.point(i,n),t.lineEnd(),t.lineStart(),t.point(s,n),e=0),t.point(r=o,n=a),i=s},lineEnd:function(){t.lineEnd(),r=n=NaN},clean:function(){return 2-e}}}),(function(t,e,r,n){var i;if(null==t)i=r*Yd,n.point(-Fd,i),n.point(0,i),n.point(Fd,i),n.point(Fd,0),n.point(Fd,-i),n.point(0,-i),n.point(-Fd,-i),n.point(-Fd,0),n.point(-Fd,i);else if($d(t[0]-e[0])>Rd){var o=t[0]<e[0]?Fd:-Fd;i=r*o/2,n.point(-o,i),n.point(0,i),n.point(o,i)}else n.point(e[0],e[1])}),[-Fd,-Yd]),xp=function(t,e){function r(t,e){return Wd(t)*Wd(e)>o}function n(t,e,r){var n=[1,0,0],i=eo(Qi(t),Qi(e)),a=to(i,i),s=i[0],u=a-s*s;if(!u)return!r&&t;var c=o*a/u,l=-o*s/u,h=eo(n,i),f=no(n,c);ro(f,no(i,l));var d=h,p=to(f,d),m=to(d,d),g=p*p-m*(to(f,f)-1);if(!(g<0)){var y=Zd(g),v=no(d,(-p-y)/m);if(ro(v,f),v=Zi(v),!r)return v;var b,_=t[0],w=e[0],x=t[1],k=e[1];w<_&&(b=_,_=w,w=b);var S=w-_,E=$d(S-Fd)<Rd;if(!E&&k<x&&(b=x,x=k,k=b),E||S<Rd?E?x+k>0^v[1]<($d(v[0]-_)<Rd?x:k):x<=v[1]&&v[1]<=k:S>Fd^(_<=v[0]&&v[0]<=w)){var M=no(d,(-p+y)/m);return ro(M,f),[v,Zi(M)]}}}function i(e,r){var n=a?t:Fd-t,i=0;return e<-n?i|=1:e>n&&(i|=2),r<-n?i|=4:r>n&&(i|=8),i}var o=Wd(t),a=o>0,s=$d(o)>Rd;return _p(r,(function(t){var e,o,u,c,l;return{lineStart:function(){c=u=!1,l=1},point:function(h,f){var d,p=[h,f],m=r(h,f),g=a?m?0:i(h,f):m?i(h+(h<0?Fd:-Fd),f):0;if(!e&&(c=u=m)&&t.lineStart(),m!==u&&(!(d=n(e,p))||sp(e,d)||sp(p,d))&&(p[0]+=Rd,p[1]+=Rd,m=r(p[0],p[1])),m!==u)l=0,m?(t.lineStart(),d=n(p,e),t.point(d[0],d[1])):(d=n(e,p),t.point(d[0],d[1]),t.lineEnd()),e=d;else if(s&&e&&a^m){var y;g&o||!(y=n(p,e,!0))||(l=0,a?(t.lineStart(),t.point(y[0][0],y[0][1]),t.point(y[1][0],y[1][1]),t.lineEnd()):(t.point(y[1][0],y[1][1]),t.lineEnd(),t.lineStart(),t.point(y[0][0],y[0][1])))}!m||e&&sp(e,p)||t.point(p[0],p[1]),e=p,u=m,o=g},lineEnd:function(){u&&t.lineEnd(),e=null},clean:function(){return l|(c&&u)<<1}}}),(function(r,n,i,o){!function(t,e,r,n,i,o){if(r){var a=Wd(e),s=Jd(e),u=n*r;null==i?(i=e+n*Hd,o=e-u/2):(i=lo(a,i),o=lo(a,o),(n>0?i<o:i>o)&&(i+=n*Hd));for(var c,l=i;n>0?l>o:l<o;l-=u)c=Zi([a,-s*Wd(l),-s*Jd(l)]),t.point(c[0],c[1])}}(o,t,e,i,r,n)}),a?[0,-t]:[-Fd,t-Fd])};vo.prototype={constructor:vo,point:function(t,e){this.stream.point(t,e)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var kp=16,Sp=Wd(30*Vd),Ep=function(t,e){return+e?function(t,e){function r(n,i,o,a,s,u,c,l,h,f,d,p,m,g){var y=c-n,v=l-i,b=y*y+v*v;if(b>4*e&&m--){var _=a+f,w=s+d,x=u+p,k=Zd(_*_+w*w+x*x),S=Gi(x/=k),E=$d($d(x)-1)<Rd||$d(o-h)<Rd?(o+h)/2:Gd(w,_),M=t(E,S),A=M[0],T=M[1],C=A-n,L=T-i,P=v*C-y*L;(P*P/b>e||$d((y*C+v*L)/b-.5)>.3||a*f+s*d+u*p<Sp)&&(r(n,i,o,a,s,u,A,T,E,_/=k,w/=k,x,m,g),g.point(A,T),r(A,T,E,_,w,x,c,l,h,f,d,p,m,g))}}return function(e){function n(r,n){r=t(r,n),e.point(r[0],r[1])}function i(){y=NaN,x.point=o,e.lineStart()}function o(n,i){var o=Qi([n,i]),a=t(n,i);r(y,v,g,b,_,w,y=a[0],v=a[1],g=n,b=o[0],_=o[1],w=o[2],kp,e),e.point(y,v)}function a(){x.point=n,e.lineEnd()}function s(){i(),x.point=u,x.lineEnd=c}function u(t,e){o(l=t,e),h=y,f=v,d=b,p=_,m=w,x.point=o}function c(){r(y,v,g,b,_,w,h,f,l,d,p,m,kp,e),x.lineEnd=a,a()}var l,h,f,d,p,m,g,y,v,b,_,w,x={point:n,lineStart:i,lineEnd:a,polygonStart:function(){e.polygonStart(),x.lineStart=s},polygonEnd:function(){e.polygonEnd(),x.lineStart=i}};return x}}(t,e):function(t){return yo({point:function(e,r){e=t(e,r),this.stream.point(e[0],e[1])}})}(t)},Mp=yo({point:function(t,e){this.stream.point(t*Vd,e*Vd)}});wo.invert=function(t,e){return[t,2*qd(Kd(e))-Yd]},xo.invert=function(t,e){return[-e,2*qd(Kd(t))-Yd]};var Ap=function(){var t=function(t){function e(){var e=Fd*s(),a=o(ip(o.rotate()).invert([0,0]));return c(null==l?[[a[0]-e,a[1]-e],[a[0]+e,a[1]+e]]:t===wo?[[Math.max(a[0]-e,l),r],[Math.min(a[0]+e,n),i]]:[[l,Math.max(a[1]-e,r)],[n,Math.min(a[1]+e,i)]])}var r,n,i,o=_o(t),a=o.center,s=o.scale,u=o.translate,c=o.clipExtent,l=null;return o.scale=function(t){return arguments.length?(s(t),e()):s()},o.translate=function(t){return arguments.length?(u(t),e()):u()},o.center=function(t){return arguments.length?(a(t),e()):a()},o.clipExtent=function(t){return arguments.length?(null==t?l=r=n=i=null:(l=+t[0][0],r=+t[0][1],n=+t[1][0],i=+t[1][1]),e()):null==l?null:[[l,r],[n,i]]},e()}(xo),e=t.center,r=t.rotate;return t.center=function(t){return arguments.length?e([-t[1],t[0]]):(t=e(),[t[1],-t[0]])},t.rotate=function(t){return arguments.length?r([t[0],t[1],t.length>2?t[2]+90:90]):(t=r(),[t[0],t[1],t[2]-90])},r([0,0,90]).scale(159.155)};t.projection=Ma,t.random=pu,t.clusters=mu,t.helpers=Yo,t.invariant=Ho,t.meta=Uo,t.isolines=function(t,e,r){if(r=r||{},!S(r))throw new Error("options is invalid");var n=r.zProperty||"elevation",i=r.commonProperties||{},o=r.breaksProperties||[];if(W(t,"Point","Input must contain Points"),!e)throw new Error("breaks is required");if(!Array.isArray(e))throw new Error("breaks must be an Array");if(!S(i))throw new Error("commonProperties must be an Object");if(!Array.isArray(o))throw new Error("breaksProperties must be an Array");var a=nt(t,{zProperty:n,flip:!0});return c(function(t,e,r){var n=H(r),i=n[2]-n[0],o=n[3]-n[1],a=n[0],s=n[1],u=e[0].length-1,c=e.length-1,l=i/u,h=o/c,f=function(t){t[0]=t[0]*l+a,t[1]=t[1]*h+s};return t.forEach((function(t){A(t,f)})),t}(function(t,e,r,n,i){for(var o=[],a=1;a<e.length;a++){var s=+e[a],u=Object.assign({},n,i[a]);u[r]=s;var c=l(Z(t,s),u);o.push(c)}return o}(a,e,n,i,o),a,t))},t.convex=Ct,t.pointsWithinPolygon=Ot,t.concave=function(t,r){if(r=r||{},!S(r))throw new Error("options is invalid");if(!t)throw new Error("points is required");var n=r.maxEdge||1/0;if(!k(n))throw new Error("maxEdge is invalid");var i=It(function(t){var e=[],r={};return P(t,(function(t){if(t.geometry){var n=t.geometry.coordinates.join("-");r.hasOwnProperty(n)||(e.push(t),r[n]=!0)}})),c(e)}(t));if(i.features=i.features.filter((function(t){var e=t.geometry.coordinates[0][0],i=t.geometry.coordinates[0][1],o=t.geometry.coordinates[0][2],a=Nt(e,i,r),s=Nt(i,o,r),u=Nt(e,o,r);return a<=n&&s<=n&&u<=n})),i.features.length<1)return null;var o=Qt(i,r);return 1===o.coordinates.length&&(o.coordinates=o.coordinates[0],o.type="Polygon"),e(o)},t.collect=function(t,e,r,n){var i=qo(6),o=e.features.map((function(t){return{minX:t.geometry.coordinates[0],minY:t.geometry.coordinates[1],maxX:t.geometry.coordinates[0],maxY:t.geometry.coordinates[1],property:t.properties[r]}}));return i.load(o),t.features.forEach((function(t){t.properties||(t.properties={});var e=H(t),r=[];i.search({minX:e[0],minY:e[1],maxX:e[2],maxY:e[3]}).forEach((function(e){Lt([e.minX,e.minY],t)&&r.push(e.property)})),t.properties[n]=r})),t},t.flip=function(t,e){if(e=e||{},!S(e))throw new Error("options is invalid");var r=e.mutate;if(!t)throw new Error("geojson is required");return!1!==r&&void 0!==r||(t=Rt(t)),A(t,(function(t){var e=t[0],r=t[1];t[0]=r,t[1]=e})),t},t.simplify=function(t,e){if(e=e||{},!S(e))throw new Error("options is invalid");var r=void 0!==e.tolerance?e.tolerance:1,n=e.highQuality||!1,i=e.mutate||!1;if(!t)throw new Error("geojson is required");if(r&&r<0)throw new Error("invalid tolerance");return!0!==i&&(t=Rt(t)),D(t,(function(t){!function(t,e,r){var n=t.type;if("Point"===n||"MultiPoint"===n)return t;te(t,!0);var i=t.coordinates;switch(n){case"LineString":t.coordinates=ae(i,e,r);break;case"MultiLineString":t.coordinates=i.map((function(t){return ae(t,e,r)}));break;case"Polygon":t.coordinates=se(i,e,r);break;case"MultiPolygon":t.coordinates=i.map((function(t){return se(t,e,r)}))}}(t,r,n)})),t},t.bezierSpline=ue,t.tag=function(t,e,r,n){return t=Rt(t),e=Rt(e),P(t,(function(t){t.properties||(t.properties={}),P(e,(function(e){void 0===t.properties[n]&&Lt(t,e)&&(t.properties[n]=e.properties[r])}))})),t},t.sample=function(t,e){if(!t)throw new Error("featurecollection is required");if(null===e||void 0===e)throw new Error("num is required");if("number"!=typeof e)throw new Error("num must be a number");return c(function(t,e){for(var r,n,i=t.slice(0),o=t.length,a=o-e;o-- >a;)n=Math.floor((o+1)*Math.random()),r=i[n],i[n]=i[o],i[o]=r;return i.slice(a)}(t.features,e))},t.envelope=le,t.square=he,t.circle=de,t.midpoint=function(t,e){return fe(t,Nt(t,e)/2,pe(t,e))},t.center=me,t.centerOfMass=ye,t.centroid=ge,t.combine=function(t){function r(t,e,r){r?n[e].coordinates=n[e].coordinates.concat(t.geometry.coordinates):n[e].coordinates.push(t.geometry.coordinates),n[e].properties.push(t.properties)}var n={MultiPoint:{coordinates:[],properties:[]},MultiLineString:{coordinates:[],properties:[]},MultiPolygon:{coordinates:[],properties:[]}},i=Object.keys(n).reduce((function(t,e){return t[e.replace("Multi","")]=e,t}),{});return P(t,(function(t){t.geometry&&(n[t.geometry.type]?r(t,t.geometry.type,!0):i[t.geometry.type]&&r(t,i[t.geometry.type],!1))})),c(Object.keys(n).filter((function(t){return n[t].coordinates.length})).sort().map((function(t){return e({type:t,coordinates:n[t].coordinates},{collectedProperties:n[t].properties})})))},t.distance=Nt,t.explode=ve,t.bbox=H,t.tesselate=function(t){if(!t.geometry||"Polygon"!==t.geometry.type&&"MultiPolygon"!==t.geometry.type)throw new Error("input must be a Polygon or MultiPolygon");var e={type:"FeatureCollection",features:[]};return"Polygon"===t.geometry.type?e.features=Be(t.geometry.coordinates):t.geometry.coordinates.forEach((function(t){e.features=e.features.concat(Be(t))})),e},t.bboxPolygon=ce,t.booleanPointInPolygon=Lt,t.nearestPoint=je,t.nearestPointOnLine=ir,t.nearestPointToLine=function(t,e,r){if(r=r||{},!S(r))throw new Error("options is invalid");var n=r.units,i=r.properties||{};if(!t)throw new Error("points is required");if(!(t=function(t){var e=[];switch(t.geometry?t.geometry.type:t.type){case"GeometryCollection":return D(t,(function(t){"Point"===t.type&&e.push({type:"Feature",properties:{},geometry:t})})),{type:"FeatureCollection",features:e};case"FeatureCollection":return t.features=t.features.filter((function(t){return"Point"===t.geometry.type})),t;default:throw new Error("points must be a Point Collection")}}(t)).features.length)throw new Error("points must contain features");if(!e)throw new Error("line is required");if("LineString"!==J(e))throw new Error("line must be a LineString");var o=1/0,a=null;return P(t,(function(t){var r=dr(t,e,{units:n});r<o&&(o=r,a=t)})),a&&(a.properties=Object.assign({dist:o},a.properties,i)),a},t.planepoint=function(t,e){var r=z(t),n=K(e).coordinates[0];if(n.length<4)throw new Error("OuterRing of a Polygon must have 4 or more Positions.");var i=e.properties||{},o=i.a,a=i.b,s=i.c,u=r[0],c=r[1],l=n[0][0],h=n[0][1],f=void 0!==o?o:n[0][2],d=n[1][0],p=n[1][1],m=void 0!==a?a:n[1][2],g=n[2][0],y=n[2][1],v=void 0!==s?s:n[2][2];return(v*(u-l)*(c-p)+f*(u-d)*(c-y)+m*(u-g)*(c-h)-m*(u-l)*(c-y)-v*(u-d)*(c-h)-f*(u-g)*(c-p))/((u-l)*(c-p)+(u-d)*(c-y)+(u-g)*(c-h)-(u-l)*(c-y)-(u-d)*(c-h)-(u-g)*(c-p))},t.tin=It,t.bearing=pe,t.destination=fe,t.kinks=function(t){var e,r,i={type:"FeatureCollection",features:[]};if("LineString"===(r="Feature"===t.type?t.geometry:t).type)e=[r.coordinates];else if("MultiLineString"===r.type)e=r.coordinates;else if("MultiPolygon"===r.type)e=[].concat.apply([],r.coordinates);else{if("Polygon"!==r.type)throw new Error("Input must be a LineString, MultiLineString, Polygon, or MultiPolygon Feature or Geometry");e=r.coordinates}return e.forEach((function(t){e.forEach((function(e){for(var r=0;r<t.length-1;r++)for(var o=r;o<e.length-1;o++){if(t===e){if(1===Math.abs(r-o))continue;if(0===r&&o===t.length-2&&t[r][0]===t[t.length-1][0]&&t[r][1]===t[t.length-1][1])continue}var a=function(t,e,r,n,i,o,a,s){var u,c,l,h,f,d={x:null,y:null,onLine1:!1,onLine2:!1};return 0==(u=(s-o)*(r-t)-(a-i)*(n-e))?null!==d.x&&null!==d.y&&d:(c=e-o,l=t-i,h=(a-i)*c-(s-o)*l,f=(r-t)*c-(n-e)*l,c=h/u,l=f/u,d.x=t+c*(r-t),d.y=e+c*(n-e),c>=0&&c<=1&&(d.onLine1=!0),l>=0&&l<=1&&(d.onLine2=!0),!(!d.onLine1||!d.onLine2)&&[d.x,d.y])}(t[r][0],t[r][1],t[r+1][0],t[r+1][1],e[o][0],e[o][1],e[o+1][0],e[o+1][1]);a&&i.features.push(n([a[0],a[1]]))}}))})),i},t.pointOnFeature=mr,t.area=yr,t.along=function(t,e,r){if(r=r||{},!S(r))throw new Error("options is invalid");var i;if("Feature"===t.type)i=t.geometry.coordinates;else{if("LineString"!==t.type)throw new Error("input must be a LineString Feature or Geometry");i=t.coordinates}if(!k(e))throw new Error("distance must be a number");for(var o=0,a=0;a<i.length&&!(e>=o&&a===i.length-1);a++){if(o>=e){var s=e-o;if(s){var u=pe(i[a],i[a-1])-180;return fe(i[a],s,u,r)}return n(i[a])}o+=Nt(i[a],i[a+1],r)}return n(i[i.length-1])},t.length=xr,t.lineSlice=function(t,e,r){var n=V(r);if("LineString"!==J(r))throw new Error("line must be a LineString");for(var i,o=ir(r,t),a=ir(r,e),u=[(i=o.properties.index<=a.properties.index?[o,a]:[a,o])[0].geometry.coordinates],c=i[0].properties.index+1;c<i[1].properties.index+1;c++)u.push(n[c]);return u.push(i[1].geometry.coordinates),s(u,r.properties)},t.lineSliceAlong=kr,t.pointGrid=Tr,t.truncate=Cr,t.flatten=function(t){if(!t)throw new Error("geojson is required");var e=[];return j(t,(function(t){e.push(t)})),c(e)},t.lineIntersect=rr,t.lineChunk=function(t,e,r){if(r=r||{},!S(r))throw new Error("options is invalid");var n=r.units,i=r.reverse;if(!t)throw new Error("geojson is required");if(e<=0)throw new Error("segmentLength must be greater than 0");var o=[];return j(t,(function(t){i&&(t.geometry.coordinates=t.geometry.coordinates.reverse()),function(t,e,r,n){var i=xr(t,{units:r});if(i<=e)return n(t);var o=i/e;Number.isInteger(o)||(o=Math.floor(o)+1);for(var a=0;a<o;a++){var s=kr(t,e*a,e*(a+1),{units:r});n(s,a)}}(t,e,n,(function(t){o.push(t)}))})),c(o)},t.unkinkPolygon=function(t){var e=[];return j(t,(function(t){"Polygon"===t.geometry.type&&P(Ca(t),(function(r){e.push(o(r.geometry.coordinates,t.properties))}))})),c(e)},t.greatCircle=function(t,e,r){if("object"!=typeof(r=r||{}))throw new Error("options is invalid");var n=r.properties,i=r.npoints,o=r.offset;return t=z(t),e=z(e),n=n||{},i=i||100,o=o||10,new Na({x:t[0],y:t[1]},{x:e[0],y:e[1]},n).Arc(i,{offset:o}).json()},t.lineSegment=er,t.lineSplit=function(t,e){if(!t)throw new Error("line is required");if(!e)throw new Error("splitter is required");var r=J(t),n=J(e);if("LineString"!==r)throw new Error("line must be LineString");if("FeatureCollection"===n)throw new Error("splitter cannot be a FeatureCollection");if("GeometryCollection"===n)throw new Error("splitter cannot be a GeometryCollection");var i=Cr(e,{precision:7});switch(n){case"Point":return Dr(t,i);case"MultiPoint":return Ir(t,i);case"LineString":case"MultiLineString":case"Polygon":case"MultiPolygon":return Ir(t,rr(t,i))}},t.lineArc=Nr,t.polygonToLine=Fr,t.lineToPolygon=Ur,t.bboxClip=function(t,e){var r=function(t){return t.geometry?t.geometry.type:t.type}(t),n=V(t),i=t.properties;switch(r){case"LineString":case"MultiLineString":var a=[];return"LineString"===r&&(n=[n]),n.forEach((function(t){Ra(t,e,a)})),1===a.length?s(a[0],i):l(a,i);case"Polygon":return o(Gr(n,e),i);case"MultiPolygon":return f(n.map((function(t){return Gr(t,e)})),i);default:throw new Error("geometry "+r+" not supported")}},t.lineOverlap=Zr,t.sector=function(t,e,r,n,i){if(i=i||{},!S(i))throw new Error("options is invalid");if(!t)throw new Error("center is required");if(void 0===r||null===r)throw new Error("bearing1 is required");if(void 0===n||null===n)throw new Error("bearing2 is required");if(!e)throw new Error("radius is required");if("object"!=typeof i)throw new Error("options must be an object");if(tn(r)===tn(n))return de(t,e,i);var a=V(t),s=[[a]];return A(Nr(t,e,r,n,i),(function(t){s[0].push(t)})),s[0].push(a),o(s)},t.rhumbBearing=or,t.rhumbDistance=sr,t.rhumbDestination=en,t.polygonTangents=function(t,e){var r,i,o,a=V(t),s=V(e);switch(J(e)){case"Polygon":r=s[0][0],i=s[0][0],o=nn(s[0][0],s[0][s[0].length-1],a);var u=rn(s[0],a,o,void 0,r,i);r=u[0],i=u[1];break;case"MultiPolygon":r=s[0][0][0],i=s[0][0][0],o=nn(s[0][0][0],s[0][0][s[0][0].length-1],a),s.forEach((function(t){var e=rn(t[0],a,o,void 0,r,i);r=e[0],i=e[1]}))}return c([n(r),n(i)])},t.rewind=function(t,e){if(e=e||{},!S(e))throw new Error("options is invalid");var r=e.reverse||!1,n=e.mutate||!1;if(!t)throw new Error("<geojson> is required");if("boolean"!=typeof r)throw new Error("<reverse> must be a boolean");if("boolean"!=typeof n)throw new Error("<mutate> must be a boolean");!1===n&&(t=Rt(t));var i=[];switch(t.type){case"GeometryCollection":return D(t,(function(t){an(t,r)})),t;case"FeatureCollection":return P(t,(function(t){P(an(t,r),(function(t){i.push(t)}))})),c(i)}return an(t,r)},t.isobands=function(t,e,r){if(r=r||{},!S(r))throw new Error("options is invalid");var n=r.zProperty||"elevation",i=r.commonProperties||{},a=r.breaksProperties||[];if(W(t,"Point","Input must contain Points"),!e)throw new Error("breaks is required");if(!Array.isArray(e))throw new Error("breaks is not an Array");if(!S(i))throw new Error("commonProperties is not an Object");if(!Array.isArray(a))throw new Error("breaksProperties is not an Array");var s=cn(t,{zProperty:n,flip:!0}),u=function(t,e,r){for(var n=[],i=1;i<e.length;i++){var a=+e[i-1],s=+e[i],u=ln(t,a,s-a),c=function(t){var e=[],r=[];t.forEach((function(t){var n=yr(o([t]));r.push(n),e.push({ring:t,area:n})})),r.sort((function(t,e){return e-t}));var n=[];return r.forEach((function(t){for(var r=0;r<e.length;r++)if(e[r].area===t){n.push(e[r].ring),e.splice(r,1);break}})),n}(u),l=function(t){for(var e=t.map((function(t){return{lrCoordinates:t,grouped:!1}})),r=[];!function(t){for(var e=0;e<t.length;e++)if(!1===t[e].grouped)return!1;return!0}(e);)for(var n=0;n<e.length;n++)if(!e[n].grouped){var i=[];i.push(e[n].lrCoordinates),e[n].grouped=!0;for(var a=o([e[n].lrCoordinates]),s=n+1;s<e.length;s++)if(!e[s].grouped){var u=o([e[s].lrCoordinates]);(function(t,e){for(var r=ve(t),n=0;n<r.features.length;n++)if(!Lt(r.features[n],e))return!1;return!0})(u,a)&&(i.push(e[s].lrCoordinates),e[s].grouped=!0)}r.push(i)}return r}(c),h={};h.groupedRings=l,h[r]=a+"-"+s,n.push(h)}return n}(s,e,n);return c((u=function(t,e,r){var n=H(r),i=n[2]-n[0],o=n[3]-n[1],a=n[0],s=n[1],u=e[0].length-1,c=e.length-1,l=i/u,h=o/c,f=function(t){t[0]=t[0]*l+a,t[1]=t[1]*h+s};return t.forEach((function(t){t.groupedRings.forEach((function(t){t.forEach((function(t){t.forEach(f)}))}))})),t}(u,s,t)).map((function(t,e){if(a[e]&&!S(a[e]))throw new Error("Each mappedProperty is required to be an Object");var r=Object.assign({},i,a[e]);return r[n]=t[n],f(t.groupedRings,r)})))},t.transformRotate=dn,t.transformScale=pn,t.transformTranslate=function(t,e,r,n){if(n=n||{},!S(n))throw new Error("options is invalid");var i=n.units,o=n.zTranslation,a=n.mutate;if(!t)throw new Error("geojson is required");if(void 0===e||null===e||isNaN(e))throw new Error("distance is required");if(o&&"number"!=typeof o&&isNaN(o))throw new Error("zTranslation is not a number");if(o=void 0!==o?o:0,0===e&&0===o)return t;if(void 0===r||null===r||isNaN(r))throw new Error("direction is required");return e<0&&(e=-e,r=-r),!1!==a&&void 0!==a||(t=Rt(t)),A(t,(function(t){var n=V(en(t,e,r,{units:i}));t[0]=n[0],t[1]=n[1],o&&3===t.length&&(t[2]+=o)})),t},t.lineOffset=function(t,e,r){if(r=r||{},!S(r))throw new Error("options is invalid");var n=r.units;if(!t)throw new Error("geojson is required");if(void 0===e||null===e||isNaN(e))throw new Error("distance is required");var i=J(t),o=t.properties;switch(i){case"LineString":return bn(t,e,n);case"MultiLineString":var a=[];return j(t,(function(t){a.push(bn(t,e,n).geometry.coordinates)})),l(a,o);default:throw new Error("geometry "+i+" is not supported")}},t.polygonize=function(t){var e=Ns.fromGeoJson(t);e.deleteDangles(),e.deleteCutEdges();var r=[],n=[];return e.getEdgeRings().filter((function(t){return t.isValid()})).forEach((function(t){t.isHole()?r.push(t):n.push(t)})),r.forEach((function(t){Bs.findEdgeRingContaining(t,n)&&n.push(t)})),c(n.map((function(t){return t.toPolygon()})))},t.booleanDisjoint=function(t,e){var r;return j(t,(function(t){j(e,(function(e){if(!1===r)return!1;r=function(t,e){switch(t.type){case"Point":switch(e.type){case"Point":return!function(t,e){return t[0]===e[0]&&t[1]===e[1]}(t.coordinates,e.coordinates);case"LineString":return!xn(e,t);case"Polygon":return!Lt(t,e)}break;case"LineString":switch(e.type){case"Point":return!xn(t,e);case"LineString":return!function(t,e){return rr(t,e).features.length>0}(t,e);case"Polygon":return!kn(e,t)}break;case"Polygon":switch(e.type){case"Point":return!Lt(e,t);case"LineString":return!kn(t,e);case"Polygon":return!function(t,e){for(var r=0;r<t.coordinates[0].length;r++)if(Lt(t.coordinates[0][r],e))return!0;for(var n=0;n<e.coordinates[0].length;n++)if(Lt(e.coordinates[0][n],t))return!0;return!1}(e,t)}}}(t.geometry,e.geometry)}))})),r},t.booleanContains=function(t,e){var r=J(t),n=J(e),i=K(t),o=K(e),a=V(t),s=V(e);switch(r){case"Point":switch(n){case"Point":return En(a,s);default:throw new Error("feature2 "+n+" geometry not supported")}case"MultiPoint":switch(n){case"Point":return function(t,e){var r,n=!1;for(r=0;r<t.coordinates.length;r++)if(En(t.coordinates[r],e.coordinates)){n=!0;break}return n}(i,o);case"MultiPoint":return function(t,e){for(var r=0;r<e.coordinates.length;r++){for(var n=!1,i=0;i<t.coordinates.length;i++)if(En(e.coordinates[r],t.coordinates[i])){n=!0;break}if(!n)return!1}return!0}(i,o);default:throw new Error("feature2 "+n+" geometry not supported")}case"LineString":switch(n){case"Point":return Sr(o,i,{ignoreEndVertices:!0});case"LineString":return function(t,e){for(var r=!1,n=0;n<e.coordinates.length;n++)if(Sr({type:"Point",coordinates:e.coordinates[n]},t,{ignoreEndVertices:!0})&&(r=!0),!Sr({type:"Point",coordinates:e.coordinates[n]},t,{ignoreEndVertices:!1}))return!1;return r}(i,o);case"MultiPoint":return function(t,e){for(var r=!1,n=0;n<e.coordinates.length;n++)if(Sr(e.coordinates[n],t,{ignoreEndVertices:!0})&&(r=!0),!Sr(e.coordinates[n],t))return!1;return!!r}(i,o);default:throw new Error("feature2 "+n+" geometry not supported")}case"Polygon":switch(n){case"Point":return Lt(o,i,{ignoreBoundary:!0});case"LineString":return function(t,e){var r=!1,n=0,i=H(t),o=H(e);if(!Sn(i,o))return!1;for(;n<e.coordinates.length-1;n++){var a=function(t,e){return[(t[0]+e[0])/2,(t[1]+e[1])/2]}(e.coordinates[n],e.coordinates[n+1]);if(Lt({type:"Point",coordinates:a},t,{ignoreBoundary:!0})){r=!0;break}}return r}(i,o);case"Polygon":return function(t,e){var r=H(t),n=H(e);if(!Sn(r,n))return!1;for(var i=0;i<e.coordinates[0].length;i++)if(!Lt(e.coordinates[0][i],t))return!1;return!0}(i,o);case"MultiPoint":return function(t,e){for(var r=0;r<e.coordinates.length;r++)if(!Lt(e.coordinates[r],t,{ignoreBoundary:!0}))return!1;return!0}(i,o);default:throw new Error("feature2 "+n+" geometry not supported")}default:throw new Error("feature1 "+r+" geometry not supported")}},t.booleanCrosses=function(t,e){var r=J(t),n=J(e),i=K(t),o=K(e);switch(r){case"MultiPoint":switch(n){case"LineString":return Mn(i,o);case"Polygon":return Tn(i,o);default:throw new Error("feature2 "+n+" geometry not supported")}case"LineString":switch(n){case"MultiPoint":return Mn(o,i);case"LineString":return function(t,e){if(rr(t,e).features.length>0)for(var r=0;r<t.coordinates.length-1;r++)for(var n=0;n<e.coordinates.length-1;n++){var i=!0;if(0!==n&&n!==e.coordinates.length-2||(i=!1),Cn(t.coordinates[r],t.coordinates[r+1],e.coordinates[n],i))return!0}return!1}(i,o);case"Polygon":return An(i,o);default:throw new Error("feature2 "+n+" geometry not supported")}case"Polygon":switch(n){case"MultiPoint":return Tn(o,i);case"LineString":return An(o,i);default:throw new Error("feature2 "+n+" geometry not supported")}default:throw new Error("feature1 "+r+" geometry not supported")}},t.booleanClockwise=on,t.booleanOverlap=In,t.booleanPointOnLine=Sr,t.booleanEqual=function(t,e){if(!t)throw new Error("feature1 is required");if(!e)throw new Error("feature2 is required");return J(t)===J(e)&&new Hs({precision:6}).compare(te(t),te(e))},t.booleanWithin=Er,t.clone=Rt,t.cleanCoords=te,t.clustersDbscan=function(t,e,r){if("object"!=typeof(r=r||{}))throw new Error("options is invalid");var n=r.minPoints,i=r.units;if(W(t,"Point","Input must contain Points"),null===e||void 0===e)throw new Error("maxDistance is required");if(!(Math.sign(e)>0))throw new Error("Invalid maxDistance");if(!(void 0===n||null===n||Math.sign(n)>0))throw new Error("Invalid minPoints");t=Rt(t),n=n||3;var o=new Gs.DBSCAN,a=-1;return o.run(I(t),w(e,i),n,Nt).forEach((function(e){a++,e.forEach((function(e){var r=t.features[e];r.properties||(r.properties={}),r.properties.cluster=a,r.properties.dbscan="core"}))})),o.noise.forEach((function(e){var r=t.features[e];r.properties||(r.properties={}),r.properties.cluster?r.properties.dbscan="edge":r.properties.dbscan="noise"})),t},t.clustersKmeans=function(t,e){if("object"!=typeof(e=e||{}))throw new Error("options is invalid");var r=e.numberOfClusters,n=e.mutate;W(t,"Point","Input must contain Points");var i=t.features.length;(r=r||Math.round(Math.sqrt(i/2)))>i&&(r=i),!1!==n&&void 0!==n||(t=Rt(t));var o=I(t),a=o.slice(0,r),s=eu(o,r,a),u={};return s.centroids.forEach((function(t,e){u[e]=t})),P(t,(function(t,e){var r=s.idxs[e];t.properties.cluster=r,t.properties.centroid=u[r]})),t},t.pointToLineDistance=dr,t.booleanParallel=function(t,e){if(!t)throw new Error("line1 is required");if(!e)throw new Error("line2 is required");if("LineString"!==Bn(t,"line1"))throw new Error("line1 must be a LineString");if("LineString"!==Bn(e,"line2"))throw new Error("line2 must be a LineString");for(var r=er(te(t)).features,n=er(te(e)).features,i=0;i<r.length;i++){var o=r[i].geometry.coordinates;if(!n[i])break;if(!function(t,e){var r=v(or(t[0],t[1])),n=v(or(e[0],e[1]));return r===n}(o,n[i].geometry.coordinates))return!1}return!0},t.shortestPath=function(t,r,i){if(i=i||{},!S(i))throw new Error("options is invalid");var o=i.resolution,a=i.minDistance,u=i.obstacles||c([]);if(!t)throw new Error("start is required");if(!r)throw new Error("end is required");if(o&&!k(o)||o<=0)throw new Error("options.resolution must be a number, greater than 0");if(a)throw new Error("options.minDistance is not yet implemented");var l=z(t),h=z(r);switch(t=n(l),r=n(h),J(u)){case"FeatureCollection":if(0===u.features.length)return s([l,h]);break;case"Polygon":u=c([e(K(u))]);break;default:throw new Error("invalid obstacles")}var f=u;f.features.push(t),f.features.push(r);var d=H(pn(ce(H(f)),1.15));o||(o=Nt([d[0],d[1]],[d[2],d[1]],i)/100),f.features.pop(),f.features.pop();for(var p=d[0],m=d[1],g=d[2],y=d[3],v=o/Nt([p,m],[g,m],i)*(g-p),b=o/Nt([p,m],[p,y],i)*(y-m),_=g-p,w=y-m,x=(_-Math.floor(_/v)*v)/2,E=[],M=[],A=[],T=[],C=1/0,L=1/0,P=y-(w-Math.floor(w/b)*b)/2,O=0;P>=m;){for(var I=[],D=[],B=p+x,j=0;B<=g;){var N=n([B,P]),R=function(t,e){for(var r=0;r<e.features.length;r++)if(Lt(t,e.features[r]))return!0;return!1}(N,u);I.push(R?0:1),D.push(B+"|"+P);var F=Nt(N,t);!R&&F<C&&(C=F,A={x:j,y:O});var Y=Nt(N,r);!R&&Y<L&&(L=Y,T={x:j,y:O}),B+=v,j++}M.push(I),E.push(D),P-=b,O++}var U=new Nn(M,{diagonal:!0}),V=U.grid[A.y][A.x],$=U.grid[T.y][T.x],q=[l];return ru.search(U,V,$).forEach((function(t){var e=E[t.x][t.y].split("|");q.push([+e[0],+e[1]])})),q.push(h),te(s(q))},t.voronoi=function(t,e){if(e=e||{},!S(e))throw new Error("options is invalid");var r=e.bbox||[-180,-85,180,85];if(!t)throw new Error("points is required");if(!Array.isArray(r))throw new Error("bbox is invalid");return W(t,"Point","points"),c(du().x((function(t){return t.geometry.coordinates[0]})).y((function(t){return t.geometry.coordinates[1]})).extent([[r[0],r[1]],[r[2],r[3]]]).polygons(t.features).map(hi))},t.ellipse=fi,t.centerMean=pi,t.centerMedian=function(t,e){if(e=e||{},!S(e))throw new Error("options is invalid");var r=e.counter||10;if(!k(r))throw new Error("counter must be a number");var n=e.weight,i=pi(t,{weight:e.weight}),o=c([]);return P(t,(function(t){o.features.push(ge(t,{weight:t.properties[n]}))})),o.properties={tolerance:e.tolerance,medianCandidates:[]},mi(i.geometry.coordinates,[0,0],o,r)},t.standardDeviationalEllipse=function(t,e){if(e=e||{},!S(e))throw new Error("options is invalid");var r=e.steps||64,n=e.weight,i=e.properties||{};if(!k(r))throw new Error("steps must be a number");if(!S(i))throw new Error("properties must be a number");var o=I(t).length,a=pi(t,{weight:n}),s=0,u=0,l=0;P(t,(function(t){var e=t.properties[n]||1,r=gi(V(t),V(a));s+=Math.pow(r.x,2)*e,u+=Math.pow(r.y,2)*e,l+=r.x*r.y*e}));var h=s-u,f=Math.sqrt(Math.pow(h,2)+4*Math.pow(l,2)),d=2*l,p=Math.atan((h+f)/d),m=180*p/Math.PI,g=0,y=0,v=0;P(t,(function(t){var e=t.properties[n]||1,r=gi(V(t),V(a));g+=Math.pow(r.x*Math.cos(p)-r.y*Math.sin(p),2)*e,y+=Math.pow(r.x*Math.sin(p)+r.y*Math.cos(p),2)*e,v+=e}));var b=Math.sqrt(2*g/v),_=Math.sqrt(2*y/v),w=fi(a,b,_,{units:"degrees",angle:m,steps:r,properties:i}),x=Ot(t,c([w])),E={meanCenterCoordinates:V(a),semiMajorAxis:b,semiMinorAxis:_,numberOfFeatures:o,angle:m,percentageWithinEllipse:100*I(x).length/o};return w.properties.standardDeviationalEllipse=E,w},t.difference=function(t,r){var n=K(t),i=K(r),o=t.properties||{};if(n=Vi(n),i=Vi(i),!n)return null;if(!i)return e(n,o);var a=new kl,s=a.read(n),u=a.read(i),c=Md.difference(s,u);return c.isEmpty()?null:e((new Sl).write(c),o)},t.buffer=function(t,e,r){var n=(r=r||{}).units,i=r.steps||64;if(!t)throw new Error("geojson is required");if("object"!=typeof r)throw new Error("options must be an object");if("number"!=typeof i)throw new Error("steps must be an number");if(void 0===e)throw new Error("radius is required");if(i<=0)throw new Error("steps must be greater than 0");i=i||64,n=n||"kilometers";var o=[];switch(t.type){case"GeometryCollection":return D(t,(function(t){var r=ko(t,e,n,i);r&&o.push(r)})),c(o);case"FeatureCollection":return P(t,(function(t){var r=ko(t,e,n,i);r&&P(r,(function(t){t&&o.push(t)}))})),c(o)}return ko(t,e,n,i)},t.union=To,t.intersect=Co,t.dissolve=function(t,e){if(e=e||{},!S(e))throw new Error("options is invalid");var r=e.propertyName;W(t,"Polygon","dissolve");var n=Rt(t),i=n.features,o=[];i.forEach((function(t,e){t.properties.origIndexPosition=e}));var a=Ze();for(var u in a.load(n),i){var c=i[u],l=!1;if(a.search(c).features.forEach((function(t){c=i[u];var e=t.properties.origIndexPosition;if(o.length>0&&0!==e)if(e>o[o.length-1])e-=o.length;else{var n=Lo(e,o);0!==n&&(e-=n)}if(e!==+u){var h=i[e];h&&c&&(void 0!==r&&h.properties[r]!==c.properties[r]||In(c,h)&&function(t,e){var r=s(I(t)),n=s(I(e));return rr(r,n).features.length>0}(c,h)&&(i[u]=To(c,h),o.push(t.properties.origIndexPosition),o.sort((function(t,e){return t-e})),a.remove(t),i.splice(e,1),c.properties.origIndexPosition=u,a.remove(c,(function(t,e){return t.properties.origIndexPosition===e.properties.origIndexPosition})),l=!0))}})),l){if(!c)continue;c.properties.origIndexPosition=u,a.insert(c),u--}}return i.forEach((function(t){delete t.properties.origIndexPosition,delete t.bbox})),n},t.hexGrid=Po,t.mask=function(t,e){var r=function(t){return o(t&&t.geometry.coordinates||[[[180,90],[-180,90],[-180,-90],[180,-90],[180,90]]])}(e),n=function(t){var e=[],r=[];return j(t,(function(t){var n=t.geometry.coordinates,i=n[0],a=n.slice(1);e.push(o([i])),a.forEach((function(t){r.push(o([t]))}))})),[c(e),c(r)]}(t),i=n[0],a=n[1];return function(t,e,r){var n=[];return n.push(t.geometry.coordinates[0]),j(e,(function(t){n.push(t.geometry.coordinates[0])})),j(r,(function(t){n.push(t.geometry.coordinates[0])})),o(n)}(r,i=Oo(i),a=Oo(a))},t.squareGrid=Do,t.triangleGrid=Bo,t.interpolate=function(t,e,r){if("object"!=typeof(r=r||{}))throw new Error("options is invalid");var n=r.gridType,i=r.property,o=r.weight;if(!t)throw new Error("points is required");if(W(t,"Point","input must contain Points"),!e)throw new Error("cellSize is required");if(void 0!==o&&"number"!=typeof o)throw new Error("weight must be a number");i=i||"elevation",n=n||"square",o=o||1;var a,s=H(t);switch(n){case"point":case"points":a=Tr(s,e,r);break;case"square":case"squares":a=Do(s,e,r);break;case"hex":case"hexes":a=Po(s,e,r);break;case"triangle":case"triangles":a=Bo(s,e,r);break;default:throw new Error("invalid gridType")}var u=[];return P(a,(function(e){var a=0,s=0;P(t,(function(t){var u,c=Nt("point"===n?e:ge(e),t,r);if(void 0!==i&&(u=t.properties[i]),void 0===u&&(u=t.geometry.coordinates[2]),void 0===u)throw new Error("zValue is missing");0===c&&(a=u);var l=1/Math.pow(c,o);s+=l,a+=l*u}));var c=Rt(e);c.properties[i]=a/s,u.push(c)})),c(u)},t.pointOnSurface=mr,t.polygonToLineString=Fr,t.lineStringToPolygon=Ur,t.inside=Lt,t.within=Ot,t.bezier=ue,t.nearest=je,t.pointOnLine=ir,t.lineDistance=xr,t.radians2degrees=b,t.degrees2radians=_,t.distanceToDegrees=y,t.distanceToRadians=g,t.radiansToDistance=m,t.bearingToAngle=v,t.convertDistance=w,t.toMercator=ur,t.toWgs84=cr,t.randomPosition=yi,t.randomPoint=vi,t.randomPolygon=bi,t.randomLineString=_i,t.getCluster=xi,t.clusterEach=ki,t.clusterReduce=Si,t.createBins=Ei,t.applyFilter=Mi,t.propertiesContainsFilter=Ai,t.filterProperties=Ti,t.earthRadius=jo,t.factors=No,t.unitsFactors=Ro,t.areaFactors=Fo,t.feature=e,t.geometry=r,t.point=n,t.points=i,t.polygon=o,t.polygons=a,t.lineString=s,t.lineStrings=u,t.featureCollection=c,t.multiLineString=l,t.multiPoint=h,t.multiPolygon=f,t.geometryCollection=d,t.round=p,t.radiansToLength=m,t.lengthToRadians=g,t.lengthToDegrees=y,t.bearingToAzimuth=v,t.radiansToDegrees=b,t.degreesToRadians=_,t.convertLength=w,t.convertArea=x,t.isNumber=k,t.isObject=S,t.validateBBox=E,t.validateId=M,t.getCoord=z,t.getCoords=V,t.containsNumber=$,t.geojsonType=q,t.featureOf=G,t.collectionOf=W,t.getGeom=K,t.getGeomType=X,t.getType=J,t.coordEach=A,t.coordReduce=T,t.propEach=C,t.propReduce=L,t.featureEach=P,t.featureReduce=O,t.coordAll=I,t.geomEach=D,t.geomReduce=B,t.flattenEach=j,t.flattenReduce=N,t.segmentEach=R,t.segmentReduce=F,t.lineEach=Y,t.lineReduce=U,Object.defineProperty(t,"__esModule",{value:!0})}))},5963:function(t,e,r){"use strict";r("33e9");var n=r("9a18"),i=r("80d2");e["a"]=n["b"].extend({name:"v-range-slider",props:{value:{type:Array,default:()=>[0,0]}},data(){return{activeThumb:null,lazyValue:this.value}},computed:{classes(){return{...n["b"].options.computed.classes.call(this),"v-input--range-slider":!0}},internalValue:{get(){return this.lazyValue},set(t){let e=t.map((t=0)=>this.roundValue(Math.min(Math.max(t,this.minValue),this.maxValue)));if(e[0]>e[1]||e[1]<e[0]){if(null!==this.activeThumb){const t=1===this.activeThumb?0:1,e=this.$refs["thumb_"+t];e.focus()}e=[e[1],e[0]]}this.lazyValue=e,Object(i["m"])(e,this.value)||this.$emit("input",e),this.validate()}},inputWidth(){return this.internalValue.map(t=>(this.roundValue(t)-this.minValue)/(this.maxValue-this.minValue)*100)}},methods:{getTrackStyle(t,e,r=0,n=0){const i=this.vertical?this.$vuetify.rtl?"top":"bottom":this.$vuetify.rtl?"right":"left",o=this.vertical?"height":"width",a=`calc(${t}% + ${r}px)`,s=`calc(${e}% + ${n}px)`;return{transition:this.trackTransition,[i]:a,[o]:s}},getIndexOfClosestValue(t,e){return Math.abs(t[0]-e)<Math.abs(t[1]-e)?0:1},genInput(){return Object(i["j"])(2).map(t=>{const e=n["b"].options.methods.genInput.call(this);return e.data=e.data||{},e.data.attrs=e.data.attrs||{},e.data.attrs.value=this.internalValue[t],e.data.attrs.id=`input-${t?"max":"min"}-${this._uid}`,e})},genTrackContainer(){const t=[],e=this.isDisabled?10:0,r=[{class:"v-slider__track-background",color:this.computedTrackColor,styles:[0,this.inputWidth[0],0,-e]},{class:this.isDisabled?"v-slider__track-background":"v-slider__track-fill",color:this.isDisabled?this.computedTrackColor:this.computedTrackFillColor,styles:[this.inputWidth[0],Math.abs(this.inputWidth[1]-this.inputWidth[0]),e,-2*e]},{class:"v-slider__track-background",color:this.computedTrackColor,styles:[this.inputWidth[1],Math.abs(100-this.inputWidth[1]),e,-e]}];return this.$vuetify.rtl&&r.reverse(),t.push(...r.map(t=>this.$createElement("div",this.setBackgroundColor(t.color,{staticClass:t.class,style:this.getTrackStyle(...t.styles)})))),this.$createElement("div",{staticClass:"v-slider__track-container",ref:"track"},t)},genChildren(){return[this.genInput(),this.genTrackContainer(),this.genSteps(),Object(i["j"])(2).map(t=>{const e=this.internalValue[t],r=e=>{this.isFocused=!0,this.activeThumb=t,this.$emit("focus",e)},n=t=>{this.isFocused=!1,this.activeThumb=null,this.$emit("blur",t)},i=this.inputWidth[t],o=this.isActive&&this.activeThumb===t,a=this.isFocused&&this.activeThumb===t;return this.genThumbContainer(e,i,o,a,r,n,"thumb_"+t)})]},reevaluateSelected(t){this.activeThumb=this.getIndexOfClosestValue(this.internalValue,t);const e="thumb_"+this.activeThumb,r=this.$refs[e];r.focus()},onSliderMouseDown(t){var e;const r=this.parseMouseMove(t);if(this.reevaluateSelected(r),this.oldValue=this.internalValue,this.isActive=!0,null===(e=t.target)||void 0===e?void 0:e.matches(".v-slider__thumb-container, .v-slider__thumb-container *")){this.thumbPressed=!0;const e=t.target.getBoundingClientRect(),r="touches"in t?t.touches[0]:t;this.startOffset=this.vertical?r.clientY-(e.top+e.height/2):r.clientX-(e.left+e.width/2)}else this.startOffset=0,window.clearTimeout(this.mouseTimeout),this.mouseTimeout=window.setTimeout(()=>{this.thumbPressed=!0},300);const n=!i["E"]||{passive:!0,capture:!0},o=!!i["E"]&&{passive:!0},a="touches"in t;this.onMouseMove(t),this.app.addEventListener(a?"touchmove":"mousemove",this.onMouseMove,o),Object(i["a"])(this.app,a?"touchend":"mouseup",this.onSliderMouseUp,n),this.$emit("start",this.internalValue)},onSliderClick(t){if(!this.isActive){if(this.noClick)return void(this.noClick=!1);const e=this.parseMouseMove(t);this.reevaluateSelected(e),this.setInternalValue(e),this.$emit("change",this.internalValue)}},onMouseMove(t){const e=this.parseMouseMove(t);"mousemove"===t.type&&(this.thumbPressed=!0),null===this.activeThumb&&(this.activeThumb=this.getIndexOfClosestValue(this.internalValue,e)),this.setInternalValue(e)},onKeyDown(t){if(null===this.activeThumb)return;const e=this.parseKeyDown(t,this.internalValue[this.activeThumb]);null!=e&&(this.setInternalValue(e),this.$emit("change",this.internalValue))},setInternalValue(t){this.internalValue=this.internalValue.map((e,r)=>r===this.activeThumb?t:Number(e))}}})},"598a":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],r=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"],n=t.defineLocale("dv",{months:e,monthsShort:e,weekdays:r,weekdaysShort:r,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".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:/މކ|މފ/,isPM:function(t){return"މފ"===t},meridiem:function(t,e,r){return t<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",ss:"d% ސިކުންތު",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:7,doy:12}});return n}))},"5a92":function(t,e,r){"use strict";var n=r("e1bd");function i(t){this.origin=t.origin||"https://api.mapbox.com",this.endpoint="events/v2",this.access_token=t.accessToken,this.version="0.2.0",this.sessionID=this.generateSessionID(),this.userAgent=this.getUserAgent(),this.options=t,this.send=this.send.bind(this),this.countries=t.countries?t.countries.split(","):null,this.types=t.types?t.types.split(","):null,this.bbox=t.bbox?t.bbox:null,this.language=t.language?t.language.split(","):null,this.limit=t.limit?+t.limit:null,this.locale=navigator.language||null,this.enableEventLogging=this.shouldEnableLogging(t),this.eventQueue=new Array,this.flushInterval=t.flushInterval||1e3,this.maxQueueSize=t.maxQueueSize||100,this.timer=this.flushInterval?setTimeout(this.flush.bind(this),this.flushInterval):null,this.lastSentInput="",this.lastSentIndex=0}i.prototype={select:function(t,e){var r=this.getSelectedIndex(t,e),n=this.getEventPayload("search.select",e);if(n.resultIndex=r,n.resultPlaceName=t.place_name,n.resultId=t.id,(r!==this.lastSentIndex||n.queryString!==this.lastSentInput)&&-1!=r&&(this.lastSentIndex=r,this.lastSentInput=n.queryString,n.queryString))return this.push(n)},start:function(t){var e=this.getEventPayload("search.start",t);if(e.queryString)return this.push(e)},keyevent:function(t,e){if(t.key&&!t.metaKey&&-1===[9,27,37,39,13,38,40].indexOf(t.keyCode)){var r=this.getEventPayload("search.keystroke",e);if(r.lastAction=t.key,r.queryString)return this.push(r)}},send:function(t,e){if(!this.enableEventLogging)return e?e():void 0;var r=this.getRequestOptions(t);this.request(r,function(t){return t?this.handleError(t,e):e?e():void 0}.bind(this))},getRequestOptions:function(t){Array.isArray(t)||(t=[t]);var e={method:"POST",host:this.origin,path:this.endpoint+"?access_token="+this.access_token,headers:{"Content-Type":"application/json"},body:JSON.stringify(t)};return e},getEventPayload:function(t,e){var r;r=e.options.proximity?[e.options.proximity.longitude,e.options.proximity.latitude]:null;var n=e._map?e._map.getZoom():void 0,i={event:t,created:+new Date,sessionIdentifier:this.sessionID,country:this.countries,userAgent:this.userAgent,language:this.language,bbox:this.bbox,types:this.types,endpoint:"mapbox.places",autocomplete:e.options.autocomplete,fuzzyMatch:e.options.fuzzyMatch,proximity:r,limit:e.options.limit,routing:e.options.routing,worldview:e.options.worldview,mapZoom:n,keyboardLocale:this.locale};return"search.select"===t?i.queryString=e.inputString:"search.select"!=t&&e._inputEl?i.queryString=e._inputEl.value:i.queryString=e.inputString,i},request:function(t,e){var r=new XMLHttpRequest;for(var n in r.onreadystatechange=function(){if(4==this.readyState)return 204==this.status?e(null):e(this.statusText)},r.open(t.method,t.host+"/"+t.path,!0),t.headers){var i=t.headers[n];r.setRequestHeader(n,i)}r.send(t.body)},handleError:function(t,e){if(e)return e(t)},generateSessionID:function(){return n()},getUserAgent:function(){return"mapbox-gl-geocoder."+this.version+"."+navigator.userAgent},getSelectedIndex:function(t,e){if(e._typeahead){var r=e._typeahead.data,n=t.id,i=r.map((function(t){return t.id})),o=i.indexOf(n);return o}},shouldEnableLogging:function(t){return!1!==t.enableEventLogging&&((!t.origin||-1!=t.origin.indexOf("api.mapbox.com"))&&(!t.localGeocoder&&!t.filter))},flush:function(){this.eventQueue.length>0&&(this.send(this.eventQueue),this.eventQueue=new Array),this.timer&&clearTimeout(this.timer),this.flushInterval&&(this.timer=setTimeout(this.flush.bind(this),this.flushInterval))},push:function(t,e){this.eventQueue.push(t),(this.eventQueue.length>=this.maxQueueSize||e)&&this.flush()},remove:function(){this.flush()}},t.exports=i},"5aff":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'ünji",4:"'ünji",100:"'ünji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"},r=t.defineLocale("tk",{months:"Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr".split("_"),monthsShort:"Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek".split("_"),weekdays:"Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe".split("_"),weekdaysShort:"Ýek_Duş_Siş_Çar_Pen_Ann_Şen".split("_"),weekdaysMin:"Ýk_Dş_Sş_Çr_Pn_An_Şn".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:"[bugün sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[düýn] LT",lastWeek:"[geçen] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s soň",past:"%s öň",s:"birnäçe sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir gün",dd:"%d gün",M:"bir aý",MM:"%d aý",y:"bir ýyl",yy:"%d ýyl"},ordinal:function(t,r){switch(r){case"d":case"D":case"Do":case"DD":return t;default:if(0===t)return t+"'unjy";var n=t%10,i=t%100-n,o=t>=100?100:null;return t+(e[n]||e[i]||e[o])}},week:{dow:1,doy:7}});return r}))},"5b14":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function r(t,e,r,n){var i=t;switch(r){case"s":return n||e?"néhány másodperc":"néhány másodperce";case"ss":return i+(n||e)?" másodperc":" másodperce";case"m":return"egy"+(n||e?" perc":" perce");case"mm":return i+(n||e?" perc":" perce");case"h":return"egy"+(n||e?" óra":" órája");case"hh":return i+(n||e?" óra":" órája");case"d":return"egy"+(n||e?" nap":" napja");case"dd":return i+(n||e?" nap":" napja");case"M":return"egy"+(n||e?" hónap":" hónapja");case"MM":return i+(n||e?" hónap":" hónapja");case"y":return"egy"+(n||e?" év":" éve");case"yy":return i+(n||e?" év":" éve")}return""}function n(t){return(t?"":"[múlt] ")+"["+e[this.day()]+"] LT[-kor]"}var i=t.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_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(t){return"u"===t.charAt(1).toLowerCase()},meridiem:function(t,e,r){return t<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úlva",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}});return i}))},"5b33":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("548a"),i=r("e051"),o=r("6764"),a=r("0c7e"),s=r("bba8");function u(t){return{add:n.createAdd(t),clear:i.createClear(t),list:o.createList(t),reset:a.createReset(t),rm:s.createRm(t)}}e.createBootstrap=u},"5b53":function(t,e,r){"use strict";var n=r("17fc"),i=r("ceaf"),o=r("50de"),a=r("58df");e["a"]=Object(a["a"])(n["a"]).extend({name:"v-date-picker-month-table",computed:{formatter(){return this.format||Object(i["a"])(this.currentLocale,{month:"short",timeZone:"UTC"},{start:5,length:2})}},methods:{calculateTableDate(t){return""+(parseInt(this.tableDate,10)+Math.sign(t||1))},genTBody(){const t=[],e=Array(3).fill(null),r=12/e.length;for(let n=0;n<r;n++){const r=e.map((t,r)=>{const i=n*e.length+r,a=`${this.displayedYear}-${Object(o["a"])(i+1)}`;return this.$createElement("td",{key:i},[this.genButton(a,!1,"month",this.formatter)])});t.push(this.$createElement("tr",{key:n},r))}return this.$createElement("tbody",t)}},render(){return this.genTable("v-date-picker-table v-date-picker-table--month",[this.genTBody()],this.calculateTableDate)}})},"5c3a":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"下午"===e||"晚上"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,r){var n=100*t+e;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:function(t){return t.week()!==this.week()?"[下]dddLT":"[本]dddLT"},lastDay:"[昨天]LT",lastWeek:function(t){return this.week()!==t.week()?"[上]dddLT":"[本]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"周";default:return t}},relativeTime:{future:"%s后",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",w:"1 周",ww:"%d 周",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}});return e}))},"5c82":function(t,e,r){"use strict";var n=r("891e");r.d(e,"a",(function(){return n["a"]}));n["a"]},"5cbb":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".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:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(t,e){return 12===t&&(t=0),"రాత్రి"===e?t<4?t:t+12:"ఉదయం"===e?t:"మధ్యాహ్నం"===e?t>=10?t:t+12:"సాయంత్రం"===e?t+12:void 0},meridiem:function(t,e,r){return t<4?"రాత్రి":t<10?"ఉదయం":t<17?"మధ్యాహ్నం":t<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}});return e}))},"5d23":function(t,e,r){"use strict";r.d(e,"e",(function(){return h})),r.d(e,"g",(function(){return f})),r.d(e,"k",(function(){return d})),r.d(e,"j",(function(){return p}));var n=r("80d2"),i=r("8860");r.d(e,"a",(function(){return i["a"]}));var o=r("56b0");r.d(e,"b",(function(){return o["a"]}));var a=r("da13");r.d(e,"c",(function(){return a["a"]}));var s=r("1baa");r.d(e,"h",(function(){return s["a"]}));var u=r("1800");r.d(e,"d",(function(){return u["a"]}));var c=r("8270");r.d(e,"f",(function(){return c["a"]}));var l=r("34c3");r.d(e,"i",(function(){return l["a"]}));const h=Object(n["k"])("v-list-item__action-text","span"),f=Object(n["k"])("v-list-item__content","div"),d=Object(n["k"])("v-list-item__title","div"),p=Object(n["k"])("v-list-item__subtitle","div");i["a"],o["a"],a["a"],u["a"],c["a"],s["a"],l["a"]},"5d60":function(t,e){function r(t){const e=new globalThis.AbortController;function r(){e.abort();for(const e of t)e&&e.removeEventListener&&e.removeEventListener("abort",r)}for(const n of t)if(n&&n.addEventListener){if(n.aborted){r();break}n.addEventListener("abort",r)}return e.signal}t.exports=r,t.exports.anySignal=r},"5d6d":function(t,e,r){"use strict";const n=async function*(t,e){for await(const r of t)yield e(r)};t.exports=n},"5e23":function(t,e,r){},"5e29":function(t,e,r){"use strict";r.d(e,"a",(function(){return u}));r("e53c"),r("615b");var n=r("a9ad"),i=r("c995"),o=r("7560"),a=r("80d2"),s=r("58df"),u=Object(s["a"])(n["a"],i["a"],o["a"]).extend({name:"v-picker",props:{flat:Boolean,fullWidth:Boolean,landscape:Boolean,noTitle:Boolean,transition:{type:String,default:"fade-transition"},width:{type:[Number,String],default:290}},computed:{computedTitleColor(){const t=!this.isDark&&(this.color||"primary");return this.color||t}},methods:{genTitle(){return this.$createElement("div",this.setBackgroundColor(this.computedTitleColor,{staticClass:"v-picker__title",class:{"v-picker__title--landscape":this.landscape}}),Object(a["u"])(this,"title"))},genBodyTransition(){return this.$createElement("transition",{props:{name:this.transition}},Object(a["u"])(this))},genBody(){return this.$createElement("div",{staticClass:"v-picker__body",class:{"v-picker__body--no-title":this.noTitle,...this.themeClasses},style:this.fullWidth?void 0:{width:Object(a["i"])(this.width)}},[this.genBodyTransition()])},genActions(){return this.$createElement("div",{staticClass:"v-picker__actions v-card__actions",class:{"v-picker__actions--no-title":this.noTitle}},Object(a["u"])(this,"actions"))}},render(t){return t("div",{staticClass:"v-picker v-card",class:{"v-picker--flat":this.flat,"v-picker--landscape":this.landscape,"v-picker--full-width":this.fullWidth,...this.themeClasses,...this.elevationClasses}},[this.$slots.title?this.genTitle():null,this.genBody(),this.$slots.actions?this.genActions():null])}});e["b"]=u},"5e2f":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("fb86"),i=r("1ec9"),o=r("2a12");const a=i.configure(t=>{async function e(e={}){const r=await t.post("bitswap/stat",{searchParams:o.toUrlSearchParams(e),signal:e.signal,headers:e.headers});return s(await r.json())}return e});function s(t){return{provideBufLen:t.ProvideBufLen,wantlist:(t.Wantlist||[]).map(t=>n.CID.parse(t["/"])),peers:t.Peers||[],blocksReceived:BigInt(t.BlocksReceived),dataReceived:BigInt(t.DataReceived),blocksSent:BigInt(t.BlocksSent),dataSent:BigInt(t.DataSent),dupBlksReceived:BigInt(t.DupBlksReceived),dupDataReceived:BigInt(t.DupDataReceived)}}e.createStat=a},"5e4a":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("2054"),i=r("1ec9"),o=r("2a12");const a=i.configure(t=>{async function e(e={}){const r=await t.post("swarm/addrs",{signal:e.signal,searchParams:o.toUrlSearchParams(e),headers:e.headers}),{Addrs:i}=await r.json();return Object.keys(i).map(t=>({id:t,addrs:(i[t]||[]).map(t=>new n.Multiaddr(t))}))}return e});e.createAddrs=a},"5fbd":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.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öndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".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år] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några 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ånad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(t){var e=t%10,r=1===~~(t%100/10)?":e":1===e||2===e?":a":":e";return t+r},week:{dow:1,doy:4}});return e}))},6017:function(t,e,r){"use strict";async function*n(t,e={}){const r=t.getReader();try{while(1){const t=await r.read();if(t.done)return;yield t.value}}finally{!0!==e.preventCancel&&r.cancel(),r.releaseLock()}}t.exports=n},"604c":function(t,e,r){"use strict";r.d(e,"a",(function(){return c}));r("166a");var n=r("8547"),i=r("a452"),o=r("7560"),a=r("58df"),s=r("d9bd"),u=r("80d2");const c=Object(a["a"])(n["a"],i["a"],o["a"]).extend({name:"base-item-group",props:{activeClass:{type:String,default:"v-item--active"},mandatory:Boolean,max:{type:[Number,String],default:null},multiple:Boolean,tag:{type:String,default:"div"}},data(){return{internalLazyValue:void 0!==this.value?this.value:this.multiple?[]:void 0,items:[]}},computed:{classes(){return{"v-item-group":!0,...this.themeClasses}},selectedIndex(){return this.selectedItem&&this.items.indexOf(this.selectedItem)||-1},selectedItem(){if(!this.multiple)return this.selectedItems[0]},selectedItems(){return this.items.filter((t,e)=>this.toggleMethod(this.getValue(t,e)))},selectedValues(){return null==this.internalValue?[]:Array.isArray(this.internalValue)?this.internalValue:[this.internalValue]},toggleMethod(){if(!this.multiple)return t=>this.valueComparator(this.internalValue,t);const t=this.internalValue;return Array.isArray(t)?e=>t.some(t=>this.valueComparator(t,e)):()=>!1}},watch:{internalValue:"updateItemsState",items:"updateItemsState"},created(){this.multiple&&!Array.isArray(this.internalValue)&&Object(s["c"])("Model must be bound to an array if the multiple property is true.",this)},methods:{genData(){return{class:this.classes}},getValue(t,e){return void 0===t.value?e:t.value},onClick(t){this.updateInternalValue(this.getValue(t,this.items.indexOf(t)))},register(t){const e=this.items.push(t)-1;t.$on("change",()=>this.onClick(t)),this.mandatory&&!this.selectedValues.length&&this.updateMandatory(),this.updateItem(t,e)},unregister(t){if(this._isDestroyed)return;const e=this.items.indexOf(t),r=this.getValue(t,e);this.items.splice(e,1);const n=this.selectedValues.indexOf(r);if(!(n<0)){if(!this.mandatory)return this.updateInternalValue(r);this.multiple&&Array.isArray(this.internalValue)?this.internalValue=this.internalValue.filter(t=>t!==r):this.internalValue=void 0,this.selectedItems.length||this.updateMandatory(!0)}},updateItem(t,e){const r=this.getValue(t,e);t.isActive=this.toggleMethod(r)},updateItemsState(){this.$nextTick(()=>{if(this.mandatory&&!this.selectedItems.length)return this.updateMandatory();this.items.forEach(this.updateItem)})},updateInternalValue(t){this.multiple?this.updateMultiple(t):this.updateSingle(t)},updateMandatory(t){if(!this.items.length)return;const e=this.items.slice();t&&e.reverse();const r=e.find(t=>!t.disabled);if(!r)return;const n=this.items.indexOf(r);this.updateInternalValue(this.getValue(r,n))},updateMultiple(t){const e=Array.isArray(this.internalValue)?this.internalValue:[],r=e.slice(),n=r.findIndex(e=>this.valueComparator(e,t));this.mandatory&&n>-1&&r.length-1<1||null!=this.max&&n<0&&r.length+1>this.max||(n>-1?r.splice(n,1):r.push(t),this.internalValue=r)},updateSingle(t){const e=this.valueComparator(this.internalValue,t);this.mandatory&&e||(this.internalValue=e?void 0:t)}},render(t){return t(this.tag,this.genData(),Object(u["u"])(this))}});e["b"]=c.extend({name:"v-item-group",provide(){return{itemGroup:this}}})},"608c":function(t,e,r){},"608e":function(t,e,r){"use strict";var n=r("6aa0"),i={};function o(t){if(i[t])return i[t];var e=t.split("."),r=e[0],n=e[1];if(!n)throw new Error("Invalid token");var o=a(n),u={usage:r,user:o.u};return s(o,"a")&&(u.authorization=o.a),s(o,"exp")&&(u.expires=1e3*o.exp),s(o,"iat")&&(u.created=1e3*o.iat),s(o,"scopes")&&(u.scopes=o.scopes),s(o,"client")&&(u.client=o.client),s(o,"ll")&&(u.lastLogin=o.ll),s(o,"iu")&&(u.impersonator=o.iu),i[t]=u,u}function a(t){try{return JSON.parse(n.decode(t))}catch(e){throw new Error("Invalid token")}}function s(t,e){return Object.prototype.hasOwnProperty.call(t,e)}t.exports=o},"60a3":function(t,e,r){"use strict";r.d(e,"a",(function(){return k})),r.d(e,"c",(function(){return n["default"]})),r.d(e,"b",(function(){return M}));var n=r("2b0e");
/**
  * vue-class-component v7.2.6
  * (c) 2015-present Evan You
  * @license MIT
  */function i(t){return i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function o(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function a(t){return s(t)||u(t)||c()}function s(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e<t.length;e++)r[e]=t[e];return r}}function u(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function c(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function l(){return"undefined"!==typeof Reflect&&Reflect.defineMetadata&&Reflect.getOwnMetadataKeys}function h(t,e){f(t,e),Object.getOwnPropertyNames(e.prototype).forEach((function(r){f(t.prototype,e.prototype,r)})),Object.getOwnPropertyNames(e).forEach((function(r){f(t,e,r)}))}function f(t,e,r){var n=r?Reflect.getOwnMetadataKeys(e,r):Reflect.getOwnMetadataKeys(e);n.forEach((function(n){var i=r?Reflect.getOwnMetadata(n,e,r):Reflect.getOwnMetadata(n,e);r?Reflect.defineMetadata(n,i,t,r):Reflect.defineMetadata(n,i,t)}))}var d={__proto__:[]},p=d instanceof Array;function m(t){return function(e,r,n){var i="function"===typeof e?e:e.constructor;i.__decorators__||(i.__decorators__=[]),"number"!==typeof n&&(n=void 0),i.__decorators__.push((function(e){return t(e,r,n)}))}}function g(t){var e=i(t);return null==t||"object"!==e&&"function"!==e}function y(t,e){var r=e.prototype._init;e.prototype._init=function(){var e=this,r=Object.getOwnPropertyNames(t);if(t.$options.props)for(var n in t.$options.props)t.hasOwnProperty(n)||r.push(n);r.forEach((function(r){Object.defineProperty(e,r,{get:function(){return t[r]},set:function(e){t[r]=e},configurable:!0})}))};var n=new e;e.prototype._init=r;var i={};return Object.keys(n).forEach((function(t){void 0!==n[t]&&(i[t]=n[t])})),i}var v=["data","beforeCreate","created","beforeMount","mounted","beforeDestroy","destroyed","beforeUpdate","updated","activated","deactivated","render","errorCaptured","serverPrefetch"];function b(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.name=e.name||t._componentTag||t.name;var r=t.prototype;Object.getOwnPropertyNames(r).forEach((function(t){if("constructor"!==t)if(v.indexOf(t)>-1)e[t]=r[t];else{var n=Object.getOwnPropertyDescriptor(r,t);void 0!==n.value?"function"===typeof n.value?(e.methods||(e.methods={}))[t]=n.value:(e.mixins||(e.mixins=[])).push({data:function(){return o({},t,n.value)}}):(n.get||n.set)&&((e.computed||(e.computed={}))[t]={get:n.get,set:n.set})}})),(e.mixins||(e.mixins=[])).push({data:function(){return y(this,t)}});var i=t.__decorators__;i&&(i.forEach((function(t){return t(e)})),delete t.__decorators__);var a=Object.getPrototypeOf(t.prototype),s=a instanceof n["default"]?a.constructor:n["default"],u=s.extend(e);return w(u,t,s),l()&&h(u,t),u}var _={prototype:!0,arguments:!0,callee:!0,caller:!0};function w(t,e,r){Object.getOwnPropertyNames(e).forEach((function(n){if(!_[n]){var i=Object.getOwnPropertyDescriptor(t,n);if(!i||i.configurable){var o=Object.getOwnPropertyDescriptor(e,n);if(!p){if("cid"===n)return;var a=Object.getOwnPropertyDescriptor(r,n);if(!g(o.value)&&a&&a.value===o.value)return}0,Object.defineProperty(t,n,o)}}}))}function x(t){return"function"===typeof t?b(t):function(e){return b(e,t)}}x.registerHooks=function(t){v.push.apply(v,a(t))};var k=x;var S="undefined"!==typeof Reflect&&"undefined"!==typeof Reflect.getMetadata;function E(t,e,r){if(S&&!Array.isArray(t)&&"function"!==typeof t&&"undefined"===typeof t.type){var n=Reflect.getMetadata("design:type",e,r);n!==Object&&(t.type=n)}}function M(t){return void 0===t&&(t={}),function(e,r){E(t,e,r),m((function(e,r){(e.props||(e.props={}))[r]=t}))(e,r)}}},"610d":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("11ad"),i=r("08e3"),o=r("71a0");function a(t){return{cancel:n.createCancel(t),state:i.createState(t),subs:o.createSubs(t)}}e.createPubsub=a},6117:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(t,e){return 12===t&&(t=0),"يېرىم كېچە"===e||"سەھەر"===e||"چۈشتىن بۇرۇن"===e?t:"چۈشتىن كېيىن"===e||"كەچ"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,r){var n=100*t+e;return n<600?"يېرىم كېچە":n<900?"سەھەر":n<1130?"چۈشتىن بۇرۇن":n<1230?"چۈش":n<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"-كۈنى";case"w":case"W":return t+"-ھەپتە";default:return t}},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:1,doy:7}});return e}))},"613c":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1169"),i=r("1ec9"),o=r("2a12");const a=i.configure(t=>{async function e(e={}){const r=await t.post("version",{signal:e.signal,searchParams:o.toUrlSearchParams(e),headers:e.headers});return{...n.objectToCamel(await r.json()),"ipfs-http-client":"1.0.0"}}return e});e.createVersion=a},"615b":function(t,e,r){},"61d2":function(t,e,r){},"61f1":function(t,e){var r=Math.pow(2,7),n=Math.pow(2,14),i=Math.pow(2,21),o=Math.pow(2,28),a=Math.pow(2,35),s=Math.pow(2,42),u=Math.pow(2,49),c=Math.pow(2,56),l=Math.pow(2,63);t.exports=function(t){return t<r?1:t<n?2:t<i?3:t<o?4:t<a?5:t<s?6:t<u?7:t<c?8:t<l?9:10}},"627d":function(t,e,r){},"62ad":function(t,e,r){"use strict";r("4b85");var n=r("2b0e"),i=r("d9f7"),o=r("80d2");const a=["sm","md","lg","xl"],s=(()=>a.reduce((t,e)=>(t[e]={type:[Boolean,String,Number],default:!1},t),{}))(),u=(()=>a.reduce((t,e)=>(t["offset"+Object(o["J"])(e)]={type:[String,Number],default:null},t),{}))(),c=(()=>a.reduce((t,e)=>(t["order"+Object(o["J"])(e)]={type:[String,Number],default:null},t),{}))(),l={col:Object.keys(s),offset:Object.keys(u),order:Object.keys(c)};function h(t,e,r){let n=t;if(null!=r&&!1!==r){if(e){const r=e.replace(t,"");n+="-"+r}return"col"!==t||""!==r&&!0!==r?(n+="-"+r,n.toLowerCase()):n.toLowerCase()}}const f=new Map;e["a"]=n["default"].extend({name:"v-col",functional:!0,props:{cols:{type:[Boolean,String,Number],default:!1},...s,offset:{type:[String,Number],default:null},...u,order:{type:[String,Number],default:null},...c,alignSelf:{type:String,default:null,validator:t=>["auto","start","end","center","baseline","stretch"].includes(t)},tag:{type:String,default:"div"}},render(t,{props:e,data:r,children:n,parent:o}){let a="";for(const i in e)a+=String(e[i]);let s=f.get(a);if(!s){let t;for(t in s=[],l)l[t].forEach(r=>{const n=e[r],i=h(t,r,n);i&&s.push(i)});const r=s.some(t=>t.startsWith("col-"));s.push({col:!r||!e.cols,["col-"+e.cols]:e.cols,["offset-"+e.offset]:e.offset,["order-"+e.order]:e.order,["align-self-"+e.alignSelf]:e.alignSelf}),f.set(a,s)}return t(e.tag,Object(i["a"])(r,{class:s}),n)}})},"62e4":function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},6372:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1ec9");const i=n.configure(t=>()=>{const e=new URL(t.opts.base||"");return{host:e.hostname,port:e.port,protocol:e.protocol,pathname:e.pathname,"api-path":e.pathname}});e.createGetEndpointConfig=i},"63a6":function(t,e,r){(function(e){function r(){return"undefined"!==typeof window&&"object"===typeof window.process&&"renderer"===window.process.type||(!("undefined"===typeof e||"object"!==typeof e.versions||!e.versions.electron)||"object"===typeof navigator&&"string"===typeof navigator.userAgent&&navigator.userAgent.indexOf("Electron")>=0)}t.exports=r}).call(this,r("4362"))},"63b7":function(t,e,r){},6403:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.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(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,r){return t<11?"pagi":t<15?"tengahari":t<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}});return e}))},6516:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("fb86"),i=r("5085"),o=r("1ec9"),a=r("2a12");const s=o.configure(t=>{async function e(e,r={}){const n=await t.post("files/stat",{signal:r.signal,searchParams:a.toUrlSearchParams({arg:e,...r}),headers:r.headers}),o=await n.json();return o.WithLocality=o.WithLocality||!1,u(i.objectToCamelWithMetadata(o))}return e});function u(t){return t.cid=n.CID.parse(t.hash),delete t.hash,t}e.createStat=s},6545:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1169"),i=r("1ec9"),o=r("2a12");const a=i.configure(t=>{async function e(e={}){const r=await t.post("dns",{signal:e.signal,searchParams:o.toUrlSearchParams(e),headers:e.headers});return n.objectToCamel(await r.json())}return e});e.createMount=a},"655c":function(t,e,r){"use strict";var n=r("2b5d");r.d(e,"a",(function(){return n["a"]}));n["a"]},"65db":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_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(t){return"p"===t.charAt(0).toLowerCase()},meridiem:function(t,e,r){return t>11?r?"p.t.m.":"P.T.M.":r?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %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}});return e}))},"65e2":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("fb86"),i=r("1ec9"),o=r("2a12");const a=i.configure(t=>{const e=async(e,r={})=>{const i=await t.post("dag/resolve",{signal:r.signal,searchParams:o.toUrlSearchParams({arg:`${e}${r.path?("/"+r.path).replace(/\/[/]+/g,"/"):""}`,...r}),headers:r.headers}),a=await i.json();return{cid:n.CID.parse(a.Cid["/"]),remainderPath:a.RemPath}};return e});e.createResolve=a},6657:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("b6aa");function i(t){return t&&"object"===typeof t&&"default"in t?t:{default:t}}var o=i(n);function a(t){if(null==t)return;let e;if(null!=t.secs&&(e={secs:t.secs,nsecs:t.nsecs}),null!=t.Seconds&&(e={secs:t.Seconds,nsecs:t.FractionalNanoseconds}),Array.isArray(t)&&(e={secs:t[0],nsecs:t[1]}),t instanceof Date){const r=t.getTime(),n=Math.floor(r/1e3);e={secs:n,nsecs:1e3*(r-1e3*n)}}if(Object.prototype.hasOwnProperty.call(e,"secs")){if(null!=e&&null!=e.nsecs&&(e.nsecs<0||e.nsecs>999999999))throw o["default"](new Error("mtime-nsecs must be within the range [0,999999999]"),"ERR_INVALID_MTIME_NSECS");return e}}e.parseMtime=a},6661:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("fb86"),i=r("1ec9"),o=r("842b"),a=r("2a12"),s=r("876b"),u=r("c181");const c=(t,e)=>{const r=i.configure(e=>{const r=async(r,i={})=>{const c={format:"dag-cbor",hashAlg:"sha2-256",inputEnc:"raw",...i},l=await t.getCodec(c.format),h=l.encode(r),f=new u.AbortController,d=s.abortSignal(f.signal,c.signal),p=await e.post("dag/put",{timeout:c.timeout,signal:d,searchParams:a.toUrlSearchParams(c),...await o.multipartRequest(h,f,c.headers)}),m=await p.json();return n.CID.parse(m.Cid["/"])};return r});return r(e)};e.createPut=c},6709:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1ec9"),i=r("2a12");const o=n.configure(t=>{async function e(e={}){const r=await t.post("log/ls",{signal:e.signal,searchParams:i.toUrlSearchParams(e),headers:e.headers}),n=await r.json();return n.Strings}return e});e.createLs=o},"670b":function(t,e,r){"use strict";const{fetch:n,Request:i,Headers:o}=r("273a"),{TimeoutError:a,HTTPError:s}=r("d2aa"),u=r("4fcb").bind({ignoreUndefined:!0}),{URL:c,URLSearchParams:l}=r("16af"),h=r("5d60"),f=r("6017"),{isBrowser:d,isWebWorker:p}=r("2984"),m=r("41c5"),g=(t,e,r)=>{if(void 0===e)return t;const n=Date.now(),i=()=>{const t=Date.now()-n;return t>=e};return new Promise((n,o)=>{const s=setTimeout(()=>{i()&&(o(new a),r.abort())},e),u=t=>{const e=e=>{clearTimeout(s),i()?o(new a):t(e)};return e};t.then(u(n),u(o))})},y={throwHttpErrors:!0,credentials:"same-origin"};class v{constructor(t={}){this.opts=u(y,t)}async fetch(t,e={}){const r=u(this.opts,e),a=new o(r.headers);if("string"!==typeof t&&!(t instanceof c||t instanceof i))throw new TypeError("`resource` must be a string, URL, or Request");const y=new c(t.toString(),r.base),{searchParams:v,transformSearchParams:w,json:x}=r;v&&(y.search="function"===typeof w?w(new l(r.searchParams)):new l(r.searchParams)),x&&(r.body=JSON.stringify(r.json),a.set("content-type","application/json"));const k=new AbortController,S=h([k.signal,r.signal]);null!=globalThis.ReadableStream&&r.body instanceof globalThis.ReadableStream&&(d||p)&&(r.body=new Blob(await m(f(r.body))));const E=await g(n(y.toString(),{...r,signal:S,timeout:void 0,headers:a,duplex:"half"}),r.timeout,k);if(!E.ok&&r.throwHttpErrors)throw r.handleError&&await r.handleError(E),new s(E);return E.iterator=async function*(){yield*_(E.body)},E.ndjson=async function*(){for await(const t of b(E.iterator()))e.transform?yield e.transform(t):yield t},E}post(t,e={}){return this.fetch(t,{...e,method:"POST"})}get(t,e={}){return this.fetch(t,{...e,method:"GET"})}put(t,e={}){return this.fetch(t,{...e,method:"PUT"})}delete(t,e={}){return this.fetch(t,{...e,method:"DELETE"})}options(t,e={}){return this.fetch(t,{...e,method:"OPTIONS"})}}const b=async function*(t){const e=new TextDecoder;let r="";for await(const n of t){r+=e.decode(n,{stream:!0});const t=r.split(/\r?\n/);for(let e=0;e<t.length-1;e++){const r=t[e].trim();r.length>0&&(yield JSON.parse(r))}r=t[t.length-1]}r+=e.decode(),r=r.trim(),0!==r.length&&(yield JSON.parse(r))},_=t=>{if(w(t))return t;if(k(t)){const e=t[Symbol.asyncIterator]();return{[Symbol.asyncIterator](){return{next:e.next.bind(e),return(r){return t.destroy(),"function"===typeof e.return?e.return():Promise.resolve({done:!0,value:r})}}}}}if(x(t)){const e=t.getReader();return async function*(){try{while(1){const{done:t,value:r}=await e.read();if(t)return;r&&(yield r)}}finally{e.releaseLock()}}()}throw new TypeError("Body can't be converted to AsyncIterable")},w=t=>"object"===typeof t&&null!==t&&"function"===typeof t[Symbol.asyncIterator],x=t=>t&&"function"===typeof t.getReader,k=t=>Object.prototype.hasOwnProperty.call(t,"readable")&&Object.prototype.hasOwnProperty.call(t,"writable");v.HTTPError=s,v.TimeoutError=a,v.streamToAsyncIterator=_,v.post=(t,e)=>new v(e).post(t,e),v.get=(t,e)=>new v(e).get(t,e),v.put=(t,e)=>new v(e).put(t,e),v.delete=(t,e)=>new v(e).delete(t,e),v.options=(t,e)=>new v(e).options(t,e),t.exports=v},6764:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1ec9"),i=r("2a12"),o=r("2054");const a=n.configure(t=>{async function e(e={}){const r=await t.post("bootstrap/list",{signal:e.signal,searchParams:i.toUrlSearchParams(e),headers:e.headers}),{Peers:n}=await r.json();return{Peers:n.map(t=>new o.Multiaddr(t))}}return e});e.createList=a},6784:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],r=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"],n=t.defineLocale("sd",{months:e,monthsShort:e,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، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(t){return"شام"===t},meridiem:function(t,e,r){return t<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:1,doy:4}});return n}))},"67b0":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("d029");function i(t=0){return null!=globalThis.Buffer&&null!=globalThis.Buffer.alloc?n.asUint8Array(globalThis.Buffer.alloc(t)):new Uint8Array(t)}function o(t=0){return null!=globalThis.Buffer&&null!=globalThis.Buffer.allocUnsafe?n.asUint8Array(globalThis.Buffer.allocUnsafe(t)):new Uint8Array(t)}e.alloc=i,e.allocUnsafe=o},6887:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
function e(t,e,r){var n={mm:"munutenn",MM:"miz",dd:"devezh"};return t+" "+i(n[r],t)}function r(t){switch(n(t)){case 1:case 3:case 4:case 5:case 9:return t+" bloaz";default:return t+" vloaz"}}function n(t){return t>9?n(t%10):t}function i(t,e){return 2===e?o(t):t}function o(t){var e={m:"v",b:"v",d:"z"};return void 0===e[t.charAt(0)]?t:e[t.charAt(0)]+t.substring(1)}var a=[/^gen/i,/^c[ʼ\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],s=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,u=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,c=/^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,l=[/^sul/i,/^lun/i,/^meurzh/i,/^merc[ʼ\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],h=[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],f=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i],d=t.defineLocale("br",{months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:f,fullWeekdaysParse:l,shortWeekdaysParse:h,minWeekdaysParse:f,monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:u,monthsShortStrictRegex:c,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,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ʼhoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Decʼh da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:e,h:"un eur",hh:"%d eur",d:"un devezh",dd:e,M:"ur miz",MM:e,y:"ur bloaz",yy:r},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(t){var e=1===t?"añ":"vet";return t+e},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(t){return"g.m."===t},meridiem:function(t,e,r){return t<12?"a.m.":"g.m."}});return d}))},"688b":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_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ātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".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ēkona ruarua",ss:"%d hēkona",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}º/,ordinal:"%dº",week:{dow:1,doy:4}});return e}))},6897:function(t,e,r){"use strict";function n(){this._listeners={}}t.exports=n,n.prototype.on=function(t,e,r){return(this._listeners[t]||(this._listeners[t]=[])).push({fn:e,ctx:r||this}),this},n.prototype.off=function(t,e){if(void 0===t)this._listeners={};else if(void 0===e)this._listeners[t]=[];else for(var r=this._listeners[t],n=0;n<r.length;)r[n].fn===e?r.splice(n,1):++n;return this},n.prototype.emit=function(t){var e=this._listeners[t];if(e){for(var r=[],n=1;n<arguments.length;)r.push(arguments[n++]);for(n=0;n<e.length;)e[n].fn.apply(e[n++].ctx,r)}return this}},"68b7":function(t,e,r){"use strict";var n=u,i=128,o=127,a=~o,s=Math.pow(2,31);function u(t,e,r){e=e||[],r=r||0;var n=r;while(t>=s)e[r++]=255&t|i,t/=128;while(t&a)e[r++]=255&t|i,t>>>=7;return e[r]=0|t,u.bytes=r-n+1,e}var c=f,l=128,h=127;function f(t,e){var r,n=0,i=(e=e||0,0),o=e,a=t.length;do{if(o>=a)throw f.bytes=0,new RangeError("Could not decode varint");r=t[o++],n+=i<28?(r&h)<<i:(r&h)*Math.pow(2,i),i+=7}while(r>=l);return f.bytes=o-e,n}var d=Math.pow(2,7),p=Math.pow(2,14),m=Math.pow(2,21),g=Math.pow(2,28),y=Math.pow(2,35),v=Math.pow(2,42),b=Math.pow(2,49),_=Math.pow(2,56),w=Math.pow(2,63),x=function(t){return t<d?1:t<p?2:t<m?3:t<g?4:t<y?5:t<v?6:t<b?7:t<_?8:t<w?9:10},k={encode:n,decode:c,encodingLength:x},S=k,E=S;t.exports=E},"68c3":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1755"),i=r("b92d");function o(t,e,r,i){return new n.Token(n.Type.tag,r,1)}function a(t,e,r,o){return new n.Token(n.Type.tag,i.readUint8(t,e+1,o),2)}function s(t,e,r,o){return new n.Token(n.Type.tag,i.readUint16(t,e+1,o),3)}function u(t,e,r,o){return new n.Token(n.Type.tag,i.readUint32(t,e+1,o),5)}function c(t,e,r,o){return new n.Token(n.Type.tag,i.readUint64(t,e+1,o),9)}function l(t,e){i.encodeUintValue(t,n.Type.tag.majorEncoded,e.value)}l.compareTokens=i.encodeUint.compareTokens,l.encodedSize=function(t){return i.encodeUintValue.encodedSize(t.value)},e.decodeTag16=s,e.decodeTag32=u,e.decodeTag64=c,e.decodeTag8=a,e.decodeTagCompact=o,e.encodeTag=l},"68dd":function(t,e,r){},6905:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("0553"),i=r("aa52"),o=r("15b4"),a=r("e390"),s=r("1fa4"),u=r("14ab"),c=r("3ace");function l(t,e){return{data:n.createData(e),get:i.createGet(e),links:o.createLinks(e),new:a.createNew(e),put:s.createPut(t,e),stat:u.createStat(e),patch:c.createPatch(e)}}e.createObject=l},6909:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".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:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"за %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"една минута",mm:"%d минути",h:"еден час",hh:"%d часа",d:"еден ден",dd:"%d дена",M:"еден месец",MM:"%d месеци",y:"една година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(t){var e=t%10,r=t%100;return 0===t?t+"-ев":0===r?t+"-ен":r>10&&r<20?t+"-ти":1===e?t+"-ви":2===e?t+"-ри":7===e||8===e?t+"-ми":t+"-ти"},week:{dow:1,doy:7}});return e}))},"696e":function(t,e,r){"use strict";var n=r("3129");r.d(e,"a",(function(){return n["a"]}));n["a"]},"696f":function(t,e,r){},"6aa0":function(t,e,r){(function(t,n){var i;/*! http://mths.be/base64 v0.1.0 by @mathias | MIT license */(function(o){var a=e,s=(t&&t.exports,"object"==typeof n&&n);s.global!==s&&s.window;var u=function(t){this.message=t};u.prototype=new Error,u.prototype.name="InvalidCharacterError";var c=function(t){throw new u(t)},l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h=/[\t\n\f\r ]/g,f=function(t){t=String(t).replace(h,"");var e=t.length;e%4==0&&(t=t.replace(/==?$/,""),e=t.length),(e%4==1||/[^+a-zA-Z0-9/]/.test(t))&&c("Invalid character: the string to be decoded is not correctly encoded.");var r,n,i=0,o="",a=-1;while(++a<e)n=l.indexOf(t.charAt(a)),r=i%4?64*r+n:n,i++%4&&(o+=String.fromCharCode(255&r>>(-2*i&6)));return o},d=function(t){t=String(t),/[^\0-\xFF]/.test(t)&&c("The string to be encoded contains characters outside of the Latin1 range.");var e,r,n,i,o=t.length%3,a="",s=-1,u=t.length-o;while(++s<u)e=t.charCodeAt(s)<<16,r=t.charCodeAt(++s)<<8,n=t.charCodeAt(++s),i=e+r+n,a+=l.charAt(i>>18&63)+l.charAt(i>>12&63)+l.charAt(i>>6&63)+l.charAt(63&i);return 2==o?(e=t.charCodeAt(s)<<8,r=t.charCodeAt(++s),i=e+r,a+=l.charAt(i>>10)+l.charAt(i>>4&63)+l.charAt(i<<2&63)+"="):1==o&&(i=t.charCodeAt(s),a+=l.charAt(i>>2)+l.charAt(i<<4&63)+"=="),a},p={encode:d,decode:f,version:"0.1.0"};i=function(){return p}.call(e,r,e,t),void 0===i||(t.exports=i)})()}).call(this,r("62e4")(t),r("c8ba"))},"6b10":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1ec9"),i=r("b6aa");function o(t){return t&&"object"===typeof t&&"default"in t?t:{default:t}}var a=o(i);const s=n.configure(t=>{const e=async(t,e,r={})=>{throw a["default"](new Error("Not implemented"),"ERR_NOT_IMPLEMENTED")};return e});e.createExport=s},"6c30":function(t,e,r){"use strict";var n=e;function i(){n.util._configure(),n.Writer._configure(n.BufferWriter),n.Reader._configure(n.BufferReader)}n.build="minimal",n.Writer=r("0c83"),n.BufferWriter=r("dc6f"),n.Reader=r("2110"),n.BufferReader=r("9564"),n.util=r("e938"),n.rpc=r("01b1"),n.roots=r("064a"),n.configure=i,i()},"6c57":function(t,e,r){"use strict";t.exports=l;var n,i,o,a,s,u=1e6,c={Point:0,MultiPoint:1,LineString:2,MultiLineString:3,Polygon:4,MultiPolygon:5,GeometryCollection:6};function l(t,e){n={},o=[],i=0,a=0,s=1,h(t),s=Math.min(s,u);for(var r=Math.ceil(Math.log(s)/Math.LN10),c=0;c<o.length;c++)e.writeStringField(1,o[c]);return 2!==a&&e.writeVarintField(2,a),6!==r&&e.writeVarintField(3,r),"FeatureCollection"===t.type?e.writeMessage(4,g,t):"Feature"===t.type?e.writeMessage(5,y,t):e.writeMessage(6,v,t),n=null,e.finish()}function h(t){var e,r;if("FeatureCollection"===t.type)for(e=0;e<t.features.length;e++)h(t.features[e]);else if("Feature"===t.type)for(r in null!==t.geometry&&h(t.geometry),t.properties)m(r);else if("Point"===t.type)p(t.coordinates);else if("MultiPoint"===t.type)d(t.coordinates);else if("GeometryCollection"===t.type)for(e=0;e<t.geometries.length;e++)h(t.geometries[e]);else if("LineString"===t.type)d(t.coordinates);else if("Polygon"===t.type||"MultiLineString"===t.type)f(t.coordinates);else if("MultiPolygon"===t.type)for(e=0;e<t.coordinates.length;e++)f(t.coordinates[e]);for(r in t)M(r,t.type)||m(r)}function f(t){for(var e=0;e<t.length;e++)d(t[e])}function d(t){for(var e=0;e<t.length;e++)p(t[e])}function p(t){a=Math.max(a,t.length);for(var e=0;e<t.length;e++)while(Math.round(t[e]*s)/s!==t[e]&&s<u)s*=10}function m(t){void 0===n[t]&&(o.push(t),n[t]=i++)}function g(t,e){for(var r=0;r<t.features.length;r++)e.writeMessage(1,y,t.features[r]);b(t,e,!0)}function y(t,e){null!==t.geometry&&e.writeMessage(1,v,t.geometry),void 0!==t.id&&("number"===typeof t.id&&t.id%1===0?e.writeSVarintField(12,t.id):e.writeStringField(11,t.id)),t.properties&&b(t.properties,e),b(t,e,!0)}function v(t,e){e.writeVarintField(1,c[t.type]);var r=t.coordinates;if("Point"===t.type)w(r,e);else if("MultiPoint"===t.type)x(r,e,!0);else if("LineString"===t.type)x(r,e);else if("MultiLineString"===t.type)k(r,e);else if("Polygon"===t.type)k(r,e,!0);else if("MultiPolygon"===t.type)S(r,e);else if("GeometryCollection"===t.type)for(var n=0;n<t.geometries.length;n++)e.writeMessage(4,v,t.geometries[n]);b(t,e,!0)}function b(t,e,r){var i=[],o=0;for(var a in t)r&&M(a,t.type)||(e.writeMessage(13,_,t[a]),i.push(n[a]),i.push(o++));e.writePackedVarint(r?15:14,i)}function _(t,e){if(null!==t){var r=typeof t;"string"===r?e.writeStringField(1,t):"boolean"===r?e.writeBooleanField(5,t):"object"===r?e.writeStringField(6,JSON.stringify(t)):"number"===r&&(t%1!==0?e.writeDoubleField(2,t):t>=0?e.writeVarintField(3,t):e.writeVarintField(4,-t))}}function w(t,e){for(var r=[],n=0;n<a;n++)r.push(Math.round(t[n]*s));e.writePackedSVarint(3,r)}function x(t,e){var r=[];E(r,t),e.writePackedSVarint(3,r)}function k(t,e,r){var n,i=t.length;if(1!==i){var o=[];for(n=0;n<i;n++)o.push(t[n].length-(r?1:0));e.writePackedVarint(2,o)}var a=[];for(n=0;n<i;n++)E(a,t[n],r);e.writePackedSVarint(3,a)}function S(t,e){var r,n,i=t.length;if(1!==i||1!==t[0].length){var o=[i];for(r=0;r<i;r++)for(o.push(t[r].length),n=0;n<t[r].length;n++)o.push(t[r][n].length-1);e.writePackedVarint(2,o)}var a=[];for(r=0;r<i;r++)for(n=0;n<t[r].length;n++)E(a,t[r][n],!0);e.writePackedSVarint(3,a)}function E(t,e,r){var n,i,o=e.length-(r?1:0),u=new Array(a);for(i=0;i<a;i++)u[i]=0;for(n=0;n<o;n++)for(i=0;i<a;i++){var c=Math.round(e[n][i]*s)-u[i];t.push(c),u[i]+=c}}function M(t,e){if("type"===t)return!0;if("FeatureCollection"===e){if("features"===t)return!0}else if("Feature"===e){if("id"===t||"properties"===t||"geometry"===t)return!0}else if("GeometryCollection"===e){if("geometries"===t)return!0}else if("coordinates"===t)return!0;return!1}},"6ca7":function(t,e,r){},"6ce3":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.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øndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".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år 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:"én time",hh:"%d timer",d:"én dag",dd:"%d dager",w:"én uke",ww:"%d uker",M:"én måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return e}))},"6d79":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"},r=t.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".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:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(t){var r=t%10,n=t>=100?100:null;return t+(e[t]||e[r]||e[n])},week:{dow:1,doy:7}});return r}))},"6d83":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".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:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}});return e}))},"6da3":function(t,e,r){"use strict";function n(t,e){var r=function(t,r){return-1!==e.indexOf(t)&&void 0!==r};return"function"===typeof e&&(r=e),Object.keys(t).filter((function(e){return r(e,t[e])})).reduce((function(e,r){return e[r]=t[r],e}),{})}t.exports=n},"6e41":function(t,e,r){"use strict";function n(t,e){if(t.length>=255)throw new TypeError("Alphabet too long");for(var r=new Uint8Array(256),n=0;n<r.length;n++)r[n]=255;for(var i=0;i<t.length;i++){var o=t.charAt(i),a=o.charCodeAt(0);if(255!==r[a])throw new TypeError(o+" is ambiguous");r[a]=i}var s=t.length,u=t.charAt(0),c=Math.log(s)/Math.log(256),l=Math.log(256)/Math.log(s);function h(e){if(e instanceof Uint8Array||(ArrayBuffer.isView(e)?e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength):Array.isArray(e)&&(e=Uint8Array.from(e))),!(e instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(0===e.length)return"";var r=0,n=0,i=0,o=e.length;while(i!==o&&0===e[i])i++,r++;var a=(o-i)*l+1>>>0,c=new Uint8Array(a);while(i!==o){for(var h=e[i],f=0,d=a-1;(0!==h||f<n)&&-1!==d;d--,f++)h+=256*c[d]>>>0,c[d]=h%s>>>0,h=h/s>>>0;if(0!==h)throw new Error("Non-zero carry");n=f,i++}var p=a-n;while(p!==a&&0===c[p])p++;for(var m=u.repeat(r);p<a;++p)m+=t.charAt(c[p]);return m}function f(t){if("string"!==typeof t)throw new TypeError("Expected String");if(0===t.length)return new Uint8Array;var e=0;if(" "!==t[e]){var n=0,i=0;while(t[e]===u)n++,e++;var o=(t.length-e)*c+1>>>0,a=new Uint8Array(o);while(t[e]){var l=r[t.charCodeAt(e)];if(255===l)return;for(var h=0,f=o-1;(0!==l||h<i)&&-1!==f;f--,h++)l+=s*a[f]>>>0,a[f]=l%256>>>0,l=l/256>>>0;if(0!==l)throw new Error("Non-zero carry");i=h,e++}if(" "!==t[e]){var d=o-i;while(d!==o&&0===a[d])d++;var p=new Uint8Array(n+(o-d)),m=n;while(d!==o)p[m++]=a[d++];return p}}}function d(t){var r=f(t);if(r)return r;throw new Error(`Non-${e} character`)}return{encode:h,decodeUnsafe:f,decode:d}}var i=n,o=i;t.exports=o},"6e75":function(t,e,r){"use strict";var n=e;n.length=function(t){var e=t.length;if(!e)return 0;var r=0;while(--e%4>1&&"="===t.charAt(e))++r;return Math.ceil(3*t.length)/4-r};for(var i=new Array(64),o=new Array(123),a=0;a<64;)o[i[a]=a<26?a+65:a<52?a+71:a<62?a-4:a-59|43]=a++;n.encode=function(t,e,r){var n,o=null,a=[],s=0,u=0;while(e<r){var c=t[e++];switch(u){case 0:a[s++]=i[c>>2],n=(3&c)<<4,u=1;break;case 1:a[s++]=i[n|c>>4],n=(15&c)<<2,u=2;break;case 2:a[s++]=i[n|c>>6],a[s++]=i[63&c],u=0;break}s>8191&&((o||(o=[])).push(String.fromCharCode.apply(String,a)),s=0)}return u&&(a[s++]=i[n],a[s++]=61,1===u&&(a[s++]=61)),o?(s&&o.push(String.fromCharCode.apply(String,a.slice(0,s))),o.join("")):String.fromCharCode.apply(String,a.slice(0,s))};var s="invalid encoding";n.decode=function(t,e,r){for(var n,i=r,a=0,u=0;u<t.length;){var c=t.charCodeAt(u++);if(61===c&&a>1)break;if(void 0===(c=o[c]))throw Error(s);switch(a){case 0:n=c,a=1;break;case 1:e[r++]=n<<2|(48&c)>>4,n=c,a=2;break;case 2:e[r++]=(15&n)<<4|(60&c)>>2,n=c,a=3;break;case 3:e[r++]=(3&n)<<6|c,a=0;break}}if(1===a)throw Error(s);return r-i},n.test=function(t){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(t)}},"6e98":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.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ì_martedì_mercoledì_giovedì_venerdì_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}º/,ordinal:"%dº",week:{dow:1,doy:4}});return e}))},"6ece":function(t,e,r){},"6edf":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("2054"),i=r("1ec9"),o=r("2a12");const a=i.configure(t=>{async function e(e={}){const r=await t.post("swarm/addrs/local",{signal:e.signal,searchParams:o.toUrlSearchParams(e),headers:e.headers}),{Strings:i}=await r.json();return(i||[]).map(t=>new n.Multiaddr(t))}return e});e.createLocalAddrs=a},"6ef4":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1169"),i=r("1ec9"),o=r("2a12");const a=i.configure(t=>{async function e(e,r,i={}){const a=await t.post("log/level",{signal:i.signal,searchParams:o.toUrlSearchParams({arg:[e,r],...i}),headers:i.headers});return n.objectToCamel(await a.json())}return e});e.createLevel=a},"6f12":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.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ì_martedì_mercoledì_giovedì_venerdì_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(t){return(/^[0-9].+$/.test(t)?"tra":"in")+" "+t},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}º/,ordinal:"%dº",week:{dow:1,doy:4}});return e}))},"6f50":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.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(t){var e=t%10,r=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+r},week:{dow:1,doy:4}});return e}))},"6f5e":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1ec9"),i=r("2a12");const o=n.configure(t=>{async function*e(e={}){const r=await t.post("log/tail",{signal:e.signal,searchParams:i.toUrlSearchParams(e),headers:e.headers});yield*r.ndjson()}return e});e.createTail=o},"6fcc":function(t,e,r){"use strict";var n=r("50de");e["a"]=(t,e)=>{const[r,i=1,o=1]=t.split("-");return`${r}-${Object(n["a"])(i)}-${Object(n["a"])(o)}`.substr(0,{date:10,month:7,year:4}[e])}},7064:function(t,e,r){"use strict";var n=function(){var t=this,e=t._self._c;return e("div",[e("img",{ref:"img",class:t.className,attrs:{src:t.src,alt:t.alt}})])},i=[],o=r("7411"),a=o["a"],s=r("2877"),u=Object(s["a"])(a,n,i,!1,null,null,null),c=u.exports;e["a"]={install(t,e={}){t.component(c.name,c)}}},7118:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e="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("_"),n=t.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(t,n){return t?/-MMM-/.test(n)?r[t.month()]:e[t.month()]:e},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:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",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(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}});return n}))},7119:function(t,e,r){"use strict";var n=r("031b");function i(t,e){this.request=t,this.headers=e.headers,this.rawBody=e.body,this.statusCode=e.statusCode;try{this.body=JSON.parse(e.body||"{}")}catch(r){this.body=e.body}this.links=n(this.headers.link)}i.prototype.hasNextPage=function(){return!!this.links.next},i.prototype.nextPage=function(){return this.hasNextPage()?this.request._extend({path:this.links.next.url}):null},t.exports=i},"713a":function(t,e,r){"use strict";var n=r("8212");r.d(e,"a",(function(){return n["a"]})),e["b"]=n["a"]},"71a0":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1ec9"),i=r("2a12");const o=n.configure(t=>{async function e(e={}){const r=await t.post("name/pubsub/subs",{signal:e.signal,searchParams:i.toUrlSearchParams(e),headers:e.headers}),n=await r.json();return n.Strings||[]}return e});e.createSubs=o},"71a3":function(t,e,r){"use strict";var n=r("4e82"),i=r("1c87"),o=r("7560"),a=r("80d2"),s=r("58df");const u=Object(s["a"])(i["a"],Object(n["a"])("tabsBar"),o["a"]);e["a"]=u.extend().extend().extend({name:"v-tab",props:{ripple:{type:[Boolean,Object],default:!0},tabValue:{required:!1}},data:()=>({proxyClass:"v-tab--active"}),computed:{classes(){return{"v-tab":!0,...i["a"].options.computed.classes.call(this),"v-tab--disabled":this.disabled,...this.groupClasses}},value(){if(null!=this.tabValue)return this.tabValue;let t=this.to||this.href;if(null==t)return t;if(this.$router&&this.to===Object(this.to)){const e=this.$router.resolve(this.to,this.$route,this.append);t=e.href}return t.replace("#","")}},methods:{click(t){this.disabled?t.preventDefault():(this.href&&this.href.indexOf("#")>-1&&t.preventDefault(),t.detail&&this.$el.blur(),this.$emit("click",t),this.to||this.toggle())},toggle(){this.isActive&&(this.tabsBar.mandatory||this.to)||this.$emit("change")}},render(t){const{tag:e,data:r}=this.generateRouteLink();return r.attrs={...r.attrs,"aria-selected":String(this.isActive),role:"tab",tabindex:this.disabled?-1:0},r.on={...r.on,keydown:t=>{t.keyCode===a["A"].enter&&this.click(t),this.$emit("keydown",t)}},t(e,r,Object(a["u"])(this))}})},"71d9":function(t,e,r){"use strict";r("5e23");var n=r("8dd9"),i=r("adda"),o=r("80d2"),a=r("d9bd");e["a"]=n["a"].extend({name:"v-toolbar",props:{absolute:Boolean,bottom:Boolean,collapse:Boolean,dense:Boolean,extended:Boolean,extensionHeight:{default:48,type:[Number,String]},flat:Boolean,floating:Boolean,prominent:Boolean,short:Boolean,src:{type:[String,Object],default:""},tag:{type:String,default:"header"}},data:()=>({isExtended:!1}),computed:{computedHeight(){const t=this.computedContentHeight;if(!this.isExtended)return t;const e=parseInt(this.extensionHeight);return this.isCollapsed?t:t+(isNaN(e)?0:e)},computedContentHeight(){return this.height?parseInt(this.height):this.isProminent&&this.dense?96:this.isProminent&&this.short?112:this.isProminent?128:this.dense?48:this.short||this.$vuetify.breakpoint.smAndDown?56:64},classes(){return{...n["a"].options.computed.classes.call(this),"v-toolbar":!0,"v-toolbar--absolute":this.absolute,"v-toolbar--bottom":this.bottom,"v-toolbar--collapse":this.collapse,"v-toolbar--collapsed":this.isCollapsed,"v-toolbar--dense":this.dense,"v-toolbar--extended":this.isExtended,"v-toolbar--flat":this.flat,"v-toolbar--floating":this.floating,"v-toolbar--prominent":this.isProminent}},isCollapsed(){return this.collapse},isProminent(){return this.prominent},styles(){return{...this.measurableStyles,height:Object(o["i"])(this.computedHeight)}}},created(){const t=[["app","<v-app-bar app>"],["manual-scroll",'<v-app-bar :value="false">'],["clipped-left","<v-app-bar clipped-left>"],["clipped-right","<v-app-bar clipped-right>"],["inverted-scroll","<v-app-bar inverted-scroll>"],["scroll-off-screen","<v-app-bar scroll-off-screen>"],["scroll-target","<v-app-bar scroll-target>"],["scroll-threshold","<v-app-bar scroll-threshold>"],["card","<v-app-bar flat>"]];t.forEach(([t,e])=>{this.$attrs.hasOwnProperty(t)&&Object(a["a"])(t,e,this)})},methods:{genBackground(){const t={height:Object(o["i"])(this.computedHeight),src:this.src},e=this.$scopedSlots.img?this.$scopedSlots.img({props:t}):this.$createElement(i["a"],{props:t});return this.$createElement("div",{staticClass:"v-toolbar__image"},[e])},genContent(){return this.$createElement("div",{staticClass:"v-toolbar__content",style:{height:Object(o["i"])(this.computedContentHeight)}},Object(o["u"])(this))},genExtension(){return this.$createElement("div",{staticClass:"v-toolbar__extension",style:{height:Object(o["i"])(this.extensionHeight)}},Object(o["u"])(this,"extension"))}},render(t){this.isExtended=this.extended||!!this.$scopedSlots.extension;const e=[this.genContent()],r=this.setBackgroundColor(this.color,{class:this.classes,style:this.styles,on:this.$listeners});return this.isExtended&&e.push(this.genExtension()),(this.src||this.$scopedSlots.img)&&e.unshift(this.genBackground()),t(this.tag,r,e)}})},"72bc":function(t,e,r){"use strict";function n(t){var e=t.indexOf(":"),r=t.substring(0,e).trim().toLowerCase(),n=t.substring(e+1).trim();return{name:r,value:n}}function i(t){var e={};return t?(t.trim().split(/[\r|\n]+/).forEach((function(t){var r=n(t);e[r.name]=r.value})),e):e}t.exports=i},7314:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1ec9"),i=r("2a12"),o=r("2225"),a=r("bdff"),s=r("eaf0");const u=n.configure(t=>{async function e(e,r={}){const n=await t.post("dht/get",{signal:r.signal,searchParams:i.toUrlSearchParams({arg:e instanceof Uint8Array?s.toString(e):e,...r}),headers:r.headers});for await(const t of n.ndjson())if(t.Type===o.Value)return a.fromString(t.Extra,"base64pad");throw new Error("not found")}return e});e.createGet=u},7333:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.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(t){var e=t%10,r=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+r}});return e}))},7399:function(t,e,r){"use strict";var n=r("5963");r.d(e,"a",(function(){return n["a"]}));n["a"]},"73ac":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1ec9"),i=r("2a12");const o=n.configure(t=>{async function e(e,r,n={}){Array.isArray(e)||(e=[e]);const o=await t.post("files/mv",{signal:n.signal,searchParams:i.toUrlSearchParams({arg:e.concat(r),...n}),headers:n.headers});await o.text()}return e});e.createMv=o},7411:function(t,e,r){"use strict";(function(t){let n;t.browser&&(n=r("dc40")),e["a"]={name:"SvgInjector",props:{className:{type:String,default:""},src:{type:String,default:""},callback:{type:Function,default:()=>!0},alt:{type:String,default:""},options:{type:Object,default:void 0}},mounted(){void 0!==typeof n&&n(this.$refs.img,this.options,this.callback)}}}).call(this,r("4362"))},7435:function(t,e,r){},7496:function(t,e,r){"use strict";r("df86");var n=r("7560"),i=r("58df"),o=r("80d2");e["a"]=Object(i["a"])(n["a"]).extend({name:"v-app",props:{dark:{type:Boolean,default:void 0},id:{type:String,default:"app"},light:{type:Boolean,default:void 0}},computed:{isDark(){return this.$vuetify.theme.dark}},beforeCreate(){if(!this.$vuetify||this.$vuetify===this.$root)throw new Error("Vuetify is not properly initialized, see https://v2.vuetifyjs.com/getting-started/quick-start#bootstrapping-the-vuetify-object")},render(t){const e=t("div",{staticClass:"v-application--wrap"},Object(o["u"])(this));return t("div",{staticClass:"v-application",class:{"v-application--is-rtl":this.$vuetify.rtl,"v-application--is-ltr":!this.$vuetify.rtl,...this.themeClasses},attrs:{"data-app":!0},domProps:{id:this.id}},[e])}})},"74a5":function(t,e,r){"use strict";t.exports=r("33a3")},"74dc":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.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}});return e}))},"74fd":function(t,e,r){const{AbortController:n}=r("c181");function i(t){const e=new n;function r(){e.abort();for(const e of t)e&&e.removeEventListener&&e.removeEventListener("abort",r)}for(const n of t)if(n&&n.addEventListener){if(n.aborted){r();break}n.addEventListener("abort",r)}return e.signal}t.exports=i,t.exports.anySignal=i},7558:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
function e(t,e,r,n){var i={s:["çend sanîye","çend sanîyeyan"],ss:[t+" sanîye",t+" sanîyeyan"],m:["deqîqeyek","deqîqeyekê"],mm:[t+" deqîqe",t+" deqîqeyan"],h:["saetek","saetekê"],hh:[t+" saet",t+" saetan"],d:["rojek","rojekê"],dd:[t+" roj",t+" rojan"],w:["hefteyek","hefteyekê"],ww:[t+" hefte",t+" hefteyan"],M:["mehek","mehekê"],MM:[t+" meh",t+" mehan"],y:["salek","salekê"],yy:[t+" sal",t+" salan"]};return e?i[r][0]:i[r][1]}function r(t){t=""+t;var e=t.substring(t.length-1),r=t.length>1?t.substring(t.length-2):"";return 12==r||13==r||"2"!=e&&"3"!=e&&"50"!=r&&"70"!=e&&"80"!=e?"ê":"yê"}var n=t.defineLocale("ku-kmr",{months:"Rêbendan_Sibat_Adar_Nîsan_Gulan_Hezîran_Tîrmeh_Tebax_Îlon_Cotmeh_Mijdar_Berfanbar".split("_"),monthsShort:"Rêb_Sib_Ada_Nîs_Gul_Hez_Tîr_Teb_Îlo_Cot_Mij_Ber".split("_"),monthsParseExact:!0,weekdays:"Yekşem_Duşem_Sêşem_Çarşem_Pêncşem_În_Şemî".split("_"),weekdaysShort:"Yek_Du_Sê_Çar_Pên_În_Şem".split("_"),weekdaysMin:"Ye_Du_Sê_Ça_Pê_În_Şe".split("_"),meridiem:function(t,e,r){return t<12?r?"bn":"BN":r?"pn":"PN"},meridiemParse:/bn|BN|pn|PN/,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM[a] YYYY[an]",LLL:"Do MMMM[a] YYYY[an] HH:mm",LLLL:"dddd, Do MMMM[a] YYYY[an] HH:mm",ll:"Do MMM[.] YYYY[an]",lll:"Do MMM[.] YYYY[an] HH:mm",llll:"ddd[.], Do MMM[.] YYYY[an] HH:mm"},calendar:{sameDay:"[Îro di saet] LT [de]",nextDay:"[Sibê di saet] LT [de]",nextWeek:"dddd [di saet] LT [de]",lastDay:"[Duh di saet] LT [de]",lastWeek:"dddd[a borî di saet] LT [de]",sameElse:"L"},relativeTime:{future:"di %s de",past:"berî %s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,w:e,ww:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(?:yê|ê|\.)/,ordinal:function(t,e){var n=e.toLowerCase();return n.includes("w")||n.includes("m")?t+".":t+r(t)},week:{dow:1,doy:4}});return n}))},7560:function(t,e,r){"use strict";r.d(e,"b",(function(){return o}));var n=r("2b0e");const i=n["default"].extend().extend({name:"themeable",provide(){return{theme:this.themeableProvide}},inject:{theme:{default:{isDark:!1}}},props:{dark:{type:Boolean,default:null},light:{type:Boolean,default:null}},data(){return{themeableProvide:{isDark:!1}}},computed:{appIsDark(){return this.$vuetify.theme.dark||!1},isDark(){return!0===this.dark||!0!==this.light&&this.theme.isDark},themeClasses(){return{"theme--dark":this.isDark,"theme--light":!this.isDark}},rootIsDark(){return!0===this.dark||!0!==this.light&&this.appIsDark},rootThemeClasses(){return{"theme--dark":this.rootIsDark,"theme--light":!this.rootIsDark}}},watch:{isDark:{handler(t,e){t!==e&&(this.themeableProvide.isDark=this.isDark)},immediate:!0}}});function o(t){const e={...t.props,...t.injections},r=i.options.computed.isDark.call(e);return i.options.computed.themeClasses.call({isDark:r})}e["a"]=i},"75eb":function(t,e,r){"use strict";var n=r("9d65"),i=r("80d2"),o=r("58df"),a=r("d9bd");function s(t){const e=typeof t;return"boolean"===e||"string"===e||t.nodeType===Node.ELEMENT_NODE}function u(t){t.forEach(t=>{t.elm&&t.elm.parentNode&&t.elm.parentNode.removeChild(t.elm)})}e["a"]=Object(o["a"])(n["a"]).extend({name:"detachable",props:{attach:{default:!1,validator:s},contentClass:{type:String,default:""}},data:()=>({activatorNode:null,hasDetached:!1}),watch:{attach(){this.hasDetached=!1,this.initDetach()},hasContent(){this.$nextTick(this.initDetach)}},beforeMount(){this.$nextTick(()=>{if(this.activatorNode){const t=Array.isArray(this.activatorNode)?this.activatorNode:[this.activatorNode];t.forEach(t=>{if(!t.elm)return;if(!this.$el.parentNode)return;const e=this.$el===this.$el.parentNode.firstChild?this.$el:this.$el.nextSibling;this.$el.parentNode.insertBefore(t.elm,e)})}})},mounted(){this.hasContent&&this.initDetach()},deactivated(){this.isActive=!1},beforeDestroy(){this.$refs.content&&this.$refs.content.parentNode&&this.$refs.content.parentNode.removeChild(this.$refs.content)},destroyed(){if(this.activatorNode){const t=Array.isArray(this.activatorNode)?this.activatorNode:[this.activatorNode];if(this.$el.isConnected){const e=new MutationObserver(r=>{r.some(t=>Array.from(t.removedNodes).includes(this.$el))&&(e.disconnect(),u(t))});e.observe(this.$el.parentNode,{subtree:!1,childList:!0})}else u(t)}},methods:{getScopeIdAttrs(){const t=Object(i["r"])(this.$vnode,"context.$options._scopeId");return t&&{[t]:""}},initDetach(){if(this._isDestroyed||!this.$refs.content||this.hasDetached||""===this.attach||!0===this.attach||"attach"===this.attach)return;let t;t=!1===this.attach?document.querySelector("[data-app]"):"string"===typeof this.attach?document.querySelector(this.attach):this.attach,t?(t.appendChild(this.$refs.content),this.hasDetached=!0):Object(a["c"])("Unable to locate target "+(this.attach||"[data-app]"),this)}}})},7679:function(t,e,r){"use strict";r("c79c");var n=r("e4d3"),i=r("7560"),o=r("80d2"),a=r("afdd"),s=r("326d"),u=r("58df");e["a"]=Object(u["a"])(n["a"],i["a"]).extend({name:"v-edit-dialog",props:{cancelText:{default:"Cancel"},large:Boolean,eager:Boolean,persistent:Boolean,saveText:{default:"Save"},transition:{type:String,default:"slide-x-reverse-transition"}},data(){return{isActive:!1}},watch:{isActive(t){t?(this.$emit("open"),setTimeout(this.focus,50)):this.$emit("close")}},methods:{cancel(){this.isActive=!1,this.$emit("cancel")},focus(){const t=this.$refs.content.querySelector("input");t&&t.focus()},genButton(t,e){return this.$createElement(a["b"],{props:{text:!0,color:"primary",light:!0},on:{click:t}},e)},genActions(){return this.$createElement("div",{class:"v-small-dialog__actions"},[this.genButton(this.cancel,this.cancelText),this.genButton(()=>{this.save(this.returnValue),this.$emit("save")},this.saveText)])},genContent(){return this.$createElement("div",{staticClass:"v-small-dialog__content",on:{keydown:t=>{t.keyCode===o["A"].esc&&this.cancel(),t.keyCode===o["A"].enter&&(this.save(this.returnValue),this.$emit("save"))}},ref:"content"},Object(o["u"])(this,"input"))}},render(t){return t(s["b"],{staticClass:"v-small-dialog",class:this.themeClasses,props:{contentClass:"v-small-dialog__menu-content",transition:this.transition,origin:"top right",right:!0,value:this.isActive,closeOnClick:!this.persistent,closeOnContentClick:!1,eager:this.eager,light:this.light,dark:this.dark},on:{input:t=>this.isActive=t},scopedSlots:{activator:({on:e})=>t("div",{staticClass:"v-small-dialog__activator",on:e},[t("span",{staticClass:"v-small-dialog__activator__content"},Object(o["u"])(this))])}},[this.genContent(),this.large?this.genActions():null])}})},"76cd":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("fb86"),i=r("1ec9"),o=r("2a12");const a=i.configure(t=>{async function e(e,r={}){const i=await(await t.post("bitswap/wantlist",{signal:r.signal,searchParams:o.toUrlSearchParams({...r,peer:e.toString()}),headers:r.headers})).json();return(i.Keys||[]).map(t=>n.CID.parse(t["/"]))}return e});e.createWantlistForPeer=a},"774a":function(t,e,r){"use strict";function n(t){return t.map(encodeURIComponent).join(",")}function i(t){return Array.isArray(t)?n(t):encodeURIComponent(String(t))}function o(t,e,r){if(!1===r||null===r)return t;var n=/\?/.test(t)?"&":"?",o=encodeURIComponent(e);return void 0!==r&&""!==r&&!0!==r&&(o+="="+i(r)),""+t+n+o}function a(t,e){if(!e)return t;var r=t;return Object.keys(e).forEach((function(t){var n=e[t];void 0!==n&&(Array.isArray(n)&&(n=n.filter((function(t){return null!==t&&void 0!==t})).join(",")),r=o(r,t,n))})),r}function s(t,e){if(!e)return t;if("http"===t.slice(0,4))return t;var r="/"===t[0]?"":"/";return""+e.replace(/\/$/,"")+r+t}function u(t,e){return e?t.replace(/\/:([a-zA-Z0-9]+)/g,(function(t,r){var n=e[r];if(void 0===n)throw new Error("Unspecified route parameter "+r);var o=i(n);return"/"+o})):t}t.exports={appendQueryObject:a,appendQueryParam:o,prependOrigin:s,interpolateRouteParams:u}},"782b":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("e5c3");function i(t){async function e(e,{timeout:r,signal:i,headers:o,...a}){const s=await t.post("pin/remote/add",{timeout:r,signal:i,headers:o,searchParams:n.encodeAddParams({cid:e,...a})});return n.decodePin(await s.json())}return e}e.createAdd=i},7854:function(t,e,r){"use strict";var n=r("4a69");function i(t){return n(t,(function(t,e){return"boolean"===typeof e?JSON.stringify(e):e}))}t.exports=i},7863:function(t,e,r){},"78d7":function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));r("36a7");var n=r("24b2"),i=r("58df"),o=r("80d2"),a=Object(i["a"])(n["a"]).extend({name:"v-responsive",props:{aspectRatio:[String,Number],contentClass:String},computed:{computedAspectRatio(){return Number(this.aspectRatio)},aspectStyle(){return this.computedAspectRatio?{paddingBottom:1/this.computedAspectRatio*100+"%"}:void 0},__cachedSizer(){return this.aspectStyle?this.$createElement("div",{style:this.aspectStyle,staticClass:"v-responsive__sizer"}):[]}},methods:{genContent(){return this.$createElement("div",{staticClass:"v-responsive__content",class:this.contentClass},Object(o["u"])(this))}},render(t){return t("div",{staticClass:"v-responsive",style:this.measurableStyles,on:this.$listeners},[this.__cachedSizer,this.genContent()])}});e["b"]=a},7915:function(t,e,r){"use strict";t.exports=i;var n=r("9152");function i(t){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(t)?t:new Uint8Array(t||0),this.pos=0,this.type=0,this.length=this.buf.length}i.Varint=0,i.Fixed64=1,i.Bytes=2,i.Fixed32=5;var o=4294967296,a=1/o,s=12,u="undefined"===typeof TextDecoder?null:new TextDecoder("utf-8");function c(t,e,r){var n,i,o=r.buf;if(i=o[r.pos++],n=(112&i)>>4,i<128)return h(t,n,e);if(i=o[r.pos++],n|=(127&i)<<3,i<128)return h(t,n,e);if(i=o[r.pos++],n|=(127&i)<<10,i<128)return h(t,n,e);if(i=o[r.pos++],n|=(127&i)<<17,i<128)return h(t,n,e);if(i=o[r.pos++],n|=(127&i)<<24,i<128)return h(t,n,e);if(i=o[r.pos++],n|=(1&i)<<31,i<128)return h(t,n,e);throw new Error("Expected varint not more than 10 bytes")}function l(t){return t.type===i.Bytes?t.readVarint()+t.pos:t.pos+1}function h(t,e,r){return r?4294967296*e+(t>>>0):4294967296*(e>>>0)+(t>>>0)}function f(t,e){var r,n;if(t>=0?(r=t%4294967296|0,n=t/4294967296|0):(r=~(-t%4294967296),n=~(-t/4294967296),4294967295^r?r=r+1|0:(r=0,n=n+1|0)),t>=0x10000000000000000||t<-0x10000000000000000)throw new Error("Given varint doesn't fit into 10 bytes");e.realloc(10),d(r,n,e),p(n,e)}function d(t,e,r){r.buf[r.pos++]=127&t|128,t>>>=7,r.buf[r.pos++]=127&t|128,t>>>=7,r.buf[r.pos++]=127&t|128,t>>>=7,r.buf[r.pos++]=127&t|128,t>>>=7,r.buf[r.pos]=127&t}function p(t,e){var r=(7&t)<<4;e.buf[e.pos++]|=r|((t>>>=3)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),t&&(e.buf[e.pos++]=127&t)))))}function m(t,e,r){var n=e<=16383?1:e<=2097151?2:e<=268435455?3:Math.floor(Math.log(e)/(7*Math.LN2));r.realloc(n);for(var i=r.pos-1;i>=t;i--)r.buf[i+n]=r.buf[i]}function g(t,e){for(var r=0;r<t.length;r++)e.writeVarint(t[r])}function y(t,e){for(var r=0;r<t.length;r++)e.writeSVarint(t[r])}function v(t,e){for(var r=0;r<t.length;r++)e.writeFloat(t[r])}function b(t,e){for(var r=0;r<t.length;r++)e.writeDouble(t[r])}function _(t,e){for(var r=0;r<t.length;r++)e.writeBoolean(t[r])}function w(t,e){for(var r=0;r<t.length;r++)e.writeFixed32(t[r])}function x(t,e){for(var r=0;r<t.length;r++)e.writeSFixed32(t[r])}function k(t,e){for(var r=0;r<t.length;r++)e.writeFixed64(t[r])}function S(t,e){for(var r=0;r<t.length;r++)e.writeSFixed64(t[r])}function E(t,e){return(t[e]|t[e+1]<<8|t[e+2]<<16)+16777216*t[e+3]}function M(t,e,r){t[r]=e,t[r+1]=e>>>8,t[r+2]=e>>>16,t[r+3]=e>>>24}function A(t,e){return(t[e]|t[e+1]<<8|t[e+2]<<16)+(t[e+3]<<24)}function T(t,e,r){var n="",i=e;while(i<r){var o,a,s,u=t[i],c=null,l=u>239?4:u>223?3:u>191?2:1;if(i+l>r)break;1===l?u<128&&(c=u):2===l?(o=t[i+1],128===(192&o)&&(c=(31&u)<<6|63&o,c<=127&&(c=null))):3===l?(o=t[i+1],a=t[i+2],128===(192&o)&&128===(192&a)&&(c=(15&u)<<12|(63&o)<<6|63&a,(c<=2047||c>=55296&&c<=57343)&&(c=null))):4===l&&(o=t[i+1],a=t[i+2],s=t[i+3],128===(192&o)&&128===(192&a)&&128===(192&s)&&(c=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s,(c<=65535||c>=1114112)&&(c=null))),null===c?(c=65533,l=1):c>65535&&(c-=65536,n+=String.fromCharCode(c>>>10&1023|55296),c=56320|1023&c),n+=String.fromCharCode(c),i+=l}return n}function C(t,e,r){return u.decode(t.subarray(e,r))}function L(t,e,r){for(var n,i,o=0;o<e.length;o++){if(n=e.charCodeAt(o),n>55295&&n<57344){if(!i){n>56319||o+1===e.length?(t[r++]=239,t[r++]=191,t[r++]=189):i=n;continue}if(n<56320){t[r++]=239,t[r++]=191,t[r++]=189,i=n;continue}n=i-55296<<10|n-56320|65536,i=null}else i&&(t[r++]=239,t[r++]=191,t[r++]=189,i=null);n<128?t[r++]=n:(n<2048?t[r++]=n>>6|192:(n<65536?t[r++]=n>>12|224:(t[r++]=n>>18|240,t[r++]=n>>12&63|128),t[r++]=n>>6&63|128),t[r++]=63&n|128)}return r}i.prototype={destroy:function(){this.buf=null},readFields:function(t,e,r){r=r||this.length;while(this.pos<r){var n=this.readVarint(),i=n>>3,o=this.pos;this.type=7&n,t(i,e,this),this.pos===o&&this.skip(n)}return e},readMessage:function(t,e){return this.readFields(t,e,this.readVarint()+this.pos)},readFixed32:function(){var t=E(this.buf,this.pos);return this.pos+=4,t},readSFixed32:function(){var t=A(this.buf,this.pos);return this.pos+=4,t},readFixed64:function(){var t=E(this.buf,this.pos)+E(this.buf,this.pos+4)*o;return this.pos+=8,t},readSFixed64:function(){var t=E(this.buf,this.pos)+A(this.buf,this.pos+4)*o;return this.pos+=8,t},readFloat:function(){var t=n.read(this.buf,this.pos,!0,23,4);return this.pos+=4,t},readDouble:function(){var t=n.read(this.buf,this.pos,!0,52,8);return this.pos+=8,t},readVarint:function(t){var e,r,n=this.buf;return r=n[this.pos++],e=127&r,r<128?e:(r=n[this.pos++],e|=(127&r)<<7,r<128?e:(r=n[this.pos++],e|=(127&r)<<14,r<128?e:(r=n[this.pos++],e|=(127&r)<<21,r<128?e:(r=n[this.pos],e|=(15&r)<<28,c(e,t,this)))))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var t=this.readVarint();return t%2===1?(t+1)/-2:t/2},readBoolean:function(){return Boolean(this.readVarint())},readString:function(){var t=this.readVarint()+this.pos,e=this.pos;return this.pos=t,t-e>=s&&u?C(this.buf,e,t):T(this.buf,e,t)},readBytes:function(){var t=this.readVarint()+this.pos,e=this.buf.subarray(this.pos,t);return this.pos=t,e},readPackedVarint:function(t,e){if(this.type!==i.Bytes)return t.push(this.readVarint(e));var r=l(this);t=t||[];while(this.pos<r)t.push(this.readVarint(e));return t},readPackedSVarint:function(t){if(this.type!==i.Bytes)return t.push(this.readSVarint());var e=l(this);t=t||[];while(this.pos<e)t.push(this.readSVarint());return t},readPackedBoolean:function(t){if(this.type!==i.Bytes)return t.push(this.readBoolean());var e=l(this);t=t||[];while(this.pos<e)t.push(this.readBoolean());return t},readPackedFloat:function(t){if(this.type!==i.Bytes)return t.push(this.readFloat());var e=l(this);t=t||[];while(this.pos<e)t.push(this.readFloat());return t},readPackedDouble:function(t){if(this.type!==i.Bytes)return t.push(this.readDouble());var e=l(this);t=t||[];while(this.pos<e)t.push(this.readDouble());return t},readPackedFixed32:function(t){if(this.type!==i.Bytes)return t.push(this.readFixed32());var e=l(this);t=t||[];while(this.pos<e)t.push(this.readFixed32());return t},readPackedSFixed32:function(t){if(this.type!==i.Bytes)return t.push(this.readSFixed32());var e=l(this);t=t||[];while(this.pos<e)t.push(this.readSFixed32());return t},readPackedFixed64:function(t){if(this.type!==i.Bytes)return t.push(this.readFixed64());var e=l(this);t=t||[];while(this.pos<e)t.push(this.readFixed64());return t},readPackedSFixed64:function(t){if(this.type!==i.Bytes)return t.push(this.readSFixed64());var e=l(this);t=t||[];while(this.pos<e)t.push(this.readSFixed64());return t},skip:function(t){var e=7&t;if(e===i.Varint)while(this.buf[this.pos++]>127);else if(e===i.Bytes)this.pos=this.readVarint()+this.pos;else if(e===i.Fixed32)this.pos+=4;else{if(e!==i.Fixed64)throw new Error("Unimplemented type: "+e);this.pos+=8}},writeTag:function(t,e){this.writeVarint(t<<3|e)},realloc:function(t){var e=this.length||16;while(e<this.pos+t)e*=2;if(e!==this.length){var r=new Uint8Array(e);r.set(this.buf),this.buf=r,this.length=e}},finish:function(){return this.length=this.pos,this.pos=0,this.buf.subarray(0,this.length)},writeFixed32:function(t){this.realloc(4),M(this.buf,t,this.pos),this.pos+=4},writeSFixed32:function(t){this.realloc(4),M(this.buf,t,this.pos),this.pos+=4},writeFixed64:function(t){this.realloc(8),M(this.buf,-1&t,this.pos),M(this.buf,Math.floor(t*a),this.pos+4),this.pos+=8},writeSFixed64:function(t){this.realloc(8),M(this.buf,-1&t,this.pos),M(this.buf,Math.floor(t*a),this.pos+4),this.pos+=8},writeVarint:function(t){t=+t||0,t>268435455||t<0?f(t,this):(this.realloc(4),this.buf[this.pos++]=127&t|(t>127?128:0),t<=127||(this.buf[this.pos++]=127&(t>>>=7)|(t>127?128:0),t<=127||(this.buf[this.pos++]=127&(t>>>=7)|(t>127?128:0),t<=127||(this.buf[this.pos++]=t>>>7&127))))},writeSVarint:function(t){this.writeVarint(t<0?2*-t-1:2*t)},writeBoolean:function(t){this.writeVarint(Boolean(t))},writeString:function(t){t=String(t),this.realloc(4*t.length),this.pos++;var e=this.pos;this.pos=L(this.buf,t,this.pos);var r=this.pos-e;r>=128&&m(e,r,this),this.pos=e-1,this.writeVarint(r),this.pos+=r},writeFloat:function(t){this.realloc(4),n.write(this.buf,t,this.pos,!0,23,4),this.pos+=4},writeDouble:function(t){this.realloc(8),n.write(this.buf,t,this.pos,!0,52,8),this.pos+=8},writeBytes:function(t){var e=t.length;this.writeVarint(e),this.realloc(e);for(var r=0;r<e;r++)this.buf[this.pos++]=t[r]},writeRawMessage:function(t,e){this.pos++;var r=this.pos;t(e,this);var n=this.pos-r;n>=128&&m(r,n,this),this.pos=r-1,this.writeVarint(n),this.pos+=n},writeMessage:function(t,e,r){this.writeTag(t,i.Bytes),this.writeRawMessage(e,r)},writePackedVarint:function(t,e){e.length&&this.writeMessage(t,g,e)},writePackedSVarint:function(t,e){e.length&&this.writeMessage(t,y,e)},writePackedBoolean:function(t,e){e.length&&this.writeMessage(t,_,e)},writePackedFloat:function(t,e){e.length&&this.writeMessage(t,v,e)},writePackedDouble:function(t,e){e.length&&this.writeMessage(t,b,e)},writePackedFixed32:function(t,e){e.length&&this.writeMessage(t,w,e)},writePackedSFixed32:function(t,e){e.length&&this.writeMessage(t,x,e)},writePackedFixed64:function(t,e){e.length&&this.writeMessage(t,k,e)},writePackedSFixed64:function(t,e){e.length&&this.writeMessage(t,S,e)},writeBytesField:function(t,e){this.writeTag(t,i.Bytes),this.writeBytes(e)},writeFixed32Field:function(t,e){this.writeTag(t,i.Fixed32),this.writeFixed32(e)},writeSFixed32Field:function(t,e){this.writeTag(t,i.Fixed32),this.writeSFixed32(e)},writeFixed64Field:function(t,e){this.writeTag(t,i.Fixed64),this.writeFixed64(e)},writeSFixed64Field:function(t,e){this.writeTag(t,i.Fixed64),this.writeSFixed64(e)},writeVarintField:function(t,e){this.writeTag(t,i.Varint),this.writeVarint(e)},writeSVarintField:function(t,e){this.writeTag(t,i.Varint),this.writeSVarint(e)},writeStringField:function(t,e){this.writeTag(t,i.Bytes),this.writeString(e)},writeFloatField:function(t,e){this.writeTag(t,i.Fixed32),this.writeFloat(e)},writeDoubleField:function(t,e){this.writeTag(t,i.Fixed64),this.writeDouble(e)},writeBooleanField:function(t,e){this.writeVarintField(t,Boolean(e))}}},7917:function(t,e,r){"use strict";var n=r("c532");function i(t,e,r,n,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i,this.status=i.status?i.status:null)}n["a"].inherits(i,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:n["a"].toJSONObject(this.config),code:this.code,status:this.status}}});const o=i.prototype,a={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{a[t]={value:t}}),Object.defineProperties(i,a),Object.defineProperty(o,"isAxiosError",{value:!0}),i.from=(t,e,r,a,s,u)=>{const c=Object.create(o);return n["a"].toFlatObject(t,c,(function(t){return t!==Error.prototype}),t=>"isAxiosError"!==t),i.call(c,t.message,e,r,a,s),c.cause=t,c.name=t.name,u&&Object.assign(c,u),c},e["a"]=i},7958:function(t,e,r){},"7a56":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("dc74");const i=Array.from("🚀🪐☄🛰🌌🌑🌒🌓🌔🌕🌖🌗🌘🌍🌏🌎🐉☀💻🖥💾💿😂❤😍🤣😊🙏💕😭😘👍😅👏😁🔥🥰💔💖💙😢🤔😆🙄💪😉☺👌🤗💜😔😎😇🌹🤦🎉💞✌✨🤷😱😌🌸🙌😋💗💚😏💛🙂💓🤩😄😀🖤😃💯🙈👇🎶😒🤭❣😜💋👀😪😑💥🙋😞😩😡🤪👊🥳😥🤤👉💃😳✋😚😝😴🌟😬🙃🍀🌷😻😓⭐✅🥺🌈😈🤘💦✔😣🏃💐☹🎊💘😠☝😕🌺🎂🌻😐🖕💝🙊😹🗣💫💀👑🎵🤞😛🔴😤🌼😫⚽🤙☕🏆🤫👈😮🙆🍻🍃🐶💁😲🌿🧡🎁⚡🌞🎈❌✊👋😰🤨😶🤝🚶💰🍓💢🤟🙁🚨💨🤬✈🎀🍺🤓😙💟🌱😖👶🥴▶➡❓💎💸⬇😨🌚🦋😷🕺⚠🙅😟😵👎🤲🤠🤧📌🔵💅🧐🐾🍒😗🤑🌊🤯🐷☎💧😯💆👆🎤🙇🍑❄🌴💣🐸💌📍🥀🤢👅💡💩👐📸👻🤐🤮🎼🥵🚩🍎🍊👼💍📣🥂"),o=i.reduce((t,e,r)=>(t[r]=e,t),[]),a=i.reduce((t,e,r)=>(t[e.codePointAt(0)]=r,t),[]);function s(t){return t.reduce((t,e)=>(t+=o[e],t),"")}function u(t){const e=[];for(const r of t){const t=a[r.codePointAt(0)];if(void 0===t)throw new Error("Non-base256emoji character: "+r);e.push(t)}return new Uint8Array(e)}const c=n.from({prefix:"🚀",name:"base256emoji",encode:s,decode:u});e.base256emoji=c},"7b4d":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("e5c3");function i(t){async function e({timeout:e,signal:r,headers:i,...o}){await t.post("pin/remote/rm",{timeout:e,signal:r,headers:i,searchParams:n.encodeQuery({...o,all:!1})})}return e}e.createRm=i},"7bc6":function(t,e,r){"use strict";r.d(e,"n",(function(){return a})),r.d(e,"k",(function(){return s})),r.d(e,"m",(function(){return u})),r.d(e,"j",(function(){return c})),r.d(e,"d",(function(){return l})),r.d(e,"g",(function(){return h})),r.d(e,"b",(function(){return f})),r.d(e,"a",(function(){return d})),r.d(e,"f",(function(){return p})),r.d(e,"i",(function(){return m})),r.d(e,"h",(function(){return g})),r.d(e,"e",(function(){return v})),r.d(e,"c",(function(){return b})),r.d(e,"o",(function(){return _})),r.d(e,"l",(function(){return x}));var n=r("d9bd"),i=r("80d2"),o=r("8da5");function a(t){return!!t&&!!t.match(/^(#|var\(--|(rgb|hsl)a?\()/)}function s(t){let e;if("number"===typeof t)e=t;else{if("string"!==typeof t)throw new TypeError(`Colors can only be numbers or strings, recieved ${null==t?t:t.constructor.name} instead`);{let r="#"===t[0]?t.substring(1):t;3===r.length&&(r=r.split("").map(t=>t+t).join("")),6!==r.length&&Object(n["c"])(`'${t}' is not a valid rgb color`),e=parseInt(r,16)}}return e<0?(Object(n["c"])(`Colors cannot be negative: '${t}'`),e=0):(e>16777215||isNaN(e))&&(Object(n["c"])(`'${t}' is not a valid rgb color`),e=16777215),e}function u(t){let e=t.toString(16);return e.length<6&&(e="0".repeat(6-e.length)+e),"#"+e}function c(t){return u(s(t))}function l(t){const{h:e,s:r,v:n,a:i}=t,o=t=>{const i=(t+e/60)%6;return n-n*r*Math.max(Math.min(i,4-i,1),0)},a=[o(5),o(3),o(1)].map(t=>Math.round(255*t));return{r:a[0],g:a[1],b:a[2],a:i}}function h(t){if(!t)return{h:0,s:1,v:1,a:1};const e=t.r/255,r=t.g/255,n=t.b/255,i=Math.max(e,r,n),o=Math.min(e,r,n);let a=0;i!==o&&(i===e?a=60*(0+(r-n)/(i-o)):i===r?a=60*(2+(n-e)/(i-o)):i===n&&(a=60*(4+(e-r)/(i-o)))),a<0&&(a+=360);const s=0===i?0:(i-o)/i,u=[a,s,i];return{h:u[0],s:u[1],v:u[2],a:t.a}}function f(t){const{h:e,s:r,v:n,a:i}=t,o=n-n*r/2,a=1===o||0===o?0:(n-o)/Math.min(o,1-o);return{h:e,s:a,l:o,a:i}}function d(t){const{h:e,s:r,l:n,a:i}=t,o=n+r*Math.min(n,1-n),a=0===o?0:2-2*n/o;return{h:e,s:a,v:o,a:i}}function p(t){return`rgba(${t.r}, ${t.g}, ${t.b}, ${t.a})`}function m(t){return p({...t,a:1})}function g(t){const e=t=>{const e=Math.round(t).toString(16);return("00".substr(0,2-e.length)+e).toUpperCase()};return"#"+[e(t.r),e(t.g),e(t.b),e(Math.round(255*t.a))].join("")}function y(t){const e=Object(i["f"])(t.slice(1),2).map(t=>parseInt(t,16));return{r:e[0],g:e[1],b:e[2],a:Math.round(e[3]/255*100)/100}}function v(t){const e=y(t);return h(e)}function b(t){return g(l(t))}function _(t){return t.startsWith("#")&&(t=t.slice(1)),t=t.replace(/([^0-9a-f])/gi,"F"),3!==t.length&&4!==t.length||(t=t.split("").map(t=>t+t).join("")),t=6===t.length?Object(i["D"])(t,8,"F"):Object(i["D"])(Object(i["D"])(t,6),8,"F"),("#"+t).toUpperCase().substr(0,9)}function w(t){return(t.r<<16)+(t.g<<8)+t.b}function x(t,e){const[,r]=Object(o["b"])(w(t)),[,n]=Object(o["b"])(w(e));return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}},"7be6":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),r="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function n(t){return t>1&&t<5}function i(t,e,r,i){var o=t+" ";switch(r){case"s":return e||i?"pár sekúnd":"pár sekundami";case"ss":return e||i?o+(n(t)?"sekundy":"sekúnd"):o+"sekundami";case"m":return e?"minúta":i?"minútu":"minútou";case"mm":return e||i?o+(n(t)?"minúty":"minút"):o+"minútami";case"h":return e?"hodina":i?"hodinu":"hodinou";case"hh":return e||i?o+(n(t)?"hodiny":"hodín"):o+"hodinami";case"d":return e||i?"deň":"dňom";case"dd":return e||i?o+(n(t)?"dni":"dní"):o+"dňami";case"M":return e||i?"mesiac":"mesiacom";case"MM":return e||i?o+(n(t)?"mesiace":"mesiacov"):o+"mesiacmi";case"y":return e||i?"rok":"rokom";case"yy":return e||i?o+(n(t)?"roky":"rokov"):o+"rokmi"}}var o=t.defineLocale("sk",{months:e,monthsShort:r,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_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ľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú 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}});return o}))},"7c8d":function(t,e,r){
/*!
 * Compressor.js v1.2.1
 * https://fengyuanchen.github.io/compressorjs
 *
 * Copyright 2018-present Chen Fengyuan
 * Released under the MIT license
 *
 * Date: 2023-02-28T14:09:41.732Z
 */
(function(e,r){t.exports=r()})(0,(function(){"use strict";function t(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function e(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?t(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):t(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,u(n.key),n)}}function i(t,e,r){return e&&n(t.prototype,e),r&&n(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function o(t,e,r){return e=u(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function a(){return a=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},a.apply(this,arguments)}function s(t,e){if("object"!==typeof t||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}function u(t){var e=s(t,"string");return"symbol"===typeof e?e:String(e)}var c={exports:{}};(function(t){"undefined"!==typeof window&&function(e){var r=e.HTMLCanvasElement&&e.HTMLCanvasElement.prototype,n=e.Blob&&function(){try{return Boolean(new Blob)}catch(t){return!1}}(),i=n&&e.Uint8Array&&function(){try{return 100===new Blob([new Uint8Array(100)]).size}catch(t){return!1}}(),o=e.BlobBuilder||e.WebKitBlobBuilder||e.MozBlobBuilder||e.MSBlobBuilder,a=/^data:((.*?)(;charset=.*?)?)(;base64)?,/,s=(n||o)&&e.atob&&e.ArrayBuffer&&e.Uint8Array&&function(t){var e,r,s,u,c,l,h,f,d;if(e=t.match(a),!e)throw new Error("invalid data URI");for(r=e[2]?e[1]:"text/plain"+(e[3]||";charset=US-ASCII"),s=!!e[4],u=t.slice(e[0].length),c=s?atob(u):decodeURIComponent(u),l=new ArrayBuffer(c.length),h=new Uint8Array(l),f=0;f<c.length;f+=1)h[f]=c.charCodeAt(f);return n?new Blob([i?h:l],{type:r}):(d=new o,d.append(l),d.getBlob(r))};e.HTMLCanvasElement&&!r.toBlob&&(r.mozGetAsFile?r.toBlob=function(t,e,n){var i=this;setTimeout((function(){n&&r.toDataURL&&s?t(s(i.toDataURL(e,n))):t(i.mozGetAsFile("blob",e))}))}:r.toDataURL&&s&&(r.msToBlob?r.toBlob=function(t,e,n){var i=this;setTimeout((function(){(e&&"image/png"!==e||n)&&r.toDataURL&&s?t(s(i.toDataURL(e,n))):t(i.msToBlob(e))}))}:r.toBlob=function(t,e,r){var n=this;setTimeout((function(){t(s(n.toDataURL(e,r)))}))})),t.exports?t.exports=s:e.dataURLtoBlob=s}(window)})(c);var l=c.exports,h=function(t){return"undefined"!==typeof Blob&&(t instanceof Blob||"[object Blob]"===Object.prototype.toString.call(t))},f={strict:!0,checkOrientation:!0,retainExif:!1,maxWidth:1/0,maxHeight:1/0,minWidth:0,minHeight:0,width:void 0,height:void 0,resize:"none",quality:.8,mimeType:"auto",convertTypes:["image/png"],convertSize:5e6,beforeDraw:null,drew:null,success:null,error:null},d="undefined"!==typeof window&&"undefined"!==typeof window.document,p=d?window:{},m=function(t){return t>0&&t<1/0},g=Array.prototype.slice;function y(t){return Array.from?Array.from(t):g.call(t)}var v=/^image\/.+$/;function b(t){return v.test(t)}function _(t){var e=b(t)?t.substr(6):"";return"jpeg"===e&&(e="jpg"),".".concat(e)}var w=String.fromCharCode;function x(t,e,r){var n,i="";for(r+=e,n=e;n<r;n+=1)i+=w(t.getUint8(n));return i}var k=p.btoa;function S(t,e){var r=[],n=8192,i=new Uint8Array(t);while(i.length>0)r.push(w.apply(null,y(i.subarray(0,n)))),i=i.subarray(n);return"data:".concat(e,";base64,").concat(k(r.join("")))}function E(t){var e,r=new DataView(t);try{var n,i,o;if(255===r.getUint8(0)&&216===r.getUint8(1)){var a=r.byteLength,s=2;while(s+1<a){if(255===r.getUint8(s)&&225===r.getUint8(s+1)){i=s;break}s+=1}}if(i){var u=i+4,c=i+10;if("Exif"===x(r,u,4)){var l=r.getUint16(c);if(n=18761===l,(n||19789===l)&&42===r.getUint16(c+2,n)){var h=r.getUint32(c+4,n);h>=8&&(o=c+h)}}}if(o){var f,d,p=r.getUint16(o,n);for(d=0;d<p;d+=1)if(f=o+12*d+2,274===r.getUint16(f,n)){f+=8,e=r.getUint16(f,n),r.setUint16(f,1,n);break}}}catch(m){e=1}return e}function M(t){var e=0,r=1,n=1;switch(t){case 2:r=-1;break;case 3:e=-180;break;case 4:n=-1;break;case 5:e=90,n=-1;break;case 6:e=90;break;case 7:e=90,r=-1;break;case 8:e=-90;break}return{rotate:e,scaleX:r,scaleY:n}}var A=/\.\d*(?:0|9){12}\d*$/;function T(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e11;return A.test(t)?Math.round(t*e)/e:t}function C(t){var e=t.aspectRatio,r=t.height,n=t.width,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none",o=m(n),a=m(r);if(o&&a){var s=r*e;("contain"===i||"none"===i)&&s>n||"cover"===i&&s<n?r=n/e:n=r*e}else o?r=n/e:a&&(n=r*e);return{width:n,height:r}}function L(t){var e=y(new Uint8Array(t)),r=e.length,n=[],i=0;while(i+3<r){var o=e[i],a=e[i+1];if(255===o&&218===a)break;if(255===o&&216===a)i+=2;else{var s=256*e[i+2]+e[i+3],u=i+s+2,c=e.slice(i,u);n.push(c),i=u}}return n.reduce((function(t,e){return 255===e[0]&&225===e[1]?t.concat(e):t}),[])}function P(t,e){var r=y(new Uint8Array(t));if(255!==r[2]||224!==r[3])return t;var n=256*r[4]+r[5],i=[255,216].concat(e,r.slice(4+n));return new Uint8Array(i)}var O=p.ArrayBuffer,I=p.FileReader,D=p.URL||p.webkitURL,B=/\.\w+$/,j=p.Compressor,N=function(){function t(n,i){r(this,t),this.file=n,this.exif=[],this.image=new Image,this.options=e(e({},f),i),this.aborted=!1,this.result=null,this.init()}return i(t,[{key:"init",value:function(){var t=this,e=this.file,r=this.options;if(h(e)){var n=e.type;if(b(n))if(D&&I){O||(r.checkOrientation=!1,r.retainExif=!1);var i="image/jpeg"===n,o=i&&r.checkOrientation,s=i&&r.retainExif;if(!D||o||s){var u=new I;this.reader=u,u.onload=function(r){var i=r.target,u=i.result,c={},l=1;o&&(l=E(u),l>1&&a(c,M(l))),s&&(t.exif=L(u)),c.url=o||s?!D||l>1?S(u,n):D.createObjectURL(e):u,t.load(c)},u.onabort=function(){t.fail(new Error("Aborted to read the image with FileReader."))},u.onerror=function(){t.fail(new Error("Failed to read the image with FileReader."))},u.onloadend=function(){t.reader=null},o||s?u.readAsArrayBuffer(e):u.readAsDataURL(e)}else this.load({url:D.createObjectURL(e)})}else this.fail(new Error("The current browser does not support image compression."));else this.fail(new Error("The first argument must be an image File or Blob object."))}else this.fail(new Error("The first argument must be a File or Blob object."))}},{key:"load",value:function(t){var r=this,n=this.file,i=this.image;i.onload=function(){r.draw(e(e({},t),{},{naturalWidth:i.naturalWidth,naturalHeight:i.naturalHeight}))},i.onabort=function(){r.fail(new Error("Aborted to load the image."))},i.onerror=function(){r.fail(new Error("Failed to load the image."))},p.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(p.navigator.userAgent)&&(i.crossOrigin="anonymous"),i.alt=n.name,i.src=t.url}},{key:"draw",value:function(t){var e=this,r=t.naturalWidth,n=t.naturalHeight,i=t.rotate,o=void 0===i?0:i,a=t.scaleX,s=void 0===a?1:a,u=t.scaleY,c=void 0===u?1:u,h=this.file,f=this.image,d=this.options,p=document.createElement("canvas"),g=p.getContext("2d"),y=Math.abs(o)%180===90,v=("contain"===d.resize||"cover"===d.resize)&&m(d.width)&&m(d.height),_=Math.max(d.maxWidth,0)||1/0,w=Math.max(d.maxHeight,0)||1/0,x=Math.max(d.minWidth,0)||0,k=Math.max(d.minHeight,0)||0,E=r/n,M=d.width,A=d.height;if(y){var L=[w,_];_=L[0],w=L[1];var O=[k,x];x=O[0],k=O[1];var D=[A,M];M=D[0],A=D[1]}v&&(E=M/A);var B=C({aspectRatio:E,width:_,height:w},"contain");_=B.width,w=B.height;var j=C({aspectRatio:E,width:x,height:k},"cover");if(x=j.width,k=j.height,v){var N=C({aspectRatio:E,width:M,height:A},d.resize);M=N.width,A=N.height}else{var R=C({aspectRatio:E,width:M,height:A}),F=R.width;M=void 0===F?r:F;var Y=R.height;A=void 0===Y?n:Y}M=Math.floor(T(Math.min(Math.max(M,x),_))),A=Math.floor(T(Math.min(Math.max(A,k),w)));var U=-M/2,H=-A/2,z=M,V=A,$=[];if(v){var q=0,G=0,W=r,K=n,X=C({aspectRatio:E,width:r,height:n},{contain:"cover",cover:"contain"}[d.resize]);W=X.width,K=X.height,q=(r-W)/2,G=(n-K)/2,$.push(q,G,W,K)}if($.push(U,H,z,V),y){var J=[A,M];M=J[0],A=J[1]}p.width=M,p.height=A,b(d.mimeType)||(d.mimeType=h.type);var Z="transparent";h.size>d.convertSize&&d.convertTypes.indexOf(d.mimeType)>=0&&(d.mimeType="image/jpeg");var Q="image/jpeg"===d.mimeType;if(Q&&(Z="#fff"),g.fillStyle=Z,g.fillRect(0,0,M,A),d.beforeDraw&&d.beforeDraw.call(this,g,p),!this.aborted&&(g.save(),g.translate(M/2,A/2),g.rotate(o*Math.PI/180),g.scale(s,c),g.drawImage.apply(g,[f].concat($)),g.restore(),d.drew&&d.drew.call(this,g,p),!this.aborted)){var tt=function(t){if(!e.aborted){var i=function(t){return e.done({naturalWidth:r,naturalHeight:n,result:t})};if(t&&Q&&d.retainExif&&e.exif&&e.exif.length>0){var o=function(t){return i(l(S(P(t,e.exif),d.mimeType)))};if(t.arrayBuffer)t.arrayBuffer().then(o).catch((function(){e.fail(new Error("Failed to read the compressed image with Blob.arrayBuffer()."))}));else{var a=new I;e.reader=a,a.onload=function(t){var e=t.target;o(e.result)},a.onabort=function(){e.fail(new Error("Aborted to read the compressed image with FileReader."))},a.onerror=function(){e.fail(new Error("Failed to read the compressed image with FileReader."))},a.onloadend=function(){e.reader=null},a.readAsArrayBuffer(t)}}else i(t)}};p.toBlob?p.toBlob(tt,d.mimeType,d.quality):tt(l(p.toDataURL(d.mimeType,d.quality)))}}},{key:"done",value:function(t){var e=t.naturalWidth,r=t.naturalHeight,n=t.result,i=this.file,o=this.image,a=this.options;if(D&&0===o.src.indexOf("blob:")&&D.revokeObjectURL(o.src),n)if(a.strict&&!a.retainExif&&n.size>i.size&&a.mimeType===i.type&&!(a.width>e||a.height>r||a.minWidth>e||a.minHeight>r||a.maxWidth<e||a.maxHeight<r))n=i;else{var s=new Date;n.lastModified=s.getTime(),n.lastModifiedDate=s,n.name=i.name,n.name&&n.type!==i.type&&(n.name=n.name.replace(B,_(n.type)))}else n=i;this.result=n,a.success&&a.success.call(this,n)}},{key:"fail",value:function(t){var e=this.options;if(!e.error)throw t;e.error.call(this,t)}},{key:"abort",value:function(){this.aborted||(this.aborted=!0,this.reader?this.reader.abort():this.image.complete?this.fail(new Error("The compression process has been aborted.")):(this.image.onload=null,this.image.onabort()))}}],[{key:"noConflict",value:function(){return window.Compressor=j,t}},{key:"setDefaults",value:function(t){a(f,t)}}]),t}();return N}))},"7cf7":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1755"),i=r("b92d"),o=r("ac23");function a(t,e,r,o){return new n.Token(n.Type.negint,-1-i.readUint8(t,e+1,o),2)}function s(t,e,r,o){return new n.Token(n.Type.negint,-1-i.readUint16(t,e+1,o),3)}function u(t,e,r,o){return new n.Token(n.Type.negint,-1-i.readUint32(t,e+1,o),5)}const c=BigInt(-1),l=BigInt(1);function h(t,e,r,a){const s=i.readUint64(t,e+1,a);if("bigint"!==typeof s){const t=-1-s;if(t>=Number.MIN_SAFE_INTEGER)return new n.Token(n.Type.negint,t,9)}if(!0!==a.allowBigInt)throw new Error(o.decodeErrPrefix+" integers outside of the safe integer range are not supported");return new n.Token(n.Type.negint,c-BigInt(s),9)}function f(t,e){const r=e.value,n="bigint"===typeof r?r*c-l:-1*r-1;i.encodeUintValue(t,e.type.majorEncoded,n)}f.encodedSize=function(t){const e=t.value,r="bigint"===typeof e?e*c-l:-1*e-1;return r<i.uintBoundaries[0]?1:r<i.uintBoundaries[1]?2:r<i.uintBoundaries[2]?3:r<i.uintBoundaries[3]?5:9},f.compareTokens=function(t,e){return t.value<e.value?1:t.value>e.value?-1:0},e.decodeNegint16=s,e.decodeNegint32=u,e.decodeNegint64=h,e.decodeNegint8=a,e.encodeNegint=f},"7d8f":function(t,e,r){"use strict";r.d(e,"b",(function(){return c})),r.d(e,"a",(function(){return l}));var n=r("fff9"),i=r("0246");function o(t){if("number"===typeof t)return t;let e=u(t);if(!e)throw"string"===typeof t?new Error(`Target element "${t}" not found.`):new TypeError(`Target must be a Number/Selector/HTMLElement/VueComponent, received ${s(t)} instead.`);let r=0;while(e)r+=e.offsetTop,e=e.offsetParent;return r}function a(t){const e=u(t);if(e)return e;throw"string"===typeof t?new Error(`Container element "${t}" not found.`):new TypeError(`Container must be a Selector/HTMLElement/VueComponent, received ${s(t)} instead.`)}function s(t){return null==t?t:t.constructor.name}function u(t){return"string"===typeof t?document.querySelector(t):t&&t._isVue?t.$el:t instanceof HTMLElement?t:null}function c(t,e={}){const r={container:document.scrollingElement||document.body||document.documentElement,duration:500,offset:0,easing:"easeInOutCubic",appOffset:!0,...e},n=a(r.container);if(r.appOffset&&c.framework.application){const t=n.classList.contains("v-navigation-drawer"),e=n.classList.contains("v-navigation-drawer--clipped"),{bar:i,top:o}=c.framework.application;r.offset+=i,t&&!e||(r.offset+=o)}const s=performance.now();let u;u="number"===typeof t?o(t)-r.offset:o(t)-o(n)-r.offset;const l=n.scrollTop;if(u===l)return Promise.resolve(u);const h="function"===typeof r.easing?r.easing:i[r.easing];if(!h)throw new TypeError(`Easing function "${r.easing}" not found.`);return new Promise(t=>requestAnimationFrame((function e(i){const o=i-s,a=Math.abs(r.duration?Math.min(o/r.duration,1):1);n.scrollTop=Math.floor(l+(u-l)*h(a));const c=n===document.body?document.documentElement.clientHeight:n.clientHeight,f=c+n.scrollTop>=n.scrollHeight;if(1===a||u>n.scrollTop&&f)return t(u);requestAnimationFrame(e)})))}c.framework={},c.init=()=>{};class l extends n["a"]{constructor(){return super(),c}}l.property="goTo"},"7dae":function(t,e,r){"use strict";var n=r("50de");e["a"]=(t,e)=>{const[r,i]=t.split("-").map(Number);return i+e===0?r-1+"-12":i+e===13?r+1+"-01":`${r}-${Object(n["a"])(i+e)}`}},"7e2b":function(t,e,r){"use strict";var n=r("2b0e");function i(t){return function(e,r){for(const n in r)Object.prototype.hasOwnProperty.call(e,n)||this.$delete(this.$data[t],n);for(const n in e)this.$set(this.$data[t],n,e[n])}}e["a"]=n["default"].extend({data:()=>({attrs$:{},listeners$:{}}),created(){this.$watch("$attrs",i("attrs$"),{immediate:!0}),this.$watch("$listeners",i("listeners$"),{immediate:!0})}})},"7e58":function(t,e,r){},"7efd":function(t,e,r){"use strict";r.d(e,"a",(function(){return p}));r("608c");var n=r("9d26"),i=r("0789"),o=r("604c"),a=r("e4cd"),s=r("dc22"),u=r("c3f0"),c=r("58df"),l=r("80d2");function h(t){const e=.501,r=Math.abs(t);return Math.sign(t)*(r/((1/e-2)*(1-r)+1))}function f(t,e,r,n){const i=t.clientWidth,o=r?e.content-t.offsetLeft-i:t.offsetLeft;r&&(n=-n);const a=e.wrapper+n,s=i+o,u=.4*i;return o<=n?n=Math.max(o-u,0):a<=s&&(n=Math.min(n-(a-s-u),e.content-e.wrapper)),r?-n:n}function d(t,e,r){const{offsetLeft:n,clientWidth:i}=t;if(r){const t=e.content-n-i/2-e.wrapper/2;return-Math.min(e.content-e.wrapper,Math.max(0,t))}{const t=n+i/2-e.wrapper/2;return Math.min(e.content-e.wrapper,Math.max(0,t))}}const p=Object(c["a"])(o["a"],a["a"]).extend({name:"base-slide-group",directives:{Resize:s["b"],Touch:u["b"]},props:{activeClass:{type:String,default:"v-slide-item--active"},centerActive:Boolean,nextIcon:{type:String,default:"$next"},prevIcon:{type:String,default:"$prev"},showArrows:{type:[Boolean,String],validator:t=>"boolean"===typeof t||["always","never","desktop","mobile"].includes(t)}},data:()=>({isOverflowing:!1,resizeTimeout:0,startX:0,isSwipingHorizontal:!1,isSwiping:!1,scrollOffset:0,widths:{content:0,wrapper:0}}),computed:{canTouch(){return"undefined"!==typeof window},__cachedNext(){return this.genTransition("next")},__cachedPrev(){return this.genTransition("prev")},classes(){return{...o["a"].options.computed.classes.call(this),"v-slide-group":!0,"v-slide-group--has-affixes":this.hasAffixes,"v-slide-group--is-overflowing":this.isOverflowing}},hasAffixes(){switch(this.showArrows){case"always":return!0;case"desktop":return!this.isMobile;case!0:return this.isOverflowing||Math.abs(this.scrollOffset)>0;case"mobile":return this.isMobile||this.isOverflowing||Math.abs(this.scrollOffset)>0;case"never":return!1;default:return!this.isMobile&&(this.isOverflowing||Math.abs(this.scrollOffset)>0)}},hasNext(){if(!this.hasAffixes)return!1;const{content:t,wrapper:e}=this.widths;return t>Math.abs(this.scrollOffset)+e},hasPrev(){return this.hasAffixes&&0!==this.scrollOffset}},watch:{internalValue:"setWidths",isOverflowing:"setWidths",scrollOffset(t){this.$vuetify.rtl&&(t=-t);let e=t<=0?h(-t):t>this.widths.content-this.widths.wrapper?-(this.widths.content-this.widths.wrapper)+h(this.widths.content-this.widths.wrapper-t):-t;this.$vuetify.rtl&&(e=-e),this.$refs.content.style.transform=`translateX(${e}px)`}},mounted(){if("undefined"!==typeof ResizeObserver){const t=new ResizeObserver(()=>{this.onResize()});t.observe(this.$el),t.observe(this.$refs.content),this.$on("hook:destroyed",()=>{t.disconnect()})}else{let t=0;this.$on("hook:beforeUpdate",()=>{var e;t=((null===(e=this.$refs.content)||void 0===e?void 0:e.children)||[]).length}),this.$on("hook:updated",()=>{var e;t!==((null===(e=this.$refs.content)||void 0===e?void 0:e.children)||[]).length&&this.setWidths()})}},methods:{onScroll(){this.$refs.wrapper.scrollLeft=0},onFocusin(t){if(this.isOverflowing)for(const e of Object(l["h"])(t))for(const t of this.items)if(t.$el===e)return void(this.scrollOffset=f(t.$el,this.widths,this.$vuetify.rtl,this.scrollOffset))},genNext(){const t=this.$scopedSlots.next?this.$scopedSlots.next({}):Object(l["u"])(this,"next")||this.__cachedNext;return this.$createElement("div",{staticClass:"v-slide-group__next",class:{"v-slide-group__next--disabled":!this.hasNext},on:{click:()=>this.onAffixClick("next")},key:"next"},[t])},genContent(){return this.$createElement("div",{staticClass:"v-slide-group__content",ref:"content",on:{focusin:this.onFocusin}},Object(l["u"])(this))},genData(){return{class:this.classes,directives:[{name:"resize",value:this.onResize}]}},genIcon(t){let e=t;this.$vuetify.rtl&&"prev"===t?e="next":this.$vuetify.rtl&&"next"===t&&(e="prev");const r=`${t[0].toUpperCase()}${t.slice(1)}`,i=this["has"+r];return this.showArrows||i?this.$createElement(n["b"],{props:{disabled:!i}},this[e+"Icon"]):null},genPrev(){const t=this.$scopedSlots.prev?this.$scopedSlots.prev({}):Object(l["u"])(this,"prev")||this.__cachedPrev;return this.$createElement("div",{staticClass:"v-slide-group__prev",class:{"v-slide-group__prev--disabled":!this.hasPrev},on:{click:()=>this.onAffixClick("prev")},key:"prev"},[t])},genTransition(t){return this.$createElement(i["i"],[this.genIcon(t)])},genWrapper(){return this.$createElement("div",{staticClass:"v-slide-group__wrapper",directives:[{name:"touch",value:{start:t=>this.overflowCheck(t,this.onTouchStart),move:t=>this.overflowCheck(t,this.onTouchMove),end:t=>this.overflowCheck(t,this.onTouchEnd)}}],ref:"wrapper",on:{scroll:this.onScroll}},[this.genContent()])},calculateNewOffset(t,e,r,n){const i=r?-1:1,o=i*n+("prev"===t?-1:1)*e.wrapper;return i*Math.max(Math.min(o,e.content-e.wrapper),0)},onAffixClick(t){this.$emit("click:"+t),this.scrollTo(t)},onResize(){this._isDestroyed||this.setWidths()},onTouchStart(t){const{content:e}=this.$refs;this.startX=this.scrollOffset+t.touchstartX,e.style.setProperty("transition","none"),e.style.setProperty("willChange","transform")},onTouchMove(t){if(this.canTouch){if(!this.isSwiping){const e=t.touchmoveX-t.touchstartX,r=t.touchmoveY-t.touchstartY;this.isSwipingHorizontal=Math.abs(e)>Math.abs(r),this.isSwiping=!0}this.isSwipingHorizontal&&(this.scrollOffset=this.startX-t.touchmoveX,document.documentElement.style.overflowY="hidden")}},onTouchEnd(){if(!this.canTouch)return;const{content:t,wrapper:e}=this.$refs,r=t.clientWidth-e.clientWidth;t.style.setProperty("transition",null),t.style.setProperty("willChange",null),this.$vuetify.rtl?this.scrollOffset>0||!this.isOverflowing?this.scrollOffset=0:this.scrollOffset<=-r&&(this.scrollOffset=-r):this.scrollOffset<0||!this.isOverflowing?this.scrollOffset=0:this.scrollOffset>=r&&(this.scrollOffset=r),this.isSwiping=!1,document.documentElement.style.removeProperty("overflow-y")},overflowCheck(t,e){t.stopPropagation(),this.isOverflowing&&e(t)},scrollIntoView(){if(!this.selectedItem&&this.items.length){const t=this.items[this.items.length-1].$el.getBoundingClientRect(),e=this.$refs.wrapper.getBoundingClientRect();(this.$vuetify.rtl&&e.right<t.right||!this.$vuetify.rtl&&e.left>t.left)&&this.scrollTo("prev")}this.selectedItem&&(0===this.selectedIndex||!this.centerActive&&!this.isOverflowing?this.scrollOffset=0:this.centerActive?this.scrollOffset=d(this.selectedItem.$el,this.widths,this.$vuetify.rtl):this.isOverflowing&&(this.scrollOffset=f(this.selectedItem.$el,this.widths,this.$vuetify.rtl,this.scrollOffset)))},scrollTo(t){this.scrollOffset=this.calculateNewOffset(t,{content:this.$refs.content?this.$refs.content.clientWidth:0,wrapper:this.$refs.wrapper?this.$refs.wrapper.clientWidth:0},this.$vuetify.rtl,this.scrollOffset)},setWidths(){window.requestAnimationFrame(()=>{if(this._isDestroyed)return;const{content:t,wrapper:e}=this.$refs;this.widths={content:t?t.clientWidth:0,wrapper:e?e.clientWidth:0},this.isOverflowing=this.widths.wrapper+1<this.widths.content,this.scrollIntoView()})}},render(t){return t("div",this.genData(),[this.genPrev(),this.genWrapper(),this.genNext()])}});e["b"]=p.extend({name:"v-slide-group",provide(){return{slideGroup:this}}})},"7f33":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".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̀nì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}});return e}))},"7f84":function(t,e,r){(function(e,r){t.exports=r()})(window,(function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)r.d(n,i,function(e){return t[e]}.bind(null,i));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=0)}([function(t,e,r){t.exports=r(1)},function(t,e,r){"use strict";r.r(e);var n=[{name:"moveend",check:function(t,e){return e.center&&t.isMoving()}},{name:"zoomend",check:function(t,e){return void 0!==e.zoom&&null!==e.zoom&&t.isZooming()}},{name:"rotateend",check:function(t,e){return void 0!==e.bearing&&null!==e.bearing&&t.isRotating()}},{name:"pitchend",check:function(t,e){return void 0!==e.pitch&&null!==e.bearing&&t.isMoving()}}],i=function(t){return{center:t.getCenter(),zoom:t.getZoom(),bearing:t.getBearing(),pitch:t.getPitch()}},o={events:n,getter:i},a={events:[{name:"moveend",check:function(t){return t.isMoving()}}],getter:function(t){return{center:t.getCenter()}}},s={events:[{name:"zoomend",check:function(t){return t.isZooming()}}],getter:function(t){return{zoom:t.getZoom()}}},u={events:[{name:"rotateend",check:function(t){return t.isRotating()}}],getter:function(t){return{bearing:t.getBearing()}}},c={setCenter:a,panBy:a,panTo:a,setZoom:s,zoomTo:s,zoomIn:s,zoomOut:s,setBearing:u,rotateTo:u,resetNorth:u,snapToNorth:u,setPitch:{events:[{name:"pitchend",check:function(t){return!0}}],getter:function(t){return{pitch:t.getPitch()}}},fitBounds:{events:[{name:"zoomend",check:function(t){return t.isZooming()}},{name:"moveend",check:function(t){return t.isMoving()}},{name:"rotateend",check:function(t){return t.isRotating()}}],getter:function(t){return{zoom:t.getZoom(),bearing:t.getBearing(),pitch:t.getPitch(),center:t.getCenter()}}},fitScreenCoordinates:{events:[{name:"zoomend",check:function(t,e){return t.isZooming()}},{name:"moveend",check:function(t,e){return t.isMoving()}},{name:"rotateend",check:function(t,e){return e.bearing&&t.isRotating()}}],getter:function(t){return{zoom:t.getZoom(),center:t.getCenter(),bearing:t.getBearing(),pitch:t.getPitch()}}},jumpTo:o,easeTo:o,flyTo:o};function l(t){return l="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},l(t)}function h(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),n.forEach((function(e){f(t,e,r[e])}))}return t}function f(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function d(t){return"".concat(t,"-").concat((""+Math.random()).split(".")[1])}function p(t,e,r,n){var i=function i(o){o.type===e&&o.eventId===r&&(t.off(e,i),n(o))};return i}function m(t,e){var r=t[e],n=r.length;return function(){for(var i=[],o={eventId:d(e)},a=c[e].events.map((function(e,r){return{event:e,func:new Promise((function(n,a){i[r]={event:e,func:p(t,e.name,o.eventId,n)},t.on(e.name,i[r].func)}))}})),s=[],u=0;u<n;u++)u===n-1?s.push(h({},o,(u<0||arguments.length<=u?void 0:arguments[u])||{})):s.push((u<0||arguments.length<=u?void 0:arguments[u])||null);var f=[],m=(arguments.length<=0?void 0:arguments[0])||{};try{r.apply(t,s),"fitBounds"===e&&(m={}),"fitScreenCoordinates"===e&&(m={bearing:null},m.bearing=null,"number"===typeof(arguments.length<=2?void 0:arguments[2])&&(m.bearing=arguments.length<=2?void 0:arguments[2]),(arguments.length<=3?void 0:arguments[3])&&"object"===l(arguments.length<=3?void 0:arguments[3])&&(m=h({},m,arguments.length<=3?void 0:arguments[3]))),f=a.map((function(e){var r=e.event,n=e.func;return r.check(t,m)?n:(t.off(r.name,n),Promise.resolve())}))}catch(g){throw i.forEach((function(e){var r=e.event,n=e.func;t.off(r.name,n)})),g}return Promise.all(f).then((function(){return c[e].getter(t)}))}}var g=m,y=function(t){var e=Object.keys(c),r={};return e.forEach((function(n){-1!==e.indexOf(n)&&(r[n]=g(t,n))})),r};function v(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e?g(t,e):y(t)}r.d(e,"default",(function(){return v}))}])["default"]}))},"7ff4":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1ec9"),i=r("d9d5"),o=r("9410"),a=r("9975"),s=r("b6aa"),u=r("15c3");function c(t){return t&&"object"===typeof t&&"default"in t?t:{default:t}}var l=c(o),h=c(a),f=c(s);const d=(t,e)=>{const r=n.configure((e,r)=>{const n=u.createGet(r),o=async(e,r={})=>{if(r.path){const o=r.localResolve?await l["default"](i.resolve(e,r.path,t,n,r)):await h["default"](i.resolve(e,r.path,t,n,r)),a=o;if(!a)throw f["default"](new Error("Not found"),"ERR_NOT_FOUND");return a}const o=await t.getCodec(e.code),a=await n(e,r),s=o.decode(a);return{value:s,remainderPath:""}};return o});return r(e)};e.createGet=d},"807e":function(t,e,r){"use strict";t.exports=i;var n=r("e938");function i(t,e,r){if("function"!==typeof t)throw TypeError("rpcImpl must be a function");n.EventEmitter.call(this),this.rpcImpl=t,this.requestDelimited=Boolean(e),this.responseDelimited=Boolean(r)}(i.prototype=Object.create(n.EventEmitter.prototype)).constructor=i,i.prototype.rpcCall=function t(e,r,i,o,a){if(!o)throw TypeError("request must be specified");var s=this;if(!a)return n.asPromise(t,s,e,r,i,o);if(s.rpcImpl)try{return s.rpcImpl(e,r[s.requestDelimited?"encodeDelimited":"encode"](o).finish(),(function(t,r){if(t)return s.emit("error",t,e),a(t);if(null!==r){if(!(r instanceof i))try{r=i[s.responseDelimited?"decodeDelimited":"decode"](r)}catch(t){return s.emit("error",t,e),a(t)}return s.emit("data",r,e),a(null,r)}s.end(!0)}))}catch(u){return s.emit("error",u,e),void setTimeout((function(){a(u)}),0)}else setTimeout((function(){a(Error("already ended"))}),0)},i.prototype.end=function(t){return this.rpcImpl&&(t||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off()),this}},"80d2":function(t,e,r){"use strict";r.d(e,"k",(function(){return i})),r.d(e,"a",(function(){return o})),r.d(e,"E",(function(){return a})),r.d(e,"b",(function(){return s})),r.d(e,"q",(function(){return u})),r.d(e,"m",(function(){return c})),r.d(e,"r",(function(){return l})),r.d(e,"t",(function(){return h})),r.d(e,"j",(function(){return f})),r.d(e,"w",(function(){return d})),r.d(e,"p",(function(){return p})),r.d(e,"i",(function(){return m})),r.d(e,"z",(function(){return g})),r.d(e,"A",(function(){return v})),r.d(e,"F",(function(){return b})),r.d(e,"B",(function(){return _})),r.d(e,"d",(function(){return x})),r.d(e,"c",(function(){return k})),r.d(e,"J",(function(){return S})),r.d(e,"x",(function(){return E})),r.d(e,"K",(function(){return M})),r.d(e,"H",(function(){return A})),r.d(e,"n",(function(){return T})),r.d(e,"G",(function(){return C})),r.d(e,"v",(function(){return L})),r.d(e,"l",(function(){return P})),r.d(e,"I",(function(){return O})),r.d(e,"s",(function(){return I})),r.d(e,"u",(function(){return D})),r.d(e,"g",(function(){return B})),r.d(e,"D",(function(){return j})),r.d(e,"f",(function(){return N})),r.d(e,"y",(function(){return R})),r.d(e,"e",(function(){return F})),r.d(e,"C",(function(){return Y})),r.d(e,"o",(function(){return U})),r.d(e,"h",(function(){return H}));var n=r("2b0e");function i(t,e="div",r){return n["default"].extend({name:r||t.replace(/__/g,"-"),functional:!0,props:{tag:{type:String,default:e}},render(e,{data:r,props:n,children:i}){return r.staticClass=`${t} ${r.staticClass||""}`.trim(),e(n.tag,r,i)}})}function o(t,e,r,n=!1){const i=o=>{r(o),t.removeEventListener(e,i,n)};t.addEventListener(e,i,n)}let a=!1;try{if("undefined"!==typeof window){const t=Object.defineProperty({},"passive",{get:()=>{a=!0}});window.addEventListener("testListener",t,t),window.removeEventListener("testListener",t,t)}}catch(z){console.warn(z)}function s(t,e,r,n){t.addEventListener(e,r,!!a&&n)}function u(t,e,r){const n=e.length-1;if(n<0)return void 0===t?r:t;for(let i=0;i<n;i++){if(null==t)return r;t=t[e[i]]}return null==t||void 0===t[e[n]]?r:t[e[n]]}function c(t,e){if(t===e)return!0;if(t instanceof Date&&e instanceof Date&&t.getTime()!==e.getTime())return!1;if(t!==Object(t)||e!==Object(e))return!1;const r=Object.keys(t);return r.length===Object.keys(e).length&&r.every(r=>c(t[r],e[r]))}function l(t,e,r){return null!=t&&e&&"string"===typeof e?void 0!==t[e]?t[e]:(e=e.replace(/\[(\w+)\]/g,".$1"),e=e.replace(/^\./,""),u(t,e.split("."),r)):r}function h(t,e,r){if(null==e)return void 0===t?r:t;if(t!==Object(t))return void 0===r?t:r;if("string"===typeof e)return l(t,e,r);if(Array.isArray(e))return u(t,e,r);if("function"!==typeof e)return r;const n=e(t,r);return"undefined"===typeof n?r:n}function f(t){return Array.from({length:t},(t,e)=>e)}function d(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return 0;const e=+window.getComputedStyle(t).getPropertyValue("z-index");return e||d(t.parentNode)}function p(t,e){const r={};for(let n=0;n<e.length;n++){const i=e[n];"undefined"!==typeof t[i]&&(r[i]=t[i])}return r}function m(t,e="px"){return null==t||""===t?void 0:isNaN(+t)?String(t):`${Number(t)}${e}`}function g(t){return(t||"").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function y(t){return null!==t&&"object"===typeof t}const v=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16});function b(t,e){const r=t.$vuetify.icons.component;if(e.startsWith("$")){const r="$vuetify.icons.values."+e.split("$").pop().split(".").pop(),n=l(t,r,e);if("string"!==typeof n)return n;e=n}return null==r?e:{component:r,props:{icon:e}}}function _(t){return Object.keys(t)}const w=/-(\w)/g,x=t=>t.replace(w,(t,e)=>e?e.toUpperCase():"");function k(t,e){const r=[];for(let n=0;n<e.length;n++)t.indexOf(e[n])<0&&r.push(e[n]);return r}function S(t){return t.charAt(0).toUpperCase()+t.slice(1)}function E(t,e,r){const n=e[0],i=[];let o;for(let a=0;a<t.length;a++){const e=t[a],r=l(e,n,null);o!==r&&(o=r,i.push({name:null!==r&&void 0!==r?r:"",items:[]})),i[i.length-1].items.push(e)}return i}function M(t){return null!=t?Array.isArray(t)?t:[t]:[]}function A(t,e,r,n,i){if(null===e||!e.length)return t;const o=new Intl.Collator(n,{sensitivity:"accent",usage:"sort"});return t.sort((t,n)=>{for(let a=0;a<e.length;a++){const s=e[a];let u=l(t,s),c=l(n,s);if(r[a]&&([u,c]=[c,u]),i&&i[s]){const t=i[s](u,c);if(!t)continue;return t}if(null!==u||null!==c){if(u instanceof Date&&c instanceof Date)return u.getTime()-c.getTime();if([u,c]=[u,c].map(t=>(t||"").toString().toLocaleLowerCase()),u!==c)return isNaN(u)||isNaN(c)?o.compare(u,c):Number(u)-Number(c)}}return 0})}function T(t,e,r){return null!=t&&null!=e&&"boolean"!==typeof t&&-1!==t.toString().toLocaleLowerCase().indexOf(e.toLocaleLowerCase())}function C(t,e){return e?(e=e.toString().toLowerCase(),""===e.trim()?t:t.filter(t=>Object.keys(t).some(r=>T(l(t,r),e,t)))):t}function L(t,e,r){return t.$slots.hasOwnProperty(e)&&t.$scopedSlots.hasOwnProperty(e)&&t.$scopedSlots[e].name?r?"v-slot":"scoped":t.$slots.hasOwnProperty(e)?"normal":t.$scopedSlots.hasOwnProperty(e)?"scoped":void 0}function P(t,e){let r=0;return(...n)=>{clearTimeout(r),r=setTimeout(()=>t(...n),e)}}function O(t,e){let r=!1;return(...n)=>{if(!r)return r=!0,setTimeout(()=>r=!1,e),t(...n)}}function I(t,e){return Object.keys(e).filter(e=>e.startsWith(t)).reduce((r,n)=>(r[n.replace(t,"")]=e[n],r),{})}function D(t,e="default",r,n=!1){const i=g(e);return t.$scopedSlots.hasOwnProperty(e)?t.$scopedSlots[e](r instanceof Function?r():r):t.$scopedSlots.hasOwnProperty(i)?t.$scopedSlots[i](r instanceof Function?r():r):!t.$slots.hasOwnProperty(e)||r&&!n?!t.$slots.hasOwnProperty(i)||r&&!n?void 0:t.$slots[i]:t.$slots[e]}function B(t,e=0,r=1){return Math.max(e,Math.min(r,t))}function j(t,e,r="0"){return t+r.repeat(Math.max(0,e-t.length))}function N(t,e=1){const r=[];let n=0;while(n<t.length)r.push(t.substr(n,e)),n+=e;return r}function R(t,e=!1){const r=e?1024:1e3;if(t<r)return t+" B";const n=e?["Ki","Mi","Gi"]:["k","M","G"];let i=-1;while(Math.abs(t)>=r&&i<n.length-1)t/=r,++i;return`${t.toFixed(1)} ${n[i]}B`}function F(t){return t?Object.keys(t).reduce((e,r)=>(e[x(r)]=t[r],e),{}):{}}function Y(t={},e={}){for(const r in e){const n=t[r],i=e[r];y(n)&&y(i)?t[r]=Y(n,i):t[r]=i}return t}function U(t,e){return Array(t).fill(e)}function H(t){if(t.composedPath)return t.composedPath();const e=[];let r=t.target;while(r){if(e.push(r),"HTML"===r.tagName)return e.push(document),e.push(window),e;r=r.parentElement}return e}},8126:function(t,e,r){"use strict";var n=r("0798");r.d(e,"a",(function(){return n["a"]}));n["a"]},8155:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
function e(t,e,r,n){var i=t+" ";switch(r){case"s":return e||n?"nekaj sekund":"nekaj sekundami";case"ss":return i+=1===t?e?"sekundo":"sekundi":2===t?e||n?"sekundi":"sekundah":t<5?e||n?"sekunde":"sekundah":"sekund",i;case"m":return e?"ena minuta":"eno minuto";case"mm":return i+=1===t?e?"minuta":"minuto":2===t?e||n?"minuti":"minutama":t<5?e||n?"minute":"minutami":e||n?"minut":"minutami",i;case"h":return e?"ena ura":"eno uro";case"hh":return i+=1===t?e?"ura":"uro":2===t?e||n?"uri":"urama":t<5?e||n?"ure":"urami":e||n?"ur":"urami",i;case"d":return e||n?"en dan":"enim dnem";case"dd":return i+=1===t?e||n?"dan":"dnem":2===t?e||n?"dni":"dnevoma":e||n?"dni":"dnevi",i;case"M":return e||n?"en mesec":"enim mesecem";case"MM":return i+=1===t?e||n?"mesec":"mesecem":2===t?e||n?"meseca":"mesecema":t<5?e||n?"mesece":"meseci":e||n?"mesecev":"meseci",i;case"y":return e||n?"eno leto":"enim letom";case"yy":return i+=1===t?e||n?"leto":"letom":2===t?e||n?"leti":"letoma":t<5?e||n?"leta":"leti":e||n?"let":"leti",i}}var r=t.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_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_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čeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return r}))},"81e9":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),r=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",e[7],e[8],e[9]];function n(t,e,r,n){var o="";switch(r){case"s":return n?"muutaman sekunnin":"muutama sekunti";case"ss":o=n?"sekunnin":"sekuntia";break;case"m":return n?"minuutin":"minuutti";case"mm":o=n?"minuutin":"minuuttia";break;case"h":return n?"tunnin":"tunti";case"hh":o=n?"tunnin":"tuntia";break;case"d":return n?"päivän":"päivä";case"dd":o=n?"päivän":"päivää";break;case"M":return n?"kuukauden":"kuukausi";case"MM":o=n?"kuukauden":"kuukautta";break;case"y":return n?"vuoden":"vuosi";case"yy":o=n?"vuoden":"vuotta";break}return o=i(t,n)+" "+o,o}function i(t,n){return t<10?n?r[t]:e[t]:t}var o=t.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_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änään] [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äästä",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}});return o}))},"81e94":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=new TextEncoder,i=new TextDecoder,o="json",a=512,s=t=>n.encode(JSON.stringify(t)),u=t=>JSON.parse(i.decode(t));e.code=a,e.decode=u,e.encode=s,e.name=o},8212:function(t,e,r){"use strict";r("3408");var n=r("a9ad"),i=r("24b2"),o=r("a236"),a=r("80d2"),s=r("58df");e["a"]=Object(s["a"])(n["a"],i["a"],o["a"]).extend({name:"v-avatar",props:{left:Boolean,right:Boolean,size:{type:[Number,String],default:48}},computed:{classes(){return{"v-avatar--left":this.left,"v-avatar--right":this.right,...this.roundedClasses}},styles(){return{height:Object(a["i"])(this.size),minWidth:Object(a["i"])(this.size),width:Object(a["i"])(this.size),...this.measurableStyles}}},render(t){const e={staticClass:"v-avatar",class:this.classes,style:this.styles,on:this.$listeners};return t("div",this.setBackgroundColor(this.color,e),Object(a["u"])(this))}})},8230:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},r={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},n=t.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".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:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,r){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(t){return r[t]})).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},week:{dow:0,doy:6}});return n}))},8270:function(t,e,r){"use strict";var n=r("713a");e["a"]=n["b"].extend({name:"v-list-item-avatar",props:{horizontal:Boolean,size:{type:[Number,String],default:40}},computed:{classes(){return{"v-list-item__avatar--horizontal":this.horizontal,...n["b"].options.computed.classes.call(this),"v-avatar--tile":this.tile||this.horizontal}}},render(t){const e=n["b"].options.render.call(this,t);return e.data=e.data||{},e.data.staticClass+=" v-list-item__avatar",e}})},"82bd":function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));var n=r("fd3a"),i=r("8c86"),o=r("b69b");function a(t){Object(i["a"])(1,arguments);var e=Object(n["a"])(t),r=e.getUTCFullYear(),a=new Date(0);a.setUTCFullYear(r+1,0,4),a.setUTCHours(0,0,0,0);var s=Object(o["a"])(a),u=new Date(0);u.setUTCFullYear(r,0,4),u.setUTCHours(0,0,0,0);var c=Object(o["a"])(u);return e.getTime()>=s.getTime()?r+1:e.getTime()>=c.getTime()?r:r-1}},8308:function(t,e,r){},8336:function(t,e,r){"use strict";r("86cc");var n=r("10d2"),i=r("22da"),o=r("4e82"),a=r("f2e7"),s=r("c995"),u=r("fe6c"),c=r("1c87"),l=r("af2b"),h=r("58df"),f=r("d9bd"),d=r("80d2");const p=Object(h["a"])(n["b"],c["a"],u["a"],l["a"],Object(o["a"])("btnToggle"),Object(a["b"])("inputValue"));e["a"]=p.extend().extend({name:"v-btn",props:{activeClass:{type:String,default(){return this.btnToggle?this.btnToggle.activeClass:""}},block:Boolean,depressed:Boolean,fab:Boolean,icon:Boolean,loading:Boolean,outlined:Boolean,plain:Boolean,retainFocusOnClick:Boolean,rounded:Boolean,tag:{type:String,default:"button"},text:Boolean,tile:Boolean,type:{type:String,default:"button"},value:null},data:()=>({proxyClass:"v-btn--active"}),computed:{classes(){return{"v-btn":!0,...c["a"].options.computed.classes.call(this),"v-btn--absolute":this.absolute,"v-btn--block":this.block,"v-btn--bottom":this.bottom,"v-btn--disabled":this.disabled,"v-btn--is-elevated":this.isElevated,"v-btn--fab":this.fab,"v-btn--fixed":this.fixed,"v-btn--has-bg":this.hasBg,"v-btn--icon":this.icon,"v-btn--left":this.left,"v-btn--loading":this.loading,"v-btn--outlined":this.outlined,"v-btn--plain":this.plain,"v-btn--right":this.right,"v-btn--round":this.isRound,"v-btn--rounded":this.rounded,"v-btn--router":this.to,"v-btn--text":this.text,"v-btn--tile":this.tile,"v-btn--top":this.top,...this.themeClasses,...this.groupClasses,...this.elevationClasses,...this.sizeableClasses}},computedElevation(){if(!this.disabled)return s["a"].options.computed.computedElevation.call(this)},computedRipple(){var t;const e=!this.icon&&!this.fab||{circle:!0};return!this.disabled&&(null!==(t=this.ripple)&&void 0!==t?t:e)},hasBg(){return!this.text&&!this.plain&&!this.outlined&&!this.icon},isElevated(){return Boolean(!this.icon&&!this.text&&!this.outlined&&!this.depressed&&!this.disabled&&!this.plain&&(null==this.elevation||Number(this.elevation)>0))},isRound(){return Boolean(this.icon||this.fab)},styles(){return{...this.measurableStyles}}},created(){const t=[["flat","text"],["outline","outlined"],["round","rounded"]];t.forEach(([t,e])=>{this.$attrs.hasOwnProperty(t)&&Object(f["a"])(t,e,this)})},methods:{click(t){!this.retainFocusOnClick&&!this.fab&&t.detail&&this.$el.blur(),this.$emit("click",t),this.btnToggle&&this.toggle()},genContent(){return this.$createElement("span",{staticClass:"v-btn__content"},Object(d["u"])(this))},genLoader(){return this.$createElement("span",{class:"v-btn__loader"},Object(d["u"])(this,"loader")||[this.$createElement(i["b"],{props:{indeterminate:!0,size:23,width:2}})])}},render(t){const e=[this.genContent(),this.loading&&this.genLoader()],{tag:r,data:n}=this.generateRouteLink(),i=this.hasBg?this.setBackgroundColor:this.setTextColor;return"button"===r&&(n.attrs.type=this.type,n.attrs.disabled=this.disabled),n.attrs.value=["string","number"].includes(typeof this.value)?this.value:JSON.stringify(this.value),t(r,this.disabled?n:i(this.color,n),e)}})},"83d2":function(t,e,r){"use strict";r.d(e,"a",(function(){return s}));var n=r("fe1f"),i=r("fd3a"),o=r("8c86");function a(t,e){Object(o["a"])(2,arguments);var r=Object(i["a"])(t).getTime(),a=Object(n["a"])(e);return new Date(r+a)}function s(t,e){Object(o["a"])(2,arguments);var r=Object(n["a"])(e);return a(t,-r)}},"83ec":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1755"),i=r("ac23"),o=r("b92d"),a=r("a4cc"),s=r("3ef0");function u(t,e,r,o,a){const u=r+o;i.assertEnoughData(t,e,u);const c=new n.Token(n.Type.string,s.toString(t,e+r,e+u),u);return!0===a.retainStringBytes&&(c.byteValue=s.slice(t,e+r,e+u)),c}function c(t,e,r,n){return u(t,e,1,r,n)}function l(t,e,r,n){return u(t,e,2,o.readUint8(t,e+1,n),n)}function h(t,e,r,n){return u(t,e,3,o.readUint16(t,e+1,n),n)}function f(t,e,r,n){return u(t,e,5,o.readUint32(t,e+1,n),n)}function d(t,e,r,n){const a=o.readUint64(t,e+1,n);if("bigint"===typeof a)throw new Error(i.decodeErrPrefix+" 64-bit integer string lengths not supported");return u(t,e,9,a,n)}const p=a.encodeBytes;e.decodeString16=h,e.decodeString32=f,e.decodeString64=d,e.decodeString8=l,e.decodeStringCompact=c,e.encodeString=p},"83f0":function(t,e,r){"use strict";r("02f0");var n=r("a9ad"),i=r("dfda"),o=r("ceaf"),a=r("aaeb"),s=r("d9f7"),u=r("58df");e["a"]=Object(u["a"])(n["a"],i["a"]).extend({name:"v-date-picker-years",props:{format:Function,min:[Number,String],max:[Number,String],readonly:Boolean,value:[Number,String]},data(){return{defaultColor:"primary"}},computed:{formatter(){return this.format||Object(o["a"])(this.currentLocale,{year:"numeric",timeZone:"UTC"},{length:4})}},mounted(){setTimeout(()=>{const t=this.$el.getElementsByClassName("active")[0];t?this.$el.scrollTop=t.offsetTop-this.$el.offsetHeight/2+t.offsetHeight/2:this.min&&!this.max?this.$el.scrollTop=this.$el.scrollHeight:!this.min&&this.max?this.$el.scrollTop=0:this.$el.scrollTop=this.$el.scrollHeight/2-this.$el.offsetHeight/2})},methods:{genYearItem(t){const e=this.formatter(""+t),r=parseInt(this.value,10)===t,n=r&&(this.color||"primary");return this.$createElement("li",this.setTextColor(n,{key:t,class:{active:r},on:Object(s["c"])({click:()=>this.$emit("input",t)},Object(a["b"])(this,":year",t))}),e)},genYearItems(){const t=[],e=this.value?parseInt(this.value,10):(new Date).getFullYear(),r=this.max?parseInt(this.max,10):e+100,n=Math.min(r,this.min?parseInt(this.min,10):e-100);for(let i=r;i>=n;i--)t.push(this.genYearItem(i));return t}},render(){return this.$createElement("ul",{staticClass:"v-date-picker-years",ref:"years"},this.genYearItems())}})},8414:function(t,e,r){"use strict";r("0160");var n=r("58df"),i=r("7560"),o=r("80d2");e["a"]=Object(n["a"])(i["a"]).extend({name:"v-timeline",provide(){return{timeline:this}},props:{alignTop:Boolean,dense:Boolean,reverse:Boolean},computed:{classes(){return{"v-timeline--align-top":this.alignTop,"v-timeline--dense":this.dense,"v-timeline--reverse":this.reverse,...this.themeClasses}}},render(t){return t("div",{staticClass:"v-timeline",class:this.classes},Object(o["u"])(this))}})},"842b":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("905c"),i=r("e3cf");async function o(t,e,r={}){const o=[],a=new FormData;let s=0,u=0;for await(const{content:c,path:l,mode:h,mtime:f}of n.normaliseInput(t)){let t="";const e=c?"file":"dir";s>0&&(t="-"+s);let r=e+t;const n=[];if(null!==h&&void 0!==h&&n.push("mode="+i.modeToString(h)),null!=f){const{secs:t,nsecs:e}=f;n.push("mtime="+t),null!=e&&n.push("mtime-nsecs="+e)}if(n.length&&(r=`${r}?${n.join("&")}`),c){a.set(r,c,null!=l?encodeURIComponent(l):void 0);const t=u+c.size;o.push({name:l,start:u,end:t}),u=t}else{if(null==l)throw new Error("path or content or both must be set");a.set(r,new File([""],encodeURIComponent(l),{type:"application/x-directory"}))}s++}return{total:u,parts:o,headers:r,body:a}}e.multipartRequest=o},"844a":function(t,e,r){"use strict";var n=r("f774");r.d(e,"a",(function(){return n["a"]}));n["a"]},"847a":function(t,e,r){"use strict";var n=r("03a4");r.d(e,"a",(function(){return n["a"]}));var i=r("fe98");r.d(e,"c",(function(){return i["a"]}));var o=r("ab50");r.d(e,"b",(function(){return o["a"]}));n["a"]},"84aa":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".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:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Миналата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[Миналия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",w:"седмица",ww:"%d седмици",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(t){var e=t%10,r=t%100;return 0===t?t+"-ев":0===r?t+"-ен":r>10&&r<20?t+"-ти":1===e?t+"-ви":2===e?t+"-ри":7===e||8===e?t+"-ми":t+"-ти"},week:{dow:1,doy:7}});return e}))},"852e":function(t,e,r){(function(e,r){t.exports=r()})(0,(function(){"use strict";function t(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)t[n]=r[n]}return t}var e={read:function(t){return'"'===t[0]&&(t=t.slice(1,-1)),t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(t){return encodeURIComponent(t).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function r(e,n){function i(r,i,o){if("undefined"!==typeof document){o=t({},n,o),"number"===typeof o.expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),r=encodeURIComponent(r).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var s in o)o[s]&&(a+="; "+s,!0!==o[s]&&(a+="="+o[s].split(";")[0]));return document.cookie=r+"="+e.write(i,r)+a}}function o(t){if("undefined"!==typeof document&&(!arguments.length||t)){for(var r=document.cookie?document.cookie.split("; "):[],n={},i=0;i<r.length;i++){var o=r[i].split("="),a=o.slice(1).join("=");try{var s=decodeURIComponent(o[0]);if(n[s]=e.read(a,s),t===s)break}catch(u){}}return t?n[t]:n}}return Object.create({set:i,get:o,remove:function(e,r){i(e,"",t({},r,{expires:-1}))},withAttributes:function(e){return r(this.converter,t({},this.attributes,e))},withConverter:function(e){return r(t({},this.converter,e),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(e)}})}var n=r(e,{path:"/"});return n}))},8547:function(t,e,r){"use strict";var n=r("2b0e"),i=r("80d2");e["a"]=n["default"].extend({name:"comparable",props:{valueComparator:{type:Function,default:i["m"]}}})},"85e5":function(t,e,r){"use strict";r("2102");var n=r("afdd"),i=r("9d26"),o=r("a9ad"),a=r("dfda"),s=r("7560"),u=r("ceaf"),c=r("7dae"),l=r("58df"),h=r("80d2");e["a"]=Object(l["a"])(o["a"],a["a"],s["a"]).extend({name:"v-date-picker-header",props:{disabled:Boolean,format:Function,min:String,max:String,nextAriaLabel:String,nextIcon:{type:String,default:"$next"},prevAriaLabel:String,prevIcon:{type:String,default:"$prev"},readonly:Boolean,value:{type:[Number,String],required:!0}},data(){return{isReversing:!1}},computed:{formatter(){return this.format?this.format:String(this.value).split("-")[1]?Object(u["a"])(this.currentLocale,{month:"long",year:"numeric",timeZone:"UTC"},{length:7}):Object(u["a"])(this.currentLocale,{year:"numeric",timeZone:"UTC"},{length:4})}},watch:{value(t,e){this.isReversing=t<e}},methods:{genBtn(t){const e=t>0?this.nextAriaLabel:this.prevAriaLabel,r=e?this.$vuetify.lang.t(e):void 0,o=this.disabled||t<0&&this.min&&this.calculateChange(t)<this.min||t>0&&this.max&&this.calculateChange(t)>this.max;return this.$createElement(n["b"],{attrs:{"aria-label":r},props:{dark:this.dark,disabled:o,icon:!0,light:this.light},on:{click:e=>{e.stopPropagation(),this.$emit("input",this.calculateChange(t))}}},[this.$createElement(i["b"],t<0===!this.$vuetify.rtl?this.prevIcon:this.nextIcon)])},calculateChange(t){const[e,r]=String(this.value).split("-").map(Number);return null==r?""+(e+t):Object(c["a"])(String(this.value),t)},genHeader(){const t=!this.disabled&&(this.color||"accent"),e=this.$createElement("div",this.setTextColor(t,{key:String(this.value)}),[this.$createElement("button",{attrs:{type:"button"},on:{click:()=>this.$emit("toggle")}},Object(h["u"])(this)||[this.formatter(String(this.value))])]),r=this.$createElement("transition",{props:{name:this.isReversing===!this.$vuetify.rtl?"tab-reverse-transition":"tab-transition"}},[e]);return this.$createElement("div",{staticClass:"v-date-picker-header__value",class:{"v-date-picker-header__value--disabled":this.disabled}},[r])}},render(){return this.$createElement("div",{staticClass:"v-date-picker-header",class:{"v-date-picker-header--disabled":this.disabled,...this.themeClasses}},[this.genBtn(-1),this.genHeader(),this.genBtn(1)])}})},"85e7":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=t=>Promise.reject(new Error(`No base found for "${t}"`));class i{constructor(t){this._basesByName={},this._basesByPrefix={},this._loadBase=t.loadBase||n;for(const e of t.bases)this.addBase(e)}addBase(t){if(this._basesByName[t.name]||this._basesByPrefix[t.prefix])throw new Error(`Codec already exists for codec "${t.name}"`);this._basesByName[t.name]=t,this._basesByPrefix[t.prefix]=t}removeBase(t){delete this._basesByName[t.name],delete this._basesByPrefix[t.prefix]}async getBase(t){if(this._basesByName[t])return this._basesByName[t];if(this._basesByPrefix[t])return this._basesByPrefix[t];const e=await this._loadBase(t);return null==this._basesByName[e.name]&&null==this._basesByPrefix[e.prefix]&&this.addBase(e),e}listBases(){return Object.values(this._basesByName)}}e.Multibases=i},"860e":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("2a12"),i=r("8b34");function o(t){async function e(e,r){const{endpoint:o,key:a,headers:s,timeout:u,signal:c}=r;await t.post("pin/remote/service/add",{timeout:u,signal:c,searchParams:n.toUrlSearchParams({arg:[e,i.encodeEndpoint(o),a]}),headers:s})}return e}e.createAdd=o},8654:function(t,e,r){"use strict";r("4ff9");var n=r("c37a"),i=r("11c2"),o=r("ba87"),a=r("de2c"),s=r("297c"),u=r("38cb"),c=r("dc22"),l=r("5607"),h=r("dd89"),f=r("80d2"),d=r("d9bd"),p=r("58df");const m=Object(p["a"])(n["b"],Object(a["a"])({onVisible:["onResize","tryAutofocus"]}),s["a"]),g=["color","file","time","date","datetime-local","week","month"];e["a"]=m.extend().extend({name:"v-text-field",directives:{resize:c["b"],ripple:l["b"]},inheritAttrs:!1,props:{appendOuterIcon:String,autofocus:Boolean,clearable:Boolean,clearIcon:{type:String,default:"$clear"},counter:[Boolean,Number,String],counterValue:Function,filled:Boolean,flat:Boolean,fullWidth:Boolean,label:String,outlined:Boolean,placeholder:String,prefix:String,prependInnerIcon:String,persistentPlaceholder:Boolean,reverse:Boolean,rounded:Boolean,shaped:Boolean,singleLine:Boolean,solo:Boolean,soloInverted:Boolean,suffix:String,type:{type:String,default:"text"}},data:()=>({badInput:!1,labelWidth:0,prefixWidth:0,prependWidth:0,initialValue:null,isBooted:!1,isClearing:!1}),computed:{classes(){return{...n["b"].options.computed.classes.call(this),"v-text-field":!0,"v-text-field--full-width":this.fullWidth,"v-text-field--prefix":this.prefix,"v-text-field--single-line":this.isSingle,"v-text-field--solo":this.isSolo,"v-text-field--solo-inverted":this.soloInverted,"v-text-field--solo-flat":this.flat,"v-text-field--filled":this.filled,"v-text-field--is-booted":this.isBooted,"v-text-field--enclosed":this.isEnclosed,"v-text-field--reverse":this.reverse,"v-text-field--outlined":this.outlined,"v-text-field--placeholder":this.placeholder,"v-text-field--rounded":this.rounded,"v-text-field--shaped":this.shaped}},computedColor(){const t=u["a"].options.computed.computedColor.call(this);return this.soloInverted&&this.isFocused?this.color||"primary":t},computedCounterValue(){return"function"===typeof this.counterValue?this.counterValue(this.internalValue):[...(this.internalValue||"").toString()].length},hasCounter(){return!1!==this.counter&&null!=this.counter},hasDetails(){return n["b"].options.computed.hasDetails.call(this)||this.hasCounter},internalValue:{get(){return this.lazyValue},set(t){this.lazyValue=t,this.$emit("input",this.lazyValue)}},isDirty(){var t;return(null===(t=this.lazyValue)||void 0===t?void 0:t.toString().length)>0||this.badInput},isEnclosed(){return this.filled||this.isSolo||this.outlined},isLabelActive(){return this.isDirty||g.includes(this.type)},isSingle(){return this.isSolo||this.singleLine||this.fullWidth||this.filled&&!this.hasLabel},isSolo(){return this.solo||this.soloInverted},labelPosition(){let t=this.prefix&&!this.labelValue?this.prefixWidth:0;return this.labelValue&&this.prependWidth&&(t-=this.prependWidth),this.$vuetify.rtl===this.reverse?{left:t,right:"auto"}:{left:"auto",right:t}},showLabel(){return this.hasLabel&&!(this.isSingle&&this.labelValue)},labelValue(){return this.isFocused||this.isLabelActive||this.persistentPlaceholder}},watch:{outlined:"setLabelWidth",label(){this.$nextTick(this.setLabelWidth)},prefix(){this.$nextTick(this.setPrefixWidth)},isFocused:"updateValue",value(t){this.lazyValue=t}},created(){this.$attrs.hasOwnProperty("box")&&Object(d["a"])("box","filled",this),this.$attrs.hasOwnProperty("browser-autocomplete")&&Object(d["a"])("browser-autocomplete","autocomplete",this),this.shaped&&!(this.filled||this.outlined||this.isSolo)&&Object(d["c"])("shaped should be used with either filled or outlined",this)},mounted(){this.$watch(()=>this.labelValue,this.setLabelWidth),this.autofocus&&this.tryAutofocus(),requestAnimationFrame(()=>{this.isBooted=!0,requestAnimationFrame(()=>{this.isIntersecting||this.onResize()})})},methods:{focus(){this.onFocus()},blur(t){window.requestAnimationFrame(()=>{this.$refs.input&&this.$refs.input.blur()})},clearableCallback(){this.$refs.input&&this.$refs.input.focus(),this.$nextTick(()=>this.internalValue=null)},genAppendSlot(){const t=[];return this.$slots["append-outer"]?t.push(this.$slots["append-outer"]):this.appendOuterIcon&&t.push(this.genIcon("appendOuter")),this.genSlot("append","outer",t)},genPrependInnerSlot(){const t=[];return this.$slots["prepend-inner"]?t.push(this.$slots["prepend-inner"]):this.prependInnerIcon&&t.push(this.genIcon("prependInner")),this.genSlot("prepend","inner",t)},genIconSlot(){const t=[];return this.$slots.append?t.push(this.$slots.append):this.appendIcon&&t.push(this.genIcon("append")),this.genSlot("append","inner",t)},genInputSlot(){const t=n["b"].options.methods.genInputSlot.call(this),e=this.genPrependInnerSlot();return e&&(t.children=t.children||[],t.children.unshift(e)),t},genClearIcon(){return this.clearable?this.isDirty?this.genSlot("append","inner",[this.genIcon("clear",this.clearableCallback)]):this.genSlot("append","inner",[this.$createElement("div")]):null},genCounter(){var t,e,r;if(!this.hasCounter)return null;const n=!0===this.counter?this.attrs$.maxlength:this.counter,o={dark:this.dark,light:this.light,max:n,value:this.computedCounterValue};return null!==(r=null===(e=(t=this.$scopedSlots).counter)||void 0===e?void 0:e.call(t,{props:o}))&&void 0!==r?r:this.$createElement(i["b"],{props:o})},genControl(){return n["b"].options.methods.genControl.call(this)},genDefaultSlot(){return[this.genFieldset(),this.genTextFieldSlot(),this.genClearIcon(),this.genIconSlot(),this.genProgress()]},genFieldset(){return this.outlined?this.$createElement("fieldset",{attrs:{"aria-hidden":!0}},[this.genLegend()]):null},genLabel(){if(!this.showLabel)return null;const t={props:{absolute:!0,color:this.validationState,dark:this.dark,disabled:this.isDisabled,focused:!this.isSingle&&(this.isFocused||!!this.validationState),for:this.computedId,left:this.labelPosition.left,light:this.light,right:this.labelPosition.right,value:this.labelValue}};return this.$createElement(o["b"],t,Object(f["u"])(this,"label")||this.label)},genLegend(){const t=this.singleLine||!this.labelValue&&!this.isDirty?0:this.labelWidth,e=this.$createElement("span",{domProps:{innerHTML:"&#8203;"},staticClass:"notranslate"});return this.$createElement("legend",{style:{width:this.isSingle?void 0:Object(f["i"])(t)}},[e])},genInput(){const t=Object.assign({},this.listeners$);delete t.change;const{title:e,...r}=this.attrs$;return this.$createElement("input",{style:{},domProps:{value:"number"===this.type&&Object.is(this.lazyValue,-0)?"-0":this.lazyValue},attrs:{...r,autofocus:this.autofocus,disabled:this.isDisabled,id:this.computedId,placeholder:this.persistentPlaceholder||this.isFocused||!this.hasLabel?this.placeholder:void 0,readonly:this.isReadonly,type:this.type},on:Object.assign(t,{blur:this.onBlur,input:this.onInput,focus:this.onFocus,keydown:this.onKeyDown}),ref:"input",directives:[{name:"resize",modifiers:{quiet:!0},value:this.onResize}]})},genMessages(){if(!this.showDetails)return null;const t=n["b"].options.methods.genMessages.call(this),e=this.genCounter();return this.$createElement("div",{staticClass:"v-text-field__details"},[t,e])},genTextFieldSlot(){return this.$createElement("div",{staticClass:"v-text-field__slot"},[this.genLabel(),this.prefix?this.genAffix("prefix"):null,this.genInput(),this.suffix?this.genAffix("suffix"):null])},genAffix(t){return this.$createElement("div",{class:"v-text-field__"+t,ref:t},this[t])},onBlur(t){this.isFocused=!1,t&&this.$nextTick(()=>this.$emit("blur",t))},onClick(){this.isFocused||this.isDisabled||!this.$refs.input||this.$refs.input.focus()},onFocus(t){if(!this.$refs.input)return;const e=Object(h["a"])(this.$el);return e?e.activeElement!==this.$refs.input?this.$refs.input.focus():void(this.isFocused||(this.isFocused=!0,t&&this.$emit("focus",t))):void 0},onInput(t){const e=t.target;this.internalValue=e.value,this.badInput=e.validity&&e.validity.badInput},onKeyDown(t){t.keyCode===f["A"].enter&&this.lazyValue!==this.initialValue&&(this.initialValue=this.lazyValue,this.$emit("change",this.initialValue)),this.$emit("keydown",t)},onMouseDown(t){t.target!==this.$refs.input&&(t.preventDefault(),t.stopPropagation()),n["b"].options.methods.onMouseDown.call(this,t)},onMouseUp(t){this.hasMouseDown&&this.focus(),n["b"].options.methods.onMouseUp.call(this,t)},setLabelWidth(){this.outlined&&(this.labelWidth=this.$refs.label?Math.min(.75*this.$refs.label.scrollWidth+6,this.$el.offsetWidth-24):0)},setPrefixWidth(){this.$refs.prefix&&(this.prefixWidth=this.$refs.prefix.offsetWidth)},setPrependWidth(){this.outlined&&this.$refs["prepend-inner"]&&(this.prependWidth=this.$refs["prepend-inner"].offsetWidth)},tryAutofocus(){if(!this.autofocus||"undefined"===typeof document||!this.$refs.input)return!1;const t=Object(h["a"])(this.$el);return!(!t||t.activeElement===this.$refs.input)&&(this.$refs.input.focus(),!0)},updateValue(t){this.hasColor=t,t?this.initialValue=this.lazyValue:this.initialValue!==this.lazyValue&&this.$emit("change",this.lazyValue)},onResize(){this.setLabelWidth(),this.setPrefixWidth(),this.setPrependWidth()}}})},8689:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},r={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"},n=t.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".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:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(t){return t.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,(function(t){return r[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},week:{dow:1,doy:4}});return n}))},"86cc":function(t,e,r){},"86db":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("5339"),i=r("138a"),o=r("a096");function a(t){return{cmds:n.createCmds(t),net:i.createNet(t),sys:o.createSys(t)}}e.createDiag=a},"86e6":function(t,e,r){"use strict";(function(t){var n=r("94f1"),i=r.n(n),o={props:{animationData:{type:[Object,String],required:!0},loop:{type:[Boolean,Number],default:!1},autoPlay:{type:Boolean,default:!0},renderer:{type:String,default:"svg"},speed:{type:Number,default:1}},data:function(){return{anim:null}},mounted:function(){this.init()},beforeDestroy:function(){this.anim&&this.anim.destroy()},methods:{init:function(){var t=this,e={container:this.$refs.animation,renderer:this.renderer,loop:this.loop,autoplay:this.autoPlay,animationData:this.animationData};this.anim=i.a.loadAnimation(e),this.anim.addEventListener("loopComplete",(function(){t.$emit("loopComplete",t.anim)})),this.anim.addEventListener("complete",(function(){t.$emit("complete",t.anim)})),this.anim.addEventListener("enterFrame",(function(){t.$emit("enterFrame",t.anim)}))},play:function(){this.anim&&this.anim.play()},stop:function(){this.anim&&this.anim.stop()},pause:function(){this.anim&&this.anim.pause()}}};function a(t,e,r,n,i,o,a,s,u,c){"boolean"!==typeof a&&(u=s,s=a,a=!1);var l,h="function"===typeof r?r.options:r;if(t&&t.render&&(h.render=t.render,h.staticRenderFns=t.staticRenderFns,h._compiled=!0,i&&(h.functional=!0)),n&&(h._scopeId=n),o?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,u(t)),t&&t._registeredComponents&&t._registeredComponents.add(o)},h._ssrRegister=l):e&&(l=a?function(t){e.call(this,c(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,s(t))}),l)if(h.functional){var f=h.render;h.render=function(t,e){return l.call(e),f(t,e)}}else{var d=h.beforeCreate;h.beforeCreate=d?[].concat(d,l):[l]}return r}var s=o,u=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{ref:"animation"})},c=[];u._withStripped=!0;var l=void 0,h=void 0,f=void 0,d=!1,p=a({render:u,staticRenderFns:c},l,s,h,d,f,!1,void 0,void 0,void 0);function m(t){m.installed||(m.installed=!0,t.component("LottieWebVue",p))}var g={install:m},y=null;"undefined"!==typeof window?y=window.Vue:"undefined"!==typeof t&&(y=t.Vue),y&&y.use(g),e["a"]=p}).call(this,r("c8ba"))},"876b":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("74fd");function i(t){return t.filter(Boolean)}function o(...t){return n.anySignal(i(t))}e.abortSignal=o},8836:function(t,e,r){},8840:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".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()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(t){return 0===t.indexOf("un")?"n"+t:"en "+t},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return e}))},"885b":function(t,e,r){"use strict";var n=r("062f"),i=r("f7fe"),o=r("53a8"),a=r("faa1").EventEmitter,s=r("4ac6"),u=r("d0a8"),c=r("2c50"),l=r("5a92"),h=r("ff9c"),f=r("e4ae");const d={FORWARD:0,LOCAL:1,REVERSE:2};function p(t){this._eventEmitter=new a,this.options=o({},this.options,t),this.inputString="",this.fresh=!0,this.lastSelected=null}p.prototype={options:{zoom:16,flyTo:!0,trackProximity:!0,minLength:2,reverseGeocode:!1,limit:5,origin:"https://api.mapbox.com",enableEventLogging:!0,marker:!0,mapboxgl:null,collapsed:!1,clearAndBlurOnEsc:!1,clearOnBlur:!1,getItemValue:function(t){return t.place_name},render:function(t){var e=t.place_name.split(",");return'<div class="mapboxgl-ctrl-geocoder--suggestion"><div class="mapboxgl-ctrl-geocoder--suggestion-title">'+e[0]+'</div><div class="mapboxgl-ctrl-geocoder--suggestion-address">'+e.splice(1,e.length).join(",")+"</div></div>"}},addTo:function(t){function e(t,e){if(!document.body.contains(e))throw new Error("Element provided to #addTo() exists, but is not in the DOM");const r=t.onAdd();e.appendChild(r)}if(t._controlContainer)t.addControl(this);else if(t instanceof HTMLElement)e(this,t);else{if("string"!=typeof t)throw new Error("Error: addTo must be a mapbox-gl-js map, an html element, or a CSS selector query for a single html element");{const r=document.querySelectorAll(t);if(0===r.length)throw new Error("Element ",t,"not found.");if(r.length>1)throw new Error("Geocoder can only be added to a single html element");e(this,r[0])}}},onAdd:function(t){if(t&&"string"!=typeof t&&(this._map=t),this.setLanguage(),this.options.localGeocoderOnly||(this.geocoderService=c(u({accessToken:this.options.accessToken,origin:this.options.origin}))),this.options.localGeocoderOnly&&!this.options.localGeocoder)throw new Error("A localGeocoder function must be specified to use localGeocoderOnly mode");this.eventManager=new l(this.options),this._onChange=this._onChange.bind(this),this._onKeyDown=this._onKeyDown.bind(this),this._onPaste=this._onPaste.bind(this),this._onBlur=this._onBlur.bind(this),this._showButton=this._showButton.bind(this),this._hideButton=this._hideButton.bind(this),this._onQueryResult=this._onQueryResult.bind(this),this.clear=this.clear.bind(this),this._updateProximity=this._updateProximity.bind(this),this._collapse=this._collapse.bind(this),this._unCollapse=this._unCollapse.bind(this),this._clear=this._clear.bind(this),this._clearOnBlur=this._clearOnBlur.bind(this);var e=this.container=document.createElement("div");e.className="mapboxgl-ctrl-geocoder mapboxgl-ctrl";var r=this.createIcon("search",'<path d="M7.4 2.5c-2.7 0-4.9 2.2-4.9 4.9s2.2 4.9 4.9 4.9c1 0 1.8-.2 2.5-.8l3.7 3.7c.2.2.4.3.8.3.7 0 1.1-.4 1.1-1.1 0-.3-.1-.5-.3-.8L11.4 10c.4-.8.8-1.6.8-2.5.1-2.8-2.1-5-4.8-5zm0 1.6c1.8 0 3.2 1.4 3.2 3.2s-1.4 3.2-3.2 3.2-3.3-1.3-3.3-3.1 1.4-3.3 3.3-3.3z"/>');this._inputEl=document.createElement("input"),this._inputEl.type="text",this._inputEl.className="mapboxgl-ctrl-geocoder--input",this.setPlaceholder(),this.options.collapsed&&(this._collapse(),this.container.addEventListener("mouseenter",this._unCollapse),this.container.addEventListener("mouseleave",this._collapse),this._inputEl.addEventListener("focus",this._unCollapse)),(this.options.collapsed||this.options.clearOnBlur)&&this._inputEl.addEventListener("blur",this._onBlur),this._inputEl.addEventListener("keydown",i(this._onKeyDown,200)),this._inputEl.addEventListener("paste",this._onPaste),this._inputEl.addEventListener("change",this._onChange),this.container.addEventListener("mouseenter",this._showButton),this.container.addEventListener("mouseleave",this._hideButton),this._inputEl.addEventListener("keyup",function(t){this.eventManager.keyevent(t,this)}.bind(this));var o=document.createElement("div");o.classList.add("mapboxgl-ctrl-geocoder--pin-right"),this._clearEl=document.createElement("button"),this._clearEl.setAttribute("aria-label","Clear"),this._clearEl.addEventListener("click",this.clear),this._clearEl.className="mapboxgl-ctrl-geocoder--button";var a=this.createIcon("close",'<path d="M3.8 2.5c-.6 0-1.3.7-1.3 1.3 0 .3.2.7.5.8L7.2 9 3 13.2c-.3.3-.5.7-.5 1 0 .6.7 1.3 1.3 1.3.3 0 .7-.2 1-.5L9 10.8l4.2 4.2c.2.3.7.3 1 .3.6 0 1.3-.7 1.3-1.3 0-.3-.2-.7-.3-1l-4.4-4L15 4.6c.3-.2.5-.5.5-.8 0-.7-.7-1.3-1.3-1.3-.3 0-.7.2-1 .3L9 7.1 4.8 2.8c-.3-.1-.7-.3-1-.3z"/>');return this._clearEl.appendChild(a),this._loadingEl=this.createIcon("loading",'<path fill="#333" d="M4.4 4.4l.8.8c2.1-2.1 5.5-2.1 7.6 0l.8-.8c-2.5-2.5-6.7-2.5-9.2 0z"/><path opacity=".1" d="M12.8 12.9c-2.1 2.1-5.5 2.1-7.6 0-2.1-2.1-2.1-5.5 0-7.7l-.8-.8c-2.5 2.5-2.5 6.7 0 9.2s6.6 2.5 9.2 0 2.5-6.6 0-9.2l-.8.8c2.2 2.1 2.2 5.6 0 7.7z"/>'),o.appendChild(this._clearEl),o.appendChild(this._loadingEl),e.appendChild(r),e.appendChild(this._inputEl),e.appendChild(o),this._typeahead=new n(this._inputEl,[],{filter:!1,minLength:this.options.minLength,limit:this.options.limit}),this.setRenderFunction(this.options.render),this._typeahead.getItemValue=this.options.getItemValue,this.mapMarker=null,this._handleMarker=this._handleMarker.bind(this),this._map&&(this.options.trackProximity&&(this._updateProximity(),this._map.on("moveend",this._updateProximity)),this._mapboxgl=this.options.mapboxgl,!this._mapboxgl&&this.options.marker&&(console.error("No mapboxgl detected in options. Map markers are disabled. Please set options.mapboxgl."),this.options.marker=!1)),e},createIcon:function(t,e){var r=document.createElementNS("http://www.w3.org/2000/svg","svg");if(r.setAttribute("class","mapboxgl-ctrl-geocoder--icon mapboxgl-ctrl-geocoder--icon-"+t),r.setAttribute("viewBox","0 0 18 18"),r.setAttribute("xml:space","preserve"),r.setAttribute("width",18),r.setAttribute("height",18),"innerHTML"in r)r.innerHTML=e;else{var n=document.createElement("div");n.innerHTML="<svg>"+e.valueOf().toString()+"</svg>";var i=n.firstChild,o=i.firstChild;r.appendChild(o)}return r},onRemove:function(){return this.container.parentNode.removeChild(this.container),this.options.trackProximity&&this._map&&this._map.off("moveend",this._updateProximity),this._removeMarker(),this._map=null,this},_onPaste:function(t){var e=(t.clipboardData||window.clipboardData).getData("text");e.length>=this.options.minLength&&this._geocode(e)},_onKeyDown:function(t){var e=27,r=9;if(t.keyCode===e&&this.options.clearAndBlurOnEsc)return this._clear(t),this._inputEl.blur();var n=t.target&&t.target.shadowRoot?t.target.shadowRoot.activeElement:t.target,i=n?n.value:"";if(!i)return this.fresh=!0,t.keyCode!==r&&this.clear(t),this._clearEl.style.display="none";t.metaKey||-1!==[r,e,37,39,13,38,40].indexOf(t.keyCode)||n.value.length>=this.options.minLength&&this._geocode(n.value)},_showButton:function(){this._typeahead.selected&&(this._clearEl.style.display="block")},_hideButton:function(){this._typeahead.selected&&(this._clearEl.style.display="none")},_onBlur:function(t){this.options.clearOnBlur&&this._clearOnBlur(t),this.options.collapsed&&this._collapse()},_onChange:function(){var t=this._typeahead.selected;if(t&&JSON.stringify(t)!==this.lastSelected){var e;if(this._clearEl.style.display="none",this.options.flyTo)if(t.properties&&s[t.properties.short_code])e=o({},this.options.flyTo),this._map&&this._map.fitBounds(s[t.properties.short_code].bbox,e);else if(t.bbox){var r=t.bbox;e=o({},this.options.flyTo),this._map&&this._map.fitBounds([[r[0],r[1]],[r[2],r[3]]],e)}else{var n={zoom:this.options.zoom};e=o({},n,this.options.flyTo),t.center?e.center=t.center:t.geometry&&t.geometry.type&&"Point"===t.geometry.type&&t.geometry.coordinates&&(e.center=t.geometry.coordinates),this._map&&this._map.flyTo(e)}this.options.marker&&this._mapboxgl&&this._handleMarker(t),this._inputEl.focus(),this._inputEl.scrollLeft=0,this._inputEl.setSelectionRange(0,0),this.lastSelected=JSON.stringify(t),this._eventEmitter.emit("result",{result:t}),this.eventManager.select(t,this)}},_requestType:function(t,e){var r;const n=/^[ ]*(-?\d+\.?\d*)[, ]+(-?\d+\.?\d*)[ ]*$/;return r=t.localGeocoderOnly?d.LOCAL:t.reverseGeocode&&n.test(e)?d.REVERSE:d.FORWARD,r},_setupConfig:function(t,e){const r=["bbox","limit","proximity","countries","types","language","reverseMode","mode","autocomplete","fuzzyMatch","routing","worldview"],n=/[\s,]+/;var i=this,a=r.reduce((function(t,e){if(void 0===i.options[e]||null===i.options[e])return t;["countries","types","language"].indexOf(e)>-1?t[e]=i.options[e].split(n):t[e]=i.options[e];const r="number"===typeof i.options[e].longitude&&"number"===typeof i.options[e].latitude;if("proximity"===e&&r){const r=i.options[e].longitude,n=i.options[e].latitude;t[e]=[r,n]}return t}),{});switch(t){case d.REVERSE:var s=e.split(n).map((function(t){return parseFloat(t,10)})).reverse();!a.types||a.types[0],a=o(a,{query:s,limit:1}),["proximity","autocomplete","fuzzyMatch","bbox"].forEach((function(t){t in a&&delete a[t]}));break;case d.FORWARD:{const t=/^[ ]*(-?\d+\.?\d*)[, ]+(-?\d+\.?\d*)*[ ]*$/;t.test(e)&&(e=e.replace(/,/g," ")),a=o(a,{query:e})}break}return a},_geocode:function(t){this.inputString=t,this._loadingEl.style.display="block",this._eventEmitter.emit("loading",{query:t});const e=this._requestType(this.options,t),r=this._setupConfig(e,t);var n;switch(e){case d.LOCAL:n=Promise.resolve();break;case d.FORWARD:n=this.geocoderService.forwardGeocode(r).send();break;case d.REVERSE:n=this.geocoderService.reverseGeocode(r).send();break}var i=this.options.localGeocoder&&this.options.localGeocoder(t)||[],o=[],a=null;return n.catch(function(t){a=t}.bind(this)).then(function(e){this._loadingEl.style.display="none";var n={};return e?"200"==e.statusCode&&(n=e.body,n.request=e.request,n.headers=e.headers):n={type:"FeatureCollection",features:[]},n.config=r,this.fresh&&(this.eventManager.start(this),this.fresh=!1),n.features=n.features?i.concat(n.features):i,this.options.externalGeocoder?(o=this.options.externalGeocoder(t,n.features)||[],o.then((function(t){return n.features=n.features?t.concat(n.features):t,n}),(function(){return n}))):n}.bind(this)).then(function(t){if(a)throw a;this.options.filter&&t.features.length&&(t.features=t.features.filter(this.options.filter)),t.features.length?(this._clearEl.style.display="block",this._eventEmitter.emit("results",t),this._typeahead.update(t.features)):(this._clearEl.style.display="none",this._typeahead.selected=null,this._renderNoResults(),this._eventEmitter.emit("results",t))}.bind(this)).catch(function(t){this._loadingEl.style.display="none",i.length&&this.options.localGeocoder||o.length&&this.options.externalGeocoder?(this._clearEl.style.display="block",this._typeahead.update(i)):(this._clearEl.style.display="none",this._typeahead.selected=null,this._renderError()),this._eventEmitter.emit("results",{features:i}),this._eventEmitter.emit("error",{error:t})}.bind(this)),n},_clear:function(t){t&&t.preventDefault(),this._inputEl.value="",this._typeahead.selected=null,this._typeahead.clear(),this._onChange(),this._clearEl.style.display="none",this._removeMarker(),this.lastSelected=null,this._eventEmitter.emit("clear"),this.fresh=!0},clear:function(t){this._clear(t),this._inputEl.focus()},_clearOnBlur:function(t){var e=this;t.relatedTarget&&e._clear(t)},_onQueryResult:function(t){var e=t.body;if(e.features.length){var r=e.features[0];this._typeahead.selected=r,this._inputEl.value=r.place_name,this._onChange()}},_updateProximity:function(){if(this._map)if(this._map.getZoom()>9){var t=this._map.getCenter().wrap();this.setProximity({longitude:t.lng,latitude:t.lat})}else this.setProximity(null)},_collapse:function(){this._inputEl.value||this._inputEl===document.activeElement||this.container.classList.add("mapboxgl-ctrl-geocoder--collapsed")},_unCollapse:function(){this.container.classList.remove("mapboxgl-ctrl-geocoder--collapsed")},query:function(t){return this._geocode(t).then(this._onQueryResult),this},_renderError:function(){var t="<div class='mapbox-gl-geocoder--error'>There was an error reaching the server</div>";this._renderMessage(t)},_renderNoResults:function(){var t="<div class='mapbox-gl-geocoder--error mapbox-gl-geocoder--no-results'>No results found</div>";this._renderMessage(t)},_renderMessage:function(t){this._typeahead.update([]),this._typeahead.selected=null,this._typeahead.clear(),this._typeahead.renderError(t)},_getPlaceholderText:function(){if(this.options.placeholder)return this.options.placeholder;if(this.options.language){var t=this.options.language.split(",")[0],e=f.language(t),r=h.placeholder[e];if(r)return r}return"Search"},setInput:function(t){return this._inputEl.value=t,this._typeahead.selected=null,this._typeahead.clear(),t.length>=this.options.minLength&&this._geocode(t),this},setProximity:function(t){return this.options.proximity=t,this},getProximity:function(){return this.options.proximity},setRenderFunction:function(t){return t&&"function"==typeof t&&(this._typeahead.render=t),this},getRenderFunction:function(){return this._typeahead.render},setLanguage:function(t){var e=navigator.language||navigator.userLanguage||navigator.browserLanguage;return this.options.language=t||this.options.language||e,this},getLanguage:function(){return this.options.language},getZoom:function(){return this.options.zoom},setZoom:function(t){return this.options.zoom=t,this},getFlyTo:function(){return this.options.flyTo},setFlyTo:function(t){return this.options.flyTo=t,this},getPlaceholder:function(){return this.options.placeholder},setPlaceholder:function(t){return this.placeholder=t||this._getPlaceholderText(),this._inputEl.placeholder=this.placeholder,this._inputEl.setAttribute("aria-label",this.placeholder),this},getBbox:function(){return this.options.bbox},setBbox:function(t){return this.options.bbox=t,this},getCountries:function(){return this.options.countries},setCountries:function(t){return this.options.countries=t,this},getTypes:function(){return this.options.types},setTypes:function(t){return this.options.types=t,this},getMinLength:function(){return this.options.minLength},setMinLength:function(t){return this.options.minLength=t,this._typeahead&&(this._typeahead.options.minLength=t),this},getLimit:function(){return this.options.limit},setLimit:function(t){return this.options.limit=t,this._typeahead&&(this._typeahead.options.limit=t),this},getFilter:function(){return this.options.filter},setFilter:function(t){return this.options.filter=t,this},setOrigin:function(t){return this.options.origin=t,this.geocoderService=c(u({accessToken:this.options.accessToken,origin:this.options.origin})),this},getOrigin:function(){return this.options.origin},setAutocomplete:function(t){return this.options.autocomplete=t,this},getAutocomplete:function(){return this.options.autocomplete},setFuzzyMatch:function(t){return this.options.fuzzyMatch=t,this},getFuzzyMatch:function(){return this.options.fuzzyMatch},setRouting:function(t){return this.options.routing=t,this},getRouting:function(){return this.options.routing},setWorldview:function(t){return this.options.worldview=t,this},getWorldview:function(){return this.options.worldview},_handleMarker:function(t){if(this._map){this._removeMarker();var e={color:"#4668F2"},r=o({},e,this.options.marker);return this.mapMarker=new this._mapboxgl.Marker(r),t.center?this.mapMarker.setLngLat(t.center).addTo(this._map):t.geometry&&t.geometry.type&&"Point"===t.geometry.type&&t.geometry.coordinates&&this.mapMarker.setLngLat(t.geometry.coordinates).addTo(this._map),this}},_removeMarker:function(){this.mapMarker&&(this.mapMarker.remove(),this.mapMarker=null)},on:function(t,e){return this._eventEmitter.on(t,e),this},off:function(t,e){return this._eventEmitter.removeListener(t,e),this.eventManager.remove(),this}},t.exports=p},8860:function(t,e,r){"use strict";r("3ad0");var n=r("8dd9"),i=r("80d2");e["a"]=n["a"].extend().extend({name:"v-list",provide(){return{isInList:!0,list:this}},inject:{isInMenu:{default:!1},isInNav:{default:!1}},props:{dense:Boolean,disabled:Boolean,expand:Boolean,flat:Boolean,nav:Boolean,rounded:Boolean,subheader:Boolean,threeLine:Boolean,twoLine:Boolean},data:()=>({groups:[]}),computed:{classes(){return{...n["a"].options.computed.classes.call(this),"v-list--dense":this.dense,"v-list--disabled":this.disabled,"v-list--flat":this.flat,"v-list--nav":this.nav,"v-list--rounded":this.rounded,"v-list--subheader":this.subheader,"v-list--two-line":this.twoLine,"v-list--three-line":this.threeLine}}},methods:{register(t){this.groups.push(t)},unregister(t){const e=this.groups.findIndex(e=>e._uid===t._uid);e>-1&&this.groups.splice(e,1)},listClick(t){if(!this.expand)for(const e of this.groups)e.toggle(t)}},render(t){const e={staticClass:"v-list",class:this.classes,style:this.styles,attrs:{role:this.isInNav||this.isInMenu?void 0:"list",...this.attrs$},on:this.listeners$};return t(this.tag,this.setBackgroundColor(this.color,e),Object(i["u"])(this))}})},"88db":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("9a44");const i=t=>async e=>new Uint8Array(await crypto.subtle.digest(t,e)),o=n.from({name:"sha2-256",code:18,encode:i("SHA-256")}),a=n.from({name:"sha2-512",code:19,encode:i("SHA-512")});e.sha256=o,e.sha512=a},"88f8":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("fb86"),i=r("1ec9"),o=r("2a12");function a(t,e,r){const i={type:t,cid:n.CID.parse(e)};return r&&(i.metadata=r),i}const s=i.configure(t=>{async function*e(e={}){let r=[];e.paths&&(r=Array.isArray(e.paths)?e.paths:[e.paths]);const n=await t.post("pin/ls",{signal:e.signal,searchParams:o.toUrlSearchParams({...e,arg:r.map(t=>""+t),stream:!0}),headers:e.headers});for await(const t of n.ndjson()){if(t.Keys){for(const e of Object.keys(t.Keys))yield a(t.Keys[e].Type,e,t.Keys[e].Metadata);return}yield a(t.Type,t.Cid,t.Metadata)}}return e});e.createLs=s},"891e":function(t,e,r){"use strict";r("17b3");var n=r("9d26"),i=r("dc22"),o=r("a9ad"),a=r("de2c"),s=r("7560"),u=r("58df");e["a"]=Object(u["a"])(o["a"],Object(a["a"])({onVisible:["init"]}),s["a"]).extend({name:"v-pagination",directives:{Resize:i["b"]},props:{circle:Boolean,disabled:Boolean,navigationColor:String,navigationTextColor:String,length:{type:Number,default:0,validator:t=>t%1===0},nextIcon:{type:String,default:"$next"},prevIcon:{type:String,default:"$prev"},totalVisible:[Number,String],value:{type:Number,default:0},pageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.page"},currentPageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.currentPage"},previousAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.previous"},nextAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.next"},wrapperAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.wrapper"}},data(){return{maxButtons:0,selected:null}},computed:{classes(){return{"v-pagination":!0,"v-pagination--circle":this.circle,"v-pagination--disabled":this.disabled,...this.themeClasses}},items(){const t=parseInt(this.totalVisible,10);if(0===t||isNaN(this.length)||this.length>Number.MAX_SAFE_INTEGER)return[];const e=Math.min(Math.max(0,t)||this.length,Math.max(0,this.maxButtons)||this.length,this.length);if(this.length<=e)return this.range(1,this.length);const r=e%2===0?1:0,n=Math.floor(e/2),i=this.length-n+1+r;if(this.value>n&&this.value<i){const t=1,e=this.length,i=this.value-n+2,o=this.value+n-2-r,a=i-1===t+1?2:"...",s=o+1===e-1?o+1:"...";return[1,a,...this.range(i,o),s,this.length]}if(this.value===n){const t=this.value+n-1-r;return[...this.range(1,t),"...",this.length]}if(this.value===i){const t=this.value-n+1;return[1,"...",...this.range(t,this.length)]}return[...this.range(1,n),"...",...this.range(i,this.length)]}},watch:{value(){this.init()}},beforeMount(){this.init()},methods:{init(){this.selected=null,this.onResize(),this.$nextTick(this.onResize),setTimeout(()=>this.selected=this.value,100)},onResize(){const t=this.$el&&this.$el.parentElement?this.$el.parentElement.clientWidth:window.innerWidth;this.maxButtons=Math.floor((t-96)/42)},next(t){t.preventDefault(),this.$emit("input",this.value+1),this.$emit("next")},previous(t){t.preventDefault(),this.$emit("input",this.value-1),this.$emit("previous")},range(t,e){const r=[];t=t>0?t:1;for(let n=t;n<=e;n++)r.push(n);return r},genIcon(t,e,r,i,o){return t("li",[t("button",this.setBackgroundColor(this.navigationColor,{staticClass:"v-pagination__navigation",class:{"v-pagination__navigation--disabled":r},attrs:{disabled:r,type:"button","aria-label":o},on:r?{}:{click:i}}),[t(n["b"],{props:{color:this.navigationTextColor}},[e])])])},genItem(t,e){const r=e===this.value&&(this.color||"primary"),n=e===this.value,i=n?this.currentPageAriaLabel:this.pageAriaLabel;return t("button",this.setBackgroundColor(r,{staticClass:"v-pagination__item",class:{"v-pagination__item--active":e===this.value},attrs:{type:"button","aria-current":n,"aria-label":this.$vuetify.lang.t(i,e)},on:{click:()=>this.$emit("input",e)}}),[e.toString()])},genItems(t){return this.items.map((e,r)=>t("li",{key:r},[isNaN(Number(e))?t("span",{class:"v-pagination__more"},[e.toString()]):this.genItem(t,e)]))},genList(t,e){return t("ul",{directives:[{modifiers:{quiet:!0},name:"resize",value:this.onResize}],class:this.classes},e)}},render(t){const e=[this.genIcon(t,this.$vuetify.rtl?this.nextIcon:this.prevIcon,this.value<=1,this.previous,this.$vuetify.lang.t(this.previousAriaLabel)),this.genItems(t),this.genIcon(t,this.$vuetify.rtl?this.prevIcon:this.nextIcon,this.value>=this.length,this.next,this.$vuetify.lang.t(this.nextAriaLabel))];return t("nav",{attrs:{role:"navigation","aria-label":this.$vuetify.lang.t(this.wrapperAriaLabel)}},[this.genList(t,e)])}})},"898b":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e="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,o=t.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,n){return t?/-MMM-/.test(n)?r[t.month()]:e[t.month()]:e},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ércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".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ñana 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ía",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4},invalidDate:"Fecha inválida"});return o}))},"899c":function(t,e,r){},"8a32":function(t,e,r){"use strict";var n=r("f665");r.d(e,"a",(function(){return n["a"]}));var i=r("1e6c");r.d(e,"b",(function(){return i["a"]}));n["a"],i["a"]},"8adc":function(t,e,r){},"8b0d":function(t,e,r){},"8b34":function(t,e,r){"use strict";function n(t){const e=String(t);if("undefined"===e)throw Error("endpoint is required");return"/"===e[e.length-1]?e.slice(0,-1):e}function i(t){return{service:t.Service,endpoint:new URL(t.ApiEndpoint),...t.Stat&&{stat:o(t.Stat)}}}function o(t){switch(t.Status){case"valid":{const{Pinning:e,Pinned:r,Queued:n,Failed:i}=t.PinCount;return{status:"valid",pinCount:{queued:n,pinning:e,pinned:r,failed:i}}}case"invalid":return{status:"invalid"};default:return{status:t.Status}}}Object.defineProperty(e,"__esModule",{value:!0}),e.decodeRemoteService=i,e.decodeStat=o,e.encodeEndpoint=n},"8b37":function(t,e,r){},"8bae":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("fb86"),i=r("1ec9"),o=r("2a12"),a=r("6516");const s=i.configure((t,e)=>{async function*r(r,i={}){const s=""+(r instanceof Uint8Array?n.CID.decode(r):r);async function c(t){let r=t.Hash;if(r.includes("/")){const t=r.startsWith("/ipfs/")?r:"/ipfs/"+r,n=await a.createStat(e)(t);r=n.cid}else r=n.CID.parse(r);const i={name:t.Name,path:s+(t.Name?"/"+t.Name:""),size:t.Size,cid:r,type:u(t)};return t.Mode&&(i.mode=parseInt(t.Mode,8)),void 0!==t.Mtime&&null!==t.Mtime&&(i.mtime={secs:t.Mtime},void 0!==t.MtimeNsecs&&null!==t.MtimeNsecs&&(i.mtime.nsecs=t.MtimeNsecs)),i}const l=await t.post("ls",{signal:i.signal,searchParams:o.toUrlSearchParams({arg:s,...i}),headers:i.headers});for await(let t of l.ndjson()){if(t=t.Objects,!t)throw new Error("expected .Objects in results");if(t=t[0],!t)throw new Error("expected one array in results.Objects");const e=t.Links;if(!Array.isArray(e))throw new Error("expected one array in results.Objects[0].Links");if(!e.length)return void(yield c(t));yield*e.map(c)}}return r});function u(t){switch(t.Type){case 1:case 5:return"dir";case 2:return"file";default:return"file"}}e.createLs=s},"8bb0":function(t,e,r){"use strict";var n=r("2db4");r.d(e,"a",(function(){return n["a"]}));n["a"]},"8c4f":function(t,e,r){"use strict";function n(t,e){for(var r in e)t[r]=e[r];return t}r.d(e,"a",(function(){return xe}));var i=/[!'()*]/g,o=function(t){return"%"+t.charCodeAt(0).toString(16)},a=/%2C/g,s=function(t){return encodeURIComponent(t).replace(i,o).replace(a,",")};function u(t){try{return decodeURIComponent(t)}catch(e){0}return t}function c(t,e,r){void 0===e&&(e={});var n,i=r||h;try{n=i(t||"")}catch(s){n={}}for(var o in e){var a=e[o];n[o]=Array.isArray(a)?a.map(l):l(a)}return n}var l=function(t){return null==t||"object"===typeof t?t:String(t)};function h(t){var e={};return t=t.trim().replace(/^(\?|#|&)/,""),t?(t.split("&").forEach((function(t){var r=t.replace(/\+/g," ").split("="),n=u(r.shift()),i=r.length>0?u(r.join("=")):null;void 0===e[n]?e[n]=i:Array.isArray(e[n])?e[n].push(i):e[n]=[e[n],i]})),e):e}function f(t){var e=t?Object.keys(t).map((function(e){var r=t[e];if(void 0===r)return"";if(null===r)return s(e);if(Array.isArray(r)){var n=[];return r.forEach((function(t){void 0!==t&&(null===t?n.push(s(e)):n.push(s(e)+"="+s(t)))})),n.join("&")}return s(e)+"="+s(r)})).filter((function(t){return t.length>0})).join("&"):null;return e?"?"+e:""}var d=/\/?$/;function p(t,e,r,n){var i=n&&n.options.stringifyQuery,o=e.query||{};try{o=m(o)}catch(s){}var a={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:o,params:e.params||{},fullPath:v(e,i),matched:t?y(t):[]};return r&&(a.redirectedFrom=v(r,i)),Object.freeze(a)}function m(t){if(Array.isArray(t))return t.map(m);if(t&&"object"===typeof t){var e={};for(var r in t)e[r]=m(t[r]);return e}return t}var g=p(null,{path:"/"});function y(t){var e=[];while(t)e.unshift(t),t=t.parent;return e}function v(t,e){var r=t.path,n=t.query;void 0===n&&(n={});var i=t.hash;void 0===i&&(i="");var o=e||f;return(r||"/")+o(n)+i}function b(t,e,r){return e===g?t===e:!!e&&(t.path&&e.path?t.path.replace(d,"")===e.path.replace(d,"")&&(r||t.hash===e.hash&&_(t.query,e.query)):!(!t.name||!e.name)&&(t.name===e.name&&(r||t.hash===e.hash&&_(t.query,e.query)&&_(t.params,e.params))))}function _(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var r=Object.keys(t).sort(),n=Object.keys(e).sort();return r.length===n.length&&r.every((function(r,i){var o=t[r],a=n[i];if(a!==r)return!1;var s=e[r];return null==o||null==s?o===s:"object"===typeof o&&"object"===typeof s?_(o,s):String(o)===String(s)}))}function w(t,e){return 0===t.path.replace(d,"/").indexOf(e.path.replace(d,"/"))&&(!e.hash||t.hash===e.hash)&&x(t.query,e.query)}function x(t,e){for(var r in e)if(!(r in t))return!1;return!0}function k(t){for(var e=0;e<t.matched.length;e++){var r=t.matched[e];for(var n in r.instances){var i=r.instances[n],o=r.enteredCbs[n];if(i&&o){delete r.enteredCbs[n];for(var a=0;a<o.length;a++)i._isBeingDestroyed||o[a](i)}}}}var S={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var r=e.props,i=e.children,o=e.parent,a=e.data;a.routerView=!0;var s=o.$createElement,u=r.name,c=o.$route,l=o._routerViewCache||(o._routerViewCache={}),h=0,f=!1;while(o&&o._routerRoot!==o){var d=o.$vnode?o.$vnode.data:{};d.routerView&&h++,d.keepAlive&&o._directInactive&&o._inactive&&(f=!0),o=o.$parent}if(a.routerViewDepth=h,f){var p=l[u],m=p&&p.component;return m?(p.configProps&&E(m,a,p.route,p.configProps),s(m,a,i)):s()}var g=c.matched[h],y=g&&g.components[u];if(!g||!y)return l[u]=null,s();l[u]={component:y},a.registerRouteInstance=function(t,e){var r=g.instances[u];(e&&r!==t||!e&&r===t)&&(g.instances[u]=e)},(a.hook||(a.hook={})).prepatch=function(t,e){g.instances[u]=e.componentInstance},a.hook.init=function(t){t.data.keepAlive&&t.componentInstance&&t.componentInstance!==g.instances[u]&&(g.instances[u]=t.componentInstance),k(c)};var v=g.props&&g.props[u];return v&&(n(l[u],{route:c,configProps:v}),E(y,a,c,v)),s(y,a,i)}};function E(t,e,r,i){var o=e.props=M(r,i);if(o){o=e.props=n({},o);var a=e.attrs=e.attrs||{};for(var s in o)t.props&&s in t.props||(a[s]=o[s],delete o[s])}}function M(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0;default:0}}function A(t,e,r){var n=t.charAt(0);if("/"===n)return t;if("?"===n||"#"===n)return e+t;var i=e.split("/");r&&i[i.length-1]||i.pop();for(var o=t.replace(/^\//,"").split("/"),a=0;a<o.length;a++){var s=o[a];".."===s?i.pop():"."!==s&&i.push(s)}return""!==i[0]&&i.unshift(""),i.join("/")}function T(t){var e="",r="",n=t.indexOf("#");n>=0&&(e=t.slice(n),t=t.slice(0,n));var i=t.indexOf("?");return i>=0&&(r=t.slice(i+1),t=t.slice(0,i)),{path:t,query:r,hash:e}}function C(t){return t.replace(/\/(?:\s*\/)+/g,"/")}var L=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},P=X,O=N,I=R,D=U,B=K,j=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function N(t,e){var r,n=[],i=0,o=0,a="",s=e&&e.delimiter||"/";while(null!=(r=j.exec(t))){var u=r[0],c=r[1],l=r.index;if(a+=t.slice(o,l),o=l+u.length,c)a+=c[1];else{var h=t[o],f=r[2],d=r[3],p=r[4],m=r[5],g=r[6],y=r[7];a&&(n.push(a),a="");var v=null!=f&&null!=h&&h!==f,b="+"===g||"*"===g,_="?"===g||"*"===g,w=r[2]||s,x=p||m;n.push({name:d||i++,prefix:f||"",delimiter:w,optional:_,repeat:b,partial:v,asterisk:!!y,pattern:x?z(x):y?".*":"[^"+H(w)+"]+?"})}}return o<t.length&&(a+=t.substr(o)),a&&n.push(a),n}function R(t,e){return U(N(t,e),e)}function F(t){return encodeURI(t).replace(/[\/?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function Y(t){return encodeURI(t).replace(/[?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function U(t,e){for(var r=new Array(t.length),n=0;n<t.length;n++)"object"===typeof t[n]&&(r[n]=new RegExp("^(?:"+t[n].pattern+")$",$(e)));return function(e,n){for(var i="",o=e||{},a=n||{},s=a.pretty?F:encodeURIComponent,u=0;u<t.length;u++){var c=t[u];if("string"!==typeof c){var l,h=o[c.name];if(null==h){if(c.optional){c.partial&&(i+=c.prefix);continue}throw new TypeError('Expected "'+c.name+'" to be defined')}if(L(h)){if(!c.repeat)throw new TypeError('Expected "'+c.name+'" to not repeat, but received `'+JSON.stringify(h)+"`");if(0===h.length){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to not be empty')}for(var f=0;f<h.length;f++){if(l=s(h[f]),!r[u].test(l))throw new TypeError('Expected all "'+c.name+'" to match "'+c.pattern+'", but received `'+JSON.stringify(l)+"`");i+=(0===f?c.prefix:c.delimiter)+l}}else{if(l=c.asterisk?Y(h):s(h),!r[u].test(l))throw new TypeError('Expected "'+c.name+'" to match "'+c.pattern+'", but received "'+l+'"');i+=c.prefix+l}}else i+=c}return i}}function H(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function z(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function V(t,e){return t.keys=e,t}function $(t){return t&&t.sensitive?"":"i"}function q(t,e){var r=t.source.match(/\((?!\?)/g);if(r)for(var n=0;n<r.length;n++)e.push({name:n,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return V(t,e)}function G(t,e,r){for(var n=[],i=0;i<t.length;i++)n.push(X(t[i],e,r).source);var o=new RegExp("(?:"+n.join("|")+")",$(r));return V(o,e)}function W(t,e,r){return K(N(t,r),e,r)}function K(t,e,r){L(e)||(r=e||r,e=[]),r=r||{};for(var n=r.strict,i=!1!==r.end,o="",a=0;a<t.length;a++){var s=t[a];if("string"===typeof s)o+=H(s);else{var u=H(s.prefix),c="(?:"+s.pattern+")";e.push(s),s.repeat&&(c+="(?:"+u+c+")*"),c=s.optional?s.partial?u+"("+c+")?":"(?:"+u+"("+c+"))?":u+"("+c+")",o+=c}}var l=H(r.delimiter||"/"),h=o.slice(-l.length)===l;return n||(o=(h?o.slice(0,-l.length):o)+"(?:"+l+"(?=$))?"),o+=i?"$":n&&h?"":"(?="+l+"|$)",V(new RegExp("^"+o,$(r)),e)}function X(t,e,r){return L(e)||(r=e||r,e=[]),r=r||{},t instanceof RegExp?q(t,e):L(t)?G(t,e,r):W(t,e,r)}P.parse=O,P.compile=I,P.tokensToFunction=D,P.tokensToRegExp=B;var J=Object.create(null);function Z(t,e,r){e=e||{};try{var n=J[t]||(J[t]=P.compile(t));return"string"===typeof e.pathMatch&&(e[0]=e.pathMatch),n(e,{pretty:!0})}catch(i){return""}finally{delete e[0]}}function Q(t,e,r,i){var o="string"===typeof t?{path:t}:t;if(o._normalized)return o;if(o.name){o=n({},t);var a=o.params;return a&&"object"===typeof a&&(o.params=n({},a)),o}if(!o.path&&o.params&&e){o=n({},o),o._normalized=!0;var s=n(n({},e.params),o.params);if(e.name)o.name=e.name,o.params=s;else if(e.matched.length){var u=e.matched[e.matched.length-1].path;o.path=Z(u,s,"path "+e.path)}else 0;return o}var l=T(o.path||""),h=e&&e.path||"/",f=l.path?A(l.path,h,r||o.append):h,d=c(l.query,o.query,i&&i.options.parseQuery),p=o.hash||l.hash;return p&&"#"!==p.charAt(0)&&(p="#"+p),{_normalized:!0,path:f,query:d,hash:p}}var tt,et=[String,Object],rt=[String,Array],nt=function(){},it={name:"RouterLink",props:{to:{type:et,required:!0},tag:{type:String,default:"a"},custom:Boolean,exact:Boolean,exactPath:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:rt,default:"click"}},render:function(t){var e=this,r=this.$router,i=this.$route,o=r.resolve(this.to,i,this.append),a=o.location,s=o.route,u=o.href,c={},l=r.options.linkActiveClass,h=r.options.linkExactActiveClass,f=null==l?"router-link-active":l,d=null==h?"router-link-exact-active":h,m=null==this.activeClass?f:this.activeClass,g=null==this.exactActiveClass?d:this.exactActiveClass,y=s.redirectedFrom?p(null,Q(s.redirectedFrom),null,r):s;c[g]=b(i,y,this.exactPath),c[m]=this.exact||this.exactPath?c[g]:w(i,y);var v=c[g]?this.ariaCurrentValue:null,_=function(t){ot(t)&&(e.replace?r.replace(a,nt):r.push(a,nt))},x={click:ot};Array.isArray(this.event)?this.event.forEach((function(t){x[t]=_})):x[this.event]=_;var k={class:c},S=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:u,route:s,navigate:_,isActive:c[m],isExactActive:c[g]});if(S){if(1===S.length)return S[0];if(S.length>1||!S.length)return 0===S.length?t():t("span",{},S)}if("a"===this.tag)k.on=x,k.attrs={href:u,"aria-current":v};else{var E=at(this.$slots.default);if(E){E.isStatic=!1;var M=E.data=n({},E.data);for(var A in M.on=M.on||{},M.on){var T=M.on[A];A in x&&(M.on[A]=Array.isArray(T)?T:[T])}for(var C in x)C in M.on?M.on[C].push(x[C]):M.on[C]=_;var L=E.data.attrs=n({},E.data.attrs);L.href=u,L["aria-current"]=v}else k.on=x}return t(this.tag,k,this.$slots.default)}};function ot(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&(void 0===t.button||0===t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function at(t){if(t)for(var e,r=0;r<t.length;r++){if(e=t[r],"a"===e.tag)return e;if(e.children&&(e=at(e.children)))return e}}function st(t){if(!st.installed||tt!==t){st.installed=!0,tt=t;var e=function(t){return void 0!==t},r=function(t,r){var n=t.$options._parentVnode;e(n)&&e(n=n.data)&&e(n=n.registerRouteInstance)&&n(t,r)};t.mixin({beforeCreate:function(){e(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),t.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,r(this,this)},destroyed:function(){r(this)}}),Object.defineProperty(t.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(t.prototype,"$route",{get:function(){return this._routerRoot._route}}),t.component("RouterView",S),t.component("RouterLink",it);var n=t.config.optionMergeStrategies;n.beforeRouteEnter=n.beforeRouteLeave=n.beforeRouteUpdate=n.created}}var ut="undefined"!==typeof window;function ct(t,e,r,n,i){var o=e||[],a=r||Object.create(null),s=n||Object.create(null);t.forEach((function(t){lt(o,a,s,t,i)}));for(var u=0,c=o.length;u<c;u++)"*"===o[u]&&(o.push(o.splice(u,1)[0]),c--,u--);return{pathList:o,pathMap:a,nameMap:s}}function lt(t,e,r,n,i,o){var a=n.path,s=n.name;var u=n.pathToRegexpOptions||{},c=ft(a,i,u.strict);"boolean"===typeof n.caseSensitive&&(u.sensitive=n.caseSensitive);var l={path:c,regex:ht(c,u),components:n.components||{default:n.component},alias:n.alias?"string"===typeof n.alias?[n.alias]:n.alias:[],instances:{},enteredCbs:{},name:s,parent:i,matchAs:o,redirect:n.redirect,beforeEnter:n.beforeEnter,meta:n.meta||{},props:null==n.props?{}:n.components?n.props:{default:n.props}};if(n.children&&n.children.forEach((function(n){var i=o?C(o+"/"+n.path):void 0;lt(t,e,r,n,l,i)})),e[l.path]||(t.push(l.path),e[l.path]=l),void 0!==n.alias)for(var h=Array.isArray(n.alias)?n.alias:[n.alias],f=0;f<h.length;++f){var d=h[f];0;var p={path:d,children:n.children};lt(t,e,r,p,i,l.path||"/")}s&&(r[s]||(r[s]=l))}function ht(t,e){var r=P(t,[],e);return r}function ft(t,e,r){return r||(t=t.replace(/\/$/,"")),"/"===t[0]||null==e?t:C(e.path+"/"+t)}function dt(t,e){var r=ct(t),n=r.pathList,i=r.pathMap,o=r.nameMap;function a(t){ct(t,n,i,o)}function s(t,e){var r="object"!==typeof t?o[t]:void 0;ct([e||t],n,i,o,r),r&&r.alias.length&&ct(r.alias.map((function(t){return{path:t,children:[e]}})),n,i,o,r)}function u(){return n.map((function(t){return i[t]}))}function c(t,r,a){var s=Q(t,r,!1,e),u=s.name;if(u){var c=o[u];if(!c)return f(null,s);var l=c.regex.keys.filter((function(t){return!t.optional})).map((function(t){return t.name}));if("object"!==typeof s.params&&(s.params={}),r&&"object"===typeof r.params)for(var h in r.params)!(h in s.params)&&l.indexOf(h)>-1&&(s.params[h]=r.params[h]);return s.path=Z(c.path,s.params,'named route "'+u+'"'),f(c,s,a)}if(s.path){s.params={};for(var d=0;d<n.length;d++){var p=n[d],m=i[p];if(pt(m.regex,s.path,s.params))return f(m,s,a)}}return f(null,s)}function l(t,r){var n=t.redirect,i="function"===typeof n?n(p(t,r,null,e)):n;if("string"===typeof i&&(i={path:i}),!i||"object"!==typeof i)return f(null,r);var a=i,s=a.name,u=a.path,l=r.query,h=r.hash,d=r.params;if(l=a.hasOwnProperty("query")?a.query:l,h=a.hasOwnProperty("hash")?a.hash:h,d=a.hasOwnProperty("params")?a.params:d,s){o[s];return c({_normalized:!0,name:s,query:l,hash:h,params:d},void 0,r)}if(u){var m=mt(u,t),g=Z(m,d,'redirect route with path "'+m+'"');return c({_normalized:!0,path:g,query:l,hash:h},void 0,r)}return f(null,r)}function h(t,e,r){var n=Z(r,e.params,'aliased route with path "'+r+'"'),i=c({_normalized:!0,path:n});if(i){var o=i.matched,a=o[o.length-1];return e.params=i.params,f(a,e)}return f(null,e)}function f(t,r,n){return t&&t.redirect?l(t,n||r):t&&t.matchAs?h(t,r,t.matchAs):p(t,r,n,e)}return{match:c,addRoute:s,getRoutes:u,addRoutes:a}}function pt(t,e,r){var n=e.match(t);if(!n)return!1;if(!r)return!0;for(var i=1,o=n.length;i<o;++i){var a=t.keys[i-1];a&&(r[a.name||"pathMatch"]="string"===typeof n[i]?u(n[i]):n[i])}return!0}function mt(t,e){return A(t,e.parent?e.parent.path:"/",!0)}var gt=ut&&window.performance&&window.performance.now?window.performance:Date;function yt(){return gt.now().toFixed(3)}var vt=yt();function bt(){return vt}function _t(t){return vt=t}var wt=Object.create(null);function xt(){"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual");var t=window.location.protocol+"//"+window.location.host,e=window.location.href.replace(t,""),r=n({},window.history.state);return r.key=bt(),window.history.replaceState(r,"",e),window.addEventListener("popstate",Et),function(){window.removeEventListener("popstate",Et)}}function kt(t,e,r,n){if(t.app){var i=t.options.scrollBehavior;i&&t.app.$nextTick((function(){var o=Mt(),a=i.call(t,e,r,n?o:null);a&&("function"===typeof a.then?a.then((function(t){It(t,o)})).catch((function(t){0})):It(a,o))}))}}function St(){var t=bt();t&&(wt[t]={x:window.pageXOffset,y:window.pageYOffset})}function Et(t){St(),t.state&&t.state.key&&_t(t.state.key)}function Mt(){var t=bt();if(t)return wt[t]}function At(t,e){var r=document.documentElement,n=r.getBoundingClientRect(),i=t.getBoundingClientRect();return{x:i.left-n.left-e.x,y:i.top-n.top-e.y}}function Tt(t){return Pt(t.x)||Pt(t.y)}function Ct(t){return{x:Pt(t.x)?t.x:window.pageXOffset,y:Pt(t.y)?t.y:window.pageYOffset}}function Lt(t){return{x:Pt(t.x)?t.x:0,y:Pt(t.y)?t.y:0}}function Pt(t){return"number"===typeof t}var Ot=/^#\d/;function It(t,e){var r="object"===typeof t;if(r&&"string"===typeof t.selector){var n=Ot.test(t.selector)?document.getElementById(t.selector.slice(1)):document.querySelector(t.selector);if(n){var i=t.offset&&"object"===typeof t.offset?t.offset:{};i=Lt(i),e=At(n,i)}else Tt(t)&&(e=Ct(t))}else r&&Tt(t)&&(e=Ct(t));e&&("scrollBehavior"in document.documentElement.style?window.scrollTo({left:e.x,top:e.y,behavior:t.behavior}):window.scrollTo(e.x,e.y))}var Dt=ut&&function(){var t=window.navigator.userAgent;return(-1===t.indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&(window.history&&"function"===typeof window.history.pushState)}();function Bt(t,e){St();var r=window.history;try{if(e){var i=n({},r.state);i.key=bt(),r.replaceState(i,"",t)}else r.pushState({key:_t(yt())},"",t)}catch(o){window.location[e?"replace":"assign"](t)}}function jt(t){Bt(t,!0)}var Nt={redirected:2,aborted:4,cancelled:8,duplicated:16};function Rt(t,e){return Ht(t,e,Nt.redirected,'Redirected when going from "'+t.fullPath+'" to "'+Vt(e)+'" via a navigation guard.')}function Ft(t,e){var r=Ht(t,e,Nt.duplicated,'Avoided redundant navigation to current location: "'+t.fullPath+'".');return r.name="NavigationDuplicated",r}function Yt(t,e){return Ht(t,e,Nt.cancelled,'Navigation cancelled from "'+t.fullPath+'" to "'+e.fullPath+'" with a new navigation.')}function Ut(t,e){return Ht(t,e,Nt.aborted,'Navigation aborted from "'+t.fullPath+'" to "'+e.fullPath+'" via a navigation guard.')}function Ht(t,e,r,n){var i=new Error(n);return i._isRouter=!0,i.from=t,i.to=e,i.type=r,i}var zt=["params","query","hash"];function Vt(t){if("string"===typeof t)return t;if("path"in t)return t.path;var e={};return zt.forEach((function(r){r in t&&(e[r]=t[r])})),JSON.stringify(e,null,2)}function $t(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function qt(t,e){return $t(t)&&t._isRouter&&(null==e||t.type===e)}function Gt(t,e,r){var n=function(i){i>=t.length?r():t[i]?e(t[i],(function(){n(i+1)})):n(i+1)};n(0)}function Wt(t){return function(e,r,n){var i=!1,o=0,a=null;Kt(t,(function(t,e,r,s){if("function"===typeof t&&void 0===t.cid){i=!0,o++;var u,c=Qt((function(e){Zt(e)&&(e=e.default),t.resolved="function"===typeof e?e:tt.extend(e),r.components[s]=e,o--,o<=0&&n()})),l=Qt((function(t){var e="Failed to resolve async component "+s+": "+t;a||(a=$t(t)?t:new Error(e),n(a))}));try{u=t(c,l)}catch(f){l(f)}if(u)if("function"===typeof u.then)u.then(c,l);else{var h=u.component;h&&"function"===typeof h.then&&h.then(c,l)}}})),i||n()}}function Kt(t,e){return Xt(t.map((function(t){return Object.keys(t.components).map((function(r){return e(t.components[r],t.instances[r],t,r)}))})))}function Xt(t){return Array.prototype.concat.apply([],t)}var Jt="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag;function Zt(t){return t.__esModule||Jt&&"Module"===t[Symbol.toStringTag]}function Qt(t){var e=!1;return function(){var r=[],n=arguments.length;while(n--)r[n]=arguments[n];if(!e)return e=!0,t.apply(this,r)}}var te=function(t,e){this.router=t,this.base=ee(e),this.current=g,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function ee(t){if(!t)if(ut){var e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^https?:\/\/[^\/]+/,"")}else t="/";return"/"!==t.charAt(0)&&(t="/"+t),t.replace(/\/$/,"")}function re(t,e){var r,n=Math.max(t.length,e.length);for(r=0;r<n;r++)if(t[r]!==e[r])break;return{updated:e.slice(0,r),activated:e.slice(r),deactivated:t.slice(r)}}function ne(t,e,r,n){var i=Kt(t,(function(t,n,i,o){var a=ie(t,e);if(a)return Array.isArray(a)?a.map((function(t){return r(t,n,i,o)})):r(a,n,i,o)}));return Xt(n?i.reverse():i)}function ie(t,e){return"function"!==typeof t&&(t=tt.extend(t)),t.options[e]}function oe(t){return ne(t,"beforeRouteLeave",se,!0)}function ae(t){return ne(t,"beforeRouteUpdate",se)}function se(t,e){if(e)return function(){return t.apply(e,arguments)}}function ue(t){return ne(t,"beforeRouteEnter",(function(t,e,r,n){return ce(t,r,n)}))}function ce(t,e,r){return function(n,i,o){return t(n,i,(function(t){"function"===typeof t&&(e.enteredCbs[r]||(e.enteredCbs[r]=[]),e.enteredCbs[r].push(t)),o(t)}))}}te.prototype.listen=function(t){this.cb=t},te.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},te.prototype.onError=function(t){this.errorCbs.push(t)},te.prototype.transitionTo=function(t,e,r){var n,i=this;try{n=this.router.match(t,this.current)}catch(a){throw this.errorCbs.forEach((function(t){t(a)})),a}var o=this.current;this.confirmTransition(n,(function(){i.updateRoute(n),e&&e(n),i.ensureURL(),i.router.afterHooks.forEach((function(t){t&&t(n,o)})),i.ready||(i.ready=!0,i.readyCbs.forEach((function(t){t(n)})))}),(function(t){r&&r(t),t&&!i.ready&&(qt(t,Nt.redirected)&&o===g||(i.ready=!0,i.readyErrorCbs.forEach((function(e){e(t)}))))}))},te.prototype.confirmTransition=function(t,e,r){var n=this,i=this.current;this.pending=t;var o=function(t){!qt(t)&&$t(t)&&(n.errorCbs.length?n.errorCbs.forEach((function(e){e(t)})):console.error(t)),r&&r(t)},a=t.matched.length-1,s=i.matched.length-1;if(b(t,i)&&a===s&&t.matched[a]===i.matched[s])return this.ensureURL(),t.hash&&kt(this.router,i,t,!1),o(Ft(i,t));var u=re(this.current.matched,t.matched),c=u.updated,l=u.deactivated,h=u.activated,f=[].concat(oe(l),this.router.beforeHooks,ae(c),h.map((function(t){return t.beforeEnter})),Wt(h)),d=function(e,r){if(n.pending!==t)return o(Yt(i,t));try{e(t,i,(function(e){!1===e?(n.ensureURL(!0),o(Ut(i,t))):$t(e)?(n.ensureURL(!0),o(e)):"string"===typeof e||"object"===typeof e&&("string"===typeof e.path||"string"===typeof e.name)?(o(Rt(i,t)),"object"===typeof e&&e.replace?n.replace(e):n.push(e)):r(e)}))}catch(a){o(a)}};Gt(f,d,(function(){var r=ue(h),a=r.concat(n.router.resolveHooks);Gt(a,d,(function(){if(n.pending!==t)return o(Yt(i,t));n.pending=null,e(t),n.router.app&&n.router.app.$nextTick((function(){k(t)}))}))}))},te.prototype.updateRoute=function(t){this.current=t,this.cb&&this.cb(t)},te.prototype.setupListeners=function(){},te.prototype.teardown=function(){this.listeners.forEach((function(t){t()})),this.listeners=[],this.current=g,this.pending=null};var le=function(t){function e(e,r){t.call(this,e,r),this._startLocation=he(this.base)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router,r=e.options.scrollBehavior,n=Dt&&r;n&&this.listeners.push(xt());var i=function(){var r=t.current,i=he(t.base);t.current===g&&i===t._startLocation||t.transitionTo(i,(function(t){n&&kt(e,t,r,!0)}))};window.addEventListener("popstate",i),this.listeners.push((function(){window.removeEventListener("popstate",i)}))}},e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,r){var n=this,i=this,o=i.current;this.transitionTo(t,(function(t){Bt(C(n.base+t.fullPath)),kt(n.router,t,o,!1),e&&e(t)}),r)},e.prototype.replace=function(t,e,r){var n=this,i=this,o=i.current;this.transitionTo(t,(function(t){jt(C(n.base+t.fullPath)),kt(n.router,t,o,!1),e&&e(t)}),r)},e.prototype.ensureURL=function(t){if(he(this.base)!==this.current.fullPath){var e=C(this.base+this.current.fullPath);t?Bt(e):jt(e)}},e.prototype.getCurrentLocation=function(){return he(this.base)},e}(te);function he(t){var e=window.location.pathname,r=e.toLowerCase(),n=t.toLowerCase();return!t||r!==n&&0!==r.indexOf(C(n+"/"))||(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var fe=function(t){function e(e,r,n){t.call(this,e,r),n&&de(this.base)||pe()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router,r=e.options.scrollBehavior,n=Dt&&r;n&&this.listeners.push(xt());var i=function(){var e=t.current;pe()&&t.transitionTo(me(),(function(r){n&&kt(t.router,r,e,!0),Dt||ve(r.fullPath)}))},o=Dt?"popstate":"hashchange";window.addEventListener(o,i),this.listeners.push((function(){window.removeEventListener(o,i)}))}},e.prototype.push=function(t,e,r){var n=this,i=this,o=i.current;this.transitionTo(t,(function(t){ye(t.fullPath),kt(n.router,t,o,!1),e&&e(t)}),r)},e.prototype.replace=function(t,e,r){var n=this,i=this,o=i.current;this.transitionTo(t,(function(t){ve(t.fullPath),kt(n.router,t,o,!1),e&&e(t)}),r)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;me()!==e&&(t?ye(e):ve(e))},e.prototype.getCurrentLocation=function(){return me()},e}(te);function de(t){var e=he(t);if(!/^\/#/.test(e))return window.location.replace(C(t+"/#"+e)),!0}function pe(){var t=me();return"/"===t.charAt(0)||(ve("/"+t),!1)}function me(){var t=window.location.href,e=t.indexOf("#");return e<0?"":(t=t.slice(e+1),t)}function ge(t){var e=window.location.href,r=e.indexOf("#"),n=r>=0?e.slice(0,r):e;return n+"#"+t}function ye(t){Dt?Bt(ge(t)):window.location.hash=t}function ve(t){Dt?jt(ge(t)):window.location.replace(ge(t))}var be=function(t){function e(e,r){t.call(this,e,r),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,r){var n=this;this.transitionTo(t,(function(t){n.stack=n.stack.slice(0,n.index+1).concat(t),n.index++,e&&e(t)}),r)},e.prototype.replace=function(t,e,r){var n=this;this.transitionTo(t,(function(t){n.stack=n.stack.slice(0,n.index).concat(t),e&&e(t)}),r)},e.prototype.go=function(t){var e=this,r=this.index+t;if(!(r<0||r>=this.stack.length)){var n=this.stack[r];this.confirmTransition(n,(function(){var t=e.current;e.index=r,e.updateRoute(n),e.router.afterHooks.forEach((function(e){e&&e(n,t)}))}),(function(t){qt(t,Nt.duplicated)&&(e.index=r)}))}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(te),_e=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=dt(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!Dt&&!1!==t.fallback,this.fallback&&(e="hash"),ut||(e="abstract"),this.mode=e,e){case"history":this.history=new le(this,t.base);break;case"hash":this.history=new fe(this,t.base,this.fallback);break;case"abstract":this.history=new be(this,t.base);break;default:0}},we={currentRoute:{configurable:!0}};_e.prototype.match=function(t,e,r){return this.matcher.match(t,e,r)},we.currentRoute.get=function(){return this.history&&this.history.current},_e.prototype.init=function(t){var e=this;if(this.apps.push(t),t.$once("hook:destroyed",(function(){var r=e.apps.indexOf(t);r>-1&&e.apps.splice(r,1),e.app===t&&(e.app=e.apps[0]||null),e.app||e.history.teardown()})),!this.app){this.app=t;var r=this.history;if(r instanceof le||r instanceof fe){var n=function(t){var n=r.current,i=e.options.scrollBehavior,o=Dt&&i;o&&"fullPath"in t&&kt(e,t,n,!1)},i=function(t){r.setupListeners(),n(t)};r.transitionTo(r.getCurrentLocation(),i,i)}r.listen((function(t){e.apps.forEach((function(e){e._route=t}))}))}},_e.prototype.beforeEach=function(t){return ke(this.beforeHooks,t)},_e.prototype.beforeResolve=function(t){return ke(this.resolveHooks,t)},_e.prototype.afterEach=function(t){return ke(this.afterHooks,t)},_e.prototype.onReady=function(t,e){this.history.onReady(t,e)},_e.prototype.onError=function(t){this.history.onError(t)},_e.prototype.push=function(t,e,r){var n=this;if(!e&&!r&&"undefined"!==typeof Promise)return new Promise((function(e,r){n.history.push(t,e,r)}));this.history.push(t,e,r)},_e.prototype.replace=function(t,e,r){var n=this;if(!e&&!r&&"undefined"!==typeof Promise)return new Promise((function(e,r){n.history.replace(t,e,r)}));this.history.replace(t,e,r)},_e.prototype.go=function(t){this.history.go(t)},_e.prototype.back=function(){this.go(-1)},_e.prototype.forward=function(){this.go(1)},_e.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map((function(t){return Object.keys(t.components).map((function(e){return t.components[e]}))}))):[]},_e.prototype.resolve=function(t,e,r){e=e||this.history.current;var n=Q(t,e,r,this),i=this.match(n,e),o=i.redirectedFrom||i.fullPath,a=this.history.base,s=Se(a,o,this.mode);return{location:n,route:i,href:s,normalizedTo:n,resolved:i}},_e.prototype.getRoutes=function(){return this.matcher.getRoutes()},_e.prototype.addRoute=function(t,e){this.matcher.addRoute(t,e),this.history.current!==g&&this.history.transitionTo(this.history.getCurrentLocation())},_e.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==g&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(_e.prototype,we);var xe=_e;function ke(t,e){return t.push(e),function(){var r=t.indexOf(e);r>-1&&t.splice(r,1)}}function Se(t,e,r){var n="hash"===r?"#"+e:e;return t?C(t+"/"+n):n}_e.install=st,_e.version="3.6.5",_e.isNavigationFailure=qt,_e.NavigationFailureType=Nt,_e.START_LOCATION=g,ut&&window.Vue&&window.Vue.use(_e)},"8c86":function(t,e,r){"use strict";function n(t,e){if(e.length<t)throw new TypeError(t+" argument"+(t>1?"s":"")+" required, but only "+e.length+" present")}r.d(e,"a",(function(){return n}))},"8cb5":function(t,e,r){"use strict";t.exports={API_ORIGIN:"https://api.mapbox.com",EVENT_PROGRESS_DOWNLOAD:"downloadProgress",EVENT_PROGRESS_UPLOAD:"uploadProgress",EVENT_ERROR:"error",EVENT_RESPONSE:"response",ERROR_HTTP:"HttpError",ERROR_REQUEST_ABORTED:"RequestAbortedError"}},"8cd0":function(t,e,r){},"8ce9":function(t,e,r){},"8d47":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
function e(t){return"undefined"!==typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}var r=t.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(t,e){return t?"string"===typeof e&&/D/.test(e.substring(0,e.indexOf("MMMM")))?this._monthsGenitiveEl[t.month()]:this._monthsNominativeEl[t.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(t,e,r){return t>11?r?"μμ":"ΜΜ":r?"πμ":"ΠΜ"},isPM:function(t){return"μ"===(t+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/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:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(t,r){var n=this._calendarEl[t],i=r&&r.hours();return e(n)&&(n=n.apply(r)),n.replace("{}",i%12===1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}});return r}))},"8d4f":function(t,e,r){},"8d57":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),r="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),n=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^paź/i,/^lis/i,/^gru/i];function i(t){return t%10<5&&t%10>1&&~~(t/10)%10!==1}function o(t,e,r){var n=t+" ";switch(r){case"ss":return n+(i(t)?"sekundy":"sekund");case"m":return e?"minuta":"minutę";case"mm":return n+(i(t)?"minuty":"minut");case"h":return e?"godzina":"godzinę";case"hh":return n+(i(t)?"godziny":"godzin");case"ww":return n+(i(t)?"tygodnie":"tygodni");case"MM":return n+(i(t)?"miesiące":"miesięcy");case"yy":return n+(i(t)?"lata":"lat")}}var a=t.defineLocale("pl",{months:function(t,n){return t?/D MMMM/.test(n)?r[t.month()]:e[t.month()]:e},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_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ś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:o,m:o,mm:o,h:o,hh:o,d:"1 dzień",dd:"%d dni",w:"tydzień",ww:o,M:"miesiąc",MM:o,y:"rok",yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return a}))},"8d93":function(t,e,r){"use strict";r("b322")},"8da5":function(t,e,r){"use strict";r.d(e,"a",(function(){return u})),r.d(e,"b",(function(){return c}));var n=r("80d2");const i=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],o=t=>t<=.0031308?12.92*t:1.055*t**(1/2.4)-.055,a=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],s=t=>t<=.04045?t/12.92:((t+.055)/1.055)**2.4;function u(t){const e=Array(3),r=o,a=i;for(let i=0;i<3;++i)e[i]=Math.round(255*Object(n["g"])(r(a[i][0]*t[0]+a[i][1]*t[1]+a[i][2]*t[2])));return(e[0]<<16)+(e[1]<<8)+(e[2]<<0)}function c(t){const e=[0,0,0],r=s,n=a,i=r((t>>16&255)/255),o=r((t>>8&255)/255),u=r((t>>0&255)/255);for(let a=0;a<3;++a)e[a]=n[a][0]*i+n[a][1]*o+n[a][2]*u;return e}},"8dd9":function(t,e,r){"use strict";r("25a8");var n=r("7e2b"),i=r("a9ad"),o=r("c995"),a=r("24b2"),s=r("a236"),u=r("7560"),c=r("58df");e["a"]=Object(c["a"])(n["a"],i["a"],o["a"],a["a"],s["a"],u["a"]).extend({name:"v-sheet",props:{outlined:Boolean,shaped:Boolean,tag:{type:String,default:"div"}},computed:{classes(){return{"v-sheet":!0,"v-sheet--outlined":this.outlined,"v-sheet--shaped":this.shaped,...this.themeClasses,...this.elevationClasses,...this.roundedClasses}},styles(){return this.measurableStyles}},render(t){const e={class:this.classes,style:this.styles,on:this.listeners$};return t(this.tag,this.setBackgroundColor(this.color,e),this.$slots.default)}})},"8df4":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},r={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"},n=t.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".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:/قبل از ظهر|بعد از ظهر/,isPM:function(t){return/بعد از ظهر/.test(t)},meridiem:function(t,e,r){return t<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"%d ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(t){return t.replace(/[۰-۹]/g,(function(t){return r[t]})).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}});return n}))},"8e36":function(t,e,r){"use strict";r("6ece");var n=r("0789"),i=r("90a2"),o=r("a9ad"),a=r("fe6c"),s=r("a452"),u=r("7560"),c=r("80d2"),l=r("58df");const h=Object(l["a"])(o["a"],Object(a["b"])(["absolute","fixed","top","bottom"]),s["a"],u["a"]);e["a"]=h.extend({name:"v-progress-linear",directives:{intersect:i["b"]},props:{active:{type:Boolean,default:!0},backgroundColor:{type:String,default:null},backgroundOpacity:{type:[Number,String],default:null},bufferValue:{type:[Number,String],default:100},color:{type:String,default:"primary"},height:{type:[Number,String],default:4},indeterminate:Boolean,query:Boolean,reverse:Boolean,rounded:Boolean,stream:Boolean,striped:Boolean,value:{type:[Number,String],default:0}},data(){return{internalLazyValue:this.value||0,isVisible:!0}},computed:{__cachedBackground(){return this.$createElement("div",this.setBackgroundColor(this.backgroundColor||this.color,{staticClass:"v-progress-linear__background",style:this.backgroundStyle}))},__cachedBar(){return this.$createElement(this.computedTransition,[this.__cachedBarType])},__cachedBarType(){return this.indeterminate?this.__cachedIndeterminate:this.__cachedDeterminate},__cachedBuffer(){return this.$createElement("div",{staticClass:"v-progress-linear__buffer",style:this.styles})},__cachedDeterminate(){return this.$createElement("div",this.setBackgroundColor(this.color,{staticClass:"v-progress-linear__determinate",style:{width:Object(c["i"])(this.normalizedValue,"%")}}))},__cachedIndeterminate(){return this.$createElement("div",{staticClass:"v-progress-linear__indeterminate",class:{"v-progress-linear__indeterminate--active":this.active}},[this.genProgressBar("long"),this.genProgressBar("short")])},__cachedStream(){return this.stream?this.$createElement("div",this.setTextColor(this.color,{staticClass:"v-progress-linear__stream",style:{width:Object(c["i"])(100-this.normalizedBuffer,"%")}})):null},backgroundStyle(){const t=null==this.backgroundOpacity?this.backgroundColor?1:.3:parseFloat(this.backgroundOpacity);return{opacity:t,[this.isReversed?"right":"left"]:Object(c["i"])(this.normalizedValue,"%"),width:Object(c["i"])(Math.max(0,this.normalizedBuffer-this.normalizedValue),"%")}},classes(){return{"v-progress-linear--absolute":this.absolute,"v-progress-linear--fixed":this.fixed,"v-progress-linear--query":this.query,"v-progress-linear--reactive":this.reactive,"v-progress-linear--reverse":this.isReversed,"v-progress-linear--rounded":this.rounded,"v-progress-linear--striped":this.striped,"v-progress-linear--visible":this.isVisible,...this.themeClasses}},computedTransition(){return this.indeterminate?n["i"]:n["q"]},isReversed(){return this.$vuetify.rtl!==this.reverse},normalizedBuffer(){return this.normalize(this.bufferValue)},normalizedValue(){return this.normalize(this.internalLazyValue)},reactive(){return Boolean(this.$listeners.change)},styles(){const t={};return this.active||(t.height=0),this.indeterminate||100===parseFloat(this.normalizedBuffer)||(t.width=Object(c["i"])(this.normalizedBuffer,"%")),t}},methods:{genContent(){const t=Object(c["u"])(this,"default",{value:this.internalLazyValue});return t?this.$createElement("div",{staticClass:"v-progress-linear__content"},t):null},genListeners(){const t=this.$listeners;return this.reactive&&(t.click=this.onClick),t},genProgressBar(t){return this.$createElement("div",this.setBackgroundColor(this.color,{staticClass:"v-progress-linear__indeterminate",class:{[t]:!0}}))},onClick(t){if(!this.reactive)return;const{width:e}=this.$el.getBoundingClientRect();this.internalValue=t.offsetX/e*100},onObserve(t,e,r){this.isVisible=r},normalize(t){return t<0?0:t>100?100:parseFloat(t)}},render(t){const e={staticClass:"v-progress-linear",attrs:{role:"progressbar","aria-valuemin":0,"aria-valuemax":this.normalizedBuffer,"aria-valuenow":this.indeterminate?void 0:this.normalizedValue},class:this.classes,directives:[{name:"intersect",value:this.onObserve}],style:{bottom:this.bottom?0:void 0,height:this.active?Object(c["i"])(this.height):0,top:this.top?0:void 0},on:this.genListeners()};return t("div",e,[this.__cachedStream,this.__cachedBackground,this.__cachedBuffer,this.__cachedBar,this.genContent()])}})},"8e73":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},r={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},n=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},i={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},o=function(t){return function(e,r,o,a){var s=n(e),u=i[t][n(e)];return 2===s&&(u=u[r?0:1]),u.replace(/%d/i,e)}},a=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],s=t.defineLocale("ar",{months:a,monthsShort:a,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,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:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,r){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:o("s"),ss:o("s"),m:o("m"),mm:o("m"),h:o("h"),hh:o("h"),d:o("d"),dd:o("d"),M:o("M"),MM:o("M"),y:o("y"),yy:o("y")},preparse:function(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(t){return r[t]})).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},week:{dow:6,doy:12}});return s}))},"8e7c":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("2054"),i=r("1169"),o=r("1ec9"),a=r("2a12"),s=r("842b"),u=r("876b"),c=r("c181"),l=r("eaf0");const h=o.configure(t=>{async function*e(e,r,o={}){const h=new c.AbortController,f=u.abortSignal(h.signal,o.signal),d=await t.post("dht/put",{signal:f,searchParams:a.toUrlSearchParams({arg:l.toString(e),...o}),...await s.multipartRequest(r,h,o.headers)});for await(let t of d.ndjson())t=i.objectToCamel(t),t.responses&&(t.responses=t.responses.map(({ID:t,Addrs:e})=>({id:t,addrs:(e||[]).map(t=>new n.Multiaddr(t))}))),yield t}return e});e.createPut=h},"8efc":function(t,e,r){},"8f5a":function(t,e,r){},"8fea":function(t,e,r){"use strict";r("91f4");var n=r("4a1a"),i=r("c377"),o=r("f41f"),a=r("afdd"),s=r("1e71"),u=r("9d26"),c=r("2b0e"),l=r("80d2");function h(t){var e;return 1!==t.length||!["td","th"].includes(null===(e=t[0])||void 0===e?void 0:e.tag)}var f=c["default"].extend({name:"row",functional:!0,props:{headers:Array,index:Number,item:Object,rtl:Boolean},render(t,{props:e,slots:r,data:n}){const i=r(),o=e.headers.map(r=>{const o=[],a=Object(l["r"])(e.item,r.value),s=r.value,u=n.scopedSlots&&n.scopedSlots.hasOwnProperty(s)&&n.scopedSlots[s],c=i.hasOwnProperty(s)&&i[s];u?o.push(...Object(l["K"])(u({item:e.item,isMobile:!1,header:r,index:e.index,value:a}))):c?o.push(...Object(l["K"])(c)):o.push(null==a?a:String(a));const f="text-"+(r.align||"start");return h(o)?t("td",{class:[f,r.cellClass,{"v-data-table__divider":r.divider}]},o):o});return t("tr",n,o)}}),d=c["default"].extend({name:"row-group",functional:!0,props:{value:{type:Boolean,default:!0},headerClass:{type:String,default:"v-row-group__header"},contentClass:String,summaryClass:{type:String,default:"v-row-group__summary"}},render(t,{slots:e,props:r}){const n=e(),i=[];return n["column.header"]?i.push(t("tr",{staticClass:r.headerClass},n["column.header"])):n["row.header"]&&i.push(...n["row.header"]),n["row.content"]&&r.value&&i.push(...n["row.content"]),n["column.summary"]?i.push(t("tr",{staticClass:r.summaryClass},n["column.summary"])):n["row.summary"]&&i.push(...n["row.summary"]),i}}),p=r("9e88"),m=r("1f4f"),g=c["default"].extend({name:"row",functional:!0,props:{headers:Array,hideDefaultHeader:Boolean,index:Number,item:Object,rtl:Boolean},render(t,{props:e,slots:r,data:n}){const i=r(),o=e.headers.map(r=>{const o={"v-data-table__mobile-row":!0},a=[],s=Object(l["r"])(e.item,r.value),u=r.value,c=n.scopedSlots&&n.scopedSlots.hasOwnProperty(u)&&n.scopedSlots[u],h=i.hasOwnProperty(u)&&i[u];c?a.push(c({item:e.item,isMobile:!0,header:r,index:e.index,value:s})):h?a.push(h):a.push(null==s?s:String(s));const f=[t("div",{staticClass:"v-data-table__mobile-row__cell"},a)];return"dataTableSelect"===r.value||e.hideDefaultHeader||f.unshift(t("div",{staticClass:"v-data-table__mobile-row__header"},[r.text])),t("td",{class:o},f)});return t("tr",{...n,staticClass:"v-data-table__mobile-table-row"},o)}}),y=r("297c"),v=r("ef99"),b=r("5607"),_=r("58df"),w=r("d9bd"),x=r("d9f7");function k(t,e,r){return n=>{const i=Object(l["r"])(t,n.value);return n.filter?n.filter(i,e,t):r(i,e,t)}}function S(t,e,r,n,i,o){return e="string"===typeof e?e.trim():null,"union"===o?e&&n.length||r.length?t.filter(t=>!(!r.length||!r.every(k(t,e,l["n"])))||e&&n.some(k(t,e,i))):t:"intersection"===o?t.filter(t=>{const o=r.every(k(t,e,l["n"])),a=!e||n.some(k(t,e,i));return o&&a}):t}e["a"]=Object(_["a"])(i["a"],y["a"],v["a"]).extend({name:"v-data-table",directives:{ripple:b["b"]},props:{headers:{type:Array,default:()=>[]},showSelect:Boolean,checkboxColor:String,showExpand:Boolean,showGroupBy:Boolean,height:[Number,String],hideDefaultHeader:Boolean,caption:String,dense:Boolean,headerProps:Object,calculateWidths:Boolean,fixedHeader:Boolean,headersLength:Number,expandIcon:{type:String,default:"$expand"},customFilter:{type:Function,default:l["n"]},filterMode:{type:String,default:"intersection"},itemClass:{type:[String,Function],default:()=>""},itemStyle:{type:[String,Function],default:()=>""},loaderHeight:{type:[Number,String],default:4}},data(){return{internalGroupBy:[],openCache:{},widths:[]}},computed:{computedHeaders(){if(!this.headers)return[];const t=this.headers.filter(t=>void 0===t.value||!this.internalGroupBy.find(e=>e===t.value)),e={text:"",sortable:!1,width:"1px"};if(this.showSelect){const r=t.findIndex(t=>"data-table-select"===t.value);r<0?t.unshift({...e,value:"data-table-select"}):t.splice(r,1,{...e,...t[r]})}if(this.showExpand){const r=t.findIndex(t=>"data-table-expand"===t.value);r<0?t.unshift({...e,value:"data-table-expand"}):t.splice(r,1,{...e,...t[r]})}return t},colspanAttrs(){return this.isMobile?void 0:{colspan:this.headersLength||this.computedHeaders.length}},columnSorters(){return this.computedHeaders.reduce((t,e)=>(e.sort&&(t[e.value]=e.sort),t),{})},headersWithCustomFilters(){return this.headers.filter(t=>t.filter&&(!t.hasOwnProperty("filterable")||!0===t.filterable))},headersWithoutCustomFilters(){return this.headers.filter(t=>!t.filter&&(!t.hasOwnProperty("filterable")||!0===t.filterable))},sanitizedHeaderProps(){return Object(l["e"])(this.headerProps)},computedItemsPerPage(){const t=this.options&&this.options.itemsPerPage?this.options.itemsPerPage:this.itemsPerPage,e=this.sanitizedFooterProps.itemsPerPageOptions;if(e&&!e.find(e=>"number"===typeof e?e===t:e.value===t)){const t=e[0];return"object"===typeof t?t.value:t}return t},groupByText(){var t,e,r;return null!==(r=null===(e=null===(t=this.headers)||void 0===t?void 0:t.find(t=>{var e;return t.value===(null===(e=this.internalGroupBy)||void 0===e?void 0:e[0])}))||void 0===e?void 0:e.text)&&void 0!==r?r:""}},created(){const t=[["sort-icon","header-props.sort-icon"],["hide-headers","hide-default-header"],["select-all","show-select"]];t.forEach(([t,e])=>{this.$attrs.hasOwnProperty(t)&&Object(w["a"])(t,e,this)})},mounted(){this.calculateWidths&&(window.addEventListener("resize",this.calcWidths),this.calcWidths())},beforeDestroy(){this.calculateWidths&&window.removeEventListener("resize",this.calcWidths)},methods:{calcWidths(){this.widths=Array.from(this.$el.querySelectorAll("th")).map(t=>t.clientWidth)},customFilterWithColumns(t,e){return S(t,e,this.headersWithCustomFilters,this.headersWithoutCustomFilters,this.customFilter,this.filterMode)},customSortWithHeaders(t,e,r,n){return this.customSort(t,e,r,n,this.columnSorters)},createItemProps(t,e){const r={...i["a"].options.methods.createItemProps.call(this,t,e),headers:this.computedHeaders};return{...r,attrs:{class:{"v-data-table__selected":r.isSelected}},on:{...this.getDefaultMouseEventHandlers(":row",()=>r,!0),click:e=>this.$emit("click:row",t,r,e)}}},genCaption(t){return this.caption?[this.$createElement("caption",[this.caption])]:Object(l["u"])(this,"caption",t,!0)},genColgroup(t){return this.$createElement("colgroup",this.computedHeaders.map(t=>this.$createElement("col",{class:{divider:t.divider}})))},genLoading(){const t=this.$createElement("th",{staticClass:"column",attrs:this.colspanAttrs},[this.genProgress()]),e=this.$createElement("tr",{staticClass:"v-data-table__progress"},[t]);return this.$createElement("thead",[e])},genHeaders(t){const e={props:{...this.sanitizedHeaderProps,headers:this.computedHeaders,options:t.options,mobile:this.isMobile,showGroupBy:this.showGroupBy,checkboxColor:this.checkboxColor,someItems:this.someItems,everyItem:this.everyItem,singleSelect:this.singleSelect,disableSort:this.disableSort},on:{sort:t.sort,group:t.group,"toggle-select-all":this.toggleSelectAll}},r=[Object(l["u"])(this,"header",{...e,isMobile:this.isMobile})];if(!this.hideDefaultHeader){const t=Object(l["s"])("header.",this.$scopedSlots);r.push(this.$createElement(s["a"],{...e,scopedSlots:t}))}return this.loading&&r.push(this.genLoading()),r},genEmptyWrapper(t){return this.$createElement("tr",{staticClass:"v-data-table__empty-wrapper"},[this.$createElement("td",{attrs:this.colspanAttrs},t)])},genItems(t,e){const r=this.genEmpty(e.originalItemsLength,e.pagination.itemsLength);return r?[r]:e.groupedItems?this.genGroupedRows(e.groupedItems,e):this.genRows(t,e)},genGroupedRows(t,e){return t.map(t=>(this.openCache.hasOwnProperty(t.name)||this.$set(this.openCache,t.name,!0),this.$scopedSlots.group?this.$scopedSlots.group({group:t.name,options:e.options,isMobile:this.isMobile,items:t.items,headers:this.computedHeaders}):this.genDefaultGroupedRow(t.name,t.items,e)))},genDefaultGroupedRow(t,e,r){const n=!!this.openCache[t],i=[this.$createElement("template",{slot:"row.content"},this.genRows(e,r))],o=()=>this.$set(this.openCache,t,!this.openCache[t]),s=()=>r.updateOptions({groupBy:[],groupDesc:[]});if(this.$scopedSlots["group.header"])i.unshift(this.$createElement("template",{slot:"column.header"},[this.$scopedSlots["group.header"]({group:t,groupBy:r.options.groupBy,isMobile:this.isMobile,items:e,headers:this.computedHeaders,isOpen:n,toggle:o,remove:s})]));else{const e=this.$createElement(a["b"],{staticClass:"ma-0",props:{icon:!0,small:!0},on:{click:o}},[this.$createElement(u["b"],[n?"$minus":"$plus"])]),r=this.$createElement(a["b"],{staticClass:"ma-0",props:{icon:!0,small:!0},on:{click:s}},[this.$createElement(u["b"],["$close"])]),c=this.$createElement("td",{staticClass:"text-start",attrs:this.colspanAttrs},[e,`${this.groupByText}: ${t}`,r]);i.unshift(this.$createElement("template",{slot:"column.header"},[c]))}return this.$scopedSlots["group.summary"]&&i.push(this.$createElement("template",{slot:"column.summary"},[this.$scopedSlots["group.summary"]({group:t,groupBy:r.options.groupBy,isMobile:this.isMobile,items:e,headers:this.computedHeaders,isOpen:n,toggle:o})])),this.$createElement(d,{key:t,props:{value:n}},i)},genRows(t,e){return this.$scopedSlots.item?this.genScopedRows(t,e):this.genDefaultRows(t,e)},genScopedRows(t,e){const r=[];for(let n=0;n<t.length;n++){const e=t[n];r.push(this.$scopedSlots.item({...this.createItemProps(e,n),isMobile:this.isMobile})),this.isExpanded(e)&&r.push(this.$scopedSlots["expanded-item"]({headers:this.computedHeaders,isMobile:this.isMobile,index:n,item:e}))}return r},genDefaultRows(t,e){return this.$scopedSlots["expanded-item"]?t.map((t,e)=>this.genDefaultExpandedRow(t,e)):t.map((t,e)=>this.genDefaultSimpleRow(t,e))},genDefaultExpandedRow(t,e){const r=this.isExpanded(t),n={"v-data-table__expanded v-data-table__expanded__row":r},i=this.genDefaultSimpleRow(t,e,n),o=this.$createElement("tr",{staticClass:"v-data-table__expanded v-data-table__expanded__content"},[this.$scopedSlots["expanded-item"]({headers:this.computedHeaders,isMobile:this.isMobile,item:t})]);return this.$createElement(d,{props:{value:r}},[this.$createElement("template",{slot:"row.header"},[i]),this.$createElement("template",{slot:"row.content"},[o])])},genDefaultSimpleRow(t,e,r={}){const n=Object(l["s"])("item.",this.$scopedSlots),i=this.createItemProps(t,e);if(this.showSelect){const e=n["data-table-select"];n["data-table-select"]=e?()=>e({...i,isMobile:this.isMobile}):()=>{var e;return this.$createElement(p["a"],{staticClass:"v-data-table__checkbox",props:{value:i.isSelected,disabled:!this.isSelectable(t),color:null!==(e=this.checkboxColor)&&void 0!==e?e:""},on:{input:t=>i.select(t)}})}}if(this.showExpand){const t=n["data-table-expand"];n["data-table-expand"]=t?()=>t(i):()=>this.$createElement(u["b"],{staticClass:"v-data-table__expand-icon",class:{"v-data-table__expand-icon--active":i.isExpanded},on:{click:t=>{t.stopPropagation(),i.expand(!i.isExpanded)}}},[this.expandIcon])}return this.$createElement(this.isMobile?g:f,{key:Object(l["r"])(t,this.itemKey),class:Object(x["b"])({...r,"v-data-table__selected":i.isSelected},Object(l["t"])(t,this.itemClass)),style:Object(x["d"])({},Object(l["t"])(t,this.itemStyle)),props:{headers:this.computedHeaders,hideDefaultHeader:this.hideDefaultHeader,index:e,item:t,rtl:this.$vuetify.rtl},scopedSlots:n,on:i.on})},genBody(t){const e={...t,expand:this.expand,headers:this.computedHeaders,isExpanded:this.isExpanded,isMobile:this.isMobile,isSelected:this.isSelected,select:this.select};return this.$scopedSlots.body?this.$scopedSlots.body(e):this.$createElement("tbody",[Object(l["u"])(this,"body.prepend",e,!0),this.genItems(t.items,t),Object(l["u"])(this,"body.append",e,!0)])},genFoot(t){var e,r;return null===(r=(e=this.$scopedSlots).foot)||void 0===r?void 0:r.call(e,t)},genFooters(t){const e={props:{options:t.options,pagination:t.pagination,itemsPerPageText:"$vuetify.dataTable.itemsPerPageText",...this.sanitizedFooterProps},on:{"update:options":e=>t.updateOptions(e)},widths:this.widths,headers:this.computedHeaders},r=[Object(l["u"])(this,"footer",e,!0)];return this.hideDefaultFooter||r.push(this.$createElement(o["a"],{...e,scopedSlots:Object(l["s"])("footer.",this.$scopedSlots)})),r},genDefaultScopedSlot(t){const e={height:this.height,fixedHeader:this.fixedHeader,dense:this.dense};return this.$createElement(m["a"],{props:e,class:{"v-data-table--mobile":this.isMobile,"v-data-table--selectable":this.showSelect}},[this.proxySlot("top",Object(l["u"])(this,"top",{...t,isMobile:this.isMobile},!0)),this.genCaption(t),this.genColgroup(t),this.genHeaders(t),this.genBody(t),this.genFoot(t),this.proxySlot("bottom",this.genFooters(t))])},proxySlot(t,e){return this.$createElement("template",{slot:t},e)}},render(){return this.$createElement(n["a"],{props:{...this.$props,customFilter:this.customFilterWithColumns,customSort:this.customSortWithHeaders,itemsPerPage:this.computedItemsPerPage},on:{"update:options":(t,e)=>{this.internalGroupBy=t.groupBy||[],!Object(l["m"])(t,e)&&this.$emit("update:options",t)},"update:page":t=>this.$emit("update:page",t),"update:items-per-page":t=>this.$emit("update:items-per-page",t),"update:sort-by":t=>this.$emit("update:sort-by",t),"update:sort-desc":t=>this.$emit("update:sort-desc",t),"update:group-by":t=>this.$emit("update:group-by",t),"update:group-desc":t=>this.$emit("update:group-desc",t),pagination:(t,e)=>!Object(l["m"])(t,e)&&this.$emit("pagination",t),"current-items":t=>{this.internalCurrentItems=t,this.$emit("current-items",t)},"page-count":t=>this.$emit("page-count",t)},scopedSlots:{default:this.genDefaultScopedSlot}})}})},"8ff2":function(t,e,r){},9043:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},r={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},n=t.defineLocale("bn",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".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:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(t){return t.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(t){return r[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(t,e){return 12===t&&(t=0),"রাত"===e&&t>=4||"দুপুর"===e&&t<5||"বিকাল"===e?t+12:t},meridiem:function(t,e,r){return t<4?"রাত":t<10?"সকাল":t<17?"দুপুর":t<20?"বিকাল":"রাত"},week:{dow:0,doy:6}});return n}))},9049:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1169"),i=r("1ec9"),o=r("2a12");const a=i.configure(t=>{async function e(e,r={}){const i=await t.post("key/rm",{signal:r.signal,searchParams:o.toUrlSearchParams({arg:e,...r}),headers:r.headers}),a=await i.json();return n.objectToCamel(a.Keys[0])}return e});e.createRm=a},"905c":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("d1a8"),i=r("3b17");function o(t){return i.normalise(t,n.normaliseContent)}e.normaliseInput=o},"90a2":function(t,e,r){"use strict";function n(t,e,r){if("undefined"===typeof window||!("IntersectionObserver"in window))return;const n=e.modifiers||{},o=e.value,{handler:a,options:s}="object"===typeof o?o:{handler:o,options:{}},u=new IntersectionObserver((o=[],s)=>{var u;const c=null===(u=t._observe)||void 0===u?void 0:u[r.context._uid];if(!c)return;const l=o.some(t=>t.isIntersecting);!a||n.quiet&&!c.init||n.once&&!l&&!c.init||a(o,s,l),l&&n.once?i(t,e,r):c.init=!0},s);t._observe=Object(t._observe),t._observe[r.context._uid]={init:!1,observer:u},u.observe(t)}function i(t,e,r){var n;const i=null===(n=t._observe)||void 0===n?void 0:n[r.context._uid];i&&(i.observer.unobserve(t),delete t._observe[r.context._uid])}r.d(e,"a",(function(){return o}));const o={inserted:n,unbind:i};e["b"]=o},"90ea":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"中午"===e?t>=11?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,r){var n=100*t+e;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}});return e}))},9152:function(t,e){
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
e.read=function(t,e,r,n,i){var o,a,s=8*i-n-1,u=(1<<s)-1,c=u>>1,l=-7,h=r?i-1:0,f=r?-1:1,d=t[e+h];for(h+=f,o=d&(1<<-l)-1,d>>=-l,l+=s;l>0;o=256*o+t[e+h],h+=f,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=n;l>0;a=256*a+t[e+h],h+=f,l-=8);if(0===o)o=1-c;else{if(o===u)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,n),o-=c}return(d?-1:1)*a*Math.pow(2,o-n)},e.write=function(t,e,r,n,i,o){var a,s,u,c=8*o-i-1,l=(1<<c)-1,h=l>>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:o-1,p=n?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=l):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),e+=a+h>=1?f/u:f*Math.pow(2,1-h),e*u>=2&&(a++,u/=2),a+h>=l?(s=0,a=l):a+h>=1?(s=(e*u-1)*Math.pow(2,i),a+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,i),a=0));i>=8;t[r+d]=255&s,d+=p,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;t[r+d]=255&a,d+=p,a/=256,c-=8);t[r+d-p]|=128*m}},"91d3":function(t,e,r){"use strict";const{AbortController:n,AbortSignal:i}="undefined"!==typeof self?self:"undefined"!==typeof window?window:void 0;t.exports=n,t.exports.AbortSignal=i,t.exports.default=n},"91f4":function(t,e,r){},"92b8":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("fb86"),i=r("1ec9"),o=r("589c"),a=r("2a12");const s=i.configure(t=>{async function*e(e,r={}){for await(const{path:i,recursive:s,metadata:u}of o.normaliseInput(e)){const e=await t.post("pin/add",{signal:r.signal,searchParams:a.toUrlSearchParams({...r,arg:i,recursive:s,metadata:u?JSON.stringify(u):void 0,stream:!0}),headers:r.headers});for await(const t of e.ndjson())if(t.Pins)for(const e of t.Pins)yield n.CID.parse(e);else yield n.CID.parse(t)}}return e});e.createAddAll=s},"92cd":function(t,e,r){"use strict";var n,i,o,a,s;t.exports=c;var u=["Point","MultiPoint","LineString","MultiLineString","Polygon","MultiPolygon","GeometryCollection"];function c(t){a=2,s=Math.pow(10,6),o=null,n=[],i=[];var e=t.readFields(l,{});return n=null,e}function l(t,e,r){1===t?n.push(r.readString()):2===t?a=r.readVarint():3===t?s=Math.pow(10,r.readVarint()):4===t?h(r,e):5===t?f(r,e):6===t&&d(r,e)}function h(t,e){return e.type="FeatureCollection",e.features=[],t.readMessage(p,e)}function f(t,e){e.type="Feature";var r=t.readMessage(m,e);return"geometry"in r||(r.geometry=null),r}function d(t,e){return e.type="Point",t.readMessage(g,e)}function p(t,e,r){1===t?e.features.push(f(r,{})):13===t?i.push(v(r)):15===t&&b(r,e)}function m(t,e,r){1===t?e.geometry=d(r,{}):11===t?e.id=r.readString():12===t?e.id=r.readSVarint():13===t?i.push(v(r)):14===t?e.properties=b(r,{}):15===t&&b(r,e)}function g(t,e,r){1===t?e.type=u[r.readVarint()]:2===t?o=r.readPackedVarint():3===t?y(e,r,e.type):4===t?(e.geometries=e.geometries||[],e.geometries.push(d(r,{}))):13===t?i.push(v(r)):15===t&&b(r,e)}function y(t,e,r){"Point"===r?t.coordinates=_(e):"MultiPoint"===r?t.coordinates=x(e,!0):"LineString"===r?t.coordinates=x(e):"MultiLineString"===r?t.coordinates=k(e):"Polygon"===r?t.coordinates=k(e,!0):"MultiPolygon"===r&&(t.coordinates=S(e))}function v(t){var e=t.readVarint()+t.pos,r=null;while(t.pos<e){var n=t.readVarint(),i=n>>3;1===i?r=t.readString():2===i?r=t.readDouble():3===i?r=t.readVarint():4===i?r=-t.readVarint():5===i?r=t.readBoolean():6===i&&(r=JSON.parse(t.readString()))}return r}function b(t,e){var r=t.readVarint()+t.pos;while(t.pos<r)e[n[t.readVarint()]]=i[t.readVarint()];return i=[],e}function _(t){var e=t.readVarint()+t.pos,r=[];while(t.pos<e)r.push(t.readSVarint()/s);return r}function w(t,e,r,n){var i,o,u=0,c=[],l=[];for(o=0;o<a;o++)l[o]=0;while(r?u<r:t.pos<e){for(i=[],o=0;o<a;o++)l[o]+=t.readSVarint(),i[o]=l[o]/s;c.push(i),u++}return n&&c.push(c[0]),c}function x(t){return w(t,t.readVarint()+t.pos)}function k(t,e){var r=t.readVarint()+t.pos;if(!o)return[w(t,r,null,e)];for(var n=[],i=0;i<o.length;i++)n.push(w(t,r,o[i],e));return o=null,n}function S(t){var e=t.readVarint()+t.pos;if(!o)return[[w(t,e,null,!0)]];for(var r=[],n=1,i=0;i<o[0];i++){for(var a=[],s=0;s<o[n];s++)a.push(w(t,e,o[n+1+s],!0));n+=o[n]+1,r.push(a)}return o=null,r}},9335:function(t,e,r){"use strict";var n=r("17fc"),i=r("4e81"),o=r("ceaf"),a=r("7dae"),s=r("50de"),u=r("80d2"),c=r("58df");e["a"]=Object(c["a"])(n["a"]).extend({name:"v-date-picker-date-table",props:{firstDayOfWeek:{type:[String,Number],default:0},localeFirstDayOfYear:{type:[String,Number],default:0},showAdjacentMonths:Boolean,showWeek:Boolean,weekdayFormat:Function},computed:{formatter(){return this.format||Object(o["a"])(this.currentLocale,{day:"numeric",timeZone:"UTC"},{start:8,length:2})},weekdayFormatter(){return this.weekdayFormat||Object(o["a"])(this.currentLocale,{weekday:"narrow",timeZone:"UTC"})},weekDays(){const t=parseInt(this.firstDayOfWeek,10);return this.weekdayFormatter?Object(u["j"])(7).map(e=>this.weekdayFormatter("2017-01-"+(t+e+15))):Object(u["j"])(7).map(e=>["S","M","T","W","T","F","S"][(e+t)%7])}},methods:{calculateTableDate(t){return Object(a["a"])(this.tableDate,Math.sign(t||1))},genTHead(){const t=this.weekDays.map(t=>this.$createElement("th",t));return this.showWeek&&t.unshift(this.$createElement("th")),this.$createElement("thead",this.genTR(t))},weekDaysBeforeFirstDayOfTheMonth(){const t=new Date(`${this.displayedYear}-${Object(s["a"])(this.displayedMonth+1)}-01T00:00:00+00:00`),e=t.getUTCDay();return(e-parseInt(this.firstDayOfWeek)+7)%7},getWeekNumber(t){return Object(i["b"])(this.displayedYear,this.displayedMonth,t,parseInt(this.firstDayOfWeek),parseInt(this.localeFirstDayOfYear))},genWeekNumber(t){return this.$createElement("td",[this.$createElement("small",{staticClass:"v-date-picker-table--date__week"},String(t).padStart(2,"0"))])},genTBody(){const t=[],e=new Date(this.displayedYear,this.displayedMonth+1,0).getDate();let r=[],n=this.weekDaysBeforeFirstDayOfTheMonth();this.showWeek&&r.push(this.genWeekNumber(this.getWeekNumber(1)));const i=this.displayedMonth?this.displayedYear:this.displayedYear-1,o=(this.displayedMonth+11)%12,a=new Date(this.displayedYear,this.displayedMonth,0).getDate(),u=this.showWeek?8:7;while(n--){const t=`${i}-${Object(s["a"])(o+1)}-${Object(s["a"])(a-n)}`;r.push(this.$createElement("td",this.showAdjacentMonths?[this.genButton(t,!0,"date",this.formatter,!0)]:[]))}for(n=1;n<=e;n++){const i=`${this.displayedYear}-${Object(s["a"])(this.displayedMonth+1)}-${Object(s["a"])(n)}`;r.push(this.$createElement("td",[this.genButton(i,!0,"date",this.formatter)])),r.length%u===0&&(t.push(this.genTR(r)),r=[],this.showWeek&&(n<e||this.showAdjacentMonths)&&r.push(this.genWeekNumber(this.getWeekNumber(n+7))))}const c=11===this.displayedMonth?this.displayedYear+1:this.displayedYear,l=(this.displayedMonth+1)%12;let h=1;while(r.length<u){const t=`${c}-${Object(s["a"])(l+1)}-${Object(s["a"])(h++)}`;r.push(this.$createElement("td",this.showAdjacentMonths?[this.genButton(t,!0,"date",this.formatter,!0)]:[]))}return r.length&&t.push(this.genTR(r)),this.$createElement("tbody",t)},genTR(t){return[this.$createElement("tr",t)]}},render(){return this.genTable("v-date-picker-table v-date-picker-table--date",[this.genTHead(),this.genTBody()],this.calculateTableDate)}})},9410:function(t,e,r){"use strict";const n=async t=>{for await(const e of t)return e};t.exports=n},9430:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=t=>Promise.reject(new Error(`No hasher found for "${t}"`));class i{constructor(t){this._hashersByName={},this._hashersByCode={},this._loadHasher=t.loadHasher||n;for(const e of t.hashers)this.addHasher(e)}addHasher(t){if(this._hashersByName[t.name]||this._hashersByCode[t.code])throw new Error(`Resolver already exists for codec "${t.name}"`);this._hashersByName[t.name]=t,this._hashersByCode[t.code]=t}removeHasher(t){delete this._hashersByName[t.name],delete this._hashersByCode[t.code]}async getHasher(t){const e="string"===typeof t?this._hashersByName:this._hashersByCode;if(e[t])return e[t];const r=await this._loadHasher(t);return null==e[t]&&this.addHasher(r),r}listHashers(){return Object.values(this._hashersByName)}}e.Multihashes=i},"94aa":function(t,e,r){},"94f1":function(module,exports,__webpack_require__){"undefined"!==typeof navigator&&function(t,e){module.exports=e()}(0,(function(){"use strict";var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(t){_useWebWorker=!!t},getWebWorker=function(){return _useWebWorker},setLocationHref=function(t){locationHref=t},getLocationHref=function(){return locationHref};function createTag(t){return document.createElement(t)}function extendPrototype(t,e){var r,n,i=t.length;for(r=0;r<i;r+=1)for(var o in n=t[r].prototype,n)Object.prototype.hasOwnProperty.call(n,o)&&(e.prototype[o]=n[o])}function getDescriptor(t,e){return Object.getOwnPropertyDescriptor(t,e)}function createProxyFunction(t){function e(){}return e.prototype=t,e}var audioControllerFactory=function(){function t(t){this.audios=[],this.audioFactory=t,this._volume=1,this._isMuted=!1}return t.prototype={addAudio:function(t){this.audios.push(t)},pause:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].pause()},resume:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].resume()},setRate:function(t){var e,r=this.audios.length;for(e=0;e<r;e+=1)this.audios[e].setRate(t)},createAudio:function(t){return this.audioFactory?this.audioFactory(t):window.Howl?new window.Howl({src:[t]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(t){this.audioFactory=t},setVolume:function(t){this._volume=t,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].volume(this._volume*(this._isMuted?0:1))}},function(){return new t}}(),createTypedArray=function(){function t(t,e){var r,n=0,i=[];switch(t){case"int16":case"uint8c":r=1;break;default:r=1.1;break}for(n=0;n<e;n+=1)i.push(r);return i}function e(e,r){return"float32"===e?new Float32Array(r):"int16"===e?new Int16Array(r):"uint8c"===e?new Uint8ClampedArray(r):t(e,r)}return"function"===typeof Uint8ClampedArray&&"function"===typeof Float32Array?e:t}();function createSizedArray(t){return Array.apply(null,{length:t})}function _typeof$6(t){return _typeof$6="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$6(t)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),_shouldRoundValues=!1,bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};function ProjectInterface$1(){return{}}(function(){var t,e=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],r=e.length;for(t=0;t<r;t+=1)BMMath[e[t]]=Math[e[t]]})(),BMMath.random=Math.random,BMMath.abs=function(t){var e=_typeof$6(t);if("object"===e&&t.length){var r,n=createSizedArray(t.length),i=t.length;for(r=0;r<i;r+=1)n[r]=Math.abs(t[r]);return n}return Math.abs(t)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function roundValues(t){_shouldRoundValues=!!t}function bmRnd(t){return _shouldRoundValues?Math.round(t):t}function styleDiv(t){t.style.position="absolute",t.style.top=0,t.style.left=0,t.style.display="block",t.style.transformOrigin="0 0",t.style.webkitTransformOrigin="0 0",t.style.backfaceVisibility="visible",t.style.webkitBackfaceVisibility="visible",t.style.transformStyle="preserve-3d",t.style.webkitTransformStyle="preserve-3d",t.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(t,e,r,n){this.type=t,this.currentTime=e,this.totalTime=r,this.direction=n<0?-1:1}function BMCompleteEvent(t,e){this.type=t,this.direction=e<0?-1:1}function BMCompleteLoopEvent(t,e,r,n){this.type=t,this.currentLoop=r,this.totalLoops=e,this.direction=n<0?-1:1}function BMSegmentStartEvent(t,e,r){this.type=t,this.firstFrame=e,this.totalFrames=r}function BMDestroyEvent(t,e){this.type=t,this.target=e}function BMRenderFrameErrorEvent(t,e){this.type="renderFrameError",this.nativeError=t,this.currentTime=e}function BMConfigErrorEvent(t){this.type="configError",this.nativeError=t}function BMAnimationConfigErrorEvent(t,e){this.type=t,this.nativeError=e}var createElementID=function(){var t=0;return function(){return t+=1,idPrefix$1+"__lottie_element_"+t}}();function HSVtoRGB(t,e,r){var n,i,o,a,s,u,c,l;switch(a=Math.floor(6*t),s=6*t-a,u=r*(1-e),c=r*(1-s*e),l=r*(1-(1-s)*e),a%6){case 0:n=r,i=l,o=u;break;case 1:n=c,i=r,o=u;break;case 2:n=u,i=r,o=l;break;case 3:n=u,i=c,o=r;break;case 4:n=l,i=u,o=r;break;case 5:n=r,i=u,o=c;break;default:break}return[n,i,o]}function RGBtoHSV(t,e,r){var n,i=Math.max(t,e,r),o=Math.min(t,e,r),a=i-o,s=0===i?0:a/i,u=i/255;switch(i){case o:n=0;break;case t:n=e-r+a*(e<r?6:0),n/=6*a;break;case e:n=r-t+2*a,n/=6*a;break;case r:n=t-e+4*a,n/=6*a;break;default:break}return[n,s,u]}function addSaturationToRGB(t,e){var r=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return r[1]+=e,r[1]>1?r[1]=1:r[1]<=0&&(r[1]=0),HSVtoRGB(r[0],r[1],r[2])}function addBrightnessToRGB(t,e){var r=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return r[2]+=e,r[2]>1?r[2]=1:r[2]<0&&(r[2]=0),HSVtoRGB(r[0],r[1],r[2])}function addHueToRGB(t,e){var r=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return r[0]+=e/360,r[0]>1?r[0]-=1:r[0]<0&&(r[0]+=1),HSVtoRGB(r[0],r[1],r[2])}var rgbToHex=function(){var t,e,r=[];for(t=0;t<256;t+=1)e=t.toString(16),r[t]=1===e.length?"0"+e:e;return function(t,e,n){return t<0&&(t=0),e<0&&(e=0),n<0&&(n=0),"#"+r[t]+r[e]+r[n]}}(),setSubframeEnabled=function(t){subframeEnabled=!!t},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(t){expressionsPlugin=t},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(t){expressionsInterfaces=t},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(t){defaultCurveSegments=t},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(t){idPrefix$1=t},getIdPrefix=function(){return idPrefix$1};function createNS(t){return document.createElementNS(svgNS,t)}function _typeof$5(t){return _typeof$5="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$5(t)}var dataManager=function(){var t,e,r=1,n=[],i={onmessage:function(){},postMessage:function(e){t({data:e})}},o={postMessage:function(t){i.onmessage({data:t})}};function a(e){if(window.Worker&&window.Blob&&getWebWorker()){var r=new Blob(["var _workerSelf = self; self.onmessage = ",e.toString()],{type:"text/javascript"}),n=URL.createObjectURL(r);return new Worker(n)}return t=e,i}function s(){e||(e=a((function(t){function e(){function t(e,r){var a,s,u,c,l,h,f=e.length;for(s=0;s<f;s+=1)if(a=e[s],"ks"in a&&!a.completed){if(a.completed=!0,a.hasMask){var p=a.masksProperties;for(c=p.length,u=0;u<c;u+=1)if(p[u].pt.k.i)o(p[u].pt.k);else for(h=p[u].pt.k.length,l=0;l<h;l+=1)p[u].pt.k[l].s&&o(p[u].pt.k[l].s[0]),p[u].pt.k[l].e&&o(p[u].pt.k[l].e[0])}0===a.ty?(a.layers=n(a.refId,r),t(a.layers,r)):4===a.ty?i(a.shapes):5===a.ty&&d(a)}}function e(e,r){if(e){var i=0,o=e.length;for(i=0;i<o;i+=1)1===e[i].t&&(e[i].data.layers=n(e[i].data.refId,r),t(e[i].data.layers,r))}}function r(t,e){var r=0,n=e.length;while(r<n){if(e[r].id===t)return e[r];r+=1}return null}function n(t,e){var n=r(t,e);return n?n.layers.__used?JSON.parse(JSON.stringify(n.layers)):(n.layers.__used=!0,n.layers):null}function i(t){var e,r,n,a=t.length;for(e=a-1;e>=0;e-=1)if("sh"===t[e].ty)if(t[e].ks.k.i)o(t[e].ks.k);else for(n=t[e].ks.k.length,r=0;r<n;r+=1)t[e].ks.k[r].s&&o(t[e].ks.k[r].s[0]),t[e].ks.k[r].e&&o(t[e].ks.k[r].e[0]);else"gr"===t[e].ty&&i(t[e].it)}function o(t){var e,r=t.i.length;for(e=0;e<r;e+=1)t.i[e][0]+=t.v[e][0],t.i[e][1]+=t.v[e][1],t.o[e][0]+=t.v[e][0],t.o[e][1]+=t.v[e][1]}function a(t,e){var r=e?e.split("."):[100,100,100];return t[0]>r[0]||!(r[0]>t[0])&&(t[1]>r[1]||!(r[1]>t[1])&&(t[2]>r[2]||!(r[2]>t[2])&&null))}var s=function(){var t=[4,4,14];function e(t){var e=t.t.d;t.t.d={k:[{s:e,t:0}]}}function r(t){var r,n=t.length;for(r=0;r<n;r+=1)5===t[r].ty&&e(t[r])}return function(e){if(a(t,e.v)&&(r(e.layers),e.assets)){var n,i=e.assets.length;for(n=0;n<i;n+=1)e.assets[n].layers&&r(e.assets[n].layers)}}}(),u=function(){var t=[4,7,99];return function(e){if(e.chars&&!a(t,e.v)){var r,n=e.chars.length;for(r=0;r<n;r+=1){var o=e.chars[r];o.data&&o.data.shapes&&(i(o.data.shapes),o.data.ip=0,o.data.op=99999,o.data.st=0,o.data.sr=1,o.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},e.chars[r].t||(o.data.shapes.push({ty:"no"}),o.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}}(),c=function(){var t=[5,7,15];function e(t){var e=t.t.p;"number"===typeof e.a&&(e.a={a:0,k:e.a}),"number"===typeof e.p&&(e.p={a:0,k:e.p}),"number"===typeof e.r&&(e.r={a:0,k:e.r})}function r(t){var r,n=t.length;for(r=0;r<n;r+=1)5===t[r].ty&&e(t[r])}return function(e){if(a(t,e.v)&&(r(e.layers),e.assets)){var n,i=e.assets.length;for(n=0;n<i;n+=1)e.assets[n].layers&&r(e.assets[n].layers)}}}(),l=function(){var t=[4,1,9];function e(t){var r,n,i,o=t.length;for(r=0;r<o;r+=1)if("gr"===t[r].ty)e(t[r].it);else if("fl"===t[r].ty||"st"===t[r].ty)if(t[r].c.k&&t[r].c.k[0].i)for(i=t[r].c.k.length,n=0;n<i;n+=1)t[r].c.k[n].s&&(t[r].c.k[n].s[0]/=255,t[r].c.k[n].s[1]/=255,t[r].c.k[n].s[2]/=255,t[r].c.k[n].s[3]/=255),t[r].c.k[n].e&&(t[r].c.k[n].e[0]/=255,t[r].c.k[n].e[1]/=255,t[r].c.k[n].e[2]/=255,t[r].c.k[n].e[3]/=255);else t[r].c.k[0]/=255,t[r].c.k[1]/=255,t[r].c.k[2]/=255,t[r].c.k[3]/=255}function r(t){var r,n=t.length;for(r=0;r<n;r+=1)4===t[r].ty&&e(t[r].shapes)}return function(e){if(a(t,e.v)&&(r(e.layers),e.assets)){var n,i=e.assets.length;for(n=0;n<i;n+=1)e.assets[n].layers&&r(e.assets[n].layers)}}}(),h=function(){var t=[4,4,18];function e(t){var r,n,i,o=t.length;for(r=o-1;r>=0;r-=1)if("sh"===t[r].ty)if(t[r].ks.k.i)t[r].ks.k.c=t[r].closed;else for(i=t[r].ks.k.length,n=0;n<i;n+=1)t[r].ks.k[n].s&&(t[r].ks.k[n].s[0].c=t[r].closed),t[r].ks.k[n].e&&(t[r].ks.k[n].e[0].c=t[r].closed);else"gr"===t[r].ty&&e(t[r].it)}function r(t){var r,n,i,o,a,s,u=t.length;for(n=0;n<u;n+=1){if(r=t[n],r.hasMask){var c=r.masksProperties;for(o=c.length,i=0;i<o;i+=1)if(c[i].pt.k.i)c[i].pt.k.c=c[i].cl;else for(s=c[i].pt.k.length,a=0;a<s;a+=1)c[i].pt.k[a].s&&(c[i].pt.k[a].s[0].c=c[i].cl),c[i].pt.k[a].e&&(c[i].pt.k[a].e[0].c=c[i].cl)}4===r.ty&&e(r.shapes)}}return function(e){if(a(t,e.v)&&(r(e.layers),e.assets)){var n,i=e.assets.length;for(n=0;n<i;n+=1)e.assets[n].layers&&r(e.assets[n].layers)}}}();function f(r){r.__complete||(l(r),s(r),u(r),c(r),h(r),t(r.layers,r.assets),e(r.chars,r.assets),r.__complete=!0)}function d(t){0===t.t.a.length&&t.t.p}var p={};return p.completeData=f,p.checkColors=l,p.checkChars=u,p.checkPathProperties=c,p.checkShapes=h,p.completeLayers=t,p}if(o.dataManager||(o.dataManager=e()),o.assetLoader||(o.assetLoader=function(){function t(t){var e=t.getResponseHeader("content-type");return e&&"json"===t.responseType&&-1!==e.indexOf("json")||t.response&&"object"===_typeof$5(t.response)?t.response:t.response&&"string"===typeof t.response?JSON.parse(t.response):t.responseText?JSON.parse(t.responseText):null}function e(e,r,n,i){var o,a=new XMLHttpRequest;try{a.responseType="json"}catch(s){}a.onreadystatechange=function(){if(4===a.readyState)if(200===a.status)o=t(a),n(o);else try{o=t(a),n(o)}catch(s){i&&i(s)}};try{a.open(["G","E","T"].join(""),e,!0)}catch(u){a.open(["G","E","T"].join(""),r+"/"+e,!0)}a.send()}return{load:e}}()),"loadAnimation"===t.data.type)o.assetLoader.load(t.data.path,t.data.fullPath,(function(e){o.dataManager.completeData(e),o.postMessage({id:t.data.id,payload:e,status:"success"})}),(function(){o.postMessage({id:t.data.id,status:"error"})}));else if("complete"===t.data.type){var r=t.data.animation;o.dataManager.completeData(r),o.postMessage({id:t.data.id,payload:r,status:"success"})}else"loadData"===t.data.type&&o.assetLoader.load(t.data.path,t.data.fullPath,(function(e){o.postMessage({id:t.data.id,payload:e,status:"success"})}),(function(){o.postMessage({id:t.data.id,status:"error"})}))})),e.onmessage=function(t){var e=t.data,r=e.id,i=n[r];n[r]=null,"success"===e.status?i.onComplete(e.payload):i.onError&&i.onError()})}function u(t,e){r+=1;var i="processId_"+r;return n[i]={onComplete:t,onError:e},i}function c(t,r,n){s();var i=u(r,n);e.postMessage({type:"loadAnimation",path:t,fullPath:window.location.origin+window.location.pathname,id:i})}function l(t,r,n){s();var i=u(r,n);e.postMessage({type:"loadData",path:t,fullPath:window.location.origin+window.location.pathname,id:i})}function h(t,r,n){s();var i=u(r,n);e.postMessage({type:"complete",animation:t,id:i})}return{loadAnimation:c,loadData:l,completeAnimation:h}}(),ImagePreloader=function(){var t=function(){var t=createTag("canvas");t.width=1,t.height=1;var e=t.getContext("2d");return e.fillStyle="rgba(0,0,0,0)",e.fillRect(0,0,1,1),t}();function e(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function r(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function n(t,e,r){var n="";if(t.e)n=t.p;else if(e){var i=t.p;-1!==i.indexOf("images/")&&(i=i.split("/")[1]),n=e+i}else n=r,n+=t.u?t.u:"",n+=t.p;return n}function i(t){var e=0,r=setInterval(function(){var n=t.getBBox();(n.width||e>500)&&(this._imageLoaded(),clearInterval(r)),e+=1}.bind(this),50)}function o(e){var r=n(e,this.assetsPath,this.path),i=createNS("image");isSafari?this.testImageLoaded(i):i.addEventListener("load",this._imageLoaded,!1),i.addEventListener("error",function(){o.img=t,this._imageLoaded()}.bind(this),!1),i.setAttributeNS("http://www.w3.org/1999/xlink","href",r),this._elementHelper.append?this._elementHelper.append(i):this._elementHelper.appendChild(i);var o={img:i,assetData:e};return o}function a(e){var r=n(e,this.assetsPath,this.path),i=createTag("img");i.crossOrigin="anonymous",i.addEventListener("load",this._imageLoaded,!1),i.addEventListener("error",function(){o.img=t,this._imageLoaded()}.bind(this),!1),i.src=r;var o={img:i,assetData:e};return o}function s(t){var e={assetData:t},r=n(t,this.assetsPath,this.path);return dataManager.loadData(r,function(t){e.img=t,this._footageLoaded()}.bind(this),function(){e.img={},this._footageLoaded()}.bind(this)),e}function u(t,e){var r;this.imagesLoadedCb=e;var n=t.length;for(r=0;r<n;r+=1)t[r].layers||(t[r].t&&"seq"!==t[r].t?3===t[r].t&&(this.totalFootages+=1,this.images.push(this.createFootageData(t[r]))):(this.totalImages+=1,this.images.push(this._createImageData(t[r]))))}function c(t){this.path=t||""}function l(t){this.assetsPath=t||""}function h(t){var e=0,r=this.images.length;while(e<r){if(this.images[e].assetData===t)return this.images[e].img;e+=1}return null}function f(){this.imagesLoadedCb=null,this.images.length=0}function d(){return this.totalImages===this.loadedAssets}function p(){return this.totalFootages===this.loadedFootagesCount}function m(t,e){"svg"===t?(this._elementHelper=e,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function g(){this._imageLoaded=e.bind(this),this._footageLoaded=r.bind(this),this.testImageLoaded=i.bind(this),this.createFootageData=s.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return g.prototype={loadAssets:u,setAssetsPath:l,setPath:c,loadedImages:d,loadedFootages:p,destroy:f,getAsset:h,createImgData:a,createImageData:o,imageLoaded:e,footageLoaded:r,setCacheType:m},g}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(t,e){if(this._cbs[t])for(var r=this._cbs[t],n=0;n<r.length;n+=1)r[n](e)},addEventListener:function(t,e){return this._cbs[t]||(this._cbs[t]=[]),this._cbs[t].push(e),function(){this.removeEventListener(t,e)}.bind(this)},removeEventListener:function(t,e){if(e){if(this._cbs[t]){var r=0,n=this._cbs[t].length;while(r<n)this._cbs[t][r]===e&&(this._cbs[t].splice(r,1),r-=1,n-=1),r+=1;this._cbs[t].length||(this._cbs[t]=null)}}else this._cbs[t]=null}};var markerParser=function(){function t(t){for(var e,r=t.split("\r\n"),n={},i=0,o=0;o<r.length;o+=1)e=r[o].split(":"),2===e.length&&(n[e[0]]=e[1].trim(),i+=1);if(0===i)throw new Error;return n}return function(e){for(var r=[],n=0;n<e.length;n+=1){var i=e[n],o={time:i.tm,duration:i.dr};try{o.payload=JSON.parse(e[n].cm)}catch(a){try{o.payload=t(e[n].cm)}catch(s){o.payload={name:e[n].cm}}}r.push(o)}return r}}(),ProjectInterface=function(){function t(t){this.compositions.push(t)}return function(){function e(t){var e=0,r=this.compositions.length;while(e<r){if(this.compositions[e].data&&this.compositions[e].data.nm===t)return this.compositions[e].prepareFrame&&this.compositions[e].data.xt&&this.compositions[e].prepareFrame(this.currentFrame),this.compositions[e].compInterface;e+=1}return null}return e.compositions=[],e.currentFrame=0,e.registerComposition=t,e}}(),renderers={},registerRenderer=function(t,e){renderers[t]=e};function getRenderer(t){return renderers[t]}function getRegisteredRenderer(){if(renderers.canvas)return"canvas";for(var t in renderers)if(renderers[t])return t;return""}function _typeof$4(t){return _typeof$4="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$4(t)}var AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=getSubframeEnabled(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader,this.audioController=audioControllerFactory(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new BMEnterFrameEvent("drawnFrame",0,0,0),this.expressionsPlugin=getExpressionsPlugin()};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(t){(t.wrapper||t.container)&&(this.wrapper=t.wrapper||t.container);var e="svg";t.animType?e=t.animType:t.renderer&&(e=t.renderer);var r=getRenderer(e);this.renderer=new r(this,t.rendererSettings),this.imagePreloader.setCacheType(e,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=e,""===t.loop||null===t.loop||void 0===t.loop||!0===t.loop?this.loop=!0:!1===t.loop?this.loop=!1:this.loop=parseInt(t.loop,10),this.autoplay=!("autoplay"in t)||t.autoplay,this.name=t.name?t.name:"",this.autoloadSegments=!Object.prototype.hasOwnProperty.call(t,"autoloadSegments")||t.autoloadSegments,this.assetsPath=t.assetsPath,this.initialSegment=t.initialSegment,t.audioFactory&&this.audioController.setAudioFactory(t.audioFactory),t.animationData?this.setupAnimation(t.animationData):t.path&&(-1!==t.path.lastIndexOf("\\")?this.path=t.path.substr(0,t.path.lastIndexOf("\\")+1):this.path=t.path.substr(0,t.path.lastIndexOf("/")+1),this.fileName=t.path.substr(t.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(t.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(t){dataManager.completeAnimation(t,this.configAnimation)},AnimationItem.prototype.setData=function(t,e){e&&"object"!==_typeof$4(e)&&(e=JSON.parse(e));var r={wrapper:t,animationData:e},n=t.attributes;r.path=n.getNamedItem("data-animation-path")?n.getNamedItem("data-animation-path").value:n.getNamedItem("data-bm-path")?n.getNamedItem("data-bm-path").value:n.getNamedItem("bm-path")?n.getNamedItem("bm-path").value:"",r.animType=n.getNamedItem("data-anim-type")?n.getNamedItem("data-anim-type").value:n.getNamedItem("data-bm-type")?n.getNamedItem("data-bm-type").value:n.getNamedItem("bm-type")?n.getNamedItem("bm-type").value:n.getNamedItem("data-bm-renderer")?n.getNamedItem("data-bm-renderer").value:n.getNamedItem("bm-renderer")?n.getNamedItem("bm-renderer").value:getRegisteredRenderer()||"canvas";var i=n.getNamedItem("data-anim-loop")?n.getNamedItem("data-anim-loop").value:n.getNamedItem("data-bm-loop")?n.getNamedItem("data-bm-loop").value:n.getNamedItem("bm-loop")?n.getNamedItem("bm-loop").value:"";"false"===i?r.loop=!1:"true"===i?r.loop=!0:""!==i&&(r.loop=parseInt(i,10));var o=n.getNamedItem("data-anim-autoplay")?n.getNamedItem("data-anim-autoplay").value:n.getNamedItem("data-bm-autoplay")?n.getNamedItem("data-bm-autoplay").value:!n.getNamedItem("bm-autoplay")||n.getNamedItem("bm-autoplay").value;r.autoplay="false"!==o,r.name=n.getNamedItem("data-name")?n.getNamedItem("data-name").value:n.getNamedItem("data-bm-name")?n.getNamedItem("data-bm-name").value:n.getNamedItem("bm-name")?n.getNamedItem("bm-name").value:"";var a=n.getNamedItem("data-anim-prerender")?n.getNamedItem("data-anim-prerender").value:n.getNamedItem("data-bm-prerender")?n.getNamedItem("data-bm-prerender").value:n.getNamedItem("bm-prerender")?n.getNamedItem("bm-prerender").value:"";"false"===a&&(r.prerender=!1),r.path?this.setParams(r):this.trigger("destroy")},AnimationItem.prototype.includeLayers=function(t){t.op>this.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));var e,r,n=this.animationData.layers,i=n.length,o=t.layers,a=o.length;for(r=0;r<a;r+=1){e=0;while(e<i){if(n[e].id===o[r].id){n[e]=o[r];break}e+=1}}if((t.chars||t.fonts)&&(this.renderer.globalData.fontManager.addChars(t.chars),this.renderer.globalData.fontManager.addFonts(t.fonts,this.renderer.globalData.defs)),t.assets)for(i=t.assets.length,e=0;e<i;e+=1)this.animationData.assets.push(t.assets[e]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(t){this.animationData=t;var e=getExpressionsPlugin();e&&e.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var t=this.animationData.segments;if(!t||0===t.length||!this.autoloadSegments)return this.trigger("data_ready"),void(this.timeCompleted=this.totalFrames);var e=t.shift();this.timeCompleted=e.time*this.frameRate;var r=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(r,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))},AnimationItem.prototype.loadSegments=function(){var t=this.animationData.segments;t||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(t){if(this.renderer)try{this.animationData=t,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(t),t.assets||(t.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(t.assets),this.markers=markerParser(t.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(e){this.triggerConfigError(e)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||"canvas"!==this.renderer.rendererType)&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var t=getExpressionsPlugin();t&&t.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(t,e){var r="number"===typeof t?t:void 0,n="number"===typeof e?e:void 0;this.renderer.updateContainerSize(r,n)},AnimationItem.prototype.setSubframe=function(t){this.isSubframeEnabled=!!t},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!1!==this.isLoaded&&this.renderer)try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(t){this.triggerRenderFrameError(t)}},AnimationItem.prototype.play=function(t){t&&this.name!==t||!0===this.isPaused&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(t){t&&this.name!==t||!1===this.isPaused&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(t){t&&this.name!==t||(!0===this.isPaused?this.play():this.pause())},AnimationItem.prototype.stop=function(t){t&&this.name!==t||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(t){for(var e,r=0;r<this.markers.length;r+=1)if(e=this.markers[r],e.payload&&e.payload.name===t)return e;return null},AnimationItem.prototype.goToAndStop=function(t,e,r){if(!r||this.name===r){var n=Number(t);if(isNaN(n)){var i=this.getMarkerData(t);i&&this.goToAndStop(i.time,!0)}else e?this.setCurrentRawFrameValue(t):this.setCurrentRawFrameValue(t*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(t,e,r){if(!r||this.name===r){var n=Number(t);if(isNaN(n)){var i=this.getMarkerData(t);i&&(i.duration?this.playSegments([i.time,i.time+i.duration],!0):this.goToAndStop(i.time,!0))}else this.goToAndStop(n,e,r);this.play()}},AnimationItem.prototype.advanceTime=function(t){if(!0!==this.isPaused&&!1!==this.isLoaded){var e=this.currentRawFrame+t*this.frameModifier,r=!1;e>=this.totalFrames-1&&this.frameModifier>0?this.loop&&this.playCount!==this.loop?e>=this.totalFrames?(this.playCount+=1,this.checkSegments(e%this.totalFrames)||(this.setCurrentRawFrameValue(e%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(e):this.checkSegments(e>this.totalFrames?e%this.totalFrames:0)||(r=!0,e=this.totalFrames-1):e<0?this.checkSegments(e%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(r=!0,e=0):(this.setCurrentRawFrameValue(this.totalFrames+e%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(e),r&&(this.setCurrentRawFrameValue(e),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(t,e){this.playCount=0,t[1]<t[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=t[0]-t[1],this.timeCompleted=this.totalFrames,this.firstFrame=t[1],this.setCurrentRawFrameValue(this.totalFrames-.001-e)):t[1]>t[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=t[1]-t[0],this.timeCompleted=this.totalFrames,this.firstFrame=t[0],this.setCurrentRawFrameValue(.001+e)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(t,e){var r=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<t?r=t:this.currentRawFrame+this.firstFrame>e&&(r=e-t)),this.firstFrame=t,this.totalFrames=e-t,this.timeCompleted=this.totalFrames,-1!==r&&this.goToAndStop(r,!0)},AnimationItem.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),"object"===_typeof$4(t[0])){var r,n=t.length;for(r=0;r<n;r+=1)this.segments.push(t[r])}else this.segments.push(t);this.segments.length&&e&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(t){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),t&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(t){return!!this.segments.length&&(this.adjustSegment(this.segments.shift(),t),!0)},AnimationItem.prototype.destroy=function(t){t&&this.name!==t||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.expressionsPlugin=null,this.imagePreloader=null,this.projectInterface=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(t){this.currentRawFrame=t,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(t){this.playSpeed=t,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(t){this.playDirection=t<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setLoop=function(t){this.loop=t},AnimationItem.prototype.setVolume=function(t,e){e&&this.name!==e||this.audioController.setVolume(t)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(t){t&&this.name!==t||this.audioController.mute()},AnimationItem.prototype.unmute=function(t){t&&this.name!==t||this.audioController.unmute()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(t){var e="";if(t.e)e=t.p;else if(this.assetsPath){var r=t.p;-1!==r.indexOf("images/")&&(r=r.split("/")[1]),e=this.assetsPath+r}else e=this.path,e+=t.u?t.u:"",e+=t.p;return e},AnimationItem.prototype.getAssetData=function(t){var e=0,r=this.assets.length;while(e<r){if(t===this.assets[e].id)return this.assets[e];e+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(t){return t?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(t,e,r){try{var n=this.renderer.getElementByPath(t);n.updateDocumentData(e,r)}catch(i){}},AnimationItem.prototype.trigger=function(t){if(this._cbs&&this._cbs[t])switch(t){case"enterFrame":this.triggerEvent(t,new BMEnterFrameEvent(t,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(t,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(t,new BMCompleteLoopEvent(t,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(t,new BMCompleteEvent(t,this.frameMult));break;case"segmentStart":this.triggerEvent(t,new BMSegmentStartEvent(t,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(t,new BMDestroyEvent(t,this));break;default:this.triggerEvent(t)}"enterFrame"===t&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(t,this.currentFrame,this.totalFrames,this.frameMult)),"loopComplete"===t&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(t,this.loop,this.playCount,this.frameMult)),"complete"===t&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(t,this.frameMult)),"segmentStart"===t&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(t,this.firstFrame,this.totalFrames)),"destroy"===t&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(t,this))},AnimationItem.prototype.triggerRenderFrameError=function(t){var e=new BMRenderFrameErrorEvent(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)},AnimationItem.prototype.triggerConfigError=function(t){var e=new BMConfigErrorEvent(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)};var animationManager=function(){var t={},e=[],r=0,n=0,i=0,o=!0,a=!1;function s(t){var r=0,i=t.target;while(r<n)e[r].animation===i&&(e.splice(r,1),r-=1,n-=1,i.isPaused||h()),r+=1}function u(t,r){if(!t)return null;var i=0;while(i<n){if(e[i].elem===t&&null!==e[i].elem)return e[i].animation;i+=1}var o=new AnimationItem;return f(o,t),o.setData(t,r),o}function c(){var t,r=e.length,n=[];for(t=0;t<r;t+=1)n.push(e[t].animation);return n}function l(){i+=1,M()}function h(){i-=1}function f(t,r){t.addEventListener("destroy",s),t.addEventListener("_active",l),t.addEventListener("_idle",h),e.push({elem:r,animation:t}),n+=1}function d(t){var e=new AnimationItem;return f(e,null),e.setParams(t),e}function p(t,r){var i;for(i=0;i<n;i+=1)e[i].animation.setSpeed(t,r)}function m(t,r){var i;for(i=0;i<n;i+=1)e[i].animation.setDirection(t,r)}function g(t){var r;for(r=0;r<n;r+=1)e[r].animation.play(t)}function y(t){var s,u=t-r;for(s=0;s<n;s+=1)e[s].animation.advanceTime(u);r=t,i&&!a?window.requestAnimationFrame(y):o=!0}function v(t){r=t,window.requestAnimationFrame(y)}function b(t){var r;for(r=0;r<n;r+=1)e[r].animation.pause(t)}function _(t,r,i){var o;for(o=0;o<n;o+=1)e[o].animation.goToAndStop(t,r,i)}function w(t){var r;for(r=0;r<n;r+=1)e[r].animation.stop(t)}function x(t){var r;for(r=0;r<n;r+=1)e[r].animation.togglePause(t)}function k(t){var r;for(r=n-1;r>=0;r-=1)e[r].animation.destroy(t)}function S(t,e,r){var n,i=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),o=i.length;for(n=0;n<o;n+=1)r&&i[n].setAttribute("data-bm-type",r),u(i[n],t);if(e&&0===o){r||(r="svg");var a=document.getElementsByTagName("body")[0];a.innerText="";var s=createTag("div");s.style.width="100%",s.style.height="100%",s.setAttribute("data-bm-type",r),a.appendChild(s),u(s,t)}}function E(){var t;for(t=0;t<n;t+=1)e[t].animation.resize()}function M(){!a&&i&&o&&(window.requestAnimationFrame(v),o=!1)}function A(){a=!0}function T(){a=!1,M()}function C(t,r){var i;for(i=0;i<n;i+=1)e[i].animation.setVolume(t,r)}function L(t){var r;for(r=0;r<n;r+=1)e[r].animation.mute(t)}function P(t){var r;for(r=0;r<n;r+=1)e[r].animation.unmute(t)}return t.registerAnimation=u,t.loadAnimation=d,t.setSpeed=p,t.setDirection=m,t.play=g,t.pause=b,t.stop=w,t.togglePause=x,t.searchAnimations=S,t.resize=E,t.goToAndStop=_,t.destroy=k,t.freeze=A,t.unfreeze=T,t.setVolume=C,t.mute=L,t.unmute=P,t.getRegisteredAnimations=c,t}(),BezierFactory=function(){var t={};t.getBezierEasing=r;var e={};function r(t,r,n,i,o){var a=o||("bez_"+t+"_"+r+"_"+n+"_"+i).replace(/\./g,"p");if(e[a])return e[a];var s=new y([t,r,n,i]);return e[a]=s,s}var n=4,i=.001,o=1e-7,a=10,s=11,u=1/(s-1),c="function"===typeof Float32Array;function l(t,e){return 1-3*e+3*t}function h(t,e){return 3*e-6*t}function f(t){return 3*t}function d(t,e,r){return((l(e,r)*t+h(e,r))*t+f(e))*t}function p(t,e,r){return 3*l(e,r)*t*t+2*h(e,r)*t+f(e)}function m(t,e,r,n,i){var s,u,c=0;do{u=e+(r-e)/2,s=d(u,n,i)-t,s>0?r=u:e=u}while(Math.abs(s)>o&&++c<a);return u}function g(t,e,r,i){for(var o=0;o<n;++o){var a=p(e,r,i);if(0===a)return e;var s=d(e,r,i)-t;e-=s/a}return e}function y(t){this._p=t,this._mSampleValues=c?new Float32Array(s):new Array(s),this._precomputed=!1,this.get=this.get.bind(this)}return y.prototype={get:function(t){var e=this._p[0],r=this._p[1],n=this._p[2],i=this._p[3];return this._precomputed||this._precompute(),e===r&&n===i?t:0===t?0:1===t?1:d(this._getTForX(t),r,i)},_precompute:function(){var t=this._p[0],e=this._p[1],r=this._p[2],n=this._p[3];this._precomputed=!0,t===e&&r===n||this._calcSampleValues()},_calcSampleValues:function(){for(var t=this._p[0],e=this._p[2],r=0;r<s;++r)this._mSampleValues[r]=d(r*u,t,e)},_getTForX:function(t){for(var e=this._p[0],r=this._p[2],n=this._mSampleValues,o=0,a=1,c=s-1;a!==c&&n[a]<=t;++a)o+=u;--a;var l=(t-n[a])/(n[a+1]-n[a]),h=o+l*u,f=p(h,e,r);return f>=i?g(t,h,e,r):0===f?h:m(t,o,o+u,e,r)}},t}(),pooling=function(){function t(t){return t.concat(createSizedArray(t.length))}return{double:t}}(),poolFactory=function(){return function(t,e,r){var n=0,i=t,o=createSizedArray(i),a={newElement:s,release:u};function s(){var t;return n?(n-=1,t=o[n]):t=e(),t}function u(t){n===i&&(o=pooling["double"](o),i*=2),r&&r(t),o[n]=t,n+=1}return a}}(),bezierLengthPool=function(){function t(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}}return poolFactory(8,t)}(),segmentsLengthPool=function(){function t(){return{lengths:[],totalLength:0}}function e(t){var e,r=t.lengths.length;for(e=0;e<r;e+=1)bezierLengthPool.release(t.lengths[e]);t.lengths.length=0}return poolFactory(8,t,e)}();function bezFunction(){var t=Math;function e(t,e,r,n,i,o){var a=t*n+e*i+r*o-i*n-o*t-r*e;return a>-.001&&a<.001}function r(r,n,i,o,a,s,u,c,l){if(0===i&&0===s&&0===l)return e(r,n,o,a,u,c);var h,f=t.sqrt(t.pow(o-r,2)+t.pow(a-n,2)+t.pow(s-i,2)),d=t.sqrt(t.pow(u-r,2)+t.pow(c-n,2)+t.pow(l-i,2)),p=t.sqrt(t.pow(u-o,2)+t.pow(c-a,2)+t.pow(l-s,2));return h=f>d?f>p?f-d-p:p-d-f:p>d?p-d-f:d-f-p,h>-1e-4&&h<1e-4}var n=function(){return function(t,e,r,n){var i,o,a,s,u,c,l=getDefaultCurveSegments(),h=0,f=[],d=[],p=bezierLengthPool.newElement();for(a=r.length,i=0;i<l;i+=1){for(u=i/(l-1),c=0,o=0;o<a;o+=1)s=bmPow(1-u,3)*t[o]+3*bmPow(1-u,2)*u*r[o]+3*(1-u)*bmPow(u,2)*n[o]+bmPow(u,3)*e[o],f[o]=s,null!==d[o]&&(c+=bmPow(f[o]-d[o],2)),d[o]=f[o];c&&(c=bmSqrt(c),h+=c),p.percents[i]=u,p.lengths[i]=h}return p.addedLength=h,p}}();function i(t){var e,r=segmentsLengthPool.newElement(),i=t.c,o=t.v,a=t.o,s=t.i,u=t._length,c=r.lengths,l=0;for(e=0;e<u-1;e+=1)c[e]=n(o[e],o[e+1],a[e],s[e+1]),l+=c[e].addedLength;return i&&u&&(c[e]=n(o[e],o[0],a[e],s[0]),l+=c[e].addedLength),r.totalLength=l,r}function o(t){this.segmentLength=0,this.points=new Array(t)}function a(t,e){this.partialLength=t,this.point=e}var s=function(){var t={};return function(r,n,i,s){var u=(r[0]+"_"+r[1]+"_"+n[0]+"_"+n[1]+"_"+i[0]+"_"+i[1]+"_"+s[0]+"_"+s[1]).replace(/\./g,"p");if(!t[u]){var c,l,h,f,d,p,m,g=getDefaultCurveSegments(),y=0,v=null;2===r.length&&(r[0]!==n[0]||r[1]!==n[1])&&e(r[0],r[1],n[0],n[1],r[0]+i[0],r[1]+i[1])&&e(r[0],r[1],n[0],n[1],n[0]+s[0],n[1]+s[1])&&(g=2);var b=new o(g);for(h=i.length,c=0;c<g;c+=1){for(m=createSizedArray(h),d=c/(g-1),p=0,l=0;l<h;l+=1)f=bmPow(1-d,3)*r[l]+3*bmPow(1-d,2)*d*(r[l]+i[l])+3*(1-d)*bmPow(d,2)*(n[l]+s[l])+bmPow(d,3)*n[l],m[l]=f,null!==v&&(p+=bmPow(m[l]-v[l],2));p=bmSqrt(p),y+=p,b.points[c]=new a(p,m),v=m}b.segmentLength=y,t[u]=b}return t[u]}}();function u(t,e){var r=e.percents,n=e.lengths,i=r.length,o=bmFloor((i-1)*t),a=t*e.addedLength,s=0;if(o===i-1||0===o||a===n[o])return r[o];var u=n[o]>a?-1:1,c=!0;while(c)if(n[o]<=a&&n[o+1]>a?(s=(a-n[o])/(n[o+1]-n[o]),c=!1):o+=u,o<0||o>=i-1){if(o===i-1)return r[o];c=!1}return r[o]+(r[o+1]-r[o])*s}function c(e,r,n,i,o,a){var s=u(o,a),c=1-s,l=t.round(1e3*(c*c*c*e[0]+(s*c*c+c*s*c+c*c*s)*n[0]+(s*s*c+c*s*s+s*c*s)*i[0]+s*s*s*r[0]))/1e3,h=t.round(1e3*(c*c*c*e[1]+(s*c*c+c*s*c+c*c*s)*n[1]+(s*s*c+c*s*s+s*c*s)*i[1]+s*s*s*r[1]))/1e3;return[l,h]}var l=createTypedArray("float32",8);function h(e,r,n,i,o,a,s){o<0?o=0:o>1&&(o=1);var c=u(o,s);a=a>1?1:a;var h,f=u(a,s),d=e.length,p=1-c,m=1-f,g=p*p*p,y=c*p*p*3,v=c*c*p*3,b=c*c*c,_=p*p*m,w=c*p*m+p*c*m+p*p*f,x=c*c*m+p*c*f+c*p*f,k=c*c*f,S=p*m*m,E=c*m*m+p*f*m+p*m*f,M=c*f*m+p*f*f+c*m*f,A=c*f*f,T=m*m*m,C=f*m*m+m*f*m+m*m*f,L=f*f*m+m*f*f+f*m*f,P=f*f*f;for(h=0;h<d;h+=1)l[4*h]=t.round(1e3*(g*e[h]+y*n[h]+v*i[h]+b*r[h]))/1e3,l[4*h+1]=t.round(1e3*(_*e[h]+w*n[h]+x*i[h]+k*r[h]))/1e3,l[4*h+2]=t.round(1e3*(S*e[h]+E*n[h]+M*i[h]+A*r[h]))/1e3,l[4*h+3]=t.round(1e3*(T*e[h]+C*n[h]+L*i[h]+P*r[h]))/1e3;return l}return{getSegmentsLength:i,getNewSegment:h,getPointInSegment:c,buildBezierData:s,pointOnLine2D:e,pointOnLine3D:r}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(t,e){var r,n=this.offsetTime;"multidimensional"===this.propType&&(r=createTypedArray("float32",this.pv.length));var i,o,a,s,u,c,l,h,f,d=e.lastIndex,p=d,m=this.keyframes.length-1,g=!0;while(g){if(i=this.keyframes[p],o=this.keyframes[p+1],p===m-1&&t>=o.t-n){i.h&&(i=o),d=0;break}if(o.t-n>t){d=p;break}p<m-1?p+=1:(d=0,g=!1)}a=this.keyframesMetadata[p]||{};var y,v=o.t-n,b=i.t-n;if(i.to){a.bezierData||(a.bezierData=bez.buildBezierData(i.s,o.s||i.e,i.to,i.ti));var _=a.bezierData;if(t>=v||t<b){var w=t>=v?_.points.length-1:0;for(u=_.points[w].point.length,s=0;s<u;s+=1)r[s]=_.points[w].point[s]}else{a.__fnct?f=a.__fnct:(f=BezierFactory.getBezierEasing(i.o.x,i.o.y,i.i.x,i.i.y,i.n).get,a.__fnct=f),c=f((t-b)/(v-b));var x,k=_.segmentLength*c,S=e.lastFrame<t&&e._lastKeyframeIndex===p?e._lastAddedLength:0;h=e.lastFrame<t&&e._lastKeyframeIndex===p?e._lastPoint:0,g=!0,l=_.points.length;while(g){if(S+=_.points[h].partialLength,0===k||0===c||h===_.points.length-1){for(u=_.points[h].point.length,s=0;s<u;s+=1)r[s]=_.points[h].point[s];break}if(k>=S&&k<S+_.points[h+1].partialLength){for(x=(k-S)/_.points[h+1].partialLength,u=_.points[h].point.length,s=0;s<u;s+=1)r[s]=_.points[h].point[s]+(_.points[h+1].point[s]-_.points[h].point[s])*x;break}h<l-1?h+=1:g=!1}e._lastPoint=h,e._lastAddedLength=S-_.points[h].partialLength,e._lastKeyframeIndex=p}}else{var E,M,A,T,C;if(m=i.s.length,y=o.s||i.e,this.sh&&1!==i.h)if(t>=v)r[0]=y[0],r[1]=y[1],r[2]=y[2];else if(t<=b)r[0]=i.s[0],r[1]=i.s[1],r[2]=i.s[2];else{var L=createQuaternion(i.s),P=createQuaternion(y),O=(t-b)/(v-b);quaternionToEuler(r,slerp(L,P,O))}else for(p=0;p<m;p+=1)1!==i.h&&(t>=v?c=1:t<b?c=0:(i.o.x.constructor===Array?(a.__fnct||(a.__fnct=[]),a.__fnct[p]?f=a.__fnct[p]:(E=void 0===i.o.x[p]?i.o.x[0]:i.o.x[p],M=void 0===i.o.y[p]?i.o.y[0]:i.o.y[p],A=void 0===i.i.x[p]?i.i.x[0]:i.i.x[p],T=void 0===i.i.y[p]?i.i.y[0]:i.i.y[p],f=BezierFactory.getBezierEasing(E,M,A,T).get,a.__fnct[p]=f)):a.__fnct?f=a.__fnct:(E=i.o.x,M=i.o.y,A=i.i.x,T=i.i.y,f=BezierFactory.getBezierEasing(E,M,A,T).get,i.keyframeMetadata=f),c=f((t-b)/(v-b)))),y=o.s||i.e,C=1===i.h?i.s[p]:i.s[p]+(y[p]-i.s[p])*c,"multidimensional"===this.propType?r[p]=C:r=C}return e.lastIndex=d,r}function slerp(t,e,r){var n,i,o,a,s,u=[],c=t[0],l=t[1],h=t[2],f=t[3],d=e[0],p=e[1],m=e[2],g=e[3];return i=c*d+l*p+h*m+f*g,i<0&&(i=-i,d=-d,p=-p,m=-m,g=-g),1-i>1e-6?(n=Math.acos(i),o=Math.sin(n),a=Math.sin((1-r)*n)/o,s=Math.sin(r*n)/o):(a=1-r,s=r),u[0]=a*c+s*d,u[1]=a*l+s*p,u[2]=a*h+s*m,u[3]=a*f+s*g,u}function quaternionToEuler(t,e){var r=e[0],n=e[1],i=e[2],o=e[3],a=Math.atan2(2*n*o-2*r*i,1-2*n*n-2*i*i),s=Math.asin(2*r*n+2*i*o),u=Math.atan2(2*r*o-2*n*i,1-2*r*r-2*i*i);t[0]=a/degToRads,t[1]=s/degToRads,t[2]=u/degToRads}function createQuaternion(t){var e=t[0]*degToRads,r=t[1]*degToRads,n=t[2]*degToRads,i=Math.cos(e/2),o=Math.cos(r/2),a=Math.cos(n/2),s=Math.sin(e/2),u=Math.sin(r/2),c=Math.sin(n/2),l=i*o*a-s*u*c,h=s*u*a+i*o*c,f=s*o*a+i*u*c,d=i*u*a-s*o*c;return[h,f,d,l]}function getValueAtCurrentTime(){var t=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,r=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(t===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=r&&t>=r||this._caching.lastFrame<e&&t<e))){this._caching.lastFrame>=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var n=this.interpolateValue(t,this._caching);this.pv=n}return this._caching.lastFrame=t,this.pv}function setVValue(t){var e;if("unidimensional"===this.propType)e=t*this.mult,mathAbs(this.v-e)>1e-5&&(this.v=e,this._mdf=!0);else{var r=0,n=this.v.length;while(r<n)e=t[r]*this.mult,mathAbs(this.v[r]-e)>1e-5&&(this.v[r]=e,this._mdf=!0),r+=1}}function processEffectsSequence(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var t;this.lock=!0,this._mdf=this._isFirstFrame;var e=this.effectsSequence.length,r=this.kf?this.pv:this.data.k;for(t=0;t<e;t+=1)r=this.effectsSequence[t](r);this.setVValue(r),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function addEffect(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function ValueProperty(t,e,r,n){this.propType="unidimensional",this.mult=r||1,this.data=e,this.v=r?e.k*r:e.k,this.pv=e.k,this._mdf=!1,this.elem=t,this.container=n,this.comp=t.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function MultiDimensionalProperty(t,e,r,n){var i;this.propType="multidimensional",this.mult=r||1,this.data=e,this._mdf=!1,this.elem=t,this.container=n,this.comp=t.comp,this.k=!1,this.kf=!1,this.frameId=-1;var o=e.k.length;for(this.v=createTypedArray("float32",o),this.pv=createTypedArray("float32",o),this.vel=createTypedArray("float32",o),i=0;i<o;i+=1)this.v[i]=e.k[i]*this.mult,this.pv[i]=e.k[i];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function KeyframedValueProperty(t,e,r,n){this.propType="unidimensional",this.keyframes=e.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.frameId=-1,this._caching={lastFrame:initFrame,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=e,this.mult=r||1,this.elem=t,this.container=n,this.comp=t.comp,this.v=initFrame,this.pv=initFrame,this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.addEffect=addEffect}function KeyframedMultidimensionalProperty(t,e,r,n){var i;this.propType="multidimensional";var o,a,s,u,c=e.k.length;for(i=0;i<c-1;i+=1)e.k[i].to&&e.k[i].s&&e.k[i+1]&&e.k[i+1].s&&(o=e.k[i].s,a=e.k[i+1].s,s=e.k[i].to,u=e.k[i].ti,(2===o.length&&(o[0]!==a[0]||o[1]!==a[1])&&bez.pointOnLine2D(o[0],o[1],a[0],a[1],o[0]+s[0],o[1]+s[1])&&bez.pointOnLine2D(o[0],o[1],a[0],a[1],a[0]+u[0],a[1]+u[1])||3===o.length&&(o[0]!==a[0]||o[1]!==a[1]||o[2]!==a[2])&&bez.pointOnLine3D(o[0],o[1],o[2],a[0],a[1],a[2],o[0]+s[0],o[1]+s[1],o[2]+s[2])&&bez.pointOnLine3D(o[0],o[1],o[2],a[0],a[1],a[2],a[0]+u[0],a[1]+u[1],a[2]+u[2]))&&(e.k[i].to=null,e.k[i].ti=null),o[0]===a[0]&&o[1]===a[1]&&0===s[0]&&0===s[1]&&0===u[0]&&0===u[1]&&(2===o.length||o[2]===a[2]&&0===s[2]&&0===u[2])&&(e.k[i].to=null,e.k[i].ti=null));this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.data=e,this.keyframes=e.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=r||1,this.elem=t,this.container=n,this.comp=t.comp,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.frameId=-1;var l=e.k[0].s.length;for(this.v=createTypedArray("float32",l),this.pv=createTypedArray("float32",l),i=0;i<l;i+=1)this.v[i]=initFrame,this.pv[i]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",l)},this.addEffect=addEffect}var PropertyFactory=function(){function t(t,e,r,n,i){var o;if(e.sid&&(e=t.globalData.slotManager.getProp(e)),e.k.length)if("number"===typeof e.k[0])o=new MultiDimensionalProperty(t,e,n,i);else switch(r){case 0:o=new KeyframedValueProperty(t,e,n,i);break;case 1:o=new KeyframedMultidimensionalProperty(t,e,n,i);break;default:break}else o=new ValueProperty(t,e,n,i);return o.effectsSequence.length&&i.addDynamicProperty(o),o}var e={getProp:t};return e}();function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(t){-1===this.dynamicProperties.indexOf(t)&&(this.dynamicProperties.push(t),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){var t;this._mdf=!1;var e=this.dynamicProperties.length;for(t=0;t<e;t+=1)this.dynamicProperties[t].getValue(),this.dynamicProperties[t]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(t){this.container=t,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=function(){function t(){return createTypedArray("float32",2)}return poolFactory(8,t)}();function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(t,e){this.c=t,this.setLength(e);var r=0;while(r<e)this.v[r]=pointPool.newElement(),this.o[r]=pointPool.newElement(),this.i[r]=pointPool.newElement(),r+=1},ShapePath.prototype.setLength=function(t){while(this._maxLength<t)this.doubleArrayLength();this._length=t},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(t,e,r,n,i){var o;switch(this._length=Math.max(this._length,n+1),this._length>=this._maxLength&&this.doubleArrayLength(),r){case"v":o=this.v;break;case"i":o=this.i;break;case"o":o=this.o;break;default:o=[];break}(!o[n]||o[n]&&!i)&&(o[n]=pointPool.newElement()),o[n][0]=t,o[n][1]=e},ShapePath.prototype.setTripleAt=function(t,e,r,n,i,o,a,s){this.setXYAt(t,e,"v",a,s),this.setXYAt(r,n,"o",a,s),this.setXYAt(i,o,"i",a,s)},ShapePath.prototype.reverse=function(){var t=new ShapePath;t.setPathData(this.c,this._length);var e=this.v,r=this.o,n=this.i,i=0;this.c&&(t.setTripleAt(e[0][0],e[0][1],n[0][0],n[0][1],r[0][0],r[0][1],0,!1),i=1);var o,a=this._length-1,s=this._length;for(o=i;o<s;o+=1)t.setTripleAt(e[a][0],e[a][1],n[a][0],n[a][1],r[a][0],r[a][1],o,!1),a-=1;return t},ShapePath.prototype.length=function(){return this._length};var shapePool=function(){function t(){return new ShapePath}function e(t){var e,r=t._length;for(e=0;e<r;e+=1)pointPool.release(t.v[e]),pointPool.release(t.i[e]),pointPool.release(t.o[e]),t.v[e]=null,t.i[e]=null,t.o[e]=null;t._length=0,t.c=!1}function r(t){var e,r=n.newElement(),i=void 0===t._length?t.v.length:t._length;for(r.setLength(i),r.c=t.c,e=0;e<i;e+=1)r.setTripleAt(t.v[e][0],t.v[e][1],t.o[e][0],t.o[e][1],t.i[e][0],t.i[e][1],e);return r}var n=poolFactory(4,t,e);return n.clone=r,n}();function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(t){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=t,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var t;for(t=0;t<this._length;t+=1)shapePool.release(this.shapes[t]);this._length=0};var shapeCollectionPool=function(){var t={newShapeCollection:i,release:o},e=0,r=4,n=createSizedArray(r);function i(){var t;return e?(e-=1,t=n[e]):t=new ShapeCollection,t}function o(t){var i,o=t._length;for(i=0;i<o;i+=1)shapePool.release(t.shapes[i]);t._length=0,e===r&&(n=pooling["double"](n),r*=2),n[e]=t,e+=1}return t}(),ShapePropertyFactory=function(){var t=-999999;function e(t,e,r){var n,i,o,a,s,u,c,l,h,f=r.lastIndex,d=this.keyframes;if(t<d[0].t-this.offsetTime)n=d[0].s[0],o=!0,f=0;else if(t>=d[d.length-1].t-this.offsetTime)n=d[d.length-1].s?d[d.length-1].s[0]:d[d.length-2].e[0],o=!0;else{var p,m,g,y=f,v=d.length-1,b=!0;while(b){if(p=d[y],m=d[y+1],m.t-this.offsetTime>t)break;y<v-1?y+=1:b=!1}if(g=this.keyframesMetadata[y]||{},o=1===p.h,f=y,!o){if(t>=m.t-this.offsetTime)l=1;else if(t<p.t-this.offsetTime)l=0;else{var _;g.__fnct?_=g.__fnct:(_=BezierFactory.getBezierEasing(p.o.x,p.o.y,p.i.x,p.i.y).get,g.__fnct=_),l=_((t-(p.t-this.offsetTime))/(m.t-this.offsetTime-(p.t-this.offsetTime)))}i=m.s?m.s[0]:p.e[0]}n=p.s[0]}for(u=e._length,c=n.i[0].length,r.lastIndex=f,a=0;a<u;a+=1)for(s=0;s<c;s+=1)h=o?n.i[a][s]:n.i[a][s]+(i.i[a][s]-n.i[a][s])*l,e.i[a][s]=h,h=o?n.o[a][s]:n.o[a][s]+(i.o[a][s]-n.o[a][s])*l,e.o[a][s]=h,h=o?n.v[a][s]:n.v[a][s]+(i.v[a][s]-n.v[a][s])*l,e.v[a][s]=h}function r(){var e=this.comp.renderedFrame-this.offsetTime,r=this.keyframes[0].t-this.offsetTime,n=this.keyframes[this.keyframes.length-1].t-this.offsetTime,i=this._caching.lastFrame;return i!==t&&(i<r&&e<r||i>n&&e>n)||(this._caching.lastIndex=i<e?this._caching.lastIndex:0,this.interpolateShape(e,this.pv,this._caching)),this._caching.lastFrame=e,this.pv}function n(){this.paths=this.localShapeCollection}function i(t,e){if(t._length!==e._length||t.c!==e.c)return!1;var r,n=t._length;for(r=0;r<n;r+=1)if(t.v[r][0]!==e.v[r][0]||t.v[r][1]!==e.v[r][1]||t.o[r][0]!==e.o[r][0]||t.o[r][1]!==e.o[r][1]||t.i[r][0]!==e.i[r][0]||t.i[r][1]!==e.i[r][1])return!1;return!0}function o(t){i(this.v,t)||(this.v=shapePool.clone(t),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function a(){if(this.elem.globalData.frameId!==this.frameId)if(this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var t,e;this.lock=!0,this._mdf=!1,t=this.kf?this.pv:this.data.ks?this.data.ks.k:this.data.pt.k;var r=this.effectsSequence.length;for(e=0;e<r;e+=1)t=this.effectsSequence[e](t);this.setVValue(t),this.lock=!1,this.frameId=this.elem.globalData.frameId}else this._mdf=!1}function s(t,e,r){this.propType="shape",this.comp=t.comp,this.container=t,this.elem=t,this.data=e,this.k=!1,this.kf=!1,this._mdf=!1;var i=3===r?e.pt.k:e.ks.k;this.v=shapePool.clone(i),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=n,this.effectsSequence=[]}function u(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function c(e,i,o){this.propType="shape",this.comp=e.comp,this.elem=e,this.container=e,this.offsetTime=e.data.st,this.keyframes=3===o?i.pt.k:i.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var a=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,a),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=t,this.reset=n,this._caching={lastFrame:t,lastIndex:0},this.effectsSequence=[r.bind(this)]}s.prototype.interpolateShape=e,s.prototype.getValue=a,s.prototype.setVValue=o,s.prototype.addEffect=u,c.prototype.getValue=a,c.prototype.interpolateShape=e,c.prototype.setVValue=o,c.prototype.addEffect=u;var l=function(){var t=roundCorner;function e(t,e){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=e.d,this.elem=t,this.comp=t.comp,this.frameId=-1,this.initDynamicPropertyContainer(t),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.s=PropertyFactory.getProp(t,e.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return e.prototype={reset:n,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var e=this.p.v[0],r=this.p.v[1],n=this.s.v[0]/2,i=this.s.v[1]/2,o=3!==this.d,a=this.v;a.v[0][0]=e,a.v[0][1]=r-i,a.v[1][0]=o?e+n:e-n,a.v[1][1]=r,a.v[2][0]=e,a.v[2][1]=r+i,a.v[3][0]=o?e-n:e+n,a.v[3][1]=r,a.i[0][0]=o?e-n*t:e+n*t,a.i[0][1]=r-i,a.i[1][0]=o?e+n:e-n,a.i[1][1]=r-i*t,a.i[2][0]=o?e+n*t:e-n*t,a.i[2][1]=r+i,a.i[3][0]=o?e-n:e+n,a.i[3][1]=r+i*t,a.o[0][0]=o?e+n*t:e-n*t,a.o[0][1]=r-i,a.o[1][0]=o?e+n:e-n,a.o[1][1]=r+i*t,a.o[2][0]=o?e-n*t:e+n*t,a.o[2][1]=r+i,a.o[3][0]=o?e-n:e+n,a.o[3][1]=r-i*t}},extendPrototype([DynamicPropertyContainer],e),e}(),h=function(){function t(t,e){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=t,this.comp=t.comp,this.data=e,this.frameId=-1,this.d=e.d,this.initDynamicPropertyContainer(t),1===e.sy?(this.ir=PropertyFactory.getProp(t,e.ir,0,0,this),this.is=PropertyFactory.getProp(t,e.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(t,e.pt,0,0,this),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.r=PropertyFactory.getProp(t,e.r,0,degToRads,this),this.or=PropertyFactory.getProp(t,e.or,0,0,this),this.os=PropertyFactory.getProp(t,e.os,0,.01,this),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return t.prototype={reset:n,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var t,e,r,n,i=2*Math.floor(this.pt.v),o=2*Math.PI/i,a=!0,s=this.or.v,u=this.ir.v,c=this.os.v,l=this.is.v,h=2*Math.PI*s/(2*i),f=2*Math.PI*u/(2*i),d=-Math.PI/2;d+=this.r.v;var p=3===this.data.d?-1:1;for(this.v._length=0,t=0;t<i;t+=1){e=a?s:u,r=a?c:l,n=a?h:f;var m=e*Math.cos(d),g=e*Math.sin(d),y=0===m&&0===g?0:g/Math.sqrt(m*m+g*g),v=0===m&&0===g?0:-m/Math.sqrt(m*m+g*g);m+=+this.p.v[0],g+=+this.p.v[1],this.v.setTripleAt(m,g,m-y*n*r*p,g-v*n*r*p,m+y*n*r*p,g+v*n*r*p,t,!0),a=!a,d+=o*p}},convertPolygonToPath:function(){var t,e=Math.floor(this.pt.v),r=2*Math.PI/e,n=this.or.v,i=this.os.v,o=2*Math.PI*n/(4*e),a=.5*-Math.PI,s=3===this.data.d?-1:1;for(a+=this.r.v,this.v._length=0,t=0;t<e;t+=1){var u=n*Math.cos(a),c=n*Math.sin(a),l=0===u&&0===c?0:c/Math.sqrt(u*u+c*c),h=0===u&&0===c?0:-u/Math.sqrt(u*u+c*c);u+=+this.p.v[0],c+=+this.p.v[1],this.v.setTripleAt(u,c,u-l*o*i*s,c-h*o*i*s,u+l*o*i*s,c+h*o*i*s,t,!0),a+=r*s}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],t),t}(),f=function(){function t(t,e){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=t,this.comp=t.comp,this.frameId=-1,this.d=e.d,this.initDynamicPropertyContainer(t),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.s=PropertyFactory.getProp(t,e.s,1,0,this),this.r=PropertyFactory.getProp(t,e.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return t.prototype={convertRectToPath:function(){var t=this.p.v[0],e=this.p.v[1],r=this.s.v[0]/2,n=this.s.v[1]/2,i=bmMin(r,n,this.r.v),o=i*(1-roundCorner);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(t+r,e-n+i,t+r,e-n+i,t+r,e-n+o,0,!0),this.v.setTripleAt(t+r,e+n-i,t+r,e+n-o,t+r,e+n-i,1,!0),0!==i?(this.v.setTripleAt(t+r-i,e+n,t+r-i,e+n,t+r-o,e+n,2,!0),this.v.setTripleAt(t-r+i,e+n,t-r+o,e+n,t-r+i,e+n,3,!0),this.v.setTripleAt(t-r,e+n-i,t-r,e+n-i,t-r,e+n-o,4,!0),this.v.setTripleAt(t-r,e-n+i,t-r,e-n+o,t-r,e-n+i,5,!0),this.v.setTripleAt(t-r+i,e-n,t-r+i,e-n,t-r+o,e-n,6,!0),this.v.setTripleAt(t+r-i,e-n,t+r-o,e-n,t+r-i,e-n,7,!0)):(this.v.setTripleAt(t-r,e+n,t-r+o,e+n,t-r,e+n,2),this.v.setTripleAt(t-r,e-n,t-r,e-n+o,t-r,e-n,3))):(this.v.setTripleAt(t+r,e-n+i,t+r,e-n+o,t+r,e-n+i,0,!0),0!==i?(this.v.setTripleAt(t+r-i,e-n,t+r-i,e-n,t+r-o,e-n,1,!0),this.v.setTripleAt(t-r+i,e-n,t-r+o,e-n,t-r+i,e-n,2,!0),this.v.setTripleAt(t-r,e-n+i,t-r,e-n+i,t-r,e-n+o,3,!0),this.v.setTripleAt(t-r,e+n-i,t-r,e+n-o,t-r,e+n-i,4,!0),this.v.setTripleAt(t-r+i,e+n,t-r+i,e+n,t-r+o,e+n,5,!0),this.v.setTripleAt(t+r-i,e+n,t+r-o,e+n,t+r-i,e+n,6,!0),this.v.setTripleAt(t+r,e+n-i,t+r,e+n-i,t+r,e+n-o,7,!0)):(this.v.setTripleAt(t-r,e-n,t-r+o,e-n,t-r,e-n,1,!0),this.v.setTripleAt(t-r,e+n,t-r,e+n-o,t-r,e+n,2,!0),this.v.setTripleAt(t+r,e+n,t+r-o,e+n,t+r,e+n,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:n},extendPrototype([DynamicPropertyContainer],t),t}();function d(t,e,r){var n;if(3===r||4===r){var i=3===r?e.pt:e.ks,o=i.k;n=o.length?new c(t,e,r):new s(t,e,r)}else 5===r?n=new f(t,e):6===r?n=new l(t,e):7===r&&(n=new h(t,e));return n.k&&t.addDynamicProperty(n),n}function p(){return s}function m(){return c}var g={};return g.getShapeProp=d,g.getConstructorFunction=p,g.getKeyframedConstructorFunction=m,g}(),Matrix=function(){var t=Math.cos,e=Math.sin,r=Math.tan,n=Math.round;function i(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function o(r){if(0===r)return this;var n=t(r),i=e(r);return this._t(n,-i,0,0,i,n,0,0,0,0,1,0,0,0,0,1)}function a(r){if(0===r)return this;var n=t(r),i=e(r);return this._t(1,0,0,0,0,n,-i,0,0,i,n,0,0,0,0,1)}function s(r){if(0===r)return this;var n=t(r),i=e(r);return this._t(n,0,i,0,0,1,0,0,-i,0,n,0,0,0,0,1)}function u(r){if(0===r)return this;var n=t(r),i=e(r);return this._t(n,-i,0,0,i,n,0,0,0,0,1,0,0,0,0,1)}function c(t,e){return this._t(1,e,t,1,0,0)}function l(t,e){return this.shear(r(t),r(e))}function h(n,i){var o=t(i),a=e(i);return this._t(o,a,0,0,-a,o,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,r(n),1,0,0,0,0,1,0,0,0,0,1)._t(o,-a,0,0,a,o,0,0,0,0,1,0,0,0,0,1)}function f(t,e,r){return r||0===r||(r=1),1===t&&1===e&&1===r?this:this._t(t,0,0,0,0,e,0,0,0,0,r,0,0,0,0,1)}function d(t,e,r,n,i,o,a,s,u,c,l,h,f,d,p,m){return this.props[0]=t,this.props[1]=e,this.props[2]=r,this.props[3]=n,this.props[4]=i,this.props[5]=o,this.props[6]=a,this.props[7]=s,this.props[8]=u,this.props[9]=c,this.props[10]=l,this.props[11]=h,this.props[12]=f,this.props[13]=d,this.props[14]=p,this.props[15]=m,this}function p(t,e,r){return r=r||0,0!==t||0!==e||0!==r?this._t(1,0,0,0,0,1,0,0,0,0,1,0,t,e,r,1):this}function m(t,e,r,n,i,o,a,s,u,c,l,h,f,d,p,m){var g=this.props;if(1===t&&0===e&&0===r&&0===n&&0===i&&1===o&&0===a&&0===s&&0===u&&0===c&&1===l&&0===h)return g[12]=g[12]*t+g[15]*f,g[13]=g[13]*o+g[15]*d,g[14]=g[14]*l+g[15]*p,g[15]*=m,this._identityCalculated=!1,this;var y=g[0],v=g[1],b=g[2],_=g[3],w=g[4],x=g[5],k=g[6],S=g[7],E=g[8],M=g[9],A=g[10],T=g[11],C=g[12],L=g[13],P=g[14],O=g[15];return g[0]=y*t+v*i+b*u+_*f,g[1]=y*e+v*o+b*c+_*d,g[2]=y*r+v*a+b*l+_*p,g[3]=y*n+v*s+b*h+_*m,g[4]=w*t+x*i+k*u+S*f,g[5]=w*e+x*o+k*c+S*d,g[6]=w*r+x*a+k*l+S*p,g[7]=w*n+x*s+k*h+S*m,g[8]=E*t+M*i+A*u+T*f,g[9]=E*e+M*o+A*c+T*d,g[10]=E*r+M*a+A*l+T*p,g[11]=E*n+M*s+A*h+T*m,g[12]=C*t+L*i+P*u+O*f,g[13]=C*e+L*o+P*c+O*d,g[14]=C*r+L*a+P*l+O*p,g[15]=C*n+L*s+P*h+O*m,this._identityCalculated=!1,this}function g(t){var e=t.props;return this.transform(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15])}function y(){return this._identityCalculated||(this._identity=!(1!==this.props[0]||0!==this.props[1]||0!==this.props[2]||0!==this.props[3]||0!==this.props[4]||1!==this.props[5]||0!==this.props[6]||0!==this.props[7]||0!==this.props[8]||0!==this.props[9]||1!==this.props[10]||0!==this.props[11]||0!==this.props[12]||0!==this.props[13]||0!==this.props[14]||1!==this.props[15]),this._identityCalculated=!0),this._identity}function v(t){var e=0;while(e<16){if(t.props[e]!==this.props[e])return!1;e+=1}return!0}function b(t){var e;for(e=0;e<16;e+=1)t.props[e]=this.props[e];return t}function _(t){var e;for(e=0;e<16;e+=1)this.props[e]=t[e]}function w(t,e,r){return{x:t*this.props[0]+e*this.props[4]+r*this.props[8]+this.props[12],y:t*this.props[1]+e*this.props[5]+r*this.props[9]+this.props[13],z:t*this.props[2]+e*this.props[6]+r*this.props[10]+this.props[14]}}function x(t,e,r){return t*this.props[0]+e*this.props[4]+r*this.props[8]+this.props[12]}function k(t,e,r){return t*this.props[1]+e*this.props[5]+r*this.props[9]+this.props[13]}function S(t,e,r){return t*this.props[2]+e*this.props[6]+r*this.props[10]+this.props[14]}function E(){var t=this.props[0]*this.props[5]-this.props[1]*this.props[4],e=this.props[5]/t,r=-this.props[1]/t,n=-this.props[4]/t,i=this.props[0]/t,o=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/t,a=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/t,s=new Matrix;return s.props[0]=e,s.props[1]=r,s.props[4]=n,s.props[5]=i,s.props[12]=o,s.props[13]=a,s}function M(t){var e=this.getInverseMatrix();return e.applyToPointArray(t[0],t[1],t[2]||0)}function A(t){var e,r=t.length,n=[];for(e=0;e<r;e+=1)n[e]=M(t[e]);return n}function T(t,e,r){var n=createTypedArray("float32",6);if(this.isIdentity())n[0]=t[0],n[1]=t[1],n[2]=e[0],n[3]=e[1],n[4]=r[0],n[5]=r[1];else{var i=this.props[0],o=this.props[1],a=this.props[4],s=this.props[5],u=this.props[12],c=this.props[13];n[0]=t[0]*i+t[1]*a+u,n[1]=t[0]*o+t[1]*s+c,n[2]=e[0]*i+e[1]*a+u,n[3]=e[0]*o+e[1]*s+c,n[4]=r[0]*i+r[1]*a+u,n[5]=r[0]*o+r[1]*s+c}return n}function C(t,e,r){var n;return n=this.isIdentity()?[t,e,r]:[t*this.props[0]+e*this.props[4]+r*this.props[8]+this.props[12],t*this.props[1]+e*this.props[5]+r*this.props[9]+this.props[13],t*this.props[2]+e*this.props[6]+r*this.props[10]+this.props[14]],n}function L(t,e){if(this.isIdentity())return t+","+e;var r=this.props;return Math.round(100*(t*r[0]+e*r[4]+r[12]))/100+","+Math.round(100*(t*r[1]+e*r[5]+r[13]))/100}function P(){var t=0,e=this.props,r="matrix3d(",i=1e4;while(t<16)r+=n(e[t]*i)/i,r+=15===t?")":",",t+=1;return r}function O(t){var e=1e4;return t<1e-6&&t>0||t>-1e-6&&t<0?n(t*e)/e:t}function I(){var t=this.props,e=O(t[0]),r=O(t[1]),n=O(t[4]),i=O(t[5]),o=O(t[12]),a=O(t[13]);return"matrix("+e+","+r+","+n+","+i+","+o+","+a+")"}return function(){this.reset=i,this.rotate=o,this.rotateX=a,this.rotateY=s,this.rotateZ=u,this.skew=l,this.skewFromAxis=h,this.shear=c,this.scale=f,this.setTransform=d,this.translate=p,this.transform=m,this.multiply=g,this.applyToPoint=w,this.applyToX=x,this.applyToY=k,this.applyToZ=S,this.applyToPointArray=C,this.applyToTriplePoints=T,this.applyToPointStringified=L,this.toCSS=P,this.to2dCSS=I,this.clone=b,this.cloneFromProps=_,this.equals=v,this.inversePoints=A,this.inversePoint=M,this.getInverseMatrix=E,this._t=this.transform,this.isIdentity=y,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(t){return _typeof$3="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$3(t)}var lottie={},standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="";function setLocation(t){setLocationHref(t)}function searchAnimations(){!0===standalone?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(t){setSubframeEnabled(t)}function setPrefix(t){setIdPrefix(t)}function loadAnimation(t){return!0===standalone&&(t.animationData=JSON.parse(animationData)),animationManager.loadAnimation(t)}function setQuality(t){if("string"===typeof t)switch(t){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10);break}else!isNaN(t)&&t>1&&setDefaultCurveSegments(t);getDefaultCurveSegments()>=50?roundValues(!1):roundValues(!0)}function inBrowser(){return"undefined"!==typeof navigator}function installPlugin(t,e){"expressions"===t&&setExpressionsPlugin(e)}function getFactory(t){switch(t){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}function checkReady(){"complete"===document.readyState&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(t){for(var e=queryString.split("&"),r=0;r<e.length;r+=1){var n=e[r].split("=");if(decodeURIComponent(n[0])==t)return decodeURIComponent(n[1])}return null}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="5.12.2";var queryString="";if(standalone){var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",renderer=getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{"object"===_typeof$3(exports)&&"undefined"!==typeof module||__webpack_require__("3c35")||(window.bodymovin=lottie)}catch(err){}var ShapeModifiers=function(){var t={},e={};function r(t,r){e[t]||(e[t]=r)}function n(t,r,n){return new e[t](r,n)}return t.registerModifier=r,t.getModifier=n,t}();function ShapeModifier(){}function TrimModifier(){}function PuckerAndBloatModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(t){if(!this.closed){t.sh.container.addDynamicProperty(t.sh);var e={shape:t.sh,data:t,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(e),this.addShapeToModifier(e),this._isAnimated&&t.setAsAnimated()}},ShapeModifier.prototype.init=function(t,e){this.shapes=[],this.elem=t,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier),extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(t,e){this.s=PropertyFactory.getProp(t,e.s,0,.01,this),this.e=PropertyFactory.getProp(t,e.e,0,.01,this),this.o=PropertyFactory.getProp(t,e.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=e.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(t){t.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(t,e,r,n,i){var o=[];e<=1?o.push({s:t,e:e}):t>=1?o.push({s:t-1,e:e-1}):(o.push({s:t,e:1}),o.push({s:0,e:e-1}));var a,s,u=[],c=o.length;for(a=0;a<c;a+=1){var l,h;if(s=o[a],!(s.e*i<n||s.s*i>n+r))l=s.s*i<=n?0:(s.s*i-n)/r,h=s.e*i>=n+r?1:(s.e*i-n)/r,u.push([l,h])}return u.length||u.push([0,0]),u},TrimModifier.prototype.releasePathsData=function(t){var e,r=t.length;for(e=0;e<r;e+=1)segmentsLengthPool.release(t[e]);return t.length=0,t},TrimModifier.prototype.processShapes=function(t){var e,r,n,i;if(this._mdf||t){var o=this.o.v%360/360;if(o<0&&(o+=1),e=this.s.v>1?1+o:this.s.v<0?0+o:this.s.v+o,r=this.e.v>1?1+o:this.e.v<0?0+o:this.e.v+o,e>r){var a=e;e=r,r=a}e=1e-4*Math.round(1e4*e),r=1e-4*Math.round(1e4*r),this.sValue=e,this.eValue=r}else e=this.sValue,r=this.eValue;var s,u,c,l,h,f=this.shapes.length,d=0;if(r===e)for(i=0;i<f;i+=1)this.shapes[i].localShapeCollection.releaseShapes(),this.shapes[i].shape._mdf=!0,this.shapes[i].shape.paths=this.shapes[i].localShapeCollection,this._mdf&&(this.shapes[i].pathsData.length=0);else if(1===r&&0===e||0===r&&1===e){if(this._mdf)for(i=0;i<f;i+=1)this.shapes[i].pathsData.length=0,this.shapes[i].shape._mdf=!0}else{var p,m,g=[];for(i=0;i<f;i+=1)if(p=this.shapes[i],p.shape._mdf||this._mdf||t||2===this.m){if(n=p.shape.paths,u=n._length,h=0,!p.shape._mdf&&p.pathsData.length)h=p.totalShapeLength;else{for(c=this.releasePathsData(p.pathsData),s=0;s<u;s+=1)l=bez.getSegmentsLength(n.shapes[s]),c.push(l),h+=l.totalLength;p.totalShapeLength=h,p.pathsData=c}d+=h,p.shape._mdf=!0}else p.shape.paths=p.localShapeCollection;var y,v=e,b=r,_=0;for(i=f-1;i>=0;i-=1)if(p=this.shapes[i],p.shape._mdf){for(m=p.localShapeCollection,m.releaseShapes(),2===this.m&&f>1?(y=this.calculateShapeEdges(e,r,p.totalShapeLength,_,d),_+=p.totalShapeLength):y=[[v,b]],u=y.length,s=0;s<u;s+=1){v=y[s][0],b=y[s][1],g.length=0,b<=1?g.push({s:p.totalShapeLength*v,e:p.totalShapeLength*b}):v>=1?g.push({s:p.totalShapeLength*(v-1),e:p.totalShapeLength*(b-1)}):(g.push({s:p.totalShapeLength*v,e:p.totalShapeLength}),g.push({s:0,e:p.totalShapeLength*(b-1)}));var w=this.addShapes(p,g[0]);if(g[0].s!==g[0].e){if(g.length>1){var x=p.shape.paths.shapes[p.shape.paths._length-1];if(x.c){var k=w.pop();this.addPaths(w,m),w=this.addShapes(p,g[1],k)}else this.addPaths(w,m),w=this.addShapes(p,g[1])}this.addPaths(w,m)}}p.shape.paths=m}}},TrimModifier.prototype.addPaths=function(t,e){var r,n=t.length;for(r=0;r<n;r+=1)e.addShape(t[r])},TrimModifier.prototype.addSegment=function(t,e,r,n,i,o,a){i.setXYAt(e[0],e[1],"o",o),i.setXYAt(r[0],r[1],"i",o+1),a&&i.setXYAt(t[0],t[1],"v",o),i.setXYAt(n[0],n[1],"v",o+1)},TrimModifier.prototype.addSegmentFromArray=function(t,e,r,n){e.setXYAt(t[1],t[5],"o",r),e.setXYAt(t[2],t[6],"i",r+1),n&&e.setXYAt(t[0],t[4],"v",r),e.setXYAt(t[3],t[7],"v",r+1)},TrimModifier.prototype.addShapes=function(t,e,r){var n,i,o,a,s,u,c,l,h=t.pathsData,f=t.shape.paths.shapes,d=t.shape.paths._length,p=0,m=[],g=!0;for(r?(s=r._length,l=r._length):(r=shapePool.newElement(),s=0,l=0),m.push(r),n=0;n<d;n+=1){for(u=h[n].lengths,r.c=f[n].c,o=f[n].c?u.length:u.length+1,i=1;i<o;i+=1)if(a=u[i-1],p+a.addedLength<e.s)p+=a.addedLength,r.c=!1;else{if(p>e.e){r.c=!1;break}e.s<=p&&e.e>=p+a.addedLength?(this.addSegment(f[n].v[i-1],f[n].o[i-1],f[n].i[i],f[n].v[i],r,s,g),g=!1):(c=bez.getNewSegment(f[n].v[i-1],f[n].v[i],f[n].o[i-1],f[n].i[i],(e.s-p)/a.addedLength,(e.e-p)/a.addedLength,u[i-1]),this.addSegmentFromArray(c,r,s,g),g=!1,r.c=!1),p+=a.addedLength,s+=1}if(f[n].c&&u.length){if(a=u[i-1],p<=e.e){var y=u[i-1].addedLength;e.s<=p&&e.e>=p+y?(this.addSegment(f[n].v[i-1],f[n].o[i-1],f[n].i[0],f[n].v[0],r,s,g),g=!1):(c=bez.getNewSegment(f[n].v[i-1],f[n].v[0],f[n].o[i-1],f[n].i[0],(e.s-p)/y,(e.e-p)/y,u[i-1]),this.addSegmentFromArray(c,r,s,g),g=!1,r.c=!1)}else r.c=!1;p+=a.addedLength,s+=1}if(r._length&&(r.setXYAt(r.v[l][0],r.v[l][1],"i",l),r.setXYAt(r.v[r._length-1][0],r.v[r._length-1][1],"o",r._length-1)),p>e.e)break;n<d-1&&(r=shapePool.newElement(),g=!0,m.push(r),s=0)}return m},extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(t,e.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(t,e){var r=e/100,n=[0,0],i=t._length,o=0;for(o=0;o<i;o+=1)n[0]+=t.v[o][0],n[1]+=t.v[o][1];n[0]/=i,n[1]/=i;var a,s,u,c,l,h,f=shapePool.newElement();for(f.c=t.c,o=0;o<i;o+=1)a=t.v[o][0]+(n[0]-t.v[o][0])*r,s=t.v[o][1]+(n[1]-t.v[o][1])*r,u=t.o[o][0]+(n[0]-t.o[o][0])*-r,c=t.o[o][1]+(n[1]-t.o[o][1])*-r,l=t.i[o][0]+(n[0]-t.i[o][0])*-r,h=t.i[o][1]+(n[1]-t.i[o][1])*-r,f.setTripleAt(a,s,u,c,l,h,o);return f},PuckerAndBloatModifier.prototype.processShapes=function(t){var e,r,n,i,o,a,s=this.shapes.length,u=this.amount.v;if(0!==u)for(r=0;r<s;r+=1){if(o=this.shapes[r],a=o.localShapeCollection,o.shape._mdf||this._mdf||t)for(a.releaseShapes(),o.shape._mdf=!0,e=o.shape.paths.shapes,i=o.shape.paths._length,n=0;n<i;n+=1)a.addShape(this.processPath(e[n],u));o.shape.paths=o.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var t=[0,0];function e(t){var e=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||e,this.a&&t.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&t.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&t.skewFromAxis(-this.sk.v,this.sa.v),this.r?t.rotate(-this.r.v):t.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?t.translate(this.px.v,this.py.v,-this.pz.v):t.translate(this.px.v,this.py.v,0):t.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function r(e){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||e){var r;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var n,i;if(r=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(n=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/r,0),i=this.p.getValueAtTime(this.p.keyframes[0].t/r,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(n=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/r,0),i=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/r,0)):(n=this.p.pv,i=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/r,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){n=[],i=[];var o=this.px,a=this.py;o._caching.lastFrame+o.offsetTime<=o.keyframes[0].t?(n[0]=o.getValueAtTime((o.keyframes[0].t+.01)/r,0),n[1]=a.getValueAtTime((a.keyframes[0].t+.01)/r,0),i[0]=o.getValueAtTime(o.keyframes[0].t/r,0),i[1]=a.getValueAtTime(a.keyframes[0].t/r,0)):o._caching.lastFrame+o.offsetTime>=o.keyframes[o.keyframes.length-1].t?(n[0]=o.getValueAtTime(o.keyframes[o.keyframes.length-1].t/r,0),n[1]=a.getValueAtTime(a.keyframes[a.keyframes.length-1].t/r,0),i[0]=o.getValueAtTime((o.keyframes[o.keyframes.length-1].t-.01)/r,0),i[1]=a.getValueAtTime((a.keyframes[a.keyframes.length-1].t-.01)/r,0)):(n=[o.pv,a.pv],i[0]=o.getValueAtTime((o._caching.lastFrame+o.offsetTime-.01)/r,o.offsetTime),i[1]=a.getValueAtTime((a._caching.lastFrame+a.offsetTime-.01)/r,a.offsetTime))}else i=t,n=i;this.v.rotate(-Math.atan2(n[1]-i[1],n[0]-i[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}}function n(){if(this.appliedTransformations=0,this.pre.reset(),!this.a.effectsSequence.length&&(this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1,!this.s.effectsSequence.length)){if(this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2,this.sk){if(this.sk.effectsSequence.length||this.sa.effectsSequence.length)return;this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3}this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):this.rz.effectsSequence.length||this.ry.effectsSequence.length||this.rx.effectsSequence.length||this.or.effectsSequence.length||(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}}function i(){}function o(t){this._addDynamicProperty(t),this.elem.addDynamicProperty(t),this._isDirty=!0}function a(t,e,r){if(this.elem=t,this.frameId=-1,this.propType="transform",this.data=e,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(r||t),e.p&&e.p.s?(this.px=PropertyFactory.getProp(t,e.p.x,0,0,this),this.py=PropertyFactory.getProp(t,e.p.y,0,0,this),e.p.z&&(this.pz=PropertyFactory.getProp(t,e.p.z,0,0,this))):this.p=PropertyFactory.getProp(t,e.p||{k:[0,0,0]},1,0,this),e.rx){if(this.rx=PropertyFactory.getProp(t,e.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(t,e.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(t,e.rz,0,degToRads,this),e.or.k[0].ti){var n,i=e.or.k.length;for(n=0;n<i;n+=1)e.or.k[n].to=null,e.or.k[n].ti=null}this.or=PropertyFactory.getProp(t,e.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(t,e.r||{k:0},0,degToRads,this);e.sk&&(this.sk=PropertyFactory.getProp(t,e.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(t,e.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(t,e.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(t,e.s||{k:[100,100,100]},1,.01,this),e.o?this.o=PropertyFactory.getProp(t,e.o,0,.01,t):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}function s(t,e,r){return new a(t,e,r)}return a.prototype={applyToMatrix:e,getValue:r,precalculateMatrix:n,autoOrient:i},extendPrototype([DynamicPropertyContainer],a),a.prototype.addDynamicProperty=o,a.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:s}}();function RepeaterModifier(){}function RoundCornersModifier(){}function floatEqual(t,e){return 1e5*Math.abs(t-e)<=Math.min(Math.abs(t),Math.abs(e))}function floatZero(t){return Math.abs(t)<=1e-5}function lerp(t,e,r){return t*(1-r)+e*r}function lerpPoint(t,e,r){return[lerp(t[0],e[0],r),lerp(t[1],e[1],r)]}function quadRoots(t,e,r){if(0===t)return[];var n=e*e-4*t*r;if(n<0)return[];var i=-e/(2*t);if(0===n)return[i];var o=Math.sqrt(n)/(2*t);return[i-o,i+o]}function polynomialCoefficients(t,e,r,n){return[3*e-t-3*r+n,3*t-6*e+3*r,-3*t+3*e,t]}function singlePoint(t){return new PolynomialBezier(t,t,t,t,!1)}function PolynomialBezier(t,e,r,n,i){i&&pointEqual(t,e)&&(e=lerpPoint(t,n,1/3)),i&&pointEqual(r,n)&&(r=lerpPoint(t,n,2/3));var o=polynomialCoefficients(t[0],e[0],r[0],n[0]),a=polynomialCoefficients(t[1],e[1],r[1],n[1]);this.a=[o[0],a[0]],this.b=[o[1],a[1]],this.c=[o[2],a[2]],this.d=[o[3],a[3]],this.points=[t,e,r,n]}function extrema(t,e){var r=t.points[0][e],n=t.points[t.points.length-1][e];if(r>n){var i=n;n=r,r=i}for(var o=quadRoots(3*t.a[e],2*t.b[e],t.c[e]),a=0;a<o.length;a+=1)if(o[a]>0&&o[a]<1){var s=t.point(o[a])[e];s<r?r=s:s>n&&(n=s)}return{min:r,max:n}}function intersectData(t,e,r){var n=t.boundingBox();return{cx:n.cx,cy:n.cy,width:n.width,height:n.height,bez:t,t:(e+r)/2,t1:e,t2:r}}function splitData(t){var e=t.bez.split(.5);return[intersectData(e[0],t.t1,t.t),intersectData(e[1],t.t,t.t2)]}function boxIntersect(t,e){return 2*Math.abs(t.cx-e.cx)<t.width+e.width&&2*Math.abs(t.cy-e.cy)<t.height+e.height}function intersectsImpl(t,e,r,n,i,o){if(boxIntersect(t,e))if(r>=o||t.width<=n&&t.height<=n&&e.width<=n&&e.height<=n)i.push([t.t,e.t]);else{var a=splitData(t),s=splitData(e);intersectsImpl(a[0],s[0],r+1,n,i,o),intersectsImpl(a[0],s[1],r+1,n,i,o),intersectsImpl(a[1],s[0],r+1,n,i,o),intersectsImpl(a[1],s[1],r+1,n,i,o)}}function crossProduct(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function lineIntersection(t,e,r,n){var i=[t[0],t[1],1],o=[e[0],e[1],1],a=[r[0],r[1],1],s=[n[0],n[1],1],u=crossProduct(crossProduct(i,o),crossProduct(a,s));return floatZero(u[2])?null:[u[0]/u[2],u[1]/u[2]]}function polarOffset(t,e,r){return[t[0]+Math.cos(e)*r,t[1]-Math.sin(e)*r]}function pointDistance(t,e){return Math.hypot(t[0]-e[0],t[1]-e[1])}function pointEqual(t,e){return floatEqual(t[0],e[0])&&floatEqual(t[1],e[1])}function ZigZagModifier(){}function setPoint(t,e,r,n,i,o,a){var s=r-Math.PI/2,u=r+Math.PI/2,c=e[0]+Math.cos(r)*n*i,l=e[1]-Math.sin(r)*n*i;t.setTripleAt(c,l,c+Math.cos(s)*o,l-Math.sin(s)*o,c+Math.cos(u)*a,l-Math.sin(u)*a,t.length())}function getPerpendicularVector(t,e){var r=[e[0]-t[0],e[1]-t[1]],n=.5*-Math.PI,i=[Math.cos(n)*r[0]-Math.sin(n)*r[1],Math.sin(n)*r[0]+Math.cos(n)*r[1]];return i}function getProjectingAngle(t,e){var r=0===e?t.length()-1:e-1,n=(e+1)%t.length(),i=t.v[r],o=t.v[n],a=getPerpendicularVector(i,o);return Math.atan2(0,1)-Math.atan2(a[1],a[0])}function zigZagCorner(t,e,r,n,i,o,a){var s=getProjectingAngle(e,r),u=e.v[r%e._length],c=e.v[0===r?e._length-1:r-1],l=e.v[(r+1)%e._length],h=2===o?Math.sqrt(Math.pow(u[0]-c[0],2)+Math.pow(u[1]-c[1],2)):0,f=2===o?Math.sqrt(Math.pow(u[0]-l[0],2)+Math.pow(u[1]-l[1],2)):0;setPoint(t,e.v[r%e._length],s,a,n,f/(2*(i+1)),h/(2*(i+1)),o)}function zigZagSegment(t,e,r,n,i,o){for(var a=0;a<n;a+=1){var s=(a+1)/(n+1),u=2===i?Math.sqrt(Math.pow(e.points[3][0]-e.points[0][0],2)+Math.pow(e.points[3][1]-e.points[0][1],2)):0,c=e.normalAngle(s),l=e.point(s);setPoint(t,l,c,o,r,u/(2*(n+1)),u/(2*(n+1)),i),o=-o}return o}function linearOffset(t,e,r){var n=Math.atan2(e[0]-t[0],e[1]-t[1]);return[polarOffset(t,n,r),polarOffset(e,n,r)]}function offsetSegment(t,e){var r,n,i,o,a,s,u;u=linearOffset(t.points[0],t.points[1],e),r=u[0],n=u[1],u=linearOffset(t.points[1],t.points[2],e),i=u[0],o=u[1],u=linearOffset(t.points[2],t.points[3],e),a=u[0],s=u[1];var c=lineIntersection(r,n,i,o);null===c&&(c=n);var l=lineIntersection(a,s,i,o);return null===l&&(l=a),new PolynomialBezier(r,c,l,s)}function joinLines(t,e,r,n,i){var o=e.points[3],a=r.points[0];if(3===n)return o;if(pointEqual(o,a))return o;if(2===n){var s=-e.tangentAngle(1),u=-r.tangentAngle(0)+Math.PI,c=lineIntersection(o,polarOffset(o,s+Math.PI/2,100),a,polarOffset(a,s+Math.PI/2,100)),l=c?pointDistance(c,o):pointDistance(o,a)/2,h=polarOffset(o,s,2*l*roundCorner);return t.setXYAt(h[0],h[1],"o",t.length()-1),h=polarOffset(a,u,2*l*roundCorner),t.setTripleAt(a[0],a[1],a[0],a[1],h[0],h[1],t.length()),a}var f=pointEqual(o,e.points[2])?e.points[0]:e.points[2],d=pointEqual(a,r.points[1])?r.points[3]:r.points[1],p=lineIntersection(f,o,a,d);return p&&pointDistance(p,o)<i?(t.setTripleAt(p[0],p[1],p[0],p[1],p[0],p[1],t.length()),p):o}function getIntersection(t,e){var r=t.intersections(e);return r.length&&floatEqual(r[0][0],1)&&r.shift(),r.length?r[0]:null}function pruneSegmentIntersection(t,e){var r=t.slice(),n=e.slice(),i=getIntersection(t[t.length-1],e[0]);return i&&(r[t.length-1]=t[t.length-1].split(i[0])[0],n[0]=e[0].split(i[1])[1]),t.length>1&&e.length>1&&(i=getIntersection(t[0],e[e.length-1]),i)?[[t[0].split(i[0])[0]],[e[e.length-1].split(i[1])[1]]]:[r,n]}function pruneIntersections(t){for(var e,r=1;r<t.length;r+=1)e=pruneSegmentIntersection(t[r-1],t[r]),t[r-1]=e[0],t[r]=e[1];return t.length>1&&(e=pruneSegmentIntersection(t[t.length-1],t[0]),t[t.length-1]=e[0],t[0]=e[1]),t}function offsetSegmentSplit(t,e){var r,n,i,o,a=t.inflectionPoints();if(0===a.length)return[offsetSegment(t,e)];if(1===a.length||floatEqual(a[1],1))return i=t.split(a[0]),r=i[0],n=i[1],[offsetSegment(r,e),offsetSegment(n,e)];i=t.split(a[0]),r=i[0];var s=(a[1]-a[0])/(1-a[0]);return i=i[1].split(s),o=i[0],n=i[1],[offsetSegment(r,e),offsetSegment(o,e),offsetSegment(n,e)]}function OffsetPathModifier(){}function getFontProperties(t){for(var e,r=t.fStyle?t.fStyle.split(" "):[],n="normal",i="normal",o=r.length,a=0;a<o;a+=1)switch(e=r[a].toLowerCase(),e){case"italic":i="italic";break;case"bold":n="700";break;case"black":n="900";break;case"medium":n="500";break;case"regular":case"normal":n="400";break;case"light":case"thin":n="200";break;default:break}return{style:i,weight:t.fWeight||n}}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(t,e.c,0,null,this),this.o=PropertyFactory.getProp(t,e.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(t,e.tr,this),this.so=PropertyFactory.getProp(t,e.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(t,e.tr.eo,0,.01,this),this.data=e,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(t,e,r,n,i,o){var a=o?-1:1,s=n.s.v[0]+(1-n.s.v[0])*(1-i),u=n.s.v[1]+(1-n.s.v[1])*(1-i);t.translate(n.p.v[0]*a*i,n.p.v[1]*a*i,n.p.v[2]),e.translate(-n.a.v[0],-n.a.v[1],n.a.v[2]),e.rotate(-n.r.v*a*i),e.translate(n.a.v[0],n.a.v[1],n.a.v[2]),r.translate(-n.a.v[0],-n.a.v[1],n.a.v[2]),r.scale(o?1/s:s,o?1/u:u),r.translate(n.a.v[0],n.a.v[1],n.a.v[2])},RepeaterModifier.prototype.init=function(t,e,r,n){this.elem=t,this.arr=e,this.pos=r,this.elemsData=n,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e[r]);while(r>0)r-=1,this._elements.unshift(e[r]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(t){var e,r=t.length;for(e=0;e<r;e+=1)t[e]._processed=!1,"gr"===t[e].ty&&this.resetElements(t[e].it)},RepeaterModifier.prototype.cloneElements=function(t){var e=JSON.parse(JSON.stringify(t));return this.resetElements(e),e},RepeaterModifier.prototype.changeGroupRender=function(t,e){var r,n=t.length;for(r=0;r<n;r+=1)t[r]._render=e,"gr"===t[r].ty&&this.changeGroupRender(t[r].it,e)},RepeaterModifier.prototype.processShapes=function(t){var e,r,n,i,o,a=!1;if(this._mdf||t){var s,u=Math.ceil(this.c.v);if(this._groups.length<u){while(this._groups.length<u){var c={it:this.cloneElements(this._elements),ty:"gr"};c.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,c),this._groups.splice(0,0,c),this._currentCopies+=1}this.elem.reloadShapes(),a=!0}for(o=0,n=0;n<=this._groups.length-1;n+=1){if(s=o<u,this._groups[n]._render=s,this.changeGroupRender(this._groups[n].it,s),!s){var l=this.elemsData[n].it,h=l[l.length-1];0!==h.transform.op.v?(h.transform.op._mdf=!0,h.transform.op.v=0):h.transform.op._mdf=!1}o+=1}this._currentCopies=u;var f=this.o.v,d=f%1,p=f>0?Math.floor(f):Math.ceil(f),m=this.pMatrix.props,g=this.rMatrix.props,y=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var v,b,_=0;if(f>0){while(_<p)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),_+=1;d&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,d,!1),_+=d)}else if(f<0){while(_>p)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),_-=1;d&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-d,!0),_-=d)}n=1===this.data.m?0:this._currentCopies-1,i=1===this.data.m?1:-1,o=this._currentCopies;while(o){if(e=this.elemsData[n].it,r=e[e.length-1].transform.mProps.v.props,b=r.length,e[e.length-1].transform.mProps._mdf=!0,e[e.length-1].transform.op._mdf=!0,e[e.length-1].transform.op.v=1===this._currentCopies?this.so.v:this.so.v+(this.eo.v-this.so.v)*(n/(this._currentCopies-1)),0!==_){for((0!==n&&1===i||n!==this._currentCopies-1&&-1===i)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[15]),this.matrix.transform(y[0],y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],y[9],y[10],y[11],y[12],y[13],y[14],y[15]),this.matrix.transform(m[0],m[1],m[2],m[3],m[4],m[5],m[6],m[7],m[8],m[9],m[10],m[11],m[12],m[13],m[14],m[15]),v=0;v<b;v+=1)r[v]=this.matrix.props[v];this.matrix.reset()}else for(this.matrix.reset(),v=0;v<b;v+=1)r[v]=this.matrix.props[v];_+=1,o-=1,n+=i}}else{o=this._currentCopies,n=0,i=1;while(o)e=this.elemsData[n].it,r=e[e.length-1].transform.mProps.v.props,e[e.length-1].transform.mProps._mdf=!1,e[e.length-1].transform.op._mdf=!1,o-=1,n+=i}return a},RepeaterModifier.prototype.addShape=function(){},extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(t,e.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(t,e){var r,n=shapePool.newElement();n.c=t.c;var i,o,a,s,u,c,l,h,f,d,p,m,g=t._length,y=0;for(r=0;r<g;r+=1)i=t.v[r],a=t.o[r],o=t.i[r],i[0]===a[0]&&i[1]===a[1]&&i[0]===o[0]&&i[1]===o[1]?0!==r&&r!==g-1||t.c?(s=0===r?t.v[g-1]:t.v[r-1],u=Math.sqrt(Math.pow(i[0]-s[0],2)+Math.pow(i[1]-s[1],2)),c=u?Math.min(u/2,e)/u:0,p=i[0]+(s[0]-i[0])*c,l=p,m=i[1]-(i[1]-s[1])*c,h=m,f=l-(l-i[0])*roundCorner,d=h-(h-i[1])*roundCorner,n.setTripleAt(l,h,f,d,p,m,y),y+=1,s=r===g-1?t.v[0]:t.v[r+1],u=Math.sqrt(Math.pow(i[0]-s[0],2)+Math.pow(i[1]-s[1],2)),c=u?Math.min(u/2,e)/u:0,f=i[0]+(s[0]-i[0])*c,l=f,d=i[1]+(s[1]-i[1])*c,h=d,p=l-(l-i[0])*roundCorner,m=h-(h-i[1])*roundCorner,n.setTripleAt(l,h,f,d,p,m,y),y+=1):(n.setTripleAt(i[0],i[1],a[0],a[1],o[0],o[1],y),y+=1):(n.setTripleAt(t.v[r][0],t.v[r][1],t.o[r][0],t.o[r][1],t.i[r][0],t.i[r][1],y),y+=1);return n},RoundCornersModifier.prototype.processShapes=function(t){var e,r,n,i,o,a,s=this.shapes.length,u=this.rd.v;if(0!==u)for(r=0;r<s;r+=1){if(o=this.shapes[r],a=o.localShapeCollection,o.shape._mdf||this._mdf||t)for(a.releaseShapes(),o.shape._mdf=!0,e=o.shape.paths.shapes,i=o.shape.paths._length,n=0;n<i;n+=1)a.addShape(this.processPath(e[n],u));o.shape.paths=o.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},PolynomialBezier.prototype.point=function(t){return[((this.a[0]*t+this.b[0])*t+this.c[0])*t+this.d[0],((this.a[1]*t+this.b[1])*t+this.c[1])*t+this.d[1]]},PolynomialBezier.prototype.derivative=function(t){return[(3*t*this.a[0]+2*this.b[0])*t+this.c[0],(3*t*this.a[1]+2*this.b[1])*t+this.c[1]]},PolynomialBezier.prototype.tangentAngle=function(t){var e=this.derivative(t);return Math.atan2(e[1],e[0])},PolynomialBezier.prototype.normalAngle=function(t){var e=this.derivative(t);return Math.atan2(e[0],e[1])},PolynomialBezier.prototype.inflectionPoints=function(){var t=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(floatZero(t))return[];var e=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/t,r=e*e-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/t;if(r<0)return[];var n=Math.sqrt(r);return floatZero(n)?n>0&&n<1?[e]:[]:[e-n,e+n].filter((function(t){return t>0&&t<1}))},PolynomialBezier.prototype.split=function(t){if(t<=0)return[singlePoint(this.points[0]),this];if(t>=1)return[this,singlePoint(this.points[this.points.length-1])];var e=lerpPoint(this.points[0],this.points[1],t),r=lerpPoint(this.points[1],this.points[2],t),n=lerpPoint(this.points[2],this.points[3],t),i=lerpPoint(e,r,t),o=lerpPoint(r,n,t),a=lerpPoint(i,o,t);return[new PolynomialBezier(this.points[0],e,i,a,!0),new PolynomialBezier(a,o,n,this.points[3],!0)]},PolynomialBezier.prototype.bounds=function(){return{x:extrema(this,0),y:extrema(this,1)}},PolynomialBezier.prototype.boundingBox=function(){var t=this.bounds();return{left:t.x.min,right:t.x.max,top:t.y.min,bottom:t.y.max,width:t.x.max-t.x.min,height:t.y.max-t.y.min,cx:(t.x.max+t.x.min)/2,cy:(t.y.max+t.y.min)/2}},PolynomialBezier.prototype.intersections=function(t,e,r){void 0===e&&(e=2),void 0===r&&(r=7);var n=[];return intersectsImpl(intersectData(this,0,1),intersectData(t,0,1),0,e,n,r),n},PolynomialBezier.shapeSegment=function(t,e){var r=(e+1)%t.length();return new PolynomialBezier(t.v[e],t.o[e],t.i[r],t.v[r],!0)},PolynomialBezier.shapeSegmentInverted=function(t,e){var r=(e+1)%t.length();return new PolynomialBezier(t.v[r],t.i[r],t.o[e],t.v[e],!0)},extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(t,e.s,0,null,this),this.frequency=PropertyFactory.getProp(t,e.r,0,null,this),this.pointsType=PropertyFactory.getProp(t,e.pt,0,null,this),this._isAnimated=0!==this.amplitude.effectsSequence.length||0!==this.frequency.effectsSequence.length||0!==this.pointsType.effectsSequence.length},ZigZagModifier.prototype.processPath=function(t,e,r,n){var i=t._length,o=shapePool.newElement();if(o.c=t.c,t.c||(i-=1),0===i)return o;var a=-1,s=PolynomialBezier.shapeSegment(t,0);zigZagCorner(o,t,0,e,r,n,a);for(var u=0;u<i;u+=1)a=zigZagSegment(o,s,e,r,n,-a),s=u!==i-1||t.c?PolynomialBezier.shapeSegment(t,(u+1)%i):null,zigZagCorner(o,t,u+1,e,r,n,a);return o},ZigZagModifier.prototype.processShapes=function(t){var e,r,n,i,o,a,s=this.shapes.length,u=this.amplitude.v,c=Math.max(0,Math.round(this.frequency.v)),l=this.pointsType.v;if(0!==u)for(r=0;r<s;r+=1){if(o=this.shapes[r],a=o.localShapeCollection,o.shape._mdf||this._mdf||t)for(a.releaseShapes(),o.shape._mdf=!0,e=o.shape.paths.shapes,i=o.shape.paths._length,n=0;n<i;n+=1)a.addShape(this.processPath(e[n],u,c,l));o.shape.paths=o.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},extendPrototype([ShapeModifier],OffsetPathModifier),OffsetPathModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(t,e.a,0,null,this),this.miterLimit=PropertyFactory.getProp(t,e.ml,0,null,this),this.lineJoin=e.lj,this._isAnimated=0!==this.amount.effectsSequence.length},OffsetPathModifier.prototype.processPath=function(t,e,r,n){var i=shapePool.newElement();i.c=t.c;var o,a,s,u=t.length();t.c||(u-=1);var c=[];for(o=0;o<u;o+=1)s=PolynomialBezier.shapeSegment(t,o),c.push(offsetSegmentSplit(s,e));if(!t.c)for(o=u-1;o>=0;o-=1)s=PolynomialBezier.shapeSegmentInverted(t,o),c.push(offsetSegmentSplit(s,e));c=pruneIntersections(c);var l=null,h=null;for(o=0;o<c.length;o+=1){var f=c[o];for(h&&(l=joinLines(i,h,f[0],r,n)),h=f[f.length-1],a=0;a<f.length;a+=1)s=f[a],l&&pointEqual(s.points[0],l)?i.setXYAt(s.points[1][0],s.points[1][1],"o",i.length()-1):i.setTripleAt(s.points[0][0],s.points[0][1],s.points[1][0],s.points[1][1],s.points[0][0],s.points[0][1],i.length()),i.setTripleAt(s.points[3][0],s.points[3][1],s.points[3][0],s.points[3][1],s.points[2][0],s.points[2][1],i.length()),l=s.points[3]}return c.length&&joinLines(i,h,c[0][0],r,n),i},OffsetPathModifier.prototype.processShapes=function(t){var e,r,n,i,o,a,s=this.shapes.length,u=this.amount.v,c=this.miterLimit.v,l=this.lineJoin;if(0!==u)for(r=0;r<s;r+=1){if(o=this.shapes[r],a=o.localShapeCollection,o.shape._mdf||this._mdf||t)for(a.releaseShapes(),o.shape._mdf=!0,e=o.shape.paths.shapes,i=o.shape.paths._length,n=0;n<i;n+=1)a.addShape(this.processPath(e[n],u,l,c));o.shape.paths=o.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var FontManager=function(){var t=5e3,e={w:0,size:0,shapes:[],data:{shapes:[]}},r=[];r=r.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var n=127988,i=917631,o=917601,a=917626,s=65039,u=8205,c=127462,l=127487,h=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function f(t){var e,r=t.split(","),n=r.length,i=[];for(e=0;e<n;e+=1)"sans-serif"!==r[e]&&"monospace"!==r[e]&&i.push(r[e]);return i.join(",")}function d(t,e){var r=createTag("span");r.setAttribute("aria-hidden",!0),r.style.fontFamily=e;var n=createTag("span");n.innerText="giItT1WQy@!-/#",r.style.position="absolute",r.style.left="-10000px",r.style.top="-10000px",r.style.fontSize="300px",r.style.fontVariant="normal",r.style.fontStyle="normal",r.style.fontWeight="normal",r.style.letterSpacing="0",r.appendChild(n),document.body.appendChild(r);var i=n.offsetWidth;return n.style.fontFamily=f(t)+", "+e,{node:n,w:i,parent:r}}function p(){var e,r,n,i=this.fonts.length,o=i;for(e=0;e<i;e+=1)this.fonts[e].loaded?o-=1:"n"===this.fonts[e].fOrigin||0===this.fonts[e].origin?this.fonts[e].loaded=!0:(r=this.fonts[e].monoCase.node,n=this.fonts[e].monoCase.w,r.offsetWidth!==n?(o-=1,this.fonts[e].loaded=!0):(r=this.fonts[e].sansCase.node,n=this.fonts[e].sansCase.w,r.offsetWidth!==n&&(o-=1,this.fonts[e].loaded=!0)),this.fonts[e].loaded&&(this.fonts[e].sansCase.parent.parentNode.removeChild(this.fonts[e].sansCase.parent),this.fonts[e].monoCase.parent.parentNode.removeChild(this.fonts[e].monoCase.parent)));0!==o&&Date.now()-this.initTime<t?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function m(t,e){var r,n=document.body&&e?"svg":"canvas",i=getFontProperties(t);if("svg"===n){var o=createNS("text");o.style.fontSize="100px",o.setAttribute("font-family",t.fFamily),o.setAttribute("font-style",i.style),o.setAttribute("font-weight",i.weight),o.textContent="1",t.fClass?(o.style.fontFamily="inherit",o.setAttribute("class",t.fClass)):o.style.fontFamily=t.fFamily,e.appendChild(o),r=o}else{var a=new OffscreenCanvas(500,500).getContext("2d");a.font=i.style+" "+i.weight+" 100px "+t.fFamily,r=a}function s(t){return"svg"===n?(r.textContent=t,r.getComputedTextLength()):r.measureText(t).width}return{measureText:s}}function g(t,e){if(t){if(this.chars)return this.isLoaded=!0,void(this.fonts=t.list);if(!document.body)return this.isLoaded=!0,t.list.forEach((function(t){t.helper=m(t),t.cache={}})),void(this.fonts=t.list);var r,n=t.list,i=n.length,o=i;for(r=0;r<i;r+=1){var a,s,u=!0;if(n[r].loaded=!1,n[r].monoCase=d(n[r].fFamily,"monospace"),n[r].sansCase=d(n[r].fFamily,"sans-serif"),n[r].fPath){if("p"===n[r].fOrigin||3===n[r].origin){if(a=document.querySelectorAll('style[f-forigin="p"][f-family="'+n[r].fFamily+'"], style[f-origin="3"][f-family="'+n[r].fFamily+'"]'),a.length>0&&(u=!1),u){var c=createTag("style");c.setAttribute("f-forigin",n[r].fOrigin),c.setAttribute("f-origin",n[r].origin),c.setAttribute("f-family",n[r].fFamily),c.type="text/css",c.innerText="@font-face {font-family: "+n[r].fFamily+"; font-style: normal; src: url('"+n[r].fPath+"');}",e.appendChild(c)}}else if("g"===n[r].fOrigin||1===n[r].origin){for(a=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),s=0;s<a.length;s+=1)-1!==a[s].href.indexOf(n[r].fPath)&&(u=!1);if(u){var l=createTag("link");l.setAttribute("f-forigin",n[r].fOrigin),l.setAttribute("f-origin",n[r].origin),l.type="text/css",l.rel="stylesheet",l.href=n[r].fPath,document.body.appendChild(l)}}else if("t"===n[r].fOrigin||2===n[r].origin){for(a=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),s=0;s<a.length;s+=1)n[r].fPath===a[s].src&&(u=!1);if(u){var h=createTag("link");h.setAttribute("f-forigin",n[r].fOrigin),h.setAttribute("f-origin",n[r].origin),h.setAttribute("rel","stylesheet"),h.setAttribute("href",n[r].fPath),e.appendChild(h)}}}else n[r].loaded=!0,o-=1;n[r].helper=m(n[r],e),n[r].cache={},this.fonts.push(n[r])}0===o?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0}function y(t){if(t){var e;this.chars||(this.chars=[]);var r,n,i=t.length,o=this.chars.length;for(e=0;e<i;e+=1){r=0,n=!1;while(r<o)this.chars[r].style===t[e].style&&this.chars[r].fFamily===t[e].fFamily&&this.chars[r].ch===t[e].ch&&(n=!0),r+=1;n||(this.chars.push(t[e]),o+=1)}}}function v(t,r,n){var i=0,o=this.chars.length;while(i<o){if(this.chars[i].ch===t&&this.chars[i].style===r&&this.chars[i].fFamily===n)return this.chars[i];i+=1}return("string"===typeof t&&13!==t.charCodeAt(0)||!t)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",t,r,n)),e}function b(t,e,r){var n=this.getFontByName(e),i=t;if(!n.cache[i]){var o=n.helper;if(" "===t){var a=o.measureText("|"+t+"|"),s=o.measureText("||");n.cache[i]=(a-s)/100}else n.cache[i]=o.measureText(t)/100}return n.cache[i]*r}function _(t){var e=0,r=this.fonts.length;while(e<r){if(this.fonts[e].fName===t)return this.fonts[e];e+=1}return this.fonts[0]}function w(t){var e=0,r=t.charCodeAt(0);if(r>=55296&&r<=56319){var n=t.charCodeAt(1);n>=56320&&n<=57343&&(e=1024*(r-55296)+n-56320+65536)}return e}function x(t,e){var r=t.toString(16)+e.toString(16);return-1!==h.indexOf(r)}function k(t){return t===u}function S(t){return t===s}function E(t){var e=w(t);return e>=c&&e<=l}function M(t){return E(t.substr(0,2))&&E(t.substr(2,2))}function A(t){return-1!==r.indexOf(t)}function T(t,e){var r=w(t.substr(e,2));if(r!==n)return!1;var s=0;e+=2;while(s<5){if(r=w(t.substr(e,2)),r<o||r>a)return!1;s+=1,e+=2}return w(t.substr(e,2))===i}function C(){this.isLoaded=!0}var L=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this)};L.isModifier=x,L.isZeroWidthJoiner=k,L.isFlagEmoji=M,L.isRegionalCode=E,L.isCombinedCharacter=A,L.isRegionalFlag=T,L.isVariationSelector=S,L.BLACK_FLAG_CODE_POINT=n;var P={addChars:y,addFonts:g,getCharData:v,getFontByName:_,measureText:b,checkLoadedFonts:p,setIsLoaded:C};return L.prototype=P,L}();function SlotManager(t){this.animationData=t}function slotFactory(t){return new SlotManager(t)}function RenderableElement(){}SlotManager.prototype.getProp=function(t){return this.animationData.slots&&this.animationData.slots[t.sid]?Object.assign(t,this.animationData.slots[t.sid].p):t},RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(t){-1===this.renderableComponents.indexOf(t)&&this.renderableComponents.push(t)},removeRenderableComponent:function(t){-1!==this.renderableComponents.indexOf(t)&&this.renderableComponents.splice(this.renderableComponents.indexOf(t),1)},prepareRenderableFrame:function(t){this.checkLayerLimits(t)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(t){this.data.ip-this.data.st<=t&&this.data.op-this.data.st>t?!0!==this.isInRange&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):!1!==this.isInRange&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var t,e=this.renderableComponents.length;for(t=0;t<e;t+=1)this.renderableComponents[t].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return 5===this.data.ty?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var getBlendMode=function(){var t={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(e){return t[e]||""}}();function SliderEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function AngleEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function ColorEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,1,0,r)}function PointEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,1,0,r)}function LayerIndexEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function MaskIndexEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function CheckboxEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function NoValueEffect(){this.p={}}function EffectsManager(t,e){var r,n=t.ef||[];this.effectElements=[];var i,o=n.length;for(r=0;r<o;r+=1)i=new GroupEffect(n[r],e),this.effectElements.push(i)}function GroupEffect(t,e){this.init(t,e)}function BaseElement(){}function FrameElement(){}function FootageElement(t,e,r){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.footageData=e.imageLoader.getAsset(this.assetData),this.initBaseData(t,e,r)}function AudioElement(t,e,r){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.initBaseData(t,e,r),this._isPlaying=!1,this._canPlay=!1;var n=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(n),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,t.au&&t.au.lv?t.au.lv:{k:[100]},1,.01,this)}function BaseRenderer(){}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(t,e){var r;this.data=t,this.effectElements=[],this.initDynamicPropertyContainer(e);var n,i=this.data.ef.length,o=this.data.ef;for(r=0;r<i;r+=1){switch(n=null,o[r].ty){case 0:n=new SliderEffect(o[r],e,this);break;case 1:n=new AngleEffect(o[r],e,this);break;case 2:n=new ColorEffect(o[r],e,this);break;case 3:n=new PointEffect(o[r],e,this);break;case 4:case 7:n=new CheckboxEffect(o[r],e,this);break;case 10:n=new LayerIndexEffect(o[r],e,this);break;case 11:n=new MaskIndexEffect(o[r],e,this);break;case 5:n=new EffectsManager(o[r],e,this);break;default:n=new NoValueEffect(o[r],e,this);break}n&&this.effectElements.push(n)}},BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;var t=0,e=this.data.masksProperties.length;while(t<e){if("n"!==this.data.masksProperties[t].mode&&!1!==this.data.masksProperties[t].cl)return!0;t+=1}return!1},initExpressions:function(){var t=getExpressionInterfaces();if(t){var e=t("layer"),r=t("effects"),n=t("shape"),i=t("text"),o=t("comp");this.layerInterface=e(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var a=r.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(a),0===this.data.ty||this.data.xt?this.compInterface=o(this):4===this.data.ty?(this.layerInterface.shapeInterface=n(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):5===this.data.ty&&(this.layerInterface.textInterface=i(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var t=getBlendMode(this.data.bm),e=this.baseElement||this.layerElement;e.style["mix-blend-mode"]=t},initBaseData:function(t,e,r){this.globalData=e,this.comp=r,this.data=t,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}},FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(t,e){var r,n=this.dynamicProperties.length;for(r=0;r<n;r+=1)(e||this._isParent&&"transform"===this.dynamicProperties[r].propType)&&(this.dynamicProperties[r].getValue(),this.dynamicProperties[r]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(t){-1===this.dynamicProperties.indexOf(t)&&this.dynamicProperties.push(t)}},FootageElement.prototype.prepareFrame=function(){},extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){var t=getExpressionInterfaces();if(t){var e=t("footage");this.layerInterface=e(this)}},FootageElement.prototype.getFootageData=function(){return this.footageData},AudioElement.prototype.prepareFrame=function(t){if(this.prepareRenderableFrame(t,!0),this.prepareProperties(t,!0),this.tm._placeholder)this._currentTime=t/this.data.sr;else{var e=this.tm.v;this._currentTime=e}this._volume=this.lv.v[0];var r=this._volume*this._volumeMultiplier;this._previousVolume!==r&&(this._previousVolume=r,this.audio.volume(r))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(t){this.audio.rate(t)},AudioElement.prototype.volume=function(t){this._volumeMultiplier=t,this._previousVolume=t*this._volume,this.audio.volume(this._previousVolume)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){},BaseRenderer.prototype.checkLayers=function(t){var e,r,n=this.layers.length;for(this.completeLayers=!0,e=n-1;e>=0;e-=1)this.elements[e]||(r=this.layers[e],r.ip-r.st<=t-this.layers[e].st&&r.op-r.st>t-this.layers[e].st&&this.buildItem(e)),this.completeLayers=!!this.elements[e]&&this.completeLayers;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(t){switch(t.ty){case 2:return this.createImage(t);case 0:return this.createComp(t);case 1:return this.createSolid(t);case 3:return this.createNull(t);case 4:return this.createShape(t);case 5:return this.createText(t);case 6:return this.createAudio(t);case 13:return this.createCamera(t);case 15:return this.createFootage(t);default:return this.createNull(t)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(t){return new AudioElement(t,this.globalData,this)},BaseRenderer.prototype.createFootage=function(t){return new FootageElement(t,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.buildItem(t);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(t){var e;this.completeLayers=!1;var r,n=t.length,i=this.layers.length;for(e=0;e<n;e+=1){r=0;while(r<i){if(this.layers[r].id===t[e].id){this.layers[r]=t[e];break}r+=1}}},BaseRenderer.prototype.setProjectInterface=function(t){this.globalData.projectInterface=t},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(t,e,r){var n=this.elements,i=this.layers,o=0,a=i.length;while(o<a)i[o].ind==e&&(n[o]&&!0!==n[o]?(r.push(n[o]),n[o].setAsParent(),void 0!==i[o].parent?this.buildElementParenting(t,i[o].parent,r):t.setHierarchy(r)):(this.buildItem(o),this.addPendingElement(t))),o+=1},BaseRenderer.prototype.addPendingElement=function(t){this.pendingElements.push(t)},BaseRenderer.prototype.searchExtraCompositions=function(t){var e,r=t.length;for(e=0;e<r;e+=1)if(t[e].xt){var n=this.createComp(t[e]);n.initExpressions(),this.globalData.projectInterface.registerComposition(n)}},BaseRenderer.prototype.getElementById=function(t){var e,r=this.elements.length;for(e=0;e<r;e+=1)if(this.elements[e].data.ind===t)return this.elements[e];return null},BaseRenderer.prototype.getElementByPath=function(t){var e,r=t.shift();if("number"===typeof r)e=this.elements[r];else{var n,i=this.elements.length;for(n=0;n<i;n+=1)if(this.elements[n].data.nm===r){e=this.elements[n];break}}return 0===t.length?e:e.getElementByPath(t)},BaseRenderer.prototype.setupGlobalData=function(t,e){this.globalData.fontManager=new FontManager,this.globalData.slotManager=slotFactory(t),this.globalData.fontManager.addChars(t.chars),this.globalData.fontManager.addFonts(t.fonts,e),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=t.fr,this.globalData.nm=t.nm,this.globalData.compSize={w:t.w,h:t.h}};var effectTypes={TRANSFORM_EFFECT:"transformEFfect"};function TransformElement(){}function MaskElement(t,e,r){this.data=t,this.element=e,this.globalData=r,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var n,i,o=this.globalData.defs,a=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(a),this.solidPath="";var s,u,c,l,h,f,d=this.masksProperties,p=0,m=[],g=createElementID(),y="clipPath",v="clip-path";for(n=0;n<a;n+=1)if(("a"!==d[n].mode&&"n"!==d[n].mode||d[n].inv||100!==d[n].o.k||d[n].o.x)&&(y="mask",v="mask"),"s"!==d[n].mode&&"i"!==d[n].mode||0!==p?c=null:(c=createNS("rect"),c.setAttribute("fill","#ffffff"),c.setAttribute("width",this.element.comp.data.w||0),c.setAttribute("height",this.element.comp.data.h||0),m.push(c)),i=createNS("path"),"n"===d[n].mode)this.viewData[n]={op:PropertyFactory.getProp(this.element,d[n].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,d[n],3),elem:i,lastPath:""},o.appendChild(i);else{var b;if(p+=1,i.setAttribute("fill","s"===d[n].mode?"#000000":"#ffffff"),i.setAttribute("clip-rule","nonzero"),0!==d[n].x.k?(y="mask",v="mask",f=PropertyFactory.getProp(this.element,d[n].x,0,null,this.element),b=createElementID(),l=createNS("filter"),l.setAttribute("id",b),h=createNS("feMorphology"),h.setAttribute("operator","erode"),h.setAttribute("in","SourceGraphic"),h.setAttribute("radius","0"),l.appendChild(h),o.appendChild(l),i.setAttribute("stroke","s"===d[n].mode?"#000000":"#ffffff")):(h=null,f=null),this.storedData[n]={elem:i,x:f,expan:h,lastPath:"",lastOperator:"",filterId:b,lastRadius:0},"i"===d[n].mode){u=m.length;var _=createNS("g");for(s=0;s<u;s+=1)_.appendChild(m[s]);var w=createNS("mask");w.setAttribute("mask-type","alpha"),w.setAttribute("id",g+"_"+p),w.appendChild(i),o.appendChild(w),_.setAttribute("mask","url("+getLocationHref()+"#"+g+"_"+p+")"),m.length=0,m.push(_)}else m.push(i);d[n].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[n]={elem:i,lastPath:"",op:PropertyFactory.getProp(this.element,d[n].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,d[n],3),invRect:c},this.viewData[n].prop.k||this.drawPath(d[n],this.viewData[n].prop.v,this.viewData[n])}for(this.maskElement=createNS(y),a=m.length,n=0;n<a;n+=1)this.maskElement.appendChild(m[n]);p>0&&(this.maskElement.setAttribute("id",g),this.element.maskedElement.setAttribute(v,"url("+getLocationHref()+"#"+g+")"),o.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}TransformElement.prototype={initTransform:function(){var t=new Matrix;this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:t,localMat:t,localOpacity:1},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var t,e=this.finalTransform.mat,r=0,n=this.hierarchy.length;if(!this.finalTransform._matMdf)while(r<n){if(this.hierarchy[r].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}r+=1}if(this.finalTransform._matMdf)for(t=this.finalTransform.mProp.v.props,e.cloneFromProps(t),r=0;r<n;r+=1)e.multiply(this.hierarchy[r].finalTransform.mProp.v)}this.finalTransform._matMdf&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var t=0,e=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)while(t<e)this.localTransforms[t]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[t]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),t+=1;if(this.finalTransform._localMatMdf){var r=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(r),t=1;t<e;t+=1){var n=this.localTransforms[t].matrix;r.multiply(n)}r.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var i=this.finalTransform.localOpacity;for(t=0;t<e;t+=1)i*=.01*this.localTransforms[t].opacity;this.finalTransform.localOpacity=i}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var t=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT);if(t.length){this.localTransforms=[],this.finalTransform.localMat=new Matrix;var e=0,r=t.length;for(e=0;e<r;e+=1)this.localTransforms.push(t[e])}}},globalToLocal:function(t){var e=[];e.push(this.finalTransform);var r,n=!0,i=this.comp;while(n)i.finalTransform?(i.data.hasMask&&e.splice(0,0,i.finalTransform),i=i.comp):n=!1;var o,a=e.length;for(r=0;r<a;r+=1)o=e[r].mat.applyToPointArray(0,0,0),t=[t[0]-o[0],t[1]-o[1],0];return t},mHelper:new Matrix},MaskElement.prototype.getMaskProperty=function(t){return this.viewData[t].prop},MaskElement.prototype.renderFrame=function(t){var e,r=this.element.finalTransform.mat,n=this.masksProperties.length;for(e=0;e<n;e+=1)if((this.viewData[e].prop._mdf||t)&&this.drawPath(this.masksProperties[e],this.viewData[e].prop.v,this.viewData[e]),(this.viewData[e].op._mdf||t)&&this.viewData[e].elem.setAttribute("fill-opacity",this.viewData[e].op.v),"n"!==this.masksProperties[e].mode&&(this.viewData[e].invRect&&(this.element.finalTransform.mProp._mdf||t)&&this.viewData[e].invRect.setAttribute("transform",r.getInverseMatrix().to2dCSS()),this.storedData[e].x&&(this.storedData[e].x._mdf||t))){var i=this.storedData[e].expan;this.storedData[e].x.v<0?("erode"!==this.storedData[e].lastOperator&&(this.storedData[e].lastOperator="erode",this.storedData[e].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[e].filterId+")")),i.setAttribute("radius",-this.storedData[e].x.v)):("dilate"!==this.storedData[e].lastOperator&&(this.storedData[e].lastOperator="dilate",this.storedData[e].elem.setAttribute("filter",null)),this.storedData[e].elem.setAttribute("stroke-width",2*this.storedData[e].x.v))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var t="M0,0 ";return t+=" h"+this.globalData.compSize.w,t+=" v"+this.globalData.compSize.h,t+=" h-"+this.globalData.compSize.w,t+=" v-"+this.globalData.compSize.h+" ",t},MaskElement.prototype.drawPath=function(t,e,r){var n,i,o=" M"+e.v[0][0]+","+e.v[0][1];for(i=e._length,n=1;n<i;n+=1)o+=" C"+e.o[n-1][0]+","+e.o[n-1][1]+" "+e.i[n][0]+","+e.i[n][1]+" "+e.v[n][0]+","+e.v[n][1];if(e.c&&i>1&&(o+=" C"+e.o[n-1][0]+","+e.o[n-1][1]+" "+e.i[0][0]+","+e.i[0][1]+" "+e.v[0][0]+","+e.v[0][1]),r.lastPath!==o){var a="";r.elem&&(e.c&&(a=t.inv?this.solidPath+o:o),r.elem.setAttribute("d",a)),r.lastPath=o}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var t={};function e(t,e){var r=createNS("filter");return r.setAttribute("id",t),!0!==e&&(r.setAttribute("filterUnits","objectBoundingBox"),r.setAttribute("x","0%"),r.setAttribute("y","0%"),r.setAttribute("width","100%"),r.setAttribute("height","100%")),r}function r(){var t=createNS("feColorMatrix");return t.setAttribute("type","matrix"),t.setAttribute("color-interpolation-filters","sRGB"),t.setAttribute("values","0 0 0 1 0  0 0 0 1 0  0 0 0 1 0  0 0 0 1 1"),t}return t.createFilter=e,t.createAlphaToLuminanceFilter=r,t}(),featureSupport=function(){var t={maskType:!0,svgLumaHidden:!0,offscreenCanvas:"undefined"!==typeof OffscreenCanvas};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(t.maskType=!1),/firefox/i.test(navigator.userAgent)&&(t.svgLumaHidden=!1),t}(),registeredEffects$1={},idPrefix="filter_result_";function SVGEffects(t){var e,r,n="SourceGraphic",i=t.data.ef?t.data.ef.length:0,o=createElementID(),a=filtersFactory.createFilter(o,!0),s=0;for(this.filters=[],e=0;e<i;e+=1){r=null;var u=t.data.ef[e].ty;if(registeredEffects$1[u]){var c=registeredEffects$1[u].effect;r=new c(a,t.effectsManager.effectElements[e],t,idPrefix+s,n),n=idPrefix+s,registeredEffects$1[u].countsAsEffect&&(s+=1)}r&&this.filters.push(r)}s&&(t.globalData.defs.appendChild(a),t.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+o+")")),this.filters.length&&t.addRenderableComponent(this)}function registerEffect$1(t,e,r){registeredEffects$1[t]={effect:e,countsAsEffect:r}}function SVGBaseElement(){}function HierarchyElement(){}function RenderableDOMElement(){}function IImageElement(t,e,r){this.assetData=e.getAssetData(t.refId),this.assetData&&this.assetData.sid&&(this.assetData=e.slotManager.getProp(this.assetData)),this.initElement(t,e,r),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}function ProcessedElement(t,e){this.elem=t,this.pos=e}function IShapeElement(){}SVGEffects.prototype.renderFrame=function(t){var e,r=this.filters.length;for(e=0;e<r;e+=1)this.filters[e].renderFrame(t)},SVGEffects.prototype.getEffects=function(t){var e,r=this.filters.length,n=[];for(e=0;e<r;e+=1)this.filters[e].type===t&&n.push(this.filters[e]);return n},SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var t=null;if(this.data.td){this.matteMasks={};var e=createNS("g");e.setAttribute("id",this.layerId),e.appendChild(this.layerElement),t=e,this.globalData.defs.appendChild(e)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),t=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0===this.data.ty&&!this.data.hd){var r=createNS("clipPath"),n=createNS("path");n.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var i=createElementID();if(r.setAttribute("id",i),r.appendChild(n),this.globalData.defs.appendChild(r),this.checkMasks()){var o=createNS("g");o.setAttribute("clip-path","url("+getLocationHref()+"#"+i+")"),o.appendChild(this.layerElement),this.transformedElement=o,t?t.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+i+")")}0!==this.data.bm&&this.setBlendMode()},renderElement:function(){this.finalTransform._localMatMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.localMat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.localOpacity)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this),this.searchEffectTransforms()},getMatte:function(t){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[t]){var e,r,n,i,o=this.layerId+"_"+t;if(1===t||3===t){var a=createNS("mask");a.setAttribute("id",o),a.setAttribute("mask-type",3===t?"luminance":"alpha"),n=createNS("use"),n.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),a.appendChild(n),this.globalData.defs.appendChild(a),featureSupport.maskType||1!==t||(a.setAttribute("mask-type","luminance"),e=createElementID(),r=filtersFactory.createFilter(e),this.globalData.defs.appendChild(r),r.appendChild(filtersFactory.createAlphaToLuminanceFilter()),i=createNS("g"),i.appendChild(n),a.appendChild(i),i.setAttribute("filter","url("+getLocationHref()+"#"+e+")"))}else if(2===t){var s=createNS("mask");s.setAttribute("id",o),s.setAttribute("mask-type","alpha");var u=createNS("g");s.appendChild(u),e=createElementID(),r=filtersFactory.createFilter(e);var c=createNS("feComponentTransfer");c.setAttribute("in","SourceGraphic"),r.appendChild(c);var l=createNS("feFuncA");l.setAttribute("type","table"),l.setAttribute("tableValues","1.0 0.0"),c.appendChild(l),this.globalData.defs.appendChild(r);var h=createNS("rect");h.setAttribute("width",this.comp.data.w),h.setAttribute("height",this.comp.data.h),h.setAttribute("x","0"),h.setAttribute("y","0"),h.setAttribute("fill","#ffffff"),h.setAttribute("opacity","0"),u.setAttribute("filter","url("+getLocationHref()+"#"+e+")"),u.appendChild(h),n=createNS("use"),n.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),u.appendChild(n),featureSupport.maskType||(s.setAttribute("mask-type","luminance"),r.appendChild(filtersFactory.createAlphaToLuminanceFilter()),i=createNS("g"),u.appendChild(h),i.appendChild(this.layerElement),u.appendChild(i)),this.globalData.defs.appendChild(s)}this.matteMasks[t]=o}return this.matteMasks[t]},setMatte:function(t){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+t+")")}},HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(t){this.hierarchy=t},setAsParent:function(){this._isParent=!0},checkParenting:function(){void 0!==this.data.parent&&this.comp.buildElementParenting(this,this.data.parent,[])}},function(){var t={initElement:function(t,e,r){this.initFrame(),this.initBaseData(t,e,r),this.initTransform(t,e,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var t=this.baseElement||this.layerElement;t.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var t=this.baseElement||this.layerElement;t.style.display="block"}this.hidden=!1,this._isFirstFrame=!0}},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};extendPrototype([RenderableElement,createProxyFunction(t)],RenderableDOMElement)}(),extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",t),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect},IShapeElement.prototype={addShapeToModifiers:function(t){var e,r=this.shapeModifiers.length;for(e=0;e<r;e+=1)this.shapeModifiers[e].addShape(t)},isShapeInAnimatedModifiers:function(t){var e=0,r=this.shapeModifiers.length;while(e<r)if(this.shapeModifiers[e].isAnimatedWithShape(t))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var t,e,r=this.shapes.length;for(t=0;t<r;t+=1)this.shapes[t].sh.reset();for(r=this.shapeModifiers.length,t=r-1;t>=0;t-=1)if(e=this.shapeModifiers[t].processShapes(this._isFirstFrame),e)break}},searchProcessedElement:function(t){var e=this.processedElements,r=0,n=e.length;while(r<n){if(e[r].elem===t)return e[r].pos;r+=1}return 0},addProcessedElement:function(t,e){var r=this.processedElements,n=r.length;while(n)if(n-=1,r[n].elem===t)return void(r[n].pos=e);r.push(new ProcessedElement(t,e))},prepareFrame:function(t){this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(t,e,r){this.caches=[],this.styles=[],this.transformers=t,this.lStr="",this.sh=r,this.lvl=e,this._isAnimated=!!r.k;var n=0,i=t.length;while(n<i){if(t[n].mProps.dynamicProperties.length){this._isAnimated=!0;break}n+=1}}function SVGStyleData(t,e){this.data=t,this.type=t.ty,this.d="",this.lvl=e,this._mdf=!1,this.closed=!0===t.hd,this.pElem=createNS("path"),this.msElem=null}function DashProperty(t,e,r,n){var i;this.elem=t,this.frameId=-1,this.dataProps=createSizedArray(e.length),this.renderer=r,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",e.length?e.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(n);var o,a=e.length||0;for(i=0;i<a;i+=1)o=PropertyFactory.getProp(t,e[i].v,0,0,this),this.k=o.k||this.k,this.dataProps[i]={n:e[i].n,p:o};this.k||this.getValue(!0),this._isAnimated=this.k}function SVGStrokeStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.w=PropertyFactory.getProp(t,e.w,0,null,this),this.d=new DashProperty(t,e.d||{},"svg",this),this.c=PropertyFactory.getProp(t,e.c,1,255,this),this.style=r,this._isAnimated=!!this._isAnimated}function SVGFillStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.c=PropertyFactory.getProp(t,e.c,1,255,this),this.style=r}function SVGNoStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.style=r}function GradientProperty(t,e,r){this.data=e,this.c=createTypedArray("uint8c",4*e.p);var n=e.k.k[0].s?e.k.k[0].s.length-4*e.p:e.k.k.length-4*e.p;this.o=createTypedArray("float32",n),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=n,this.initDynamicPropertyContainer(r),this.prop=PropertyFactory.getProp(t,e.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}function SVGGradientFillStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.initGradientData(t,e,r)}function SVGGradientStrokeStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(t,e.w,0,null,this),this.d=new DashProperty(t,e.d||{},"svg",this),this.initGradientData(t,e,r),this._isAnimated=!!this._isAnimated}function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(t,e,r){this.transform={mProps:t,op:e,container:r},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0},SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1},DashProperty.prototype.getValue=function(t){if((this.elem.globalData.frameId!==this.frameId||t)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||t,this._mdf)){var e=0,r=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),e=0;e<r;e+=1)"o"!==this.dataProps[e].n?"svg"===this.renderer?this.dashStr+=" "+this.dataProps[e].p.v:this.dashArray[e]=this.dataProps[e].p.v:this.dashoffset[0]=this.dataProps[e].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty),extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData),extendPrototype([DynamicPropertyContainer],SVGFillStyleData),extendPrototype([DynamicPropertyContainer],SVGNoStyleData),GradientProperty.prototype.comparePoints=function(t,e){var r,n=0,i=this.o.length/2;while(n<i){if(r=Math.abs(t[4*n]-t[4*e+2*n]),r>.01)return!1;n+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s){var t=0,e=this.data.k.k.length;while(t<e){if(!this.comparePoints(this.data.k.k[t].s,this.data.p))return!1;t+=1}}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(t){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||t){var e,r,n,i=4*this.data.p;for(e=0;e<i;e+=1)r=e%4===0?100:255,n=Math.round(this.prop.v[e]*r),this.c[e]!==n&&(this.c[e]=n,this._cmdf=!t);if(this.o.length)for(i=this.prop.v.length,e=4*this.data.p;e<i;e+=1)r=e%2===0?100:1,n=e%2===0?Math.round(100*this.prop.v[e]):this.prop.v[e],this.o[e-4*this.data.p]!==n&&(this.o[e-4*this.data.p]=n,this._omdf=!t);this._mdf=!t}},extendPrototype([DynamicPropertyContainer],GradientProperty),SVGGradientFillStyleData.prototype.initGradientData=function(t,e,r){this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.s=PropertyFactory.getProp(t,e.s,1,null,this),this.e=PropertyFactory.getProp(t,e.e,1,null,this),this.h=PropertyFactory.getProp(t,e.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(t,e.a||{k:0},0,degToRads,this),this.g=new GradientProperty(t,e.g,this),this.style=r,this.stops=[],this.setGradientData(r.pElem,e),this.setGradientOpacity(e,r),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(t,e){var r=createElementID(),n=createNS(1===e.t?"linearGradient":"radialGradient");n.setAttribute("id",r),n.setAttribute("spreadMethod","pad"),n.setAttribute("gradientUnits","userSpaceOnUse");var i,o,a,s=[];for(a=4*e.g.p,o=0;o<a;o+=4)i=createNS("stop"),n.appendChild(i),s.push(i);t.setAttribute("gf"===e.ty?"fill":"stroke","url("+getLocationHref()+"#"+r+")"),this.gf=n,this.cst=s},SVGGradientFillStyleData.prototype.setGradientOpacity=function(t,e){if(this.g._hasOpacity&&!this.g._collapsable){var r,n,i,o=createNS("mask"),a=createNS("path");o.appendChild(a);var s=createElementID(),u=createElementID();o.setAttribute("id",u);var c=createNS(1===t.t?"linearGradient":"radialGradient");c.setAttribute("id",s),c.setAttribute("spreadMethod","pad"),c.setAttribute("gradientUnits","userSpaceOnUse"),i=t.g.k.k[0].s?t.g.k.k[0].s.length:t.g.k.k.length;var l=this.stops;for(n=4*t.g.p;n<i;n+=2)r=createNS("stop"),r.setAttribute("stop-color","rgb(255,255,255)"),c.appendChild(r),l.push(r);a.setAttribute("gf"===t.ty?"fill":"stroke","url("+getLocationHref()+"#"+s+")"),"gs"===t.ty&&(a.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),a.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),1===t.lj&&a.setAttribute("stroke-miterlimit",t.ml)),this.of=c,this.ms=o,this.ost=l,this.maskId=u,e.msElem=a}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);var buildShapeString=function(t,e,r,n){if(0===e)return"";var i,o=t.o,a=t.i,s=t.v,u=" M"+n.applyToPointStringified(s[0][0],s[0][1]);for(i=1;i<e;i+=1)u+=" C"+n.applyToPointStringified(o[i-1][0],o[i-1][1])+" "+n.applyToPointStringified(a[i][0],a[i][1])+" "+n.applyToPointStringified(s[i][0],s[i][1]);return r&&e&&(u+=" C"+n.applyToPointStringified(o[i-1][0],o[i-1][1])+" "+n.applyToPointStringified(a[0][0],a[0][1])+" "+n.applyToPointStringified(s[0][0],s[0][1]),u+="z"),u},SVGElementsRenderer=function(){var t=new Matrix,e=new Matrix,r={createRenderFunction:n};function n(t){switch(t.ty){case"fl":return s;case"gf":return c;case"gs":return u;case"st":return l;case"sh":case"el":case"rc":case"sr":return a;case"tr":return i;case"no":return o;default:return null}}function i(t,e,r){(r||e.transform.op._mdf)&&e.transform.container.setAttribute("opacity",e.transform.op.v),(r||e.transform.mProps._mdf)&&e.transform.container.setAttribute("transform",e.transform.mProps.v.to2dCSS())}function o(){}function a(r,n,i){var o,a,s,u,c,l,h,f,d,p,m=n.styles.length,g=n.lvl;for(l=0;l<m;l+=1){if(u=n.sh._mdf||i,n.styles[l].lvl<g){f=e.reset(),d=g-n.styles[l].lvl,p=n.transformers.length-1;while(!u&&d>0)u=n.transformers[p].mProps._mdf||u,d-=1,p-=1;if(u){d=g-n.styles[l].lvl,p=n.transformers.length-1;while(d>0)f.multiply(n.transformers[p].mProps.v),d-=1,p-=1}}else f=t;if(h=n.sh.paths,a=h._length,u){for(s="",o=0;o<a;o+=1)c=h.shapes[o],c&&c._length&&(s+=buildShapeString(c,c._length,c.c,f));n.caches[l]=s}else s=n.caches[l];n.styles[l].d+=!0===r.hd?"":s,n.styles[l]._mdf=u||n.styles[l]._mdf}}function s(t,e,r){var n=e.style;(e.c._mdf||r)&&n.pElem.setAttribute("fill","rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||r)&&n.pElem.setAttribute("fill-opacity",e.o.v)}function u(t,e,r){c(t,e,r),l(t,e,r)}function c(t,e,r){var n,i,o,a,s,u=e.gf,c=e.g._hasOpacity,l=e.s.v,h=e.e.v;if(e.o._mdf||r){var f="gf"===t.ty?"fill-opacity":"stroke-opacity";e.style.pElem.setAttribute(f,e.o.v)}if(e.s._mdf||r){var d=1===t.t?"x1":"cx",p="x1"===d?"y1":"cy";u.setAttribute(d,l[0]),u.setAttribute(p,l[1]),c&&!e.g._collapsable&&(e.of.setAttribute(d,l[0]),e.of.setAttribute(p,l[1]))}if(e.g._cmdf||r){n=e.cst;var m=e.g.c;for(o=n.length,i=0;i<o;i+=1)a=n[i],a.setAttribute("offset",m[4*i]+"%"),a.setAttribute("stop-color","rgb("+m[4*i+1]+","+m[4*i+2]+","+m[4*i+3]+")")}if(c&&(e.g._omdf||r)){var g=e.g.o;for(n=e.g._collapsable?e.cst:e.ost,o=n.length,i=0;i<o;i+=1)a=n[i],e.g._collapsable||a.setAttribute("offset",g[2*i]+"%"),a.setAttribute("stop-opacity",g[2*i+1])}if(1===t.t)(e.e._mdf||r)&&(u.setAttribute("x2",h[0]),u.setAttribute("y2",h[1]),c&&!e.g._collapsable&&(e.of.setAttribute("x2",h[0]),e.of.setAttribute("y2",h[1])));else if((e.s._mdf||e.e._mdf||r)&&(s=Math.sqrt(Math.pow(l[0]-h[0],2)+Math.pow(l[1]-h[1],2)),u.setAttribute("r",s),c&&!e.g._collapsable&&e.of.setAttribute("r",s)),e.e._mdf||e.h._mdf||e.a._mdf||r){s||(s=Math.sqrt(Math.pow(l[0]-h[0],2)+Math.pow(l[1]-h[1],2)));var y=Math.atan2(h[1]-l[1],h[0]-l[0]),v=e.h.v;v>=1?v=.99:v<=-1&&(v=-.99);var b=s*v,_=Math.cos(y+e.a.v)*b+l[0],w=Math.sin(y+e.a.v)*b+l[1];u.setAttribute("fx",_),u.setAttribute("fy",w),c&&!e.g._collapsable&&(e.of.setAttribute("fx",_),e.of.setAttribute("fy",w))}}function l(t,e,r){var n=e.style,i=e.d;i&&(i._mdf||r)&&i.dashStr&&(n.pElem.setAttribute("stroke-dasharray",i.dashStr),n.pElem.setAttribute("stroke-dashoffset",i.dashoffset[0])),e.c&&(e.c._mdf||r)&&n.pElem.setAttribute("stroke","rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||r)&&n.pElem.setAttribute("stroke-opacity",e.o.v),(e.w._mdf||r)&&(n.pElem.setAttribute("stroke-width",e.w.v),n.msElem&&n.msElem.setAttribute("stroke-width",e.w.v))}return r}();function SVGShapeElement(t,e,r){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(t,e,r),this.prevViewData=[]}function LetterProps(t,e,r,n,i,o){this.o=t,this.sw=e,this.sc=r,this.fc=n,this.m=i,this.p=o,this._mdf={o:!0,sw:!!e,sc:!!r,fc:!!n,m:!0,p:!0}}function TextProperty(t,e){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,e.d&&e.d.sid&&(e.d=t.globalData.slotManager.getProp(e.d)),this.data=e,this.elem=t,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var t,e,r,n,i=this.shapes.length,o=this.stylesList.length,a=[],s=!1;for(r=0;r<o;r+=1){for(n=this.stylesList[r],s=!1,a.length=0,t=0;t<i;t+=1)e=this.shapes[t],-1!==e.styles.indexOf(n)&&(a.push(e),s=e._isAnimated||s);a.length>1&&s&&this.setShapesAsAnimated(a)}},SVGShapeElement.prototype.setShapesAsAnimated=function(t){var e,r=t.length;for(e=0;e<r;e+=1)t[e].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(t,e){var r,n=new SVGStyleData(t,e),i=n.pElem;if("st"===t.ty)r=new SVGStrokeStyleData(this,t,n);else if("fl"===t.ty)r=new SVGFillStyleData(this,t,n);else if("gf"===t.ty||"gs"===t.ty){var o="gf"===t.ty?SVGGradientFillStyleData:SVGGradientStrokeStyleData;r=new o(this,t,n),this.globalData.defs.appendChild(r.gf),r.maskId&&(this.globalData.defs.appendChild(r.ms),this.globalData.defs.appendChild(r.of),i.setAttribute("mask","url("+getLocationHref()+"#"+r.maskId+")"))}else"no"===t.ty&&(r=new SVGNoStyleData(this,t,n));return"st"!==t.ty&&"gs"!==t.ty||(i.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),i.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),i.setAttribute("fill-opacity","0"),1===t.lj&&i.setAttribute("stroke-miterlimit",t.ml)),2===t.r&&i.setAttribute("fill-rule","evenodd"),t.ln&&i.setAttribute("id",t.ln),t.cl&&i.setAttribute("class",t.cl),t.bm&&(i.style["mix-blend-mode"]=getBlendMode(t.bm)),this.stylesList.push(n),this.addToAnimatedContents(t,r),r},SVGShapeElement.prototype.createGroupElement=function(t){var e=new ShapeGroupData;return t.ln&&e.gr.setAttribute("id",t.ln),t.cl&&e.gr.setAttribute("class",t.cl),t.bm&&(e.gr.style["mix-blend-mode"]=getBlendMode(t.bm)),e},SVGShapeElement.prototype.createTransformElement=function(t,e){var r=TransformPropertyFactory.getTransformProperty(this,t,this),n=new SVGTransformData(r,r.o,e);return this.addToAnimatedContents(t,n),n},SVGShapeElement.prototype.createShapeElement=function(t,e,r){var n=4;"rc"===t.ty?n=5:"el"===t.ty?n=6:"sr"===t.ty&&(n=7);var i=ShapePropertyFactory.getShapeProp(this,t,n,this),o=new SVGShapeData(e,r,i);return this.shapes.push(o),this.addShapeToModifiers(o),this.addToAnimatedContents(t,o),o},SVGShapeElement.prototype.addToAnimatedContents=function(t,e){var r=0,n=this.animatedContents.length;while(r<n){if(this.animatedContents[r].element===e)return;r+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(t),element:e,data:t})},SVGShapeElement.prototype.setElementStyles=function(t){var e,r=t.styles,n=this.stylesList.length;for(e=0;e<n;e+=1)this.stylesList[e].closed||r.push(this.stylesList[e])},SVGShapeElement.prototype.reloadShapes=function(){var t;this._isFirstFrame=!0;var e=this.itemsData.length;for(t=0;t<e;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),e=this.dynamicProperties.length,t=0;t<e;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(t,e,r,n,i,o,a){var s,u,c,l,h,f,d=[].concat(o),p=t.length-1,m=[],g=[];for(s=p;s>=0;s-=1){if(f=this.searchProcessedElement(t[s]),f?e[s]=r[f-1]:t[s]._render=a,"fl"===t[s].ty||"st"===t[s].ty||"gf"===t[s].ty||"gs"===t[s].ty||"no"===t[s].ty)f?e[s].style.closed=!1:e[s]=this.createStyleElement(t[s],i),t[s]._render&&e[s].style.pElem.parentNode!==n&&n.appendChild(e[s].style.pElem),m.push(e[s].style);else if("gr"===t[s].ty){if(f)for(c=e[s].it.length,u=0;u<c;u+=1)e[s].prevViewData[u]=e[s].it[u];else e[s]=this.createGroupElement(t[s]);this.searchShapes(t[s].it,e[s].it,e[s].prevViewData,e[s].gr,i+1,d,a),t[s]._render&&e[s].gr.parentNode!==n&&n.appendChild(e[s].gr)}else"tr"===t[s].ty?(f||(e[s]=this.createTransformElement(t[s],n)),l=e[s].transform,d.push(l)):"sh"===t[s].ty||"rc"===t[s].ty||"el"===t[s].ty||"sr"===t[s].ty?(f||(e[s]=this.createShapeElement(t[s],d,i)),this.setElementStyles(e[s])):"tm"===t[s].ty||"rd"===t[s].ty||"ms"===t[s].ty||"pb"===t[s].ty||"zz"===t[s].ty||"op"===t[s].ty?(f?(h=e[s],h.closed=!1):(h=ShapeModifiers.getModifier(t[s].ty),h.init(this,t[s]),e[s]=h,this.shapeModifiers.push(h)),g.push(h)):"rp"===t[s].ty&&(f?(h=e[s],h.closed=!0):(h=ShapeModifiers.getModifier(t[s].ty),e[s]=h,h.init(this,t,s,e),this.shapeModifiers.push(h),a=!1),g.push(h));this.addProcessedElement(t[s],s+1)}for(p=m.length,s=0;s<p;s+=1)m[s].closed=!0;for(p=g.length,s=0;s<p;s+=1)g[s].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){var t;this.renderModifiers();var e=this.stylesList.length;for(t=0;t<e;t+=1)this.stylesList[t].reset();for(this.renderShape(),t=0;t<e;t+=1)(this.stylesList[t]._mdf||this._isFirstFrame)&&(this.stylesList[t].msElem&&(this.stylesList[t].msElem.setAttribute("d",this.stylesList[t].d),this.stylesList[t].d="M0 0"+this.stylesList[t].d),this.stylesList[t].pElem.setAttribute("d",this.stylesList[t].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var t,e,r=this.animatedContents.length;for(t=0;t<r;t+=1)e=this.animatedContents[t],(this._isFirstFrame||e.element._isAnimated)&&!0!==e.data&&e.fn(e.data,e.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},LetterProps.prototype.update=function(t,e,r,n,i,o){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var a=!1;return this.o!==t&&(this.o=t,this._mdf.o=!0,a=!0),this.sw!==e&&(this.sw=e,this._mdf.sw=!0,a=!0),this.sc!==r&&(this.sc=r,this._mdf.sc=!0,a=!0),this.fc!==n&&(this.fc=n,this._mdf.fc=!0,a=!0),this.m!==i&&(this.m=i,this._mdf.m=!0,a=!0),!o.length||this.p[0]===o[0]&&this.p[1]===o[1]&&this.p[4]===o[4]&&this.p[5]===o[5]&&this.p[12]===o[12]&&this.p[13]===o[13]||(this.p=o,this._mdf.p=!0,a=!0),a},TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},TextProperty.prototype.setCurrentData=function(t){t.__complete||this.completeTextData(t),this.currentData=t,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(t){this.effectsSequence.push(t),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(t){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length||t){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var e=this.currentData,r=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{var n;this.lock=!0,this._mdf=!1;var i=this.effectsSequence.length,o=t||this.data.d.k[this.keysIndex].s;for(n=0;n<i;n+=1)o=r!==this.keysIndex?this.effectsSequence[n](o,o.t):this.effectsSequence[n](this.currentData,o.t);e!==o&&this.setCurrentData(o),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}}},TextProperty.prototype.getKeyframeValue=function(){var t=this.data.d.k,e=this.elem.comp.renderedFrame,r=0,n=t.length;while(r<=n-1){if(r===n-1||t[r+1].t>e)break;r+=1}return this.keysIndex!==r&&(this.keysIndex=r),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(t){var e,r,n=[],i=0,o=t.length,a=!1,s=!1,u="";while(i<o)a=s,s=!1,e=t.charCodeAt(i),u=t.charAt(i),FontManager.isCombinedCharacter(e)?a=!0:e>=55296&&e<=56319?FontManager.isRegionalFlag(t,i)?u=t.substr(i,14):(r=t.charCodeAt(i+1),r>=56320&&r<=57343&&(FontManager.isModifier(e,r)?(u=t.substr(i,2),a=!0):u=FontManager.isFlagEmoji(t.substr(i,4))?t.substr(i,4):t.substr(i,2))):e>56319?(r=t.charCodeAt(i+1),FontManager.isVariationSelector(e)&&(a=!0)):FontManager.isZeroWidthJoiner(e)&&(a=!0,s=!0),a?(n[n.length-1]+=u,a=!1):n.push(u),i+=u.length;return n},TextProperty.prototype.completeTextData=function(t){t.__complete=!0;var e,r,n,i,o,a,s,u=this.elem.globalData.fontManager,c=this.data,l=[],h=0,f=c.m.g,d=0,p=0,m=0,g=[],y=0,v=0,b=u.getFontByName(t.f),_=0,w=getFontProperties(b);t.fWeight=w.weight,t.fStyle=w.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),r=t.finalText.length,t.finalLineHeight=t.lh;var x,k=t.tr/1e3*t.finalSize;if(t.sz){var S,E,M=!0,A=t.sz[0],T=t.sz[1];while(M){E=this.buildFinalText(t.t),S=0,y=0,r=E.length,k=t.tr/1e3*t.finalSize;var C=-1;for(e=0;e<r;e+=1)x=E[e].charCodeAt(0),n=!1," "===E[e]?C=e:13!==x&&3!==x||(y=0,n=!0,S+=t.finalLineHeight||1.2*t.finalSize),u.chars?(s=u.getCharData(E[e],b.fStyle,b.fFamily),_=n?0:s.w*t.finalSize/100):_=u.measureText(E[e],t.f,t.finalSize),y+_>A&&" "!==E[e]?(-1===C?r+=1:e=C,S+=t.finalLineHeight||1.2*t.finalSize,E.splice(e,C===e?1:0,"\r"),C=-1,y=0):(y+=_,y+=k);S+=b.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&T<S?(t.finalSize-=1,t.finalLineHeight=t.finalSize*t.lh/t.s):(t.finalText=E,r=t.finalText.length,M=!1)}}y=-k,_=0;var L,P=0;for(e=0;e<r;e+=1)if(n=!1,L=t.finalText[e],x=L.charCodeAt(0),13===x||3===x?(P=0,g.push(y),v=y>v?y:v,y=-2*k,i="",n=!0,m+=1):i=L,u.chars?(s=u.getCharData(L,b.fStyle,u.getFontByName(t.f).fFamily),_=n?0:s.w*t.finalSize/100):_=u.measureText(i,t.f,t.finalSize)," "===L?P+=_+k:(y+=_+k+P,P=0),l.push({l:_,an:_,add:d,n:n,anIndexes:[],val:i,line:m,animatorJustifyOffset:0}),2==f){if(d+=_,""===i||" "===i||e===r-1){""!==i&&" "!==i||(d-=_);while(p<=e)l[p].an=d,l[p].ind=h,l[p].extra=_,p+=1;h+=1,d=0}}else if(3==f){if(d+=_,""===i||e===r-1){""===i&&(d-=_);while(p<=e)l[p].an=d,l[p].ind=h,l[p].extra=_,p+=1;d=0,h+=1}}else l[h].ind=h,l[h].extra=0,h+=1;if(t.l=l,v=y>v?y:v,g.push(y),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=v,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=g;var O,I,D,B,j=c.a;a=j.length;var N=[];for(o=0;o<a;o+=1){for(O=j[o],O.a.sc&&(t.strokeColorAnim=!0),O.a.sw&&(t.strokeWidthAnim=!0),(O.a.fc||O.a.fh||O.a.fs||O.a.fb)&&(t.fillColorAnim=!0),B=0,D=O.s.b,e=0;e<r;e+=1)I=l[e],I.anIndexes[o]=B,(1==D&&""!==I.val||2==D&&""!==I.val&&" "!==I.val||3==D&&(I.n||" "==I.val||e==r-1)||4==D&&(I.n||e==r-1))&&(1===O.s.rn&&N.push(B),B+=1);c.a[o].s.totalChars=B;var R,F=-1;if(1===O.s.rn)for(e=0;e<r;e+=1)I=l[e],F!=I.anIndexes[o]&&(F=I.anIndexes[o],R=N.splice(Math.floor(Math.random()*N.length),1)[0]),I.anIndexes[o]=R}t.yOffset=t.finalLineHeight||1.2*t.finalSize,t.ls=t.ls||0,t.ascent=b.ascent*t.finalSize/100},TextProperty.prototype.updateDocumentData=function(t,e){e=void 0===e?this.keysIndex:e;var r=this.copyData({},this.data.d.k[e].s);r=this.copyData(r,t),this.data.d.k[e].s=r,this.recalculate(e),this.setCurrentData(r),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(t){var e=this.data.d.k[t].s;e.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(e)},TextProperty.prototype.canResizeFont=function(t){this.canResize=t,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(t){this.minimumFontSize=Math.floor(t)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var t=Math.max,e=Math.min,r=Math.floor;function n(t,e){this._currentTextLength=-1,this.k=!1,this.data=e,this.elem=t,this.comp=t.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(t),this.s=PropertyFactory.getProp(t,e.s||{k:0},0,0,this),this.e="e"in e?PropertyFactory.getProp(t,e.e,0,0,this):{v:100},this.o=PropertyFactory.getProp(t,e.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(t,e.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(t,e.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(t,e.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(t,e.a,0,.01,this),this.dynamicProperties.length||this.getValue()}function i(t,e,r){return new n(t,e,r)}return n.prototype={getMult:function(n){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var i=0,o=0,a=1,s=1;this.ne.v>0?i=this.ne.v/100:o=-this.ne.v/100,this.xe.v>0?a=1-this.xe.v/100:s=1+this.xe.v/100;var u=BezierFactory.getBezierEasing(i,o,a,s).get,c=0,l=this.finalS,h=this.finalE,f=this.data.sh;if(2===f)c=h===l?n>=h?1:0:t(0,e(.5/(h-l)+(n-l)/(h-l),1)),c=u(c);else if(3===f)c=h===l?n>=h?0:1:1-t(0,e(.5/(h-l)+(n-l)/(h-l),1)),c=u(c);else if(4===f)h===l?c=0:(c=t(0,e(.5/(h-l)+(n-l)/(h-l),1)),c<.5?c*=2:c=1-2*(c-.5)),c=u(c);else if(5===f){if(h===l)c=0;else{var d=h-l;n=e(t(0,n+.5-l),h-l);var p=-d/2+n,m=d/2;c=Math.sqrt(1-p*p/(m*m))}c=u(c)}else 6===f?(h===l?c=0:(n=e(t(0,n+.5-l),h-l),c=(1+Math.cos(Math.PI+2*Math.PI*n/(h-l)))/2),c=u(c)):(n>=r(l)&&(c=t(0,e(n-l<0?e(h,1)-(l-n):h-n,1))),c=u(c));if(100!==this.sm.v){var g=.01*this.sm.v;0===g&&(g=1e-8);var y=.5-.5*g;c<y?c=0:(c=(c-y)/g,c>1&&(c=1))}return c*this.a.v},getValue:function(t){this.iterateDynamicProperties(),this._mdf=t||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,t&&2===this.data.r&&(this.e.v=this._currentTextLength);var e=2===this.data.r?1:100/this.data.totalChars,r=this.o.v/e,n=this.s.v/e+r,i=this.e.v/e+r;if(n>i){var o=n;n=i,i=o}this.finalS=n,this.finalE=i}},extendPrototype([DynamicPropertyContainer],n),{getTextSelectorProp:i}}();function TextAnimatorDataProperty(t,e,r){var n={propType:!1},i=PropertyFactory.getProp,o=e.a;this.a={r:o.r?i(t,o.r,0,degToRads,r):n,rx:o.rx?i(t,o.rx,0,degToRads,r):n,ry:o.ry?i(t,o.ry,0,degToRads,r):n,sk:o.sk?i(t,o.sk,0,degToRads,r):n,sa:o.sa?i(t,o.sa,0,degToRads,r):n,s:o.s?i(t,o.s,1,.01,r):n,a:o.a?i(t,o.a,1,0,r):n,o:o.o?i(t,o.o,0,.01,r):n,p:o.p?i(t,o.p,1,0,r):n,sw:o.sw?i(t,o.sw,0,0,r):n,sc:o.sc?i(t,o.sc,1,0,r):n,fc:o.fc?i(t,o.fc,1,0,r):n,fh:o.fh?i(t,o.fh,0,0,r):n,fs:o.fs?i(t,o.fs,0,.01,r):n,fb:o.fb?i(t,o.fb,0,.01,r):n,t:o.t?i(t,o.t,0,0,r):n},this.s=TextSelectorProp.getTextSelectorProp(t,e.s,r),this.s.t=e.s.t}function TextAnimatorProperty(t,e,r){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=t,this._renderType=e,this._elem=r,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(r)}function ITextElement(){}TextAnimatorProperty.prototype.searchProperties=function(){var t,e,r=this._textData.a.length,n=PropertyFactory.getProp;for(t=0;t<r;t+=1)e=this._textData.a[t],this._animatorsData[t]=new TextAnimatorDataProperty(this._elem,e,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:n(this._elem,this._textData.p.a,0,0,this),f:n(this._elem,this._textData.p.f,0,0,this),l:n(this._elem,this._textData.p.l,0,0,this),r:n(this._elem,this._textData.p.r,0,0,this),p:n(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=n(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(t,e){if(this.lettersChangedFlag=e,this._mdf||this._isFirstFrame||e||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var r,n,i,o,a,s,u,c,l,h,f,d,p,m,g,y,v,b,_,w=this._moreOptions.alignment.v,x=this._animatorsData,k=this._textData,S=this.mHelper,E=this._renderType,M=this.renderedLetters.length,A=t.l;if(this._hasMaskedPath){if(_=this._pathData.m,!this._pathData.n||this._pathData._mdf){var T,C=_.v;for(this._pathData.r.v&&(C=C.reverse()),a={tLength:0,segments:[]},o=C._length-1,y=0,i=0;i<o;i+=1)T=bez.buildBezierData(C.v[i],C.v[i+1],[C.o[i][0]-C.v[i][0],C.o[i][1]-C.v[i][1]],[C.i[i+1][0]-C.v[i+1][0],C.i[i+1][1]-C.v[i+1][1]]),a.tLength+=T.segmentLength,a.segments.push(T),y+=T.segmentLength;i=o,_.v.c&&(T=bez.buildBezierData(C.v[i],C.v[0],[C.o[i][0]-C.v[i][0],C.o[i][1]-C.v[i][1]],[C.i[0][0]-C.v[0][0],C.i[0][1]-C.v[0][1]]),a.tLength+=T.segmentLength,a.segments.push(T),y+=T.segmentLength),this._pathData.pi=a}if(a=this._pathData.pi,s=this._pathData.f.v,f=0,h=1,c=0,l=!0,m=a.segments,s<0&&_.v.c){a.tLength<Math.abs(s)&&(s=-Math.abs(s)%a.tLength),f=m.length-1,p=m[f].points,h=p.length-1;while(s<0)s+=p[h].partialLength,h-=1,h<0&&(f-=1,p=m[f].points,h=p.length-1)}p=m[f].points,d=p[h-1],u=p[h],g=u.partialLength}o=A.length,r=0,n=0;var L,P,O,I,D,B,j=1.2*t.finalSize*.714,N=!0;I=x.length;var R,F,Y,U,H,z,V,$,q,G,W,K,X=-1,J=s,Z=f,Q=h,tt=-1,et="",rt=this.defaultPropsArray;if(2===t.j||1===t.j){var nt=0,it=0,ot=2===t.j?-.5:-1,at=0,st=!0;for(i=0;i<o;i+=1)if(A[i].n){nt&&(nt+=it);while(at<i)A[at].animatorJustifyOffset=nt,at+=1;nt=0,st=!0}else{for(O=0;O<I;O+=1)L=x[O].a,L.t.propType&&(st&&2===t.j&&(it+=L.t.v*ot),P=x[O].s,B=P.getMult(A[i].anIndexes[O],k.a[O].s.totalChars),B.length?nt+=L.t.v*B[0]*ot:nt+=L.t.v*B*ot);st=!1}nt&&(nt+=it);while(at<i)A[at].animatorJustifyOffset=nt,at+=1}for(i=0;i<o;i+=1){if(S.reset(),U=1,A[i].n)r=0,n+=t.yOffset,n+=N?1:0,s=J,N=!1,this._hasMaskedPath&&(f=Z,h=Q,p=m[f].points,d=p[h-1],u=p[h],g=u.partialLength,c=0),et="",W="",q="",K="",rt=this.defaultPropsArray;else{if(this._hasMaskedPath){if(tt!==A[i].line){switch(t.j){case 1:s+=y-t.lineWidths[A[i].line];break;case 2:s+=(y-t.lineWidths[A[i].line])/2;break;default:break}tt=A[i].line}X!==A[i].ind&&(A[X]&&(s+=A[X].extra),s+=A[i].an/2,X=A[i].ind),s+=w[0]*A[i].an*.005;var ut=0;for(O=0;O<I;O+=1)L=x[O].a,L.p.propType&&(P=x[O].s,B=P.getMult(A[i].anIndexes[O],k.a[O].s.totalChars),B.length?ut+=L.p.v[0]*B[0]:ut+=L.p.v[0]*B),L.a.propType&&(P=x[O].s,B=P.getMult(A[i].anIndexes[O],k.a[O].s.totalChars),B.length?ut+=L.a.v[0]*B[0]:ut+=L.a.v[0]*B);l=!0,this._pathData.a.v&&(s=.5*A[0].an+(y-this._pathData.f.v-.5*A[0].an-.5*A[A.length-1].an)*X/(o-1),s+=this._pathData.f.v);while(l)c+g>=s+ut||!p?(v=(s+ut-c)/u.partialLength,F=d.point[0]+(u.point[0]-d.point[0])*v,Y=d.point[1]+(u.point[1]-d.point[1])*v,S.translate(-w[0]*A[i].an*.005,-w[1]*j*.01),l=!1):p&&(c+=u.partialLength,h+=1,h>=p.length&&(h=0,f+=1,m[f]?p=m[f].points:_.v.c?(h=0,f=0,p=m[f].points):(c-=u.partialLength,p=null)),p&&(d=u,u=p[h],g=u.partialLength));R=A[i].an/2-A[i].add,S.translate(-R,0,0)}else R=A[i].an/2-A[i].add,S.translate(-R,0,0),S.translate(-w[0]*A[i].an*.005,-w[1]*j*.01,0);for(O=0;O<I;O+=1)L=x[O].a,L.t.propType&&(P=x[O].s,B=P.getMult(A[i].anIndexes[O],k.a[O].s.totalChars),0===r&&0===t.j||(this._hasMaskedPath?B.length?s+=L.t.v*B[0]:s+=L.t.v*B:B.length?r+=L.t.v*B[0]:r+=L.t.v*B));for(t.strokeWidthAnim&&(z=t.sw||0),t.strokeColorAnim&&(H=t.sc?[t.sc[0],t.sc[1],t.sc[2]]:[0,0,0]),t.fillColorAnim&&t.fc&&(V=[t.fc[0],t.fc[1],t.fc[2]]),O=0;O<I;O+=1)L=x[O].a,L.a.propType&&(P=x[O].s,B=P.getMult(A[i].anIndexes[O],k.a[O].s.totalChars),B.length?S.translate(-L.a.v[0]*B[0],-L.a.v[1]*B[1],L.a.v[2]*B[2]):S.translate(-L.a.v[0]*B,-L.a.v[1]*B,L.a.v[2]*B));for(O=0;O<I;O+=1)L=x[O].a,L.s.propType&&(P=x[O].s,B=P.getMult(A[i].anIndexes[O],k.a[O].s.totalChars),B.length?S.scale(1+(L.s.v[0]-1)*B[0],1+(L.s.v[1]-1)*B[1],1):S.scale(1+(L.s.v[0]-1)*B,1+(L.s.v[1]-1)*B,1));for(O=0;O<I;O+=1){if(L=x[O].a,P=x[O].s,B=P.getMult(A[i].anIndexes[O],k.a[O].s.totalChars),L.sk.propType&&(B.length?S.skewFromAxis(-L.sk.v*B[0],L.sa.v*B[1]):S.skewFromAxis(-L.sk.v*B,L.sa.v*B)),L.r.propType&&(B.length?S.rotateZ(-L.r.v*B[2]):S.rotateZ(-L.r.v*B)),L.ry.propType&&(B.length?S.rotateY(L.ry.v*B[1]):S.rotateY(L.ry.v*B)),L.rx.propType&&(B.length?S.rotateX(L.rx.v*B[0]):S.rotateX(L.rx.v*B)),L.o.propType&&(B.length?U+=(L.o.v*B[0]-U)*B[0]:U+=(L.o.v*B-U)*B),t.strokeWidthAnim&&L.sw.propType&&(B.length?z+=L.sw.v*B[0]:z+=L.sw.v*B),t.strokeColorAnim&&L.sc.propType)for($=0;$<3;$+=1)B.length?H[$]+=(L.sc.v[$]-H[$])*B[0]:H[$]+=(L.sc.v[$]-H[$])*B;if(t.fillColorAnim&&t.fc){if(L.fc.propType)for($=0;$<3;$+=1)B.length?V[$]+=(L.fc.v[$]-V[$])*B[0]:V[$]+=(L.fc.v[$]-V[$])*B;L.fh.propType&&(V=B.length?addHueToRGB(V,L.fh.v*B[0]):addHueToRGB(V,L.fh.v*B)),L.fs.propType&&(V=B.length?addSaturationToRGB(V,L.fs.v*B[0]):addSaturationToRGB(V,L.fs.v*B)),L.fb.propType&&(V=B.length?addBrightnessToRGB(V,L.fb.v*B[0]):addBrightnessToRGB(V,L.fb.v*B))}}for(O=0;O<I;O+=1)L=x[O].a,L.p.propType&&(P=x[O].s,B=P.getMult(A[i].anIndexes[O],k.a[O].s.totalChars),this._hasMaskedPath?B.length?S.translate(0,L.p.v[1]*B[0],-L.p.v[2]*B[1]):S.translate(0,L.p.v[1]*B,-L.p.v[2]*B):B.length?S.translate(L.p.v[0]*B[0],L.p.v[1]*B[1],-L.p.v[2]*B[2]):S.translate(L.p.v[0]*B,L.p.v[1]*B,-L.p.v[2]*B));if(t.strokeWidthAnim&&(q=z<0?0:z),t.strokeColorAnim&&(G="rgb("+Math.round(255*H[0])+","+Math.round(255*H[1])+","+Math.round(255*H[2])+")"),t.fillColorAnim&&t.fc&&(W="rgb("+Math.round(255*V[0])+","+Math.round(255*V[1])+","+Math.round(255*V[2])+")"),this._hasMaskedPath){if(S.translate(0,-t.ls),S.translate(0,w[1]*j*.01+n,0),this._pathData.p.v){b=(u.point[1]-d.point[1])/(u.point[0]-d.point[0]);var ct=180*Math.atan(b)/Math.PI;u.point[0]<d.point[0]&&(ct+=180),S.rotate(-ct*Math.PI/180)}S.translate(F,Y,0),s-=w[0]*A[i].an*.005,A[i+1]&&X!==A[i+1].ind&&(s+=A[i].an/2,s+=.001*t.tr*t.finalSize)}else{switch(S.translate(r,n,0),t.ps&&S.translate(t.ps[0],t.ps[1]+t.ascent,0),t.j){case 1:S.translate(A[i].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[A[i].line]),0,0);break;case 2:S.translate(A[i].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[A[i].line])/2,0,0);break;default:break}S.translate(0,-t.ls),S.translate(R,0,0),S.translate(w[0]*A[i].an*.005,w[1]*j*.01,0),r+=A[i].l+.001*t.tr*t.finalSize}"html"===E?et=S.toCSS():"svg"===E?et=S.to2dCSS():rt=[S.props[0],S.props[1],S.props[2],S.props[3],S.props[4],S.props[5],S.props[6],S.props[7],S.props[8],S.props[9],S.props[10],S.props[11],S.props[12],S.props[13],S.props[14],S.props[15]],K=U}M<=i?(D=new LetterProps(K,q,G,W,et,rt),this.renderedLetters.push(D),M+=1,this.lettersChangedFlag=!0):(D=this.renderedLetters[i],this.lettersChangedFlag=D.update(K,q,G,W,et,rt)||this.lettersChangedFlag)}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty),ITextElement.prototype.initElement=function(t,e,r){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(t,e,r),this.textProperty=new TextProperty(this,t.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(t.t,this.renderType,this),this.initTransform(t,e,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)},ITextElement.prototype.createPathShape=function(t,e){var r,n,i=e.length,o="";for(r=0;r<i;r+=1)"sh"===e[r].ty&&(n=e[r].ks.k,o+=buildShapeString(n,n.i.length,!0,t));return o},ITextElement.prototype.updateDocumentData=function(t,e){this.textProperty.updateDocumentData(t,e)},ITextElement.prototype.canResizeFont=function(t){this.textProperty.canResizeFont(t)},ITextElement.prototype.setMinimumFontSize=function(t){this.textProperty.setMinimumFontSize(t)},ITextElement.prototype.applyTextPropertiesToMatrix=function(t,e,r,n,i){switch(t.ps&&e.translate(t.ps[0],t.ps[1]+t.ascent,0),e.translate(0,-t.ls,0),t.j){case 1:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[r]),0,0);break;case 2:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[r])/2,0,0);break;default:break}e.translate(n,i,0)},ITextElement.prototype.buildColor=function(t){return"rgb("+Math.round(255*t[0])+","+Math.round(255*t[1])+","+Math.round(255*t[2])+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){},ITextElement.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var emptyShapeData={shapes:[]};function SVGTextLottieElement(t,e,r){this.textSpans=[],this.renderType="svg",this.initElement(t,e,r)}function ISolidElement(t,e,r){this.initElement(t,e,r)}function NullElement(t,e,r){this.initFrame(),this.initBaseData(t,e,r),this.initFrame(),this.initTransform(t,e,r),this.initHierarchy()}function SVGRendererBase(){}function ICompElement(){}function SVGCompElement(t,e,r){this.layers=t.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(t,e,r),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function SVGRenderer(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var r="";if(e&&e.title){var n=createNS("title"),i=createElementID();n.setAttribute("id",i),n.textContent=e.title,this.svgElement.appendChild(n),r+=i}if(e&&e.description){var o=createNS("desc"),a=createElementID();o.setAttribute("id",a),o.textContent=e.description,this.svgElement.appendChild(o),r+=" "+a}r&&this.svgElement.setAttribute("aria-labelledby",r);var s=createNS("defs");this.svgElement.appendChild(s);var u=createNS("g");this.svgElement.appendChild(u),this.layerElement=u,this.renderConfig={preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:e&&e.contentVisibility||"visible",progressiveLoad:e&&e.progressiveLoad||!1,hideOnTransparent:!(e&&!1===e.hideOnTransparent),viewBoxOnly:e&&e.viewBoxOnly||!1,viewBoxSize:e&&e.viewBoxSize||!1,className:e&&e.className||"",id:e&&e.id||"",focusable:e&&e.focusable,filterSize:{width:e&&e.filterSize&&e.filterSize.width||"100%",height:e&&e.filterSize&&e.filterSize.height||"100%",x:e&&e.filterSize&&e.filterSize.x||"0%",y:e&&e.filterSize&&e.filterSize.y||"0%"},width:e&&e.width,height:e&&e.height,runExpressions:!e||void 0===e.runExpressions||e.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:s,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextLottieElement),SVGTextLottieElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextLottieElement.prototype.buildTextContents=function(t){var e=0,r=t.length,n=[],i="";while(e<r)t[e]===String.fromCharCode(13)||t[e]===String.fromCharCode(3)?(n.push(i),i=""):i+=t[e],e+=1;return n.push(i),n},SVGTextLottieElement.prototype.buildShapeData=function(t,e){if(t.shapes&&t.shapes.length){var r=t.shapes[0];if(r.it){var n=r.it[r.it.length-1];n.s&&(n.s.k[0]=e,n.s.k[1]=e)}}return t},SVGTextLottieElement.prototype.buildNewText=function(){var t,e;this.addDynamicProperty(this);var r=this.textProperty.currentData;this.renderedLetters=createSizedArray(r?r.l.length:0),r.fc?this.layerElement.setAttribute("fill",this.buildColor(r.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),r.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(r.sc)),this.layerElement.setAttribute("stroke-width",r.sw)),this.layerElement.setAttribute("font-size",r.finalSize);var n=this.globalData.fontManager.getFontByName(r.f);if(n.fClass)this.layerElement.setAttribute("class",n.fClass);else{this.layerElement.setAttribute("font-family",n.fFamily);var i=r.fWeight,o=r.fStyle;this.layerElement.setAttribute("font-style",o),this.layerElement.setAttribute("font-weight",i)}this.layerElement.setAttribute("aria-label",r.t);var a,s=r.l||[],u=!!this.globalData.fontManager.chars;e=s.length;var c=this.mHelper,l="",h=this.data.singleShape,f=0,d=0,p=!0,m=.001*r.tr*r.finalSize;if(!h||u||r.sz){var g,y=this.textSpans.length;for(t=0;t<e;t+=1){if(this.textSpans[t]||(this.textSpans[t]={span:null,childSpan:null,glyph:null}),!u||!h||0===t){if(a=y>t?this.textSpans[t].span:createNS(u?"g":"text"),y<=t){if(a.setAttribute("stroke-linecap","butt"),a.setAttribute("stroke-linejoin","round"),a.setAttribute("stroke-miterlimit","4"),this.textSpans[t].span=a,u){var v=createNS("g");a.appendChild(v),this.textSpans[t].childSpan=v}this.textSpans[t].span=a,this.layerElement.appendChild(a)}a.style.display="inherit"}if(c.reset(),h&&(s[t].n&&(f=-m,d+=r.yOffset,d+=p?1:0,p=!1),this.applyTextPropertiesToMatrix(r,c,s[t].line,f,d),f+=s[t].l||0,f+=m),u){var b;if(g=this.globalData.fontManager.getCharData(r.finalText[t],n.fStyle,this.globalData.fontManager.getFontByName(r.f).fFamily),1===g.t)b=new SVGCompElement(g.data,this.globalData,this);else{var _=emptyShapeData;g.data&&g.data.shapes&&(_=this.buildShapeData(g.data,r.finalSize)),b=new SVGShapeElement(_,this.globalData,this)}if(this.textSpans[t].glyph){var w=this.textSpans[t].glyph;this.textSpans[t].childSpan.removeChild(w.layerElement),w.destroy()}this.textSpans[t].glyph=b,b._debug=!0,b.prepareFrame(0),b.renderFrame(),this.textSpans[t].childSpan.appendChild(b.layerElement),1===g.t&&this.textSpans[t].childSpan.setAttribute("transform","scale("+r.finalSize/100+","+r.finalSize/100+")")}else h&&a.setAttribute("transform","translate("+c.props[12]+","+c.props[13]+")"),a.textContent=s[t].val,a.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}h&&a&&a.setAttribute("d",l)}else{var x=this.textContainer,k="start";switch(r.j){case 1:k="end";break;case 2:k="middle";break;default:k="start";break}x.setAttribute("text-anchor",k),x.setAttribute("letter-spacing",m);var S=this.buildTextContents(r.finalText);for(e=S.length,d=r.ps?r.ps[1]+r.ascent:0,t=0;t<e;t+=1)a=this.textSpans[t].span||createNS("tspan"),a.textContent=S[t],a.setAttribute("x",0),a.setAttribute("y",d),a.style.display="inherit",x.appendChild(a),this.textSpans[t]||(this.textSpans[t]={span:null,glyph:null}),this.textSpans[t].span=a,d+=r.finalLineHeight;this.layerElement.appendChild(x)}while(t<this.textSpans.length)this.textSpans[t].span.style.display="none",t+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var t=this.layerElement.getBBox();this.bbox={top:t.y,left:t.x,width:t.width,height:t.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var t,e,r=this.textSpans.length;for(this.renderedFrame=this.comp.renderedFrame,t=0;t<r;t+=1)e=this.textSpans[t].glyph,e&&(e.prepareFrame(this.comp.renderedFrame-this.data.st),e._mdf&&(this._mdf=!0))},SVGTextLottieElement.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){var t,e;this._sizeChanged=!0;var r,n,i,o=this.textAnimator.renderedLetters,a=this.textProperty.currentData.l;for(e=a.length,t=0;t<e;t+=1)a[t].n||(r=o[t],n=this.textSpans[t].span,i=this.textSpans[t].glyph,i&&i.renderFrame(),r._mdf.m&&n.setAttribute("transform",r.m),r._mdf.o&&n.setAttribute("opacity",r.o),r._mdf.sw&&n.setAttribute("stroke-width",r.sw),r._mdf.sc&&n.setAttribute("stroke",r.sc),r._mdf.fc&&n.setAttribute("fill",r.fc))}},extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var t=createNS("rect");t.setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.layerElement.appendChild(t)},NullElement.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement),extendPrototype([BaseRenderer],SVGRendererBase),SVGRendererBase.prototype.createNull=function(t){return new NullElement(t,this.globalData,this)},SVGRendererBase.prototype.createShape=function(t){return new SVGShapeElement(t,this.globalData,this)},SVGRendererBase.prototype.createText=function(t){return new SVGTextLottieElement(t,this.globalData,this)},SVGRendererBase.prototype.createImage=function(t){return new IImageElement(t,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(t){return new ISolidElement(t,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(t){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+t.w+" "+t.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",t.w),this.svgElement.setAttribute("height",t.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),void 0!==this.renderConfig.focusable&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var e=this.globalData.defs;this.setupGlobalData(t,e),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=t;var r=createNS("clipPath"),n=createNS("rect");n.setAttribute("width",t.w),n.setAttribute("height",t.h),n.setAttribute("x",0),n.setAttribute("y",0);var i=createElementID();r.setAttribute("id",i),r.appendChild(n),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+i+")"),e.appendChild(r),this.layers=t.layers,this.elements=createSizedArray(t.layers.length)},SVGRendererBase.prototype.destroy=function(){var t;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var e=this.layers?this.layers.length:0;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy&&this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.findIndexByInd=function(t){var e=0,r=this.layers.length;for(e=0;e<r;e+=1)if(this.layers[e].ind===t)return e;return-1},SVGRendererBase.prototype.buildItem=function(t){var e=this.elements;if(!e[t]&&99!==this.layers[t].ty){e[t]=!0;var r=this.createItem(this.layers[t]);if(e[t]=r,getExpressionsPlugin()&&(0===this.layers[t].ty&&this.globalData.projectInterface.registerComposition(r),r.initExpressions()),this.appendElementInPos(r,t),this.layers[t].tt){var n="tp"in this.layers[t]?this.findIndexByInd(this.layers[t].tp):t-1;if(-1===n)return;if(this.elements[n]&&!0!==this.elements[n]){var i=e[n],o=i.getMatte(this.layers[t].tt);r.setMatte(o)}else this.buildItem(n),this.addPendingElement(r)}}},SVGRendererBase.prototype.checkPendingElements=function(){while(this.pendingElements.length){var t=this.pendingElements.pop();if(t.checkParenting(),t.data.tt){var e=0,r=this.elements.length;while(e<r){if(this.elements[e]===t){var n="tp"in t.data?this.findIndexByInd(t.data.tp):e-1,i=this.elements[n],o=i.getMatte(this.layers[e].tt);t.setMatte(o);break}e+=1}}}},SVGRendererBase.prototype.renderFrame=function(t){if(this.renderedFrame!==t&&!this.destroyed){var e;null===t?t=this.renderedFrame:this.renderedFrame=t,this.globalData.frameNum=t,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=t,this.globalData._mdf=!1;var r=this.layers.length;for(this.completeLayers||this.checkLayers(t),e=r-1;e>=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].prepareFrame(t-this.layers[e].st);if(this.globalData._mdf)for(e=0;e<r;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(t,e){var r=t.getBaseElement();if(r){var n,i=0;while(i<e)this.elements[i]&&!0!==this.elements[i]&&this.elements[i].getBaseElement()&&(n=this.elements[i].getBaseElement()),i+=1;n?this.layerElement.insertBefore(r,n):this.layerElement.appendChild(r)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(t,e,r){this.initFrame(),this.initBaseData(t,e,r),this.initTransform(t,e,r),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),!this.data.xt&&e.progressiveLoad||this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(t){if(this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),this.isInRange||this.data.xt){if(this.tm._placeholder)this.renderedFrame=t/this.data.sr;else{var e=this.tm.v;e===this.data.op&&(e=this.data.op-1),this.renderedFrame=e}var r,n=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),r=n-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&(this.elements[r].prepareFrame(this.renderedFrame-this.layers[r].st),this.elements[r]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},ICompElement.prototype.setElements=function(t){this.elements=t},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()},extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(t){return new SVGCompElement(t,this.globalData,this)},extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(t){return new SVGCompElement(t,this.globalData,this)},ShapeTransformManager.prototype={addTransformSequence:function(t){var e,r=t.length,n="_";for(e=0;e<r;e+=1)n+=t[e].transform.key+"_";var i=this.sequences[n];return i||(i={transforms:[].concat(t),finalTransform:new Matrix,_mdf:!1},this.sequences[n]=i,this.sequenceList.push(i)),i},processSequence:function(t,e){var r=0,n=t.transforms.length,i=e;while(r<n&&!e){if(t.transforms[r].transform.mProps._mdf){i=!0;break}r+=1}if(i)for(t.finalTransform.reset(),r=n-1;r>=0;r-=1)t.finalTransform.multiply(t.transforms[r].transform.mProps.v);t._mdf=i},processSequences:function(t){var e,r=this.sequenceList.length;for(e=0;e<r;e+=1)this.processSequence(this.sequenceList[e],t)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}};var lumaLoader=function(){var t="__lottie_element_luma_buffer",e=null,r=null,n=null;function i(){var e=createNS("svg"),r=createNS("filter"),n=createNS("feColorMatrix");return r.setAttribute("id",t),n.setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","sRGB"),n.setAttribute("values","0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0"),r.appendChild(n),e.appendChild(r),e.setAttribute("id",t+"_svg"),featureSupport.svgLumaHidden&&(e.style.display="none"),e}function o(){e||(n=i(),document.body.appendChild(n),e=createTag("canvas"),r=e.getContext("2d"),r.filter="url(#"+t+")",r.fillStyle="rgba(0,0,0,0)",r.fillRect(0,0,1,1))}function a(n){return e||o(),e.width=n.width,e.height=n.height,r.filter="url(#"+t+")",e}return{load:o,get:a}};function createCanvas(t,e){if(featureSupport.offscreenCanvas)return new OffscreenCanvas(t,e);var r=createTag("canvas");return r.width=t,r.height=e,r}var assetLoader=function(){return{loadLumaCanvas:lumaLoader.load,getLumaCanvas:lumaLoader.get,createCanvas:createCanvas}}(),registeredEffects={};function CVEffects(t){var e,r,n=t.data.ef?t.data.ef.length:0;for(this.filters=[],e=0;e<n;e+=1){r=null;var i=t.data.ef[e].ty;if(registeredEffects[i]){var o=registeredEffects[i].effect;r=new o(t.effectsManager.effectElements[e],t)}r&&this.filters.push(r)}this.filters.length&&t.addRenderableComponent(this)}function registerEffect(t,e){registeredEffects[t]={effect:e}}function CVMaskElement(t,e){var r;this.data=t,this.element=e,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var n=this.masksProperties.length,i=!1;for(r=0;r<n;r+=1)"n"!==this.masksProperties[r].mode&&(i=!0),this.viewData[r]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[r],3);this.hasMasks=i,i&&this.element.addRenderableComponent(this)}function CVBaseElement(){}CVEffects.prototype.renderFrame=function(t){var e,r=this.filters.length;for(e=0;e<r;e+=1)this.filters[e].renderFrame(t)},CVEffects.prototype.getEffects=function(t){var e,r=this.filters.length,n=[];for(e=0;e<r;e+=1)this.filters[e].type===t&&n.push(this.filters[e]);return n},CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var t,e,r,n,i=this.element.finalTransform.mat,o=this.element.canvasContext,a=this.masksProperties.length;for(o.beginPath(),t=0;t<a;t+=1)if("n"!==this.masksProperties[t].mode){var s;this.masksProperties[t].inv&&(o.moveTo(0,0),o.lineTo(this.element.globalData.compSize.w,0),o.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),o.lineTo(0,this.element.globalData.compSize.h),o.lineTo(0,0)),n=this.viewData[t].v,e=i.applyToPointArray(n.v[0][0],n.v[0][1],0),o.moveTo(e[0],e[1]);var u=n._length;for(s=1;s<u;s+=1)r=i.applyToTriplePoints(n.o[s-1],n.i[s],n.v[s]),o.bezierCurveTo(r[0],r[1],r[2],r[3],r[4],r[5]);r=i.applyToTriplePoints(n.o[s-1],n.i[0],n.v[0]),o.bezierCurveTo(r[0],r[1],r[2],r[3],r[4],r[5])}this.element.globalData.renderer.save(!0),o.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null};var operationsMap={1:"source-in",2:"source-out",3:"source-in",4:"source-out"};function CVShapeData(t,e,r,n){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var i,o=4;"rc"===e.ty?o=5:"el"===e.ty?o=6:"sr"===e.ty&&(o=7),this.sh=ShapePropertyFactory.getShapeProp(t,e,o,t);var a,s=r.length;for(i=0;i<s;i+=1)r[i].closed||(a={transforms:n.addTransformSequence(r[i].transforms),trNodes:[]},this.styledShapes.push(a),r[i].elements.push(a))}function CVShapeElement(t,e,r){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(t,e,r)}function CVTextElement(t,e,r){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(t,e,r)}function CVImageElement(t,e,r){this.assetData=e.getAssetData(t.refId),this.img=e.imageLoader.getAsset(this.assetData),this.initElement(t,e,r)}function CVSolidElement(t,e,r){this.initElement(t,e,r)}function CanvasRendererBase(){}function CanvasContext(){this.opacity=-1,this.transform=createTypedArray("float32",16),this.fillStyle="",this.strokeStyle="",this.lineWidth="",this.lineCap="",this.lineJoin="",this.miterLimit="",this.id=Math.random()}function CVContextData(){var t;this.stack=[],this.cArrPos=0,this.cTr=new Matrix;var e=15;for(t=0;t<e;t+=1){var r=new CanvasContext;this.stack[t]=r}this._length=e,this.nativeContext=null,this.transformMat=new Matrix,this.currentOpacity=1,this.currentFillStyle="",this.appliedFillStyle="",this.currentStrokeStyle="",this.appliedStrokeStyle="",this.currentLineWidth="",this.appliedLineWidth="",this.currentLineCap="",this.appliedLineCap="",this.currentLineJoin="",this.appliedLineJoin="",this.appliedMiterLimit="",this.currentMiterLimit=""}function CVCompElement(t,e,r){this.completeLayers=!1,this.layers=t.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(t,e,r),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function CanvasRenderer(t,e){this.animationItem=t,this.renderConfig={clearCanvas:!e||void 0===e.clearCanvas||e.clearCanvas,context:e&&e.context||null,progressiveLoad:e&&e.progressiveLoad||!1,preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:e&&e.contentVisibility||"visible",className:e&&e.className||"",id:e&&e.id||"",runExpressions:!e||void 0===e.runExpressions||e.runExpressions},this.renderConfig.dpr=e&&e.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=e&&e.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas",this.renderConfig.clearCanvas&&(this.ctxTransform=this.contextData.transform.bind(this.contextData),this.ctxOpacity=this.contextData.opacity.bind(this.contextData),this.ctxFillStyle=this.contextData.fillStyle.bind(this.contextData),this.ctxStrokeStyle=this.contextData.strokeStyle.bind(this.contextData),this.ctxLineWidth=this.contextData.lineWidth.bind(this.contextData),this.ctxLineCap=this.contextData.lineCap.bind(this.contextData),this.ctxLineJoin=this.contextData.lineJoin.bind(this.contextData),this.ctxMiterLimit=this.contextData.miterLimit.bind(this.contextData),this.ctxFill=this.contextData.fill.bind(this.contextData),this.ctxFillRect=this.contextData.fillRect.bind(this.contextData),this.ctxStroke=this.contextData.stroke.bind(this.contextData),this.save=this.contextData.save.bind(this.contextData))}function HBaseElement(){}function HSolidElement(t,e,r){this.initElement(t,e,r)}function HShapeElement(t,e,r){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(t,e,r),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}function HTextElement(t,e,r){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(t,e,r)}function HCameraElement(t,e,r){this.initFrame(),this.initBaseData(t,e,r),this.initHierarchy();var n=PropertyFactory.getProp;if(this.pe=n(this,t.pe,0,0,this),t.ks.p.s?(this.px=n(this,t.ks.p.x,1,0,this),this.py=n(this,t.ks.p.y,1,0,this),this.pz=n(this,t.ks.p.z,1,0,this)):this.p=n(this,t.ks.p,1,0,this),t.ks.a&&(this.a=n(this,t.ks.a,1,0,this)),t.ks.or.k.length&&t.ks.or.k[0].to){var i,o=t.ks.or.k.length;for(i=0;i<o;i+=1)t.ks.or.k[i].to=null,t.ks.or.k[i].ti=null}this.or=n(this,t.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=n(this,t.ks.rx,0,degToRads,this),this.ry=n(this,t.ks.ry,0,degToRads,this),this.rz=n(this,t.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}function HImageElement(t,e,r){this.assetData=e.getAssetData(t.refId),this.initElement(t,e,r)}function HybridRendererBase(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:e&&e.className||"",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(e&&!1===e.hideOnTransparent),filterSize:{width:e&&e.filterSize&&e.filterSize.width||"400%",height:e&&e.filterSize&&e.filterSize.height||"400%",x:e&&e.filterSize&&e.filterSize.x||"-100%",y:e&&e.filterSize&&e.filterSize.y||"-100%"}},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}function HCompElement(t,e,r){this.layers=t.layers,this.supports3d=!t.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(t,e,r),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function HybridRenderer(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:e&&e.className||"",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(e&&!1===e.hideOnTransparent),filterSize:{width:e&&e.filterSize&&e.filterSize.width||"400%",height:e&&e.filterSize&&e.filterSize.height||"400%",x:e&&e.filterSize&&e.filterSize.x||"-100%",y:e&&e.filterSize&&e.filterSize.y||"-100%"},runExpressions:!e||void 0===e.runExpressions||e.runExpressions},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){if(this.data.tt>=1){this.buffers=[];var t=this.globalData.canvasContext,e=assetLoader.createCanvas(t.canvas.width,t.canvas.height);this.buffers.push(e);var r=assetLoader.createCanvas(t.canvas.width,t.canvas.height);this.buffers.push(r),this.data.tt>=3&&!document._isProxy&&assetLoader.loadLumaCanvas()}this.canvasContext=this.globalData.canvasContext,this.transformCanvas=this.globalData.transformCanvas,this.renderableEffectsManager=new CVEffects(this),this.searchEffectTransforms()},createContent:function(){},setBlendMode:function(){var t=this.globalData;if(t.blendMode!==this.data.bm){t.blendMode=this.data.bm;var e=getBlendMode(this.data.bm);t.canvasContext.globalCompositeOperation=e}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this),this.transformEffects=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT)},hideElement:function(){this.hidden||this.isInRange&&!this.isTransparent||(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},clearCanvas:function(t){t.clearRect(this.transformCanvas.tx,this.transformCanvas.ty,this.transformCanvas.w*this.transformCanvas.sx,this.transformCanvas.h*this.transformCanvas.sy)},prepareLayer:function(){if(this.data.tt>=1){var t=this.buffers[0],e=t.getContext("2d");this.clearCanvas(e),e.drawImage(this.canvasContext.canvas,0,0),this.currentTransform=this.canvasContext.getTransform(),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform)}},exitLayer:function(){if(this.data.tt>=1){var t=this.buffers[1],e=t.getContext("2d");this.clearCanvas(e),e.drawImage(this.canvasContext.canvas,0,0),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform);var r=this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1);if(r.renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var n=assetLoader.getLumaCanvas(this.canvasContext.canvas),i=n.getContext("2d");i.drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(n,0,0)}this.canvasContext.globalCompositeOperation=operationsMap[this.data.tt],this.canvasContext.drawImage(t,0,0),this.canvasContext.globalCompositeOperation="destination-over",this.canvasContext.drawImage(this.buffers[0],0,0),this.canvasContext.setTransform(this.currentTransform),this.canvasContext.globalCompositeOperation="source-over"}},renderFrame:function(t){if(!this.hidden&&!this.data.hd&&(1!==this.data.td||t)){this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.setBlendMode();var e=0===this.data.ty;this.prepareLayer(),this.globalData.renderer.save(e),this.globalData.renderer.ctxTransform(this.finalTransform.localMat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.localOpacity),this.renderInnerContent(),this.globalData.renderer.restore(e),this.exitLayer(),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1)}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new Matrix},CVBaseElement.prototype.hide=CVBaseElement.prototype.hideElement,CVBaseElement.prototype.show=CVBaseElement.prototype.showElement,CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated,extendPrototype([BaseElement,TransformElement,CVBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableElement],CVShapeElement),CVShapeElement.prototype.initElement=RenderableDOMElement.prototype.initElement,CVShapeElement.prototype.transformHelper={opacity:1,_opMdf:!1},CVShapeElement.prototype.dashResetter=[],CVShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},CVShapeElement.prototype.createStyleElement=function(t,e){var r={data:t,type:t.ty,preTransforms:this.transformsManager.addTransformSequence(e),transforms:[],elements:[],closed:!0===t.hd},n={};if("fl"===t.ty||"st"===t.ty?(n.c=PropertyFactory.getProp(this,t.c,1,255,this),n.c.k||(r.co="rgb("+bmFloor(n.c.v[0])+","+bmFloor(n.c.v[1])+","+bmFloor(n.c.v[2])+")")):"gf"!==t.ty&&"gs"!==t.ty||(n.s=PropertyFactory.getProp(this,t.s,1,null,this),n.e=PropertyFactory.getProp(this,t.e,1,null,this),n.h=PropertyFactory.getProp(this,t.h||{k:0},0,.01,this),n.a=PropertyFactory.getProp(this,t.a||{k:0},0,degToRads,this),n.g=new GradientProperty(this,t.g,this)),n.o=PropertyFactory.getProp(this,t.o,0,.01,this),"st"===t.ty||"gs"===t.ty){if(r.lc=lineCapEnum[t.lc||2],r.lj=lineJoinEnum[t.lj||2],1==t.lj&&(r.ml=t.ml),n.w=PropertyFactory.getProp(this,t.w,0,null,this),n.w.k||(r.wi=n.w.v),t.d){var i=new DashProperty(this,t.d,"canvas",this);n.d=i,n.d.k||(r.da=n.d.dashArray,r["do"]=n.d.dashoffset[0])}}else r.r=2===t.r?"evenodd":"nonzero";return this.stylesList.push(r),n.style=r,n},CVShapeElement.prototype.createGroupElement=function(){var t={it:[],prevViewData:[]};return t},CVShapeElement.prototype.createTransformElement=function(t){var e={transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,t.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,t,this)}};return e},CVShapeElement.prototype.createShapeElement=function(t){var e=new CVShapeData(this,t,this.stylesList,this.transformsManager);return this.shapes.push(e),this.addShapeToModifiers(e),e},CVShapeElement.prototype.reloadShapes=function(){var t;this._isFirstFrame=!0;var e=this.itemsData.length;for(t=0;t<e;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),e=this.dynamicProperties.length,t=0;t<e;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(t){var e,r=this.stylesList.length;for(e=0;e<r;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.push(t)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var t,e=this.stylesList.length;for(t=0;t<e;t+=1)this.stylesList[t].closed||this.stylesList[t].transforms.pop()},CVShapeElement.prototype.closeStyles=function(t){var e,r=t.length;for(e=0;e<r;e+=1)t[e].closed=!0},CVShapeElement.prototype.searchShapes=function(t,e,r,n,i){var o,a,s,u,c,l,h=t.length-1,f=[],d=[],p=[].concat(i);for(o=h;o>=0;o-=1){if(u=this.searchProcessedElement(t[o]),u?e[o]=r[u-1]:t[o]._shouldRender=n,"fl"===t[o].ty||"st"===t[o].ty||"gf"===t[o].ty||"gs"===t[o].ty)u?e[o].style.closed=!1:e[o]=this.createStyleElement(t[o],p),f.push(e[o].style);else if("gr"===t[o].ty){if(u)for(s=e[o].it.length,a=0;a<s;a+=1)e[o].prevViewData[a]=e[o].it[a];else e[o]=this.createGroupElement(t[o]);this.searchShapes(t[o].it,e[o].it,e[o].prevViewData,n,p)}else"tr"===t[o].ty?(u||(l=this.createTransformElement(t[o]),e[o]=l),p.push(e[o]),this.addTransformToStyleList(e[o])):"sh"===t[o].ty||"rc"===t[o].ty||"el"===t[o].ty||"sr"===t[o].ty?u||(e[o]=this.createShapeElement(t[o])):"tm"===t[o].ty||"rd"===t[o].ty||"pb"===t[o].ty||"zz"===t[o].ty||"op"===t[o].ty?(u?(c=e[o],c.closed=!1):(c=ShapeModifiers.getModifier(t[o].ty),c.init(this,t[o]),e[o]=c,this.shapeModifiers.push(c)),d.push(c)):"rp"===t[o].ty&&(u?(c=e[o],c.closed=!0):(c=ShapeModifiers.getModifier(t[o].ty),e[o]=c,c.init(this,t,o,e),this.shapeModifiers.push(c),n=!1),d.push(c));this.addProcessedElement(t[o],o+1)}for(this.removeTransformFromStyleList(),this.closeStyles(f),h=d.length,o=0;o<h;o+=1)d[o].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(t,e){(t._opMdf||e.op._mdf||this._isFirstFrame)&&(e.opacity=t.opacity,e.opacity*=e.op.v,e._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var t,e,r,n,i,o,a,s,u,c=this.stylesList.length,l=this.globalData.renderer,h=this.globalData.canvasContext;for(t=0;t<c;t+=1)if(u=this.stylesList[t],s=u.type,("st"!==s&&"gs"!==s||0!==u.wi)&&u.data._shouldRender&&0!==u.coOp&&0!==this.globalData.currentGlobalAlpha){for(l.save(),o=u.elements,"st"===s||"gs"===s?(l.ctxStrokeStyle("st"===s?u.co:u.grd),l.ctxLineWidth(u.wi),l.ctxLineCap(u.lc),l.ctxLineJoin(u.lj),l.ctxMiterLimit(u.ml||0)):l.ctxFillStyle("fl"===s?u.co:u.grd),l.ctxOpacity(u.coOp),"st"!==s&&"gs"!==s&&h.beginPath(),l.ctxTransform(u.preTransforms.finalTransform.props),r=o.length,e=0;e<r;e+=1){for("st"!==s&&"gs"!==s||(h.beginPath(),u.da&&(h.setLineDash(u.da),h.lineDashOffset=u["do"])),a=o[e].trNodes,i=a.length,n=0;n<i;n+=1)"m"===a[n].t?h.moveTo(a[n].p[0],a[n].p[1]):"c"===a[n].t?h.bezierCurveTo(a[n].pts[0],a[n].pts[1],a[n].pts[2],a[n].pts[3],a[n].pts[4],a[n].pts[5]):h.closePath();"st"!==s&&"gs"!==s||(l.ctxStroke(),u.da&&h.setLineDash(this.dashResetter))}"st"!==s&&"gs"!==s&&this.globalData.renderer.ctxFill(u.r),l.restore()}},CVShapeElement.prototype.renderShape=function(t,e,r,n){var i,o,a=e.length-1;for(o=t,i=a;i>=0;i-=1)"tr"===e[i].ty?(o=r[i].transform,this.renderShapeTransform(t,o)):"sh"===e[i].ty||"el"===e[i].ty||"rc"===e[i].ty||"sr"===e[i].ty?this.renderPath(e[i],r[i]):"fl"===e[i].ty?this.renderFill(e[i],r[i],o):"st"===e[i].ty?this.renderStroke(e[i],r[i],o):"gf"===e[i].ty||"gs"===e[i].ty?this.renderGradientFill(e[i],r[i],o):"gr"===e[i].ty?this.renderShape(o,e[i].it,r[i].it):e[i].ty;n&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(t,e){if(this._isFirstFrame||e._mdf||t.transforms._mdf){var r,n,i,o=t.trNodes,a=e.paths,s=a._length;o.length=0;var u=t.transforms.finalTransform;for(i=0;i<s;i+=1){var c=a.shapes[i];if(c&&c.v){for(n=c._length,r=1;r<n;r+=1)1===r&&o.push({t:"m",p:u.applyToPointArray(c.v[0][0],c.v[0][1],0)}),o.push({t:"c",pts:u.applyToTriplePoints(c.o[r-1],c.i[r],c.v[r])});1===n&&o.push({t:"m",p:u.applyToPointArray(c.v[0][0],c.v[0][1],0)}),c.c&&n&&(o.push({t:"c",pts:u.applyToTriplePoints(c.o[r-1],c.i[0],c.v[0])}),o.push({t:"z"}))}}t.trNodes=o}},CVShapeElement.prototype.renderPath=function(t,e){if(!0!==t.hd&&t._shouldRender){var r,n=e.styledShapes.length;for(r=0;r<n;r+=1)this.renderStyledShape(e.styledShapes[r],e.sh)}},CVShapeElement.prototype.renderFill=function(t,e,r){var n=e.style;(e.c._mdf||this._isFirstFrame)&&(n.co="rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||r._opMdf||this._isFirstFrame)&&(n.coOp=e.o.v*r.opacity)},CVShapeElement.prototype.renderGradientFill=function(t,e,r){var n,i=e.style;if(!i.grd||e.g._mdf||e.s._mdf||e.e._mdf||1!==t.t&&(e.h._mdf||e.a._mdf)){var o,a=this.globalData.canvasContext,s=e.s.v,u=e.e.v;if(1===t.t)n=a.createLinearGradient(s[0],s[1],u[0],u[1]);else{var c=Math.sqrt(Math.pow(s[0]-u[0],2)+Math.pow(s[1]-u[1],2)),l=Math.atan2(u[1]-s[1],u[0]-s[0]),h=e.h.v;h>=1?h=.99:h<=-1&&(h=-.99);var f=c*h,d=Math.cos(l+e.a.v)*f+s[0],p=Math.sin(l+e.a.v)*f+s[1];n=a.createRadialGradient(d,p,0,s[0],s[1],c)}var m=t.g.p,g=e.g.c,y=1;for(o=0;o<m;o+=1)e.g._hasOpacity&&e.g._collapsable&&(y=e.g.o[2*o+1]),n.addColorStop(g[4*o]/100,"rgba("+g[4*o+1]+","+g[4*o+2]+","+g[4*o+3]+","+y+")");i.grd=n}i.coOp=e.o.v*r.opacity},CVShapeElement.prototype.renderStroke=function(t,e,r){var n=e.style,i=e.d;i&&(i._mdf||this._isFirstFrame)&&(n.da=i.dashArray,n["do"]=i.dashoffset[0]),(e.c._mdf||this._isFirstFrame)&&(n.co="rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||r._opMdf||this._isFirstFrame)&&(n.coOp=e.o.v*r.opacity),(e.w._mdf||this._isFirstFrame)&&(n.wi=e.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var t=this.textProperty.currentData;this.renderedLetters=createSizedArray(t.l?t.l.length:0);var e=!1;t.fc?(e=!0,this.values.fill=this.buildColor(t.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=e;var r=!1;t.sc&&(r=!0,this.values.stroke=this.buildColor(t.sc),this.values.sWidth=t.sw);var n,i,o,a,s,u,c,l,h,f,d,p,m=this.globalData.fontManager.getFontByName(t.f),g=t.l,y=this.mHelper;this.stroke=r,this.values.fValue=t.finalSize+"px "+this.globalData.fontManager.getFontByName(t.f).fFamily,i=t.finalText.length;var v=this.data.singleShape,b=.001*t.tr*t.finalSize,_=0,w=0,x=!0,k=0;for(n=0;n<i;n+=1){o=this.globalData.fontManager.getCharData(t.finalText[n],m.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily),a=o&&o.data||{},y.reset(),v&&g[n].n&&(_=-b,w+=t.yOffset,w+=x?1:0,x=!1),c=a.shapes?a.shapes[0].it:[],h=c.length,y.scale(t.finalSize/100,t.finalSize/100),v&&this.applyTextPropertiesToMatrix(t,y,g[n].line,_,w),d=createSizedArray(h-1);var S=0;for(l=0;l<h;l+=1)if("sh"===c[l].ty){for(u=c[l].ks.k.i.length,f=c[l].ks.k,p=[],s=1;s<u;s+=1)1===s&&p.push(y.applyToX(f.v[0][0],f.v[0][1],0),y.applyToY(f.v[0][0],f.v[0][1],0)),p.push(y.applyToX(f.o[s-1][0],f.o[s-1][1],0),y.applyToY(f.o[s-1][0],f.o[s-1][1],0),y.applyToX(f.i[s][0],f.i[s][1],0),y.applyToY(f.i[s][0],f.i[s][1],0),y.applyToX(f.v[s][0],f.v[s][1],0),y.applyToY(f.v[s][0],f.v[s][1],0));p.push(y.applyToX(f.o[s-1][0],f.o[s-1][1],0),y.applyToY(f.o[s-1][0],f.o[s-1][1],0),y.applyToX(f.i[0][0],f.i[0][1],0),y.applyToY(f.i[0][0],f.i[0][1],0),y.applyToX(f.v[0][0],f.v[0][1],0),y.applyToY(f.v[0][0],f.v[0][1],0)),d[S]=p,S+=1}v&&(_+=g[n].l,_+=b),this.textSpans[k]?this.textSpans[k].elem=d:this.textSpans[k]={elem:d},k+=1}},CVTextElement.prototype.renderInnerContent=function(){this.validateText();var t,e,r,n,i,o,a=this.canvasContext;a.font=this.values.fValue,this.globalData.renderer.ctxLineCap("butt"),this.globalData.renderer.ctxLineJoin("miter"),this.globalData.renderer.ctxMiterLimit(4),this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var s,u=this.textAnimator.renderedLetters,c=this.textProperty.currentData.l;e=c.length;var l,h,f=null,d=null,p=null,m=this.globalData.renderer;for(t=0;t<e;t+=1)if(!c[t].n){if(s=u[t],s&&(m.save(),m.ctxTransform(s.p),m.ctxOpacity(s.o)),this.fill){for(s&&s.fc?f!==s.fc&&(m.ctxFillStyle(s.fc),f=s.fc):f!==this.values.fill&&(f=this.values.fill,m.ctxFillStyle(this.values.fill)),l=this.textSpans[t].elem,n=l.length,this.globalData.canvasContext.beginPath(),r=0;r<n;r+=1)for(h=l[r],o=h.length,this.globalData.canvasContext.moveTo(h[0],h[1]),i=2;i<o;i+=6)this.globalData.canvasContext.bezierCurveTo(h[i],h[i+1],h[i+2],h[i+3],h[i+4],h[i+5]);this.globalData.canvasContext.closePath(),m.ctxFill()}if(this.stroke){for(s&&s.sw?p!==s.sw&&(p=s.sw,m.ctxLineWidth(s.sw)):p!==this.values.sWidth&&(p=this.values.sWidth,m.ctxLineWidth(this.values.sWidth)),s&&s.sc?d!==s.sc&&(d=s.sc,m.ctxStrokeStyle(s.sc)):d!==this.values.stroke&&(d=this.values.stroke,m.ctxStrokeStyle(this.values.stroke)),l=this.textSpans[t].elem,n=l.length,this.globalData.canvasContext.beginPath(),r=0;r<n;r+=1)for(h=l[r],o=h.length,this.globalData.canvasContext.moveTo(h[0],h[1]),i=2;i<o;i+=6)this.globalData.canvasContext.bezierCurveTo(h[i],h[i+1],h[i+2],h[i+3],h[i+4],h[i+5]);this.globalData.canvasContext.closePath(),m.ctxStroke()}s&&this.globalData.renderer.restore()}},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVImageElement),CVImageElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVImageElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVImageElement.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var t=createTag("canvas");t.width=this.assetData.w,t.height=this.assetData.h;var e,r,n=t.getContext("2d"),i=this.img.width,o=this.img.height,a=i/o,s=this.assetData.w/this.assetData.h,u=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;a>s&&"xMidYMid slice"===u||a<s&&"xMidYMid slice"!==u?(r=o,e=r*s):(e=i,r=e/s),n.drawImage(this.img,(i-e)/2,(o-r)/2,e,r,0,0,this.assetData.w,this.assetData.h),this.img=t}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){this.globalData.renderer.ctxFillStyle(this.data.sc),this.globalData.renderer.ctxFillRect(0,0,this.data.sw,this.data.sh)},extendPrototype([BaseRenderer],CanvasRendererBase),CanvasRendererBase.prototype.createShape=function(t){return new CVShapeElement(t,this.globalData,this)},CanvasRendererBase.prototype.createText=function(t){return new CVTextElement(t,this.globalData,this)},CanvasRendererBase.prototype.createImage=function(t){return new CVImageElement(t,this.globalData,this)},CanvasRendererBase.prototype.createSolid=function(t){return new CVSolidElement(t,this.globalData,this)},CanvasRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRendererBase.prototype.ctxTransform=function(t){1===t[0]&&0===t[1]&&0===t[4]&&1===t[5]&&0===t[12]&&0===t[13]||this.canvasContext.transform(t[0],t[1],t[4],t[5],t[12],t[13])},CanvasRendererBase.prototype.ctxOpacity=function(t){this.canvasContext.globalAlpha*=t<0?0:t},CanvasRendererBase.prototype.ctxFillStyle=function(t){this.canvasContext.fillStyle=t},CanvasRendererBase.prototype.ctxStrokeStyle=function(t){this.canvasContext.strokeStyle=t},CanvasRendererBase.prototype.ctxLineWidth=function(t){this.canvasContext.lineWidth=t},CanvasRendererBase.prototype.ctxLineCap=function(t){this.canvasContext.lineCap=t},CanvasRendererBase.prototype.ctxLineJoin=function(t){this.canvasContext.lineJoin=t},CanvasRendererBase.prototype.ctxMiterLimit=function(t){this.canvasContext.miterLimit=t},CanvasRendererBase.prototype.ctxFill=function(t){this.canvasContext.fill(t)},CanvasRendererBase.prototype.ctxFillRect=function(t,e,r,n){this.canvasContext.fillRect(t,e,r,n)},CanvasRendererBase.prototype.ctxStroke=function(){this.canvasContext.stroke()},CanvasRendererBase.prototype.reset=function(){this.renderConfig.clearCanvas?this.contextData.reset():this.canvasContext.restore()},CanvasRendererBase.prototype.save=function(){this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(t){this.renderConfig.clearCanvas?(t&&(this.globalData.blendMode="source-over"),this.contextData.restore(t)):this.canvasContext.restore()},CanvasRendererBase.prototype.configAnimation=function(t){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var e=this.animationItem.container.style;e.width="100%",e.height="100%";var r="0px 0px 0px";e.transformOrigin=r,e.mozTransformOrigin=r,e.webkitTransformOrigin=r,e["-webkit-transform"]=r,e.contentVisibility=this.renderConfig.contentVisibility,this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d"),this.renderConfig.className&&this.animationItem.container.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.animationItem.container.setAttribute("id",this.renderConfig.id)}else this.canvasContext=this.renderConfig.context;this.contextData.setContext(this.canvasContext),this.data=t,this.layers=t.layers,this.transformCanvas={w:t.w,h:t.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(t,document.body),this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=createSizedArray(t.layers.length),this.updateContainerSize()},CanvasRendererBase.prototype.updateContainerSize=function(t,e){var r,n,i,o;if(this.reset(),t?(r=t,n=e,this.canvasContext.canvas.width=r,this.canvasContext.canvas.height=n):(this.animationItem.wrapper&&this.animationItem.container?(r=this.animationItem.wrapper.offsetWidth,n=this.animationItem.wrapper.offsetHeight):(r=this.canvasContext.canvas.width,n=this.canvasContext.canvas.height),this.canvasContext.canvas.width=r*this.renderConfig.dpr,this.canvasContext.canvas.height=n*this.renderConfig.dpr),-1!==this.renderConfig.preserveAspectRatio.indexOf("meet")||-1!==this.renderConfig.preserveAspectRatio.indexOf("slice")){var a=this.renderConfig.preserveAspectRatio.split(" "),s=a[1]||"meet",u=a[0]||"xMidYMid",c=u.substr(0,4),l=u.substr(4);i=r/n,o=this.transformCanvas.w/this.transformCanvas.h,o>i&&"meet"===s||o<i&&"slice"===s?(this.transformCanvas.sx=r/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=r/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=n/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=n/(this.transformCanvas.h/this.renderConfig.dpr)),this.transformCanvas.tx="xMid"===c&&(o<i&&"meet"===s||o>i&&"slice"===s)?(r-this.transformCanvas.w*(n/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===c&&(o<i&&"meet"===s||o>i&&"slice"===s)?(r-this.transformCanvas.w*(n/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===l&&(o>i&&"meet"===s||o<i&&"slice"===s)?(n-this.transformCanvas.h*(r/this.transformCanvas.w))/2*this.renderConfig.dpr:"YMax"===l&&(o>i&&"meet"===s||o<i&&"slice"===s)?(n-this.transformCanvas.h*(r/this.transformCanvas.w))*this.renderConfig.dpr:0}else"none"===this.renderConfig.preserveAspectRatio?(this.transformCanvas.sx=r/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=n/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr,this.transformCanvas.tx=0,this.transformCanvas.ty=0);this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRendererBase.prototype.destroy=function(){var t;this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText="");var e=this.layers?this.layers.length:0;for(t=e-1;t>=0;t-=1)this.elements[t]&&this.elements[t].destroy&&this.elements[t].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(t,e){if((this.renderedFrame!==t||!0!==this.renderConfig.clearCanvas||e)&&!this.destroyed&&-1!==t){var r;this.renderedFrame=t,this.globalData.frameNum=t-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||e,this.globalData.projectInterface.currentFrame=t;var n=this.layers.length;for(this.completeLayers||this.checkLayers(t),r=n-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].prepareFrame(t-this.layers[r].st);if(this.globalData._mdf){for(!0===this.renderConfig.clearCanvas?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),r=n-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].renderFrame();!0!==this.renderConfig.clearCanvas&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(t){var e=this.elements;if(!e[t]&&99!==this.layers[t].ty){var r=this.createItem(this.layers[t],this,this.globalData);e[t]=r,r.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){while(this.pendingElements.length){var t=this.pendingElements.pop();t.checkParenting()}},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"},CVContextData.prototype.duplicate=function(){var t=2*this._length,e=0;for(e=this._length;e<t;e+=1)this.stack[e]=new CanvasContext;this._length=t},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.stack[this.cArrPos].opacity=1},CVContextData.prototype.restore=function(t){this.cArrPos-=1;var e,r=this.stack[this.cArrPos],n=r.transform,i=this.cTr.props;for(e=0;e<16;e+=1)i[e]=n[e];if(t){this.nativeContext.restore();var o=this.stack[this.cArrPos+1];this.appliedFillStyle=o.fillStyle,this.appliedStrokeStyle=o.strokeStyle,this.appliedLineWidth=o.lineWidth,this.appliedLineCap=o.lineCap,this.appliedLineJoin=o.lineJoin,this.appliedMiterLimit=o.miterLimit}this.nativeContext.setTransform(n[0],n[1],n[4],n[5],n[12],n[13]),(t||-1!==r.opacity&&this.currentOpacity!==r.opacity)&&(this.nativeContext.globalAlpha=r.opacity,this.currentOpacity=r.opacity),this.currentFillStyle=r.fillStyle,this.currentStrokeStyle=r.strokeStyle,this.currentLineWidth=r.lineWidth,this.currentLineCap=r.lineCap,this.currentLineJoin=r.lineJoin,this.currentMiterLimit=r.miterLimit},CVContextData.prototype.save=function(t){t&&this.nativeContext.save();var e=this.cTr.props;this._length<=this.cArrPos&&this.duplicate();var r,n=this.stack[this.cArrPos];for(r=0;r<16;r+=1)n.transform[r]=e[r];this.cArrPos+=1;var i=this.stack[this.cArrPos];i.opacity=n.opacity,i.fillStyle=n.fillStyle,i.strokeStyle=n.strokeStyle,i.lineWidth=n.lineWidth,i.lineCap=n.lineCap,i.lineJoin=n.lineJoin,i.miterLimit=n.miterLimit},CVContextData.prototype.setOpacity=function(t){this.stack[this.cArrPos].opacity=t},CVContextData.prototype.setContext=function(t){this.nativeContext=t},CVContextData.prototype.fillStyle=function(t){this.stack[this.cArrPos].fillStyle!==t&&(this.currentFillStyle=t,this.stack[this.cArrPos].fillStyle=t)},CVContextData.prototype.strokeStyle=function(t){this.stack[this.cArrPos].strokeStyle!==t&&(this.currentStrokeStyle=t,this.stack[this.cArrPos].strokeStyle=t)},CVContextData.prototype.lineWidth=function(t){this.stack[this.cArrPos].lineWidth!==t&&(this.currentLineWidth=t,this.stack[this.cArrPos].lineWidth=t)},CVContextData.prototype.lineCap=function(t){this.stack[this.cArrPos].lineCap!==t&&(this.currentLineCap=t,this.stack[this.cArrPos].lineCap=t)},CVContextData.prototype.lineJoin=function(t){this.stack[this.cArrPos].lineJoin!==t&&(this.currentLineJoin=t,this.stack[this.cArrPos].lineJoin=t)},CVContextData.prototype.miterLimit=function(t){this.stack[this.cArrPos].miterLimit!==t&&(this.currentMiterLimit=t,this.stack[this.cArrPos].miterLimit=t)},CVContextData.prototype.transform=function(t){this.transformMat.cloneFromProps(t);var e=this.cTr;this.transformMat.multiply(e),e.cloneFromProps(this.transformMat.props);var r=e.props;this.nativeContext.setTransform(r[0],r[1],r[4],r[5],r[12],r[13])},CVContextData.prototype.opacity=function(t){var e=this.stack[this.cArrPos].opacity;e*=t<0?0:t,this.stack[this.cArrPos].opacity!==e&&(this.currentOpacity!==t&&(this.nativeContext.globalAlpha=t,this.currentOpacity=t),this.stack[this.cArrPos].opacity=e)},CVContextData.prototype.fill=function(t){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fill(t)},CVContextData.prototype.fillRect=function(t,e,r,n){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fillRect(t,e,r,n)},CVContextData.prototype.stroke=function(){this.appliedStrokeStyle!==this.currentStrokeStyle&&(this.appliedStrokeStyle=this.currentStrokeStyle,this.nativeContext.strokeStyle=this.appliedStrokeStyle),this.appliedLineWidth!==this.currentLineWidth&&(this.appliedLineWidth=this.currentLineWidth,this.nativeContext.lineWidth=this.appliedLineWidth),this.appliedLineCap!==this.currentLineCap&&(this.appliedLineCap=this.currentLineCap,this.nativeContext.lineCap=this.appliedLineCap),this.appliedLineJoin!==this.currentLineJoin&&(this.appliedLineJoin=this.currentLineJoin,this.nativeContext.lineJoin=this.appliedLineJoin),this.appliedMiterLimit!==this.currentMiterLimit&&(this.appliedMiterLimit=this.currentMiterLimit,this.nativeContext.miterLimit=this.appliedMiterLimit),this.nativeContext.stroke()},extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var t,e=this.canvasContext;e.beginPath(),e.moveTo(0,0),e.lineTo(this.data.w,0),e.lineTo(this.data.w,this.data.h),e.lineTo(0,this.data.h),e.lineTo(0,0),e.clip();var r=this.layers.length;for(t=r-1;t>=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},CVCompElement.prototype.destroy=function(){var t,e=this.layers.length;for(t=e-1;t>=0;t-=1)this.elements[t]&&this.elements[t].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(t){return new CVCompElement(t,this.globalData,this)},extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(t){return new CVCompElement(t,this.globalData,this)},HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0!==this.data.bm&&this.setBlendMode()},renderElement:function(){var t=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var e=this.finalTransform.mat.toCSS();t.transform=e,t.webkitTransform=e}this.finalTransform._opMdf&&(t.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=BaseRenderer.prototype.buildElementParenting,extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var t;this.data.hasMask?(t=createNS("rect"),t.setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):(t=createTag("div"),t.style.width=this.data.sw+"px",t.style.height=this.data.sh+"px",t.style.backgroundColor=this.data.sc),this.layerElement.appendChild(t)},extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var t;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),t=this.svgElement;else{t=createNS("svg");var e=this.comp.data?this.comp.data:this.globalData.compSize;t.setAttribute("width",e.w),t.setAttribute("height",e.h),t.appendChild(this.shapesContainer),this.layerElement.appendChild(t)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=t},HShapeElement.prototype.getTransformedPoint=function(t,e){var r,n=t.length;for(r=0;r<n;r+=1)e=t[r].mProps.v.applyToPointArray(e[0],e[1],0);return e},HShapeElement.prototype.calculateShapeBoundingBox=function(t,e){var r,n,i,o,a,s=t.sh.v,u=t.transformers,c=s._length;if(!(c<=1)){for(r=0;r<c-1;r+=1)n=this.getTransformedPoint(u,s.v[r]),i=this.getTransformedPoint(u,s.o[r]),o=this.getTransformedPoint(u,s.i[r+1]),a=this.getTransformedPoint(u,s.v[r+1]),this.checkBounds(n,i,o,a,e);s.c&&(n=this.getTransformedPoint(u,s.v[r]),i=this.getTransformedPoint(u,s.o[r]),o=this.getTransformedPoint(u,s.i[0]),a=this.getTransformedPoint(u,s.v[0]),this.checkBounds(n,i,o,a,e))}},HShapeElement.prototype.checkBounds=function(t,e,r,n,i){this.getBoundsOfCurve(t,e,r,n);var o=this.shapeBoundingBox;i.x=bmMin(o.left,i.x),i.xMax=bmMax(o.right,i.xMax),i.y=bmMin(o.top,i.y),i.yMax=bmMax(o.bottom,i.yMax)},HShapeElement.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},HShapeElement.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0},HShapeElement.prototype.getBoundsOfCurve=function(t,e,r,n){for(var i,o,a,s,u,c,l,h=[[t[0],n[0]],[t[1],n[1]]],f=0;f<2;++f)o=6*t[f]-12*e[f]+6*r[f],i=-3*t[f]+9*e[f]-9*r[f]+3*n[f],a=3*e[f]-3*t[f],o|=0,i|=0,a|=0,0===i&&0===o||(0===i?(s=-a/o,s>0&&s<1&&h[f].push(this.calculateF(s,t,e,r,n,f))):(u=o*o-4*a*i,u>=0&&(c=(-o+bmSqrt(u))/(2*i),c>0&&c<1&&h[f].push(this.calculateF(c,t,e,r,n,f)),l=(-o-bmSqrt(u))/(2*i),l>0&&l<1&&h[f].push(this.calculateF(l,t,e,r,n,f)))));this.shapeBoundingBox.left=bmMin.apply(null,h[0]),this.shapeBoundingBox.top=bmMin.apply(null,h[1]),this.shapeBoundingBox.right=bmMax.apply(null,h[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,h[1])},HShapeElement.prototype.calculateF=function(t,e,r,n,i,o){return bmPow(1-t,3)*e[o]+3*bmPow(1-t,2)*t*r[o]+3*(1-t)*bmPow(t,2)*n[o]+bmPow(t,3)*i[o]},HShapeElement.prototype.calculateBoundingBox=function(t,e){var r,n=t.length;for(r=0;r<n;r+=1)t[r]&&t[r].sh?this.calculateShapeBoundingBox(t[r],e):t[r]&&t[r].it?this.calculateBoundingBox(t[r].it,e):t[r]&&t[r].style&&t[r].w&&this.expandStrokeBoundingBox(t[r].w,e)},HShapeElement.prototype.expandStrokeBoundingBox=function(t,e){var r=0;if(t.keyframes){for(var n=0;n<t.keyframes.length;n+=1){var i=t.keyframes[n].s;i>r&&(r=i)}r*=t.mult}else r=t.v*t.mult;e.x-=r,e.xMax+=r,e.y-=r,e.yMax+=r},HShapeElement.prototype.currentBoxContains=function(t){return this.currentBBox.x<=t.x&&this.currentBBox.y<=t.y&&this.currentBBox.width+this.currentBBox.x>=t.x+t.width&&this.currentBBox.height+this.currentBBox.y>=t.y+t.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var t=this.tempBoundingBox,e=999999;if(t.x=e,t.xMax=-e,t.y=e,t.yMax=-e,this.calculateBoundingBox(this.itemsData,t),t.width=t.xMax<t.x?0:t.xMax-t.x,t.height=t.yMax<t.y?0:t.yMax-t.y,this.currentBoxContains(t))return;var r=!1;if(this.currentBBox.w!==t.width&&(this.currentBBox.w=t.width,this.shapeCont.setAttribute("width",t.width),r=!0),this.currentBBox.h!==t.height&&(this.currentBBox.h=t.height,this.shapeCont.setAttribute("height",t.height),r=!0),r||this.currentBBox.x!==t.x||this.currentBBox.y!==t.y){this.currentBBox.w=t.width,this.currentBBox.h=t.height,this.currentBBox.x=t.x,this.currentBBox.y=t.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var n=this.shapeCont.style,i="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";n.transform=i,n.webkitTransform=i}}},extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var t=createNS("g");this.maskedElement.appendChild(t),this.innerElem=t}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var t=this.textProperty.currentData;this.renderedLetters=createSizedArray(t.l?t.l.length:0);var e=this.innerElem.style,r=t.fc?this.buildColor(t.fc):"rgba(0,0,0,0)";e.fill=r,e.color=r,t.sc&&(e.stroke=this.buildColor(t.sc),e.strokeWidth=t.sw+"px");var n,i,o=this.globalData.fontManager.getFontByName(t.f);if(!this.globalData.fontManager.chars)if(e.fontSize=t.finalSize+"px",e.lineHeight=t.finalSize+"px",o.fClass)this.innerElem.className=o.fClass;else{e.fontFamily=o.fFamily;var a=t.fWeight,s=t.fStyle;e.fontStyle=s,e.fontWeight=a}var u,c,l,h=t.l;i=h.length;var f,d=this.mHelper,p="",m=0;for(n=0;n<i;n+=1){if(this.globalData.fontManager.chars?(this.textPaths[m]?u=this.textPaths[m]:(u=createNS("path"),u.setAttribute("stroke-linecap",lineCapEnum[1]),u.setAttribute("stroke-linejoin",lineJoinEnum[2]),u.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[m]?(c=this.textSpans[m],l=c.children[0]):(c=createTag("div"),c.style.lineHeight=0,l=createNS("svg"),l.appendChild(u),styleDiv(c)))):this.isMasked?u=this.textPaths[m]?this.textPaths[m]:createNS("text"):this.textSpans[m]?(c=this.textSpans[m],u=this.textPaths[m]):(c=createTag("span"),styleDiv(c),u=createTag("span"),styleDiv(u),c.appendChild(u)),this.globalData.fontManager.chars){var g,y=this.globalData.fontManager.getCharData(t.finalText[n],o.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily);if(g=y?y.data:null,d.reset(),g&&g.shapes&&g.shapes.length&&(f=g.shapes[0].it,d.scale(t.finalSize/100,t.finalSize/100),p=this.createPathShape(d,f),u.setAttribute("d",p)),this.isMasked)this.innerElem.appendChild(u);else{if(this.innerElem.appendChild(c),g&&g.shapes){document.body.appendChild(l);var v=l.getBBox();l.setAttribute("width",v.width+2),l.setAttribute("height",v.height+2),l.setAttribute("viewBox",v.x-1+" "+(v.y-1)+" "+(v.width+2)+" "+(v.height+2));var b=l.style,_="translate("+(v.x-1)+"px,"+(v.y-1)+"px)";b.transform=_,b.webkitTransform=_,h[n].yOffset=v.y-1}else l.setAttribute("width",1),l.setAttribute("height",1);c.appendChild(l)}}else if(u.textContent=h[n].val,u.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(u);else{this.innerElem.appendChild(c);var w=u.style,x="translate3d(0,"+-t.finalSize/1.2+"px,0)";w.transform=x,w.webkitTransform=x}this.isMasked?this.textSpans[m]=u:this.textSpans[m]=c,this.textSpans[m].style.display="block",this.textPaths[m]=u,m+=1}while(m<this.textSpans.length)this.textSpans[m].style.display="none",m+=1},HTextElement.prototype.renderInnerContent=function(){var t;if(this.validateText(),this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;if(this.isMasked&&this.finalTransform._matMdf){this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),t=this.svgElement.style;var e="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";t.transform=e,t.webkitTransform=e}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag){var r,n,i,o,a,s=0,u=this.textAnimator.renderedLetters,c=this.textProperty.currentData.l;for(n=c.length,r=0;r<n;r+=1)c[r].n?s+=1:(o=this.textSpans[r],a=this.textPaths[r],i=u[s],s+=1,i._mdf.m&&(this.isMasked?o.setAttribute("transform",i.m):(o.style.webkitTransform=i.m,o.style.transform=i.m)),o.style.opacity=i.o,i.sw&&i._mdf.sw&&a.setAttribute("stroke-width",i.sw),i.sc&&i._mdf.sc&&a.setAttribute("stroke",i.sc),i.fc&&i._mdf.fc&&(a.setAttribute("fill",i.fc),a.style.color=i.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var l=this.innerElem.getBBox();this.currentBBox.w!==l.width&&(this.currentBBox.w=l.width,this.svgElement.setAttribute("width",l.width)),this.currentBBox.h!==l.height&&(this.currentBBox.h=l.height,this.svgElement.setAttribute("height",l.height));var h=1;if(this.currentBBox.w!==l.width+2*h||this.currentBBox.h!==l.height+2*h||this.currentBBox.x!==l.x-h||this.currentBBox.y!==l.y-h){this.currentBBox.w=l.width+2*h,this.currentBBox.h=l.height+2*h,this.currentBBox.x=l.x-h,this.currentBBox.y=l.y-h,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),t=this.svgElement.style;var f="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";t.transform=f,t.webkitTransform=f}}}},extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var t,e,r,n,i=this.comp.threeDElements.length;for(t=0;t<i;t+=1)if(e=this.comp.threeDElements[t],"3d"===e.type){r=e.perspectiveElem.style,n=e.container.style;var o=this.pe.v+"px",a="0px 0px 0px",s="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";r.perspective=o,r.webkitPerspective=o,n.transformOrigin=a,n.mozTransformOrigin=a,n.webkitTransformOrigin=a,r.transform=s,r.webkitTransform=s}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var t,e,r=this._isFirstFrame;if(this.hierarchy)for(e=this.hierarchy.length,t=0;t<e;t+=1)r=this.hierarchy[t].finalTransform.mProp._mdf||r;if(r||this.pe._mdf||this.p&&this.p._mdf||this.px&&(this.px._mdf||this.py._mdf||this.pz._mdf)||this.rx._mdf||this.ry._mdf||this.rz._mdf||this.or._mdf||this.a&&this.a._mdf){if(this.mat.reset(),this.hierarchy)for(e=this.hierarchy.length-1,t=e;t>=0;t-=1){var n=this.hierarchy[t].finalTransform.mProp;this.mat.translate(-n.p.v[0],-n.p.v[1],n.p.v[2]),this.mat.rotateX(-n.or.v[0]).rotateY(-n.or.v[1]).rotateZ(n.or.v[2]),this.mat.rotateX(-n.rx.v).rotateY(-n.ry.v).rotateZ(n.rz.v),this.mat.scale(1/n.s.v[0],1/n.s.v[1],1/n.s.v[2]),this.mat.translate(n.a.v[0],n.a.v[1],n.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var i;i=this.p?[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var o=Math.sqrt(Math.pow(i[0],2)+Math.pow(i[1],2)+Math.pow(i[2],2)),a=[i[0]/o,i[1]/o,i[2]/o],s=Math.sqrt(a[2]*a[2]+a[0]*a[0]),u=Math.atan2(a[1],s),c=Math.atan2(a[0],-a[2]);this.mat.rotateY(c).rotateX(-u)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var l=!this._prevMat.equals(this.mat);if((l||this.pe._mdf)&&this.comp.threeDElements){var h,f,d;for(e=this.comp.threeDElements.length,t=0;t<e;t+=1)if(h=this.comp.threeDElements[t],"3d"===h.type){if(l){var p=this.mat.toCSS();d=h.container.style,d.transform=p,d.webkitTransform=p}this.pe._mdf&&(f=h.perspectiveElem.style,f.perspective=this.pe.v+"px",f.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null},extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData),e=new Image;this.data.hasMask?(this.imageElem=createNS("image"),this.imageElem.setAttribute("width",this.assetData.w+"px"),this.imageElem.setAttribute("height",this.assetData.h+"px"),this.imageElem.setAttributeNS("http://www.w3.org/1999/xlink","href",t),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(e),e.crossOrigin="anonymous",e.src=t,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)},extendPrototype([BaseRenderer],HybridRendererBase),HybridRendererBase.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRendererBase.prototype.checkPendingElements=function(){while(this.pendingElements.length){var t=this.pendingElements.pop();t.checkParenting()}},HybridRendererBase.prototype.appendElementInPos=function(t,e){var r=t.getBaseElement();if(r){var n=this.layers[e];if(n.ddd&&this.supports3d)this.addTo3dContainer(r,e);else if(this.threeDElements)this.addTo3dContainer(r,e);else{var i,o,a,s=0;while(s<e)this.elements[s]&&!0!==this.elements[s]&&this.elements[s].getBaseElement&&(o=this.elements[s],a=this.layers[s].ddd?this.getThreeDContainerByPos(s):o.getBaseElement(),i=a||i),s+=1;i?n.ddd&&this.supports3d||this.layerElement.insertBefore(r,i):n.ddd&&this.supports3d||this.layerElement.appendChild(r)}}},HybridRendererBase.prototype.createShape=function(t){return this.supports3d?new HShapeElement(t,this.globalData,this):new SVGShapeElement(t,this.globalData,this)},HybridRendererBase.prototype.createText=function(t){return this.supports3d?new HTextElement(t,this.globalData,this):new SVGTextLottieElement(t,this.globalData,this)},HybridRendererBase.prototype.createCamera=function(t){return this.camera=new HCameraElement(t,this.globalData,this),this.camera},HybridRendererBase.prototype.createImage=function(t){return this.supports3d?new HImageElement(t,this.globalData,this):new IImageElement(t,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(t){return this.supports3d?new HSolidElement(t,this.globalData,this):new ISolidElement(t,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(t){var e=0,r=this.threeDElements.length;while(e<r){if(this.threeDElements[e].startPos<=t&&this.threeDElements[e].endPos>=t)return this.threeDElements[e].perspectiveElem;e+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(t,e){var r,n,i=createTag("div");styleDiv(i);var o=createTag("div");if(styleDiv(o),"3d"===e){r=i.style,r.width=this.globalData.compSize.w+"px",r.height=this.globalData.compSize.h+"px";var a="50% 50%";r.webkitTransformOrigin=a,r.mozTransformOrigin=a,r.transformOrigin=a,n=o.style;var s="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";n.transform=s,n.webkitTransform=s}i.appendChild(o);var u={container:o,perspectiveElem:i,startPos:t,endPos:t,type:e};return this.threeDElements.push(u),u},HybridRendererBase.prototype.build3dContainers=function(){var t,e,r=this.layers.length,n="";for(t=0;t<r;t+=1)this.layers[t].ddd&&3!==this.layers[t].ty?("3d"!==n&&(n="3d",e=this.createThreeDContainer(t,"3d")),e.endPos=Math.max(e.endPos,t)):("2d"!==n&&(n="2d",e=this.createThreeDContainer(t,"2d")),e.endPos=Math.max(e.endPos,t));for(r=this.threeDElements.length,t=r-1;t>=0;t-=1)this.resizerElem.appendChild(this.threeDElements[t].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(t,e){var r=0,n=this.threeDElements.length;while(r<n){if(e<=this.threeDElements[r].endPos){var i,o=this.threeDElements[r].startPos;while(o<e)this.elements[o]&&this.elements[o].getBaseElement&&(i=this.elements[o].getBaseElement()),o+=1;i?this.threeDElements[r].container.insertBefore(t,i):this.threeDElements[r].container.appendChild(t);break}r+=1}},HybridRendererBase.prototype.configAnimation=function(t){var e=createTag("div"),r=this.animationItem.wrapper,n=e.style;n.width=t.w+"px",n.height=t.h+"px",this.resizerElem=e,styleDiv(e),n.transformStyle="flat",n.mozTransformStyle="flat",n.webkitTransformStyle="flat",this.renderConfig.className&&e.setAttribute("class",this.renderConfig.className),r.appendChild(e),n.overflow="hidden";var i=createNS("svg");i.setAttribute("width","1"),i.setAttribute("height","1"),styleDiv(i),this.resizerElem.appendChild(i);var o=createNS("defs");i.appendChild(o),this.data=t,this.setupGlobalData(t,i),this.globalData.defs=o,this.layers=t.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRendererBase.prototype.destroy=function(){var t;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var e=this.layers?this.layers.length:0;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy&&this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var t,e,r,n,i=this.animationItem.wrapper.offsetWidth,o=this.animationItem.wrapper.offsetHeight,a=i/o,s=this.globalData.compSize.w/this.globalData.compSize.h;s>a?(t=i/this.globalData.compSize.w,e=i/this.globalData.compSize.w,r=0,n=(o-this.globalData.compSize.h*(i/this.globalData.compSize.w))/2):(t=o/this.globalData.compSize.h,e=o/this.globalData.compSize.h,r=(i-this.globalData.compSize.w*(o/this.globalData.compSize.h))/2,n=0);var u=this.resizerElem.style;u.webkitTransform="matrix3d("+t+",0,0,0,0,"+e+",0,0,0,0,1,0,"+r+","+n+",0,1)",u.transform=u.webkitTransform},HybridRendererBase.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRendererBase.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRendererBase.prototype.show=function(){this.resizerElem.style.display="block"},HybridRendererBase.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var t,e=this.globalData.compSize.w,r=this.globalData.compSize.h,n=this.threeDElements.length;for(t=0;t<n;t+=1){var i=this.threeDElements[t].perspectiveElem.style;i.webkitPerspective=Math.sqrt(Math.pow(e,2)+Math.pow(r,2))+"px",i.perspective=i.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(t){var e,r=t.length,n=createTag("div");for(e=0;e<r;e+=1)if(t[e].xt){var i=this.createComp(t[e],n,this.globalData.comp,null);i.initExpressions(),this.globalData.projectInterface.registerComposition(i)}},extendPrototype([HybridRendererBase,ICompElement,HBaseElement],HCompElement),HCompElement.prototype._createBaseContainerElements=HCompElement.prototype.createContainerElements,HCompElement.prototype.createContainerElements=function(){this._createBaseContainerElements(),this.data.hasMask?(this.svgElement.setAttribute("width",this.data.w),this.svgElement.setAttribute("height",this.data.h),this.transformedElement=this.baseElement):this.transformedElement=this.layerElement},HCompElement.prototype.addTo3dContainer=function(t,e){var r,n=0;while(n<e)this.elements[n]&&this.elements[n].getBaseElement&&(r=this.elements[n].getBaseElement()),n+=1;r?this.layerElement.insertBefore(t,r):this.layerElement.appendChild(t)},HCompElement.prototype.createComp=function(t){return this.supports3d?new HCompElement(t,this.globalData,this):new SVGCompElement(t,this.globalData,this)},extendPrototype([HybridRendererBase],HybridRenderer),HybridRenderer.prototype.createComp=function(t){return this.supports3d?new HCompElement(t,this.globalData,this):new SVGCompElement(t,this.globalData,this)};var CompExpressionInterface=function(){return function(t){function e(e){var r=0,n=t.layers.length;while(r<n){if(t.layers[r].nm===e||t.layers[r].ind===e)return t.elements[r].layerInterface;r+=1}return null}return Object.defineProperty(e,"_name",{value:t.data.nm}),e.layer=e,e.pixelAspect=1,e.height=t.data.h||t.globalData.compSize.h,e.width=t.data.w||t.globalData.compSize.w,e.pixelAspect=1,e.frameDuration=1/t.globalData.frameRate,e.displayStartTime=0,e.numLayers=t.layers.length,e}}();function _typeof$2(t){return _typeof$2="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$2(t)}function seedRandom(t,e){var r,n=this,i=256,o=6,a=52,s="random",u=e.pow(i,o),c=e.pow(2,a),l=2*c,h=i-1;function f(r,n,a){var h=[];n=!0===n?{entropy:!0}:n||{};var f=g(m(n.entropy?[r,v(t)]:null===r?y():r,3),h),b=new d(h),_=function(){var t=b.g(o),e=u,r=0;while(t<c)t=(t+r)*i,e*=i,r=b.g(1);while(t>=l)t/=2,e/=2,r>>>=1;return(t+r)/e};return _.int32=function(){return 0|b.g(4)},_.quick=function(){return b.g(4)/4294967296},_["double"]=_,g(v(b.S),t),(n.pass||a||function(t,r,n,i){return i&&(i.S&&p(i,b),t.state=function(){return p(b,{})}),n?(e[s]=t,r):t})(_,f,"global"in n?n.global:this==e,n.state)}function d(t){var e,r=t.length,n=this,o=0,a=n.i=n.j=0,s=n.S=[];r||(t=[r++]);while(o<i)s[o]=o++;for(o=0;o<i;o++)s[o]=s[a=h&a+t[o%r]+(e=s[o])],s[a]=e;n.g=function(t){var e,r=0,o=n.i,a=n.j,s=n.S;while(t--)e=s[o=h&o+1],r=r*i+s[h&(s[o]=s[a=h&a+e])+(s[a]=e)];return n.i=o,n.j=a,r}}function p(t,e){return e.i=t.i,e.j=t.j,e.S=t.S.slice(),e}function m(t,e){var r,n=[],i=_typeof$2(t);if(e&&"object"==i)for(r in t)try{n.push(m(t[r],e-1))}catch(o){}return n.length?n:"string"==i?t:t+"\0"}function g(t,e){var r,n=t+"",i=0;while(i<n.length)e[h&i]=h&(r^=19*e[h&i])+n.charCodeAt(i++);return v(e)}function y(){try{if(r)return v(r.randomBytes(i));var e=new Uint8Array(i);return(n.crypto||n.msCrypto).getRandomValues(e),v(e)}catch(s){var o=n.navigator,a=o&&o.plugins;return[+new Date,n,a,n.screen,v(t)]}}function v(t){return String.fromCharCode.apply(0,t)}e["seed"+s]=f,g(e.random(),t)}function initialize$2(t){seedRandom([],t)}var propTypes={SHAPE:"shape"};function _typeof$1(t){return _typeof$1="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$1(t)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null,_lottieGlobal={};function resetFrame(){_lottieGlobal={}}function $bm_isInstanceOfArray(t){return t.constructor===Array||t.constructor===Float32Array}function isNumerable(t,e){return"number"===t||e instanceof Number||"boolean"===t||"string"===t}function $bm_neg(t){var e=_typeof$1(t);if("number"===e||t instanceof Number||"boolean"===e)return-t;if($bm_isInstanceOfArray(t)){var r,n=t.length,i=[];for(r=0;r<n;r+=1)i[r]=-t[r];return i}return t.propType?t.v:-t}initialize$2(BMMath);var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(t,e){var r=_typeof$1(t),n=_typeof$1(e);if(isNumerable(r,t)&&isNumerable(n,e)||"string"===r||"string"===n)return t+e;if($bm_isInstanceOfArray(t)&&isNumerable(n,e))return t=t.slice(0),t[0]+=e,t;if(isNumerable(r,t)&&$bm_isInstanceOfArray(e))return e=e.slice(0),e[0]=t+e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){var i=0,o=t.length,a=e.length,s=[];while(i<o||i<a)("number"===typeof t[i]||t[i]instanceof Number)&&("number"===typeof e[i]||e[i]instanceof Number)?s[i]=t[i]+e[i]:s[i]=void 0===e[i]?t[i]:t[i]||e[i],i+=1;return s}return 0}var add=sum;function sub(t,e){var r=_typeof$1(t),n=_typeof$1(e);if(isNumerable(r,t)&&isNumerable(n,e))return"string"===r&&(t=parseInt(t,10)),"string"===n&&(e=parseInt(e,10)),t-e;if($bm_isInstanceOfArray(t)&&isNumerable(n,e))return t=t.slice(0),t[0]-=e,t;if(isNumerable(r,t)&&$bm_isInstanceOfArray(e))return e=e.slice(0),e[0]=t-e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){var i=0,o=t.length,a=e.length,s=[];while(i<o||i<a)("number"===typeof t[i]||t[i]instanceof Number)&&("number"===typeof e[i]||e[i]instanceof Number)?s[i]=t[i]-e[i]:s[i]=void 0===e[i]?t[i]:t[i]||e[i],i+=1;return s}return 0}function mul(t,e){var r,n,i,o=_typeof$1(t),a=_typeof$1(e);if(isNumerable(o,t)&&isNumerable(a,e))return t*e;if($bm_isInstanceOfArray(t)&&isNumerable(a,e)){for(i=t.length,r=createTypedArray("float32",i),n=0;n<i;n+=1)r[n]=t[n]*e;return r}if(isNumerable(o,t)&&$bm_isInstanceOfArray(e)){for(i=e.length,r=createTypedArray("float32",i),n=0;n<i;n+=1)r[n]=t*e[n];return r}return 0}function div(t,e){var r,n,i,o=_typeof$1(t),a=_typeof$1(e);if(isNumerable(o,t)&&isNumerable(a,e))return t/e;if($bm_isInstanceOfArray(t)&&isNumerable(a,e)){for(i=t.length,r=createTypedArray("float32",i),n=0;n<i;n+=1)r[n]=t[n]/e;return r}if(isNumerable(o,t)&&$bm_isInstanceOfArray(e)){for(i=e.length,r=createTypedArray("float32",i),n=0;n<i;n+=1)r[n]=t/e[n];return r}return 0}function mod(t,e){return"string"===typeof t&&(t=parseInt(t,10)),"string"===typeof e&&(e=parseInt(e,10)),t%e}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(t,e,r){if(e>r){var n=r;r=e,e=n}return Math.min(Math.max(t,e),r)}function radiansToDegrees(t){return t/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(t){return t*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(t,e){if("number"===typeof t||t instanceof Number)return e=e||0,Math.abs(t-e);var r;e||(e=helperLengthArray);var n=Math.min(t.length,e.length),i=0;for(r=0;r<n;r+=1)i+=Math.pow(e[r]-t[r],2);return Math.sqrt(i)}function normalize(t){return div(t,length(t))}function rgbToHsl(t){var e,r,n=t[0],i=t[1],o=t[2],a=Math.max(n,i,o),s=Math.min(n,i,o),u=(a+s)/2;if(a===s)e=0,r=0;else{var c=a-s;switch(r=u>.5?c/(2-a-s):c/(a+s),a){case n:e=(i-o)/c+(i<o?6:0);break;case i:e=(o-n)/c+2;break;case o:e=(n-i)/c+4;break;default:break}e/=6}return[e,r,u,t[3]]}function hue2rgb(t,e,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?t+6*(e-t)*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t}function hslToRgb(t){var e,r,n,i=t[0],o=t[1],a=t[2];if(0===o)e=a,n=a,r=a;else{var s=a<.5?a*(1+o):a+o-a*o,u=2*a-s;e=hue2rgb(u,s,i+1/3),r=hue2rgb(u,s,i),n=hue2rgb(u,s,i-1/3)}return[e,r,n,t[3]]}function linear(t,e,r,n,i){if(void 0!==n&&void 0!==i||(n=e,i=r,e=0,r=1),r<e){var o=r;r=e,e=o}if(t<=e)return n;if(t>=r)return i;var a,s=r===e?0:(t-e)/(r-e);if(!n.length)return n+(i-n)*s;var u=n.length,c=createTypedArray("float32",u);for(a=0;a<u;a+=1)c[a]=n[a]+(i[a]-n[a])*s;return c}function random(t,e){if(void 0===e&&(void 0===t?(t=0,e=1):(e=t,t=void 0)),e.length){var r,n=e.length;t||(t=createTypedArray("float32",n));var i=createTypedArray("float32",n),o=BMMath.random();for(r=0;r<n;r+=1)i[r]=t[r]+o*(e[r]-t[r]);return i}void 0===t&&(t=0);var a=BMMath.random();return t+a*(e-t)}function createPath(t,e,r,n){var i,o=t.length,a=shapePool.newElement();a.setPathData(!!n,o);var s,u,c=[0,0];for(i=0;i<o;i+=1)s=e&&e[i]?e[i]:c,u=r&&r[i]?r[i]:c,a.setTripleAt(t[i][0],t[i][1],u[0]+t[i][0],u[1]+t[i][1],s[0]+t[i][0],s[1]+t[i][1],i,!0);return a}function initiateExpression(elem,data,property){function noOp(t){return t}if(!elem.globalData.renderConfig.runExpressions)return noOp;var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=-1!==val.indexOf("random"),elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||!0!==this.data.hd,wiggle=function(t,e){var r,n,i=this.pv.length?this.pv.length:1,o=createTypedArray("float32",i);t=5;var a=Math.floor(time*t);r=0,n=0;while(r<a){for(n=0;n<i;n+=1)o[n]+=-e+2*e*BMMath.random();r+=1}var s=time*t,u=s-Math.floor(s),c=createTypedArray("float32",i);if(i>1){for(n=0;n<i;n+=1)c[n]=this.pv[n]+o[n]+(-e+2*e*BMMath.random())*u;return c}return this.pv+o[0]+(-e+2*e*BMMath.random())*u}.bind(this);function loopInDuration(t,e){return loopIn(t,e,!0)}function loopOutDuration(t,e){return loopOut(t,e,!0)}thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty)),this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface),time,velocity,value,text,textIndex,textTotal,selectorValue;function lookAt(t,e){var r=[e[0]-t[0],e[1]-t[1],e[2]-t[2]],n=Math.atan2(r[0],Math.sqrt(r[1]*r[1]+r[2]*r[2]))/degToRads,i=-Math.atan2(r[1],r[2])/degToRads;return[i,n,0]}function easeOut(t,e,r,n,i){return applyEase(easeOutBez,t,e,r,n,i)}function easeIn(t,e,r,n,i){return applyEase(easeInBez,t,e,r,n,i)}function ease(t,e,r,n,i){return applyEase(easeInOutBez,t,e,r,n,i)}function applyEase(t,e,r,n,i,o){void 0===i?(i=r,o=n):e=(e-r)/(n-r),e>1?e=1:e<0&&(e=0);var a=t(e);if($bm_isInstanceOfArray(i)){var s,u=i.length,c=createTypedArray("float32",u);for(s=0;s<u;s+=1)c[s]=(o[s]-i[s])*a+i[s];return c}return(o-i)*a+i}function nearestKey(t){var e,r,n,i=data.k.length;if(data.k.length&&"number"!==typeof data.k[0])if(r=-1,t*=elem.comp.globalData.frameRate,t<data.k[0].t)r=1,n=data.k[0].t;else{for(e=0;e<i-1;e+=1){if(t===data.k[e].t){r=e+1,n=data.k[e].t;break}if(t>data.k[e].t&&t<data.k[e+1].t){t-data.k[e].t>data.k[e+1].t-t?(r=e+2,n=data.k[e+1].t):(r=e+1,n=data.k[e].t);break}}-1===r&&(r=e+1,n=data.k[e].t)}else r=0,n=0;var o={};return o.index=r,o.time=n/elem.comp.globalData.frameRate,o}function key(t){var e,r,n;if(!data.k.length||"number"===typeof data.k[0])throw new Error("The property has no keyframe at index "+t);t-=1,e={time:data.k[t].t/elem.comp.globalData.frameRate,value:[]};var i=Object.prototype.hasOwnProperty.call(data.k[t],"s")?data.k[t].s:data.k[t-1].e;for(n=i.length,r=0;r<n;r+=1)e[r]=i[r],e.value[r]=i[r];return e}function framesToTime(t,e){return e||(e=elem.comp.globalData.frameRate),t/e}function timeToFrames(t,e){return t||0===t||(t=time),e||(e=elem.comp.globalData.frameRate),t*e}function seedRandom(t){BMMath.seedrandom(randSeed+t)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(t,e){return"string"===typeof value?void 0===e?value.substring(t):value.substring(t,e):""}function substr(t,e){return"string"===typeof value?void 0===e?value.substr(t):value.substr(t,e):""}function posterizeTime(t){time=0===t?0:Math.floor(time*t)/t,value=valueAtTime(time)}var index=elem.data.ind,hasParent=!(!elem.hierarchy||!elem.hierarchy.length),parent,randSeed=Math.floor(1e6*Math.random()),globalData=elem.globalData;function executeExpression(t){return value=t,this.frameExpressionId===elem.globalData.frameId&&"textSelector"!==this.propType?value:("textSelector"===this.propType&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),4!==elemType||content||(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),hasParent=!(!elem.hierarchy||!elem.hierarchy.length),hasParent&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,_needsRandom&&seedRandom(randSeed+time),needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,scoped_bm_rt=scoped_bm_rt.propType===propTypes.SHAPE?scoped_bm_rt.v:scoped_bm_rt,scoped_bm_rt)}return executeExpression.__preventDeadCodeRemoval=[$bm_transform,anchorPoint,time,velocity,inPoint,outPoint,width,height,name,loop_in,loop_out,smooth,toComp,fromCompToSurface,toWorld,fromWorld,mask,position,rotation,scale,thisComp,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath,_lottieGlobal],ob.resetFrame=resetFrame,ob}(),Expressions=function(){var t={};function e(t){var e=0,r=[];function n(){e+=1}function i(){e-=1,0===e&&a()}function o(t){-1===r.indexOf(t)&&r.push(t)}function a(){var t,e=r.length;for(t=0;t<e;t+=1)r[t].release();r.length=0}t.renderer.compInterface=CompExpressionInterface(t.renderer),t.renderer.globalData.projectInterface.registerComposition(t.renderer),t.renderer.globalData.pushExpression=n,t.renderer.globalData.popExpression=i,t.renderer.globalData.registerExpressionProperty=o}return t.initExpressions=e,t.resetFrame=ExpressionManager.resetFrame,t}(),MaskManagerInterface=function(){function t(t,e){this._mask=t,this._data=e}Object.defineProperty(t.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(t.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),100*this._mask.op.v}});var e=function(e){var r,n=createSizedArray(e.viewData.length),i=e.viewData.length;for(r=0;r<i;r+=1)n[r]=new t(e.viewData[r],e.masksProperties[r]);var o=function(t){r=0;while(r<i){if(e.masksProperties[r].nm===t)return n[r];r+=1}return null};return o};return e}(),ExpressionPropertyInterface=function(){var t={pv:0,v:0,mult:1},e={pv:[0,0,0],v:[0,0,0],mult:1};function r(t,e,r){Object.defineProperty(t,"velocity",{get:function(){return e.getVelocityAtTime(e.comp.currentFrame)}}),t.numKeys=e.keyframes?e.keyframes.length:0,t.key=function(n){if(!t.numKeys)return 0;var i="";i="s"in e.keyframes[n-1]?e.keyframes[n-1].s:"e"in e.keyframes[n-2]?e.keyframes[n-2].e:e.keyframes[n-2].s;var o="unidimensional"===r?new Number(i):Object.assign({},i);return o.time=e.keyframes[n-1].t/e.elem.comp.globalData.frameRate,o.value="unidimensional"===r?i[0]:i,o},t.valueAtTime=e.getValueAtTime,t.speedAtTime=e.getSpeedAtTime,t.velocityAtTime=e.getVelocityAtTime,t.propertyGroup=e.propertyGroup}function n(e){e&&"pv"in e||(e=t);var n=1/e.mult,i=e.pv*n,o=new Number(i);return o.value=i,r(o,e,"unidimensional"),function(){return e.k&&e.getValue(),i=e.v*n,o.value!==i&&(o=new Number(i),o.value=i,r(o,e,"unidimensional")),o}}function i(t){t&&"pv"in t||(t=e);var n=1/t.mult,i=t.data&&t.data.l||t.pv.length,o=createTypedArray("float32",i),a=createTypedArray("float32",i);return o.value=a,r(o,t,"multidimensional"),function(){t.k&&t.getValue();for(var e=0;e<i;e+=1)a[e]=t.v[e]*n,o[e]=a[e];return o}}function o(){return t}return function(t){return t?"unidimensional"===t.propType?n(t):i(t):o}}(),TransformExpressionInterface=function(){return function(t){function e(t){switch(t){case"scale":case"Scale":case"ADBE Scale":case 6:return e.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return e.rotation;case"ADBE Rotate X":return e.xRotation;case"ADBE Rotate Y":return e.yRotation;case"position":case"Position":case"ADBE Position":case 2:return e.position;case"ADBE Position_0":return e.xPosition;case"ADBE Position_1":return e.yPosition;case"ADBE Position_2":return e.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return e.anchorPoint;case"opacity":case"Opacity":case 11:return e.opacity;default:return null}}var r,n,i,o;return Object.defineProperty(e,"rotation",{get:ExpressionPropertyInterface(t.r||t.rz)}),Object.defineProperty(e,"zRotation",{get:ExpressionPropertyInterface(t.rz||t.r)}),Object.defineProperty(e,"xRotation",{get:ExpressionPropertyInterface(t.rx)}),Object.defineProperty(e,"yRotation",{get:ExpressionPropertyInterface(t.ry)}),Object.defineProperty(e,"scale",{get:ExpressionPropertyInterface(t.s)}),t.p?o=ExpressionPropertyInterface(t.p):(r=ExpressionPropertyInterface(t.px),n=ExpressionPropertyInterface(t.py),t.pz&&(i=ExpressionPropertyInterface(t.pz))),Object.defineProperty(e,"position",{get:function(){return t.p?o():[r(),n(),i?i():0]}}),Object.defineProperty(e,"xPosition",{get:ExpressionPropertyInterface(t.px)}),Object.defineProperty(e,"yPosition",{get:ExpressionPropertyInterface(t.py)}),Object.defineProperty(e,"zPosition",{get:ExpressionPropertyInterface(t.pz)}),Object.defineProperty(e,"anchorPoint",{get:ExpressionPropertyInterface(t.a)}),Object.defineProperty(e,"opacity",{get:ExpressionPropertyInterface(t.o)}),Object.defineProperty(e,"skew",{get:ExpressionPropertyInterface(t.sk)}),Object.defineProperty(e,"skewAxis",{get:ExpressionPropertyInterface(t.sa)}),Object.defineProperty(e,"orientation",{get:ExpressionPropertyInterface(t.or)}),e}}(),LayerExpressionInterface=function(){function t(t){var e=new Matrix;if(void 0!==t){var r=this._elem.finalTransform.mProp.getValueAtTime(t);r.clone(e)}else{var n=this._elem.finalTransform.mProp;n.applyToMatrix(e)}return e}function e(t,e){var r=this.getMatrix(e);return r.props[12]=0,r.props[13]=0,r.props[14]=0,this.applyPoint(r,t)}function r(t,e){var r=this.getMatrix(e);return this.applyPoint(r,t)}function n(t,e){var r=this.getMatrix(e);return r.props[12]=0,r.props[13]=0,r.props[14]=0,this.invertPoint(r,t)}function i(t,e){var r=this.getMatrix(e);return this.invertPoint(r,t)}function o(t,e){if(this._elem.hierarchy&&this._elem.hierarchy.length){var r,n=this._elem.hierarchy.length;for(r=0;r<n;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(t)}return t.applyToPointArray(e[0],e[1],e[2]||0)}function a(t,e){if(this._elem.hierarchy&&this._elem.hierarchy.length){var r,n=this._elem.hierarchy.length;for(r=0;r<n;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(t)}return t.inversePoint(e)}function s(t){var e=new Matrix;if(e.reset(),this._elem.finalTransform.mProp.applyToMatrix(e),this._elem.hierarchy&&this._elem.hierarchy.length){var r,n=this._elem.hierarchy.length;for(r=0;r<n;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(e);return e.inversePoint(t)}return e.inversePoint(t)}function u(){return[1,1,1,1]}return function(c){var l;function h(t){d.mask=new MaskManagerInterface(t,c)}function f(t){d.effect=t}function d(t){switch(t){case"ADBE Root Vectors Group":case"Contents":case 2:return d.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return l;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return d.effect;case"ADBE Text Properties":return d.textInterface;default:return null}}d.getMatrix=t,d.invertPoint=a,d.applyPoint=o,d.toWorld=r,d.toWorldVec=e,d.fromWorld=i,d.fromWorldVec=n,d.toComp=r,d.fromComp=s,d.sampleImage=u,d.sourceRectAtTime=c.sourceRectAtTime.bind(c),d._elem=c,l=TransformExpressionInterface(c.finalTransform.mProp);var p=getDescriptor(l,"anchorPoint");return Object.defineProperties(d,{hasParent:{get:function(){return c.hierarchy.length}},parent:{get:function(){return c.hierarchy[0].layerInterface}},rotation:getDescriptor(l,"rotation"),scale:getDescriptor(l,"scale"),position:getDescriptor(l,"position"),opacity:getDescriptor(l,"opacity"),anchorPoint:p,anchor_point:p,transform:{get:function(){return l}},active:{get:function(){return c.isInRange}}}),d.startTime=c.data.st,d.index=c.data.ind,d.source=c.data.refId,d.height=0===c.data.ty?c.data.h:100,d.width=0===c.data.ty?c.data.w:100,d.inPoint=c.data.ip/c.comp.globalData.frameRate,d.outPoint=c.data.op/c.comp.globalData.frameRate,d._name=c.data.nm,d.registerMaskInterface=h,d.registerEffectsInterface=f,d}}(),propertyGroupFactory=function(){return function(t,e){return function(r){return r=void 0===r?1:r,r<=0?t:e(r-1)}}}(),PropertyInterface=function(){return function(t,e){var r={_name:t};function n(t){return t=void 0===t?1:t,t<=0?r:e(t-1)}return n}}(),EffectsExpressionInterface=function(){var t={createEffectsInterface:e};function e(t,e){if(t.effectsManager){var n,i=[],o=t.data.ef,a=t.effectsManager.effectElements.length;for(n=0;n<a;n+=1)i.push(r(o[n],t.effectsManager.effectElements[n],e,t));var s=t.data.ef||[],u=function(t){n=0,a=s.length;while(n<a){if(t===s[n].nm||t===s[n].mn||t===s[n].ix)return i[n];n+=1}return null};return Object.defineProperty(u,"numProperties",{get:function(){return s.length}}),u}return null}function r(t,e,i,o){function a(e){var r=t.ef,n=0,i=r.length;while(n<i){if(e===r[n].nm||e===r[n].mn||e===r[n].ix)return 5===r[n].ty?c[n]:c[n]();n+=1}throw new Error}var s,u=propertyGroupFactory(a,i),c=[],l=t.ef.length;for(s=0;s<l;s+=1)5===t.ef[s].ty?c.push(r(t.ef[s],e.effectElements[s],e.effectElements[s].propertyGroup,o)):c.push(n(e.effectElements[s],t.ef[s].ty,o,u));return"ADBE Color Control"===t.mn&&Object.defineProperty(a,"color",{get:function(){return c[0]()}}),Object.defineProperties(a,{numProperties:{get:function(){return t.np}},_name:{value:t.nm},propertyGroup:{value:u}}),a.enabled=0!==t.en,a.active=a.enabled,a}function n(t,e,r,n){var i=ExpressionPropertyInterface(t.p);function o(){return 10===e?r.comp.compInterface(t.p.v):i()}return t.p.setGroupProperty&&t.p.setGroupProperty(PropertyInterface("",n)),o}return t}(),ShapePathInterface=function(){return function(t,e,r){var n=e.sh;function i(t){return"Shape"===t||"shape"===t||"Path"===t||"path"===t||"ADBE Vector Shape"===t||2===t?i.path:null}var o=propertyGroupFactory(i,r);return n.setGroupProperty(PropertyInterface("Path",o)),Object.defineProperties(i,{path:{get:function(){return n.k&&n.getValue(),n}},shape:{get:function(){return n.k&&n.getValue(),n}},_name:{value:t.nm},ix:{value:t.ix},propertyIndex:{value:t.ix},mn:{value:t.mn},propertyGroup:{value:r}}),i}}(),ShapeExpressionInterface=function(){function t(t,e,u){var p,m=[],g=t?t.length:0;for(p=0;p<g;p+=1)"gr"===t[p].ty?m.push(r(t[p],e[p],u)):"fl"===t[p].ty?m.push(n(t[p],e[p],u)):"st"===t[p].ty?m.push(a(t[p],e[p],u)):"tm"===t[p].ty?m.push(s(t[p],e[p],u)):"tr"===t[p].ty||("el"===t[p].ty?m.push(c(t[p],e[p],u)):"sr"===t[p].ty?m.push(l(t[p],e[p],u)):"sh"===t[p].ty?m.push(ShapePathInterface(t[p],e[p],u)):"rc"===t[p].ty?m.push(h(t[p],e[p],u)):"rd"===t[p].ty?m.push(f(t[p],e[p],u)):"rp"===t[p].ty?m.push(d(t[p],e[p],u)):"gf"===t[p].ty?m.push(i(t[p],e[p],u)):m.push(o(t[p],e[p],u)));return m}function e(e,r,n){var i,o=function(t){var e=0,r=i.length;while(e<r){if(i[e]._name===t||i[e].mn===t||i[e].propertyIndex===t||i[e].ix===t||i[e].ind===t)return i[e];e+=1}return"number"===typeof t?i[t-1]:null};o.propertyGroup=propertyGroupFactory(o,n),i=t(e.it,r.it,o.propertyGroup),o.numProperties=i.length;var a=u(e.it[e.it.length-1],r.it[r.it.length-1],o.propertyGroup);return o.transform=a,o.propertyIndex=e.cix,o._name=e.nm,o}function r(t,r,n){var i=function(t){switch(t){case"ADBE Vectors Group":case"Contents":case 2:return i.content;default:return i.transform}};i.propertyGroup=propertyGroupFactory(i,n);var o=e(t,r,i.propertyGroup),a=u(t.it[t.it.length-1],r.it[r.it.length-1],i.propertyGroup);return i.content=o,i.transform=a,Object.defineProperty(i,"_name",{get:function(){return t.nm}}),i.numProperties=t.np,i.propertyIndex=t.ix,i.nm=t.nm,i.mn=t.mn,i}function n(t,e,r){function n(t){return"Color"===t||"color"===t?n.color:"Opacity"===t||"opacity"===t?n.opacity:null}return Object.defineProperties(n,{color:{get:ExpressionPropertyInterface(e.c)},opacity:{get:ExpressionPropertyInterface(e.o)},_name:{value:t.nm},mn:{value:t.mn}}),e.c.setGroupProperty(PropertyInterface("Color",r)),e.o.setGroupProperty(PropertyInterface("Opacity",r)),n}function i(t,e,r){function n(t){return"Start Point"===t||"start point"===t?n.startPoint:"End Point"===t||"end point"===t?n.endPoint:"Opacity"===t||"opacity"===t?n.opacity:null}return Object.defineProperties(n,{startPoint:{get:ExpressionPropertyInterface(e.s)},endPoint:{get:ExpressionPropertyInterface(e.e)},opacity:{get:ExpressionPropertyInterface(e.o)},type:{get:function(){return"a"}},_name:{value:t.nm},mn:{value:t.mn}}),e.s.setGroupProperty(PropertyInterface("Start Point",r)),e.e.setGroupProperty(PropertyInterface("End Point",r)),e.o.setGroupProperty(PropertyInterface("Opacity",r)),n}function o(){function t(){return null}return t}function a(t,e,r){var n,i=propertyGroupFactory(c,r),o=propertyGroupFactory(u,i);function a(r){Object.defineProperty(u,t.d[r].nm,{get:ExpressionPropertyInterface(e.d.dataProps[r].p)})}var s=t.d?t.d.length:0,u={};for(n=0;n<s;n+=1)a(n),e.d.dataProps[n].p.setGroupProperty(o);function c(t){return"Color"===t||"color"===t?c.color:"Opacity"===t||"opacity"===t?c.opacity:"Stroke Width"===t||"stroke width"===t?c.strokeWidth:null}return Object.defineProperties(c,{color:{get:ExpressionPropertyInterface(e.c)},opacity:{get:ExpressionPropertyInterface(e.o)},strokeWidth:{get:ExpressionPropertyInterface(e.w)},dash:{get:function(){return u}},_name:{value:t.nm},mn:{value:t.mn}}),e.c.setGroupProperty(PropertyInterface("Color",i)),e.o.setGroupProperty(PropertyInterface("Opacity",i)),e.w.setGroupProperty(PropertyInterface("Stroke Width",i)),c}function s(t,e,r){function n(e){return e===t.e.ix||"End"===e||"end"===e?n.end:e===t.s.ix?n.start:e===t.o.ix?n.offset:null}var i=propertyGroupFactory(n,r);return n.propertyIndex=t.ix,e.s.setGroupProperty(PropertyInterface("Start",i)),e.e.setGroupProperty(PropertyInterface("End",i)),e.o.setGroupProperty(PropertyInterface("Offset",i)),n.propertyIndex=t.ix,n.propertyGroup=r,Object.defineProperties(n,{start:{get:ExpressionPropertyInterface(e.s)},end:{get:ExpressionPropertyInterface(e.e)},offset:{get:ExpressionPropertyInterface(e.o)},_name:{value:t.nm}}),n.mn=t.mn,n}function u(t,e,r){function n(e){return t.a.ix===e||"Anchor Point"===e?n.anchorPoint:t.o.ix===e||"Opacity"===e?n.opacity:t.p.ix===e||"Position"===e?n.position:t.r.ix===e||"Rotation"===e||"ADBE Vector Rotation"===e?n.rotation:t.s.ix===e||"Scale"===e?n.scale:t.sk&&t.sk.ix===e||"Skew"===e?n.skew:t.sa&&t.sa.ix===e||"Skew Axis"===e?n.skewAxis:null}var i=propertyGroupFactory(n,r);return e.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",i)),e.transform.mProps.p.setGroupProperty(PropertyInterface("Position",i)),e.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",i)),e.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",i)),e.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",i)),e.transform.mProps.sk&&(e.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",i)),e.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",i))),e.transform.op.setGroupProperty(PropertyInterface("Opacity",i)),Object.defineProperties(n,{opacity:{get:ExpressionPropertyInterface(e.transform.mProps.o)},position:{get:ExpressionPropertyInterface(e.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(e.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(e.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(e.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(e.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(e.transform.mProps.sa)},_name:{value:t.nm}}),n.ty="tr",n.mn=t.mn,n.propertyGroup=r,n}function c(t,e,r){function n(e){return t.p.ix===e?n.position:t.s.ix===e?n.size:null}var i=propertyGroupFactory(n,r);n.propertyIndex=t.ix;var o="tm"===e.sh.ty?e.sh.prop:e.sh;return o.s.setGroupProperty(PropertyInterface("Size",i)),o.p.setGroupProperty(PropertyInterface("Position",i)),Object.defineProperties(n,{size:{get:ExpressionPropertyInterface(o.s)},position:{get:ExpressionPropertyInterface(o.p)},_name:{value:t.nm}}),n.mn=t.mn,n}function l(t,e,r){function n(e){return t.p.ix===e?n.position:t.r.ix===e?n.rotation:t.pt.ix===e?n.points:t.or.ix===e||"ADBE Vector Star Outer Radius"===e?n.outerRadius:t.os.ix===e?n.outerRoundness:!t.ir||t.ir.ix!==e&&"ADBE Vector Star Inner Radius"!==e?t.is&&t.is.ix===e?n.innerRoundness:null:n.innerRadius}var i=propertyGroupFactory(n,r),o="tm"===e.sh.ty?e.sh.prop:e.sh;return n.propertyIndex=t.ix,o.or.setGroupProperty(PropertyInterface("Outer Radius",i)),o.os.setGroupProperty(PropertyInterface("Outer Roundness",i)),o.pt.setGroupProperty(PropertyInterface("Points",i)),o.p.setGroupProperty(PropertyInterface("Position",i)),o.r.setGroupProperty(PropertyInterface("Rotation",i)),t.ir&&(o.ir.setGroupProperty(PropertyInterface("Inner Radius",i)),o.is.setGroupProperty(PropertyInterface("Inner Roundness",i))),Object.defineProperties(n,{position:{get:ExpressionPropertyInterface(o.p)},rotation:{get:ExpressionPropertyInterface(o.r)},points:{get:ExpressionPropertyInterface(o.pt)},outerRadius:{get:ExpressionPropertyInterface(o.or)},outerRoundness:{get:ExpressionPropertyInterface(o.os)},innerRadius:{get:ExpressionPropertyInterface(o.ir)},innerRoundness:{get:ExpressionPropertyInterface(o.is)},_name:{value:t.nm}}),n.mn=t.mn,n}function h(t,e,r){function n(e){return t.p.ix===e?n.position:t.r.ix===e?n.roundness:t.s.ix===e||"Size"===e||"ADBE Vector Rect Size"===e?n.size:null}var i=propertyGroupFactory(n,r),o="tm"===e.sh.ty?e.sh.prop:e.sh;return n.propertyIndex=t.ix,o.p.setGroupProperty(PropertyInterface("Position",i)),o.s.setGroupProperty(PropertyInterface("Size",i)),o.r.setGroupProperty(PropertyInterface("Rotation",i)),Object.defineProperties(n,{position:{get:ExpressionPropertyInterface(o.p)},roundness:{get:ExpressionPropertyInterface(o.r)},size:{get:ExpressionPropertyInterface(o.s)},_name:{value:t.nm}}),n.mn=t.mn,n}function f(t,e,r){function n(e){return t.r.ix===e||"Round Corners 1"===e?n.radius:null}var i=propertyGroupFactory(n,r),o=e;return n.propertyIndex=t.ix,o.rd.setGroupProperty(PropertyInterface("Radius",i)),Object.defineProperties(n,{radius:{get:ExpressionPropertyInterface(o.rd)},_name:{value:t.nm}}),n.mn=t.mn,n}function d(t,e,r){function n(e){return t.c.ix===e||"Copies"===e?n.copies:t.o.ix===e||"Offset"===e?n.offset:null}var i=propertyGroupFactory(n,r),o=e;return n.propertyIndex=t.ix,o.c.setGroupProperty(PropertyInterface("Copies",i)),o.o.setGroupProperty(PropertyInterface("Offset",i)),Object.defineProperties(n,{copies:{get:ExpressionPropertyInterface(o.c)},offset:{get:ExpressionPropertyInterface(o.o)},_name:{value:t.nm}}),n.mn=t.mn,n}return function(e,r,n){var i;function o(t){if("number"===typeof t)return t=void 0===t?1:t,0===t?n:i[t-1];var e=0,r=i.length;while(e<r){if(i[e]._name===t)return i[e];e+=1}return null}function a(){return n}return o.propertyGroup=propertyGroupFactory(o,a),i=t(e,r,o.propertyGroup),o.numProperties=i.length,o._name="Contents",o}}(),TextExpressionInterface=function(){return function(t){var e;function r(t){switch(t){case"ADBE Text Document":return r.sourceText;default:return null}}return Object.defineProperty(r,"sourceText",{get:function(){t.textProperty.getValue();var r=t.textProperty.currentData.t;return e&&r===e.value||(e=new String(r),e.value=r||new String(r),Object.defineProperty(e,"style",{get:function(){return{fillColor:t.textProperty.currentData.fc}}})),e}}),r}}();function _typeof(t){return _typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}var FootageInterface=function(){var t=function(t){var e="",r=t.getFootageData();function n(){return e="",r=t.getFootageData(),i}function i(t){if(r[t])return e=t,r=r[t],"object"===_typeof(r)?i:r;var n=t.indexOf(e);if(-1!==n){var o=parseInt(t.substr(n+e.length),10);return r=r[o],"object"===_typeof(r)?i:r}return""}return n},e=function(e){function r(t){return"Outline"===t?r.outlineInterface():null}return r._name="Outline",r.outlineInterface=t(e),r};return function(t){function r(t){return"Data"===t?r.dataInterface:null}return r._name="Data",r.dataInterface=e(t),r}}(),interfaces={layer:LayerExpressionInterface,effects:EffectsExpressionInterface,comp:CompExpressionInterface,shape:ShapeExpressionInterface,text:TextExpressionInterface,footage:FootageInterface};function getInterface(t){return interfaces[t]||null}var expressionHelpers=function(){function t(t,e,r){e.x&&(r.k=!0,r.x=!0,r.initiateExpression=ExpressionManager.initiateExpression,r.effectsSequence.push(r.initiateExpression(t,e,r).bind(r)))}function e(t){return t*=this.elem.globalData.frameRate,t-=this.offsetTime,t!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<t?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(t,this._cachingAtTime),this._cachingAtTime.lastFrame=t),this._cachingAtTime.value}function r(t){var e=-.01,r=this.getValueAtTime(t),n=this.getValueAtTime(t+e),i=0;if(r.length){var o;for(o=0;o<r.length;o+=1)i+=Math.pow(n[o]-r[o],2);i=100*Math.sqrt(i)}else i=0;return i}function n(t){if(void 0!==this.vel)return this.vel;var e,r,n=-.001,i=this.getValueAtTime(t),o=this.getValueAtTime(t+n);if(i.length)for(e=createTypedArray("float32",i.length),r=0;r<i.length;r+=1)e[r]=(o[r]-i[r])/n;else e=(o-i)/n;return e}function i(){return this.pv}function o(t){this.propertyGroup=t}return{searchExpressions:t,getSpeedAtTime:r,getVelocityAtTime:n,getValueAtTime:e,getStaticValueAtTime:i,setGroupProperty:o}}();function addPropertyDecorator(){function t(t,e,r){if(!this.k||!this.keyframes)return this.pv;t=t?t.toLowerCase():"";var n,i,o,a,s,u=this.comp.renderedFrame,c=this.keyframes,l=c[c.length-1].t;if(u<=l)return this.pv;if(r?(n=e?Math.abs(l-this.elem.comp.globalData.frameRate*e):Math.max(0,l-this.elem.data.ip),i=l-n):((!e||e>c.length-1)&&(e=c.length-1),i=c[c.length-1-e].t,n=l-i),"pingpong"===t){var h=Math.floor((u-i)/n);if(h%2!==0)return this.getValueAtTime((n-(u-i)%n+i)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var f=this.getValueAtTime(i/this.comp.globalData.frameRate,0),d=this.getValueAtTime(l/this.comp.globalData.frameRate,0),p=this.getValueAtTime(((u-i)%n+i)/this.comp.globalData.frameRate,0),m=Math.floor((u-i)/n);if(this.pv.length){for(s=new Array(f.length),a=s.length,o=0;o<a;o+=1)s[o]=(d[o]-f[o])*m+p[o];return s}return(d-f)*m+p}if("continue"===t){var g=this.getValueAtTime(l/this.comp.globalData.frameRate,0),y=this.getValueAtTime((l-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(s=new Array(g.length),a=s.length,o=0;o<a;o+=1)s[o]=g[o]+(g[o]-y[o])*((u-l)/this.comp.globalData.frameRate)/5e-4;return s}return g+(u-l)/.001*(g-y)}}return this.getValueAtTime(((u-i)%n+i)/this.comp.globalData.frameRate,0)}function e(t,e,r){if(!this.k)return this.pv;t=t?t.toLowerCase():"";var n,i,o,a,s,u=this.comp.renderedFrame,c=this.keyframes,l=c[0].t;if(u>=l)return this.pv;if(r?(n=e?Math.abs(this.elem.comp.globalData.frameRate*e):Math.max(0,this.elem.data.op-l),i=l+n):((!e||e>c.length-1)&&(e=c.length-1),i=c[e].t,n=i-l),"pingpong"===t){var h=Math.floor((l-u)/n);if(h%2===0)return this.getValueAtTime(((l-u)%n+l)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var f=this.getValueAtTime(l/this.comp.globalData.frameRate,0),d=this.getValueAtTime(i/this.comp.globalData.frameRate,0),p=this.getValueAtTime((n-(l-u)%n+l)/this.comp.globalData.frameRate,0),m=Math.floor((l-u)/n)+1;if(this.pv.length){for(s=new Array(f.length),a=s.length,o=0;o<a;o+=1)s[o]=p[o]-(d[o]-f[o])*m;return s}return p-(d-f)*m}if("continue"===t){var g=this.getValueAtTime(l/this.comp.globalData.frameRate,0),y=this.getValueAtTime((l+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(s=new Array(g.length),a=s.length,o=0;o<a;o+=1)s[o]=g[o]+(g[o]-y[o])*(l-u)/.001;return s}return g+(g-y)*(l-u)/.001}}return this.getValueAtTime((n-((l-u)%n+l))/this.comp.globalData.frameRate,0)}function r(t,e){if(!this.k)return this.pv;if(t=.5*(t||.4),e=Math.floor(e||5),e<=1)return this.pv;var r,n,i=this.comp.renderedFrame/this.comp.globalData.frameRate,o=i-t,a=i+t,s=e>1?(a-o)/(e-1):1,u=0,c=0;r=this.pv.length?createTypedArray("float32",this.pv.length):0;while(u<e){if(n=this.getValueAtTime(o+u*s),this.pv.length)for(c=0;c<this.pv.length;c+=1)r[c]+=n[c];else r+=n;u+=1}if(this.pv.length)for(c=0;c<this.pv.length;c+=1)r[c]/=e;else r/=e;return r}function n(t){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var e=this._transformCachingAtTime.v;if(e.cloneFromProps(this.pre.props),this.appliedTransformations<1){var r=this.a.getValueAtTime(t);e.translate(-r[0]*this.a.mult,-r[1]*this.a.mult,r[2]*this.a.mult)}if(this.appliedTransformations<2){var n=this.s.getValueAtTime(t);e.scale(n[0]*this.s.mult,n[1]*this.s.mult,n[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var i=this.sk.getValueAtTime(t),o=this.sa.getValueAtTime(t);e.skewFromAxis(-i*this.sk.mult,o*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var a=this.r.getValueAtTime(t);e.rotate(-a*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var s=this.rz.getValueAtTime(t),u=this.ry.getValueAtTime(t),c=this.rx.getValueAtTime(t),l=this.or.getValueAtTime(t);e.rotateZ(-s*this.rz.mult).rotateY(u*this.ry.mult).rotateX(c*this.rx.mult).rotateZ(-l[2]*this.or.mult).rotateY(l[1]*this.or.mult).rotateX(l[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var h=this.px.getValueAtTime(t),f=this.py.getValueAtTime(t);if(this.data.p.z){var d=this.pz.getValueAtTime(t);e.translate(h*this.px.mult,f*this.py.mult,-d*this.pz.mult)}else e.translate(h*this.px.mult,f*this.py.mult,0)}else{var p=this.p.getValueAtTime(t);e.translate(p[0]*this.p.mult,p[1]*this.p.mult,-p[2]*this.p.mult)}return e}function i(){return this.v.clone(new Matrix)}var o=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(t,e,r){var a=o(t,e,r);return a.dynamicProperties.length?a.getValueAtTime=n.bind(a):a.getValueAtTime=i.bind(a),a.setGroupProperty=expressionHelpers.setGroupProperty,a};var a=PropertyFactory.getProp;function s(t){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),t*=this.elem.globalData.frameRate,t-=this.offsetTime,t!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<t?this._caching.lastIndex:0,this._cachingAtTime.lastTime=t,this.interpolateShape(t,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue}PropertyFactory.getProp=function(n,i,o,s,u){var c=a(n,i,o,s,u);c.kf?c.getValueAtTime=expressionHelpers.getValueAtTime.bind(c):c.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(c),c.setGroupProperty=expressionHelpers.setGroupProperty,c.loopOut=t,c.loopIn=e,c.smooth=r,c.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(c),c.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(c),c.numKeys=1===i.a?i.k.length:0,c.propertyIndex=i.ix;var l=0;return 0!==o&&(l=createTypedArray("float32",1===i.a?i.k[0].s.length:i.k.length)),c._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:l},expressionHelpers.searchExpressions(n,i,c),c.k&&u.addDynamicProperty(c),c};var u=ShapePropertyFactory.getConstructorFunction(),c=ShapePropertyFactory.getKeyframedConstructorFunction();function l(){}l.prototype={vertices:function(t,e){this.k&&this.getValue();var r,n=this.v;void 0!==e&&(n=this.getValueAtTime(e,0));var i=n._length,o=n[t],a=n.v,s=createSizedArray(i);for(r=0;r<i;r+=1)s[r]="i"===t||"o"===t?[o[r][0]-a[r][0],o[r][1]-a[r][1]]:[o[r][0],o[r][1]];return s},points:function(t){return this.vertices("v",t)},inTangents:function(t){return this.vertices("i",t)},outTangents:function(t){return this.vertices("o",t)},isClosed:function(){return this.v.c},pointOnPath:function(t,e){var r=this.v;void 0!==e&&(r=this.getValueAtTime(e,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(r));var n,i=this._segmentsLength,o=i.lengths,a=i.totalLength*t,s=0,u=o.length,c=0;while(s<u){if(c+o[s].addedLength>a){var l=s,h=r.c&&s===u-1?0:s+1,f=(a-c)/o[s].addedLength;n=bez.getPointInSegment(r.v[l],r.v[h],r.o[l],r.i[h],f,o[s]);break}c+=o[s].addedLength,s+=1}return n||(n=r.c?[r.v[0][0],r.v[0][1]]:[r.v[r._length-1][0],r.v[r._length-1][1]]),n},vectorOnPath:function(t,e,r){1==t?t=this.v.c:0==t&&(t=.999);var n=this.pointOnPath(t,e),i=this.pointOnPath(t+.001,e),o=i[0]-n[0],a=i[1]-n[1],s=Math.sqrt(Math.pow(o,2)+Math.pow(a,2));if(0===s)return[0,0];var u="tangent"===r?[o/s,a/s]:[-a/s,o/s];return u},tangentOnPath:function(t,e){return this.vectorOnPath(t,e,"tangent")},normalOnPath:function(t,e){return this.vectorOnPath(t,e,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([l],u),extendPrototype([l],c),c.prototype.getValueAtTime=s,c.prototype.initiateExpression=ExpressionManager.initiateExpression;var h=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(t,e,r,n,i){var o=h(t,e,r,n,i);return o.propertyIndex=e.ix,o.lock=!1,3===r?expressionHelpers.searchExpressions(t,e.pt,o):4===r&&expressionHelpers.searchExpressions(t,e.ks,o),o.k&&t.addDynamicProperty(o),o}}function initialize$1(){addPropertyDecorator()}function addDecorator(){function t(){return this.data.d.x?(this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0):null}TextProperty.prototype.getExpressionValue=function(t,e){var r=this.calculateExpression(e);if(t.t!==r){var n={};return this.copyData(n,t),n.t=r.toString(),n.__complete=!1,n}return t},TextProperty.prototype.searchProperty=function(){var t=this.searchKeyframes(),e=this.searchExpressions();return this.kf=t||e,this.kf},TextProperty.prototype.searchExpressions=t}function initialize(){addDecorator()}function SVGComposableEffect(){}SVGComposableEffect.prototype={createMergeNode:function(t,e){var r,n,i=createNS("feMerge");for(i.setAttribute("result",t),n=0;n<e.length;n+=1)r=createNS("feMergeNode"),r.setAttribute("in",e[n]),i.appendChild(r),i.appendChild(r);return i}};var linearFilterValue="0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0";function SVGTintFilter(t,e,r,n,i){this.filterManager=e;var o=createNS("feColorMatrix");o.setAttribute("type","matrix"),o.setAttribute("color-interpolation-filters","linearRGB"),o.setAttribute("values",linearFilterValue+" 1 0"),this.linearFilter=o,o.setAttribute("result",n+"_tint_1"),t.appendChild(o),o=createNS("feColorMatrix"),o.setAttribute("type","matrix"),o.setAttribute("color-interpolation-filters","sRGB"),o.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),o.setAttribute("result",n+"_tint_2"),t.appendChild(o),this.matrixFilter=o;var a=this.createMergeNode(n,[i,n+"_tint_1",n+"_tint_2"]);t.appendChild(a)}function SVGFillFilter(t,e,r,n){this.filterManager=e;var i=createNS("feColorMatrix");i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","sRGB"),i.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),i.setAttribute("result",n),t.appendChild(i),this.matrixFilter=i}function SVGStrokeEffect(t,e,r){this.initialized=!1,this.filterManager=e,this.elem=r,this.paths=[]}function SVGTritoneFilter(t,e,r,n){this.filterManager=e;var i=createNS("feColorMatrix");i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","linearRGB"),i.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),t.appendChild(i);var o=createNS("feComponentTransfer");o.setAttribute("color-interpolation-filters","sRGB"),o.setAttribute("result",n),this.matrixFilter=o;var a=createNS("feFuncR");a.setAttribute("type","table"),o.appendChild(a),this.feFuncR=a;var s=createNS("feFuncG");s.setAttribute("type","table"),o.appendChild(s),this.feFuncG=s;var u=createNS("feFuncB");u.setAttribute("type","table"),o.appendChild(u),this.feFuncB=u,t.appendChild(o)}function SVGProLevelsFilter(t,e,r,n){this.filterManager=e;var i=this.filterManager.effectElements,o=createNS("feComponentTransfer");(i[10].p.k||0!==i[10].p.v||i[11].p.k||1!==i[11].p.v||i[12].p.k||1!==i[12].p.v||i[13].p.k||0!==i[13].p.v||i[14].p.k||1!==i[14].p.v)&&(this.feFuncR=this.createFeFunc("feFuncR",o)),(i[17].p.k||0!==i[17].p.v||i[18].p.k||1!==i[18].p.v||i[19].p.k||1!==i[19].p.v||i[20].p.k||0!==i[20].p.v||i[21].p.k||1!==i[21].p.v)&&(this.feFuncG=this.createFeFunc("feFuncG",o)),(i[24].p.k||0!==i[24].p.v||i[25].p.k||1!==i[25].p.v||i[26].p.k||1!==i[26].p.v||i[27].p.k||0!==i[27].p.v||i[28].p.k||1!==i[28].p.v)&&(this.feFuncB=this.createFeFunc("feFuncB",o)),(i[31].p.k||0!==i[31].p.v||i[32].p.k||1!==i[32].p.v||i[33].p.k||1!==i[33].p.v||i[34].p.k||0!==i[34].p.v||i[35].p.k||1!==i[35].p.v)&&(this.feFuncA=this.createFeFunc("feFuncA",o)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(o.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(o)),(i[3].p.k||0!==i[3].p.v||i[4].p.k||1!==i[4].p.v||i[5].p.k||1!==i[5].p.v||i[6].p.k||0!==i[6].p.v||i[7].p.k||1!==i[7].p.v)&&(o=createNS("feComponentTransfer"),o.setAttribute("color-interpolation-filters","sRGB"),o.setAttribute("result",n),t.appendChild(o),this.feFuncRComposed=this.createFeFunc("feFuncR",o),this.feFuncGComposed=this.createFeFunc("feFuncG",o),this.feFuncBComposed=this.createFeFunc("feFuncB",o))}function SVGDropShadowEffect(t,e,r,n,i){var o=e.container.globalData.renderConfig.filterSize,a=e.data.fs||o;t.setAttribute("x",a.x||o.x),t.setAttribute("y",a.y||o.y),t.setAttribute("width",a.width||o.width),t.setAttribute("height",a.height||o.height),this.filterManager=e;var s=createNS("feGaussianBlur");s.setAttribute("in","SourceAlpha"),s.setAttribute("result",n+"_drop_shadow_1"),s.setAttribute("stdDeviation","0"),this.feGaussianBlur=s,t.appendChild(s);var u=createNS("feOffset");u.setAttribute("dx","25"),u.setAttribute("dy","0"),u.setAttribute("in",n+"_drop_shadow_1"),u.setAttribute("result",n+"_drop_shadow_2"),this.feOffset=u,t.appendChild(u);var c=createNS("feFlood");c.setAttribute("flood-color","#00ff00"),c.setAttribute("flood-opacity","1"),c.setAttribute("result",n+"_drop_shadow_3"),this.feFlood=c,t.appendChild(c);var l=createNS("feComposite");l.setAttribute("in",n+"_drop_shadow_3"),l.setAttribute("in2",n+"_drop_shadow_2"),l.setAttribute("operator","in"),l.setAttribute("result",n+"_drop_shadow_4"),t.appendChild(l);var h=this.createMergeNode(n,[n+"_drop_shadow_4",i]);t.appendChild(h)}extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,n=this.filterManager.effectElements[2].p.v/100;this.linearFilter.setAttribute("values",linearFilterValue+" "+n+" 0"),this.matrixFilter.setAttribute("values",r[0]-e[0]+" 0 0 0 "+e[0]+" "+(r[1]-e[1])+" 0 0 0 "+e[1]+" "+(r[2]-e[2])+" 0 0 0 "+e[2]+" 0 0 0 1 0")}},SVGFillFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[2].p.v,r=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+e[0]+" 0 0 0 0 "+e[1]+" 0 0 0 0 "+e[2]+" 0 0 0 "+r+" 0")}},SVGStrokeEffect.prototype.initialize=function(){var t,e,r,n,i=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(1===this.filterManager.effectElements[1].p.v?(n=this.elem.maskManager.masksProperties.length,r=0):(r=this.filterManager.effectElements[0].p.v-1,n=r+1),e=createNS("g"),e.setAttribute("fill","none"),e.setAttribute("stroke-linecap","round"),e.setAttribute("stroke-dashoffset",1),r;r<n;r+=1)t=createNS("path"),e.appendChild(t),this.paths.push({p:t,m:r});if(3===this.filterManager.effectElements[10].p.v){var o=createNS("mask"),a=createElementID();o.setAttribute("id",a),o.setAttribute("mask-type","alpha"),o.appendChild(e),this.elem.globalData.defs.appendChild(o);var s=createNS("g");s.setAttribute("mask","url("+getLocationHref()+"#"+a+")");while(i[0])s.appendChild(i[0]);this.elem.layerElement.appendChild(s),this.masker=o,e.setAttribute("stroke","#fff")}else if(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v){if(2===this.filterManager.effectElements[10].p.v){i=this.elem.layerElement.children||this.elem.layerElement.childNodes;while(i.length)this.elem.layerElement.removeChild(i[0])}this.elem.layerElement.appendChild(e),this.elem.layerElement.removeAttribute("mask"),e.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=e},SVGStrokeEffect.prototype.renderFrame=function(t){var e;this.initialized||this.initialize();var r,n,i=this.paths.length;for(e=0;e<i;e+=1)if(-1!==this.paths[e].m&&(r=this.elem.maskManager.viewData[this.paths[e].m],n=this.paths[e].p,(t||this.filterManager._mdf||r.prop._mdf)&&n.setAttribute("d",r.lastPath),t||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||r.prop._mdf)){var o;if(0!==this.filterManager.effectElements[7].p.v||100!==this.filterManager.effectElements[8].p.v){var a=.01*Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),s=.01*Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),u=n.getTotalLength();o="0 0 0 "+u*a+" ";var c,l=u*(s-a),h=1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01,f=Math.floor(l/h);for(c=0;c<f;c+=1)o+="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01+" ";o+="0 "+10*u+" 0 0"}else o="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01;n.setAttribute("stroke-dasharray",o)}if((t||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",2*this.filterManager.effectElements[4].p.v),(t||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v)&&(t||this.filterManager.effectElements[3].p._mdf)){var d=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(255*d[0])+","+bmFloor(255*d[1])+","+bmFloor(255*d[2])+")")}},SVGTritoneFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,n=this.filterManager.effectElements[2].p.v,i=n[0]+" "+r[0]+" "+e[0],o=n[1]+" "+r[1]+" "+e[1],a=n[2]+" "+r[2]+" "+e[2];this.feFuncR.setAttribute("tableValues",i),this.feFuncG.setAttribute("tableValues",o),this.feFuncB.setAttribute("tableValues",a)}},SVGProLevelsFilter.prototype.createFeFunc=function(t,e){var r=createNS(t);return r.setAttribute("type","table"),e.appendChild(r),r},SVGProLevelsFilter.prototype.getTableValue=function(t,e,r,n,i){var o,a,s=0,u=256,c=Math.min(t,e),l=Math.max(t,e),h=Array.call(null,{length:u}),f=0,d=i-n,p=e-t;while(s<=256)o=s/256,a=o<=c?p<0?i:n:o>=l?p<0?n:i:n+d*Math.pow((o-t)/p,1/r),h[f]=a,f+=1,s+=256/(u-1);return h.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e,r=this.filterManager.effectElements;this.feFuncRComposed&&(t||r[3].p._mdf||r[4].p._mdf||r[5].p._mdf||r[6].p._mdf||r[7].p._mdf)&&(e=this.getTableValue(r[3].p.v,r[4].p.v,r[5].p.v,r[6].p.v,r[7].p.v),this.feFuncRComposed.setAttribute("tableValues",e),this.feFuncGComposed.setAttribute("tableValues",e),this.feFuncBComposed.setAttribute("tableValues",e)),this.feFuncR&&(t||r[10].p._mdf||r[11].p._mdf||r[12].p._mdf||r[13].p._mdf||r[14].p._mdf)&&(e=this.getTableValue(r[10].p.v,r[11].p.v,r[12].p.v,r[13].p.v,r[14].p.v),this.feFuncR.setAttribute("tableValues",e)),this.feFuncG&&(t||r[17].p._mdf||r[18].p._mdf||r[19].p._mdf||r[20].p._mdf||r[21].p._mdf)&&(e=this.getTableValue(r[17].p.v,r[18].p.v,r[19].p.v,r[20].p.v,r[21].p.v),this.feFuncG.setAttribute("tableValues",e)),this.feFuncB&&(t||r[24].p._mdf||r[25].p._mdf||r[26].p._mdf||r[27].p._mdf||r[28].p._mdf)&&(e=this.getTableValue(r[24].p.v,r[25].p.v,r[26].p.v,r[27].p.v,r[28].p.v),this.feFuncB.setAttribute("tableValues",e)),this.feFuncA&&(t||r[31].p._mdf||r[32].p._mdf||r[33].p._mdf||r[34].p._mdf||r[35].p._mdf)&&(e=this.getTableValue(r[31].p.v,r[32].p.v,r[33].p.v,r[34].p.v,r[35].p.v),this.feFuncA.setAttribute("tableValues",e))}},extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){if((t||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),t||this.filterManager.effectElements[0].p._mdf){var e=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(255*e[0]),Math.round(255*e[1]),Math.round(255*e[2])))}if((t||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),t||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var r=this.filterManager.effectElements[3].p.v,n=(this.filterManager.effectElements[2].p.v-90)*degToRads,i=r*Math.cos(n),o=r*Math.sin(n);this.feOffset.setAttribute("dx",i),this.feOffset.setAttribute("dy",o)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(t,e,r){this.initialized=!1,this.filterManager=e,this.filterElem=t,this.elem=r,r.matteElement=createNS("g"),r.matteElement.appendChild(r.layerElement),r.matteElement.appendChild(r.transformedElement),r.baseElement=r.matteElement}function SVGGaussianBlurEffect(t,e,r,n){t.setAttribute("x","-100%"),t.setAttribute("y","-100%"),t.setAttribute("width","300%"),t.setAttribute("height","300%"),this.filterManager=e;var i=createNS("feGaussianBlur");i.setAttribute("result",n),t.appendChild(i),this.feGaussianBlur=i}function TransformEffect(){}function SVGTransformEffect(t,e){this.init(e)}function CVTransformEffect(t){this.init(t)}return SVGMatte3Effect.prototype.findSymbol=function(t){var e=0,r=_svgMatteSymbols.length;while(e<r){if(_svgMatteSymbols[e]===t)return _svgMatteSymbols[e];e+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(t,e){var r=t.layerElement.parentNode;if(r){var n,i=r.children,o=0,a=i.length;while(o<a){if(i[o]===t.layerElement)break;o+=1}o<=a-2&&(n=i[o+1]);var s=createNS("use");s.setAttribute("href","#"+e),n?r.insertBefore(s,n):r.appendChild(s)}},SVGMatte3Effect.prototype.setElementAsMask=function(t,e){if(!this.findSymbol(e)){var r=createElementID(),n=createNS("mask");n.setAttribute("id",e.layerId),n.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(e);var i=t.globalData.defs;i.appendChild(n);var o=createNS("symbol");o.setAttribute("id",r),this.replaceInParent(e,r),o.appendChild(e.layerElement),i.appendChild(o);var a=createNS("use");a.setAttribute("href","#"+r),n.appendChild(a),e.data.hd=!1,e.show()}t.setMatte(e.layerId)},SVGMatte3Effect.prototype.initialize=function(){var t=this.filterManager.effectElements[0].p.v,e=this.elem.comp.elements,r=0,n=e.length;while(r<n)e[r]&&e[r].data.ind===t&&this.setElementAsMask(this.elem,e[r]),r+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()},SVGGaussianBlurEffect.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=.3,r=this.filterManager.effectElements[0].p.v*e,n=this.filterManager.effectElements[1].p.v,i=3==n?0:r,o=2==n?0:r;this.feGaussianBlur.setAttribute("stdDeviation",i+" "+o);var a=1==this.filterManager.effectElements[2].p.v?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",a)}},TransformEffect.prototype.init=function(t){this.effectsManager=t,this.type=effectTypes.TRANSFORM_EFFECT,this.matrix=new Matrix,this.opacity=-1,this._mdf=!1,this._opMdf=!1},TransformEffect.prototype.renderFrame=function(t){if(this._opMdf=!1,this._mdf=!1,t||this.effectsManager._mdf){var e=this.effectsManager.effectElements,r=e[0].p.v,n=e[1].p.v,i=1===e[2].p.v,o=e[3].p.v,a=i?o:e[4].p.v,s=e[5].p.v,u=e[6].p.v,c=e[7].p.v;this.matrix.reset(),this.matrix.translate(-r[0],-r[1],r[2]),this.matrix.scale(.01*a,.01*o,1),this.matrix.rotate(-c*degToRads),this.matrix.skewFromAxis(-s*degToRads,(u+90)*degToRads),this.matrix.translate(n[0],n[1],0),this._mdf=!0,this.opacity!==e[8].p.v&&(this.opacity=e[8].p.v,this._opMdf=!0)}},extendPrototype([TransformEffect],SVGTransformEffect),extendPrototype([TransformEffect],CVTransformEffect),registerRenderer("canvas",CanvasRenderer),registerRenderer("html",HybridRenderer),registerRenderer("svg",SVGRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier),ShapeModifiers.registerModifier("zz",ZigZagModifier),ShapeModifiers.registerModifier("op",OffsetPathModifier),setExpressionsPlugin(Expressions),setExpressionInterfaces(getInterface),initialize$1(),initialize(),registerEffect$1(20,SVGTintFilter,!0),registerEffect$1(21,SVGFillFilter,!0),registerEffect$1(22,SVGStrokeEffect,!1),registerEffect$1(23,SVGTritoneFilter,!0),registerEffect$1(24,SVGProLevelsFilter,!0),registerEffect$1(25,SVGDropShadowEffect,!0),registerEffect$1(28,SVGMatte3Effect,!1),registerEffect$1(29,SVGGaussianBlurEffect,!0),registerEffect$1(35,SVGTransformEffect,!1),registerEffect(35,CVTransformEffect),lottie}))},9564:function(t,e,r){"use strict";t.exports=o;var n=r("2110");(o.prototype=Object.create(n.prototype)).constructor=o;var i=r("e938");function o(t){n.call(this,t)}o._configure=function(){i.Buffer&&(o.prototype._slice=i.Buffer.prototype.slice)},o.prototype.string=function(){var t=this.uint32();return this.buf.utf8Slice?this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+t,this.len)):this.buf.toString("utf-8",this.pos,this.pos=Math.min(this.pos+t,this.len))},o._configure()},"956c":function(t,e,r){"use strict";function n(t){if("number"===typeof t){if(n.codes[t])return n.codes[t];throw new Error("no protocol with code: "+t)}if("string"===typeof t){if(n.names[t])return n.names[t];throw new Error("no protocol with name: "+t)}throw new Error("invalid protocol id type: "+t)}const i=-1;function o(t,e,r,n,i){return{code:t,size:e,name:r,resolvable:Boolean(n),path:Boolean(i)}}n.lengthPrefixedVarSize=i,n.V=i,n.table=[[4,32,"ip4"],[6,16,"tcp"],[33,16,"dccp"],[41,128,"ip6"],[42,i,"ip6zone"],[53,i,"dns","resolvable"],[54,i,"dns4","resolvable"],[55,i,"dns6","resolvable"],[56,i,"dnsaddr","resolvable"],[132,16,"sctp"],[273,16,"udp"],[275,0,"p2p-webrtc-star"],[276,0,"p2p-webrtc-direct"],[277,0,"p2p-stardust"],[290,0,"p2p-circuit"],[301,0,"udt"],[302,0,"utp"],[400,i,"unix",!1,"path"],[421,i,"ipfs"],[421,i,"p2p"],[443,0,"https"],[444,96,"onion"],[445,296,"onion3"],[446,i,"garlic64"],[460,0,"quic"],[477,0,"ws"],[478,0,"wss"],[479,0,"p2p-websocket-star"],[480,0,"http"],[777,i,"memory"]],n.names={},n.codes={},n.table.map(t=>{const e=o.apply(null,t);return n.codes[e.code]=e,n.names[e.name]=e,null}),n.object=o,t.exports=n},"957c":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
function e(t,e){var r=t.split("_");return e%10===1&&e%100!==11?r[0]:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?r[1]:r[2]}function r(t,r,n){var i={ss:r?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:r?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",ww:"неделя_недели_недель",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};return"m"===n?r?"минута":"минуту":t+" "+e(i[n],+t)}var n=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i],i=t.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,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:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:r,m:r,mm:r,h:"час",hh:r,d:"день",dd:r,w:"неделя",ww:r,M:"месяц",MM:r,y:"год",yy:r},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(t){return/^(дня|вечера)$/.test(t)},meridiem:function(t,e,r){return t<4?"ночи":t<12?"утра":t<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":return t+"-й";case"D":return t+"-го";case"w":case"W":return t+"-я";default:return t}},week:{dow:1,doy:4}});return i}))},"958b":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
function e(t,e,r,n){switch(r){case"s":return e?"хэдхэн секунд":"хэдхэн секундын";case"ss":return t+(e?" секунд":" секундын");case"m":case"mm":return t+(e?" минут":" минутын");case"h":case"hh":return t+(e?" цаг":" цагийн");case"d":case"dd":return t+(e?" өдөр":" өдрийн");case"M":case"MM":return t+(e?" сар":" сарын");case"y":case"yy":return t+(e?" жил":" жилийн");default:return t}}var r=t.defineLocale("mn",{months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),monthsParseExact:!0,weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(t){return"ҮХ"===t},meridiem:function(t,e,r){return t<12?"ҮӨ":"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+" өдөр";default:return t}}});return r}))},9593:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("15c3"),i=r("57c4"),o=r("b127"),a=r("3d1f");function s(t){return{get:n.createGet(t),put:i.createPut(t),rm:o.createRm(t),stat:a.createStat(t)}}e.createBlock=s},"959f":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1ec9"),i=r("2a12");const o=n.configure(t=>{async function e(e,r={}){const n=await t.post("swarm/disconnect",{signal:r.signal,searchParams:i.toUrlSearchParams({arg:e,...r}),headers:r.headers}),{Strings:o}=await n.json();return o||[]}return e});e.createDisconnect=o},"95ed":function(t,e,r){},9606:function(t,e,r){"use strict";r.d(e,"a",(function(){return c}));var n=r("fd3a"),i=r("b69b"),o=r("82bd"),a=r("8c86");function s(t){Object(a["a"])(1,arguments);var e=Object(o["a"])(t),r=new Date(0);r.setUTCFullYear(e,0,4),r.setUTCHours(0,0,0,0);var n=Object(i["a"])(r);return n}var u=6048e5;function c(t){Object(a["a"])(1,arguments);var e=Object(n["a"])(t),r=Object(i["a"])(e).getTime()-s(e).getTime();return Math.round(r/u)+1}},9609:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"},r=t.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".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:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кечээ саат] LT",lastWeek:"[Өткөн аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(t){var r=t%10,n=t>=100?100:null;return t+(e[t]||e[r]||e[n])},week:{dow:1,doy:7}});return r}))},9620:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("b50c"),i=r("c58d"),o=r("5429"),a=r("0fcc"),s=r("2c5e"),u=r("73ac"),c=r("3169"),l=r("3a7e"),h=r("6516"),f=r("a90d"),d=r("d63e");function p(t){return{chmod:n.createChmod(t),cp:i.createCp(t),flush:o.createFlush(t),ls:a.createLs(t),mkdir:s.createMkdir(t),mv:u.createMv(t),read:c.createRead(t),rm:l.createRm(t),stat:h.createStat(t),touch:f.createTouch(t),write:d.createWrite(t)}}e.createFiles=p},9637:function(t,e,r){"use strict";var n=r("b81c");r.d(e,"a",(function(){return n["a"]}));n["a"]},9658:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("fb86"),i=r("1ec9"),o=r("2a12");const a=i.configure(t=>{async function*e(e={}){const r=await t.post("repo/gc",{signal:e.signal,searchParams:o.toUrlSearchParams(e),headers:e.headers,transform:t=>({err:t.Error?new Error(t.Error):null,cid:(t.Key||{})["/"]?n.CID.parse(t.Key["/"]):null})});yield*r.ndjson()}return e});e.createGc=a},9686:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},r={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},n=t.defineLocale("bn-bd",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".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:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(t){return t.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(t){return r[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/,meridiemHour:function(t,e){return 12===t&&(t=0),"রাত"===e?t<4?t:t+12:"ভোর"===e||"সকাল"===e?t:"দুপুর"===e?t>=3?t:t+12:"বিকাল"===e||"সন্ধ্যা"===e?t+12:void 0},meridiem:function(t,e,r){return t<4?"রাত":t<6?"ভোর":t<12?"সকাল":t<15?"দুপুর":t<18?"বিকাল":t<20?"সন্ধ্যা":"রাত"},week:{dow:0,doy:6}});return n}))},"96a9":function(t,e,r){},"972c":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
function e(t,e,r){var n={ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"săptămâni",MM:"luni",yy:"ani"},i=" ";return(t%100>=20||t>=100&&t%100===0)&&(i=" de "),t+i+n[r]}var r=t.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ă_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".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âine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:e,m:"un minut",mm:e,h:"o oră",hh:e,d:"o zi",dd:e,w:"o săptămână",ww:e,M:"o lună",MM:e,y:"un an",yy:e},week:{dow:1,doy:7}});return r}))},9734:function(t,e,r){},9797:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.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 ôl",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(t){var e=t,r="",n=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"];return e>20?r=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(r=n[e]),t+r},week:{dow:1,doy:4}});return e}))},"985a":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1169"),i=r("1ec9"),o=r("2a12");const a=i.configure(t=>{async function e(e,r,i={}){const a=await t.post("key/rename",{signal:i.signal,searchParams:o.toUrlSearchParams({arg:[e,r],...i}),headers:i.headers});return n.objectToCamel(await a.json())}return e});e.createRename=a},9894:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("dc74"),i=r("dd7b");const o=n.from({prefix:"\0",name:"identity",encode:t=>i.toString(t),decode:t=>i.fromString(t)});e.identity=o},9910:function(t,e,r){"use strict";var n=r("a523");r.d(e,"b",(function(){return n["a"]}));var i=r("62ad");r.d(e,"a",(function(){return i["a"]}));var o=r("0fd9");r.d(e,"e",(function(){return o["a"]}));var a=r("2fa4");r.d(e,"f",(function(){return a["a"]}));var s=r("a722");r.d(e,"d",(function(){return s["a"]}));var u=r("0e8f");r.d(e,"c",(function(){return u["a"]}));n["a"],i["a"],o["a"],a["a"],s["a"],u["a"]},9965:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1169"),i=r("1ec9"),o=r("2a12");const a=i.configure(t=>{async function e(e,r={type:"rsa",size:2048}){const i=await t.post("key/gen",{signal:r.signal,searchParams:o.toUrlSearchParams({arg:e,...r}),headers:r.headers}),a=await i.json();return n.objectToCamel(a)}return e});e.createGen=a},9975:function(t,e,r){"use strict";const n=async t=>{let e;for await(const r of t)e=r;return e};t.exports=n},"99c3":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("fb86"),i=r("1169"),o=r("1ec9"),a=r("842b"),s=r("2a12"),u=r("876b"),c=r("c181");const l=o.configure(t=>{async function*e(e,r={}){const n=new c.AbortController,o=u.abortSignal(n.signal,r.signal),{headers:l,body:f,total:p,parts:m}=await a.multipartRequest(e,n,r.headers),[g,y]="function"===typeof r.progress?h(p,m,r.progress):[void 0,void 0],v=await t.post("add",{searchParams:s.toUrlSearchParams({"stream-channels":!0,...r,progress:Boolean(g)}),onUploadProgress:y,signal:o,headers:l,body:f});for await(let t of v.ndjson())t=i.objectToCamel(t),void 0!==t.hash?yield d(t):g&&g(t.bytes||0,t.name)}return e}),h=(t,e,r)=>e?[void 0,f(t,e,r)]:[r,void 0],f=(t,e,r)=>{let n=0;const i=e.length;return({loaded:o,total:a})=>{const s=Math.floor(o/a*t);while(n<i){const{start:t,end:i,name:o}=e[n];if(s<i){r(s-t,o);break}r(i-t,o),n+=1}}};function d({name:t,hash:e,size:r,mode:i,mtime:o,mtimeNsecs:a}){const s={path:t,cid:n.CID.parse(e),size:parseInt(r)};return null!=i&&(s.mode=parseInt(i,8)),null!=o&&(s.mtime={secs:o,nsecs:a||0}),s}e.createAddAll=l},"99d9":function(t,e,r){"use strict";r.d(e,"b",(function(){return o})),r.d(e,"c",(function(){return a})),r.d(e,"d",(function(){return s})),r.d(e,"e",(function(){return u}));var n=r("b0af");r.d(e,"a",(function(){return n["a"]}));var i=r("80d2");const o=Object(i["k"])("v-card__actions"),a=Object(i["k"])("v-card__subtitle"),s=Object(i["k"])("v-card__text"),u=Object(i["k"])("v-card__title");n["a"]},"9a18":function(t,e,r){"use strict";var n=r("ba0d");r.d(e,"a",(function(){return n["a"]})),e["b"]=n["a"]},"9a2e":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("dd7b");const i="raw",o=85,a=t=>n.coerce(t),s=t=>n.coerce(t);e.code=o,e.decode=s,e.encode=a,e.name=i},"9a44":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("29f9");const i=({name:t,code:e,encode:r})=>new o(t,e,r);class o{constructor(t,e,r){this.name=t,this.code=e,this.encode=r}digest(t){if(t instanceof Uint8Array){const e=this.encode(t);return e instanceof Uint8Array?n.create(this.code,e):e.then(t=>n.create(this.code,t))}throw Error("Unknown type, must be binary type")}}e.Hasher=o,e.from=i},"9a96":function(t,e,r){"use strict";var n=r("a9ad"),i=r("58df");e["a"]=Object(i["a"])(n["a"]).extend({name:"v-tabs-slider",render(t){return t("div",this.setBackgroundColor(this.color,{staticClass:"v-tabs-slider"}))}})},"9ab4":function(t,e,r){"use strict";r.d(e,"d",(function(){return i})),r.d(e,"a",(function(){return o})),r.d(e,"c",(function(){return a})),r.d(e,"b",(function(){return s})),r.d(e,"e",(function(){return u}));
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
var n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},n(t,e)};function i(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var o=function(){return o=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var i in e=arguments[r],e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},o.apply(this,arguments)};function a(t,e,r,n){var i,o=arguments.length,a=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(i=t[s])&&(a=(o<3?i(a):o>3?i(e,r,a):i(e,r))||a);return o>3&&a&&Object.defineProperty(e,r,a),a}function s(t,e,r,n){function i(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,o){function a(t){try{u(n.next(t))}catch(e){o(e)}}function s(t){try{u(n["throw"](t))}catch(e){o(e)}}function u(t){t.done?r(t.value):i(t.value).then(a,s)}u((n=n.apply(t,e||[])).next())}))}function u(t,e){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(e){return u([t,e])}}function u(o){if(r)throw new TypeError("Generator is already executing.");while(a)try{if(r=1,n&&(i=2&o[0]?n["return"]:o[0]?n["throw"]||((i=n["return"])&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}},"9b08":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1ec9"),i=r("2a12");const o=n.configure(t=>{async function e(e,r={}){const n=await t.post("config/profile/apply",{signal:r.signal,searchParams:i.toUrlSearchParams({arg:e,...r}),headers:r.headers}),o=await n.json();return{original:o.OldCfg,updated:o.NewCfg}}return e});e.createApply=o},"9d01":function(t,e,r){},"9d26":function(t,e,r){"use strict";var n=r("132d");r.d(e,"a",(function(){return n["a"]})),e["b"]=n["a"]},"9d65":function(t,e,r){"use strict";var n=r("d9bd"),i=r("2b0e");e["a"]=i["default"].extend().extend({name:"bootable",props:{eager:Boolean},data:()=>({isBooted:!1}),computed:{hasContent(){return this.isBooted||this.eager||this.isActive}},watch:{isActive(){this.isBooted=!0}},created(){"lazy"in this.$attrs&&Object(n["e"])("lazy",this)},methods:{showLazyContent(t){return this.hasContent&&t?t():[this.$createElement()]}}})},"9d93":function(t,e,r){"use strict";r.d(e,"a",(function(){return n["a"]})),r.d(e,"b",(function(){return i["a"]})),r.d(e,"c",(function(){return s})),r.d(e,"d",(function(){return u["a"]})),r.d(e,"e",(function(){return c["a"]})),r.d(e,"f",(function(){return l["a"]})),r.d(e,"g",(function(){return h["a"]}));var n=r("a293"),i=r("90a2");function o(t,e,r){const n=e.modifiers||{},i=e.value,o="object"===typeof i?i.handler:i,{once:s,...u}=n,c=Object.keys(u).length>0,l="object"===typeof i&&i.options?i.options:c?{attributes:u.attr,childList:u.child,subtree:u.sub,characterData:u.char}:{attributes:!0,childList:!0,subtree:!0,characterData:!0},h=new MutationObserver((n,i)=>{t._mutate&&(o(n,i),s&&a(t,e,r))});h.observe(t,l),t._mutate=Object(t._mutate),t._mutate[r.context._uid]={observer:h}}function a(t,e,r){var n;(null===(n=t._mutate)||void 0===n?void 0:n[r.context._uid])&&(t._mutate[r.context._uid].observer.disconnect(),delete t._mutate[r.context._uid])}const s={inserted:o,unbind:a};var u=r("dc22"),c=r("5607"),l=r("f977"),h=r("c3f0")},"9dbe":function(t,e,r){"use strict";var n=r("d903"),i=r("4e82"),o=r("58df");e["a"]=Object(o["a"])(n["a"],Object(i["a"])("slideGroup")).extend({name:"v-slide-item"})},"9dc5":function(t,e,r){"use strict";var n=r("608e"),i=r("dbe1"),o=r("8cb5");function a(t){if(!t||!t.accessToken)throw new Error("Cannot create a client without an access token");n(t.accessToken),this.accessToken=t.accessToken,this.origin=t.origin||o.API_ORIGIN}a.prototype.createRequest=function(t){return new i(this,t)},t.exports=a},"9e29":function(t,e,r){},"9e7f":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("2a12"),i=r("8b34");function o(t){async function e(e={}){const{stat:r,headers:o,timeout:a,signal:s}=e,u=await t.post("pin/remote/service/ls",{timeout:a,signal:s,headers:o,searchParams:!0===r?n.toUrlSearchParams({stat:r}):void 0}),{RemoteServices:c}=await u.json();return c.map(i.decodeRemoteService)}return e}e.createLs=o},"9e88":function(t,e,r){"use strict";r("cf36");var n=r("5607"),i=r("2b0e"),o=r("132d"),a=r("a9ad"),s=r("7560"),u=r("d9f7"),c=r("80d2");e["a"]=i["default"].extend({name:"v-simple-checkbox",functional:!0,directives:{Ripple:n["b"]},props:{...a["a"].options.props,...s["a"].options.props,disabled:Boolean,ripple:{type:Boolean,default:!0},value:Boolean,indeterminate:Boolean,indeterminateIcon:{type:String,default:"$checkboxIndeterminate"},onIcon:{type:String,default:"$checkboxOn"},offIcon:{type:String,default:"$checkboxOff"}},render(t,{props:e,data:r,listeners:i}){const s=[];let l=e.offIcon;if(e.indeterminate?l=e.indeterminateIcon:e.value&&(l=e.onIcon),s.push(t(o["a"],a["a"].options.methods.setTextColor(e.value&&e.color,{props:{disabled:e.disabled,dark:e.dark,light:e.light}}),l)),e.ripple&&!e.disabled){const r=t("div",a["a"].options.methods.setTextColor(e.color,{staticClass:"v-input--selection-controls__ripple",directives:[{def:n["b"],name:"ripple",value:{center:!0}}]}));s.push(r)}return t("div",Object(u["a"])(r,{class:{"v-simple-checkbox":!0,"v-simple-checkbox--disabled":e.disabled},on:{click:t=>{t.stopPropagation(),r.on&&r.on.input&&!e.disabled&&Object(c["K"])(r.on.input).forEach(t=>t(!e.value))}}}),[t("div",{staticClass:"v-input--selection-controls__input"},s)])}})},"9f22":function(t,e,r){"use strict";var n=r("d903");r.d(e,"a",(function(){return n["b"]}));var i=r("604c");r.d(e,"b",(function(){return i["b"]}));n["b"],i["b"]},"9f26":function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,r=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,n=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,i=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i],o=t.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:n,monthsShortRegex:n,monthsStrictRegex:e,monthsShortStrictRegex:r,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,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’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] 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(t,e){switch(e){case"D":return t+(1===t?"er":"");default:case"M":case"Q":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}});return o}))},"9f46":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1169"),i=r("1ec9"),o=r("2a12");const a=i.configure(t=>{async function e(e={}){const r=await t.post("key/list",{signal:e.signal,searchParams:o.toUrlSearchParams(e),headers:e.headers}),i=await r.json();return(i.Keys||[]).map(t=>n.objectToCamel(t))}return e});e.createList=a},"9f7f":function(t,e,r){},"9f8c":function(t,e,r){"use strict";var n=()=>{};t.exports=n},a066:function(t,e,r){"use strict";var n=r("7119"),i=r("ef78"),o=r("8cb5"),a=r("72bc"),s={};function u(t){var e=s[t.id];e&&(e.abort(),delete s[t.id])}function c(t,e){return new n(t,{body:e.response,headers:a(e.getAllResponseHeaders()),statusCode:e.status})}function l(t){var e=t.total,r=t.loaded,n=100*r/e;return{total:e,transferred:r,percent:n}}function h(t,e){return new Promise((function(r,n){e.onprogress=function(e){t.emitter.emit(o.EVENT_PROGRESS_DOWNLOAD,l(e))};var a=t.file;a&&(e.upload.onprogress=function(e){t.emitter.emit(o.EVENT_PROGRESS_UPLOAD,l(e))}),e.onerror=function(t){n(t)},e.onabort=function(){var e=new i({request:t,type:o.ERROR_REQUEST_ABORTED});n(e)},e.onload=function(){if(delete s[t.id],e.status<200||e.status>=400){var o=new i({request:t,body:e.response,statusCode:e.status});n(o)}else r(e)};var u=t.body;"string"===typeof u?e.send(u):u?e.send(JSON.stringify(u)):a?e.send(a):e.send(),s[t.id]=e})).then((function(e){return c(t,e)}))}function f(t,e){var r=t.url(e),n=new window.XMLHttpRequest;return n.open(t.method,r),Object.keys(t.headers).forEach((function(e){n.setRequestHeader(e,t.headers[e])})),n}function d(t){return Promise.resolve().then((function(){var e=f(t,t.client.accessToken);return h(t,e)}))}t.exports={browserAbort:u,sendRequestXhr:h,browserSend:d,createRequestXhr:f}},a096:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1ec9"),i=r("2a12");const o=n.configure(t=>{async function e(e={}){const r=await t.post("diag/sys",{signal:e.signal,searchParams:i.toUrlSearchParams(e),headers:e.headers});return r.json()}return e});e.createSys=o},a127:function(t,e,r){"use strict";function n(t){const[e,r]=t[Symbol.asyncIterator]?[t[Symbol.asyncIterator](),Symbol.asyncIterator]:[t[Symbol.iterator](),Symbol.iterator],n=[];return{peek:()=>e.next(),push:t=>{n.push(t)},next:()=>n.length?{done:!1,value:n.shift()}:e.next(),[r](){return this}}}t.exports=n},a13c:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1169"),i=r("1ec9"),o=r("2a12");const a=i.configure(t=>{async function e(e={}){const r=await t.post("config/profile/list",{signal:e.signal,searchParams:o.toUrlSearchParams(e),headers:e.headers}),i=await r.json();return i.map(t=>n.objectToCamel(t))}return e});e.createList=a},a1a8:function(t,e,r){"use strict";const n=r("1175"),i=r("956c"),{CID:o}=r("fb86"),{base32:a}=r("17fb"),{base58btc:s}=r("e4de"),u=r("29f9"),c=r("2612"),{toString:l}=r("eaf0"),{fromString:h}=r("bdff"),{concat:f}=r("a828");function d(t,e){return e instanceof Uint8Array?d.toString(t,e):d.toBytes(t,e)}function p(t){if(!n.isIP(t))throw new Error("invalid ip address");return n.toBytes(t)}function m(t){const e=n.toString(t);if(!e||!n.isIP(e))throw new Error("invalid ip address");return e}function g(t){const e=new ArrayBuffer(2),r=new DataView(e);return r.setUint16(0,t),new Uint8Array(e)}function y(t){const e=new DataView(t.buffer);return e.getUint16(t.byteOffset)}function v(t){const e=h(t),r=Uint8Array.from(c.encode(e.length));return f([r,e],r.length+e.length)}function b(t){const e=c.decode(t);if(t=t.slice(c.decode.bytes),t.length!==e)throw new Error("inconsistent lengths");return l(t)}function _(t){let e;e="Q"===t[0]||"1"===t[0]?u.decode(s.decode("z"+t)).bytes:o.parse(t).multihash.bytes;const r=Uint8Array.from(c.encode(e.length));return f([r,e],r.length+e.length)}function w(t){const e=c.decode(t),r=t.slice(c.decode.bytes);if(r.length!==e)throw new Error("inconsistent lengths");return l(r,"base58btc")}function x(t){const e=t.split(":");if(2!==e.length)throw new Error("failed to parse onion addr: "+e+" does not contain a port number");if(16!==e[0].length)throw new Error("failed to parse onion addr: "+e[0]+" not a Tor onion address.");const r=a.decode("b"+e[0]),n=parseInt(e[1],10);if(n<1||n>65536)throw new Error("Port number is not in range(1, 65536)");const i=g(n);return f([r,i],r.length+i.length)}function k(t){const e=t.split(":");if(2!==e.length)throw new Error("failed to parse onion addr: "+e+" does not contain a port number");if(56!==e[0].length)throw new Error("failed to parse onion addr: "+e[0]+" not a Tor onion3 address.");const r=a.decode("b"+e[0]),n=parseInt(e[1],10);if(n<1||n>65536)throw new Error("Port number is not in range(1, 65536)");const i=g(n);return f([r,i],r.length+i.length)}function S(t){const e=t.slice(0,t.length-2),r=t.slice(t.length-2),n=l(e,"base32"),i=y(r);return n+":"+i}t.exports=d,d.toString=function(t,e){const r=i(t);switch(r.code){case 4:case 41:return m(e);case 6:case 273:case 33:case 132:return y(e).toString();case 53:case 54:case 55:case 56:case 400:case 777:return b(e);case 421:return w(e);case 444:return S(e);case 445:return S(e);default:return l(e,"base16")}},d.toBytes=function(t,e){const r=i(t);switch(r.code){case 4:return p(e);case 41:return p(e);case 6:case 273:case 33:case 132:return g(parseInt(e,10));case 53:case 54:case 55:case 56:case 400:case 777:return v(e);case 421:return _(e);case 444:return x(e);case 445:return k(e);default:return h(e,"base16")}}},a236:function(t,e,r){"use strict";var n=r("2b0e");e["a"]=n["default"].extend({name:"roundable",props:{rounded:[Boolean,String],tile:Boolean},computed:{roundedClasses(){const t=[],e="string"===typeof this.rounded?String(this.rounded):!0===this.rounded;if(this.tile)t.push("rounded-0");else if("string"===typeof e){const r=e.split(" ");for(const e of r)t.push("rounded-"+e)}else e&&t.push("rounded");return t.length>0?{[t.join(" ")]:!0}:{}}}})},a293:function(t,e,r){"use strict";r.d(e,"a",(function(){return c}));var n=r("dd89");function i(){return!0}function o(t,e,r){if(!t||!1===a(t,r))return!1;const i=Object(n["a"])(e);if("undefined"!==typeof ShadowRoot&&i instanceof ShadowRoot&&i.host===t.target)return!1;const o=("object"===typeof r.value&&r.value.include||(()=>[]))();return o.push(e),!o.some(e=>e.contains(t.target))}function a(t,e){const r="object"===typeof e.value&&e.value.closeConditional||i;return r(t)}function s(t,e,r){const n="function"===typeof r.value?r.value:r.value.handler;e._clickOutside.lastMousedownWasOutside&&o(t,e,r)&&setTimeout(()=>{a(t,r)&&n&&n(t)},0)}function u(t,e){const r=Object(n["a"])(t);e(document),"undefined"!==typeof ShadowRoot&&r instanceof ShadowRoot&&e(r)}const c={inserted(t,e,r){const n=r=>s(r,t,e),i=r=>{t._clickOutside.lastMousedownWasOutside=o(r,t,e)};u(t,t=>{t.addEventListener("click",n,!0),t.addEventListener("mousedown",i,!0)}),t._clickOutside||(t._clickOutside={lastMousedownWasOutside:!0}),t._clickOutside[r.context._uid]={onClick:n,onMousedown:i}},unbind(t,e,r){t._clickOutside&&(u(t,e=>{var n;if(!e||!(null===(n=t._clickOutside)||void 0===n?void 0:n[r.context._uid]))return;const{onClick:i,onMousedown:o}=t._clickOutside[r.context._uid];e.removeEventListener("click",i,!0),e.removeEventListener("mousedown",o,!0)}),delete t._clickOutside[r.context._uid])}};e["b"]=c},a356:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},r={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},n=function(t){return function(n,i,o,a){var s=e(n),u=r[t][e(n)];return 2===s&&(u=u[i?0:1]),u.replace(/%d/i,n)}},i=["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],o=t.defineLocale("ar-dz",{months:i,monthsShort:i,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,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:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,r){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %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(t){return t.replace(/,/g,"،")},week:{dow:0,doy:4}});return o}))},a384:function(t,e,r){"use strict";t.exports=i;var n=r("e938");function i(t,e){this.lo=t>>>0,this.hi=e>>>0}var o=i.zero=new i(0,0);o.toNumber=function(){return 0},o.zzEncode=o.zzDecode=function(){return this},o.length=function(){return 1};var a=i.zeroHash="\0\0\0\0\0\0\0\0";i.fromNumber=function(t){if(0===t)return o;var e=t<0;e&&(t=-t);var r=t>>>0,n=(t-r)/4294967296>>>0;return e&&(n=~n>>>0,r=~r>>>0,++r>4294967295&&(r=0,++n>4294967295&&(n=0))),new i(r,n)},i.from=function(t){if("number"===typeof t)return i.fromNumber(t);if(n.isString(t)){if(!n.Long)return i.fromNumber(parseInt(t,10));t=n.Long.fromString(t)}return t.low||t.high?new i(t.low>>>0,t.high>>>0):o},i.prototype.toNumber=function(t){if(!t&&this.hi>>>31){var e=1+~this.lo>>>0,r=~this.hi>>>0;return e||(r=r+1>>>0),-(e+4294967296*r)}return this.lo+4294967296*this.hi},i.prototype.toLong=function(t){return n.Long?new n.Long(0|this.lo,0|this.hi,Boolean(t)):{low:0|this.lo,high:0|this.hi,unsigned:Boolean(t)}};var s=String.prototype.charCodeAt;i.fromHash=function(t){return t===a?o:new i((s.call(t,0)|s.call(t,1)<<8|s.call(t,2)<<16|s.call(t,3)<<24)>>>0,(s.call(t,4)|s.call(t,5)<<8|s.call(t,6)<<16|s.call(t,7)<<24)>>>0)},i.prototype.toHash=function(){return String.fromCharCode(255&this.lo,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,255&this.hi,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)},i.prototype.zzEncode=function(){var t=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^t)>>>0,this.lo=(this.lo<<1^t)>>>0,this},i.prototype.zzDecode=function(){var t=-(1&this.lo);return this.lo=((this.lo>>>1|this.hi<<31)^t)>>>0,this.hi=(this.hi>>>1^t)>>>0,this},i.prototype.length=function(){var t=this.lo,e=(this.lo>>>28|this.hi<<4)>>>0,r=this.hi>>>24;return 0===r?0===e?t<16384?t<128?1:2:t<2097152?3:4:e<16384?e<128?5:6:e<2097152?7:8:r<128?9:10}},a452:function(t,e,r){"use strict";var n=r("2b0e");function i(t="value",e="change"){return n["default"].extend({name:"proxyable",model:{prop:t,event:e},props:{[t]:{required:!1}},data(){return{internalLazyValue:this[t]}},computed:{internalValue:{get(){return this.internalLazyValue},set(t){t!==this.internalLazyValue&&(this.internalLazyValue=t,this.$emit(e,t))}}},watch:{[t](t){this.internalLazyValue=t}}})}const o=i();e["a"]=o},a4cc:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1755"),i=r("ac23"),o=r("b92d"),a=r("3ef0");function s(t,e,r,o){i.assertEnoughData(t,e,r+o);const s=a.slice(t,e+r,e+r+o);return new n.Token(n.Type.bytes,s,r+o)}function u(t,e,r,n){return s(t,e,1,r)}function c(t,e,r,n){return s(t,e,2,o.readUint8(t,e+1,n))}function l(t,e,r,n){return s(t,e,3,o.readUint16(t,e+1,n))}function h(t,e,r,n){return s(t,e,5,o.readUint32(t,e+1,n))}function f(t,e,r,n){const a=o.readUint64(t,e+1,n);if("bigint"===typeof a)throw new Error(i.decodeErrPrefix+" 64-bit integer bytes lengths not supported");return s(t,e,9,a)}function d(t){return void 0===t.encodedBytes&&(t.encodedBytes=t.type===n.Type.string?a.fromString(t.value):t.value),t.encodedBytes}function p(t,e){const r=d(e);o.encodeUintValue(t,e.type.majorEncoded,r.length),t.push(r)}function m(t,e){return t.length<e.length?-1:t.length>e.length?1:a.compare(t,e)}p.encodedSize=function(t){const e=d(t);return o.encodeUintValue.encodedSize(e.length)+e.length},p.compareTokens=function(t,e){return m(d(t),d(e))},e.compareBytes=m,e.decodeBytes16=l,e.decodeBytes32=h,e.decodeBytes64=f,e.decodeBytes8=c,e.decodeBytesCompact=u,e.encodeBytes=p},a523:function(t,e,r){"use strict";r("20f6"),r("4b85");var n=r("e8f2"),i=r("d9f7");e["a"]=Object(n["a"])("container").extend({name:"v-container",functional:!0,props:{id:String,tag:{type:String,default:"div"},fluid:{type:Boolean,default:!1}},render(t,{props:e,data:r,children:n}){let o;const{attrs:a}=r;return a&&(r.attrs={},o=Object.keys(a).filter(t=>{if("slot"===t)return!1;const e=a[t];return t.startsWith("data-")?(r.attrs[t]=e,!1):e||"string"===typeof e})),e.id&&(r.domProps=r.domProps||{},r.domProps.id=e.id),t(e.tag,Object(i["a"])(r,{staticClass:"container",class:Array({"container--fluid":e.fluid}).concat(o||[])}),n)}})},a563:function(t,e,r){"use strict";
/*!
 * v-currency-field v3.1.1 
 * (c) 2020 Philipe Augusto <phiny1@gmail.com>
 * Released under the MIT License.
 */function n(t){return n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function a(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?o(Object(r),!0).forEach((function(e){i(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function s(t,e){if(null==t)return{};var r,n,i={},o=Object.keys(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||(i[r]=t[r]);return i}function u(t,e){if(null==t)return{};var r,n,i=s(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)r=o[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}var c=function(t,e,r){var n=document.createEvent("CustomEvent");n.initCustomEvent(e,!0,!0,r),t.dispatchEvent(n)},l=function(t,e){return c(t,"format",{value:e})};
/**
 * Vue Currency Input 1.21.0
 * (c) 2018-2020 Matthias Stiller
 * @license MIT
 */
function h(t,e,r){var n=document.createEvent("CustomEvent");n.initCustomEvent(e,!0,!0,r),t.dispatchEvent(n)}var f=function(t,e,r){return e&&null!=t?Number(t.toFixed(r).split(".").join("")):t},d={locale:void 0,currency:"EUR",valueAsInteger:!1,distractionFree:!0,precision:void 0,autoDecimalMode:!1,valueRange:void 0,allowNegative:!0},p=function(t){var e=t.$ci,r=e.numberValue,n=e.currencyFormat,i=e.options;return f(r,i.valueAsInteger,n.maximumFractionDigits)},m=function(t,e){return h(t,"format",{value:e})},g=function(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")},y=function(t){return t.replace(/^0+(0$|[^0])/,"$1")},v=function(t,e){return(t.match(new RegExp(g(e),"g"))||[]).length},b=function(t,e){return t.substring(0,e.length)===e},_=function(t,e){return t.substring(0,t.indexOf(e))},w=function(t,e){return t.setSelectionRange(e,e)},x=function(t,e,r,n,i){var o=n.prefix,a=n.suffix,s=n.decimalSymbol,u=n.maximumFractionDigits,c=n.groupingSymbol,l=e.indexOf(s)+1,h=e.length-r;return Math.abs(t.length-e.length)>1&&r<=l?t.indexOf(s)+1:t.substr(r,1)===c&&v(t,c)===v(e,c)+1?t.length-h-1:(!i.autoDecimalMode&&0!==l&&r>l&&n.onlyDigits(e.substr(l)).length-1===u&&(h-=1),i.distractionFree.hideCurrencySymbol?t.length-h:Math.max(t.length-Math.max(h,a.length),0===o.length?0:o.length+1))},k=function(t,e,r,n){var i=n;return e.distractionFree.hideCurrencySymbol&&(i-=t.prefix.length),e.distractionFree.hideGroupingSymbol&&(i-=v(r.substring(0,n),t.groupingSymbol)),Math.max(0,i)},S=function t(e,r){if(e===r)return!0;if(!e||!r||"object"!==n(e)||"object"!==n(r))return!1;var i=Object.keys(e);return i.length===Object.keys(r).length&&(!!i.every(Object.prototype.hasOwnProperty.bind(r))&&i.every((function(n){return t(e[n],r[n])})))},E=[",",".","٫"],M=function(t){var e=t.currency,r=t.locale,i=t.precision,o=t.autoDecimalMode,a=t.valueAsInteger,s=new Intl.NumberFormat(r,"string"===typeof e?{currency:e,style:"currency"}:{minimumFractionDigits:1}),u=s.format(123456);this.locale=r,this.currency=e,this.digits=[0,1,2,3,4,5,6,7,8,9].map((function(t){return t.toLocaleString(r)})),this.decimalSymbol=v(u,this.digits[0])?u.substr(u.indexOf(this.digits[6])+1,1):void 0,this.groupingSymbol=u.substr(u.indexOf(this.digits[3])+1,1),this.minusSymbol=_(Number(-1).toLocaleString(r),this.digits[1]),void 0===this.decimalSymbol?this.minimumFractionDigits=this.maximumFractionDigits=0:"number"===typeof i?this.minimumFractionDigits=this.maximumFractionDigits=i:"object"!==n(i)||o||a?"string"===typeof e?(this.minimumFractionDigits=s.resolvedOptions().minimumFractionDigits,this.maximumFractionDigits=s.resolvedOptions().maximumFractionDigits):this.minimumFractionDigits=this.maximumFractionDigits=2:(this.minimumFractionDigits=i.min||0,this.maximumFractionDigits=void 0!==i.max?i.max:20),"string"===typeof e?(this.prefix=_(u,this.digits[1]),this.negativePrefix=_(s.format(-1),this.digits[1]),this.suffix=u.substring(u.lastIndexOf(this.decimalSymbol?this.digits[0]:this.digits[6])+1)):(this.prefix=(e||{}).prefix||"",this.negativePrefix=""+this.minusSymbol+this.prefix,this.suffix=(e||{}).suffix||"")};M.prototype.parse=function(t){var e=this.isNegative(t);t=this.normalizeDigits(t),t=this.stripCurrencySymbol(t),t=this.stripMinusSymbol(t);var r=this.decimalSymbol?"("+g(this.decimalSymbol)+"\\d*)?":"",n=t.match(new RegExp("^"+this.integerPattern()+r+"$"));return n?Number((e?"-":"")+this.onlyDigits(n[1])+"."+this.onlyDigits(n[3]||"")):null},M.prototype.format=function(t,e){return void 0===e&&(e={minimumFractionDigits:this.minimumFractionDigits,maximumFractionDigits:this.maximumFractionDigits}),"string"===typeof this.currency?t.toLocaleString(this.locale,Object.assign({},{style:"currency",currency:this.currency},e)):this.insertCurrencySymbol(Math.abs(t).toLocaleString(this.locale,e),t<0||0===t&&1/t<0)},M.prototype.integerPattern=function(){return"(0|[1-9]\\d{0,2}("+g(this.groupingSymbol)+"?\\d{3})*)"},M.prototype.toFraction=function(t){return""+this.digits[0]+this.decimalSymbol+this.onlyLocaleDigits(t.substr(1)).substr(0,this.maximumFractionDigits)},M.prototype.isFractionIncomplete=function(t){return!!this.normalizeDigits(t).match(new RegExp("^"+this.integerPattern()+g(this.decimalSymbol)+"$"))},M.prototype.isNegative=function(t){return b(t,this.negativePrefix)||b(t.replace("-",this.minusSymbol),this.minusSymbol)},M.prototype.insertCurrencySymbol=function(t,e){return""+(e?this.negativePrefix:this.prefix)+t+this.suffix},M.prototype.stripMinusSymbol=function(t){return t.replace("-",this.minusSymbol).replace(this.minusSymbol,"")},M.prototype.stripCurrencySymbol=function(t){return t.replace(this.negativePrefix,"").replace(this.prefix,"").replace(this.suffix,"")},M.prototype.normalizeDecimalSymbol=function(t,e){var r=this;return E.forEach((function(n){t=t.substr(0,e)+t.substr(e).replace(n,r.decimalSymbol)})),t},M.prototype.normalizeDigits=function(t){return"0"!==this.digits[0]&&this.digits.forEach((function(e,r){t=t.replace(new RegExp(e,"g"),r)})),t},M.prototype.onlyDigits=function(t){return this.normalizeDigits(t).replace(/\D+/g,"")},M.prototype.onlyLocaleDigits=function(t){return t.replace(new RegExp("[^"+this.digits.join("")+"]*","g"),"")};var A=function(t){this.numberFormat=t};A.prototype.conformToMask=function(t,e){var r=this;void 0===e&&(e="");var n=this.numberFormat.isNegative(t),i=function(t){if(""===t&&n&&e!==r.numberFormat.negativePrefix)return"";if(r.numberFormat.maximumFractionDigits>0){if(r.numberFormat.isFractionIncomplete(t))return t;if(b(t,r.numberFormat.decimalSymbol))return r.numberFormat.toFraction(t)}return null},o=t;o=this.numberFormat.stripCurrencySymbol(o),o=this.numberFormat.stripMinusSymbol(o);var a=i(o);if(null!=a)return this.numberFormat.insertCurrencySymbol(a,n);var s=o.split(this.numberFormat.decimalSymbol),u=s[0],c=s.slice(1),l=y(this.numberFormat.onlyDigits(u)),h=this.numberFormat.onlyDigits(c.join("")).substr(0,this.numberFormat.maximumFractionDigits),f=c.length>0&&0===h.length,d=""===l&&n&&(e===t.slice(0,-1)||e!==this.numberFormat.negativePrefix);return f||d?e:l.match(/\d+/)?{numberValue:Number((n?"-":"")+l+"."+h),fractionDigits:h}:""};var T=function(t){this.numberFormat=t};T.prototype.conformToMask=function(t){if(""===t)return"";var e=this.numberFormat.isNegative(t),r=""===this.numberFormat.stripMinusSymbol(t)?-0:Number((e?"-":"")+y(this.numberFormat.onlyDigits(t)))/Math.pow(10,this.numberFormat.minimumFractionDigits);return{numberValue:r,fractionDigits:r.toFixed(this.numberFormat.minimumFractionDigits).slice(-this.numberFormat.minimumFractionDigits)}};var C=Math.pow(2,53)-1,L=function(t,e,r){var n=r.$ci,i="input"===t.tagName.toLowerCase()?t:t.querySelector("input");if(!i)throw new Error("No input element found");var o=Object.assign({},n?n.GLOBAL_OPTIONS:d,e),a=o.distractionFree,s=o.autoDecimalMode,u=o.valueRange;"boolean"===typeof a&&(o.distractionFree={hideCurrencySymbol:a,hideNegligibleDecimalDigits:a,hideGroupingSymbol:a}),o.valueRange=u?{min:void 0!==u.min?Math.max(u.min,-C):-C,max:void 0!==u.max?Math.min(u.max,C):C}:{min:-C,max:C},s?(o.distractionFree.hideNegligibleDecimalDigits=!1,i.setAttribute("inputmode","numeric")):i.setAttribute("inputmode","decimal");var c=new M(o);return i.$ci=Object.assign({},i.$ci||{numberValue:null},{options:o,numberMask:o.autoDecimalMode?new T(c):new A(c),currencyFormat:c}),i},P=function(t,e){var r=t.$ci,n=r.numberValue,i=r.currencyFormat,o=r.options;n=f(n,o.valueAsInteger,i.maximumFractionDigits),h(t,e,{numberValue:n})},O=function(t,e,r){void 0===r&&(r=!1);var n=t.$ci,i=n.currencyFormat,o=n.options,a=o.valueRange,s=a.min,u=a.max,c=function(){return Math.min(Math.max(e,s),u)};D(t,null!=e?i.format(c()):null),(e!==t.$ci.numberValue||r)&&P(t,"change")},I=function(t,e,r){if(null!=e){var i=t.$ci,o=i.focus,a=i.decimalSymbolInsertedAt,s=i.options,u=i.numberMask,c=i.currencyFormat,l=i.previousConformedValue,h=s.allowNegative,f=s.distractionFree;void 0!==a&&(e=c.normalizeDecimalSymbol(e,a),t.$ci.decimalSymbolInsertedAt=void 0);var d,p=u.conformToMask(e,l);if("object"===n(p)){var m=p.numberValue,g=p.fractionDigits,y=c.maximumFractionDigits,v=c.minimumFractionDigits;o&&(v=y),v=r?g.replace(/0+$/,"").length:Math.min(v,g.length),d=m>C?l:c.format(m,{useGrouping:!(o&&f.hideGroupingSymbol),minimumFractionDigits:v,maximumFractionDigits:y})}else d=p;h||(d=d.replace(c.negativePrefix,c.prefix)),o&&f.hideCurrencySymbol&&(d=d.replace(c.negativePrefix,c.minusSymbol).replace(c.prefix,"").replace(c.suffix,"")),t.value=d,t.$ci.numberValue=c.parse(t.value)}else t.value=t.$ci.numberValue=null;t.$ci.previousConformedValue=t.value},D=function(t,e,r){void 0===r&&(r=!1),I(t,e,r),P(t,"input")},B=function(t){t.addEventListener("input",(function(e){if(!e.detail){var r=t.value,n=t.selectionStart,i=t.$ci,o=i.currencyFormat,a=i.options;D(t,r),t.$ci.focus&&w(t,x(t.value,r,n,o,a))}}),{capture:!0}),t.addEventListener("keypress",(function(e){E.includes(e.key)&&(t.$ci.decimalSymbolInsertedAt=t.selectionStart)})),t.addEventListener("format",(function(e){var r=t.$ci,n=r.currencyFormat,i=r.options,o=r.numberValue,a=function(t){return i.valueAsInteger&&null!=t?t/Math.pow(10,n.maximumFractionDigits):t},s=a(e.detail.value);o!==s&&O(t,s)})),t.addEventListener("focus",(function(){t.$ci.focus=!0;var e=t.$ci.options.distractionFree,r=e.hideCurrencySymbol,n=e.hideGroupingSymbol,i=e.hideNegligibleDecimalDigits;(r||n||i)&&setTimeout((function(){var e=t.value,r=t.selectionStart,n=t.selectionEnd;e&&D(t,e,i),Math.abs(r-n)>0?t.setSelectionRange(0,t.value.length):w(t,k(t.$ci.currencyFormat,t.$ci.options,e,r))}))})),t.addEventListener("blur",(function(){t.$ci.focus=!1,null!=t.$ci.numberValue&&O(t,t.$ci.numberValue)})),t.addEventListener("change",(function(e){e.detail||P(t,"change")}))},j={bind:function(t,e,r){var n=e.value,i=r.context,o=L(t,n,i);B(o),m(o,o.$ci.currencyFormat.parse(o.value))},componentUpdated:function(t,e,r){var n=e.value,i=e.oldValue,o=r.context;if(!S(n,i)){var a=L(t,n,o);O(a,a.$ci.numberValue,!0)}}},N={render:function(t){var e=this;return t("input",{directives:[{name:"currency",value:this.options}],on:Object.assign({},this.$listeners,{change:function(t){t.detail&&e.$emit("change",t.detail.numberValue)},input:function(t){t.detail&&e.value!==t.detail.numberValue&&e.$emit("input",t.detail.numberValue)}})})},directives:{currency:j},name:"CurrencyInput",props:{value:{type:Number,default:null},locale:{type:String,default:void 0},currency:{type:[String,Object],default:void 0},distractionFree:{type:[Boolean,Object],default:void 0},precision:{type:[Number,Object],default:void 0},autoDecimalMode:{type:Boolean,default:void 0},valueAsInteger:{type:Boolean,default:void 0},valueRange:{type:Object,default:void 0},allowNegative:{type:Boolean,default:void 0}},mounted:function(){this.setValue(this.value)},computed:{options:function(){var t=this,e=Object.assign({},this.$ci?this.$ci.GLOBAL_OPTIONS:d);return Object.keys(d).forEach((function(r){void 0!==t[r]&&(e[r]=t[r])})),e}},watch:{value:"setValue"},methods:{setValue:function(t){m(this.$el,t)}}},R={install:function(t,e){void 0===e&&(e={});var r=e.componentName;void 0===r&&(r=N.name);var n=e.directiveName;void 0===n&&(n="currency");var i=e.globalOptions;void 0===i&&(i={}),t.component(r,N),t.directive(n,j),t.prototype.$ci={getValue:p,setValue:m,GLOBAL_OPTIONS:Object.assign({},d,i)}}};"undefined"!==typeof window&&window.Vue&&window.Vue.use(R);var F={locale:void 0,currency:void 0,decimalLength:2,autoDecimalMode:!0,min:null,max:null,defaultValue:0,valueAsInteger:!1,allowNegative:!0},Y={name:"VCurrencyField",props:{value:{type:[Number,String],default:function(){return 0}},locale:{type:String,default:function(){return F.locale}},currency:{type:[String,Object],default:function(){return F.currency}},decimalLength:{type:[Number,Object],default:function(){return F.decimalLength}},autoDecimalMode:{type:Boolean,default:function(){return F.autoDecimalMode}},min:{type:Number,default:function(){return F.min}},max:{type:Number,default:function(){return F.max}},defaultValue:{type:Number,default:function(){return F.defaultValue}},valueAsInteger:{type:Boolean,default:function(){return F.valueAsInteger}},allowNegative:{type:Boolean,default:function(){return F.allowNegative}}},directives:{CurrencyDirective:j},data:function(){return{formattedValue:this.value}},mounted:function(){this.addListeners(this.$el.querySelector("input"))},computed:{attrs:function(){var t=this.$attrs,e=(t.value,u(t,["value"]));return e},distractionFree:function(){return this.decimalLength>0&&!this.autoDecimalMode},decimalMode:function(){return this.decimalLength>0&&this.autoDecimalMode},valueRange:function(){return this.min||this.max?{min:this.min,max:this.max}:void 0}},watch:{value:"setValue"},methods:{addListeners:function(t){var e=this;t.addEventListener("change",(function(t){t.detail&&e.$emit("change",t.detail.numberValue),null==e.value&&void 0==e.value&&null!==e.defaultValue&&void 0!==e.defaultValue&&e.setValue(e.valueAsInteger&&e.defaultValue?e.defaultValue*Math.pow(10,e.decimalLength):e.defaultValue)}),{capture:!0}),t.addEventListener("input",(function(t){t.detail&&e.value!==t.detail.numberValue&&e.$emit("input",t.detail.numberValue)}),{capture:!0})},setValue:function(t){var e=this.$el.querySelector("input");l(e,t)},listeners:function(){var t=this,e=this.$listeners,r=(e.input,e.keyup),n=u(e,["input","keyup"]);return a(a({},n),{},{input:function(e){(t.$refs.textfield.isResetting||null==e)&&t.setValue(t.valueAsInteger&&t.defaultValue?t.defaultValue*Math.pow(10,t.decimalLength):t.defaultValue)},keyup:function(e){"-"!==e.key&&"+"!==e.key||(null!=t.value&&"-"===e.key&&t.value>=0&&t.setValue(-1*t.value),null!=t.value&&"+"===e.key&&t.value<=0&&t.setValue(-1*t.value)),r&&r()}})}}};function U(t,e,r,n,i,o,a,s,u,c){"boolean"!==typeof a&&(u=s,s=a,a=!1);var l,h="function"===typeof r?r.options:r;if(t&&t.render&&(h.render=t.render,h.staticRenderFns=t.staticRenderFns,h._compiled=!0,i&&(h.functional=!0)),n&&(h._scopeId=n),o?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,u(t)),t&&t._registeredComponents&&t._registeredComponents.add(o)},h._ssrRegister=l):e&&(l=a?function(){e.call(this,c(this.$root.$options.shadowRoot))}:function(t){e.call(this,s(t))}),l)if(h.functional){var f=h.render;h.render=function(t,e){return l.call(e),f(t,e)}}else{var d=h.beforeCreate;h.beforeCreate=d?[].concat(d,l):[l]}return r}var H=U;const z=Y;var V=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("v-text-field",t._g(t._b({directives:[{name:"currency-directive",rawName:"v-currency-directive",value:{currency:t.currency,locale:t.locale,distractionFree:t.distractionFree,precision:t.decimalLength,autoDecimalMode:t.decimalMode,valueRange:t.valueRange,allowNegative:t.allowNegative,valueAsInteger:t.valueAsInteger},expression:"{currency, locale, distractionFree, precision: decimalLength, autoDecimalMode: decimalMode, valueRange, allowNegative, valueAsInteger}"}],ref:"textfield",attrs:{type:"text"},scopedSlots:t._u([t._l(t.$slots,(function(e,r){return{key:r,fn:function(){return[t._t(r)]},proxy:!0}}))],null,!0),model:{value:t.formattedValue,callback:function(e){t.formattedValue=e},expression:"formattedValue"}},"v-text-field",t.attrs,!1),t.listeners()))},$=[];const q=void 0,G=void 0,W=void 0,K=!1;var X=H({render:V,staticRenderFns:$},q,z,G,K,W,void 0,void 0);function J(t,e){e&&Object.keys(e).map((function(t){F[t]=e[t]})),t.component("v-currency-field",X)}"undefined"!==typeof window&&window.Vue&&window.Vue.use(J),e["a"]=J},a609:function(t,e,r){"use strict";r("7e58");var n=r("3860"),i=r("a9ad"),o=r("58df");e["a"]=Object(o["a"])(n["a"],i["a"]).extend({name:"v-btn-toggle",props:{backgroundColor:String,borderless:Boolean,dense:Boolean,group:Boolean,rounded:Boolean,shaped:Boolean,tile:Boolean},computed:{classes(){return{...n["a"].options.computed.classes.call(this),"v-btn-toggle":!0,"v-btn-toggle--borderless":this.borderless,"v-btn-toggle--dense":this.dense,"v-btn-toggle--group":this.group,"v-btn-toggle--rounded":this.rounded,"v-btn-toggle--shaped":this.shaped,"v-btn-toggle--tile":this.tile,...this.themeClasses}}},methods:{genData(){const t=this.setTextColor(this.color,{...n["a"].options.methods.genData.call(this)});return this.group?t:this.setBackgroundColor(this.backgroundColor,t)}}})},a62b:function(t,e,r){"use strict";var n=r("3642"),i=r("53a8"),o="value",a="\n  ",s={};function u(t){var e=Array.isArray(t),r=function(r){return e?t[r]:t};return function(n){var i=c(s.plainArray,n);if(i)return i;if(e&&n.length!==t.length)return"an array with "+t.length+" items";for(var o=0;o<n.length;o++)if(i=c(r(o),n[o]),i)return[o].concat(i)}}function c(t,e){if(null!=e||t.hasOwnProperty("__required")){var r=t(e);return r?Array.isArray(r)?r:[r]:void 0}}function l(t,e){var r=t.length,n=t[r-1],a=t.slice(0,r-1);return 0===a.length&&(a=[o]),e=i(e,{path:a}),"function"===typeof n?n(e):p(e,f(n))}function h(t){return t.length<2?t[0]:2===t.length?t.join(" or "):t.slice(0,-1).join(", ")+", or "+t.slice(-1)}function f(t){return"must be "+d(t)+"."}function d(t){return/^an? /.test(t)?t:/^[aeiou]/i.test(t)?"an "+t:/^[a-z]/i.test(t)?"a "+t:t}function p(t,e){var r=m(t.path),n=t.path.join(".")+" "+e,i=r?"Item at position ":"";return i+n}function m(t){return"number"==typeof t[t.length-1]||"number"==typeof t[0]}function g(t){return Object.keys(t||{}).map((function(e){return{key:e,value:t[e]}}))}s.assert=function(t,e){return e=e||{},function(r){var n=c(t,r);if(n){var i=l(n,e);throw e.apiName&&(i=e.apiName+": "+i),new Error(i)}}},s.shape=function(t){var e=g(t);return function(t){var r,n,i=c(s.plainObject,t);if(i)return i;for(var u=[],h=0;h<e.length;h++)r=e[h].key,n=e[h].value,i=c(n,t[r]),i&&u.push([r].concat(i));return u.length<2?u[0]:function(t){u=u.map((function(e){var r=e[0],n=l(e,t).split("\n").join(a);return"- "+r+": "+n}));var e=t.path.join("."),r=e===o?"":" of "+e;return"The following properties"+r+" have invalid values:"+a+u.join(a)}}},s.strictShape=function(t){var e=s.shape(t);return function(r){var n=e(r);if(n)return n;var i=Object.keys(r).reduce((function(e,r){return void 0===t[r]&&e.push(r),e}),[]);return 0!==i.length?function(){return"The following keys are invalid: "+i.join(", ")}:void 0}},s.arrayOf=function(t){return u(t)},s.tuple=function(){var t=Array.isArray(arguments[0])?arguments[0]:Array.prototype.slice.call(arguments);return u(t)},s.required=function(t){function e(e){return null==e?function(t){return p(t,m(t.path)?"cannot be undefined/null.":"is required.")}:t.apply(this,arguments)}return e.__required=!0,e},s.oneOfType=function(){var t=Array.isArray(arguments[0])?arguments[0]:Array.prototype.slice.call(arguments);return function(e){var r=t.map((function(t){return c(t,e)})).filter(Boolean);if(r.length===t.length)return r.every((function(t){return 1===t.length&&"string"===typeof t[0]}))?h(r.map((function(t){return t[0]}))):r.reduce((function(t,e){return e.length>t.length?e:t}))}},s.equal=function(t){return function(e){if(e!==t)return JSON.stringify(t)}},s.oneOf=function(){var t=Array.isArray(arguments[0])?arguments[0]:Array.prototype.slice.call(arguments),e=t.map((function(t){return s.equal(t)}));return s.oneOfType.apply(this,e)},s.range=function(t){var e=t[0],r=t[1];return function(t){var n=c(s.number,t);if(n||t<e||t>r)return"number between "+e+" & "+r+" (inclusive)"}},s.any=function(){},s.boolean=function(t){if("boolean"!==typeof t)return"boolean"},s.number=function(t){if("number"!==typeof t)return"number"},s.plainArray=function(t){if(!Array.isArray(t))return"array"},s.plainObject=function(t){if(!n(t))return"object"},s.string=function(t){if("string"!==typeof t)return"string"},s.func=function(t){if("function"!==typeof t)return"function"},s.validate=c,s.processMessage=l,t.exports=s},a6a1:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1ec9"),i=r("2a12");const o=n.configure(t=>{const e=async(e,r,n={})=>{if("string"!==typeof e)throw new Error("Invalid key type");const o={...n,...a(e,r)},s=await t.post("config",{signal:n.signal,searchParams:i.toUrlSearchParams(o),headers:n.headers});await s.text()};return e}),a=(t,e)=>{switch(typeof e){case"boolean":return{arg:[t,e.toString()],bool:!0};case"string":return{arg:[t,e]};default:return{arg:[t,JSON.stringify(e)],json:!0}}};e.createSet=o},a722:function(t,e,r){"use strict";r("20f6");var n=r("e8f2");e["a"]=Object(n["a"])("layout")},a797:function(t,e,r){"use strict";r("3c93");var n=r("a9ad"),i=r("7560"),o=r("f2e7"),a=r("58df"),s=r("80d2");e["a"]=Object(a["a"])(n["a"],i["a"],o["a"]).extend({name:"v-overlay",props:{absolute:Boolean,color:{type:String,default:"#212121"},dark:{type:Boolean,default:!0},opacity:{type:[Number,String],default:.46},value:{default:!0},zIndex:{type:[Number,String],default:5}},computed:{__scrim(){const t=this.setBackgroundColor(this.color,{staticClass:"v-overlay__scrim",style:{opacity:this.computedOpacity}});return this.$createElement("div",t)},classes(){return{"v-overlay--absolute":this.absolute,"v-overlay--active":this.isActive,...this.themeClasses}},computedOpacity(){return Number(this.isActive?this.opacity:0)},styles(){return{zIndex:this.zIndex}}},methods:{genContent(){return this.$createElement("div",{staticClass:"v-overlay__content"},Object(s["u"])(this))}},render(t){const e=[this.__scrim];return this.isActive&&e.push(this.genContent()),t("div",{staticClass:"v-overlay",on:this.$listeners,class:this.classes,style:this.styles},e)}})},a7ac:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1ec9"),i=r("2a12");const o=n.configure(t=>{async function e(e={}){const r=await t.post("repo/stat",{signal:e.signal,searchParams:i.toUrlSearchParams(e),headers:e.headers}),n=await r.json();return{numObjects:BigInt(n.NumObjects),repoSize:BigInt(n.RepoSize),repoPath:n.RepoPath,version:n.Version,storageMax:BigInt(n.StorageMax)}}return e});e.createStat=o},a7fa:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_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ɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}});return e}))},a81f:function(t,e,r){"use strict";var n=r("3a2f");r.d(e,"a",(function(){return n["a"]}));n["a"]},a828:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("67b0"),i=r("d029");function o(t,e){e||(e=t.reduce((t,e)=>t+e.length,0));const r=n.allocUnsafe(e);let o=0;for(const n of t)r.set(n,o),o+=n.length;return i.asUint8Array(r)}e.concat=o},a844:function(t,e,r){"use strict";r("1681");var n=r("8654"),i=r("58df");const o=Object(i["a"])(n["a"]);e["a"]=o.extend({name:"v-textarea",props:{autoGrow:Boolean,noResize:Boolean,rowHeight:{type:[Number,String],default:24,validator:t=>!isNaN(parseFloat(t))},rows:{type:[Number,String],default:5,validator:t=>!isNaN(parseInt(t,10))}},computed:{classes(){return{"v-textarea":!0,"v-textarea--auto-grow":this.autoGrow,"v-textarea--no-resize":this.noResizeHandle,...n["a"].options.computed.classes.call(this)}},noResizeHandle(){return this.noResize||this.autoGrow}},watch:{autoGrow(t){this.$nextTick(()=>{var e;t?this.calculateInputHeight():null===(e=this.$refs.input)||void 0===e||e.style.removeProperty("height")})},lazyValue(){this.autoGrow&&this.$nextTick(this.calculateInputHeight)},rowHeight(){this.autoGrow&&this.$nextTick(this.calculateInputHeight)}},mounted(){setTimeout(()=>{this.autoGrow&&this.calculateInputHeight()},0)},methods:{calculateInputHeight(){const t=this.$refs.input;if(!t)return;t.style.height="0";const e=t.scrollHeight,r=parseInt(this.rows,10)*parseFloat(this.rowHeight);t.style.height=Math.max(r,e)+"px"},genInput(){const t=n["a"].options.methods.genInput.call(this);return t.tag="textarea",delete t.data.attrs.type,t.data.attrs.rows=this.rows,t},onInput(t){n["a"].options.methods.onInput.call(this,t),this.autoGrow&&this.calculateInputHeight()},onKeyDown(t){this.isFocused&&13===t.keyCode&&t.stopPropagation(),this.$emit("keydown",t)}}})},a90d:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1ec9"),i=r("2a12");const o=n.configure(t=>{async function e(e,r={}){const n=await t.post("files/touch",{signal:r.signal,searchParams:i.toUrlSearchParams({arg:e,...r}),headers:r.headers});await n.text()}return e});e.createTouch=o},a925:function(t,e,r){"use strict";
/*!
 * vue-i18n v8.28.2 
 * (c) 2022 kazuya kawaguchi
 * Released under the MIT License.
 */var n=["compactDisplay","currency","currencyDisplay","currencySign","localeMatcher","notation","numberingSystem","signDisplay","style","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"],i=["dateStyle","timeStyle","calendar","localeMatcher","hour12","hourCycle","timeZone","formatMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function o(t,e){"undefined"!==typeof console&&(console.warn("[vue-i18n] "+t),e&&console.warn(e.stack))}function a(t,e){"undefined"!==typeof console&&(console.error("[vue-i18n] "+t),e&&console.error(e.stack))}var s=Array.isArray;function u(t){return null!==t&&"object"===typeof t}function c(t){return"boolean"===typeof t}function l(t){return"string"===typeof t}var h=Object.prototype.toString,f="[object Object]";function d(t){return h.call(t)===f}function p(t){return null===t||void 0===t}function m(t){return"function"===typeof t}function g(){var t=[],e=arguments.length;while(e--)t[e]=arguments[e];var r=null,n=null;return 1===t.length?u(t[0])||s(t[0])?n=t[0]:"string"===typeof t[0]&&(r=t[0]):2===t.length&&("string"===typeof t[0]&&(r=t[0]),(u(t[1])||s(t[1]))&&(n=t[1])),{locale:r,params:n}}function y(t){return JSON.parse(JSON.stringify(t))}function v(t,e){if(t.delete(e))return t}function b(t){var e=[];return t.forEach((function(t){return e.push(t)})),e}function _(t,e){return!!~t.indexOf(e)}var w=Object.prototype.hasOwnProperty;function x(t,e){return w.call(t,e)}function k(t){for(var e=arguments,r=Object(t),n=1;n<arguments.length;n++){var i=e[n];if(void 0!==i&&null!==i){var o=void 0;for(o in i)x(i,o)&&(u(i[o])?r[o]=k(r[o],i[o]):r[o]=i[o])}}return r}function S(t,e){if(t===e)return!0;var r=u(t),n=u(e);if(!r||!n)return!r&&!n&&String(t)===String(e);try{var i=s(t),o=s(e);if(i&&o)return t.length===e.length&&t.every((function(t,r){return S(t,e[r])}));if(i||o)return!1;var a=Object.keys(t),c=Object.keys(e);return a.length===c.length&&a.every((function(r){return S(t[r],e[r])}))}catch(l){return!1}}function E(t){return t.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}function M(t){return null!=t&&Object.keys(t).forEach((function(e){"string"==typeof t[e]&&(t[e]=E(t[e]))})),t}function A(t){t.prototype.hasOwnProperty("$i18n")||Object.defineProperty(t.prototype,"$i18n",{get:function(){return this._i18n}}),t.prototype.$t=function(t){var e=[],r=arguments.length-1;while(r-- >0)e[r]=arguments[r+1];var n=this.$i18n;return n._t.apply(n,[t,n.locale,n._getMessages(),this].concat(e))},t.prototype.$tc=function(t,e){var r=[],n=arguments.length-2;while(n-- >0)r[n]=arguments[n+2];var i=this.$i18n;return i._tc.apply(i,[t,i.locale,i._getMessages(),this,e].concat(r))},t.prototype.$te=function(t,e){var r=this.$i18n;return r._te(t,r.locale,r._getMessages(),e)},t.prototype.$d=function(t){var e,r=[],n=arguments.length-1;while(n-- >0)r[n]=arguments[n+1];return(e=this.$i18n).d.apply(e,[t].concat(r))},t.prototype.$n=function(t){var e,r=[],n=arguments.length-1;while(n-- >0)r[n]=arguments[n+1];return(e=this.$i18n).n.apply(e,[t].concat(r))}}function T(t){function e(){this!==this.$root&&this.$options.__INTLIFY_META__&&this.$el&&this.$el.setAttribute("data-intlify",this.$options.__INTLIFY_META__)}return void 0===t&&(t=!1),t?{mounted:e}:{beforeCreate:function(){var t=this.$options;if(t.i18n=t.i18n||(t.__i18nBridge||t.__i18n?{}:null),t.i18n)if(t.i18n instanceof Mt){if(t.__i18nBridge||t.__i18n)try{var e=t.i18n&&t.i18n.messages?t.i18n.messages:{},r=t.__i18nBridge||t.__i18n;r.forEach((function(t){e=k(e,JSON.parse(t))})),Object.keys(e).forEach((function(r){t.i18n.mergeLocaleMessage(r,e[r])}))}catch(u){0}this._i18n=t.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(d(t.i18n)){var n=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Mt?this.$root.$i18n:null;if(n&&(t.i18n.root=this.$root,t.i18n.formatter=n.formatter,t.i18n.fallbackLocale=n.fallbackLocale,t.i18n.formatFallbackMessages=n.formatFallbackMessages,t.i18n.silentTranslationWarn=n.silentTranslationWarn,t.i18n.silentFallbackWarn=n.silentFallbackWarn,t.i18n.pluralizationRules=n.pluralizationRules,t.i18n.preserveDirectiveContent=n.preserveDirectiveContent),t.__i18nBridge||t.__i18n)try{var i=t.i18n&&t.i18n.messages?t.i18n.messages:{},o=t.__i18nBridge||t.__i18n;o.forEach((function(t){i=k(i,JSON.parse(t))})),t.i18n.messages=i}catch(u){0}var a=t.i18n,s=a.sharedMessages;s&&d(s)&&(t.i18n.messages=k(t.i18n.messages,s)),this._i18n=new Mt(t.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===t.i18n.sync||t.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),n&&n.onComponentInstanceCreated(this._i18n)}else 0;else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Mt?this._i18n=this.$root.$i18n:t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof Mt&&(this._i18n=t.parent.$i18n)},beforeMount:function(){var t=this.$options;t.i18n=t.i18n||(t.__i18nBridge||t.__i18n?{}:null),t.i18n?(t.i18n instanceof Mt||d(t.i18n))&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Mt||t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof Mt)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},mounted:e,beforeDestroy:function(){if(this._i18n){var t=this;this.$nextTick((function(){t._subscribing&&(t._i18n.unsubscribeDataChanging(t),delete t._subscribing),t._i18nWatcher&&(t._i18nWatcher(),t._i18n.destroyVM(),delete t._i18nWatcher),t._localeWatcher&&(t._localeWatcher(),delete t._localeWatcher)}))}}}}var C={name:"i18n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(t,e){var r=e.data,n=e.parent,i=e.props,o=e.slots,a=n.$i18n;if(a){var s=i.path,u=i.locale,c=i.places,l=o(),h=a.i(s,u,L(l)||c?P(l.default,c):l),f=i.tag&&!0!==i.tag||!1===i.tag?i.tag:"span";return f?t(f,r,h):h}}};function L(t){var e;for(e in t)if("default"!==e)return!1;return Boolean(e)}function P(t,e){var r=e?O(e):{};if(!t)return r;t=t.filter((function(t){return t.tag||""!==t.text.trim()}));var n=t.every(B);return t.reduce(n?I:D,r)}function O(t){return Array.isArray(t)?t.reduce(D,{}):Object.assign({},t)}function I(t,e){return e.data&&e.data.attrs&&e.data.attrs.place&&(t[e.data.attrs.place]=e),t}function D(t,e,r){return t[r]=e,t}function B(t){return Boolean(t.data&&t.data.attrs&&t.data.attrs.place)}var j,N={name:"i18n-n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(t,e){var r=e.props,i=e.parent,o=e.data,a=i.$i18n;if(!a)return null;var s=null,c=null;l(r.format)?s=r.format:u(r.format)&&(r.format.key&&(s=r.format.key),c=Object.keys(r.format).reduce((function(t,e){var i;return _(n,e)?Object.assign({},t,(i={},i[e]=r.format[e],i)):t}),null));var h=r.locale||a.locale,f=a._ntp(r.value,h,s,c),d=f.map((function(t,e){var r,n=o.scopedSlots&&o.scopedSlots[t.type];return n?n((r={},r[t.type]=t.value,r.index=e,r.parts=f,r)):t.value})),p=r.tag&&!0!==r.tag||!1===r.tag?r.tag:"span";return p?t(p,{attrs:o.attrs,class:o["class"],staticClass:o.staticClass},d):d}};function R(t,e,r){U(t,r)&&z(t,e,r)}function F(t,e,r,n){if(U(t,r)){var i=r.context.$i18n;H(t,r)&&S(e.value,e.oldValue)&&S(t._localeMessage,i.getLocaleMessage(i.locale))||z(t,e,r)}}function Y(t,e,r,n){var i=r.context;if(i){var a=r.context.$i18n||{};e.modifiers.preserve||a.preserveDirectiveContent||(t.textContent=""),t._vt=void 0,delete t["_vt"],t._locale=void 0,delete t["_locale"],t._localeMessage=void 0,delete t["_localeMessage"]}else o("Vue instance does not exists in VNode context")}function U(t,e){var r=e.context;return r?!!r.$i18n||(o("VueI18n instance does not exists in Vue instance"),!1):(o("Vue instance does not exists in VNode context"),!1)}function H(t,e){var r=e.context;return t._locale===r.$i18n.locale}function z(t,e,r){var n,i,a=e.value,s=V(a),u=s.path,c=s.locale,l=s.args,h=s.choice;if(u||c||l)if(u){var f=r.context;t._vt=t.textContent=null!=h?(n=f.$i18n).tc.apply(n,[u,h].concat($(c,l))):(i=f.$i18n).t.apply(i,[u].concat($(c,l))),t._locale=f.$i18n.locale,t._localeMessage=f.$i18n.getLocaleMessage(f.$i18n.locale)}else o("`path` is required in v-t directive");else o("value type not supported")}function V(t){var e,r,n,i;return l(t)?e=t:d(t)&&(e=t.path,r=t.locale,n=t.args,i=t.choice),{path:e,locale:r,args:n,choice:i}}function $(t,e){var r=[];return t&&r.push(t),e&&(Array.isArray(e)||d(e))&&r.push(e),r}function q(t,e){void 0===e&&(e={bridge:!1}),q.installed=!0,j=t;j.version&&Number(j.version.split(".")[0]);A(j),j.mixin(T(e.bridge)),j.directive("t",{bind:R,update:F,unbind:Y}),j.component(C.name,C),j.component(N.name,N);var r=j.config.optionMergeStrategies;r.i18n=function(t,e){return void 0===e?t:e}}var G=function(){this._caches=Object.create(null)};G.prototype.interpolate=function(t,e){if(!e)return[t];var r=this._caches[t];return r||(r=X(t),this._caches[t]=r),J(r,e)};var W=/^(?:\d)+/,K=/^(?:\w)+/;function X(t){var e=[],r=0,n="";while(r<t.length){var i=t[r++];if("{"===i){n&&e.push({type:"text",value:n}),n="";var o="";i=t[r++];while(void 0!==i&&"}"!==i)o+=i,i=t[r++];var a="}"===i,s=W.test(o)?"list":a&&K.test(o)?"named":"unknown";e.push({value:o,type:s})}else"%"===i?"{"!==t[r]&&(n+=i):n+=i}return n&&e.push({type:"text",value:n}),e}function J(t,e){var r=[],n=0,i=Array.isArray(e)?"list":u(e)?"named":"unknown";if("unknown"===i)return r;while(n<t.length){var o=t[n];switch(o.type){case"text":r.push(o.value);break;case"list":r.push(e[parseInt(o.value,10)]);break;case"named":"named"===i&&r.push(e[o.value]);break;case"unknown":0;break}n++}return r}var Z=0,Q=1,tt=2,et=3,rt=0,nt=1,it=2,ot=3,at=4,st=5,ut=6,ct=7,lt=8,ht=[];ht[rt]={ws:[rt],ident:[ot,Z],"[":[at],eof:[ct]},ht[nt]={ws:[nt],".":[it],"[":[at],eof:[ct]},ht[it]={ws:[it],ident:[ot,Z],0:[ot,Z],number:[ot,Z]},ht[ot]={ident:[ot,Z],0:[ot,Z],number:[ot,Z],ws:[nt,Q],".":[it,Q],"[":[at,Q],eof:[ct,Q]},ht[at]={"'":[st,Z],'"':[ut,Z],"[":[at,tt],"]":[nt,et],eof:lt,else:[at,Z]},ht[st]={"'":[at,Z],eof:lt,else:[st,Z]},ht[ut]={'"':[at,Z],eof:lt,else:[ut,Z]};var ft=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function dt(t){return ft.test(t)}function pt(t){var e=t.charCodeAt(0),r=t.charCodeAt(t.length-1);return e!==r||34!==e&&39!==e?t:t.slice(1,-1)}function mt(t){if(void 0===t||null===t)return"eof";var e=t.charCodeAt(0);switch(e){case 91:case 93:case 46:case 34:case 39:return t;case 95:case 36:case 45:return"ident";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return"ident"}function gt(t){var e=t.trim();return("0"!==t.charAt(0)||!isNaN(t))&&(dt(e)?pt(e):"*"+e)}function yt(t){var e,r,n,i,o,a,s,u=[],c=-1,l=rt,h=0,f=[];function d(){var e=t[c+1];if(l===st&&"'"===e||l===ut&&'"'===e)return c++,n="\\"+e,f[Z](),!0}f[Q]=function(){void 0!==r&&(u.push(r),r=void 0)},f[Z]=function(){void 0===r?r=n:r+=n},f[tt]=function(){f[Z](),h++},f[et]=function(){if(h>0)h--,l=at,f[Z]();else{if(h=0,void 0===r)return!1;if(r=gt(r),!1===r)return!1;f[Q]()}};while(null!==l)if(c++,e=t[c],"\\"!==e||!d()){if(i=mt(e),s=ht[l],o=s[i]||s["else"]||lt,o===lt)return;if(l=o[0],a=f[o[1]],a&&(n=o[2],n=void 0===n?e:n,!1===a()))return;if(l===ct)return u}}var vt=function(){this._cache=Object.create(null)};vt.prototype.parsePath=function(t){var e=this._cache[t];return e||(e=yt(t),e&&(this._cache[t]=e)),e||[]},vt.prototype.getPathValue=function(t,e){if(!u(t))return null;var r=this.parsePath(e);if(0===r.length)return null;var n=r.length,i=t,o=0;while(o<n){var a=i[r[o]];if(void 0===a||null===a)return null;i=a,o++}return i};var bt,_t=/<\/?[\w\s="/.':;#-\/]+>/,wt=/(?:@(?:\.[a-zA-Z]+)?:(?:[\w\-_|./]+|\([\w\-_:|./]+\)))/g,xt=/^@(?:\.([a-zA-Z]+))?:/,kt=/[()]/g,St={upper:function(t){return t.toLocaleUpperCase()},lower:function(t){return t.toLocaleLowerCase()},capitalize:function(t){return""+t.charAt(0).toLocaleUpperCase()+t.substr(1)}},Et=new G,Mt=function(t){var e=this;void 0===t&&(t={}),!j&&"undefined"!==typeof window&&window.Vue&&q(window.Vue);var r=t.locale||"en-US",n=!1!==t.fallbackLocale&&(t.fallbackLocale||"en-US"),i=t.messages||{},o=t.dateTimeFormats||t.datetimeFormats||{},a=t.numberFormats||{};this._vm=null,this._formatter=t.formatter||Et,this._modifiers=t.modifiers||{},this._missing=t.missing||null,this._root=t.root||null,this._sync=void 0===t.sync||!!t.sync,this._fallbackRoot=void 0===t.fallbackRoot||!!t.fallbackRoot,this._fallbackRootWithEmptyString=void 0===t.fallbackRootWithEmptyString||!!t.fallbackRootWithEmptyString,this._formatFallbackMessages=void 0!==t.formatFallbackMessages&&!!t.formatFallbackMessages,this._silentTranslationWarn=void 0!==t.silentTranslationWarn&&t.silentTranslationWarn,this._silentFallbackWarn=void 0!==t.silentFallbackWarn&&!!t.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new vt,this._dataListeners=new Set,this._componentInstanceCreatedListener=t.componentInstanceCreatedListener||null,this._preserveDirectiveContent=void 0!==t.preserveDirectiveContent&&!!t.preserveDirectiveContent,this.pluralizationRules=t.pluralizationRules||{},this._warnHtmlInMessage=t.warnHtmlInMessage||"off",this._postTranslation=t.postTranslation||null,this._escapeParameterHtml=t.escapeParameterHtml||!1,"__VUE_I18N_BRIDGE__"in t&&(this.__VUE_I18N_BRIDGE__=t.__VUE_I18N_BRIDGE__),this.getChoiceIndex=function(t,r){var n=Object.getPrototypeOf(e);if(n&&n.getChoiceIndex){var i=n.getChoiceIndex;return i.call(e,t,r)}var o=function(t,e){return t=Math.abs(t),2===e?t?t>1?1:0:1:t?Math.min(t,2):0};return e.locale in e.pluralizationRules?e.pluralizationRules[e.locale].apply(e,[t,r]):o(t,r)},this._exist=function(t,r){return!(!t||!r)&&(!p(e._path.getPathValue(t,r))||!!t[r])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(i).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,i[t])})),this._initVM({locale:r,fallbackLocale:n,messages:i,dateTimeFormats:o,numberFormats:a})},At={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0},sync:{configurable:!0}};Mt.prototype._checkLocaleMessage=function(t,e,r){var n=[],i=function(t,e,r,n){if(d(r))Object.keys(r).forEach((function(o){var a=r[o];d(a)?(n.push(o),n.push("."),i(t,e,a,n),n.pop(),n.pop()):(n.push(o),i(t,e,a,n),n.pop())}));else if(s(r))r.forEach((function(r,o){d(r)?(n.push("["+o+"]"),n.push("."),i(t,e,r,n),n.pop(),n.pop()):(n.push("["+o+"]"),i(t,e,r,n),n.pop())}));else if(l(r)){var u=_t.test(r);if(u){var c="Detected HTML in message '"+r+"' of keypath '"+n.join("")+"' at '"+e+"'. Consider component interpolation with '<i18n>' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===t?o(c):"error"===t&&a(c)}}};i(e,t,r,n)},Mt.prototype._initVM=function(t){var e=j.config.silent;j.config.silent=!0,this._vm=new j({data:t,__VUE18N__INSTANCE__:!0}),j.config.silent=e},Mt.prototype.destroyVM=function(){this._vm.$destroy()},Mt.prototype.subscribeDataChanging=function(t){this._dataListeners.add(t)},Mt.prototype.unsubscribeDataChanging=function(t){v(this._dataListeners,t)},Mt.prototype.watchI18nData=function(){var t=this;return this._vm.$watch("$data",(function(){var e=b(t._dataListeners),r=e.length;while(r--)j.nextTick((function(){e[r]&&e[r].$forceUpdate()}))}),{deep:!0})},Mt.prototype.watchLocale=function(t){if(t){if(!this.__VUE_I18N_BRIDGE__)return null;var e=this,r=this._vm;return this.vm.$watch("locale",(function(n){r.$set(r,"locale",n),e.__VUE_I18N_BRIDGE__&&t&&(t.locale.value=n),r.$forceUpdate()}),{immediate:!0})}if(!this._sync||!this._root)return null;var n=this._vm;return this._root.$i18n.vm.$watch("locale",(function(t){n.$set(n,"locale",t),n.$forceUpdate()}),{immediate:!0})},Mt.prototype.onComponentInstanceCreated=function(t){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(t,this)},At.vm.get=function(){return this._vm},At.messages.get=function(){return y(this._getMessages())},At.dateTimeFormats.get=function(){return y(this._getDateTimeFormats())},At.numberFormats.get=function(){return y(this._getNumberFormats())},At.availableLocales.get=function(){return Object.keys(this.messages).sort()},At.locale.get=function(){return this._vm.locale},At.locale.set=function(t){this._vm.$set(this._vm,"locale",t)},At.fallbackLocale.get=function(){return this._vm.fallbackLocale},At.fallbackLocale.set=function(t){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",t)},At.formatFallbackMessages.get=function(){return this._formatFallbackMessages},At.formatFallbackMessages.set=function(t){this._formatFallbackMessages=t},At.missing.get=function(){return this._missing},At.missing.set=function(t){this._missing=t},At.formatter.get=function(){return this._formatter},At.formatter.set=function(t){this._formatter=t},At.silentTranslationWarn.get=function(){return this._silentTranslationWarn},At.silentTranslationWarn.set=function(t){this._silentTranslationWarn=t},At.silentFallbackWarn.get=function(){return this._silentFallbackWarn},At.silentFallbackWarn.set=function(t){this._silentFallbackWarn=t},At.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},At.preserveDirectiveContent.set=function(t){this._preserveDirectiveContent=t},At.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},At.warnHtmlInMessage.set=function(t){var e=this,r=this._warnHtmlInMessage;if(this._warnHtmlInMessage=t,r!==t&&("warn"===t||"error"===t)){var n=this._getMessages();Object.keys(n).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,n[t])}))}},At.postTranslation.get=function(){return this._postTranslation},At.postTranslation.set=function(t){this._postTranslation=t},At.sync.get=function(){return this._sync},At.sync.set=function(t){this._sync=t},Mt.prototype._getMessages=function(){return this._vm.messages},Mt.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},Mt.prototype._getNumberFormats=function(){return this._vm.numberFormats},Mt.prototype._warnDefault=function(t,e,r,n,i,o){if(!p(r))return r;if(this._missing){var a=this._missing.apply(null,[t,e,n,i]);if(l(a))return a}else 0;if(this._formatFallbackMessages){var s=g.apply(void 0,i);return this._render(e,o,s.params,e)}return e},Mt.prototype._isFallbackRoot=function(t){return(this._fallbackRootWithEmptyString?!t:p(t))&&!p(this._root)&&this._fallbackRoot},Mt.prototype._isSilentFallbackWarn=function(t){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(t):this._silentFallbackWarn},Mt.prototype._isSilentFallback=function(t,e){return this._isSilentFallbackWarn(e)&&(this._isFallbackRoot()||t!==this.fallbackLocale)},Mt.prototype._isSilentTranslationWarn=function(t){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(t):this._silentTranslationWarn},Mt.prototype._interpolate=function(t,e,r,n,i,o,a){if(!e)return null;var u,c=this._path.getPathValue(e,r);if(s(c)||d(c))return c;if(p(c)){if(!d(e))return null;if(u=e[r],!l(u)&&!m(u))return null}else{if(!l(c)&&!m(c))return null;u=c}return l(u)&&(u.indexOf("@:")>=0||u.indexOf("@.")>=0)&&(u=this._link(t,e,u,n,"raw",o,a)),this._render(u,i,o,r)},Mt.prototype._link=function(t,e,r,n,i,o,a){var u=r,c=u.match(wt);for(var l in c)if(c.hasOwnProperty(l)){var h=c[l],f=h.match(xt),d=f[0],p=f[1],m=h.replace(d,"").replace(kt,"");if(_(a,m))return u;a.push(m);var g=this._interpolate(t,e,m,n,"raw"===i?"string":i,"raw"===i?void 0:o,a);if(this._isFallbackRoot(g)){if(!this._root)throw Error("unexpected error");var y=this._root.$i18n;g=y._translate(y._getMessages(),y.locale,y.fallbackLocale,m,n,i,o)}g=this._warnDefault(t,m,g,n,s(o)?o:[o],i),this._modifiers.hasOwnProperty(p)?g=this._modifiers[p](g):St.hasOwnProperty(p)&&(g=St[p](g)),a.pop(),u=g?u.replace(h,g):u}return u},Mt.prototype._createMessageContext=function(t,e,r,n){var i=this,o=s(t)?t:[],a=u(t)?t:{},c=function(t){return o[t]},l=function(t){return a[t]},h=this._getMessages(),f=this.locale;return{list:c,named:l,values:t,formatter:e,path:r,messages:h,locale:f,linked:function(t){return i._interpolate(f,h[f]||{},t,null,n,void 0,[t])}}},Mt.prototype._render=function(t,e,r,n){if(m(t))return t(this._createMessageContext(r,this._formatter||Et,n,e));var i=this._formatter.interpolate(t,r,n);return i||(i=Et.interpolate(t,r,n)),"string"!==e||l(i)?i:i.join("")},Mt.prototype._appendItemToChain=function(t,e,r){var n=!1;return _(t,e)||(n=!0,e&&(n="!"!==e[e.length-1],e=e.replace(/!/g,""),t.push(e),r&&r[e]&&(n=r[e]))),n},Mt.prototype._appendLocaleToChain=function(t,e,r){var n,i=e.split("-");do{var o=i.join("-");n=this._appendItemToChain(t,o,r),i.splice(-1,1)}while(i.length&&!0===n);return n},Mt.prototype._appendBlockToChain=function(t,e,r){for(var n=!0,i=0;i<e.length&&c(n);i++){var o=e[i];l(o)&&(n=this._appendLocaleToChain(t,o,r))}return n},Mt.prototype._getLocaleChain=function(t,e){if(""===t)return[];this._localeChainCache||(this._localeChainCache={});var r=this._localeChainCache[t];if(!r){e||(e=this.fallbackLocale),r=[];var n,i=[t];while(s(i))i=this._appendBlockToChain(r,i,e);n=s(e)?e:u(e)?e["default"]?e["default"]:null:e,i=l(n)?[n]:n,i&&this._appendBlockToChain(r,i,null),this._localeChainCache[t]=r}return r},Mt.prototype._translate=function(t,e,r,n,i,o,a){for(var s,u=this._getLocaleChain(e,r),c=0;c<u.length;c++){var l=u[c];if(s=this._interpolate(l,t[l],n,i,o,a,[n]),!p(s))return s}return null},Mt.prototype._t=function(t,e,r,n){var i,o=[],a=arguments.length-4;while(a-- >0)o[a]=arguments[a+4];if(!t)return"";var s=g.apply(void 0,o);this._escapeParameterHtml&&(s.params=M(s.params));var u=s.locale||e,c=this._translate(r,u,this.fallbackLocale,t,n,"string",s.params);if(this._isFallbackRoot(c)){if(!this._root)throw Error("unexpected error");return(i=this._root).$t.apply(i,[t].concat(o))}return c=this._warnDefault(u,t,c,n,o,"string"),this._postTranslation&&null!==c&&void 0!==c&&(c=this._postTranslation(c,t)),c},Mt.prototype.t=function(t){var e,r=[],n=arguments.length-1;while(n-- >0)r[n]=arguments[n+1];return(e=this)._t.apply(e,[t,this.locale,this._getMessages(),null].concat(r))},Mt.prototype._i=function(t,e,r,n,i){var o=this._translate(r,e,this.fallbackLocale,t,n,"raw",i);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(t,e,i)}return this._warnDefault(e,t,o,n,[i],"raw")},Mt.prototype.i=function(t,e,r){return t?(l(e)||(e=this.locale),this._i(t,e,this._getMessages(),null,r)):""},Mt.prototype._tc=function(t,e,r,n,i){var o,a=[],s=arguments.length-5;while(s-- >0)a[s]=arguments[s+5];if(!t)return"";void 0===i&&(i=1);var u={count:i,n:i},c=g.apply(void 0,a);return c.params=Object.assign(u,c.params),a=null===c.locale?[c.params]:[c.locale,c.params],this.fetchChoice((o=this)._t.apply(o,[t,e,r,n].concat(a)),i)},Mt.prototype.fetchChoice=function(t,e){if(!t||!l(t))return null;var r=t.split("|");return e=this.getChoiceIndex(e,r.length),r[e]?r[e].trim():t},Mt.prototype.tc=function(t,e){var r,n=[],i=arguments.length-2;while(i-- >0)n[i]=arguments[i+2];return(r=this)._tc.apply(r,[t,this.locale,this._getMessages(),null,e].concat(n))},Mt.prototype._te=function(t,e,r){var n=[],i=arguments.length-3;while(i-- >0)n[i]=arguments[i+3];var o=g.apply(void 0,n).locale||e;return this._exist(r[o],t)},Mt.prototype.te=function(t,e){return this._te(t,this.locale,this._getMessages(),e)},Mt.prototype.getLocaleMessage=function(t){return y(this._vm.messages[t]||{})},Mt.prototype.setLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,e)},Mt.prototype.mergeLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,k("undefined"!==typeof this._vm.messages[t]&&Object.keys(this._vm.messages[t]).length?Object.assign({},this._vm.messages[t]):{},e))},Mt.prototype.getDateTimeFormat=function(t){return y(this._vm.dateTimeFormats[t]||{})},Mt.prototype.setDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,e),this._clearDateTimeFormat(t,e)},Mt.prototype.mergeDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,k(this._vm.dateTimeFormats[t]||{},e)),this._clearDateTimeFormat(t,e)},Mt.prototype._clearDateTimeFormat=function(t,e){for(var r in e){var n=t+"__"+r;this._dateTimeFormatters.hasOwnProperty(n)&&delete this._dateTimeFormatters[n]}},Mt.prototype._localizeDateTime=function(t,e,r,n,i,o){for(var a=e,s=n[a],u=this._getLocaleChain(e,r),c=0;c<u.length;c++){var l=u[c];if(s=n[l],a=l,!p(s)&&!p(s[i]))break}if(p(s)||p(s[i]))return null;var h,f=s[i];if(o)h=new Intl.DateTimeFormat(a,Object.assign({},f,o));else{var d=a+"__"+i;h=this._dateTimeFormatters[d],h||(h=this._dateTimeFormatters[d]=new Intl.DateTimeFormat(a,f))}return h.format(t)},Mt.prototype._d=function(t,e,r,n){if(!r){var i=n?new Intl.DateTimeFormat(e,n):new Intl.DateTimeFormat(e);return i.format(t)}var o=this._localizeDateTime(t,e,this.fallbackLocale,this._getDateTimeFormats(),r,n);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.d(t,r,e)}return o||""},Mt.prototype.d=function(t){var e=[],r=arguments.length-1;while(r-- >0)e[r]=arguments[r+1];var n=this.locale,o=null,a=null;return 1===e.length?(l(e[0])?o=e[0]:u(e[0])&&(e[0].locale&&(n=e[0].locale),e[0].key&&(o=e[0].key)),a=Object.keys(e[0]).reduce((function(t,r){var n;return _(i,r)?Object.assign({},t,(n={},n[r]=e[0][r],n)):t}),null)):2===e.length&&(l(e[0])&&(o=e[0]),l(e[1])&&(n=e[1])),this._d(t,n,o,a)},Mt.prototype.getNumberFormat=function(t){return y(this._vm.numberFormats[t]||{})},Mt.prototype.setNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,e),this._clearNumberFormat(t,e)},Mt.prototype.mergeNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,k(this._vm.numberFormats[t]||{},e)),this._clearNumberFormat(t,e)},Mt.prototype._clearNumberFormat=function(t,e){for(var r in e){var n=t+"__"+r;this._numberFormatters.hasOwnProperty(n)&&delete this._numberFormatters[n]}},Mt.prototype._getNumberFormatter=function(t,e,r,n,i,o){for(var a=e,s=n[a],u=this._getLocaleChain(e,r),c=0;c<u.length;c++){var l=u[c];if(s=n[l],a=l,!p(s)&&!p(s[i]))break}if(p(s)||p(s[i]))return null;var h,f=s[i];if(o)h=new Intl.NumberFormat(a,Object.assign({},f,o));else{var d=a+"__"+i;h=this._numberFormatters[d],h||(h=this._numberFormatters[d]=new Intl.NumberFormat(a,f))}return h},Mt.prototype._n=function(t,e,r,n){if(!Mt.availabilities.numberFormat)return"";if(!r){var i=n?new Intl.NumberFormat(e,n):new Intl.NumberFormat(e);return i.format(t)}var o=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),r,n),a=o&&o.format(t);if(this._isFallbackRoot(a)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.n(t,Object.assign({},{key:r,locale:e},n))}return a||""},Mt.prototype.n=function(t){var e=[],r=arguments.length-1;while(r-- >0)e[r]=arguments[r+1];var i=this.locale,o=null,a=null;return 1===e.length?l(e[0])?o=e[0]:u(e[0])&&(e[0].locale&&(i=e[0].locale),e[0].key&&(o=e[0].key),a=Object.keys(e[0]).reduce((function(t,r){var i;return _(n,r)?Object.assign({},t,(i={},i[r]=e[0][r],i)):t}),null)):2===e.length&&(l(e[0])&&(o=e[0]),l(e[1])&&(i=e[1])),this._n(t,i,o,a)},Mt.prototype._ntp=function(t,e,r,n){if(!Mt.availabilities.numberFormat)return[];if(!r){var i=n?new Intl.NumberFormat(e,n):new Intl.NumberFormat(e);return i.formatToParts(t)}var o=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),r,n),a=o&&o.formatToParts(t);if(this._isFallbackRoot(a)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(t,e,r,n)}return a||[]},Object.defineProperties(Mt.prototype,At),Object.defineProperty(Mt,"availabilities",{get:function(){if(!bt){var t="undefined"!==typeof Intl;bt={dateTimeFormat:t&&"undefined"!==typeof Intl.DateTimeFormat,numberFormat:t&&"undefined"!==typeof Intl.NumberFormat}}return bt}}),Mt.install=q,Mt.version="8.28.2",e["a"]=Mt},a980:function(t,e,r){"use strict";r.d(e,"a",(function(){return i["a"]})),r.d(e,"c",(function(){return a["a"]})),r.d(e,"e",(function(){return h})),r.d(e,"b",(function(){return o["a"]})),r.d(e,"d",(function(){return s["a"]})),r.d(e,"f",(function(){return l}));var n=r("80d2"),i=r("8fea"),o=r("1e71"),a=r("7679"),s=r("1f4f"),u=(r("b72c"),r("58df"));const c=Object(u["a"])(s["a"]);var l=c.extend().extend({name:"v-virtual-table",props:{chunkSize:{type:Number,default:25},headerHeight:{type:Number,default:48},items:{type:Array,default:()=>[]},rowHeight:{type:Number,default:48}},data:()=>({scrollTop:0,oldChunk:0,scrollDebounce:null,invalidateCache:!1}),computed:{itemsLength(){return this.items.length},totalHeight(){return this.itemsLength*this.rowHeight+this.headerHeight},topIndex(){return Math.floor(this.scrollTop/this.rowHeight)},chunkIndex(){return Math.floor(this.topIndex/this.chunkSize)},startIndex(){return Math.max(0,this.chunkIndex*this.chunkSize-this.chunkSize)},offsetTop(){return Math.max(0,this.startIndex*this.rowHeight)},stopIndex(){return Math.min(this.startIndex+3*this.chunkSize,this.itemsLength)},offsetBottom(){return Math.max(0,(this.itemsLength-this.stopIndex-this.startIndex)*this.rowHeight)}},watch:{chunkIndex(t,e){this.oldChunk=e},items(){this.cachedItems=null,this.$refs.table.scrollTop=0}},created(){this.cachedItems=null},mounted(){this.scrollDebounce=Object(n["l"])(this.onScroll,50),this.$refs.table.addEventListener("scroll",this.scrollDebounce,{passive:!0})},beforeDestroy(){this.$refs.table.removeEventListener("scroll",this.scrollDebounce)},methods:{createStyleHeight(t){return{height:t+"px"}},genBody(){return null!==this.cachedItems&&this.chunkIndex===this.oldChunk||(this.cachedItems=this.genItems(),this.oldChunk=this.chunkIndex),this.$createElement("tbody",[this.$createElement("tr",{style:this.createStyleHeight(this.offsetTop)}),this.cachedItems,this.$createElement("tr",{style:this.createStyleHeight(this.offsetBottom)})])},genItems(){return this.$scopedSlots.items({items:this.items.slice(this.startIndex,this.stopIndex)})},onScroll(t){const e=t.target;this.scrollTop=e.scrollTop},genTable(){return this.$createElement("div",{ref:"table",staticClass:"v-virtual-table__table"},[this.$createElement("table",[this.$slots["body.before"],this.genBody(),this.$slots["body.after"]])])},genWrapper(){return this.$createElement("div",{staticClass:"v-virtual-table__wrapper",style:{height:Object(n["i"])(this.height)}},[this.genTable()])}},render(t){return t("div",{staticClass:"v-data-table v-virtual-table",class:this.classes},[Object(n["u"])(this,"top"),this.genWrapper(),Object(n["u"])(this,"bottom")])}});const h=Object(n["k"])("v-table__overflow");i["a"],o["a"],a["a"],s["a"]},a9ad:function(t,e,r){"use strict";var n=r("2b0e"),i=r("d9bd"),o=r("7bc6");e["a"]=n["default"].extend({name:"colorable",props:{color:String},methods:{setBackgroundColor(t,e={}){return"string"===typeof e.style?(Object(i["b"])("style must be an object",this),e):"string"===typeof e.class?(Object(i["b"])("class must be an object",this),e):(Object(o["n"])(t)?e.style={...e.style,"background-color":""+t,"border-color":""+t}:t&&(e.class={...e.class,[t]:!0}),e)},setTextColor(t,e={}){if("string"===typeof e.style)return Object(i["b"])("style must be an object",this),e;if("string"===typeof e.class)return Object(i["b"])("class must be an object",this),e;if(Object(o["n"])(t))e.style={...e.style,color:""+t,"caret-color":""+t};else if(t){const[r,n]=t.toString().trim().split(" ",2);e.class={...e.class,[r+"--text"]:!0},n&&(e.class["text--"+n]=!0)}return e}}})},aa52:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("fb86"),i=r("1ec9"),o=r("2a12"),a=r("bdff");const s=i.configure(t=>{async function e(e,r={}){const i=await t.post("object/get",{signal:r.signal,searchParams:o.toUrlSearchParams({arg:""+(e instanceof Uint8Array?n.CID.decode(e):e),dataEncoding:"base64",...r}),headers:r.headers}),s=await i.json();return{Data:a.fromString(s.Data,"base64pad"),Links:(s.Links||[]).map(t=>({Name:t.Name,Hash:n.CID.parse(t.Hash),Tsize:t.Size}))}}return e});e.createGet=s},aac8:function(t,e,r){"use strict";var n=r("f665"),i=r("604c");e["a"]=n["a"].extend({name:"v-tabs-items",props:{mandatory:{type:Boolean,default:!1}},computed:{classes(){return{...n["a"].options.computed.classes.call(this),"v-tabs-items":!0}},isDark(){return this.rootIsDark}},methods:{getValue(t,e){return t.id||i["a"].options.methods.getValue.call(this,t,e)}}})},aaeb:function(t,e,r){"use strict";function n(t,e,r){return Object.keys(t.$listeners).reduce((n,i)=>(i.endsWith(e)&&(n[i.slice(0,-e.length)]=e=>t.$emit(i,r,e)),n),{})}function i(t,e){return Object.keys(t.$listeners).reduce((r,n)=>(n.endsWith(e)&&(r[n]=t.$listeners[n]),r),{})}r.d(e,"b",(function(){return n})),r.d(e,"a",(function(){return i}))},aaf2:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
function e(t,e,r,n){var i={s:["थोडया सॅकंडांनी","थोडे सॅकंड"],ss:[t+" सॅकंडांनी",t+" सॅकंड"],m:["एका मिणटान","एक मिनूट"],mm:[t+" मिणटांनी",t+" मिणटां"],h:["एका वरान","एक वर"],hh:[t+" वरांनी",t+" वरां"],d:["एका दिसान","एक दीस"],dd:[t+" दिसांनी",t+" दीस"],M:["एका म्हयन्यान","एक म्हयनो"],MM:[t+" म्हयन्यानी",t+" म्हयने"],y:["एका वर्सान","एक वर्स"],yy:[t+" वर्सांनी",t+" वर्सां"]};return n?i[r][0]:i[r][1]}var r=t.defineLocale("gom-deva",{months:{standalone:"जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),format:"जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार".split("_"),weekdaysShort:"आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.".split("_"),weekdaysMin:"आ_सो_मं_बु_ब्रे_सु_शे".split("_"),weekdaysParseExact:!0,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, MMMM Do, YYYY, A h:mm [वाजतां]",llll:"ddd, D MMM YYYY, A h:mm [वाजतां]"},calendar:{sameDay:"[आयज] LT",nextDay:"[फाल्यां] LT",nextWeek:"[फुडलो] dddd[,] LT",lastDay:"[काल] LT",lastWeek:"[फाटलो] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s आदीं",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(वेर)/,ordinal:function(t,e){switch(e){case"D":return t+"वेर";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return t}},week:{dow:0,doy:3},meridiemParse:/राती|सकाळीं|दनपारां|सांजे/,meridiemHour:function(t,e){return 12===t&&(t=0),"राती"===e?t<4?t:t+12:"सकाळीं"===e?t:"दनपारां"===e?t>12?t:t+12:"सांजे"===e?t+12:void 0},meridiem:function(t,e,r){return t<4?"राती":t<12?"सकाळीं":t<16?"दनपारां":t<20?"सांजे":"राती"}});return r}))},ab50:function(t,e,r){"use strict";r("d59f");var n=r("80d2"),i=r("2e05"),o=r("2b0e");e["a"]=o["default"].extend({name:"v-color-picker-canvas",props:{color:{type:Object,default:()=>Object(i["f"])({r:255,g:0,b:0,a:1})},disabled:Boolean,dotSize:{type:[Number,String],default:10},height:{type:[Number,String],default:150},width:{type:[Number,String],default:300}},data(){return{boundingRect:{width:0,height:0,left:0,top:0}}},computed:{dot(){return this.color?{x:this.color.hsva.s*parseInt(this.width,10),y:(1-this.color.hsva.v)*parseInt(this.height,10)}:{x:0,y:0}}},watch:{"color.hue":"updateCanvas"},mounted(){this.updateCanvas()},methods:{emitColor(t,e){const{left:r,top:o,width:a,height:s}=this.boundingRect;this.$emit("update:color",Object(i["c"])({h:this.color.hue,s:Object(n["g"])(t-r,0,a)/a,v:1-Object(n["g"])(e-o,0,s)/s,a:this.color.alpha}))},updateCanvas(){if(!this.color)return;const t=this.$refs.canvas,e=t.getContext("2d");if(!e)return;const r=e.createLinearGradient(0,0,t.width,0);r.addColorStop(0,"hsla(0, 0%, 100%, 1)"),r.addColorStop(1,`hsla(${this.color.hue}, 100%, 50%, 1)`),e.fillStyle=r,e.fillRect(0,0,t.width,t.height);const n=e.createLinearGradient(0,0,0,t.height);n.addColorStop(0,"hsla(0, 0%, 100%, 0)"),n.addColorStop(1,"hsla(0, 0%, 0%, 1)"),e.fillStyle=n,e.fillRect(0,0,t.width,t.height)},handleClick(t){this.disabled||(this.boundingRect=this.$el.getBoundingClientRect(),this.emitColor(t.clientX,t.clientY))},handleMouseDown(t){t.preventDefault(),this.disabled||(this.boundingRect=this.$el.getBoundingClientRect(),window.addEventListener("mousemove",this.handleMouseMove),window.addEventListener("mouseup",this.handleMouseUp))},handleMouseMove(t){this.disabled||this.emitColor(t.clientX,t.clientY)},handleMouseUp(){window.removeEventListener("mousemove",this.handleMouseMove),window.removeEventListener("mouseup",this.handleMouseUp)},genCanvas(){return this.$createElement("canvas",{ref:"canvas",attrs:{width:this.width,height:this.height}})},genDot(){const t=parseInt(this.dotSize,10)/2,e=Object(n["i"])(this.dot.x-t),r=Object(n["i"])(this.dot.y-t);return this.$createElement("div",{staticClass:"v-color-picker__canvas-dot",class:{"v-color-picker__canvas-dot--disabled":this.disabled},style:{width:Object(n["i"])(this.dotSize),height:Object(n["i"])(this.dotSize),transform:`translate(${e}, ${r})`}})}},render(t){return t("div",{staticClass:"v-color-picker__canvas",style:{width:Object(n["i"])(this.width),height:Object(n["i"])(this.height)},on:{click:this.handleClick,mousedown:this.handleMouseDown}},[this.genCanvas(),this.genDot()])}})},abd3:function(t,e,r){},abd8:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("fb86"),i=r("1ec9"),o=r("2a12");const a=i.configure(t=>{async function e(e,r,i={}){const a=await t.post("object/patch/add-link",{signal:i.signal,searchParams:o.toUrlSearchParams({arg:[""+e,r.Name||r.name||"",(r.Hash||r.cid||"").toString()||null],...i}),headers:i.headers}),{Hash:s}=await a.json();return n.CID.parse(s)}return e});e.createAddLink=a},ac1b:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("68b7");const i=(t,e=0)=>{const r=n.decode(t,e);return[r,n.decode.bytes]},o=(t,e,r=0)=>(n.encode(t,e,r),e),a=t=>n.encodingLength(t);e.decode=i,e.encodeTo=o,e.encodingLength=a},ac23:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n="CBOR decode error:",i="CBOR encode error:",o=[];function a(t,e,r){if(t.length-e<r)throw new Error(n+" not enough data for type")}o[23]=1,o[24]=2,o[25]=3,o[26]=5,o[27]=9,e.assertEnoughData=a,e.decodeErrPrefix=n,e.encodeErrPrefix=i,e.uintMinorPrefixBytes=o},ac4f:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("543b");function i(t){return t&&"object"===typeof t&&"default"in t?t:{default:t}}var o=i(n);const a=o["default"].Reader,s=o["default"].Writer,u=o["default"].util,c=o["default"].roots["ipfs-unixfs"]||(o["default"].roots["ipfs-unixfs"]={}),l=c.Data=(()=>{function t(t){if(this.blocksizes=[],t)for(var e=Object.keys(t),r=0;r<e.length;++r)null!=t[e[r]]&&(this[e[r]]=t[e[r]])}return t.prototype.Type=0,t.prototype.Data=u.newBuffer([]),t.prototype.filesize=u.Long?u.Long.fromBits(0,0,!0):0,t.prototype.blocksizes=u.emptyArray,t.prototype.hashType=u.Long?u.Long.fromBits(0,0,!0):0,t.prototype.fanout=u.Long?u.Long.fromBits(0,0,!0):0,t.prototype.mode=0,t.prototype.mtime=null,t.encode=function(t,e){if(e||(e=s.create()),e.uint32(8).int32(t.Type),null!=t.Data&&Object.hasOwnProperty.call(t,"Data")&&e.uint32(18).bytes(t.Data),null!=t.filesize&&Object.hasOwnProperty.call(t,"filesize")&&e.uint32(24).uint64(t.filesize),null!=t.blocksizes&&t.blocksizes.length)for(var r=0;r<t.blocksizes.length;++r)e.uint32(32).uint64(t.blocksizes[r]);return null!=t.hashType&&Object.hasOwnProperty.call(t,"hashType")&&e.uint32(40).uint64(t.hashType),null!=t.fanout&&Object.hasOwnProperty.call(t,"fanout")&&e.uint32(48).uint64(t.fanout),null!=t.mode&&Object.hasOwnProperty.call(t,"mode")&&e.uint32(56).uint32(t.mode),null!=t.mtime&&Object.hasOwnProperty.call(t,"mtime")&&c.UnixTime.encode(t.mtime,e.uint32(66).fork()).ldelim(),e},t.decode=function(t,e){t instanceof a||(t=a.create(t));var r=void 0===e?t.len:t.pos+e,n=new c.Data;while(t.pos<r){var i=t.uint32();switch(i>>>3){case 1:n.Type=t.int32();break;case 2:n.Data=t.bytes();break;case 3:n.filesize=t.uint64();break;case 4:if(n.blocksizes&&n.blocksizes.length||(n.blocksizes=[]),2===(7&i)){var o=t.uint32()+t.pos;while(t.pos<o)n.blocksizes.push(t.uint64())}else n.blocksizes.push(t.uint64());break;case 5:n.hashType=t.uint64();break;case 6:n.fanout=t.uint64();break;case 7:n.mode=t.uint32();break;case 8:n.mtime=c.UnixTime.decode(t,t.uint32());break;default:t.skipType(7&i);break}}if(!n.hasOwnProperty("Type"))throw u.ProtocolError("missing required 'Type'",{instance:n});return n},t.fromObject=function(t){if(t instanceof c.Data)return t;var e=new c.Data;switch(t.Type){case"Raw":case 0:e.Type=0;break;case"Directory":case 1:e.Type=1;break;case"File":case 2:e.Type=2;break;case"Metadata":case 3:e.Type=3;break;case"Symlink":case 4:e.Type=4;break;case"HAMTShard":case 5:e.Type=5;break}if(null!=t.Data&&("string"===typeof t.Data?u.base64.decode(t.Data,e.Data=u.newBuffer(u.base64.length(t.Data)),0):t.Data.length&&(e.Data=t.Data)),null!=t.filesize&&(u.Long?(e.filesize=u.Long.fromValue(t.filesize)).unsigned=!0:"string"===typeof t.filesize?e.filesize=parseInt(t.filesize,10):"number"===typeof t.filesize?e.filesize=t.filesize:"object"===typeof t.filesize&&(e.filesize=new u.LongBits(t.filesize.low>>>0,t.filesize.high>>>0).toNumber(!0))),t.blocksizes){if(!Array.isArray(t.blocksizes))throw TypeError(".Data.blocksizes: array expected");e.blocksizes=[];for(var r=0;r<t.blocksizes.length;++r)u.Long?(e.blocksizes[r]=u.Long.fromValue(t.blocksizes[r])).unsigned=!0:"string"===typeof t.blocksizes[r]?e.blocksizes[r]=parseInt(t.blocksizes[r],10):"number"===typeof t.blocksizes[r]?e.blocksizes[r]=t.blocksizes[r]:"object"===typeof t.blocksizes[r]&&(e.blocksizes[r]=new u.LongBits(t.blocksizes[r].low>>>0,t.blocksizes[r].high>>>0).toNumber(!0))}if(null!=t.hashType&&(u.Long?(e.hashType=u.Long.fromValue(t.hashType)).unsigned=!0:"string"===typeof t.hashType?e.hashType=parseInt(t.hashType,10):"number"===typeof t.hashType?e.hashType=t.hashType:"object"===typeof t.hashType&&(e.hashType=new u.LongBits(t.hashType.low>>>0,t.hashType.high>>>0).toNumber(!0))),null!=t.fanout&&(u.Long?(e.fanout=u.Long.fromValue(t.fanout)).unsigned=!0:"string"===typeof t.fanout?e.fanout=parseInt(t.fanout,10):"number"===typeof t.fanout?e.fanout=t.fanout:"object"===typeof t.fanout&&(e.fanout=new u.LongBits(t.fanout.low>>>0,t.fanout.high>>>0).toNumber(!0))),null!=t.mode&&(e.mode=t.mode>>>0),null!=t.mtime){if("object"!==typeof t.mtime)throw TypeError(".Data.mtime: object expected");e.mtime=c.UnixTime.fromObject(t.mtime)}return e},t.toObject=function(t,e){e||(e={});var r={};if((e.arrays||e.defaults)&&(r.blocksizes=[]),e.defaults){if(r.Type=e.enums===String?"Raw":0,e.bytes===String?r.Data="":(r.Data=[],e.bytes!==Array&&(r.Data=u.newBuffer(r.Data))),u.Long){var n=new u.Long(0,0,!0);r.filesize=e.longs===String?n.toString():e.longs===Number?n.toNumber():n}else r.filesize=e.longs===String?"0":0;if(u.Long){n=new u.Long(0,0,!0);r.hashType=e.longs===String?n.toString():e.longs===Number?n.toNumber():n}else r.hashType=e.longs===String?"0":0;if(u.Long){n=new u.Long(0,0,!0);r.fanout=e.longs===String?n.toString():e.longs===Number?n.toNumber():n}else r.fanout=e.longs===String?"0":0;r.mode=0,r.mtime=null}if(null!=t.Type&&t.hasOwnProperty("Type")&&(r.Type=e.enums===String?c.Data.DataType[t.Type]:t.Type),null!=t.Data&&t.hasOwnProperty("Data")&&(r.Data=e.bytes===String?u.base64.encode(t.Data,0,t.Data.length):e.bytes===Array?Array.prototype.slice.call(t.Data):t.Data),null!=t.filesize&&t.hasOwnProperty("filesize")&&("number"===typeof t.filesize?r.filesize=e.longs===String?String(t.filesize):t.filesize:r.filesize=e.longs===String?u.Long.prototype.toString.call(t.filesize):e.longs===Number?new u.LongBits(t.filesize.low>>>0,t.filesize.high>>>0).toNumber(!0):t.filesize),t.blocksizes&&t.blocksizes.length){r.blocksizes=[];for(var i=0;i<t.blocksizes.length;++i)"number"===typeof t.blocksizes[i]?r.blocksizes[i]=e.longs===String?String(t.blocksizes[i]):t.blocksizes[i]:r.blocksizes[i]=e.longs===String?u.Long.prototype.toString.call(t.blocksizes[i]):e.longs===Number?new u.LongBits(t.blocksizes[i].low>>>0,t.blocksizes[i].high>>>0).toNumber(!0):t.blocksizes[i]}return null!=t.hashType&&t.hasOwnProperty("hashType")&&("number"===typeof t.hashType?r.hashType=e.longs===String?String(t.hashType):t.hashType:r.hashType=e.longs===String?u.Long.prototype.toString.call(t.hashType):e.longs===Number?new u.LongBits(t.hashType.low>>>0,t.hashType.high>>>0).toNumber(!0):t.hashType),null!=t.fanout&&t.hasOwnProperty("fanout")&&("number"===typeof t.fanout?r.fanout=e.longs===String?String(t.fanout):t.fanout:r.fanout=e.longs===String?u.Long.prototype.toString.call(t.fanout):e.longs===Number?new u.LongBits(t.fanout.low>>>0,t.fanout.high>>>0).toNumber(!0):t.fanout),null!=t.mode&&t.hasOwnProperty("mode")&&(r.mode=t.mode),null!=t.mtime&&t.hasOwnProperty("mtime")&&(r.mtime=c.UnixTime.toObject(t.mtime,e)),r},t.prototype.toJSON=function(){return this.constructor.toObject(this,o["default"].util.toJSONOptions)},t.DataType=function(){const t={},e=Object.create(t);return e[t[0]="Raw"]=0,e[t[1]="Directory"]=1,e[t[2]="File"]=2,e[t[3]="Metadata"]=3,e[t[4]="Symlink"]=4,e[t[5]="HAMTShard"]=5,e}(),t})(),h=c.UnixTime=(()=>{function t(t){if(t)for(var e=Object.keys(t),r=0;r<e.length;++r)null!=t[e[r]]&&(this[e[r]]=t[e[r]])}return t.prototype.Seconds=u.Long?u.Long.fromBits(0,0,!1):0,t.prototype.FractionalNanoseconds=0,t.encode=function(t,e){return e||(e=s.create()),e.uint32(8).int64(t.Seconds),null!=t.FractionalNanoseconds&&Object.hasOwnProperty.call(t,"FractionalNanoseconds")&&e.uint32(21).fixed32(t.FractionalNanoseconds),e},t.decode=function(t,e){t instanceof a||(t=a.create(t));var r=void 0===e?t.len:t.pos+e,n=new c.UnixTime;while(t.pos<r){var i=t.uint32();switch(i>>>3){case 1:n.Seconds=t.int64();break;case 2:n.FractionalNanoseconds=t.fixed32();break;default:t.skipType(7&i);break}}if(!n.hasOwnProperty("Seconds"))throw u.ProtocolError("missing required 'Seconds'",{instance:n});return n},t.fromObject=function(t){if(t instanceof c.UnixTime)return t;var e=new c.UnixTime;return null!=t.Seconds&&(u.Long?(e.Seconds=u.Long.fromValue(t.Seconds)).unsigned=!1:"string"===typeof t.Seconds?e.Seconds=parseInt(t.Seconds,10):"number"===typeof t.Seconds?e.Seconds=t.Seconds:"object"===typeof t.Seconds&&(e.Seconds=new u.LongBits(t.Seconds.low>>>0,t.Seconds.high>>>0).toNumber())),null!=t.FractionalNanoseconds&&(e.FractionalNanoseconds=t.FractionalNanoseconds>>>0),e},t.toObject=function(t,e){e||(e={});var r={};if(e.defaults){if(u.Long){var n=new u.Long(0,0,!1);r.Seconds=e.longs===String?n.toString():e.longs===Number?n.toNumber():n}else r.Seconds=e.longs===String?"0":0;r.FractionalNanoseconds=0}return null!=t.Seconds&&t.hasOwnProperty("Seconds")&&("number"===typeof t.Seconds?r.Seconds=e.longs===String?String(t.Seconds):t.Seconds:r.Seconds=e.longs===String?u.Long.prototype.toString.call(t.Seconds):e.longs===Number?new u.LongBits(t.Seconds.low>>>0,t.Seconds.high>>>0).toNumber():t.Seconds),null!=t.FractionalNanoseconds&&t.hasOwnProperty("FractionalNanoseconds")&&(r.FractionalNanoseconds=t.FractionalNanoseconds),r},t.prototype.toJSON=function(){return this.constructor.toObject(this,o["default"].util.toJSONOptions)},t})(),f=c.Metadata=(()=>{function t(t){if(t)for(var e=Object.keys(t),r=0;r<e.length;++r)null!=t[e[r]]&&(this[e[r]]=t[e[r]])}return t.prototype.MimeType="",t.encode=function(t,e){return e||(e=s.create()),null!=t.MimeType&&Object.hasOwnProperty.call(t,"MimeType")&&e.uint32(10).string(t.MimeType),e},t.decode=function(t,e){t instanceof a||(t=a.create(t));var r=void 0===e?t.len:t.pos+e,n=new c.Metadata;while(t.pos<r){var i=t.uint32();switch(i>>>3){case 1:n.MimeType=t.string();break;default:t.skipType(7&i);break}}return n},t.fromObject=function(t){if(t instanceof c.Metadata)return t;var e=new c.Metadata;return null!=t.MimeType&&(e.MimeType=String(t.MimeType)),e},t.toObject=function(t,e){e||(e={});var r={};return e.defaults&&(r.MimeType=""),null!=t.MimeType&&t.hasOwnProperty("MimeType")&&(r.MimeType=t.MimeType),r},t.prototype.toJSON=function(){return this.constructor.toObject(this,o["default"].util.toJSONOptions)},t})();e.Data=l,e.Metadata=f,e.UnixTime=h,e["default"]=c},ac7c:function(t,e,r){"use strict";r("6ca7"),r("ec29");var n=r("9d26"),i=r("c37a"),o=r("fe09");e["a"]=o["a"].extend({name:"v-checkbox",props:{indeterminate:Boolean,indeterminateIcon:{type:String,default:"$checkboxIndeterminate"},offIcon:{type:String,default:"$checkboxOff"},onIcon:{type:String,default:"$checkboxOn"}},data(){return{inputIndeterminate:this.indeterminate}},computed:{classes(){return{...i["b"].options.computed.classes.call(this),"v-input--selection-controls":!0,"v-input--checkbox":!0,"v-input--indeterminate":this.inputIndeterminate}},computedIcon(){return this.inputIndeterminate?this.indeterminateIcon:this.isActive?this.onIcon:this.offIcon},validationState(){if(!this.isDisabled||this.inputIndeterminate)return this.hasError&&this.shouldValidate?"error":this.hasSuccess?"success":null!==this.hasColor?this.computedColor:void 0}},watch:{indeterminate(t){this.$nextTick(()=>this.inputIndeterminate=t)},inputIndeterminate(t){this.$emit("update:indeterminate",t)},isActive(){this.indeterminate&&(this.inputIndeterminate=!1)}},methods:{genCheckbox(){const{title:t,...e}=this.attrs$;return this.$createElement("div",{staticClass:"v-input--selection-controls__input"},[this.$createElement(n["b"],this.setTextColor(this.validationState,{props:{dense:this.dense,dark:this.dark,light:this.light}}),this.computedIcon),this.genInput("checkbox",{...e,"aria-checked":this.inputIndeterminate?"mixed":this.isActive.toString()}),this.genRipple(this.setTextColor(this.rippleState))])},genDefaultSlot(){return[this.genCheckbox(),this.genLabel()]}}})},ac7f:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1ec9"),i=r("2a12");const o=n.configure(t=>{async function e(e,r={}){const n=await t.post("resolve",{signal:r.signal,searchParams:i.toUrlSearchParams({arg:e,...r}),headers:r.headers}),{Path:o}=await n.json();return o}return e});e.createResolve=o},acd6:function(t,e,r){"use strict";r("e635");var n=r("daf1"),i=r("50de"),o=r("58df"),a=r("313f");e["a"]=Object(o["a"])(n["a"]).extend({name:"v-time-picker-title",props:{ampm:Boolean,ampmReadonly:Boolean,disabled:Boolean,hour:Number,minute:Number,second:Number,period:{type:String,validator:t=>"am"===t||"pm"===t},readonly:Boolean,useSeconds:Boolean,selecting:Number},methods:{genTime(){let t=this.hour;this.ampm&&(t=t?(t-1)%12+1:12);const e=null==this.hour?"--":this.ampm?String(t):Object(i["a"])(t),r=null==this.minute?"--":Object(i["a"])(this.minute),n=[this.genPickerButton("selecting",a["a"].Hour,e,this.disabled),this.$createElement("span",":"),this.genPickerButton("selecting",a["a"].Minute,r,this.disabled)];if(this.useSeconds){const t=null==this.second?"--":Object(i["a"])(this.second);n.push(this.$createElement("span",":")),n.push(this.genPickerButton("selecting",a["a"].Second,t,this.disabled))}return this.$createElement("div",{class:"v-time-picker-title__time"},n)},genAmPm(){return this.$createElement("div",{staticClass:"v-time-picker-title__ampm",class:{"v-time-picker-title__ampm--readonly":this.ampmReadonly}},[this.ampmReadonly&&"am"!==this.period?null:this.genPickerButton("period","am",this.$vuetify.lang.t("$vuetify.timePicker.am"),this.disabled||this.readonly),this.ampmReadonly&&"pm"!==this.period?null:this.genPickerButton("period","pm",this.$vuetify.lang.t("$vuetify.timePicker.pm"),this.disabled||this.readonly)])}},render(t){const e=[this.genTime()];return this.ampm&&e.push(this.genAmPm()),t("div",{staticClass:"v-time-picker-title"},e)}})},ada2:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
function e(t,e){var r=t.split("_");return e%10===1&&e%100!==11?r[0]:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?r[1]:r[2]}function r(t,r,n){var i={ss:r?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:r?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:r?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};return"m"===n?r?"хвилина":"хвилину":"h"===n?r?"година":"годину":t+" "+e(i[n],+t)}function n(t,e){var r,n={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===t?n["nominative"].slice(1,7).concat(n["nominative"].slice(0,1)):t?(r=/(\[[ВвУу]\]) ?dddd/.test(e)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(e)?"genitive":"nominative",n[r][t.day()]):n["nominative"]}function i(t){return function(){return t+"о"+(11===this.hours()?"б":"")+"] LT"}}var o=t.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:n,weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".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:i("[Сьогодні "),nextDay:i("[Завтра "),lastDay:i("[Вчора "),nextWeek:i("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return i("[Минулої] dddd [").call(this);case 1:case 2:case 4:return i("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:r,m:r,mm:r,h:"годину",hh:r,d:"день",dd:r,M:"місяць",MM:r,y:"рік",yy:r},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(t){return/^(дня|вечора)$/.test(t)},meridiem:function(t,e,r){return t<4?"ночі":t<12?"ранку":t<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t+"-й";case"D":return t+"-го";default:return t}},week:{dow:1,doy:7}});return o}))},adda:function(t,e,r){"use strict";r("8efc");var n=r("90a2"),i=r("78d7"),o=r("7560"),a=r("58df"),s=r("d9f7"),u=r("d9bd"),c=r("80d2");const l="undefined"!==typeof window&&"IntersectionObserver"in window;e["a"]=Object(a["a"])(i["b"],o["a"]).extend({name:"v-img",directives:{intersect:n["b"]},props:{alt:String,contain:Boolean,eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},position:{type:String,default:"center center"},sizes:String,src:{type:[String,Object],default:""},srcset:String,transition:{type:[Boolean,String],default:"fade-transition"}},data(){return{currentSrc:"",image:null,isLoading:!0,calculatedAspectRatio:void 0,naturalWidth:void 0,hasError:!1}},computed:{computedAspectRatio(){return Number(this.normalisedSrc.aspect||this.calculatedAspectRatio)},normalisedSrc(){return this.src&&"object"===typeof this.src?{src:this.src.src,srcset:this.srcset||this.src.srcset,lazySrc:this.lazySrc||this.src.lazySrc,aspect:Number(this.aspectRatio||this.src.aspect)}:{src:this.src,srcset:this.srcset,lazySrc:this.lazySrc,aspect:Number(this.aspectRatio||0)}},__cachedImage(){if(!(this.normalisedSrc.src||this.normalisedSrc.lazySrc||this.gradient))return[];const t=[],e=this.isLoading?this.normalisedSrc.lazySrc:this.currentSrc;this.gradient&&t.push(`linear-gradient(${this.gradient})`),e&&t.push(`url("${e}")`);const r=this.$createElement("div",{staticClass:"v-image__image",class:{"v-image__image--preload":this.isLoading,"v-image__image--contain":this.contain,"v-image__image--cover":!this.contain},style:{backgroundImage:t.join(", "),backgroundPosition:this.position},key:+this.isLoading});return this.transition?this.$createElement("transition",{attrs:{name:this.transition,mode:"in-out"}},[r]):r}},watch:{src(){this.isLoading?this.loadImage():this.init(void 0,void 0,!0)},"$vuetify.breakpoint.width":"getSrc"},mounted(){this.init()},methods:{init(t,e,r){if(!l||r||this.eager){if(this.normalisedSrc.lazySrc){const t=new Image;t.src=this.normalisedSrc.lazySrc,this.pollForSize(t,null)}this.normalisedSrc.src&&this.loadImage()}},onLoad(){this.getSrc(),this.isLoading=!1,this.$emit("load",this.src),this.image&&(this.normalisedSrc.src.endsWith(".svg")||this.normalisedSrc.src.startsWith("data:image/svg+xml"))&&(this.image.naturalHeight&&this.image.naturalWidth?(this.naturalWidth=this.image.naturalWidth,this.calculatedAspectRatio=this.image.naturalWidth/this.image.naturalHeight):this.calculatedAspectRatio=1)},onError(){this.hasError=!0,this.$emit("error",this.src)},getSrc(){this.image&&(this.currentSrc=this.image.currentSrc||this.image.src)},loadImage(){const t=new Image;this.image=t,t.onload=()=>{t.decode?t.decode().catch(t=>{Object(u["c"])("Failed to decode image, trying to render anyway\n\nsrc: "+this.normalisedSrc.src+(t.message?"\nOriginal error: "+t.message:""),this)}).then(this.onLoad):this.onLoad()},t.onerror=this.onError,this.hasError=!1,this.sizes&&(t.sizes=this.sizes),this.normalisedSrc.srcset&&(t.srcset=this.normalisedSrc.srcset),t.src=this.normalisedSrc.src,this.$emit("loadstart",this.normalisedSrc.src),this.aspectRatio||this.pollForSize(t),this.getSrc()},pollForSize(t,e=100){const r=()=>{const{naturalHeight:n,naturalWidth:i}=t;n||i?(this.naturalWidth=i,this.calculatedAspectRatio=i/n):t.complete||!this.isLoading||this.hasError||null==e||setTimeout(r,e)};r()},genContent(){const t=i["b"].options.methods.genContent.call(this);return this.naturalWidth&&this._b(t.data,"div",{style:{width:this.naturalWidth+"px"}}),t},__genPlaceholder(){const t=Object(c["u"])(this,"placeholder");if(t){const e=this.isLoading?[this.$createElement("div",{staticClass:"v-image__placeholder"},t)]:[];return this.transition?this.$createElement("transition",{props:{appear:!0,name:this.transition}},e):e[0]}}},render(t){const e=i["b"].options.render.call(this,t),r=Object(s["a"])(e.data,{staticClass:"v-image",attrs:{"aria-label":this.alt,role:this.alt?"img":void 0},class:this.themeClasses,directives:l?[{name:"intersect",modifiers:{once:!0},value:{handler:this.init,options:this.options}}]:void 0});return e.children=[this.__cachedSizer,this.__cachedImage,this.__genPlaceholder(),this.genContent()],t(e.tag,r,e.children)}})},ae71:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1ec9"),i=r("2a12");const o=n.configure(t=>{async function*e(e,r={}){const n=await t.post("dag/export",{signal:r.signal,searchParams:i.toUrlSearchParams({arg:e.toString()}),headers:r.headers});yield*n.iterator()}return e});e.createExport=o},af2b:function(t,e,r){"use strict";var n=r("2b0e");e["a"]=n["default"].extend({name:"sizeable",props:{large:Boolean,small:Boolean,xLarge:Boolean,xSmall:Boolean},computed:{medium(){return Boolean(!this.xSmall&&!this.small&&!this.large&&!this.xLarge)},sizeableClasses(){return{"v-size--x-small":this.xSmall,"v-size--small":this.small,"v-size--default":this.medium,"v-size--large":this.large,"v-size--x-large":this.xLarge}}}})},af3a:function(t,e){t.exports=a;var r=128,n=127,i=~n,o=Math.pow(2,31);function a(t,e,n){if(Number.MAX_SAFE_INTEGER&&t>Number.MAX_SAFE_INTEGER)throw a.bytes=0,new RangeError("Could not encode varint");e=e||[],n=n||0;var s=n;while(t>=o)e[n++]=255&t|r,t/=128;while(t&i)e[n++]=255&t|r,t>>>=7;return e[n]=0|t,a.bytes=n-s+1,e}},afdd:function(t,e,r){"use strict";var n=r("8336");r.d(e,"a",(function(){return n["a"]})),e["b"]=n["a"]},afe5:function(t,e,r){"use strict";var n=r("a609");r.d(e,"a",(function(){return n["a"]}));n["a"]},b0af:function(t,e,r){"use strict";r("615b");var n=r("10d2"),i=r("297c"),o=r("1c87"),a=r("58df"),s=r("80d2");e["a"]=Object(a["a"])(i["a"],o["a"],n["b"]).extend({name:"v-card",props:{flat:Boolean,hover:Boolean,img:String,link:Boolean,loaderHeight:{type:[Number,String],default:4},raised:Boolean},computed:{classes(){return{"v-card":!0,...o["a"].options.computed.classes.call(this),"v-card--flat":this.flat,"v-card--hover":this.hover,"v-card--link":this.isClickable,"v-card--loading":this.loading,"v-card--disabled":this.disabled,"v-card--raised":this.raised,...n["b"].options.computed.classes.call(this)}},styles(){const t={...n["b"].options.computed.styles.call(this)};return this.img&&(t.background=`url("${this.img}") center center / cover no-repeat`),t}},methods:{genProgress(){const t=i["a"].options.methods.genProgress.call(this);return t?this.$createElement("div",{staticClass:"v-card__progress",key:"progress"},[t]):null}},render(t){const{tag:e,data:r}=this.generateRouteLink();return r.style=this.styles,this.isClickable&&(r.attrs=r.attrs||{},r.attrs.tabindex=0),t(e,this.setBackgroundColor(this.color,r),[this.genProgress(),Object(s["u"])(this)])}})},b127:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("fb86"),i=r("1ec9"),o=r("2a12");const a=i.configure(t=>{async function*e(e,r={}){Array.isArray(e)||(e=[e]);const n=await t.post("block/rm",{signal:r.signal,searchParams:o.toUrlSearchParams({arg:e.map(t=>t.toString()),"stream-channels":!0,...r}),headers:r.headers});for await(const t of n.ndjson())yield s(t)}return e});function s(t){const e={cid:n.CID.parse(t.Hash)};return t.Error&&(e.error=new Error(t.Error)),e}e.createRm=a},b166:function(t,e,r){"use strict";r.d(e,"a",(function(){return B}));var n=r("53ca"),i=r("8c86");function o(t){return Object(i["a"])(1,arguments),t instanceof Date||"object"===Object(n["a"])(t)&&"[object Date]"===Object.prototype.toString.call(t)}var a=r("fd3a");function s(t){if(Object(i["a"])(1,arguments),!o(t)&&"number"!==typeof t)return!1;var e=Object(a["a"])(t);return!isNaN(Number(e))}var u=r("83d2"),c=864e5;function l(t){Object(i["a"])(1,arguments);var e=Object(a["a"])(t),r=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var n=e.getTime(),o=r-n;return Math.floor(o/c)+1}var h=r("9606"),f=r("82bd"),d=r("12ba"),p=r("4b3c");function m(t,e){var r=t<0?"-":"",n=Math.abs(t).toString();while(n.length<e)n="0"+n;return r+n}var g={y:function(t,e){var r=t.getUTCFullYear(),n=r>0?r:1-r;return m("yy"===e?n%100:n,e.length)},M:function(t,e){var r=t.getUTCMonth();return"M"===e?String(r+1):m(r+1,2)},d:function(t,e){return m(t.getUTCDate(),e.length)},a:function(t,e){var r=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return"am"===r?"a.m.":"p.m."}},h:function(t,e){return m(t.getUTCHours()%12||12,e.length)},H:function(t,e){return m(t.getUTCHours(),e.length)},m:function(t,e){return m(t.getUTCMinutes(),e.length)},s:function(t,e){return m(t.getUTCSeconds(),e.length)},S:function(t,e){var r=e.length,n=t.getUTCMilliseconds(),i=Math.floor(n*Math.pow(10,r-3));return m(i,e.length)}},y=g,v={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},b={G:function(t,e,r){var n=t.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});case"GGGG":default:return r.era(n,{width:"wide"})}},y:function(t,e,r){if("yo"===e){var n=t.getUTCFullYear(),i=n>0?n:1-n;return r.ordinalNumber(i,{unit:"year"})}return y.y(t,e)},Y:function(t,e,r,n){var i=Object(p["a"])(t,n),o=i>0?i:1-i;if("YY"===e){var a=o%100;return m(a,2)}return"Yo"===e?r.ordinalNumber(o,{unit:"year"}):m(o,e.length)},R:function(t,e){var r=Object(f["a"])(t);return m(r,e.length)},u:function(t,e){var r=t.getUTCFullYear();return m(r,e.length)},Q:function(t,e,r){var n=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"Q":return String(n);case"QQ":return m(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(t,e,r){var n=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"q":return String(n);case"qq":return m(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(t,e,r){var n=t.getUTCMonth();switch(e){case"M":case"MM":return y.M(t,e);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(t,e,r){var n=t.getUTCMonth();switch(e){case"L":return String(n+1);case"LL":return m(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(t,e,r,n){var i=Object(d["a"])(t,n);return"wo"===e?r.ordinalNumber(i,{unit:"week"}):m(i,e.length)},I:function(t,e,r){var n=Object(h["a"])(t);return"Io"===e?r.ordinalNumber(n,{unit:"week"}):m(n,e.length)},d:function(t,e,r){return"do"===e?r.ordinalNumber(t.getUTCDate(),{unit:"date"}):y.d(t,e)},D:function(t,e,r){var n=l(t);return"Do"===e?r.ordinalNumber(n,{unit:"dayOfYear"}):m(n,e.length)},E:function(t,e,r){var n=t.getUTCDay();switch(e){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});case"EEEE":default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(t,e,r,n){var i=t.getUTCDay(),o=(i-n.weekStartsOn+8)%7||7;switch(e){case"e":return String(o);case"ee":return m(o,2);case"eo":return r.ordinalNumber(o,{unit:"day"});case"eee":return r.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(i,{width:"short",context:"formatting"});case"eeee":default:return r.day(i,{width:"wide",context:"formatting"})}},c:function(t,e,r,n){var i=t.getUTCDay(),o=(i-n.weekStartsOn+8)%7||7;switch(e){case"c":return String(o);case"cc":return m(o,e.length);case"co":return r.ordinalNumber(o,{unit:"day"});case"ccc":return r.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(i,{width:"narrow",context:"standalone"});case"cccccc":return r.day(i,{width:"short",context:"standalone"});case"cccc":default:return r.day(i,{width:"wide",context:"standalone"})}},i:function(t,e,r){var n=t.getUTCDay(),i=0===n?7:n;switch(e){case"i":return String(i);case"ii":return m(i,e.length);case"io":return r.ordinalNumber(i,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});case"iiii":default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(t,e,r){var n=t.getUTCHours(),i=n/12>=1?"pm":"am";switch(e){case"a":case"aa":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(t,e,r){var n,i=t.getUTCHours();switch(n=12===i?v.noon:0===i?v.midnight:i/12>=1?"pm":"am",e){case"b":case"bb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},B:function(t,e,r){var n,i=t.getUTCHours();switch(n=i>=17?v.evening:i>=12?v.afternoon:i>=4?v.morning:v.night,e){case"B":case"BB":case"BBB":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},h:function(t,e,r){if("ho"===e){var n=t.getUTCHours()%12;return 0===n&&(n=12),r.ordinalNumber(n,{unit:"hour"})}return y.h(t,e)},H:function(t,e,r){return"Ho"===e?r.ordinalNumber(t.getUTCHours(),{unit:"hour"}):y.H(t,e)},K:function(t,e,r){var n=t.getUTCHours()%12;return"Ko"===e?r.ordinalNumber(n,{unit:"hour"}):m(n,e.length)},k:function(t,e,r){var n=t.getUTCHours();return 0===n&&(n=24),"ko"===e?r.ordinalNumber(n,{unit:"hour"}):m(n,e.length)},m:function(t,e,r){return"mo"===e?r.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):y.m(t,e)},s:function(t,e,r){return"so"===e?r.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):y.s(t,e)},S:function(t,e){return y.S(t,e)},X:function(t,e,r,n){var i=n._originalDate||t,o=i.getTimezoneOffset();if(0===o)return"Z";switch(e){case"X":return w(o);case"XXXX":case"XX":return x(o);case"XXXXX":case"XXX":default:return x(o,":")}},x:function(t,e,r,n){var i=n._originalDate||t,o=i.getTimezoneOffset();switch(e){case"x":return w(o);case"xxxx":case"xx":return x(o);case"xxxxx":case"xxx":default:return x(o,":")}},O:function(t,e,r,n){var i=n._originalDate||t,o=i.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+_(o,":");case"OOOO":default:return"GMT"+x(o,":")}},z:function(t,e,r,n){var i=n._originalDate||t,o=i.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+_(o,":");case"zzzz":default:return"GMT"+x(o,":")}},t:function(t,e,r,n){var i=n._originalDate||t,o=Math.floor(i.getTime()/1e3);return m(o,e.length)},T:function(t,e,r,n){var i=n._originalDate||t,o=i.getTime();return m(o,e.length)}};function _(t,e){var r=t>0?"-":"+",n=Math.abs(t),i=Math.floor(n/60),o=n%60;if(0===o)return r+String(i);var a=e||"";return r+String(i)+a+m(o,2)}function w(t,e){if(t%60===0){var r=t>0?"-":"+";return r+m(Math.abs(t)/60,2)}return x(t,e)}function x(t,e){var r=e||"",n=t>0?"-":"+",i=Math.abs(t),o=m(Math.floor(i/60),2),a=m(i%60,2);return n+o+r+a}var k=b,S=r("21be"),E=r("2420"),M=r("dd11"),A=r("fe1f"),T=r("beaf"),C=r("e3c5"),L=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,P=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,O=/^'([^]*?)'?$/,I=/''/g,D=/[a-zA-Z]/;function B(t,e,r){var n,o,c,l,h,f,d,p,m,g,y,v,b,_,w,x,O,I;Object(i["a"])(2,arguments);var B=String(e),N=Object(T["a"])(),R=null!==(n=null!==(o=null===r||void 0===r?void 0:r.locale)&&void 0!==o?o:N.locale)&&void 0!==n?n:C["a"],F=Object(A["a"])(null!==(c=null!==(l=null!==(h=null!==(f=null===r||void 0===r?void 0:r.firstWeekContainsDate)&&void 0!==f?f:null===r||void 0===r||null===(d=r.locale)||void 0===d||null===(p=d.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==h?h:N.firstWeekContainsDate)&&void 0!==l?l:null===(m=N.locale)||void 0===m||null===(g=m.options)||void 0===g?void 0:g.firstWeekContainsDate)&&void 0!==c?c:1);if(!(F>=1&&F<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var Y=Object(A["a"])(null!==(y=null!==(v=null!==(b=null!==(_=null===r||void 0===r?void 0:r.weekStartsOn)&&void 0!==_?_:null===r||void 0===r||null===(w=r.locale)||void 0===w||null===(x=w.options)||void 0===x?void 0:x.weekStartsOn)&&void 0!==b?b:N.weekStartsOn)&&void 0!==v?v:null===(O=N.locale)||void 0===O||null===(I=O.options)||void 0===I?void 0:I.weekStartsOn)&&void 0!==y?y:0);if(!(Y>=0&&Y<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!R.localize)throw new RangeError("locale must contain localize property");if(!R.formatLong)throw new RangeError("locale must contain formatLong property");var U=Object(a["a"])(t);if(!s(U))throw new RangeError("Invalid time value");var H=Object(E["a"])(U),z=Object(u["a"])(U,H),V={firstWeekContainsDate:F,weekStartsOn:Y,locale:R,_originalDate:U},$=B.match(P).map((function(t){var e=t[0];if("p"===e||"P"===e){var r=S["a"][e];return r(t,R.formatLong)}return t})).join("").match(L).map((function(n){if("''"===n)return"'";var i=n[0];if("'"===i)return j(n);var o=k[i];if(o)return null!==r&&void 0!==r&&r.useAdditionalWeekYearTokens||!Object(M["b"])(n)||Object(M["c"])(n,e,String(t)),null!==r&&void 0!==r&&r.useAdditionalDayOfYearTokens||!Object(M["a"])(n)||Object(M["c"])(n,e,String(t)),o(z,n,R.localize,V);if(i.match(D))throw new RangeError("Format string contains an unescaped latin alphabet character `"+i+"`");return n})).join("");return $}function j(t){var e=t.match(O);return e?e[1].replace(I,"'"):t}},b280:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("9894"),i=r("d3f8"),o=r("11f1"),a=r("c4e5"),s=r("0ca8"),u=r("17fb"),c=r("510b"),l=r("e4de"),h=r("1b5b"),f=r("7a56"),d=r("88db"),p=r("1fbd"),m=r("9a2e"),g=r("81e94");r("d4dd");var y=r("fb86"),v=r("9a44"),b=r("29f9"),_=r("ac1b"),w=r("dd7b");const x={...n,...i,...o,...a,...s,...u,...c,...l,...h,...f},k={...d,...p},S={raw:m,json:g};e.CID=y.CID,e.hasher=v,e.digest=b,e.varint=_,e.bytes=w,e.bases=x,e.codecs=S,e.hashes=k},b297:function(t,e,r){"use strict";var n=r("b73d");r.d(e,"a",(function(){return n["a"]}));n["a"]},b29d:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".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:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(t){return"ຕອນແລງ"===t},meridiem:function(t,e,r){return t<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(t){return"ທີ່"+t}});return e}))},b2af:function(t,e,r){"use strict";function n(t,e){if(t===e)return!0;if(t.byteLength!==e.byteLength)return!1;for(let r=0;r<t.byteLength;r++)if(t[r]!==e[r])return!1;return!0}Object.defineProperty(e,"__esModule",{value:!0}),e.equals=n},b322:function(t,e,r){},b397:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("2a12");function i(t){async function e(e,r={}){await t.post("pin/remote/service/rm",{signal:r.signal,headers:r.headers,searchParams:n.toUrlSearchParams({arg:e})})}return e}e.createRm=i},b3eb:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
function e(t,e,r,n){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?i[r][0]:i[r][1]}var r=t.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_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:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return r}))},b469:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
function e(t,e,r,n){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?i[r][0]:i[r][1]}var r=t.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_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:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return r}))},b50c:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1ec9"),i=r("2a12");const o=n.configure(t=>{async function e(e,r,n={}){const o=await t.post("files/chmod",{signal:n.signal,searchParams:i.toUrlSearchParams({arg:e,mode:r,...n}),headers:n.headers});await o.text()}return e});e.createChmod=o},b53d:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".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ḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}});return e}))},b540:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.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(t,e){return 12===t&&(t=0),"enjing"===e?t:"siyang"===e?t>=11?t:t+12:"sonten"===e||"ndalu"===e?t+12:void 0},meridiem:function(t,e,r){return t<11?"enjing":t<15?"siyang":t<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}});return e}))},b56d:function(t,e,r){"use strict";var n=r("b974");r.d(e,"a",(function(){return n["a"]}));n["a"]},b58f:function(t,e,r){"use strict";function n(t){if(null!=t)return"string"===typeof t?t:t.toString(8).padStart(4,"0")}Object.defineProperty(e,"__esModule",{value:!0}),e.modeToString=n},b5b6:function(t,e,r){},b5b7:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e="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,o=t.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,n){return t?/-MMM-/.test(n)?r[t.month()]:e[t.month()]:e},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ércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".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ñana 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ía",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:4},invalidDate:"Fecha inválida"});return o}))},b63a:function(t,e,r){"use strict";var n=r("b687");r.d(e,"a",(function(){return n["a"]}));n["a"]},b687:function(t,e,r){"use strict";var n=r("24b2"),i=r("f2e7"),o=r("90a2"),a=r("58df"),s=r("80d2");e["a"]=Object(a["a"])(n["a"],i["a"]).extend({name:"VLazy",directives:{intersect:o["b"]},props:{options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},tag:{type:String,default:"div"},transition:{type:String,default:"fade-transition"}},computed:{styles(){return{...this.measurableStyles}}},methods:{genContent(){const t=this.isActive&&Object(s["u"])(this);return this.transition?this.$createElement("transition",{props:{name:this.transition}},t):t},onObserve(t,e,r){this.isActive||(this.isActive=r)}},render(t){return t(this.tag,{staticClass:"v-lazy",attrs:this.$attrs,directives:[{name:"intersect",value:{handler:this.onObserve,options:this.options}}],on:this.$listeners,style:this.styles},[this.genContent()])}})},b69b:function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r("fd3a"),i=r("8c86");function o(t){Object(i["a"])(1,arguments);var e=1,r=Object(n["a"])(t),o=r.getUTCDay(),a=(o<e?7:0)+o-e;return r.setUTCDate(r.getUTCDate()-a),r.setUTCHours(0,0,0,0),r}},b6aa:function(t,e,r){"use strict";function n(t,e){for(const r in e)Object.defineProperty(t,r,{value:e[r],enumerable:!0,configurable:!0});return t}function i(t,e,r){if(!t||"string"===typeof t)throw new TypeError("Please pass an Error to err-code");r||(r={}),"object"===typeof e&&(r=e,e=""),e&&(r.code=e);try{return n(t,r)}catch(i){r.message=t.message,r.stack=t.stack;const e=function(){};e.prototype=Object.create(Object.getPrototypeOf(t));const o=n(new e,r);return o}}t.exports=i},b6d0:function(t,e,r){"use strict";function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach((function(e){a(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function o(t){return o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function a(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.d(e,"a",(function(){return z}));var s="_",u="function",c=[];function l(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s;if(!h(t))throw new Error("Text-mask:convertMaskToPlaceholder; The mask property must be an array.");if(-1!==t.indexOf(e))throw new Error("Placeholder character must not be used as part of the mask. Please specify a character that is not present in your mask as your placeholder character.\n\n"+"The placeholder character that was received is: ".concat(JSON.stringify(e),"\n\n")+"The mask that was received is: ".concat(JSON.stringify(t)));return t.map((function(t){return t instanceof RegExp?e:t})).join("")}function h(t){return Array.isArray&&Array.isArray(t)||t instanceof Array}var f="[]";function d(t){var e,r=[];while(e=t.indexOf(f),-1!==e)r.push(e),t.splice(e,1);return{maskWithoutCaretTraps:t,indexes:r}}var p=[],m="";function g(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:m,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!h(e)){if(o(e)!==u)throw new Error("Text-mask:conformToMask; The mask property must be an array.");e=e(t,r),e=d(e).maskWithoutCaretTraps}var n=r.guide,i=void 0===n||n,a=r.previousConformedValue,c=void 0===a?m:a,f=r.placeholderChar,g=void 0===f?s:f,y=r.placeholder,v=void 0===y?l(e,g):y,b=r.currentCaretPosition,_=r.keepCharPositions,w=!1===i&&void 0!==c,x=t.length,k=c.length,S=v.length,E=e.length,M=x-k,A=M>0,T=b+(A?-M:0),C=T+Math.abs(M);if(!0===_&&!A){for(var L=m,P=T;P<C;P++)v[P]===g&&(L+=g);t=t.slice(0,T)+L+t.slice(T,x)}for(var O=t.split(m).map((function(t,e){return{char:t,isNew:e>=T&&e<C}})),I=x-1;I>=0;I--){var D=O[I].char;if(D!==g){var B=I>=T&&k===E;D===v[B?I-M:I]&&O.splice(I,1)}}var j=m,N=!1;t:for(var R=0;R<S;R++){var F=v[R];if(F===g){if(O.length>0)while(O.length>0){var Y=O.shift(),U=Y.char,H=Y.isNew;if(U===g&&!0!==w){j+=g;continue t}if(e[R].test(U)){if(!0===_&&!1!==H&&c!==m&&!1!==i&&A){for(var z=O.length,V=null,$=0;$<z;$++){var q=O[$];if(q.char!==g&&!1===q.isNew)break;if(q.char===g){V=$;break}}null!==V?(j+=U,O.splice(V,1)):R--}else j+=U;continue t}N=!0}!1===w&&(j+=v.substr(R,S));break}j+=F}if(w&&!1===A){for(var G=null,W=0;W<j.length;W++)v[W]===g&&(G=W);j=null!==G?j.substr(0,G+1):m}return{conformedValue:j,meta:{someCharsRejected:N}}}var y={__nextCharOptional__:!0},v={"#":/\d/,A:/[a-z]/i,N:/[a-z0-9]/i,"?":y,X:/./},b=function(t){var e=t.lastIndexOf("/");return new RegExp(t.slice(1,e),t.slice(e+1))},_=function(t){return b(t.toString().replace(/.(\/)[gmiyus]{0,6}$/,(function(t){return t.replace("/","?/")})))},w=function(t){return"[\\^$.|?*+()".indexOf(t)>-1?"\\".concat(t):t},x=function(t){return new RegExp("/[".concat(w(t),"]/"))},k=function(t){return t instanceof RegExp},S=function(t){return k(t)?t:x(t)};function E(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v;return t.map((function(t,r,n){var i=e[t]||t,o=n[r-1],a=e[o]||o;return i===y?null:a===y?_(S(i)):i})).filter(Boolean)}function M(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v;return E(t.split(""),e)}function A(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v,r=t.map((function(t){return t instanceof RegExp?t:"string"===typeof t?t.split(""):null})).filter(Boolean).reduce((function(t,e){return t.concat(e)}),[]);return E(r,e)}var T=function(t,e){var r=document.createEvent("HTMLEvents");r.initEvent(e,!0,!0),t.dispatchEvent(r)},C=function(t){return t instanceof HTMLInputElement?t:t.querySelector("input")||t},L=function(t){return"function"===typeof t},P=function(t){return"string"===typeof t},O=function(t){return t instanceof RegExp};function I(t,e){return Array.isArray(t)?A(t,e):L(t)?t:P(t)&&t.length>0?M(t,e):t}function D(){var t=new Map,e={previousValue:"",mask:[]};function r(r){return t.get(r)||i({},e)}function n(e,n){t.set(e,i(i({},r(e)),n))}function o(e){t.delete(e)}return{partiallyUpdate:n,remove:o,get:r}}function B(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v;return null===t||Array.isArray(t)||"object"!==o(t)?e:Object.keys(t).reduce((function(e,r){var n=t[r];return null===n||n instanceof RegExp?i(i({},e),{},a({},r,n)):e}),e)}var j=D();function N(t){T(t,"input")}function R(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t.value,n=j.get(t),i=n.previousValue,o=n.mask,a=r!==i,s=r.length>i.length,u=r&&a&&s;if((e||u)&&o){var c=g(r,o,{guide:!1}),l=c.conformedValue;t.value=l,N(t)}j.partiallyUpdate(t,{previousValue:r})}function F(t,e,r){var n=I(e,r);j.partiallyUpdate(t,{mask:n})}function Y(t){var e=Array.isArray(t)?t:[t],r=e.filter((function(t){return P(t)||O(t)}));return r.toString()}function U(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=B(t&&t.placeholders);return{bind:function(t,r){var n=r.value;t=C(t),F(t,n,e),R(t)},componentUpdated:function(t,r){var n=r.value,i=r.oldValue;t=C(t);var o=L(n)||Y(i)!==Y(n);o&&F(t,n,e),R(t,o)},unbind:function(t){t=C(t),j.remove(t)}}}U();function H(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=B(t&&t.placeholders);return function(t,r){if(!P(t)&&!Number.isFinite(t))return t;var n=I(r,e),i=g("".concat(t),n,{guide:!1}),o=i.conformedValue;return o}}H();var z=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.directive("mask",U(e)),t.filter("VMask",H(e))}},b72c:function(t,e,r){},b73d:function(t,e,r){"use strict";r("ec29"),r("9d01");var n=r("fe09"),i=r("c37a"),o=r("c3f0"),a=r("0789"),s=r("490a"),u=r("80d2");e["a"]=n["a"].extend({name:"v-switch",directives:{Touch:o["b"]},props:{inset:Boolean,loading:{type:[Boolean,String],default:!1},flat:{type:Boolean,default:!1}},computed:{classes(){return{...i["b"].options.computed.classes.call(this),"v-input--selection-controls v-input--switch":!0,"v-input--switch--flat":this.flat,"v-input--switch--inset":this.inset}},attrs(){return{"aria-checked":String(this.isActive),"aria-disabled":String(this.isDisabled),role:"switch"}},validationState(){return this.hasError&&this.shouldValidate?"error":this.hasSuccess?"success":null!==this.hasColor?this.computedColor:void 0},switchData(){return this.setTextColor(this.loading?void 0:this.validationState,{class:this.themeClasses})}},methods:{genDefaultSlot(){return[this.genSwitch(),this.genLabel()]},genSwitch(){const{title:t,...e}=this.attrs$;return this.$createElement("div",{staticClass:"v-input--selection-controls__input"},[this.genInput("checkbox",{...this.attrs,...e}),this.genRipple(this.setTextColor(this.validationState,{directives:[{name:"touch",value:{left:this.onSwipeLeft,right:this.onSwipeRight}}]})),this.$createElement("div",{staticClass:"v-input--switch__track",...this.switchData}),this.$createElement("div",{staticClass:"v-input--switch__thumb",...this.switchData},[this.genProgress()])])},genProgress(){return this.$createElement(a["h"],{},[!1===this.loading?null:Object(u["u"])(this,"progress")||this.$createElement(s["a"],{props:{color:!0===this.loading||""===this.loading?this.color||"primary":this.loading,size:16,width:2,indeterminate:!0}})])},onSwipeLeft(){this.isActive&&this.onChange()},onSwipeRight(){this.isActive||this.onChange()},onKeydown(t){(t.keyCode===u["A"].left&&this.isActive||t.keyCode===u["A"].right&&!this.isActive)&&this.onChange()}}})},b73f:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("9658"),i=r("a7ac"),o=r("178e");function a(t){return{gc:n.createGc(t),stat:i.createStat(t),version:o.createVersion(t)}}e.createRepo=a},b7cc:function(t,e,r){},b7e9:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.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(t){var e=t%10,r=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+r},week:{dow:1,doy:4}});return e}))},b810:function(t,e,r){"use strict";var n=r("ce7e");r.d(e,"a",(function(){return n["a"]})),e["b"]=n["a"]},b81c:function(t,e,r){"use strict";r("dd43");var n=r("3a66"),i=r("3860"),o=r("a9ad"),a=r("24b2"),s=r("a452"),u=r("277e"),c=r("7560"),l=r("f2e7"),h=r("58df"),f=r("d9bd"),d=r("80d2");e["a"]=Object(h["a"])(Object(n["a"])("bottom",["height","inputValue"]),o["a"],a["a"],Object(l["b"])("inputValue"),s["a"],u["a"],c["a"]).extend({name:"v-bottom-navigation",props:{activeClass:{type:String,default:"v-btn--active"},backgroundColor:String,grow:Boolean,height:{type:[Number,String],default:56},hideOnScroll:Boolean,horizontal:Boolean,inputValue:{type:Boolean,default:!0},mandatory:Boolean,shift:Boolean,tag:{type:String,default:"div"}},data(){return{isActive:this.inputValue}},computed:{canScroll(){return u["a"].options.computed.canScroll.call(this)&&(this.hideOnScroll||!this.inputValue)},classes(){return{"v-bottom-navigation--absolute":this.absolute,"v-bottom-navigation--grow":this.grow,"v-bottom-navigation--fixed":!this.absolute&&(this.app||this.fixed),"v-bottom-navigation--horizontal":this.horizontal,"v-bottom-navigation--shift":this.shift}},styles(){return{...this.measurableStyles,transform:this.isActive?"none":"translateY(100%)"}}},watch:{canScroll:"onScroll"},created(){this.$attrs.hasOwnProperty("active")&&Object(f["a"])("active.sync","value or v-model",this)},methods:{thresholdMet(){this.hideOnScroll&&(this.isActive=!this.isScrollingUp||this.currentScroll>this.computedScrollThreshold,this.$emit("update:input-value",this.isActive)),this.currentThreshold<this.computedScrollThreshold||(this.savedScroll=this.currentScroll)},updateApplication(){return this.$el?this.$el.clientHeight:0},updateValue(t){this.$emit("change",t)}},render(t){const e=this.setBackgroundColor(this.backgroundColor,{staticClass:"v-bottom-navigation",class:this.classes,style:this.styles,props:{activeClass:this.activeClass,mandatory:Boolean(this.mandatory||void 0!==this.value),tag:this.tag,value:this.internalValue},on:{change:this.updateValue}});return this.canScroll&&(e.directives=e.directives||[],e.directives.push({arg:this.scrollTarget,name:"scroll",value:this.onScroll})),t(i["a"],this.setTextColor(this.color,e),Object(d["u"])(this))}})},b848:function(t,e,r){"use strict";var n=r("58df");function i(t){const e=[];for(let r=0;r<t.length;r++){const n=t[r];n.isActive&&n.isDependent?e.push(n):e.push(...i(n.$children))}return e}e["a"]=Object(n["a"])().extend({name:"dependent",data(){return{closeDependents:!0,isActive:!1,isDependent:!0}},watch:{isActive(t){if(t)return;const e=this.getOpenDependents();for(let r=0;r<e.length;r++)e[r].isActive=!1}},methods:{getOpenDependents(){return this.closeDependents?i(this.$children):[]},getOpenDependentElements(){const t=[],e=this.getOpenDependents();for(let r=0;r<e.length;r++)t.push(...e[r].getClickableDependentElements());return t},getClickableDependentElements(){const t=[this.$el];return this.$refs.content&&t.push(this.$refs.content),this.overlay&&t.push(this.overlay.$el),t.push(...this.getOpenDependentElements()),t}}})},b84c:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.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åndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._må._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_må_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år klokka] LT",lastWeek:"[Føregåande] 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ånad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return e}))},b8eb:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("5e4a"),i=r("c8ca"),o=r("959f"),a=r("6edf"),s=r("ef28");function u(t){return{addrs:n.createAddrs(t),connect:i.createConnect(t),disconnect:o.createDisconnect(t),localAddrs:a.createLocalAddrs(t),peers:s.createPeers(t)}}e.createSwarm=u},b92d:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1755"),i=r("ac23");const o=[24,256,65536,4294967296,BigInt("18446744073709551616")];function a(t,e,r){i.assertEnoughData(t,e,1);const n=t[e];if(!0===r.strict&&n<o[0])throw new Error(i.decodeErrPrefix+" integer encoded in more bytes than necessary (strict decode)");return n}function s(t,e,r){i.assertEnoughData(t,e,2);const n=t[e]<<8|t[e+1];if(!0===r.strict&&n<o[1])throw new Error(i.decodeErrPrefix+" integer encoded in more bytes than necessary (strict decode)");return n}function u(t,e,r){i.assertEnoughData(t,e,4);const n=16777216*t[e]+(t[e+1]<<16)+(t[e+2]<<8)+t[e+3];if(!0===r.strict&&n<o[2])throw new Error(i.decodeErrPrefix+" integer encoded in more bytes than necessary (strict decode)");return n}function c(t,e,r){i.assertEnoughData(t,e,8);const n=16777216*t[e]+(t[e+1]<<16)+(t[e+2]<<8)+t[e+3],a=16777216*t[e+4]+(t[e+5]<<16)+(t[e+6]<<8)+t[e+7],s=(BigInt(n)<<BigInt(32))+BigInt(a);if(!0===r.strict&&s<o[3])throw new Error(i.decodeErrPrefix+" integer encoded in more bytes than necessary (strict decode)");if(s<=Number.MAX_SAFE_INTEGER)return Number(s);if(!0===r.allowBigInt)return s;throw new Error(i.decodeErrPrefix+" integers outside of the safe integer range are not supported")}function l(t,e,r,i){return new n.Token(n.Type.uint,a(t,e+1,i),2)}function h(t,e,r,i){return new n.Token(n.Type.uint,s(t,e+1,i),3)}function f(t,e,r,i){return new n.Token(n.Type.uint,u(t,e+1,i),5)}function d(t,e,r,i){return new n.Token(n.Type.uint,c(t,e+1,i),9)}function p(t,e){return m(t,0,e.value)}function m(t,e,r){if(r<o[0]){const n=Number(r);t.push([e|n])}else if(r<o[1]){const n=Number(r);t.push([24|e,n])}else if(r<o[2]){const n=Number(r);t.push([25|e,n>>>8,255&n])}else if(r<o[3]){const n=Number(r);t.push([26|e,n>>>24&255,n>>>16&255,n>>>8&255,255&n])}else{const n=BigInt(r);if(!(n<o[4]))throw new Error(i.decodeErrPrefix+" encountered BigInt larger than allowable range");{const r=[27|e,0,0,0,0,0,0,0];let i=Number(n&BigInt(4294967295)),o=Number(n>>BigInt(32)&BigInt(4294967295));r[8]=255&i,i>>=8,r[7]=255&i,i>>=8,r[6]=255&i,i>>=8,r[5]=255&i,r[4]=255&o,o>>=8,r[3]=255&o,o>>=8,r[2]=255&o,o>>=8,r[1]=255&o,t.push(r)}}}p.encodedSize=function(t){return m.encodedSize(t.value)},m.encodedSize=function(t){return t<o[0]?1:t<o[1]?2:t<o[2]?3:t<o[3]?5:9},p.compareTokens=function(t,e){return t.value<e.value?-1:t.value>e.value?1:0},e.decodeUint16=h,e.decodeUint32=f,e.decodeUint64=d,e.decodeUint8=l,e.encodeUint=p,e.encodeUintValue=m,e.readUint16=s,e.readUint32=u,e.readUint64=c,e.readUint8=a,e.uintBoundaries=o},b974:function(t,e,r){"use strict";r.d(e,"b",(function(){return A}));r("4ff9"),r("68dd");var n=r("34ef"),i=r("326d"),o=r("9e88"),a=r("b810"),s=r("24e2"),u=r("da13"),c=r("1800"),l=r("5d23"),h=r("8860"),f=r("5607"),d=r("a9ad"),p=r("7560"),m=r("80d2"),g=r("58df"),y=Object(g["a"])(d["a"],p["a"]).extend({name:"v-select-list",directives:{ripple:f["b"]},props:{action:Boolean,dense:Boolean,hideSelected:Boolean,items:{type:Array,default:()=>[]},itemDisabled:{type:[String,Array,Function],default:"disabled"},itemText:{type:[String,Array,Function],default:"text"},itemValue:{type:[String,Array,Function],default:"value"},noDataText:String,noFilter:Boolean,searchInput:null,selectedItems:{type:Array,default:()=>[]}},computed:{parsedItems(){return this.selectedItems.map(t=>this.getValue(t))},tileActiveClass(){return Object.keys(this.setTextColor(this.color).class||{}).join(" ")},staticNoDataTile(){const t={attrs:{role:void 0},on:{mousedown:t=>t.preventDefault()}};return this.$createElement(u["a"],t,[this.genTileContent(this.noDataText)])}},methods:{genAction(t,e){return this.$createElement(c["a"],[this.$createElement(o["a"],{props:{color:this.color,value:e,ripple:!1},on:{input:()=>this.$emit("select",t)}})])},genDivider(t){return this.$createElement(a["b"],{props:t})},genFilteredText(t){if(t=t||"",!this.searchInput||this.noFilter)return t;const{start:e,middle:r,end:n}=this.getMaskedCharacters(t);return[e,this.genHighlight(r),n]},genHeader(t){return this.$createElement(s["b"],{props:t},t.header)},genHighlight(t){return this.$createElement("span",{staticClass:"v-list-item__mask"},t)},getMaskedCharacters(t){const e=(this.searchInput||"").toString().toLocaleLowerCase(),r=t.toLocaleLowerCase().indexOf(e);if(r<0)return{start:t,middle:"",end:""};const n=t.slice(0,r),i=t.slice(r,r+e.length),o=t.slice(r+e.length);return{start:n,middle:i,end:o}},genTile({item:t,index:e,disabled:r=null,value:n=!1}){n||(n=this.hasItem(t)),t===Object(t)&&(r=null!==r?r:this.getDisabled(t));const i={attrs:{"aria-selected":String(n),id:`list-item-${this._uid}-${e}`,role:"option"},on:{mousedown:t=>{t.preventDefault()},click:()=>r||this.$emit("select",t)},props:{activeClass:this.tileActiveClass,disabled:r,ripple:!0,inputValue:n}};if(!this.$scopedSlots.item)return this.$createElement(u["a"],i,[this.action&&!this.hideSelected&&this.items.length>0?this.genAction(t,n):null,this.genTileContent(t,e)]);const o=this,a=this.$scopedSlots.item({parent:o,item:t,attrs:{...i.attrs,...i.props},on:i.on});return this.needsTile(a)?this.$createElement(u["a"],i,a):a},genTileContent(t,e=0){return this.$createElement(l["g"],[this.$createElement(l["k"],[this.genFilteredText(this.getText(t))])])},hasItem(t){return this.parsedItems.indexOf(this.getValue(t))>-1},needsTile(t){return 1!==t.length||null==t[0].componentOptions||"v-list-item"!==t[0].componentOptions.Ctor.options.name},getDisabled(t){return Boolean(Object(m["t"])(t,this.itemDisabled,!1))},getText(t){return String(Object(m["t"])(t,this.itemText,t))},getValue(t){return Object(m["t"])(t,this.itemValue,this.getText(t))}},render(){const t=[],e=this.items.length;for(let r=0;r<e;r++){const e=this.items[r];this.hideSelected&&this.hasItem(e)||(null==e?t.push(this.genTile({item:e,index:r})):e.header?t.push(this.genHeader(e)):e.divider?t.push(this.genDivider(e)):t.push(this.genTile({item:e,index:r})))}return t.length||t.push(this.$slots["no-data"]||this.staticNoDataTile),this.$slots["prepend-item"]&&t.unshift(this.$slots["prepend-item"]),this.$slots["append-item"]&&t.push(this.$slots["append-item"]),this.$createElement(h["a"],{staticClass:"v-select-list",class:this.themeClasses,attrs:{role:"listbox",tabindex:-1},on:{mousedown:t=>{t.preventDefault()}},props:{dense:this.dense}},t)}}),v=r("c37a"),b=r("8654"),_=r("8547"),w=r("b848"),x=r("2b0e"),k=x["default"].extend({name:"filterable",props:{noDataText:{type:String,default:"$vuetify.noDataText"}}}),S=r("a293"),E=r("d9f7"),M=r("d9bd");const A={closeOnClick:!1,closeOnContentClick:!1,disableKeys:!0,openOnClick:!1,maxHeight:304},T=Object(g["a"])(b["a"],_["a"],w["a"],k);e["a"]=T.extend().extend({name:"v-select",directives:{ClickOutside:S["b"]},props:{appendIcon:{type:String,default:"$dropdown"},attach:{type:null,default:!1},cacheItems:Boolean,chips:Boolean,clearable:Boolean,deletableChips:Boolean,disableLookup:Boolean,eager:Boolean,hideSelected:Boolean,items:{type:Array,default:()=>[]},itemColor:{type:String,default:"primary"},itemDisabled:{type:[String,Array,Function],default:"disabled"},itemText:{type:[String,Array,Function],default:"text"},itemValue:{type:[String,Array,Function],default:"value"},menuProps:{type:[String,Array,Object],default:()=>A},multiple:Boolean,openOnClear:Boolean,returnObject:Boolean,smallChips:Boolean},data(){return{cachedItems:this.cacheItems?this.items:[],menuIsBooted:!1,isMenuActive:!1,lastItem:20,lazyValue:void 0!==this.value?this.value:this.multiple?[]:void 0,selectedIndex:-1,selectedItems:[],keyboardLookupPrefix:"",keyboardLookupLastTime:0}},computed:{allItems(){return this.filterDuplicates(this.cachedItems.concat(this.items))},classes(){return{...b["a"].options.computed.classes.call(this),"v-select":!0,"v-select--chips":this.hasChips,"v-select--chips--small":this.smallChips,"v-select--is-menu-active":this.isMenuActive,"v-select--is-multi":this.multiple}},computedItems(){return this.allItems},computedOwns(){return"list-"+this._uid},computedCounterValue(){var t;const e=this.multiple?this.selectedItems:(null!==(t=this.getText(this.selectedItems[0]))&&void 0!==t?t:"").toString();return"function"===typeof this.counterValue?this.counterValue(e):e.length},directives(){return this.isFocused?[{name:"click-outside",value:{handler:this.blur,closeConditional:this.closeConditional,include:()=>this.getOpenDependentElements()}}]:void 0},dynamicHeight(){return"auto"},hasChips(){return this.chips||this.smallChips},hasSlot(){return Boolean(this.hasChips||this.$scopedSlots.selection)},isDirty(){return this.selectedItems.length>0},listData(){const t=this.$vnode&&this.$vnode.context.$options._scopeId,e=t?{[t]:!0}:{};return{attrs:{...e,id:this.computedOwns},props:{action:this.multiple,color:this.itemColor,dense:this.dense,hideSelected:this.hideSelected,items:this.virtualizedItems,itemDisabled:this.itemDisabled,itemText:this.itemText,itemValue:this.itemValue,noDataText:this.$vuetify.lang.t(this.noDataText),selectedItems:this.selectedItems},on:{select:this.selectItem},scopedSlots:{item:this.$scopedSlots.item}}},staticList(){return(this.$slots["no-data"]||this.$slots["prepend-item"]||this.$slots["append-item"])&&Object(M["b"])("assert: staticList should not be called if slots are used"),this.$createElement(y,this.listData)},virtualizedItems(){return this.$_menuProps.auto?this.computedItems:this.computedItems.slice(0,this.lastItem)},menuCanShow:()=>!0,$_menuProps(){let t="string"===typeof this.menuProps?this.menuProps.split(","):this.menuProps;return Array.isArray(t)&&(t=t.reduce((t,e)=>(t[e.trim()]=!0,t),{})),{...A,eager:this.eager,value:this.menuCanShow&&this.isMenuActive,nudgeBottom:t.offsetY?1:0,...t}}},watch:{internalValue(t){this.initialValue=t,this.setSelectedItems(),this.multiple&&this.$nextTick(()=>{var t;null===(t=this.$refs.menu)||void 0===t||t.updateDimensions()}),this.hideSelected&&this.$nextTick(()=>{this.onScroll()})},isMenuActive(t){window.setTimeout(()=>this.onMenuActiveChange(t))},items:{immediate:!0,handler(t){this.cacheItems&&this.$nextTick(()=>{this.cachedItems=this.filterDuplicates(this.cachedItems.concat(t))}),this.setSelectedItems()}}},methods:{blur(t){b["a"].options.methods.blur.call(this,t),this.isMenuActive=!1,this.isFocused=!1,this.selectedIndex=-1,this.setMenuIndex(-1)},activateMenu(){this.isInteractive&&!this.isMenuActive&&(this.isMenuActive=!0)},clearableCallback(){this.setValue(this.multiple?[]:null),this.setMenuIndex(-1),this.$nextTick(()=>this.$refs.input&&this.$refs.input.focus()),this.openOnClear&&(this.isMenuActive=!0)},closeConditional(t){return!this.isMenuActive||!this._isDestroyed&&(!this.getContent()||!this.getContent().contains(t.target))&&this.$el&&!this.$el.contains(t.target)&&t.target!==this.$el},filterDuplicates(t){const e=new Map;for(let r=0;r<t.length;++r){const n=t[r];if(null==n)continue;if(n.header||n.divider){e.set(n,n);continue}const i=this.getValue(n);!e.has(i)&&e.set(i,n)}return Array.from(e.values())},findExistingIndex(t){const e=this.getValue(t);return(this.internalValue||[]).findIndex(t=>this.valueComparator(this.getValue(t),e))},getContent(){return this.$refs.menu&&this.$refs.menu.$refs.content},genChipSelection(t,e){const r=this.isDisabled||this.getDisabled(t),i=!r&&this.isInteractive;return this.$createElement(n["b"],{staticClass:"v-chip--select",attrs:{tabindex:-1},props:{close:this.deletableChips&&i,disabled:r,inputValue:e===this.selectedIndex,small:this.smallChips},on:{click:t=>{i&&(t.stopPropagation(),this.selectedIndex=e)},"click:close":()=>this.onChipInput(t)},key:JSON.stringify(this.getValue(t))},this.getText(t))},genCommaSelection(t,e,r){const n=e===this.selectedIndex&&this.computedColor,i=this.isDisabled||this.getDisabled(t);return this.$createElement("div",this.setTextColor(n,{staticClass:"v-select__selection v-select__selection--comma",class:{"v-select__selection--disabled":i},key:JSON.stringify(this.getValue(t))}),`${this.getText(t)}${r?"":", "}`)},genDefaultSlot(){const t=this.genSelections(),e=this.genInput();return Array.isArray(t)?t.push(e):(t.children=t.children||[],t.children.push(e)),[this.genFieldset(),this.$createElement("div",{staticClass:"v-select__slot",directives:this.directives},[this.genLabel(),this.prefix?this.genAffix("prefix"):null,t,this.suffix?this.genAffix("suffix"):null,this.genClearIcon(),this.genIconSlot(),this.genHiddenInput()]),this.genMenu(),this.genProgress()]},genIcon(t,e,r){const n=v["b"].options.methods.genIcon.call(this,t,e,r);return"append"===t&&(n.children[0].data=Object(E["a"])(n.children[0].data,{attrs:{tabindex:n.children[0].componentOptions.listeners&&"-1","aria-hidden":"true","aria-label":void 0}})),n},genInput(){const t=b["a"].options.methods.genInput.call(this);return delete t.data.attrs.name,t.data=Object(E["a"])(t.data,{domProps:{value:null},attrs:{readonly:!0,type:"text","aria-readonly":String(this.isReadonly),"aria-activedescendant":Object(m["r"])(this.$refs.menu,"activeTile.id"),autocomplete:Object(m["r"])(t.data,"attrs.autocomplete","off"),placeholder:this.isDirty||!this.persistentPlaceholder&&!this.isFocused&&this.hasLabel?void 0:this.placeholder},on:{keypress:this.onKeyPress}}),t},genHiddenInput(){return this.$createElement("input",{domProps:{value:this.lazyValue},attrs:{type:"hidden",name:this.attrs$.name}})},genInputSlot(){const t=b["a"].options.methods.genInputSlot.call(this);return t.data.attrs={...t.data.attrs,role:"button","aria-haspopup":"listbox","aria-expanded":String(this.isMenuActive),"aria-owns":this.computedOwns},t},genList(){return this.$slots["no-data"]||this.$slots["prepend-item"]||this.$slots["append-item"]?this.genListWithSlot():this.staticList},genListWithSlot(){const t=["prepend-item","no-data","append-item"].filter(t=>this.$slots[t]).map(t=>this.$createElement("template",{slot:t},this.$slots[t]));return this.$createElement(y,{...this.listData},t)},genMenu(){const t=this.$_menuProps;return t.activator=this.$refs["input-slot"],"attach"in t||(""===this.attach||!0===this.attach||"attach"===this.attach?t.attach=this.$el:t.attach=this.attach),this.$createElement(i["b"],{attrs:{role:void 0},props:t,on:{input:t=>{this.isMenuActive=t,this.isFocused=t},scroll:this.onScroll},ref:"menu"},[this.genList()])},genSelections(){let t=this.selectedItems.length;const e=new Array(t);let r;r=this.$scopedSlots.selection?this.genSlotSelection:this.hasChips?this.genChipSelection:this.genCommaSelection;while(t--)e[t]=r(this.selectedItems[t],t,t===e.length-1);return this.$createElement("div",{staticClass:"v-select__selections"},e)},genSlotSelection(t,e){return this.$scopedSlots.selection({attrs:{class:"v-chip--select"},parent:this,item:t,index:e,select:t=>{t.stopPropagation(),this.selectedIndex=e},selected:e===this.selectedIndex,disabled:!this.isInteractive})},getMenuIndex(){return this.$refs.menu?this.$refs.menu.listIndex:-1},getDisabled(t){return Object(m["t"])(t,this.itemDisabled,!1)},getText(t){return Object(m["t"])(t,this.itemText,t)},getValue(t){return Object(m["t"])(t,this.itemValue,this.getText(t))},onBlur(t){t&&this.$emit("blur",t)},onChipInput(t){this.multiple?this.selectItem(t):this.setValue(null),0===this.selectedItems.length?this.isMenuActive=!0:this.isMenuActive=!1,this.selectedIndex=-1},onClick(t){this.isInteractive&&(this.isAppendInner(t.target)||(this.isMenuActive=!0),this.isFocused||(this.isFocused=!0,this.$emit("focus")),this.$emit("click",t))},onEscDown(t){t.preventDefault(),this.isMenuActive&&(t.stopPropagation(),this.isMenuActive=!1)},onKeyPress(t){if(this.multiple||!this.isInteractive||this.disableLookup||t.key.length>1||t.ctrlKey||t.metaKey||t.altKey)return;const e=1e3,r=performance.now();r-this.keyboardLookupLastTime>e&&(this.keyboardLookupPrefix=""),this.keyboardLookupPrefix+=t.key.toLowerCase(),this.keyboardLookupLastTime=r;const n=this.allItems.findIndex(t=>{var e;const r=(null!==(e=this.getText(t))&&void 0!==e?e:"").toString();return r.toLowerCase().startsWith(this.keyboardLookupPrefix)}),i=this.allItems[n];-1!==n&&(this.lastItem=Math.max(this.lastItem,n+5),this.setValue(this.returnObject?i:this.getValue(i)),this.$nextTick(()=>this.$refs.menu.getTiles()),setTimeout(()=>this.setMenuIndex(n)))},onKeyDown(t){if(this.isReadonly&&t.keyCode!==m["A"].tab)return;const e=t.keyCode,r=this.$refs.menu;return this.$emit("keydown",t),r?(this.isMenuActive&&[m["A"].up,m["A"].down,m["A"].home,m["A"].end,m["A"].enter].includes(e)&&this.$nextTick(()=>{r.changeListIndex(t),this.$emit("update:list-index",r.listIndex)}),[m["A"].enter,m["A"].space].includes(e)&&this.activateMenu(),!this.isMenuActive&&[m["A"].up,m["A"].down,m["A"].home,m["A"].end].includes(e)?this.onUpDown(t):e===m["A"].esc?this.onEscDown(t):e===m["A"].tab?this.onTabDown(t):e===m["A"].space?this.onSpaceDown(t):void 0):void 0},onMenuActiveChange(t){if(this.multiple&&!t||this.getMenuIndex()>-1)return;const e=this.$refs.menu;if(e&&this.isDirty){this.$refs.menu.getTiles();for(let t=0;t<e.tiles.length;t++)if("true"===e.tiles[t].getAttribute("aria-selected")){this.setMenuIndex(t);break}}},onMouseUp(t){this.hasMouseDown&&3!==t.which&&this.isInteractive&&this.isAppendInner(t.target)&&this.$nextTick(()=>this.isMenuActive=!this.isMenuActive),b["a"].options.methods.onMouseUp.call(this,t)},onScroll(){if(this.isMenuActive){if(this.lastItem>this.computedItems.length)return;const t=this.getContent().scrollHeight-(this.getContent().scrollTop+this.getContent().clientHeight)<200;t&&(this.lastItem+=20)}else requestAnimationFrame(()=>{const t=this.getContent();t&&(t.scrollTop=0)})},onSpaceDown(t){t.preventDefault()},onTabDown(t){const e=this.$refs.menu;if(!e)return;const r=e.activeTile;!this.multiple&&r&&this.isMenuActive?(t.preventDefault(),t.stopPropagation(),r.click()):this.blur(t)},onUpDown(t){const e=this.$refs.menu;if(!e)return;if(t.preventDefault(),this.multiple)return this.activateMenu();const r=t.keyCode;e.isBooted=!0,window.requestAnimationFrame(()=>{if(e.getTiles(),!e.hasClickableTiles)return this.activateMenu();switch(r){case m["A"].up:e.prevTile();break;case m["A"].down:e.nextTile();break;case m["A"].home:e.firstTile();break;case m["A"].end:e.lastTile();break}this.selectItem(this.allItems[this.getMenuIndex()])})},selectItem(t){if(this.multiple){const e=(this.internalValue||[]).slice(),r=this.findExistingIndex(t);if(-1!==r?e.splice(r,1):e.push(t),this.setValue(e.map(t=>this.returnObject?t:this.getValue(t))),this.hideSelected)this.setMenuIndex(-1);else{const e=this.computedItems.indexOf(t);~e&&(this.$nextTick(()=>this.$refs.menu.getTiles()),setTimeout(()=>this.setMenuIndex(e)))}}else this.setValue(this.returnObject?t:this.getValue(t)),this.isMenuActive=!1},setMenuIndex(t){this.$refs.menu&&(this.$refs.menu.listIndex=t)},setSelectedItems(){const t=[],e=this.multiple&&Array.isArray(this.internalValue)?this.internalValue:[this.internalValue];for(const r of e){const e=this.allItems.findIndex(t=>this.valueComparator(this.getValue(t),this.getValue(r)));e>-1&&t.push(this.allItems[e])}this.selectedItems=t},setValue(t){this.valueComparator(t,this.internalValue)||(this.internalValue=t,this.$emit("change",t))},isAppendInner(t){const e=this.$refs["append-inner"];return e&&(e===t||e.contains(t))}}})},b97c:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function r(t,e,r){return r?e%10===1&&e%100!==11?t[2]:t[3]:e%10===1&&e%100!==11?t[0]:t[1]}function n(t,n,i){return t+" "+r(e[i],t,n)}function i(t,n,i){return r(e[i],t,n)}function o(t,e){return e?"dažas sekundes":"dažām sekundēm"}var a=t.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_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:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:o,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}});return a}))},b99e:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1ec9"),i=r("2a12");const o=n.configure(t=>{const e=async(e,r={})=>{const n=await t.post("dns",{signal:r.signal,searchParams:i.toUrlSearchParams({arg:e,...r}),headers:r.headers}),o=await n.json();return o.Path};return e});e.createDns=o},ba0d:function(t,e,r){"use strict";r("9e29");var n=r("c37a"),i=r("0789"),o=r("58df"),a=r("297c"),s=r("a293"),u=r("80d2"),c=r("d9bd");e["a"]=Object(o["a"])(n["b"],a["a"]).extend({name:"v-slider",directives:{ClickOutside:s["b"]},mixins:[a["a"]],props:{disabled:Boolean,inverseLabel:Boolean,max:{type:[Number,String],default:100},min:{type:[Number,String],default:0},step:{type:[Number,String],default:1},thumbColor:String,thumbLabel:{type:[Boolean,String],default:void 0,validator:t=>"boolean"===typeof t||"always"===t},thumbSize:{type:[Number,String],default:32},tickLabels:{type:Array,default:()=>[]},ticks:{type:[Boolean,String],default:!1,validator:t=>"boolean"===typeof t||"always"===t},tickSize:{type:[Number,String],default:2},trackColor:String,trackFillColor:String,value:[Number,String],vertical:Boolean},data:()=>({app:null,oldValue:null,thumbPressed:!1,mouseTimeout:-1,isFocused:!1,isActive:!1,noClick:!1,startOffset:0}),computed:{classes(){return{...n["b"].options.computed.classes.call(this),"v-input__slider":!0,"v-input__slider--vertical":this.vertical,"v-input__slider--inverse-label":this.inverseLabel}},internalValue:{get(){return this.lazyValue},set(t){t=isNaN(t)?this.minValue:t;const e=this.roundValue(Math.min(Math.max(t,this.minValue),this.maxValue));e!==this.lazyValue&&(this.lazyValue=e,this.$emit("input",e))}},trackTransition(){return this.thumbPressed?this.showTicks||this.stepNumeric?"0.1s cubic-bezier(0.25, 0.8, 0.5, 1)":"none":""},minValue(){return parseFloat(this.min)},maxValue(){return parseFloat(this.max)},stepNumeric(){return this.step>0?parseFloat(this.step):0},inputWidth(){const t=(this.roundValue(this.internalValue)-this.minValue)/(this.maxValue-this.minValue)*100;return isNaN(t)?0:t},trackFillStyles(){const t=this.vertical?"bottom":"left",e=this.vertical?"top":"right",r=this.vertical?"height":"width",n=this.$vuetify.rtl?"auto":"0",i=this.$vuetify.rtl?"0":"auto",o=this.isDisabled?`calc(${this.inputWidth}% - 10px)`:this.inputWidth+"%";return{transition:this.trackTransition,[t]:n,[e]:i,[r]:o}},trackStyles(){const t=this.vertical?this.$vuetify.rtl?"bottom":"top":this.$vuetify.rtl?"left":"right",e=this.vertical?"height":"width",r="0px",n=this.isDisabled?`calc(${100-this.inputWidth}% - 10px)`:`calc(${100-this.inputWidth}%)`;return{transition:this.trackTransition,[t]:r,[e]:n}},showTicks(){return this.tickLabels.length>0||!(this.isDisabled||!this.stepNumeric||!this.ticks)},numTicks(){return Math.ceil((this.maxValue-this.minValue)/this.stepNumeric)},showThumbLabel(){return!this.isDisabled&&!(!this.thumbLabel&&!this.$scopedSlots["thumb-label"])},computedTrackColor(){if(!this.isDisabled)return this.trackColor?this.trackColor:this.isDark?this.validationState:this.validationState||"primary lighten-3"},computedTrackFillColor(){if(!this.isDisabled)return this.trackFillColor?this.trackFillColor:this.validationState||this.computedColor},computedThumbColor(){return this.thumbColor?this.thumbColor:this.validationState||this.computedColor}},watch:{min(t){const e=parseFloat(t);e>this.internalValue&&this.$emit("input",e)},max(t){const e=parseFloat(t);e<this.internalValue&&this.$emit("input",e)},value:{handler(t){this.internalValue=t},immediate:!0}},mounted(){this.app=document.querySelector("[data-app]")||Object(c["c"])("Missing v-app or a non-body wrapping element with the [data-app] attribute",this)},methods:{genDefaultSlot(){const t=[this.genLabel()],e=this.genSlider();return this.inverseLabel?t.unshift(e):t.push(e),t.push(this.genProgress()),t},genSlider(){return this.$createElement("div",{class:{"v-slider":!0,"v-slider--horizontal":!this.vertical,"v-slider--vertical":this.vertical,"v-slider--focused":this.isFocused,"v-slider--active":this.isActive,"v-slider--disabled":this.isDisabled,"v-slider--readonly":this.isReadonly,...this.themeClasses},directives:[{name:"click-outside",value:this.onBlur}],on:{click:this.onSliderClick,mousedown:this.onSliderMouseDown,touchstart:this.onSliderMouseDown}},this.genChildren())},genChildren(){return[this.genInput(),this.genTrackContainer(),this.genSteps(),this.genThumbContainer(this.internalValue,this.inputWidth,this.isActive,this.isFocused,this.onFocus,this.onBlur)]},genInput(){return this.$createElement("input",{attrs:{value:this.internalValue,id:this.computedId,disabled:!0,readonly:!0,tabindex:-1,...this.$attrs}})},genTrackContainer(){const t=[this.$createElement("div",this.setBackgroundColor(this.computedTrackColor,{staticClass:"v-slider__track-background",style:this.trackStyles})),this.$createElement("div",this.setBackgroundColor(this.computedTrackFillColor,{staticClass:"v-slider__track-fill",style:this.trackFillStyles}))];return this.$createElement("div",{staticClass:"v-slider__track-container",ref:"track"},t)},genSteps(){if(!this.step||!this.showTicks)return null;const t=parseFloat(this.tickSize),e=Object(u["j"])(this.numTicks+1),r=this.vertical?"bottom":this.$vuetify.rtl?"right":"left",n=this.vertical?this.$vuetify.rtl?"left":"right":"top";this.vertical&&e.reverse();const i=e.map(e=>{const i=[];this.tickLabels[e]&&i.push(this.$createElement("div",{staticClass:"v-slider__tick-label"},this.tickLabels[e]));const o=e*(100/this.numTicks),a=this.$vuetify.rtl?100-this.inputWidth<o:o<this.inputWidth;return this.$createElement("span",{key:e,staticClass:"v-slider__tick",class:{"v-slider__tick--filled":a},style:{width:t+"px",height:t+"px",[r]:`calc(${o}% - ${t/2}px)`,[n]:`calc(50% - ${t/2}px)`}},i)});return this.$createElement("div",{staticClass:"v-slider__ticks-container",class:{"v-slider__ticks-container--always-show":"always"===this.ticks||this.tickLabels.length>0}},i)},genThumbContainer(t,e,r,n,i,o,a="thumb"){const s=[this.genThumb()],u=this.genThumbLabelContent(t);return this.showThumbLabel&&s.push(this.genThumbLabel(u)),this.$createElement("div",this.setTextColor(this.computedThumbColor,{ref:a,key:a,staticClass:"v-slider__thumb-container",class:{"v-slider__thumb-container--active":r,"v-slider__thumb-container--focused":n,"v-slider__thumb-container--show-label":this.showThumbLabel},style:this.getThumbContainerStyles(e),attrs:{role:"slider",tabindex:this.isDisabled?-1:this.$attrs.tabindex?this.$attrs.tabindex:0,"aria-label":this.$attrs["aria-label"]||this.label,"aria-valuemin":this.min,"aria-valuemax":this.max,"aria-valuenow":this.internalValue,"aria-readonly":String(this.isReadonly),"aria-orientation":this.vertical?"vertical":"horizontal"},on:{focus:i,blur:o,keydown:this.onKeyDown}}),s)},genThumbLabelContent(t){return this.$scopedSlots["thumb-label"]?this.$scopedSlots["thumb-label"]({value:t}):[this.$createElement("span",[String(t)])]},genThumbLabel(t){const e=Object(u["i"])(this.thumbSize),r=this.vertical?`translateY(20%) translateY(${Number(this.thumbSize)/3-1}px) translateX(55%) rotate(135deg)`:"translateY(-20%) translateY(-12px) translateX(-50%) rotate(45deg)";return this.$createElement(i["k"],{props:{origin:"bottom center"}},[this.$createElement("div",{staticClass:"v-slider__thumb-label-container",directives:[{name:"show",value:this.isFocused||this.isActive||"always"===this.thumbLabel}]},[this.$createElement("div",this.setBackgroundColor(this.computedThumbColor,{staticClass:"v-slider__thumb-label",style:{height:e,width:e,transform:r}}),[this.$createElement("div",t)])])])},genThumb(){return this.$createElement("div",this.setBackgroundColor(this.computedThumbColor,{staticClass:"v-slider__thumb"}))},getThumbContainerStyles(t){const e=this.vertical?"top":"left";let r=this.$vuetify.rtl?100-t:t;return r=this.vertical?100-r:r,{transition:this.trackTransition,[e]:r+"%"}},onSliderMouseDown(t){var e;if(t.preventDefault(),this.oldValue=this.internalValue,this.isActive=!0,null===(e=t.target)||void 0===e?void 0:e.matches(".v-slider__thumb-container, .v-slider__thumb-container *")){this.thumbPressed=!0;const e=t.target.getBoundingClientRect(),r="touches"in t?t.touches[0]:t;this.startOffset=this.vertical?r.clientY-(e.top+e.height/2):r.clientX-(e.left+e.width/2)}else this.startOffset=0,window.clearTimeout(this.mouseTimeout),this.mouseTimeout=window.setTimeout(()=>{this.thumbPressed=!0},300);const r=!u["E"]||{passive:!0,capture:!0},n=!!u["E"]&&{passive:!0},i="touches"in t;this.onMouseMove(t),this.app.addEventListener(i?"touchmove":"mousemove",this.onMouseMove,n),Object(u["a"])(this.app,i?"touchend":"mouseup",this.onSliderMouseUp,r),this.$emit("start",this.internalValue)},onSliderMouseUp(t){t.stopPropagation(),window.clearTimeout(this.mouseTimeout),this.thumbPressed=!1;const e=!!u["E"]&&{passive:!0};this.app.removeEventListener("touchmove",this.onMouseMove,e),this.app.removeEventListener("mousemove",this.onMouseMove,e),this.$emit("mouseup",t),this.$emit("end",this.internalValue),Object(u["m"])(this.oldValue,this.internalValue)||(this.$emit("change",this.internalValue),this.noClick=!0),this.isActive=!1},onMouseMove(t){"mousemove"===t.type&&(this.thumbPressed=!0),this.internalValue=this.parseMouseMove(t)},onKeyDown(t){if(!this.isInteractive)return;const e=this.parseKeyDown(t,this.internalValue);null==e||e<this.minValue||e>this.maxValue||(this.internalValue=e,this.$emit("change",e))},onSliderClick(t){if(this.noClick)return void(this.noClick=!1);const e=this.$refs.thumb;e.focus(),this.onMouseMove(t),this.$emit("change",this.internalValue)},onBlur(t){this.isFocused=!1,this.$emit("blur",t)},onFocus(t){this.isFocused=!0,this.$emit("focus",t)},parseMouseMove(t){const e=this.vertical?"top":"left",r=this.vertical?"height":"width",n=this.vertical?"clientY":"clientX",{[e]:i,[r]:o}=this.$refs.track.getBoundingClientRect(),a="touches"in t?t.touches[0][n]:t[n];let s=Math.min(Math.max((a-i-this.startOffset)/o,0),1)||0;return this.vertical&&(s=1-s),this.$vuetify.rtl&&(s=1-s),parseFloat(this.min)+s*(this.maxValue-this.minValue)},parseKeyDown(t,e){if(!this.isInteractive)return;const{pageup:r,pagedown:n,end:i,home:o,left:a,right:s,down:c,up:l}=u["A"];if(![r,n,i,o,a,s,c,l].includes(t.keyCode))return;t.preventDefault();const h=this.stepNumeric||1,f=(this.maxValue-this.minValue)/h;if([a,s,c,l].includes(t.keyCode)){const r=this.$vuetify.rtl?[a,l]:[s,l],n=r.includes(t.keyCode)?1:-1,i=t.shiftKey?3:t.ctrlKey?2:1;e+=n*h*i}else if(t.keyCode===o)e=this.minValue;else if(t.keyCode===i)e=this.maxValue;else{const r=t.keyCode===n?1:-1;e-=r*h*(f>100?f/10:10)}return e},roundValue(t){if(!this.stepNumeric)return t;const e=this.step.toString().trim(),r=e.indexOf(".")>-1?e.length-e.indexOf(".")-1:0,n=this.minValue%this.stepNumeric,i=Math.round((t-n)/this.stepNumeric)*this.stepNumeric+n;return parseFloat(Math.min(i,this.maxValue).toFixed(r))}}})},ba10:function(t,e,r){"use strict";var n=Object.prototype.hasOwnProperty,i="~";function o(){}function a(t,e,r){this.fn=t,this.context=e,this.once=r||!1}function s(t,e,r,n,o){if("function"!==typeof r)throw new TypeError("The listener must be a function");var s=new a(r,n||t,o),u=i?i+e:e;return t._events[u]?t._events[u].fn?t._events[u]=[t._events[u],s]:t._events[u].push(s):(t._events[u]=s,t._eventsCount++),t}function u(t,e){0===--t._eventsCount?t._events=new o:delete t._events[e]}function c(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(i=!1)),c.prototype.eventNames=function(){var t,e,r=[];if(0===this._eventsCount)return r;for(e in t=this._events)n.call(t,e)&&r.push(i?e.slice(1):e);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(t)):r},c.prototype.listeners=function(t){var e=i?i+t:t,r=this._events[e];if(!r)return[];if(r.fn)return[r.fn];for(var n=0,o=r.length,a=new Array(o);n<o;n++)a[n]=r[n].fn;return a},c.prototype.listenerCount=function(t){var e=i?i+t:t,r=this._events[e];return r?r.fn?1:r.length:0},c.prototype.emit=function(t,e,r,n,o,a){var s=i?i+t:t;if(!this._events[s])return!1;var u,c,l=this._events[s],h=arguments.length;if(l.fn){switch(l.once&&this.removeListener(t,l.fn,void 0,!0),h){case 1:return l.fn.call(l.context),!0;case 2:return l.fn.call(l.context,e),!0;case 3:return l.fn.call(l.context,e,r),!0;case 4:return l.fn.call(l.context,e,r,n),!0;case 5:return l.fn.call(l.context,e,r,n,o),!0;case 6:return l.fn.call(l.context,e,r,n,o,a),!0}for(c=1,u=new Array(h-1);c<h;c++)u[c-1]=arguments[c];l.fn.apply(l.context,u)}else{var f,d=l.length;for(c=0;c<d;c++)switch(l[c].once&&this.removeListener(t,l[c].fn,void 0,!0),h){case 1:l[c].fn.call(l[c].context);break;case 2:l[c].fn.call(l[c].context,e);break;case 3:l[c].fn.call(l[c].context,e,r);break;case 4:l[c].fn.call(l[c].context,e,r,n);break;default:if(!u)for(f=1,u=new Array(h-1);f<h;f++)u[f-1]=arguments[f];l[c].fn.apply(l[c].context,u)}}return!0},c.prototype.on=function(t,e,r){return s(this,t,e,r,!1)},c.prototype.once=function(t,e,r){return s(this,t,e,r,!0)},c.prototype.removeListener=function(t,e,r,n){var o=i?i+t:t;if(!this._events[o])return this;if(!e)return u(this,o),this;var a=this._events[o];if(a.fn)a.fn!==e||n&&!a.once||r&&a.context!==r||u(this,o);else{for(var s=0,c=[],l=a.length;s<l;s++)(a[s].fn!==e||n&&!a[s].once||r&&a[s].context!==r)&&c.push(a[s]);c.length?this._events[o]=1===c.length?c[0]:c:u(this,o)}return this},c.prototype.removeAllListeners=function(t){var e;return t?(e=i?i+t:t,this._events[e]&&u(this,e)):(this._events=new o,this._eventsCount=0),this},c.prototype.off=c.prototype.removeListener,c.prototype.addListener=c.prototype.on,c.prefixed=i,c.EventEmitter=c,t.exports=c},ba1f:function(t,e,r){"use strict";const n=r("a1a8"),i=r("956c"),o=r("2612"),{concat:a}=r("a828"),{toString:s}=r("eaf0");function u(t){const e=[],r=t.split("/").slice(1);if(1===r.length&&""===r[0])return[];for(let n=0;n<r.length;n++){const o=r[n],a=i(o);if(0!==a.size){if(n++,n>=r.length)throw x("invalid address: "+t);if(a.path){e.push([o,w(r.slice(n).join("/"))]);break}e.push([o,r[n]])}else e.push([o])}return e}function c(t){const e=[];return t.map(t=>{const r=k(t);return e.push(r.name),t.length>1&&e.push(t[1]),null}),w(e.join("/"))}function l(t){return t.map(t=>{Array.isArray(t)||(t=[t]);const e=k(t);return t.length>1?[e.code,n.toBytes(e.code,t[1])]:[e.code]})}function h(t){return t.map(t=>{const e=k(t);return t[1]?[e.code,n.toString(e.code,t[1])]:[e.code]})}function f(t){return v(a(t.map(t=>{const e=k(t);let r=Uint8Array.from(o.encode(e.code));return t.length>1&&(r=a([r,t[1]])),r})))}function d(t,e){if(t.size>0)return t.size/8;if(0===t.size)return 0;{const t=o.decode(e);return t+o.decode.bytes}}function p(t){const e=[];let r=0;while(r<t.length){const n=o.decode(t,r),a=o.decode.bytes,u=i(n),c=d(u,t.slice(r+a));if(0===c){e.push([n]),r+=a;continue}const l=t.slice(r+a,r+a+c);if(r+=c+a,r>t.length)throw x("Invalid address Uint8Array: "+s(t,"base16"));e.push([n,l])}return e}function m(t){const e=p(t),r=h(e);return c(r)}function g(t){t=w(t);const e=u(t),r=l(e);return f(r)}function y(t){return g(t)}function v(t){const e=b(t);if(e)throw e;return Uint8Array.from(t)}function b(t){try{p(t)}catch(e){return e}}function _(t){return void 0===b(t)}function w(t){return"/"+t.trim().split("/").filter(t=>t).join("/")}function x(t){return new Error("Error parsing address: "+t)}function k(t){const e=i(t[0]);return e}t.exports={stringToStringTuples:u,stringTuplesToString:c,tuplesToStringTuples:h,stringTuplesToTuples:l,bytesToTuples:p,tuplesToBytes:f,bytesToString:m,stringToBytes:g,fromString:y,fromBytes:v,validateBytes:b,isValidBytes:_,cleanPath:w,ParseError:x,protoFromTuple:k,sizeForAddr:d}},ba87:function(t,e,r){"use strict";var n=r("24c9");r.d(e,"a",(function(){return n["a"]})),e["b"]=n["a"]},baaf:function(t,e,r){"use strict";var n=r("c6a6");r.d(e,"a",(function(){return n["a"]})),e["b"]=n["a"]},bb18:function(t,e,r){},bb71:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
function e(t,e,r,n){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?i[r][0]:i[r][1]}var r=t.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_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:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return r}))},bb716:function(t,e,r){"use strict";r.r(e),r.d(e,"VApp",(function(){return n["a"]})),r.d(e,"VAppBar",(function(){return i["a"]})),r.d(e,"VAppBarNavIcon",(function(){return i["b"]})),r.d(e,"VAppBarTitle",(function(){return i["c"]})),r.d(e,"VAlert",(function(){return o["a"]})),r.d(e,"VAutocomplete",(function(){return a["a"]})),r.d(e,"VAvatar",(function(){return s["a"]})),r.d(e,"VBadge",(function(){return u["a"]})),r.d(e,"VBanner",(function(){return g})),r.d(e,"VBottomNavigation",(function(){return y["a"]})),r.d(e,"VBottomSheet",(function(){return v["a"]})),r.d(e,"VBreadcrumbs",(function(){return k})),r.d(e,"VBreadcrumbsItem",(function(){return _})),r.d(e,"VBreadcrumbsDivider",(function(){return w})),r.d(e,"VBtn",(function(){return S["a"]})),r.d(e,"VBtnToggle",(function(){return E["a"]})),r.d(e,"VCalendar",(function(){return Tt})),r.d(e,"VCalendarCategory",(function(){return At})),r.d(e,"VCalendarDaily",(function(){return St})),r.d(e,"VCalendarWeekly",(function(){return wt})),r.d(e,"VCalendarMonthly",(function(){return xt})),r.d(e,"VCard",(function(){return Ct["a"]})),r.d(e,"VCardActions",(function(){return Ct["b"]})),r.d(e,"VCardSubtitle",(function(){return Ct["c"]})),r.d(e,"VCardText",(function(){return Ct["d"]})),r.d(e,"VCardTitle",(function(){return Ct["e"]})),r.d(e,"VCarousel",(function(){return Dt})),r.d(e,"VCarouselItem",(function(){return Rt})),r.d(e,"VCheckbox",(function(){return Ft["a"]})),r.d(e,"VSimpleCheckbox",(function(){return Ft["b"]})),r.d(e,"VChip",(function(){return Yt["a"]})),r.d(e,"VChipGroup",(function(){return Ut["a"]})),r.d(e,"VColorPicker",(function(){return Ht["a"]})),r.d(e,"VColorPickerSwatches",(function(){return Ht["c"]})),r.d(e,"VColorPickerCanvas",(function(){return Ht["b"]})),r.d(e,"VContent",(function(){return Vt})),r.d(e,"VCombobox",(function(){return $t["a"]})),r.d(e,"VCounter",(function(){return qt["a"]})),r.d(e,"VData",(function(){return Gt["a"]})),r.d(e,"VDataIterator",(function(){return Wt["b"]})),r.d(e,"VDataFooter",(function(){return Wt["a"]})),r.d(e,"VDataTable",(function(){return Kt["a"]})),r.d(e,"VEditDialog",(function(){return Kt["c"]})),r.d(e,"VTableOverflow",(function(){return Kt["e"]})),r.d(e,"VDataTableHeader",(function(){return Kt["b"]})),r.d(e,"VSimpleTable",(function(){return Kt["d"]})),r.d(e,"VVirtualTable",(function(){return Kt["f"]})),r.d(e,"VDatePicker",(function(){return Xt["a"]})),r.d(e,"VDatePickerTitle",(function(){return Xt["e"]})),r.d(e,"VDatePickerHeader",(function(){return Xt["c"]})),r.d(e,"VDatePickerDateTable",(function(){return Xt["b"]})),r.d(e,"VDatePickerMonthTable",(function(){return Xt["d"]})),r.d(e,"VDatePickerYears",(function(){return Xt["f"]})),r.d(e,"VDialog",(function(){return Jt["a"]})),r.d(e,"VDivider",(function(){return Zt["a"]})),r.d(e,"VExpansionPanels",(function(){return Qt["d"]})),r.d(e,"VExpansionPanel",(function(){return Qt["a"]})),r.d(e,"VExpansionPanelHeader",(function(){return Qt["c"]})),r.d(e,"VExpansionPanelContent",(function(){return Qt["b"]})),r.d(e,"VFileInput",(function(){return te["a"]})),r.d(e,"VFooter",(function(){return ee["a"]})),r.d(e,"VForm",(function(){return re["a"]})),r.d(e,"VContainer",(function(){return ne["b"]})),r.d(e,"VCol",(function(){return ne["a"]})),r.d(e,"VRow",(function(){return ne["e"]})),r.d(e,"VSpacer",(function(){return ne["f"]})),r.d(e,"VLayout",(function(){return ne["d"]})),r.d(e,"VFlex",(function(){return ne["c"]})),r.d(e,"VHover",(function(){return ie["a"]})),r.d(e,"VIcon",(function(){return l["a"]})),r.d(e,"VImg",(function(){return oe["a"]})),r.d(e,"VInput",(function(){return ae["a"]})),r.d(e,"VItem",(function(){return se["a"]})),r.d(e,"VItemGroup",(function(){return se["b"]})),r.d(e,"VLabel",(function(){return ue["a"]})),r.d(e,"VLazy",(function(){return ce["a"]})),r.d(e,"VListItemActionText",(function(){return le["e"]})),r.d(e,"VListItemContent",(function(){return le["g"]})),r.d(e,"VListItemTitle",(function(){return le["k"]})),r.d(e,"VListItemSubtitle",(function(){return le["j"]})),r.d(e,"VList",(function(){return le["a"]})),r.d(e,"VListGroup",(function(){return le["b"]})),r.d(e,"VListItem",(function(){return le["c"]})),r.d(e,"VListItemAction",(function(){return le["d"]})),r.d(e,"VListItemAvatar",(function(){return le["f"]})),r.d(e,"VListItemIcon",(function(){return le["i"]})),r.d(e,"VListItemGroup",(function(){return le["h"]})),r.d(e,"VMain",(function(){return he["a"]})),r.d(e,"VMenu",(function(){return fe["a"]})),r.d(e,"VMessages",(function(){return de["a"]})),r.d(e,"VNavigationDrawer",(function(){return pe["a"]})),r.d(e,"VOtpInput",(function(){return ye})),r.d(e,"VOverflowBtn",(function(){return be})),r.d(e,"VOverlay",(function(){return _e["a"]})),r.d(e,"VPagination",(function(){return we["a"]})),r.d(e,"VSheet",(function(){return c["a"]})),r.d(e,"VParallax",(function(){return Se})),r.d(e,"VPicker",(function(){return Ee["a"]})),r.d(e,"VProgressCircular",(function(){return Me["a"]})),r.d(e,"VProgressLinear",(function(){return Pt["a"]})),r.d(e,"VRadioGroup",(function(){return Ce})),r.d(e,"VRadio",(function(){return je})),r.d(e,"VRangeSlider",(function(){return Ne["a"]})),r.d(e,"VRating",(function(){return Ye})),r.d(e,"VResponsive",(function(){return Ue["a"]})),r.d(e,"VSelect",(function(){return He["a"]})),r.d(e,"VSkeletonLoader",(function(){return ze["a"]})),r.d(e,"VSlider",(function(){return Ve["a"]})),r.d(e,"VSlideGroup",(function(){return $e["a"]})),r.d(e,"VSlideItem",(function(){return $e["b"]})),r.d(e,"VSnackbar",(function(){return qe["a"]})),r.d(e,"VSparkline",(function(){return tr})),r.d(e,"VSpeedDial",(function(){return er["a"]})),r.d(e,"VStepper",(function(){return or})),r.d(e,"VStepperContent",(function(){return cr})),r.d(e,"VStepperStep",(function(){return sr})),r.d(e,"VStepperHeader",(function(){return lr})),r.d(e,"VStepperItems",(function(){return hr})),r.d(e,"VSubheader",(function(){return fr["a"]})),r.d(e,"VSwitch",(function(){return dr["a"]})),r.d(e,"VSystemBar",(function(){return mr})),r.d(e,"VTabs",(function(){return gr["c"]})),r.d(e,"VTab",(function(){return gr["a"]})),r.d(e,"VTabItem",(function(){return gr["b"]})),r.d(e,"VTabsItems",(function(){return gr["d"]})),r.d(e,"VTabsSlider",(function(){return gr["e"]})),r.d(e,"VTextarea",(function(){return yr["a"]})),r.d(e,"VTextField",(function(){return vr["a"]})),r.d(e,"VThemeProvider",(function(){return br["a"]})),r.d(e,"VTimeline",(function(){return _r["a"]})),r.d(e,"VTimelineItem",(function(){return _r["b"]})),r.d(e,"VTimePicker",(function(){return wr["a"]})),r.d(e,"VTimePickerClock",(function(){return wr["b"]})),r.d(e,"VTimePickerTitle",(function(){return wr["c"]})),r.d(e,"VToolbar",(function(){return xr["a"]})),r.d(e,"VToolbarItems",(function(){return xr["b"]})),r.d(e,"VToolbarTitle",(function(){return xr["c"]})),r.d(e,"VTooltip",(function(){return kr["a"]})),r.d(e,"VTreeview",(function(){return Pr})),r.d(e,"VTreeviewNode",(function(){return Tr})),r.d(e,"VVirtualScroll",(function(){return Dr})),r.d(e,"VWindow",(function(){return Br["a"]})),r.d(e,"VWindowItem",(function(){return Br["b"]})),r.d(e,"VCarouselTransition",(function(){return h["b"]})),r.d(e,"VCarouselReverseTransition",(function(){return h["a"]})),r.d(e,"VTabTransition",(function(){return h["u"]})),r.d(e,"VTabReverseTransition",(function(){return h["t"]})),r.d(e,"VMenuTransition",(function(){return h["j"]})),r.d(e,"VFabTransition",(function(){return h["h"]})),r.d(e,"VDialogTransition",(function(){return h["e"]})),r.d(e,"VDialogBottomTransition",(function(){return h["c"]})),r.d(e,"VDialogTopTransition",(function(){return h["d"]})),r.d(e,"VFadeTransition",(function(){return h["i"]})),r.d(e,"VScaleTransition",(function(){return h["k"]})),r.d(e,"VScrollXTransition",(function(){return h["m"]})),r.d(e,"VScrollXReverseTransition",(function(){return h["l"]})),r.d(e,"VScrollYTransition",(function(){return h["o"]})),r.d(e,"VScrollYReverseTransition",(function(){return h["n"]})),r.d(e,"VSlideXTransition",(function(){return h["q"]})),r.d(e,"VSlideXReverseTransition",(function(){return h["p"]})),r.d(e,"VSlideYTransition",(function(){return h["s"]})),r.d(e,"VSlideYReverseTransition",(function(){return h["r"]})),r.d(e,"VExpandTransition",(function(){return h["f"]})),r.d(e,"VExpandXTransition",(function(){return h["g"]})),r.d(e,"ClickOutside",(function(){return jr["a"]})),r.d(e,"Intersect",(function(){return jr["b"]})),r.d(e,"Mutate",(function(){return jr["c"]})),r.d(e,"Resize",(function(){return jr["d"]})),r.d(e,"Ripple",(function(){return jr["e"]})),r.d(e,"Scroll",(function(){return jr["f"]})),r.d(e,"Touch",(function(){return jr["g"]})),r.d(e,"colors",(function(){return Nr["a"]})),r.d(e,"default",(function(){return Rr["a"]}));var n=r("26a2"),i=r("0e42"),o=r("8126"),a=r("baaf"),s=r("713a"),u=r("d7ba"),c=(r("0467"),r("10d2")),l=r("9d26"),h=r("0789"),f=r("e4cd"),d=r("f2e7"),p=r("58df"),m=r("80d2"),g=Object(p["a"])(c["b"],f["a"],d["a"]).extend({name:"v-banner",inheritAttrs:!1,props:{app:Boolean,icon:String,iconColor:String,singleLine:Boolean,sticky:Boolean,value:{type:Boolean,default:!0}},computed:{classes(){return{...c["b"].options.computed.classes.call(this),"v-banner--has-icon":this.hasIcon,"v-banner--is-mobile":this.isMobile,"v-banner--single-line":this.singleLine,"v-banner--sticky":this.isSticky}},hasIcon(){return Boolean(this.icon||this.$slots.icon||this.$scopedSlots.icon)},isSticky(){return this.sticky||this.app},styles(){const t={...c["b"].options.computed.styles.call(this)};if(this.isSticky){const e=this.app?this.$vuetify.application.bar+this.$vuetify.application.top:0;t.top=Object(m["i"])(e),t.position="sticky",t.zIndex=1}return t}},methods:{toggle(){this.isActive=!this.isActive},iconClick(t){this.$emit("click:icon",t)},genIcon(){if(!this.hasIcon)return;let t;return t=this.icon?this.$createElement(l["b"],{props:{color:this.iconColor,size:28}},[this.icon]):Object(m["u"])(this,"icon"),this.$createElement(s["b"],{staticClass:"v-banner__icon",props:{color:this.color,size:40},on:{click:this.iconClick}},[t])},genText(){return this.$createElement("div",{staticClass:"v-banner__text"},Object(m["u"])(this))},genActions(){const t=Object(m["u"])(this,"actions",{dismiss:()=>this.isActive=!1});if(t)return this.$createElement("div",{staticClass:"v-banner__actions"},t)},genContent(){return this.$createElement("div",{staticClass:"v-banner__content"},[this.genIcon(),this.genText()])},genWrapper(){return this.$createElement("div",{staticClass:"v-banner__wrapper"},[this.genContent(),this.genActions()])}},render(t){const e={staticClass:"v-banner",attrs:this.attrs$,class:this.classes,style:this.styles,directives:[{name:"show",value:this.isActive}]};return t(h["f"],[t("div",this.outlined?e:this.setBackgroundColor(this.color,e),[this.genWrapper()])])}}),y=r("9637"),v=r("e223"),b=(r("abd3"),r("1c87")),_=Object(p["a"])(b["a"]).extend({name:"v-breadcrumbs-item",props:{activeClass:{type:String,default:"v-breadcrumbs__item--disabled"},ripple:{type:[Boolean,Object],default:!1}},computed:{classes(){return{"v-breadcrumbs__item":!0,[this.activeClass]:this.disabled}}},render(t){const{tag:e,data:r}=this.generateRouteLink();return t("li",[t(e,{...r,attrs:{...r.attrs,"aria-current":this.isActive&&this.isLink?"page":void 0}},Object(m["u"])(this))])}}),w=Object(m["k"])("v-breadcrumbs__divider","li"),x=r("7560"),k=Object(p["a"])(x["a"]).extend({name:"v-breadcrumbs",props:{divider:{type:String,default:"/"},items:{type:Array,default:()=>[]},large:Boolean},computed:{classes(){return{"v-breadcrumbs--large":this.large,...this.themeClasses}}},methods:{genDivider(){return this.$createElement(w,this.$slots.divider?this.$slots.divider:this.divider)},genItems(){const t=[],e=!!this.$scopedSlots.item,r=[];for(let n=0;n<this.items.length;n++){const i=this.items[n];r.push(i.text),e?t.push(this.$scopedSlots.item({item:i})):t.push(this.$createElement(_,{key:r.join("."),props:i},[i.text])),n<this.items.length-1&&t.push(this.genDivider())}return t}},render(t){const e=Object(m["u"])(this)||this.genItems();return t("ul",{staticClass:"v-breadcrumbs",class:this.classes},e)}}),S=r("afdd"),E=r("afe5"),M=(r("d13b"),r("5607")),A=r("a9ad"),T=r("dfda"),C=r("ef99"),L=r("2b0e"),P=r("ea4a"),O=L["default"].extend({name:"times",props:{now:{type:String,validator:P["F"]}},data:()=>({times:{now:Object(P["v"])("0000-00-00 00:00",!0),today:Object(P["v"])("0000-00-00",!0)}}),computed:{parsedNow(){return this.now?Object(P["v"])(this.now,!0):null}},watch:{parsedNow:"updateTimes"},created(){this.updateTimes(),this.setPresent()},methods:{setPresent(){this.times.now.present=this.times.today.present=!0,this.times.now.past=this.times.today.past=!1,this.times.now.future=this.times.today.future=!1},updateTimes(){const t=this.parsedNow||this.getNow();this.updateDay(t,this.times.now),this.updateTime(t,this.times.now),this.updateDay(t,this.times.today)},getNow(){return Object(P["t"])(new Date)},updateDay(t,e){t.date!==e.date&&(e.year=t.year,e.month=t.month,e.day=t.day,e.weekday=t.weekday,e.date=t.date)},updateTime(t,e){t.time!==e.time&&(e.hour=t.hour,e.minute=t.minute,e.time=t.time)}}}),I=r("dc22");const D=864e5;function B(t,e=0){const r=t.map(t=>({event:t,columnCount:0,column:0,left:0,width:100}));return r.sort((t,r)=>Math.max(e,t.event.startTimestampIdentifier)-Math.max(e,r.event.startTimestampIdentifier)||r.event.endTimestampIdentifier-t.event.endTimestampIdentifier),r}function j(t,e,r,n,i=!0){return i?!(t>=n||e<=r):!(t>n||e<r)}function N(t){t.forEach(e=>{e.visuals.forEach(e=>{e.columnCount=t.length})})}function R(t){return[t.startTimestampIdentifier,t.endTimestampIdentifier]}function F(t){return[t.startIdentifier,t.endIdentifier]}function Y(t,e){return[Math.max(e,t.startTimestampIdentifier),Math.min(e+D,t.endTimestampIdentifier)]}function U(t,e,r,n){for(let i=0;i<t.length;i++){const o=t[i];let a=!1;if(j(e,r,o.start,o.end,n))for(let t=0;t<o.visuals.length;t++){const i=o.visuals[t],[s,u]=n?R(i.event):F(i.event);if(j(e,r,s,u,n)){a=!0;break}}if(!a)return i}return-1}function H(t){const e={groups:[],min:-1,max:-1,reset:()=>{e.groups=[],e.min=e.max=-1},getVisuals:(r,n,i,o=!1)=>{(r.weekday===t||o)&&e.reset();const a=Object(P["p"])(r),s=B(n,a);return s.forEach(t=>{const[r,n]=i?R(t.event):F(t.event);e.groups.length>0&&!j(r,n,e.min,e.max,i)&&(N(e.groups),e.reset());let o=U(e.groups,r,n,i);-1===o&&(o=e.groups.length,e.groups.push({start:r,end:n,visuals:[]}));const a=e.groups[o];a.visuals.push(t),a.start=Math.min(a.start,r),a.end=Math.max(a.end,n),t.column=o,-1===e.min?(e.min=r,e.max=n):(e.min=Math.min(e.min,r),e.max=Math.max(e.max,n))}),N(e.groups),i&&e.reset(),s}};return e}const z=100,V=5,$=1.7,q=(t,e,r)=>{const n=H(e);return(t,e,i,o)=>{if(!i)return n.getVisuals(t,e,i,o);const a=Object(P["p"])(t),s=B(e,a),u=tt(s,a);for(const n of u){const t=[];for(const e of n.visuals){const n=et(e,a),i=X(n,t);if(!1===i){const e=Z(n,t);e&&(n.parent=e,n.sibling=j(n.start,n.end,e.start,nt(e.start,r)),n.index=e.index+1,e.children.push(n))}else{const[e]=J(n,t,i-1,i-1),o=J(n,t,i+1,i+t.length,!0);n.children=o,n.index=i,e&&(n.parent=e,n.sibling=j(n.start,n.end,e.start,nt(e.start,r)),e.children.push(n));for(const t of o){t.parent===e&&(t.parent=n);const i=t.index-n.index<=1;i&&n.sibling&&j(n.start,nt(n.start,r),t.start,t.end)&&(t.sibling=!0)}}t.push(n)}G(t,r)}return s.sort((t,e)=>t.left-e.left||t.event.startTimestampIdentifier-e.event.startTimestampIdentifier),s}};function G(t,e){for(const r of t){const{visual:n,parent:i}=r,o=rt(r)+1,a=i?i.visual.left:0,s=z-a,u=Math.min(V,z/o),c=W(r,t),l=s/(o-r.index+1),h=s/(o-r.index+(r.sibling?1:0))*c;i&&(n.left=r.sibling?a+l:a+u),n.width=Q(r,t,e)?z-n.left:Math.min(z-n.left,h*$)}}function W(t,e){if(!t.children.length)return 1;const r=t.index+e.length,n=t.children.reduce((t,e)=>Math.min(t,e.index),r);return n-t.index}function K(t,e){const r=[];for(const n of e)j(t.start,t.end,n.start,n.end)&&r.push(n.index);return r}function X(t,e){const r=K(t,e);r.sort();for(let n=0;n<r.length;n++)if(n<r[n])return n;return!1}function J(t,e,r,n,i=!1){const o=[];for(const a of e)a.index>=r&&a.index<=n&&j(t.start,t.end,a.start,a.end)&&o.push(a);if(i&&o.length>0){const t=o.reduce((t,e)=>Math.min(t,e.index),o[0].index);return o.filter(e=>e.index===t)}return o}function Z(t,e){let r=null;for(const n of e)j(t.start,t.end,n.start,n.end)&&(null===r||n.index>r.index)&&(r=n);return r}function Q(t,e,r){for(const n of e)if(n!==t&&n.index>t.index&&j(t.start,nt(t.start,r),n.start,n.end))return!1;return!0}function tt(t,e){const r=[];for(const n of t){const[t,i]=Y(n.event,e);let o=!1;for(const e of r)if(j(t,i,e.start,e.end)){e.visuals.push(n),e.end=Math.max(e.end,i),o=!0;break}o||r.push({start:t,end:i,visuals:[n]})}return r}function et(t,e){const[r,n]=Y(t.event,e);return{parent:null,sibling:!0,index:0,visual:t,start:r,end:n,children:[]}}function rt(t){let e=t.index;for(const r of t.children){const t=rt(r);t>e&&(e=t)}return e}function nt(t,e){const r=t%100,n=r+e,i=Math.floor(n/60),o=n%60;return t-r+100*i+o}const it=100,ot=(t,e,r)=>{const n=H(e);return(t,e,r,i)=>{const o=n.getVisuals(t,e,r,i);return r&&o.forEach(t=>{t.left=t.column*it/t.columnCount,t.width=it/t.columnCount}),o}},at={stack:q,column:ot};var st={base:{start:{type:[String,Number,Date],validate:P["F"],default:()=>Object(P["t"])(new Date).date},end:{type:[String,Number,Date],validate:P["F"]},weekdays:{type:[Array,String],default:()=>[0,1,2,3,4,5,6],validate:ct},hideHeader:{type:Boolean},shortWeekdays:{type:Boolean,default:!0},weekdayFormat:{type:Function,default:null},dayFormat:{type:Function,default:null}},intervals:{maxDays:{type:Number,default:7},shortIntervals:{type:Boolean,default:!0},intervalHeight:{type:[Number,String],default:48,validate:ut},intervalWidth:{type:[Number,String],default:60,validate:ut},intervalMinutes:{type:[Number,String],default:60,validate:ut},firstInterval:{type:[Number,String],default:0,validate:ut},firstTime:{type:[Number,String,Object],validate:P["E"]},intervalCount:{type:[Number,String],default:24,validate:ut},intervalFormat:{type:Function,default:null},intervalStyle:{type:Function,default:null},showIntervalLabel:{type:Function,default:null}},weeks:{localeFirstDayOfYear:{type:[String,Number],default:0},minWeeks:{validate:ut,default:1},shortMonths:{type:Boolean,default:!0},showMonthOnFirst:{type:Boolean,default:!0},showWeek:Boolean,monthFormat:{type:Function,default:null}},calendar:{type:{type:String,default:"month"},value:{type:[String,Number,Date],validate:P["F"]}},category:{categories:{type:[Array,String],default:""},categoryText:{type:[String,Function]},categoryHideDynamic:{type:Boolean},categoryShowAll:{type:Boolean},categoryForInvalid:{type:String,default:""},categoryDays:{type:[Number,String],default:1,validate:t=>isFinite(parseInt(t))&&parseInt(t)>0}},events:{events:{type:Array,default:()=>[]},eventStart:{type:String,default:"start"},eventEnd:{type:String,default:"end"},eventTimed:{type:[String,Function],default:"timed"},eventCategory:{type:[String,Function],default:"category"},eventHeight:{type:Number,default:20},eventColor:{type:[String,Function],default:"primary"},eventTextColor:{type:[String,Function],default:"white"},eventName:{type:[String,Function],default:"name"},eventOverlapThreshold:{type:[String,Number],default:60},eventOverlapMode:{type:[String,Function],default:"stack",validate:t=>t in at||"function"===typeof t},eventMore:{type:Boolean,default:!0},eventMoreText:{type:String,default:"$vuetify.calendar.moreEvents"},eventRipple:{type:[Boolean,Object],default:null},eventMarginBottom:{type:Number,default:1}}};function ut(t){return isFinite(parseInt(t))}function ct(t){if("string"===typeof t&&(t=t.split(",")),Array.isArray(t)){const e=t.map(t=>parseInt(t));if(e.length>P["b"]||0===e.length)return!1;const r={};let n=!1;for(let t=0;t<e.length;t++){const i=e[t];if(!isFinite(i)||i<0||i>=P["b"])return!1;if(t>0){const r=i-e[t-1];if(r<0){if(n)return!1;n=!0}else if(0===r)return!1}if(r[i])return!1;r[i]=!0}return!0}return!1}var lt=Object(p["a"])(A["a"],T["a"],C["a"],x["a"],O).extend({name:"calendar-base",directives:{Resize:I["b"]},props:st.base,computed:{parsedWeekdays(){return Array.isArray(this.weekdays)?this.weekdays:(this.weekdays||"").split(",").map(t=>parseInt(t,10))},weekdaySkips(){return Object(P["q"])(this.parsedWeekdays)},weekdaySkipsReverse(){const t=this.weekdaySkips.slice();return t.reverse(),t},parsedStart(){return Object(P["v"])(this.start,!0)},parsedEnd(){const t=this.parsedStart,e=this.end&&Object(P["v"])(this.end)||t;return Object(P["p"])(e)<Object(P["p"])(t)?t:e},days(){return Object(P["f"])(this.parsedStart,this.parsedEnd,this.times.today,this.weekdaySkips)},dayFormatter(){if(this.dayFormat)return this.dayFormat;const t={timeZone:"UTC",day:"numeric"};return Object(P["h"])(this.currentLocale,(e,r)=>t)},weekdayFormatter(){if(this.weekdayFormat)return this.weekdayFormat;const t={timeZone:"UTC",weekday:"long"},e={timeZone:"UTC",weekday:"short"};return Object(P["h"])(this.currentLocale,(r,n)=>n?e:t)}},methods:{getRelativeClasses(t,e=!1){return{"v-present":t.present,"v-past":t.past,"v-future":t.future,"v-outside":e}},getStartOfWeek(t){return Object(P["o"])(t,this.parsedWeekdays,this.times.today)},getEndOfWeek(t){return Object(P["m"])(t,this.parsedWeekdays,this.times.today)},getFormatter(t){return Object(P["h"])(this.locale,(e,r)=>t)}}});function ht(t,e,r,n,i=!1,o=!1){const a=t[r],s=t[n],u=Object(P["v"])(a,!0),c=s?Object(P["v"])(s,!0):u,l=Object(P["r"])(a)?Object(P["A"])(u,i):u,h=Object(P["r"])(s)?Object(P["A"])(c,i):c,f=Object(P["k"])(l),d=Object(P["p"])(l),p=Object(P["k"])(h),m=l.hasTime?0:2359,g=Object(P["p"])(h)+m,y=!l.hasTime;return{input:t,start:l,startIdentifier:f,startTimestampIdentifier:d,end:h,endIdentifier:p,endTimestampIdentifier:g,allDay:y,index:e,category:o}}function ft(t,e){return e>=t.startIdentifier&&e<=t.endIdentifier}function dt(t,e){return"00:00"===t.end.time&&t.end.date===e.date&&t.start.date!==e.date}function pt(t,e,r,n){return r===t.startIdentifier||n===e.weekday&&ft(t,r)}function mt(t,e,r){return e<=t.endIdentifier&&r>=t.startIdentifier}const gt=100,yt=95,vt=1440;var bt=lt.extend({name:"calendar-with-events",directives:{ripple:M["b"]},props:{...st.events,...st.calendar,...st.category},computed:{noEvents(){return 0===this.events.length},parsedEvents(){return this.events.map(this.parseEvent)},parsedEventOverlapThreshold(){return parseInt(this.eventOverlapThreshold)},eventTimedFunction(){return"function"===typeof this.eventTimed?this.eventTimed:t=>!!t[this.eventTimed]},eventCategoryFunction(){return"function"===typeof this.eventCategory?this.eventCategory:t=>t[this.eventCategory]},eventTextColorFunction(){return"function"===typeof this.eventTextColor?this.eventTextColor:()=>this.eventTextColor},eventNameFunction(){return"function"===typeof this.eventName?this.eventName:(t,e)=>t.input[this.eventName]||""},eventModeFunction(){return"function"===typeof this.eventOverlapMode?this.eventOverlapMode:at[this.eventOverlapMode]},eventWeekdays(){return this.parsedWeekdays},categoryMode(){return"category"===this.type}},methods:{eventColorFunction(t){return"function"===typeof this.eventColor?this.eventColor(t):t.color||this.eventColor},parseEvent(t,e=0){return ht(t,e,this.eventStart,this.eventEnd,this.eventTimedFunction(t),!!this.categoryMode&&this.eventCategoryFunction(t))},formatTime(t,e){const r=this.getFormatter({timeZone:"UTC",hour:"numeric",minute:t.minute>0?"numeric":void 0});return r(t,!0)},updateEventVisibility(){if(this.noEvents||!this.eventMore)return;const t=this.eventHeight,e=this.getEventsMap();for(const r in e){const{parent:n,events:i,more:o}=e[r];if(!o)break;const a=n.getBoundingClientRect(),s=i.length-1,u=i.map(t=>({event:t,bottom:t.getBoundingClientRect().bottom})).sort((t,e)=>t.bottom-e.bottom);let c=0;for(let e=0;e<=s;e++){const r=u[e].bottom,n=e===s?r>a.bottom:r+t>a.bottom;n&&(u[e].event.style.display="none",c++)}c?(o.style.display="",o.innerHTML=this.$vuetify.lang.t(this.eventMoreText,c)):o.style.display="none"}},getEventsMap(){const t={},e=this.$refs.events;return e&&e.forEach?(e.forEach(e=>{const r=e.getAttribute("data-date");e.parentElement&&r&&(r in t||(t[r]={parent:e.parentElement,more:null,events:[]}),e.getAttribute("data-more")?t[r].more=e:(t[r].events.push(e),e.style.display=""))}),t):t},genDayEvent({event:t},e){const r=this.eventHeight,n=this.eventMarginBottom,i=Object(P["k"])(e),o=e.week,a=i===t.startIdentifier;let s=i===t.endIdentifier,u=yt;if(!this.categoryMode)for(let l=e.index+1;l<o.length;l++){const e=Object(P["k"])(o[l]);if(!(t.endIdentifier>=e)){s=!0;break}u+=gt,s=s||e===t.endIdentifier}const c={eventParsed:t,day:e,start:a,end:s,timed:!1};return this.genEvent(t,c,!1,{staticClass:"v-event",class:{"v-event-start":a,"v-event-end":s},style:{height:r+"px",width:u+"%","margin-bottom":n+"px"},attrs:{"data-date":e.date},key:t.index,ref:"events",refInFor:!0})},genTimedEvent({event:t,left:e,width:r},n){if(n.timeDelta(t.end)<0||n.timeDelta(t.start)>=1||dt(t,n))return!1;const i=Object(P["k"])(n),o=t.startIdentifier>=i,a=t.endIdentifier>i,s=o?n.timeToY(t.start):0,u=a?n.timeToY(vt):n.timeToY(t.end),c=Math.max(this.eventHeight,u-s),l={eventParsed:t,day:n,start:o,end:a,timed:!0};return this.genEvent(t,l,!0,{staticClass:"v-event-timed",style:{top:s+"px",height:c+"px",left:e+"%",width:r+"%"}})},genEvent(t,e,r,n){var i;const o=this.$scopedSlots.event,a=this.eventTextColorFunction(t.input),s=this.eventColorFunction(t.input),u=t.start.hour<12&&t.end.hour>=12,c=Object(P["j"])(t.start,t.end)<=this.parsedEventOverlapThreshold,l=this.formatTime,h=()=>l(t.start,u)+" - "+l(t.end,!0),f=()=>{const e=this.eventNameFunction(t,r);if(t.start.hasTime){if(r){const t=h(),r=c?", ":this.$createElement("br");return this.$createElement("span",{staticClass:"v-event-summary"},[this.$createElement("strong",[e]),r,t])}{const r=l(t.start,!0);return this.$createElement("span",{staticClass:"v-event-summary"},[this.$createElement("strong",[r])," ",e])}}return this.$createElement("span",{staticClass:"v-event-summary"},[e])},d={...e,event:t.input,outside:e.day.outside,singline:c,overlapsNoon:u,formatTime:l,timeSummary:h,eventSummary:f};return this.$createElement("div",this.setTextColor(a,this.setBackgroundColor(s,{on:this.getDefaultMouseEventHandlers(":event",t=>({...d,nativeEvent:t})),directives:[{name:"ripple",value:null===(i=this.eventRipple)||void 0===i||i}],...n})),o?o(d):[this.genName(f)])},genName(t){return this.$createElement("div",{staticClass:"pl-1"},[t()])},genPlaceholder(t){const e=this.eventHeight+this.eventMarginBottom;return this.$createElement("div",{style:{height:e+"px"},attrs:{"data-date":t.date},ref:"events",refInFor:!0})},genMore(t){var e;const r=this.eventHeight,n=this.eventMarginBottom;return this.$createElement("div",{staticClass:"v-event-more pl-1",class:{"v-outside":t.outside},attrs:{"data-date":t.date,"data-more":1},directives:[{name:"ripple",value:null===(e=this.eventRipple)||void 0===e||e}],on:this.getDefaultMouseEventHandlers(":more",e=>({nativeEvent:e,...t})),style:{display:"none",height:r+"px","margin-bottom":n+"px"},ref:"events",refInFor:!0})},getVisibleEvents(){const t=Object(P["k"])(this.days[0]),e=Object(P["k"])(this.days[this.days.length-1]);return this.parsedEvents.filter(r=>mt(r,t,e))},isEventForCategory(t,e){return!this.categoryMode||"object"===typeof e&&e.categoryName&&e.categoryName===t.category||"string"===typeof t.category&&e===t.category||"string"!==typeof t.category&&null===e},getEventsForDay(t){const e=Object(P["k"])(t),r=this.eventWeekdays[0];return this.parsedEvents.filter(n=>pt(n,t,e,r))},getEventsForDayAll(t){const e=Object(P["k"])(t),r=this.eventWeekdays[0];return this.parsedEvents.filter(n=>n.allDay&&(this.categoryMode?ft(n,e):pt(n,t,e,r))&&this.isEventForCategory(n,t.category))},getEventsForDayTimed(t){const e=Object(P["k"])(t);return this.parsedEvents.filter(r=>!r.allDay&&ft(r,e)&&this.isEventForCategory(r,t.category))},getScopedSlots(){if(this.noEvents)return{...this.$scopedSlots};const t=this.eventModeFunction(this.parsedEvents,this.eventWeekdays[0],this.parsedEventOverlapThreshold),e=t=>!!t,r=(r,n,i,o)=>{const a=n(r),s=t(r,a,o,this.categoryMode);if(o)return s.map(t=>i(t,r)).filter(e);const u=[];return s.forEach((t,e)=>{while(u.length<t.column)u.push(this.genPlaceholder(r));const n=i(t,r);n&&u.push(n)}),u},n=this.$scopedSlots,i=n.day,o=n["day-header"],a=n["day-body"];return{...n,day:t=>{let e=r(t,this.getEventsForDay,this.genDayEvent,!1);if(e&&e.length>0&&this.eventMore&&e.push(this.genMore(t)),i){const r=i(t);r&&(e=e?e.concat(r):r)}return e},"day-header":t=>{let e=r(t,this.getEventsForDayAll,this.genDayEvent,!1);if(o){const r=o(t);r&&(e=e?e.concat(r):r)}return e},"day-body":t=>{const e=r(t,this.getEventsForDayTimed,this.genTimedEvent,!0);let n=[this.$createElement("div",{staticClass:"v-event-timed-container"},e)];if(a){const e=a(t);e&&(n=n.concat(e))}return n}}}}}),_t=(r("4c72"),r("4e81")),wt=lt.extend({name:"v-calendar-weekly",props:st.weeks,computed:{staticClass(){return"v-calendar-weekly"},classes(){return this.themeClasses},parsedMinWeeks(){return parseInt(this.minWeeks)},days(){const t=this.parsedMinWeeks*this.parsedWeekdays.length,e=this.getStartOfWeek(this.parsedStart),r=this.getEndOfWeek(this.parsedEnd);return Object(P["f"])(e,r,this.times.today,this.weekdaySkips,Number.MAX_SAFE_INTEGER,t)},todayWeek(){const t=this.times.today,e=this.getStartOfWeek(t),r=this.getEndOfWeek(t);return Object(P["f"])(e,r,t,this.weekdaySkips,this.parsedWeekdays.length,this.parsedWeekdays.length)},monthFormatter(){if(this.monthFormat)return this.monthFormat;const t={timeZone:"UTC",month:"long"},e={timeZone:"UTC",month:"short"};return Object(P["h"])(this.currentLocale,(r,n)=>n?e:t)}},methods:{isOutside(t){const e=Object(P["k"])(t);return e<Object(P["k"])(this.parsedStart)||e>Object(P["k"])(this.parsedEnd)},genHead(){return this.$createElement("div",{staticClass:"v-calendar-weekly__head",attrs:{role:"row"}},this.genHeadDays())},genHeadDays(){const t=this.todayWeek.map(this.genHeadDay);return this.showWeek&&t.unshift(this.$createElement("div",{staticClass:"v-calendar-weekly__head-weeknumber"})),t},genHeadDay(t,e){const r=this.isOutside(this.days[e]),n=t.present?this.color:void 0;return this.$createElement("div",this.setTextColor(n,{key:t.date,staticClass:"v-calendar-weekly__head-weekday",class:this.getRelativeClasses(t,r),attrs:{role:"columnheader"}}),this.weekdayFormatter(t,this.shortWeekdays))},genWeeks(){const t=this.days,e=this.parsedWeekdays.length,r=[];for(let n=0;n<t.length;n+=e)r.push(this.genWeek(t.slice(n,n+e),this.getWeekNumber(t[n])));return r},genWeek(t,e){const r=t.map((e,r)=>this.genDay(e,r,t));return this.showWeek&&r.unshift(this.genWeekNumber(e)),this.$createElement("div",{key:t[0].date,staticClass:"v-calendar-weekly__week",attrs:{role:"row"}},r)},getWeekNumber(t){return Object(_t["b"])(t.year,t.month-1,t.day,this.parsedWeekdays[0],parseInt(this.localeFirstDayOfYear))},genWeekNumber(t){return this.$createElement("div",{staticClass:"v-calendar-weekly__weeknumber"},[this.$createElement("small",String(t))])},genDay(t,e,r){const n=this.isOutside(t);return this.$createElement("div",{key:t.date,staticClass:"v-calendar-weekly__day",class:this.getRelativeClasses(t,n),attrs:{role:"cell"},on:this.getDefaultMouseEventHandlers(":day",e=>({nativeEvent:e,...t}))},[this.genDayLabel(t),...Object(m["u"])(this,"day",()=>({outside:n,index:e,week:r,...t}))||[]])},genDayLabel(t){return this.$createElement("div",{staticClass:"v-calendar-weekly__day-label"},Object(m["u"])(this,"day-label",t)||[this.genDayLabelButton(t)])},genDayLabelButton(t){const e=t.present?this.color:"transparent",r=1===t.day&&this.showMonthOnFirst;return this.$createElement(S["b"],{props:{color:e,fab:!0,depressed:!0,small:!0},on:this.getMouseEventHandlers({"click:date":{event:"click",stop:!0},"contextmenu:date":{event:"contextmenu",stop:!0,prevent:!0,result:!1}},e=>({nativeEvent:e,...t}))},r?this.monthFormatter(t,this.shortMonths)+" "+this.dayFormatter(t,!1):this.dayFormatter(t,!1))},genDayMonth(t){const e=t.present?this.color:void 0;return this.$createElement("div",this.setTextColor(e,{staticClass:"v-calendar-weekly__day-month"}),Object(m["u"])(this,"day-month",t)||this.monthFormatter(t,this.shortMonths))}},render(t){return t("div",{staticClass:this.staticClass,class:this.classes,on:{dragstart:t=>{t.preventDefault()}}},[this.hideHeader?"":this.genHead(),...this.genWeeks()])}}),xt=wt.extend({name:"v-calendar-monthly",computed:{staticClass(){return"v-calendar-monthly v-calendar-weekly"},parsedStart(){return Object(P["n"])(Object(P["v"])(this.start,!0))},parsedEnd(){return Object(P["l"])(Object(P["v"])(this.end,!0))}}}),kt=(r("fcf47"),lt.extend({name:"calendar-with-intervals",props:st.intervals,computed:{parsedFirstInterval(){return parseInt(this.firstInterval)},parsedIntervalMinutes(){return parseInt(this.intervalMinutes)},parsedIntervalCount(){return parseInt(this.intervalCount)},parsedIntervalHeight(){return parseFloat(this.intervalHeight)},parsedFirstTime(){return Object(P["u"])(this.firstTime)},firstMinute(){const t=this.parsedFirstTime;return!1!==t&&t>=0&&t<=P["d"]?t:this.parsedFirstInterval*this.parsedIntervalMinutes},bodyHeight(){return this.parsedIntervalCount*this.parsedIntervalHeight},days(){return Object(P["f"])(this.parsedStart,this.parsedEnd,this.times.today,this.weekdaySkips,this.maxDays)},intervals(){const t=this.days,e=this.firstMinute,r=this.parsedIntervalMinutes,n=this.parsedIntervalCount,i=this.times.now;return t.map(t=>Object(P["g"])(t,e,r,n,i))},intervalFormatter(){if(this.intervalFormat)return this.intervalFormat;const t={timeZone:"UTC",hour:"2-digit",minute:"2-digit"},e={timeZone:"UTC",hour:"numeric",minute:"2-digit"},r={timeZone:"UTC",hour:"numeric"};return Object(P["h"])(this.currentLocale,(n,i)=>i?0===n.minute?r:e:t)}},methods:{showIntervalLabelDefault(t){const e=this.intervals[0][0],r=e.hour===t.hour&&e.minute===t.minute;return!r},intervalStyleDefault(t){},getTimestampAtEvent(t,e){const r=Object(P["e"])(e),n=t.currentTarget.getBoundingClientRect(),i=this.firstMinute,o=t,a=t,s=o.changedTouches||o.touches,u=s&&s[0]?s[0].clientY:a.clientY,c=(u-n.top)/this.parsedIntervalHeight,l=Math.floor(c*this.parsedIntervalMinutes),h=i+l;return Object(P["B"])(r,h,this.times.now)},getSlotScope(t){const e=Object(P["e"])(t);return e.timeToY=this.timeToY,e.timeDelta=this.timeDelta,e.minutesToPixels=this.minutesToPixels,e.week=this.days,e},scrollToTime(t){const e=this.timeToY(t),r=this.$refs.scrollArea;return!(!1===e||!r)&&(r.scrollTop=e,!0)},minutesToPixels(t){return t/this.parsedIntervalMinutes*this.parsedIntervalHeight},timeToY(t,e=!0){let r=this.timeDelta(t);return!1!==r&&(r*=this.bodyHeight,e&&(r<0&&(r=0),r>this.bodyHeight&&(r=this.bodyHeight))),r},timeDelta(t){const e=Object(P["u"])(t);if(!1===e)return!1;const r=this.firstMinute,n=this.parsedIntervalCount*this.parsedIntervalMinutes;return(e-r)/n}}})),St=kt.extend({name:"v-calendar-daily",directives:{Resize:I["b"]},data:()=>({scrollPush:0}),computed:{classes(){return{"v-calendar-daily":!0,...this.themeClasses}}},mounted(){this.init()},methods:{init(){this.$nextTick(this.onResize)},onResize(){this.scrollPush=this.getScrollPush()},getScrollPush(){const t=this.$refs.scrollArea,e=this.$refs.pane;return t&&e?t.offsetWidth-e.offsetWidth:0},genHead(){return this.$createElement("div",{staticClass:"v-calendar-daily__head",style:{marginRight:this.scrollPush+"px"}},[this.genHeadIntervals(),...this.genHeadDays()])},genHeadIntervals(){const t=Object(m["i"])(this.intervalWidth);return this.$createElement("div",{staticClass:"v-calendar-daily__intervals-head",style:{width:t}},Object(m["u"])(this,"interval-header"))},genHeadDays(){return this.days.map(this.genHeadDay)},genHeadDay(t,e){return this.$createElement("div",{key:t.date,staticClass:"v-calendar-daily_head-day",class:this.getRelativeClasses(t),on:this.getDefaultMouseEventHandlers(":day",e=>({nativeEvent:e,...this.getSlotScope(t)}))},[this.genHeadWeekday(t),this.genHeadDayLabel(t),...this.genDayHeader(t,e)])},genDayHeader(t,e){return Object(m["u"])(this,"day-header",()=>({week:this.days,...t,index:e}))||[]},genHeadWeekday(t){const e=t.present?this.color:void 0;return this.$createElement("div",this.setTextColor(e,{staticClass:"v-calendar-daily_head-weekday"}),this.weekdayFormatter(t,this.shortWeekdays))},genHeadDayLabel(t){return this.$createElement("div",{staticClass:"v-calendar-daily_head-day-label"},Object(m["u"])(this,"day-label-header",t)||[this.genHeadDayButton(t)])},genHeadDayButton(t){const e=t.present?this.color:"transparent";return this.$createElement(S["b"],{props:{color:e,fab:!0,depressed:!0},on:this.getMouseEventHandlers({"click:date":{event:"click",stop:!0},"contextmenu:date":{event:"contextmenu",stop:!0,prevent:!0,result:!1}},e=>({nativeEvent:e,...t}))},this.dayFormatter(t,!1))},genBody(){return this.$createElement("div",{staticClass:"v-calendar-daily__body"},[this.genScrollArea()])},genScrollArea(){return this.$createElement("div",{ref:"scrollArea",staticClass:"v-calendar-daily__scroll-area"},[this.genPane()])},genPane(){return this.$createElement("div",{ref:"pane",staticClass:"v-calendar-daily__pane",style:{height:Object(m["i"])(this.bodyHeight)}},[this.genDayContainer()])},genDayContainer(){return this.$createElement("div",{staticClass:"v-calendar-daily__day-container"},[this.genBodyIntervals(),...this.genDays()])},genDays(){return this.days.map(this.genDay)},genDay(t,e){return this.$createElement("div",{key:t.date,staticClass:"v-calendar-daily__day",class:this.getRelativeClasses(t),on:this.getDefaultMouseEventHandlers(":time",e=>({nativeEvent:e,...this.getSlotScope(this.getTimestampAtEvent(e,t))}))},[...this.genDayIntervals(e),...this.genDayBody(t)])},genDayBody(t){return Object(m["u"])(this,"day-body",()=>this.getSlotScope(t))||[]},genDayIntervals(t){return this.intervals[t].map(this.genDayInterval)},genDayInterval(t){const e=Object(m["i"])(this.intervalHeight),r=this.intervalStyle||this.intervalStyleDefault,n={key:t.time,staticClass:"v-calendar-daily__day-interval",style:{height:e,...r(t)}},i=Object(m["u"])(this,"interval",()=>this.getSlotScope(t));return this.$createElement("div",n,i)},genBodyIntervals(){const t=Object(m["i"])(this.intervalWidth),e={staticClass:"v-calendar-daily__intervals-body",style:{width:t},on:this.getDefaultMouseEventHandlers(":interval",t=>({nativeEvent:t,...this.getTimestampAtEvent(t,this.parsedStart)}))};return this.$createElement("div",e,this.genIntervalLabels())},genIntervalLabels(){return this.intervals.length?this.intervals[0].map(this.genIntervalLabel):null},genIntervalLabel(t){const e=Object(m["i"])(this.intervalHeight),r=this.shortIntervals,n=this.showIntervalLabel||this.showIntervalLabelDefault,i=n(t),o=i?this.intervalFormatter(t,r):void 0;return this.$createElement("div",{key:t.time,staticClass:"v-calendar-daily__interval",style:{height:e}},[this.$createElement("div",{staticClass:"v-calendar-daily__interval-text"},o)])}},render(t){return t("div",{class:this.classes,on:{dragstart:t=>{t.preventDefault()}},directives:[{modifiers:{quiet:!0},name:"resize",value:this.onResize}]},[this.hideHeader?"":this.genHead(),this.genBody()])}});r("b7cc");function Et(t,e){return"string"===typeof e&&"object"===typeof t&&t?t[e]:"function"===typeof e?e(t):t}function Mt(t,e){return"string"===typeof t?t.split(/\s*,\s/):Array.isArray(t)?t.map(t=>{if("string"===typeof t)return t;const r="string"===typeof t.categoryName?t.categoryName:Et(t,e);return{...t,categoryName:r}}):[]}var At=St.extend({name:"v-calendar-category",props:st.category,computed:{classes(){return{"v-calendar-daily":!0,"v-calendar-category":!0,...this.themeClasses}},parsedCategories(){return Mt(this.categories,this.categoryText)}},methods:{genDayHeader(t,e){const r={staticClass:"v-calendar-category__columns"},n={week:this.days,...t,index:e},i=this.parsedCategories.map(e=>this.genDayHeaderCategory(t,this.getCategoryScope(n,e)));return[this.$createElement("div",r,i)]},getCategoryScope(t,e){const r="object"===typeof e&&e&&e.categoryName===this.categoryForInvalid?null:e;return{...t,category:r}},genDayHeaderCategory(t,e){const r="object"===typeof e.category?e.category.categoryName:e.category;return this.$createElement("div",{staticClass:"v-calendar-category__column-header",on:this.getDefaultMouseEventHandlers(":day-category",r=>this.getCategoryScope(this.getSlotScope(t),e.category))},[Object(m["u"])(this,"category",e)||this.genDayHeaderCategoryTitle(r),Object(m["u"])(this,"day-header",e)])},genDayHeaderCategoryTitle(t){return this.$createElement("div",{staticClass:"v-calendar-category__category"},null===t?this.categoryForInvalid:t)},genDays(){const t=[];return this.days.forEach((e,r)=>{const n=new Array(this.parsedCategories.length||1);n.fill(e),t.push(...n.map((t,e)=>this.genDay(t,r,e)))}),t},genDay(t,e,r){const n=this.parsedCategories[r];return this.$createElement("div",{key:t.date+"-"+r,staticClass:"v-calendar-daily__day",class:this.getRelativeClasses(t),on:this.getDefaultMouseEventHandlers(":time",e=>this.getSlotScope(this.getTimestampAtEvent(e,t)))},[...this.genDayIntervals(e,n),...this.genDayBody(t,n)])},genDayIntervals(t,e){return this.intervals[t].map(t=>this.genDayInterval(t,e))},genDayInterval(t,e){const r=Object(m["i"])(this.intervalHeight),n=this.intervalStyle||this.intervalStyleDefault,i={key:t.time,staticClass:"v-calendar-daily__day-interval",style:{height:r,...n({...t,category:e})}},o=Object(m["u"])(this,"interval",()=>this.getCategoryScope(this.getSlotScope(t),e));return this.$createElement("div",i,o)},genDayBody(t,e){const r={staticClass:"v-calendar-category__columns"},n=[this.genDayBodyCategory(t,e)];return[this.$createElement("div",r,n)]},genDayBodyCategory(t,e){const r={staticClass:"v-calendar-category__column",on:this.getDefaultMouseEventHandlers(":time-category",r=>this.getCategoryScope(this.getSlotScope(this.getTimestampAtEvent(r,t)),e))},n=Object(m["u"])(this,"day-body",()=>this.getCategoryScope(this.getSlotScope(t),e));return this.$createElement("div",r,n)}}}),Tt=bt.extend({name:"v-calendar",props:{...st.calendar,...st.weeks,...st.intervals,...st.category},data:()=>({lastStart:null,lastEnd:null}),computed:{parsedValue(){return Object(P["F"])(this.value)?Object(P["v"])(this.value,!0):this.parsedStart||this.times.today},parsedCategoryDays(){return parseInt(this.categoryDays)||1},renderProps(){const t=this.parsedValue;let e=null,r=this.maxDays,n=this.parsedWeekdays,i=this.parsedCategories,o=t,a=t;switch(this.type){case"month":e=xt,o=Object(P["n"])(t),a=Object(P["l"])(t);break;case"week":e=St,o=this.getStartOfWeek(t),a=this.getEndOfWeek(t),r=7;break;case"day":e=St,r=1,n=[o.weekday];break;case"4day":e=St,a=Object(P["x"])(Object(P["e"])(a),P["s"],3),Object(P["z"])(a),r=4,n=[o.weekday,(o.weekday+1)%7,(o.weekday+2)%7,(o.weekday+3)%7];break;case"custom-weekly":e=wt,o=this.parsedStart||t,a=this.parsedEnd;break;case"custom-daily":e=St,o=this.parsedStart||t,a=this.parsedEnd;break;case"category":const s=this.parsedCategoryDays;e=At,a=Object(P["x"])(Object(P["e"])(a),P["s"],s),Object(P["z"])(a),r=s,n=[];for(let t=0;t<s;t++)n.push((o.weekday+t)%7);i=this.getCategoryList(i);break;default:throw new Error(this.type+" is not a valid Calendar type")}return{component:e,start:o,end:a,maxDays:r,weekdays:n,categories:i}},eventWeekdays(){return this.renderProps.weekdays},categoryMode(){return"category"===this.type},title(){const{start:t,end:e}=this.renderProps,r=t.year!==e.year,n=r||t.month!==e.month;return r?this.monthShortFormatter(t,!0)+" "+t.year+" - "+this.monthShortFormatter(e,!0)+" "+e.year:n?this.monthShortFormatter(t,!0)+" - "+this.monthShortFormatter(e,!0)+" "+e.year:this.monthLongFormatter(t,!1)+" "+t.year},monthLongFormatter(){return this.getFormatter({timeZone:"UTC",month:"long"})},monthShortFormatter(){return this.getFormatter({timeZone:"UTC",month:"short"})},parsedCategories(){return Mt(this.categories,this.categoryText)}},watch:{renderProps:"checkChange"},mounted(){this.updateEventVisibility(),this.checkChange()},updated(){window.requestAnimationFrame(this.updateEventVisibility)},methods:{checkChange(){const{lastStart:t,lastEnd:e}=this,{start:r,end:n}=this.renderProps;t&&e&&r.date===t.date&&n.date===e.date||(this.lastStart=r,this.lastEnd=n,this.$emit("change",{start:r,end:n}))},move(t=1){const e=Object(P["e"])(this.parsedValue),r=t>0,n=r?P["s"]:P["w"],i=r?P["a"]:P["c"];let o=r?t:-t;while(--o>=0)switch(this.type){case"month":e.day=i,n(e);break;case"week":Object(P["x"])(e,n,P["b"]);break;case"day":Object(P["x"])(e,n,1);break;case"4day":Object(P["x"])(e,n,4);break;case"category":Object(P["x"])(e,n,this.parsedCategoryDays);break}Object(P["D"])(e),Object(P["z"])(e),Object(P["C"])(e,this.times.now),this.value instanceof Date?this.$emit("input",Object(P["y"])(e)):"number"===typeof this.value?this.$emit("input",Object(P["y"])(e).getTime()):this.$emit("input",e.date),this.$emit("moved",e)},next(t=1){this.move(t)},prev(t=1){this.move(-t)},timeToY(t,e=!0){const r=this.$children[0];return!(!r||!r.timeToY)&&r.timeToY(t,e)},timeDelta(t){const e=this.$children[0];return!(!e||!e.timeDelta)&&e.timeDelta(t)},minutesToPixels(t){const e=this.$children[0];return e&&e.minutesToPixels?e.minutesToPixels(t):-1},scrollToTime(t){const e=this.$children[0];return!(!e||!e.scrollToTime)&&e.scrollToTime(t)},parseTimestamp(t,e){return Object(P["v"])(t,e,this.times.now)},timestampToDate(t){return Object(P["y"])(t)},getCategoryList(t){if(!this.noEvents){const e=t.reduce((t,e,r)=>("object"===typeof e&&e.categoryName?t[e.categoryName]={index:r,count:0}:"string"===typeof e&&(t[e]={index:r,count:0}),t),{});if(!this.categoryHideDynamic||!this.categoryShowAll){let r=t.length;this.parsedEvents.forEach(t=>{let n=t.category;"string"!==typeof n&&(n=this.categoryForInvalid),n&&(n in e?e[n].count++:this.categoryHideDynamic||(e[n]={index:r++,count:1}))})}if(!this.categoryShowAll)for(const t in e)0===e[t].count&&delete e[t];t=t.filter(t=>"object"===typeof t&&t.categoryName?e.hasOwnProperty(t.categoryName):"string"===typeof t&&e.hasOwnProperty(t))}return t}},render(t){const{start:e,end:r,maxDays:n,component:i,weekdays:o,categories:a}=this.renderProps;return t(i,{staticClass:"v-calendar",class:{"v-calendar-events":!this.noEvents},props:{...this.$props,start:e.date,end:r.date,maxDays:n,weekdays:o,categories:a},attrs:{role:"grid"},directives:[{modifiers:{quiet:!0},name:"resize",value:this.updateEventVisibility}],on:{...this.$listeners,"click:date":(t,e)=>{this.$listeners.input&&this.$emit("input",t.date),this.$listeners["click:date"]&&this.$emit("click:date",t,e)}},scopedSlots:this.getScopedSlots()})}}),Ct=r("99d9"),Lt=(r("63b7"),r("f665")),Pt=r("37c6"),Ot=r("3860"),It=r("d9bd"),Dt=Lt["a"].extend({name:"v-carousel",props:{continuous:{type:Boolean,default:!0},cycle:Boolean,delimiterIcon:{type:String,default:"$delimiter"},height:{type:[Number,String],default:500},hideDelimiters:Boolean,hideDelimiterBackground:Boolean,interval:{type:[Number,String],default:6e3,validator:t=>t>0},mandatory:{type:Boolean,default:!0},progress:Boolean,progressColor:String,showArrows:{type:Boolean,default:!0},verticalDelimiters:{type:String,default:void 0}},provide(){return{parentTheme:this.theme}},data(){return{internalHeight:this.height,slideTimeout:void 0}},computed:{classes(){return{...Lt["a"].options.computed.classes.call(this),"v-carousel":!0,"v-carousel--hide-delimiter-background":this.hideDelimiterBackground,"v-carousel--vertical-delimiters":this.isVertical}},isDark(){return this.dark||!this.light},isVertical(){return null!=this.verticalDelimiters}},watch:{internalValue:"restartTimeout",interval:"restartTimeout",height(t,e){t!==e&&t&&(this.internalHeight=t)},cycle(t){t?this.restartTimeout():(clearTimeout(this.slideTimeout),this.slideTimeout=void 0)}},created(){this.$attrs.hasOwnProperty("hide-controls")&&Object(It["a"])("hide-controls",':show-arrows="false"',this)},mounted(){this.startTimeout()},methods:{genControlIcons(){return this.isVertical?null:Lt["a"].options.methods.genControlIcons.call(this)},genDelimiters(){return this.$createElement("div",{staticClass:"v-carousel__controls",style:{left:"left"===this.verticalDelimiters&&this.isVertical?0:"auto",right:"right"===this.verticalDelimiters?0:"auto"}},[this.genItems()])},genItems(){const t=this.items.length,e=[];for(let r=0;r<t;r++){const n=this.$createElement(S["b"],{staticClass:"v-carousel__controls__item",attrs:{"aria-label":this.$vuetify.lang.t("$vuetify.carousel.ariaLabel.delimiter",r+1,t)},props:{icon:!0,small:!0,value:this.getValue(this.items[r],r)},key:r},[this.$createElement(l["b"],{props:{size:18}},this.delimiterIcon)]);e.push(n)}return this.$createElement(Ot["a"],{props:{value:this.internalValue,mandatory:this.mandatory},on:{change:t=>{this.internalValue=t}}},e)},genProgress(){return this.$createElement(Pt["b"],{staticClass:"v-carousel__progress",props:{color:this.progressColor,value:(this.internalIndex+1)/this.items.length*100}})},restartTimeout(){this.slideTimeout&&clearTimeout(this.slideTimeout),this.slideTimeout=void 0,window.requestAnimationFrame(this.startTimeout)},startTimeout(){this.cycle&&(this.slideTimeout=window.setTimeout(this.next,+this.interval>0?+this.interval:6e3))}},render(t){const e=Lt["a"].options.render.call(this,t);return e.data.style=`height: ${Object(m["i"])(this.height)};`,this.hideDelimiters||e.children.push(this.genDelimiters()),(this.progress||this.progressColor)&&e.children.push(this.genProgress()),e}}),Bt=r("1e6c"),jt=r("adda");const Nt=Object(p["a"])(Bt["a"],b["a"]);var Rt=Nt.extend().extend({name:"v-carousel-item",inject:{parentTheme:{default:{isDark:!1}}},provide(){return{theme:this.parentTheme}},inheritAttrs:!1,methods:{genDefaultSlot(){return[this.$createElement(jt["a"],{staticClass:"v-carousel__item",props:{...this.$attrs,height:this.windowGroup.internalHeight},on:this.$listeners,scopedSlots:{placeholder:this.$scopedSlots.placeholder}},Object(m["u"])(this))]},genWindowItem(){const{tag:t,data:e}=this.generateRouteLink();return e.staticClass="v-window-item",e.directives.push({name:"show",value:this.isActive}),this.$createElement(t,e,this.genDefaultSlot())}}}),Ft=r("41f4"),Yt=r("34ef"),Ut=r("0bbd"),Ht=r("847a"),zt=r("f6c4"),Vt=zt["a"].extend({name:"v-main",created(){Object(It["d"])("v-content","v-main",this)},render(t){const e=zt["a"].options.render.call(this,t);return e.data.staticClass+=" v-content",e.children[0].data.staticClass+=" v-content__wrap",t(e.tag,e.data,e.children)}}),$t=r("655c"),qt=r("11c2"),Gt=r("2f2c"),Wt=r("4e2c"),Kt=r("a980"),Xt=r("2de4"),Jt=r("4b86"),Zt=r("b810"),Qt=r("fc06"),te=r("e9b4"),ee=r("c42d"),re=r("dd83"),ne=r("9910"),ie=r("5887"),oe=r("3ae8"),ae=r("c37a"),se=r("9f22"),ue=r("ba87"),ce=r("b63a"),le=r("5d23"),he=r("e00e"),fe=r("326d"),de=r("df8d"),pe=r("844a"),me=(r("4ff9"),r("627d"),r("8654"));const ge=Object(p["a"])(ae["b"]);var ye=ge.extend().extend({name:"v-otp-input",directives:{ripple:M["b"]},inheritAttrs:!1,props:{length:{type:[Number,String],default:6},type:{type:String,default:"text"},plain:Boolean},data:()=>({initialValue:null,isBooted:!1,otp:[]}),computed:{outlined(){return!this.plain},classes(){return{...ae["b"].options.computed.classes.call(this),...me["a"].options.computed.classes.call(this),"v-otp-input--plain":this.plain}}},watch:{isFocused:"updateValue",value(t){this.lazyValue=t,this.otp=(null===t||void 0===t?void 0:t.split(""))||[]}},created(){var t;this.$attrs.hasOwnProperty("browser-autocomplete")&&Object(It["a"])("browser-autocomplete","autocomplete",this),this.otp=(null===(t=this.internalValue)||void 0===t?void 0:t.split(""))||[]},mounted(){requestAnimationFrame(()=>this.isBooted=!0)},methods:{focus(t,e){this.onFocus(t,e||0)},genInputSlot(t){return this.$createElement("div",this.setBackgroundColor(this.backgroundColor,{staticClass:"v-input__slot",style:{height:Object(m["i"])(this.height)},on:{click:()=>this.onClick(t),mousedown:e=>this.onMouseDown(e,t),mouseup:e=>this.onMouseUp(e,t)}}),[this.genDefaultSlot(t)])},genControl(t){return this.$createElement("div",{staticClass:"v-input__control"},[this.genInputSlot(t)])},genDefaultSlot(t){return[this.genFieldset(),this.genTextFieldSlot(t)]},genContent(){return Array.from({length:+this.length},(t,e)=>this.$createElement("div",this.setTextColor(this.validationState,{staticClass:"v-input",class:this.classes}),[this.genControl(e)]))},genFieldset(){return this.$createElement("fieldset",{attrs:{"aria-hidden":!0}},[this.genLegend()])},genLegend(){const t=this.$createElement("span",{domProps:{innerHTML:"&#8203;"}});return this.$createElement("legend",{style:{width:"0px"}},[t])},genInput(t){const e=Object.assign({},this.listeners$);return delete e.change,this.$createElement("input",{style:{},domProps:{value:this.otp[t],min:"number"===this.type?0:null},attrs:{...this.attrs$,autocomplete:"one-time-code",disabled:this.isDisabled,readonly:this.isReadonly,type:this.type,id:`${this.computedId}--${t}`,class:"otp-field-box--"+t},on:Object.assign(e,{blur:this.onBlur,input:e=>this.onInput(e,t),focus:e=>this.onFocus(e,t),keydown:this.onKeyDown,keyup:e=>this.onKeyUp(e,t)}),ref:"input",refInFor:!0})},genTextFieldSlot(t){return this.$createElement("div",{staticClass:"v-text-field__slot"},[this.genInput(t)])},onBlur(t){this.isFocused=!1,t&&this.$nextTick(()=>this.$emit("blur",t))},onClick(t){this.isFocused||this.isDisabled||!this.$refs.input[t]||this.onFocus(void 0,t)},onFocus(t,e){null===t||void 0===t||t.preventDefault(),null===t||void 0===t||t.stopPropagation();const r=this.$refs.input,n=this.$refs.input&&r[e||0];if(n)return document.activeElement!==n?(n.focus(),n.select()):void(this.isFocused||(this.isFocused=!0,n.select(),t&&this.$emit("focus",t)))},onInput(t,e){const r=+this.length-1,n=t.target,i=n.value,o=(null===i||void 0===i?void 0:i.split(""))||[],a=[...this.otp];for(let s=0;s<o.length;s++){const t=e+s;if(t>r)break;a[t]=o[s].toString()}o.length||a.splice(e,1),this.otp=a,this.internalValue=this.otp.join(""),e+o.length>=+this.length?(this.onCompleted(),this.clearFocus(e)):o.length&&this.changeFocus(e+o.length)},clearFocus(t){const e=this.$refs.input[t];e.blur()},onKeyDown(t){t.keyCode===m["A"].enter&&this.$emit("change",this.internalValue),this.$emit("keydown",t)},onMouseDown(t,e){t.target!==this.$refs.input[e]&&(t.preventDefault(),t.stopPropagation()),ae["b"].options.methods.onMouseDown.call(this,t)},onMouseUp(t,e){this.hasMouseDown&&this.focus(t,e),ae["b"].options.methods.onMouseUp.call(this,t)},changeFocus(t){this.onFocus(void 0,t||0)},updateValue(t){this.hasColor=t,t?this.initialValue=this.lazyValue:this.initialValue!==this.lazyValue&&this.$emit("change",this.lazyValue)},onKeyUp(t,e){t.preventDefault();const r=t.key;if(!["Tab","Shift","Meta","Control","Alt"].includes(r)&&!["Delete"].includes(r))return"ArrowLeft"===r||"Backspace"===r&&!this.otp[e]?e>0&&this.changeFocus(e-1):"ArrowRight"===r?e+1<+this.length&&this.changeFocus(e+1):void 0},onCompleted(){const t=this.otp.join("");t.length===+this.length&&this.$emit("finish",t)}},render(t){return t("div",{staticClass:"v-otp-input",class:this.themeClasses},this.genContent())}}),ve=(r("3a0b"),r("b974")),be=a["b"].extend({name:"v-overflow-btn",props:{editable:Boolean,segmented:Boolean},computed:{classes(){return{...a["b"].options.computed.classes.call(this),"v-overflow-btn":!0,"v-overflow-btn--segmented":this.segmented,"v-overflow-btn--editable":this.editable}},isAnyValueAllowed(){return this.editable||a["b"].options.computed.isAnyValueAllowed.call(this)},isSingle(){return!0},computedItems(){return this.segmented?this.allItems:this.filteredItems},labelValue(){return this.isFocused&&!this.persistentPlaceholder||this.isLabelActive}},methods:{genSelections(){return this.editable?a["b"].options.methods.genSelections.call(this):ve["a"].options.methods.genSelections.call(this)},genCommaSelection(t,e,r){return this.segmented?this.genSegmentedBtn(t):ve["a"].options.methods.genCommaSelection.call(this,t,e,r)},genInput(){const t=me["a"].options.methods.genInput.call(this);return t.data=t.data||{},t.data.domProps.value=this.editable?this.internalSearch:"",t.data.attrs.readonly=!this.isAnyValueAllowed,t},genLabel(){if(this.editable&&this.isFocused)return null;const t=me["a"].options.methods.genLabel.call(this);return t?(t.data=t.data||{},t.data.style={},t):t},genSegmentedBtn(t){const e=this.getValue(t),r=this.computedItems.find(t=>this.getValue(t)===e)||t;return r.text&&r.callback?this.$createElement(S["b"],{props:{text:!0},on:{click(t){t.stopPropagation(),r.callback(t)}}},[r.text]):(Object(It["c"])('When using "segmented" prop without a selection slot, items must contain both a text and callback property',this),null)},updateValue(t){t?this.initialValue=this.lazyValue:this.initialValue!==this.lazyValue&&this.$emit("change",this.lazyValue)}}}),_e=r("1abc"),we=r("5c82"),xe=(r("94aa"),L["default"].extend({name:"translatable",props:{height:Number},data:()=>({elOffsetTop:0,parallax:0,parallaxDist:0,percentScrolled:0,scrollTop:0,windowHeight:0,windowBottom:0}),computed:{imgHeight(){return this.objHeight()}},beforeDestroy(){window.removeEventListener("scroll",this.translate,!1),window.removeEventListener("resize",this.translate,!1)},methods:{calcDimensions(){const t=this.$el.getBoundingClientRect();this.scrollTop=window.pageYOffset,this.parallaxDist=this.imgHeight-this.height,this.elOffsetTop=t.top+this.scrollTop,this.windowHeight=window.innerHeight,this.windowBottom=this.scrollTop+this.windowHeight},listeners(){window.addEventListener("scroll",this.translate,!1),window.addEventListener("resize",this.translate,!1)},objHeight(){throw new Error("Not implemented !")},translate(){this.calcDimensions(),this.percentScrolled=(this.windowBottom-this.elOffsetTop)/(parseInt(this.height)+this.windowHeight),this.parallax=Math.round(this.parallaxDist*this.percentScrolled)}}}));const ke=Object(p["a"])(xe);var Se=ke.extend().extend({name:"v-parallax",props:{alt:{type:String,default:""},height:{type:[String,Number],default:500},src:String,srcset:String},data:()=>({isBooted:!1}),computed:{styles(){return{display:"block",opacity:this.isBooted?1:0,transform:`translate(-50%, ${this.parallax}px)`}}},mounted(){this.init()},methods:{init(){const t=this.$refs.img;t&&(t.complete?(this.translate(),this.listeners()):t.addEventListener("load",()=>{this.translate(),this.listeners()},!1),this.isBooted=!0)},objHeight(){return this.$refs.img.naturalHeight}},render(t){const e={staticClass:"v-parallax__image",style:this.styles,attrs:{src:this.src,srcset:this.srcset,alt:this.alt},ref:"img"},r=t("div",{staticClass:"v-parallax__image-container"},[t("img",e)]),n=t("div",{staticClass:"v-parallax__content"},Object(m["u"])(this));return t("div",{staticClass:"v-parallax",style:{height:this.height+"px"},on:this.$listeners},[r,n])}}),Ee=r("5e29"),Me=r("22da"),Ae=(r("ec29"),r("3d86"),r("604c"));const Te=Object(p["a"])(Ae["a"],ae["b"]);var Ce=Te.extend({name:"v-radio-group",provide(){return{radioGroup:this}},props:{column:{type:Boolean,default:!0},height:{type:[Number,String],default:"auto"},name:String,row:Boolean,value:null},computed:{classes(){return{...ae["b"].options.computed.classes.call(this),"v-input--selection-controls v-input--radio-group":!0,"v-input--radio-group--column":this.column&&!this.row,"v-input--radio-group--row":this.row}}},methods:{genDefaultSlot(){return this.$createElement("div",{staticClass:"v-input--radio-group__input",attrs:{id:this.id,role:"radiogroup","aria-labelledby":this.computedId}},ae["b"].options.methods.genDefaultSlot.call(this))},genInputSlot(){const t=ae["b"].options.methods.genInputSlot.call(this);return delete t.data.on.click,t},genLabel(){const t=ae["b"].options.methods.genLabel.call(this);return t?(t.data.attrs.id=this.computedId,delete t.data.attrs.for,t.tag="legend",t):null},onClick:Ae["a"].options.methods.onClick},render(t){const e=ae["b"].options.render.call(this,t);return this._b(e.data,"div",this.attrs$),e}}),Le=(r("2c64"),r("7e2b")),Pe=r("4e82"),Oe=r("5311"),Ie=r("fe09"),De=r("d9f7");const Be=Object(p["a"])(Le["a"],A["a"],Oe["a"],Object(Pe["a"])("radioGroup"),x["a"]);var je=Be.extend().extend({name:"v-radio",inheritAttrs:!1,props:{disabled:{type:Boolean,default:null},id:String,label:String,name:String,offIcon:{type:String,default:"$radioOff"},onIcon:{type:String,default:"$radioOn"},readonly:{type:Boolean,default:null},value:{default:null}},data:()=>({isFocused:!1}),computed:{classes(){return{"v-radio--is-disabled":this.isDisabled,"v-radio--is-focused":this.isFocused,...this.themeClasses,...this.groupClasses}},computedColor(){if(!this.isDisabled)return Ie["a"].options.computed.computedColor.call(this)},computedIcon(){return this.isActive?this.onIcon:this.offIcon},computedId(){return ae["b"].options.computed.computedId.call(this)},hasLabel:ae["b"].options.computed.hasLabel,hasState(){return(this.radioGroup||{}).hasState},isDisabled(){var t;return null!==(t=this.disabled)&&void 0!==t?t:!!this.radioGroup&&this.radioGroup.isDisabled},isReadonly(){var t;return null!==(t=this.readonly)&&void 0!==t?t:!!this.radioGroup&&this.radioGroup.isReadonly},computedName(){return this.name||!this.radioGroup?this.name:this.radioGroup.name||"radio-"+this.radioGroup._uid},rippleState(){return Ie["a"].options.computed.rippleState.call(this)},validationState(){return(this.radioGroup||{}).validationState||this.computedColor}},methods:{genInput(t){return Ie["a"].options.methods.genInput.call(this,"radio",t)},genLabel(){return this.hasLabel?this.$createElement(ue["b"],{on:{click:Ie["b"]},attrs:{for:this.computedId},props:{color:this.validationState,focused:this.hasState}},Object(m["u"])(this,"label")||this.label):null},genRadio(){const{title:t,...e}=this.attrs$;return this.$createElement("div",{staticClass:"v-input--selection-controls__input"},[this.$createElement(l["b"],this.setTextColor(this.validationState,{props:{dense:this.radioGroup&&this.radioGroup.dense}}),this.computedIcon),this.genInput({name:this.computedName,value:this.value,...e}),this.genRipple(this.setTextColor(this.rippleState))])},onFocus(t){this.isFocused=!0,this.$emit("focus",t)},onBlur(t){this.isFocused=!1,this.$emit("blur",t)},onChange(){this.isDisabled||this.isReadonly||this.isActive||this.toggle()},onKeydown:()=>{}},render(t){const e={staticClass:"v-radio",class:this.classes,on:Object(De["c"])({click:this.onChange},this.listeners$),attrs:{title:this.attrs$.title}};return t("div",e,[this.genRadio(),this.genLabel()])}}),Ne=r("7399"),Re=(r("696f"),r("16b7")),Fe=r("af2b"),Ye=Object(p["a"])(A["a"],Re["a"],Oe["a"],Fe["a"],x["a"]).extend({name:"v-rating",props:{backgroundColor:{type:String,default:"accent"},color:{type:String,default:"primary"},clearable:Boolean,dense:Boolean,emptyIcon:{type:String,default:"$ratingEmpty"},fullIcon:{type:String,default:"$ratingFull"},halfIcon:{type:String,default:"$ratingHalf"},halfIncrements:Boolean,hover:Boolean,length:{type:[Number,String],default:5},readonly:Boolean,size:[Number,String],value:{type:Number,default:0},iconLabel:{type:String,default:"$vuetify.rating.ariaLabel.icon"}},data(){return{hoverIndex:-1,internalValue:this.value}},computed:{directives(){return this.readonly||!this.ripple?[]:[{name:"ripple",value:{circle:!0}}]},iconProps(){const{dark:t,large:e,light:r,medium:n,small:i,size:o,xLarge:a,xSmall:s}=this.$props;return{dark:t,large:e,light:r,medium:n,size:o,small:i,xLarge:a,xSmall:s}},isHovering(){return this.hover&&this.hoverIndex>=0}},watch:{internalValue(t){t!==this.value&&this.$emit("input",t)},value(t){this.internalValue=t}},methods:{createClickFn(t){return e=>{if(this.readonly)return;const r=this.genHoverIndex(e,t);this.clearable&&this.internalValue===r?this.internalValue=0:this.internalValue=r}},createProps(t){const e={index:t,value:this.internalValue,click:this.createClickFn(t),isFilled:Math.floor(this.internalValue)>t,isHovered:Math.floor(this.hoverIndex)>t};return this.halfIncrements&&(e.isHalfHovered=!e.isHovered&&(this.hoverIndex-t)%1>0,e.isHalfFilled=!e.isFilled&&(this.internalValue-t)%1>0),e},genHoverIndex(t,e){let r=this.isHalfEvent(t);return this.halfIncrements&&this.$vuetify.rtl&&(r=!r),e+(r?.5:1)},getIconName(t){const e=this.isHovering?t.isHovered:t.isFilled,r=this.isHovering?t.isHalfHovered:t.isHalfFilled;return e?this.fullIcon:r?this.halfIcon:this.emptyIcon},getColor(t){if(this.isHovering){if(t.isHovered||t.isHalfHovered)return this.color}else if(t.isFilled||t.isHalfFilled)return this.color;return this.backgroundColor},isHalfEvent(t){if(this.halfIncrements){const e=t.target&&t.target.getBoundingClientRect();if(e&&t.pageX-e.left<e.width/2)return!0}return!1},onMouseEnter(t,e){this.runDelay("open",()=>{this.hoverIndex=this.genHoverIndex(t,e)})},onMouseLeave(){this.runDelay("close",()=>this.hoverIndex=-1)},genItem(t){const e=this.createProps(t);if(this.$scopedSlots.item)return this.$scopedSlots.item(e);const r={click:e.click};return this.hover&&(r.mouseenter=e=>this.onMouseEnter(e,t),r.mouseleave=this.onMouseLeave,this.halfIncrements&&(r.mousemove=e=>this.onMouseEnter(e,t))),this.$createElement(l["b"],this.setTextColor(this.getColor(e),{attrs:{"aria-label":this.$vuetify.lang.t(this.iconLabel,t+1,Number(this.length))},directives:this.directives,props:this.iconProps,on:r}),[this.getIconName(e)])}},render(t){const e=Object(m["j"])(Number(this.length)).map(t=>this.genItem(t));return t("div",{staticClass:"v-rating",class:{"v-rating--readonly":this.readonly,"v-rating--dense":this.dense}},e)}}),Ue=r("78d7"),He=r("b56d"),ze=r("696e"),Ve=r("9a18"),$e=r("1335"),qe=r("8bb0");function Ge(t,e){const{minX:r,maxX:n,minY:i,maxY:o}=e,a=t.length,s=Math.max(...t),u=Math.min(...t),c=(n-r)/(a-1),l=(o-i)/(s-u||1);return t.map((t,e)=>({x:r+e*c,y:o-(t-u)*l,value:t}))}function We(t,e){const{minX:r,maxX:n,minY:i,maxY:o}=e,a=t.length;let s=Math.max(...t),u=Math.min(...t);u>0&&(u=0),s<0&&(s=0);const c=n/a,l=(o-i)/(s-u||1),h=o-Math.abs(u*l);return t.map((t,e)=>{const n=Math.abs(l*t);return{x:r+e*c,y:h-n+ +(t<0)*n,height:n,value:t}})}function Ke(t){return parseInt(t,10)}function Xe(t,e,r){return Ke(t.x+r.x)===Ke(2*e.x)&&Ke(t.y+r.y)===Ke(2*e.y)}function Je(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function Ze(t,e,r){const n={x:t.x-e.x,y:t.y-e.y},i=Math.sqrt(n.x*n.x+n.y*n.y),o={x:n.x/i,y:n.y/i};return{x:e.x+o.x*r,y:e.y+o.y*r}}function Qe(t,e,r=!1,n=75){const i=t.shift(),o=t[t.length-1];return(r?`M${i.x} ${n-i.x+2} L${i.x} ${i.y}`:`M${i.x} ${i.y}`)+t.map((r,n)=>{const o=t[n+1],a=t[n-1]||i,s=o&&Xe(o,r,a);if(!o||s)return`L${r.x} ${r.y}`;const u=Math.min(Je(a,r),Je(o,r)),c=u/2<e,l=c?u/2:e,h=Ze(a,r,l),f=Ze(o,r,l);return`L${h.x} ${h.y}S${r.x} ${r.y} ${f.x} ${f.y}`}).join("")+(r?`L${o.x} ${n-i.x+2} Z`:"")}var tr=Object(p["a"])(A["a"]).extend({name:"VSparkline",inheritAttrs:!1,props:{autoDraw:Boolean,autoDrawDuration:{type:Number,default:2e3},autoDrawEasing:{type:String,default:"ease"},autoLineWidth:{type:Boolean,default:!1},color:{type:String,default:"primary"},fill:{type:Boolean,default:!1},gradient:{type:Array,default:()=>[]},gradientDirection:{type:String,validator:t=>["top","bottom","left","right"].includes(t),default:"top"},height:{type:[String,Number],default:75},labels:{type:Array,default:()=>[]},labelSize:{type:[Number,String],default:7},lineWidth:{type:[String,Number],default:4},padding:{type:[String,Number],default:8},showLabels:Boolean,smooth:{type:[Boolean,Number,String],default:!1},type:{type:String,default:"trend",validator:t=>["trend","bar"].includes(t)},value:{type:Array,default:()=>[]},width:{type:[Number,String],default:300}},data:()=>({lastLength:0}),computed:{parsedPadding(){return Number(this.padding)},parsedWidth(){return Number(this.width)},parsedHeight(){return parseInt(this.height,10)},parsedLabelSize(){return parseInt(this.labelSize,10)||7},totalHeight(){let t=this.parsedHeight;return this.hasLabels&&(t+=1.5*parseInt(this.labelSize,10)),t},totalWidth(){let t=this.parsedWidth;return"bar"===this.type&&(t=Math.max(this.value.length*this._lineWidth,t)),t},totalValues(){return this.value.length},_lineWidth(){if(this.autoLineWidth&&"trend"!==this.type){const t=this.parsedPadding*(this.totalValues+1);return(this.parsedWidth-t)/this.totalValues}return parseFloat(this.lineWidth)||4},boundary(){if("bar"===this.type)return{minX:0,maxX:this.totalWidth,minY:0,maxY:this.parsedHeight};const t=this.parsedPadding;return{minX:t,maxX:this.totalWidth-t,minY:t,maxY:this.parsedHeight-t}},hasLabels(){return Boolean(this.showLabels||this.labels.length>0||this.$scopedSlots.label)},parsedLabels(){const t=[],e=this._values,r=e.length;for(let n=0;t.length<r;n++){const r=e[n];let i=this.labels[n];i||(i="object"===typeof r?r.value:r),t.push({x:r.x,value:String(i)})}return t},normalizedValues(){return this.value.map(t=>"number"===typeof t?t:t.value)},_values(){return"trend"===this.type?Ge(this.normalizedValues,this.boundary):We(this.normalizedValues,this.boundary)},textY(){let t=this.parsedHeight;return"trend"===this.type&&(t-=4),t},_radius(){return!0===this.smooth?8:Number(this.smooth)}},watch:{value:{immediate:!0,handler(){this.$nextTick(()=>{if(!this.autoDraw||"bar"===this.type||!this.$refs.path)return;const t=this.$refs.path,e=t.getTotalLength();this.fill?(t.style.transformOrigin="bottom center",t.style.transition="none",t.style.transform="scaleY(0)",t.getBoundingClientRect(),t.style.transition=`transform ${this.autoDrawDuration}ms ${this.autoDrawEasing}`,t.style.transform="scaleY(1)"):(t.style.transition="none",t.style.strokeDasharray=e+" "+e,t.style.strokeDashoffset=Math.abs(e-(this.lastLength||0)).toString(),t.getBoundingClientRect(),t.style.transition=`stroke-dashoffset ${this.autoDrawDuration}ms ${this.autoDrawEasing}`,t.style.strokeDashoffset="0"),this.lastLength=e})}}},methods:{genGradient(){const t=this.gradientDirection,e=this.gradient.slice();e.length||e.push("");const r=Math.max(e.length-1,1),n=e.reverse().map((t,e)=>this.$createElement("stop",{attrs:{offset:e/r,"stop-color":t||"currentColor"}}));return this.$createElement("defs",[this.$createElement("linearGradient",{attrs:{id:this._uid,gradientUnits:"userSpaceOnUse",x1:"left"===t?"100%":"0",y1:"top"===t?"100%":"0",x2:"right"===t?"100%":"0",y2:"bottom"===t?"100%":"0"}},n)])},genG(t){return this.$createElement("g",{style:{fontSize:"8",textAnchor:"middle",dominantBaseline:"mathematical",fill:"currentColor"}},t)},genPath(){const t=Ge(this.normalizedValues,this.boundary);return this.$createElement("path",{attrs:{d:Qe(t,this._radius,this.fill,this.parsedHeight),fill:this.fill?`url(#${this._uid})`:"none",stroke:this.fill?"none":`url(#${this._uid})`},ref:"path"})},genLabels(t){const e=this.parsedLabels.map((e,r)=>this.$createElement("text",{attrs:{x:e.x+t+this._lineWidth/2,y:this.textY+.75*this.parsedLabelSize,"font-size":Number(this.labelSize)||7}},[this.genLabel(e,r)]));return this.genG(e)},genLabel(t,e){return this.$scopedSlots.label?this.$scopedSlots.label({index:e,value:t.value}):t.value},genBars(){if(!this.value||this.totalValues<2)return;const t=We(this.normalizedValues,this.boundary),e=(Math.abs(t[0].x-t[1].x)-this._lineWidth)/2;return this.$createElement("svg",{attrs:{display:"block",viewBox:`0 0 ${this.totalWidth} ${this.totalHeight}`}},[this.genGradient(),this.genClipPath(t,e,this._lineWidth,"sparkline-bar-"+this._uid),this.hasLabels?this.genLabels(e):void 0,this.$createElement("g",{attrs:{"clip-path":`url(#sparkline-bar-${this._uid}-clip)`,fill:`url(#${this._uid})`}},[this.$createElement("rect",{attrs:{x:0,y:0,width:this.totalWidth,height:this.height}})])])},genClipPath(t,e,r,n){const i="number"===typeof this.smooth?this.smooth:this.smooth?2:0;return this.$createElement("clipPath",{attrs:{id:n+"-clip"}},t.map(t=>this.$createElement("rect",{attrs:{x:t.x+e,y:t.y,width:r,height:t.height,rx:i,ry:i}},[this.autoDraw?this.$createElement("animate",{attrs:{attributeName:"height",from:0,to:t.height,dur:this.autoDrawDuration+"ms",fill:"freeze"}}):void 0])))},genTrend(){return this.$createElement("svg",this.setTextColor(this.color,{attrs:{...this.$attrs,display:"block","stroke-width":this._lineWidth||1,viewBox:`0 0 ${this.width} ${this.totalHeight}`}}),[this.genGradient(),this.hasLabels&&this.genLabels(-this._lineWidth/2),this.genPath()])}},render(t){if(!(this.totalValues<2))return"trend"===this.type?this.genTrend():this.genBars()}}),er=r("1cc0"),rr=(r("8836"),r("3206")),nr=r("a452");const ir=Object(p["a"])(c["b"],Object(rr["b"])("stepper"),nr["a"]);var or=ir.extend({name:"v-stepper",provide(){return{stepClick:this.stepClick,isVertical:this.vertical}},props:{altLabels:Boolean,nonLinear:Boolean,flat:Boolean,vertical:Boolean},data(){const t={isBooted:!1,steps:[],content:[],isReverse:!1};return t.internalLazyValue=null!=this.value?this.value:(t[0]||{}).step||1,t},computed:{classes(){return{"v-stepper--flat":this.flat,"v-stepper--is-booted":this.isBooted,"v-stepper--vertical":this.vertical,"v-stepper--alt-labels":this.altLabels,"v-stepper--non-linear":this.nonLinear,...c["b"].options.computed.classes.call(this)}},styles(){return{...c["b"].options.computed.styles.call(this)}}},watch:{internalValue(t,e){this.isReverse=Number(t)<Number(e),e&&(this.isBooted=!0),this.updateView()}},created(){this.$listeners.input&&Object(It["a"])("@input","@change",this)},mounted(){this.updateView()},methods:{register(t){"v-stepper-step"===t.$options.name?this.steps.push(t):"v-stepper-content"===t.$options.name&&(t.isVertical=this.vertical,this.content.push(t))},unregister(t){"v-stepper-step"===t.$options.name?this.steps=this.steps.filter(e=>e!==t):"v-stepper-content"===t.$options.name&&(t.isVertical=this.vertical,this.content=this.content.filter(e=>e!==t))},stepClick(t){this.$nextTick(()=>this.internalValue=t)},updateView(){for(let t=this.steps.length;--t>=0;)this.steps[t].toggle(this.internalValue);for(let t=this.content.length;--t>=0;)this.content[t].toggle(this.internalValue,this.isReverse)}},render(t){return t(this.tag,{staticClass:"v-stepper",class:this.classes,style:this.styles},Object(m["u"])(this))}});const ar=Object(p["a"])(A["a"],Object(rr["a"])("stepper","v-stepper-step","v-stepper"));var sr=ar.extend().extend({name:"v-stepper-step",directives:{ripple:M["b"]},inject:["stepClick"],props:{color:{type:String,default:"primary"},complete:Boolean,completeIcon:{type:String,default:"$complete"},editable:Boolean,editIcon:{type:String,default:"$edit"},errorIcon:{type:String,default:"$error"},rules:{type:Array,default:()=>[]},step:[Number,String]},data(){return{isActive:!1,isInactive:!0}},computed:{classes(){return{"v-stepper__step--active":this.isActive,"v-stepper__step--editable":this.editable,"v-stepper__step--inactive":this.isInactive,"v-stepper__step--error error--text":this.hasError,"v-stepper__step--complete":this.complete}},hasError(){return this.rules.some(t=>!0!==t())}},mounted(){this.stepper&&this.stepper.register(this)},beforeDestroy(){this.stepper&&this.stepper.unregister(this)},methods:{click(t){t.stopPropagation(),this.$emit("click",t),this.editable&&this.stepClick(this.step)},genIcon(t){return this.$createElement(l["b"],t)},genLabel(){return this.$createElement("div",{staticClass:"v-stepper__label"},Object(m["u"])(this))},genStep(){const t=!(this.hasError||!this.complete&&!this.isActive)&&this.color;return this.$createElement("span",this.setBackgroundColor(t,{staticClass:"v-stepper__step__step"}),this.genStepContent())},genStepContent(){const t=[];return this.hasError?t.push(this.genIcon(this.errorIcon)):this.complete?this.editable?t.push(this.genIcon(this.editIcon)):t.push(this.genIcon(this.completeIcon)):t.push(String(this.step)),t},keyboardClick(t){t.keyCode===m["A"].space&&this.click(t)},toggle(t){this.isActive=t.toString()===this.step.toString(),this.isInactive=Number(t)<Number(this.step)}},render(t){return t("div",{attrs:{tabindex:this.editable?0:-1},staticClass:"v-stepper__step",class:this.classes,directives:[{name:"ripple",value:this.editable}],on:{click:this.click,keydown:this.keyboardClick}},[this.genStep(),this.genLabel()])}});const ur=Object(p["a"])(Object(rr["a"])("stepper","v-stepper-content","v-stepper"));var cr=ur.extend().extend({name:"v-stepper-content",inject:{isVerticalProvided:{from:"isVertical"}},props:{step:{type:[Number,String],required:!0}},data(){return{height:0,isActive:null,isReverse:!1,isVertical:this.isVerticalProvided}},computed:{computedTransition(){const t=this.$vuetify.rtl?!this.isReverse:this.isReverse;return t?h["t"]:h["u"]},styles(){return this.isVertical?{height:Object(m["i"])(this.height)}:{}}},watch:{isActive(t,e){t&&null==e?this.height="auto":this.isVertical&&(this.isActive?this.enter():this.leave())}},mounted(){this.$refs.wrapper.addEventListener("transitionend",this.onTransition,!1),this.stepper&&this.stepper.register(this)},beforeDestroy(){this.$refs.wrapper.removeEventListener("transitionend",this.onTransition,!1),this.stepper&&this.stepper.unregister(this)},methods:{onTransition(t){this.isActive&&"height"===t.propertyName&&(this.height="auto")},enter(){let t=0;requestAnimationFrame(()=>{t=this.$refs.wrapper.scrollHeight}),this.height=0,setTimeout(()=>this.isActive&&(this.height=t||"auto"),450)},leave(){this.height=this.$refs.wrapper.clientHeight,setTimeout(()=>this.height=0,10)},toggle(t,e){this.isActive=t.toString()===this.step.toString(),this.isReverse=e}},render(t){const e={staticClass:"v-stepper__content"},r={staticClass:"v-stepper__wrapper",style:this.styles,ref:"wrapper"};this.isVertical||(e.directives=[{name:"show",value:this.isActive}]);const n=t("div",r,Object(m["u"])(this)),i=t("div",e,[n]);return t(this.computedTransition,{on:this.$listeners},[i])}});const lr=Object(m["k"])("v-stepper__header"),hr=Object(m["k"])("v-stepper__items");var fr=r("24e2"),dr=r("b297"),pr=(r("8308"),r("3a66")),mr=Object(p["a"])(Object(pr["a"])("bar",["height","window"]),A["a"],x["a"]).extend({name:"v-system-bar",props:{height:[Number,String],lightsOut:Boolean,window:Boolean},computed:{classes(){return{"v-system-bar--lights-out":this.lightsOut,"v-system-bar--absolute":this.absolute,"v-system-bar--fixed":!this.absolute&&(this.app||this.fixed),"v-system-bar--window":this.window,...this.themeClasses}},computedHeight(){return this.height?isNaN(parseInt(this.height))?this.height:parseInt(this.height):this.window?32:24},styles(){return{height:Object(m["i"])(this.computedHeight)}}},methods:{updateApplication(){return this.$el?this.$el.clientHeight:this.computedHeight}},render(t){const e={staticClass:"v-system-bar",class:this.classes,style:this.styles,on:this.$listeners};return t("div",this.setBackgroundColor(this.color,e),Object(m["u"])(this))}}),gr=r("44f3"),yr=r("1233"),vr=r("2677"),br=r("4d09"),_r=r("202a"),wr=r("0135"),xr=r("2a7f"),kr=r("a81f"),Sr=(r("fa9e"),r("132d"));const Er=Object(p["a"])(A["a"],Object(rr["a"])("treeview")),Mr={activatable:Boolean,activeClass:{type:String,default:"v-treeview-node--active"},color:{type:String,default:"primary"},disablePerNode:Boolean,expandIcon:{type:String,default:"$subgroup"},indeterminateIcon:{type:String,default:"$checkboxIndeterminate"},itemChildren:{type:String,default:"children"},itemDisabled:{type:String,default:"disabled"},itemKey:{type:String,default:"id"},itemText:{type:String,default:"name"},loadChildren:Function,loadingIcon:{type:String,default:"$loading"},offIcon:{type:String,default:"$checkboxOff"},onIcon:{type:String,default:"$checkboxOn"},openOnClick:Boolean,rounded:Boolean,selectable:Boolean,selectedColor:{type:String,default:"accent"},shaped:Boolean,transition:Boolean,selectionType:{type:String,default:"leaf",validator:t=>["leaf","independent"].includes(t)}},Ar=Er.extend().extend({name:"v-treeview-node",inject:{treeview:{default:null}},props:{level:Number,item:{type:Object,default:()=>null},parentIsDisabled:Boolean,...Mr},data:()=>({hasLoaded:!1,isActive:!1,isIndeterminate:!1,isLoading:!1,isOpen:!1,isSelected:!1}),computed:{disabled(){return Object(m["r"])(this.item,this.itemDisabled)||!this.disablePerNode&&this.parentIsDisabled&&"leaf"===this.selectionType},key(){return Object(m["r"])(this.item,this.itemKey)},children(){const t=Object(m["r"])(this.item,this.itemChildren);return t&&t.filter(t=>!this.treeview.isExcluded(Object(m["r"])(t,this.itemKey)))},text(){return Object(m["r"])(this.item,this.itemText)},scopedProps(){return{item:this.item,leaf:!this.children,selected:this.isSelected,indeterminate:this.isIndeterminate,active:this.isActive,open:this.isOpen}},computedIcon(){return this.isIndeterminate?this.indeterminateIcon:this.isSelected?this.onIcon:this.offIcon},hasChildren(){return!!this.children&&(!!this.children.length||!!this.loadChildren)}},created(){this.treeview.register(this)},beforeDestroy(){this.treeview.unregister(this)},methods:{checkChildren(){return new Promise(t=>{if(!this.children||this.children.length||!this.loadChildren||this.hasLoaded)return t();this.isLoading=!0,t(this.loadChildren(this.item))}).then(()=>{this.isLoading=!1,this.hasLoaded=!0})},open(){this.isOpen=!this.isOpen,this.treeview.updateOpen(this.key,this.isOpen),this.treeview.emitOpen()},genLabel(){const t=[];return this.$scopedSlots.label?t.push(this.$scopedSlots.label(this.scopedProps)):t.push(this.text),this.$createElement("div",{slot:"label",staticClass:"v-treeview-node__label"},t)},genPrependSlot(){return this.$scopedSlots.prepend?this.$createElement("div",{staticClass:"v-treeview-node__prepend"},this.$scopedSlots.prepend(this.scopedProps)):null},genAppendSlot(){return this.$scopedSlots.append?this.$createElement("div",{staticClass:"v-treeview-node__append"},this.$scopedSlots.append(this.scopedProps)):null},genContent(){const t=[this.genPrependSlot(),this.genLabel(),this.genAppendSlot()];return this.$createElement("div",{staticClass:"v-treeview-node__content"},t)},genToggle(){return this.$createElement(Sr["a"],{staticClass:"v-treeview-node__toggle",class:{"v-treeview-node__toggle--open":this.isOpen,"v-treeview-node__toggle--loading":this.isLoading},slot:"prepend",on:{click:t=>{t.stopPropagation(),this.isLoading||this.checkChildren().then(()=>this.open())}}},[this.isLoading?this.loadingIcon:this.expandIcon])},genCheckbox(){return this.$createElement(Sr["a"],{staticClass:"v-treeview-node__checkbox",props:{color:this.isSelected||this.isIndeterminate?this.selectedColor:void 0,disabled:this.disabled},on:{click:t=>{t.stopPropagation(),this.isLoading||this.checkChildren().then(()=>{this.$nextTick(()=>{this.isSelected=!this.isSelected,this.isIndeterminate=!1,this.treeview.updateSelected(this.key,this.isSelected),this.treeview.emitSelected()})})}}},[this.computedIcon])},genLevel(t){return Object(m["j"])(t).map(()=>this.$createElement("div",{staticClass:"v-treeview-node__level"}))},genNode(){const t=[this.genContent()];return this.selectable&&t.unshift(this.genCheckbox()),this.hasChildren?t.unshift(this.genToggle()):t.unshift(...this.genLevel(1)),t.unshift(...this.genLevel(this.level)),this.$createElement("div",this.setTextColor(this.isActive&&this.color,{staticClass:"v-treeview-node__root",class:{[this.activeClass]:this.isActive},on:{click:()=>{this.openOnClick&&this.hasChildren?this.checkChildren().then(this.open):this.activatable&&!this.disabled&&(this.isActive=!this.isActive,this.treeview.updateActive(this.key,this.isActive),this.treeview.emitActive())}}}),t)},genChild(t,e){return this.$createElement(Ar,{key:Object(m["r"])(t,this.itemKey),props:{activatable:this.activatable,activeClass:this.activeClass,item:t,selectable:this.selectable,selectedColor:this.selectedColor,color:this.color,disablePerNode:this.disablePerNode,expandIcon:this.expandIcon,indeterminateIcon:this.indeterminateIcon,offIcon:this.offIcon,onIcon:this.onIcon,loadingIcon:this.loadingIcon,itemKey:this.itemKey,itemText:this.itemText,itemDisabled:this.itemDisabled,itemChildren:this.itemChildren,loadChildren:this.loadChildren,transition:this.transition,openOnClick:this.openOnClick,rounded:this.rounded,shaped:this.shaped,level:this.level+1,selectionType:this.selectionType,parentIsDisabled:e},scopedSlots:this.$scopedSlots})},genChildrenWrapper(){if(!this.isOpen||!this.children)return null;const t=[this.children.map(t=>this.genChild(t,this.disabled))];return this.$createElement("div",{staticClass:"v-treeview-node__children"},t)},genTransition(){return this.$createElement(h["f"],[this.genChildrenWrapper()])}},render(t){const e=[this.genNode()];return this.transition?e.push(this.genTransition()):e.push(this.genChildrenWrapper()),t("div",{staticClass:"v-treeview-node",class:{"v-treeview-node--leaf":!this.hasChildren,"v-treeview-node--click":this.openOnClick,"v-treeview-node--disabled":this.disabled,"v-treeview-node--rounded":this.rounded,"v-treeview-node--shaped":this.shaped,"v-treeview-node--selected":this.isSelected},attrs:{"aria-expanded":String(this.isOpen)}},e)}});var Tr=Ar;function Cr(t,e,r){const n=Object(m["r"])(t,r);return n.toLocaleLowerCase().indexOf(e.toLocaleLowerCase())>-1}function Lr(t,e,r,n,i,o,a){if(t(e,r,i))return!0;const s=Object(m["r"])(e,o);if(s){let e=!1;for(let u=0;u<s.length;u++)Lr(t,s[u],r,n,i,o,a)&&(e=!0);if(e)return!0}return a.add(Object(m["r"])(e,n)),!1}var Pr=Object(p["a"])(Object(rr["b"])("treeview"),x["a"]).extend({name:"v-treeview",provide(){return{treeview:this}},props:{active:{type:Array,default:()=>[]},dense:Boolean,disabled:Boolean,filter:Function,hoverable:Boolean,items:{type:Array,default:()=>[]},multipleActive:Boolean,open:{type:Array,default:()=>[]},openAll:Boolean,returnObject:{type:Boolean,default:!1},search:String,value:{type:Array,default:()=>[]},...Mr},data:()=>({level:-1,activeCache:new Set,nodes:{},openCache:new Set,selectedCache:new Set}),computed:{excludedItems(){const t=new Set;if(!this.search)return t;for(let e=0;e<this.items.length;e++)Lr(this.filter||Cr,this.items[e],this.search,this.itemKey,this.itemText,this.itemChildren,t);return t}},watch:{items:{handler(){const t=Object.keys(this.nodes).map(t=>Object(m["r"])(this.nodes[t].item,this.itemKey)),e=this.getKeys(this.items),r=Object(m["c"])(e,t);if(!r.length&&e.length<t.length)return;r.forEach(t=>delete this.nodes[t]);const n=[...this.selectedCache];this.selectedCache=new Set,this.activeCache=new Set,this.openCache=new Set,this.buildTree(this.items),Object(m["m"])(n,[...this.selectedCache])||this.emitSelected()},deep:!0},active(t){this.handleNodeCacheWatcher(t,this.activeCache,this.updateActive,this.emitActive)},value(t){this.handleNodeCacheWatcher(t,this.selectedCache,this.updateSelected,this.emitSelected)},open(t){this.handleNodeCacheWatcher(t,this.openCache,this.updateOpen,this.emitOpen)}},created(){const t=t=>this.returnObject?Object(m["r"])(t,this.itemKey):t;this.buildTree(this.items);for(const e of this.value.map(t))this.updateSelected(e,!0,!0);for(const e of this.active.map(t))this.updateActive(e,!0)},mounted(){(this.$slots.prepend||this.$slots.append)&&Object(It["c"])("The prepend and append slots require a slot-scope attribute",this),this.openAll?this.updateAll(!0):(this.open.forEach(t=>this.updateOpen(this.returnObject?Object(m["r"])(t,this.itemKey):t,!0)),this.emitOpen())},methods:{updateAll(t){Object.keys(this.nodes).forEach(e=>this.updateOpen(Object(m["r"])(this.nodes[e].item,this.itemKey),t)),this.emitOpen()},getKeys(t,e=[]){for(let r=0;r<t.length;r++){const n=Object(m["r"])(t[r],this.itemKey);e.push(n);const i=Object(m["r"])(t[r],this.itemChildren);i&&e.push(...this.getKeys(i))}return e},buildTree(t,e=null){var r;for(let n=0;n<t.length;n++){const i=t[n],o=Object(m["r"])(i,this.itemKey),a=null!==(r=Object(m["r"])(i,this.itemChildren))&&void 0!==r?r:[],s=this.nodes.hasOwnProperty(o)?this.nodes[o]:{isSelected:!1,isIndeterminate:!1,isActive:!1,isOpen:!1,vnode:null},u={vnode:s.vnode,parent:e,children:a.map(t=>Object(m["r"])(t,this.itemKey)),item:i};if(this.buildTree(a,o),"independent"!==this.selectionType&&null!==e&&!this.nodes.hasOwnProperty(o)&&this.nodes.hasOwnProperty(e)?u.isSelected=this.nodes[e].isSelected:(u.isSelected=s.isSelected,u.isIndeterminate=s.isIndeterminate),u.isActive=s.isActive,u.isOpen=s.isOpen,this.nodes[o]=u,a.length&&"independent"!==this.selectionType){const{isSelected:t,isIndeterminate:e}=this.calculateState(o,this.nodes);u.isSelected=t,u.isIndeterminate=e}!this.nodes[o].isSelected||"independent"!==this.selectionType&&0!==u.children.length||this.selectedCache.add(o),this.nodes[o].isActive&&this.activeCache.add(o),this.nodes[o].isOpen&&this.openCache.add(o),this.updateVnodeState(o)}},calculateState(t,e){const r=e[t].children,n=r.reduce((t,r)=>(t[0]+=+Boolean(e[r].isSelected),t[1]+=+Boolean(e[r].isIndeterminate),t),[0,0]),i=!!r.length&&n[0]===r.length,o=!i&&(n[0]>0||n[1]>0);return{isSelected:i,isIndeterminate:o}},emitOpen(){this.emitNodeCache("update:open",this.openCache)},emitSelected(){this.emitNodeCache("input",this.selectedCache)},emitActive(){this.emitNodeCache("update:active",this.activeCache)},emitNodeCache(t,e){this.$emit(t,this.returnObject?[...e].map(t=>this.nodes[t].item):[...e])},handleNodeCacheWatcher(t,e,r,n){t=this.returnObject?t.map(t=>Object(m["r"])(t,this.itemKey)):t;const i=[...e];Object(m["m"])(i,t)||(i.forEach(t=>r(t,!1)),t.forEach(t=>r(t,!0)),n())},getDescendants(t,e=[]){const r=this.nodes[t].children;e.push(...r);for(let n=0;n<r.length;n++)e=this.getDescendants(r[n],e);return e},getParents(t){let e=this.nodes[t].parent;const r=[];while(null!==e)r.push(e),e=this.nodes[e].parent;return r},register(t){const e=Object(m["r"])(t.item,this.itemKey);this.nodes[e].vnode=t,this.updateVnodeState(e)},unregister(t){const e=Object(m["r"])(t.item,this.itemKey);this.nodes[e]&&(this.nodes[e].vnode=null)},isParent(t){return this.nodes[t].children&&this.nodes[t].children.length},updateActive(t,e){if(!this.nodes.hasOwnProperty(t))return;this.multipleActive||this.activeCache.forEach(t=>{this.nodes[t].isActive=!1,this.updateVnodeState(t),this.activeCache.delete(t)});const r=this.nodes[t];r&&(e?this.activeCache.add(t):this.activeCache.delete(t),r.isActive=e,this.updateVnodeState(t))},updateSelected(t,e,r=!1){if(!this.nodes.hasOwnProperty(t))return;const n=new Map;if("independent"!==this.selectionType){for(const o of this.getDescendants(t))Object(m["r"])(this.nodes[o].item,this.itemDisabled)&&!r||(this.nodes[o].isSelected=e,this.nodes[o].isIndeterminate=!1,n.set(o,e));const i=this.calculateState(t,this.nodes);this.nodes[t].isSelected=e,this.nodes[t].isIndeterminate=i.isIndeterminate,n.set(t,e);for(const e of this.getParents(t)){const t=this.calculateState(e,this.nodes);this.nodes[e].isSelected=t.isSelected,this.nodes[e].isIndeterminate=t.isIndeterminate,n.set(e,t.isSelected)}}else this.nodes[t].isSelected=e,this.nodes[t].isIndeterminate=!1,n.set(t,e);for(const[i,o]of n.entries())this.updateVnodeState(i),"leaf"===this.selectionType&&this.isParent(i)||(!0===o?this.selectedCache.add(i):this.selectedCache.delete(i))},updateOpen(t,e){if(!this.nodes.hasOwnProperty(t))return;const r=this.nodes[t],n=Object(m["r"])(r.item,this.itemChildren);n&&!n.length&&r.vnode&&!r.vnode.hasLoaded?r.vnode.checkChildren().then(()=>this.updateOpen(t,e)):n&&n.length&&(r.isOpen=e,r.isOpen?this.openCache.add(t):this.openCache.delete(t),this.updateVnodeState(t))},updateVnodeState(t){const e=this.nodes[t];e&&e.vnode&&(e.vnode.isSelected=e.isSelected,e.vnode.isIndeterminate=e.isIndeterminate,e.vnode.isActive=e.isActive,e.vnode.isOpen=e.isOpen)},isExcluded(t){return!!this.search&&this.excludedItems.has(t)}},render(t){const e=this.items.length?this.items.filter(t=>!this.isExcluded(Object(m["r"])(t,this.itemKey))).map(t=>{const e=Tr.options.methods.genChild.bind(this);return e(t,this.disabled||Object(m["r"])(t,this.itemDisabled))}):this.$slots.default;return t("div",{staticClass:"v-treeview",class:{"v-treeview--hoverable":this.hoverable,"v-treeview--dense":this.dense,...this.themeClasses}},e)}}),Or=(r("96a9"),r("24b2")),Ir=r("f977"),Dr=Or["a"].extend({name:"v-virtual-scroll",directives:{Scroll:Ir["b"]},props:{bench:{type:[Number,String],default:0},itemHeight:{type:[Number,String],required:!0},items:{type:Array,default:()=>[]}},data:()=>({first:0,last:0,scrollTop:0}),computed:{__bench(){return parseInt(this.bench,10)},__itemHeight(){return parseInt(this.itemHeight,10)},firstToRender(){return Math.max(0,this.first-this.__bench)},lastToRender(){return Math.min(this.items.length,this.last+this.__bench)}},watch:{height:"onScroll",itemHeight:"onScroll"},mounted(){this.last=this.getLast(0)},methods:{getChildren(){return this.items.slice(this.firstToRender,this.lastToRender).map(this.genChild)},genChild(t,e){e+=this.firstToRender;const r=Object(m["i"])(e*this.__itemHeight);return this.$createElement("div",{staticClass:"v-virtual-scroll__item",style:{top:r},key:e},Object(m["u"])(this,"default",{index:e,item:t}))},getFirst(){return Math.floor(this.scrollTop/this.__itemHeight)},getLast(t){const e=parseInt(this.height||0,10)||this.$el.clientHeight;return t+Math.ceil(e/this.__itemHeight)},onScroll(){this.scrollTop=this.$el.scrollTop,this.first=this.getFirst(),this.last=this.getLast(this.first)}},render(t){const e=t("div",{staticClass:"v-virtual-scroll__container",style:{height:Object(m["i"])(this.items.length*this.__itemHeight)}},this.getChildren());return t("div",{staticClass:"v-virtual-scroll",style:this.measurableStyles,directives:[{name:"scroll",modifiers:{self:!0},value:this.onScroll}],on:this.$listeners},[e])}}),Br=r("8a32"),jr=r("9d93"),Nr=r("fcf4"),Rr=r("f309")},bba8:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1ec9"),i=r("2a12"),o=r("2054");const a=n.configure(t=>{async function e(e,r={}){const n=await t.post("bootstrap/rm",{signal:r.signal,searchParams:i.toUrlSearchParams({arg:e,...r}),headers:r.headers}),{Peers:a}=await n.json();return{Peers:a.map(t=>new o.Multiaddr(t))}}return e});e.createRm=a},bc3a:function(t,e,r){"use strict";r.r(e),r.d(e,"Axios",(function(){return i})),r.d(e,"AxiosError",(function(){return o})),r.d(e,"CanceledError",(function(){return a})),r.d(e,"isCancel",(function(){return s})),r.d(e,"CancelToken",(function(){return u})),r.d(e,"VERSION",(function(){return c})),r.d(e,"all",(function(){return l})),r.d(e,"Cancel",(function(){return h})),r.d(e,"isAxiosError",(function(){return f})),r.d(e,"spread",(function(){return d})),r.d(e,"toFormData",(function(){return p})),r.d(e,"AxiosHeaders",(function(){return m})),r.d(e,"HttpStatusCode",(function(){return g})),r.d(e,"formToJSON",(function(){return y})),r.d(e,"getAdapter",(function(){return v})),r.d(e,"mergeConfig",(function(){return b}));var n=r("cee4");r.d(e,"default",(function(){return n["a"]}));const{Axios:i,AxiosError:o,CanceledError:a,isCancel:s,CancelToken:u,VERSION:c,all:l,Cancel:h,isAxiosError:f,spread:d,toFormData:p,AxiosHeaders:m,HttpStatusCode:g,formToJSON:y,getAdapter:v,mergeConfig:b}=n["a"]},bd0c:function(t,e,r){},bdd0:function(t,e,r){},bdff:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("c6f1"),i=r("d029");function o(t,e="utf8"){const r=n[e];if(!r)throw new Error(`Unsupported encoding "${e}"`);return"utf8"!==e&&"utf-8"!==e||null==globalThis.Buffer||null==globalThis.Buffer.from?r.decoder.decode(`${r.prefix}${t}`):i.asUint8Array(globalThis.Buffer.from(t,"utf-8"))}e.fromString=o},beaf:function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n={};function i(){return n}},bf74:function(t,e){var r={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},c0d8:function(t,e,r){
/*! For license information please see web3.min.js.LICENSE.txt */
!function(e,r){t.exports=r()}(self,()=>(()=>{var t={81645:(t,e,r)=>{"use strict";var n=function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},i=function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.chains=e._getInitializedChains=void 0;var o=i(r(87295)),a=i(r(31227)),s=i(r(40439)),u=i(r(37098)),c=i(r(17687)),l=i(r(49422));function h(t){var e,r,i={1:"mainnet",3:"ropsten",4:"rinkeby",42:"kovan",5:"goerli",11155111:"sepolia"},h={mainnet:o.default,ropsten:a.default,rinkeby:s.default,kovan:u.default,goerli:c.default,sepolia:l.default};if(t)try{for(var f=n(t),d=f.next();!d.done;d=f.next()){var p=d.value,m=p.name;i[p.chainId.toString()]=m,h[m]=p}}catch(t){e={error:t}}finally{try{d&&!d.done&&(r=f.return)&&r.call(f)}finally{if(e)throw e.error}}return h.names=i,h}e._getInitializedChains=h,e.chains=h()},425:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EIPs=void 0,e.EIPs={1153:r(96561),1559:r(77523),2315:r(83339),2537:r(26769),2565:r(17897),2718:r(62170),2929:r(88436),2930:r(96213),3198:r(25491),3529:r(20070),3540:r(52256),3541:r(21871),3554:r(47225),3607:r(3968),3651:r(29496),3670:r(74290),3675:r(98571),3855:r(64551),3860:r(94300),4345:r(74818),4399:r(68372),5133:r(4759)}},7002:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hardforks=void 0,e.hardforks=[["chainstart",r(60114)],["homestead",r(62800)],["dao",r(7197)],["tangerineWhistle",r(22302)],["spuriousDragon",r(90716)],["byzantium",r(26985)],["constantinople",r(35993)],["petersburg",r(4064)],["istanbul",r(83166)],["muirGlacier",r(42946)],["berlin",r(20015)],["london",r(61250)],["shanghai",r(5553)],["arrowGlacier",r(51971)],["grayGlacier",r(31088)],["mergeForkIdTransition",r(49347)],["merge",r(88648)]]},3863:(t,e,r)=>{"use strict";var n,i=r(29033).Buffer,o=r(28847)(r(3355)),a=(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},n(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),s=function(){return s=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},s.apply(this,arguments)},u=function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:!0}),e.ConsensusAlgorithm=e.ConsensusType=e.Hardfork=e.Chain=e.CustomChain=void 0;var c,l,h,f,d,p=r(38291),m=r(64628),g=r(33062),y=r(81645),v=r(7002),b=r(425);!function(t){t.PolygonMainnet="polygon-mainnet",t.PolygonMumbai="polygon-mumbai",t.ArbitrumRinkebyTestnet="arbitrum-rinkeby-testnet",t.xDaiChain="x-dai-chain",t.OptimisticKovan="optimistic-kovan",t.OptimisticEthereum="optimistic-ethereum"}(c=e.CustomChain||(e.CustomChain={})),(d=e.Chain||(e.Chain={}))[d.Mainnet=1]="Mainnet",d[d.Ropsten=3]="Ropsten",d[d.Rinkeby=4]="Rinkeby",d[d.Kovan=42]="Kovan",d[d.Goerli=5]="Goerli",d[d.Sepolia=11155111]="Sepolia",function(t){t.Chainstart="chainstart",t.Homestead="homestead",t.Dao="dao",t.TangerineWhistle="tangerineWhistle",t.SpuriousDragon="spuriousDragon",t.Byzantium="byzantium",t.Constantinople="constantinople",t.Petersburg="petersburg",t.Istanbul="istanbul",t.MuirGlacier="muirGlacier",t.Berlin="berlin",t.London="london",t.ArrowGlacier="arrowGlacier",t.GrayGlacier="grayGlacier",t.MergeForkIdTransition="mergeForkIdTransition",t.Merge="merge",t.Shanghai="shanghai"}(l=e.Hardfork||(e.Hardfork={})),(f=e.ConsensusType||(e.ConsensusType={})).ProofOfStake="pos",f.ProofOfWork="pow",f.ProofOfAuthority="poa",(h=e.ConsensusAlgorithm||(e.ConsensusAlgorithm={})).Ethash="ethash",h.Clique="clique",h.Casper="casper";var _=function(t){function e(e){var r,n,i,o,a=this;(a=t.call(this)||this)._supportedHardforks=[],a._eips=[],a._customChains=null!==(i=e.customChains)&&void 0!==i?i:[],a._chainParams=a.setChain(e.chain),a.DEFAULT_HARDFORK=null!==(o=a._chainParams.defaultHardfork)&&void 0!==o?o:l.Istanbul;try{for(var s=u(a._chainParams.hardforks),c=s.next();!c.done;c=s.next()){var h=c.value;h.forkHash||(h.forkHash=a._calcForkHash(h.name))}}catch(t){r={error:t}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return a._hardfork=a.DEFAULT_HARDFORK,e.supportedHardforks&&(a._supportedHardforks=e.supportedHardforks),e.hardfork&&a.setHardfork(e.hardfork),e.eips&&a.setEIPs(e.eips),a}return a(e,t),e.custom=function(t,r){var n;void 0===r&&(r={});var i=null!==(n=r.baseChain)&&void 0!==n?n:"mainnet",o=s({},e._getChainParams(i));if(o.name="custom-chain","string"!=typeof t)return new e(s({chain:s(s({},o),t)},r));if(t===c.PolygonMainnet)return e.custom({name:c.PolygonMainnet,chainId:137,networkId:137},r);if(t===c.PolygonMumbai)return e.custom({name:c.PolygonMumbai,chainId:80001,networkId:80001},r);if(t===c.ArbitrumRinkebyTestnet)return e.custom({name:c.ArbitrumRinkebyTestnet,chainId:421611,networkId:421611},r);if(t===c.xDaiChain)return e.custom({name:c.xDaiChain,chainId:100,networkId:100},r);if(t===c.OptimisticKovan)return e.custom({name:c.OptimisticKovan,chainId:69,networkId:69},s({hardfork:l.Berlin},r));if(t===c.OptimisticEthereum)return e.custom({name:c.OptimisticEthereum,chainId:10,networkId:10},s({hardfork:l.Berlin},r));throw new Error("Custom chain ".concat(t," not supported"))},e.forCustomChain=function(t,r,n,i){var o=e._getChainParams(t);return new e({chain:s(s({},o),r),hardfork:n,supportedHardforks:i})},e.isSupportedChainId=function(t){var e=(0,y._getInitializedChains)();return Boolean(e.names[t.toString()])},e._getChainParams=function(t,e){var r=(0,y._getInitializedChains)(e);if("number"==typeof t||g.BN.isBN(t)){if(t=t.toString(),r.names[t])return r[r.names[t]];throw new Error("Chain with ID ".concat(t," not supported"))}if(r[t])return r[t];throw new Error("Chain with name ".concat(t," not supported"))},e.prototype.setChain=function(t){var r,n;if("number"==typeof t||"string"==typeof t||g.BN.isBN(t)){var i;i=this._customChains&&this._customChains.length>0&&Array.isArray(this._customChains[0])?this._customChains.map((function(t){return t[0]})):this._customChains,this._chainParams=e._getChainParams(t,i)}else{if("object"!==(0,o.default)(t))throw new Error("Wrong input format");if(this._customChains.length>0)throw new Error("Chain must be a string, number, or BN when initialized with customChains passed in");try{for(var a=u(["networkId","genesis","hardforks","bootstrapNodes"]),s=a.next();!s.done;s=a.next()){var c=s.value;if(void 0===t[c])throw new Error("Missing required chain parameter: ".concat(c))}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}this._chainParams=t}return this._chainParams},e.prototype.setHardfork=function(t){var e,r;if(!this._isSupportedHardfork(t))throw new Error("Hardfork ".concat(t," not set as supported in supportedHardforks"));var n=!1;try{for(var i=u(v.hardforks),o=i.next();!o.done;o=i.next())o.value[0]===t&&(this._hardfork!==t&&(this._hardfork=t,this.emit("hardforkChanged",t)),n=!0)}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}if(!n)throw new Error("Hardfork with name ".concat(t," not supported"))},e.prototype.getHardforkByBlockNumber=function(t,e){var r,n;t=(0,g.toType)(t,g.TypeOutput.BN),e=(0,g.toType)(e,g.TypeOutput.BN);var i,o,a,s=l.Chainstart;try{for(var c=u(this.hardforks()),h=c.next();!h.done;h=c.next()){var f=h.value;if(null!==f.block)t.gte(new g.BN(f.block))&&(s=f.name),e&&f.td&&(e.gte(new g.BN(f.td))?i=f.name:o=a),a=f.name;else if(null!=e&&void 0!==f.td&&null!==f.td&&e.gte(new g.BN(f.td)))return f.name}}catch(t){r={error:t}}finally{try{h&&!h.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}if(e){var d="block number: ".concat(t," (-> ").concat(s,"), ");if(i&&!this.hardforkGteHardfork(s,i)){var p="HF determined by block number is lower than the minimum total difficulty HF";throw d+="total difficulty: ".concat(e," (-> ").concat(i,")"),new Error("".concat(p,": ").concat(d))}if(o&&!this.hardforkGteHardfork(o,s))throw p="Maximum HF determined by total difficulty is lower than the block number HF",d+="total difficulty: ".concat(e," (-> ").concat(o,")"),new Error("".concat(p,": ").concat(d))}return s},e.prototype.setHardforkByBlockNumber=function(t,e){var r=this.getHardforkByBlockNumber(t,e);return this.setHardfork(r),r},e.prototype._chooseHardfork=function(t,e){if(void 0===e&&(e=!0),t){if(e&&!this._isSupportedHardfork(t))throw new Error("Hardfork ".concat(t," not set as supported in supportedHardforks"))}else t=this._hardfork;return t},e.prototype._getHardfork=function(t){var e,r,n=this.hardforks();try{for(var i=u(n),o=i.next();!o.done;o=i.next()){var a=o.value;if(a.name===t)return a}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}throw new Error("Hardfork ".concat(t," not defined for chain ").concat(this.chainName()))},e.prototype._isSupportedHardfork=function(t){var e,r;if(!(this._supportedHardforks.length>0))return!0;try{for(var n=u(this._supportedHardforks),i=n.next();!i.done;i=n.next())if(t===i.value)return!0}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return!1},e.prototype.setEIPs=function(t){var e,r,n=this;void 0===t&&(t=[]);var i=function(e){if(!(e in b.EIPs))throw new Error("".concat(e," not supported"));var r=o.gteHardfork(b.EIPs[e].minimumHardfork);if(!r)throw new Error("".concat(e," cannot be activated on hardfork ").concat(o.hardfork(),", minimumHardfork: ").concat(r));b.EIPs[e].requiredEIPs&&b.EIPs[e].requiredEIPs.forEach((function(r){if(!t.includes(r)&&!n.isActivatedEIP(r))throw new Error("".concat(e," requires EIP ").concat(r,", but is not included in the EIP list"))}))},o=this;try{for(var a=u(t),s=a.next();!s.done;s=a.next())i(s.value)}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}this._eips=t},e.prototype.param=function(t,e){var r,n,i=null;try{for(var o=u(this._eips),a=o.next();!a.done;a=o.next()){var s=a.value;if(null!==(i=this.paramByEIP(t,e,s)))return i}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return this.paramByHardfork(t,e,this._hardfork)},e.prototype.paramByHardfork=function(t,e,r){var n,i,o,a;r=this._chooseHardfork(r);var s=null;try{for(var c=u(v.hardforks),l=c.next();!l.done;l=c.next()){var h=l.value;if("eips"in h[1]){var f=h[1].eips;try{for(var d=(o=void 0,u(f)),p=d.next();!p.done;p=d.next()){var m=p.value,g=this.paramByEIP(t,e,m);s=null!==g?g:s}}catch(t){o={error:t}}finally{try{p&&!p.done&&(a=d.return)&&a.call(d)}finally{if(o)throw o.error}}}else{if(!h[1][t])throw new Error("Topic ".concat(t," not defined"));void 0!==h[1][t][e]&&(s=h[1][t][e].v)}if(h[0]===r)break}}catch(t){n={error:t}}finally{try{l&&!l.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}return s},e.prototype.paramByEIP=function(t,e,r){if(!(r in b.EIPs))throw new Error("".concat(r," not supported"));var n=b.EIPs[r];if(!(t in n))throw new Error("Topic ".concat(t," not defined"));return void 0===n[t][e]?null:n[t][e].v},e.prototype.paramByBlock=function(t,e,r){var n=this.activeHardforks(r),i=n[n.length-1].name;return this.paramByHardfork(t,e,i)},e.prototype.isActivatedEIP=function(t){var e,r;if(this.eips().includes(t))return!0;try{for(var n=u(v.hardforks),i=n.next();!i.done;i=n.next()){var o=i.value[1];if(this.gteHardfork(o.name)&&"eips"in o&&o.eips.includes(t))return!0}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return!1},e.prototype.hardforkIsActiveOnBlock=function(t,e,r){var n;void 0===r&&(r={}),e=(0,g.toType)(e,g.TypeOutput.BN);var i=null!==(n=r.onlySupported)&&void 0!==n&&n;t=this._chooseHardfork(t,i);var o=this.hardforkBlockBN(t);return!(!o||!e.gte(o))},e.prototype.activeOnBlock=function(t,e){return this.hardforkIsActiveOnBlock(null,t,e)},e.prototype.hardforkGteHardfork=function(t,e,r){var n,i;void 0===r&&(r={});var o,a=void 0!==r.onlyActive&&r.onlyActive;t=this._chooseHardfork(t,r.onlySupported),o=a?this.activeHardforks(null,r):this.hardforks();var s=-1,c=-1,l=0;try{for(var h=u(o),f=h.next();!f.done;f=h.next()){var d=f.value;d.name===t&&(s=l),d.name===e&&(c=l),l+=1}}catch(t){n={error:t}}finally{try{f&&!f.done&&(i=h.return)&&i.call(h)}finally{if(n)throw n.error}}return s>=c&&-1!==c},e.prototype.gteHardfork=function(t,e){return this.hardforkGteHardfork(null,t,e)},e.prototype.hardforkIsActiveOnChain=function(t,e){var r,n,i;void 0===e&&(e={});var o=null!==(i=e.onlySupported)&&void 0!==i&&i;t=this._chooseHardfork(t,o);try{for(var a=u(this.hardforks()),s=a.next();!s.done;s=a.next()){var c=s.value;if(c.name===t&&null!==c.block)return!0}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return!1},e.prototype.activeHardforks=function(t,e){var r,n;void 0===e&&(e={});var i=[],o=this.hardforks();try{for(var a=u(o),s=a.next();!s.done;s=a.next()){var c=s.value;if(null!==c.block){if(null!=t&&t<c.block)break;e.onlySupported&&!this._isSupportedHardfork(c.name)||i.push(c)}}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return i},e.prototype.activeHardfork=function(t,e){void 0===e&&(e={});var r=this.activeHardforks(t,e);if(r.length>0)return r[r.length-1].name;throw new Error("No (supported) active hardfork found")},e.prototype.hardforkBlock=function(t){var e=this.hardforkBlockBN(t);return(0,g.toType)(e,g.TypeOutput.Number)},e.prototype.hardforkBlockBN=function(t){t=this._chooseHardfork(t,!1);var e=this._getHardfork(t).block;return null==e?null:new g.BN(e)},e.prototype.hardforkTD=function(t){t=this._chooseHardfork(t,!1);var e=this._getHardfork(t).td;return null==e?null:new g.BN(e)},e.prototype.isHardforkBlock=function(t,e){t=(0,g.toType)(t,g.TypeOutput.BN),e=this._chooseHardfork(e,!1);var r=this.hardforkBlockBN(e);return!!r&&r.eq(t)},e.prototype.nextHardforkBlock=function(t){var e=this.nextHardforkBlockBN(t);return(0,g.toType)(e,g.TypeOutput.Number)},e.prototype.nextHardforkBlockBN=function(t){t=this._chooseHardfork(t,!1);var e=this.hardforkBlockBN(t);return null===e?null:this.hardforks().reduce((function(t,r){var n=new g.BN(r.block);return n.gt(e)&&null===t?n:t}),null)},e.prototype.isNextHardforkBlock=function(t,e){t=(0,g.toType)(t,g.TypeOutput.BN),e=this._chooseHardfork(e,!1);var r=this.nextHardforkBlockBN(e);return null!==r&&r.eq(t)},e.prototype._calcForkHash=function(t){var e,r,n=i.from(this.genesis().hash.substr(2),"hex"),o=i.alloc(0),a=0;try{for(var s=u(this.hardforks()),c=s.next();!c.done;c=s.next()){var l=c.value,h=l.block;if(0!==h&&null!==h&&h!==a){var f=i.from(h.toString(16).padStart(16,"0"),"hex");o=i.concat([o,f])}if(l.name===t)break;null!==h&&(a=h)}}catch(t){e={error:t}}finally{try{c&&!c.done&&(r=s.return)&&r.call(s)}finally{if(e)throw e.error}}var d=i.concat([n,o]),p=(0,g.intToBuffer)((0,m.buf)(d)>>>0).toString("hex");return"0x".concat(p)},e.prototype.forkHash=function(t){t=this._chooseHardfork(t,!1);var e=this._getHardfork(t);if(null===e.block&&void 0===e.td)throw new Error("No fork hash calculation possible for future hardfork");return void 0!==e.forkHash?e.forkHash:this._calcForkHash(t)},e.prototype.hardforkForForkHash=function(t){var e=this.hardforks().filter((function(e){return e.forkHash===t}));return e.length>=1?e[e.length-1]:null},e.prototype.genesis=function(){return this._chainParams.genesis},e.prototype.genesisState=function(){var t,e;switch(this.chainName()){case"mainnet":return r(Object(function(){var t=new Error("Cannot find module './genesisStates/mainnet.json'");throw t.code="MODULE_NOT_FOUND",t}()));case"ropsten":return r(Object(function(){var t=new Error("Cannot find module './genesisStates/ropsten.json'");throw t.code="MODULE_NOT_FOUND",t}()));case"rinkeby":return r(Object(function(){var t=new Error("Cannot find module './genesisStates/rinkeby.json'");throw t.code="MODULE_NOT_FOUND",t}()));case"kovan":return r(Object(function(){var t=new Error("Cannot find module './genesisStates/kovan.json'");throw t.code="MODULE_NOT_FOUND",t}()));case"goerli":return r(Object(function(){var t=new Error("Cannot find module './genesisStates/goerli.json'");throw t.code="MODULE_NOT_FOUND",t}()));case"sepolia":return r(Object(function(){var t=new Error("Cannot find module './genesisStates/sepolia.json'");throw t.code="MODULE_NOT_FOUND",t}()))}if(this._customChains&&this._customChains.length>0&&Array.isArray(this._customChains[0]))try{for(var n=u(this._customChains),i=n.next();!i.done;i=n.next()){var o=i.value;if(o[0].name===this.chainName())return o[1]}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return{}},e.prototype.hardforks=function(){return this._chainParams.hardforks},e.prototype.bootstrapNodes=function(){return this._chainParams.bootstrapNodes},e.prototype.dnsNetworks=function(){return this._chainParams.dnsNetworks},e.prototype.hardfork=function(){return this._hardfork},e.prototype.chainId=function(){return(0,g.toType)(this.chainIdBN(),g.TypeOutput.Number)},e.prototype.chainIdBN=function(){return new g.BN(this._chainParams.chainId)},e.prototype.chainName=function(){return this._chainParams.name},e.prototype.networkId=function(){return(0,g.toType)(this.networkIdBN(),g.TypeOutput.Number)},e.prototype.networkIdBN=function(){return new g.BN(this._chainParams.networkId)},e.prototype.eips=function(){return this._eips},e.prototype.consensusType=function(){var t,e,r,n=this.hardfork();try{for(var i=u(v.hardforks),o=i.next();!o.done;o=i.next()){var a=o.value;if("consensus"in a[1]&&(r=a[1].consensus.type),a[0]===n)break}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}return r||this._chainParams.consensus.type},e.prototype.consensusAlgorithm=function(){var t,e,r,n=this.hardfork();try{for(var i=u(v.hardforks),o=i.next();!o.done;o=i.next()){var a=o.value;if("consensus"in a[1]&&(r=a[1].consensus.algorithm),a[0]===n)break}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}return r||this._chainParams.consensus.algorithm},e.prototype.consensusConfig=function(){var t,e,r,n=this.hardfork();try{for(var i=u(v.hardforks),o=i.next();!o.done;o=i.next()){var a=o.value;if("consensus"in a[1]&&(r=a[1].consensus[a[1].consensus.algorithm]),a[0]===n)break}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}if(r)return r;var s=this.consensusAlgorithm();return this._chainParams.consensus[s]},e.prototype.copy=function(){var t=Object.assign(Object.create(Object.getPrototypeOf(this)),this);return t.removeAllListeners(),t},e}(p.EventEmitter);e.default=_},89658:(t,e,r)=>{"use strict";var n=r(28847)(r(3355));function i(t){if(Array.isArray(t)){for(var e=[],r=0,n=0;n<t.length;n++){var o=i(t[n]);e.push(o),r+=o.length}return p.apply(void 0,[s(r,192)].concat(e))}var a=v(t);return 1===a.length&&a[0]<128?a:p(s(a.length,128),a)}function o(t,e,r){if(r>t.length)throw new Error("invalid RLP (safeSlice): end slice of Uint8Array out-of-bounds");return t.slice(e,r)}function a(t){if(0===t[0])throw new Error("invalid RLP: extra zeros");return f(h(t))}function s(t,e){if(t<56)return Uint8Array.from([t+e]);var r=g(t),n=g(e+55+r.length/2);return Uint8Array.from(d(n+r))}function u(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null==t||0===t.length)return Uint8Array.from([]);var r=c(v(t));if(e)return r;if(0!==r.remainder.length)throw new Error("invalid RLP: remainder must be zero");return r.data}function c(t){var e,r,n,i,s,u=[],l=t[0];if(l<=127)return{data:t.slice(0,1),remainder:t.slice(1)};if(l<=183){if(e=l-127,n=128===l?Uint8Array.from([]):o(t,1,e),2===e&&n[0]<128)throw new Error("invalid RLP encoding: invalid prefix, single byte < 0x80 are not prefixed");return{data:n,remainder:t.slice(e)}}if(l<=191){if(r=l-182,t.length-1<r)throw new Error("invalid RLP: not enough bytes for string length");if((e=a(o(t,1,r)))<=55)throw new Error("invalid RLP: expected string length to be greater than 55");return{data:n=o(t,r,e+r),remainder:t.slice(e+r)}}if(l<=247){for(i=o(t,1,e=l-191);i.length;)s=c(i),u.push(s.data),i=s.remainder;return{data:u,remainder:t.slice(e)}}if((e=a(o(t,1,r=l-246)))<56)throw new Error("invalid RLP: encoded list too short");var h=r+e;if(h>t.length)throw new Error("invalid RLP: total length is larger than the data");for(i=o(t,r,h);i.length;)s=c(i),u.push(s.data),i=s.remainder;return{data:u,remainder:t.slice(h)}}Object.defineProperty(e,"__esModule",{value:!0}),e.RLP=e.utils=e.decode=e.encode=void 0,e.encode=i,e.decode=u;var l=Array.from({length:256},(function(t,e){return e.toString(16).padStart(2,"0")}));function h(t){for(var e="",r=0;r<t.length;r++)e+=l[t[r]];return e}function f(t){var e=Number.parseInt(t,16);if(Number.isNaN(e))throw new Error("Invalid byte sequence");return e}function d(t){if("string"!=typeof t)throw new TypeError("hexToBytes: expected string, got "+(0,n.default)(t));if(t.length%2)throw new Error("hexToBytes: received invalid unpadded hex");for(var e=new Uint8Array(t.length/2),r=0;r<e.length;r++){var i=2*r;e[r]=f(t.slice(i,i+2))}return e}function p(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];if(1===e.length)return e[0];for(var n=e.reduce((function(t,e){return t+e.length}),0),i=new Uint8Array(n),o=0,a=0;o<e.length;o++){var s=e[o];i.set(s,a),a+=s.length}return i}function m(t){return(new TextEncoder).encode(t)}function g(t){if(t<0)throw new Error("Invalid integer as argument, must be unsigned!");var e=t.toString(16);return e.length%2?"0".concat(e):e}function y(t){return t.length>=2&&"0"===t[0]&&"x"===t[1]}function v(t){if(t instanceof Uint8Array)return t;if("string"==typeof t)return y(t)?d((e="string"!=typeof(r=t)?r:y(r)?r.slice(2):r).length%2?"0".concat(e):e):m(t);var e,r;if("number"==typeof t||"bigint"==typeof t)return t?d(g(t)):Uint8Array.from([]);if(null==t)return Uint8Array.from([]);throw new Error("toBytes: received unsupported type "+(0,n.default)(t))}e.utils={bytesToHex:h,concatBytes:p,hexToBytes:d,utf8ToBytes:m},e.RLP={encode:i,decode:u}},75058:(t,e,r)=>{"use strict";var n=Object.create?function(t,e,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);i&&!("get"in i?!e.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]},i=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},o=function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a};Object.defineProperty(e,"__esModule",{value:!0}),e.BaseTransaction=void 0;var a=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.prototype.hasOwnProperty.call(t,r)&&n(e,t,r);return i(e,t),e}(r(3863)),s=r(33062),u=r(87325),c=function(){function t(t,e){this.cache={hash:void 0,dataFee:void 0},this.activeCapabilities=[],this.DEFAULT_CHAIN=a.Chain.Mainnet,this.DEFAULT_HARDFORK=a.Hardfork.Istanbul;var r=t.nonce,n=t.gasLimit,i=t.to,o=t.value,u=t.data,c=t.v,l=t.r,h=t.s,f=t.type;this._type=new s.BN((0,s.toBuffer)(f)).toNumber(),this.txOptions=e;var d=(0,s.toBuffer)(""===i?"0x":i),p=(0,s.toBuffer)(""===c?"0x":c),m=(0,s.toBuffer)(""===l?"0x":l),g=(0,s.toBuffer)(""===h?"0x":h);this.nonce=new s.BN((0,s.toBuffer)(""===r?"0x":r)),this.gasLimit=new s.BN((0,s.toBuffer)(""===n?"0x":n)),this.to=d.length>0?new s.Address(d):void 0,this.value=new s.BN((0,s.toBuffer)(""===o?"0x":o)),this.data=(0,s.toBuffer)(""===u?"0x":u),this.v=p.length>0?new s.BN(p):void 0,this.r=m.length>0?new s.BN(m):void 0,this.s=g.length>0?new s.BN(g):void 0,this._validateCannotExceedMaxInteger({value:this.value,r:this.r,s:this.s}),this._validateCannotExceedMaxInteger({gasLimit:this.gasLimit},64),this._validateCannotExceedMaxInteger({nonce:this.nonce},64,!0)}return Object.defineProperty(t.prototype,"transactionType",{get:function(){return this.type},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"type",{get:function(){return this._type},enumerable:!1,configurable:!0}),t.prototype.supports=function(t){return this.activeCapabilities.includes(t)},t.prototype.validate=function(t){void 0===t&&(t=!1);var e=[];return this.getBaseFee().gt(this.gasLimit)&&e.push("gasLimit is too low. given ".concat(this.gasLimit,", need at least ").concat(this.getBaseFee())),this.isSigned()&&!this.verifySignature()&&e.push("Invalid Signature"),t?e:0===e.length},t.prototype.getBaseFee=function(){var t=this.getDataFee().addn(this.common.param("gasPrices","tx"));return this.common.gteHardfork("homestead")&&this.toCreationAddress()&&t.iaddn(this.common.param("gasPrices","txCreation")),t},t.prototype.getDataFee=function(){for(var t=this.common.param("gasPrices","txDataZero"),e=this.common.param("gasPrices","txDataNonZero"),r=0,n=0;n<this.data.length;n++)0===this.data[n]?r+=t:r+=e;if(r=new s.BN(r),(void 0===this.to||null===this.to)&&this.common.isActivatedEIP(3860)){var i=Math.ceil(this.data.length/32),o=new s.BN(this.common.param("gasPrices","initCodeWordCost")).imuln(i);r.iadd(o)}return r},t.prototype.toCreationAddress=function(){return void 0===this.to||0===this.to.buf.length},t.prototype.isSigned=function(){var t=this,e=t.v,r=t.r,n=t.s;return 0===this.type?!!(e&&r&&n):!(void 0===e||!r||!n)},t.prototype.verifySignature=function(){try{var t=this.getSenderPublicKey();return 0!==(0,s.unpadBuffer)(t).length}catch(t){return!1}},t.prototype.getSenderAddress=function(){return new s.Address((0,s.publicToAddress)(this.getSenderPublicKey()))},t.prototype.sign=function(t){if(32!==t.length){var e=this._errorMsg("Private key must be 32 bytes in length.");throw new Error(e)}var r=!1;0===this.type&&this.common.gteHardfork("spuriousDragon")&&!this.supports(u.Capability.EIP155ReplayProtection)&&(this.activeCapabilities.push(u.Capability.EIP155ReplayProtection),r=!0);var n=this.getMessageToSign(!0),i=(0,s.ecsign)(n,t),o=i.v,a=i.r,c=i.s,l=this._processSignature(o,a,c);if(r){var h=this.activeCapabilities.indexOf(u.Capability.EIP155ReplayProtection);h>-1&&this.activeCapabilities.splice(h,1)}return l},t.prototype._getCommon=function(t,e){var r;if(e){var n=new s.BN((0,s.toBuffer)(e));if(t){if(!t.chainIdBN().eq(n)){var i=this._errorMsg("The chain ID does not match the chain ID of Common");throw new Error(i)}return t.copy()}return a.default.isSupportedChainId(n)?new a.default({chain:n,hardfork:this.DEFAULT_HARDFORK}):a.default.forCustomChain(this.DEFAULT_CHAIN,{name:"custom-chain",networkId:n,chainId:n},this.DEFAULT_HARDFORK)}return null!==(r=null==t?void 0:t.copy())&&void 0!==r?r:new a.default({chain:this.DEFAULT_CHAIN,hardfork:this.DEFAULT_HARDFORK})},t.prototype._validateCannotExceedMaxInteger=function(t,e,r){var n,i;void 0===e&&(e=256),void 0===r&&(r=!1);try{for(var a=function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(Object.entries(t)),u=a.next();!u.done;u=a.next()){var c=o(u.value,2),l=c[0],h=c[1];switch(e){case 64:if(r){if(null==h?void 0:h.gte(s.MAX_UINT64)){var f=this._errorMsg("".concat(l," cannot equal or exceed MAX_UINT64 (2^64-1), given ").concat(h));throw new Error(f)}}else if(null==h?void 0:h.gt(s.MAX_UINT64))throw f=this._errorMsg("".concat(l," cannot exceed MAX_UINT64 (2^64-1), given ").concat(h)),new Error(f);break;case 256:if(r){if(null==h?void 0:h.gte(s.MAX_INTEGER))throw f=this._errorMsg("".concat(l," cannot equal or exceed MAX_INTEGER (2^256-1), given ").concat(h)),new Error(f)}else if(null==h?void 0:h.gt(s.MAX_INTEGER))throw f=this._errorMsg("".concat(l," cannot exceed MAX_INTEGER (2^256-1), given ").concat(h)),new Error(f);break;default:throw f=this._errorMsg("unimplemented bits value"),new Error(f)}}}catch(t){n={error:t}}finally{try{u&&!u.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}},t.prototype._getSharedErrorPostfix=function(){var t="";try{t=this.isSigned()?(0,s.bufferToHex)(this.hash()):"not available (unsigned)"}catch(e){t="error"}var e="";try{e=this.isSigned().toString()}catch(e){t="error"}var r="";try{r=this.common.hardfork()}catch(t){r="error"}return"tx type=".concat(this.type," hash=").concat(t," nonce=").concat(this.nonce," value=").concat(this.value," ")+"signed=".concat(e," hf=").concat(r)},t}();e.BaseTransaction=c},660:(t,e,r)=>{"use strict";var n,i=r(29033).Buffer,o=(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},n(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),a=function(){return a=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},a.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var s=r(33062),u=r(75058),c=r(87325),l=r(53789),h=i.from(2..toString(16).padStart(2,"0"),"hex"),f=function(t){function e(e,r){void 0===r&&(r={});var n,i,o=this;(o=t.call(this,a(a({},e),{type:2}),r)||this).DEFAULT_HARDFORK="london";var u=e.chainId,h=e.accessList,f=e.maxFeePerGas,d=e.maxPriorityFeePerGas;if(o.common=o._getCommon(r.common,u),o.chainId=o.common.chainIdBN(),!o.common.isActivatedEIP(1559))throw new Error("EIP-1559 not enabled on Common");o.activeCapabilities=o.activeCapabilities.concat([1559,2718,2930]);var p=l.AccessLists.getAccessListData(null!=h?h:[]);if(o.accessList=p.accessList,o.AccessListJSON=p.AccessListJSON,l.AccessLists.verifyAccessList(o.accessList),o.maxFeePerGas=new s.BN((0,s.toBuffer)(""===f?"0x":f)),o.maxPriorityFeePerGas=new s.BN((0,s.toBuffer)(""===d?"0x":d)),o._validateCannotExceedMaxInteger({maxFeePerGas:o.maxFeePerGas,maxPriorityFeePerGas:o.maxPriorityFeePerGas}),o.gasLimit.mul(o.maxFeePerGas).gt(s.MAX_INTEGER)){var m=o._errorMsg("gasLimit * maxFeePerGas cannot exceed MAX_INTEGER (2^256-1)");throw new Error(m)}if(o.maxFeePerGas.lt(o.maxPriorityFeePerGas))throw m=o._errorMsg("maxFeePerGas cannot be less than maxPriorityFeePerGas (The total must be the larger of the two)"),new Error(m);if(o.v&&!o.v.eqn(0)&&!o.v.eqn(1))throw m=o._errorMsg("The y-parity of the transaction should either be 0 or 1"),new Error(m);if(o.common.gteHardfork("homestead")&&(null===(n=o.s)||void 0===n?void 0:n.gt(c.N_DIV_2)))throw m=o._errorMsg("Invalid Signature: s-values greater than secp256k1n/2 are considered invalid"),new Error(m);return o.common.isActivatedEIP(3860)&&(0,l.checkMaxInitCodeSize)(o.common,o.data.length),(null===(i=null==r?void 0:r.freeze)||void 0===i||i)&&Object.freeze(o),o}return o(e,t),Object.defineProperty(e.prototype,"senderR",{get:function(){return this.r},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"senderS",{get:function(){return this.s},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"yParity",{get:function(){return this.v},enumerable:!1,configurable:!0}),e.fromTxData=function(t,r){return void 0===r&&(r={}),new e(t,r)},e.fromSerializedTx=function(t,r){if(void 0===r&&(r={}),!t.slice(0,1).equals(h))throw new Error("Invalid serialized tx input: not an EIP-1559 transaction (wrong tx type, expected: ".concat(2,", received: ").concat(t.slice(0,1).toString("hex")));var n=s.rlp.decode(t.slice(1));if(!Array.isArray(n))throw new Error("Invalid serialized tx input: must be array");return e.fromValuesArray(n,r)},e.fromRlpSerializedTx=function(t,r){return void 0===r&&(r={}),e.fromSerializedTx(t,r)},e.fromValuesArray=function(t,r){if(void 0===r&&(r={}),9!==t.length&&12!==t.length)throw new Error("Invalid EIP-1559 transaction. Only expecting 9 values (for unsigned tx) or 12 values (for signed tx).");var n=function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a}(t,12),i=n[0],o=n[1],a=n[2],u=n[3],c=n[4],l=n[5],h=n[6],f=n[7],d=n[8],p=n[9],m=n[10],g=n[11];return(0,s.validateNoLeadingZeroes)({nonce:o,maxPriorityFeePerGas:a,maxFeePerGas:u,gasLimit:c,value:h,v:p,r:m,s:g}),new e({chainId:new s.BN(i),nonce:o,maxPriorityFeePerGas:a,maxFeePerGas:u,gasLimit:c,to:l,value:h,data:f,accessList:null!=d?d:[],v:void 0!==p?new s.BN(p):void 0,r:m,s:g},r)},e.prototype.getDataFee=function(){if(this.cache.dataFee&&this.cache.dataFee.hardfork===this.common.hardfork())return this.cache.dataFee.value;var e=t.prototype.getDataFee.call(this);return e.iaddn(l.AccessLists.getDataFeeEIP2930(this.accessList,this.common)),Object.isFrozen(this)&&(this.cache.dataFee={value:e,hardfork:this.common.hardfork()}),e},e.prototype.getUpfrontCost=function(t){void 0===t&&(t=new s.BN(0));var e=s.BN.min(this.maxPriorityFeePerGas,this.maxFeePerGas.sub(t)).add(t);return this.gasLimit.mul(e).add(this.value)},e.prototype.raw=function(){return[(0,s.bnToUnpaddedBuffer)(this.chainId),(0,s.bnToUnpaddedBuffer)(this.nonce),(0,s.bnToUnpaddedBuffer)(this.maxPriorityFeePerGas),(0,s.bnToUnpaddedBuffer)(this.maxFeePerGas),(0,s.bnToUnpaddedBuffer)(this.gasLimit),void 0!==this.to?this.to.buf:i.from([]),(0,s.bnToUnpaddedBuffer)(this.value),this.data,this.accessList,void 0!==this.v?(0,s.bnToUnpaddedBuffer)(this.v):i.from([]),void 0!==this.r?(0,s.bnToUnpaddedBuffer)(this.r):i.from([]),void 0!==this.s?(0,s.bnToUnpaddedBuffer)(this.s):i.from([])]},e.prototype.serialize=function(){var t=this.raw();return i.concat([h,s.rlp.encode(t)])},e.prototype.getMessageToSign=function(t){void 0===t&&(t=!0);var e=this.raw().slice(0,9),r=i.concat([h,s.rlp.encode(e)]);return t?(0,s.keccak256)(r):r},e.prototype.hash=function(){if(!this.isSigned()){var t=this._errorMsg("Cannot call hash method if transaction is not signed");throw new Error(t)}return Object.isFrozen(this)?(this.cache.hash||(this.cache.hash=(0,s.keccak256)(this.serialize())),this.cache.hash):(0,s.keccak256)(this.serialize())},e.prototype.getMessageToVerifySignature=function(){return this.getMessageToSign()},e.prototype.getSenderPublicKey=function(){var t;if(!this.isSigned()){var e=this._errorMsg("Cannot call this method if transaction is not signed");throw new Error(e)}var r=this.getMessageToVerifySignature();if(this.common.gteHardfork("homestead")&&(null===(t=this.s)||void 0===t?void 0:t.gt(c.N_DIV_2)))throw e=this._errorMsg("Invalid Signature: s-values greater than secp256k1n/2 are considered invalid"),new Error(e);var n=this,i=n.v,o=n.r,a=n.s;try{return(0,s.ecrecover)(r,i.addn(27),(0,s.bnToUnpaddedBuffer)(o),(0,s.bnToUnpaddedBuffer)(a))}catch(t){throw e=this._errorMsg("Invalid Signature"),new Error(e)}},e.prototype._processSignature=function(t,r,n){var i=a(a({},this.txOptions),{common:this.common});return e.fromTxData({chainId:this.chainId,nonce:this.nonce,maxPriorityFeePerGas:this.maxPriorityFeePerGas,maxFeePerGas:this.maxFeePerGas,gasLimit:this.gasLimit,to:this.to,value:this.value,data:this.data,accessList:this.accessList,v:new s.BN(t-27),r:new s.BN(r),s:new s.BN(n)},i)},e.prototype.toJSON=function(){var t=l.AccessLists.getAccessListJSON(this.accessList);return{chainId:(0,s.bnToHex)(this.chainId),nonce:(0,s.bnToHex)(this.nonce),maxPriorityFeePerGas:(0,s.bnToHex)(this.maxPriorityFeePerGas),maxFeePerGas:(0,s.bnToHex)(this.maxFeePerGas),gasLimit:(0,s.bnToHex)(this.gasLimit),to:void 0!==this.to?this.to.toString():void 0,value:(0,s.bnToHex)(this.value),data:"0x"+this.data.toString("hex"),accessList:t,v:void 0!==this.v?(0,s.bnToHex)(this.v):void 0,r:void 0!==this.r?(0,s.bnToHex)(this.r):void 0,s:void 0!==this.s?(0,s.bnToHex)(this.s):void 0}},e.prototype.errorStr=function(){return this._getSharedErrorPostfix()+" maxFeePerGas=".concat(this.maxFeePerGas," maxPriorityFeePerGas=").concat(this.maxPriorityFeePerGas)},e.prototype._errorMsg=function(t){return"".concat(t," (").concat(this.errorStr(),")")},e}(u.BaseTransaction);e.default=f},97613:(t,e,r)=>{"use strict";var n,i=r(29033).Buffer,o=(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},n(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),a=function(){return a=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},a.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var s=r(33062),u=r(75058),c=r(87325),l=r(53789),h=i.from(1..toString(16).padStart(2,"0"),"hex"),f=function(t){function e(e,r){void 0===r&&(r={});var n,i,o=this;(o=t.call(this,a(a({},e),{type:1}),r)||this).DEFAULT_HARDFORK="berlin";var u=e.chainId,h=e.accessList,f=e.gasPrice;if(o.common=o._getCommon(r.common,u),o.chainId=o.common.chainIdBN(),!o.common.isActivatedEIP(2930))throw new Error("EIP-2930 not enabled on Common");o.activeCapabilities=o.activeCapabilities.concat([2718,2930]);var d=l.AccessLists.getAccessListData(null!=h?h:[]);if(o.accessList=d.accessList,o.AccessListJSON=d.AccessListJSON,l.AccessLists.verifyAccessList(o.accessList),o.gasPrice=new s.BN((0,s.toBuffer)(""===f?"0x":f)),o._validateCannotExceedMaxInteger({gasPrice:o.gasPrice}),o.gasPrice.mul(o.gasLimit).gt(s.MAX_INTEGER)){var p=o._errorMsg("gasLimit * gasPrice cannot exceed MAX_INTEGER");throw new Error(p)}if(o.v&&!o.v.eqn(0)&&!o.v.eqn(1))throw p=o._errorMsg("The y-parity of the transaction should either be 0 or 1"),new Error(p);if(o.common.gteHardfork("homestead")&&(null===(n=o.s)||void 0===n?void 0:n.gt(c.N_DIV_2)))throw p=o._errorMsg("Invalid Signature: s-values greater than secp256k1n/2 are considered invalid"),new Error(p);return o.common.isActivatedEIP(3860)&&(0,l.checkMaxInitCodeSize)(o.common,o.data.length),(null===(i=null==r?void 0:r.freeze)||void 0===i||i)&&Object.freeze(o),o}return o(e,t),Object.defineProperty(e.prototype,"senderR",{get:function(){return this.r},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"senderS",{get:function(){return this.s},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"yParity",{get:function(){return this.v},enumerable:!1,configurable:!0}),e.fromTxData=function(t,r){return void 0===r&&(r={}),new e(t,r)},e.fromSerializedTx=function(t,r){if(void 0===r&&(r={}),!t.slice(0,1).equals(h))throw new Error("Invalid serialized tx input: not an EIP-2930 transaction (wrong tx type, expected: ".concat(1,", received: ").concat(t.slice(0,1).toString("hex")));var n=s.rlp.decode(t.slice(1));if(!Array.isArray(n))throw new Error("Invalid serialized tx input: must be array");return e.fromValuesArray(n,r)},e.fromRlpSerializedTx=function(t,r){return void 0===r&&(r={}),e.fromSerializedTx(t,r)},e.fromValuesArray=function(t,r){if(void 0===r&&(r={}),8!==t.length&&11!==t.length)throw new Error("Invalid EIP-2930 transaction. Only expecting 8 values (for unsigned tx) or 11 values (for signed tx).");var n=function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a}(t,11),i=n[0],o=n[1],a=n[2],u=n[3],c=n[4],l=n[5],h=n[6],f=n[7],d=n[8],p=n[9],m=n[10];return(0,s.validateNoLeadingZeroes)({nonce:o,gasPrice:a,gasLimit:u,value:l,v:d,r:p,s:m}),new e({chainId:new s.BN(i),nonce:o,gasPrice:a,gasLimit:u,to:c,value:l,data:h,accessList:null!=f?f:[],v:void 0!==d?new s.BN(d):void 0,r:p,s:m},r)},e.prototype.getDataFee=function(){if(this.cache.dataFee&&this.cache.dataFee.hardfork===this.common.hardfork())return this.cache.dataFee.value;var e=t.prototype.getDataFee.call(this);return e.iaddn(l.AccessLists.getDataFeeEIP2930(this.accessList,this.common)),Object.isFrozen(this)&&(this.cache.dataFee={value:e,hardfork:this.common.hardfork()}),e},e.prototype.getUpfrontCost=function(){return this.gasLimit.mul(this.gasPrice).add(this.value)},e.prototype.raw=function(){return[(0,s.bnToUnpaddedBuffer)(this.chainId),(0,s.bnToUnpaddedBuffer)(this.nonce),(0,s.bnToUnpaddedBuffer)(this.gasPrice),(0,s.bnToUnpaddedBuffer)(this.gasLimit),void 0!==this.to?this.to.buf:i.from([]),(0,s.bnToUnpaddedBuffer)(this.value),this.data,this.accessList,void 0!==this.v?(0,s.bnToUnpaddedBuffer)(this.v):i.from([]),void 0!==this.r?(0,s.bnToUnpaddedBuffer)(this.r):i.from([]),void 0!==this.s?(0,s.bnToUnpaddedBuffer)(this.s):i.from([])]},e.prototype.serialize=function(){var t=this.raw();return i.concat([h,s.rlp.encode(t)])},e.prototype.getMessageToSign=function(t){void 0===t&&(t=!0);var e=this.raw().slice(0,8),r=i.concat([h,s.rlp.encode(e)]);return t?(0,s.keccak256)(r):r},e.prototype.hash=function(){if(!this.isSigned()){var t=this._errorMsg("Cannot call hash method if transaction is not signed");throw new Error(t)}return Object.isFrozen(this)?(this.cache.hash||(this.cache.hash=(0,s.keccak256)(this.serialize())),this.cache.hash):(0,s.keccak256)(this.serialize())},e.prototype.getMessageToVerifySignature=function(){return this.getMessageToSign()},e.prototype.getSenderPublicKey=function(){var t;if(!this.isSigned()){var e=this._errorMsg("Cannot call this method if transaction is not signed");throw new Error(e)}var r=this.getMessageToVerifySignature();if(this.common.gteHardfork("homestead")&&(null===(t=this.s)||void 0===t?void 0:t.gt(c.N_DIV_2)))throw e=this._errorMsg("Invalid Signature: s-values greater than secp256k1n/2 are considered invalid"),new Error(e);var n=this,i=n.yParity,o=n.r,a=n.s;try{return(0,s.ecrecover)(r,i.addn(27),(0,s.bnToUnpaddedBuffer)(o),(0,s.bnToUnpaddedBuffer)(a))}catch(t){throw e=this._errorMsg("Invalid Signature"),new Error(e)}},e.prototype._processSignature=function(t,r,n){var i=a(a({},this.txOptions),{common:this.common});return e.fromTxData({chainId:this.chainId,nonce:this.nonce,gasPrice:this.gasPrice,gasLimit:this.gasLimit,to:this.to,value:this.value,data:this.data,accessList:this.accessList,v:new s.BN(t-27),r:new s.BN(r),s:new s.BN(n)},i)},e.prototype.toJSON=function(){var t=l.AccessLists.getAccessListJSON(this.accessList);return{chainId:(0,s.bnToHex)(this.chainId),nonce:(0,s.bnToHex)(this.nonce),gasPrice:(0,s.bnToHex)(this.gasPrice),gasLimit:(0,s.bnToHex)(this.gasLimit),to:void 0!==this.to?this.to.toString():void 0,value:(0,s.bnToHex)(this.value),data:"0x"+this.data.toString("hex"),accessList:t,v:void 0!==this.v?(0,s.bnToHex)(this.v):void 0,r:void 0!==this.r?(0,s.bnToHex)(this.r):void 0,s:void 0!==this.s?(0,s.bnToHex)(this.s):void 0}},e.prototype.errorStr=function(){var t,e;return this._getSharedErrorPostfix()+" gasPrice=".concat(this.gasPrice," accessListCount=").concat(null!==(e=null===(t=this.accessList)||void 0===t?void 0:t.length)&&void 0!==e?e:0)},e.prototype._errorMsg=function(t){return"".concat(t," (").concat(this.errorStr(),")")},e}(u.BaseTransaction);e.default=f},42339:(t,e,r)=>{"use strict";var n=Object.create?function(t,e,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);i&&!("get"in i?!e.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]},i=function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.FeeMarketEIP1559Transaction=e.TransactionFactory=e.AccessListEIP2930Transaction=e.Transaction=void 0;var o=r(53088);Object.defineProperty(e,"Transaction",{enumerable:!0,get:function(){return i(o).default}});var a=r(97613);Object.defineProperty(e,"AccessListEIP2930Transaction",{enumerable:!0,get:function(){return i(a).default}});var s=r(89562);Object.defineProperty(e,"TransactionFactory",{enumerable:!0,get:function(){return i(s).default}});var u=r(660);Object.defineProperty(e,"FeeMarketEIP1559Transaction",{enumerable:!0,get:function(){return i(u).default}}),function(t,e){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(e,r)||n(e,t,r)}(r(87325),e)},53088:(t,e,r)=>{"use strict";var n,i=r(29033).Buffer,o=(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},n(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),a=function(){return a=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},a.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var s=r(33062),u=r(87325),c=r(75058),l=r(53789),h=function(t){function e(e,r){void 0===r&&(r={});var n,i=this;if((i=t.call(this,a(a({},e),{type:0}),r)||this).common=i._validateTxV(i.v,r.common),i.gasPrice=new s.BN((0,s.toBuffer)(""===e.gasPrice?"0x":e.gasPrice)),i.gasPrice.mul(i.gasLimit).gt(s.MAX_INTEGER)){var o=i._errorMsg("gas limit * gasPrice cannot exceed MAX_INTEGER (2^256-1)");throw new Error(o)}if(i._validateCannotExceedMaxInteger({gasPrice:i.gasPrice}),i.common.gteHardfork("spuriousDragon"))if(i.isSigned()){var c=i.v,h=i.common.chainIdBN().muln(2);(c.eq(h.addn(35))||c.eq(h.addn(36)))&&i.activeCapabilities.push(u.Capability.EIP155ReplayProtection)}else i.activeCapabilities.push(u.Capability.EIP155ReplayProtection);return i.common.isActivatedEIP(3860)&&(0,l.checkMaxInitCodeSize)(i.common,i.data.length),(null===(n=null==r?void 0:r.freeze)||void 0===n||n)&&Object.freeze(i),i}return o(e,t),e.fromTxData=function(t,r){return void 0===r&&(r={}),new e(t,r)},e.fromSerializedTx=function(t,e){void 0===e&&(e={});var r=s.rlp.decode(t);if(!Array.isArray(r))throw new Error("Invalid serialized tx input. Must be array");return this.fromValuesArray(r,e)},e.fromRlpSerializedTx=function(t,r){return void 0===r&&(r={}),e.fromSerializedTx(t,r)},e.fromValuesArray=function(t,r){if(void 0===r&&(r={}),6!==t.length&&9!==t.length)throw new Error("Invalid transaction. Only expecting 6 values (for unsigned tx) or 9 values (for signed tx).");var n=function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a}(t,9),i=n[0],o=n[1],a=n[2],u=n[3],c=n[4],l=n[5],h=n[6],f=n[7],d=n[8];return(0,s.validateNoLeadingZeroes)({nonce:i,gasPrice:o,gasLimit:a,value:c,v:h,r:f,s:d}),new e({nonce:i,gasPrice:o,gasLimit:a,to:u,value:c,data:l,v:h,r:f,s:d},r)},e.prototype.raw=function(){return[(0,s.bnToUnpaddedBuffer)(this.nonce),(0,s.bnToUnpaddedBuffer)(this.gasPrice),(0,s.bnToUnpaddedBuffer)(this.gasLimit),void 0!==this.to?this.to.buf:i.from([]),(0,s.bnToUnpaddedBuffer)(this.value),this.data,void 0!==this.v?(0,s.bnToUnpaddedBuffer)(this.v):i.from([]),void 0!==this.r?(0,s.bnToUnpaddedBuffer)(this.r):i.from([]),void 0!==this.s?(0,s.bnToUnpaddedBuffer)(this.s):i.from([])]},e.prototype.serialize=function(){return s.rlp.encode(this.raw())},e.prototype._getMessageToSign=function(){var t=[(0,s.bnToUnpaddedBuffer)(this.nonce),(0,s.bnToUnpaddedBuffer)(this.gasPrice),(0,s.bnToUnpaddedBuffer)(this.gasLimit),void 0!==this.to?this.to.buf:i.from([]),(0,s.bnToUnpaddedBuffer)(this.value),this.data];return this.supports(u.Capability.EIP155ReplayProtection)&&(t.push((0,s.toBuffer)(this.common.chainIdBN())),t.push((0,s.unpadBuffer)((0,s.toBuffer)(0))),t.push((0,s.unpadBuffer)((0,s.toBuffer)(0)))),t},e.prototype.getMessageToSign=function(t){void 0===t&&(t=!0);var e=this._getMessageToSign();return t?(0,s.rlphash)(e):e},e.prototype.getDataFee=function(){return this.cache.dataFee&&this.cache.dataFee.hardfork===this.common.hardfork()?this.cache.dataFee.value:(Object.isFrozen(this)&&(this.cache.dataFee={value:t.prototype.getDataFee.call(this),hardfork:this.common.hardfork()}),t.prototype.getDataFee.call(this))},e.prototype.getUpfrontCost=function(){return this.gasLimit.mul(this.gasPrice).add(this.value)},e.prototype.hash=function(){return Object.isFrozen(this)?(this.cache.hash||(this.cache.hash=(0,s.rlphash)(this.raw())),this.cache.hash):(0,s.rlphash)(this.raw())},e.prototype.getMessageToVerifySignature=function(){if(!this.isSigned()){var t=this._errorMsg("This transaction is not signed");throw new Error(t)}var e=this._getMessageToSign();return(0,s.rlphash)(e)},e.prototype.getSenderPublicKey=function(){var t,e=this.getMessageToVerifySignature();if(this.common.gteHardfork("homestead")&&(null===(t=this.s)||void 0===t?void 0:t.gt(u.N_DIV_2))){var r=this._errorMsg("Invalid Signature: s-values greater than secp256k1n/2 are considered invalid");throw new Error(r)}var n=this,i=n.v,o=n.r,a=n.s;try{return(0,s.ecrecover)(e,i,(0,s.bnToUnpaddedBuffer)(o),(0,s.bnToUnpaddedBuffer)(a),this.supports(u.Capability.EIP155ReplayProtection)?this.common.chainIdBN():void 0)}catch(t){throw r=this._errorMsg("Invalid Signature"),new Error(r)}},e.prototype._processSignature=function(t,r,n){var i=new s.BN(t);this.supports(u.Capability.EIP155ReplayProtection)&&i.iadd(this.common.chainIdBN().muln(2).addn(8));var o=a(a({},this.txOptions),{common:this.common});return e.fromTxData({nonce:this.nonce,gasPrice:this.gasPrice,gasLimit:this.gasLimit,to:this.to,value:this.value,data:this.data,v:i,r:new s.BN(r),s:new s.BN(n)},o)},e.prototype.toJSON=function(){return{nonce:(0,s.bnToHex)(this.nonce),gasPrice:(0,s.bnToHex)(this.gasPrice),gasLimit:(0,s.bnToHex)(this.gasLimit),to:void 0!==this.to?this.to.toString():void 0,value:(0,s.bnToHex)(this.value),data:"0x"+this.data.toString("hex"),v:void 0!==this.v?(0,s.bnToHex)(this.v):void 0,r:void 0!==this.r?(0,s.bnToHex)(this.r):void 0,s:void 0!==this.s?(0,s.bnToHex)(this.s):void 0}},e.prototype._validateTxV=function(t,e){if(void 0!==t&&t.ltn(37)&&!t.eqn(27)&&!t.eqn(28))throw new Error("Legacy txs need either v = 27/28 or v >= 37 (EIP-155 replay protection), got v = ".concat(t));var r;if(void 0!==t&&(!e||e.gteHardfork("spuriousDragon"))&&!t.eqn(27)&&!t.eqn(28))if(e){var n=e.chainIdBN().muln(2);if(!t.eq(n.addn(35))&&!t.eq(n.addn(36)))throw new Error("Incompatible EIP155-based V ".concat(t," and chain id ").concat(e.chainIdBN(),". See the Common parameter of the Transaction constructor to set the chain id."))}else{var i;i=t.subn(35).isEven()?35:36,r=t.subn(i).divn(2)}return this._getCommon(e,r)},e.prototype._unsignedTxImplementsEIP155=function(){return this.common.gteHardfork("spuriousDragon")},e.prototype._signedTxImplementsEIP155=function(){if(!this.isSigned()){var t=this._errorMsg("This transaction is not signed");throw new Error(t)}var e=this.common.gteHardfork("spuriousDragon"),r=this.v,n=this.common.chainIdBN().muln(2);return(r.eq(n.addn(35))||r.eq(n.addn(36)))&&e},e.prototype.errorStr=function(){return this._getSharedErrorPostfix()+" gasPrice=".concat(this.gasPrice)},e.prototype._errorMsg=function(t){return"".concat(t," (").concat(this.errorStr(),")")},e}(c.BaseTransaction);e.default=h},89562:(t,e,r)=>{"use strict";var n=r(29033).Buffer;Object.defineProperty(e,"__esModule",{value:!0});var i=r(33062),o=r(42339),a=function(){function t(){}return t.fromTxData=function(t,e){if(void 0===e&&(e={}),"type"in t&&void 0!==t.type){var r=new i.BN((0,i.toBuffer)(t.type)).toNumber();if(0===r)return o.Transaction.fromTxData(t,e);if(1===r)return o.AccessListEIP2930Transaction.fromTxData(t,e);if(2===r)return o.FeeMarketEIP1559Transaction.fromTxData(t,e);throw new Error("Tx instantiation with type ".concat(r," not supported"))}return o.Transaction.fromTxData(t,e)},t.fromSerializedData=function(t,e){if(void 0===e&&(e={}),t[0]<=127){var r=void 0;switch(t[0]){case 1:r=2930;break;case 2:r=1559;break;default:throw new Error("TypedTransaction with ID ".concat(t[0]," unknown"))}return 1559===r?o.FeeMarketEIP1559Transaction.fromSerializedTx(t,e):o.AccessListEIP2930Transaction.fromSerializedTx(t,e)}return o.Transaction.fromSerializedTx(t,e)},t.fromBlockBodyData=function(t,e){if(void 0===e&&(e={}),n.isBuffer(t))return this.fromSerializedData(t,e);if(Array.isArray(t))return o.Transaction.fromValuesArray(t,e);throw new Error("Cannot decode transaction: unknown type input")},t.getTransactionClass=function(t,e){if(void 0===t&&(t=0),0==t||t>=128&&t<=255)return o.Transaction;switch(t){case 1:return o.AccessListEIP2930Transaction;case 2:return o.FeeMarketEIP1559Transaction;default:throw new Error("TypedTransaction with ID ".concat(t," unknown"))}},t}();e.default=a},87325:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.N_DIV_2=e.isAccessList=e.isAccessListBuffer=e.Capability=void 0;var n,i=r(33062);function o(t){if(0===t.length)return!0;var e=t[0];return!!Array.isArray(e)}(n=e.Capability||(e.Capability={}))[n.EIP155ReplayProtection=155]="EIP155ReplayProtection",n[n.EIP1559FeeMarket=1559]="EIP1559FeeMarket",n[n.EIP2718TypedTransaction=2718]="EIP2718TypedTransaction",n[n.EIP2930AccessLists=2930]="EIP2930AccessLists",e.isAccessListBuffer=o,e.isAccessList=function(t){return!o(t)},e.N_DIV_2=new i.BN("7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0",16)},53789:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AccessLists=e.checkMaxInitCodeSize=void 0;var n=r(33062),i=r(87325);e.checkMaxInitCodeSize=function(t,e){if(e>t.param("vm","maxInitCodeSize"))throw new Error("the initcode size of this transaction is too large: it is ".concat(e," while the max is ").concat(t.param("vm","maxInitCodeSize")))};var o=function(){function t(){}return t.getAccessListData=function(t){var e,r;if(t&&(0,i.isAccessList)(t)){e=t;for(var o=[],a=0;a<t.length;a++){for(var s=t[a],u=(0,n.toBuffer)(s.address),c=[],l=0;l<s.storageKeys.length;l++)c.push((0,n.toBuffer)(s.storageKeys[l]));o.push([u,c])}r=o}else{r=null!=t?t:[];var h=[];for(a=0;a<r.length;a++){var f=r[a],d=(0,n.bufferToHex)(f[0]),p=[];for(s=0;s<f[1].length;s++)p.push((0,n.bufferToHex)(f[1][s]));var m={address:d,storageKeys:p};h.push(m)}e=h}return{AccessListJSON:e,accessList:r}},t.verifyAccessList=function(t){for(var e=0;e<t.length;e++){var r=t[e],n=r[0],i=r[1];if(void 0!==r[2])throw new Error("Access list item cannot have 3 elements. It can only have an address, and an array of storage slots.");if(20!=n.length)throw new Error("Invalid EIP-2930 transaction: address length should be 20 bytes");for(var o=0;o<i.length;o++)if(32!=i[o].length)throw new Error("Invalid EIP-2930 transaction: storage slot length should be 32 bytes")}},t.getAccessListJSON=function(t){for(var e=[],r=0;r<t.length;r++){for(var i=t[r],o={address:"0x"+(0,n.setLengthLeft)(i[0],20).toString("hex"),storageKeys:[]},a=i[1],s=0;s<a.length;s++){var u=a[s];o.storageKeys.push("0x"+(0,n.setLengthLeft)(u,32).toString("hex"))}e.push(o)}return e},t.getDataFeeEIP2930=function(t,e){for(var r=e.param("gasPrices","accessListStorageKeyCost"),n=e.param("gasPrices","accessListAddressCost"),i=0,o=0;o<t.length;o++)i+=t[o][1].length;return t.length*n+i*r},t}();e.AccessLists=o},59786:(t,e,r)=>{"use strict";var n=r(29033).Buffer,i=r(28847),o=i(r(74519)),a=i(r(69721)),s=i(r(58985));Object.defineProperty(e,"__esModule",{value:!0}),e.accountBodyToRLP=e.accountBodyToSlim=e.accountBodyFromSlim=e.isZeroAddress=e.zeroAddress=e.importPublic=e.privateToAddress=e.privateToPublic=e.publicToAddress=e.pubToAddress=e.isValidPublic=e.isValidPrivate=e.generateAddress2=e.generateAddress=e.isValidChecksumAddress=e.toChecksumAddress=e.isValidAddress=e.Account=void 0;var u=r(89658),c=r(1243),l=r(86992),h=r(40890),f=r(55803),d=r(21449),p=r(99047),m=r(72560),g=BigInt(0),y=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:d.KECCAK256_RLP,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:d.KECCAK256_NULL;(0,a.default)(this,t),this.nonce=e,this.balance=r,this.storageRoot=n,this.codeHash=i,this._validate()}return(0,s.default)(t,[{key:"_validate",value:function(){if(this.nonce<g)throw new Error("nonce must be greater than zero");if(this.balance<g)throw new Error("balance must be greater than zero");if(32!==this.storageRoot.length)throw new Error("storageRoot must have a length of 32");if(32!==this.codeHash.length)throw new Error("codeHash must have a length of 32")}},{key:"raw",value:function(){return[(0,f.bigIntToUnpaddedBuffer)(this.nonce),(0,f.bigIntToUnpaddedBuffer)(this.balance),this.storageRoot,this.codeHash]}},{key:"serialize",value:function(){return n.from(u.RLP.encode((0,f.bufArrToArr)(this.raw())))}},{key:"isContract",value:function(){return!this.codeHash.equals(d.KECCAK256_NULL)}},{key:"isEmpty",value:function(){return this.balance===g&&this.nonce===g&&this.codeHash.equals(d.KECCAK256_NULL)}}],[{key:"fromAccountData",value:function(e){var r=e.nonce,n=e.balance,i=e.storageRoot,o=e.codeHash;return new t(void 0!==r?(0,f.bufferToBigInt)((0,f.toBuffer)(r)):void 0,void 0!==n?(0,f.bufferToBigInt)((0,f.toBuffer)(n)):void 0,void 0!==i?(0,f.toBuffer)(i):void 0,void 0!==o?(0,f.toBuffer)(o):void 0)}},{key:"fromRlpSerializedAccount",value:function(t){var e=(0,f.arrToBufArr)(u.RLP.decode(Uint8Array.from(t)));if(!Array.isArray(e))throw new Error("Invalid serialized account input. Must be array");return this.fromValuesArray(e)}},{key:"fromValuesArray",value:function(e){var r=(0,o.default)(e,4),n=r[0],i=r[1],a=r[2],s=r[3];return new t((0,f.bufferToBigInt)(n),(0,f.bufferToBigInt)(i),a,s)}}]),t}();function v(t){var e=(0,o.default)(t,4),r=e[0],n=e[1],i=e[2],a=e[3];return[r,n,0===(0,f.arrToBufArr)(i).length?d.KECCAK256_RLP:i,0===(0,f.arrToBufArr)(a).length?d.KECCAK256_NULL:a]}e.Account=y,e.isValidAddress=function(t){try{(0,p.assertIsString)(t)}catch(t){return!1}return/^0x[0-9a-fA-F]{40}$/.test(t)},e.toChecksumAddress=function(t,e){(0,p.assertIsHexString)(t);var r=(0,m.stripHexPrefix)(t).toLowerCase(),i="";void 0!==e&&(i=(0,f.bufferToBigInt)((0,f.toBuffer)(e)).toString()+"0x");for(var o=n.from(i+r,"utf8"),a=(0,h.bytesToHex)((0,c.keccak256)(o)),s="0x",u=0;u<r.length;u++)parseInt(a[u],16)>=8?s+=r[u].toUpperCase():s+=r[u];return s},e.isValidChecksumAddress=function(t,r){return(0,e.isValidAddress)(t)&&(0,e.toChecksumAddress)(t,r)===t},e.generateAddress=function(t,e){return(0,p.assertIsBuffer)(t),(0,p.assertIsBuffer)(e),(0,f.bufferToBigInt)(e)===BigInt(0)?n.from((0,c.keccak256)(u.RLP.encode((0,f.bufArrToArr)([t,null])))).slice(-20):n.from((0,c.keccak256)(u.RLP.encode((0,f.bufArrToArr)([t,e])))).slice(-20)},e.generateAddress2=function(t,e,r){if((0,p.assertIsBuffer)(t),(0,p.assertIsBuffer)(e),(0,p.assertIsBuffer)(r),20!==t.length)throw new Error("Expected from to be of length 20");if(32!==e.length)throw new Error("Expected salt to be of length 32");var i=(0,c.keccak256)(n.concat([n.from("ff","hex"),t,e,(0,c.keccak256)(r)]));return(0,f.toBuffer)(i).slice(-20)},e.isValidPrivate=function(t){return l.secp256k1.utils.isValidPrivateKey(t)},e.isValidPublic=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if((0,p.assertIsBuffer)(t),64===t.length)try{return l.secp256k1.ProjectivePoint.fromHex(n.concat([n.from([4]),t])),!0}catch(t){return!1}if(!e)return!1;try{return l.secp256k1.ProjectivePoint.fromHex(t),!0}catch(t){return!1}},e.pubToAddress=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if((0,p.assertIsBuffer)(t),e&&64!==t.length&&(t=n.from(l.secp256k1.ProjectivePoint.fromHex(t).toRawBytes(!1).slice(1))),64!==t.length)throw new Error("Expected pubKey to be of length 64");return n.from((0,c.keccak256)(t)).slice(-20)},e.publicToAddress=e.pubToAddress,e.privateToPublic=function(t){return(0,p.assertIsBuffer)(t),n.from(l.secp256k1.ProjectivePoint.fromPrivateKey(t).toRawBytes(!1).slice(1))},e.privateToAddress=function(t){return(0,e.publicToAddress)((0,e.privateToPublic)(t))},e.importPublic=function(t){return(0,p.assertIsBuffer)(t),64!==t.length&&(t=n.from(l.secp256k1.ProjectivePoint.fromHex(t).toRawBytes(!1).slice(1))),t},e.zeroAddress=function(){var t=(0,f.zeros)(20);return(0,f.bufferToHex)(t)},e.isZeroAddress=function(t){try{(0,p.assertIsString)(t)}catch(t){return!1}return(0,e.zeroAddress)()===t},e.accountBodyFromSlim=v;var b=new Uint8Array(0);e.accountBodyToSlim=function(t){var e=(0,o.default)(t,4),r=e[0],n=e[1],i=e[2],a=e[3];return[r,n,(0,f.arrToBufArr)(i).equals(d.KECCAK256_RLP)?b:i,(0,f.arrToBufArr)(a).equals(d.KECCAK256_NULL)?b:a]},e.accountBodyToRLP=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&!arguments[1]?t:v(t);return(0,f.arrToBufArr)(u.RLP.encode(e))}},78718:(t,e,r)=>{"use strict";var n=r(29033).Buffer,i=r(28847),o=i(r(69721)),a=i(r(58985));Object.defineProperty(e,"__esModule",{value:!0}),e.Address=void 0;var s=r(59786),u=r(55803),c=function(){function t(e){if((0,o.default)(this,t),20!==e.length)throw new Error("Invalid address length");this.buf=e}return(0,a.default)(t,[{key:"equals",value:function(t){return this.buf.equals(t.buf)}},{key:"isZero",value:function(){return this.equals(t.zero())}},{key:"isPrecompileOrSystemAddress",value:function(){var t=(0,u.bufferToBigInt)(this.buf),e=BigInt(0),r=BigInt("0xffff");return t>=e&&t<=r}},{key:"toString",value:function(){return"0x"+this.buf.toString("hex")}},{key:"toBuffer",value:function(){return n.from(this.buf)}}],[{key:"zero",value:function(){return new t((0,u.zeros)(20))}},{key:"fromString",value:function(e){if(!(0,s.isValidAddress)(e))throw new Error("Invalid address");return new t((0,u.toBuffer)(e))}},{key:"fromPublicKey",value:function(e){if(!n.isBuffer(e))throw new Error("Public key should be Buffer");return new t((0,s.pubToAddress)(e))}},{key:"fromPrivateKey",value:function(e){if(!n.isBuffer(e))throw new Error("Private key should be Buffer");return new t((0,s.privateToAddress)(e))}},{key:"generate",value:function(e,r){if("bigint"!=typeof r)throw new Error("Expected nonce to be a bigint");return new t((0,s.generateAddress)(e.buf,(0,u.bigIntToBuffer)(r)))}},{key:"generate2",value:function(e,r,i){if(!n.isBuffer(r))throw new Error("Expected salt to be a Buffer");if(!n.isBuffer(i))throw new Error("Expected initCode to be a Buffer");return new t((0,s.generateAddress2)(e.buf,r,i))}}]),t}();e.Address=c},77692:(t,e,r)=>{"use strict";var n=r(28847),i=n(r(82247)),o=n(r(69721)),a=n(r(58985)),s=n(r(119)),u=n(r(15163)),c=n(r(34650)),l=n(r(21949)),h=n(r(94571));function f(t){var e,r,n,i=2;for("undefined"!=typeof Symbol&&(r=Symbol.asyncIterator,n=Symbol.iterator);i--;){if(r&&null!=(e=t[r]))return e.call(t);if(n&&null!=(e=t[n]))return new d(e.call(t));r="@@asyncIterator",n="@@iterator"}throw new TypeError("Object is not async iterable")}function d(t){function e(t){if(Object(t)!==t)return Promise.reject(new TypeError(t+" is not an object."));var e=t.done;return Promise.resolve(t.value).then((function(t){return{value:t,done:e}}))}return d=function(t){this.s=t,this.n=t.next},d.prototype={s:null,n:null,next:function(){return e(this.n.apply(this.s,arguments))},return:function(t){var r=this.s.return;return void 0===r?Promise.resolve({value:t,done:!0}):e(r.apply(this.s,arguments))},throw:function(t){var r=this.s.return;return void 0===r?Promise.reject(t):e(r.apply(this.s,arguments))}},new d(t)}function p(){return(p=(0,h.default)(i.default.mark((function t(e,r,n){var o,a,s,u,c,l,h;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:a=!1,s=!1,t.prev=2,c=i.default.mark((function t(){var r;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=h.value,t.prev=1,!(r.length<2)){t.next=6;break}r.call(e,n),t.next=8;break;case 6:return t.next=8,new Promise((function(t,i){r.call(e,n,(function(e){e?i(e):t()}))}));case 8:t.next=13;break;case 10:t.prev=10,t.t0=t.catch(1),o=t.t0;case 13:case"end":return t.stop()}}),t,null,[[1,10]])})),l=f(r);case 5:return t.next=7,l.next();case 7:if(!(a=!(h=t.sent).done)){t.next=12;break}return t.delegateYield(c(),"t0",9);case 9:a=!1,t.next=5;break;case 12:t.next=18;break;case 14:t.prev=14,t.t1=t.catch(2),s=!0,u=t.t1;case 18:if(t.prev=18,t.prev=19,!a||null==l.return){t.next=23;break}return t.next=23,l.return();case 23:if(t.prev=23,!s){t.next=26;break}throw u;case 26:return t.finish(23);case 27:return t.finish(18);case 28:if(!o){t.next=30;break}throw o;case 30:case"end":return t.stop()}}),t,null,[[2,14,18,28],[19,,23,27]])})))).apply(this,arguments)}Object.defineProperty(e,"__esModule",{value:!0}),e.AsyncEventEmitter=void 0;var m=function(t){(0,u.default)(i,t);var e,r,n=(e=i,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=(0,l.default)(e);if(r){var i=(0,l.default)(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return(0,c.default)(this,t)});function i(){return(0,o.default)(this,i),n.apply(this,arguments)}return(0,a.default)(i,[{key:"emit",value:function(t){for(var e,r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];var o=n[0],a=n[1],s=this,u=null!==(e=s._events[t])&&void 0!==e?e:[];return void 0===a&&"function"==typeof o&&(a=o,o=void 0),"newListener"!==t&&"removeListener"!==t||(o={event:o,fn:a},a=void 0),function(t,e,r){return p.apply(this,arguments)}(s,(u=Array.isArray(u)?u:[u]).slice(),o).then(a).catch(a),s.listenerCount(t)>0}},{key:"once",value:function(t,e){var r,n=this;if("function"!=typeof e)throw new TypeError("listener must be a function");return r=e.length>=2?function(i,o){n.removeListener(t,r),e(i,o)}:function(i){n.removeListener(t,r),e(i,r)},n.on(t,r),n}},{key:"first",value:function(t,e){var r,n=null!==(r=this._events[t])&&void 0!==r?r:[];if("function"!=typeof e)throw new TypeError("listener must be a function");return Array.isArray(n)||(this._events[t]=n=[n]),n.unshift(e),this}},{key:"before",value:function(t,e,r){return this.beforeOrAfter(t,e,r)}},{key:"after",value:function(t,e,r){return this.beforeOrAfter(t,e,r,"after")}},{key:"beforeOrAfter",value:function(t,e,r,n){var i,o,a,s=null!==(i=this._events[t])&&void 0!==i?i:[],u="after"===n?1:0;if("function"!=typeof r)throw new TypeError("listener must be a function");if("function"!=typeof e)throw new TypeError("target must be a function");for(Array.isArray(s)||(this._events[t]=s=[s]),a=s.length,o=s.length;o--;)if(s[o]===e){a=o+u;break}return s.splice(a,0,r),this}},{key:"on",value:function(t,e){return(0,s.default)((0,l.default)(i.prototype),"on",this).call(this,t,e)}},{key:"addListener",value:function(t,e){return(0,s.default)((0,l.default)(i.prototype),"addListener",this).call(this,t,e)}},{key:"prependListener",value:function(t,e){return(0,s.default)((0,l.default)(i.prototype),"prependListener",this).call(this,t,e)}},{key:"prependOnceListener",value:function(t,e){return(0,s.default)((0,l.default)(i.prototype),"prependOnceListener",this).call(this,t,e)}},{key:"removeAllListeners",value:function(t){return(0,s.default)((0,l.default)(i.prototype),"removeAllListeners",this).call(this,t)}},{key:"removeListener",value:function(t,e){return(0,s.default)((0,l.default)(i.prototype),"removeListener",this).call(this,t,e)}},{key:"eventNames",value:function(){return(0,s.default)((0,l.default)(i.prototype),"eventNames",this).call(this)}},{key:"listeners",value:function(t){return(0,s.default)((0,l.default)(i.prototype),"listeners",this).call(this,t)}},{key:"listenerCount",value:function(t){return(0,s.default)((0,l.default)(i.prototype),"listenerCount",this).call(this,t)}},{key:"getMaxListeners",value:function(){return(0,s.default)((0,l.default)(i.prototype),"getMaxListeners",this).call(this)}},{key:"setMaxListeners",value:function(t){return(0,s.default)((0,l.default)(i.prototype),"setMaxListeners",this).call(this,t)}}]),i}(r(38291).EventEmitter);e.AsyncEventEmitter=m},55803:(t,e,r)=>{"use strict";var n=r(29033).Buffer,i=r(28847)(r(74519));Object.defineProperty(e,"__esModule",{value:!0}),e.intToUnpaddedBuffer=e.bigIntToUnpaddedBuffer=e.bigIntToHex=e.bufArrToArr=e.arrToBufArr=e.validateNoLeadingZeroes=e.baToJSON=e.toUtf8=e.short=e.addHexPrefix=e.toUnsigned=e.fromSigned=e.bufferToInt=e.bigIntToBuffer=e.bufferToBigInt=e.bufferToHex=e.toBuffer=e.unpadHexString=e.unpadArray=e.unpadBuffer=e.setLengthRight=e.setLengthLeft=e.zeros=e.intToBuffer=e.intToHex=void 0;var o=r(99047),a=r(72560);e.intToHex=function(t){if(!Number.isSafeInteger(t)||t<0)throw new Error("Received an invalid integer type: ".concat(t));return"0x".concat(t.toString(16))},e.intToBuffer=function(t){var r=(0,e.intToHex)(t);return n.from((0,a.padToEven)(r.slice(2)),"hex")},e.zeros=function(t){return n.allocUnsafe(t).fill(0)};var s=function(t,r,n){var i=(0,e.zeros)(r);return n?t.length<r?(t.copy(i),i):t.slice(0,r):t.length<r?(t.copy(i,r-t.length),i):t.slice(-r)};e.setLengthLeft=function(t,e){return(0,o.assertIsBuffer)(t),s(t,e,!1)},e.setLengthRight=function(t,e){return(0,o.assertIsBuffer)(t),s(t,e,!0)};var u=function(t){for(var e=t[0];t.length>0&&"0"===e.toString();)e=(t=t.slice(1))[0];return t};function c(t){var r=(0,e.bufferToHex)(t);return"0x"===r?BigInt(0):BigInt(r)}function l(t){return(0,e.toBuffer)("0x"+t.toString(16))}e.unpadBuffer=function(t){return(0,o.assertIsBuffer)(t),u(t)},e.unpadArray=function(t){return(0,o.assertIsArray)(t),u(t)},e.unpadHexString=function(t){return(0,o.assertIsHexString)(t),t=(0,a.stripHexPrefix)(t),"0x"+u(t)},e.toBuffer=function(t){if(null==t)return n.allocUnsafe(0);if(n.isBuffer(t))return n.from(t);if(Array.isArray(t)||t instanceof Uint8Array)return n.from(t);if("string"==typeof t){if(!(0,a.isHexString)(t))throw new Error("Cannot convert string to buffer. toBuffer only supports 0x-prefixed hex strings and this string was given: ".concat(t));return n.from((0,a.padToEven)((0,a.stripHexPrefix)(t)),"hex")}if("number"==typeof t)return(0,e.intToBuffer)(t);if("bigint"==typeof t){if(t<BigInt(0))throw new Error("Cannot convert negative bigint to buffer. Given: ".concat(t));var r=t.toString(16);return r.length%2&&(r="0"+r),n.from(r,"hex")}if(t.toArray)return n.from(t.toArray());if(t.toBuffer)return n.from(t.toBuffer());throw new Error("invalid type")},e.bufferToHex=function(t){return"0x"+(t=(0,e.toBuffer)(t)).toString("hex")},e.bufferToBigInt=c,e.bigIntToBuffer=l,e.bufferToInt=function(t){var e=Number(c(t));if(!Number.isSafeInteger(e))throw new Error("Number exceeds 53 bits");return e},e.fromSigned=function(t){return BigInt.asIntN(256,c(t))},e.toUnsigned=function(t){return l(BigInt.asUintN(256,t))},e.addHexPrefix=function(t){return"string"!=typeof t||(0,a.isHexPrefixed)(t)?t:"0x"+t},e.short=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50,r=n.isBuffer(t)?t.toString("hex"):t;return r.length<=e?r:r.slice(0,e)+"…"},e.toUtf8=function(t){if((t=(0,a.stripHexPrefix)(t)).length%2!=0)throw new Error("Invalid non-even hex string input for toUtf8() provided");return n.from(t.replace(/^(00)+|(00)+$/g,""),"hex").toString("utf8")},e.baToJSON=function(t){if(n.isBuffer(t))return"0x".concat(t.toString("hex"));if(t instanceof Array){for(var r=[],i=0;i<t.length;i++)r.push((0,e.baToJSON)(t[i]));return r}},e.validateNoLeadingZeroes=function(t){for(var e=0,r=Object.entries(t);e<r.length;e++){var n=(0,i.default)(r[e],2),o=n[0],a=n[1];if(void 0!==a&&a.length>0&&0===a[0])throw new Error("".concat(o," cannot have leading zeroes, received: ").concat(a.toString("hex")))}},e.arrToBufArr=function t(e){return Array.isArray(e)?e.map((function(e){return t(e)})):n.from(e)},e.bufArrToArr=function t(e){return Array.isArray(e)?e.map((function(e){return t(e)})):Uint8Array.from(null!=e?e:[])},e.bigIntToHex=function(t){return"0x"+t.toString(16)},e.bigIntToUnpaddedBuffer=function(t){return(0,e.unpadBuffer)(l(t))},e.intToUnpaddedBuffer=function(t){return(0,e.unpadBuffer)((0,e.intToBuffer)(t))}},21449:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MAX_WITHDRAWALS_PER_PAYLOAD=e.RLP_EMPTY_STRING=e.KECCAK256_RLP=e.KECCAK256_RLP_S=e.KECCAK256_RLP_ARRAY=e.KECCAK256_RLP_ARRAY_S=e.KECCAK256_NULL=e.KECCAK256_NULL_S=e.TWO_POW256=e.SECP256K1_ORDER_DIV_2=e.SECP256K1_ORDER=e.MAX_INTEGER_BIGINT=e.MAX_INTEGER=e.MAX_UINT64=void 0;var n=r(29033),i=r(86992);e.MAX_UINT64=BigInt("0xffffffffffffffff"),e.MAX_INTEGER=BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),e.MAX_INTEGER_BIGINT=BigInt("115792089237316195423570985008687907853269984665640564039457584007913129639935"),e.SECP256K1_ORDER=i.secp256k1.CURVE.n,e.SECP256K1_ORDER_DIV_2=i.secp256k1.CURVE.n/BigInt(2),e.TWO_POW256=BigInt("0x10000000000000000000000000000000000000000000000000000000000000000"),e.KECCAK256_NULL_S="c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",e.KECCAK256_NULL=n.Buffer.from(e.KECCAK256_NULL_S,"hex"),e.KECCAK256_RLP_ARRAY_S="1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",e.KECCAK256_RLP_ARRAY=n.Buffer.from(e.KECCAK256_RLP_ARRAY_S,"hex"),e.KECCAK256_RLP_S="56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",e.KECCAK256_RLP=n.Buffer.from(e.KECCAK256_RLP_S,"hex"),e.RLP_EMPTY_STRING=n.Buffer.from([128]),e.MAX_WITHDRAWALS_PER_PAYLOAD=16},89890:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.compactBytesToNibbles=e.bytesToNibbles=e.nibblesToCompactBytes=e.nibblesToBytes=e.hasTerminator=void 0,e.hasTerminator=function(t){return t.length>0&&16===t[t.length-1]},e.nibblesToBytes=function(t,e){for(var r=0,n=0;n<t.length;r+=1,n+=2)e[r]=t[n]<<4|t[n+1]},e.nibblesToCompactBytes=function(t){var r=0;(0,e.hasTerminator)(t)&&(r=1,t=t.subarray(0,t.length-1));var n=new Uint8Array(t.length/2+1);return n[0]=r<<5,1==(1&t.length)&&(n[0]|=16,n[0]|=t[0],t=t.subarray(1)),(0,e.nibblesToBytes)(t,n.subarray(1)),n},e.bytesToNibbles=function(t){for(var e=2*t.length+1,r=new Uint8Array(e),n=0;n<t.length;n++){var i=t[n];r[2*n]=i/16,r[2*n+1]=i%16}return r[e-1]=16,r},e.compactBytesToNibbles=function(t){if(0===t.length)return t;var r=(0,e.bytesToNibbles)(t);r[0]<2&&(r=r.subarray(0,r.length-1));var n=2-(1&r[0]);return r.subarray(n)}},99047:(t,e,r)=>{"use strict";var n=r(29033).Buffer;Object.defineProperty(e,"__esModule",{value:!0}),e.assertIsString=e.assertIsArray=e.assertIsBuffer=e.assertIsHexString=void 0;var i=r(72560);e.assertIsHexString=function(t){if(!(0,i.isHexString)(t)){var e="This method only supports 0x-prefixed hex strings but input was: ".concat(t);throw new Error(e)}},e.assertIsBuffer=function(t){if(!n.isBuffer(t)){var e="This method only supports Buffer but input was: ".concat(t);throw new Error(e)}},e.assertIsArray=function(t){if(!Array.isArray(t)){var e="This method only supports number arrays but input was: ".concat(t);throw new Error(e)}},e.assertIsString=function(t){if("string"!=typeof t){var e="This method only supports strings but input was: ".concat(t);throw new Error(e)}}},65907:(t,e,r)=>{"use strict";var n=Object.create?function(t,e,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);i&&!("get"in i?!e.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]},i=function(t,e){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(e,r)||n(e,t,r)};Object.defineProperty(e,"__esModule",{value:!0}),e.toAscii=e.stripHexPrefix=e.padToEven=e.isHexString=e.isHexPrefixed=e.getKeys=e.getBinarySize=e.fromUtf8=e.fromAscii=e.arrayContainsArray=void 0,i(r(21449),e),i(r(44205),e),i(r(59786),e),i(r(78718),e),i(r(1313),e),i(r(65404),e),i(r(55803),e),i(r(62198),e),i(r(89890),e),i(r(77692),e);var o=r(72560);Object.defineProperty(e,"arrayContainsArray",{enumerable:!0,get:function(){return o.arrayContainsArray}}),Object.defineProperty(e,"fromAscii",{enumerable:!0,get:function(){return o.fromAscii}}),Object.defineProperty(e,"fromUtf8",{enumerable:!0,get:function(){return o.fromUtf8}}),Object.defineProperty(e,"getBinarySize",{enumerable:!0,get:function(){return o.getBinarySize}}),Object.defineProperty(e,"getKeys",{enumerable:!0,get:function(){return o.getKeys}}),Object.defineProperty(e,"isHexPrefixed",{enumerable:!0,get:function(){return o.isHexPrefixed}}),Object.defineProperty(e,"isHexString",{enumerable:!0,get:function(){return o.isHexString}}),Object.defineProperty(e,"padToEven",{enumerable:!0,get:function(){return o.padToEven}}),Object.defineProperty(e,"stripHexPrefix",{enumerable:!0,get:function(){return o.stripHexPrefix}}),Object.defineProperty(e,"toAscii",{enumerable:!0,get:function(){return o.toAscii}}),i(r(35651),e),i(r(6449),e)},72560:(t,e,r)=>{"use strict";var n=r(29033).Buffer,i=r(28847)(r(3355));function o(t){if("string"!=typeof t)throw new Error("[isHexPrefixed] input must be type 'string', received type ".concat((0,i.default)(t)));return"0"===t[0]&&"x"===t[1]}function a(t){var e=t;if("string"!=typeof e)throw new Error("[padToEven] value must be type 'string', received ".concat((0,i.default)(e)));return e.length%2&&(e="0".concat(e)),e}Object.defineProperty(e,"__esModule",{value:!0}),e.isHexString=e.getKeys=e.fromAscii=e.fromUtf8=e.toAscii=e.arrayContainsArray=e.getBinarySize=e.padToEven=e.stripHexPrefix=e.isHexPrefixed=void 0,e.isHexPrefixed=o,e.stripHexPrefix=function(t){if("string"!=typeof t)throw new Error("[stripHexPrefix] input must be type 'string', received ".concat((0,i.default)(t)));return o(t)?t.slice(2):t},e.padToEven=a,e.getBinarySize=function(t){if("string"!=typeof t)throw new Error("[getBinarySize] method requires input type 'string', received ".concat((0,i.default)(t)));return n.byteLength(t,"utf8")},e.arrayContainsArray=function(t,e,r){if(!0!==Array.isArray(t))throw new Error("[arrayContainsArray] method requires input 'superset' to be an array, got type '".concat((0,i.default)(t),"'"));if(!0!==Array.isArray(e))throw new Error("[arrayContainsArray] method requires input 'subset' to be an array, got type '".concat((0,i.default)(e),"'"));return e[!0===r?"some":"every"]((function(e){return t.indexOf(e)>=0}))},e.toAscii=function(t){var e="",r=0,n=t.length;for("0x"===t.substring(0,2)&&(r=2);r<n;r+=2){var i=parseInt(t.substr(r,2),16);e+=String.fromCharCode(i)}return e},e.fromUtf8=function(t){var e=n.from(t,"utf8");return"0x".concat(a(e.toString("hex")).replace(/^0+|0+$/g,""))},e.fromAscii=function(t){for(var e="",r=0;r<t.length;r++){var n=t.charCodeAt(r).toString(16);e+=n.length<2?"0".concat(n):n}return"0x".concat(e)},e.getKeys=function(t,e,r){if(!Array.isArray(t))throw new Error("[getKeys] method expects input 'params' to be an array, got ".concat((0,i.default)(t)));if("string"!=typeof e)throw new Error("[getKeys] method expects input 'key' to be type 'string', got ".concat((0,i.default)(t)));for(var n=[],o=0;o<t.length;o++){var a=t[o][e];if(!0!==r||a){if("string"!=typeof a)throw new Error("invalid abi - expected type 'string', received ".concat((0,i.default)(a)))}else a="";n.push(a)}return n},e.isHexString=function(t,e){return!("string"!=typeof t||!t.match(/^0x[0-9A-Fa-f]*$/)||void 0!==e&&e>0&&t.length!==2+2*e)}},35651:(t,e,r)=>{"use strict";var n=r(28847),i=n(r(82247)),o=n(r(94571)),a=n(r(69721)),s=n(r(58985));Object.defineProperty(e,"__esModule",{value:!0}),e.Lock=void 0;var u=function(){function t(){(0,a.default)(this,t),this.permits=1,this.promiseResolverQueue=[]}var e;return(0,s.default)(t,[{key:"acquire",value:(e=(0,o.default)(i.default.mark((function t(){var e=this;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(this.permits>0)){t.next=3;break}return this.permits-=1,t.abrupt("return",Promise.resolve(!0));case 3:return t.abrupt("return",new Promise((function(t){return e.promiseResolverQueue.push(t)})));case 4:case"end":return t.stop()}}),t,this)}))),function(){return e.apply(this,arguments)})},{key:"release",value:function(){if(this.permits+=1,this.permits>1&&this.promiseResolverQueue.length>0)console.warn("Lock.permits should never be > 0 when there is someone waiting.");else if(1===this.permits&&this.promiseResolverQueue.length>0){this.permits-=1;var t=this.promiseResolverQueue.shift();t&&t(!0)}}}]),t}();e.Lock=u},6449:(t,e,r)=>{"use strict";var n=r(28847),i=n(r(82247)),o=n(r(94571));Object.defineProperty(e,"__esModule",{value:!0}),e.getProvider=e.fetchFromProvider=void 0;var a=r(37441),s=function(){var t=(0,o.default)(i.default.mark((function t(e,r){var n;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,a.default)(e,{headers:{"content-type":"application/json"},type:"json",data:{method:r.method,params:r.params,jsonrpc:"2.0",id:1}});case 2:return n=t.sent,t.abrupt("return",n.result);case 4:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}();e.fetchFromProvider=s,e.getProvider=function(t){var e;if("string"==typeof t)return t;if(void 0!==(null==t||null===(e=t.connection)||void 0===e?void 0:e.url))return t.connection.url;throw new Error("Must provide valid provider URL or Web3Provider")}},65404:(t,e,r)=>{"use strict";var n=r(29033).Buffer;Object.defineProperty(e,"__esModule",{value:!0}),e.hashPersonalMessage=e.isValidSignature=e.fromRpcSig=e.toCompactSig=e.toRpcSig=e.ecrecover=e.ecsign=void 0;var i=r(1243),o=r(86992),a=r(55803),s=r(21449),u=r(99047);function c(t,e){return t===BigInt(0)||t===BigInt(1)?t:void 0===e?t-BigInt(27):t-(e*BigInt(2)+BigInt(35))}function l(t){return t===BigInt(0)||t===BigInt(1)}e.ecsign=function(t,e,r){var i=o.secp256k1.sign(t,e),a=i.toCompactRawBytes();return{r:n.from(a.slice(0,32)),s:n.from(a.slice(32,64)),v:void 0===r?BigInt(i.recovery+27):BigInt(i.recovery+35)+BigInt(r)*BigInt(2)}},e.ecrecover=function(t,e,r,i,s){var u=n.concat([(0,a.setLengthLeft)(r,32),(0,a.setLengthLeft)(i,32)],64),h=c(e,s);if(!l(h))throw new Error("Invalid signature v value");var f=o.secp256k1.Signature.fromCompact(u).addRecoveryBit(Number(h)).recoverPublicKey(t);return n.from(f.toRawBytes(!1).slice(1))},e.toRpcSig=function(t,e,r,i){if(!l(c(t,i)))throw new Error("Invalid signature v value");return(0,a.bufferToHex)(n.concat([(0,a.setLengthLeft)(e,32),(0,a.setLengthLeft)(r,32),(0,a.toBuffer)(t)]))},e.toCompactSig=function(t,e,r,i){if(!l(c(t,i)))throw new Error("Invalid signature v value");var o=r;return(t>BigInt(28)&&t%BigInt(2)===BigInt(1)||t===BigInt(1)||t===BigInt(28))&&((o=n.from(r))[0]|=128),(0,a.bufferToHex)(n.concat([(0,a.setLengthLeft)(e,32),(0,a.setLengthLeft)(o,32)]))},e.fromRpcSig=function(t){var e,r,n,i=(0,a.toBuffer)(t);if(i.length>=65)e=i.slice(0,32),r=i.slice(32,64),n=(0,a.bufferToBigInt)(i.slice(64));else{if(64!==i.length)throw new Error("Invalid signature length");e=i.slice(0,32),r=i.slice(32,64),n=BigInt((0,a.bufferToInt)(i.slice(32,33))>>7),r[0]&=127}return n<27&&(n+=BigInt(27)),{v:n,r:e,s:r}},e.isValidSignature=function(t,e,r){var n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=arguments.length>4?arguments[4]:void 0;if(32!==e.length||32!==r.length)return!1;if(!l(c(t,i)))return!1;var o=(0,a.bufferToBigInt)(e),u=(0,a.bufferToBigInt)(r);return!(o===BigInt(0)||o>=s.SECP256K1_ORDER||u===BigInt(0)||u>=s.SECP256K1_ORDER||n&&u>=s.SECP256K1_ORDER_DIV_2)},e.hashPersonalMessage=function(t){(0,u.assertIsBuffer)(t);var e=n.from("Ethereum Signed Message:\n".concat(t.length),"utf-8");return n.from((0,i.keccak256)(n.concat([e,t])))}},62198:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toType=e.TypeOutput=void 0;var n,i=r(55803),o=r(72560);!function(t){t[t.Number=0]="Number",t[t.BigInt=1]="BigInt",t[t.Buffer=2]="Buffer",t[t.PrefixedHexString=3]="PrefixedHexString"}(n=e.TypeOutput||(e.TypeOutput={})),e.toType=function(t,e){if(null===t)return null;if(void 0!==t){if("string"==typeof t&&!(0,o.isHexString)(t))throw new Error("A string must be provided with a 0x-prefix, given: ".concat(t));if("number"==typeof t&&!Number.isSafeInteger(t))throw new Error("The provided number is greater than MAX_SAFE_INTEGER (please use an alternative input type)");var r=(0,i.toBuffer)(t);switch(e){case n.Buffer:return r;case n.BigInt:return(0,i.bufferToBigInt)(r);case n.Number:var a=(0,i.bufferToBigInt)(r);if(a>BigInt(Number.MAX_SAFE_INTEGER))throw new Error("The provided number is greater than MAX_SAFE_INTEGER (please use an alternative output type)");return Number(a);case n.PrefixedHexString:return(0,i.bufferToHex)(r);default:throw new Error("unknown outputType")}}}},44205:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GWEI_TO_WEI=void 0,e.GWEI_TO_WEI=BigInt(1e9)},1313:(t,e,r)=>{"use strict";var n=r(29033).Buffer,i=r(28847),o=i(r(74519)),a=i(r(69721)),s=i(r(58985));Object.defineProperty(e,"__esModule",{value:!0}),e.Withdrawal=void 0;var u=r(78718),c=r(55803),l=r(62198),h=function(){function t(e,r,n,i){(0,a.default)(this,t),this.index=e,this.validatorIndex=r,this.address=n,this.amount=i}return(0,s.default)(t,[{key:"raw",value:function(){return t.toBufferArray(this)}},{key:"toValue",value:function(){return{index:this.index,validatorIndex:this.validatorIndex,address:this.address.buf,amount:this.amount}}},{key:"toJSON",value:function(){return{index:(0,c.bigIntToHex)(this.index),validatorIndex:(0,c.bigIntToHex)(this.validatorIndex),address:"0x"+this.address.buf.toString("hex"),amount:(0,c.bigIntToHex)(this.amount)}}}],[{key:"fromWithdrawalData",value:function(e){var r=e.index,n=e.validatorIndex,i=e.address,o=e.amount;return new t((0,l.toType)(r,l.TypeOutput.BigInt),(0,l.toType)(n,l.TypeOutput.BigInt),new u.Address((0,l.toType)(i,l.TypeOutput.Buffer)),(0,l.toType)(o,l.TypeOutput.BigInt))}},{key:"fromValuesArray",value:function(e){if(4!==e.length)throw Error("Invalid withdrawalArray length expected=4 actual=".concat(e.length));var r=(0,o.default)(e,4),n=r[0],i=r[1],a=r[2],s=r[3];return t.fromWithdrawalData({index:n,validatorIndex:i,address:a,amount:s})}},{key:"toBufferArray",value:function(t){var e=t.index,r=t.validatorIndex,i=t.address,o=t.amount;return[(0,l.toType)(e,l.TypeOutput.BigInt)===BigInt(0)?n.alloc(0):(0,l.toType)(e,l.TypeOutput.Buffer),(0,l.toType)(r,l.TypeOutput.BigInt)===BigInt(0)?n.alloc(0):(0,l.toType)(r,l.TypeOutput.Buffer),i instanceof u.Address?i.buf:(0,l.toType)(i,l.TypeOutput.Buffer),(0,l.toType)(o,l.TypeOutput.BigInt)===BigInt(0)?n.alloc(0):(0,l.toType)(o,l.TypeOutput.Buffer)]}}]),t}();e.Withdrawal=h},98067:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.version=void 0,e.version="abi/5.7.0"},44937:(t,e,r)=>{"use strict";var n=r(28847);Object.defineProperty(e,"__esModule",{value:!0}),e.defaultAbiCoder=e.AbiCoder=void 0;var i=n(r(69721)),o=n(r(58985)),a=r(908),s=r(23694),u=r(64327),c=r(98067),l=r(17316),h=r(49146),f=r(4341),d=r(30024),p=r(53861),m=r(90028),g=r(4522),y=r(88287),v=r(48040),b=r(52010),_=r(60800),w=new u.Logger(c.version),x=new RegExp(/^bytes([0-9]*)$/),k=new RegExp(/^(u?int)([0-9]*)$/),S=function(){function t(e){(0,i.default)(this,t),(0,s.defineReadOnly)(this,"coerceFunc",e||null)}return(0,o.default)(t,[{key:"_getCoder",value:function(t){var e=this;switch(t.baseType){case"address":return new h.AddressCoder(t.name);case"bool":return new d.BooleanCoder(t.name);case"string":return new v.StringCoder(t.name);case"bytes":return new p.BytesCoder(t.name);case"array":return new f.ArrayCoder(this._getCoder(t.arrayChildren),t.arrayLength,t.name);case"tuple":return new b.TupleCoder((t.components||[]).map((function(t){return e._getCoder(t)})),t.name);case"":return new g.NullCoder(t.name)}var r=t.type.match(k);if(r){var n=parseInt(r[2]||"256");return(0===n||n>256||n%8!=0)&&w.throwArgumentError("invalid "+r[1]+" bit length","param",t),new y.NumberCoder(n/8,"int"===r[1],t.name)}if(r=t.type.match(x)){var i=parseInt(r[1]);return(0===i||i>32)&&w.throwArgumentError("invalid bytes length","param",t),new m.FixedBytesCoder(i,t.name)}return w.throwArgumentError("invalid type","type",t.type)}},{key:"_getWordSize",value:function(){return 32}},{key:"_getReader",value:function(t,e){return new l.Reader(t,this._getWordSize(),this.coerceFunc,e)}},{key:"_getWriter",value:function(){return new l.Writer(this._getWordSize())}},{key:"getDefaultValue",value:function(t){var e=this,r=t.map((function(t){return e._getCoder(_.ParamType.from(t))}));return new b.TupleCoder(r,"_").defaultValue()}},{key:"encode",value:function(t,e){var r=this;t.length!==e.length&&w.throwError("types/values length mismatch",u.Logger.errors.INVALID_ARGUMENT,{count:{types:t.length,values:e.length},value:{types:t,values:e}});var n=t.map((function(t){return r._getCoder(_.ParamType.from(t))})),i=new b.TupleCoder(n,"_"),o=this._getWriter();return i.encode(o,e),o.data}},{key:"decode",value:function(t,e,r){var n=this,i=t.map((function(t){return n._getCoder(_.ParamType.from(t))}));return new b.TupleCoder(i,"_").decode(this._getReader((0,a.arrayify)(e),r))}}]),t}();e.AbiCoder=S;var E=new S;e.defaultAbiCoder=E},17316:(t,e,r)=>{"use strict";var n=r(28847);Object.defineProperty(e,"__esModule",{value:!0}),e.Writer=e.Reader=e.Coder=void 0,e.checkResultErrors=function(t){var e=[];return function t(r,n){if(Array.isArray(n))for(var i in n){var o=r.slice();o.push(i);try{t(o,n[i])}catch(t){e.push({path:o,error:t})}}}([],t),e};var i=n(r(69721)),o=n(r(58985)),a=r(908),s=r(34952),u=r(23694),c=r(64327),l=r(98067),h=new c.Logger(l.version),f=function(){function t(e,r,n,o){(0,i.default)(this,t),this.name=e,this.type=r,this.localName=n,this.dynamic=o}return(0,o.default)(t,[{key:"_throwError",value:function(t,e){h.throwArgumentError(t,this.localName,e)}}]),t}();e.Coder=f;var d=function(){function t(e){(0,i.default)(this,t),(0,u.defineReadOnly)(this,"wordSize",e||32),this._data=[],this._dataLength=0,this._padding=new Uint8Array(e)}return(0,o.default)(t,[{key:"data",get:function(){return(0,a.hexConcat)(this._data)}},{key:"length",get:function(){return this._dataLength}},{key:"_writeData",value:function(t){return this._data.push(t),this._dataLength+=t.length,t.length}},{key:"appendWriter",value:function(t){return this._writeData((0,a.concat)(t._data))}},{key:"writeBytes",value:function(t){var e=(0,a.arrayify)(t),r=e.length%this.wordSize;return r&&(e=(0,a.concat)([e,this._padding.slice(r)])),this._writeData(e)}},{key:"_getValue",value:function(t){var e=(0,a.arrayify)(s.BigNumber.from(t));return e.length>this.wordSize&&h.throwError("value out-of-bounds",c.Logger.errors.BUFFER_OVERRUN,{length:this.wordSize,offset:e.length}),e.length%this.wordSize&&(e=(0,a.concat)([this._padding.slice(e.length%this.wordSize),e])),e}},{key:"writeValue",value:function(t){return this._writeData(this._getValue(t))}},{key:"writeUpdatableValue",value:function(){var t=this,e=this._data.length;return this._data.push(this._padding),this._dataLength+=this.wordSize,function(r){t._data[e]=t._getValue(r)}}}]),t}();e.Writer=d;var p=function(){function t(e,r,n,o){(0,i.default)(this,t),(0,u.defineReadOnly)(this,"_data",(0,a.arrayify)(e)),(0,u.defineReadOnly)(this,"wordSize",r||32),(0,u.defineReadOnly)(this,"_coerceFunc",n),(0,u.defineReadOnly)(this,"allowLoose",o),this._offset=0}return(0,o.default)(t,[{key:"data",get:function(){return(0,a.hexlify)(this._data)}},{key:"consumed",get:function(){return this._offset}},{key:"coerce",value:function(e,r){return this._coerceFunc?this._coerceFunc(e,r):t.coerce(e,r)}},{key:"_peekBytes",value:function(t,e,r){var n=Math.ceil(e/this.wordSize)*this.wordSize;return this._offset+n>this._data.length&&(this.allowLoose&&r&&this._offset+e<=this._data.length?n=e:h.throwError("data out-of-bounds",c.Logger.errors.BUFFER_OVERRUN,{length:this._data.length,offset:this._offset+n})),this._data.slice(this._offset,this._offset+n)}},{key:"subReader",value:function(e){return new t(this._data.slice(this._offset+e),this.wordSize,this._coerceFunc,this.allowLoose)}},{key:"readBytes",value:function(t,e){var r=this._peekBytes(0,t,!!e);return this._offset+=r.length,r.slice(0,t)}},{key:"readValue",value:function(){return s.BigNumber.from(this.readBytes(this.wordSize))}}],[{key:"coerce",value:function(t,e){var r=t.match("^u?int([0-9]+)$");return r&&parseInt(r[1])<=48&&(e=e.toNumber()),e}}]),t}();e.Reader=p},49146:(t,e,r)=>{"use strict";var n=r(28847);Object.defineProperty(e,"__esModule",{value:!0}),e.AddressCoder=void 0;var i=n(r(69721)),o=n(r(58985)),a=n(r(15163)),s=n(r(34650)),u=n(r(21949)),c=r(77921),l=r(908),h=function(t){(0,a.default)(h,t);var e,r,n=(e=h,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=(0,u.default)(e);if(r){var i=(0,u.default)(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return(0,s.default)(this,t)});function h(t){return(0,i.default)(this,h),n.call(this,"address","address",t,!1)}return(0,o.default)(h,[{key:"defaultValue",value:function(){return"0x0000000000000000000000000000000000000000"}},{key:"encode",value:function(t,e){try{e=(0,c.getAddress)(e)}catch(t){this._throwError(t.message,e)}return t.writeValue(e)}},{key:"decode",value:function(t){return(0,c.getAddress)((0,l.hexZeroPad)(t.readValue().toHexString(),20))}}]),h}(r(17316).Coder);e.AddressCoder=h},58090:(t,e,r)=>{"use strict";var n=r(28847);Object.defineProperty(e,"__esModule",{value:!0}),e.AnonymousCoder=void 0;var i=n(r(69721)),o=n(r(58985)),a=n(r(15163)),s=n(r(34650)),u=n(r(21949)),c=function(t){(0,a.default)(c,t);var e,r,n=(e=c,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=(0,u.default)(e);if(r){var i=(0,u.default)(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return(0,s.default)(this,t)});function c(t){var e;return(0,i.default)(this,c),(e=n.call(this,t.name,t.type,void 0,t.dynamic)).coder=t,e}return(0,o.default)(c,[{key:"defaultValue",value:function(){return this.coder.defaultValue()}},{key:"encode",value:function(t,e){return this.coder.encode(t,e)}},{key:"decode",value:function(t){return this.coder.decode(t)}}]),c}(r(17316).Coder);e.AnonymousCoder=c},4341:(t,e,r)=>{"use strict";var n=r(28847);Object.defineProperty(e,"__esModule",{value:!0}),e.ArrayCoder=void 0,e.pack=m,e.unpack=g;var i=n(r(69721)),o=n(r(58985)),a=n(r(15163)),s=n(r(34650)),u=n(r(21949)),c=n(r(3355)),l=r(64327),h=r(98067),f=r(17316),d=r(58090),p=new l.Logger(h.version);function m(t,e,r){var n=null;if(Array.isArray(r))n=r;else if(r&&"object"===(0,c.default)(r)){var i={};n=e.map((function(t){var e=t.localName;return e||p.throwError("cannot encode object for signature with missing names",l.Logger.errors.INVALID_ARGUMENT,{argument:"values",coder:t,value:r}),i[e]&&p.throwError("cannot encode object for signature with duplicate names",l.Logger.errors.INVALID_ARGUMENT,{argument:"values",coder:t,value:r}),i[e]=!0,r[e]}))}else p.throwArgumentError("invalid tuple value","tuple",r);e.length!==n.length&&p.throwArgumentError("types/value length mismatch","tuple",r);var o=new f.Writer(t.wordSize),a=new f.Writer(t.wordSize),s=[];return e.forEach((function(t,e){var r=n[e];if(t.dynamic){var i=a.length;t.encode(a,r);var u=o.writeUpdatableValue();s.push((function(t){u(t+i)}))}else t.encode(o,r)})),s.forEach((function(t){t(o.length)})),t.appendWriter(o)+t.appendWriter(a)}function g(t,e){var r=[],n=t.subReader(0);e.forEach((function(e){var i=null;if(e.dynamic){var o=t.readValue(),a=n.subReader(o.toNumber());try{i=e.decode(a)}catch(t){if(t.code===l.Logger.errors.BUFFER_OVERRUN)throw t;(i=t).baseType=e.name,i.name=e.localName,i.type=e.type}}else try{i=e.decode(t)}catch(t){if(t.code===l.Logger.errors.BUFFER_OVERRUN)throw t;(i=t).baseType=e.name,i.name=e.localName,i.type=e.type}null!=i&&r.push(i)}));var i=e.reduce((function(t,e){var r=e.localName;return r&&(t[r]||(t[r]=0),t[r]++),t}),{});e.forEach((function(t,e){var n=t.localName;if(n&&1===i[n]&&("length"===n&&(n="_length"),null==r[n])){var o=r[e];o instanceof Error?Object.defineProperty(r,n,{enumerable:!0,get:function(){throw o}}):r[n]=o}}));for(var o=function(t){var e=r[t];e instanceof Error&&Object.defineProperty(r,t,{enumerable:!0,get:function(){throw e}})},a=0;a<r.length;a++)o(a);return Object.freeze(r)}var y=function(t){(0,a.default)(c,t);var e,r,n=(e=c,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=(0,u.default)(e);if(r){var i=(0,u.default)(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return(0,s.default)(this,t)});function c(t,e,r){var o;(0,i.default)(this,c);var a=t.type+"["+(e>=0?e:"")+"]",s=-1===e||t.dynamic;return(o=n.call(this,"array",a,r,s)).coder=t,o.length=e,o}return(0,o.default)(c,[{key:"defaultValue",value:function(){for(var t=this.coder.defaultValue(),e=[],r=0;r<this.length;r++)e.push(t);return e}},{key:"encode",value:function(t,e){Array.isArray(e)||this._throwError("expected array value",e);var r=this.length;-1===r&&(r=e.length,t.writeValue(e.length)),p.checkArgumentCount(e.length,r,"coder array"+(this.localName?" "+this.localName:""));for(var n=[],i=0;i<e.length;i++)n.push(this.coder);return m(t,n,e)}},{key:"decode",value:function(t){var e=this.length;-1===e&&32*(e=t.readValue().toNumber())>t._data.length&&p.throwError("insufficient data length",l.Logger.errors.BUFFER_OVERRUN,{length:t._data.length,count:e});for(var r=[],n=0;n<e;n++)r.push(new d.AnonymousCoder(this.coder));return t.coerce(this.name,g(t,r))}}]),c}(f.Coder);e.ArrayCoder=y},30024:(t,e,r)=>{"use strict";var n=r(28847);Object.defineProperty(e,"__esModule",{value:!0}),e.BooleanCoder=void 0;var i=n(r(69721)),o=n(r(58985)),a=n(r(15163)),s=n(r(34650)),u=n(r(21949)),c=function(t){(0,a.default)(c,t);var e,r,n=(e=c,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=(0,u.default)(e);if(r){var i=(0,u.default)(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return(0,s.default)(this,t)});function c(t){return(0,i.default)(this,c),n.call(this,"bool","bool",t,!1)}return(0,o.default)(c,[{key:"defaultValue",value:function(){return!1}},{key:"encode",value:function(t,e){return t.writeValue(e?1:0)}},{key:"decode",value:function(t){return t.coerce(this.type,!t.readValue().isZero())}}]),c}(r(17316).Coder);e.BooleanCoder=c},53861:(t,e,r)=>{"use strict";var n=r(28847);Object.defineProperty(e,"__esModule",{value:!0}),e.DynamicBytesCoder=e.BytesCoder=void 0;var i=n(r(119)),o=n(r(69721)),a=n(r(58985)),s=n(r(15163)),u=n(r(34650)),c=n(r(21949)),l=r(908);function h(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=(0,c.default)(t);if(e){var i=(0,c.default)(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return(0,u.default)(this,r)}}var f=function(t){(0,s.default)(r,t);var e=h(r);function r(t,n){return(0,o.default)(this,r),e.call(this,t,t,n,!0)}return(0,a.default)(r,[{key:"defaultValue",value:function(){return"0x"}},{key:"encode",value:function(t,e){return e=(0,l.arrayify)(e),t.writeValue(e.length)+t.writeBytes(e)}},{key:"decode",value:function(t){return t.readBytes(t.readValue().toNumber(),!0)}}]),r}(r(17316).Coder);e.DynamicBytesCoder=f;var d=function(t){(0,s.default)(r,t);var e=h(r);function r(t){return(0,o.default)(this,r),e.call(this,"bytes",t)}return(0,a.default)(r,[{key:"decode",value:function(t){return t.coerce(this.name,(0,l.hexlify)((0,i.default)((0,c.default)(r.prototype),"decode",this).call(this,t)))}}]),r}(f);e.BytesCoder=d},90028:(t,e,r)=>{"use strict";var n=r(28847);Object.defineProperty(e,"__esModule",{value:!0}),e.FixedBytesCoder=void 0;var i=n(r(69721)),o=n(r(58985)),a=n(r(15163)),s=n(r(34650)),u=n(r(21949)),c=r(908),l=function(t){(0,a.default)(l,t);var e,r,n=(e=l,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=(0,u.default)(e);if(r){var i=(0,u.default)(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return(0,s.default)(this,t)});function l(t,e){var r;(0,i.default)(this,l);var o="bytes"+String(t);return(r=n.call(this,o,o,e,!1)).size=t,r}return(0,o.default)(l,[{key:"defaultValue",value:function(){return"0x0000000000000000000000000000000000000000000000000000000000000000".substring(0,2+2*this.size)}},{key:"encode",value:function(t,e){var r=(0,c.arrayify)(e);return r.length!==this.size&&this._throwError("incorrect data length",e),t.writeBytes(r)}},{key:"decode",value:function(t){return t.coerce(this.name,(0,c.hexlify)(t.readBytes(this.size)))}}]),l}(r(17316).Coder);e.FixedBytesCoder=l},4522:(t,e,r)=>{"use strict";var n=r(28847);Object.defineProperty(e,"__esModule",{value:!0}),e.NullCoder=void 0;var i=n(r(69721)),o=n(r(58985)),a=n(r(15163)),s=n(r(34650)),u=n(r(21949)),c=function(t){(0,a.default)(c,t);var e,r,n=(e=c,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=(0,u.default)(e);if(r){var i=(0,u.default)(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return(0,s.default)(this,t)});function c(t){return(0,i.default)(this,c),n.call(this,"null","",t,!1)}return(0,o.default)(c,[{key:"defaultValue",value:function(){return null}},{key:"encode",value:function(t,e){return null!=e&&this._throwError("not null",e),t.writeBytes([])}},{key:"decode",value:function(t){return t.readBytes(0),t.coerce(this.name,null)}}]),c}(r(17316).Coder);e.NullCoder=c},88287:(t,e,r)=>{"use strict";var n=r(28847);Object.defineProperty(e,"__esModule",{value:!0}),e.NumberCoder=void 0;var i=n(r(69721)),o=n(r(58985)),a=n(r(15163)),s=n(r(34650)),u=n(r(21949)),c=r(34952),l=r(5465),h=function(t){(0,a.default)(h,t);var e,r,n=(e=h,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=(0,u.default)(e);if(r){var i=(0,u.default)(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return(0,s.default)(this,t)});function h(t,e,r){var o;(0,i.default)(this,h);var a=(e?"int":"uint")+8*t;return(o=n.call(this,a,a,r,!1)).size=t,o.signed=e,o}return(0,o.default)(h,[{key:"defaultValue",value:function(){return 0}},{key:"encode",value:function(t,e){var r=c.BigNumber.from(e),n=l.MaxUint256.mask(8*t.wordSize);if(this.signed){var i=n.mask(8*this.size-1);(r.gt(i)||r.lt(i.add(l.One).mul(l.NegativeOne)))&&this._throwError("value out-of-bounds",e)}else(r.lt(l.Zero)||r.gt(n.mask(8*this.size)))&&this._throwError("value out-of-bounds",e);return r=r.toTwos(8*this.size).mask(8*this.size),this.signed&&(r=r.fromTwos(8*this.size).toTwos(8*t.wordSize)),t.writeValue(r)}},{key:"decode",value:function(t){var e=t.readValue().mask(8*this.size);return this.signed&&(e=e.fromTwos(8*this.size)),t.coerce(this.name,e)}}]),h}(r(17316).Coder);e.NumberCoder=h},48040:(t,e,r)=>{"use strict";var n=r(28847);Object.defineProperty(e,"__esModule",{value:!0}),e.StringCoder=void 0;var i=n(r(69721)),o=n(r(58985)),a=n(r(119)),s=n(r(15163)),u=n(r(34650)),c=n(r(21949)),l=r(78627),h=function(t){(0,s.default)(h,t);var e,r,n=(e=h,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=(0,c.default)(e);if(r){var i=(0,c.default)(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return(0,u.default)(this,t)});function h(t){return(0,i.default)(this,h),n.call(this,"string",t)}return(0,o.default)(h,[{key:"defaultValue",value:function(){return""}},{key:"encode",value:function(t,e){return(0,a.default)((0,c.default)(h.prototype),"encode",this).call(this,t,(0,l.toUtf8Bytes)(e))}},{key:"decode",value:function(t){return(0,l.toUtf8String)((0,a.default)((0,c.default)(h.prototype),"decode",this).call(this,t))}}]),h}(r(53861).DynamicBytesCoder);e.StringCoder=h},52010:(t,e,r)=>{"use strict";var n=r(28847);Object.defineProperty(e,"__esModule",{value:!0}),e.TupleCoder=void 0;var i=n(r(69721)),o=n(r(58985)),a=n(r(15163)),s=n(r(34650)),u=n(r(21949)),c=r(17316),l=r(4341),h=function(t){(0,a.default)(c,t);var e,r,n=(e=c,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=(0,u.default)(e);if(r){var i=(0,u.default)(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return(0,s.default)(this,t)});function c(t,e){var r;(0,i.default)(this,c);var o=!1,a=[];t.forEach((function(t){t.dynamic&&(o=!0),a.push(t.type)}));var s="tuple("+a.join(",")+")";return(r=n.call(this,"tuple",s,e,o)).coders=t,r}return(0,o.default)(c,[{key:"defaultValue",value:function(){var t=[];this.coders.forEach((function(e){t.push(e.defaultValue())}));var e=this.coders.reduce((function(t,e){var r=e.localName;return r&&(t[r]||(t[r]=0),t[r]++),t}),{});return this.coders.forEach((function(r,n){var i=r.localName;i&&1===e[i]&&("length"===i&&(i="_length"),null==t[i]&&(t[i]=t[n]))})),Object.freeze(t)}},{key:"encode",value:function(t,e){return(0,l.pack)(t,this.coders,e)}},{key:"decode",value:function(t){return t.coerce(this.name,(0,l.unpack)(t,this.coders))}}]),c}(c.Coder);e.TupleCoder=h},60800:(t,e,r)=>{"use strict";var n=r(28847);Object.defineProperty(e,"__esModule",{value:!0}),e.ParamType=e.FunctionFragment=e.Fragment=e.FormatTypes=e.EventFragment=e.ErrorFragment=e.ConstructorFragment=void 0;var i=n(r(15163)),o=n(r(34650)),a=n(r(21949)),s=n(r(69721)),u=n(r(58985)),c=r(34952),l=r(23694),h=r(64327),f=r(98067);function d(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=(0,a.default)(t);if(e){var i=(0,a.default)(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return(0,o.default)(this,r)}}var p=new h.Logger(f.version),m={},g={calldata:!0,memory:!0,storage:!0},y={calldata:!0,memory:!0};function v(t,e){if("bytes"===t||"string"===t){if(g[e])return!0}else if("address"===t){if("payable"===e)return!0}else if((t.indexOf("[")>=0||"tuple"===t)&&y[e])return!0;return(g[e]||"payable"===e)&&p.throwArgumentError("invalid modifier","name",e),!1}function b(t,e){for(var r in e)(0,l.defineReadOnly)(t,r,e[r])}var _=Object.freeze({sighash:"sighash",minimal:"minimal",full:"full",json:"json"});e.FormatTypes=_;var w=new RegExp(/^(.*)\[([0-9]*)\]$/),x=function(){function t(e,r){(0,s.default)(this,t),e!==m&&p.throwError("use fromString",h.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new ParamType()"}),b(this,r);var n=this.type.match(w);b(this,n?{arrayLength:parseInt(n[2]||"-1"),arrayChildren:t.fromObject({type:n[1],components:this.components}),baseType:"array"}:{arrayLength:null,arrayChildren:null,baseType:null!=this.components?"tuple":this.type}),this._isParamType=!0,Object.freeze(this)}return(0,u.default)(t,[{key:"format",value:function(t){if(t||(t=_.sighash),_[t]||p.throwArgumentError("invalid format type","format",t),t===_.json){var e={type:"tuple"===this.baseType?"tuple":this.type,name:this.name||void 0};return"boolean"==typeof this.indexed&&(e.indexed=this.indexed),this.components&&(e.components=this.components.map((function(e){return JSON.parse(e.format(t))}))),JSON.stringify(e)}var r="";return"array"===this.baseType?(r+=this.arrayChildren.format(t),r+="["+(this.arrayLength<0?"":String(this.arrayLength))+"]"):"tuple"===this.baseType?(t!==_.sighash&&(r+=this.type),r+="("+this.components.map((function(e){return e.format(t)})).join(t===_.full?", ":",")+")"):r+=this.type,t!==_.sighash&&(!0===this.indexed&&(r+=" indexed"),t===_.full&&this.name&&(r+=" "+this.name)),r}}],[{key:"from",value:function(e,r){return"string"==typeof e?t.fromString(e,r):t.fromObject(e)}},{key:"fromObject",value:function(e){return t.isParamType(e)?e:new t(m,{name:e.name||null,type:I(e.type),indexed:null==e.indexed?null:!!e.indexed,components:e.components?e.components.map(t.fromObject):null})}},{key:"fromString",value:function(e,r){return n=function(t,e){var r=t;function n(e){p.throwArgumentError("unexpected character at position ".concat(e),"param",t)}function i(t){var r={type:"",name:"",parent:t,state:{allowType:!0}};return e&&(r.indexed=!1),r}t=t.replace(/\s/g," ");for(var o={type:"",name:"",state:{allowType:!0}},a=o,s=0;s<t.length;s++){var u=t[s];switch(u){case"(":a.state.allowType&&""===a.type?a.type="tuple":a.state.allowParams||n(s),a.state.allowType=!1,a.type=I(a.type),a.components=[i(a)],a=a.components[0];break;case")":delete a.state,"indexed"===a.name&&(e||n(s),a.indexed=!0,a.name=""),v(a.type,a.name)&&(a.name=""),a.type=I(a.type);var c=a;(a=a.parent)||n(s),delete c.parent,a.state.allowParams=!1,a.state.allowName=!0,a.state.allowArray=!0;break;case",":delete a.state,"indexed"===a.name&&(e||n(s),a.indexed=!0,a.name=""),v(a.type,a.name)&&(a.name=""),a.type=I(a.type);var l=i(a.parent);a.parent.components.push(l),delete a.parent,a=l;break;case" ":a.state.allowType&&""!==a.type&&(a.type=I(a.type),delete a.state.allowType,a.state.allowName=!0,a.state.allowParams=!0),a.state.allowName&&""!==a.name&&("indexed"===a.name?(e||n(s),a.indexed&&n(s),a.indexed=!0,a.name=""):v(a.type,a.name)?a.name="":a.state.allowName=!1);break;case"[":a.state.allowArray||n(s),a.type+=u,a.state.allowArray=!1,a.state.allowName=!1,a.state.readArray=!0;break;case"]":a.state.readArray||n(s),a.type+=u,a.state.readArray=!1,a.state.allowArray=!0,a.state.allowName=!0;break;default:a.state.allowType?(a.type+=u,a.state.allowParams=!0,a.state.allowArray=!0):a.state.allowName?(a.name+=u,delete a.state.allowArray):a.state.readArray?a.type+=u:n(s)}}return a.parent&&p.throwArgumentError("unexpected eof","param",t),delete o.state,"indexed"===a.name?(e||n(r.length-7),a.indexed&&n(r.length-7),a.indexed=!0,a.name=""):v(a.type,a.name)&&(a.name=""),o.type=I(o.type),o}(e,!!r),t.fromObject({name:n.name,type:n.type,indexed:n.indexed,components:n.components});var n}},{key:"isParamType",value:function(t){return!(null==t||!t._isParamType)}}]),t}();function k(t,e){return function(t){t=t.trim();for(var e=[],r="",n=0,i=0;i<t.length;i++){var o=t[i];","===o&&0===n?(e.push(r),r=""):(r+=o,"("===o?n++:")"===o&&-1==--n&&p.throwArgumentError("unbalanced parenthesis","value",t))}return r&&e.push(r),e}(t).map((function(t){return x.fromString(t,e)}))}e.ParamType=x;var S=function(){function t(e,r){(0,s.default)(this,t),e!==m&&p.throwError("use a static from method",h.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new Fragment()"}),b(this,r),this._isFragment=!0,Object.freeze(this)}return(0,u.default)(t,null,[{key:"from",value:function(e){return t.isFragment(e)?e:"string"==typeof e?t.fromString(e):t.fromObject(e)}},{key:"fromObject",value:function(e){if(t.isFragment(e))return e;switch(e.type){case"function":return L.fromObject(e);case"event":return E.fromObject(e);case"constructor":return C.fromObject(e);case"error":return O.fromObject(e);case"fallback":case"receive":return null}return p.throwArgumentError("invalid fragment object","value",e)}},{key:"fromString",value:function(t){return"event"===(t=(t=(t=t.replace(/\s/g," ")).replace(/\(/g," (").replace(/\)/g,") ").replace(/\s+/g," ")).trim()).split(" ")[0]?E.fromString(t.substring(5).trim()):"function"===t.split(" ")[0]?L.fromString(t.substring(8).trim()):"constructor"===t.split("(")[0].trim()?C.fromString(t.trim()):"error"===t.split(" ")[0]?O.fromString(t.substring(5).trim()):p.throwArgumentError("unsupported fragment","value",t)}},{key:"isFragment",value:function(t){return!(!t||!t._isFragment)}}]),t}();e.Fragment=S;var E=function(t){(0,i.default)(r,t);var e=d(r);function r(){return(0,s.default)(this,r),e.apply(this,arguments)}return(0,u.default)(r,[{key:"format",value:function(t){if(t||(t=_.sighash),_[t]||p.throwArgumentError("invalid format type","format",t),t===_.json)return JSON.stringify({type:"event",anonymous:this.anonymous,name:this.name,inputs:this.inputs.map((function(e){return JSON.parse(e.format(t))}))});var e="";return t!==_.sighash&&(e+="event "),e+=this.name+"("+this.inputs.map((function(e){return e.format(t)})).join(t===_.full?", ":",")+") ",t!==_.sighash&&this.anonymous&&(e+="anonymous "),e.trim()}}],[{key:"from",value:function(t){return"string"==typeof t?r.fromString(t):r.fromObject(t)}},{key:"fromObject",value:function(t){if(r.isEventFragment(t))return t;"event"!==t.type&&p.throwArgumentError("invalid event object","value",t);var e={name:B(t.name),anonymous:t.anonymous,inputs:t.inputs?t.inputs.map(x.fromObject):[],type:"event"};return new r(m,e)}},{key:"fromString",value:function(t){var e=t.match(j);e||p.throwArgumentError("invalid event string","value",t);var n=!1;return e[3].split(" ").forEach((function(t){switch(t.trim()){case"anonymous":n=!0;break;case"":break;default:p.warn("unknown modifier: "+t)}})),r.fromObject({name:e[1].trim(),anonymous:n,inputs:k(e[2],!0),type:"event"})}},{key:"isEventFragment",value:function(t){return t&&t._isFragment&&"event"===t.type}}]),r}(S);function M(t,e){e.gas=null;var r=t.split("@");return 1!==r.length?(r.length>2&&p.throwArgumentError("invalid human-readable ABI signature","value",t),r[1].match(/^[0-9]+$/)||p.throwArgumentError("invalid human-readable ABI signature gas","value",t),e.gas=c.BigNumber.from(r[1]),r[0]):t}function A(t,e){e.constant=!1,e.payable=!1,e.stateMutability="nonpayable",t.split(" ").forEach((function(t){switch(t.trim()){case"constant":e.constant=!0;break;case"payable":e.payable=!0,e.stateMutability="payable";break;case"nonpayable":e.payable=!1,e.stateMutability="nonpayable";break;case"pure":e.constant=!0,e.stateMutability="pure";break;case"view":e.constant=!0,e.stateMutability="view";break;case"external":case"public":case"":break;default:console.log("unknown modifier: "+t)}}))}function T(t){var e={constant:!1,payable:!0,stateMutability:"payable"};return null!=t.stateMutability?(e.stateMutability=t.stateMutability,e.constant="view"===e.stateMutability||"pure"===e.stateMutability,null!=t.constant&&!!t.constant!==e.constant&&p.throwArgumentError("cannot have constant function with mutability "+e.stateMutability,"value",t),e.payable="payable"===e.stateMutability,null!=t.payable&&!!t.payable!==e.payable&&p.throwArgumentError("cannot have payable function with mutability "+e.stateMutability,"value",t)):null!=t.payable?(e.payable=!!t.payable,null!=t.constant||e.payable||"constructor"===t.type||p.throwArgumentError("unable to determine stateMutability","value",t),e.constant=!!t.constant,e.constant?e.stateMutability="view":e.stateMutability=e.payable?"payable":"nonpayable",e.payable&&e.constant&&p.throwArgumentError("cannot have constant payable function","value",t)):null!=t.constant?(e.constant=!!t.constant,e.payable=!e.constant,e.stateMutability=e.constant?"view":"payable"):"constructor"!==t.type&&p.throwArgumentError("unable to determine stateMutability","value",t),e}e.EventFragment=E;var C=function(t){(0,i.default)(r,t);var e=d(r);function r(){return(0,s.default)(this,r),e.apply(this,arguments)}return(0,u.default)(r,[{key:"format",value:function(t){if(t||(t=_.sighash),_[t]||p.throwArgumentError("invalid format type","format",t),t===_.json)return JSON.stringify({type:"constructor",stateMutability:"nonpayable"!==this.stateMutability?this.stateMutability:void 0,payable:this.payable,gas:this.gas?this.gas.toNumber():void 0,inputs:this.inputs.map((function(e){return JSON.parse(e.format(t))}))});t===_.sighash&&p.throwError("cannot format a constructor for sighash",h.Logger.errors.UNSUPPORTED_OPERATION,{operation:"format(sighash)"});var e="constructor("+this.inputs.map((function(e){return e.format(t)})).join(t===_.full?", ":",")+") ";return this.stateMutability&&"nonpayable"!==this.stateMutability&&(e+=this.stateMutability+" "),e.trim()}}],[{key:"from",value:function(t){return"string"==typeof t?r.fromString(t):r.fromObject(t)}},{key:"fromObject",value:function(t){if(r.isConstructorFragment(t))return t;"constructor"!==t.type&&p.throwArgumentError("invalid constructor object","value",t);var e=T(t);e.constant&&p.throwArgumentError("constructor cannot be constant","value",t);var n={name:null,type:t.type,inputs:t.inputs?t.inputs.map(x.fromObject):[],payable:e.payable,stateMutability:e.stateMutability,gas:t.gas?c.BigNumber.from(t.gas):null};return new r(m,n)}},{key:"fromString",value:function(t){var e={type:"constructor"},n=(t=M(t,e)).match(j);return n&&"constructor"===n[1].trim()||p.throwArgumentError("invalid constructor string","value",t),e.inputs=k(n[2].trim(),!1),A(n[3].trim(),e),r.fromObject(e)}},{key:"isConstructorFragment",value:function(t){return t&&t._isFragment&&"constructor"===t.type}}]),r}(S);e.ConstructorFragment=C;var L=function(t){(0,i.default)(r,t);var e=d(r);function r(){return(0,s.default)(this,r),e.apply(this,arguments)}return(0,u.default)(r,[{key:"format",value:function(t){if(t||(t=_.sighash),_[t]||p.throwArgumentError("invalid format type","format",t),t===_.json)return JSON.stringify({type:"function",name:this.name,constant:this.constant,stateMutability:"nonpayable"!==this.stateMutability?this.stateMutability:void 0,payable:this.payable,gas:this.gas?this.gas.toNumber():void 0,inputs:this.inputs.map((function(e){return JSON.parse(e.format(t))})),outputs:this.outputs.map((function(e){return JSON.parse(e.format(t))}))});var e="";return t!==_.sighash&&(e+="function "),e+=this.name+"("+this.inputs.map((function(e){return e.format(t)})).join(t===_.full?", ":",")+") ",t!==_.sighash&&(this.stateMutability?"nonpayable"!==this.stateMutability&&(e+=this.stateMutability+" "):this.constant&&(e+="view "),this.outputs&&this.outputs.length&&(e+="returns ("+this.outputs.map((function(e){return e.format(t)})).join(", ")+") "),null!=this.gas&&(e+="@"+this.gas.toString()+" ")),e.trim()}}],[{key:"from",value:function(t){return"string"==typeof t?r.fromString(t):r.fromObject(t)}},{key:"fromObject",value:function(t){if(r.isFunctionFragment(t))return t;"function"!==t.type&&p.throwArgumentError("invalid function object","value",t);var e=T(t),n={type:t.type,name:B(t.name),constant:e.constant,inputs:t.inputs?t.inputs.map(x.fromObject):[],outputs:t.outputs?t.outputs.map(x.fromObject):[],payable:e.payable,stateMutability:e.stateMutability,gas:t.gas?c.BigNumber.from(t.gas):null};return new r(m,n)}},{key:"fromString",value:function(t){var e={type:"function"},n=(t=M(t,e)).split(" returns ");n.length>2&&p.throwArgumentError("invalid function string","value",t);var i=n[0].match(j);if(i||p.throwArgumentError("invalid function signature","value",t),e.name=i[1].trim(),e.name&&B(e.name),e.inputs=k(i[2],!1),A(i[3].trim(),e),n.length>1){var o=n[1].match(j);""==o[1].trim()&&""==o[3].trim()||p.throwArgumentError("unexpected tokens","value",t),e.outputs=k(o[2],!1)}else e.outputs=[];return r.fromObject(e)}},{key:"isFunctionFragment",value:function(t){return t&&t._isFragment&&"function"===t.type}}]),r}(C);function P(t){var e=t.format();return"Error(string)"!==e&&"Panic(uint256)"!==e||p.throwArgumentError("cannot specify user defined ".concat(e," error"),"fragment",t),t}e.FunctionFragment=L;var O=function(t){(0,i.default)(r,t);var e=d(r);function r(){return(0,s.default)(this,r),e.apply(this,arguments)}return(0,u.default)(r,[{key:"format",value:function(t){if(t||(t=_.sighash),_[t]||p.throwArgumentError("invalid format type","format",t),t===_.json)return JSON.stringify({type:"error",name:this.name,inputs:this.inputs.map((function(e){return JSON.parse(e.format(t))}))});var e="";return t!==_.sighash&&(e+="error "),(e+=this.name+"("+this.inputs.map((function(e){return e.format(t)})).join(t===_.full?", ":",")+") ").trim()}}],[{key:"from",value:function(t){return"string"==typeof t?r.fromString(t):r.fromObject(t)}},{key:"fromObject",value:function(t){if(r.isErrorFragment(t))return t;"error"!==t.type&&p.throwArgumentError("invalid error object","value",t);var e={type:t.type,name:B(t.name),inputs:t.inputs?t.inputs.map(x.fromObject):[]};return P(new r(m,e))}},{key:"fromString",value:function(t){var e={type:"error"},n=t.match(j);return n||p.throwArgumentError("invalid error signature","value",t),e.name=n[1].trim(),e.name&&B(e.name),e.inputs=k(n[2],!1),P(r.fromObject(e))}},{key:"isErrorFragment",value:function(t){return t&&t._isFragment&&"error"===t.type}}]),r}(S);function I(t){return t.match(/^uint($|[^1-9])/)?t="uint256"+t.substring(4):t.match(/^int($|[^1-9])/)&&(t="int256"+t.substring(3)),t}e.ErrorFragment=O;var D=new RegExp("^[a-zA-Z$_][a-zA-Z0-9$_]*$");function B(t){return t&&t.match(D)||p.throwArgumentError('invalid identifier "'.concat(t,'"'),"value",t),t}var j=new RegExp("^([^)(]*)\\((.*)\\)([^)(]*)$")},62914:(t,e,r)=>{"use strict";Object.defineProperty(e,"RQ",{enumerable:!0,get:function(){return i.AbiCoder}}),Object.defineProperty(e,"_R",{enumerable:!0,get:function(){return n.ParamType}});var n=r(60800),i=r(44937);r(69044)},69044:(t,e,r)=>{"use strict";var n=r(28847);Object.defineProperty(e,"__esModule",{value:!0}),e.TransactionDescription=e.LogDescription=e.Interface=e.Indexed=e.ErrorDescription=void 0,Object.defineProperty(e,"checkResultErrors",{enumerable:!0,get:function(){return g.checkResultErrors}});var i=n(r(58985)),o=n(r(69721)),a=n(r(15163)),s=n(r(34650)),u=n(r(21949)),c=r(77921),l=r(34952),h=r(908),f=r(37515),d=r(64642),p=r(23694),m=r(44937),g=r(17316),y=r(60800),v=r(64327),b=r(98067);function _(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=(0,u.default)(t);if(e){var i=(0,u.default)(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return(0,s.default)(this,r)}}var w=new v.Logger(b.version),x=function(t){(0,a.default)(r,t);var e=_(r);function r(){return(0,o.default)(this,r),e.apply(this,arguments)}return(0,i.default)(r)}(p.Description);e.LogDescription=x;var k=function(t){(0,a.default)(r,t);var e=_(r);function r(){return(0,o.default)(this,r),e.apply(this,arguments)}return(0,i.default)(r)}(p.Description);e.TransactionDescription=k;var S=function(t){(0,a.default)(r,t);var e=_(r);function r(){return(0,o.default)(this,r),e.apply(this,arguments)}return(0,i.default)(r)}(p.Description);e.ErrorDescription=S;var E=function(t){(0,a.default)(r,t);var e=_(r);function r(){return(0,o.default)(this,r),e.apply(this,arguments)}return(0,i.default)(r,null,[{key:"isIndexed",value:function(t){return!(!t||!t._isIndexed)}}]),r}(p.Description);e.Indexed=E;var M={"0x08c379a0":{signature:"Error(string)",name:"Error",inputs:["string"],reason:!0},"0x4e487b71":{signature:"Panic(uint256)",name:"Panic",inputs:["uint256"]}};function A(t,e){var r=new Error("deferred error during ABI decoding triggered accessing ".concat(t));return r.error=e,r}var T=function(){function t(e){var r=this;(0,o.default)(this,t);var n=[];n="string"==typeof e?JSON.parse(e):e,(0,p.defineReadOnly)(this,"fragments",n.map((function(t){return y.Fragment.from(t)})).filter((function(t){return null!=t}))),(0,p.defineReadOnly)(this,"_abiCoder",(0,p.getStatic)(this instanceof t?this.constructor:void 0,"getAbiCoder")()),(0,p.defineReadOnly)(this,"functions",{}),(0,p.defineReadOnly)(this,"errors",{}),(0,p.defineReadOnly)(this,"events",{}),(0,p.defineReadOnly)(this,"structs",{}),this.fragments.forEach((function(t){var e=null;switch(t.type){case"constructor":return r.deploy?void w.warn("duplicate definition - constructor"):void(0,p.defineReadOnly)(r,"deploy",t);case"function":e=r.functions;break;case"event":e=r.events;break;case"error":e=r.errors;break;default:return}var n=t.format();e[n]?w.warn("duplicate definition - "+n):e[n]=t})),this.deploy||(0,p.defineReadOnly)(this,"deploy",y.ConstructorFragment.from({payable:!1,type:"constructor"})),(0,p.defineReadOnly)(this,"_isInterface",!0)}return(0,i.default)(t,[{key:"format",value:function(t){t||(t=y.FormatTypes.full),t===y.FormatTypes.sighash&&w.throwArgumentError("interface does not support formatting sighash","format",t);var e=this.fragments.map((function(e){return e.format(t)}));return t===y.FormatTypes.json?JSON.stringify(e.map((function(t){return JSON.parse(t)}))):e}},{key:"getFunction",value:function(t){if((0,h.isHexString)(t)){for(var e in this.functions)if(t===this.getSighash(e))return this.functions[e];w.throwArgumentError("no matching function","sighash",t)}if(-1===t.indexOf("(")){var r=t.trim(),n=Object.keys(this.functions).filter((function(t){return t.split("(")[0]===r}));return 0===n.length?w.throwArgumentError("no matching function","name",r):n.length>1&&w.throwArgumentError("multiple matching functions","name",r),this.functions[n[0]]}var i=this.functions[y.FunctionFragment.fromString(t).format()];return i||w.throwArgumentError("no matching function","signature",t),i}},{key:"getEvent",value:function(t){if((0,h.isHexString)(t)){var e=t.toLowerCase();for(var r in this.events)if(e===this.getEventTopic(r))return this.events[r];w.throwArgumentError("no matching event","topichash",e)}if(-1===t.indexOf("(")){var n=t.trim(),i=Object.keys(this.events).filter((function(t){return t.split("(")[0]===n}));return 0===i.length?w.throwArgumentError("no matching event","name",n):i.length>1&&w.throwArgumentError("multiple matching events","name",n),this.events[i[0]]}var o=this.events[y.EventFragment.fromString(t).format()];return o||w.throwArgumentError("no matching event","signature",t),o}},{key:"getError",value:function(t){if((0,h.isHexString)(t)){var e=(0,p.getStatic)(this.constructor,"getSighash");for(var r in this.errors)if(t===e(this.errors[r]))return this.errors[r];w.throwArgumentError("no matching error","sighash",t)}if(-1===t.indexOf("(")){var n=t.trim(),i=Object.keys(this.errors).filter((function(t){return t.split("(")[0]===n}));return 0===i.length?w.throwArgumentError("no matching error","name",n):i.length>1&&w.throwArgumentError("multiple matching errors","name",n),this.errors[i[0]]}var o=this.errors[y.FunctionFragment.fromString(t).format()];return o||w.throwArgumentError("no matching error","signature",t),o}},{key:"getSighash",value:function(t){if("string"==typeof t)try{t=this.getFunction(t)}catch(e){try{t=this.getError(t)}catch(t){throw e}}return(0,p.getStatic)(this.constructor,"getSighash")(t)}},{key:"getEventTopic",value:function(t){return"string"==typeof t&&(t=this.getEvent(t)),(0,p.getStatic)(this.constructor,"getEventTopic")(t)}},{key:"_decodeParams",value:function(t,e){return this._abiCoder.decode(t,e)}},{key:"_encodeParams",value:function(t,e){return this._abiCoder.encode(t,e)}},{key:"encodeDeploy",value:function(t){return this._encodeParams(this.deploy.inputs,t||[])}},{key:"decodeErrorResult",value:function(t,e){"string"==typeof t&&(t=this.getError(t));var r=(0,h.arrayify)(e);return(0,h.hexlify)(r.slice(0,4))!==this.getSighash(t)&&w.throwArgumentError("data signature does not match error ".concat(t.name,"."),"data",(0,h.hexlify)(r)),this._decodeParams(t.inputs,r.slice(4))}},{key:"encodeErrorResult",value:function(t,e){return"string"==typeof t&&(t=this.getError(t)),(0,h.hexlify)((0,h.concat)([this.getSighash(t),this._encodeParams(t.inputs,e||[])]))}},{key:"decodeFunctionData",value:function(t,e){"string"==typeof t&&(t=this.getFunction(t));var r=(0,h.arrayify)(e);return(0,h.hexlify)(r.slice(0,4))!==this.getSighash(t)&&w.throwArgumentError("data signature does not match function ".concat(t.name,"."),"data",(0,h.hexlify)(r)),this._decodeParams(t.inputs,r.slice(4))}},{key:"encodeFunctionData",value:function(t,e){return"string"==typeof t&&(t=this.getFunction(t)),(0,h.hexlify)((0,h.concat)([this.getSighash(t),this._encodeParams(t.inputs,e||[])]))}},{key:"decodeFunctionResult",value:function(t,e){"string"==typeof t&&(t=this.getFunction(t));var r=(0,h.arrayify)(e),n=null,i="",o=null,a=null,s=null;switch(r.length%this._abiCoder._getWordSize()){case 0:try{return this._abiCoder.decode(t.outputs,r)}catch(l){}break;case 4:var u=(0,h.hexlify)(r.slice(0,4)),c=M[u];if(c)o=this._abiCoder.decode(c.inputs,r.slice(4)),a=c.name,s=c.signature,c.reason&&(n=o[0]),"Error"===a?i="; VM Exception while processing transaction: reverted with reason string ".concat(JSON.stringify(o[0])):"Panic"===a&&(i="; VM Exception while processing transaction: reverted with panic code ".concat(o[0]));else try{var l=this.getError(u);o=this._abiCoder.decode(l.inputs,r.slice(4)),a=l.name,s=l.format()}catch(l){}}return w.throwError("call revert exception"+i,v.Logger.errors.CALL_EXCEPTION,{method:t.format(),data:(0,h.hexlify)(e),errorArgs:o,errorName:a,errorSignature:s,reason:n})}},{key:"encodeFunctionResult",value:function(t,e){return"string"==typeof t&&(t=this.getFunction(t)),(0,h.hexlify)(this._abiCoder.encode(t.outputs,e||[]))}},{key:"encodeFilterTopics",value:function(t,e){var r=this;"string"==typeof t&&(t=this.getEvent(t)),e.length>t.inputs.length&&w.throwError("too many arguments for "+t.format(),v.Logger.errors.UNEXPECTED_ARGUMENT,{argument:"values",value:e});var n=[];t.anonymous||n.push(this.getEventTopic(t));var i=function(t,e){return"string"===t.type?(0,f.id)(e):"bytes"===t.type?(0,d.keccak256)((0,h.hexlify)(e)):("bool"===t.type&&"boolean"==typeof e&&(e=e?"0x01":"0x00"),t.type.match(/^u?int/)&&(e=l.BigNumber.from(e).toHexString()),"address"===t.type&&r._abiCoder.encode(["address"],[e]),(0,h.hexZeroPad)((0,h.hexlify)(e),32))};for(e.forEach((function(e,r){var o=t.inputs[r];o.indexed?null==e?n.push(null):"array"===o.baseType||"tuple"===o.baseType?w.throwArgumentError("filtering with tuples or arrays not supported","contract."+o.name,e):Array.isArray(e)?n.push(e.map((function(t){return i(o,t)}))):n.push(i(o,e)):null!=e&&w.throwArgumentError("cannot filter non-indexed parameters; must be null","contract."+o.name,e)}));n.length&&null===n[n.length-1];)n.pop();return n}},{key:"encodeEventLog",value:function(t,e){var r=this;"string"==typeof t&&(t=this.getEvent(t));var n=[],i=[],o=[];return t.anonymous||n.push(this.getEventTopic(t)),e.length!==t.inputs.length&&w.throwArgumentError("event arguments/values mismatch","values",e),t.inputs.forEach((function(t,a){var s=e[a];if(t.indexed)if("string"===t.type)n.push((0,f.id)(s));else if("bytes"===t.type)n.push((0,d.keccak256)(s));else{if("tuple"===t.baseType||"array"===t.baseType)throw new Error("not implemented");n.push(r._abiCoder.encode([t.type],[s]))}else i.push(t),o.push(s)})),{data:this._abiCoder.encode(i,o),topics:n}}},{key:"decodeEventLog",value:function(t,e,r){if("string"==typeof t&&(t=this.getEvent(t)),null!=r&&!t.anonymous){var n=this.getEventTopic(t);(0,h.isHexString)(r[0],32)&&r[0].toLowerCase()===n||w.throwError("fragment/topic mismatch",v.Logger.errors.INVALID_ARGUMENT,{argument:"topics[0]",expected:n,value:r[0]}),r=r.slice(1)}var i=[],o=[],a=[];t.inputs.forEach((function(t,e){t.indexed?"string"===t.type||"bytes"===t.type||"tuple"===t.baseType||"array"===t.baseType?(i.push(y.ParamType.fromObject({type:"bytes32",name:t.name})),a.push(!0)):(i.push(t),a.push(!1)):(o.push(t),a.push(!1))}));var s=null!=r?this._abiCoder.decode(i,(0,h.concat)(r)):null,u=this._abiCoder.decode(o,e,!0),c=[],l=0,f=0;t.inputs.forEach((function(t,e){if(t.indexed)if(null==s)c[e]=new E({_isIndexed:!0,hash:null});else if(a[e])c[e]=new E({_isIndexed:!0,hash:s[f++]});else try{c[e]=s[f++]}catch(t){c[e]=t}else try{c[e]=u[l++]}catch(t){c[e]=t}if(t.name&&null==c[t.name]){var r=c[e];r instanceof Error?Object.defineProperty(c,t.name,{enumerable:!0,get:function(){throw A("property ".concat(JSON.stringify(t.name)),r)}}):c[t.name]=r}}));for(var d=function(t){var e=c[t];e instanceof Error&&Object.defineProperty(c,t,{enumerable:!0,get:function(){throw A("index ".concat(t),e)}})},p=0;p<c.length;p++)d(p);return Object.freeze(c)}},{key:"parseTransaction",value:function(t){var e=this.getFunction(t.data.substring(0,10).toLowerCase());return e?new k({args:this._abiCoder.decode(e.inputs,"0x"+t.data.substring(10)),functionFragment:e,name:e.name,signature:e.format(),sighash:this.getSighash(e),value:l.BigNumber.from(t.value||"0")}):null}},{key:"parseLog",value:function(t){var e=this.getEvent(t.topics[0]);return!e||e.anonymous?null:new x({eventFragment:e,name:e.name,signature:e.format(),topic:this.getEventTopic(e),args:this.decodeEventLog(e,t.data,t.topics)})}},{key:"parseError",value:function(t){var e=(0,h.hexlify)(t),r=this.getError(e.substring(0,10).toLowerCase());return r?new S({args:this._abiCoder.decode(r.inputs,"0x"+e.substring(10)),errorFragment:r,name:r.name,signature:r.format(),sighash:this.getSighash(r)}):null}}],[{key:"getAbiCoder",value:function(){return m.defaultAbiCoder}},{key:"getAddress",value:function(t){return(0,c.getAddress)(t)}},{key:"getSighash",value:function(t){return(0,h.hexDataSlice)((0,f.id)(t.format()),0,4)}},{key:"getEventTopic",value:function(t){return(0,f.id)(t.format())}},{key:"isInterface",value:function(t){return!(!t||!t._isInterface)}}]),t}();e.Interface=T},88222:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.version=void 0,e.version="address/5.7.0"},77921:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getAddress=y,e.getContractAddress=function(t){var e=null;try{e=y(t.from)}catch(e){c.throwArgumentError("missing from address","transaction",t)}var r=(0,n.stripZeros)((0,n.arrayify)(i.BigNumber.from(t.nonce).toHexString()));return y((0,n.hexDataSlice)((0,o.keccak256)((0,a.encode)([e,r])),12))},e.getCreate2Address=function(t,e,r){return 32!==(0,n.hexDataLength)(e)&&c.throwArgumentError("salt must be 32 bytes","salt",e),32!==(0,n.hexDataLength)(r)&&c.throwArgumentError("initCodeHash must be 32 bytes","initCodeHash",r),y((0,n.hexDataSlice)((0,o.keccak256)((0,n.concat)(["0xff",y(t),e,r])),12))},e.getIcapAddress=function(t){for(var e=(0,i._base16To36)(y(t).substring(2)).toUpperCase();e.length<30;)e="0"+e;return"XE"+g("XE00"+e)+e},e.isAddress=function(t){try{return y(t),!0}catch(t){}return!1};var n=r(908),i=r(34952),o=r(64642),a=r(55265),s=r(64327),u=r(88222),c=new s.Logger(u.version);function l(t){(0,n.isHexString)(t,20)||c.throwArgumentError("invalid address","address",t);for(var e=(t=t.toLowerCase()).substring(2).split(""),r=new Uint8Array(40),i=0;i<40;i++)r[i]=e[i].charCodeAt(0);for(var a=(0,n.arrayify)((0,o.keccak256)(r)),s=0;s<40;s+=2)a[s>>1]>>4>=8&&(e[s]=e[s].toUpperCase()),(15&a[s>>1])>=8&&(e[s+1]=e[s+1].toUpperCase());return"0x"+e.join("")}for(var h={},f=0;f<10;f++)h[String(f)]=String(f);for(var d=0;d<26;d++)h[String.fromCharCode(65+d)]=String(10+d);var p,m=Math.floor((p=9007199254740991,Math.log10?Math.log10(p):Math.log(p)/Math.LN10));function g(t){for(var e=(t=(t=t.toUpperCase()).substring(4)+t.substring(0,2)+"00").split("").map((function(t){return h[t]})).join("");e.length>=m;){var r=e.substring(0,m);e=parseInt(r,10)%97+e.substring(r.length)}for(var n=String(98-parseInt(e,10)%97);n.length<2;)n="0"+n;return n}function y(t){var e=null;if("string"!=typeof t&&c.throwArgumentError("invalid address","address",t),t.match(/^(0x)?[0-9a-fA-F]{40}$/))"0x"!==t.substring(0,2)&&(t="0x"+t),e=l(t),t.match(/([A-F].*[a-f])|([a-f].*[A-F])/)&&e!==t&&c.throwArgumentError("bad address checksum","address",t);else if(t.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)){for(t.substring(2,4)!==g(t)&&c.throwArgumentError("bad icap checksum","address",t),e=(0,i._base36To16)(t.substring(4));e.length<40;)e="0"+e;e=l("0x"+e)}else c.throwArgumentError("invalid address","address",t);return e}},75798:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.decode=function(t){t=atob(t);for(var e=[],r=0;r<t.length;r++)e.push(t.charCodeAt(r));return(0,n.arrayify)(e)},e.encode=function(t){t=(0,n.arrayify)(t);for(var e="",r=0;r<t.length;r++)e+=String.fromCharCode(t[r]);return btoa(e)};var n=r(908)},80997:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"decode",{enumerable:!0,get:function(){return n.decode}}),Object.defineProperty(e,"encode",{enumerable:!0,get:function(){return n.encode}});var n=r(75798)},3042:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.version=void 0,e.version="bignumber/5.7.0"},1872:(t,e,r)=>{"use strict";var n=r(28847);Object.defineProperty(e,"__esModule",{value:!0}),e.BigNumber=void 0,e._base16To36=function(t){return new l(t,16).toString(36)},e._base36To16=function(t){return new l(t,36).toString(16)},e.isBigNumberish=function(t){return null!=t&&(m.isBigNumber(t)||"number"==typeof t&&t%1==0||"string"==typeof t&&!!t.match(/^-?[0-9]+$/)||(0,s.isHexString)(t)||"bigint"==typeof t||(0,s.isBytes)(t))};var i=n(r(69721)),o=n(r(58985)),a=n(r(31734)),s=r(908),u=r(64327),c=r(3042),l=a.default.BN,h=new u.Logger(c.version),f={},d=9007199254740991,p=!1,m=function(){function t(e,r){(0,i.default)(this,t),e!==f&&h.throwError("cannot call constructor directly; use BigNumber.from",u.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=r,this._isBigNumber=!0,Object.freeze(this)}return(0,o.default)(t,[{key:"fromTwos",value:function(t){return y(v(this).fromTwos(t))}},{key:"toTwos",value:function(t){return y(v(this).toTwos(t))}},{key:"abs",value:function(){return"-"===this._hex[0]?t.from(this._hex.substring(1)):this}},{key:"add",value:function(t){return y(v(this).add(v(t)))}},{key:"sub",value:function(t){return y(v(this).sub(v(t)))}},{key:"div",value:function(e){return t.from(e).isZero()&&b("division-by-zero","div"),y(v(this).div(v(e)))}},{key:"mul",value:function(t){return y(v(this).mul(v(t)))}},{key:"mod",value:function(t){var e=v(t);return e.isNeg()&&b("division-by-zero","mod"),y(v(this).umod(e))}},{key:"pow",value:function(t){var e=v(t);return e.isNeg()&&b("negative-power","pow"),y(v(this).pow(e))}},{key:"and",value:function(t){var e=v(t);return(this.isNegative()||e.isNeg())&&b("unbound-bitwise-result","and"),y(v(this).and(e))}},{key:"or",value:function(t){var e=v(t);return(this.isNegative()||e.isNeg())&&b("unbound-bitwise-result","or"),y(v(this).or(e))}},{key:"xor",value:function(t){var e=v(t);return(this.isNegative()||e.isNeg())&&b("unbound-bitwise-result","xor"),y(v(this).xor(e))}},{key:"mask",value:function(t){return(this.isNegative()||t<0)&&b("negative-width","mask"),y(v(this).maskn(t))}},{key:"shl",value:function(t){return(this.isNegative()||t<0)&&b("negative-width","shl"),y(v(this).shln(t))}},{key:"shr",value:function(t){return(this.isNegative()||t<0)&&b("negative-width","shr"),y(v(this).shrn(t))}},{key:"eq",value:function(t){return v(this).eq(v(t))}},{key:"lt",value:function(t){return v(this).lt(v(t))}},{key:"lte",value:function(t){return v(this).lte(v(t))}},{key:"gt",value:function(t){return v(this).gt(v(t))}},{key:"gte",value:function(t){return v(this).gte(v(t))}},{key:"isNegative",value:function(){return"-"===this._hex[0]}},{key:"isZero",value:function(){return v(this).isZero()}},{key:"toNumber",value:function(){try{return v(this).toNumber()}catch(t){b("overflow","toNumber",this.toString())}return null}},{key:"toBigInt",value:function(){try{return BigInt(this.toString())}catch(t){}return h.throwError("this platform does not support BigInt",u.Logger.errors.UNSUPPORTED_OPERATION,{value:this.toString()})}},{key:"toString",value:function(){return arguments.length>0&&(10===arguments[0]?p||(p=!0,h.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):16===arguments[0]?h.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",u.Logger.errors.UNEXPECTED_ARGUMENT,{}):h.throwError("BigNumber.toString does not accept parameters",u.Logger.errors.UNEXPECTED_ARGUMENT,{})),v(this).toString(10)}},{key:"toHexString",value:function(){return this._hex}},{key:"toJSON",value:function(t){return{type:"BigNumber",hex:this.toHexString()}}}],[{key:"from",value:function(e){if(e instanceof t)return e;if("string"==typeof e)return e.match(/^-?0x[0-9a-f]+$/i)?new t(f,g(e)):e.match(/^-?[0-9]+$/)?new t(f,g(new l(e))):h.throwArgumentError("invalid BigNumber string","value",e);if("number"==typeof e)return e%1&&b("underflow","BigNumber.from",e),(e>=d||e<=-d)&&b("overflow","BigNumber.from",e),t.from(String(e));var r=e;if("bigint"==typeof r)return t.from(r.toString());if((0,s.isBytes)(r))return t.from((0,s.hexlify)(r));if(r)if(r.toHexString){var n=r.toHexString();if("string"==typeof n)return t.from(n)}else{var i=r._hex;if(null==i&&"BigNumber"===r.type&&(i=r.hex),"string"==typeof i&&((0,s.isHexString)(i)||"-"===i[0]&&(0,s.isHexString)(i.substring(1))))return t.from(i)}return h.throwArgumentError("invalid BigNumber value","value",e)}},{key:"isBigNumber",value:function(t){return!(!t||!t._isBigNumber)}}]),t}();function g(t){if("string"!=typeof t)return g(t.toString(16));if("-"===t[0])return"-"===(t=t.substring(1))[0]&&h.throwArgumentError("invalid hex","value",t),"0x00"===(t=g(t))?t:"-"+t;if("0x"!==t.substring(0,2)&&(t="0x"+t),"0x"===t)return"0x00";for(t.length%2&&(t="0x0"+t.substring(2));t.length>4&&"0x00"===t.substring(0,4);)t="0x"+t.substring(4);return t}function y(t){return m.from(g(t))}function v(t){var e=m.from(t).toHexString();return"-"===e[0]?new l("-"+e.substring(3),16):new l(e.substring(2),16)}function b(t,e,r){var n={fault:t,operation:e};return null!=r&&(n.value=r),h.throwError(t,u.Logger.errors.NUMERIC_FAULT,n)}e.BigNumber=m},68390:(t,e,r)=>{"use strict";var n=r(28847);Object.defineProperty(e,"__esModule",{value:!0}),e.FixedNumber=e.FixedFormat=void 0,e.formatFixed=v,e.parseFixed=b;var i=n(r(3355)),o=n(r(69721)),a=n(r(58985)),s=r(908),u=r(64327),c=r(3042),l=r(1872),h=new u.Logger(c.version),f={},d=l.BigNumber.from(0),p=l.BigNumber.from(-1);function m(t,e,r,n){var i={fault:e,operation:r};return void 0!==n&&(i.value=n),h.throwError(t,u.Logger.errors.NUMERIC_FAULT,i)}for(var g="0";g.length<256;)g+=g;function y(t){if("number"!=typeof t)try{t=l.BigNumber.from(t).toNumber()}catch(t){}return"number"==typeof t&&t>=0&&t<=256&&!(t%1)?"1"+g.substring(0,t):h.throwArgumentError("invalid decimal size","decimals",t)}function v(t,e){null==e&&(e=0);var r=y(e),n=(t=l.BigNumber.from(t)).lt(d);n&&(t=t.mul(p));for(var i=t.mod(r).toString();i.length<r.length-1;)i="0"+i;i=i.match(/^([0-9]*[1-9]|0)(0*)/)[1];var o=t.div(r).toString();return t=1===r.length?o:o+"."+i,n&&(t="-"+t),t}function b(t,e){null==e&&(e=0);var r=y(e);"string"==typeof t&&t.match(/^-?[0-9.]+$/)||h.throwArgumentError("invalid decimal value","value",t);var n="-"===t.substring(0,1);n&&(t=t.substring(1)),"."===t&&h.throwArgumentError("missing value","value",t);var i=t.split(".");i.length>2&&h.throwArgumentError("too many decimal points","value",t);var o=i[0],a=i[1];for(o||(o="0"),a||(a="0");"0"===a[a.length-1];)a=a.substring(0,a.length-1);for(a.length>r.length-1&&m("fractional component exceeds decimals","underflow","parseFixed"),""===a&&(a="0");a.length<r.length-1;)a+="0";var s=l.BigNumber.from(o),u=l.BigNumber.from(a),c=s.mul(r).add(u);return n&&(c=c.mul(p)),c}var _=function(){function t(e,r,n,i){(0,o.default)(this,t),e!==f&&h.throwError("cannot use FixedFormat constructor; use FixedFormat.from",u.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new FixedFormat"}),this.signed=r,this.width=n,this.decimals=i,this.name=(r?"":"u")+"fixed"+String(n)+"x"+String(i),this._multiplier=y(i),Object.freeze(this)}return(0,a.default)(t,null,[{key:"from",value:function(e){if(e instanceof t)return e;"number"==typeof e&&(e="fixed128x".concat(e));var r=!0,n=128,o=18;if("string"==typeof e)if("fixed"===e);else if("ufixed"===e)r=!1;else{var a=e.match(/^(u?)fixed([0-9]+)x([0-9]+)$/);a||h.throwArgumentError("invalid fixed format","format",e),r="u"!==a[1],n=parseInt(a[2]),o=parseInt(a[3])}else if(e){var s=function(t,r,n){return null==e[t]?n:((0,i.default)(e[t])!==r&&h.throwArgumentError("invalid fixed format ("+t+" not "+r+")","format."+t,e[t]),e[t])};r=s("signed","boolean",r),n=s("width","number",n),o=s("decimals","number",o)}return n%8&&h.throwArgumentError("invalid fixed format width (not byte aligned)","format.width",n),o>80&&h.throwArgumentError("invalid fixed format (decimals too large)","format.decimals",o),new t(f,r,n,o)}}]),t}();e.FixedFormat=_;var w=function(){function t(e,r,n,i){(0,o.default)(this,t),e!==f&&h.throwError("cannot use FixedNumber constructor; use FixedNumber.from",u.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new FixedFormat"}),this.format=i,this._hex=r,this._value=n,this._isFixedNumber=!0,Object.freeze(this)}return(0,a.default)(t,[{key:"_checkFormat",value:function(t){this.format.name!==t.format.name&&h.throwArgumentError("incompatible format; use fixedNumber.toFormat","other",t)}},{key:"addUnsafe",value:function(e){this._checkFormat(e);var r=b(this._value,this.format.decimals),n=b(e._value,e.format.decimals);return t.fromValue(r.add(n),this.format.decimals,this.format)}},{key:"subUnsafe",value:function(e){this._checkFormat(e);var r=b(this._value,this.format.decimals),n=b(e._value,e.format.decimals);return t.fromValue(r.sub(n),this.format.decimals,this.format)}},{key:"mulUnsafe",value:function(e){this._checkFormat(e);var r=b(this._value,this.format.decimals),n=b(e._value,e.format.decimals);return t.fromValue(r.mul(n).div(this.format._multiplier),this.format.decimals,this.format)}},{key:"divUnsafe",value:function(e){this._checkFormat(e);var r=b(this._value,this.format.decimals),n=b(e._value,e.format.decimals);return t.fromValue(r.mul(this.format._multiplier).div(n),this.format.decimals,this.format)}},{key:"floor",value:function(){var e=this.toString().split(".");1===e.length&&e.push("0");var r=t.from(e[0],this.format),n=!e[1].match(/^(0*)$/);return this.isNegative()&&n&&(r=r.subUnsafe(x.toFormat(r.format))),r}},{key:"ceiling",value:function(){var e=this.toString().split(".");1===e.length&&e.push("0");var r=t.from(e[0],this.format),n=!e[1].match(/^(0*)$/);return!this.isNegative()&&n&&(r=r.addUnsafe(x.toFormat(r.format))),r}},{key:"round",value:function(e){null==e&&(e=0);var r=this.toString().split(".");if(1===r.length&&r.push("0"),(e<0||e>80||e%1)&&h.throwArgumentError("invalid decimal count","decimals",e),r[1].length<=e)return this;var n=t.from("1"+g.substring(0,e),this.format),i=k.toFormat(this.format);return this.mulUnsafe(n).addUnsafe(i).floor().divUnsafe(n)}},{key:"isZero",value:function(){return"0.0"===this._value||"0"===this._value}},{key:"isNegative",value:function(){return"-"===this._value[0]}},{key:"toString",value:function(){return this._value}},{key:"toHexString",value:function(t){if(null==t)return this._hex;t%8&&h.throwArgumentError("invalid byte width","width",t);var e=l.BigNumber.from(this._hex).fromTwos(this.format.width).toTwos(t).toHexString();return(0,s.hexZeroPad)(e,t/8)}},{key:"toUnsafeFloat",value:function(){return parseFloat(this.toString())}},{key:"toFormat",value:function(e){return t.fromString(this._value,e)}}],[{key:"fromValue",value:function(e,r,n){return null!=n||null==r||(0,l.isBigNumberish)(r)||(n=r,r=null),null==r&&(r=0),null==n&&(n="fixed"),t.fromString(v(e,r),_.from(n))}},{key:"fromString",value:function(e,r){null==r&&(r="fixed");var n=_.from(r),i=b(e,n.decimals);!n.signed&&i.lt(d)&&m("unsigned value cannot be negative","overflow","value",e);var o=null;n.signed?o=i.toTwos(n.width).toHexString():(o=i.toHexString(),o=(0,s.hexZeroPad)(o,n.width/8));var a=v(i,n.decimals);return new t(f,o,a,n)}},{key:"fromBytes",value:function(e,r){null==r&&(r="fixed");var n=_.from(r);if((0,s.arrayify)(e).length>n.width/8)throw new Error("overflow");var i=l.BigNumber.from(e);n.signed&&(i=i.fromTwos(n.width));var o=i.toTwos((n.signed?0:1)+n.width).toHexString(),a=v(i,n.decimals);return new t(f,o,a,n)}},{key:"from",value:function(e,r){if("string"==typeof e)return t.fromString(e,r);if((0,s.isBytes)(e))return t.fromBytes(e,r);try{return t.fromValue(e,0,r)}catch(t){if(t.code!==u.Logger.errors.INVALID_ARGUMENT)throw t}return h.throwArgumentError("invalid FixedNumber value","value",e)}},{key:"isFixedNumber",value:function(t){return!(!t||!t._isFixedNumber)}}]),t}();e.FixedNumber=w;var x=w.from(1),k=w.from("0.5")},34952:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"BigNumber",{enumerable:!0,get:function(){return n.BigNumber}}),Object.defineProperty(e,"FixedFormat",{enumerable:!0,get:function(){return i.FixedFormat}}),Object.defineProperty(e,"FixedNumber",{enumerable:!0,get:function(){return i.FixedNumber}}),Object.defineProperty(e,"_base16To36",{enumerable:!0,get:function(){return n._base16To36}}),Object.defineProperty(e,"_base36To16",{enumerable:!0,get:function(){return n._base36To16}}),Object.defineProperty(e,"formatFixed",{enumerable:!0,get:function(){return i.formatFixed}}),Object.defineProperty(e,"parseFixed",{enumerable:!0,get:function(){return i.parseFixed}});var n=r(1872),i=r(68390)},8729:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.version=void 0,e.version="bytes/5.7.0"},908:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.arrayify=h,e.concat=f,e.hexConcat=function(t){var e="0x";return t.forEach((function(t){e+=g(t).substring(2)})),e},e.hexDataLength=function(t){if("string"!=typeof t)t=g(t);else if(!p(t)||t.length%2)return null;return(t.length-2)/2},e.hexDataSlice=function(t,e,r){return"string"!=typeof t?t=g(t):(!p(t)||t.length%2)&&o.throwArgumentError("invalid hexData","value",t),e=2+2*e,null!=r?"0x"+t.substring(e,2+2*r):"0x"+t.substring(e)},e.hexStripZeros=y,e.hexValue=function(t){var e=y(g(t,{hexPad:"left"}));return"0x"===e?"0x0":e},e.hexZeroPad=v,e.hexlify=g,e.isBytes=l,e.isBytesLike=u,e.isHexString=p,e.joinSignature=function(t){return g(f([(t=b(t)).r,t.s,t.recoveryParam?"0x1c":"0x1b"]))},e.splitSignature=b,e.stripZeros=function(t){var e=h(t);if(0===e.length)return e;for(var r=0;r<e.length&&0===e[r];)r++;return r&&(e=e.slice(r)),e},e.zeroPad=d;var n=r(64327),i=r(8729),o=new n.Logger(i.version);function a(t){return!!t.toHexString}function s(t){return t.slice||(t.slice=function(){var e=Array.prototype.slice.call(arguments);return s(new Uint8Array(Array.prototype.slice.apply(t,e)))}),t}function u(t){return p(t)&&!(t.length%2)||l(t)}function c(t){return"number"==typeof t&&t==t&&t%1==0}function l(t){if(null==t)return!1;if(t.constructor===Uint8Array)return!0;if("string"==typeof t)return!1;if(!c(t.length)||t.length<0)return!1;for(var e=0;e<t.length;e++){var r=t[e];if(!c(r)||r<0||r>=256)return!1}return!0}function h(t,e){if(e||(e={}),"number"==typeof t){o.checkSafeUint53(t,"invalid arrayify value");for(var r=[];t;)r.unshift(255&t),t=parseInt(String(t/256));return 0===r.length&&r.push(0),s(new Uint8Array(r))}if(e.allowMissingPrefix&&"string"==typeof t&&"0x"!==t.substring(0,2)&&(t="0x"+t),a(t)&&(t=t.toHexString()),p(t)){var n=t.substring(2);n.length%2&&("left"===e.hexPad?n="0"+n:"right"===e.hexPad?n+="0":o.throwArgumentError("hex data is odd-length","value",t));for(var i=[],u=0;u<n.length;u+=2)i.push(parseInt(n.substring(u,u+2),16));return s(new Uint8Array(i))}return l(t)?s(new Uint8Array(t)):o.throwArgumentError("invalid arrayify value","value",t)}function f(t){var e=t.map((function(t){return h(t)})),r=e.reduce((function(t,e){return t+e.length}),0),n=new Uint8Array(r);return e.reduce((function(t,e){return n.set(e,t),t+e.length}),0),s(n)}function d(t,e){(t=h(t)).length>e&&o.throwArgumentError("value out of range","value",arguments[0]);var r=new Uint8Array(e);return r.set(t,e-t.length),s(r)}function p(t,e){return!("string"!=typeof t||!t.match(/^0x[0-9A-Fa-f]*$/)||e&&t.length!==2+2*e)}var m="0123456789abcdef";function g(t,e){if(e||(e={}),"number"==typeof t){o.checkSafeUint53(t,"invalid hexlify value");for(var r="";t;)r=m[15&t]+r,t=Math.floor(t/16);return r.length?(r.length%2&&(r="0"+r),"0x"+r):"0x00"}if("bigint"==typeof t)return(t=t.toString(16)).length%2?"0x0"+t:"0x"+t;if(e.allowMissingPrefix&&"string"==typeof t&&"0x"!==t.substring(0,2)&&(t="0x"+t),a(t))return t.toHexString();if(p(t))return t.length%2&&("left"===e.hexPad?t="0x0"+t.substring(2):"right"===e.hexPad?t+="0":o.throwArgumentError("hex data is odd-length","value",t)),t.toLowerCase();if(l(t)){for(var n="0x",i=0;i<t.length;i++){var s=t[i];n+=m[(240&s)>>4]+m[15&s]}return n}return o.throwArgumentError("invalid hexlify value","value",t)}function y(t){"string"!=typeof t&&(t=g(t)),p(t)||o.throwArgumentError("invalid hex string","value",t),t=t.substring(2);for(var e=0;e<t.length&&"0"===t[e];)e++;return"0x"+t.substring(e)}function v(t,e){for("string"!=typeof t?t=g(t):p(t)||o.throwArgumentError("invalid hex string","value",t),t.length>2*e+2&&o.throwArgumentError("value out of range","value",arguments[1]);t.length<2*e+2;)t="0x0"+t.substring(2);return t}function b(t){var e={r:"0x",s:"0x",_vs:"0x",recoveryParam:0,v:0,yParityAndS:"0x",compact:"0x"};if(u(t)){var r=h(t);64===r.length?(e.v=27+(r[32]>>7),r[32]&=127,e.r=g(r.slice(0,32)),e.s=g(r.slice(32,64))):65===r.length?(e.r=g(r.slice(0,32)),e.s=g(r.slice(32,64)),e.v=r[64]):o.throwArgumentError("invalid signature string","signature",t),e.v<27&&(0===e.v||1===e.v?e.v+=27:o.throwArgumentError("signature invalid v byte","signature",t)),e.recoveryParam=1-e.v%2,e.recoveryParam&&(r[32]|=128),e._vs=g(r.slice(32,64))}else{if(e.r=t.r,e.s=t.s,e.v=t.v,e.recoveryParam=t.recoveryParam,e._vs=t._vs,null!=e._vs){var n=d(h(e._vs),32);e._vs=g(n);var i=n[0]>=128?1:0;null==e.recoveryParam?e.recoveryParam=i:e.recoveryParam!==i&&o.throwArgumentError("signature recoveryParam mismatch _vs","signature",t),n[0]&=127;var a=g(n);null==e.s?e.s=a:e.s!==a&&o.throwArgumentError("signature v mismatch _vs","signature",t)}if(null==e.recoveryParam)null==e.v?o.throwArgumentError("signature missing v and recoveryParam","signature",t):0===e.v||1===e.v?e.recoveryParam=e.v:e.recoveryParam=1-e.v%2;else if(null==e.v)e.v=27+e.recoveryParam;else{var s=0===e.v||1===e.v?e.v:1-e.v%2;e.recoveryParam!==s&&o.throwArgumentError("signature recoveryParam mismatch v","signature",t)}null!=e.r&&p(e.r)?e.r=v(e.r,32):o.throwArgumentError("signature missing or invalid r","signature",t),null!=e.s&&p(e.s)?e.s=v(e.s,32):o.throwArgumentError("signature missing or invalid s","signature",t);var c=h(e.s);c[0]>=128&&o.throwArgumentError("signature s out of range","signature",t),e.recoveryParam&&(c[0]|=128);var l=g(c);e._vs&&(p(e._vs)||o.throwArgumentError("signature invalid _vs","signature",t),e._vs=v(e._vs,32)),null==e._vs?e._vs=l:e._vs!==l&&o.throwArgumentError("signature _vs mismatch v and s","signature",t)}return e.yParityAndS=e._vs,e.compact=e.r+e.yParityAndS.substring(2),e}},48721:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AddressZero=void 0,e.AddressZero="0x0000000000000000000000000000000000000000"},22997:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Zero=e.WeiPerEther=e.Two=e.One=e.NegativeOne=e.MinInt256=e.MaxUint256=e.MaxInt256=void 0;var n=r(34952),i=n.BigNumber.from(-1);e.NegativeOne=i;var o=n.BigNumber.from(0);e.Zero=o;var a=n.BigNumber.from(1);e.One=a;var s=n.BigNumber.from(2);e.Two=s;var u=n.BigNumber.from("1000000000000000000");e.WeiPerEther=u;var c=n.BigNumber.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");e.MaxUint256=c;var l=n.BigNumber.from("-0x8000000000000000000000000000000000000000000000000000000000000000");e.MinInt256=l;var h=n.BigNumber.from("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");e.MaxInt256=h},90396:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.HashZero=void 0,e.HashZero="0x0000000000000000000000000000000000000000000000000000000000000000"},5465:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"AddressZero",{enumerable:!0,get:function(){return n.AddressZero}}),Object.defineProperty(e,"EtherSymbol",{enumerable:!0,get:function(){return a.EtherSymbol}}),Object.defineProperty(e,"HashZero",{enumerable:!0,get:function(){return o.HashZero}}),Object.defineProperty(e,"MaxInt256",{enumerable:!0,get:function(){return i.MaxInt256}}),Object.defineProperty(e,"MaxUint256",{enumerable:!0,get:function(){return i.MaxUint256}}),Object.defineProperty(e,"MinInt256",{enumerable:!0,get:function(){return i.MinInt256}}),Object.defineProperty(e,"NegativeOne",{enumerable:!0,get:function(){return i.NegativeOne}}),Object.defineProperty(e,"One",{enumerable:!0,get:function(){return i.One}}),Object.defineProperty(e,"Two",{enumerable:!0,get:function(){return i.Two}}),Object.defineProperty(e,"WeiPerEther",{enumerable:!0,get:function(){return i.WeiPerEther}}),Object.defineProperty(e,"Zero",{enumerable:!0,get:function(){return i.Zero}});var n=r(48721),i=r(22997),o=r(90396),a=r(68347)},68347:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EtherSymbol=void 0,e.EtherSymbol="Ξ"},33989:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.version=void 0,e.version="hash/5.7.0"},33731:(t,e)=>{"use strict";function r(t,e){null==e&&(e=1);var r=[],n=r.forEach;return function t(e,i){n.call(e,(function(e){i>0&&Array.isArray(e)?t(e,i-1):r.push(e)}))}(t,e),r}function n(t){var e=0;function r(){return t[e++]<<8|t[e++]}for(var n=r(),i=1,o=[0,1],a=1;a<n;a++)o.push(i+=r());var s=r(),u=e;e+=s;var c=0,l=0;function h(){return 0==c&&(l=l<<8|t[e++],c=8),l>>--c&1}for(var f=Math.pow(2,31),d=f>>>1,p=d>>1,m=f-1,g=0,y=0;y<31;y++)g=g<<1|h();for(var v=[],b=0,_=f;;){for(var w=Math.floor(((g-b+1)*i-1)/_),x=0,k=n;k-x>1;){var S=x+k>>>1;w<o[S]?k=S:x=S}if(0==x)break;v.push(x);for(var E=b+Math.floor(_*o[x]/i),M=b+Math.floor(_*o[x+1]/i)-1;0==((E^M)&d);)g=g<<1&m|h(),E=E<<1&m,M=M<<1&m|1;for(;E&~M&p;)g=g&d|g<<1&m>>>1|h(),E=E<<1^d,M=(M^d)<<1|d|1;b=E,_=1+M-E}var A=n-4;return v.map((function(e){switch(e-A){case 3:return A+65792+(t[u++]<<16|t[u++]<<8|t[u++]);case 2:return A+256+(t[u++]<<8|t[u++]);case 1:return A+t[u++];default:return e-1}}))}function i(t){var e=0;return function(){return t[e++]}}function o(t){return 1&t?~t>>1:t>>1}function a(t,e){for(var r=Array(t),n=0,i=-1;n<t;n++)r[n]=i+=1+e();return r}function s(t,e){for(var r=Array(t),n=0,i=0;n<t;n++)r[n]=i+=o(e());return r}function u(t,e){for(var r=a(t(),t),n=t(),i=a(n,t),o=function(t,e){for(var r=Array(t),n=0;n<t;n++)r[n]=1+e();return r}(n,t),s=0;s<n;s++)for(var u=0;u<o[s];u++)r.push(i[s]+u);return e?r.map((function(t){return e[t]})):r}function c(t){for(var e=[];;){var r=t();if(0==r)break;e.push(r)}return e}function l(t,e,r){for(var n=Array(t).fill(void 0).map((function(){return[]})),i=0;i<e;i++)s(t,r).forEach((function(t,e){return n[e].push(t)}));return n}function h(t,e){var n=1+e(),i=e(),o=c(e);return r(l(o.length,1+t,e).map((function(t,e){var r=t[0],a=t.slice(1);return Array(o[e]).fill(void 0).map((function(t,e){var o=e*i;return[r+e*n,a.map((function(t){return t+o}))]}))})))}function f(t,e){return l(1+e(),1+t,e).map((function(t){return[t[0],t.slice(1)]}))}Object.defineProperty(e,"__esModule",{value:!0}),e.decode_arithmetic=n,e.read_compressed_payload=function(t){return i(n(t))},e.read_emoji_trie=function(t){var e=u(t).sort((function(t,e){return t-e}));return function r(){for(var n=[];;){var i=u(t,e);if(0==i.length)break;n.push({set:new Set(i),node:r()})}n.sort((function(t,e){return e.set.size-t.set.size}));var o=t();return{branches:n,valid:o%3,fe0f:!!(1&(o=o/3|0)),save:1==(o>>=1),check:2==o}}()},e.read_mapped_map=function(t){for(var e=[];;){var n=t();if(0==n)break;e.push(h(n,t))}for(;;){var i=t()-1;if(i<0)break;e.push(f(i,t))}return function(t){for(var e={},r=0;r<t.length;r++){var n=t[r];e[n[0]]=n[1]}return e}(r(e))},e.read_member_array=u,e.read_payload=i,e.read_zero_terminated_array=c,e.signed=o},63961:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getData=function(){return(0,i.read_compressed_payload)((0,n.decode)("AEQF2AO2DEsA2wIrAGsBRABxAN8AZwCcAEwAqgA0AGwAUgByADcATAAVAFYAIQAyACEAKAAYAFgAGwAjABQAMAAmADIAFAAfABQAKwATACoADgAbAA8AHQAYABoAGQAxADgALAAoADwAEwA9ABMAGgARAA4ADwAWABMAFgAIAA8AHgQXBYMA5BHJAS8JtAYoAe4AExozi0UAH21tAaMnBT8CrnIyhrMDhRgDygIBUAEHcoFHUPe8AXBjAewCjgDQR8IICIcEcQLwATXCDgzvHwBmBoHNAqsBdBcUAykgDhAMShskMgo8AY8jqAQfAUAfHw8BDw87MioGlCIPBwZCa4ELatMAAMspJVgsDl8AIhckSg8XAHdvTwBcIQEiDT4OPhUqbyECAEoAS34Aej8Ybx83JgT/Xw8gHxZ/7w8RICxPHA9vBw+Pfw8PHwAPFv+fAsAvCc8vEr8ivwD/EQ8Bol8OEBa/A78hrwAPCU8vESNvvwWfHwNfAVoDHr+ZAAED34YaAdJPAK7PLwSEgDLHAGo1Pz8Pvx9fUwMrpb8O/58VTzAPIBoXIyQJNF8hpwIVAT8YGAUADDNBaX3RAMomJCg9EhUeA29MABsZBTMNJipjOhc19gcIDR8bBwQHEggCWi6DIgLuAQYA+BAFCha3A5XiAEsqM7UFFgFLhAMjFTMYE1Klnw74nRVBG/ASCm0BYRN/BrsU3VoWy+S0vV8LQx+vN8gF2AC2AK5EAWwApgYDKmAAroQ0NDQ0AT+OCg7wAAIHRAbpNgVcBV0APTA5BfbPFgMLzcYL/QqqA82eBALKCjQCjqYCht0/k2+OAsXQAoP3ASTKDgDw6ACKAUYCMpIKJpRaAE4A5womABzZvs0REEKiACIQAd5QdAECAj4Ywg/wGqY2AVgAYADYvAoCGAEubA0gvAY2ALAAbpbvqpyEAGAEpgQAJgAG7gAgAEACmghUFwCqAMpAINQIwC4DthRAAPcycKgApoIdABwBfCisABoATwBqASIAvhnSBP8aH/ECeAKXAq40NjgDBTwFYQU6AXs3oABgAD4XNgmcCY1eCl5tIFZeUqGgyoNHABgAEQAaABNwWQAmABMATPMa3T34ADldyprmM1M2XociUQgLzvwAXT3xABgAEQAaABNwIGFAnADD8AAgAD4BBJWzaCcIAIEBFMAWwKoAAdq9BWAF5wLQpALEtQAKUSGkahR4GnJM+gsAwCgeFAiUAECQ0BQuL8AAIAAAADKeIheclvFqQAAETr4iAMxIARMgAMIoHhQIAn0E0pDQFC4HhznoAAAAIAI2C0/4lvFqQAAETgBJJwYCAy4ABgYAFAA8MBKYEH4eRhTkAjYeFcgACAYAeABsOqyQ5gRwDayqugEgaIIAtgoACgDmEABmBAWGme5OBJJA2m4cDeoAmITWAXwrMgOgAGwBCh6CBXYF1Tzg1wKAAFdiuABRAFwAXQBsAG8AdgBrAHYAbwCEAHEwfxQBVE5TEQADVFhTBwBDANILAqcCzgLTApQCrQL6vAAMAL8APLhNBKkE6glGKTAU4Dr4N2EYEwBCkABKk8rHAbYBmwIoAiU4Ajf/Aq4CowCAANIChzgaNBsCsTgeODcFXrgClQKdAqQBiQGYAqsCsjTsNHsfNPA0ixsAWTWiOAMFPDQSNCk2BDZHNow2TTZUNhk28Jk9VzI3QkEoAoICoQKwAqcAQAAxBV4FXbS9BW47YkIXP1ciUqs05DS/FwABUwJW11e6nHuYZmSh/RAYA8oMKvZ8KASoUAJYWAJ6ILAsAZSoqjpgA0ocBIhmDgDWAAawRDQoAAcuAj5iAHABZiR2AIgiHgCaAU68ACxuHAG0ygM8MiZIAlgBdF4GagJqAPZOHAMuBgoATkYAsABiAHgAMLoGDPj0HpKEBAAOJgAuALggTAHWAeAMEDbd20Uege0ADwAWADkAQgA9OHd+2MUQZBBhBgNNDkxxPxUQArEPqwvqERoM1irQ090ANK4H8ANYB/ADWANYB/AH8ANYB/ADWANYA1gDWBwP8B/YxRBkD00EcgWTBZAE2wiIJk4RhgctCNdUEnQjHEwDSgEBIypJITuYMxAlR0wRTQgIATZHbKx9PQNMMbBU+pCnA9AyVDlxBgMedhKlAC8PeCE1uk6DekxxpQpQT7NX9wBFBgASqwAS5gBJDSgAUCwGPQBI4zTYABNGAE2bAE3KAExdGABKaAbgAFBXAFCOAFBJABI2SWdObALDOq0//QomCZhvwHdTBkIQHCemEPgMNAG2ATwN7kvZBPIGPATKH34ZGg/OlZ0Ipi3eDO4m5C6igFsj9iqEBe5L9TzeC05RaQ9aC2YJ5DpkgU8DIgEOIowK3g06CG4Q9ArKbA3mEUYHOgPWSZsApgcCCxIdNhW2JhFirQsKOXgG/Br3C5AmsBMqev0F1BoiBk4BKhsAANAu6IWxWjJcHU9gBgQLJiPIFKlQIQ0mQLh4SRocBxYlqgKSQ3FKiFE3HpQh9zw+DWcuFFF9B/Y8BhlQC4I8n0asRQ8R0z6OPUkiSkwtBDaALDAnjAnQD4YMunxzAVoJIgmyDHITMhEYN8YIOgcaLpclJxYIIkaWYJsE+KAD9BPSAwwFQAlCBxQDthwuEy8VKgUOgSXYAvQ21i60ApBWgQEYBcwPJh/gEFFH4Q7qCJwCZgOEJewALhUiABginAhEZABgj9lTBi7MCMhqbSN1A2gU6GIRdAeSDlgHqBw0FcAc4nDJXgyGCSiksAlcAXYJmgFgBOQICjVcjKEgQmdUi1kYnCBiQUBd/QIyDGYVoES+h3kCjA9sEhwBNgF0BzoNAgJ4Ee4RbBCWCOyGBTW2M/k6JgRQIYQgEgooA1BszwsoJvoM+WoBpBJjAw00PnfvZ6xgtyUX/gcaMsZBYSHyC5NPzgydGsIYQ1QvGeUHwAP0GvQn60FYBgADpAQUOk4z7wS+C2oIjAlAAEoOpBgH2BhrCnKM0QEyjAG4mgNYkoQCcJAGOAcMAGgMiAV65gAeAqgIpAAGANADWAA6Aq4HngAaAIZCAT4DKDABIuYCkAOUCDLMAZYwAfQqBBzEDBYA+DhuSwLDsgKAa2ajBd5ZAo8CSjYBTiYEBk9IUgOwcuIA3ABMBhTgSAEWrEvMG+REAeBwLADIAPwABjYHBkIBzgH0bgC4AWALMgmjtLYBTuoqAIQAFmwB2AKKAN4ANgCA8gFUAE4FWvoF1AJQSgESMhksWGIBvAMgATQBDgB6BsyOpsoIIARuB9QCEBwV4gLvLwe2AgMi4BPOQsYCvd9WADIXUu5eZwqoCqdeaAC0YTQHMnM9UQAPH6k+yAdy/BZIiQImSwBQ5gBQQzSaNTFWSTYBpwGqKQK38AFtqwBI/wK37gK3rQK3sAK6280C0gK33AK3zxAAUEIAUD9SklKDArekArw5AEQAzAHCO147WTteO1k7XjtZO147WTteO1kDmChYI03AVU0oJqkKbV9GYewMpw3VRMk6ShPcYFJgMxPJLbgUwhXPJVcZPhq9JwYl5VUKDwUt1GYxCC00dhe9AEApaYNCY4ceMQpMHOhTklT5LRwAskujM7ANrRsWREEFSHXuYisWDwojAmSCAmJDXE6wXDchAqH4AmiZAmYKAp+FOBwMAmY8AmYnBG8EgAN/FAN+kzkHOXgYOYM6JCQCbB4CMjc4CwJtyAJtr/CLADRoRiwBaADfAOIASwYHmQyOAP8MwwAOtgJ3MAJ2o0ACeUxEAni7Hl3cRa9G9AJ8QAJ6yQJ9CgJ88UgBSH5kJQAsFklZSlwWGErNAtECAtDNSygDiFADh+dExpEzAvKiXQQDA69Lz0wuJgTQTU1NsAKLQAKK2cIcCB5EaAa4Ao44Ao5dQZiCAo7aAo5deVG1UzYLUtVUhgKT/AKTDQDqAB1VH1WwVdEHLBwplocy4nhnRTw6ApegAu+zWCKpAFomApaQApZ9nQCqWa1aCoJOADwClrYClk9cRVzSApnMApllXMtdCBoCnJw5wzqeApwXAp+cAp65iwAeEDIrEAKd8gKekwC2PmE1YfACntQCoG8BqgKeoCACnk+mY8lkKCYsAiewAiZ/AqD8AqBN2AKmMAKlzwKoAAB+AqfzaH1osgAESmodatICrOQCrK8CrWgCrQMCVx4CVd0CseLYAx9PbJgCsr4OArLpGGzhbWRtSWADJc4Ctl08QG6RAylGArhfArlIFgK5K3hwN3DiAr0aAy2zAzISAr6JcgMDM3ICvhtzI3NQAsPMAsMFc4N0TDZGdOEDPKgDPJsDPcACxX0CxkgCxhGKAshqUgLIRQLJUALJLwJkngLd03h6YniveSZL0QMYpGcDAmH1GfSVJXsMXpNevBICz2wCz20wTFTT9BSgAMeuAs90ASrrA04TfkwGAtwoAtuLAtJQA1JdA1NgAQIDVY2AikABzBfuYUZ2AILPg44C2sgC2d+EEYRKpz0DhqYAMANkD4ZyWvoAVgLfZgLeuXR4AuIw7RUB8zEoAfScAfLTiALr9ALpcXoAAur6AurlAPpIAboC7ooC652Wq5cEAu5AA4XhmHpw4XGiAvMEAGoDjheZlAL3FAORbwOSiAL3mQL52gL4Z5odmqy8OJsfA52EAv77ARwAOp8dn7QDBY4DpmsDptoA0sYDBmuhiaIGCgMMSgFgASACtgNGAJwEgLpoBgC8BGzAEowcggCEDC6kdjoAJAM0C5IKRoABZCgiAIzw3AYBLACkfng9ogigkgNmWAN6AEQCvrkEVqTGAwCsBRbAA+4iQkMCHR072jI2PTbUNsk2RjY5NvA23TZKNiU3EDcZN5I+RTxDRTBCJkK5VBYKFhZfwQCWygU3AJBRHpu+OytgNxa61A40GMsYjsn7BVwFXQVcBV0FaAVdBVwFXQVcBV0FXAVdBVwFXUsaCNyKAK4AAQUHBwKU7oICoW1e7jAEzgPxA+YDwgCkBFDAwADABKzAAOxFLhitA1UFTDeyPkM+bj51QkRCuwTQWWQ8X+0AWBYzsACNA8xwzAGm7EZ/QisoCTAbLDs6fnLfb8H2GccsbgFw13M1HAVkBW/Jxsm9CNRO8E8FDD0FBQw9FkcClOYCoMFegpDfADgcMiA2AJQACB8AsigKAIzIEAJKeBIApY5yPZQIAKQiHb4fvj5BKSRPQrZCOz0oXyxgOywfKAnGbgMClQaCAkILXgdeCD9IIGUgQj5fPoY+dT52Ao5CM0dAX9BTVG9SDzFwWTQAbxBzJF/lOEIQQglCCkKJIAls5AcClQICoKPMODEFxhi6KSAbiyfIRrMjtCgdWCAkPlFBIitCsEJRzAbMAV/OEyQzDg0OAQQEJ36i328/Mk9AybDJsQlq3tDRApUKAkFzXf1d/j9uALYP6hCoFgCTGD8kPsFKQiobrm0+zj0KSD8kPnVCRBwMDyJRTHFgMTJa5rwXQiQ2YfI/JD7BMEJEHGINTw4TOFlIRzwJO0icMQpyPyQ+wzJCRBv6DVgnKB01NgUKj2bwYzMqCoBkznBgEF+zYDIocwRIX+NgHj4HICNfh2C4CwdwFWpTG/lgUhYGAwRfv2Ts8mAaXzVgml/XYIJfuWC4HI1gUF9pYJZgMR6ilQHMAOwLAlDRefC0in4AXAEJA6PjCwc0IamOANMMCAECRQDFNRTZBgd+CwQlRA+r6+gLBDEFBnwUBXgKATIArwAGRAAHA3cDdAN2A3kDdwN9A3oDdQN7A30DfAN4A3oDfQAYEAAlAtYASwMAUAFsAHcKAHcAmgB3AHUAdQB2AHVu8UgAygDAAHcAdQB1AHYAdQALCgB3AAsAmgB3AAsCOwB3AAtu8UgAygDAAHgKAJoAdwB3AHUAdQB2AHUAeAB1AHUAdgB1bvFIAMoAwAALCgCaAHcACwB3AAsCOwB3AAtu8UgAygDAAH4ACwGgALcBpwC6AahdAu0COwLtbvFIAMoAwAALCgCaAu0ACwLtAAsCOwLtAAtu8UgAygDAA24ACwNvAAu0VsQAAzsAABCkjUIpAAsAUIusOggWcgMeBxVsGwL67U/2HlzmWOEeOgALASvuAAseAfpKUpnpGgYJDCIZM6YyARUE9ThqAD5iXQgnAJYJPnOzw0ZAEZxEKsIAkA4DhAHnTAIDxxUDK0lxCQlPYgIvIQVYJQBVqE1GakUAKGYiDToSBA1EtAYAXQJYAIF8GgMHRyAAIAjOe9YncekRAA0KACUrjwE7Ayc6AAYWAqaiKG4McEcqANoN3+Mg9TwCBhIkuCny+JwUQ29L008JluRxu3K+oAdqiHOqFH0AG5SUIfUJ5SxCGfxdipRzqTmT4V5Zb+r1Uo4Vm+NqSSEl2mNvR2JhIa8SpYO6ntdwFXHCWTCK8f2+Hxo7uiG3drDycAuKIMP5bhi06ACnqArH1rz4Rqg//lm6SgJGEVbF9xJHISaR6HxqxSnkw6shDnelHKNEfGUXSJRJ1GcsmtJw25xrZMDK9gXSm1/YMkdX4/6NKYOdtk/NQ3/NnDASjTc3fPjIjW/5sVfVObX2oTDWkr1dF9f3kxBsD3/3aQO8hPfRz+e0uEiJqt1161griu7gz8hDDwtpy+F+BWtefnKHZPAxcZoWbnznhJpy0e842j36bcNzGnIEusgGX0a8ZxsnjcSsPDZ09yZ36fCQbriHeQ72JRMILNl6ePPf2HWoVwgWAm1fb3V2sAY0+B6rAXqSwPBgseVmoqsBTSrm91+XasMYYySI8eeRxH3ZvHkMz3BQ5aJ3iUVbYPNM3/7emRtjlsMgv/9VyTsyt/mK+8fgWeT6SoFaclXqn42dAIsvAarF5vNNWHzKSkKQ/8Hfk5ZWK7r9yliOsooyBjRhfkHP4Q2DkWXQi6FG/9r/IwbmkV5T7JSopHKn1pJwm9tb5Ot0oyN1Z2mPpKXHTxx2nlK08fKk1hEYA8WgVVWL5lgx0iTv+KdojJeU23ZDjmiubXOxVXJKKi2Wjuh2HLZOFLiSC7Tls5SMh4f+Pj6xUSrNjFqLGehRNB8lC0QSLNmkJJx/wSG3MnjE9T1CkPwJI0wH2lfzwETIiVqUxg0dfu5q39Gt+hwdcxkhhNvQ4TyrBceof3Mhs/IxFci1HmHr4FMZgXEEczPiGCx0HRwzAqDq2j9AVm1kwN0mRVLWLylgtoPNapF5cY4Y1wJh/e0BBwZj44YgZrDNqvD/9Hv7GFYdUQeDJuQ3EWI4HaKqavU1XjC/n41kT4L79kqGq0kLhdTZvgP3TA3fS0ozVz+5piZsoOtIvBUFoMKbNcmBL6YxxaUAusHB38XrS8dQMnQwJfUUkpRoGr5AUeWicvBTzyK9g77+yCkf5PAysL7r/JjcZgrbvRpMW9iyaxZvKO6ceZN2EwIxKwVFPuvFuiEPGCoagbMo+SpydLrXqBzNCDGFCrO/rkcwa2xhokQZ5CdZ0AsU3JfSqJ6n5I14YA+P/uAgfhPU84Tlw7cEFfp7AEE8ey4sP12PTt4Cods1GRgDOB5xvyiR5m+Bx8O5nBCNctU8BevfV5A08x6RHd5jcwPTMDSZJOedIZ1cGQ704lxbAzqZOP05ZxaOghzSdvFBHYqomATARyAADK4elP8Ly3IrUZKfWh23Xy20uBUmLS4Pfagu9+oyVa2iPgqRP3F2CTUsvJ7+RYnN8fFZbU/HVvxvcFFDKkiTqV5UBZ3Gz54JAKByi9hkKMZJvuGgcSYXFmw08UyoQyVdfTD1/dMkCHXcTGAKeROgArsvmRrQTLUOXioOHGK2QkjHuoYFgXciZoTJd6Fs5q1QX1G+p/e26hYsEf7QZD1nnIyl/SFkNtYYmmBhpBrxl9WbY0YpHWRuw2Ll/tj9mD8P4snVzJl4F9J+1arVeTb9E5r2ILH04qStjxQNwn3m4YNqxmaNbLAqW2TN6LidwuJRqS+NXbtqxoeDXpxeGWmxzSkWxjkyCkX4NQRme6q5SAcC+M7+9ETfA/EwrzQajKakCwYyeunP6ZFlxU2oMEn1Pz31zeStW74G406ZJFCl1wAXIoUKkWotYEpOuXB1uVNxJ63dpJEqfxBeptwIHNrPz8BllZoIcBoXwgfJ+8VAUnVPvRvexnw0Ma/WiGYuJO5y8QTvEYBigFmhUxY5RqzE8OcywN/8m4UYrlaniJO75XQ6KSo9+tWHlu+hMi0UVdiKQp7NelnoZUzNaIyBPVeOwK6GNp+FfHuPOoyhaWuNvTYFkvxscMQWDh+zeFCFkgwbXftiV23ywJ4+uwRqmg9k3KzwIQpzppt8DBBOMbrqwQM5Gb05sEwdKzMiAqOloaA/lr0KA+1pr0/+HiWoiIjHA/wir2nIuS3PeU/ji3O6ZwoxcR1SZ9FhtLC5S0FIzFhbBWcGVP/KpxOPSiUoAdWUpqKH++6Scz507iCcxYI6rdMBICPJZea7OcmeFw5mObJSiqpjg2UoWNIs+cFhyDSt6geV5qgi3FunmwwDoGSMgerFOZGX1m0dMCYo5XOruxO063dwENK9DbnVM9wYFREzh4vyU1WYYJ/LRRp6oxgjqP/X5a8/4Af6p6NWkQferzBmXme0zY/4nwMJm/wd1tIqSwGz+E3xPEAOoZlJit3XddD7/BT1pllzOx+8bmQtANQ/S6fZexc6qi3W+Q2xcmXTUhuS5mpHQRvcxZUN0S5+PL9lXWUAaRZhEH8hTdAcuNMMCuVNKTEGtSUKNi3O6KhSaTzck8csZ2vWRZ+d7mW8c4IKwXIYd25S/zIftPkwPzufjEvOHWVD1m+FjpDVUTV0DGDuHj6QnaEwLu/dEgdLQOg9E1Sro9XHJ8ykLAwtPu+pxqKDuFexqON1sKQm7rwbE1E68UCfA/erovrTCG+DBSNg0l4goDQvZN6uNlbyLpcZAwj2UclycvLpIZMgv4yRlpb3YuMftozorbcGVHt/VeDV3+Fdf1TP0iuaCsPi2G4XeGhsyF1ubVDxkoJhmniQ0/jSg/eYML9KLfnCFgISWkp91eauR3IQvED0nAPXK+6hPCYs+n3+hCZbiskmVMG2da+0EsZPonUeIY8EbfusQXjsK/eFDaosbPjEfQS0RKG7yj5GG69M7MeO1HmiUYocgygJHL6M1qzUDDwUSmr99V7Sdr2F3JjQAJY+F0yH33Iv3+C9M38eML7gTgmNu/r2bUMiPvpYbZ6v1/IaESirBHNa7mPKn4dEmYg7v/+HQgPN1G79jBQ1+soydfDC2r+h2Bl/KIc5KjMK7OH6nb1jLsNf0EHVe2KBiE51ox636uyG6Lho0t3J34L5QY/ilE3mikaF4HKXG1mG1rCevT1Vv6GavltxoQe/bMrpZvRggnBxSEPEeEzkEdOxTnPXHVjUYdw8JYvjB/o7Eegc3Ma+NUxLLnsK0kJlinPmUHzHGtrk5+CAbVzFOBqpyy3QVUnzTDfC/0XD94/okH+OB+i7g9lolhWIjSnfIb+Eq43ZXOWmwvjyV/qqD+t0e+7mTEM74qP/Ozt8nmC7mRpyu63OB4KnUzFc074SqoyPUAgM+/TJGFo6T44EHnQU4X4z6qannVqgw/U7zCpwcmXV1AubIrvOmkKHazJAR55ePjp5tLBsN8vAqs3NAHdcEHOR2xQ0lsNAFzSUuxFQCFYvXLZJdOj9p4fNq6p0HBGUik2YzaI4xySy91KzhQ0+q1hjxvImRwPRf76tChlRkhRCi74NXZ9qUNeIwP+s5p+3m5nwPdNOHgSLD79n7O9m1n1uDHiMntq4nkYwV5OZ1ENbXxFd4PgrlvavZsyUO4MqYlqqn1O8W/I1dEZq5dXhrbETLaZIbC2Kj/Aa/QM+fqUOHdf0tXAQ1huZ3cmWECWSXy/43j35+Mvq9xws7JKseriZ1pEWKc8qlzNrGPUGcVgOa9cPJYIJsGnJTAUsEcDOEVULO5x0rXBijc1lgXEzQQKhROf8zIV82w8eswc78YX11KYLWQRcgHNJElBxfXr72lS2RBSl07qTKorO2uUDZr3sFhYsvnhLZn0A94KRzJ/7DEGIAhW5ZWFpL8gEwu1aLA9MuWZzNwl8Oze9Y+bX+v9gywRVnoB5I/8kXTXU3141yRLYrIOOz6SOnyHNy4SieqzkBXharjfjqq1q6tklaEbA8Qfm2DaIPs7OTq/nvJBjKfO2H9bH2cCMh1+5gspfycu8f/cuuRmtDjyqZ7uCIMyjdV3a+p3fqmXsRx4C8lujezIFHnQiVTXLXuI1XrwN3+siYYj2HHTvESUx8DlOTXpak9qFRK+L3mgJ1WsD7F4cu1aJoFoYQnu+wGDMOjJM3kiBQWHCcvhJ/HRdxodOQp45YZaOTA22Nb4XKCVxqkbwMYFhzYQYIAnCW8FW14uf98jhUG2zrKhQQ0q0CEq0t5nXyvUyvR8DvD69LU+g3i+HFWQMQ8PqZuHD+sNKAV0+M6EJC0szq7rEr7B5bQ8BcNHzvDMc9eqB5ZCQdTf80Obn4uzjwpYU7SISdtV0QGa9D3Wrh2BDQtpBKxaNFV+/Cy2P/Sv+8s7Ud0Fd74X4+o/TNztWgETUapy+majNQ68Lq3ee0ZO48VEbTZYiH1Co4OlfWef82RWeyUXo7woM03PyapGfikTnQinoNq5z5veLpeMV3HCAMTaZmA1oGLAn7XS3XYsz+XK7VMQsc4XKrmDXOLU/pSXVNUq8dIqTba///3x6LiLS6xs1xuCAYSfcQ3+rQgmu7uvf3THKt5Ooo97TqcbRqxx7EASizaQCBQllG/rYxVapMLgtLbZS64w1MDBMXX+PQpBKNwqUKOf2DDRDUXQf9EhOS0Qj4nTmlA8dzSLz/G1d+Ud8MTy/6ghhdiLpeerGY/UlDOfiuqFsMUU5/UYlP+BAmgRLuNpvrUaLlVkrqDievNVEAwF+4CoM1MZTmjxjJMsKJq+u8Zd7tNCUFy6LiyYXRJQ4VyvEQFFaCGKsxIwQkk7EzZ6LTJq2hUuPhvAW+gQnSG6J+MszC+7QCRHcnqDdyNRJ6T9xyS87A6MDutbzKGvGktpbXqtzWtXb9HsfK2cBMomjN9a4y+TaJLnXxAeX/HWzmf4cR4vALt/P4w4qgKY04ml4ZdLOinFYS6cup3G/1ie4+t1eOnpBNlqGqs75ilzkT4+DsZQxNvaSKJ//6zIbbk/M7LOhFmRc/1R+kBtz7JFGdZm/COotIdvQoXpTqP/1uqEUmCb/QWoGLMwO5ANcHzxdY48IGP5+J+zKOTBFZ4Pid+GTM+Wq12MV/H86xEJptBa6T+p3kgpwLedManBHC2GgNrFpoN2xnrMz9WFWX/8/ygSBkavq2Uv7FdCsLEYLu9LLIvAU0bNRDtzYl+/vXmjpIvuJFYjmI0im6QEYqnIeMsNjXG4vIutIGHijeAG/9EDBozKV5cldkHbLxHh25vT+ZEzbhXlqvpzKJwcEgfNwLAKFeo0/pvEE10XDB+EXRTXtSzJozQKFFAJhMxYkVaCW+E9AL7tMeU8acxidHqzb6lX4691UsDpy/LLRmT+epgW56+5Cw8tB4kMUv6s9lh3eRKbyGs+H/4mQMaYzPTf2OOdokEn+zzgvoD3FqNKk8QqGAXVsqcGdXrT62fSPkR2vROFi68A6se86UxRUk4cajfPyCC4G5wDhD+zNq4jodQ4u4n/m37Lr36n4LIAAsVr02dFi9AiwA81MYs2rm4eDlDNmdMRvEKRHfBwW5DdMNp0jPFZMeARqF/wL4XBfd+EMLBfMzpH5GH6NaW+1vrvMdg+VxDzatk3MXgO3ro3P/DpcC6+Mo4MySJhKJhSR01SGGGp5hPWmrrUgrv3lDnP+HhcI3nt3YqBoVAVTBAQT5iuhTg8nvPtd8ZeYj6w1x6RqGUBrSku7+N1+BaasZvjTk64RoIDlL8brpEcJx3OmY7jLoZsswdtmhfC/G21llXhITOwmvRDDeTTPbyASOa16cF5/A1fZAidJpqju3wYAy9avPR1ya6eNp9K8XYrrtuxlqi+bDKwlfrYdR0RRiKRVTLOH85+ZY7XSmzRpfZBJjaTa81VDcJHpZnZnSQLASGYW9l51ZV/h7eVzTi3Hv6hUsgc/51AqJRTkpbFVLXXszoBL8nBX0u/0jBLT8nH+fJePbrwURT58OY+UieRjd1vs04w0VG5VN2U6MoGZkQzKN/ptz0Q366dxoTGmj7i1NQGHi9GgnquXFYdrCfZBmeb7s0T6yrdlZH5cZuwHFyIJ/kAtGsTg0xH5taAAq44BAk1CPk9KVVbqQzrCUiFdF/6gtlPQ8bHHc1G1W92MXGZ5HEHftyLYs8mbD/9xYRUWkHmlM0zC2ilJlnNgV4bfALpQghxOUoZL7VTqtCHIaQSXm+YUMnpkXybnV+A6xlm2CVy8fn0Xlm2XRa0+zzOa21JWWmixfiPMSCZ7qA4rS93VN3pkpF1s5TonQjisHf7iU9ZGvUPOAKZcR1pbeVf/Ul7OhepGCaId9wOtqo7pJ7yLcBZ0pFkOF28y4zEI/kcUNmutBHaQpBdNM8vjCS6HZRokkeo88TBAjGyG7SR+6vUgTcyK9Imalj0kuxz0wmK+byQU11AiJFk/ya5dNduRClcnU64yGu/ieWSeOos1t3ep+RPIWQ2pyTYVbZltTbsb7NiwSi3AV+8KLWk7LxCnfZUetEM8ThnsSoGH38/nyAwFguJp8FjvlHtcWZuU4hPva0rHfr0UhOOJ/F6vS62FW7KzkmRll2HEc7oUq4fyi5T70Vl7YVIfsPHUCdHesf9Lk7WNVWO75JDkYbMI8TOW8JKVtLY9d6UJRITO8oKo0xS+o99Yy04iniGHAaGj88kEWgwv0OrHdY/nr76DOGNS59hXCGXzTKUvDl9iKpLSWYN1lxIeyywdNpTkhay74w2jFT6NS8qkjo5CxA1yfSYwp6AJIZNKIeEK5PJAW7ORgWgwp0VgzYpqovMrWxbu+DGZ6Lhie1RAqpzm8VUzKJOH3mCzWuTOLsN3VT/dv2eeYe9UjbR8YTBsLz7q60VN1sU51k+um1f8JxD5pPhbhSC8rRaB454tmh6YUWrJI3+GWY0qeWioj/tbkYITOkJaeuGt4JrJvHA+l0Gu7kY7XOaa05alMnRWVCXqFgLIwSY4uF59Ue5SU4QKuc/HamDxbr0x6csCetXGoP7Qn1Bk/J9DsynO/UD6iZ1Hyrz+jit0hDCwi/E9OjgKTbB3ZQKQ/0ZOvevfNHG0NK4Aj3Cp7NpRk07RT1i/S0EL93Ag8GRgKI9CfpajKyK6+Jj/PI1KO5/85VAwz2AwzP8FTBb075IxCXv6T9RVvWT2tUaqxDS92zrGUbWzUYk9mSs82pECH+fkqsDt93VW++4YsR/dHCYcQSYTO/KaBMDj9LSD/J/+z20Kq8XvZUAIHtm9hRPP3ItbuAu2Hm5lkPs92pd7kCxgRs0xOVBnZ13ccdA0aunrwv9SdqElJRC3g+oCu+nXyCgmXUs9yMjTMAIHfxZV+aPKcZeUBWt057Xo85Ks1Ir5gzEHCWqZEhrLZMuF11ziGtFQUds/EESajhagzcKsxamcSZxGth4UII+adPhQkUnx2WyN+4YWR+r3f8MnkyGFuR4zjzxJS8WsQYR5PTyRaD9ixa6Mh741nBHbzfjXHskGDq179xaRNrCIB1z1xRfWfjqw2pHc1zk9xlPpL8sQWAIuETZZhbnmL54rceXVNRvUiKrrqIkeogsl0XXb17ylNb0f4GA9Wd44vffEG8FSZGHEL2fbaTGRcSiCeA8PmA/f6Hz8HCS76fXUHwgwkzSwlI71ekZ7Fapmlk/KC+Hs8hUcw3N2LN5LhkVYyizYFl/uPeVP5lsoJHhhfWvvSWruCUW1ZcJOeuTbrDgywJ/qG07gZJplnTvLcYdNaH0KMYOYMGX+rB4NGPFmQsNaIwlWrfCezxre8zXBrsMT+edVLbLqN1BqB76JH4BvZTqUIMfGwPGEn+EnmTV86fPBaYbFL3DFEhjB45CewkXEAtJxk4/Ms2pPXnaRqdky0HOYdcUcE2zcXq4vaIvW2/v0nHFJH2XXe22ueDmq/18XGtELSq85j9X8q0tcNSSKJIX8FTuJF/Pf8j5PhqG2u+osvsLxYrvvfeVJL+4tkcXcr9JV7v0ERmj/X6fM3NC4j6dS1+9Umr2oPavqiAydTZPLMNRGY23LO9zAVDly7jD+70G5TPPLdhRIl4WxcYjLnM+SNcJ26FOrkrISUtPObIz5Zb3AG612krnpy15RMW+1cQjlnWFI6538qky9axd2oJmHIHP08KyP0ubGO+TQNOYuv2uh17yCIvR8VcStw7o1g0NM60sk+8Tq7YfIBJrtp53GkvzXH7OA0p8/n/u1satf/VJhtR1l8Wa6Gmaug7haSpaCaYQax6ta0mkutlb+eAOSG1aobM81D9A4iS1RRlzBBoVX6tU1S6WE2N9ORY6DfeLRC4l9Rvr5h95XDWB2mR1d4WFudpsgVYwiTwT31ljskD8ZyDOlm5DkGh9N/UB/0AI5Xvb8ZBmai2hQ4BWMqFwYnzxwB26YHSOv9WgY3JXnvoN+2R4rqGVh/LLDMtpFP+SpMGJNWvbIl5SOodbCczW2RKleksPoUeGEzrjtKHVdtZA+kfqO+rVx/iclCqwoopepvJpSTDjT+b9GWylGRF8EDbGlw6eUzmJM95Ovoz+kwLX3c2fTjFeYEsE7vUZm3mqdGJuKh2w9/QGSaqRHs99aScGOdDqkFcACoqdbBoQqqjamhH6Q9ng39JCg3lrGJwd50Qk9ovnqBTr8MME7Ps2wiVfygUmPoUBJJfJWX5Nda0nuncbFkA=="))};var n=r(80997),i=r(33731)},17032:(t,e,r)=>{"use strict";var n=r(28847);Object.defineProperty(e,"__esModule",{value:!0}),e.ens_normalize=function(t){return v(function(t,e){for(var r=g(t).reverse(),n=[];r.length;){var o=b(r);if(o)n.push.apply(n,(0,i.default)(e(o)));else{var a=r.pop();if(l.has(a))n.push(a);else if(!h.has(a)){var s=f[a];if(!s)throw new Error("Disallowed codepoint: 0x".concat(a.toString(16).toUpperCase()));n.push.apply(n,(0,i.default)(s))}}}return v(String.fromCodePoint.apply(String,n).normalize("NFC"))}(t,y))},e.ens_normalize_post_check=v;var i=n(r(93106)),o=r(78627),a=r(63961),s=r(33731);function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var c=(0,a.getData)(),l=new Set((0,s.read_member_array)(c)),h=new Set((0,s.read_member_array)(c)),f=(0,s.read_mapped_map)(c),d=(0,s.read_emoji_trie)(c),p=45,m=95;function g(t){return(0,o.toUtf8CodePoints)(t)}function y(t){return t.filter((function(t){return 65039!=t}))}function v(t){var e,r=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return u(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw o}}}}(t.split("."));try{for(r.s();!(e=r.n()).done;){var n=e.value,i=g(n);try{for(var o=i.lastIndexOf(m)-1;o>=0;o--)if(i[o]!==m)throw new Error("underscore only allowed at start");if(i.length>=4&&i.every((function(t){return t<128}))&&i[2]===p&&i[3]===p)throw new Error("invalid label extension")}catch(t){throw new Error('Invalid label "'.concat(n,'": ').concat(t.message))}}}catch(t){r.e(t)}finally{r.f()}return t}function b(t,e){var r,n,o,a=d,s=[],u=t.length;e&&(e.length=0);for(var c=function(){var c=t[--u];if(!(a=null===(r=a.branches.find((function(t){return t.set.has(c)})))||void 0===r?void 0:r.node))return"break";if(a.save)o=c;else if(a.check&&c===o)return"break";s.push(c),a.fe0f&&(s.push(65039),u>0&&65039==t[u-1]&&u--),a.valid&&(n=s.slice(),2==a.valid&&n.splice(1,1),e&&e.push.apply(e,(0,i.default)(t.slice(u).reverse())),t.length=u)};u&&"break"!==c(););return n}},57901:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.id=function(t){return(0,n.keccak256)((0,i.toUtf8Bytes)(t))};var n=r(64642),i=r(78627)},37515:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"_TypedDataEncoder",{enumerable:!0,get:function(){return a.TypedDataEncoder}}),Object.defineProperty(e,"dnsEncode",{enumerable:!0,get:function(){return i.dnsEncode}}),Object.defineProperty(e,"ensNormalize",{enumerable:!0,get:function(){return i.ensNormalize}}),Object.defineProperty(e,"hashMessage",{enumerable:!0,get:function(){return o.hashMessage}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return n.id}}),Object.defineProperty(e,"isValidName",{enumerable:!0,get:function(){return i.isValidName}}),Object.defineProperty(e,"messagePrefix",{enumerable:!0,get:function(){return o.messagePrefix}}),Object.defineProperty(e,"namehash",{enumerable:!0,get:function(){return i.namehash}});var n=r(57901),i=r(84898),o=r(34443),a=r(12171)},34443:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hashMessage=function(t){return"string"==typeof t&&(t=(0,o.toUtf8Bytes)(t)),(0,i.keccak256)((0,n.concat)([(0,o.toUtf8Bytes)(a),(0,o.toUtf8Bytes)(String(t.length)),t]))},e.messagePrefix=void 0;var n=r(908),i=r(64642),o=r(78627),a="Ethereum Signed Message:\n";e.messagePrefix=a},84898:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.dnsEncode=function(t){return(0,n.hexlify)((0,n.concat)(f(t).map((function(t){if(t.length>63)throw new Error("invalid DNS encoded entry; length exceeds 63 bytes");var e=new Uint8Array(t.length+1);return e.set(t,1),e[0]=e.length-1,e}))))+"00"},e.ensNormalize=function(t){return f(t).map((function(t){return(0,i.toUtf8String)(t)})).join(".")},e.isValidName=function(t){try{return 0!==f(t).length}catch(t){}return!1},e.namehash=function(t){"string"!=typeof t&&c.throwArgumentError("invalid ENS name; not a string","name",t);for(var e=l,r=f(t);r.length;)e=(0,o.keccak256)((0,n.concat)([e,(0,o.keccak256)(r.pop())]));return(0,n.hexlify)(e)};var n=r(908),i=r(78627),o=r(64642),a=r(64327),s=r(33989),u=r(17032),c=new a.Logger(s.version),l=new Uint8Array(32);function h(t){if(0===t.length)throw new Error("invalid ENS name; empty component");return t}function f(t){var e=(0,i.toUtf8Bytes)((0,u.ens_normalize)(t)),r=[];if(0===t.length)return r;for(var n=0,o=0;o<e.length;o++)46===e[o]&&(r.push(h(e.slice(n,o))),n=o+1);if(n>=e.length)throw new Error("invalid ENS name; empty component");return r.push(h(e.slice(n))),r}l.fill(0)},12171:(t,e,r)=>{"use strict";var n=r(28847);Object.defineProperty(e,"__esModule",{value:!0}),e.TypedDataEncoder=void 0;var i=n(r(82247)),o=n(r(69721)),a=n(r(58985)),s=r(77921),u=r(34952),c=r(908),l=r(64642),h=r(23694),f=r(64327),d=r(33989),p=r(57901),m=new f.Logger(d.version),g=new Uint8Array(32);g.fill(0);var y=u.BigNumber.from(-1),v=u.BigNumber.from(0),b=u.BigNumber.from(1),_=u.BigNumber.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),w=(0,c.hexZeroPad)(b.toHexString(),32),x=(0,c.hexZeroPad)(v.toHexString(),32),k={name:"string",version:"string",chainId:"uint256",verifyingContract:"address",salt:"bytes32"},S=["name","version","chainId","verifyingContract","salt"];function E(t){return function(e){return"string"!=typeof e&&m.throwArgumentError("invalid domain value for ".concat(JSON.stringify(t)),"domain.".concat(t),e),e}}var M={name:E("name"),version:E("version"),chainId:function(t){try{return u.BigNumber.from(t).toString()}catch(t){}return m.throwArgumentError('invalid domain value for "chainId"',"domain.chainId",t)},verifyingContract:function(t){try{return(0,s.getAddress)(t).toLowerCase()}catch(t){}return m.throwArgumentError('invalid domain value "verifyingContract"',"domain.verifyingContract",t)},salt:function(t){try{var e=(0,c.arrayify)(t);if(32!==e.length)throw new Error("bad length");return(0,c.hexlify)(e)}catch(t){}return m.throwArgumentError('invalid domain value "salt"',"domain.salt",t)}};function A(t){var e=t.match(/^(u?)int(\d*)$/);if(e){var r=""===e[1],n=parseInt(e[2]||"256");(n%8!=0||n>256||e[2]&&e[2]!==String(n))&&m.throwArgumentError("invalid numeric width","type",t);var i=_.mask(r?n-1:n),o=r?i.add(b).mul(y):v;return function(e){var r=u.BigNumber.from(e);return(r.lt(o)||r.gt(i))&&m.throwArgumentError("value out-of-bounds for ".concat(t),"value",e),(0,c.hexZeroPad)(r.toTwos(256).toHexString(),32)}}var a=t.match(/^bytes(\d+)$/);if(a){var h=parseInt(a[1]);return(0===h||h>32||a[1]!==String(h))&&m.throwArgumentError("invalid bytes width","type",t),function(e){return(0,c.arrayify)(e).length!==h&&m.throwArgumentError("invalid length for ".concat(t),"value",e),function(t){var e=(0,c.arrayify)(t),r=e.length%32;return r?(0,c.hexConcat)([e,g.slice(r)]):(0,c.hexlify)(e)}(e)}}switch(t){case"address":return function(t){return(0,c.hexZeroPad)((0,s.getAddress)(t),32)};case"bool":return function(t){return t?w:x};case"bytes":return function(t){return(0,l.keccak256)(t)};case"string":return function(t){return(0,p.id)(t)}}return null}function T(t,e){return"".concat(t,"(").concat(e.map((function(t){var e=t.name;return t.type+" "+e})).join(","),")")}var C=function(){function t(e){(0,o.default)(this,t),(0,h.defineReadOnly)(this,"types",Object.freeze((0,h.deepCopy)(e))),(0,h.defineReadOnly)(this,"_encoderCache",{}),(0,h.defineReadOnly)(this,"_types",{});var r={},n={},i={};Object.keys(e).forEach((function(t){r[t]={},n[t]=[],i[t]={}}));var a=function(t){var i={};e[t].forEach((function(o){i[o.name]&&m.throwArgumentError("duplicate variable name ".concat(JSON.stringify(o.name)," in ").concat(JSON.stringify(t)),"types",e),i[o.name]=!0;var a=o.type.match(/^([^\x5b]*)(\x5b|$)/)[1];a===t&&m.throwArgumentError("circular type reference to ".concat(JSON.stringify(a)),"types",e),A(a)||(n[a]||m.throwArgumentError("unknown type ".concat(JSON.stringify(a)),"types",e),n[a].push(t),r[t][a]=!0)}))};for(var s in e)a(s);var u=Object.keys(n).filter((function(t){return 0===n[t].length}));for(var c in 0===u.length?m.throwArgumentError("missing primary type","types",e):u.length>1&&m.throwArgumentError("ambiguous primary types or unused types: ".concat(u.map((function(t){return JSON.stringify(t)})).join(", ")),"types",e),(0,h.defineReadOnly)(this,"primaryType",u[0]),function t(o,a){a[o]&&m.throwArgumentError("circular type reference to ".concat(JSON.stringify(o)),"types",e),a[o]=!0,Object.keys(r[o]).forEach((function(e){n[e]&&(t(e,a),Object.keys(a).forEach((function(t){i[t][e]=!0})))})),delete a[o]}(this.primaryType,{}),i){var l=Object.keys(i[c]);l.sort(),this._types[c]=T(c,e[c])+l.map((function(t){return T(t,e[t])})).join("")}}return(0,a.default)(t,[{key:"getEncoder",value:function(t){var e=this._encoderCache[t];return e||(e=this._encoderCache[t]=this._getEncoder(t)),e}},{key:"_getEncoder",value:function(t){var e=this,r=A(t);if(r)return r;var n=t.match(/^(.*)(\x5b(\d*)\x5d)$/);if(n){var i=n[1],o=this.getEncoder(i),a=parseInt(n[3]);return function(t){a>=0&&t.length!==a&&m.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",t);var r=t.map(o);return e._types[i]&&(r=r.map(l.keccak256)),(0,l.keccak256)((0,c.hexConcat)(r))}}var s=this.types[t];if(s){var u=(0,p.id)(this._types[t]);return function(t){var r=s.map((function(r){var n=r.name,i=r.type,o=e.getEncoder(i)(t[n]);return e._types[i]?(0,l.keccak256)(o):o}));return r.unshift(u),(0,c.hexConcat)(r)}}return m.throwArgumentError("unknown type: ".concat(t),"type",t)}},{key:"encodeType",value:function(t){var e=this._types[t];return e||m.throwArgumentError("unknown type: ".concat(JSON.stringify(t)),"name",t),e}},{key:"encodeData",value:function(t,e){return this.getEncoder(t)(e)}},{key:"hashStruct",value:function(t,e){return(0,l.keccak256)(this.encodeData(t,e))}},{key:"encode",value:function(t){return this.encodeData(this.primaryType,t)}},{key:"hash",value:function(t){return this.hashStruct(this.primaryType,t)}},{key:"_visit",value:function(t,e,r){var n=this;if(A(t))return r(t,e);var i=t.match(/^(.*)(\x5b(\d*)\x5d)$/);if(i){var o=i[1],a=parseInt(i[3]);return a>=0&&e.length!==a&&m.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",e),e.map((function(t){return n._visit(o,t,r)}))}var s=this.types[t];return s?s.reduce((function(t,i){var o=i.name,a=i.type;return t[o]=n._visit(a,e[o],r),t}),{}):m.throwArgumentError("unknown type: ".concat(t),"type",t)}},{key:"visit",value:function(t,e){return this._visit(this.primaryType,t,e)}}],[{key:"from",value:function(e){return new t(e)}},{key:"getPrimaryType",value:function(e){return t.from(e).primaryType}},{key:"hashStruct",value:function(e,r,n){return t.from(r).hashStruct(e,n)}},{key:"hashDomain",value:function(e){var r=[];for(var n in e){var i=k[n];i||m.throwArgumentError("invalid typed-data domain key: ".concat(JSON.stringify(n)),"domain",e),r.push({name:n,type:i})}return r.sort((function(t,e){return S.indexOf(t.name)-S.indexOf(e.name)})),t.hashStruct("EIP712Domain",{EIP712Domain:r},e)}},{key:"encode",value:function(e,r,n){return(0,c.hexConcat)(["0x1901",t.hashDomain(e),t.from(r).hash(n)])}},{key:"hash",value:function(e,r,n){return(0,l.keccak256)(t.encode(e,r,n))}},{key:"resolveNames",value:function(e,r,n,o){return a=this,s=void 0,u=void 0,l=i.default.mark((function a(){var s,u,l;return i.default.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:e=(0,h.shallowCopy)(e),s={},e.verifyingContract&&!(0,c.isHexString)(e.verifyingContract,20)&&(s[e.verifyingContract]="0x"),(u=t.from(r)).visit(n,(function(t,e){return"address"!==t||(0,c.isHexString)(e,20)||(s[e]="0x"),e})),a.t0=i.default.keys(s);case 6:if((a.t1=a.t0()).done){a.next=13;break}return l=a.t1.value,a.next=10,o(l);case 10:s[l]=a.sent,a.next=6;break;case 13:return e.verifyingContract&&s[e.verifyingContract]&&(e.verifyingContract=s[e.verifyingContract]),n=u.visit(n,(function(t,e){return"address"===t&&s[e]?s[e]:e})),a.abrupt("return",{domain:e,value:n});case 16:case"end":return a.stop()}}),a)})),new(u||(u=Promise))((function(t,e){function r(t){try{i(l.next(t))}catch(t){e(t)}}function n(t){try{i(l.throw(t))}catch(t){e(t)}}function i(e){var i;e.done?t(e.value):(i=e.value,i instanceof u?i:new u((function(t){t(i)}))).then(r,n)}i((l=l.apply(a,s||[])).next())}));var a,s,u,l}},{key:"getPayload",value:function(e,r,n){t.hashDomain(e);var i={},o=[];S.forEach((function(t){var r=e[t];null!=r&&(i[t]=M[t](r),o.push({name:t,type:k[t]}))}));var a=t.from(r),s=(0,h.shallowCopy)(r);return s.EIP712Domain?m.throwArgumentError("types must not contain EIP712Domain type","types.EIP712Domain",r):s.EIP712Domain=o,a.encode(n),{types:s,domain:i,primaryType:a.primaryType,message:a.visit(n,(function(t,e){if(t.match(/^bytes(\d*)/))return(0,c.hexlify)((0,c.arrayify)(e));if(t.match(/^u?int/))return u.BigNumber.from(e).toString();switch(t){case"address":return e.toLowerCase();case"bool":return!!e;case"string":return"string"!=typeof e&&m.throwArgumentError("invalid string","value",e),e}return m.throwArgumentError("unsupported type","type",t)}))}}}]),t}();e.TypedDataEncoder=C},64642:(t,e,r)=>{"use strict";var n=r(28847);Object.defineProperty(e,"__esModule",{value:!0}),e.keccak256=function(t){return"0x"+i.default.keccak_256((0,o.arrayify)(t))};var i=n(r(95975)),o=r(908)},95975:(t,e,r)=>{"use strict";t=r.nmd(t);var n,i=r(19142),o=r(28847)(r(3355));!function(){var a="input is invalid type",s="object"===("undefined"==typeof window?"undefined":(0,o.default)(window)),u=s?window:{};u.JS_SHA3_NO_WINDOW&&(s=!1);var c=!s&&"object"===("undefined"==typeof self?"undefined":(0,o.default)(self));!u.JS_SHA3_NO_NODE_JS&&"object"===(void 0===i?"undefined":(0,o.default)(i))&&i.versions&&i.versions.node?u=r.g:c&&(u=self);var l=!u.JS_SHA3_NO_COMMON_JS&&"object"===(0,o.default)(t)&&t.exports,h=r.amdO,f=!u.JS_SHA3_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,d="0123456789abcdef".split(""),p=[4,1024,262144,67108864],m=[0,8,16,24],g=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],y=[224,256,384,512],v=[128,256],b=["hex","buffer","arrayBuffer","array","digest"],_={128:168,256:136};!u.JS_SHA3_NO_NODE_JS&&Array.isArray||(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),!f||!u.JS_SHA3_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(t){return"object"===(0,o.default)(t)&&t.buffer&&t.buffer.constructor===ArrayBuffer});for(var w=function(t,e,r){return function(n){return new j(t,e,t).update(n)[r]()}},x=function(t,e,r){return function(n,i){return new j(t,e,i).update(n)[r]()}},k=function(t,e,r){return function(e,n,i,o){return T["cshake"+t].update(e,n,i,o)[r]()}},S=function(t,e,r){return function(e,n,i,o){return T["kmac"+t].update(e,n,i,o)[r]()}},E=function(t,e,r,n){for(var i=0;i<b.length;++i){var o=b[i];t[o]=e(r,n,o)}return t},M=function(t,e){var r=w(t,e,"hex");return r.create=function(){return new j(t,e,t)},r.update=function(t){return r.create().update(t)},E(r,w,t,e)},A=[{name:"keccak",padding:[1,256,65536,16777216],bits:y,createMethod:M},{name:"sha3",padding:[6,1536,393216,100663296],bits:y,createMethod:M},{name:"shake",padding:[31,7936,2031616,520093696],bits:v,createMethod:function(t,e){var r=x(t,e,"hex");return r.create=function(r){return new j(t,e,r)},r.update=function(t,e){return r.create(e).update(t)},E(r,x,t,e)}},{name:"cshake",padding:p,bits:v,createMethod:function(t,e){var r=_[t],n=k(t,0,"hex");return n.create=function(n,i,o){return i||o?new j(t,e,n).bytepad([i,o],r):T["shake"+t].create(n)},n.update=function(t,e,r,i){return n.create(e,r,i).update(t)},E(n,k,t,e)}},{name:"kmac",padding:p,bits:v,createMethod:function(t,e){var r=_[t],n=S(t,0,"hex");return n.create=function(n,i,o){return new N(t,e,i).bytepad(["KMAC",o],r).bytepad([n],r)},n.update=function(t,e,r,i){return n.create(t,r,i).update(e)},E(n,S,t,e)}}],T={},C=[],L=0;L<A.length;++L)for(var P=A[L],O=P.bits,I=0;I<O.length;++I){var D=P.name+"_"+O[I];if(C.push(D),T[D]=P.createMethod(O[I],P.padding),"sha3"!==P.name){var B=P.name+O[I];C.push(B),T[B]=T[D]}}function j(t,e,r){this.blocks=[],this.s=[],this.padding=e,this.outputBits=r,this.reset=!0,this.finalized=!1,this.block=0,this.start=0,this.blockCount=1600-(t<<1)>>5,this.byteCount=this.blockCount<<2,this.outputBlocks=r>>5,this.extraBytes=(31&r)>>3;for(var n=0;n<50;++n)this.s[n]=0}function N(t,e,r){j.call(this,t,e,r)}j.prototype.update=function(t){if(this.finalized)throw new Error("finalize already called");var e,r=(0,o.default)(t);if("string"!==r){if("object"!==r)throw new Error(a);if(null===t)throw new Error(a);if(f&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!(Array.isArray(t)||f&&ArrayBuffer.isView(t)))throw new Error(a);e=!0}for(var n,i,s=this.blocks,u=this.byteCount,c=t.length,l=this.blockCount,h=0,d=this.s;h<c;){if(this.reset)for(this.reset=!1,s[0]=this.block,n=1;n<l+1;++n)s[n]=0;if(e)for(n=this.start;h<c&&n<u;++h)s[n>>2]|=t[h]<<m[3&n++];else for(n=this.start;h<c&&n<u;++h)(i=t.charCodeAt(h))<128?s[n>>2]|=i<<m[3&n++]:i<2048?(s[n>>2]|=(192|i>>6)<<m[3&n++],s[n>>2]|=(128|63&i)<<m[3&n++]):i<55296||i>=57344?(s[n>>2]|=(224|i>>12)<<m[3&n++],s[n>>2]|=(128|i>>6&63)<<m[3&n++],s[n>>2]|=(128|63&i)<<m[3&n++]):(i=65536+((1023&i)<<10|1023&t.charCodeAt(++h)),s[n>>2]|=(240|i>>18)<<m[3&n++],s[n>>2]|=(128|i>>12&63)<<m[3&n++],s[n>>2]|=(128|i>>6&63)<<m[3&n++],s[n>>2]|=(128|63&i)<<m[3&n++]);if(this.lastByteIndex=n,n>=u){for(this.start=n-u,this.block=s[l],n=0;n<l;++n)d[n]^=s[n];R(d),this.reset=!0}else this.start=n}return this},j.prototype.encode=function(t,e){var r=255&t,n=1,i=[r];for(r=255&(t>>=8);r>0;)i.unshift(r),r=255&(t>>=8),++n;return e?i.push(n):i.unshift(n),this.update(i),i.length},j.prototype.encodeString=function(t){var e,r=(0,o.default)(t);if("string"!==r){if("object"!==r)throw new Error(a);if(null===t)throw new Error(a);if(f&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!(Array.isArray(t)||f&&ArrayBuffer.isView(t)))throw new Error(a);e=!0}var n=0,i=t.length;if(e)n=i;else for(var s=0;s<t.length;++s){var u=t.charCodeAt(s);u<128?n+=1:u<2048?n+=2:u<55296||u>=57344?n+=3:(u=65536+((1023&u)<<10|1023&t.charCodeAt(++s)),n+=4)}return n+=this.encode(8*n),this.update(t),n},j.prototype.bytepad=function(t,e){for(var r=this.encode(e),n=0;n<t.length;++n)r+=this.encodeString(t[n]);var i=e-r%e,o=[];return o.length=i,this.update(o),this},j.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var t=this.blocks,e=this.lastByteIndex,r=this.blockCount,n=this.s;if(t[e>>2]|=this.padding[3&e],this.lastByteIndex===this.byteCount)for(t[0]=t[r],e=1;e<r+1;++e)t[e]=0;for(t[r-1]|=2147483648,e=0;e<r;++e)n[e]^=t[e];R(n)}},j.prototype.toString=j.prototype.hex=function(){this.finalize();for(var t,e=this.blockCount,r=this.s,n=this.outputBlocks,i=this.extraBytes,o=0,a=0,s="";a<n;){for(o=0;o<e&&a<n;++o,++a)t=r[o],s+=d[t>>4&15]+d[15&t]+d[t>>12&15]+d[t>>8&15]+d[t>>20&15]+d[t>>16&15]+d[t>>28&15]+d[t>>24&15];a%e==0&&(R(r),o=0)}return i&&(t=r[o],s+=d[t>>4&15]+d[15&t],i>1&&(s+=d[t>>12&15]+d[t>>8&15]),i>2&&(s+=d[t>>20&15]+d[t>>16&15])),s},j.prototype.arrayBuffer=function(){this.finalize();var t,e=this.blockCount,r=this.s,n=this.outputBlocks,i=this.extraBytes,o=0,a=0,s=this.outputBits>>3;t=i?new ArrayBuffer(n+1<<2):new ArrayBuffer(s);for(var u=new Uint32Array(t);a<n;){for(o=0;o<e&&a<n;++o,++a)u[a]=r[o];a%e==0&&R(r)}return i&&(u[o]=r[o],t=t.slice(0,s)),t},j.prototype.buffer=j.prototype.arrayBuffer,j.prototype.digest=j.prototype.array=function(){this.finalize();for(var t,e,r=this.blockCount,n=this.s,i=this.outputBlocks,o=this.extraBytes,a=0,s=0,u=[];s<i;){for(a=0;a<r&&s<i;++a,++s)t=s<<2,e=n[a],u[t]=255&e,u[t+1]=e>>8&255,u[t+2]=e>>16&255,u[t+3]=e>>24&255;s%r==0&&R(n)}return o&&(t=s<<2,e=n[a],u[t]=255&e,o>1&&(u[t+1]=e>>8&255),o>2&&(u[t+2]=e>>16&255)),u},N.prototype=new j,N.prototype.finalize=function(){return this.encode(this.outputBits,!0),j.prototype.finalize.call(this)};var R=function(t){var e,r,n,i,o,a,s,u,c,l,h,f,d,p,m,y,v,b,_,w,x,k,S,E,M,A,T,C,L,P,O,I,D,B,j,N,R,F,Y,U,H,z,V,$,q,G,W,K,X,J,Z,Q,tt,et,rt,nt,it,ot,at,st,ut,ct,lt;for(n=0;n<48;n+=2)i=t[0]^t[10]^t[20]^t[30]^t[40],o=t[1]^t[11]^t[21]^t[31]^t[41],a=t[2]^t[12]^t[22]^t[32]^t[42],s=t[3]^t[13]^t[23]^t[33]^t[43],u=t[4]^t[14]^t[24]^t[34]^t[44],c=t[5]^t[15]^t[25]^t[35]^t[45],l=t[6]^t[16]^t[26]^t[36]^t[46],h=t[7]^t[17]^t[27]^t[37]^t[47],e=(f=t[8]^t[18]^t[28]^t[38]^t[48])^(a<<1|s>>>31),r=(d=t[9]^t[19]^t[29]^t[39]^t[49])^(s<<1|a>>>31),t[0]^=e,t[1]^=r,t[10]^=e,t[11]^=r,t[20]^=e,t[21]^=r,t[30]^=e,t[31]^=r,t[40]^=e,t[41]^=r,e=i^(u<<1|c>>>31),r=o^(c<<1|u>>>31),t[2]^=e,t[3]^=r,t[12]^=e,t[13]^=r,t[22]^=e,t[23]^=r,t[32]^=e,t[33]^=r,t[42]^=e,t[43]^=r,e=a^(l<<1|h>>>31),r=s^(h<<1|l>>>31),t[4]^=e,t[5]^=r,t[14]^=e,t[15]^=r,t[24]^=e,t[25]^=r,t[34]^=e,t[35]^=r,t[44]^=e,t[45]^=r,e=u^(f<<1|d>>>31),r=c^(d<<1|f>>>31),t[6]^=e,t[7]^=r,t[16]^=e,t[17]^=r,t[26]^=e,t[27]^=r,t[36]^=e,t[37]^=r,t[46]^=e,t[47]^=r,e=l^(i<<1|o>>>31),r=h^(o<<1|i>>>31),t[8]^=e,t[9]^=r,t[18]^=e,t[19]^=r,t[28]^=e,t[29]^=r,t[38]^=e,t[39]^=r,t[48]^=e,t[49]^=r,p=t[0],m=t[1],G=t[11]<<4|t[10]>>>28,W=t[10]<<4|t[11]>>>28,C=t[20]<<3|t[21]>>>29,L=t[21]<<3|t[20]>>>29,st=t[31]<<9|t[30]>>>23,ut=t[30]<<9|t[31]>>>23,z=t[40]<<18|t[41]>>>14,V=t[41]<<18|t[40]>>>14,B=t[2]<<1|t[3]>>>31,j=t[3]<<1|t[2]>>>31,y=t[13]<<12|t[12]>>>20,v=t[12]<<12|t[13]>>>20,K=t[22]<<10|t[23]>>>22,X=t[23]<<10|t[22]>>>22,P=t[33]<<13|t[32]>>>19,O=t[32]<<13|t[33]>>>19,ct=t[42]<<2|t[43]>>>30,lt=t[43]<<2|t[42]>>>30,et=t[5]<<30|t[4]>>>2,rt=t[4]<<30|t[5]>>>2,N=t[14]<<6|t[15]>>>26,R=t[15]<<6|t[14]>>>26,b=t[25]<<11|t[24]>>>21,_=t[24]<<11|t[25]>>>21,J=t[34]<<15|t[35]>>>17,Z=t[35]<<15|t[34]>>>17,I=t[45]<<29|t[44]>>>3,D=t[44]<<29|t[45]>>>3,E=t[6]<<28|t[7]>>>4,M=t[7]<<28|t[6]>>>4,nt=t[17]<<23|t[16]>>>9,it=t[16]<<23|t[17]>>>9,F=t[26]<<25|t[27]>>>7,Y=t[27]<<25|t[26]>>>7,w=t[36]<<21|t[37]>>>11,x=t[37]<<21|t[36]>>>11,Q=t[47]<<24|t[46]>>>8,tt=t[46]<<24|t[47]>>>8,$=t[8]<<27|t[9]>>>5,q=t[9]<<27|t[8]>>>5,A=t[18]<<20|t[19]>>>12,T=t[19]<<20|t[18]>>>12,ot=t[29]<<7|t[28]>>>25,at=t[28]<<7|t[29]>>>25,U=t[38]<<8|t[39]>>>24,H=t[39]<<8|t[38]>>>24,k=t[48]<<14|t[49]>>>18,S=t[49]<<14|t[48]>>>18,t[0]=p^~y&b,t[1]=m^~v&_,t[10]=E^~A&C,t[11]=M^~T&L,t[20]=B^~N&F,t[21]=j^~R&Y,t[30]=$^~G&K,t[31]=q^~W&X,t[40]=et^~nt&ot,t[41]=rt^~it&at,t[2]=y^~b&w,t[3]=v^~_&x,t[12]=A^~C&P,t[13]=T^~L&O,t[22]=N^~F&U,t[23]=R^~Y&H,t[32]=G^~K&J,t[33]=W^~X&Z,t[42]=nt^~ot&st,t[43]=it^~at&ut,t[4]=b^~w&k,t[5]=_^~x&S,t[14]=C^~P&I,t[15]=L^~O&D,t[24]=F^~U&z,t[25]=Y^~H&V,t[34]=K^~J&Q,t[35]=X^~Z&tt,t[44]=ot^~st&ct,t[45]=at^~ut&lt,t[6]=w^~k&p,t[7]=x^~S&m,t[16]=P^~I&E,t[17]=O^~D&M,t[26]=U^~z&B,t[27]=H^~V&j,t[36]=J^~Q&$,t[37]=Z^~tt&q,t[46]=st^~ct&et,t[47]=ut^~lt&rt,t[8]=k^~p&y,t[9]=S^~m&v,t[18]=I^~E&A,t[19]=D^~M&T,t[28]=z^~B&N,t[29]=V^~j&R,t[38]=Q^~$&G,t[39]=tt^~q&W,t[48]=ct^~et&nt,t[49]=lt^~rt&it,t[0]^=g[n],t[1]^=g[n+1]};if(l)t.exports=T;else{for(L=0;L<C.length;++L)u[C[L]]=T[C[L]];h&&(void 0===(n=function(){return T}.call(e,r,e,t))||(t.exports=n))}}()},37252:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.version=void 0,e.version="logger/5.7.0"},64327:(t,e,r)=>{"use strict";var n=r(28847);Object.defineProperty(e,"__esModule",{value:!0}),e.Logger=e.LogLevel=e.ErrorCode=void 0;var i,o,a=n(r(69721)),s=n(r(58985)),u=r(37252),c=!1,l=!1,h={debug:1,default:2,info:2,warning:3,error:4,off:5},f=h.default,d=null,p=function(){try{var t=[];if(["NFD","NFC","NFKD","NFKC"].forEach((function(e){try{if("test"!=="test".normalize(e))throw new Error("bad normalize")}catch(r){t.push(e)}})),t.length)throw new Error("missing "+t.join(", "));if(String.fromCharCode(233).normalize("NFD")!==String.fromCharCode(101,769))throw new Error("broken implementation")}catch(t){return t.message}return null}();e.LogLevel=i,function(t){t.DEBUG="DEBUG",t.INFO="INFO",t.WARNING="WARNING",t.ERROR="ERROR",t.OFF="OFF"}(i||(e.LogLevel=i={})),e.ErrorCode=o,function(t){t.UNKNOWN_ERROR="UNKNOWN_ERROR",t.NOT_IMPLEMENTED="NOT_IMPLEMENTED",t.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION",t.NETWORK_ERROR="NETWORK_ERROR",t.SERVER_ERROR="SERVER_ERROR",t.TIMEOUT="TIMEOUT",t.BUFFER_OVERRUN="BUFFER_OVERRUN",t.NUMERIC_FAULT="NUMERIC_FAULT",t.MISSING_NEW="MISSING_NEW",t.INVALID_ARGUMENT="INVALID_ARGUMENT",t.MISSING_ARGUMENT="MISSING_ARGUMENT",t.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",t.CALL_EXCEPTION="CALL_EXCEPTION",t.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",t.NONCE_EXPIRED="NONCE_EXPIRED",t.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED",t.UNPREDICTABLE_GAS_LIMIT="UNPREDICTABLE_GAS_LIMIT",t.TRANSACTION_REPLACED="TRANSACTION_REPLACED",t.ACTION_REJECTED="ACTION_REJECTED"}(o||(e.ErrorCode=o={}));var m="0123456789abcdef",g=function(){function t(e){(0,a.default)(this,t),Object.defineProperty(this,"version",{enumerable:!0,value:e,writable:!1})}return(0,s.default)(t,[{key:"_log",value:function(t,e){var r=t.toLowerCase();null==h[r]&&this.throwArgumentError("invalid log level name","logLevel",t),f>h[r]||console.log.apply(console,e)}},{key:"debug",value:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];this._log(t.levels.DEBUG,r)}},{key:"info",value:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];this._log(t.levels.INFO,r)}},{key:"warn",value:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];this._log(t.levels.WARNING,r)}},{key:"makeError",value:function(e,r,n){if(l)return this.makeError("censored error",r,{});r||(r=t.errors.UNKNOWN_ERROR),n||(n={});var i=[];Object.keys(n).forEach((function(t){var e=n[t];try{if(e instanceof Uint8Array){for(var r="",o=0;o<e.length;o++)r+=m[e[o]>>4],r+=m[15&e[o]];i.push(t+"=Uint8Array(0x"+r+")")}else i.push(t+"="+JSON.stringify(e))}catch(e){i.push(t+"="+JSON.stringify(n[t].toString()))}})),i.push("code=".concat(r)),i.push("version=".concat(this.version));var a=e,s="";switch(r){case o.NUMERIC_FAULT:s="NUMERIC_FAULT";var u=e;switch(u){case"overflow":case"underflow":case"division-by-zero":s+="-"+u;break;case"negative-power":case"negative-width":s+="-unsupported";break;case"unbound-bitwise-result":s+="-unbound-result"}break;case o.CALL_EXCEPTION:case o.INSUFFICIENT_FUNDS:case o.MISSING_NEW:case o.NONCE_EXPIRED:case o.REPLACEMENT_UNDERPRICED:case o.TRANSACTION_REPLACED:case o.UNPREDICTABLE_GAS_LIMIT:s=r}s&&(e+=" [ See: https://links.ethers.org/v5-errors-"+s+" ]"),i.length&&(e+=" ("+i.join(", ")+")");var c=new Error(e);return c.reason=a,c.code=r,Object.keys(n).forEach((function(t){c[t]=n[t]})),c}},{key:"throwError",value:function(t,e,r){throw this.makeError(t,e,r)}},{key:"throwArgumentError",value:function(e,r,n){return this.throwError(e,t.errors.INVALID_ARGUMENT,{argument:r,value:n})}},{key:"assert",value:function(t,e,r,n){t||this.throwError(e,r,n)}},{key:"assertArgument",value:function(t,e,r,n){t||this.throwArgumentError(e,r,n)}},{key:"checkNormalize",value:function(e){null==e&&(e="platform missing String.prototype.normalize"),p&&this.throwError("platform missing String.prototype.normalize",t.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:p})}},{key:"checkSafeUint53",value:function(e,r){"number"==typeof e&&(null==r&&(r="value not safe"),(e<0||e>=9007199254740991)&&this.throwError(r,t.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:e}),e%1&&this.throwError(r,t.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:e}))}},{key:"checkArgumentCount",value:function(e,r,n){n=n?": "+n:"",e<r&&this.throwError("missing argument"+n,t.errors.MISSING_ARGUMENT,{count:e,expectedCount:r}),e>r&&this.throwError("too many arguments"+n,t.errors.UNEXPECTED_ARGUMENT,{count:e,expectedCount:r})}},{key:"checkNew",value:function(e,r){e!==Object&&null!=e||this.throwError("missing new",t.errors.MISSING_NEW,{name:r.name})}},{key:"checkAbstract",value:function(e,r){e===r?this.throwError("cannot instantiate abstract class "+JSON.stringify(r.name)+" directly; use a sub-class",t.errors.UNSUPPORTED_OPERATION,{name:e.name,operation:"new"}):e!==Object&&null!=e||this.throwError("missing new",t.errors.MISSING_NEW,{name:r.name})}}],[{key:"globalLogger",value:function(){return d||(d=new t(u.version)),d}},{key:"setCensorship",value:function(e,r){if(!e&&r&&this.globalLogger().throwError("cannot permanently disable censorship",t.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),c){if(!e)return;this.globalLogger().throwError("error censorship permanent",t.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}l=!!e,c=!!r}},{key:"setLogLevel",value:function(e){var r=h[e.toLowerCase()];null!=r?f=r:t.globalLogger().warn("invalid log level - "+e)}},{key:"from",value:function(e){return new t(e)}}]),t}();e.Logger=g,g.errors=o,g.levels=i},64071:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.version=void 0,e.version="properties/5.7.0"},23694:(t,e,r)=>{"use strict";var n=r(28847);Object.defineProperty(e,"__esModule",{value:!0}),e.Description=void 0,e.checkProperties=function(t,e){t&&"object"===(0,s.default)(t)||h.throwArgumentError("invalid object","object",t),Object.keys(t).forEach((function(r){e[r]||h.throwArgumentError("invalid object key - "+r,"transaction:"+r,t)}))},e.deepCopy=g,e.defineReadOnly=f,e.getStatic=function(t,e){for(var r=0;r<32;r++){if(t[e])return t[e];if(!t.prototype||"object"!==(0,s.default)(t.prototype))break;t=Object.getPrototypeOf(t.prototype).constructor}return null},e.resolveProperties=function(t){return l(this,void 0,void 0,i.default.mark((function e(){var r,n;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=Object.keys(t).map((function(e){var r=t[e];return Promise.resolve(r).then((function(t){return{key:e,value:t}}))})),e.next=3,Promise.all(r);case 3:return n=e.sent,e.abrupt("return",n.reduce((function(t,e){return t[e.key]=e.value,t}),{}));case 5:case"end":return e.stop()}}),e)})))},e.shallowCopy=function(t){var e={};for(var r in t)e[r]=t[r];return e};var i=n(r(82247)),o=n(r(58985)),a=n(r(69721)),s=n(r(3355)),u=r(64327),c=r(64071),l=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function a(t){try{u(n.next(t))}catch(t){o(t)}}function s(t){try{u(n.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,s)}u((n=n.apply(t,e||[])).next())}))},h=new u.Logger(c.version);function f(t,e,r){Object.defineProperty(t,e,{enumerable:!0,value:r,writable:!1})}var d={bigint:!0,boolean:!0,function:!0,number:!0,string:!0};function p(t){if(null==t||d[(0,s.default)(t)])return!0;if(Array.isArray(t)||"object"===(0,s.default)(t)){if(!Object.isFrozen(t))return!1;for(var e=Object.keys(t),r=0;r<e.length;r++){var n=null;try{n=t[e[r]]}catch(t){continue}if(!p(n))return!1}return!0}return h.throwArgumentError("Cannot deepCopy ".concat((0,s.default)(t)),"object",t)}function m(t){if(p(t))return t;if(Array.isArray(t))return Object.freeze(t.map((function(t){return g(t)})));if("object"===(0,s.default)(t)){var e={};for(var r in t){var n=t[r];void 0!==n&&f(e,r,g(n))}return e}return h.throwArgumentError("Cannot deepCopy ".concat((0,s.default)(t)),"object",t)}function g(t){return m(t)}var y=(0,o.default)((function t(e){for(var r in(0,a.default)(this,t),e)this[r]=g(e[r])}));e.Description=y},61466:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.version=void 0,e.version="rlp/5.7.0"},55265:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.decode=function(t){var e=(0,n.arrayify)(t),r=h(e,0);return r.consumed!==e.length&&a.throwArgumentError("invalid rlp data","data",t),r.result},e.encode=function(t){return(0,n.hexlify)(c(t))};var n=r(908),i=r(64327),o=r(61466),a=new i.Logger(o.version);function s(t){for(var e=[];t;)e.unshift(255&t),t>>=8;return e}function u(t,e,r){for(var n=0,i=0;i<r;i++)n=256*n+t[e+i];return n}function c(t){if(Array.isArray(t)){var e=[];if(t.forEach((function(t){e=e.concat(c(t))})),e.length<=55)return e.unshift(192+e.length),e;var r=s(e.length);return r.unshift(247+r.length),r.concat(e)}(0,n.isBytesLike)(t)||a.throwArgumentError("RLP object must be BytesLike","object",t);var i=Array.prototype.slice.call((0,n.arrayify)(t));if(1===i.length&&i[0]<=127)return i;if(i.length<=55)return i.unshift(128+i.length),i;var o=s(i.length);return o.unshift(183+o.length),o.concat(i)}function l(t,e,r,n){for(var o=[];r<e+1+n;){var s=h(t,r);o.push(s.result),(r+=s.consumed)>e+1+n&&a.throwError("child data too short",i.Logger.errors.BUFFER_OVERRUN,{})}return{consumed:1+n,result:o}}function h(t,e){if(0===t.length&&a.throwError("data too short",i.Logger.errors.BUFFER_OVERRUN,{}),t[e]>=248){var r=t[e]-247;e+1+r>t.length&&a.throwError("data short segment too short",i.Logger.errors.BUFFER_OVERRUN,{});var o=u(t,e+1,r);return e+1+r+o>t.length&&a.throwError("data long segment too short",i.Logger.errors.BUFFER_OVERRUN,{}),l(t,e,e+1+r,r+o)}if(t[e]>=192){var s=t[e]-192;return e+1+s>t.length&&a.throwError("data array too short",i.Logger.errors.BUFFER_OVERRUN,{}),l(t,e,e+1,s)}if(t[e]>=184){var c=t[e]-183;e+1+c>t.length&&a.throwError("data array too short",i.Logger.errors.BUFFER_OVERRUN,{});var h=u(t,e+1,c);return e+1+c+h>t.length&&a.throwError("data array too short",i.Logger.errors.BUFFER_OVERRUN,{}),{consumed:1+c+h,result:(0,n.hexlify)(t.slice(e+1+c,e+1+c+h))}}if(t[e]>=128){var f=t[e]-128;return e+1+f>t.length&&a.throwError("data too short",i.Logger.errors.BUFFER_OVERRUN,{}),{consumed:1+f,result:(0,n.hexlify)(t.slice(e+1,e+1+f))}}return{consumed:1,result:(0,n.hexlify)(t[e])}}},48100:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.version=void 0,e.version="signing-key/5.7.0"},36918:(t,e,r)=>{"use strict";var n=r(28847);Object.defineProperty(e,"__esModule",{value:!0}),e.EC=void 0;var i=n(r(3355)),o=n(r(31734)),a=n(r(37198));function s(t,e,r){return r={path:e,exports:{},require:function(t,e){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==e&&r.path)}},t(r,r.exports),r.exports}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self&&self;var u=c;function c(t,e){if(!t)throw new Error(e||"Assertion failed")}c.equal=function(t,e,r){if(t!=e)throw new Error(r||"Assertion failed: "+t+" != "+e)};var l=s((function(t,e){var r=e;function n(t){return 1===t.length?"0"+t:t}function i(t){for(var e="",r=0;r<t.length;r++)e+=n(t[r].toString(16));return e}r.toArray=function(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var r=[];if("string"!=typeof t){for(var n=0;n<t.length;n++)r[n]=0|t[n];return r}if("hex"===e)for((t=t.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(t="0"+t),n=0;n<t.length;n+=2)r.push(parseInt(t[n]+t[n+1],16));else for(n=0;n<t.length;n++){var i=t.charCodeAt(n),o=i>>8,a=255&i;o?r.push(o,a):r.push(a)}return r},r.zero2=n,r.toHex=i,r.encode=function(t,e){return"hex"===e?i(t):t}})),h=s((function(t,e){var r=e;r.assert=u,r.toArray=l.toArray,r.zero2=l.zero2,r.toHex=l.toHex,r.encode=l.encode,r.getNAF=function(t,e,r){var n=new Array(Math.max(t.bitLength(),r)+1);n.fill(0);for(var i=1<<e+1,o=t.clone(),a=0;a<n.length;a++){var s,u=o.andln(i-1);o.isOdd()?(s=u>(i>>1)-1?(i>>1)-u:u,o.isubn(s)):s=0,n[a]=s,o.iushrn(1)}return n},r.getJSF=function(t,e){var r=[[],[]];t=t.clone(),e=e.clone();for(var n,i=0,o=0;t.cmpn(-i)>0||e.cmpn(-o)>0;){var a,s,u=t.andln(3)+i&3,c=e.andln(3)+o&3;3===u&&(u=-1),3===c&&(c=-1),a=0==(1&u)?0:3!=(n=t.andln(7)+i&7)&&5!==n||2!==c?u:-u,r[0].push(a),s=0==(1&c)?0:3!=(n=e.andln(7)+o&7)&&5!==n||2!==u?c:-c,r[1].push(s),2*i===a+1&&(i=1-i),2*o===s+1&&(o=1-o),t.iushrn(1),e.iushrn(1)}return r},r.cachedProperty=function(t,e,r){var n="_"+e;t.prototype[e]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}},r.parseBytes=function(t){return"string"==typeof t?r.toArray(t,"hex"):t},r.intFromLE=function(t){return new o.default(t,"hex","le")}})),f=h.getNAF,d=h.getJSF,p=h.assert;function m(t,e){this.type=t,this.p=new o.default(e.p,16),this.red=e.prime?o.default.red(e.prime):o.default.mont(this.p),this.zero=new o.default(0).toRed(this.red),this.one=new o.default(1).toRed(this.red),this.two=new o.default(2).toRed(this.red),this.n=e.n&&new o.default(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}var g=m;function y(t,e){this.curve=t,this.type=e,this.precomputed=null}m.prototype.point=function(){throw new Error("Not implemented")},m.prototype.validate=function(){throw new Error("Not implemented")},m.prototype._fixedNafMul=function(t,e){p(t.precomputed);var r=t._getDoubles(),n=f(e,1,this._bitLength),i=(1<<r.step+1)-(r.step%2==0?2:1);i/=3;var o,a,s=[];for(o=0;o<n.length;o+=r.step){a=0;for(var u=o+r.step-1;u>=o;u--)a=(a<<1)+n[u];s.push(a)}for(var c=this.jpoint(null,null,null),l=this.jpoint(null,null,null),h=i;h>0;h--){for(o=0;o<s.length;o++)(a=s[o])===h?l=l.mixedAdd(r.points[o]):a===-h&&(l=l.mixedAdd(r.points[o].neg()));c=c.add(l)}return c.toP()},m.prototype._wnafMul=function(t,e){var r=4,n=t._getNAFPoints(r);r=n.wnd;for(var i=n.points,o=f(e,r,this._bitLength),a=this.jpoint(null,null,null),s=o.length-1;s>=0;s--){for(var u=0;s>=0&&0===o[s];s--)u++;if(s>=0&&u++,a=a.dblp(u),s<0)break;var c=o[s];p(0!==c),a="affine"===t.type?c>0?a.mixedAdd(i[c-1>>1]):a.mixedAdd(i[-c-1>>1].neg()):c>0?a.add(i[c-1>>1]):a.add(i[-c-1>>1].neg())}return"affine"===t.type?a.toP():a},m.prototype._wnafMulAdd=function(t,e,r,n,i){var o,a,s,u=this._wnafT1,c=this._wnafT2,l=this._wnafT3,h=0;for(o=0;o<n;o++){var p=(s=e[o])._getNAFPoints(t);u[o]=p.wnd,c[o]=p.points}for(o=n-1;o>=1;o-=2){var m=o-1,g=o;if(1===u[m]&&1===u[g]){var y=[e[m],null,null,e[g]];0===e[m].y.cmp(e[g].y)?(y[1]=e[m].add(e[g]),y[2]=e[m].toJ().mixedAdd(e[g].neg())):0===e[m].y.cmp(e[g].y.redNeg())?(y[1]=e[m].toJ().mixedAdd(e[g]),y[2]=e[m].add(e[g].neg())):(y[1]=e[m].toJ().mixedAdd(e[g]),y[2]=e[m].toJ().mixedAdd(e[g].neg()));var v=[-3,-1,-5,-7,0,7,5,1,3],b=d(r[m],r[g]);for(h=Math.max(b[0].length,h),l[m]=new Array(h),l[g]=new Array(h),a=0;a<h;a++){var _=0|b[0][a],w=0|b[1][a];l[m][a]=v[3*(_+1)+(w+1)],l[g][a]=0,c[m]=y}}else l[m]=f(r[m],u[m],this._bitLength),l[g]=f(r[g],u[g],this._bitLength),h=Math.max(l[m].length,h),h=Math.max(l[g].length,h)}var x=this.jpoint(null,null,null),k=this._wnafT4;for(o=h;o>=0;o--){for(var S=0;o>=0;){var E=!0;for(a=0;a<n;a++)k[a]=0|l[a][o],0!==k[a]&&(E=!1);if(!E)break;S++,o--}if(o>=0&&S++,x=x.dblp(S),o<0)break;for(a=0;a<n;a++){var M=k[a];0!==M&&(M>0?s=c[a][M-1>>1]:M<0&&(s=c[a][-M-1>>1].neg()),x="affine"===s.type?x.mixedAdd(s):x.add(s))}}for(o=0;o<n;o++)c[o]=null;return i?x:x.toP()},m.BasePoint=y,y.prototype.eq=function(){throw new Error("Not implemented")},y.prototype.validate=function(){return this.curve.validate(this)},m.prototype.decodePoint=function(t,e){t=h.toArray(t,e);var r=this.p.byteLength();if((4===t[0]||6===t[0]||7===t[0])&&t.length-1==2*r)return 6===t[0]?p(t[t.length-1]%2==0):7===t[0]&&p(t[t.length-1]%2==1),this.point(t.slice(1,1+r),t.slice(1+r,1+2*r));if((2===t[0]||3===t[0])&&t.length-1===r)return this.pointFromX(t.slice(1,1+r),3===t[0]);throw new Error("Unknown point format")},y.prototype.encodeCompressed=function(t){return this.encode(t,!0)},y.prototype._encode=function(t){var e=this.curve.p.byteLength(),r=this.getX().toArray("be",e);return t?[this.getY().isEven()?2:3].concat(r):[4].concat(r,this.getY().toArray("be",e))},y.prototype.encode=function(t,e){return h.encode(this._encode(e),t)},y.prototype.precompute=function(t){if(this.precomputed)return this;var e={doubles:null,naf:null,beta:null};return e.naf=this._getNAFPoints(8),e.doubles=this._getDoubles(4,t),e.beta=this._getBeta(),this.precomputed=e,this},y.prototype._hasDoubles=function(t){if(!this.precomputed)return!1;var e=this.precomputed.doubles;return!!e&&e.points.length>=Math.ceil((t.bitLength()+1)/e.step)},y.prototype._getDoubles=function(t,e){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,i=0;i<e;i+=t){for(var o=0;o<t;o++)n=n.dbl();r.push(n)}return{step:t,points:r}},y.prototype._getNAFPoints=function(t){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var e=[this],r=(1<<t)-1,n=1===r?null:this.dbl(),i=1;i<r;i++)e[i]=e[i-1].add(n);return{wnd:t,points:e}},y.prototype._getBeta=function(){return null},y.prototype.dblp=function(t){for(var e=this,r=0;r<t;r++)e=e.dbl();return e};var v=s((function(t){"function"==typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}}})),b=h.assert;function _(t){g.call(this,"short",t),this.a=new o.default(t.a,16).toRed(this.red),this.b=new o.default(t.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(t),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}v(_,g);var w=_;function x(t,e,r,n){g.BasePoint.call(this,t,"affine"),null===e&&null===r?(this.x=null,this.y=null,this.inf=!0):(this.x=new o.default(e,16),this.y=new o.default(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 k(t,e,r,n){g.BasePoint.call(this,t,"jacobian"),null===e&&null===r&&null===n?(this.x=this.curve.one,this.y=this.curve.one,this.z=new o.default(0)):(this.x=new o.default(e,16),this.y=new o.default(r,16),this.z=new o.default(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}_.prototype._getEndomorphism=function(t){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var e,r;if(t.beta)e=new o.default(t.beta,16).toRed(this.red);else{var n=this._getEndoRoots(this.p);e=(e=n[0].cmp(n[1])<0?n[0]:n[1]).toRed(this.red)}if(t.lambda)r=new o.default(t.lambda,16);else{var i=this._getEndoRoots(this.n);0===this.g.mul(i[0]).x.cmp(this.g.x.redMul(e))?r=i[0]:(r=i[1],b(0===this.g.mul(r).x.cmp(this.g.x.redMul(e))))}return{beta:e,lambda:r,basis:t.basis?t.basis.map((function(t){return{a:new o.default(t.a,16),b:new o.default(t.b,16)}})):this._getEndoBasis(r)}}},_.prototype._getEndoRoots=function(t){var e=t===this.p?this.red:o.default.mont(t),r=new o.default(2).toRed(e).redInvm(),n=r.redNeg(),i=new o.default(3).toRed(e).redNeg().redSqrt().redMul(r);return[n.redAdd(i).fromRed(),n.redSub(i).fromRed()]},_.prototype._getEndoBasis=function(t){for(var e,r,n,i,a,s,u,c,l,h=this.n.ushrn(Math.floor(this.n.bitLength()/2)),f=t,d=this.n.clone(),p=new o.default(1),m=new o.default(0),g=new o.default(0),y=new o.default(1),v=0;0!==f.cmpn(0);){var b=d.div(f);c=d.sub(b.mul(f)),l=g.sub(b.mul(p));var _=y.sub(b.mul(m));if(!n&&c.cmp(h)<0)e=u.neg(),r=p,n=c.neg(),i=l;else if(n&&2==++v)break;u=c,d=f,f=c,g=p,p=l,y=m,m=_}a=c.neg(),s=l;var w=n.sqr().add(i.sqr());return a.sqr().add(s.sqr()).cmp(w)>=0&&(a=e,s=r),n.negative&&(n=n.neg(),i=i.neg()),a.negative&&(a=a.neg(),s=s.neg()),[{a:n,b:i},{a:a,b:s}]},_.prototype._endoSplit=function(t){var e=this.endo.basis,r=e[0],n=e[1],i=n.b.mul(t).divRound(this.n),o=r.b.neg().mul(t).divRound(this.n),a=i.mul(r.a),s=o.mul(n.a),u=i.mul(r.b),c=o.mul(n.b);return{k1:t.sub(a).sub(s),k2:u.add(c).neg()}},_.prototype.pointFromX=function(t,e){(t=new o.default(t,16)).red||(t=t.toRed(this.red));var r=t.redSqr().redMul(t).redIAdd(t.redMul(this.a)).redIAdd(this.b),n=r.redSqrt();if(0!==n.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var i=n.fromRed().isOdd();return(e&&!i||!e&&i)&&(n=n.redNeg()),this.point(t,n)},_.prototype.validate=function(t){if(t.inf)return!0;var e=t.x,r=t.y,n=this.a.redMul(e),i=e.redSqr().redMul(e).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(i).cmpn(0)},_.prototype._endoWnafMulAdd=function(t,e,r){for(var n=this._endoWnafT1,i=this._endoWnafT2,o=0;o<t.length;o++){var a=this._endoSplit(e[o]),s=t[o],u=s._getBeta();a.k1.negative&&(a.k1.ineg(),s=s.neg(!0)),a.k2.negative&&(a.k2.ineg(),u=u.neg(!0)),n[2*o]=s,n[2*o+1]=u,i[2*o]=a.k1,i[2*o+1]=a.k2}for(var c=this._wnafMulAdd(1,n,i,2*o,r),l=0;l<2*o;l++)n[l]=null,i[l]=null;return c},v(x,g.BasePoint),_.prototype.point=function(t,e,r){return new x(this,t,e,r)},_.prototype.pointFromJSON=function(t,e){return x.fromJSON(this,t,e)},x.prototype._getBeta=function(){if(this.curve.endo){var t=this.precomputed;if(t&&t.beta)return t.beta;var e=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(t){var r=this.curve,n=function(t){return r.point(t.x.redMul(r.endo.beta),t.y)};t.beta=e,e.precomputed={beta:null,naf:t.naf&&{wnd:t.naf.wnd,points:t.naf.points.map(n)},doubles:t.doubles&&{step:t.doubles.step,points:t.doubles.points.map(n)}}}return e}},x.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},x.fromJSON=function(t,e,r){"string"==typeof e&&(e=JSON.parse(e));var n=t.point(e[0],e[1],r);if(!e[2])return n;function i(e){return t.point(e[0],e[1],r)}var o=e[2];return n.precomputed={beta:null,doubles:o.doubles&&{step:o.doubles.step,points:[n].concat(o.doubles.points.map(i))},naf:o.naf&&{wnd:o.naf.wnd,points:[n].concat(o.naf.points.map(i))}},n},x.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},x.prototype.isInfinity=function(){return this.inf},x.prototype.add=function(t){if(this.inf)return t;if(t.inf)return this;if(this.eq(t))return this.dbl();if(this.neg().eq(t))return this.curve.point(null,null);if(0===this.x.cmp(t.x))return this.curve.point(null,null);var e=this.y.redSub(t.y);0!==e.cmpn(0)&&(e=e.redMul(this.x.redSub(t.x).redInvm()));var r=e.redSqr().redISub(this.x).redISub(t.x),n=e.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,n)},x.prototype.dbl=function(){if(this.inf)return this;var t=this.y.redAdd(this.y);if(0===t.cmpn(0))return this.curve.point(null,null);var e=this.curve.a,r=this.x.redSqr(),n=t.redInvm(),i=r.redAdd(r).redIAdd(r).redIAdd(e).redMul(n),o=i.redSqr().redISub(this.x.redAdd(this.x)),a=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,a)},x.prototype.getX=function(){return this.x.fromRed()},x.prototype.getY=function(){return this.y.fromRed()},x.prototype.mul=function(t){return t=new o.default(t,16),this.isInfinity()?this:this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve.endo?this.curve._endoWnafMulAdd([this],[t]):this.curve._wnafMul(this,t)},x.prototype.mulAdd=function(t,e,r){var n=[this,e],i=[t,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i):this.curve._wnafMulAdd(1,n,i,2)},x.prototype.jmulAdd=function(t,e,r){var n=[this,e],i=[t,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i,!0):this.curve._wnafMulAdd(1,n,i,2,!0)},x.prototype.eq=function(t){return this===t||this.inf===t.inf&&(this.inf||0===this.x.cmp(t.x)&&0===this.y.cmp(t.y))},x.prototype.neg=function(t){if(this.inf)return this;var e=this.curve.point(this.x,this.y.redNeg());if(t&&this.precomputed){var r=this.precomputed,n=function(t){return t.neg()};e.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 e},x.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},v(k,g.BasePoint),_.prototype.jpoint=function(t,e,r){return new k(this,t,e,r)},k.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var t=this.z.redInvm(),e=t.redSqr(),r=this.x.redMul(e),n=this.y.redMul(e).redMul(t);return this.curve.point(r,n)},k.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},k.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var e=t.z.redSqr(),r=this.z.redSqr(),n=this.x.redMul(e),i=t.x.redMul(r),o=this.y.redMul(e.redMul(t.z)),a=t.y.redMul(r.redMul(this.z)),s=n.redSub(i),u=o.redSub(a);if(0===s.cmpn(0))return 0!==u.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=s.redSqr(),l=c.redMul(s),h=n.redMul(c),f=u.redSqr().redIAdd(l).redISub(h).redISub(h),d=u.redMul(h.redISub(f)).redISub(o.redMul(l)),p=this.z.redMul(t.z).redMul(s);return this.curve.jpoint(f,d,p)},k.prototype.mixedAdd=function(t){if(this.isInfinity())return t.toJ();if(t.isInfinity())return this;var e=this.z.redSqr(),r=this.x,n=t.x.redMul(e),i=this.y,o=t.y.redMul(e).redMul(this.z),a=r.redSub(n),s=i.redSub(o);if(0===a.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=a.redSqr(),c=u.redMul(a),l=r.redMul(u),h=s.redSqr().redIAdd(c).redISub(l).redISub(l),f=s.redMul(l.redISub(h)).redISub(i.redMul(c)),d=this.z.redMul(a);return this.curve.jpoint(h,f,d)},k.prototype.dblp=function(t){if(0===t)return this;if(this.isInfinity())return this;if(!t)return this.dbl();var e;if(this.curve.zeroA||this.curve.threeA){var r=this;for(e=0;e<t;e++)r=r.dbl();return r}var n=this.curve.a,i=this.curve.tinv,o=this.x,a=this.y,s=this.z,u=s.redSqr().redSqr(),c=a.redAdd(a);for(e=0;e<t;e++){var l=o.redSqr(),h=c.redSqr(),f=h.redSqr(),d=l.redAdd(l).redIAdd(l).redIAdd(n.redMul(u)),p=o.redMul(h),m=d.redSqr().redISub(p.redAdd(p)),g=p.redISub(m),y=d.redMul(g);y=y.redIAdd(y).redISub(f);var v=c.redMul(s);e+1<t&&(u=u.redMul(f)),o=m,s=v,c=y}return this.curve.jpoint(o,c.redMul(i),s)},k.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},k.prototype._zeroDbl=function(){var t,e,r;if(this.zOne){var n=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),a=this.x.redAdd(i).redSqr().redISub(n).redISub(o);a=a.redIAdd(a);var s=n.redAdd(n).redIAdd(n),u=s.redSqr().redISub(a).redISub(a),c=o.redIAdd(o);c=(c=c.redIAdd(c)).redIAdd(c),t=u,e=s.redMul(a.redISub(u)).redISub(c),r=this.y.redAdd(this.y)}else{var l=this.x.redSqr(),h=this.y.redSqr(),f=h.redSqr(),d=this.x.redAdd(h).redSqr().redISub(l).redISub(f);d=d.redIAdd(d);var p=l.redAdd(l).redIAdd(l),m=p.redSqr(),g=f.redIAdd(f);g=(g=g.redIAdd(g)).redIAdd(g),t=m.redISub(d).redISub(d),e=p.redMul(d.redISub(t)).redISub(g),r=(r=this.y.redMul(this.z)).redIAdd(r)}return this.curve.jpoint(t,e,r)},k.prototype._threeDbl=function(){var t,e,r;if(this.zOne){var n=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),a=this.x.redAdd(i).redSqr().redISub(n).redISub(o);a=a.redIAdd(a);var s=n.redAdd(n).redIAdd(n).redIAdd(this.curve.a),u=s.redSqr().redISub(a).redISub(a);t=u;var c=o.redIAdd(o);c=(c=c.redIAdd(c)).redIAdd(c),e=s.redMul(a.redISub(u)).redISub(c),r=this.y.redAdd(this.y)}else{var l=this.z.redSqr(),h=this.y.redSqr(),f=this.x.redMul(h),d=this.x.redSub(l).redMul(this.x.redAdd(l));d=d.redAdd(d).redIAdd(d);var p=f.redIAdd(f),m=(p=p.redIAdd(p)).redAdd(p);t=d.redSqr().redISub(m),r=this.y.redAdd(this.z).redSqr().redISub(h).redISub(l);var g=h.redSqr();g=(g=(g=g.redIAdd(g)).redIAdd(g)).redIAdd(g),e=d.redMul(p.redISub(t)).redISub(g)}return this.curve.jpoint(t,e,r)},k.prototype._dbl=function(){var t=this.curve.a,e=this.x,r=this.y,n=this.z,i=n.redSqr().redSqr(),o=e.redSqr(),a=r.redSqr(),s=o.redAdd(o).redIAdd(o).redIAdd(t.redMul(i)),u=e.redAdd(e),c=(u=u.redIAdd(u)).redMul(a),l=s.redSqr().redISub(c.redAdd(c)),h=c.redISub(l),f=a.redSqr();f=(f=(f=f.redIAdd(f)).redIAdd(f)).redIAdd(f);var d=s.redMul(h).redISub(f),p=r.redAdd(r).redMul(n);return this.curve.jpoint(l,d,p)},k.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var t=this.x.redSqr(),e=this.y.redSqr(),r=this.z.redSqr(),n=e.redSqr(),i=t.redAdd(t).redIAdd(t),o=i.redSqr(),a=this.x.redAdd(e).redSqr().redISub(t).redISub(n),s=(a=(a=(a=a.redIAdd(a)).redAdd(a).redIAdd(a)).redISub(o)).redSqr(),u=n.redIAdd(n);u=(u=(u=u.redIAdd(u)).redIAdd(u)).redIAdd(u);var c=i.redIAdd(a).redSqr().redISub(o).redISub(s).redISub(u),l=e.redMul(c);l=(l=l.redIAdd(l)).redIAdd(l);var h=this.x.redMul(s).redISub(l);h=(h=h.redIAdd(h)).redIAdd(h);var f=this.y.redMul(c.redMul(u.redISub(c)).redISub(a.redMul(s)));f=(f=(f=f.redIAdd(f)).redIAdd(f)).redIAdd(f);var d=this.z.redAdd(a).redSqr().redISub(r).redISub(s);return this.curve.jpoint(h,f,d)},k.prototype.mul=function(t,e){return t=new o.default(t,e),this.curve._wnafMul(this,t)},k.prototype.eq=function(t){if("affine"===t.type)return this.eq(t.toJ());if(this===t)return!0;var e=this.z.redSqr(),r=t.z.redSqr();if(0!==this.x.redMul(r).redISub(t.x.redMul(e)).cmpn(0))return!1;var n=e.redMul(this.z),i=r.redMul(t.z);return 0===this.y.redMul(i).redISub(t.y.redMul(n)).cmpn(0)},k.prototype.eqXToP=function(t){var e=this.z.redSqr(),r=t.toRed(this.curve.red).redMul(e);if(0===this.x.cmp(r))return!0;for(var n=t.clone(),i=this.curve.redN.redMul(e);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(r.redIAdd(i),0===this.x.cmp(r))return!0}},k.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},k.prototype.isInfinity=function(){return 0===this.z.cmpn(0)};var S=s((function(t,e){var r=e;r.base=g,r.short=w,r.mont=null,r.edwards=null})),E=s((function(t,e){var r,n=e,i=h.assert;function o(t){"short"===t.type?this.curve=new S.short(t):"edwards"===t.type?this.curve=new S.edwards(t):this.curve=new S.mont(t),this.g=this.curve.g,this.n=this.curve.n,this.hash=t.hash,i(this.g.validate(),"Invalid curve"),i(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function s(t,e){Object.defineProperty(n,t,{configurable:!0,enumerable:!0,get:function(){var r=new o(e);return Object.defineProperty(n,t,{configurable:!0,enumerable:!0,value:r}),r}})}n.PresetCurve=o,s("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:a.default.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),s("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:a.default.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),s("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:a.default.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),s("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:a.default.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"]}),s("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:a.default.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"]}),s("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:a.default.sha256,gRed:!1,g:["9"]}),s("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:a.default.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{r=null.crash()}catch(t){r=void 0}s("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:a.default.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",r]})}));function M(t){if(!(this instanceof M))return new M(t);this.hash=t.hash,this.predResist=!!t.predResist,this.outLen=this.hash.outSize,this.minEntropy=t.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var e=l.toArray(t.entropy,t.entropyEnc||"hex"),r=l.toArray(t.nonce,t.nonceEnc||"hex"),n=l.toArray(t.pers,t.persEnc||"hex");u(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(e,r,n)}var A=M;M.prototype._init=function(t,e,r){var n=t.concat(e).concat(r);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i<this.V.length;i++)this.K[i]=0,this.V[i]=1;this._update(n),this._reseed=1,this.reseedInterval=281474976710656},M.prototype._hmac=function(){return new a.default.hmac(this.hash,this.K)},M.prototype._update=function(t){var e=this._hmac().update(this.V).update([0]);t&&(e=e.update(t)),this.K=e.digest(),this.V=this._hmac().update(this.V).digest(),t&&(this.K=this._hmac().update(this.V).update([1]).update(t).digest(),this.V=this._hmac().update(this.V).digest())},M.prototype.reseed=function(t,e,r,n){"string"!=typeof e&&(n=r,r=e,e=null),t=l.toArray(t,e),r=l.toArray(r,n),u(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(t.concat(r||[])),this._reseed=1},M.prototype.generate=function(t,e,r,n){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof e&&(n=r,r=e,e=null),r&&(r=l.toArray(r,n||"hex"),this._update(r));for(var i=[];i.length<t;)this.V=this._hmac().update(this.V).digest(),i=i.concat(this.V);var o=i.slice(0,t);return this._update(r),this._reseed++,l.encode(o,e)};var T=h.assert;function C(t,e){this.ec=t,this.priv=null,this.pub=null,e.priv&&this._importPrivate(e.priv,e.privEnc),e.pub&&this._importPublic(e.pub,e.pubEnc)}var L=C;C.fromPublic=function(t,e,r){return e instanceof C?e:new C(t,{pub:e,pubEnc:r})},C.fromPrivate=function(t,e,r){return e instanceof C?e:new C(t,{priv:e,privEnc:r})},C.prototype.validate=function(){var t=this.getPublic();return t.isInfinity()?{result:!1,reason:"Invalid public key"}:t.validate()?t.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"}},C.prototype.getPublic=function(t,e){return"string"==typeof t&&(e=t,t=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),e?this.pub.encode(e,t):this.pub},C.prototype.getPrivate=function(t){return"hex"===t?this.priv.toString(16,2):this.priv},C.prototype._importPrivate=function(t,e){this.priv=new o.default(t,e||16),this.priv=this.priv.umod(this.ec.curve.n)},C.prototype._importPublic=function(t,e){if(t.x||t.y)return"mont"===this.ec.curve.type?T(t.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||T(t.x&&t.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(t.x,t.y));this.pub=this.ec.curve.decodePoint(t,e)},C.prototype.derive=function(t){return t.validate()||T(t.validate(),"public point not validated"),t.mul(this.priv).getX()},C.prototype.sign=function(t,e,r){return this.ec.sign(t,this,e,r)},C.prototype.verify=function(t,e){return this.ec.verify(t,e,this)},C.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"};var P=h.assert;function O(t,e){if(t instanceof O)return t;this._importDER(t,e)||(P(t.r&&t.s,"Signature without r or s"),this.r=new o.default(t.r,16),this.s=new o.default(t.s,16),void 0===t.recoveryParam?this.recoveryParam=null:this.recoveryParam=t.recoveryParam)}var I=O;function D(){this.place=0}function B(t,e){var r=t[e.place++];if(!(128&r))return r;var n=15&r;if(0===n||n>4)return!1;for(var i=0,o=0,a=e.place;o<n;o++,a++)i<<=8,i|=t[a],i>>>=0;return!(i<=127)&&(e.place=a,i)}function j(t){for(var e=0,r=t.length-1;!t[e]&&!(128&t[e+1])&&e<r;)e++;return 0===e?t:t.slice(e)}function N(t,e){if(e<128)t.push(e);else{var r=1+(Math.log(e)/Math.LN2>>>3);for(t.push(128|r);--r;)t.push(e>>>(r<<3)&255);t.push(e)}}O.prototype._importDER=function(t,e){t=h.toArray(t,e);var r=new D;if(48!==t[r.place++])return!1;var n=B(t,r);if(!1===n)return!1;if(n+r.place!==t.length)return!1;if(2!==t[r.place++])return!1;var i=B(t,r);if(!1===i)return!1;var a=t.slice(r.place,i+r.place);if(r.place+=i,2!==t[r.place++])return!1;var s=B(t,r);if(!1===s)return!1;if(t.length!==s+r.place)return!1;var u=t.slice(r.place,s+r.place);if(0===a[0]){if(!(128&a[1]))return!1;a=a.slice(1)}if(0===u[0]){if(!(128&u[1]))return!1;u=u.slice(1)}return this.r=new o.default(a),this.s=new o.default(u),this.recoveryParam=null,!0},O.prototype.toDER=function(t){var e=this.r.toArray(),r=this.s.toArray();for(128&e[0]&&(e=[0].concat(e)),128&r[0]&&(r=[0].concat(r)),e=j(e),r=j(r);!(r[0]||128&r[1]);)r=r.slice(1);var n=[2];N(n,e.length),(n=n.concat(e)).push(2),N(n,r.length);var i=n.concat(r),o=[48];return N(o,i.length),o=o.concat(i),h.encode(o,t)};var R=function(){throw new Error("unsupported")},F=h.assert;function Y(t){if(!(this instanceof Y))return new Y(t);"string"==typeof t&&(F(Object.prototype.hasOwnProperty.call(E,t),"Unknown curve "+t),t=E[t]),t instanceof E.PresetCurve&&(t={curve:t}),this.curve=t.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=t.curve.g,this.g.precompute(t.curve.n.bitLength()+1),this.hash=t.hash||t.curve.hash}var U=Y;Y.prototype.keyPair=function(t){return new L(this,t)},Y.prototype.keyFromPrivate=function(t,e){return L.fromPrivate(this,t,e)},Y.prototype.keyFromPublic=function(t,e){return L.fromPublic(this,t,e)},Y.prototype.genKeyPair=function(t){t||(t={});for(var e=new A({hash:this.hash,pers:t.pers,persEnc:t.persEnc||"utf8",entropy:t.entropy||R(this.hash.hmacStrength),entropyEnc:t.entropy&&t.entropyEnc||"utf8",nonce:this.n.toArray()}),r=this.n.byteLength(),n=this.n.sub(new o.default(2));;){var i=new o.default(e.generate(r));if(!(i.cmp(n)>0))return i.iaddn(1),this.keyFromPrivate(i)}},Y.prototype._truncateToN=function(t,e){var r=8*t.byteLength()-this.n.bitLength();return r>0&&(t=t.ushrn(r)),!e&&t.cmp(this.n)>=0?t.sub(this.n):t},Y.prototype.sign=function(t,e,r,n){"object"===(0,i.default)(r)&&(n=r,r=null),n||(n={}),e=this.keyFromPrivate(e,r),t=this._truncateToN(new o.default(t,16));for(var a=this.n.byteLength(),s=e.getPrivate().toArray("be",a),u=t.toArray("be",a),c=new A({hash:this.hash,entropy:s,nonce:u,pers:n.pers,persEnc:n.persEnc||"utf8"}),l=this.n.sub(new o.default(1)),h=0;;h++){var f=n.k?n.k(h):new o.default(c.generate(this.n.byteLength()));if(!((f=this._truncateToN(f,!0)).cmpn(1)<=0||f.cmp(l)>=0)){var d=this.g.mul(f);if(!d.isInfinity()){var p=d.getX(),m=p.umod(this.n);if(0!==m.cmpn(0)){var g=f.invm(this.n).mul(m.mul(e.getPrivate()).iadd(t));if(0!==(g=g.umod(this.n)).cmpn(0)){var y=(d.getY().isOdd()?1:0)|(0!==p.cmp(m)?2:0);return n.canonical&&g.cmp(this.nh)>0&&(g=this.n.sub(g),y^=1),new I({r:m,s:g,recoveryParam:y})}}}}}},Y.prototype.verify=function(t,e,r,n){t=this._truncateToN(new o.default(t,16)),r=this.keyFromPublic(r,n);var i=(e=new I(e,"hex")).r,a=e.s;if(i.cmpn(1)<0||i.cmp(this.n)>=0)return!1;if(a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;var s,u=a.invm(this.n),c=u.mul(t).umod(this.n),l=u.mul(i).umod(this.n);return this.curve._maxwellTrick?!(s=this.g.jmulAdd(c,r.getPublic(),l)).isInfinity()&&s.eqXToP(i):!(s=this.g.mulAdd(c,r.getPublic(),l)).isInfinity()&&0===s.getX().umod(this.n).cmp(i)},Y.prototype.recoverPubKey=function(t,e,r,n){F((3&r)===r,"The recovery param is more than two bits"),e=new I(e,n);var i=this.n,a=new o.default(t),s=e.r,u=e.s,c=1&r,l=r>>1;if(s.cmp(this.curve.p.umod(this.curve.n))>=0&&l)throw new Error("Unable to find sencond key candinate");s=l?this.curve.pointFromX(s.add(this.curve.n),c):this.curve.pointFromX(s,c);var h=e.r.invm(i),f=i.sub(a).mul(h).umod(i),d=u.mul(h).umod(i);return this.g.mulAdd(f,s,d)},Y.prototype.getKeyRecoveryParam=function(t,e,r,n){if(null!==(e=new I(e,n)).recoveryParam)return e.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(t,e,i)}catch(t){continue}if(o.eq(r))return i}throw new Error("Unable to find valid recovery factor")};var H=s((function(t,e){var r=e;r.version="6.5.4",r.utils=h,r.rand=function(){throw new Error("unsupported")},r.curve=S,r.curves=E,r.ec=U,r.eddsa=null})),z=H.ec;e.EC=z},17612:(t,e,r)=>{"use strict";var n=r(28847);Object.defineProperty(e,"__esModule",{value:!0}),e.SigningKey=void 0,e.computePublicKey=m,e.recoverPublicKey=function(t,e){var r=(0,s.splitSignature)(e),n={r:(0,s.arrayify)(r.r),s:(0,s.arrayify)(r.s)};return"0x"+d().recoverPubKey((0,s.arrayify)(t),n,r.recoveryParam).encode("hex",!1)};var i=n(r(69721)),o=n(r(58985)),a=r(36918),s=r(908),u=r(23694),c=r(64327),l=r(48100),h=new c.Logger(l.version),f=null;function d(){return f||(f=new a.EC("secp256k1")),f}var p=function(){function t(e){(0,i.default)(this,t),(0,u.defineReadOnly)(this,"curve","secp256k1"),(0,u.defineReadOnly)(this,"privateKey",(0,s.hexlify)(e)),32!==(0,s.hexDataLength)(this.privateKey)&&h.throwArgumentError("invalid private key","privateKey","[[ REDACTED ]]");var r=d().keyFromPrivate((0,s.arrayify)(this.privateKey));(0,u.defineReadOnly)(this,"publicKey","0x"+r.getPublic(!1,"hex")),(0,u.defineReadOnly)(this,"compressedPublicKey","0x"+r.getPublic(!0,"hex")),(0,u.defineReadOnly)(this,"_isSigningKey",!0)}return(0,o.default)(t,[{key:"_addPoint",value:function(t){var e=d().keyFromPublic((0,s.arrayify)(this.publicKey)),r=d().keyFromPublic((0,s.arrayify)(t));return"0x"+e.pub.add(r.pub).encodeCompressed("hex")}},{key:"signDigest",value:function(t){var e=d().keyFromPrivate((0,s.arrayify)(this.privateKey)),r=(0,s.arrayify)(t);32!==r.length&&h.throwArgumentError("bad digest length","digest",t);var n=e.sign(r,{canonical:!0});return(0,s.splitSignature)({recoveryParam:n.recoveryParam,r:(0,s.hexZeroPad)("0x"+n.r.toString(16),32),s:(0,s.hexZeroPad)("0x"+n.s.toString(16),32)})}},{key:"computeSharedSecret",value:function(t){var e=d().keyFromPrivate((0,s.arrayify)(this.privateKey)),r=d().keyFromPublic((0,s.arrayify)(m(t)));return(0,s.hexZeroPad)("0x"+e.derive(r.getPublic()).toString(16),32)}}],[{key:"isSigningKey",value:function(t){return!(!t||!t._isSigningKey)}}]),t}();function m(t,e){var r=(0,s.arrayify)(t);if(32===r.length){var n=new p(r);return e?"0x"+d().keyFromPrivate(r).getPublic(!0,"hex"):n.publicKey}return 33===r.length?e?(0,s.hexlify)(r):"0x"+d().keyFromPublic(r).getPublic(!1,"hex"):65===r.length?e?"0x"+d().keyFromPublic(r).getPublic(!0,"hex"):(0,s.hexlify)(r):h.throwArgumentError("invalid public or private key","key","[REDACTED]")}e.SigningKey=p},56518:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.version=void 0,e.version="strings/5.7.0"},95856:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.formatBytes32String=function(t){var e=(0,o.toUtf8Bytes)(t);if(e.length>31)throw new Error("bytes32 string must be less than 32 bytes");return(0,i.hexlify)((0,i.concat)([e,n.HashZero]).slice(0,32))},e.parseBytes32String=function(t){var e=(0,i.arrayify)(t);if(32!==e.length)throw new Error("invalid bytes32 - not 32 bytes long");if(0!==e[31])throw new Error("invalid bytes32 string - no null terminator");for(var r=31;0===e[r-1];)r--;return(0,o.toUtf8String)(e.slice(0,r))};var n=r(5465),i=r(908),o=r(34997)},68645:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e._nameprepTableA1=p,e._nameprepTableB2=m,e._nameprepTableC=g,e.nameprep=function(t){if(t.match(/^[a-z0-9-]*$/i)&&t.length<=59)return t.toLowerCase();var e,r=(0,n.toUtf8CodePoints)(t);e=r.map((function(t){return u.indexOf(t)>=0||t>=65024&&t<=65039?[]:m(t)||[t]})),r=e.reduce((function(t,e){return e.forEach((function(e){t.push(e)})),t}),[]),(r=(0,n.toUtf8CodePoints)((0,n._toUtf8String)(r),n.UnicodeNormalizationForm.NFKC)).forEach((function(t){if(g(t))throw new Error("STRINGPREP_CONTAINS_PROHIBITED")})),r.forEach((function(t){if(p(t))throw new Error("STRINGPREP_CONTAINS_UNASSIGNED")}));var i=(0,n._toUtf8String)(r);if("-"===i.substring(0,1)||"--"===i.substring(2,4)||"-"===i.substring(i.length-1))throw new Error("invalid hyphen");return i};var n=r(34997);function i(t,e){e||(e=function(t){return[parseInt(t,16)]});var r=0,n={};return t.split(",").forEach((function(t){var i=t.split(":");r+=parseInt(i[0],16),n[r]=e(i[1])})),n}function o(t){var e=0;return t.split(",").map((function(t){var r=t.split("-");return 1===r.length?r[1]="0":""===r[1]&&(r[1]="1"),{l:e+parseInt(r[0],16),h:e=parseInt(r[1],16)}}))}function a(t,e){for(var r=0,n=0;n<e.length;n++){var i=e[n];if(t>=(r+=i.l)&&t<=r+i.h&&(t-r)%(i.d||1)==0){if(i.e&&-1!==i.e.indexOf(t-r))continue;return i}}return null}var s=o("221,13-1b,5f-,40-10,51-f,11-3,3-3,2-2,2-4,8,2,15,2d,28-8,88,48,27-,3-5,11-20,27-,8,28,3-5,12,18,b-a,1c-4,6-16,2-d,2-2,2,1b-4,17-9,8f-,10,f,1f-2,1c-34,33-14e,4,36-,13-,6-2,1a-f,4,9-,3-,17,8,2-2,5-,2,8-,3-,4-8,2-3,3,6-,16-6,2-,7-3,3-,17,8,3,3,3-,2,6-3,3-,4-a,5,2-6,10-b,4,8,2,4,17,8,3,6-,b,4,4-,2-e,2-4,b-10,4,9-,3-,17,8,3-,5-,9-2,3-,4-7,3-3,3,4-3,c-10,3,7-2,4,5-2,3,2,3-2,3-2,4-2,9,4-3,6-2,4,5-8,2-e,d-d,4,9,4,18,b,6-3,8,4,5-6,3-8,3-3,b-11,3,9,4,18,b,6-3,8,4,5-6,3-6,2,3-3,b-11,3,9,4,18,11-3,7-,4,5-8,2-7,3-3,b-11,3,13-2,19,a,2-,8-2,2-3,7,2,9-11,4-b,3b-3,1e-24,3,2-,3,2-,2-5,5,8,4,2,2-,3,e,4-,6,2,7-,b-,3-21,49,23-5,1c-3,9,25,10-,2-2f,23,6,3,8-2,5-5,1b-45,27-9,2a-,2-3,5b-4,45-4,53-5,8,40,2,5-,8,2,5-,28,2,5-,20,2,5-,8,2,5-,8,8,18,20,2,5-,8,28,14-5,1d-22,56-b,277-8,1e-2,52-e,e,8-a,18-8,15-b,e,4,3-b,5e-2,b-15,10,b-5,59-7,2b-555,9d-3,5b-5,17-,7-,27-,7-,9,2,2,2,20-,36,10,f-,7,14-,4,a,54-3,2-6,6-5,9-,1c-10,13-1d,1c-14,3c-,10-6,32-b,240-30,28-18,c-14,a0,115-,3,66-,b-76,5,5-,1d,24,2,5-2,2,8-,35-2,19,f-10,1d-3,311-37f,1b,5a-b,d7-19,d-3,41,57-,68-4,29-3,5f,29-37,2e-2,25-c,2c-2,4e-3,30,78-3,64-,20,19b7-49,51a7-59,48e-2,38-738,2ba5-5b,222f-,3c-94,8-b,6-4,1b,6,2,3,3,6d-20,16e-f,41-,37-7,2e-2,11-f,5-b,18-,b,14,5-3,6,88-,2,bf-2,7-,7-,7-,4-2,8,8-9,8-2ff,20,5-b,1c-b4,27-,27-cbb1,f7-9,28-2,b5-221,56,48,3-,2-,3-,5,d,2,5,3,42,5-,9,8,1d,5,6,2-2,8,153-3,123-3,33-27fd,a6da-5128,21f-5df,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3,2-1d,61-ff7d"),u="ad,34f,1806,180b,180c,180d,200b,200c,200d,2060,feff".split(",").map((function(t){return parseInt(t,16)})),c=[{h:25,s:32,l:65},{h:30,s:32,e:[23],l:127},{h:54,s:1,e:[48],l:64,d:2},{h:14,s:1,l:57,d:2},{h:44,s:1,l:17,d:2},{h:10,s:1,e:[2,6,8],l:61,d:2},{h:16,s:1,l:68,d:2},{h:84,s:1,e:[18,24,66],l:19,d:2},{h:26,s:32,e:[17],l:435},{h:22,s:1,l:71,d:2},{h:15,s:80,l:40},{h:31,s:32,l:16},{h:32,s:1,l:80,d:2},{h:52,s:1,l:42,d:2},{h:12,s:1,l:55,d:2},{h:40,s:1,e:[38],l:15,d:2},{h:14,s:1,l:48,d:2},{h:37,s:48,l:49},{h:148,s:1,l:6351,d:2},{h:88,s:1,l:160,d:2},{h:15,s:16,l:704},{h:25,s:26,l:854},{h:25,s:32,l:55915},{h:37,s:40,l:1247},{h:25,s:-119711,l:53248},{h:25,s:-119763,l:52},{h:25,s:-119815,l:52},{h:25,s:-119867,e:[1,4,5,7,8,11,12,17],l:52},{h:25,s:-119919,l:52},{h:24,s:-119971,e:[2,7,8,17],l:52},{h:24,s:-120023,e:[2,7,13,15,16,17],l:52},{h:25,s:-120075,l:52},{h:25,s:-120127,l:52},{h:25,s:-120179,l:52},{h:25,s:-120231,l:52},{h:25,s:-120283,l:52},{h:25,s:-120335,l:52},{h:24,s:-119543,e:[17],l:56},{h:24,s:-119601,e:[17],l:58},{h:24,s:-119659,e:[17],l:58},{h:24,s:-119717,e:[17],l:58},{h:24,s:-119775,e:[17],l:58}],l=i("b5:3bc,c3:ff,7:73,2:253,5:254,3:256,1:257,5:259,1:25b,3:260,1:263,2:269,1:268,5:26f,1:272,2:275,7:280,3:283,5:288,3:28a,1:28b,5:292,3f:195,1:1bf,29:19e,125:3b9,8b:3b2,1:3b8,1:3c5,3:3c6,1:3c0,1a:3ba,1:3c1,1:3c3,2:3b8,1:3b5,1bc9:3b9,1c:1f76,1:1f77,f:1f7a,1:1f7b,d:1f78,1:1f79,1:1f7c,1:1f7d,107:63,5:25b,4:68,1:68,1:68,3:69,1:69,1:6c,3:6e,4:70,1:71,1:72,1:72,1:72,7:7a,2:3c9,2:7a,2:6b,1:e5,1:62,1:63,3:65,1:66,2:6d,b:3b3,1:3c0,6:64,1b574:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3"),h=i("179:1,2:1,2:1,5:1,2:1,a:4f,a:1,8:1,2:1,2:1,3:1,5:1,3:1,4:1,2:1,3:1,4:1,8:2,1:1,2:2,1:1,2:2,27:2,195:26,2:25,1:25,1:25,2:40,2:3f,1:3f,33:1,11:-6,1:-9,1ac7:-3a,6d:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,b:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,c:-8,2:-8,2:-8,2:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,49:-8,1:-8,1:-4a,1:-4a,d:-56,1:-56,1:-56,1:-56,d:-8,1:-8,f:-8,1:-8,3:-7"),f=i("df:00730073,51:00690307,19:02BC006E,a7:006A030C,18a:002003B9,16:03B903080301,20:03C503080301,1d7:05650582,190f:00680331,1:00740308,1:0077030A,1:0079030A,1:006102BE,b6:03C50313,2:03C503130300,2:03C503130301,2:03C503130342,2a:1F0003B9,1:1F0103B9,1:1F0203B9,1:1F0303B9,1:1F0403B9,1:1F0503B9,1:1F0603B9,1:1F0703B9,1:1F0003B9,1:1F0103B9,1:1F0203B9,1:1F0303B9,1:1F0403B9,1:1F0503B9,1:1F0603B9,1:1F0703B9,1:1F2003B9,1:1F2103B9,1:1F2203B9,1:1F2303B9,1:1F2403B9,1:1F2503B9,1:1F2603B9,1:1F2703B9,1:1F2003B9,1:1F2103B9,1:1F2203B9,1:1F2303B9,1:1F2403B9,1:1F2503B9,1:1F2603B9,1:1F2703B9,1:1F6003B9,1:1F6103B9,1:1F6203B9,1:1F6303B9,1:1F6403B9,1:1F6503B9,1:1F6603B9,1:1F6703B9,1:1F6003B9,1:1F6103B9,1:1F6203B9,1:1F6303B9,1:1F6403B9,1:1F6503B9,1:1F6603B9,1:1F6703B9,3:1F7003B9,1:03B103B9,1:03AC03B9,2:03B10342,1:03B1034203B9,5:03B103B9,6:1F7403B9,1:03B703B9,1:03AE03B9,2:03B70342,1:03B7034203B9,5:03B703B9,6:03B903080300,1:03B903080301,3:03B90342,1:03B903080342,b:03C503080300,1:03C503080301,1:03C10313,2:03C50342,1:03C503080342,b:1F7C03B9,1:03C903B9,1:03CE03B9,2:03C90342,1:03C9034203B9,5:03C903B9,ac:00720073,5b:00B00063,6:00B00066,d:006E006F,a:0073006D,1:00740065006C,1:0074006D,124f:006800700061,2:00610075,2:006F0076,b:00700061,1:006E0061,1:03BC0061,1:006D0061,1:006B0061,1:006B0062,1:006D0062,1:00670062,3:00700066,1:006E0066,1:03BC0066,4:0068007A,1:006B0068007A,1:006D0068007A,1:00670068007A,1:00740068007A,15:00700061,1:006B00700061,1:006D00700061,1:006700700061,8:00700076,1:006E0076,1:03BC0076,1:006D0076,1:006B0076,1:006D0076,1:00700077,1:006E0077,1:03BC0077,1:006D0077,1:006B0077,1:006D0077,1:006B03C9,1:006D03C9,2:00620071,3:00632215006B0067,1:0063006F002E,1:00640062,1:00670079,2:00680070,2:006B006B,1:006B006D,9:00700068,2:00700070006D,1:00700072,2:00730076,1:00770062,c723:00660066,1:00660069,1:0066006C,1:006600660069,1:00660066006C,1:00730074,1:00730074,d:05740576,1:05740565,1:0574056B,1:057E0576,1:0574056D",(function(t){if(t.length%4!=0)throw new Error("bad data");for(var e=[],r=0;r<t.length;r+=4)e.push(parseInt(t.substring(r,r+4),16));return e})),d=o("80-20,2a0-,39c,32,f71,18e,7f2-f,19-7,30-4,7-5,f81-b,5,a800-20ff,4d1-1f,110,fa-6,d174-7,2e84-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,ffff-,2,1f-5f,ff7f-20001");function p(t){return!!a(t,s)}function m(t){var e=a(t,c);if(e)return[t+e.s];var r=l[t];if(r)return r;var n=h[t];return n?[t+n[0]]:f[t]||null}function g(t){return!!a(t,d)}},78627:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"UnicodeNormalizationForm",{enumerable:!0,get:function(){return o.UnicodeNormalizationForm}}),Object.defineProperty(e,"Utf8ErrorFuncs",{enumerable:!0,get:function(){return o.Utf8ErrorFuncs}}),Object.defineProperty(e,"Utf8ErrorReason",{enumerable:!0,get:function(){return o.Utf8ErrorReason}}),Object.defineProperty(e,"_toEscapedUtf8String",{enumerable:!0,get:function(){return o._toEscapedUtf8String}}),Object.defineProperty(e,"formatBytes32String",{enumerable:!0,get:function(){return n.formatBytes32String}}),Object.defineProperty(e,"nameprep",{enumerable:!0,get:function(){return i.nameprep}}),Object.defineProperty(e,"parseBytes32String",{enumerable:!0,get:function(){return n.parseBytes32String}}),Object.defineProperty(e,"toUtf8Bytes",{enumerable:!0,get:function(){return o.toUtf8Bytes}}),Object.defineProperty(e,"toUtf8CodePoints",{enumerable:!0,get:function(){return o.toUtf8CodePoints}}),Object.defineProperty(e,"toUtf8String",{enumerable:!0,get:function(){return o.toUtf8String}});var n=r(95856),i=r(68645),o=r(34997)},34997:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Utf8ErrorReason=e.Utf8ErrorFuncs=e.UnicodeNormalizationForm=void 0,e._toEscapedUtf8String=function(t,e){return'"'+h(t,e).map((function(t){if(t<256){switch(t){case 8:return"\\b";case 9:return"\\t";case 10:return"\\n";case 13:return"\\r";case 34:return'\\"';case 92:return"\\\\"}if(t>=32&&t<127)return String.fromCharCode(t)}return t<=65535?d(t):d(55296+((t-=65536)>>10&1023))+d(56320+(1023&t))})).join("")+'"'},e._toUtf8String=p,e.toUtf8Bytes=f,e.toUtf8CodePoints=function(t){return h(f(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.current))},e.toUtf8String=function(t,e){return p(h(t,e))};var n,i,o=r(908),a=r(64327),s=r(56518),u=new a.Logger(s.version);function c(t,e,r,n,o){if(t===i.BAD_PREFIX||t===i.UNEXPECTED_CONTINUE){for(var a=0,s=e+1;s<r.length&&r[s]>>6==2;s++)a++;return a}return t===i.OVERRUN?r.length-e-1:0}e.UnicodeNormalizationForm=n,function(t){t.current="",t.NFC="NFC",t.NFD="NFD",t.NFKC="NFKC",t.NFKD="NFKD"}(n||(e.UnicodeNormalizationForm=n={})),e.Utf8ErrorReason=i,function(t){t.UNEXPECTED_CONTINUE="unexpected continuation byte",t.BAD_PREFIX="bad codepoint prefix",t.OVERRUN="string overrun",t.MISSING_CONTINUE="missing continuation byte",t.OUT_OF_RANGE="out of UTF-8 range",t.UTF16_SURROGATE="UTF-16 surrogate",t.OVERLONG="overlong representation"}(i||(e.Utf8ErrorReason=i={}));var l=Object.freeze({error:function(t,e,r,n,i){return u.throwArgumentError("invalid codepoint at offset ".concat(e,"; ").concat(t),"bytes",r)},ignore:c,replace:function(t,e,r,n,o){return t===i.OVERLONG?(n.push(o),0):(n.push(65533),c(t,e,r))}});function h(t,e){null==e&&(e=l.error),t=(0,o.arrayify)(t);for(var r=[],n=0;n<t.length;){var a=t[n++];if(a>>7!=0){var s=null,u=null;if(192==(224&a))s=1,u=127;else if(224==(240&a))s=2,u=2047;else{if(240!=(248&a)){n+=e(128==(192&a)?i.UNEXPECTED_CONTINUE:i.BAD_PREFIX,n-1,t,r);continue}s=3,u=65535}if(n-1+s>=t.length)n+=e(i.OVERRUN,n-1,t,r);else{for(var c=a&(1<<8-s-1)-1,h=0;h<s;h++){var f=t[n];if(128!=(192&f)){n+=e(i.MISSING_CONTINUE,n,t,r),c=null;break}c=c<<6|63&f,n++}null!==c&&(c>1114111?n+=e(i.OUT_OF_RANGE,n-1-s,t,r,c):c>=55296&&c<=57343?n+=e(i.UTF16_SURROGATE,n-1-s,t,r,c):c<=u?n+=e(i.OVERLONG,n-1-s,t,r,c):r.push(c))}}else r.push(a)}return r}function f(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.current;e!=n.current&&(u.checkNormalize(),t=t.normalize(e));for(var r=[],i=0;i<t.length;i++){var a=t.charCodeAt(i);if(a<128)r.push(a);else if(a<2048)r.push(a>>6|192),r.push(63&a|128);else if(55296==(64512&a)){i++;var s=t.charCodeAt(i);if(i>=t.length||56320!=(64512&s))throw new Error("invalid utf-8 string");var c=65536+((1023&a)<<10)+(1023&s);r.push(c>>18|240),r.push(c>>12&63|128),r.push(c>>6&63|128),r.push(63&c|128)}else r.push(a>>12|224),r.push(a>>6&63|128),r.push(63&a|128)}return(0,o.arrayify)(r)}function d(t){var e="0000"+t.toString(16);return"\\u"+e.substring(e.length-4)}function p(t){return t.map((function(t){return t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode(55296+(t>>10&1023),56320+(1023&t)))})).join("")}e.Utf8ErrorFuncs=l},96783:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.version=void 0,e.version="transactions/5.7.0"},21936:(t,e,r)=>{"use strict";var n=r(3355);Object.defineProperty(e,"__esModule",{value:!0}),e.TransactionTypes=void 0,e.accessListify=E,e.computeAddress=w,e.parse=function(t){var e=(0,a.arrayify)(t);if(e[0]>127)return function(t){var e=l.decode(t);9!==e.length&&6!==e.length&&g.throwArgumentError("invalid raw transaction","rawTransaction",t);var r={nonce:v(e[0]).toNumber(),gasPrice:v(e[1]),gasLimit:v(e[2]),to:y(e[3]),value:v(e[4]),data:e[5],chainId:0};if(6===e.length)return r;try{r.v=o.BigNumber.from(e[6]).toNumber()}catch(t){return r}if(r.r=(0,a.hexZeroPad)(e[7],32),r.s=(0,a.hexZeroPad)(e[8],32),o.BigNumber.from(r.r).isZero()&&o.BigNumber.from(r.s).isZero())r.chainId=r.v,r.v=0;else{r.chainId=Math.floor((r.v-35)/2),r.chainId<0&&(r.chainId=0);var n=r.v-27,i=e.slice(0,6);0!==r.chainId&&(i.push((0,a.hexlify)(r.chainId)),i.push("0x"),i.push("0x"),n-=2*r.chainId+8);var s=(0,u.keccak256)(l.encode(i));try{r.from=x(s,{r:(0,a.hexlify)(r.r),s:(0,a.hexlify)(r.s),recoveryParam:n})}catch(t){}r.hash=(0,u.keccak256)(t)}return r.type=null,r}(e);switch(e[0]){case 1:return function(t){var e=l.decode(t.slice(1));8!==e.length&&11!==e.length&&g.throwArgumentError("invalid component count for transaction type: 1","payload",(0,a.hexlify)(t));var r={type:1,chainId:v(e[0]).toNumber(),nonce:v(e[1]).toNumber(),gasPrice:v(e[2]),gasLimit:v(e[3]),to:y(e[4]),value:v(e[5]),data:e[6],accessList:E(e[7])};return 8===e.length||(r.hash=(0,u.keccak256)(t),C(r,e.slice(8),T)),r}(e);case 2:return function(t){var e=l.decode(t.slice(1));9!==e.length&&12!==e.length&&g.throwArgumentError("invalid component count for transaction type: 2","payload",(0,a.hexlify)(t));var r=v(e[2]),n=v(e[3]),i={type:2,chainId:v(e[0]).toNumber(),nonce:v(e[1]).toNumber(),maxPriorityFeePerGas:r,maxFeePerGas:n,gasPrice:null,gasLimit:v(e[4]),to:y(e[5]),value:v(e[6]),data:e[7],accessList:E(e[8])};return 9===e.length||(i.hash=(0,u.keccak256)(t),C(i,e.slice(9),A)),i}(e)}return g.throwError("unsupported transaction type: ".concat(e[0]),f.Logger.errors.UNSUPPORTED_OPERATION,{operation:"parseTransaction",transactionType:e[0]})},e.recoverAddress=x,e.serialize=function(t,e){if(null==t.type||0===t.type)return null!=t.accessList&&g.throwArgumentError("untyped transactions do not support accessList; include type: 1","transaction",t),function(t,e){(0,c.checkProperties)(t,_);var r=[];b.forEach((function(e){var n=t[e.name]||[],i={};e.numeric&&(i.hexPad="left"),n=(0,a.arrayify)((0,a.hexlify)(n,i)),e.length&&n.length!==e.length&&n.length>0&&g.throwArgumentError("invalid length for "+e.name,"transaction:"+e.name,n),e.maxLength&&(n=(0,a.stripZeros)(n)).length>e.maxLength&&g.throwArgumentError("invalid length for "+e.name,"transaction:"+e.name,n),r.push((0,a.hexlify)(n))}));var n=0;if(null!=t.chainId?"number"!=typeof(n=t.chainId)&&g.throwArgumentError("invalid transaction.chainId","transaction",t):e&&!(0,a.isBytesLike)(e)&&e.v>28&&(n=Math.floor((e.v-35)/2)),0!==n&&(r.push((0,a.hexlify)(n)),r.push("0x"),r.push("0x")),!e)return l.encode(r);var i=(0,a.splitSignature)(e),o=27+i.recoveryParam;return 0!==n?(r.pop(),r.pop(),r.pop(),o+=2*n+8,i.v>28&&i.v!==o&&g.throwArgumentError("transaction.chainId/signature.v mismatch","signature",e)):i.v!==o&&g.throwArgumentError("transaction.chainId/signature.v mismatch","signature",e),r.push((0,a.hexlify)(o)),r.push((0,a.stripZeros)((0,a.arrayify)(i.r))),r.push((0,a.stripZeros)((0,a.arrayify)(i.s))),l.encode(r)}(t,e);switch(t.type){case 1:return T(t,e);case 2:return A(t,e)}return g.throwError("unsupported transaction type: ".concat(t.type),f.Logger.errors.UNSUPPORTED_OPERATION,{operation:"serializeTransaction",transactionType:t.type})};var i=r(77921),o=r(34952),a=r(908),s=r(5465),u=r(64642),c=r(23694),l=function(t,e){if(t&&t.__esModule)return t;if(null===t||"object"!==n(t)&&"function"!=typeof t)return{default:t};var r=p(e);if(r&&r.has(t))return r.get(t);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var s=o?Object.getOwnPropertyDescriptor(t,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=t[a]}return i.default=t,r&&r.set(t,i),i}(r(55265)),h=r(17612),f=r(64327),d=r(96783);function p(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,r=new WeakMap;return(p=function(t){return t?r:e})(t)}var m,g=new f.Logger(d.version);function y(t){return"0x"===t?null:(0,i.getAddress)(t)}function v(t){return"0x"===t?s.Zero:o.BigNumber.from(t)}e.TransactionTypes=m,function(t){t[t.legacy=0]="legacy",t[t.eip2930=1]="eip2930",t[t.eip1559=2]="eip1559"}(m||(e.TransactionTypes=m={}));var b=[{name:"nonce",maxLength:32,numeric:!0},{name:"gasPrice",maxLength:32,numeric:!0},{name:"gasLimit",maxLength:32,numeric:!0},{name:"to",length:20},{name:"value",maxLength:32,numeric:!0},{name:"data"}],_={chainId:!0,data:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,type:!0,value:!0};function w(t){var e=(0,h.computePublicKey)(t);return(0,i.getAddress)((0,a.hexDataSlice)((0,u.keccak256)((0,a.hexDataSlice)(e,1)),12))}function x(t,e){return w((0,h.recoverPublicKey)((0,a.arrayify)(t),e))}function k(t,e){var r=(0,a.stripZeros)(o.BigNumber.from(t).toHexString());return r.length>32&&g.throwArgumentError("invalid length for "+e,"transaction:"+e,t),r}function S(t,e){return{address:(0,i.getAddress)(t),storageKeys:(e||[]).map((function(e,r){return 32!==(0,a.hexDataLength)(e)&&g.throwArgumentError("invalid access list storageKey","accessList[".concat(t,":").concat(r,"]"),e),e.toLowerCase()}))}}function E(t){if(Array.isArray(t))return t.map((function(t,e){return Array.isArray(t)?(t.length>2&&g.throwArgumentError("access list expected to be [ address, storageKeys[] ]","value[".concat(e,"]"),t),S(t[0],t[1])):S(t.address,t.storageKeys)}));var e=Object.keys(t).map((function(e){var r=t[e].reduce((function(t,e){return t[e]=!0,t}),{});return S(e,Object.keys(r).sort())}));return e.sort((function(t,e){return t.address.localeCompare(e.address)})),e}function M(t){return E(t).map((function(t){return[t.address,t.storageKeys]}))}function A(t,e){if(null!=t.gasPrice){var r=o.BigNumber.from(t.gasPrice),n=o.BigNumber.from(t.maxFeePerGas||0);r.eq(n)||g.throwArgumentError("mismatch EIP-1559 gasPrice != maxFeePerGas","tx",{gasPrice:r,maxFeePerGas:n})}var s=[k(t.chainId||0,"chainId"),k(t.nonce||0,"nonce"),k(t.maxPriorityFeePerGas||0,"maxPriorityFeePerGas"),k(t.maxFeePerGas||0,"maxFeePerGas"),k(t.gasLimit||0,"gasLimit"),null!=t.to?(0,i.getAddress)(t.to):"0x",k(t.value||0,"value"),t.data||"0x",M(t.accessList||[])];if(e){var u=(0,a.splitSignature)(e);s.push(k(u.recoveryParam,"recoveryParam")),s.push((0,a.stripZeros)(u.r)),s.push((0,a.stripZeros)(u.s))}return(0,a.hexConcat)(["0x02",l.encode(s)])}function T(t,e){var r=[k(t.chainId||0,"chainId"),k(t.nonce||0,"nonce"),k(t.gasPrice||0,"gasPrice"),k(t.gasLimit||0,"gasLimit"),null!=t.to?(0,i.getAddress)(t.to):"0x",k(t.value||0,"value"),t.data||"0x",M(t.accessList||[])];if(e){var n=(0,a.splitSignature)(e);r.push(k(n.recoveryParam,"recoveryParam")),r.push((0,a.stripZeros)(n.r)),r.push((0,a.stripZeros)(n.s))}return(0,a.hexConcat)(["0x01",l.encode(r)])}function C(t,e,r){try{var n=v(e[0]).toNumber();if(0!==n&&1!==n)throw new Error("bad recid");t.v=n}catch(t){g.throwArgumentError("invalid v for transaction type: 1","v",e[0])}t.r=(0,a.hexZeroPad)(e[1],32),t.s=(0,a.hexZeroPad)(e[2],32);try{var i=(0,u.keccak256)(r(t));t.from=x(i,{r:t.r,s:t.s,recoveryParam:t.v})}catch(t){}}},96546:(t,e,r)=>{"use strict";var n=r(28847)(r(90775));function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach((function(e){(0,n.default)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}Object.defineProperty(e,"__esModule",{value:!0}),e.createCurve=e.getHash=void 0;var a=r(45896),s=r(72434),u=r(16573);function c(t){return{hash:t,hmac:function(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return(0,a.hmac)(t,e,s.concatBytes.apply(void 0,n))},randomBytes:s.randomBytes}}e.getHash=c,e.createCurve=function(t,e){var r=function(e){return(0,u.weierstrass)(o(o({},t),c(e)))};return Object.freeze(o(o({},r(e)),{},{create:r}))}},91813:(t,e,r)=>{"use strict";var n=r(28847)(r(90775));function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach((function(e){(0,n.default)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}Object.defineProperty(e,"__esModule",{value:!0}),e.validateBasic=e.wNAF=void 0;var a=r(3970),s=r(46928),u=BigInt(0),c=BigInt(1);e.wNAF=function(t,e){var r=function(t,e){var r=e.negate();return t?r:e},n=function(t){return{windows:Math.ceil(e/t)+1,windowSize:Math.pow(2,t-1)}};return{constTimeNegate:r,unsafeLadder:function(e,r){for(var n=t.ZERO,i=e;r>u;)r&c&&(n=n.add(i)),i=i.double(),r>>=c;return n},precomputeWindow:function(t,e){for(var r=n(e),i=r.windows,o=r.windowSize,a=[],s=t,u=s,c=0;c<i;c++){u=s,a.push(u);for(var l=1;l<o;l++)u=u.add(s),a.push(u);s=u.double()}return a},wNAF:function(e,i,o){for(var a=n(e),s=a.windows,u=a.windowSize,l=t.ZERO,h=t.BASE,f=BigInt(Math.pow(2,e)-1),d=Math.pow(2,e),p=BigInt(e),m=0;m<s;m++){var g=m*u,y=Number(o&f);o>>=p,y>u&&(y-=d,o+=c);var v=g,b=g+Math.abs(y)-1,_=m%2!=0,w=y<0;0===y?h=h.add(r(_,i[v])):l=l.add(r(w,i[b]))}return{p:l,f:h}},wNAFCached:function(t,e,r,n){var i=t._WINDOW_SIZE||1,o=e.get(t);return o||(o=this.precomputeWindow(t,i),1!==i&&e.set(t,n(o))),this.wNAF(i,o,r)}}},e.validateBasic=function(t){return(0,a.validateField)(t.Fp),(0,s.validateObject)(t,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze(o(o(o({},(0,a.nLength)(t.n,t.nBitLength)),t),{p:t.Fp.ORDER}))}},19751:(t,e,r)=>{"use strict";var n=r(28847),i=n(r(90775)),o=n(r(74519));function a(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function s(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?a(Object(r),!0).forEach((function(e){(0,i.default)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}Object.defineProperty(e,"__esModule",{value:!0}),e.createHasher=e.isogenyMap=e.hash_to_field=e.expand_message_xof=e.expand_message_xmd=void 0;var u=r(3970),c=r(46928),l=c.bytesToNumberBE;function h(t,e){if(t<0||t>=1<<8*e)throw new Error("bad I2OSP call: value=".concat(t," length=").concat(e));for(var r=Array.from({length:e}).fill(0),n=e-1;n>=0;n--)r[n]=255&t,t>>>=8;return new Uint8Array(r)}function f(t,e){for(var r=new Uint8Array(t.length),n=0;n<t.length;n++)r[n]=t[n]^e[n];return r}function d(t){if(!(t instanceof Uint8Array))throw new Error("Uint8Array expected")}function p(t){if(!Number.isSafeInteger(t))throw new Error("number expected")}function m(t,e,r,n){d(t),d(e),p(r),e.length>255&&(e=n((0,c.concatBytes)((0,c.utf8ToBytes)("H2C-OVERSIZE-DST-"),e)));var i=n.outputLen,o=n.blockLen,a=Math.ceil(r/i);if(a>255)throw new Error("Invalid xmd length");var s=(0,c.concatBytes)(e,h(e.length,1)),u=h(0,o),l=h(r,2),m=new Array(a),g=n((0,c.concatBytes)(u,t,l,h(0,1),s));m[0]=n((0,c.concatBytes)(g,h(1,1),s));for(var y=1;y<=a;y++){var v=[f(g,m[y-1]),h(y+1,1),s];m[y]=n(c.concatBytes.apply(void 0,v))}return c.concatBytes.apply(void 0,m).slice(0,r)}function g(t,e,r,n,i){if(d(t),d(e),p(r),e.length>255){var o=Math.ceil(2*n/8);e=i.create({dkLen:o}).update((0,c.utf8ToBytes)("H2C-OVERSIZE-DST-")).update(e).digest()}if(r>65535||e.length>255)throw new Error("expand_message_xof: invalid lenInBytes");return i.create({dkLen:r}).update(t).update(h(r,2)).update(e).update(h(e.length,1)).digest()}function y(t,e,r){(0,c.validateObject)(r,{DST:"string",p:"bigint",m:"isSafeInteger",k:"isSafeInteger",hash:"hash"});var n=r.p,i=r.k,o=r.m,a=r.hash,s=r.expand,h=r.DST;d(t),p(e);var f,y=function(t){if(t instanceof Uint8Array)return t;if("string"==typeof t)return(0,c.utf8ToBytes)(t);throw new Error("DST must be Uint8Array or string")}(h),v=n.toString(2).length,b=Math.ceil((v+i)/8),_=e*o*b;if("xmd"===s)f=m(t,y,_,a);else if("xof"===s)f=g(t,y,_,i,a);else{if("_internal_pass"!==s)throw new Error('expand must be "xmd" or "xof"');f=t}for(var w=new Array(e),x=0;x<e;x++){for(var k=new Array(o),S=0;S<o;S++){var E=b*(S+x*o),M=f.subarray(E,E+b);k[S]=(0,u.mod)(l(M),n)}w[x]=k}return w}e.expand_message_xmd=m,e.expand_message_xof=g,e.hash_to_field=y,e.isogenyMap=function(t,e){var r=e.map((function(t){return Array.from(t).reverse()}));return function(e,n){var i=r.map((function(r){return r.reduce((function(r,n){return t.add(t.mul(r,e),n)}))})),a=(0,o.default)(i,4),s=a[0],u=a[1],c=a[2],l=a[3];return e=t.div(s,u),n=t.mul(n,t.div(c,l)),{x:e,y:n}}},e.createHasher=function(t,e,r){if("function"!=typeof e)throw new Error("mapToCurve() must be defined");return{hashToCurve:function(n,i){var o=y(n,2,s(s({},r),{},{DST:r.DST},i)),a=t.fromAffine(e(o[0])),u=t.fromAffine(e(o[1])),c=a.add(u).clearCofactor();return c.assertValidity(),c},encodeToCurve:function(n,i){var o=y(n,1,s(s({},r),{},{DST:r.encodeDST},i)),a=t.fromAffine(e(o[0])).clearCofactor();return a.assertValidity(),a}}}},3970:(t,e,r)=>{"use strict";var n=r(28847)(r(3355));Object.defineProperty(e,"__esModule",{value:!0}),e.hashToPrivateScalar=e.FpSqrtEven=e.FpSqrtOdd=e.Field=e.nLength=e.FpIsSquare=e.FpDiv=e.FpInvertBatch=e.FpPow=e.validateField=e.isNegativeLE=e.FpSqrt=e.tonelliShanks=e.invert=e.pow2=e.pow=e.mod=void 0;var i=r(46928),o=BigInt(0),a=BigInt(1),s=BigInt(2),u=BigInt(3),c=BigInt(4),l=BigInt(5),h=BigInt(8);function f(t,e){var r=t%e;return r>=o?r:e+r}function d(t,e,r){if(r<=o||e<o)throw new Error("Expected power/modulo > 0");if(r===a)return o;for(var n=a;e>o;)e&a&&(n=n*t%r),t=t*t%r,e>>=a;return n}function p(t,e){if(t===o||e<=o)throw new Error("invert: expected positive integers, got n=".concat(t," mod=").concat(e));for(var r=f(t,e),n=e,i=o,s=a,u=a,c=o;r!==o;){var l=n/r,h=n%r,d=i-u*l,p=s-c*l;n=r,r=h,i=u,s=c,u=d,c=p}if(n!==a)throw new Error("invert: does not exist");return f(i,e)}function m(t){var e,r,n,i=(t-a)/s;for(e=t-a,r=0;e%s===o;e/=s,r++);for(n=s;n<t&&d(n,i,t)!==t-a;n++);if(1===r){var u=(t+a)/c;return function(t,e){var r=t.pow(e,u);if(!t.eql(t.sqr(r),e))throw new Error("Cannot find square root");return r}}var l=(e+a)/s;return function(t,o){if(t.pow(o,i)===t.neg(t.ONE))throw new Error("Cannot find square root");for(var s=r,u=t.pow(t.mul(t.ONE,n),e),c=t.pow(o,l),h=t.pow(o,e);!t.eql(h,t.ONE);){if(t.eql(h,t.ZERO))return t.ZERO;for(var f=1,d=t.sqr(h);f<s&&!t.eql(d,t.ONE);f++)d=t.sqr(d);var p=t.pow(u,a<<BigInt(s-f-1));u=t.sqr(p),c=t.mul(c,p),h=t.mul(h,u),s=f}return c}}function g(t){if(t%c===u){var e=(t+a)/c;return function(t,r){var n=t.pow(r,e);if(!t.eql(t.sqr(n),r))throw new Error("Cannot find square root");return n}}if(t%h===l){var r=(t-l)/h;return function(t,e){var n=t.mul(e,s),i=t.pow(n,r),o=t.mul(e,i),a=t.mul(t.mul(o,s),i),u=t.mul(o,t.sub(a,t.ONE));if(!t.eql(t.sqr(u),e))throw new Error("Cannot find square root");return u}}return m(t)}BigInt(9),BigInt(16),e.mod=f,e.pow=d,e.pow2=function(t,e,r){for(var n=t;e-- >o;)n*=n,n%=r;return n},e.invert=p,e.tonelliShanks=m,e.FpSqrt=g,e.isNegativeLE=function(t,e){return(f(t,e)&a)===a};var y=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function v(t,e,r){if(r<o)throw new Error("Expected power > 0");if(r===o)return t.ONE;if(r===a)return e;for(var n=t.ONE,i=e;r>o;)r&a&&(n=t.mul(n,i)),i=t.sqr(i),r>>=a;return n}function b(t,e){var r=new Array(e.length),n=e.reduce((function(e,n,i){return t.is0(n)?e:(r[i]=e,t.mul(e,n))}),t.ONE),i=t.inv(n);return e.reduceRight((function(e,n,i){return t.is0(n)?e:(r[i]=t.mul(e,r[i]),t.mul(e,n))}),i),r}function _(t,e){var r=void 0!==e?e:t.toString(2).length;return{nBitLength:r,nByteLength:Math.ceil(r/8)}}e.validateField=function(t){var e=y.reduce((function(t,e){return t[e]="function",t}),{ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"});return(0,i.validateObject)(t,e)},e.FpPow=v,e.FpInvertBatch=b,e.FpDiv=function(t,e,r){return t.mul(e,"bigint"==typeof r?p(r,t.ORDER):t.inv(r))},e.FpIsSquare=function(t){var e=(t.ORDER-a)/s;return function(r){var n=t.pow(r,e);return t.eql(n,t.ZERO)||t.eql(n,t.ONE)}},e.nLength=_,e.Field=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(t<=o)throw new Error("Expected Fp ORDER > 0, got ".concat(t));var u=_(t,e),c=u.nBitLength,l=u.nByteLength;if(l>2048)throw new Error("Field lengths over 2048 bytes are not supported");var h=g(t),d=Object.freeze({ORDER:t,BITS:c,BYTES:l,MASK:(0,i.bitMask)(c),ZERO:o,ONE:a,create:function(e){return f(e,t)},isValid:function(e){if("bigint"!=typeof e)throw new Error("Invalid field element: expected bigint, got ".concat((0,n.default)(e)));return o<=e&&e<t},is0:function(t){return t===o},isOdd:function(t){return(t&a)===a},neg:function(e){return f(-e,t)},eql:function(t,e){return t===e},sqr:function(e){return f(e*e,t)},add:function(e,r){return f(e+r,t)},sub:function(e,r){return f(e-r,t)},mul:function(e,r){return f(e*r,t)},pow:function(t,e){return v(d,t,e)},div:function(e,r){return f(e*p(r,t),t)},sqrN:function(t){return t*t},addN:function(t,e){return t+e},subN:function(t,e){return t-e},mulN:function(t,e){return t*e},inv:function(e){return p(e,t)},sqrt:s.sqrt||function(t){return h(d,t)},invertBatch:function(t){return b(d,t)},cmov:function(t,e,r){return r?e:t},toBytes:function(t){return r?(0,i.numberToBytesLE)(t,l):(0,i.numberToBytesBE)(t,l)},fromBytes:function(t){if(t.length!==l)throw new Error("Fp.fromBytes: expected ".concat(l,", got ").concat(t.length));return r?(0,i.bytesToNumberLE)(t):(0,i.bytesToNumberBE)(t)}});return Object.freeze(d)},e.FpSqrtOdd=function(t,e){if(!t.isOdd)throw new Error("Field doesn't have isOdd");var r=t.sqrt(e);return t.isOdd(r)?r:t.neg(r)},e.FpSqrtEven=function(t,e){if(!t.isOdd)throw new Error("Field doesn't have isOdd");var r=t.sqrt(e);return t.isOdd(r)?t.neg(r):r},e.hashToPrivateScalar=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=(t=(0,i.ensureBytes)("privateHash",t)).length,o=_(e).nByteLength+8;if(o<24||n<o||n>1024)throw new Error("hashToPrivateScalar: expected ".concat(o,"-1024 bytes of input, got ").concat(n));return f(r?(0,i.bytesToNumberLE)(t):(0,i.bytesToNumberBE)(t),e-a)+a}},46928:(t,e,r)=>{"use strict";var n=r(28847),i=n(r(74519)),o=n(r(3355));Object.defineProperty(e,"__esModule",{value:!0}),e.validateObject=e.createHmacDrbg=e.bitMask=e.bitSet=e.bitGet=e.bitLen=e.utf8ToBytes=e.equalBytes=e.concatBytes=e.ensureBytes=e.numberToVarBytesBE=e.numberToBytesLE=e.numberToBytesBE=e.bytesToNumberLE=e.bytesToNumberBE=e.hexToBytes=e.hexToNumber=e.numberToHexUnpadded=e.bytesToHex=void 0;var a=BigInt(0),s=BigInt(1),u=BigInt(2),c=function(t){return t instanceof Uint8Array},l=Array.from({length:256},(function(t,e){return e.toString(16).padStart(2,"0")}));function h(t){if(!c(t))throw new Error("Uint8Array expected");for(var e="",r=0;r<t.length;r++)e+=l[t[r]];return e}function f(t){var e=t.toString(16);return 1&e.length?"0".concat(e):e}function d(t){if("string"!=typeof t)throw new Error("hex string expected, got "+(0,o.default)(t));return BigInt(""===t?"0":"0x".concat(t))}function p(t){if("string"!=typeof t)throw new Error("hex string expected, got "+(0,o.default)(t));var e=t.length;if(e%2)throw new Error("padded hex string expected, got unpadded hex of length "+e);for(var r=new Uint8Array(e/2),n=0;n<r.length;n++){var i=2*n,a=t.slice(i,i+2),s=Number.parseInt(a,16);if(Number.isNaN(s)||s<0)throw new Error("Invalid byte sequence");r[n]=s}return r}function m(t,e){return p(t.toString(16).padStart(2*e,"0"))}function g(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=new Uint8Array(e.reduce((function(t,e){return t+e.length}),0)),i=0;return e.forEach((function(t){if(!c(t))throw new Error("Uint8Array expected");n.set(t,i),i+=t.length})),n}e.bytesToHex=h,e.numberToHexUnpadded=f,e.hexToNumber=d,e.hexToBytes=p,e.bytesToNumberBE=function(t){return d(h(t))},e.bytesToNumberLE=function(t){if(!c(t))throw new Error("Uint8Array expected");return d(h(Uint8Array.from(t).reverse()))},e.numberToBytesBE=m,e.numberToBytesLE=function(t,e){return m(t,e).reverse()},e.numberToVarBytesBE=function(t){return p(f(t))},e.ensureBytes=function(t,e,r){var n;if("string"==typeof e)try{n=p(e)}catch(r){throw new Error("".concat(t,' must be valid hex string, got "').concat(e,'". Cause: ').concat(r))}else{if(!c(e))throw new Error("".concat(t," must be hex string or Uint8Array"));n=Uint8Array.from(e)}var i=n.length;if("number"==typeof r&&i!==r)throw new Error("".concat(t," expected ").concat(r," bytes, got ").concat(i));return n},e.concatBytes=g,e.equalBytes=function(t,e){if(t.length!==e.length)return!1;for(var r=0;r<t.length;r++)if(t[r]!==e[r])return!1;return!0},e.utf8ToBytes=function(t){if("string"!=typeof t)throw new Error("utf8ToBytes expected string, got ".concat((0,o.default)(t)));return new Uint8Array((new TextEncoder).encode(t))},e.bitLen=function(t){var e;for(e=0;t>a;t>>=s,e+=1);return e},e.bitGet=function(t,e){return t>>BigInt(e)&s},e.bitSet=function(t,e,r){return t|(r?s:a)<<BigInt(e)},e.bitMask=function(t){return(u<<BigInt(t-1))-s};var y=function(t){return new Uint8Array(t)},v=function(t){return Uint8Array.from(t)};e.createHmacDrbg=function(t,e,r){if("number"!=typeof t||t<2)throw new Error("hashLen must be a number");if("number"!=typeof e||e<2)throw new Error("qByteLen must be a number");if("function"!=typeof r)throw new Error("hmacFn must be a function");var n=y(t),i=y(t),o=0,a=function(){n.fill(1),i.fill(0),o=0},s=function(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return r.apply(void 0,[i,n].concat(e))},u=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y();i=s(v([0]),t),n=s(),0!==t.length&&(i=s(v([1]),t),n=s())},c=function(){if(o++>=1e3)throw new Error("drbg: tried 1000 values");for(var t=0,r=[];t<e;){var i=(n=s()).slice();r.push(i),t+=n.length}return g.apply(void 0,r)};return function(t,e){a(),u(t);for(var r=void 0;!(r=e(c()));)u();return a(),r}};var b={bigint:function(t){return"bigint"==typeof t},function:function(t){return"function"==typeof t},boolean:function(t){return"boolean"==typeof t},string:function(t){return"string"==typeof t},isSafeInteger:function(t){return Number.isSafeInteger(t)},array:function(t){return Array.isArray(t)},field:function(t,e){return e.Fp.isValid(t)},hash:function(t){return"function"==typeof t&&Number.isSafeInteger(t.outputLen)}};e.validateObject=function(t,e){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=function(e,r,n){var i=b[r];if("function"!=typeof i)throw new Error('Invalid validator "'.concat(r,'", expected function'));var a=t[e];if(!(n&&void 0===a||i(a,t)))throw new Error("Invalid param ".concat(String(e),"=").concat(a," (").concat((0,o.default)(a),"), expected ").concat(r))},a=0,s=Object.entries(e);a<s.length;a++){var u=(0,i.default)(s[a],2);n(u[0],u[1],!1)}for(var c=0,l=Object.entries(r);c<l.length;c++){var h=(0,i.default)(l[c],2);n(h[0],h[1],!0)}return t}},16573:(t,e,r)=>{"use strict";var n=r(28847),i=n(r(58985)),o=n(r(69721)),a=n(r(15163)),s=n(r(34650)),u=n(r(21949)),c=n(r(22940)),l=n(r(90775)),h=n(r(3355));function f(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function d(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?f(Object(r),!0).forEach((function(e){(0,l.default)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}Object.defineProperty(e,"__esModule",{value:!0}),e.mapToCurveSimpleSWU=e.SWUFpSqrtRatio=e.weierstrass=e.weierstrassPoints=e.DER=void 0;var p=r(3970),m=r(46928),g=r(46928),y=r(91813),v=m.bytesToNumberBE,b=m.hexToBytes;e.DER={Err:function(t){(0,a.default)(c,t);var e,r,n=(e=c,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=(0,u.default)(e);if(r){var i=(0,u.default)(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return(0,s.default)(this,t)});function c(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return(0,o.default)(this,c),n.call(this,t)}return(0,i.default)(c)}((0,c.default)(Error)),_parseInt:function(t){var r=e.DER.Err;if(t.length<2||2!==t[0])throw new r("Invalid signature integer tag");var n=t[1],i=t.subarray(2,n+2);if(!n||i.length!==n)throw new r("Invalid signature integer: wrong length");if(128&i[0])throw new r("Invalid signature integer: negative");if(0===i[0]&&!(128&i[1]))throw new r("Invalid signature integer: unnecessary leading zero");return{d:v(i),l:t.subarray(n+2)}},toSig:function(t){var r=e.DER.Err,n="string"==typeof t?b(t):t;if(!(n instanceof Uint8Array))throw new Error("ui8a expected");var i=n.length;if(i<2||48!=n[0])throw new r("Invalid signature tag");if(n[1]!==i-2)throw new r("Invalid signature: incorrect length");var o=e.DER._parseInt(n.subarray(2)),a=o.d,s=o.l,u=e.DER._parseInt(s),c=u.d;if(u.l.length)throw new r("Invalid signature: left bytes after parsing");return{r:a,s:c}},hexFromSig:function(t){var e=function(t){return 8&Number.parseInt(t[0],16)?"00"+t:t},r=function(t){var e=t.toString(16);return 1&e.length?"0".concat(e):e},n=e(r(t.s)),i=e(r(t.r)),o=n.length/2,a=i.length/2,s=r(o),u=r(a);return"30".concat(r(a+o+4),"02").concat(u).concat(i,"02").concat(s).concat(n)}};var _=BigInt(0),w=BigInt(1),x=BigInt(2),k=BigInt(3),S=BigInt(4);function E(t){var e=function(t){var e=(0,y.validateBasic)(t);m.validateObject(e,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});var r=e.endo,n=e.Fp,i=e.a;if(r){if(!n.eql(i,n.ZERO))throw new Error("Endomorphism can only be defined for Koblitz curves that have a=0");if("object"!==(0,h.default)(r)||"bigint"!=typeof r.beta||"function"!=typeof r.splitScalar)throw new Error("Expected endomorphism with beta: bigint and splitScalar: function")}return Object.freeze(d({},e))}(t),r=e.Fp,n=e.toBytes||function(t,e,n){var i=e.toAffine();return m.concatBytes(Uint8Array.from([4]),r.toBytes(i.x),r.toBytes(i.y))},a=e.fromBytes||function(t){var e=t.subarray(1);return{x:r.fromBytes(e.subarray(0,r.BYTES)),y:r.fromBytes(e.subarray(r.BYTES,2*r.BYTES))}};function s(t){var n=e.a,i=e.b,o=r.sqr(t),a=r.mul(o,t);return r.add(r.add(a,r.mul(t,n)),i)}if(!r.eql(r.sqr(e.Gy),s(e.Gx)))throw new Error("bad generator point: equation left != right");function u(t){return"bigint"==typeof t&&_<t&&t<e.n}function c(t){if(!u(t))throw new Error("Expected valid bigint: 0 < bigint < curve.n")}function l(t){var r,n=e.allowedPrivateKeyLengths,i=e.nByteLength,o=e.wrapPrivateKey,a=e.n;if(n&&"bigint"!=typeof t){if(t instanceof Uint8Array&&(t=m.bytesToHex(t)),"string"!=typeof t||!n.includes(t.length))throw new Error("Invalid key");t=t.padStart(2*i,"0")}try{r="bigint"==typeof t?t:m.bytesToNumberBE((0,g.ensureBytes)("private key",t,i))}catch(e){throw new Error("private key must be ".concat(i," bytes, hex or bigint, not ").concat((0,h.default)(t)))}return o&&(r=p.mod(r,a)),c(r),r}var f=new Map;function v(t){if(!(t instanceof b))throw new Error("ProjectivePoint expected")}var b=function(){function t(e,n,i){if((0,o.default)(this,t),this.px=e,this.py=n,this.pz=i,null==e||!r.isValid(e))throw new Error("x required");if(null==n||!r.isValid(n))throw new Error("y required");if(null==i||!r.isValid(i))throw new Error("z required")}return(0,i.default)(t,[{key:"x",get:function(){return this.toAffine().x}},{key:"y",get:function(){return this.toAffine().y}},{key:"_setWindowSize",value:function(t){this._WINDOW_SIZE=t,f.delete(this)}},{key:"assertValidity",value:function(){if(this.is0()){if(e.allowInfinityPoint)return;throw new Error("bad point: ZERO")}var t=this.toAffine(),n=t.x,i=t.y;if(!r.isValid(n)||!r.isValid(i))throw new Error("bad point: x or y not FE");var o=r.sqr(i),a=s(n);if(!r.eql(o,a))throw new Error("bad point: equation left != right");if(!this.isTorsionFree())throw new Error("bad point: not in prime-order subgroup")}},{key:"hasEvenY",value:function(){var t=this.toAffine().y;if(r.isOdd)return!r.isOdd(t);throw new Error("Field doesn't support isOdd")}},{key:"equals",value:function(t){v(t);var e=this.px,n=this.py,i=this.pz,o=t.px,a=t.py,s=t.pz,u=r.eql(r.mul(e,s),r.mul(o,i)),c=r.eql(r.mul(n,s),r.mul(a,i));return u&&c}},{key:"negate",value:function(){return new t(this.px,r.neg(this.py),this.pz)}},{key:"double",value:function(){var n=e.a,i=e.b,o=r.mul(i,k),a=this.px,s=this.py,u=this.pz,c=r.ZERO,l=r.ZERO,h=r.ZERO,f=r.mul(a,a),d=r.mul(s,s),p=r.mul(u,u),m=r.mul(a,s);return m=r.add(m,m),h=r.mul(a,u),h=r.add(h,h),c=r.mul(n,h),l=r.mul(o,p),l=r.add(c,l),c=r.sub(d,l),l=r.add(d,l),l=r.mul(c,l),c=r.mul(m,c),h=r.mul(o,h),p=r.mul(n,p),m=r.sub(f,p),m=r.mul(n,m),m=r.add(m,h),h=r.add(f,f),f=r.add(h,f),f=r.add(f,p),f=r.mul(f,m),l=r.add(l,f),p=r.mul(s,u),p=r.add(p,p),f=r.mul(p,m),c=r.sub(c,f),h=r.mul(p,d),h=r.add(h,h),new t(c,l,h=r.add(h,h))}},{key:"add",value:function(n){v(n);var i=this.px,o=this.py,a=this.pz,s=n.px,u=n.py,c=n.pz,l=r.ZERO,h=r.ZERO,f=r.ZERO,d=e.a,p=r.mul(e.b,k),m=r.mul(i,s),g=r.mul(o,u),y=r.mul(a,c),b=r.add(i,o),_=r.add(s,u);b=r.mul(b,_),_=r.add(m,g),b=r.sub(b,_),_=r.add(i,a);var w=r.add(s,c);return _=r.mul(_,w),w=r.add(m,y),_=r.sub(_,w),w=r.add(o,a),l=r.add(u,c),w=r.mul(w,l),l=r.add(g,y),w=r.sub(w,l),f=r.mul(d,_),l=r.mul(p,y),f=r.add(l,f),l=r.sub(g,f),f=r.add(g,f),h=r.mul(l,f),g=r.add(m,m),g=r.add(g,m),y=r.mul(d,y),_=r.mul(p,_),g=r.add(g,y),y=r.sub(m,y),y=r.mul(d,y),_=r.add(_,y),m=r.mul(g,_),h=r.add(h,m),m=r.mul(w,_),l=r.mul(b,l),l=r.sub(l,m),m=r.mul(b,g),f=r.mul(w,f),new t(l,h,f=r.add(f,m))}},{key:"subtract",value:function(t){return this.add(t.negate())}},{key:"is0",value:function(){return this.equals(t.ZERO)}},{key:"wNAF",value:function(e){return S.wNAFCached(this,f,e,(function(e){var n=r.invertBatch(e.map((function(t){return t.pz})));return e.map((function(t,e){return t.toAffine(n[e])})).map(t.fromAffine)}))}},{key:"multiplyUnsafe",value:function(n){var i=t.ZERO;if(n===_)return i;if(c(n),n===w)return this;var o=e.endo;if(!o)return S.unsafeLadder(this,n);for(var a=o.splitScalar(n),s=a.k1neg,u=a.k1,l=a.k2neg,h=a.k2,f=i,d=i,p=this;u>_||h>_;)u&w&&(f=f.add(p)),h&w&&(d=d.add(p)),p=p.double(),u>>=w,h>>=w;return s&&(f=f.negate()),l&&(d=d.negate()),d=new t(r.mul(d.px,o.beta),d.py,d.pz),f.add(d)}},{key:"multiply",value:function(n){c(n);var i,o,a=n,s=e.endo;if(s){var u=s.splitScalar(a),l=u.k1neg,h=u.k1,f=u.k2neg,d=u.k2,p=this.wNAF(h),m=p.p,g=p.f,y=this.wNAF(d),v=y.p,b=y.f;m=S.constTimeNegate(l,m),v=S.constTimeNegate(f,v),v=new t(r.mul(v.px,s.beta),v.py,v.pz),i=m.add(v),o=g.add(b)}else{var _=this.wNAF(a);i=_.p,o=_.f}return t.normalizeZ([i,o])[0]}},{key:"multiplyAndAddUnsafe",value:function(e,r,n){var i=t.BASE,o=function(t,e){return e!==_&&e!==w&&t.equals(i)?t.multiply(e):t.multiplyUnsafe(e)},a=o(this,r).add(o(e,n));return a.is0()?void 0:a}},{key:"toAffine",value:function(t){var e=this.px,n=this.py,i=this.pz,o=this.is0();null==t&&(t=o?r.ONE:r.inv(i));var a=r.mul(e,t),s=r.mul(n,t),u=r.mul(i,t);if(o)return{x:r.ZERO,y:r.ZERO};if(!r.eql(u,r.ONE))throw new Error("invZ was invalid");return{x:a,y:s}}},{key:"isTorsionFree",value:function(){var r=e.h,n=e.isTorsionFree;if(r===w)return!0;if(n)return n(t,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}},{key:"clearCofactor",value:function(){var r=e.h,n=e.clearCofactor;return r===w?this:n?n(t,this):this.multiplyUnsafe(e.h)}},{key:"toRawBytes",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this.assertValidity(),n(t,this,e)}},{key:"toHex",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return m.bytesToHex(this.toRawBytes(t))}}],[{key:"fromAffine",value:function(e){var n=e||{},i=n.x,o=n.y;if(!e||!r.isValid(i)||!r.isValid(o))throw new Error("invalid affine point");if(e instanceof t)throw new Error("projective point not allowed");var a=function(t){return r.eql(t,r.ZERO)};return a(i)&&a(o)?t.ZERO:new t(i,o,r.ONE)}},{key:"normalizeZ",value:function(e){var n=r.invertBatch(e.map((function(t){return t.pz})));return e.map((function(t,e){return t.toAffine(n[e])})).map(t.fromAffine)}},{key:"fromHex",value:function(e){var r=t.fromAffine(a((0,g.ensureBytes)("pointHex",e)));return r.assertValidity(),r}},{key:"fromPrivateKey",value:function(e){return t.BASE.multiply(l(e))}}]),t}();b.BASE=new b(e.Gx,e.Gy,r.ONE),b.ZERO=new b(r.ZERO,r.ONE,r.ZERO);var x=e.nBitLength,S=(0,y.wNAF)(b,e.endo?Math.ceil(x/2):x);return{CURVE:e,ProjectivePoint:b,normPrivateKeyToScalar:l,weierstrassEquation:s,isWithinCurveOrder:u}}function M(t,e){for(var r=t.ORDER,n=_,i=r-w;i%x===_;i/=x)n+=w;var o=n,a=x<<o-w-w,s=a*x,u=(r-w)/s,c=(u-w)/x,l=s-w,h=a,f=t.pow(e,u),d=t.pow(e,(u+w)/x),p=function(e,r){var n=f,i=t.pow(r,l),a=t.sqr(i);a=t.mul(a,r);var s=t.mul(e,a);s=t.pow(s,c),s=t.mul(s,i),i=t.mul(s,r),a=t.mul(s,e);var u=t.mul(a,i);s=t.pow(u,h);var p=t.eql(s,t.ONE);i=t.mul(a,d),s=t.mul(u,n),a=t.cmov(i,a,p),u=t.cmov(s,u,p);for(var m=o;m>w;m--){var g=m-x;g=x<<g-w;var y=t.pow(u,g),v=t.eql(y,t.ONE);i=t.mul(a,n),n=t.mul(n,n),y=t.mul(u,n),a=t.cmov(i,a,v),u=t.cmov(y,u,v)}return{isValid:p,value:a}};if(t.ORDER%S===k){var m=(t.ORDER-k)/S,g=t.sqrt(t.neg(e));p=function(e,r){var n=t.sqr(r),i=t.mul(e,r);n=t.mul(n,i);var o=t.pow(n,m);o=t.mul(o,i);var a=t.mul(o,g),s=t.mul(t.sqr(o),r),u=t.eql(s,e);return{isValid:u,value:t.cmov(a,o,u)}}}return p}e.weierstrassPoints=E,e.weierstrass=function(t){var r,n,a=(r=t,n=(0,y.validateBasic)(r),m.validateObject(n,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze(d({lowS:!0},n))),s=a.Fp,u=a.n,c=s.BYTES+1,l=2*s.BYTES+1;function f(t){return p.mod(t,u)}function v(t){return p.invert(t,u)}var b=E(d(d({},a),{},{toBytes:function(t,e,r){var n=e.toAffine(),i=s.toBytes(n.x),o=m.concatBytes;return r?o(Uint8Array.from([e.hasEvenY()?2:3]),i):o(Uint8Array.from([4]),i,s.toBytes(n.y))},fromBytes:function(t){var e=t.length,r=t[0],n=t.subarray(1);if(e!==c||2!==r&&3!==r){if(e===l&&4===r)return{x:s.fromBytes(n.subarray(0,s.BYTES)),y:s.fromBytes(n.subarray(s.BYTES,2*s.BYTES))};throw new Error("Point of length ".concat(e," was invalid. Expected ").concat(c," compressed bytes or ").concat(l," uncompressed bytes"))}var i=m.bytesToNumberBE(n);if(!(_<(o=i)&&o<s.ORDER))throw new Error("Point is not on curve");var o,a=S(i),u=s.sqrt(a);return 1==(1&r)!=((u&w)===w)&&(u=s.neg(u)),{x:i,y:u}}})),x=b.ProjectivePoint,k=b.normPrivateKeyToScalar,S=b.weierstrassEquation,M=b.isWithinCurveOrder,A=function(t){return m.bytesToHex(m.numberToBytesBE(t,a.nByteLength))};function T(t){return t>u>>w}var C=function(t,e,r){return m.bytesToNumberBE(t.slice(e,r))},L=function(){function t(e,r,n){(0,o.default)(this,t),this.r=e,this.s=r,this.recovery=n,this.assertValidity()}return(0,i.default)(t,[{key:"assertValidity",value:function(){if(!M(this.r))throw new Error("r must be 0 < r < CURVE.n");if(!M(this.s))throw new Error("s must be 0 < s < CURVE.n")}},{key:"addRecoveryBit",value:function(e){return new t(this.r,this.s,e)}},{key:"recoverPublicKey",value:function(t){var e=this.r,r=this.s,n=this.recovery,i=D((0,g.ensureBytes)("msgHash",t));if(null==n||![0,1,2,3].includes(n))throw new Error("recovery id invalid");var o=2===n||3===n?e+a.n:e;if(o>=s.ORDER)throw new Error("recovery id 2 or 3 invalid");var u=0==(1&n)?"02":"03",c=x.fromHex(u+A(o)),l=v(o),h=f(-i*l),d=f(r*l),p=x.BASE.multiplyAndAddUnsafe(c,h,d);if(!p)throw new Error("point at infinify");return p.assertValidity(),p}},{key:"hasHighS",value:function(){return T(this.s)}},{key:"normalizeS",value:function(){return this.hasHighS()?new t(this.r,f(-this.s),this.recovery):this}},{key:"toDERRawBytes",value:function(){return m.hexToBytes(this.toDERHex())}},{key:"toDERHex",value:function(){return e.DER.hexFromSig({r:this.r,s:this.s})}},{key:"toCompactRawBytes",value:function(){return m.hexToBytes(this.toCompactHex())}},{key:"toCompactHex",value:function(){return A(this.r)+A(this.s)}}],[{key:"fromCompact",value:function(e){var r=a.nByteLength;return e=(0,g.ensureBytes)("compactSignature",e,2*r),new t(C(e,0,r),C(e,r,2*r))}},{key:"fromDER",value:function(r){var n=e.DER.toSig((0,g.ensureBytes)("DER",r));return new t(n.r,n.s)}}]),t}(),P={isValidPrivateKey:function(t){try{return k(t),!0}catch(t){return!1}},normPrivateKeyToScalar:k,randomPrivateKey:function(){var t=a.randomBytes(s.BYTES+8),e=p.hashToPrivateScalar(t,u);return m.numberToBytesBE(e,a.nByteLength)},precompute:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:x.BASE;return e._setWindowSize(t),e.multiply(BigInt(3)),e}};function O(t){var e=t instanceof Uint8Array,r="string"==typeof t,n=(e||r)&&t.length;return e?n===c||n===l:r?n===2*c||n===2*l:t instanceof x}var I=a.bits2int||function(t){var e=m.bytesToNumberBE(t),r=8*t.length-a.nBitLength;return r>0?e>>BigInt(r):e},D=a.bits2int_modN||function(t){return f(I(t))},B=m.bitMask(a.nBitLength);function j(t){if("bigint"!=typeof t)throw new Error("bigint expected");if(!(_<=t&&t<B))throw new Error("bigint expected < 2^".concat(a.nBitLength));return m.numberToBytesBE(t,a.nByteLength)}var N={lowS:a.lowS,prehash:!1},R={lowS:a.lowS,prehash:!1};return x.BASE._setWindowSize(8),{CURVE:a,getPublicKey:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return x.fromPrivateKey(t).toRawBytes(e)},getSharedSecret:function(t,e){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(O(t))throw new Error("first arg must be private key");if(!O(e))throw new Error("second arg must be public key");return x.fromHex(e).multiply(k(t)).toRawBytes(r)},sign:function(t,e){var r=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:N;if(["recovered","canonical"].some((function(t){return t in r})))throw new Error("sign() legacy options not supported");var n=a.hash,i=a.randomBytes,o=r.lowS,u=r.prehash,c=r.extraEntropy;null==o&&(o=!0),t=(0,g.ensureBytes)("msgHash",t),u&&(t=(0,g.ensureBytes)("prehashed msgHash",n(t)));var l=D(t),h=k(e),d=[j(h),j(l)];if(null!=c){var p=!0===c?i(s.BYTES):c;d.push((0,g.ensureBytes)("extraEntropy",p,s.BYTES))}var y=m.concatBytes.apply(m,d),b=l;return{seed:y,k2sig:function(t){var e=I(t);if(M(e)){var r=v(e),n=x.BASE.multiply(e).toAffine(),i=f(n.x);if(i!==_){var a=f(r*f(b+i*h));if(a!==_){var s=(n.x===i?0:2)|Number(n.y&w),u=a;return o&&T(a)&&(u=function(t){return T(t)?f(-t):t}(a),s^=1),new L(i,u,s)}}}}}}(t,e,arguments.length>2&&void 0!==arguments[2]?arguments[2]:N),n=r.seed,i=r.k2sig,o=a;return m.createHmacDrbg(o.hash.outputLen,o.nByteLength,o.hmac)(n,i)},verify:function(t,r,n){var i,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:R,s=t;if(r=(0,g.ensureBytes)("msgHash",r),n=(0,g.ensureBytes)("publicKey",n),"strict"in o)throw new Error("options.strict was renamed to lowS");var u,c=o.lowS,l=o.prehash,d=void 0;try{if("string"==typeof s||s instanceof Uint8Array)try{d=L.fromDER(s)}catch(t){if(!(t instanceof e.DER.Err))throw t;d=L.fromCompact(s)}else{if("object"!==(0,h.default)(s)||"bigint"!=typeof s.r||"bigint"!=typeof s.s)throw new Error("PARSE");var p=s.r,m=s.s;d=new L(p,m)}u=x.fromHex(n)}catch(t){if("PARSE"===t.message)throw new Error("signature must be Signature instance, Uint8Array or hex string");return!1}if(c&&d.hasHighS())return!1;l&&(r=a.hash(r));var y=d,b=y.r,_=y.s,w=D(r),k=v(_),S=f(w*k),E=f(b*k),M=null===(i=x.BASE.multiplyAndAddUnsafe(u,S,E))||void 0===i?void 0:i.toAffine();return!!M&&f(M.x)===b},ProjectivePoint:x,Signature:L,utils:P}},e.SWUFpSqrtRatio=M,e.mapToCurveSimpleSWU=function(t,e){if(p.validateField(t),!t.isValid(e.A)||!t.isValid(e.B)||!t.isValid(e.Z))throw new Error("mapToCurveSimpleSWU: invalid opts");var r=M(t,e.Z);if(!t.isOdd)throw new Error("Fp.isOdd is not implemented!");return function(n){var i,o,a,s,u,c,l,h;i=t.sqr(n),i=t.mul(i,e.Z),o=t.sqr(i),o=t.add(o,i),a=t.add(o,t.ONE),a=t.mul(a,e.B),s=t.cmov(e.Z,t.neg(o),!t.eql(o,t.ZERO)),s=t.mul(s,e.A),o=t.sqr(a),c=t.sqr(s),u=t.mul(c,e.A),o=t.add(o,u),o=t.mul(o,a),c=t.mul(c,s),u=t.mul(c,e.B),o=t.add(o,u),l=t.mul(i,a);var f=r(o,c),d=f.isValid,p=f.value;h=t.mul(i,n),h=t.mul(h,p),l=t.cmov(l,a,d),h=t.cmov(h,p,d);var m=t.isOdd(n)===t.isOdd(h);return h=t.cmov(t.neg(h),h,m),{x:l=t.div(l,s),y:h}}}},4158:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.encodeToCurve=e.hashToCurve=e.schnorr=e.secp256k1=void 0;var n=r(61241),i=r(72434),o=r(3970),a=r(16573),s=r(46928),u=r(19751),c=r(96546),l=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),h=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),f=BigInt(1),d=BigInt(2),p=function(t,e){return(t+e/d)/e};function m(t){var e=l,r=BigInt(3),n=BigInt(6),i=BigInt(11),a=BigInt(22),s=BigInt(23),u=BigInt(44),c=BigInt(88),h=t*t*t%e,f=h*h*t%e,p=(0,o.pow2)(f,r,e)*f%e,m=(0,o.pow2)(p,r,e)*f%e,y=(0,o.pow2)(m,d,e)*h%e,v=(0,o.pow2)(y,i,e)*y%e,b=(0,o.pow2)(v,a,e)*v%e,_=(0,o.pow2)(b,u,e)*b%e,w=(0,o.pow2)(_,c,e)*_%e,x=(0,o.pow2)(w,u,e)*b%e,k=(0,o.pow2)(x,r,e)*f%e,S=(0,o.pow2)(k,s,e)*v%e,E=(0,o.pow2)(S,n,e)*h%e,M=(0,o.pow2)(E,d,e);if(!g.eql(g.sqr(M),t))throw new Error("Cannot find square root");return M}var g=(0,o.Field)(l,void 0,void 0,{sqrt:m});e.secp256k1=(0,c.createCurve)({a:BigInt(0),b:BigInt(7),Fp:g,n:h,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:function(t){var e=h,r=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),n=-f*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),i=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),a=r,s=BigInt("0x100000000000000000000000000000000"),u=p(a*t,e),c=p(-n*t,e),l=(0,o.mod)(t-u*r-c*i,e),d=(0,o.mod)(-u*n-c*a,e),m=l>s,g=d>s;if(m&&(l=e-l),g&&(d=e-d),l>s||d>s)throw new Error("splitScalar: Endomorphism failed, k="+t);return{k1neg:m,k1:l,k2neg:g,k2:d}}}},n.sha256);var y=BigInt(0),v=function(t){return"bigint"==typeof t&&y<t&&t<l},b=function(t){return"bigint"==typeof t&&y<t&&t<h},_={};function w(t){var e=_[t];if(void 0===e){var r=(0,n.sha256)(Uint8Array.from(t,(function(t){return t.charCodeAt(0)})));e=(0,s.concatBytes)(r,r),_[t]=e}for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];return(0,n.sha256)(s.concatBytes.apply(void 0,[e].concat(o)))}var x=function(t){return t.toRawBytes(!0).slice(1)},k=function(t){return(0,s.numberToBytesBE)(t,32)},S=function(t){return(0,o.mod)(t,l)},E=function(t){return(0,o.mod)(t,h)},M=e.secp256k1.ProjectivePoint,A=function(t,e,r){return M.BASE.multiplyAndAddUnsafe(t,e,r)};function T(t){var r=e.secp256k1.utils.normPrivateKeyToScalar(t),n=M.fromPrivateKey(r);return{scalar:n.hasEvenY()?r:E(-r),bytes:x(n)}}function C(t){if(!v(t))throw new Error("bad x: need 0 < x < p");var e=S(t*t),r=m(S(e*t+BigInt(7)));r%d!==y&&(r=S(-r));var n=new M(t,r,f);return n.assertValidity(),n}function L(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return E((0,s.bytesToNumberBE)(w.apply(void 0,["BIP0340/challenge"].concat(e))))}function P(t,e,r){var n=(0,s.ensureBytes)("signature",t,64),i=(0,s.ensureBytes)("message",e),o=(0,s.ensureBytes)("publicKey",r,32);try{var a=C((0,s.bytesToNumberBE)(o)),u=(0,s.bytesToNumberBE)(n.subarray(0,32));if(!v(u))return!1;var c=(0,s.bytesToNumberBE)(n.subarray(32,64));if(!b(c))return!1;var l=L(k(u),x(a),i),h=A(a,c,E(-l));return!(!h||!h.hasEvenY()||h.toAffine().x!==u)}catch(t){return!1}}e.schnorr={getPublicKey:function(t){return T(t).bytes},sign:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,i.randomBytes)(32),n=(0,s.ensureBytes)("message",t),o=T(e),a=o.bytes,u=o.scalar,c=(0,s.ensureBytes)("auxRand",r,32),l=k(u^(0,s.bytesToNumberBE)(w("BIP0340/aux",c))),h=w("BIP0340/nonce",l,a,n),f=E((0,s.bytesToNumberBE)(h));if(f===y)throw new Error("sign failed: k is zero");var d=T(f),p=d.bytes,m=d.scalar,g=L(p,a,n),v=new Uint8Array(64);if(v.set(p,0),v.set(k(E(m+g*u)),32),!P(v,n,a))throw new Error("sign: Invalid signature produced");return v},verify:P,utils:{randomPrivateKey:e.secp256k1.utils.randomPrivateKey,lift_x:C,pointToBytes:x,numberToBytesBE:s.numberToBytesBE,bytesToNumberBE:s.bytesToNumberBE,taggedHash:w,mod:o.mod}};var O=function(){return(0,u.isogenyMap)(g,[["0x8e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38daaaaa8c7","0x7d3d4c80bc321d5b9f315cea7fd44c5d595d2fc0bf63b92dfff1044f17c6581","0x534c328d23f234e6e2a413deca25caece4506144037c40314ecbd0b53d9dd262","0x8e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38daaaaa88c"],["0xd35771193d94918a9ca34ccbb7b640dd86cd409542f8487d9fe6b745781eb49b","0xedadc6f64383dc1df7c4b2d51b54225406d36b641f5e41bbc52a56612a8c6d14","0x0000000000000000000000000000000000000000000000000000000000000001"],["0x4bda12f684bda12f684bda12f684bda12f684bda12f684bda12f684b8e38e23c","0xc75e0c32d5cb7c0fa9d0a54b12a0a6d5647ab046d686da6fdffc90fc201d71a3","0x29a6194691f91a73715209ef6512e576722830a201be2018a765e85a9ecee931","0x2f684bda12f684bda12f684bda12f684bda12f684bda12f684bda12f38e38d84"],["0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffff93b","0x7a06534bb8bdb49fd5e9e6632722c2989467c1bfc8e8d978dfb425d2685c2573","0x6484aa716545ca2cf3a70c3fa8fe337e0a3d21162f0d6299a7bf8192bfd2a76f","0x0000000000000000000000000000000000000000000000000000000000000001"]].map((function(t){return t.map((function(t){return BigInt(t)}))})))}(),I=function(){return(0,a.mapToCurveSimpleSWU)(g,{A:BigInt("0x3f8731abdd661adca08a5558f0f5d272e953d363cb6f0e5d405447c01a444533"),B:BigInt("1771"),Z:g.create(BigInt("-11"))})}(),D=function(){return(0,u.createHasher)(e.secp256k1.ProjectivePoint,(function(t){var e=I(g.create(t[0])),r=e.x,n=e.y;return O(r,n)}),{DST:"secp256k1_XMD:SHA-256_SSWU_RO_",encodeDST:"secp256k1_XMD:SHA-256_SSWU_NU_",p:g.ORDER,m:1,k:128,expand:"xmd",hash:n.sha256})}();e.hashToCurve=D.hashToCurve,e.encodeToCurve=D.encodeToCurve},96822:(t,e)=>{"use strict";function r(t){if(!Number.isSafeInteger(t)||t<0)throw new Error("Wrong positive integer: ".concat(t))}function n(t){if("boolean"!=typeof t)throw new Error("Expected boolean, not ".concat(t))}function i(t){if(!(t instanceof Uint8Array))throw new Error("Expected Uint8Array");for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];if(r.length>0&&!r.includes(t.length))throw new Error("Expected Uint8Array of length ".concat(r,", not of length=").concat(t.length))}function o(t){if("function"!=typeof t||"function"!=typeof t.create)throw new Error("Hash should be wrapped by utils.wrapConstructor");r(t.outputLen),r(t.blockLen)}function a(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(t.destroyed)throw new Error("Hash instance has been destroyed");if(e&&t.finished)throw new Error("Hash#digest() has already been called")}function s(t,e){i(t);var r=e.outputLen;if(t.length<r)throw new Error("digestInto() expects output buffer of length at least ".concat(r))}Object.defineProperty(e,"__esModule",{value:!0}),e.output=e.exists=e.hash=e.bytes=e.bool=e.number=void 0,e.number=r,e.bool=n,e.bytes=i,e.hash=o,e.exists=a,e.output=s;var u={number:r,bool:n,bytes:i,hash:o,exists:a,output:s};e.default=u},20330:(t,e,r)=>{"use strict";var n=r(28847),i=n(r(93106)),o=n(r(69721)),a=n(r(58985)),s=n(r(15163)),u=n(r(34650)),c=n(r(21949));Object.defineProperty(e,"__esModule",{value:!0}),e.SHA2=void 0;var l=r(96822),h=r(72434),f=function(t){(0,s.default)(f,t);var e,r,n=(e=f,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=(0,c.default)(e);if(r){var i=(0,c.default)(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return(0,u.default)(this,t)});function f(t,e,r,i){var a;return(0,o.default)(this,f),(a=n.call(this)).blockLen=t,a.outputLen=e,a.padOffset=r,a.isLE=i,a.finished=!1,a.length=0,a.pos=0,a.destroyed=!1,a.buffer=new Uint8Array(t),a.view=(0,h.createView)(a.buffer),a}return(0,a.default)(f,[{key:"update",value:function(t){l.default.exists(this);for(var e=this.view,r=this.buffer,n=this.blockLen,i=(t=(0,h.toBytes)(t)).length,o=0;o<i;){var a=Math.min(n-this.pos,i-o);if(a!==n)r.set(t.subarray(o,o+a),this.pos),this.pos+=a,o+=a,this.pos===n&&(this.process(e,0),this.pos=0);else for(var s=(0,h.createView)(t);n<=i-o;o+=n)this.process(s,o)}return this.length+=t.length,this.roundClean(),this}},{key:"digestInto",value:function(t){l.default.exists(this),l.default.output(t,this),this.finished=!0;var e=this.buffer,r=this.view,n=this.blockLen,i=this.isLE,o=this.pos;e[o++]=128,this.buffer.subarray(o).fill(0),this.padOffset>n-o&&(this.process(r,0),o=0);for(var a=o;a<n;a++)e[a]=0;!function(t,e,r,n){if("function"==typeof t.setBigUint64)return t.setBigUint64(e,r,n);var i=BigInt(32),o=BigInt(4294967295),a=Number(r>>i&o),s=Number(r&o),u=n?4:0,c=n?0:4;t.setUint32(e+u,a,n),t.setUint32(e+c,s,n)}(r,n-8,BigInt(8*this.length),i),this.process(r,0);var s=(0,h.createView)(t),u=this.outputLen;if(u%4)throw new Error("_sha2: outputLen should be aligned to 32bit");var c=u/4,f=this.get();if(c>f.length)throw new Error("_sha2: outputLen bigger than state");for(var d=0;d<c;d++)s.setUint32(4*d,f[d],i)}},{key:"digest",value:function(){var t=this.buffer,e=this.outputLen;this.digestInto(t);var r=t.slice(0,e);return this.destroy(),r}},{key:"_cloneInto",value:function(t){var e;t||(t=new this.constructor),(e=t).set.apply(e,(0,i.default)(this.get()));var r=this.blockLen,n=this.buffer,o=this.length,a=this.finished,s=this.destroyed,u=this.pos;return t.length=o,t.pos=u,t.finished=a,t.destroyed=s,o%r&&t.buffer.set(n),t}}]),f}(h.Hash);e.SHA2=f},64356:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.add=e.toBig=e.split=e.fromBig=void 0;var r=BigInt(Math.pow(2,32)-1),n=BigInt(32);function i(t){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?{h:Number(t&r),l:Number(t>>n&r)}:{h:0|Number(t>>n&r),l:0|Number(t&r)}}function o(t){for(var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=new Uint32Array(t.length),n=new Uint32Array(t.length),o=0;o<t.length;o++){var a=i(t[o],e),s=[a.h,a.l];r[o]=s[0],n[o]=s[1]}return[r,n]}function a(t,e,r,n){var i=(e>>>0)+(n>>>0);return{h:t+r+(i/Math.pow(2,32)|0)|0,l:0|i}}e.fromBig=i,e.split=o,e.toBig=function(t,e){return BigInt(t>>>0)<<n|BigInt(e>>>0)},e.add=a;var s={fromBig:i,split:o,toBig:e.toBig,shrSH:function(t,e,r){return t>>>r},shrSL:function(t,e,r){return t<<32-r|e>>>r},rotrSH:function(t,e,r){return t>>>r|e<<32-r},rotrSL:function(t,e,r){return t<<32-r|e>>>r},rotrBH:function(t,e,r){return t<<64-r|e>>>r-32},rotrBL:function(t,e,r){return t>>>r-32|e<<64-r},rotr32H:function(t,e){return e},rotr32L:function(t,e){return t},rotlSH:function(t,e,r){return t<<r|e>>>32-r},rotlSL:function(t,e,r){return e<<r|t>>>32-r},rotlBH:function(t,e,r){return e<<r-32|t>>>64-r},rotlBL:function(t,e,r){return t<<r-32|e>>>64-r},add:a,add3L:function(t,e,r){return(t>>>0)+(e>>>0)+(r>>>0)},add3H:function(t,e,r,n){return e+r+n+(t/Math.pow(2,32)|0)|0},add4L:function(t,e,r,n){return(t>>>0)+(e>>>0)+(r>>>0)+(n>>>0)},add4H:function(t,e,r,n,i){return e+r+n+i+(t/Math.pow(2,32)|0)|0},add5H:function(t,e,r,n,i,o){return e+r+n+i+o+(t/Math.pow(2,32)|0)|0},add5L:function(t,e,r,n,i){return(t>>>0)+(e>>>0)+(r>>>0)+(n>>>0)+(i>>>0)}};e.default=s},39712:(t,e,r)=>{"use strict";var n=r(28847)(r(3355));Object.defineProperty(e,"__esModule",{value:!0}),e.crypto=void 0,e.crypto="object"===("undefined"==typeof globalThis?"undefined":(0,n.default)(globalThis))&&"crypto"in globalThis?globalThis.crypto:void 0},45896:(t,e,r)=>{"use strict";var n=r(28847),i=n(r(69721)),o=n(r(58985)),a=n(r(15163)),s=n(r(34650)),u=n(r(21949));Object.defineProperty(e,"__esModule",{value:!0}),e.hmac=e.HMAC=void 0;var c=r(96822),l=r(72434),h=function(t){(0,a.default)(h,t);var e,r,n=(e=h,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=(0,u.default)(e);if(r){var i=(0,u.default)(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return(0,s.default)(this,t)});function h(t,e){var r;(0,i.default)(this,h),(r=n.call(this)).finished=!1,r.destroyed=!1,c.default.hash(t);var o=(0,l.toBytes)(e);if(r.iHash=t.create(),"function"!=typeof r.iHash.update)throw new Error("Expected instance of class which extends utils.Hash");r.blockLen=r.iHash.blockLen,r.outputLen=r.iHash.outputLen;var a=r.blockLen,s=new Uint8Array(a);s.set(o.length>a?t.create().update(o).digest():o);for(var u=0;u<s.length;u++)s[u]^=54;r.iHash.update(s),r.oHash=t.create();for(var f=0;f<s.length;f++)s[f]^=106;return r.oHash.update(s),s.fill(0),r}return(0,o.default)(h,[{key:"update",value:function(t){return c.default.exists(this),this.iHash.update(t),this}},{key:"digestInto",value:function(t){c.default.exists(this),c.default.bytes(t,this.outputLen),this.finished=!0,this.iHash.digestInto(t),this.oHash.update(t),this.oHash.digestInto(t),this.destroy()}},{key:"digest",value:function(){var t=new Uint8Array(this.oHash.outputLen);return this.digestInto(t),t}},{key:"_cloneInto",value:function(t){t||(t=Object.create(Object.getPrototypeOf(this),{}));var e=this.oHash,r=this.iHash,n=this.finished,i=this.destroyed,o=this.blockLen,a=this.outputLen;return t.finished=n,t.destroyed=i,t.blockLen=o,t.outputLen=a,t.oHash=e._cloneInto(t.oHash),t.iHash=r._cloneInto(t.iHash),t}},{key:"destroy",value:function(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}}]),h}(l.Hash);e.HMAC=h,e.hmac=function(t,e,r){return new h(t,e).update(r).digest()},e.hmac.create=function(t,e){return new h(t,e)}},61241:(t,e,r)=>{"use strict";var n=r(28847),i=n(r(69721)),o=n(r(58985)),a=n(r(15163)),s=n(r(34650)),u=n(r(21949));function c(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=(0,u.default)(t);if(e){var i=(0,u.default)(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return(0,s.default)(this,r)}}Object.defineProperty(e,"__esModule",{value:!0}),e.sha224=e.sha256=void 0;var l=r(20330),h=r(72434),f=function(t,e,r){return t&e^t&r^e&r},d=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),p=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),m=new Uint32Array(64),g=function(t){(0,a.default)(r,t);var e=c(r);function r(){var t;return(0,i.default)(this,r),(t=e.call(this,64,32,8,!1)).A=0|p[0],t.B=0|p[1],t.C=0|p[2],t.D=0|p[3],t.E=0|p[4],t.F=0|p[5],t.G=0|p[6],t.H=0|p[7],t}return(0,o.default)(r,[{key:"get",value:function(){return[this.A,this.B,this.C,this.D,this.E,this.F,this.G,this.H]}},{key:"set",value:function(t,e,r,n,i,o,a,s){this.A=0|t,this.B=0|e,this.C=0|r,this.D=0|n,this.E=0|i,this.F=0|o,this.G=0|a,this.H=0|s}},{key:"process",value:function(t,e){for(var r=0;r<16;r++,e+=4)m[r]=t.getUint32(e,!1);for(var n=16;n<64;n++){var i=m[n-15],o=m[n-2],a=(0,h.rotr)(i,7)^(0,h.rotr)(i,18)^i>>>3,s=(0,h.rotr)(o,17)^(0,h.rotr)(o,19)^o>>>10;m[n]=s+m[n-7]+a+m[n-16]|0}var u,c=this.A,l=this.B,p=this.C,g=this.D,y=this.E,v=this.F,b=this.G,_=this.H;for(r=0;r<64;r++){var w=_+((0,h.rotr)(y,6)^(0,h.rotr)(y,11)^(0,h.rotr)(y,25))+((u=y)&v^~u&b)+d[r]+m[r]|0,x=((0,h.rotr)(c,2)^(0,h.rotr)(c,13)^(0,h.rotr)(c,22))+f(c,l,p)|0;_=b,b=v,v=y,y=g+w|0,g=p,p=l,l=c,c=w+x|0}c=c+this.A|0,l=l+this.B|0,p=p+this.C|0,g=g+this.D|0,y=y+this.E|0,v=v+this.F|0,b=b+this.G|0,_=_+this.H|0,this.set(c,l,p,g,y,v,b,_)}},{key:"roundClean",value:function(){m.fill(0)}},{key:"destroy",value:function(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}]),r}(l.SHA2),y=function(t){(0,a.default)(r,t);var e=c(r);function r(){var t;return(0,i.default)(this,r),(t=e.call(this)).A=-1056596264,t.B=914150663,t.C=812702999,t.D=-150054599,t.E=-4191439,t.F=1750603025,t.G=1694076839,t.H=-1090891868,t.outputLen=28,t}return(0,o.default)(r)}(g);e.sha256=(0,h.wrapConstructor)((function(){return new g})),e.sha224=(0,h.wrapConstructor)((function(){return new y}))},64376:(t,e,r)=>{"use strict";var n=r(28847),i=n(r(69721)),o=n(r(58985)),a=n(r(15163)),s=n(r(34650)),u=n(r(21949)),c=n(r(74519));Object.defineProperty(e,"__esModule",{value:!0}),e.shake256=e.shake128=e.keccak_512=e.keccak_384=e.keccak_256=e.keccak_224=e.sha3_512=e.sha3_384=e.sha3_256=e.sha3_224=e.Keccak=e.keccakP=void 0;for(var l=r(96822),h=r(64356),f=r(72434),d=[],p=[],m=[],g=BigInt(0),y=BigInt(1),v=BigInt(2),b=BigInt(7),_=BigInt(256),w=BigInt(113),x=0,k=y,S=1,E=0;x<24;x++){var M=[E,(2*S+3*E)%5];S=M[0],E=M[1],d.push(2*(5*E+S)),p.push((x+1)*(x+2)/2%64);for(var A=g,T=0;T<7;T++)(k=(k<<y^(k>>b)*w)%_)&v&&(A^=y<<(y<<BigInt(T))-y);m.push(A)}var C=h.default.split(m,!0),L=(0,c.default)(C,2),P=L[0],O=L[1],I=function(t,e,r){return r>32?h.default.rotlBH(t,e,r):h.default.rotlSH(t,e,r)},D=function(t,e,r){return r>32?h.default.rotlBL(t,e,r):h.default.rotlSL(t,e,r)};function B(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:24,r=new Uint32Array(10),n=24-e;n<24;n++){for(var i=0;i<10;i++)r[i]=t[i]^t[i+10]^t[i+20]^t[i+30]^t[i+40];for(var o=0;o<10;o+=2)for(var a=(o+8)%10,s=(o+2)%10,u=r[s],c=r[s+1],l=I(u,c,1)^r[a],h=D(u,c,1)^r[a+1],f=0;f<50;f+=10)t[o+f]^=l,t[o+f+1]^=h;for(var m=t[2],g=t[3],y=0;y<24;y++){var v=p[y],b=I(m,g,v),_=D(m,g,v),w=d[y];m=t[w],g=t[w+1],t[w]=b,t[w+1]=_}for(var x=0;x<50;x+=10){for(var k=0;k<10;k++)r[k]=t[x+k];for(var S=0;S<10;S++)t[x+S]^=~r[(S+2)%10]&r[(S+4)%10]}t[0]^=P[n],t[1]^=O[n]}r.fill(0)}e.keccakP=B;var j=function(t){(0,a.default)(c,t);var e,r,n=(e=c,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,n=(0,u.default)(e);if(r){var i=(0,u.default)(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return(0,s.default)(this,t)});function c(t,e,r){var o,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:24;if((0,i.default)(this,c),(o=n.call(this)).blockLen=t,o.suffix=e,o.outputLen=r,o.enableXOF=a,o.rounds=s,o.pos=0,o.posOut=0,o.finished=!1,o.destroyed=!1,l.default.number(r),0>=o.blockLen||o.blockLen>=200)throw new Error("Sha3 supports only keccak-f1600 function");return o.state=new Uint8Array(200),o.state32=(0,f.u32)(o.state),o}return(0,o.default)(c,[{key:"keccak",value:function(){B(this.state32,this.rounds),this.posOut=0,this.pos=0}},{key:"update",value:function(t){l.default.exists(this);for(var e=this.blockLen,r=this.state,n=(t=(0,f.toBytes)(t)).length,i=0;i<n;){for(var o=Math.min(e-this.pos,n-i),a=0;a<o;a++)r[this.pos++]^=t[i++];this.pos===e&&this.keccak()}return this}},{key:"finish",value:function(){if(!this.finished){this.finished=!0;var t=this.state,e=this.suffix,r=this.pos,n=this.blockLen;t[r]^=e,0!=(128&e)&&r===n-1&&this.keccak(),t[n-1]^=128,this.keccak()}}},{key:"writeInto",value:function(t){l.default.exists(this,!1),l.default.bytes(t),this.finish();for(var e=this.state,r=this.blockLen,n=0,i=t.length;n<i;){this.posOut>=r&&this.keccak();var o=Math.min(r-this.posOut,i-n);t.set(e.subarray(this.posOut,this.posOut+o),n),this.posOut+=o,n+=o}return t}},{key:"xofInto",value:function(t){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(t)}},{key:"xof",value:function(t){return l.default.number(t),this.xofInto(new Uint8Array(t))}},{key:"digestInto",value:function(t){if(l.default.output(t,this),this.finished)throw new Error("digest() was already called");return this.writeInto(t),this.destroy(),t}},{key:"digest",value:function(){return this.digestInto(new Uint8Array(this.outputLen))}},{key:"destroy",value:function(){this.destroyed=!0,this.state.fill(0)}},{key:"_cloneInto",value:function(t){var e=this.blockLen,r=this.suffix,n=this.outputLen,i=this.rounds,o=this.enableXOF;return t||(t=new c(e,r,n,o,i)),t.state32.set(this.state32),t.pos=this.pos,t.posOut=this.posOut,t.finished=this.finished,t.rounds=i,t.suffix=r,t.outputLen=n,t.enableXOF=o,t.destroyed=this.destroyed,t}}]),c}(f.Hash);e.Keccak=j;var N=function(t,e,r){return(0,f.wrapConstructor)((function(){return new j(e,t,r)}))};e.sha3_224=N(6,144,28),e.sha3_256=N(6,136,32),e.sha3_384=N(6,104,48),e.sha3_512=N(6,72,64),e.keccak_224=N(1,144,28),e.keccak_256=N(1,136,32),e.keccak_384=N(1,104,48),e.keccak_512=N(1,72,64);var R=function(t,e,r){return(0,f.wrapXOFConstructorWithOpts)((function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new j(e,t,void 0===n.dkLen?r:n.dkLen,!0)}))};e.shake128=R(31,168,16),e.shake256=R(31,136,32)},72434:(t,e,r)=>{"use strict";var n=r(28847),i=n(r(82247)),o=n(r(69721)),a=n(r(58985)),s=n(r(94571)),u=n(r(3355));Object.defineProperty(e,"__esModule",{value:!0}),e.randomBytes=e.wrapXOFConstructorWithOpts=e.wrapConstructorWithOpts=e.wrapConstructor=e.checkOpts=e.Hash=e.concatBytes=e.toBytes=e.utf8ToBytes=e.asyncLoop=e.nextTick=e.hexToBytes=e.bytesToHex=e.isLE=e.rotr=e.createView=e.u32=e.u8=void 0;var c=r(39712),l=function(t){return t instanceof Uint8Array};if(e.u8=function(t){return new Uint8Array(t.buffer,t.byteOffset,t.byteLength)},e.u32=function(t){return new Uint32Array(t.buffer,t.byteOffset,Math.floor(t.byteLength/4))},e.createView=function(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)},e.rotr=function(t,e){return t<<32-e|t>>>e},e.isLE=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0],!e.isLE)throw new Error("Non little-endian hardware is not supported");var h=Array.from({length:256},(function(t,e){return e.toString(16).padStart(2,"0")}));e.bytesToHex=function(t){if(!l(t))throw new Error("Uint8Array expected");for(var e="",r=0;r<t.length;r++)e+=h[t[r]];return e},e.hexToBytes=function(t){if("string"!=typeof t)throw new Error("hex string expected, got "+(0,u.default)(t));var e=t.length;if(e%2)throw new Error("padded hex string expected, got unpadded hex of length "+e);for(var r=new Uint8Array(e/2),n=0;n<r.length;n++){var i=2*n,o=t.slice(i,i+2),a=Number.parseInt(o,16);if(Number.isNaN(a)||a<0)throw new Error("Invalid byte sequence");r[n]=a}return r};var f=function(){var t=(0,s.default)(i.default.mark((function t(){return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();function d(){return(d=(0,s.default)(i.default.mark((function t(r,n,o){var a,s,u;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:a=Date.now(),s=0;case 2:if(!(s<r)){t.next=13;break}if(o(s),!((u=Date.now()-a)>=0&&u<n)){t.next=7;break}return t.abrupt("continue",10);case 7:return t.next=9,(0,e.nextTick)();case 9:a+=u;case 10:s++,t.next=2;break;case 13:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function p(t){if("string"!=typeof t)throw new Error("utf8ToBytes expected string, got ".concat((0,u.default)(t)));return new Uint8Array((new TextEncoder).encode(t))}function m(t){if("string"==typeof t&&(t=p(t)),!l(t))throw new Error("expected Uint8Array, got ".concat((0,u.default)(t)));return t}e.nextTick=f,e.asyncLoop=function(t,e,r){return d.apply(this,arguments)},e.utf8ToBytes=p,e.toBytes=m,e.concatBytes=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=new Uint8Array(e.reduce((function(t,e){return t+e.length}),0)),i=0;return e.forEach((function(t){if(!l(t))throw new Error("Uint8Array expected");n.set(t,i),i+=t.length})),n};var g=function(){function t(){(0,o.default)(this,t)}return(0,a.default)(t,[{key:"clone",value:function(){return this._cloneInto()}}]),t}();e.Hash=g,e.checkOpts=function(t,e){if(void 0!==e&&("object"!==(0,u.default)(e)||(r=e,"[object Object]"!==Object.prototype.toString.call(r)||r.constructor!==Object)))throw new Error("Options should be object or undefined");var r;return Object.assign(t,e)},e.wrapConstructor=function(t){var e=function(e){return t().update(m(e)).digest()},r=t();return e.outputLen=r.outputLen,e.blockLen=r.blockLen,e.create=function(){return t()},e},e.wrapConstructorWithOpts=function(t){var e=function(e,r){return t(r).update(m(e)).digest()},r=t({});return e.outputLen=r.outputLen,e.blockLen=r.blockLen,e.create=function(e){return t(e)},e},e.wrapXOFConstructorWithOpts=function(t){var e=function(e,r){return t(r).update(m(e)).digest()},r=t({});return e.outputLen=r.outputLen,e.blockLen=r.blockLen,e.create=function(e){return t(e)},e},e.randomBytes=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32;if(c.crypto&&"function"==typeof c.crypto.getRandomValues)return c.crypto.getRandomValues(new Uint8Array(t));throw new Error("crypto.getRandomValues must be defined")}},53368:(t,e,r)=>{"use strict";var n,i,o=r(28847)(r(3355));void 0===(i="function"==typeof(n=function(){function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function e(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function n(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function i(t){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},i(t)}function a(t,e){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},a(t,e)}function s(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function u(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=i(t);if(e){var a=i(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return function(t,e){if(e&&("object"===(0,o.default)(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return s(t)}(this,r)}}function c(){return c="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=i(t)););return t}(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(arguments.length<3?t:r):o.value}},c.apply(this,arguments)}var l=function(){function e(){t(this,e),Object.defineProperty(this,"listeners",{value:{},writable:!0,configurable:!0})}return n(e,[{key:"addEventListener",value:function(t,e,r){t in this.listeners||(this.listeners[t]=[]),this.listeners[t].push({callback:e,options:r})}},{key:"removeEventListener",value:function(t,e){if(t in this.listeners)for(var r=this.listeners[t],n=0,i=r.length;n<i;n++)if(r[n].callback===e)return void r.splice(n,1)}},{key:"dispatchEvent",value:function(t){if(t.type in this.listeners){for(var e=this.listeners[t.type].slice(),r=0,n=e.length;r<n;r++){var i=e[r];try{i.callback.call(this,t)}catch(t){Promise.resolve().then((function(){throw t}))}i.options&&i.options.once&&this.removeEventListener(t.type,i.callback)}return!t.defaultPrevented}}}]),e}(),h=function(e){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&a(t,e)}(o,e);var r=u(o);function o(){var e;return t(this,o),(e=r.call(this)).listeners||l.call(s(e)),Object.defineProperty(s(e),"aborted",{value:!1,writable:!0,configurable:!0}),Object.defineProperty(s(e),"onabort",{value:null,writable:!0,configurable:!0}),Object.defineProperty(s(e),"reason",{value:void 0,writable:!0,configurable:!0}),e}return n(o,[{key:"toString",value:function(){return"[object AbortSignal]"}},{key:"dispatchEvent",value:function(t){"abort"===t.type&&(this.aborted=!0,"function"==typeof this.onabort&&this.onabort.call(this,t)),c(i(o.prototype),"dispatchEvent",this).call(this,t)}}]),o}(l),f=function(){function e(){t(this,e),Object.defineProperty(this,"signal",{value:new h,writable:!0,configurable:!0})}return n(e,[{key:"abort",value:function(t){var e;try{e=new Event("abort")}catch(t){"undefined"!=typeof document?document.createEvent?(e=document.createEvent("Event")).initEvent("abort",!1,!1):(e=document.createEventObject()).type="abort":e={type:"abort",bubbles:!1,cancelable:!1}}var r=t;if(void 0===r)if("undefined"==typeof document)(r=new Error("This operation was aborted")).name="AbortError";else try{r=new DOMException("signal is aborted without reason")}catch(t){(r=new Error("This operation was aborted")).name="AbortError"}this.signal.reason=r,this.signal.dispatchEvent(e)}},{key:"toString",value:function(){return"[object AbortController]"}}]),e}();function d(t){return t.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL?(console.log("__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL=true is set, will force install polyfill"),!0):"function"==typeof t.Request&&!t.Request.prototype.hasOwnProperty("signal")||!t.AbortController}"undefined"!=typeof Symbol&&Symbol.toStringTag&&(f.prototype[Symbol.toStringTag]="AbortController",h.prototype[Symbol.toStringTag]="AbortSignal"),function(t){if(d(t))if(t.fetch){var e=function(t){"function"==typeof t&&(t={fetch:t});var e=t,r=e.fetch,n=e.Request,i=void 0===n?r.Request:n,o=e.AbortController,a=e.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL,s=void 0!==a&&a;if(!d({fetch:r,Request:i,AbortController:o,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:s}))return{fetch:r,Request:u};var u=i;(u&&!u.prototype.hasOwnProperty("signal")||s)&&((u=function(t,e){var r;e&&e.signal&&(r=e.signal,delete e.signal);var n=new i(t,e);return r&&Object.defineProperty(n,"signal",{writable:!1,enumerable:!1,configurable:!0,value:r}),n}).prototype=i.prototype);var c=r;return{fetch:function(t,e){var r=u&&u.prototype.isPrototypeOf(t)?t.signal:e?e.signal:void 0;if(r){var n;try{n=new DOMException("Aborted","AbortError")}catch(t){(n=new Error("Aborted")).name="AbortError"}if(r.aborted)return Promise.reject(n);var i=new Promise((function(t,e){r.addEventListener("abort",(function(){return e(n)}),{once:!0})}));return e&&e.signal&&delete e.signal,Promise.race([i,c(t,e)])}return c(t,e)},Request:u}}(t),r=e.fetch,n=e.Request;t.fetch=r,t.Request=n,Object.defineProperty(t,"AbortController",{writable:!0,enumerable:!1,configurable:!0,value:f}),Object.defineProperty(t,"AbortSignal",{writable:!0,enumerable:!1,configurable:!0,value:h})}else console.warn("fetch() is not available, cannot install abortcontroller-polyfill")}("undefined"!=typeof self?self:r.g)})?n.call(e,r,e,t):n)||(t.exports=i)},68357:(t,e,r)=>{"use strict";var n=e;n.bignum=r(31734),n.define=r(41568).define,n.base=r(12412),n.constants=r(79387),n.decoders=r(61500),n.encoders=r(47506)},41568:(t,e,r)=>{"use strict";var n=r(47506),i=r(61500),o=r(41736);function a(t,e){this.name=t,this.body=e,this.decoders={},this.encoders={}}e.define=function(t,e){return new a(t,e)},a.prototype._createNamed=function(t){var e=this.name;function r(t){this._initNamed(t,e)}return o(r,t),r.prototype._initNamed=function(e,r){t.call(this,e,r)},new r(this)},a.prototype._getDecoder=function(t){return t=t||"der",this.decoders.hasOwnProperty(t)||(this.decoders[t]=this._createNamed(i[t])),this.decoders[t]},a.prototype.decode=function(t,e,r){return this._getDecoder(e).decode(t,r)},a.prototype._getEncoder=function(t){return t=t||"der",this.encoders.hasOwnProperty(t)||(this.encoders[t]=this._createNamed(n[t])),this.encoders[t]},a.prototype.encode=function(t,e,r){return this._getEncoder(e).encode(t,r)}},90585:(t,e,r)=>{"use strict";var n=r(28847)(r(3355)),i=r(41736),o=r(32719).b,a=r(11755).Buffer;function s(t,e){o.call(this,e),a.isBuffer(t)?(this.base=t,this.offset=0,this.length=t.length):this.error("Input not Buffer")}function u(t,e){if(Array.isArray(t))this.length=0,this.value=t.map((function(t){return u.isEncoderBuffer(t)||(t=new u(t,e)),this.length+=t.length,t}),this);else if("number"==typeof t){if(!(0<=t&&t<=255))return e.error("non-byte EncoderBuffer value");this.value=t,this.length=1}else if("string"==typeof t)this.value=t,this.length=a.byteLength(t);else{if(!a.isBuffer(t))return e.error("Unsupported type: "+(0,n.default)(t));this.value=t,this.length=t.length}}i(s,o),e.C=s,s.isDecoderBuffer=function(t){return t instanceof s||"object"===(0,n.default)(t)&&a.isBuffer(t.base)&&"DecoderBuffer"===t.constructor.name&&"number"==typeof t.offset&&"number"==typeof t.length&&"function"==typeof t.save&&"function"==typeof t.restore&&"function"==typeof t.isEmpty&&"function"==typeof t.readUInt8&&"function"==typeof t.skip&&"function"==typeof t.raw},s.prototype.save=function(){return{offset:this.offset,reporter:o.prototype.save.call(this)}},s.prototype.restore=function(t){var e=new s(this.base);return e.offset=t.offset,e.length=this.offset,this.offset=t.offset,o.prototype.restore.call(this,t.reporter),e},s.prototype.isEmpty=function(){return this.offset===this.length},s.prototype.readUInt8=function(t){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(t||"DecoderBuffer overrun")},s.prototype.skip=function(t,e){if(!(this.offset+t<=this.length))return this.error(e||"DecoderBuffer overrun");var r=new s(this.base);return r._reporterState=this._reporterState,r.offset=this.offset,r.length=this.offset+t,this.offset+=t,r},s.prototype.raw=function(t){return this.base.slice(t?t.offset:this.offset,this.length)},e.R=u,u.isEncoderBuffer=function(t){return t instanceof u||"object"===(0,n.default)(t)&&"EncoderBuffer"===t.constructor.name&&"number"==typeof t.length&&"function"==typeof t.join},u.prototype.join=function(t,e){return t||(t=a.alloc(this.length)),e||(e=0),0===this.length||(Array.isArray(this.value)?this.value.forEach((function(r){r.join(t,e),e+=r.length})):("number"==typeof this.value?t[e]=this.value:"string"==typeof this.value?t.write(this.value,e):a.isBuffer(this.value)&&this.value.copy(t,e),e+=this.length)),t}},12412:(t,e,r)=>{"use strict";var n=e;n.Reporter=r(32719).b,n.DecoderBuffer=r(90585).C,n.EncoderBuffer=r(90585).R,n.Node=r(51371)},51371:(t,e,r)=>{"use strict";var n=r(28847)(r(3355)),i=r(32719).b,o=r(90585).R,a=r(90585).C,s=r(94504),u=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],c=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(u);function l(t,e,r){var n={};this._baseState=n,n.name=r,n.enc=t,n.parent=e||null,n.children=null,n.tag=null,n.args=null,n.reverseArgs=null,n.choice=null,n.optional=!1,n.any=!1,n.obj=!1,n.use=null,n.useDecoder=null,n.key=null,n.default=null,n.explicit=null,n.implicit=null,n.contains=null,n.parent||(n.children=[],this._wrap())}t.exports=l;var h=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];l.prototype.clone=function(){var t=this._baseState,e={};h.forEach((function(r){e[r]=t[r]}));var r=new this.constructor(e.parent);return r._baseState=e,r},l.prototype._wrap=function(){var t=this._baseState;c.forEach((function(e){this[e]=function(){var r=new this.constructor(this);return t.children.push(r),r[e].apply(r,arguments)}}),this)},l.prototype._init=function(t){var e=this._baseState;s(null===e.parent),t.call(this),e.children=e.children.filter((function(t){return t._baseState.parent===this}),this),s.equal(e.children.length,1,"Root node can have only one child")},l.prototype._useArgs=function(t){var e=this._baseState,r=t.filter((function(t){return t instanceof this.constructor}),this);t=t.filter((function(t){return!(t instanceof this.constructor)}),this),0!==r.length&&(s(null===e.children),e.children=r,r.forEach((function(t){t._baseState.parent=this}),this)),0!==t.length&&(s(null===e.args),e.args=t,e.reverseArgs=t.map((function(t){if("object"!==(0,n.default)(t)||t.constructor!==Object)return t;var e={};return Object.keys(t).forEach((function(r){r==(0|r)&&(r|=0);var n=t[r];e[n]=r})),e})))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach((function(t){l.prototype[t]=function(){var e=this._baseState;throw new Error(t+" not implemented for encoding: "+e.enc)}})),u.forEach((function(t){l.prototype[t]=function(){var e=this._baseState,r=Array.prototype.slice.call(arguments);return s(null===e.tag),e.tag=t,this._useArgs(r),this}})),l.prototype.use=function(t){s(t);var e=this._baseState;return s(null===e.use),e.use=t,this},l.prototype.optional=function(){return this._baseState.optional=!0,this},l.prototype.def=function(t){var e=this._baseState;return s(null===e.default),e.default=t,e.optional=!0,this},l.prototype.explicit=function(t){var e=this._baseState;return s(null===e.explicit&&null===e.implicit),e.explicit=t,this},l.prototype.implicit=function(t){var e=this._baseState;return s(null===e.explicit&&null===e.implicit),e.implicit=t,this},l.prototype.obj=function(){var t=this._baseState,e=Array.prototype.slice.call(arguments);return t.obj=!0,0!==e.length&&this._useArgs(e),this},l.prototype.key=function(t){var e=this._baseState;return s(null===e.key),e.key=t,this},l.prototype.any=function(){return this._baseState.any=!0,this},l.prototype.choice=function(t){var e=this._baseState;return s(null===e.choice),e.choice=t,this._useArgs(Object.keys(t).map((function(e){return t[e]}))),this},l.prototype.contains=function(t){var e=this._baseState;return s(null===e.use),e.contains=t,this},l.prototype._decode=function(t,e){var r=this._baseState;if(null===r.parent)return t.wrapResult(r.children[0]._decode(t,e));var n,i=r.default,o=!0,s=null;if(null!==r.key&&(s=t.enterKey(r.key)),r.optional){var u=null;if(null!==r.explicit?u=r.explicit:null!==r.implicit?u=r.implicit:null!==r.tag&&(u=r.tag),null!==u||r.any){if(o=this._peekTag(t,u,r.any),t.isError(o))return o}else{var c=t.save();try{null===r.choice?this._decodeGeneric(r.tag,t,e):this._decodeChoice(t,e),o=!0}catch(t){o=!1}t.restore(c)}}if(r.obj&&o&&(n=t.enterObject()),o){if(null!==r.explicit){var l=this._decodeTag(t,r.explicit);if(t.isError(l))return l;t=l}var h=t.offset;if(null===r.use&&null===r.choice){var f;r.any&&(f=t.save());var d=this._decodeTag(t,null!==r.implicit?r.implicit:r.tag,r.any);if(t.isError(d))return d;r.any?i=t.raw(f):t=d}if(e&&e.track&&null!==r.tag&&e.track(t.path(),h,t.length,"tagged"),e&&e.track&&null!==r.tag&&e.track(t.path(),t.offset,t.length,"content"),r.any||(i=null===r.choice?this._decodeGeneric(r.tag,t,e):this._decodeChoice(t,e)),t.isError(i))return i;if(r.any||null!==r.choice||null===r.children||r.children.forEach((function(r){r._decode(t,e)})),r.contains&&("octstr"===r.tag||"bitstr"===r.tag)){var p=new a(i);i=this._getUse(r.contains,t._reporterState.obj)._decode(p,e)}}return r.obj&&o&&(i=t.leaveObject(n)),null===r.key||null===i&&!0!==o?null!==s&&t.exitKey(s):t.leaveKey(s,r.key,i),i},l.prototype._decodeGeneric=function(t,e,r){var n=this._baseState;return"seq"===t||"set"===t?null:"seqof"===t||"setof"===t?this._decodeList(e,t,n.args[0],r):/str$/.test(t)?this._decodeStr(e,t,r):"objid"===t&&n.args?this._decodeObjid(e,n.args[0],n.args[1],r):"objid"===t?this._decodeObjid(e,null,null,r):"gentime"===t||"utctime"===t?this._decodeTime(e,t,r):"null_"===t?this._decodeNull(e,r):"bool"===t?this._decodeBool(e,r):"objDesc"===t?this._decodeStr(e,t,r):"int"===t||"enum"===t?this._decodeInt(e,n.args&&n.args[0],r):null!==n.use?this._getUse(n.use,e._reporterState.obj)._decode(e,r):e.error("unknown tag: "+t)},l.prototype._getUse=function(t,e){var r=this._baseState;return r.useDecoder=this._use(t,e),s(null===r.useDecoder._baseState.parent),r.useDecoder=r.useDecoder._baseState.children[0],r.implicit!==r.useDecoder._baseState.implicit&&(r.useDecoder=r.useDecoder.clone(),r.useDecoder._baseState.implicit=r.implicit),r.useDecoder},l.prototype._decodeChoice=function(t,e){var r=this._baseState,n=null,i=!1;return Object.keys(r.choice).some((function(o){var a=t.save(),s=r.choice[o];try{var u=s._decode(t,e);if(t.isError(u))return!1;n={type:o,value:u},i=!0}catch(e){return t.restore(a),!1}return!0}),this),i?n:t.error("Choice not matched")},l.prototype._createEncoderBuffer=function(t){return new o(t,this.reporter)},l.prototype._encode=function(t,e,r){var n=this._baseState;if(null===n.default||n.default!==t){var i=this._encodeValue(t,e,r);if(void 0!==i&&!this._skipDefault(i,e,r))return i}},l.prototype._encodeValue=function(t,e,r){var o=this._baseState;if(null===o.parent)return o.children[0]._encode(t,e||new i);var a=null;if(this.reporter=e,o.optional&&void 0===t){if(null===o.default)return;t=o.default}var s=null,u=!1;if(o.any)a=this._createEncoderBuffer(t);else if(o.choice)a=this._encodeChoice(t,e);else if(o.contains)s=this._getUse(o.contains,r)._encode(t,e),u=!0;else if(o.children)s=o.children.map((function(r){if("null_"===r._baseState.tag)return r._encode(null,e,t);if(null===r._baseState.key)return e.error("Child should have a key");var i=e.enterKey(r._baseState.key);if("object"!==(0,n.default)(t))return e.error("Child expected, but input is not object");var o=r._encode(t[r._baseState.key],e,t);return e.leaveKey(i),o}),this).filter((function(t){return t})),s=this._createEncoderBuffer(s);else if("seqof"===o.tag||"setof"===o.tag){if(!o.args||1!==o.args.length)return e.error("Too many args for : "+o.tag);if(!Array.isArray(t))return e.error("seqof/setof, but data is not Array");var c=this.clone();c._baseState.implicit=null,s=this._createEncoderBuffer(t.map((function(r){var n=this._baseState;return this._getUse(n.args[0],t)._encode(r,e)}),c))}else null!==o.use?a=this._getUse(o.use,r)._encode(t,e):(s=this._encodePrimitive(o.tag,t),u=!0);if(!o.any&&null===o.choice){var l=null!==o.implicit?o.implicit:o.tag,h=null===o.implicit?"universal":"context";null===l?null===o.use&&e.error("Tag could be omitted only for .use()"):null===o.use&&(a=this._encodeComposite(l,u,h,s))}return null!==o.explicit&&(a=this._encodeComposite(o.explicit,!1,"context",a)),a},l.prototype._encodeChoice=function(t,e){var r=this._baseState,n=r.choice[t.type];return n||s(!1,t.type+" not found in "+JSON.stringify(Object.keys(r.choice))),n._encode(t.value,e)},l.prototype._encodePrimitive=function(t,e){var r=this._baseState;if(/str$/.test(t))return this._encodeStr(e,t);if("objid"===t&&r.args)return this._encodeObjid(e,r.reverseArgs[0],r.args[1]);if("objid"===t)return this._encodeObjid(e,null,null);if("gentime"===t||"utctime"===t)return this._encodeTime(e,t);if("null_"===t)return this._encodeNull();if("int"===t||"enum"===t)return this._encodeInt(e,r.args&&r.reverseArgs[0]);if("bool"===t)return this._encodeBool(e);if("objDesc"===t)return this._encodeStr(e,t);throw new Error("Unsupported tag: "+t)},l.prototype._isNumstr=function(t){return/^[0-9 ]*$/.test(t)},l.prototype._isPrintstr=function(t){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(t)}},32719:(t,e,r)=>{"use strict";var n=r(41736);function i(t){this._reporterState={obj:null,path:[],options:t||{},errors:[]}}function o(t,e){this.path=t,this.rethrow(e)}e.b=i,i.prototype.isError=function(t){return t instanceof o},i.prototype.save=function(){var t=this._reporterState;return{obj:t.obj,pathLen:t.path.length}},i.prototype.restore=function(t){var e=this._reporterState;e.obj=t.obj,e.path=e.path.slice(0,t.pathLen)},i.prototype.enterKey=function(t){return this._reporterState.path.push(t)},i.prototype.exitKey=function(t){var e=this._reporterState;e.path=e.path.slice(0,t-1)},i.prototype.leaveKey=function(t,e,r){var n=this._reporterState;this.exitKey(t),null!==n.obj&&(n.obj[e]=r)},i.prototype.path=function(){return this._reporterState.path.join("/")},i.prototype.enterObject=function(){var t=this._reporterState,e=t.obj;return t.obj={},e},i.prototype.leaveObject=function(t){var e=this._reporterState,r=e.obj;return e.obj=t,r},i.prototype.error=function(t){var e,r=this._reporterState,n=t instanceof o;if(e=n?t:new o(r.path.map((function(t){return"["+JSON.stringify(t)+"]"})).join(""),t.message||t,t.stack),!r.options.partial)throw e;return n||r.errors.push(e),e},i.prototype.wrapResult=function(t){var e=this._reporterState;return e.options.partial?{result:this.isError(t)?null:t,errors:e.errors}:t},n(o,Error),o.prototype.rethrow=function(t){if(this.message=t+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,o),!this.stack)try{throw new Error(this.message)}catch(t){this.stack=t.stack}return this}},6520:(t,e)=>{"use strict";function r(t){var e={};return Object.keys(t).forEach((function(r){(0|r)==r&&(r|=0);var n=t[r];e[n]=r})),e}e.tagClass={0:"universal",1:"application",2:"context",3:"private"},e.tagClassByName=r(e.tagClass),e.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},e.tagByName=r(e.tag)},79387:(t,e,r)=>{"use strict";var n=e;n._reverse=function(t){var e={};return Object.keys(t).forEach((function(r){(0|r)==r&&(r|=0);var n=t[r];e[n]=r})),e},n.der=r(6520)},92387:(t,e,r)=>{"use strict";var n=r(41736),i=r(31734),o=r(90585).C,a=r(51371),s=r(6520);function u(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new c,this.tree._init(t.body)}function c(t){a.call(this,"der",t)}function l(t,e){var r=t.readUInt8(e);if(t.isError(r))return r;var n=s.tagClass[r>>6],i=0==(32&r);if(31==(31&r)){var o=r;for(r=0;128==(128&o);){if(o=t.readUInt8(e),t.isError(o))return o;r<<=7,r|=127&o}}else r&=31;return{cls:n,primitive:i,tag:r,tagStr:s.tag[r]}}function h(t,e,r){var n=t.readUInt8(r);if(t.isError(n))return n;if(!e&&128===n)return null;if(0==(128&n))return n;var i=127&n;if(i>4)return t.error("length octect is too long");n=0;for(var o=0;o<i;o++){n<<=8;var a=t.readUInt8(r);if(t.isError(a))return a;n|=a}return n}t.exports=u,u.prototype.decode=function(t,e){return o.isDecoderBuffer(t)||(t=new o(t,e)),this.tree._decode(t,e)},n(c,a),c.prototype._peekTag=function(t,e,r){if(t.isEmpty())return!1;var n=t.save(),i=l(t,'Failed to peek tag: "'+e+'"');return t.isError(i)?i:(t.restore(n),i.tag===e||i.tagStr===e||i.tagStr+"of"===e||r)},c.prototype._decodeTag=function(t,e,r){var n=l(t,'Failed to decode tag of "'+e+'"');if(t.isError(n))return n;var i=h(t,n.primitive,'Failed to get length of "'+e+'"');if(t.isError(i))return i;if(!r&&n.tag!==e&&n.tagStr!==e&&n.tagStr+"of"!==e)return t.error('Failed to match tag: "'+e+'"');if(n.primitive||null!==i)return t.skip(i,'Failed to match body of: "'+e+'"');var o=t.save(),a=this._skipUntilEnd(t,'Failed to skip indefinite length body: "'+this.tag+'"');return t.isError(a)?a:(i=t.offset-o.offset,t.restore(o),t.skip(i,'Failed to match body of: "'+e+'"'))},c.prototype._skipUntilEnd=function(t,e){for(;;){var r=l(t,e);if(t.isError(r))return r;var n,i=h(t,r.primitive,e);if(t.isError(i))return i;if(n=r.primitive||null!==i?t.skip(i):this._skipUntilEnd(t,e),t.isError(n))return n;if("end"===r.tagStr)break}},c.prototype._decodeList=function(t,e,r,n){for(var i=[];!t.isEmpty();){var o=this._peekTag(t,"end");if(t.isError(o))return o;var a=r.decode(t,"der",n);if(t.isError(a)&&o)break;i.push(a)}return i},c.prototype._decodeStr=function(t,e){if("bitstr"===e){var r=t.readUInt8();return t.isError(r)?r:{unused:r,data:t.raw()}}if("bmpstr"===e){var n=t.raw();if(n.length%2==1)return t.error("Decoding of string type: bmpstr length mismatch");for(var i="",o=0;o<n.length/2;o++)i+=String.fromCharCode(n.readUInt16BE(2*o));return i}if("numstr"===e){var a=t.raw().toString("ascii");return this._isNumstr(a)?a:t.error("Decoding of string type: numstr unsupported characters")}if("octstr"===e)return t.raw();if("objDesc"===e)return t.raw();if("printstr"===e){var s=t.raw().toString("ascii");return this._isPrintstr(s)?s:t.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(e)?t.raw().toString():t.error("Decoding of string type: "+e+" unsupported")},c.prototype._decodeObjid=function(t,e,r){for(var n,i=[],o=0,a=0;!t.isEmpty();)o<<=7,o|=127&(a=t.readUInt8()),0==(128&a)&&(i.push(o),o=0);128&a&&i.push(o);var s=i[0]/40|0,u=i[0]%40;if(n=r?i:[s,u].concat(i.slice(1)),e){var c=e[n.join(" ")];void 0===c&&(c=e[n.join(".")]),void 0!==c&&(n=c)}return n},c.prototype._decodeTime=function(t,e){var r,n,i,o,a,s,u=t.raw().toString();if("gentime"===e)r=0|u.slice(0,4),n=0|u.slice(4,6),i=0|u.slice(6,8),o=0|u.slice(8,10),a=0|u.slice(10,12),s=0|u.slice(12,14);else{if("utctime"!==e)return t.error("Decoding "+e+" time is not supported yet");r=0|u.slice(0,2),n=0|u.slice(2,4),i=0|u.slice(4,6),o=0|u.slice(6,8),a=0|u.slice(8,10),s=0|u.slice(10,12),r=r<70?2e3+r:1900+r}return Date.UTC(r,n-1,i,o,a,s,0)},c.prototype._decodeNull=function(){return null},c.prototype._decodeBool=function(t){var e=t.readUInt8();return t.isError(e)?e:0!==e},c.prototype._decodeInt=function(t,e){var r=t.raw(),n=new i(r);return e&&(n=e[n.toString(10)]||n),n},c.prototype._use=function(t,e){return"function"==typeof t&&(t=t(e)),t._getDecoder("der").tree}},61500:(t,e,r)=>{"use strict";var n=e;n.der=r(92387),n.pem=r(50529)},50529:(t,e,r)=>{"use strict";var n=r(41736),i=r(11755).Buffer,o=r(92387);function a(t){o.call(this,t),this.enc="pem"}n(a,o),t.exports=a,a.prototype.decode=function(t,e){for(var r=t.toString().split(/[\r\n]+/g),n=e.label.toUpperCase(),a=/^-----(BEGIN|END) ([^-]+)-----$/,s=-1,u=-1,c=0;c<r.length;c++){var l=r[c].match(a);if(null!==l&&l[2]===n){if(-1!==s){if("END"!==l[1])break;u=c;break}if("BEGIN"!==l[1])break;s=c}}if(-1===s||-1===u)throw new Error("PEM section not found for: "+n);var h=r.slice(s+1,u).join("");h.replace(/[^a-z0-9+/=]+/gi,"");var f=i.from(h,"base64");return o.prototype.decode.call(this,f,e)}},11068:(t,e,r)=>{"use strict";var n=r(41736),i=r(11755).Buffer,o=r(51371),a=r(6520);function s(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new u,this.tree._init(t.body)}function u(t){o.call(this,"der",t)}function c(t){return t<10?"0"+t:t}t.exports=s,s.prototype.encode=function(t,e){return this.tree._encode(t,e).join()},n(u,o),u.prototype._encodeComposite=function(t,e,r,n){var o=function(t,e,r,n){var i;if("seqof"===t?t="seq":"setof"===t&&(t="set"),a.tagByName.hasOwnProperty(t))i=a.tagByName[t];else{if("number"!=typeof t||(0|t)!==t)return n.error("Unknown tag: "+t);i=t}return i>=31?n.error("Multi-octet tag encoding unsupported"):(e||(i|=32),i|=a.tagClassByName[r||"universal"]<<6)}(t,e,r,this.reporter);if(n.length<128){var s=i.alloc(2);return s[0]=o,s[1]=n.length,this._createEncoderBuffer([s,n])}for(var u=1,c=n.length;c>=256;c>>=8)u++;var l=i.alloc(2+u);l[0]=o,l[1]=128|u;for(var h=1+u,f=n.length;f>0;h--,f>>=8)l[h]=255&f;return this._createEncoderBuffer([l,n])},u.prototype._encodeStr=function(t,e){if("bitstr"===e)return this._createEncoderBuffer([0|t.unused,t.data]);if("bmpstr"===e){for(var r=i.alloc(2*t.length),n=0;n<t.length;n++)r.writeUInt16BE(t.charCodeAt(n),2*n);return this._createEncoderBuffer(r)}return"numstr"===e?this._isNumstr(t)?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===e?this._isPrintstr(t)?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(e)||"objDesc"===e?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: "+e+" unsupported")},u.prototype._encodeObjid=function(t,e,r){if("string"==typeof t){if(!e)return this.reporter.error("string objid given, but no values map found");if(!e.hasOwnProperty(t))return this.reporter.error("objid not found in values map");t=e[t].split(/[\s.]+/g);for(var n=0;n<t.length;n++)t[n]|=0}else if(Array.isArray(t)){t=t.slice();for(var o=0;o<t.length;o++)t[o]|=0}if(!Array.isArray(t))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(t));if(!r){if(t[1]>=40)return this.reporter.error("Second objid identifier OOB");t.splice(0,2,40*t[0]+t[1])}for(var a=0,s=0;s<t.length;s++){var u=t[s];for(a++;u>=128;u>>=7)a++}for(var c=i.alloc(a),l=c.length-1,h=t.length-1;h>=0;h--){var f=t[h];for(c[l--]=127&f;(f>>=7)>0;)c[l--]=128|127&f}return this._createEncoderBuffer(c)},u.prototype._encodeTime=function(t,e){var r,n=new Date(t);return"gentime"===e?r=[c(n.getUTCFullYear()),c(n.getUTCMonth()+1),c(n.getUTCDate()),c(n.getUTCHours()),c(n.getUTCMinutes()),c(n.getUTCSeconds()),"Z"].join(""):"utctime"===e?r=[c(n.getUTCFullYear()%100),c(n.getUTCMonth()+1),c(n.getUTCDate()),c(n.getUTCHours()),c(n.getUTCMinutes()),c(n.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+e+" time is not supported yet"),this._encodeStr(r,"octstr")},u.prototype._encodeNull=function(){return this._createEncoderBuffer("")},u.prototype._encodeInt=function(t,e){if("string"==typeof t){if(!e)return this.reporter.error("String int or enum given, but no values map");if(!e.hasOwnProperty(t))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(t));t=e[t]}if("number"!=typeof t&&!i.isBuffer(t)){var r=t.toArray();!t.sign&&128&r[0]&&r.unshift(0),t=i.from(r)}if(i.isBuffer(t)){var n=t.length;0===t.length&&n++;var o=i.alloc(n);return t.copy(o),0===t.length&&(o[0]=0),this._createEncoderBuffer(o)}if(t<128)return this._createEncoderBuffer(t);if(t<256)return this._createEncoderBuffer([0,t]);for(var a=1,s=t;s>=256;s>>=8)a++;for(var u=new Array(a),c=u.length-1;c>=0;c--)u[c]=255&t,t>>=8;return 128&u[0]&&u.unshift(0),this._createEncoderBuffer(i.from(u))},u.prototype._encodeBool=function(t){return this._createEncoderBuffer(t?255:0)},u.prototype._use=function(t,e){return"function"==typeof t&&(t=t(e)),t._getEncoder("der").tree},u.prototype._skipDefault=function(t,e,r){var n,i=this._baseState;if(null===i.default)return!1;var o=t.join();if(void 0===i.defaultBuffer&&(i.defaultBuffer=this._encodeValue(i.default,e,r).join()),o.length!==i.defaultBuffer.length)return!1;for(n=0;n<o.length;n++)if(o[n]!==i.defaultBuffer[n])return!1;return!0}},47506:(t,e,r)=>{"use strict";var n=e;n.der=r(11068),n.pem=r(38520)},38520:(t,e,r)=>{"use strict";var n=r(41736),i=r(11068);function o(t){i.call(this,t),this.enc="pem"}n(o,i),t.exports=o,o.prototype.encode=function(t,e){for(var r=i.prototype.encode.call(this,t).toString("base64"),n=["-----BEGIN "+e.label+"-----"],o=0;o<r.length;o+=64)n.push(r.slice(o,o+64));return n.push("-----END "+e.label+"-----"),n.join("\n")}},3894:(t,e,r)=>{"use strict";var n=r(28847)(r(3355)),i=r(33103);function o(t,e){if(t===e)return 0;for(var r=t.length,n=e.length,i=0,o=Math.min(r,n);i<o;++i)if(t[i]!==e[i]){r=t[i],n=e[i];break}return r<n?-1:n<r?1:0}function a(t){return r.g.Buffer&&"function"==typeof r.g.Buffer.isBuffer?r.g.Buffer.isBuffer(t):!(null==t||!t._isBuffer)}var s=r(69954),u=Object.prototype.hasOwnProperty,c=Array.prototype.slice,l="foo"===function(){}.name;function h(t){return Object.prototype.toString.call(t)}function f(t){return!a(t)&&"function"==typeof r.g.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(t):!!t&&(t instanceof DataView||!!(t.buffer&&t.buffer instanceof ArrayBuffer)))}var d=t.exports=b,p=/\s*function\s+([^\(\s]*)\s*/;function m(t){if(s.isFunction(t)){if(l)return t.name;var e=t.toString().match(p);return e&&e[1]}}function g(t,e){return"string"==typeof t?t.length<e?t:t.slice(0,e):t}function y(t){if(l||!s.isFunction(t))return s.inspect(t);var e=m(t);return"[Function"+(e?": "+e:"")+"]"}function v(t,e,r,n,i){throw new d.AssertionError({message:r,actual:t,expected:e,operator:n,stackStartFunction:i})}function b(t,e){t||v(t,!0,e,"==",d.ok)}function _(t,e,r,i){if(t===e)return!0;if(a(t)&&a(e))return 0===o(t,e);if(s.isDate(t)&&s.isDate(e))return t.getTime()===e.getTime();if(s.isRegExp(t)&&s.isRegExp(e))return t.source===e.source&&t.global===e.global&&t.multiline===e.multiline&&t.lastIndex===e.lastIndex&&t.ignoreCase===e.ignoreCase;if(null!==t&&"object"===(0,n.default)(t)||null!==e&&"object"===(0,n.default)(e)){if(f(t)&&f(e)&&h(t)===h(e)&&!(t instanceof Float32Array||t instanceof Float64Array))return 0===o(new Uint8Array(t.buffer),new Uint8Array(e.buffer));if(a(t)!==a(e))return!1;var u=(i=i||{actual:[],expected:[]}).actual.indexOf(t);return-1!==u&&u===i.expected.indexOf(e)||(i.actual.push(t),i.expected.push(e),function(t,e,r,n){if(null==t||null==e)return!1;if(s.isPrimitive(t)||s.isPrimitive(e))return t===e;if(r&&Object.getPrototypeOf(t)!==Object.getPrototypeOf(e))return!1;var i=w(t),o=w(e);if(i&&!o||!i&&o)return!1;if(i)return _(t=c.call(t),e=c.call(e),r);var a,u,l=S(t),h=S(e);if(l.length!==h.length)return!1;for(l.sort(),h.sort(),u=l.length-1;u>=0;u--)if(l[u]!==h[u])return!1;for(u=l.length-1;u>=0;u--)if(!_(t[a=l[u]],e[a],r,n))return!1;return!0}(t,e,r,i))}return r?t===e:t==e}function w(t){return"[object Arguments]"==Object.prototype.toString.call(t)}function x(t,e){if(!t||!e)return!1;if("[object RegExp]"==Object.prototype.toString.call(e))return e.test(t);try{if(t instanceof e)return!0}catch(t){}return!Error.isPrototypeOf(e)&&!0===e.call({},t)}function k(t,e,r,n){var i;if("function"!=typeof e)throw new TypeError('"block" argument must be a function');"string"==typeof r&&(n=r,r=null),i=function(t){var e;try{t()}catch(t){e=t}return e}(e),n=(r&&r.name?" ("+r.name+").":".")+(n?" "+n:"."),t&&!i&&v(i,r,"Missing expected exception"+n);var o="string"==typeof n,a=!t&&i&&!r;if((!t&&s.isError(i)&&o&&x(i,r)||a)&&v(i,r,"Got unwanted exception"+n),t&&i&&r&&!x(i,r)||!t&&i)throw i}d.AssertionError=function(t){this.name="AssertionError",this.actual=t.actual,this.expected=t.expected,this.operator=t.operator,t.message?(this.message=t.message,this.generatedMessage=!1):(this.message=function(t){return g(y(t.actual),128)+" "+t.operator+" "+g(y(t.expected),128)}(this),this.generatedMessage=!0);var e=t.stackStartFunction||v;if(Error.captureStackTrace)Error.captureStackTrace(this,e);else{var r=new Error;if(r.stack){var n=r.stack,i=m(e),o=n.indexOf("\n"+i);if(o>=0){var a=n.indexOf("\n",o+1);n=n.substring(a+1)}this.stack=n}}},s.inherits(d.AssertionError,Error),d.fail=v,d.ok=b,d.equal=function(t,e,r){t!=e&&v(t,e,r,"==",d.equal)},d.notEqual=function(t,e,r){t==e&&v(t,e,r,"!=",d.notEqual)},d.deepEqual=function(t,e,r){_(t,e,!1)||v(t,e,r,"deepEqual",d.deepEqual)},d.deepStrictEqual=function(t,e,r){_(t,e,!0)||v(t,e,r,"deepStrictEqual",d.deepStrictEqual)},d.notDeepEqual=function(t,e,r){_(t,e,!1)&&v(t,e,r,"notDeepEqual",d.notDeepEqual)},d.notDeepStrictEqual=function t(e,r,n){_(e,r,!0)&&v(e,r,n,"notDeepStrictEqual",t)},d.strictEqual=function(t,e,r){t!==e&&v(t,e,r,"===",d.strictEqual)},d.notStrictEqual=function(t,e,r){t===e&&v(t,e,r,"!==",d.notStrictEqual)},d.throws=function(t,e,r){k(!0,t,e,r)},d.doesNotThrow=function(t,e,r){k(!1,t,e,r)},d.ifError=function(t){if(t)throw t},d.strict=i((function t(e,r){e||v(e,!0,r,"==",t)}),d,{equal:d.strictEqual,deepEqual:d.deepStrictEqual,notEqual:d.notStrictEqual,notDeepEqual:d.notDeepStrictEqual}),d.strict.strict=d.strict;var S=Object.keys||function(t){var e=[];for(var r in t)u.call(t,r)&&e.push(r);return e}},94074:t=>{"use strict";"function"==typeof Object.create?t.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}},86732:(t,e,r)=>{"use strict";var n=r(28847)(r(3355));t.exports=function(t){return t&&"object"===(0,n.default)(t)&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},69954:(t,e,r)=>{"use strict";var n=r(19142),i=r(28847)(r(3355)),o=/%[sdj%]/g;e.format=function(t){if(!v(t)){for(var e=[],r=0;r<arguments.length;r++)e.push(u(arguments[r]));return e.join(" ")}r=1;for(var n=arguments,i=n.length,a=String(t).replace(o,(function(t){if("%%"===t)return"%";if(r>=i)return t;switch(t){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(t){return"[Circular]"}default:return t}})),s=n[r];r<i;s=n[++r])g(s)||!w(s)?a+=" "+s:a+=" "+u(s);return a},e.deprecate=function(t,i){if(b(r.g.process))return function(){return e.deprecate(t,i).apply(this,arguments)};if(!0===n.noDeprecation)return t;var o=!1;return function(){if(!o){if(n.throwDeprecation)throw new Error(i);n.traceDeprecation?console.trace(i):console.error(i),o=!0}return t.apply(this,arguments)}};var a,s={};function u(t,r){var n={seen:[],stylize:l};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),m(r)?n.showHidden=r:r&&e._extend(n,r),b(n.showHidden)&&(n.showHidden=!1),b(n.depth)&&(n.depth=2),b(n.colors)&&(n.colors=!1),b(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=c),h(n,t,n.depth)}function c(t,e){var r=u.styles[e];return r?"["+u.colors[r][0]+"m"+t+"["+u.colors[r][1]+"m":t}function l(t,e){return t}function h(t,r,n){if(t.customInspect&&r&&S(r.inspect)&&r.inspect!==e.inspect&&(!r.constructor||r.constructor.prototype!==r)){var i=r.inspect(n,t);return v(i)||(i=h(t,i,n)),i}var o=function(t,e){if(b(e))return t.stylize("undefined","undefined");if(v(e)){var r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(r,"string")}return y(e)?t.stylize(""+e,"number"):m(e)?t.stylize(""+e,"boolean"):g(e)?t.stylize("null","null"):void 0}(t,r);if(o)return o;var a=Object.keys(r),s=function(t){var e={};return t.forEach((function(t,r){e[t]=!0})),e}(a);if(t.showHidden&&(a=Object.getOwnPropertyNames(r)),k(r)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return f(r);if(0===a.length){if(S(r)){var u=r.name?": "+r.name:"";return t.stylize("[Function"+u+"]","special")}if(_(r))return t.stylize(RegExp.prototype.toString.call(r),"regexp");if(x(r))return t.stylize(Date.prototype.toString.call(r),"date");if(k(r))return f(r)}var c,l="",w=!1,E=["{","}"];return p(r)&&(w=!0,E=["[","]"]),S(r)&&(l=" [Function"+(r.name?": "+r.name:"")+"]"),_(r)&&(l=" "+RegExp.prototype.toString.call(r)),x(r)&&(l=" "+Date.prototype.toUTCString.call(r)),k(r)&&(l=" "+f(r)),0!==a.length||w&&0!=r.length?n<0?_(r)?t.stylize(RegExp.prototype.toString.call(r),"regexp"):t.stylize("[Object]","special"):(t.seen.push(r),c=w?function(t,e,r,n,i){for(var o=[],a=0,s=e.length;a<s;++a)T(e,String(a))?o.push(d(t,e,r,n,String(a),!0)):o.push("");return i.forEach((function(i){i.match(/^\d+$/)||o.push(d(t,e,r,n,i,!0))})),o}(t,r,n,s,a):a.map((function(e){return d(t,r,n,s,e,w)})),t.seen.pop(),function(t,e,r){return t.reduce((function(t,e){return e.indexOf("\n"),t+e.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60?r[0]+(""===e?"":e+"\n ")+" "+t.join(",\n  ")+" "+r[1]:r[0]+e+" "+t.join(", ")+" "+r[1]}(c,l,E)):E[0]+l+E[1]}function f(t){return"["+Error.prototype.toString.call(t)+"]"}function d(t,e,r,n,i,o){var a,s,u;if((u=Object.getOwnPropertyDescriptor(e,i)||{value:e[i]}).get?s=u.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):u.set&&(s=t.stylize("[Setter]","special")),T(n,i)||(a="["+i+"]"),s||(t.seen.indexOf(u.value)<0?(s=g(r)?h(t,u.value,null):h(t,u.value,r-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(t){return"  "+t})).join("\n").substr(2):"\n"+s.split("\n").map((function(t){return"   "+t})).join("\n")):s=t.stylize("[Circular]","special")),b(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=t.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=t.stylize(a,"string"))}return a+": "+s}function p(t){return Array.isArray(t)}function m(t){return"boolean"==typeof t}function g(t){return null===t}function y(t){return"number"==typeof t}function v(t){return"string"==typeof t}function b(t){return void 0===t}function _(t){return w(t)&&"[object RegExp]"===E(t)}function w(t){return"object"===(0,i.default)(t)&&null!==t}function x(t){return w(t)&&"[object Date]"===E(t)}function k(t){return w(t)&&("[object Error]"===E(t)||t instanceof Error)}function S(t){return"function"==typeof t}function E(t){return Object.prototype.toString.call(t)}function M(t){return t<10?"0"+t.toString(10):t.toString(10)}e.debuglog=function(t){if(b(a)&&(a=n.env.NODE_DEBUG||""),t=t.toUpperCase(),!s[t])if(new RegExp("\\b"+t+"\\b","i").test(a)){var r=n.pid;s[t]=function(){var n=e.format.apply(e,arguments);console.error("%s %d: %s",t,r,n)}}else s[t]=function(){};return s[t]},e.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.isArray=p,e.isBoolean=m,e.isNull=g,e.isNullOrUndefined=function(t){return null==t},e.isNumber=y,e.isString=v,e.isSymbol=function(t){return"symbol"===(0,i.default)(t)},e.isUndefined=b,e.isRegExp=_,e.isObject=w,e.isDate=x,e.isError=k,e.isFunction=S,e.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"===(0,i.default)(t)||void 0===t},e.isBuffer=r(86732);var A=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function T(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.log=function(){var t,r;console.log("%s - %s",(r=[M((t=new Date).getHours()),M(t.getMinutes()),M(t.getSeconds())].join(":"),[t.getDate(),A[t.getMonth()],r].join(" ")),e.format.apply(e,arguments))},e.inherits=r(94074),e._extend=function(t,e){if(!e||!w(e))return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t}},27548:(t,e,r)=>{"use strict";var n=r(48850).Buffer;t.exports=function(t){if(t.length>=255)throw new TypeError("Alphabet too long");for(var e=new Uint8Array(256),r=0;r<e.length;r++)e[r]=255;for(var i=0;i<t.length;i++){var o=t.charAt(i),a=o.charCodeAt(0);if(255!==e[a])throw new TypeError(o+" is ambiguous");e[a]=i}var s=t.length,u=t.charAt(0),c=Math.log(s)/Math.log(256),l=Math.log(256)/Math.log(s);function h(t){if("string"!=typeof t)throw new TypeError("Expected String");if(0===t.length)return n.alloc(0);for(var r=0,i=0,o=0;t[r]===u;)i++,r++;for(var a=(t.length-r)*c+1>>>0,l=new Uint8Array(a);t[r];){var h=e[t.charCodeAt(r)];if(255===h)return;for(var f=0,d=a-1;(0!==h||f<o)&&-1!==d;d--,f++)h+=s*l[d]>>>0,l[d]=h%256>>>0,h=h/256>>>0;if(0!==h)throw new Error("Non-zero carry");o=f,r++}for(var p=a-o;p!==a&&0===l[p];)p++;var m=n.allocUnsafe(i+(a-p));m.fill(0,0,i);for(var g=i;p!==a;)m[g++]=l[p++];return m}return{encode:function(e){if((Array.isArray(e)||e instanceof Uint8Array)&&(e=n.from(e)),!n.isBuffer(e))throw new TypeError("Expected Buffer");if(0===e.length)return"";for(var r=0,i=0,o=0,a=e.length;o!==a&&0===e[o];)o++,r++;for(var c=(a-o)*l+1>>>0,h=new Uint8Array(c);o!==a;){for(var f=e[o],d=0,p=c-1;(0!==f||d<i)&&-1!==p;p--,d++)f+=256*h[p]>>>0,h[p]=f%s>>>0,f=f/s>>>0;if(0!==f)throw new Error("Non-zero carry");i=d,o++}for(var m=c-i;m!==c&&0===h[m];)m++;for(var g=u.repeat(r);m<c;++m)g+=t.charAt(h[m]);return g},decodeUnsafe:h,decode:function(t){var e=h(t);if(e)return e;throw new Error("Non-base"+s+" character")}}}},34919:(t,e)=>{"use strict";e.byteLength=function(t){var e=u(t),r=e[0],n=e[1];return 3*(r+n)/4-n},e.toByteArray=function(t){var e,r,o=u(t),a=o[0],s=o[1],c=new i(function(t,e,r){return 3*(e+r)/4-r}(0,a,s)),l=0,h=s>0?a-4:a;for(r=0;r<h;r+=4)e=n[t.charCodeAt(r)]<<18|n[t.charCodeAt(r+1)]<<12|n[t.charCodeAt(r+2)]<<6|n[t.charCodeAt(r+3)],c[l++]=e>>16&255,c[l++]=e>>8&255,c[l++]=255&e;return 2===s&&(e=n[t.charCodeAt(r)]<<2|n[t.charCodeAt(r+1)]>>4,c[l++]=255&e),1===s&&(e=n[t.charCodeAt(r)]<<10|n[t.charCodeAt(r+1)]<<4|n[t.charCodeAt(r+2)]>>2,c[l++]=e>>8&255,c[l++]=255&e),c},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,o=[],a=16383,s=0,u=n-i;s<u;s+=a)o.push(c(t,s,s+a>u?u:s+a));return 1===i?(e=t[n-1],o.push(r[e>>2]+r[e<<4&63]+"==")):2===i&&(e=(t[n-2]<<8)+t[n-1],o.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"=")),o.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=o.length;a<s;++a)r[a]=o[a],n[o.charCodeAt(a)]=a;function u(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function c(t,e,n){for(var i,o,a=[],s=e;s<n;s+=3)i=(t[s]<<16&16711680)+(t[s+1]<<8&65280)+(255&t[s+2]),a.push(r[(o=i)>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return a.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},31734:(t,e,r)=>{"use strict";t=r.nmd(t);var n=r(28847)(r(3355));!function(t,e){function i(t,e){if(!t)throw new Error(e||"Assertion failed")}function o(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function a(t,e,r){if(a.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(r=e,e=10),this._init(t||0,e||10,r||"be"))}var s;"object"===(0,n.default)(t)?t.exports=a:(void 0).BN=a,a.BN=a,a.wordSize=26;try{s="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:r(29033).Buffer}catch(t){}function u(t,e){var r=t.charCodeAt(e);return r>=48&&r<=57?r-48:r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:void i(!1,"Invalid character in "+t)}function c(t,e,r){var n=u(t,r);return r-1>=e&&(n|=u(t,r-1)<<4),n}function l(t,e,r,n){for(var o=0,a=0,s=Math.min(t.length,r),u=e;u<s;u++){var c=t.charCodeAt(u)-48;o*=n,a=c>=49?c-49+10:c>=17?c-17+10:c,i(c>=0&&a<n,"Invalid character"),o+=a}return o}function h(t,e){t.words=e.words,t.length=e.length,t.negative=e.negative,t.red=e.red}if(a.isBN=function(t){return t instanceof a||null!==t&&"object"===(0,n.default)(t)&&t.constructor.wordSize===a.wordSize&&Array.isArray(t.words)},a.max=function(t,e){return t.cmp(e)>0?t:e},a.min=function(t,e){return t.cmp(e)<0?t:e},a.prototype._init=function(t,e,r){if("number"==typeof t)return this._initNumber(t,e,r);if("object"===(0,n.default)(t))return this._initArray(t,e,r);"hex"===e&&(e=16),i(e===(0|e)&&e>=2&&e<=36);var o=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(o++,this.negative=1),o<t.length&&(16===e?this._parseHex(t,o,r):(this._parseBase(t,e,o),"le"===r&&this._initArray(this.toArray(),e,r)))},a.prototype._initNumber=function(t,e,r){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(i(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),e,r)},a.prototype._initArray=function(t,e,r){if(i("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var o,a,s=0;if("be"===r)for(n=t.length-1,o=0;n>=0;n-=3)a=t[n]|t[n-1]<<8|t[n-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(n=0,o=0;n<t.length;n+=3)a=t[n]|t[n+1]<<8|t[n+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this._strip()},a.prototype._parseHex=function(t,e,r){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,o=0,a=0;if("be"===r)for(n=t.length-1;n>=e;n-=2)i=c(t,e,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(n=(t.length-e)%2==0?e+1:e;n<t.length;n+=2)i=c(t,e,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this._strip()},a.prototype._parseBase=function(t,e,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=e)n++;n--,i=i/e|0;for(var o=t.length-r,a=o%n,s=Math.min(o,o-a)+r,u=0,c=r;c<s;c+=n)u=l(t,c,c+n,e),this.imuln(i),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u);if(0!==a){var h=1;for(u=l(t,c,t.length,e),c=0;c<a;c++)h*=e;this.imuln(h),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u)}this._strip()},a.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},a.prototype._move=function(t){h(t,this)},a.prototype.clone=function(){var t=new a(null);return this.copy(t),t},a.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},a.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},a.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{a.prototype[Symbol.for("nodejs.util.inspect.custom")]=f}catch(t){a.prototype.inspect=f}else a.prototype.inspect=f;function f(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var d=["","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"],p=[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],m=[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 g(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var i=0|t.words[0],o=0|e.words[0],a=i*o,s=67108863&a,u=a/67108864|0;r.words[0]=s;for(var c=1;c<n;c++){for(var l=u>>>26,h=67108863&u,f=Math.min(c,e.length-1),d=Math.max(0,c-t.length+1);d<=f;d++){var p=c-d|0;l+=(a=(i=0|t.words[p])*(o=0|e.words[d])+h)/67108864|0,h=67108863&a}r.words[c]=0|h,u=0|l}return 0!==u?r.words[c]=0|u:r.length--,r._strip()}a.prototype.toString=function(t,e){var r;if(e=0|e||1,16===(t=t||10)||"hex"===t){r="";for(var n=0,o=0,a=0;a<this.length;a++){var s=this.words[a],u=(16777215&(s<<n|o)).toString(16);o=s>>>24-n&16777215,(n+=2)>=26&&(n-=26,a--),r=0!==o||a!==this.length-1?d[6-u.length]+u+r:u+r}for(0!==o&&(r=o.toString(16)+r);r.length%e!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(t===(0|t)&&t>=2&&t<=36){var c=p[t],l=m[t];r="";var h=this.clone();for(h.negative=0;!h.isZero();){var f=h.modrn(l).toString(t);r=(h=h.idivn(l)).isZero()?f+r:d[c-f.length]+f+r}for(this.isZero()&&(r="0"+r);r.length%e!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}i(!1,"Base should be between 2 and 36")},a.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},a.prototype.toJSON=function(){return this.toString(16,2)},s&&(a.prototype.toBuffer=function(t,e){return this.toArrayLike(s,t,e)}),a.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},a.prototype.toArrayLike=function(t,e,r){this._strip();var n=this.byteLength(),o=r||Math.max(1,n);i(n<=o,"byte array longer than desired length"),i(o>0,"Requested array length <= 0");var a=function(t,e){return t.allocUnsafe?t.allocUnsafe(e):new t(e)}(t,o);return this["_toArrayLike"+("le"===e?"LE":"BE")](a,n),a},a.prototype._toArrayLikeLE=function(t,e){for(var r=0,n=0,i=0,o=0;i<this.length;i++){var a=this.words[i]<<o|n;t[r++]=255&a,r<t.length&&(t[r++]=a>>8&255),r<t.length&&(t[r++]=a>>16&255),6===o?(r<t.length&&(t[r++]=a>>24&255),n=0,o=0):(n=a>>>24,o+=2)}if(r<t.length)for(t[r++]=n;r<t.length;)t[r++]=0},a.prototype._toArrayLikeBE=function(t,e){for(var r=t.length-1,n=0,i=0,o=0;i<this.length;i++){var a=this.words[i]<<o|n;t[r--]=255&a,r>=0&&(t[r--]=a>>8&255),r>=0&&(t[r--]=a>>16&255),6===o?(r>=0&&(t[r--]=a>>24&255),n=0,o=0):(n=a>>>24,o+=2)}if(r>=0)for(t[r--]=n;r>=0;)t[r--]=0},Math.clz32?a.prototype._countBits=function(t){return 32-Math.clz32(t)}:a.prototype._countBits=function(t){var e=t,r=0;return e>=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},a.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0==(8191&e)&&(r+=13,e>>>=13),0==(127&e)&&(r+=7,e>>>=7),0==(15&e)&&(r+=4,e>>>=4),0==(3&e)&&(r+=2,e>>>=2),0==(1&e)&&r++,r},a.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},a.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var r=this._zeroBits(this.words[e]);if(t+=r,26!==r)break}return t},a.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},a.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},a.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},a.prototype.isNeg=function(){return 0!==this.negative},a.prototype.neg=function(){return this.clone().ineg()},a.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},a.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this._strip()},a.prototype.ior=function(t){return i(0==(this.negative|t.negative)),this.iuor(t)},a.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},a.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},a.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var r=0;r<e.length;r++)this.words[r]=this.words[r]&t.words[r];return this.length=e.length,this._strip()},a.prototype.iand=function(t){return i(0==(this.negative|t.negative)),this.iuand(t)},a.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},a.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},a.prototype.iuxor=function(t){var e,r;this.length>t.length?(e=this,r=t):(e=t,r=this);for(var n=0;n<r.length;n++)this.words[n]=e.words[n]^r.words[n];if(this!==e)for(;n<e.length;n++)this.words[n]=e.words[n];return this.length=e.length,this._strip()},a.prototype.ixor=function(t){return i(0==(this.negative|t.negative)),this.iuxor(t)},a.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},a.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},a.prototype.inotn=function(t){i("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var n=0;n<e;n++)this.words[n]=67108863&~this.words[n];return r>0&&(this.words[n]=~this.words[n]&67108863>>26-r),this._strip()},a.prototype.notn=function(t){return this.clone().inotn(t)},a.prototype.setn=function(t,e){i("number"==typeof t&&t>=0);var r=t/26|0,n=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<<n:this.words[r]&~(1<<n),this._strip()},a.prototype.iadd=function(t){var e,r,n;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(r=this,n=t):(r=t,n=this);for(var i=0,o=0;o<n.length;o++)e=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&e,i=e>>>26;for(;0!==i&&o<r.length;o++)e=(0|r.words[o])+i,this.words[o]=67108863&e,i=e>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},a.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},a.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var r,n,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=t):(r=t,n=this);for(var o=0,a=0;a<n.length;a++)o=(e=(0|r.words[a])-(0|n.words[a])+o)>>26,this.words[a]=67108863&e;for(;0!==o&&a<r.length;a++)o=(e=(0|r.words[a])+o)>>26,this.words[a]=67108863&e;if(0===o&&a<r.length&&r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this.length=Math.max(this.length,a),r!==this&&(this.negative=1),this._strip()},a.prototype.sub=function(t){return this.clone().isub(t)};var y=function(t,e,r){var n,i,o,a=t.words,s=e.words,u=r.words,c=0,l=0|a[0],h=8191&l,f=l>>>13,d=0|a[1],p=8191&d,m=d>>>13,g=0|a[2],y=8191&g,v=g>>>13,b=0|a[3],_=8191&b,w=b>>>13,x=0|a[4],k=8191&x,S=x>>>13,E=0|a[5],M=8191&E,A=E>>>13,T=0|a[6],C=8191&T,L=T>>>13,P=0|a[7],O=8191&P,I=P>>>13,D=0|a[8],B=8191&D,j=D>>>13,N=0|a[9],R=8191&N,F=N>>>13,Y=0|s[0],U=8191&Y,H=Y>>>13,z=0|s[1],V=8191&z,$=z>>>13,q=0|s[2],G=8191&q,W=q>>>13,K=0|s[3],X=8191&K,J=K>>>13,Z=0|s[4],Q=8191&Z,tt=Z>>>13,et=0|s[5],rt=8191&et,nt=et>>>13,it=0|s[6],ot=8191&it,at=it>>>13,st=0|s[7],ut=8191&st,ct=st>>>13,lt=0|s[8],ht=8191&lt,ft=lt>>>13,dt=0|s[9],pt=8191&dt,mt=dt>>>13;r.negative=t.negative^e.negative,r.length=19;var gt=(c+(n=Math.imul(h,U))|0)+((8191&(i=(i=Math.imul(h,H))+Math.imul(f,U)|0))<<13)|0;c=((o=Math.imul(f,H))+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,n=Math.imul(p,U),i=(i=Math.imul(p,H))+Math.imul(m,U)|0,o=Math.imul(m,H);var yt=(c+(n=n+Math.imul(h,V)|0)|0)+((8191&(i=(i=i+Math.imul(h,$)|0)+Math.imul(f,V)|0))<<13)|0;c=((o=o+Math.imul(f,$)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,n=Math.imul(y,U),i=(i=Math.imul(y,H))+Math.imul(v,U)|0,o=Math.imul(v,H),n=n+Math.imul(p,V)|0,i=(i=i+Math.imul(p,$)|0)+Math.imul(m,V)|0,o=o+Math.imul(m,$)|0;var vt=(c+(n=n+Math.imul(h,G)|0)|0)+((8191&(i=(i=i+Math.imul(h,W)|0)+Math.imul(f,G)|0))<<13)|0;c=((o=o+Math.imul(f,W)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,n=Math.imul(_,U),i=(i=Math.imul(_,H))+Math.imul(w,U)|0,o=Math.imul(w,H),n=n+Math.imul(y,V)|0,i=(i=i+Math.imul(y,$)|0)+Math.imul(v,V)|0,o=o+Math.imul(v,$)|0,n=n+Math.imul(p,G)|0,i=(i=i+Math.imul(p,W)|0)+Math.imul(m,G)|0,o=o+Math.imul(m,W)|0;var bt=(c+(n=n+Math.imul(h,X)|0)|0)+((8191&(i=(i=i+Math.imul(h,J)|0)+Math.imul(f,X)|0))<<13)|0;c=((o=o+Math.imul(f,J)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,n=Math.imul(k,U),i=(i=Math.imul(k,H))+Math.imul(S,U)|0,o=Math.imul(S,H),n=n+Math.imul(_,V)|0,i=(i=i+Math.imul(_,$)|0)+Math.imul(w,V)|0,o=o+Math.imul(w,$)|0,n=n+Math.imul(y,G)|0,i=(i=i+Math.imul(y,W)|0)+Math.imul(v,G)|0,o=o+Math.imul(v,W)|0,n=n+Math.imul(p,X)|0,i=(i=i+Math.imul(p,J)|0)+Math.imul(m,X)|0,o=o+Math.imul(m,J)|0;var _t=(c+(n=n+Math.imul(h,Q)|0)|0)+((8191&(i=(i=i+Math.imul(h,tt)|0)+Math.imul(f,Q)|0))<<13)|0;c=((o=o+Math.imul(f,tt)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,n=Math.imul(M,U),i=(i=Math.imul(M,H))+Math.imul(A,U)|0,o=Math.imul(A,H),n=n+Math.imul(k,V)|0,i=(i=i+Math.imul(k,$)|0)+Math.imul(S,V)|0,o=o+Math.imul(S,$)|0,n=n+Math.imul(_,G)|0,i=(i=i+Math.imul(_,W)|0)+Math.imul(w,G)|0,o=o+Math.imul(w,W)|0,n=n+Math.imul(y,X)|0,i=(i=i+Math.imul(y,J)|0)+Math.imul(v,X)|0,o=o+Math.imul(v,J)|0,n=n+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,tt)|0;var wt=(c+(n=n+Math.imul(h,rt)|0)|0)+((8191&(i=(i=i+Math.imul(h,nt)|0)+Math.imul(f,rt)|0))<<13)|0;c=((o=o+Math.imul(f,nt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,n=Math.imul(C,U),i=(i=Math.imul(C,H))+Math.imul(L,U)|0,o=Math.imul(L,H),n=n+Math.imul(M,V)|0,i=(i=i+Math.imul(M,$)|0)+Math.imul(A,V)|0,o=o+Math.imul(A,$)|0,n=n+Math.imul(k,G)|0,i=(i=i+Math.imul(k,W)|0)+Math.imul(S,G)|0,o=o+Math.imul(S,W)|0,n=n+Math.imul(_,X)|0,i=(i=i+Math.imul(_,J)|0)+Math.imul(w,X)|0,o=o+Math.imul(w,J)|0,n=n+Math.imul(y,Q)|0,i=(i=i+Math.imul(y,tt)|0)+Math.imul(v,Q)|0,o=o+Math.imul(v,tt)|0,n=n+Math.imul(p,rt)|0,i=(i=i+Math.imul(p,nt)|0)+Math.imul(m,rt)|0,o=o+Math.imul(m,nt)|0;var xt=(c+(n=n+Math.imul(h,ot)|0)|0)+((8191&(i=(i=i+Math.imul(h,at)|0)+Math.imul(f,ot)|0))<<13)|0;c=((o=o+Math.imul(f,at)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(O,U),i=(i=Math.imul(O,H))+Math.imul(I,U)|0,o=Math.imul(I,H),n=n+Math.imul(C,V)|0,i=(i=i+Math.imul(C,$)|0)+Math.imul(L,V)|0,o=o+Math.imul(L,$)|0,n=n+Math.imul(M,G)|0,i=(i=i+Math.imul(M,W)|0)+Math.imul(A,G)|0,o=o+Math.imul(A,W)|0,n=n+Math.imul(k,X)|0,i=(i=i+Math.imul(k,J)|0)+Math.imul(S,X)|0,o=o+Math.imul(S,J)|0,n=n+Math.imul(_,Q)|0,i=(i=i+Math.imul(_,tt)|0)+Math.imul(w,Q)|0,o=o+Math.imul(w,tt)|0,n=n+Math.imul(y,rt)|0,i=(i=i+Math.imul(y,nt)|0)+Math.imul(v,rt)|0,o=o+Math.imul(v,nt)|0,n=n+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,at)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,at)|0;var kt=(c+(n=n+Math.imul(h,ut)|0)|0)+((8191&(i=(i=i+Math.imul(h,ct)|0)+Math.imul(f,ut)|0))<<13)|0;c=((o=o+Math.imul(f,ct)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(B,U),i=(i=Math.imul(B,H))+Math.imul(j,U)|0,o=Math.imul(j,H),n=n+Math.imul(O,V)|0,i=(i=i+Math.imul(O,$)|0)+Math.imul(I,V)|0,o=o+Math.imul(I,$)|0,n=n+Math.imul(C,G)|0,i=(i=i+Math.imul(C,W)|0)+Math.imul(L,G)|0,o=o+Math.imul(L,W)|0,n=n+Math.imul(M,X)|0,i=(i=i+Math.imul(M,J)|0)+Math.imul(A,X)|0,o=o+Math.imul(A,J)|0,n=n+Math.imul(k,Q)|0,i=(i=i+Math.imul(k,tt)|0)+Math.imul(S,Q)|0,o=o+Math.imul(S,tt)|0,n=n+Math.imul(_,rt)|0,i=(i=i+Math.imul(_,nt)|0)+Math.imul(w,rt)|0,o=o+Math.imul(w,nt)|0,n=n+Math.imul(y,ot)|0,i=(i=i+Math.imul(y,at)|0)+Math.imul(v,ot)|0,o=o+Math.imul(v,at)|0,n=n+Math.imul(p,ut)|0,i=(i=i+Math.imul(p,ct)|0)+Math.imul(m,ut)|0,o=o+Math.imul(m,ct)|0;var St=(c+(n=n+Math.imul(h,ht)|0)|0)+((8191&(i=(i=i+Math.imul(h,ft)|0)+Math.imul(f,ht)|0))<<13)|0;c=((o=o+Math.imul(f,ft)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,n=Math.imul(R,U),i=(i=Math.imul(R,H))+Math.imul(F,U)|0,o=Math.imul(F,H),n=n+Math.imul(B,V)|0,i=(i=i+Math.imul(B,$)|0)+Math.imul(j,V)|0,o=o+Math.imul(j,$)|0,n=n+Math.imul(O,G)|0,i=(i=i+Math.imul(O,W)|0)+Math.imul(I,G)|0,o=o+Math.imul(I,W)|0,n=n+Math.imul(C,X)|0,i=(i=i+Math.imul(C,J)|0)+Math.imul(L,X)|0,o=o+Math.imul(L,J)|0,n=n+Math.imul(M,Q)|0,i=(i=i+Math.imul(M,tt)|0)+Math.imul(A,Q)|0,o=o+Math.imul(A,tt)|0,n=n+Math.imul(k,rt)|0,i=(i=i+Math.imul(k,nt)|0)+Math.imul(S,rt)|0,o=o+Math.imul(S,nt)|0,n=n+Math.imul(_,ot)|0,i=(i=i+Math.imul(_,at)|0)+Math.imul(w,ot)|0,o=o+Math.imul(w,at)|0,n=n+Math.imul(y,ut)|0,i=(i=i+Math.imul(y,ct)|0)+Math.imul(v,ut)|0,o=o+Math.imul(v,ct)|0,n=n+Math.imul(p,ht)|0,i=(i=i+Math.imul(p,ft)|0)+Math.imul(m,ht)|0,o=o+Math.imul(m,ft)|0;var Et=(c+(n=n+Math.imul(h,pt)|0)|0)+((8191&(i=(i=i+Math.imul(h,mt)|0)+Math.imul(f,pt)|0))<<13)|0;c=((o=o+Math.imul(f,mt)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(R,V),i=(i=Math.imul(R,$))+Math.imul(F,V)|0,o=Math.imul(F,$),n=n+Math.imul(B,G)|0,i=(i=i+Math.imul(B,W)|0)+Math.imul(j,G)|0,o=o+Math.imul(j,W)|0,n=n+Math.imul(O,X)|0,i=(i=i+Math.imul(O,J)|0)+Math.imul(I,X)|0,o=o+Math.imul(I,J)|0,n=n+Math.imul(C,Q)|0,i=(i=i+Math.imul(C,tt)|0)+Math.imul(L,Q)|0,o=o+Math.imul(L,tt)|0,n=n+Math.imul(M,rt)|0,i=(i=i+Math.imul(M,nt)|0)+Math.imul(A,rt)|0,o=o+Math.imul(A,nt)|0,n=n+Math.imul(k,ot)|0,i=(i=i+Math.imul(k,at)|0)+Math.imul(S,ot)|0,o=o+Math.imul(S,at)|0,n=n+Math.imul(_,ut)|0,i=(i=i+Math.imul(_,ct)|0)+Math.imul(w,ut)|0,o=o+Math.imul(w,ct)|0,n=n+Math.imul(y,ht)|0,i=(i=i+Math.imul(y,ft)|0)+Math.imul(v,ht)|0,o=o+Math.imul(v,ft)|0;var Mt=(c+(n=n+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;c=((o=o+Math.imul(m,mt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,n=Math.imul(R,G),i=(i=Math.imul(R,W))+Math.imul(F,G)|0,o=Math.imul(F,W),n=n+Math.imul(B,X)|0,i=(i=i+Math.imul(B,J)|0)+Math.imul(j,X)|0,o=o+Math.imul(j,J)|0,n=n+Math.imul(O,Q)|0,i=(i=i+Math.imul(O,tt)|0)+Math.imul(I,Q)|0,o=o+Math.imul(I,tt)|0,n=n+Math.imul(C,rt)|0,i=(i=i+Math.imul(C,nt)|0)+Math.imul(L,rt)|0,o=o+Math.imul(L,nt)|0,n=n+Math.imul(M,ot)|0,i=(i=i+Math.imul(M,at)|0)+Math.imul(A,ot)|0,o=o+Math.imul(A,at)|0,n=n+Math.imul(k,ut)|0,i=(i=i+Math.imul(k,ct)|0)+Math.imul(S,ut)|0,o=o+Math.imul(S,ct)|0,n=n+Math.imul(_,ht)|0,i=(i=i+Math.imul(_,ft)|0)+Math.imul(w,ht)|0,o=o+Math.imul(w,ft)|0;var At=(c+(n=n+Math.imul(y,pt)|0)|0)+((8191&(i=(i=i+Math.imul(y,mt)|0)+Math.imul(v,pt)|0))<<13)|0;c=((o=o+Math.imul(v,mt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,n=Math.imul(R,X),i=(i=Math.imul(R,J))+Math.imul(F,X)|0,o=Math.imul(F,J),n=n+Math.imul(B,Q)|0,i=(i=i+Math.imul(B,tt)|0)+Math.imul(j,Q)|0,o=o+Math.imul(j,tt)|0,n=n+Math.imul(O,rt)|0,i=(i=i+Math.imul(O,nt)|0)+Math.imul(I,rt)|0,o=o+Math.imul(I,nt)|0,n=n+Math.imul(C,ot)|0,i=(i=i+Math.imul(C,at)|0)+Math.imul(L,ot)|0,o=o+Math.imul(L,at)|0,n=n+Math.imul(M,ut)|0,i=(i=i+Math.imul(M,ct)|0)+Math.imul(A,ut)|0,o=o+Math.imul(A,ct)|0,n=n+Math.imul(k,ht)|0,i=(i=i+Math.imul(k,ft)|0)+Math.imul(S,ht)|0,o=o+Math.imul(S,ft)|0;var Tt=(c+(n=n+Math.imul(_,pt)|0)|0)+((8191&(i=(i=i+Math.imul(_,mt)|0)+Math.imul(w,pt)|0))<<13)|0;c=((o=o+Math.imul(w,mt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,n=Math.imul(R,Q),i=(i=Math.imul(R,tt))+Math.imul(F,Q)|0,o=Math.imul(F,tt),n=n+Math.imul(B,rt)|0,i=(i=i+Math.imul(B,nt)|0)+Math.imul(j,rt)|0,o=o+Math.imul(j,nt)|0,n=n+Math.imul(O,ot)|0,i=(i=i+Math.imul(O,at)|0)+Math.imul(I,ot)|0,o=o+Math.imul(I,at)|0,n=n+Math.imul(C,ut)|0,i=(i=i+Math.imul(C,ct)|0)+Math.imul(L,ut)|0,o=o+Math.imul(L,ct)|0,n=n+Math.imul(M,ht)|0,i=(i=i+Math.imul(M,ft)|0)+Math.imul(A,ht)|0,o=o+Math.imul(A,ft)|0;var Ct=(c+(n=n+Math.imul(k,pt)|0)|0)+((8191&(i=(i=i+Math.imul(k,mt)|0)+Math.imul(S,pt)|0))<<13)|0;c=((o=o+Math.imul(S,mt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(R,rt),i=(i=Math.imul(R,nt))+Math.imul(F,rt)|0,o=Math.imul(F,nt),n=n+Math.imul(B,ot)|0,i=(i=i+Math.imul(B,at)|0)+Math.imul(j,ot)|0,o=o+Math.imul(j,at)|0,n=n+Math.imul(O,ut)|0,i=(i=i+Math.imul(O,ct)|0)+Math.imul(I,ut)|0,o=o+Math.imul(I,ct)|0,n=n+Math.imul(C,ht)|0,i=(i=i+Math.imul(C,ft)|0)+Math.imul(L,ht)|0,o=o+Math.imul(L,ft)|0;var Lt=(c+(n=n+Math.imul(M,pt)|0)|0)+((8191&(i=(i=i+Math.imul(M,mt)|0)+Math.imul(A,pt)|0))<<13)|0;c=((o=o+Math.imul(A,mt)|0)+(i>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,n=Math.imul(R,ot),i=(i=Math.imul(R,at))+Math.imul(F,ot)|0,o=Math.imul(F,at),n=n+Math.imul(B,ut)|0,i=(i=i+Math.imul(B,ct)|0)+Math.imul(j,ut)|0,o=o+Math.imul(j,ct)|0,n=n+Math.imul(O,ht)|0,i=(i=i+Math.imul(O,ft)|0)+Math.imul(I,ht)|0,o=o+Math.imul(I,ft)|0;var Pt=(c+(n=n+Math.imul(C,pt)|0)|0)+((8191&(i=(i=i+Math.imul(C,mt)|0)+Math.imul(L,pt)|0))<<13)|0;c=((o=o+Math.imul(L,mt)|0)+(i>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(R,ut),i=(i=Math.imul(R,ct))+Math.imul(F,ut)|0,o=Math.imul(F,ct),n=n+Math.imul(B,ht)|0,i=(i=i+Math.imul(B,ft)|0)+Math.imul(j,ht)|0,o=o+Math.imul(j,ft)|0;var Ot=(c+(n=n+Math.imul(O,pt)|0)|0)+((8191&(i=(i=i+Math.imul(O,mt)|0)+Math.imul(I,pt)|0))<<13)|0;c=((o=o+Math.imul(I,mt)|0)+(i>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(R,ht),i=(i=Math.imul(R,ft))+Math.imul(F,ht)|0,o=Math.imul(F,ft);var It=(c+(n=n+Math.imul(B,pt)|0)|0)+((8191&(i=(i=i+Math.imul(B,mt)|0)+Math.imul(j,pt)|0))<<13)|0;c=((o=o+Math.imul(j,mt)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863;var Dt=(c+(n=Math.imul(R,pt))|0)+((8191&(i=(i=Math.imul(R,mt))+Math.imul(F,pt)|0))<<13)|0;return c=((o=Math.imul(F,mt))+(i>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,u[0]=gt,u[1]=yt,u[2]=vt,u[3]=bt,u[4]=_t,u[5]=wt,u[6]=xt,u[7]=kt,u[8]=St,u[9]=Et,u[10]=Mt,u[11]=At,u[12]=Tt,u[13]=Ct,u[14]=Lt,u[15]=Pt,u[16]=Ot,u[17]=It,u[18]=Dt,0!==c&&(u[19]=c,r.length++),r};function v(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,i=0,o=0;o<r.length-1;o++){var a=i;i=0;for(var s=67108863&n,u=Math.min(o,e.length-1),c=Math.max(0,o-t.length+1);c<=u;c++){var l=o-c,h=(0|t.words[l])*(0|e.words[c]),f=67108863&h;s=67108863&(f=f+s|0),i+=(a=(a=a+(h/67108864|0)|0)+(f>>>26)|0)>>>26,a&=67108863}r.words[o]=s,n=a,a=i}return 0!==n?r.words[o]=n:r.length--,r._strip()}function b(t,e,r){return v(t,e,r)}function _(t,e){this.x=t,this.y=e}Math.imul||(y=g),a.prototype.mulTo=function(t,e){var r=this.length+t.length;return 10===this.length&&10===t.length?y(this,t,e):r<63?g(this,t,e):r<1024?v(this,t,e):b(this,t,e)},_.prototype.makeRBT=function(t){for(var e=new Array(t),r=a.prototype._countBits(t)-1,n=0;n<t;n++)e[n]=this.revBin(n,r,t);return e},_.prototype.revBin=function(t,e,r){if(0===t||t===r-1)return t;for(var n=0,i=0;i<e;i++)n|=(1&t)<<e-i-1,t>>=1;return n},_.prototype.permute=function(t,e,r,n,i,o){for(var a=0;a<o;a++)n[a]=e[t[a]],i[a]=r[t[a]]},_.prototype.transform=function(t,e,r,n,i,o){this.permute(o,t,e,r,n,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,u=Math.cos(2*Math.PI/s),c=Math.sin(2*Math.PI/s),l=0;l<i;l+=s)for(var h=u,f=c,d=0;d<a;d++){var p=r[l+d],m=n[l+d],g=r[l+d+a],y=n[l+d+a],v=h*g-f*y;y=h*y+f*g,g=v,r[l+d]=p+g,n[l+d]=m+y,r[l+d+a]=p-g,n[l+d+a]=m-y,d!==s&&(v=u*h-c*f,f=u*f+c*h,h=v)}},_.prototype.guessLen13b=function(t,e){var r=1|Math.max(e,t),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},_.prototype.conjugate=function(t,e,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=t[n];t[n]=t[r-n-1],t[r-n-1]=i,i=e[n],e[n]=-e[r-n-1],e[r-n-1]=-i}},_.prototype.normalize13b=function(t,e){for(var r=0,n=0;n<e/2;n++){var i=8192*Math.round(t[2*n+1]/e)+Math.round(t[2*n]/e)+r;t[n]=67108863&i,r=i<67108864?0:i/67108864|0}return t},_.prototype.convert13b=function(t,e,r,n){for(var o=0,a=0;a<e;a++)o+=0|t[a],r[2*a]=8191&o,o>>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*e;a<n;++a)r[a]=0;i(0===o),i(0==(-8192&o))},_.prototype.stub=function(t){for(var e=new Array(t),r=0;r<t;r++)e[r]=0;return e},_.prototype.mulp=function(t,e,r){var n=2*this.guessLen13b(t.length,e.length),i=this.makeRBT(n),o=this.stub(n),a=new Array(n),s=new Array(n),u=new Array(n),c=new Array(n),l=new Array(n),h=new Array(n),f=r.words;f.length=n,this.convert13b(t.words,t.length,a,n),this.convert13b(e.words,e.length,c,n),this.transform(a,o,s,u,n,i),this.transform(c,o,l,h,n,i);for(var d=0;d<n;d++){var p=s[d]*l[d]-u[d]*h[d];u[d]=s[d]*h[d]+u[d]*l[d],s[d]=p}return this.conjugate(s,u,n),this.transform(s,u,f,o,n,i),this.conjugate(f,o,n),this.normalize13b(f,n),r.negative=t.negative^e.negative,r.length=t.length+e.length,r._strip()},a.prototype.mul=function(t){var e=new a(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},a.prototype.mulf=function(t){var e=new a(null);return e.words=new Array(this.length+t.length),b(this,t,e)},a.prototype.imul=function(t){return this.clone().mulTo(t,this)},a.prototype.imuln=function(t){var e=t<0;e&&(t=-t),i("number"==typeof t),i(t<67108864);for(var r=0,n=0;n<this.length;n++){var o=(0|this.words[n])*t,a=(67108863&o)+(67108863&r);r>>=26,r+=o/67108864|0,r+=a>>>26,this.words[n]=67108863&a}return 0!==r&&(this.words[n]=r,this.length++),e?this.ineg():this},a.prototype.muln=function(t){return this.clone().imuln(t)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r<e.length;r++){var n=r/26|0,i=r%26;e[r]=t.words[n]>>>i&1}return e}(t);if(0===e.length)return new a(1);for(var r=this,n=0;n<e.length&&0===e[n];n++,r=r.sqr());if(++n<e.length)for(var i=r.sqr();n<e.length;n++,i=i.sqr())0!==e[n]&&(r=r.mul(i));return r},a.prototype.iushln=function(t){i("number"==typeof t&&t>=0);var e,r=t%26,n=(t-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(e=0;e<this.length;e++){var s=this.words[e]&o,u=(0|this.words[e])-s<<r;this.words[e]=u|a,a=s>>>26-r}a&&(this.words[e]=a,this.length++)}if(0!==n){for(e=this.length-1;e>=0;e--)this.words[e+n]=this.words[e];for(e=0;e<n;e++)this.words[e]=0;this.length+=n}return this._strip()},a.prototype.ishln=function(t){return i(0===this.negative),this.iushln(t)},a.prototype.iushrn=function(t,e,r){var n;i("number"==typeof t&&t>=0),n=e?(e-e%26)/26:0;var o=t%26,a=Math.min((t-o)/26,this.length),s=67108863^67108863>>>o<<o,u=r;if(n-=a,n=Math.max(0,n),u){for(var c=0;c<a;c++)u.words[c]=this.words[c];u.length=a}if(0===a);else if(this.length>a)for(this.length-=a,c=0;c<this.length;c++)this.words[c]=this.words[c+a];else this.words[0]=0,this.length=1;var l=0;for(c=this.length-1;c>=0&&(0!==l||c>=n);c--){var h=0|this.words[c];this.words[c]=l<<26-o|h>>>o,l=h&s}return u&&0!==l&&(u.words[u.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},a.prototype.ishrn=function(t,e,r){return i(0===this.negative),this.iushrn(t,e,r)},a.prototype.shln=function(t){return this.clone().ishln(t)},a.prototype.ushln=function(t){return this.clone().iushln(t)},a.prototype.shrn=function(t){return this.clone().ishrn(t)},a.prototype.ushrn=function(t){return this.clone().iushrn(t)},a.prototype.testn=function(t){i("number"==typeof t&&t>=0);var e=t%26,r=(t-e)/26,n=1<<e;return!(this.length<=r||!(this.words[r]&n))},a.prototype.imaskn=function(t){i("number"==typeof t&&t>=0);var e=t%26,r=(t-e)/26;if(i(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==e&&r++,this.length=Math.min(r,this.length),0!==e){var n=67108863^67108863>>>e<<e;this.words[this.length-1]&=n}return this._strip()},a.prototype.maskn=function(t){return this.clone().imaskn(t)},a.prototype.iaddn=function(t){return i("number"==typeof t),i(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<=t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},a.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[e]>=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},a.prototype.isubn=function(t){if(i("number"==typeof t),i(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this._strip()},a.prototype.addn=function(t){return this.clone().iaddn(t)},a.prototype.subn=function(t){return this.clone().isubn(t)},a.prototype.iabs=function(){return this.negative=0,this},a.prototype.abs=function(){return this.clone().iabs()},a.prototype._ishlnsubmul=function(t,e,r){var n,o,a=t.length+r;this._expand(a);var s=0;for(n=0;n<t.length;n++){o=(0|this.words[n+r])+s;var u=(0|t.words[n])*e;s=((o-=67108863&u)>>26)-(u/67108864|0),this.words[n+r]=67108863&o}for(;n<this.length-r;n++)s=(o=(0|this.words[n+r])+s)>>26,this.words[n+r]=67108863&o;if(0===s)return this._strip();for(i(-1===s),s=0,n=0;n<this.length;n++)s=(o=-(0|this.words[n])+s)>>26,this.words[n]=67108863&o;return this.negative=1,this._strip()},a.prototype._wordDiv=function(t,e){var r=(this.length,t.length),n=this.clone(),i=t,o=0|i.words[i.length-1];0!=(r=26-this._countBits(o))&&(i=i.ushln(r),n.iushln(r),o=0|i.words[i.length-1]);var s,u=n.length-i.length;if("mod"!==e){(s=new a(null)).length=u+1,s.words=new Array(s.length);for(var c=0;c<s.length;c++)s.words[c]=0}var l=n.clone()._ishlnsubmul(i,1,u);0===l.negative&&(n=l,s&&(s.words[u]=1));for(var h=u-1;h>=0;h--){var f=67108864*(0|n.words[i.length+h])+(0|n.words[i.length+h-1]);for(f=Math.min(f/o|0,67108863),n._ishlnsubmul(i,f,h);0!==n.negative;)f--,n.negative=0,n._ishlnsubmul(i,1,h),n.isZero()||(n.negative^=1);s&&(s.words[h]=f)}return s&&s._strip(),n._strip(),"div"!==e&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},a.prototype.divmod=function(t,e,r){return i(!t.isZero()),this.isZero()?{div:new a(0),mod:new a(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(n=s.div.neg()),"div"!==e&&(o=s.mod.neg(),r&&0!==o.negative&&o.iadd(t)),{div:n,mod:o}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(n=s.div.neg()),{div:n,mod:s.mod}):0!=(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(o=s.mod.neg(),r&&0!==o.negative&&o.isub(t)),{div:s.div,mod:o}):t.length>this.length||this.cmp(t)<0?{div:new a(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new a(this.modrn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new a(this.modrn(t.words[0]))}:this._wordDiv(t,e);var n,o,s},a.prototype.div=function(t){return this.divmod(t,"div",!1).div},a.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},a.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},a.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),i=t.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},a.prototype.modrn=function(t){var e=t<0;e&&(t=-t),i(t<=67108863);for(var r=(1<<26)%t,n=0,o=this.length-1;o>=0;o--)n=(r*n+(0|this.words[o]))%t;return e?-n:n},a.prototype.modn=function(t){return this.modrn(t)},a.prototype.idivn=function(t){var e=t<0;e&&(t=-t),i(t<=67108863);for(var r=0,n=this.length-1;n>=0;n--){var o=(0|this.words[n])+67108864*r;this.words[n]=o/t|0,r=o%t}return this._strip(),e?this.ineg():this},a.prototype.divn=function(t){return this.clone().idivn(t)},a.prototype.egcd=function(t){i(0===t.negative),i(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var n=new a(1),o=new a(0),s=new a(0),u=new a(1),c=0;e.isEven()&&r.isEven();)e.iushrn(1),r.iushrn(1),++c;for(var l=r.clone(),h=e.clone();!e.isZero();){for(var f=0,d=1;0==(e.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(e.iushrn(f);f-- >0;)(n.isOdd()||o.isOdd())&&(n.iadd(l),o.isub(h)),n.iushrn(1),o.iushrn(1);for(var p=0,m=1;0==(r.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||u.isOdd())&&(s.iadd(l),u.isub(h)),s.iushrn(1),u.iushrn(1);e.cmp(r)>=0?(e.isub(r),n.isub(s),o.isub(u)):(r.isub(e),s.isub(n),u.isub(o))}return{a:s,b:u,gcd:r.iushln(c)}},a.prototype._invmp=function(t){i(0===t.negative),i(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var n,o=new a(1),s=new a(0),u=r.clone();e.cmpn(1)>0&&r.cmpn(1)>0;){for(var c=0,l=1;0==(e.words[0]&l)&&c<26;++c,l<<=1);if(c>0)for(e.iushrn(c);c-- >0;)o.isOdd()&&o.iadd(u),o.iushrn(1);for(var h=0,f=1;0==(r.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(r.iushrn(h);h-- >0;)s.isOdd()&&s.iadd(u),s.iushrn(1);e.cmp(r)>=0?(e.isub(r),o.isub(s)):(r.isub(e),s.isub(o))}return(n=0===e.cmpn(1)?o:s).cmpn(0)<0&&n.iadd(t),n},a.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),r=t.clone();e.negative=0,r.negative=0;for(var n=0;e.isEven()&&r.isEven();n++)e.iushrn(1),r.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=e.cmp(r);if(i<0){var o=e;e=r,r=o}else if(0===i||0===r.cmpn(1))break;e.isub(r)}return r.iushln(n)},a.prototype.invm=function(t){return this.egcd(t).a.umod(t)},a.prototype.isEven=function(){return 0==(1&this.words[0])},a.prototype.isOdd=function(){return 1==(1&this.words[0])},a.prototype.andln=function(t){return this.words[0]&t},a.prototype.bincn=function(t){i("number"==typeof t);var e=t%26,r=(t-e)/26,n=1<<e;if(this.length<=r)return this._expand(r+1),this.words[r]|=n,this;for(var o=n,a=r;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},a.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},a.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this._strip(),this.length>1)e=1;else{r&&(t=-t),i(t<=67108863,"Number is too big");var n=0|this.words[0];e=n===t?0:n<t?-1:1}return 0!==this.negative?0|-e:e},a.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},a.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|t.words[r];if(n!==i){n<i?e=-1:n>i&&(e=1);break}}return e},a.prototype.gtn=function(t){return 1===this.cmpn(t)},a.prototype.gt=function(t){return 1===this.cmp(t)},a.prototype.gten=function(t){return this.cmpn(t)>=0},a.prototype.gte=function(t){return this.cmp(t)>=0},a.prototype.ltn=function(t){return-1===this.cmpn(t)},a.prototype.lt=function(t){return-1===this.cmp(t)},a.prototype.lten=function(t){return this.cmpn(t)<=0},a.prototype.lte=function(t){return this.cmp(t)<=0},a.prototype.eqn=function(t){return 0===this.cmpn(t)},a.prototype.eq=function(t){return 0===this.cmp(t)},a.red=function(t){return new A(t)},a.prototype.toRed=function(t){return i(!this.red,"Already a number in reduction context"),i(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},a.prototype.fromRed=function(){return i(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},a.prototype._forceRed=function(t){return this.red=t,this},a.prototype.forceRed=function(t){return i(!this.red,"Already a number in reduction context"),this._forceRed(t)},a.prototype.redAdd=function(t){return i(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},a.prototype.redIAdd=function(t){return i(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},a.prototype.redSub=function(t){return i(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},a.prototype.redISub=function(t){return i(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},a.prototype.redShl=function(t){return i(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},a.prototype.redMul=function(t){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},a.prototype.redIMul=function(t){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},a.prototype.redSqr=function(){return i(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return i(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return i(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return i(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return i(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},a.prototype.redPow=function(t){return i(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var w={k256:null,p224:null,p192:null,p25519:null};function x(t,e){this.name=t,this.p=new a(e,16),this.n=this.p.bitLength(),this.k=new a(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function k(){x.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function S(){x.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function E(){x.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function M(){x.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function A(t){if("string"==typeof t){var e=a._prime(t);this.m=e.p,this.prime=e}else i(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function T(t){A.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new a(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)}x.prototype._tmp=function(){var t=new a(null);return t.words=new Array(Math.ceil(this.n/13)),t},x.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},x.prototype.split=function(t,e){t.iushrn(this.n,0,e)},x.prototype.imulK=function(t){return t.imul(this.k)},o(k,x),k.prototype.split=function(t,e){for(var r=4194303,n=Math.min(t.length,9),i=0;i<n;i++)e.words[i]=t.words[i];if(e.length=n,t.length<=9)return t.words[0]=0,void(t.length=1);var o=t.words[9];for(e.words[e.length++]=o&r,i=10;i<t.length;i++){var a=0|t.words[i];t.words[i-10]=(a&r)<<4|o>>>22,o=a}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},k.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,r=0;r<t.length;r++){var n=0|t.words[r];e+=977*n,t.words[r]=67108863&e,e=64*n+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},o(S,x),o(E,x),o(M,x),M.prototype.imulK=function(t){for(var e=0,r=0;r<t.length;r++){var n=19*(0|t.words[r])+e,i=67108863&n;n>>>=26,t.words[r]=i,e=n}return 0!==e&&(t.words[t.length++]=e),t},a._prime=function(t){if(w[t])return w[t];var e;if("k256"===t)e=new k;else if("p224"===t)e=new S;else if("p192"===t)e=new E;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new M}return w[t]=e,e},A.prototype._verify1=function(t){i(0===t.negative,"red works only with positives"),i(t.red,"red works only with red numbers")},A.prototype._verify2=function(t,e){i(0==(t.negative|e.negative),"red works only with positives"),i(t.red&&t.red===e.red,"red works only with red numbers")},A.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):(h(t,t.umod(this.m)._forceRed(this)),t)},A.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},A.prototype.add=function(t,e){this._verify2(t,e);var r=t.add(e);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},A.prototype.iadd=function(t,e){this._verify2(t,e);var r=t.iadd(e);return r.cmp(this.m)>=0&&r.isub(this.m),r},A.prototype.sub=function(t,e){this._verify2(t,e);var r=t.sub(e);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},A.prototype.isub=function(t,e){this._verify2(t,e);var r=t.isub(e);return r.cmpn(0)<0&&r.iadd(this.m),r},A.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},A.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},A.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},A.prototype.isqr=function(t){return this.imul(t,t.clone())},A.prototype.sqr=function(t){return this.mul(t,t)},A.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(i(e%2==1),3===e){var r=this.m.add(new a(1)).iushrn(2);return this.pow(t,r)}for(var n=this.m.subn(1),o=0;!n.isZero()&&0===n.andln(1);)o++,n.iushrn(1);i(!n.isZero());var s=new a(1).toRed(this),u=s.redNeg(),c=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new a(2*l*l).toRed(this);0!==this.pow(l,c).cmp(u);)l.redIAdd(u);for(var h=this.pow(l,n),f=this.pow(t,n.addn(1).iushrn(1)),d=this.pow(t,n),p=o;0!==d.cmp(s);){for(var m=d,g=0;0!==m.cmp(s);g++)m=m.redSqr();i(g<p);var y=this.pow(h,new a(1).iushln(p-g-1));f=f.redMul(y),h=y.redSqr(),d=d.redMul(h),p=g}return f},A.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},A.prototype.pow=function(t,e){if(e.isZero())return new a(1).toRed(this);if(0===e.cmpn(1))return t.clone();var r=new Array(16);r[0]=new a(1).toRed(this),r[1]=t;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],t);var i=r[0],o=0,s=0,u=e.bitLength()%26;for(0===u&&(u=26),n=e.length-1;n>=0;n--){for(var c=e.words[n],l=u-1;l>=0;l--){var h=c>>l&1;i!==r[0]&&(i=this.sqr(i)),0!==h||0!==o?(o<<=1,o|=h,(4==++s||0===n&&0===l)&&(i=this.mul(i,r[o]),s=0,o=0)):s=0}u=26}return i},A.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},A.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},a.mont=function(t){return new T(t)},o(T,A),T.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},T.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},T.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var r=t.imul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},T.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new a(0)._forceRed(this);var r=t.mul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},T.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t)},82202:(t,e,r)=>{"use strict";var n,i=r(28847)(r(3355));function o(t){this.rand=t}if(t.exports=function(t){return n||(n=new o(null)),n.generate(t)},t.exports.Rand=o,o.prototype.generate=function(t){return this._rand(t)},o.prototype._rand=function(t){if(this.rand.getBytes)return this.rand.getBytes(t);for(var e=new Uint8Array(t),r=0;r<e.length;r++)e[r]=this.rand.getByte();return e},"object"===("undefined"==typeof self?"undefined":(0,i.default)(self)))self.crypto&&self.crypto.getRandomValues?o.prototype._rand=function(t){var e=new Uint8Array(t);return self.crypto.getRandomValues(e),e}:self.msCrypto&&self.msCrypto.getRandomValues?o.prototype._rand=function(t){var e=new Uint8Array(t);return self.msCrypto.getRandomValues(e),e}:"object"===("undefined"==typeof window?"undefined":(0,i.default)(window))&&(o.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var a=r(89214);if("function"!=typeof a.randomBytes)throw new Error("Not supported");o.prototype._rand=function(t){return a.randomBytes(t)}}catch(t){}},37494:(t,e,r)=>{"use strict";var n=r(48850).Buffer;function i(t){n.isBuffer(t)||(t=n.from(t));for(var e=t.length/4|0,r=new Array(e),i=0;i<e;i++)r[i]=t.readUInt32BE(4*i);return r}function o(t){for(;0<t.length;t++)t[0]=0}function a(t,e,r,n,i){for(var o,a,s,u,c=r[0],l=r[1],h=r[2],f=r[3],d=t[0]^e[0],p=t[1]^e[1],m=t[2]^e[2],g=t[3]^e[3],y=4,v=1;v<i;v++)o=c[d>>>24]^l[p>>>16&255]^h[m>>>8&255]^f[255&g]^e[y++],a=c[p>>>24]^l[m>>>16&255]^h[g>>>8&255]^f[255&d]^e[y++],s=c[m>>>24]^l[g>>>16&255]^h[d>>>8&255]^f[255&p]^e[y++],u=c[g>>>24]^l[d>>>16&255]^h[p>>>8&255]^f[255&m]^e[y++],d=o,p=a,m=s,g=u;return o=(n[d>>>24]<<24|n[p>>>16&255]<<16|n[m>>>8&255]<<8|n[255&g])^e[y++],a=(n[p>>>24]<<24|n[m>>>16&255]<<16|n[g>>>8&255]<<8|n[255&d])^e[y++],s=(n[m>>>24]<<24|n[g>>>16&255]<<16|n[d>>>8&255]<<8|n[255&p])^e[y++],u=(n[g>>>24]<<24|n[d>>>16&255]<<16|n[p>>>8&255]<<8|n[255&m])^e[y++],[o>>>=0,a>>>=0,s>>>=0,u>>>=0]}var s=[0,1,2,4,8,16,32,64,128,27,54],u=function(){for(var t=new Array(256),e=0;e<256;e++)t[e]=e<128?e<<1:e<<1^283;for(var r=[],n=[],i=[[],[],[],[]],o=[[],[],[],[]],a=0,s=0,u=0;u<256;++u){var c=s^s<<1^s<<2^s<<3^s<<4;c=c>>>8^255&c^99,r[a]=c,n[c]=a;var l=t[a],h=t[l],f=t[h],d=257*t[c]^16843008*c;i[0][a]=d<<24|d>>>8,i[1][a]=d<<16|d>>>16,i[2][a]=d<<8|d>>>24,i[3][a]=d,d=16843009*f^65537*h^257*l^16843008*a,o[0][c]=d<<24|d>>>8,o[1][c]=d<<16|d>>>16,o[2][c]=d<<8|d>>>24,o[3][c]=d,0===a?a=s=1:(a=l^t[t[t[f^l]]],s^=t[t[s]])}return{SBOX:r,INV_SBOX:n,SUB_MIX:i,INV_SUB_MIX:o}}();function c(t){this._key=i(t),this._reset()}c.blockSize=16,c.keySize=32,c.prototype.blockSize=c.blockSize,c.prototype.keySize=c.keySize,c.prototype._reset=function(){for(var t=this._key,e=t.length,r=e+6,n=4*(r+1),i=[],o=0;o<e;o++)i[o]=t[o];for(o=e;o<n;o++){var a=i[o-1];o%e==0?(a=a<<8|a>>>24,a=u.SBOX[a>>>24]<<24|u.SBOX[a>>>16&255]<<16|u.SBOX[a>>>8&255]<<8|u.SBOX[255&a],a^=s[o/e|0]<<24):e>6&&o%e==4&&(a=u.SBOX[a>>>24]<<24|u.SBOX[a>>>16&255]<<16|u.SBOX[a>>>8&255]<<8|u.SBOX[255&a]),i[o]=i[o-e]^a}for(var c=[],l=0;l<n;l++){var h=n-l,f=i[h-(l%4?0:4)];c[l]=l<4||h<=4?f:u.INV_SUB_MIX[0][u.SBOX[f>>>24]]^u.INV_SUB_MIX[1][u.SBOX[f>>>16&255]]^u.INV_SUB_MIX[2][u.SBOX[f>>>8&255]]^u.INV_SUB_MIX[3][u.SBOX[255&f]]}this._nRounds=r,this._keySchedule=i,this._invKeySchedule=c},c.prototype.encryptBlockRaw=function(t){return a(t=i(t),this._keySchedule,u.SUB_MIX,u.SBOX,this._nRounds)},c.prototype.encryptBlock=function(t){var e=this.encryptBlockRaw(t),r=n.allocUnsafe(16);return r.writeUInt32BE(e[0],0),r.writeUInt32BE(e[1],4),r.writeUInt32BE(e[2],8),r.writeUInt32BE(e[3],12),r},c.prototype.decryptBlock=function(t){var e=(t=i(t))[1];t[1]=t[3],t[3]=e;var r=a(t,this._invKeySchedule,u.INV_SUB_MIX,u.INV_SBOX,this._nRounds),o=n.allocUnsafe(16);return o.writeUInt32BE(r[0],0),o.writeUInt32BE(r[3],4),o.writeUInt32BE(r[2],8),o.writeUInt32BE(r[1],12),o},c.prototype.scrub=function(){o(this._keySchedule),o(this._invKeySchedule),o(this._key)},t.exports.AES=c},10426:(t,e,r)=>{"use strict";var n=r(37494),i=r(48850).Buffer,o=r(93013),a=r(41736),s=r(26626),u=r(96316),c=r(67557);function l(t,e,r,a){o.call(this);var u=i.alloc(4,0);this._cipher=new n.AES(e);var l=this._cipher.encryptBlock(u);this._ghash=new s(l),r=function(t,e,r){if(12===e.length)return t._finID=i.concat([e,i.from([0,0,0,1])]),i.concat([e,i.from([0,0,0,2])]);var n=new s(r),o=e.length,a=o%16;n.update(e),a&&(a=16-a,n.update(i.alloc(a,0))),n.update(i.alloc(8,0));var u=8*o,l=i.alloc(8);l.writeUIntBE(u,0,8),n.update(l),t._finID=n.state;var h=i.from(t._finID);return c(h),h}(this,r,l),this._prev=i.from(r),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=a,this._alen=0,this._len=0,this._mode=t,this._authTag=null,this._called=!1}a(l,o),l.prototype._update=function(t){if(!this._called&&this._alen){var e=16-this._alen%16;e<16&&(e=i.alloc(e,0),this._ghash.update(e))}this._called=!0;var r=this._mode.encrypt(this,t);return this._decrypt?this._ghash.update(t):this._ghash.update(r),this._len+=t.length,r},l.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var t=u(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(t,e){var r=0;t.length!==e.length&&r++;for(var n=Math.min(t.length,e.length),i=0;i<n;++i)r+=t[i]^e[i];return r}(t,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=t,this._cipher.scrub()},l.prototype.getAuthTag=function(){if(this._decrypt||!i.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},l.prototype.setAuthTag=function(t){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=t},l.prototype.setAAD=function(t){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(t),this._alen+=t.length},t.exports=l},98073:(t,e,r)=>{"use strict";var n=r(85478),i=r(32184),o=r(44946);e.createCipher=e.Cipher=n.createCipher,e.createCipheriv=e.Cipheriv=n.createCipheriv,e.createDecipher=e.Decipher=i.createDecipher,e.createDecipheriv=e.Decipheriv=i.createDecipheriv,e.listCiphers=e.getCiphers=function(){return Object.keys(o)}},32184:(t,e,r)=>{"use strict";var n=r(10426),i=r(48850).Buffer,o=r(58408),a=r(21408),s=r(93013),u=r(37494),c=r(27085);function l(t,e,r){s.call(this),this._cache=new h,this._last=void 0,this._cipher=new u.AES(e),this._prev=i.from(r),this._mode=t,this._autopadding=!0}function h(){this.cache=i.allocUnsafe(0)}function f(t,e,r){var s=o[t.toLowerCase()];if(!s)throw new TypeError("invalid suite type");if("string"==typeof r&&(r=i.from(r)),"GCM"!==s.mode&&r.length!==s.iv)throw new TypeError("invalid iv length "+r.length);if("string"==typeof e&&(e=i.from(e)),e.length!==s.key/8)throw new TypeError("invalid key length "+e.length);return"stream"===s.type?new a(s.module,e,r,!0):"auth"===s.type?new n(s.module,e,r,!0):new l(s.module,e,r)}r(41736)(l,s),l.prototype._update=function(t){var e,r;this._cache.add(t);for(var n=[];e=this._cache.get(this._autopadding);)r=this._mode.decrypt(this,e),n.push(r);return i.concat(n)},l.prototype._final=function(){var t=this._cache.flush();if(this._autopadding)return function(t){var e=t[15];if(e<1||e>16)throw new Error("unable to decrypt data");for(var r=-1;++r<e;)if(t[r+(16-e)]!==e)throw new Error("unable to decrypt data");if(16!==e)return t.slice(0,16-e)}(this._mode.decrypt(this,t));if(t)throw new Error("data not multiple of block length")},l.prototype.setAutoPadding=function(t){return this._autopadding=!!t,this},h.prototype.add=function(t){this.cache=i.concat([this.cache,t])},h.prototype.get=function(t){var e;if(t){if(this.cache.length>16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e}else if(this.cache.length>=16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e;return null},h.prototype.flush=function(){if(this.cache.length)return this.cache},e.createDecipher=function(t,e){var r=o[t.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var n=c(e,!1,r.key,r.iv);return f(t,n.key,n.iv)},e.createDecipheriv=f},85478:(t,e,r)=>{"use strict";var n=r(58408),i=r(10426),o=r(48850).Buffer,a=r(21408),s=r(93013),u=r(37494),c=r(27085);function l(t,e,r){s.call(this),this._cache=new f,this._cipher=new u.AES(e),this._prev=o.from(r),this._mode=t,this._autopadding=!0}r(41736)(l,s),l.prototype._update=function(t){var e,r;this._cache.add(t);for(var n=[];e=this._cache.get();)r=this._mode.encrypt(this,e),n.push(r);return o.concat(n)};var h=o.alloc(16,16);function f(){this.cache=o.allocUnsafe(0)}function d(t,e,r){var s=n[t.toLowerCase()];if(!s)throw new TypeError("invalid suite type");if("string"==typeof e&&(e=o.from(e)),e.length!==s.key/8)throw new TypeError("invalid key length "+e.length);if("string"==typeof r&&(r=o.from(r)),"GCM"!==s.mode&&r.length!==s.iv)throw new TypeError("invalid iv length "+r.length);return"stream"===s.type?new a(s.module,e,r):"auth"===s.type?new i(s.module,e,r):new l(s.module,e,r)}l.prototype._final=function(){var t=this._cache.flush();if(this._autopadding)return t=this._mode.encrypt(this,t),this._cipher.scrub(),t;if(!t.equals(h))throw this._cipher.scrub(),new Error("data not multiple of block length")},l.prototype.setAutoPadding=function(t){return this._autopadding=!!t,this},f.prototype.add=function(t){this.cache=o.concat([this.cache,t])},f.prototype.get=function(){if(this.cache.length>15){var t=this.cache.slice(0,16);return this.cache=this.cache.slice(16),t}return null},f.prototype.flush=function(){for(var t=16-this.cache.length,e=o.allocUnsafe(t),r=-1;++r<t;)e.writeUInt8(t,r);return o.concat([this.cache,e])},e.createCipheriv=d,e.createCipher=function(t,e){var r=n[t.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var i=c(e,!1,r.key,r.iv);return d(t,i.key,i.iv)}},26626:(t,e,r)=>{"use strict";var n=r(48850).Buffer,i=n.alloc(16,0);function o(t){var e=n.allocUnsafe(16);return e.writeUInt32BE(t[0]>>>0,0),e.writeUInt32BE(t[1]>>>0,4),e.writeUInt32BE(t[2]>>>0,8),e.writeUInt32BE(t[3]>>>0,12),e}function a(t){this.h=t,this.state=n.alloc(16,0),this.cache=n.allocUnsafe(0)}a.prototype.ghash=function(t){for(var e=-1;++e<t.length;)this.state[e]^=t[e];this._multiply()},a.prototype._multiply=function(){for(var t,e,r,n=[(t=this.h).readUInt32BE(0),t.readUInt32BE(4),t.readUInt32BE(8),t.readUInt32BE(12)],i=[0,0,0,0],a=-1;++a<128;){for(0!=(this.state[~~(a/8)]&1<<7-a%8)&&(i[0]^=n[0],i[1]^=n[1],i[2]^=n[2],i[3]^=n[3]),r=0!=(1&n[3]),e=3;e>0;e--)n[e]=n[e]>>>1|(1&n[e-1])<<31;n[0]=n[0]>>>1,r&&(n[0]=n[0]^225<<24)}this.state=o(i)},a.prototype.update=function(t){var e;for(this.cache=n.concat([this.cache,t]);this.cache.length>=16;)e=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(e)},a.prototype.final=function(t,e){return this.cache.length&&this.ghash(n.concat([this.cache,i],16)),this.ghash(o([0,t,0,e])),this.state},t.exports=a},67557:t=>{"use strict";t.exports=function(t){for(var e,r=t.length;r--;){if(255!==(e=t.readUInt8(r))){e++,t.writeUInt8(e,r);break}t.writeUInt8(0,r)}}},77427:(t,e,r)=>{"use strict";var n=r(96316);e.encrypt=function(t,e){var r=n(e,t._prev);return t._prev=t._cipher.encryptBlock(r),t._prev},e.decrypt=function(t,e){var r=t._prev;t._prev=e;var i=t._cipher.decryptBlock(e);return n(i,r)}},44030:(t,e,r)=>{"use strict";var n=r(48850).Buffer,i=r(96316);function o(t,e,r){var o=e.length,a=i(e,t._cache);return t._cache=t._cache.slice(o),t._prev=n.concat([t._prev,r?e:a]),a}e.encrypt=function(t,e,r){for(var i,a=n.allocUnsafe(0);e.length;){if(0===t._cache.length&&(t._cache=t._cipher.encryptBlock(t._prev),t._prev=n.allocUnsafe(0)),!(t._cache.length<=e.length)){a=n.concat([a,o(t,e,r)]);break}i=t._cache.length,a=n.concat([a,o(t,e.slice(0,i),r)]),e=e.slice(i)}return a}},13206:(t,e,r)=>{"use strict";var n=r(48850).Buffer;function i(t,e,r){for(var n,i,a=-1,s=0;++a<8;)n=e&1<<7-a?128:0,s+=(128&(i=t._cipher.encryptBlock(t._prev)[0]^n))>>a%8,t._prev=o(t._prev,r?n:i);return s}function o(t,e){var r=t.length,i=-1,o=n.allocUnsafe(t.length);for(t=n.concat([t,n.from([e])]);++i<r;)o[i]=t[i]<<1|t[i+1]>>7;return o}e.encrypt=function(t,e,r){for(var o=e.length,a=n.allocUnsafe(o),s=-1;++s<o;)a[s]=i(t,e[s],r);return a}},14726:(t,e,r)=>{"use strict";var n=r(48850).Buffer;function i(t,e,r){var i=t._cipher.encryptBlock(t._prev)[0]^e;return t._prev=n.concat([t._prev.slice(1),n.from([r?e:i])]),i}e.encrypt=function(t,e,r){for(var o=e.length,a=n.allocUnsafe(o),s=-1;++s<o;)a[s]=i(t,e[s],r);return a}},32802:(t,e,r)=>{"use strict";var n=r(96316),i=r(48850).Buffer,o=r(67557);function a(t){var e=t._cipher.encryptBlockRaw(t._prev);return o(t._prev),e}e.encrypt=function(t,e){var r=Math.ceil(e.length/16),o=t._cache.length;t._cache=i.concat([t._cache,i.allocUnsafe(16*r)]);for(var s=0;s<r;s++){var u=a(t),c=o+16*s;t._cache.writeUInt32BE(u[0],c+0),t._cache.writeUInt32BE(u[1],c+4),t._cache.writeUInt32BE(u[2],c+8),t._cache.writeUInt32BE(u[3],c+12)}var l=t._cache.slice(0,e.length);return t._cache=t._cache.slice(e.length),n(e,l)}},59297:(t,e)=>{"use strict";e.encrypt=function(t,e){return t._cipher.encryptBlock(e)},e.decrypt=function(t,e){return t._cipher.decryptBlock(e)}},58408:(t,e,r)=>{"use strict";var n={ECB:r(59297),CBC:r(77427),CFB:r(44030),CFB8:r(14726),CFB1:r(13206),OFB:r(91962),CTR:r(32802),GCM:r(32802)},i=r(44946);for(var o in i)i[o].module=n[i[o].mode];t.exports=i},91962:(t,e,r)=>{"use strict";var n=r(29033).Buffer,i=r(96316);function o(t){return t._prev=t._cipher.encryptBlock(t._prev),t._prev}e.encrypt=function(t,e){for(;t._cache.length<e.length;)t._cache=n.concat([t._cache,o(t)]);var r=t._cache.slice(0,e.length);return t._cache=t._cache.slice(e.length),i(e,r)}},21408:(t,e,r)=>{"use strict";var n=r(37494),i=r(48850).Buffer,o=r(93013);function a(t,e,r,a){o.call(this),this._cipher=new n.AES(e),this._prev=i.from(r),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=a,this._mode=t}r(41736)(a,o),a.prototype._update=function(t){return this._mode.encrypt(this,t,this._decrypt)},a.prototype._final=function(){this._cipher.scrub()},t.exports=a},56805:(t,e,r)=>{"use strict";var n=r(19120),i=r(98073),o=r(58408),a=r(30867),s=r(27085);function u(t,e,r){if(t=t.toLowerCase(),o[t])return i.createCipheriv(t,e,r);if(a[t])return new n({key:e,iv:r,mode:t});throw new TypeError("invalid suite type")}function c(t,e,r){if(t=t.toLowerCase(),o[t])return i.createDecipheriv(t,e,r);if(a[t])return new n({key:e,iv:r,mode:t,decrypt:!0});throw new TypeError("invalid suite type")}e.createCipher=e.Cipher=function(t,e){var r,n;if(t=t.toLowerCase(),o[t])r=o[t].key,n=o[t].iv;else{if(!a[t])throw new TypeError("invalid suite type");r=8*a[t].key,n=a[t].iv}var i=s(e,!1,r,n);return u(t,i.key,i.iv)},e.createCipheriv=e.Cipheriv=u,e.createDecipher=e.Decipher=function(t,e){var r,n;if(t=t.toLowerCase(),o[t])r=o[t].key,n=o[t].iv;else{if(!a[t])throw new TypeError("invalid suite type");r=8*a[t].key,n=a[t].iv}var i=s(e,!1,r,n);return c(t,i.key,i.iv)},e.createDecipheriv=e.Decipheriv=c,e.listCiphers=e.getCiphers=function(){return Object.keys(a).concat(i.getCiphers())}},19120:(t,e,r)=>{"use strict";var n=r(93013),i=r(75626),o=r(41736),a=r(48850).Buffer,s={"des-ede3-cbc":i.CBC.instantiate(i.EDE),"des-ede3":i.EDE,"des-ede-cbc":i.CBC.instantiate(i.EDE),"des-ede":i.EDE,"des-cbc":i.CBC.instantiate(i.DES),"des-ecb":i.DES};function u(t){n.call(this);var e,r=t.mode.toLowerCase(),i=s[r];e=t.decrypt?"decrypt":"encrypt";var o=t.key;a.isBuffer(o)||(o=a.from(o)),"des-ede"!==r&&"des-ede-cbc"!==r||(o=a.concat([o,o.slice(0,8)]));var u=t.iv;a.isBuffer(u)||(u=a.from(u)),this._des=i.create({key:o,iv:u,type:e})}s.des=s["des-cbc"],s.des3=s["des-ede3-cbc"],t.exports=u,o(u,n),u.prototype._update=function(t){return a.from(this._des.update(t))},u.prototype._final=function(){return a.from(this._des.final())}},30867:(t,e)=>{"use strict";e["des-ecb"]={key:8,iv:0},e["des-cbc"]=e.des={key:8,iv:8},e["des-ede3-cbc"]=e.des3={key:24,iv:8},e["des-ede3"]={key:24,iv:0},e["des-ede-cbc"]={key:16,iv:8},e["des-ede"]={key:16,iv:0}},99782:(t,e,r)=>{"use strict";var n=r(29033).Buffer,i=r(31734),o=r(75010);function a(t){var e,r=t.modulus.byteLength();do{e=new i(o(r))}while(e.cmp(t.modulus)>=0||!e.umod(t.prime1)||!e.umod(t.prime2));return e}function s(t,e){var r=function(t){var e=a(t);return{blinder:e.toRed(i.mont(t.modulus)).redPow(new i(t.publicExponent)).fromRed(),unblinder:e.invm(t.modulus)}}(e),o=e.modulus.byteLength(),s=new i(t).mul(r.blinder).umod(e.modulus),u=s.toRed(i.mont(e.prime1)),c=s.toRed(i.mont(e.prime2)),l=e.coefficient,h=e.prime1,f=e.prime2,d=u.redPow(e.exponent1).fromRed(),p=c.redPow(e.exponent2).fromRed(),m=d.isub(p).imul(l).umod(h).imul(f);return p.iadd(m).imul(r.unblinder).umod(e.modulus).toArrayLike(n,"be",o)}s.getr=a,t.exports=s},26561:(t,e,r)=>{"use strict";t.exports=r(75207)},79527:(t,e,r)=>{"use strict";var n=r(48850).Buffer,i=r(35866),o=r(86505),a=r(41736),s=r(11628),u=r(15410),c=r(75207);function l(t){o.Writable.call(this);var e=c[t];if(!e)throw new Error("Unknown message digest");this._hashType=e.hash,this._hash=i(e.hash),this._tag=e.id,this._signType=e.sign}function h(t){o.Writable.call(this);var e=c[t];if(!e)throw new Error("Unknown message digest");this._hash=i(e.hash),this._tag=e.id,this._signType=e.sign}function f(t){return new l(t)}function d(t){return new h(t)}Object.keys(c).forEach((function(t){c[t].id=n.from(c[t].id,"hex"),c[t.toLowerCase()]=c[t]})),a(l,o.Writable),l.prototype._write=function(t,e,r){this._hash.update(t),r()},l.prototype.update=function(t,e){return this._hash.update("string"==typeof t?n.from(t,e):t),this},l.prototype.sign=function(t,e){this.end();var r=this._hash.digest(),n=s(r,t,this._hashType,this._signType,this._tag);return e?n.toString(e):n},a(h,o.Writable),h.prototype._write=function(t,e,r){this._hash.update(t),r()},h.prototype.update=function(t,e){return this._hash.update("string"==typeof t?n.from(t,e):t),this},h.prototype.verify=function(t,e,r){var i="string"==typeof e?n.from(e,r):e;this.end();var o=this._hash.digest();return u(i,o,t,this._signType,this._tag)},t.exports={Sign:f,Verify:d,createSign:f,createVerify:d}},11628:(t,e,r)=>{"use strict";var n=r(48850).Buffer,i=r(34424),o=r(99782),a=r(36597).ec,s=r(31734),u=r(27552),c=r(1308);function l(t,e,r,o){if((t=n.from(t.toArray())).length<e.byteLength()){var a=n.alloc(e.byteLength()-t.length);t=n.concat([a,t])}var s=r.length,u=function(t,e){t=(t=h(t,e)).mod(e);var r=n.from(t.toArray());if(r.length<e.byteLength()){var i=n.alloc(e.byteLength()-r.length);r=n.concat([i,r])}return r}(r,e),c=n.alloc(s);c.fill(1);var l=n.alloc(s);return l=i(o,l).update(c).update(n.from([0])).update(t).update(u).digest(),c=i(o,l).update(c).digest(),{k:l=i(o,l).update(c).update(n.from([1])).update(t).update(u).digest(),v:c=i(o,l).update(c).digest()}}function h(t,e){var r=new s(t),n=(t.length<<3)-e.bitLength();return n>0&&r.ishrn(n),r}function f(t,e,r){var o,a;do{for(o=n.alloc(0);8*o.length<t.bitLength();)e.v=i(r,e.k).update(e.v).digest(),o=n.concat([o,e.v]);a=h(o,t),e.k=i(r,e.k).update(e.v).update(n.from([0])).digest(),e.v=i(r,e.k).update(e.v).digest()}while(-1!==a.cmp(t));return a}function d(t,e,r,n){return t.toRed(s.mont(r)).redPow(e).fromRed().mod(n)}t.exports=function(t,e,r,i,p){var m=u(e);if(m.curve){if("ecdsa"!==i&&"ecdsa/rsa"!==i)throw new Error("wrong private key type");return function(t,e){var r=c[e.curve.join(".")];if(!r)throw new Error("unknown curve "+e.curve.join("."));var i=new a(r).keyFromPrivate(e.privateKey).sign(t);return n.from(i.toDER())}(t,m)}if("dsa"===m.type){if("dsa"!==i)throw new Error("wrong private key type");return function(t,e,r){for(var i,o=e.params.priv_key,a=e.params.p,u=e.params.q,c=e.params.g,p=new s(0),m=h(t,u).mod(u),g=!1,y=l(o,u,t,r);!1===g;)p=d(c,i=f(u,y,r),a,u),0===(g=i.invm(u).imul(m.add(o.mul(p))).mod(u)).cmpn(0)&&(g=!1,p=new s(0));return function(t,e){t=t.toArray(),e=e.toArray(),128&t[0]&&(t=[0].concat(t)),128&e[0]&&(e=[0].concat(e));var r=[48,t.length+e.length+4,2,t.length];return r=r.concat(t,[2,e.length],e),n.from(r)}(p,g)}(t,m,r)}if("rsa"!==i&&"ecdsa/rsa"!==i)throw new Error("wrong private key type");if(void 0!==e.padding&&1!==e.padding)throw new Error("illegal or unsupported padding mode");t=n.concat([p,t]);for(var g=m.modulus.byteLength(),y=[0,1];t.length+y.length+1<g;)y.push(255);y.push(0);for(var v=-1;++v<t.length;)y.push(t[v]);return o(y,m)},t.exports.getKey=l,t.exports.makeKey=f},15410:(t,e,r)=>{"use strict";var n=r(48850).Buffer,i=r(31734),o=r(36597).ec,a=r(27552),s=r(1308);function u(t,e){if(t.cmpn(0)<=0)throw new Error("invalid sig");if(t.cmp(e)>=0)throw new Error("invalid sig")}t.exports=function(t,e,r,c,l){var h=a(r);if("ec"===h.type){if("ecdsa"!==c&&"ecdsa/rsa"!==c)throw new Error("wrong public key type");return function(t,e,r){var n=s[r.data.algorithm.curve.join(".")];if(!n)throw new Error("unknown curve "+r.data.algorithm.curve.join("."));var i=new o(n),a=r.data.subjectPrivateKey.data;return i.verify(e,t,a)}(t,e,h)}if("dsa"===h.type){if("dsa"!==c)throw new Error("wrong public key type");return function(t,e,r){var n=r.data.p,o=r.data.q,s=r.data.g,c=r.data.pub_key,l=a.signature.decode(t,"der"),h=l.s,f=l.r;u(h,o),u(f,o);var d=i.mont(n),p=h.invm(o);return 0===s.toRed(d).redPow(new i(e).mul(p).mod(o)).fromRed().mul(c.toRed(d).redPow(f.mul(p).mod(o)).fromRed()).mod(n).mod(o).cmp(f)}(t,e,h)}if("rsa"!==c&&"ecdsa/rsa"!==c)throw new Error("wrong public key type");e=n.concat([l,e]);for(var f=h.modulus.byteLength(),d=[1],p=0;e.length+d.length+2<f;)d.push(255),p+=1;d.push(0);for(var m=-1;++m<e.length;)d.push(e[m]);d=n.from(d);var g=i.mont(h.modulus);t=(t=new i(t).toRed(g)).redPow(new i(h.publicExponent)),t=n.from(t.fromRed().toArray());var y=p<8?1:0;for(f=Math.min(t.length,d.length),t.length!==d.length&&(y=1),m=-1;++m<f;)y|=t[m]^d[m];return 0===y}},19626:(t,e,r)=>{"use strict";var n=r(29033).Buffer,i=r(19142),o=r(3894),a=r(47563),s=r(54151),u=r(63534),c=r(29806);for(var l in c)e[l]=c[l];function h(t){if("number"!=typeof t||t<e.DEFLATE||t>e.UNZIP)throw new TypeError("Bad argument");this.dictionary=null,this.err=0,this.flush=0,this.init_done=!1,this.level=0,this.memLevel=0,this.mode=t,this.strategy=0,this.windowBits=0,this.write_in_progress=!1,this.pending_close=!1,this.gzip_id_bytes_read=0}e.NONE=0,e.DEFLATE=1,e.INFLATE=2,e.GZIP=3,e.GUNZIP=4,e.DEFLATERAW=5,e.INFLATERAW=6,e.UNZIP=7,h.prototype.close=function(){this.write_in_progress?this.pending_close=!0:(this.pending_close=!1,o(this.init_done,"close before init"),o(this.mode<=e.UNZIP),this.mode===e.DEFLATE||this.mode===e.GZIP||this.mode===e.DEFLATERAW?s.deflateEnd(this.strm):this.mode!==e.INFLATE&&this.mode!==e.GUNZIP&&this.mode!==e.INFLATERAW&&this.mode!==e.UNZIP||u.inflateEnd(this.strm),this.mode=e.NONE,this.dictionary=null)},h.prototype.write=function(t,e,r,n,i,o,a){return this._write(!0,t,e,r,n,i,o,a)},h.prototype.writeSync=function(t,e,r,n,i,o,a){return this._write(!1,t,e,r,n,i,o,a)},h.prototype._write=function(t,r,a,s,u,c,l,h){if(o.equal(arguments.length,8),o(this.init_done,"write before init"),o(this.mode!==e.NONE,"already finalized"),o.equal(!1,this.write_in_progress,"write already in progress"),o.equal(!1,this.pending_close,"close is pending"),this.write_in_progress=!0,o.equal(!1,void 0===r,"must provide flush value"),this.write_in_progress=!0,r!==e.Z_NO_FLUSH&&r!==e.Z_PARTIAL_FLUSH&&r!==e.Z_SYNC_FLUSH&&r!==e.Z_FULL_FLUSH&&r!==e.Z_FINISH&&r!==e.Z_BLOCK)throw new Error("Invalid flush value");if(null==a&&(a=n.alloc(0),u=0,s=0),this.strm.avail_in=u,this.strm.input=a,this.strm.next_in=s,this.strm.avail_out=h,this.strm.output=c,this.strm.next_out=l,this.flush=r,!t)return this._process(),this._checkError()?this._afterSync():void 0;var f=this;return i.nextTick((function(){f._process(),f._after()})),this},h.prototype._afterSync=function(){var t=this.strm.avail_out,e=this.strm.avail_in;return this.write_in_progress=!1,[e,t]},h.prototype._process=function(){var t=null;switch(this.mode){case e.DEFLATE:case e.GZIP:case e.DEFLATERAW:this.err=s.deflate(this.strm,this.flush);break;case e.UNZIP:switch(this.strm.avail_in>0&&(t=this.strm.next_in),this.gzip_id_bytes_read){case 0:if(null===t)break;if(31!==this.strm.input[t]){this.mode=e.INFLATE;break}if(this.gzip_id_bytes_read=1,t++,1===this.strm.avail_in)break;case 1:if(null===t)break;139===this.strm.input[t]?(this.gzip_id_bytes_read=2,this.mode=e.GUNZIP):this.mode=e.INFLATE;break;default:throw new Error("invalid number of gzip magic number bytes read")}case e.INFLATE:case e.GUNZIP:case e.INFLATERAW:for(this.err=u.inflate(this.strm,this.flush),this.err===e.Z_NEED_DICT&&this.dictionary&&(this.err=u.inflateSetDictionary(this.strm,this.dictionary),this.err===e.Z_OK?this.err=u.inflate(this.strm,this.flush):this.err===e.Z_DATA_ERROR&&(this.err=e.Z_NEED_DICT));this.strm.avail_in>0&&this.mode===e.GUNZIP&&this.err===e.Z_STREAM_END&&0!==this.strm.next_in[0];)this.reset(),this.err=u.inflate(this.strm,this.flush);break;default:throw new Error("Unknown mode "+this.mode)}},h.prototype._checkError=function(){switch(this.err){case e.Z_OK:case e.Z_BUF_ERROR:if(0!==this.strm.avail_out&&this.flush===e.Z_FINISH)return this._error("unexpected end of file"),!1;break;case e.Z_STREAM_END:break;case e.Z_NEED_DICT:return null==this.dictionary?this._error("Missing dictionary"):this._error("Bad dictionary"),!1;default:return this._error("Zlib error"),!1}return!0},h.prototype._after=function(){if(this._checkError()){var t=this.strm.avail_out,e=this.strm.avail_in;this.write_in_progress=!1,this.callback(e,t),this.pending_close&&this.close()}},h.prototype._error=function(t){this.strm.msg&&(t=this.strm.msg),this.onerror(t,this.err),this.write_in_progress=!1,this.pending_close&&this.close()},h.prototype.init=function(t,r,n,i,a){o(4===arguments.length||5===arguments.length,"init(windowBits, level, memLevel, strategy, [dictionary])"),o(t>=8&&t<=15,"invalid windowBits"),o(r>=-1&&r<=9,"invalid compression level"),o(n>=1&&n<=9,"invalid memlevel"),o(i===e.Z_FILTERED||i===e.Z_HUFFMAN_ONLY||i===e.Z_RLE||i===e.Z_FIXED||i===e.Z_DEFAULT_STRATEGY,"invalid strategy"),this._init(r,t,n,i,a),this._setDictionary()},h.prototype.params=function(){throw new Error("deflateParams Not supported")},h.prototype.reset=function(){this._reset(),this._setDictionary()},h.prototype._init=function(t,r,n,i,o){switch(this.level=t,this.windowBits=r,this.memLevel=n,this.strategy=i,this.flush=e.Z_NO_FLUSH,this.err=e.Z_OK,this.mode!==e.GZIP&&this.mode!==e.GUNZIP||(this.windowBits+=16),this.mode===e.UNZIP&&(this.windowBits+=32),this.mode!==e.DEFLATERAW&&this.mode!==e.INFLATERAW||(this.windowBits=-1*this.windowBits),this.strm=new a,this.mode){case e.DEFLATE:case e.GZIP:case e.DEFLATERAW:this.err=s.deflateInit2(this.strm,this.level,e.Z_DEFLATED,this.windowBits,this.memLevel,this.strategy);break;case e.INFLATE:case e.GUNZIP:case e.INFLATERAW:case e.UNZIP:this.err=u.inflateInit2(this.strm,this.windowBits);break;default:throw new Error("Unknown mode "+this.mode)}this.err!==e.Z_OK&&this._error("Init error"),this.dictionary=o,this.write_in_progress=!1,this.init_done=!0},h.prototype._setDictionary=function(){if(null!=this.dictionary){switch(this.err=e.Z_OK,this.mode){case e.DEFLATE:case e.DEFLATERAW:this.err=s.deflateSetDictionary(this.strm,this.dictionary)}this.err!==e.Z_OK&&this._error("Failed to set dictionary")}},h.prototype._reset=function(){switch(this.err=e.Z_OK,this.mode){case e.DEFLATE:case e.DEFLATERAW:case e.GZIP:this.err=s.deflateReset(this.strm);break;case e.INFLATE:case e.INFLATERAW:case e.GUNZIP:this.err=u.inflateReset(this.strm)}this.err!==e.Z_OK&&this._error("Failed to reset stream")},e.Zlib=h},77611:(t,e,r)=>{"use strict";var n=r(19142),i=r(29033).Buffer,o=r(57245).Transform,a=r(19626),s=r(45058),u=r(3894).ok,c=r(29033).kMaxLength,l="Cannot create final Buffer. It would be larger than 0x"+c.toString(16)+" bytes";a.Z_MIN_WINDOWBITS=8,a.Z_MAX_WINDOWBITS=15,a.Z_DEFAULT_WINDOWBITS=15,a.Z_MIN_CHUNK=64,a.Z_MAX_CHUNK=1/0,a.Z_DEFAULT_CHUNK=16384,a.Z_MIN_MEMLEVEL=1,a.Z_MAX_MEMLEVEL=9,a.Z_DEFAULT_MEMLEVEL=8,a.Z_MIN_LEVEL=-1,a.Z_MAX_LEVEL=9,a.Z_DEFAULT_LEVEL=a.Z_DEFAULT_COMPRESSION;for(var h=Object.keys(a),f=0;f<h.length;f++){var d=h[f];d.match(/^Z/)&&Object.defineProperty(e,d,{enumerable:!0,value:a[d],writable:!1})}for(var p={Z_OK:a.Z_OK,Z_STREAM_END:a.Z_STREAM_END,Z_NEED_DICT:a.Z_NEED_DICT,Z_ERRNO:a.Z_ERRNO,Z_STREAM_ERROR:a.Z_STREAM_ERROR,Z_DATA_ERROR:a.Z_DATA_ERROR,Z_MEM_ERROR:a.Z_MEM_ERROR,Z_BUF_ERROR:a.Z_BUF_ERROR,Z_VERSION_ERROR:a.Z_VERSION_ERROR},m=Object.keys(p),g=0;g<m.length;g++){var y=m[g];p[p[y]]=y}function v(t,e,r){var n=[],o=0;function a(){for(var e;null!==(e=t.read());)n.push(e),o+=e.length;t.once("readable",a)}function s(){var e,a=null;o>=c?a=new RangeError(l):e=i.concat(n,o),n=[],t.close(),r(a,e)}t.on("error",(function(e){t.removeListener("end",s),t.removeListener("readable",a),r(e)})),t.on("end",s),t.end(e),a()}function b(t,e){if("string"==typeof e&&(e=i.from(e)),!i.isBuffer(e))throw new TypeError("Not a string or buffer");var r=t._finishFlushFlag;return t._processChunk(e,r)}function _(t){if(!(this instanceof _))return new _(t);T.call(this,t,a.DEFLATE)}function w(t){if(!(this instanceof w))return new w(t);T.call(this,t,a.INFLATE)}function x(t){if(!(this instanceof x))return new x(t);T.call(this,t,a.GZIP)}function k(t){if(!(this instanceof k))return new k(t);T.call(this,t,a.GUNZIP)}function S(t){if(!(this instanceof S))return new S(t);T.call(this,t,a.DEFLATERAW)}function E(t){if(!(this instanceof E))return new E(t);T.call(this,t,a.INFLATERAW)}function M(t){if(!(this instanceof M))return new M(t);T.call(this,t,a.UNZIP)}function A(t){return t===a.Z_NO_FLUSH||t===a.Z_PARTIAL_FLUSH||t===a.Z_SYNC_FLUSH||t===a.Z_FULL_FLUSH||t===a.Z_FINISH||t===a.Z_BLOCK}function T(t,r){var n=this;if(this._opts=t=t||{},this._chunkSize=t.chunkSize||e.Z_DEFAULT_CHUNK,o.call(this,t),t.flush&&!A(t.flush))throw new Error("Invalid flush flag: "+t.flush);if(t.finishFlush&&!A(t.finishFlush))throw new Error("Invalid flush flag: "+t.finishFlush);if(this._flushFlag=t.flush||a.Z_NO_FLUSH,this._finishFlushFlag=void 0!==t.finishFlush?t.finishFlush:a.Z_FINISH,t.chunkSize&&(t.chunkSize<e.Z_MIN_CHUNK||t.chunkSize>e.Z_MAX_CHUNK))throw new Error("Invalid chunk size: "+t.chunkSize);if(t.windowBits&&(t.windowBits<e.Z_MIN_WINDOWBITS||t.windowBits>e.Z_MAX_WINDOWBITS))throw new Error("Invalid windowBits: "+t.windowBits);if(t.level&&(t.level<e.Z_MIN_LEVEL||t.level>e.Z_MAX_LEVEL))throw new Error("Invalid compression level: "+t.level);if(t.memLevel&&(t.memLevel<e.Z_MIN_MEMLEVEL||t.memLevel>e.Z_MAX_MEMLEVEL))throw new Error("Invalid memLevel: "+t.memLevel);if(t.strategy&&t.strategy!=e.Z_FILTERED&&t.strategy!=e.Z_HUFFMAN_ONLY&&t.strategy!=e.Z_RLE&&t.strategy!=e.Z_FIXED&&t.strategy!=e.Z_DEFAULT_STRATEGY)throw new Error("Invalid strategy: "+t.strategy);if(t.dictionary&&!i.isBuffer(t.dictionary))throw new Error("Invalid dictionary: it should be a Buffer instance");this._handle=new a.Zlib(r);var s=this;this._hadError=!1,this._handle.onerror=function(t,r){C(s),s._hadError=!0;var n=new Error(t);n.errno=r,n.code=e.codes[r],s.emit("error",n)};var u=e.Z_DEFAULT_COMPRESSION;"number"==typeof t.level&&(u=t.level);var c=e.Z_DEFAULT_STRATEGY;"number"==typeof t.strategy&&(c=t.strategy),this._handle.init(t.windowBits||e.Z_DEFAULT_WINDOWBITS,u,t.memLevel||e.Z_DEFAULT_MEMLEVEL,c,t.dictionary),this._buffer=i.allocUnsafe(this._chunkSize),this._offset=0,this._level=u,this._strategy=c,this.once("end",this.close),Object.defineProperty(this,"_closed",{get:function(){return!n._handle},configurable:!0,enumerable:!0})}function C(t,e){e&&n.nextTick(e),t._handle&&(t._handle.close(),t._handle=null)}function L(t){t.emit("close")}Object.defineProperty(e,"codes",{enumerable:!0,value:Object.freeze(p),writable:!1}),e.Deflate=_,e.Inflate=w,e.Gzip=x,e.Gunzip=k,e.DeflateRaw=S,e.InflateRaw=E,e.Unzip=M,e.createDeflate=function(t){return new _(t)},e.createInflate=function(t){return new w(t)},e.createDeflateRaw=function(t){return new S(t)},e.createInflateRaw=function(t){return new E(t)},e.createGzip=function(t){return new x(t)},e.createGunzip=function(t){return new k(t)},e.createUnzip=function(t){return new M(t)},e.deflate=function(t,e,r){return"function"==typeof e&&(r=e,e={}),v(new _(e),t,r)},e.deflateSync=function(t,e){return b(new _(e),t)},e.gzip=function(t,e,r){return"function"==typeof e&&(r=e,e={}),v(new x(e),t,r)},e.gzipSync=function(t,e){return b(new x(e),t)},e.deflateRaw=function(t,e,r){return"function"==typeof e&&(r=e,e={}),v(new S(e),t,r)},e.deflateRawSync=function(t,e){return b(new S(e),t)},e.unzip=function(t,e,r){return"function"==typeof e&&(r=e,e={}),v(new M(e),t,r)},e.unzipSync=function(t,e){return b(new M(e),t)},e.inflate=function(t,e,r){return"function"==typeof e&&(r=e,e={}),v(new w(e),t,r)},e.inflateSync=function(t,e){return b(new w(e),t)},e.gunzip=function(t,e,r){return"function"==typeof e&&(r=e,e={}),v(new k(e),t,r)},e.gunzipSync=function(t,e){return b(new k(e),t)},e.inflateRaw=function(t,e,r){return"function"==typeof e&&(r=e,e={}),v(new E(e),t,r)},e.inflateRawSync=function(t,e){return b(new E(e),t)},s.inherits(T,o),T.prototype.params=function(t,r,i){if(t<e.Z_MIN_LEVEL||t>e.Z_MAX_LEVEL)throw new RangeError("Invalid compression level: "+t);if(r!=e.Z_FILTERED&&r!=e.Z_HUFFMAN_ONLY&&r!=e.Z_RLE&&r!=e.Z_FIXED&&r!=e.Z_DEFAULT_STRATEGY)throw new TypeError("Invalid strategy: "+r);if(this._level!==t||this._strategy!==r){var o=this;this.flush(a.Z_SYNC_FLUSH,(function(){u(o._handle,"zlib binding closed"),o._handle.params(t,r),o._hadError||(o._level=t,o._strategy=r,i&&i())}))}else n.nextTick(i)},T.prototype.reset=function(){return u(this._handle,"zlib binding closed"),this._handle.reset()},T.prototype._flush=function(t){this._transform(i.alloc(0),"",t)},T.prototype.flush=function(t,e){var r=this,o=this._writableState;("function"==typeof t||void 0===t&&!e)&&(e=t,t=a.Z_FULL_FLUSH),o.ended?e&&n.nextTick(e):o.ending?e&&this.once("end",e):o.needDrain?e&&this.once("drain",(function(){return r.flush(t,e)})):(this._flushFlag=t,this.write(i.alloc(0),"",e))},T.prototype.close=function(t){C(this,t),n.nextTick(L,this)},T.prototype._transform=function(t,e,r){var n,o=this._writableState,s=(o.ending||o.ended)&&(!t||o.length===t.length);return null===t||i.isBuffer(t)?this._handle?(s?n=this._finishFlushFlag:(n=this._flushFlag,t.length>=o.length&&(this._flushFlag=this._opts.flush||a.Z_NO_FLUSH)),void this._processChunk(t,n,r)):r(new Error("zlib binding closed")):r(new Error("invalid input"))},T.prototype._processChunk=function(t,e,r){var n=t&&t.length,o=this._chunkSize-this._offset,a=0,s=this,h="function"==typeof r;if(!h){var f,d=[],p=0;this.on("error",(function(t){f=t})),u(this._handle,"zlib binding closed");do{var m=this._handle.writeSync(e,t,a,n,this._buffer,this._offset,o)}while(!this._hadError&&v(m[0],m[1]));if(this._hadError)throw f;if(p>=c)throw C(this),new RangeError(l);var g=i.concat(d,p);return C(this),g}u(this._handle,"zlib binding closed");var y=this._handle.write(e,t,a,n,this._buffer,this._offset,o);function v(c,l){if(this&&(this.buffer=null,this.callback=null),!s._hadError){var f=o-l;if(u(f>=0,"have should not go down"),f>0){var m=s._buffer.slice(s._offset,s._offset+f);s._offset+=f,h?s.push(m):(d.push(m),p+=m.length)}if((0===l||s._offset>=s._chunkSize)&&(o=s._chunkSize,s._offset=0,s._buffer=i.allocUnsafe(s._chunkSize)),0===l){if(a+=n-c,n=c,!h)return!0;var g=s._handle.write(e,t,a,n,s._buffer,s._offset,s._chunkSize);return g.callback=v,void(g.buffer=t)}if(!h)return!1;r()}}y.buffer=t,y.callback=v},s.inherits(_,T),s.inherits(w,T),s.inherits(x,T),s.inherits(k,T),s.inherits(S,T),s.inherits(E,T),s.inherits(M,T)},96316:(t,e,r)=>{"use strict";var n=r(29033).Buffer;t.exports=function(t,e){for(var r=Math.min(t.length,e.length),i=new n(r),o=0;o<r;++o)i[o]=t[o]^e[o];return i}},29033:(t,e,r)=>{"use strict";var n=r(34919),i=r(83226),o=r(39484);function a(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(t,e){if(a()<e)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=u.prototype:(null===t&&(t=new u(e)),t.length=e),t}function u(t,e,r){if(!(u.TYPED_ARRAY_SUPPORT||this instanceof u))return new u(t,e,r);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return h(this,t)}return c(this,t,e,r)}function c(t,e,r,n){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,r,n){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");return e=void 0===r&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,r):new Uint8Array(e,r,n),u.TYPED_ARRAY_SUPPORT?(t=e).__proto__=u.prototype:t=f(t,e),t}(t,e,r,n):"string"==typeof e?function(t,e,r){if("string"==typeof r&&""!==r||(r="utf8"),!u.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|p(e,r),i=(t=s(t,n)).write(e,r);return i!==n&&(t=t.slice(0,i)),t}(t,e,r):function(t,e){if(u.isBuffer(e)){var r=0|d(e.length);return 0===(t=s(t,r)).length||e.copy(t,0,0,r),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(n=e.length)!=n?s(t,0):f(t,e);if("Buffer"===e.type&&o(e.data))return f(t,e.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function l(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function h(t,e){if(l(e),t=s(t,e<0?0:0|d(e)),!u.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function f(t,e){var r=e.length<0?0:0|d(e.length);t=s(t,r);for(var n=0;n<r;n+=1)t[n]=255&e[n];return t}function d(t){if(t>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|t}function p(t,e){if(u.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return Y(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return U(t).length;default:if(n)return Y(t).length;e=(""+e).toLowerCase(),n=!0}}function m(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return L(this,e,r);case"utf8":case"utf-8":return M(this,e,r);case"ascii":return T(this,e,r);case"latin1":case"binary":return C(this,e,r);case"base64":return E(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function g(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function y(t,e,r,n,i){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof e&&(e=u.from(e,n)),u.isBuffer(e))return 0===e.length?-1:v(t,e,r,n,i);if("number"==typeof e)return e&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):v(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function v(t,e,r,n,i){var o,a=1,s=t.length,u=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;a=2,s/=2,u/=2,r/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){var l=-1;for(o=r;o<s;o++)if(c(t,o)===c(e,-1===l?0:o-l)){if(-1===l&&(l=o),o-l+1===u)return l*a}else-1!==l&&(o-=o-l),l=-1}else for(r+u>s&&(r=s-u),o=r;o>=0;o--){for(var h=!0,f=0;f<u;f++)if(c(t,o+f)!==c(e,f)){h=!1;break}if(h)return o}return-1}function b(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=e.length;if(o%2!=0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var a=0;a<n;++a){var s=parseInt(e.substr(2*a,2),16);if(isNaN(s))return a;t[r+a]=s}return a}function _(t,e,r,n){return H(Y(e,t.length-r),t,r,n)}function w(t,e,r,n){return H(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function x(t,e,r,n){return w(t,e,r,n)}function k(t,e,r,n){return H(U(e),t,r,n)}function S(t,e,r,n){return H(function(t,e){for(var r,n,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)n=(r=t.charCodeAt(a))>>8,i=r%256,o.push(i),o.push(n);return o}(e,t.length-r),t,r,n)}function E(t,e,r){return 0===e&&r===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(e,r))}function M(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o,a,s,u,c=t[i],l=null,h=c>239?4:c>223?3:c>191?2:1;if(i+h<=r)switch(h){case 1:c<128&&(l=c);break;case 2:128==(192&(o=t[i+1]))&&(u=(31&c)<<6|63&o)>127&&(l=u);break;case 3:o=t[i+1],a=t[i+2],128==(192&o)&&128==(192&a)&&(u=(15&c)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:o=t[i+1],a=t[i+2],s=t[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(u=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(l=u)}null===l?(l=65533,h=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),i+=h}return function(t){var e=t.length;if(e<=A)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=A));return r}(n)}e.Buffer=u,e.SlowBuffer=function(t){return+t!=t&&(t=0),u.alloc(+t)},e.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==r.g.TYPED_ARRAY_SUPPORT?r.g.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),e.kMaxLength=a(),u.poolSize=8192,u._augment=function(t){return t.__proto__=u.prototype,t},u.from=function(t,e,r){return c(null,t,e,r)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(t,e,r){return function(t,e,r,n){return l(e),e<=0?s(t,e):void 0!==r?"string"==typeof n?s(t,e).fill(r,n):s(t,e).fill(r):s(t,e)}(null,t,e,r)},u.allocUnsafe=function(t){return h(null,t)},u.allocUnsafeSlow=function(t){return h(null,t)},u.isBuffer=function(t){return!(null==t||!t._isBuffer)},u.compare=function(t,e){if(!u.isBuffer(t)||!u.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var r=t.length,n=e.length,i=0,o=Math.min(r,n);i<o;++i)if(t[i]!==e[i]){r=t[i],n=e[i];break}return r<n?-1:n<r?1:0},u.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(t,e){if(!o(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return u.alloc(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=u.allocUnsafe(e),i=0;for(r=0;r<t.length;++r){var a=t[r];if(!u.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,i),i+=a.length}return n},u.byteLength=p,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)g(this,e,e+1);return this},u.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)g(this,e,e+3),g(this,e+1,e+2);return this},u.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)g(this,e,e+7),g(this,e+1,e+6),g(this,e+2,e+5),g(this,e+3,e+4);return this},u.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?M(this,0,t):m.apply(this,arguments)},u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===u.compare(this,t)},u.prototype.inspect=function(){var t="",r=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(t+=" ... ")),"<Buffer "+t+">"},u.prototype.compare=function(t,e,r,n,i){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return-1;if(e>=r)return 1;if(this===t)return 0;for(var o=(i>>>=0)-(n>>>=0),a=(r>>>=0)-(e>>>=0),s=Math.min(o,a),c=this.slice(n,i),l=t.slice(e,r),h=0;h<s;++h)if(c[h]!==l[h]){o=c[h],a=l[h];break}return o<a?-1:a<o?1:0},u.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},u.prototype.indexOf=function(t,e,r){return y(this,t,e,r,!0)},u.prototype.lastIndexOf=function(t,e,r){return y(this,t,e,r,!1)},u.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-e;if((void 0===r||r>i)&&(r=i),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return b(this,t,e,r);case"utf8":case"utf-8":return _(this,t,e,r);case"ascii":return w(this,t,e,r);case"latin1":case"binary":return x(this,t,e,r);case"base64":return k(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,t,e,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var A=4096;function T(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(127&t[i]);return n}function C(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function L(t,e,r){var n,i=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>i)&&(r=i);for(var o="",a=e;a<r;++a)o+=(n=t[a])<16?"0"+n.toString(16):n.toString(16);return o}function P(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function O(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function I(t,e,r,n,i,o){if(!u.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function D(t,e,r,n){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-r,2);i<o;++i)t[r+i]=(e&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function B(t,e,r,n){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-r,4);i<o;++i)t[r+i]=e>>>8*(n?i:3-i)&255}function j(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function N(t,e,r,n,o){return o||j(t,0,r,4),i.write(t,e,r,n,23,4),r+4}function R(t,e,r,n,o){return o||j(t,0,r,8),i.write(t,e,r,n,52,8),r+8}u.prototype.slice=function(t,e){var r,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t),u.TYPED_ARRAY_SUPPORT)(r=this.subarray(t,e)).__proto__=u.prototype;else{var i=e-t;r=new u(i,void 0);for(var o=0;o<i;++o)r[o]=this[o+t]}return r},u.prototype.readUIntLE=function(t,e,r){t|=0,e|=0,r||O(t,e,this.length);for(var n=this[t],i=1,o=0;++o<e&&(i*=256);)n+=this[t+o]*i;return n},u.prototype.readUIntBE=function(t,e,r){t|=0,e|=0,r||O(t,e,this.length);for(var n=this[t+--e],i=1;e>0&&(i*=256);)n+=this[t+--e]*i;return n},u.prototype.readUInt8=function(t,e){return e||O(t,1,this.length),this[t]},u.prototype.readUInt16LE=function(t,e){return e||O(t,2,this.length),this[t]|this[t+1]<<8},u.prototype.readUInt16BE=function(t,e){return e||O(t,2,this.length),this[t]<<8|this[t+1]},u.prototype.readUInt32LE=function(t,e){return e||O(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},u.prototype.readUInt32BE=function(t,e){return e||O(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},u.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||O(t,e,this.length);for(var n=this[t],i=1,o=0;++o<e&&(i*=256);)n+=this[t+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*e)),n},u.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||O(t,e,this.length);for(var n=e,i=1,o=this[t+--n];n>0&&(i*=256);)o+=this[t+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},u.prototype.readInt8=function(t,e){return e||O(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},u.prototype.readInt16LE=function(t,e){e||O(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(t,e){e||O(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(t,e){return e||O(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},u.prototype.readInt32BE=function(t,e){return e||O(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},u.prototype.readFloatLE=function(t,e){return e||O(t,4,this.length),i.read(this,t,!0,23,4)},u.prototype.readFloatBE=function(t,e){return e||O(t,4,this.length),i.read(this,t,!1,23,4)},u.prototype.readDoubleLE=function(t,e){return e||O(t,8,this.length),i.read(this,t,!0,52,8)},u.prototype.readDoubleBE=function(t,e){return e||O(t,8,this.length),i.read(this,t,!1,52,8)},u.prototype.writeUIntLE=function(t,e,r,n){t=+t,e|=0,r|=0,n||I(this,t,e,r,Math.pow(2,8*r)-1,0);var i=1,o=0;for(this[e]=255&t;++o<r&&(i*=256);)this[e+o]=t/i&255;return e+r},u.prototype.writeUIntBE=function(t,e,r,n){t=+t,e|=0,r|=0,n||I(this,t,e,r,Math.pow(2,8*r)-1,0);var i=r-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+r},u.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||I(this,t,e,1,255,0),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},u.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||I(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):D(this,t,e,!0),e+2},u.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||I(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):D(this,t,e,!1),e+2},u.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||I(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):B(this,t,e,!0),e+4},u.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||I(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):B(this,t,e,!1),e+4},u.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var i=Math.pow(2,8*r-1);I(this,t,e,r,i-1,-i)}var o=0,a=1,s=0;for(this[e]=255&t;++o<r&&(a*=256);)t<0&&0===s&&0!==this[e+o-1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+r},u.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var i=Math.pow(2,8*r-1);I(this,t,e,r,i-1,-i)}var o=r-1,a=1,s=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+r},u.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||I(this,t,e,1,127,-128),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},u.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||I(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):D(this,t,e,!0),e+2},u.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||I(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):D(this,t,e,!1),e+2},u.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||I(this,t,e,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):B(this,t,e,!0),e+4},u.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||I(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):B(this,t,e,!1),e+4},u.prototype.writeFloatLE=function(t,e,r){return N(this,t,e,!0,r)},u.prototype.writeFloatBE=function(t,e,r){return N(this,t,e,!1,r)},u.prototype.writeDoubleLE=function(t,e,r){return R(this,t,e,!0,r)},u.prototype.writeDoubleBE=function(t,e,r){return R(this,t,e,!1,r)},u.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=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),t.length-e<n-r&&(n=t.length-e+r);var i,o=n-r;if(this===t&&r<e&&e<n)for(i=o-1;i>=0;--i)t[i+e]=this[i+r];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)t[i+e]=this[i+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+o),e);return o},u.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===t.length){var i=t.charCodeAt(0);i<256&&(t=i)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!u.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;var o;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(o=e;o<r;++o)this[o]=t;else{var a=u.isBuffer(t)?t:Y(new u(t,n).toString()),s=a.length;for(o=0;o<r-e;++o)this[o+e]=a[o%s]}return this};var F=/[^+\/0-9A-Za-z-_]/g;function Y(t,e){var r;e=e||1/0;for(var n=t.length,i=null,o=[],a=0;a<n;++a){if((r=t.charCodeAt(a))>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function U(t){return n.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(F,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function H(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}},83675:t=>{"use strict";t.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},80593:(t,e,r)=>{"use strict";var n=r(57701),i=r(24373),o=i(n("String.prototype.indexOf"));t.exports=function(t,e){var r=n(t,!!e);return"function"==typeof r&&o(t,".prototype.")>-1?i(r):r}},24373:(t,e,r)=>{"use strict";var n=r(3767),i=r(57701),o=r(77990),a=i("%TypeError%"),s=i("%Function.prototype.apply%"),u=i("%Function.prototype.call%"),c=i("%Reflect.apply%",!0)||n.call(u,s),l=i("%Object.defineProperty%",!0),h=i("%Math.max%");if(l)try{l({},"a",{value:1})}catch(t){l=null}t.exports=function(t){if("function"!=typeof t)throw new a("a function is required");var e=c(n,u,arguments);return o(e,1+h(0,t.length-(arguments.length-1)),!0)};var f=function(){return c(n,s,arguments)};l?l(t.exports,"apply",{value:f}):t.exports.apply=f},47759:(t,e,r)=>{"use strict";for(var n=r(28847)(r(74519)),i=r(83630),o={},a=0,s=Object.entries(i);a<s.length;a++){var u=(0,n.default)(s[a],2),c=u[0],l=u[1];o[c.toUpperCase().replace(/-/g,"_")]=l}t.exports=Object.freeze(o)},97223:(t,e,r)=>{"use strict";var n=r(29033).Buffer,i=r(26657),o=r(55262),a=r(71842),s=r(40779);(e=t.exports).addPrefix=function(t,e){var r;if(n.isBuffer(t))r=s.varintBufferEncode(t);else{if(!a[t])throw new Error("multicodec not recognized");r=a[t]}return n.concat([r,e])},e.rmPrefix=function(t){return i.decode(t),t.slice(i.decode.bytes)},e.getCodec=function(t){var e=i.decode(t),r=o.get(e);if(void 0===r)throw new Error("Code ".concat(e," not found"));return r},e.getName=function(t){return o.get(t)},e.getNumber=function(t){var e=a[t];if(void 0===e)throw new Error("Codec `"+t+"` not found");return s.varintBufferDecode(e)[0]},e.getCode=function(t){return i.decode(t)},e.getCodeVarint=function(t){var e=a[t];if(void 0===e)throw new Error("Codec `"+t+"` not found");return e},e.getVarint=function(t){return i.encode(t)};var u=r(47759);Object.assign(e,u),e.print=r(29268)},55262:(t,e,r)=>{"use strict";var n=r(83630),i=new Map;for(var o in n){var a=n[o];i.set(a,o)}t.exports=Object.freeze(i)},29268:(t,e,r)=>{"use strict";for(var n=r(28847)(r(74519)),i=r(83630),o={},a=0,s=Object.entries(i);a<s.length;a++){var u=(0,n.default)(s[a],2),c=u[0],l=u[1];void 0===o[l]&&(o[l]=c)}t.exports=Object.freeze(o)},40779:(t,e,r)=>{"use strict";var n=r(26657),i=r(29033).Buffer;function o(t){return parseInt(t.toString("hex"),16)}function a(t){var e=t.toString(16);return e.length%2==1&&(e="0"+e),i.from(e,"hex")}t.exports={numberToBuffer:a,bufferToNumber:o,varintBufferEncode:function(t){return i.from(n.encode(o(t)))},varintBufferDecode:function(t){return a(n.decode(t))},varintEncode:function(t){return i.from(n.encode(t))}}},71842:(t,e,r)=>{"use strict";var n=r(83630),i=r(40779).varintEncode,o={};for(var a in n){var s=n[a];o[a]=i(s)}t.exports=Object.freeze(o)},59976:(t,e,r)=>{"use strict";var n=r(77748),i=r(29033).Buffer,o={checkCIDComponents:function(t){if(null==t)return"null values are not valid CIDs";if(0!==t.version&&1!==t.version)return"Invalid version, must be a number equal to 1 or 0";if("string"!=typeof t.codec)return"codec must be string";if(0===t.version){if("dag-pb"!==t.codec)return"codec must be 'dag-pb' for CIDv0";if("base58btc"!==t.multibaseName)return"multibaseName must be 'base58btc' for CIDv0"}if(!i.isBuffer(t.multihash))return"multihash must be a Buffer";try{n.validate(t.multihash)}catch(t){var e=t.message;return e||(e="Multihash validation failed"),e}}};t.exports=o},72753:(t,e,r)=>{"use strict";var n=r(28847),i=n(r(69721)),o=n(r(58985)),a=r(29033).Buffer,s=r(77748),u=r(6086),c=r(97223),l=r(83630),h=r(59976),f=r(83162)(function(t){function e(t,r,n,o){if((0,i.default)(this,e),f.isCID(t)){var l=t;return this.version=l.version,this.codec=l.codec,this.multihash=a.from(l.multihash),void(this.multibaseName=l.multibaseName||(0===l.version?"base58btc":"base32"))}if("string"==typeof t){var h=u.isEncoded(t);if(h){var d=u.decode(t);this.version=parseInt(d.slice(0,1).toString("hex"),16),this.codec=c.getCodec(d.slice(1)),this.multihash=c.rmPrefix(d.slice(1)),this.multibaseName=h}else this.version=0,this.codec="dag-pb",this.multihash=s.fromB58String(t),this.multibaseName="base58btc";return e.validateCID(this),void Object.defineProperty(this,"string",{value:t})}if(a.isBuffer(t)){var p=t.slice(0,1),m=parseInt(p.toString("hex"),16);if(1===m){var g=t;this.version=m,this.codec=c.getCodec(g.slice(1)),this.multihash=c.rmPrefix(g.slice(1)),this.multibaseName="base32"}else this.version=0,this.codec="dag-pb",this.multihash=t,this.multibaseName="base58btc";e.validateCID(this)}else this.version=t,this.codec=r,this.multihash=n,this.multibaseName=o||(0===t?"base58btc":"base32"),e.validateCID(this)}return(0,o.default)(e,[{key:"buffer",get:function(){var t=this._buffer;if(!t){if(0===this.version)t=this.multihash;else{if(1!==this.version)throw new Error("unsupported version");t=a.concat([a.from("01","hex"),c.getCodeVarint(this.codec),this.multihash])}Object.defineProperty(this,"_buffer",{value:t})}return t}},{key:"prefix",get:function(){return a.concat([a.from("0".concat(this.version),"hex"),c.getCodeVarint(this.codec),s.prefix(this.multihash)])}},{key:"toV0",value:function(){if("dag-pb"!==this.codec)throw new Error("Cannot convert a non dag-pb CID to CIDv0");var t=s.decode(this.multihash),e=t.name,r=t.length;if("sha2-256"!==e)throw new Error("Cannot convert non sha2-256 multihash CID to CIDv0");if(32!==r)throw new Error("Cannot convert non 32 byte multihash CID to CIDv0");return new f(0,this.codec,this.multihash)}},{key:"toV1",value:function(){return new f(1,this.codec,this.multihash)}},{key:"toBaseEncodedString",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.multibaseName;if(this.string&&t===this.multibaseName)return this.string;var e=null;if(0===this.version){if("base58btc"!==t)throw new Error("not supported with CIDv0, to support different bases, please migrate the instance do CIDv1, you can do that through cid.toV1()");e=s.toB58String(this.multihash)}else{if(1!==this.version)throw new Error("unsupported version");e=u.encode(t,this.buffer).toString()}return t===this.multibaseName&&Object.defineProperty(this,"string",{value:e}),e}},{key:t,value:function(){return"CID("+this.toString()+")"}},{key:"toString",value:function(t){return this.toBaseEncodedString(t)}},{key:"toJSON",value:function(){return{codec:this.codec,version:this.version,hash:this.multihash}}},{key:"equals",value:function(t){return this.codec===t.codec&&this.version===t.version&&this.multihash.equals(t.multihash)}}],[{key:"validateCID",value:function(t){var e=h.checkCIDComponents(t);if(e)throw new Error(e)}}]),e}(Symbol.for("nodejs.util.inspect.custom")),{className:"CID",symbolName:"@ipld/js-cid/CID"});f.codecs=l,t.exports=f},93013:(t,e,r)=>{"use strict";var n=r(48850).Buffer,i=r(57245).Transform,o=r(23462).s;function a(t){i.call(this),this.hashMode="string"==typeof t,this.hashMode?this[t]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}r(41736)(a,i),a.prototype.update=function(t,e,r){"string"==typeof t&&(t=n.from(t,e));var i=this._update(t);return this.hashMode?this:(r&&(i=this._toString(i,r)),i)},a.prototype.setAutoPadding=function(){},a.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},a.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},a.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},a.prototype._transform=function(t,e,r){var n;try{this.hashMode?this._update(t):this.push(this._update(t))}catch(t){n=t}finally{r(n)}},a.prototype._flush=function(t){var e;try{this.push(this.__final())}catch(t){e=t}t(e)},a.prototype._finalOrDigest=function(t){var e=this.__final()||n.alloc(0);return t&&(e=this._toString(e,t,!0)),e},a.prototype._toString=function(t,e,r){if(this._decoder||(this._decoder=new o(e),this._encoding=e),this._encoding!==e)throw new Error("can't switch encodings");var n=this._decoder.write(t);return r&&(n+=this._decoder.end()),n},t.exports=a},83162:(t,e,r)=>{"use strict";var n=r(28847),i=n(r(14727)),o=n(r(90775)),a=n(r(69721)),s=n(r(58985)),u=n(r(58975)),c=n(r(15163)),l=n(r(34650)),h=n(r(21949));t.exports=function(t,e){var r=e.className,n=e.symbolName,i=Symbol.for(n),f=(0,o.default)({},r,function(t,e){(0,c.default)(d,t);var n,o,f=(n=d,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=(0,h.default)(n);if(o){var r=(0,h.default)(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return(0,l.default)(this,t)});function d(){var t;(0,a.default)(this,d);for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return t=f.call.apply(f,[this].concat(r)),Object.defineProperty((0,u.default)(t),i,{value:!0}),t}return(0,s.default)(d,[{key:e,get:function(){return r}}]),d}(t,Symbol.toStringTag))[r];return f["is".concat(r)]=function(t){return!(!t||!t[i])},f},t.exports.proto=function(t,e){var r=e.className,n=e.symbolName,a=e.withoutNew,s=Symbol.for(n),u=(0,o.default)({},r,(function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];if(a&&!(this instanceof u))return(0,i.default)(u,r);var o=t.call.apply(t,[this].concat(r))||this;return o&&!o[s]&&Object.defineProperty(o,s,{value:!0}),o}))[r];return u.prototype=Object.create(t.prototype),u.prototype.constructor=u,Object.defineProperty(u.prototype,Symbol.toStringTag,{get:function(){return r}}),u["is".concat(r)]=function(t){return!(!t||!t[s])},u}},36834:(t,e,r)=>{"use strict";var n=r(72753);e.cidV0ToV1Base32=function(t){var e=new n(t);return 0===e.version&&(e=e.toV1()),e.toString("base32")}},94308:(t,e,r)=>{"use strict";var n=r(69206),i=r(39512),o=i.hexStringToBuffer,a=i.profiles,s=r(36834).cidV0ToV1Base32;t.exports={helpers:{cidV0ToV1Base32:s},decode:function(t){var e=o(t),r=n.getCodec(e),i=n.rmPrefix(e),s=a[r];return s||(s=a.default),s.decode(i)},fromIpfs:function(t){return this.encode("ipfs-ns",t)},fromSwarm:function(t){return this.encode("swarm-ns",t)},encode:function(t,e){var r=a[t];r||(r=a.default);var i=r.encode(e);return n.addPrefix(t,i).toString("hex")},getCodec:function(t){var e=o(t);return n.getCodec(e)}}},39512:(t,e,r)=>{"use strict";var n=r(29033).Buffer,i=r(72753),o=r(77748),a=function(t){var e,r=t.slice(0,2),n=t.slice(2);return e="0x"===r?n:t,o.fromHexString(e)},s={swarm:function(t){var e=o.encode(a(t),"keccak-256");return new i(1,"swarm-manifest",e).buffer},ipfs:function(t){var e=o.fromB58String(t);return new i(1,"dag-pb",e).buffer},utf8:function(t){return n.from(t,"utf8")}},u={hexMultiHash:function(t){var e=new i(t);return o.decode(e.multihash).digest.toString("hex")},b58MultiHash:function(t){var e=new i(t);return o.toB58String(e.multihash)},utf8:function(t){return t.toString("utf8")}},c={"swarm-ns":{encode:s.swarm,decode:u.hexMultiHash},"ipfs-ns":{encode:s.ipfs,decode:u.b58MultiHash},"ipns-ns":{encode:s.ipfs,decode:u.b58MultiHash},default:{encode:s.utf8,decode:u.utf8}};e.hexStringToBuffer=a,e.profiles=c},64628:(t,e,r)=>{"use strict";var n,i,o=r(28847)(r(3355));i=function(t){t.version="1.2.2";var e=function(){for(var t=0,e=new Array(256),r=0;256!=r;++r)t=1&(t=1&(t=1&(t=1&(t=1&(t=1&(t=1&(t=1&(t=r)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1,e[r]=t;return"undefined"!=typeof Int32Array?new Int32Array(e):e}(),r=function(t){var e=0,r=0,n=0,i="undefined"!=typeof Int32Array?new Int32Array(4096):new Array(4096);for(n=0;256!=n;++n)i[n]=t[n];for(n=0;256!=n;++n)for(r=t[n],e=256+n;e<4096;e+=256)r=i[e]=r>>>8^t[255&r];var o=[];for(n=1;16!=n;++n)o[n-1]="undefined"!=typeof Int32Array?i.subarray(256*n,256*n+256):i.slice(256*n,256*n+256);return o}(e),n=r[0],i=r[1],o=r[2],a=r[3],s=r[4],u=r[5],c=r[6],l=r[7],h=r[8],f=r[9],d=r[10],p=r[11],m=r[12],g=r[13],y=r[14];t.table=e,t.bstr=function(t,r){for(var n=-1^r,i=0,o=t.length;i<o;)n=n>>>8^e[255&(n^t.charCodeAt(i++))];return~n},t.buf=function(t,r){for(var v=-1^r,b=t.length-15,_=0;_<b;)v=y[t[_++]^255&v]^g[t[_++]^v>>8&255]^m[t[_++]^v>>16&255]^p[t[_++]^v>>>24]^d[t[_++]]^f[t[_++]]^h[t[_++]]^l[t[_++]]^c[t[_++]]^u[t[_++]]^s[t[_++]]^a[t[_++]]^o[t[_++]]^i[t[_++]]^n[t[_++]]^e[t[_++]];for(b+=15;_<b;)v=v>>>8^e[255&(v^t[_++])];return~v},t.str=function(t,r){for(var n=-1^r,i=0,o=t.length,a=0,s=0;i<o;)(a=t.charCodeAt(i++))<128?n=n>>>8^e[255&(n^a)]:a<2048?n=(n=n>>>8^e[255&(n^(192|a>>6&31))])>>>8^e[255&(n^(128|63&a))]:a>=55296&&a<57344?(a=64+(1023&a),s=1023&t.charCodeAt(i++),n=(n=(n=(n=n>>>8^e[255&(n^(240|a>>8&7))])>>>8^e[255&(n^(128|a>>2&63))])>>>8^e[255&(n^(128|s>>6&15|(3&a)<<4))])>>>8^e[255&(n^(128|63&s))]):n=(n=(n=n>>>8^e[255&(n^(224|a>>12&15))])>>>8^e[255&(n^(128|a>>6&63))])>>>8^e[255&(n^(128|63&a))];return~n}},"undefined"==typeof DO_NOT_EXPORT_CRC?"object"===(0,o.default)(e)?i(e):(n=function(){var t={};return i(t),t}.call(e,r,e,t),void 0===n||(t.exports=n)):i({})},75102:(t,e,r)=>{"use strict";var n=r(29033).Buffer,i=r(36597),o=r(31734);t.exports=function(t){return new s(t)};var a={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function s(t){this.curveType=a[t],this.curveType||(this.curveType={name:t}),this.curve=new i.ec(this.curveType.name),this.keys=void 0}function u(t,e,r){Array.isArray(t)||(t=t.toArray());var i=new n(t);if(r&&i.length<r){var o=new n(r-i.length);o.fill(0),i=n.concat([o,i])}return e?i.toString(e):i}a.p224=a.secp224r1,a.p256=a.secp256r1=a.prime256v1,a.p192=a.secp192r1=a.prime192v1,a.p384=a.secp384r1,a.p521=a.secp521r1,s.prototype.generateKeys=function(t,e){return this.keys=this.curve.genKeyPair(),this.getPublicKey(t,e)},s.prototype.computeSecret=function(t,e,r){return e=e||"utf8",n.isBuffer(t)||(t=new n(t,e)),u(this.curve.keyFromPublic(t).getPublic().mul(this.keys.getPrivate()).getX(),r,this.curveType.byteLength)},s.prototype.getPublicKey=function(t,e){var r=this.keys.getPublic("compressed"===e,!0);return"hybrid"===e&&(r[r.length-1]%2?r[0]=7:r[0]=6),u(r,t)},s.prototype.getPrivateKey=function(t){return u(this.keys.getPrivate(),t)},s.prototype.setPublicKey=function(t,e){return e=e||"utf8",n.isBuffer(t)||(t=new n(t,e)),this.keys._importPublic(t),this},s.prototype.setPrivateKey=function(t,e){e=e||"utf8",n.isBuffer(t)||(t=new n(t,e));var r=new o(t);return r=r.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(r),this}},35866:(t,e,r)=>{"use strict";var n=r(41736),i=r(50807),o=r(26707),a=r(51708),s=r(93013);function u(t){s.call(this,"digest"),this._hash=t}n(u,s),u.prototype._update=function(t){this._hash.update(t)},u.prototype._final=function(){return this._hash.digest()},t.exports=function(t){return"md5"===(t=t.toLowerCase())?new i:"rmd160"===t||"ripemd160"===t?new o:new u(a(t))}},55349:(t,e,r)=>{"use strict";var n=r(50807);t.exports=function(t){return(new n).update(t).digest()}},34424:(t,e,r)=>{"use strict";var n=r(41736),i=r(19956),o=r(93013),a=r(48850).Buffer,s=r(55349),u=r(26707),c=r(51708),l=a.alloc(128);function h(t,e){o.call(this,"digest"),"string"==typeof e&&(e=a.from(e));var r="sha512"===t||"sha384"===t?128:64;this._alg=t,this._key=e,e.length>r?e=("rmd160"===t?new u:c(t)).update(e).digest():e.length<r&&(e=a.concat([e,l],r));for(var n=this._ipad=a.allocUnsafe(r),i=this._opad=a.allocUnsafe(r),s=0;s<r;s++)n[s]=54^e[s],i[s]=92^e[s];this._hash="rmd160"===t?new u:c(t),this._hash.update(n)}n(h,o),h.prototype._update=function(t){this._hash.update(t)},h.prototype._final=function(){var t=this._hash.digest();return("rmd160"===this._alg?new u:c(this._alg)).update(this._opad).update(t).digest()},t.exports=function(t,e){return"rmd160"===(t=t.toLowerCase())||"ripemd160"===t?new h("rmd160",e):"md5"===t?new i(s,e):new h(t,e)}},19956:(t,e,r)=>{"use strict";var n=r(41736),i=r(48850).Buffer,o=r(93013),a=i.alloc(128),s=64;function u(t,e){o.call(this,"digest"),"string"==typeof e&&(e=i.from(e)),this._alg=t,this._key=e,e.length>s?e=t(e):e.length<s&&(e=i.concat([e,a],s));for(var r=this._ipad=i.allocUnsafe(s),n=this._opad=i.allocUnsafe(s),u=0;u<s;u++)r[u]=54^e[u],n[u]=92^e[u];this._hash=[r]}n(u,o),u.prototype._update=function(t){this._hash.push(t)},u.prototype._final=function(){var t=this._alg(i.concat(this._hash));return this._alg(i.concat([this._opad,t]))},t.exports=u},33768:(t,e,r)=>{"use strict";var n=r(28847)(r(3355)),i="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==r.g&&r.g,o=function(){function t(){this.fetch=!1,this.DOMException=i.DOMException}return t.prototype=i,new t}();!function(t){!function(e){var r=void 0!==t&&t||"undefined"!=typeof self&&self||void 0!==r&&r,i={searchParams:"URLSearchParams"in r,iterable:"Symbol"in r&&"iterator"in Symbol,blob:"FileReader"in r&&"Blob"in r&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in r,arrayBuffer:"ArrayBuffer"in r};if(i.arrayBuffer)var o=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],a=ArrayBuffer.isView||function(t){return t&&o.indexOf(Object.prototype.toString.call(t))>-1};function s(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function u(t){return"string"!=typeof t&&(t=String(t)),t}function c(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return i.iterable&&(e[Symbol.iterator]=function(){return e}),e}function l(t){this.map={},t instanceof l?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function h(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise((function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}}))}function d(t){var e=new FileReader,r=f(e);return e.readAsArrayBuffer(t),r}function p(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function m(){return this.bodyUsed=!1,this._initBody=function(t){var e;this.bodyUsed=this.bodyUsed,this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:i.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:i.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:i.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():i.arrayBuffer&&i.blob&&(e=t)&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=p(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||a(t))?this._bodyArrayBuffer=p(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i.blob&&(this.blob=function(){var t=h(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?h(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(d)}),this.text=function(){var t,e,r,n=h(this);if(n)return n;if(this._bodyBlob)return t=this._bodyBlob,r=f(e=new FileReader),e.readAsText(t),r;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),n=0;n<e.length;n++)r[n]=String.fromCharCode(e[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i.formData&&(this.formData=function(){return this.text().then(v)}),this.json=function(){return this.text().then(JSON.parse)},this}l.prototype.append=function(t,e){t=s(t),e=u(e);var r=this.map[t];this.map[t]=r?r+", "+e:e},l.prototype.delete=function(t){delete this.map[s(t)]},l.prototype.get=function(t){return t=s(t),this.has(t)?this.map[t]:null},l.prototype.has=function(t){return this.map.hasOwnProperty(s(t))},l.prototype.set=function(t,e){this.map[s(t)]=u(e)},l.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},l.prototype.keys=function(){var t=[];return this.forEach((function(e,r){t.push(r)})),c(t)},l.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),c(t)},l.prototype.entries=function(){var t=[];return this.forEach((function(e,r){t.push([r,e])})),c(t)},i.iterable&&(l.prototype[Symbol.iterator]=l.prototype.entries);var g=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,e){if(!(this instanceof y))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,n,i=(e=e||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new l(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,i||null==t._bodyInit||(i=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new l(e.headers)),this.method=(n=(r=e.method||this.method||"GET").toUpperCase(),g.indexOf(n)>-1?n:r),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(i),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==e.cache&&"no-cache"!==e.cache)){var o=/([?&])_=[^&]*/;o.test(this.url)?this.url=this.url.replace(o,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}function v(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var r=t.split("="),n=r.shift().replace(/\+/g," "),i=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(n),decodeURIComponent(i))}})),e}function b(t,e){if(!(this instanceof b))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===e.statusText?"":""+e.statusText,this.headers=new l(e.headers),this.url=e.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},m.call(y.prototype),m.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var _=[301,302,303,307,308];b.redirect=function(t,e){if(-1===_.indexOf(e))throw new RangeError("Invalid status code");return new b(null,{status:e,headers:{location:t}})},e.DOMException=r.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function w(t,o){return new Promise((function(a,s){var c=new y(t,o);if(c.signal&&c.signal.aborted)return s(new e.DOMException("Aborted","AbortError"));var h=new XMLHttpRequest;function f(){h.abort()}h.onload=function(){var t,e,r={status:h.status,statusText:h.statusText,headers:(t=h.getAllResponseHeaders()||"",e=new l,t.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(t){return 0===t.indexOf("\n")?t.substr(1,t.length):t})).forEach((function(t){var r=t.split(":"),n=r.shift().trim();if(n){var i=r.join(":").trim();e.append(n,i)}})),e)};r.url="responseURL"in h?h.responseURL:r.headers.get("X-Request-URL");var n="response"in h?h.response:h.responseText;setTimeout((function(){a(new b(n,r))}),0)},h.onerror=function(){setTimeout((function(){s(new TypeError("Network request failed"))}),0)},h.ontimeout=function(){setTimeout((function(){s(new TypeError("Network request failed"))}),0)},h.onabort=function(){setTimeout((function(){s(new e.DOMException("Aborted","AbortError"))}),0)},h.open(c.method,function(t){try{return""===t&&r.location.href?r.location.href:t}catch(e){return t}}(c.url),!0),"include"===c.credentials?h.withCredentials=!0:"omit"===c.credentials&&(h.withCredentials=!1),"responseType"in h&&(i.blob?h.responseType="blob":i.arrayBuffer&&c.headers.get("Content-Type")&&-1!==c.headers.get("Content-Type").indexOf("application/octet-stream")&&(h.responseType="arraybuffer")),!o||"object"!==(0,n.default)(o.headers)||o.headers instanceof l?c.headers.forEach((function(t,e){h.setRequestHeader(e,t)})):Object.getOwnPropertyNames(o.headers).forEach((function(t){h.setRequestHeader(t,u(o.headers[t]))})),c.signal&&(c.signal.addEventListener("abort",f),h.onreadystatechange=function(){4===h.readyState&&c.signal.removeEventListener("abort",f)}),h.send(void 0===c._bodyInit?null:c._bodyInit)}))}w.polyfill=!0,r.fetch||(r.fetch=w,r.Headers=l,r.Request=y,r.Response=b),e.Headers=l,e.Request=y,e.Response=b,e.fetch=w}({})}(o),o.fetch.ponyfill=!0,delete o.fetch.polyfill;var a=i.fetch?i:o;(e=a.fetch).default=a.fetch,e.fetch=a.fetch,e.Headers=a.Headers,e.Request=a.Request,e.Response=a.Response,t.exports=e},24293:(t,e,r)=>{"use strict";e.randomBytes=e.rng=e.pseudoRandomBytes=e.prng=r(75010),e.createHash=e.Hash=r(35866),e.createHmac=e.Hmac=r(34424);var n=r(26561),i=Object.keys(n),o=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(i);e.getHashes=function(){return o};var a=r(54192);e.pbkdf2=a.pbkdf2,e.pbkdf2Sync=a.pbkdf2Sync;var s=r(56805);e.Cipher=s.Cipher,e.createCipher=s.createCipher,e.Cipheriv=s.Cipheriv,e.createCipheriv=s.createCipheriv,e.Decipher=s.Decipher,e.createDecipher=s.createDecipher,e.Decipheriv=s.Decipheriv,e.createDecipheriv=s.createDecipheriv,e.getCiphers=s.getCiphers,e.listCiphers=s.listCiphers;var u=r(28333);e.DiffieHellmanGroup=u.DiffieHellmanGroup,e.createDiffieHellmanGroup=u.createDiffieHellmanGroup,e.getDiffieHellman=u.getDiffieHellman,e.createDiffieHellman=u.createDiffieHellman,e.DiffieHellman=u.DiffieHellman;var c=r(79527);e.createSign=c.createSign,e.Sign=c.Sign,e.createVerify=c.createVerify,e.Verify=c.Verify,e.createECDH=r(75102);var l=r(86991);e.publicEncrypt=l.publicEncrypt,e.privateEncrypt=l.privateEncrypt,e.publicDecrypt=l.publicDecrypt,e.privateDecrypt=l.privateDecrypt;var h=r(36509);e.randomFill=h.randomFill,e.randomFillSync=h.randomFillSync,e.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},e.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},80034:(t,e,r)=>{"use strict";var n=r(28847)(r(3355)),i="%[a-f0-9]{2}",o=new RegExp("("+i+")|([^%]+?)","gi"),a=new RegExp("("+i+")+","gi");function s(t,e){try{return[decodeURIComponent(t.join(""))]}catch(t){}if(1===t.length)return t;e=e||1;var r=t.slice(0,e),n=t.slice(e);return Array.prototype.concat.call([],s(r),s(n))}function u(t){try{return decodeURIComponent(t)}catch(n){for(var e=t.match(o)||[],r=1;r<e.length;r++)e=(t=s(e,r).join("")).match(o)||[];return t}}t.exports=function(t){if("string"!=typeof t)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+(0,n.default)(t)+"`");try{return t=t.replace(/\+/g," "),decodeURIComponent(t)}catch(e){return function(t){for(var e={"%FE%FF":"��","%FF%FE":"��"},r=a.exec(t);r;){try{e[r[0]]=decodeURIComponent(r[0])}catch(t){var n=u(r[0]);n!==r[0]&&(e[r[0]]=n)}r=a.exec(t)}e["%C2"]="�";for(var i=Object.keys(e),o=0;o<i.length;o++){var s=i[o];t=t.replace(new RegExp(s,"g"),e[s])}return t}(t)}}},94919:(t,e,r)=>{"use strict";var n=r(28847)(r(3355)),i=r(1020)(),o=r(57701),a=i&&o("%Object.defineProperty%",!0);if(a)try{a({},"a",{value:1})}catch(t){a=!1}var s=o("%SyntaxError%"),u=o("%TypeError%"),c=r(53820);t.exports=function(t,e,r){if(!t||"object"!==(0,n.default)(t)&&"function"!=typeof t)throw new u("`obj` must be an object or a function`");if("string"!=typeof e&&"symbol"!==(0,n.default)(e))throw new u("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new u("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new u("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new u("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new u("`loose`, if provided, must be a boolean");var i=arguments.length>3?arguments[3]:null,o=arguments.length>4?arguments[4]:null,l=arguments.length>5?arguments[5]:null,h=arguments.length>6&&arguments[6],f=!!c&&c(t,e);if(a)a(t,e,{configurable:null===l&&f?f.configurable:!l,enumerable:null===i&&f?f.enumerable:!i,value:r,writable:null===o&&f?f.writable:!o});else{if(!h&&(i||o||l))throw new s("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");t[e]=r}}},75626:(t,e,r)=>{"use strict";e.utils=r(43349),e.Cipher=r(19591),e.DES=r(63049),e.CBC=r(4375),e.EDE=r(9413)},4375:(t,e,r)=>{"use strict";var n=r(94504),i=r(41736),o={};function a(t){n.equal(t.length,8,"Invalid IV length"),this.iv=new Array(8);for(var e=0;e<this.iv.length;e++)this.iv[e]=t[e]}e.instantiate=function(t){function e(e){t.call(this,e),this._cbcInit()}i(e,t);for(var r=Object.keys(o),n=0;n<r.length;n++){var a=r[n];e.prototype[a]=o[a]}return e.create=function(t){return new e(t)},e},o._cbcInit=function(){var t=new a(this.options.iv);this._cbcState=t},o._update=function(t,e,r,n){var i=this._cbcState,o=this.constructor.super_.prototype,a=i.iv;if("encrypt"===this.type){for(var s=0;s<this.blockSize;s++)a[s]^=t[e+s];for(o._update.call(this,a,0,r,n),s=0;s<this.blockSize;s++)a[s]=r[n+s]}else{for(o._update.call(this,t,e,r,n),s=0;s<this.blockSize;s++)r[n+s]^=a[s];for(s=0;s<this.blockSize;s++)a[s]=t[e+s]}}},19591:(t,e,r)=>{"use strict";var n=r(94504);function i(t){this.options=t,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}t.exports=i,i.prototype._init=function(){},i.prototype.update=function(t){return 0===t.length?[]:"decrypt"===this.type?this._updateDecrypt(t):this._updateEncrypt(t)},i.prototype._buffer=function(t,e){for(var r=Math.min(this.buffer.length-this.bufferOff,t.length-e),n=0;n<r;n++)this.buffer[this.bufferOff+n]=t[e+n];return this.bufferOff+=r,r},i.prototype._flushBuffer=function(t,e){return this._update(this.buffer,0,t,e),this.bufferOff=0,this.blockSize},i.prototype._updateEncrypt=function(t){var e=0,r=0,n=(this.bufferOff+t.length)/this.blockSize|0,i=new Array(n*this.blockSize);0!==this.bufferOff&&(e+=this._buffer(t,e),this.bufferOff===this.buffer.length&&(r+=this._flushBuffer(i,r)));for(var o=t.length-(t.length-e)%this.blockSize;e<o;e+=this.blockSize)this._update(t,e,i,r),r+=this.blockSize;for(;e<t.length;e++,this.bufferOff++)this.buffer[this.bufferOff]=t[e];return i},i.prototype._updateDecrypt=function(t){for(var e=0,r=0,n=Math.ceil((this.bufferOff+t.length)/this.blockSize)-1,i=new Array(n*this.blockSize);n>0;n--)e+=this._buffer(t,e),r+=this._flushBuffer(i,r);return e+=this._buffer(t,e),i},i.prototype.final=function(t){var e,r;return t&&(e=this.update(t)),r="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),e?e.concat(r):r},i.prototype._pad=function(t,e){if(0===e)return!1;for(;e<t.length;)t[e++]=0;return!0},i.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var t=new Array(this.blockSize);return this._update(this.buffer,0,t,0),t},i.prototype._unpad=function(t){return t},i.prototype._finalDecrypt=function(){n.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var t=new Array(this.blockSize);return this._flushBuffer(t,0),this._unpad(t)}},63049:(t,e,r)=>{"use strict";var n=r(94504),i=r(41736),o=r(43349),a=r(19591);function s(){this.tmp=new Array(2),this.keys=null}function u(t){a.call(this,t);var e=new s;this._desState=e,this.deriveKeys(e,t.key)}i(u,a),t.exports=u,u.create=function(t){return new u(t)};var c=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];u.prototype.deriveKeys=function(t,e){t.keys=new Array(32),n.equal(e.length,this.blockSize,"Invalid key length");var r=o.readUInt32BE(e,0),i=o.readUInt32BE(e,4);o.pc1(r,i,t.tmp,0),r=t.tmp[0],i=t.tmp[1];for(var a=0;a<t.keys.length;a+=2){var s=c[a>>>1];r=o.r28shl(r,s),i=o.r28shl(i,s),o.pc2(r,i,t.keys,a)}},u.prototype._update=function(t,e,r,n){var i=this._desState,a=o.readUInt32BE(t,e),s=o.readUInt32BE(t,e+4);o.ip(a,s,i.tmp,0),a=i.tmp[0],s=i.tmp[1],"encrypt"===this.type?this._encrypt(i,a,s,i.tmp,0):this._decrypt(i,a,s,i.tmp,0),a=i.tmp[0],s=i.tmp[1],o.writeUInt32BE(r,a,n),o.writeUInt32BE(r,s,n+4)},u.prototype._pad=function(t,e){for(var r=t.length-e,n=e;n<t.length;n++)t[n]=r;return!0},u.prototype._unpad=function(t){for(var e=t[t.length-1],r=t.length-e;r<t.length;r++)n.equal(t[r],e);return t.slice(0,t.length-e)},u.prototype._encrypt=function(t,e,r,n,i){for(var a=e,s=r,u=0;u<t.keys.length;u+=2){var c=t.keys[u],l=t.keys[u+1];o.expand(s,t.tmp,0),c^=t.tmp[0],l^=t.tmp[1];var h=o.substitute(c,l),f=s;s=(a^o.permute(h))>>>0,a=f}o.rip(s,a,n,i)},u.prototype._decrypt=function(t,e,r,n,i){for(var a=r,s=e,u=t.keys.length-2;u>=0;u-=2){var c=t.keys[u],l=t.keys[u+1];o.expand(a,t.tmp,0),c^=t.tmp[0],l^=t.tmp[1];var h=o.substitute(c,l),f=a;a=(s^o.permute(h))>>>0,s=f}o.rip(a,s,n,i)}},9413:(t,e,r)=>{"use strict";var n=r(94504),i=r(41736),o=r(19591),a=r(63049);function s(t,e){n.equal(e.length,24,"Invalid key length");var r=e.slice(0,8),i=e.slice(8,16),o=e.slice(16,24);this.ciphers="encrypt"===t?[a.create({type:"encrypt",key:r}),a.create({type:"decrypt",key:i}),a.create({type:"encrypt",key:o})]:[a.create({type:"decrypt",key:o}),a.create({type:"encrypt",key:i}),a.create({type:"decrypt",key:r})]}function u(t){o.call(this,t);var e=new s(this.type,this.options.key);this._edeState=e}i(u,o),t.exports=u,u.create=function(t){return new u(t)},u.prototype._update=function(t,e,r,n){var i=this._edeState;i.ciphers[0]._update(t,e,r,n),i.ciphers[1]._update(r,n,r,n),i.ciphers[2]._update(r,n,r,n)},u.prototype._pad=a.prototype._pad,u.prototype._unpad=a.prototype._unpad},43349:(t,e)=>{"use strict";e.readUInt32BE=function(t,e){return(t[0+e]<<24|t[1+e]<<16|t[2+e]<<8|t[3+e])>>>0},e.writeUInt32BE=function(t,e,r){t[0+r]=e>>>24,t[1+r]=e>>>16&255,t[2+r]=e>>>8&255,t[3+r]=255&e},e.ip=function(t,e,r,n){for(var i=0,o=0,a=6;a>=0;a-=2){for(var s=0;s<=24;s+=8)i<<=1,i|=e>>>s+a&1;for(s=0;s<=24;s+=8)i<<=1,i|=t>>>s+a&1}for(a=6;a>=0;a-=2){for(s=1;s<=25;s+=8)o<<=1,o|=e>>>s+a&1;for(s=1;s<=25;s+=8)o<<=1,o|=t>>>s+a&1}r[n+0]=i>>>0,r[n+1]=o>>>0},e.rip=function(t,e,r,n){for(var i=0,o=0,a=0;a<4;a++)for(var s=24;s>=0;s-=8)i<<=1,i|=e>>>s+a&1,i<<=1,i|=t>>>s+a&1;for(a=4;a<8;a++)for(s=24;s>=0;s-=8)o<<=1,o|=e>>>s+a&1,o<<=1,o|=t>>>s+a&1;r[n+0]=i>>>0,r[n+1]=o>>>0},e.pc1=function(t,e,r,n){for(var i=0,o=0,a=7;a>=5;a--){for(var s=0;s<=24;s+=8)i<<=1,i|=e>>s+a&1;for(s=0;s<=24;s+=8)i<<=1,i|=t>>s+a&1}for(s=0;s<=24;s+=8)i<<=1,i|=e>>s+a&1;for(a=1;a<=3;a++){for(s=0;s<=24;s+=8)o<<=1,o|=e>>s+a&1;for(s=0;s<=24;s+=8)o<<=1,o|=t>>s+a&1}for(s=0;s<=24;s+=8)o<<=1,o|=t>>s+a&1;r[n+0]=i>>>0,r[n+1]=o>>>0},e.r28shl=function(t,e){return t<<e&268435455|t>>>28-e};var r=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];e.pc2=function(t,e,n,i){for(var o=0,a=0,s=r.length>>>1,u=0;u<s;u++)o<<=1,o|=t>>>r[u]&1;for(u=s;u<r.length;u++)a<<=1,a|=e>>>r[u]&1;n[i+0]=o>>>0,n[i+1]=a>>>0},e.expand=function(t,e,r){var n=0,i=0;n=(1&t)<<5|t>>>27;for(var o=23;o>=15;o-=4)n<<=6,n|=t>>>o&63;for(o=11;o>=3;o-=4)i|=t>>>o&63,i<<=6;i|=(31&t)<<1|t>>>31,e[r+0]=n>>>0,e[r+1]=i>>>0};var n=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];e.substitute=function(t,e){for(var r=0,i=0;i<4;i++)r<<=4,r|=n[64*i+(t>>>18-6*i&63)];for(i=0;i<4;i++)r<<=4,r|=n[256+64*i+(e>>>18-6*i&63)];return r>>>0};var i=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];e.permute=function(t){for(var e=0,r=0;r<i.length;r++)e<<=1,e|=t>>>i[r]&1;return e>>>0},e.padSplit=function(t,e,r){for(var n=t.toString(2);n.length<e;)n="0"+n;for(var i=[],o=0;o<e;o+=r)i.push(n.slice(o,o+r));return i.join(" ")}},28333:(t,e,r)=>{"use strict";var n=r(29033).Buffer,i=r(78557),o=r(29799),a=r(51592),s={binary:!0,hex:!0,base64:!0};e.DiffieHellmanGroup=e.createDiffieHellmanGroup=e.getDiffieHellman=function(t){var e=new n(o[t].prime,"hex"),r=new n(o[t].gen,"hex");return new a(e,r)},e.createDiffieHellman=e.DiffieHellman=function t(e,r,o,u){return n.isBuffer(r)||void 0===s[r]?t(e,"binary",r,o):(r=r||"binary",u=u||"binary",o=o||new n([2]),n.isBuffer(o)||(o=new n(o,u)),"number"==typeof e?new a(i(e,o),o,!0):(n.isBuffer(e)||(e=new n(e,r)),new a(e,o,!0)))}},51592:(t,e,r)=>{"use strict";var n=r(29033).Buffer,i=r(31734),o=new(r(31962)),a=new i(24),s=new i(11),u=new i(10),c=new i(3),l=new i(7),h=r(78557),f=r(75010);function d(t,e){return e=e||"utf8",n.isBuffer(t)||(t=new n(t,e)),this._pub=new i(t),this}function p(t,e){return e=e||"utf8",n.isBuffer(t)||(t=new n(t,e)),this._priv=new i(t),this}t.exports=g;var m={};function g(t,e,r){this.setGenerator(e),this.__prime=new i(t),this._prime=i.mont(this.__prime),this._primeLen=t.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,r?(this.setPublicKey=d,this.setPrivateKey=p):this._primeCode=8}function y(t,e){var r=new n(t.toArray());return e?r.toString(e):r}Object.defineProperty(g.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function(t,e){var r=e.toString("hex"),n=[r,t.toString(16)].join("_");if(n in m)return m[n];var i,f=0;if(t.isEven()||!h.simpleSieve||!h.fermatTest(t)||!o.test(t))return f+=1,f+="02"===r||"05"===r?8:4,m[n]=f,f;switch(o.test(t.shrn(1))||(f+=2),r){case"02":t.mod(a).cmp(s)&&(f+=8);break;case"05":(i=t.mod(u)).cmp(c)&&i.cmp(l)&&(f+=8);break;default:f+=4}return m[n]=f,f}(this.__prime,this.__gen)),this._primeCode}}),g.prototype.generateKeys=function(){return this._priv||(this._priv=new i(f(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},g.prototype.computeSecret=function(t){var e=(t=(t=new i(t)).toRed(this._prime)).redPow(this._priv).fromRed(),r=new n(e.toArray()),o=this.getPrime();if(r.length<o.length){var a=new n(o.length-r.length);a.fill(0),r=n.concat([a,r])}return r},g.prototype.getPublicKey=function(t){return y(this._pub,t)},g.prototype.getPrivateKey=function(t){return y(this._priv,t)},g.prototype.getPrime=function(t){return y(this.__prime,t)},g.prototype.getGenerator=function(t){return y(this._gen,t)},g.prototype.setGenerator=function(t,e){return e=e||"utf8",n.isBuffer(t)||(t=new n(t,e)),this.__gen=t,this._gen=new i(t),this}},78557:(t,e,r)=>{"use strict";var n=r(75010);t.exports=v,v.simpleSieve=g,v.fermatTest=y;var i=r(31734),o=new i(24),a=new(r(31962)),s=new i(1),u=new i(2),c=new i(5),l=(new i(16),new i(8),new i(10)),h=new i(3),f=(new i(7),new i(11)),d=new i(4),p=(new i(12),null);function m(){if(null!==p)return p;var t=[];t[0]=2;for(var e=1,r=3;r<1048576;r+=2){for(var n=Math.ceil(Math.sqrt(r)),i=0;i<e&&t[i]<=n&&r%t[i]!=0;i++);e!==i&&t[i]<=n||(t[e++]=r)}return p=t,t}function g(t){for(var e=m(),r=0;r<e.length;r++)if(0===t.modn(e[r]))return 0===t.cmpn(e[r]);return!0}function y(t){var e=i.mont(t);return 0===u.toRed(e).redPow(t.subn(1)).fromRed().cmpn(1)}function v(t,e){if(t<16)return new i(2===e||5===e?[140,123]:[140,39]);var r,p;for(e=new i(e);;){for(r=new i(n(Math.ceil(t/8)));r.bitLength()>t;)r.ishrn(1);if(r.isEven()&&r.iadd(s),r.testn(1)||r.iadd(u),e.cmp(u)){if(!e.cmp(c))for(;r.mod(l).cmp(h);)r.iadd(d)}else for(;r.mod(o).cmp(f);)r.iadd(d);if(g(p=r.shrn(1))&&g(r)&&y(p)&&y(r)&&a.test(p)&&a.test(r))return r}}},36597:(t,e,r)=>{"use strict";var n=e;n.version=r(18597).i8,n.utils=r(7528),n.rand=r(82202),n.curve=r(76063),n.curves=r(40506),n.ec=r(28320),n.eddsa=r(68027)},11249:(t,e,r)=>{"use strict";var n=r(31734),i=r(7528),o=i.getNAF,a=i.getJSF,s=i.assert;function u(t,e){this.type=t,this.p=new n(e.p,16),this.red=e.prime?n.red(e.prime):n.mont(this.p),this.zero=new n(0).toRed(this.red),this.one=new n(1).toRed(this.red),this.two=new n(2).toRed(this.red),this.n=e.n&&new n(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function c(t,e){this.curve=t,this.type=e,this.precomputed=null}t.exports=u,u.prototype.point=function(){throw new Error("Not implemented")},u.prototype.validate=function(){throw new Error("Not implemented")},u.prototype._fixedNafMul=function(t,e){s(t.precomputed);var r=t._getDoubles(),n=o(e,1,this._bitLength),i=(1<<r.step+1)-(r.step%2==0?2:1);i/=3;var a,u,c=[];for(a=0;a<n.length;a+=r.step){u=0;for(var l=a+r.step-1;l>=a;l--)u=(u<<1)+n[l];c.push(u)}for(var h=this.jpoint(null,null,null),f=this.jpoint(null,null,null),d=i;d>0;d--){for(a=0;a<c.length;a++)(u=c[a])===d?f=f.mixedAdd(r.points[a]):u===-d&&(f=f.mixedAdd(r.points[a].neg()));h=h.add(f)}return h.toP()},u.prototype._wnafMul=function(t,e){var r=4,n=t._getNAFPoints(r);r=n.wnd;for(var i=n.points,a=o(e,r,this._bitLength),u=this.jpoint(null,null,null),c=a.length-1;c>=0;c--){for(var l=0;c>=0&&0===a[c];c--)l++;if(c>=0&&l++,u=u.dblp(l),c<0)break;var h=a[c];s(0!==h),u="affine"===t.type?h>0?u.mixedAdd(i[h-1>>1]):u.mixedAdd(i[-h-1>>1].neg()):h>0?u.add(i[h-1>>1]):u.add(i[-h-1>>1].neg())}return"affine"===t.type?u.toP():u},u.prototype._wnafMulAdd=function(t,e,r,n,i){var s,u,c,l=this._wnafT1,h=this._wnafT2,f=this._wnafT3,d=0;for(s=0;s<n;s++){var p=(c=e[s])._getNAFPoints(t);l[s]=p.wnd,h[s]=p.points}for(s=n-1;s>=1;s-=2){var m=s-1,g=s;if(1===l[m]&&1===l[g]){var y=[e[m],null,null,e[g]];0===e[m].y.cmp(e[g].y)?(y[1]=e[m].add(e[g]),y[2]=e[m].toJ().mixedAdd(e[g].neg())):0===e[m].y.cmp(e[g].y.redNeg())?(y[1]=e[m].toJ().mixedAdd(e[g]),y[2]=e[m].add(e[g].neg())):(y[1]=e[m].toJ().mixedAdd(e[g]),y[2]=e[m].toJ().mixedAdd(e[g].neg()));var v=[-3,-1,-5,-7,0,7,5,1,3],b=a(r[m],r[g]);for(d=Math.max(b[0].length,d),f[m]=new Array(d),f[g]=new Array(d),u=0;u<d;u++){var _=0|b[0][u],w=0|b[1][u];f[m][u]=v[3*(_+1)+(w+1)],f[g][u]=0,h[m]=y}}else f[m]=o(r[m],l[m],this._bitLength),f[g]=o(r[g],l[g],this._bitLength),d=Math.max(f[m].length,d),d=Math.max(f[g].length,d)}var x=this.jpoint(null,null,null),k=this._wnafT4;for(s=d;s>=0;s--){for(var S=0;s>=0;){var E=!0;for(u=0;u<n;u++)k[u]=0|f[u][s],0!==k[u]&&(E=!1);if(!E)break;S++,s--}if(s>=0&&S++,x=x.dblp(S),s<0)break;for(u=0;u<n;u++){var M=k[u];0!==M&&(M>0?c=h[u][M-1>>1]:M<0&&(c=h[u][-M-1>>1].neg()),x="affine"===c.type?x.mixedAdd(c):x.add(c))}}for(s=0;s<n;s++)h[s]=null;return i?x:x.toP()},u.BasePoint=c,c.prototype.eq=function(){throw new Error("Not implemented")},c.prototype.validate=function(){return this.curve.validate(this)},u.prototype.decodePoint=function(t,e){t=i.toArray(t,e);var r=this.p.byteLength();if((4===t[0]||6===t[0]||7===t[0])&&t.length-1==2*r)return 6===t[0]?s(t[t.length-1]%2==0):7===t[0]&&s(t[t.length-1]%2==1),this.point(t.slice(1,1+r),t.slice(1+r,1+2*r));if((2===t[0]||3===t[0])&&t.length-1===r)return this.pointFromX(t.slice(1,1+r),3===t[0]);throw new Error("Unknown point format")},c.prototype.encodeCompressed=function(t){return this.encode(t,!0)},c.prototype._encode=function(t){var e=this.curve.p.byteLength(),r=this.getX().toArray("be",e);return t?[this.getY().isEven()?2:3].concat(r):[4].concat(r,this.getY().toArray("be",e))},c.prototype.encode=function(t,e){return i.encode(this._encode(e),t)},c.prototype.precompute=function(t){if(this.precomputed)return this;var e={doubles:null,naf:null,beta:null};return e.naf=this._getNAFPoints(8),e.doubles=this._getDoubles(4,t),e.beta=this._getBeta(),this.precomputed=e,this},c.prototype._hasDoubles=function(t){if(!this.precomputed)return!1;var e=this.precomputed.doubles;return!!e&&e.points.length>=Math.ceil((t.bitLength()+1)/e.step)},c.prototype._getDoubles=function(t,e){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,i=0;i<e;i+=t){for(var o=0;o<t;o++)n=n.dbl();r.push(n)}return{step:t,points:r}},c.prototype._getNAFPoints=function(t){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var e=[this],r=(1<<t)-1,n=1===r?null:this.dbl(),i=1;i<r;i++)e[i]=e[i-1].add(n);return{wnd:t,points:e}},c.prototype._getBeta=function(){return null},c.prototype.dblp=function(t){for(var e=this,r=0;r<t;r++)e=e.dbl();return e}},81123:(t,e,r)=>{"use strict";var n=r(7528),i=r(31734),o=r(41736),a=r(11249),s=n.assert;function u(t){this.twisted=1!=(0|t.a),this.mOneA=this.twisted&&-1==(0|t.a),this.extended=this.mOneA,a.call(this,"edwards",t),this.a=new i(t.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new i(t.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new i(t.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),s(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|t.c)}function c(t,e,r,n,o){a.BasePoint.call(this,t,"projective"),null===e&&null===r&&null===n?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new i(e,16),this.y=new i(r,16),this.z=n?new i(n,16):this.curve.one,this.t=o&&new i(o,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.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}o(u,a),t.exports=u,u.prototype._mulA=function(t){return this.mOneA?t.redNeg():this.a.redMul(t)},u.prototype._mulC=function(t){return this.oneC?t:this.c.redMul(t)},u.prototype.jpoint=function(t,e,r,n){return this.point(t,e,r,n)},u.prototype.pointFromX=function(t,e){(t=new i(t,16)).red||(t=t.toRed(this.red));var r=t.redSqr(),n=this.c2.redSub(this.a.redMul(r)),o=this.one.redSub(this.c2.redMul(this.d).redMul(r)),a=n.redMul(o.redInvm()),s=a.redSqrt();if(0!==s.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");var u=s.fromRed().isOdd();return(e&&!u||!e&&u)&&(s=s.redNeg()),this.point(t,s)},u.prototype.pointFromY=function(t,e){(t=new i(t,16)).red||(t=t.toRed(this.red));var r=t.redSqr(),n=r.redSub(this.c2),o=r.redMul(this.d).redMul(this.c2).redSub(this.a),a=n.redMul(o.redInvm());if(0===a.cmp(this.zero)){if(e)throw new Error("invalid point");return this.point(this.zero,t)}var s=a.redSqrt();if(0!==s.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");return s.fromRed().isOdd()!==e&&(s=s.redNeg()),this.point(s,t)},u.prototype.validate=function(t){if(t.isInfinity())return!0;t.normalize();var e=t.x.redSqr(),r=t.y.redSqr(),n=e.redMul(this.a).redAdd(r),i=this.c2.redMul(this.one.redAdd(this.d.redMul(e).redMul(r)));return 0===n.cmp(i)},o(c,a.BasePoint),u.prototype.pointFromJSON=function(t){return c.fromJSON(this,t)},u.prototype.point=function(t,e,r,n){return new c(this,t,e,r,n)},c.fromJSON=function(t,e){return new c(t,e[0],e[1],e[2])},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},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 t=this.x.redSqr(),e=this.y.redSqr(),r=this.z.redSqr();r=r.redIAdd(r);var n=this.curve._mulA(t),i=this.x.redAdd(this.y).redSqr().redISub(t).redISub(e),o=n.redAdd(e),a=o.redSub(r),s=n.redSub(e),u=i.redMul(a),c=o.redMul(s),l=i.redMul(s),h=a.redMul(o);return this.curve.point(u,c,h,l)},c.prototype._projDbl=function(){var t,e,r,n,i,o,a=this.x.redAdd(this.y).redSqr(),s=this.x.redSqr(),u=this.y.redSqr();if(this.curve.twisted){var c=(n=this.curve._mulA(s)).redAdd(u);this.zOne?(t=a.redSub(s).redSub(u).redMul(c.redSub(this.curve.two)),e=c.redMul(n.redSub(u)),r=c.redSqr().redSub(c).redSub(c)):(i=this.z.redSqr(),o=c.redSub(i).redISub(i),t=a.redSub(s).redISub(u).redMul(o),e=c.redMul(n.redSub(u)),r=c.redMul(o))}else n=s.redAdd(u),i=this.curve._mulC(this.z).redSqr(),o=n.redSub(i).redSub(i),t=this.curve._mulC(a.redISub(n)).redMul(o),e=this.curve._mulC(n).redMul(s.redISub(u)),r=n.redMul(o);return this.curve.point(t,e,r)},c.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},c.prototype._extAdd=function(t){var e=this.y.redSub(this.x).redMul(t.y.redSub(t.x)),r=this.y.redAdd(this.x).redMul(t.y.redAdd(t.x)),n=this.t.redMul(this.curve.dd).redMul(t.t),i=this.z.redMul(t.z.redAdd(t.z)),o=r.redSub(e),a=i.redSub(n),s=i.redAdd(n),u=r.redAdd(e),c=o.redMul(a),l=s.redMul(u),h=o.redMul(u),f=a.redMul(s);return this.curve.point(c,l,f,h)},c.prototype._projAdd=function(t){var e,r,n=this.z.redMul(t.z),i=n.redSqr(),o=this.x.redMul(t.x),a=this.y.redMul(t.y),s=this.curve.d.redMul(o).redMul(a),u=i.redSub(s),c=i.redAdd(s),l=this.x.redAdd(this.y).redMul(t.x.redAdd(t.y)).redISub(o).redISub(a),h=n.redMul(u).redMul(l);return this.curve.twisted?(e=n.redMul(c).redMul(a.redSub(this.curve._mulA(o))),r=u.redMul(c)):(e=n.redMul(c).redMul(a.redSub(o)),r=this.curve._mulC(u).redMul(c)),this.curve.point(h,e,r)},c.prototype.add=function(t){return this.isInfinity()?t:t.isInfinity()?this:this.curve.extended?this._extAdd(t):this._projAdd(t)},c.prototype.mul=function(t){return this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve._wnafMul(this,t)},c.prototype.mulAdd=function(t,e,r){return this.curve._wnafMulAdd(1,[this,e],[t,r],2,!1)},c.prototype.jmulAdd=function(t,e,r){return this.curve._wnafMulAdd(1,[this,e],[t,r],2,!0)},c.prototype.normalize=function(){if(this.zOne)return this;var t=this.z.redInvm();return this.x=this.x.redMul(t),this.y=this.y.redMul(t),this.t&&(this.t=this.t.redMul(t)),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(t){return this===t||0===this.getX().cmp(t.getX())&&0===this.getY().cmp(t.getY())},c.prototype.eqXToP=function(t){var e=t.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(e))return!0;for(var r=t.clone(),n=this.curve.redN.redMul(this.z);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(e.redIAdd(n),0===this.x.cmp(e))return!0}},c.prototype.toP=c.prototype.normalize,c.prototype.mixedAdd=c.prototype.add},76063:(t,e,r)=>{"use strict";var n=e;n.base=r(11249),n.short=r(53148),n.mont=r(51105),n.edwards=r(81123)},51105:(t,e,r)=>{"use strict";var n=r(31734),i=r(41736),o=r(11249),a=r(7528);function s(t){o.call(this,"mont",t),this.a=new n(t.a,16).toRed(this.red),this.b=new n(t.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 u(t,e,r){o.BasePoint.call(this,t,"projective"),null===e&&null===r?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new n(e,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(s,o),t.exports=s,s.prototype.validate=function(t){var e=t.normalize().x,r=e.redSqr(),n=r.redMul(e).redAdd(r.redMul(this.a)).redAdd(e);return 0===n.redSqrt().redSqr().cmp(n)},i(u,o.BasePoint),s.prototype.decodePoint=function(t,e){return this.point(a.toArray(t,e),1)},s.prototype.point=function(t,e){return new u(this,t,e)},s.prototype.pointFromJSON=function(t){return u.fromJSON(this,t)},u.prototype.precompute=function(){},u.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},u.fromJSON=function(t,e){return new u(t,e[0],e[1]||t.one)},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},u.prototype.dbl=function(){var t=this.x.redAdd(this.z).redSqr(),e=this.x.redSub(this.z).redSqr(),r=t.redSub(e),n=t.redMul(e),i=r.redMul(e.redAdd(this.curve.a24.redMul(r)));return this.curve.point(n,i)},u.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},u.prototype.diffAdd=function(t,e){var r=this.x.redAdd(this.z),n=this.x.redSub(this.z),i=t.x.redAdd(t.z),o=t.x.redSub(t.z).redMul(r),a=i.redMul(n),s=e.z.redMul(o.redAdd(a).redSqr()),u=e.x.redMul(o.redISub(a).redSqr());return this.curve.point(s,u)},u.prototype.mul=function(t){for(var e=t.clone(),r=this,n=this.curve.point(null,null),i=[];0!==e.cmpn(0);e.iushrn(1))i.push(e.andln(1));for(var o=i.length-1;o>=0;o--)0===i[o]?(r=r.diffAdd(n,this),n=n.dbl()):(n=r.diffAdd(n,this),r=r.dbl());return n},u.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},u.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},u.prototype.eq=function(t){return 0===this.getX().cmp(t.getX())},u.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},u.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},53148:(t,e,r)=>{"use strict";var n=r(7528),i=r(31734),o=r(41736),a=r(11249),s=n.assert;function u(t){a.call(this,"short",t),this.a=new i(t.a,16).toRed(this.red),this.b=new i(t.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(t),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function c(t,e,r,n){a.BasePoint.call(this,t,"affine"),null===e&&null===r?(this.x=null,this.y=null,this.inf=!0):(this.x=new i(e,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 l(t,e,r,n){a.BasePoint.call(this,t,"jacobian"),null===e&&null===r&&null===n?(this.x=this.curve.one,this.y=this.curve.one,this.z=new i(0)):(this.x=new i(e,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}o(u,a),t.exports=u,u.prototype._getEndomorphism=function(t){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var e,r;if(t.beta)e=new i(t.beta,16).toRed(this.red);else{var n=this._getEndoRoots(this.p);e=(e=n[0].cmp(n[1])<0?n[0]:n[1]).toRed(this.red)}if(t.lambda)r=new i(t.lambda,16);else{var o=this._getEndoRoots(this.n);0===this.g.mul(o[0]).x.cmp(this.g.x.redMul(e))?r=o[0]:(r=o[1],s(0===this.g.mul(r).x.cmp(this.g.x.redMul(e))))}return{beta:e,lambda:r,basis:t.basis?t.basis.map((function(t){return{a:new i(t.a,16),b:new i(t.b,16)}})):this._getEndoBasis(r)}}},u.prototype._getEndoRoots=function(t){var e=t===this.p?this.red:i.mont(t),r=new i(2).toRed(e).redInvm(),n=r.redNeg(),o=new i(3).toRed(e).redNeg().redSqrt().redMul(r);return[n.redAdd(o).fromRed(),n.redSub(o).fromRed()]},u.prototype._getEndoBasis=function(t){for(var e,r,n,o,a,s,u,c,l,h=this.n.ushrn(Math.floor(this.n.bitLength()/2)),f=t,d=this.n.clone(),p=new i(1),m=new i(0),g=new i(0),y=new i(1),v=0;0!==f.cmpn(0);){var b=d.div(f);c=d.sub(b.mul(f)),l=g.sub(b.mul(p));var _=y.sub(b.mul(m));if(!n&&c.cmp(h)<0)e=u.neg(),r=p,n=c.neg(),o=l;else if(n&&2==++v)break;u=c,d=f,f=c,g=p,p=l,y=m,m=_}a=c.neg(),s=l;var w=n.sqr().add(o.sqr());return a.sqr().add(s.sqr()).cmp(w)>=0&&(a=e,s=r),n.negative&&(n=n.neg(),o=o.neg()),a.negative&&(a=a.neg(),s=s.neg()),[{a:n,b:o},{a:a,b:s}]},u.prototype._endoSplit=function(t){var e=this.endo.basis,r=e[0],n=e[1],i=n.b.mul(t).divRound(this.n),o=r.b.neg().mul(t).divRound(this.n),a=i.mul(r.a),s=o.mul(n.a),u=i.mul(r.b),c=o.mul(n.b);return{k1:t.sub(a).sub(s),k2:u.add(c).neg()}},u.prototype.pointFromX=function(t,e){(t=new i(t,16)).red||(t=t.toRed(this.red));var r=t.redSqr().redMul(t).redIAdd(t.redMul(this.a)).redIAdd(this.b),n=r.redSqrt();if(0!==n.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var o=n.fromRed().isOdd();return(e&&!o||!e&&o)&&(n=n.redNeg()),this.point(t,n)},u.prototype.validate=function(t){if(t.inf)return!0;var e=t.x,r=t.y,n=this.a.redMul(e),i=e.redSqr().redMul(e).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(i).cmpn(0)},u.prototype._endoWnafMulAdd=function(t,e,r){for(var n=this._endoWnafT1,i=this._endoWnafT2,o=0;o<t.length;o++){var a=this._endoSplit(e[o]),s=t[o],u=s._getBeta();a.k1.negative&&(a.k1.ineg(),s=s.neg(!0)),a.k2.negative&&(a.k2.ineg(),u=u.neg(!0)),n[2*o]=s,n[2*o+1]=u,i[2*o]=a.k1,i[2*o+1]=a.k2}for(var c=this._wnafMulAdd(1,n,i,2*o,r),l=0;l<2*o;l++)n[l]=null,i[l]=null;return c},o(c,a.BasePoint),u.prototype.point=function(t,e,r){return new c(this,t,e,r)},u.prototype.pointFromJSON=function(t,e){return c.fromJSON(this,t,e)},c.prototype._getBeta=function(){if(this.curve.endo){var t=this.precomputed;if(t&&t.beta)return t.beta;var e=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(t){var r=this.curve,n=function(t){return r.point(t.x.redMul(r.endo.beta),t.y)};t.beta=e,e.precomputed={beta:null,naf:t.naf&&{wnd:t.naf.wnd,points:t.naf.points.map(n)},doubles:t.doubles&&{step:t.doubles.step,points:t.doubles.points.map(n)}}}return e}},c.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},c.fromJSON=function(t,e,r){"string"==typeof e&&(e=JSON.parse(e));var n=t.point(e[0],e[1],r);if(!e[2])return n;function i(e){return t.point(e[0],e[1],r)}var o=e[2];return n.precomputed={beta:null,doubles:o.doubles&&{step:o.doubles.step,points:[n].concat(o.doubles.points.map(i))},naf:o.naf&&{wnd:o.naf.wnd,points:[n].concat(o.naf.points.map(i))}},n},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return this.inf},c.prototype.add=function(t){if(this.inf)return t;if(t.inf)return this;if(this.eq(t))return this.dbl();if(this.neg().eq(t))return this.curve.point(null,null);if(0===this.x.cmp(t.x))return this.curve.point(null,null);var e=this.y.redSub(t.y);0!==e.cmpn(0)&&(e=e.redMul(this.x.redSub(t.x).redInvm()));var r=e.redSqr().redISub(this.x).redISub(t.x),n=e.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,n)},c.prototype.dbl=function(){if(this.inf)return this;var t=this.y.redAdd(this.y);if(0===t.cmpn(0))return this.curve.point(null,null);var e=this.curve.a,r=this.x.redSqr(),n=t.redInvm(),i=r.redAdd(r).redIAdd(r).redIAdd(e).redMul(n),o=i.redSqr().redISub(this.x.redAdd(this.x)),a=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,a)},c.prototype.getX=function(){return this.x.fromRed()},c.prototype.getY=function(){return this.y.fromRed()},c.prototype.mul=function(t){return t=new i(t,16),this.isInfinity()?this:this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve.endo?this.curve._endoWnafMulAdd([this],[t]):this.curve._wnafMul(this,t)},c.prototype.mulAdd=function(t,e,r){var n=[this,e],i=[t,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i):this.curve._wnafMulAdd(1,n,i,2)},c.prototype.jmulAdd=function(t,e,r){var n=[this,e],i=[t,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i,!0):this.curve._wnafMulAdd(1,n,i,2,!0)},c.prototype.eq=function(t){return this===t||this.inf===t.inf&&(this.inf||0===this.x.cmp(t.x)&&0===this.y.cmp(t.y))},c.prototype.neg=function(t){if(this.inf)return this;var e=this.curve.point(this.x,this.y.redNeg());if(t&&this.precomputed){var r=this.precomputed,n=function(t){return t.neg()};e.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 e},c.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},o(l,a.BasePoint),u.prototype.jpoint=function(t,e,r){return new l(this,t,e,r)},l.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var t=this.z.redInvm(),e=t.redSqr(),r=this.x.redMul(e),n=this.y.redMul(e).redMul(t);return this.curve.point(r,n)},l.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},l.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var e=t.z.redSqr(),r=this.z.redSqr(),n=this.x.redMul(e),i=t.x.redMul(r),o=this.y.redMul(e.redMul(t.z)),a=t.y.redMul(r.redMul(this.z)),s=n.redSub(i),u=o.redSub(a);if(0===s.cmpn(0))return 0!==u.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=s.redSqr(),l=c.redMul(s),h=n.redMul(c),f=u.redSqr().redIAdd(l).redISub(h).redISub(h),d=u.redMul(h.redISub(f)).redISub(o.redMul(l)),p=this.z.redMul(t.z).redMul(s);return this.curve.jpoint(f,d,p)},l.prototype.mixedAdd=function(t){if(this.isInfinity())return t.toJ();if(t.isInfinity())return this;var e=this.z.redSqr(),r=this.x,n=t.x.redMul(e),i=this.y,o=t.y.redMul(e).redMul(this.z),a=r.redSub(n),s=i.redSub(o);if(0===a.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=a.redSqr(),c=u.redMul(a),l=r.redMul(u),h=s.redSqr().redIAdd(c).redISub(l).redISub(l),f=s.redMul(l.redISub(h)).redISub(i.redMul(c)),d=this.z.redMul(a);return this.curve.jpoint(h,f,d)},l.prototype.dblp=function(t){if(0===t)return this;if(this.isInfinity())return this;if(!t)return this.dbl();var e;if(this.curve.zeroA||this.curve.threeA){var r=this;for(e=0;e<t;e++)r=r.dbl();return r}var n=this.curve.a,i=this.curve.tinv,o=this.x,a=this.y,s=this.z,u=s.redSqr().redSqr(),c=a.redAdd(a);for(e=0;e<t;e++){var l=o.redSqr(),h=c.redSqr(),f=h.redSqr(),d=l.redAdd(l).redIAdd(l).redIAdd(n.redMul(u)),p=o.redMul(h),m=d.redSqr().redISub(p.redAdd(p)),g=p.redISub(m),y=d.redMul(g);y=y.redIAdd(y).redISub(f);var v=c.redMul(s);e+1<t&&(u=u.redMul(f)),o=m,s=v,c=y}return this.curve.jpoint(o,c.redMul(i),s)},l.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},l.prototype._zeroDbl=function(){var t,e,r;if(this.zOne){var n=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),a=this.x.redAdd(i).redSqr().redISub(n).redISub(o);a=a.redIAdd(a);var s=n.redAdd(n).redIAdd(n),u=s.redSqr().redISub(a).redISub(a),c=o.redIAdd(o);c=(c=c.redIAdd(c)).redIAdd(c),t=u,e=s.redMul(a.redISub(u)).redISub(c),r=this.y.redAdd(this.y)}else{var l=this.x.redSqr(),h=this.y.redSqr(),f=h.redSqr(),d=this.x.redAdd(h).redSqr().redISub(l).redISub(f);d=d.redIAdd(d);var p=l.redAdd(l).redIAdd(l),m=p.redSqr(),g=f.redIAdd(f);g=(g=g.redIAdd(g)).redIAdd(g),t=m.redISub(d).redISub(d),e=p.redMul(d.redISub(t)).redISub(g),r=(r=this.y.redMul(this.z)).redIAdd(r)}return this.curve.jpoint(t,e,r)},l.prototype._threeDbl=function(){var t,e,r;if(this.zOne){var n=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),a=this.x.redAdd(i).redSqr().redISub(n).redISub(o);a=a.redIAdd(a);var s=n.redAdd(n).redIAdd(n).redIAdd(this.curve.a),u=s.redSqr().redISub(a).redISub(a);t=u;var c=o.redIAdd(o);c=(c=c.redIAdd(c)).redIAdd(c),e=s.redMul(a.redISub(u)).redISub(c),r=this.y.redAdd(this.y)}else{var l=this.z.redSqr(),h=this.y.redSqr(),f=this.x.redMul(h),d=this.x.redSub(l).redMul(this.x.redAdd(l));d=d.redAdd(d).redIAdd(d);var p=f.redIAdd(f),m=(p=p.redIAdd(p)).redAdd(p);t=d.redSqr().redISub(m),r=this.y.redAdd(this.z).redSqr().redISub(h).redISub(l);var g=h.redSqr();g=(g=(g=g.redIAdd(g)).redIAdd(g)).redIAdd(g),e=d.redMul(p.redISub(t)).redISub(g)}return this.curve.jpoint(t,e,r)},l.prototype._dbl=function(){var t=this.curve.a,e=this.x,r=this.y,n=this.z,i=n.redSqr().redSqr(),o=e.redSqr(),a=r.redSqr(),s=o.redAdd(o).redIAdd(o).redIAdd(t.redMul(i)),u=e.redAdd(e),c=(u=u.redIAdd(u)).redMul(a),l=s.redSqr().redISub(c.redAdd(c)),h=c.redISub(l),f=a.redSqr();f=(f=(f=f.redIAdd(f)).redIAdd(f)).redIAdd(f);var d=s.redMul(h).redISub(f),p=r.redAdd(r).redMul(n);return this.curve.jpoint(l,d,p)},l.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var t=this.x.redSqr(),e=this.y.redSqr(),r=this.z.redSqr(),n=e.redSqr(),i=t.redAdd(t).redIAdd(t),o=i.redSqr(),a=this.x.redAdd(e).redSqr().redISub(t).redISub(n),s=(a=(a=(a=a.redIAdd(a)).redAdd(a).redIAdd(a)).redISub(o)).redSqr(),u=n.redIAdd(n);u=(u=(u=u.redIAdd(u)).redIAdd(u)).redIAdd(u);var c=i.redIAdd(a).redSqr().redISub(o).redISub(s).redISub(u),l=e.redMul(c);l=(l=l.redIAdd(l)).redIAdd(l);var h=this.x.redMul(s).redISub(l);h=(h=h.redIAdd(h)).redIAdd(h);var f=this.y.redMul(c.redMul(u.redISub(c)).redISub(a.redMul(s)));f=(f=(f=f.redIAdd(f)).redIAdd(f)).redIAdd(f);var d=this.z.redAdd(a).redSqr().redISub(r).redISub(s);return this.curve.jpoint(h,f,d)},l.prototype.mul=function(t,e){return t=new i(t,e),this.curve._wnafMul(this,t)},l.prototype.eq=function(t){if("affine"===t.type)return this.eq(t.toJ());if(this===t)return!0;var e=this.z.redSqr(),r=t.z.redSqr();if(0!==this.x.redMul(r).redISub(t.x.redMul(e)).cmpn(0))return!1;var n=e.redMul(this.z),i=r.redMul(t.z);return 0===this.y.redMul(i).redISub(t.y.redMul(n)).cmpn(0)},l.prototype.eqXToP=function(t){var e=this.z.redSqr(),r=t.toRed(this.curve.red).redMul(e);if(0===this.x.cmp(r))return!0;for(var n=t.clone(),i=this.curve.redN.redMul(e);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(r.redIAdd(i),0===this.x.cmp(r))return!0}},l.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},l.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},40506:(t,e,r)=>{"use strict";var n,i=e,o=r(37198),a=r(76063),s=r(7528).assert;function u(t){"short"===t.type?this.curve=new a.short(t):"edwards"===t.type?this.curve=new a.edwards(t):this.curve=new a.mont(t),this.g=this.curve.g,this.n=this.curve.n,this.hash=t.hash,s(this.g.validate(),"Invalid curve"),s(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function c(t,e){Object.defineProperty(i,t,{configurable:!0,enumerable:!0,get:function(){var r=new u(e);return Object.defineProperty(i,t,{configurable:!0,enumerable:!0,value:r}),r}})}i.PresetCurve=u,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:o.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:o.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:o.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:o.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:o.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",hash:o.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",hash:o.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{n=r(46401)}catch(t){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:o.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",n]})},28320:(t,e,r)=>{"use strict";var n=r(28847)(r(3355)),i=r(31734),o=r(29410),a=r(7528),s=r(40506),u=r(82202),c=a.assert,l=r(37791),h=r(30488);function f(t){if(!(this instanceof f))return new f(t);"string"==typeof t&&(c(Object.prototype.hasOwnProperty.call(s,t),"Unknown curve "+t),t=s[t]),t instanceof s.PresetCurve&&(t={curve:t}),this.curve=t.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=t.curve.g,this.g.precompute(t.curve.n.bitLength()+1),this.hash=t.hash||t.curve.hash}t.exports=f,f.prototype.keyPair=function(t){return new l(this,t)},f.prototype.keyFromPrivate=function(t,e){return l.fromPrivate(this,t,e)},f.prototype.keyFromPublic=function(t,e){return l.fromPublic(this,t,e)},f.prototype.genKeyPair=function(t){t||(t={});for(var e=new o({hash:this.hash,pers:t.pers,persEnc:t.persEnc||"utf8",entropy:t.entropy||u(this.hash.hmacStrength),entropyEnc:t.entropy&&t.entropyEnc||"utf8",nonce:this.n.toArray()}),r=this.n.byteLength(),n=this.n.sub(new i(2));;){var a=new i(e.generate(r));if(!(a.cmp(n)>0))return a.iaddn(1),this.keyFromPrivate(a)}},f.prototype._truncateToN=function(t,e){var r=8*t.byteLength()-this.n.bitLength();return r>0&&(t=t.ushrn(r)),!e&&t.cmp(this.n)>=0?t.sub(this.n):t},f.prototype.sign=function(t,e,r,a){"object"===(0,n.default)(r)&&(a=r,r=null),a||(a={}),e=this.keyFromPrivate(e,r),t=this._truncateToN(new i(t,16));for(var s=this.n.byteLength(),u=e.getPrivate().toArray("be",s),c=t.toArray("be",s),l=new o({hash:this.hash,entropy:u,nonce:c,pers:a.pers,persEnc:a.persEnc||"utf8"}),f=this.n.sub(new i(1)),d=0;;d++){var p=a.k?a.k(d):new i(l.generate(this.n.byteLength()));if(!((p=this._truncateToN(p,!0)).cmpn(1)<=0||p.cmp(f)>=0)){var m=this.g.mul(p);if(!m.isInfinity()){var g=m.getX(),y=g.umod(this.n);if(0!==y.cmpn(0)){var v=p.invm(this.n).mul(y.mul(e.getPrivate()).iadd(t));if(0!==(v=v.umod(this.n)).cmpn(0)){var b=(m.getY().isOdd()?1:0)|(0!==g.cmp(y)?2:0);return a.canonical&&v.cmp(this.nh)>0&&(v=this.n.sub(v),b^=1),new h({r:y,s:v,recoveryParam:b})}}}}}},f.prototype.verify=function(t,e,r,n){t=this._truncateToN(new i(t,16)),r=this.keyFromPublic(r,n);var o=(e=new h(e,"hex")).r,a=e.s;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;if(a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;var s,u=a.invm(this.n),c=u.mul(t).umod(this.n),l=u.mul(o).umod(this.n);return this.curve._maxwellTrick?!(s=this.g.jmulAdd(c,r.getPublic(),l)).isInfinity()&&s.eqXToP(o):!(s=this.g.mulAdd(c,r.getPublic(),l)).isInfinity()&&0===s.getX().umod(this.n).cmp(o)},f.prototype.recoverPubKey=function(t,e,r,n){c((3&r)===r,"The recovery param is more than two bits"),e=new h(e,n);var o=this.n,a=new i(t),s=e.r,u=e.s,l=1&r,f=r>>1;if(s.cmp(this.curve.p.umod(this.curve.n))>=0&&f)throw new Error("Unable to find sencond key candinate");s=f?this.curve.pointFromX(s.add(this.curve.n),l):this.curve.pointFromX(s,l);var d=e.r.invm(o),p=o.sub(a).mul(d).umod(o),m=u.mul(d).umod(o);return this.g.mulAdd(p,s,m)},f.prototype.getKeyRecoveryParam=function(t,e,r,n){if(null!==(e=new h(e,n)).recoveryParam)return e.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(t,e,i)}catch(t){continue}if(o.eq(r))return i}throw new Error("Unable to find valid recovery factor")}},37791:(t,e,r)=>{"use strict";var n=r(31734),i=r(7528).assert;function o(t,e){this.ec=t,this.priv=null,this.pub=null,e.priv&&this._importPrivate(e.priv,e.privEnc),e.pub&&this._importPublic(e.pub,e.pubEnc)}t.exports=o,o.fromPublic=function(t,e,r){return e instanceof o?e:new o(t,{pub:e,pubEnc:r})},o.fromPrivate=function(t,e,r){return e instanceof o?e:new o(t,{priv:e,privEnc:r})},o.prototype.validate=function(){var t=this.getPublic();return t.isInfinity()?{result:!1,reason:"Invalid public key"}:t.validate()?t.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"}},o.prototype.getPublic=function(t,e){return"string"==typeof t&&(e=t,t=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),e?this.pub.encode(e,t):this.pub},o.prototype.getPrivate=function(t){return"hex"===t?this.priv.toString(16,2):this.priv},o.prototype._importPrivate=function(t,e){this.priv=new n(t,e||16),this.priv=this.priv.umod(this.ec.curve.n)},o.prototype._importPublic=function(t,e){if(t.x||t.y)return"mont"===this.ec.curve.type?i(t.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||i(t.x&&t.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(t.x,t.y));this.pub=this.ec.curve.decodePoint(t,e)},o.prototype.derive=function(t){return t.validate()||i(t.validate(),"public point not validated"),t.mul(this.priv).getX()},o.prototype.sign=function(t,e,r){return this.ec.sign(t,this,e,r)},o.prototype.verify=function(t,e){return this.ec.verify(t,e,this)},o.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},30488:(t,e,r)=>{"use strict";var n=r(31734),i=r(7528),o=i.assert;function a(t,e){if(t instanceof a)return t;this._importDER(t,e)||(o(t.r&&t.s,"Signature without r or s"),this.r=new n(t.r,16),this.s=new n(t.s,16),void 0===t.recoveryParam?this.recoveryParam=null:this.recoveryParam=t.recoveryParam)}function s(){this.place=0}function u(t,e){var r=t[e.place++];if(!(128&r))return r;var n=15&r;if(0===n||n>4)return!1;for(var i=0,o=0,a=e.place;o<n;o++,a++)i<<=8,i|=t[a],i>>>=0;return!(i<=127)&&(e.place=a,i)}function c(t){for(var e=0,r=t.length-1;!t[e]&&!(128&t[e+1])&&e<r;)e++;return 0===e?t:t.slice(e)}function l(t,e){if(e<128)t.push(e);else{var r=1+(Math.log(e)/Math.LN2>>>3);for(t.push(128|r);--r;)t.push(e>>>(r<<3)&255);t.push(e)}}t.exports=a,a.prototype._importDER=function(t,e){t=i.toArray(t,e);var r=new s;if(48!==t[r.place++])return!1;var o=u(t,r);if(!1===o)return!1;if(o+r.place!==t.length)return!1;if(2!==t[r.place++])return!1;var a=u(t,r);if(!1===a)return!1;var c=t.slice(r.place,a+r.place);if(r.place+=a,2!==t[r.place++])return!1;var l=u(t,r);if(!1===l)return!1;if(t.length!==l+r.place)return!1;var h=t.slice(r.place,l+r.place);if(0===c[0]){if(!(128&c[1]))return!1;c=c.slice(1)}if(0===h[0]){if(!(128&h[1]))return!1;h=h.slice(1)}return this.r=new n(c),this.s=new n(h),this.recoveryParam=null,!0},a.prototype.toDER=function(t){var e=this.r.toArray(),r=this.s.toArray();for(128&e[0]&&(e=[0].concat(e)),128&r[0]&&(r=[0].concat(r)),e=c(e),r=c(r);!(r[0]||128&r[1]);)r=r.slice(1);var n=[2];l(n,e.length),(n=n.concat(e)).push(2),l(n,r.length);var o=n.concat(r),a=[48];return l(a,o.length),a=a.concat(o),i.encode(a,t)}},68027:(t,e,r)=>{"use strict";var n=r(37198),i=r(40506),o=r(7528),a=o.assert,s=o.parseBytes,u=r(27303),c=r(36646);function l(t){if(a("ed25519"===t,"only tested with ed25519 so far"),!(this instanceof l))return new l(t);t=i[t].curve,this.curve=t,this.g=t.g,this.g.precompute(t.n.bitLength()+1),this.pointClass=t.point().constructor,this.encodingLength=Math.ceil(t.n.bitLength()/8),this.hash=n.sha512}t.exports=l,l.prototype.sign=function(t,e){t=s(t);var r=this.keyFromSecret(e),n=this.hashInt(r.messagePrefix(),t),i=this.g.mul(n),o=this.encodePoint(i),a=this.hashInt(o,r.pubBytes(),t).mul(r.priv()),u=n.add(a).umod(this.curve.n);return this.makeSignature({R:i,S:u,Rencoded:o})},l.prototype.verify=function(t,e,r){t=s(t),e=this.makeSignature(e);var n=this.keyFromPublic(r),i=this.hashInt(e.Rencoded(),n.pubBytes(),t),o=this.g.mul(e.S());return e.R().add(n.pub().mul(i)).eq(o)},l.prototype.hashInt=function(){for(var t=this.hash(),e=0;e<arguments.length;e++)t.update(arguments[e]);return o.intFromLE(t.digest()).umod(this.curve.n)},l.prototype.keyFromPublic=function(t){return u.fromPublic(this,t)},l.prototype.keyFromSecret=function(t){return u.fromSecret(this,t)},l.prototype.makeSignature=function(t){return t instanceof c?t:new c(this,t)},l.prototype.encodePoint=function(t){var e=t.getY().toArray("le",this.encodingLength);return e[this.encodingLength-1]|=t.getX().isOdd()?128:0,e},l.prototype.decodePoint=function(t){var e=(t=o.parseBytes(t)).length-1,r=t.slice(0,e).concat(-129&t[e]),n=0!=(128&t[e]),i=o.intFromLE(r);return this.curve.pointFromY(i,n)},l.prototype.encodeInt=function(t){return t.toArray("le",this.encodingLength)},l.prototype.decodeInt=function(t){return o.intFromLE(t)},l.prototype.isPoint=function(t){return t instanceof this.pointClass}},27303:(t,e,r)=>{"use strict";var n=r(7528),i=n.assert,o=n.parseBytes,a=n.cachedProperty;function s(t,e){this.eddsa=t,this._secret=o(e.secret),t.isPoint(e.pub)?this._pub=e.pub:this._pubBytes=o(e.pub)}s.fromPublic=function(t,e){return e instanceof s?e:new s(t,{pub:e})},s.fromSecret=function(t,e){return e instanceof s?e:new s(t,{secret:e})},s.prototype.secret=function(){return this._secret},a(s,"pubBytes",(function(){return this.eddsa.encodePoint(this.pub())})),a(s,"pub",(function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())})),a(s,"privBytes",(function(){var t=this.eddsa,e=this.hash(),r=t.encodingLength-1,n=e.slice(0,t.encodingLength);return n[0]&=248,n[r]&=127,n[r]|=64,n})),a(s,"priv",(function(){return this.eddsa.decodeInt(this.privBytes())})),a(s,"hash",(function(){return this.eddsa.hash().update(this.secret()).digest()})),a(s,"messagePrefix",(function(){return this.hash().slice(this.eddsa.encodingLength)})),s.prototype.sign=function(t){return i(this._secret,"KeyPair can only verify"),this.eddsa.sign(t,this)},s.prototype.verify=function(t,e){return this.eddsa.verify(t,e,this)},s.prototype.getSecret=function(t){return i(this._secret,"KeyPair is public only"),n.encode(this.secret(),t)},s.prototype.getPublic=function(t){return n.encode(this.pubBytes(),t)},t.exports=s},36646:(t,e,r)=>{"use strict";var n=r(28847)(r(3355)),i=r(31734),o=r(7528),a=o.assert,s=o.cachedProperty,u=o.parseBytes;function c(t,e){this.eddsa=t,"object"!==(0,n.default)(e)&&(e=u(e)),Array.isArray(e)&&(e={R:e.slice(0,t.encodingLength),S:e.slice(t.encodingLength)}),a(e.R&&e.S,"Signature without R or S"),t.isPoint(e.R)&&(this._R=e.R),e.S instanceof i&&(this._S=e.S),this._Rencoded=Array.isArray(e.R)?e.R:e.Rencoded,this._Sencoded=Array.isArray(e.S)?e.S:e.Sencoded}s(c,"S",(function(){return this.eddsa.decodeInt(this.Sencoded())})),s(c,"R",(function(){return this.eddsa.decodePoint(this.Rencoded())})),s(c,"Rencoded",(function(){return this.eddsa.encodePoint(this.R())})),s(c,"Sencoded",(function(){return this.eddsa.encodeInt(this.S())})),c.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},c.prototype.toHex=function(){return o.encode(this.toBytes(),"hex").toUpperCase()},t.exports=c},46401:t=>{"use strict";t.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},7528:(t,e,r)=>{"use strict";var n=e,i=r(31734),o=r(94504),a=r(96580);n.assert=o,n.toArray=a.toArray,n.zero2=a.zero2,n.toHex=a.toHex,n.encode=a.encode,n.getNAF=function(t,e,r){var n=new Array(Math.max(t.bitLength(),r)+1);n.fill(0);for(var i=1<<e+1,o=t.clone(),a=0;a<n.length;a++){var s,u=o.andln(i-1);o.isOdd()?(s=u>(i>>1)-1?(i>>1)-u:u,o.isubn(s)):s=0,n[a]=s,o.iushrn(1)}return n},n.getJSF=function(t,e){var r=[[],[]];t=t.clone(),e=e.clone();for(var n,i=0,o=0;t.cmpn(-i)>0||e.cmpn(-o)>0;){var a,s,u=t.andln(3)+i&3,c=e.andln(3)+o&3;3===u&&(u=-1),3===c&&(c=-1),a=0==(1&u)?0:3!=(n=t.andln(7)+i&7)&&5!==n||2!==c?u:-u,r[0].push(a),s=0==(1&c)?0:3!=(n=e.andln(7)+o&7)&&5!==n||2!==u?c:-c,r[1].push(s),2*i===a+1&&(i=1-i),2*o===s+1&&(o=1-o),t.iushrn(1),e.iushrn(1)}return r},n.cachedProperty=function(t,e,r){var n="_"+e;t.prototype[e]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}},n.parseBytes=function(t){return"string"==typeof t?n.toArray(t,"hex"):t},n.intFromLE=function(t){return new i(t,"hex","le")}},26464:(t,e,r)=>{"use strict";var n=r(28847)(r(3355)),i=function(){if("object"===("undefined"==typeof self?"undefined":(0,n.default)(self))&&self)return self;if("object"===("undefined"==typeof window?"undefined":(0,n.default)(window))&&window)return window;throw new Error("Unable to resolve global `this`")};t.exports=function(){if(this)return this;if("object"===("undefined"==typeof globalThis?"undefined":(0,n.default)(globalThis))&&globalThis)return globalThis;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch(t){return i()}try{return __global__||i()}finally{delete Object.prototype.__global__}}()},54258:(t,e,r)=>{"use strict";var n,i,o,a=r(19142),s=r(28847)(r(3355));o=function(){function t(t){return"function"==typeof t}var e=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},n=0,i=void 0,o=void 0,u=function(t,e){m[n]=t,m[n+1]=e,2===(n+=2)&&(o?o(g):w())},c="undefined"!=typeof window?window:void 0,l=c||{},h=l.MutationObserver||l.WebKitMutationObserver,f="undefined"==typeof self&&void 0!==a&&"[object process]"==={}.toString.call(a),d="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function p(){var t=setTimeout;return function(){return t(g,1)}}var m=new Array(1e3);function g(){for(var t=0;t<n;t+=2)(0,m[t])(m[t+1]),m[t]=void 0,m[t+1]=void 0;n=0}var y,v,b,_,w=void 0;function x(t,e){var r=this,n=new this.constructor(E);void 0===n[S]&&R(n);var i=r._state;if(i){var o=arguments[i-1];u((function(){return j(i,n,o,r._result)}))}else D(r,n,t,e);return n}function k(t){if(t&&"object"===(0,s.default)(t)&&t.constructor===this)return t;var e=new this(E);return L(e,t),e}f?w=function(){return a.nextTick(g)}:h?(v=0,b=new h(g),_=document.createTextNode(""),b.observe(_,{characterData:!0}),w=function(){_.data=v=++v%2}):d?((y=new MessageChannel).port1.onmessage=g,w=function(){return y.port2.postMessage(0)}):w=void 0===c?function(){try{var t=Function("return this")().require("vertx");return void 0!==(i=t.runOnLoop||t.runOnContext)?function(){i(g)}:p()}catch(t){return p()}}():p();var S=Math.random().toString(36).substring(2);function E(){}var M=void 0,A=1,T=2;function C(e,r,n){r.constructor===e.constructor&&n===x&&r.constructor.resolve===k?function(t,e){e._state===A?O(t,e._result):e._state===T?I(t,e._result):D(e,void 0,(function(e){return L(t,e)}),(function(e){return I(t,e)}))}(e,r):void 0===n?O(e,r):t(n)?function(t,e,r){u((function(t){var n=!1,i=function(r,i,o,a){try{r.call(i,(function(r){n||(n=!0,e!==r?L(t,r):O(t,r))}),(function(e){n||(n=!0,I(t,e))}))}catch(t){return t}}(r,e,0,0,t._label);!n&&i&&(n=!0,I(t,i))}),t)}(e,r,n):O(e,r)}function L(t,e){if(t===e)I(t,new TypeError("You cannot resolve a promise with itself"));else if(n=e,i=(0,s.default)(n),null===n||"object"!==i&&"function"!==i)O(t,e);else{var r=void 0;try{r=e.then}catch(e){return void I(t,e)}C(t,e,r)}var n,i}function P(t){t._onerror&&t._onerror(t._result),B(t)}function O(t,e){t._state===M&&(t._result=e,t._state=A,0!==t._subscribers.length&&u(B,t))}function I(t,e){t._state===M&&(t._state=T,t._result=e,u(P,t))}function D(t,e,r,n){var i=t._subscribers,o=i.length;t._onerror=null,i[o]=e,i[o+A]=r,i[o+T]=n,0===o&&t._state&&u(B,t)}function B(t){var e=t._subscribers,r=t._state;if(0!==e.length){for(var n=void 0,i=void 0,o=t._result,a=0;a<e.length;a+=3)n=e[a],i=e[a+r],n?j(r,n,i,o):i(o);t._subscribers.length=0}}function j(e,r,n,i){var o=t(n),a=void 0,s=void 0,u=!0;if(o){try{a=n(i)}catch(t){u=!1,s=t}if(r===a)return void I(r,new TypeError("A promises callback cannot return that same promise."))}else a=i;r._state!==M||(o&&u?L(r,a):!1===u?I(r,s):e===A?O(r,a):e===T&&I(r,a))}var N=0;function R(t){t[S]=N++,t._state=void 0,t._result=void 0,t._subscribers=[]}var F=function(){function t(t,r){this._instanceConstructor=t,this.promise=new t(E),this.promise[S]||R(this.promise),e(r)?(this.length=r.length,this._remaining=r.length,this._result=new Array(this.length),0===this.length?O(this.promise,this._result):(this.length=this.length||0,this._enumerate(r),0===this._remaining&&O(this.promise,this._result))):I(this.promise,new Error("Array Methods must be provided an Array"))}return t.prototype._enumerate=function(t){for(var e=0;this._state===M&&e<t.length;e++)this._eachEntry(t[e],e)},t.prototype._eachEntry=function(t,e){var r=this._instanceConstructor,n=r.resolve;if(n===k){var i=void 0,o=void 0,a=!1;try{i=t.then}catch(t){a=!0,o=t}if(i===x&&t._state!==M)this._settledAt(t._state,e,t._result);else if("function"!=typeof i)this._remaining--,this._result[e]=t;else if(r===Y){var s=new r(E);a?I(s,o):C(s,t,i),this._willSettleAt(s,e)}else this._willSettleAt(new r((function(e){return e(t)})),e)}else this._willSettleAt(n(t),e)},t.prototype._settledAt=function(t,e,r){var n=this.promise;n._state===M&&(this._remaining--,t===T?I(n,r):this._result[e]=r),0===this._remaining&&O(n,this._result)},t.prototype._willSettleAt=function(t,e){var r=this;D(t,void 0,(function(t){return r._settledAt(A,e,t)}),(function(t){return r._settledAt(T,e,t)}))},t}(),Y=function(){function e(t){this[S]=N++,this._result=this._state=void 0,this._subscribers=[],E!==t&&("function"!=typeof t&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof e?function(t,e){try{e((function(e){L(t,e)}),(function(e){I(t,e)}))}catch(e){I(t,e)}}(this,t):function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}return e.prototype.catch=function(t){return this.then(null,t)},e.prototype.finally=function(e){var r=this,n=r.constructor;return t(e)?r.then((function(t){return n.resolve(e()).then((function(){return t}))}),(function(t){return n.resolve(e()).then((function(){throw t}))})):r.then(e,e)},e}();return Y.prototype.then=x,Y.all=function(t){return new F(this,t).promise},Y.race=function(t){var r=this;return e(t)?new r((function(e,n){for(var i=t.length,o=0;o<i;o++)r.resolve(t[o]).then(e,n)})):new r((function(t,e){return e(new TypeError("You must pass an array to race."))}))},Y.resolve=k,Y.reject=function(t){var e=new this(E);return I(e,t),e},Y._setScheduler=function(t){o=t},Y._setAsap=function(t){u=t},Y._asap=u,Y.polyfill=function(){var t=void 0;if(void 0!==r.g)t=r.g;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(t){throw new Error("polyfill failed because global object is unavailable in this environment")}var e=t.Promise;if(e){var n=null;try{n=Object.prototype.toString.call(e.resolve())}catch(t){}if("[object Promise]"===n&&!e.cast)return}t.Promise=Y},Y.Promise=Y,Y},"object"===(0,s.default)(e)?t.exports=o():void 0===(i="function"==typeof(n=o)?n.call(e,r,e,t):n)||(t.exports=i)},21006:(t,e,r)=>{"use strict";var n=r(29033).Buffer,i=r(24858).keccak_256,o=r(3956);function a(t){return t?o.toUnicode(t,{useStd3ASCII:!0,transitional:!1}):t}e.hash=function(t){for(var e="",r=0;r<32;r++)e+="00";if(name=a(t),name){var o=name.split(".");for(r=o.length-1;r>=0;r--){var s=i(o[r]);e=i(new n(e+s,"hex"))}}return"0x"+e},e.normalize=a},53058:(t,e,r)=>{"use strict";var n=r(29033).Buffer,i=r(28847)(r(74519)),o=r(58320),a=r(88645),s=r(36597),u=(r(46740),new s.ec("secp256k1")),c=r(22922),l=c.keccak256,h=c.keccak256s,f=function(t){for(var e=h(t.slice(2)),r="0x",n=0;n<40;n++)r+=parseInt(e[n+2],16)>7?t[n+2].toUpperCase():t[n+2];return r},d=function(t){var e=new n(t.slice(2),"hex"),r="0x"+u.keyFromPrivate(e).getPublic(!1,"hex").slice(2),i=l(r);return{address:f("0x"+i.slice(-40)),privateKey:t}},p=function(t){var e=(0,i.default)(t,3),r=e[0],n=e[1],a=e[2];return o.flatten([n,a,r])},m=function(t){return[o.slice(64,o.length(t),t),o.slice(0,32,t),o.slice(32,64,t)]},g=function(t){return function(e,r){var i=u.keyFromPrivate(new n(r.slice(2),"hex")).sign(new n(e.slice(2),"hex"),{canonical:!0});return p([a.fromString(o.fromNumber(t+i.recoveryParam)),o.pad(32,o.fromNat("0x"+i.r.toString(16))),o.pad(32,o.fromNat("0x"+i.s.toString(16)))])}},y=g(27);t.exports={create:function(t){var e=l(o.concat(o.random(32),t||o.random(32))),r=o.concat(o.concat(o.random(32),e),o.random(32)),n=l(r);return d(n)},toChecksum:f,fromPrivate:d,sign:y,makeSigner:g,recover:function(t,e){var r=m(e),i={v:o.toNumber(r[0]),r:r[1].slice(2),s:r[2].slice(2)},a="0x"+u.recoverPubKey(new n(t.slice(2),"hex"),i,i.v<2?i.v:1-i.v%2).encode("hex",!1).slice(2),s=l(a);return f("0x"+s.slice(-40))},encodeSignature:p,decodeSignature:m}},51376:t=>{"use strict";var e=function(t,e){for(var r=[],n=0;n<t;++n)r.push(e(n));return r};t.exports={generate:e,replicate:function(t,r){return e(t,(function(){return r}))},concat:function(t,e){return t.concat(e)},flatten:function(t){for(var e=[],r=0,n=t.length;r<n;++r)for(var i=0,o=t[r].length;i<o;++i)e.push(t[r][i]);return e},chunksOf:function(t,e){for(var r=[],n=0,i=e.length;n<i;n+=t)r.push(e.slice(n,n+t));return r}}},58320:(t,e,r)=>{"use strict";r(51376);var n=function(t,e){return parseInt(t.slice(2*e+2,2*e+4),16)},i=function(t){return(t.length-2)/2},o=function(t){for(var e=[],r=2,n=t.length;r<n;r+=2)e.push(parseInt(t.slice(r,r+2),16));return e},a=function(t){for(var e="0x",r=0,n=t.length;r<n;++r){var i=t[r];e+=(i<16?"0":"")+i.toString(16)}return e};t.exports={random:function(t){var e;e="undefined"!=typeof window&&window.crypto&&window.crypto.getRandomValues?window.crypto.getRandomValues(new Uint8Array(t)):r(24293).randomBytes(t);for(var n="0x",i=0;i<t;++i)n+=("00"+e[i].toString(16)).slice(-2);return n},length:i,concat:function(t,e){return t.concat(e.slice(2))},flatten:function(t){return"0x"+t.reduce((function(t,e){return t+e.slice(2)}),"")},slice:function(t,e,r){return"0x"+r.slice(2*t+2,2*e+2)},reverse:function(t){for(var e="0x",r=0,n=i(t);r<n;++r)e+=t.slice(2*(n-r),2*(n-r+1));return e},pad:function t(e,r){return r.length===2*e+2?r:t(e,"0x0"+r.slice(2))},padRight:function t(e,r){return r.length===2*e+2?r:t(e,r+"0")},fromAscii:function(t){for(var e="0x",r=0;r<t.length;++r)e+=("00"+t.charCodeAt(r).toString(16)).slice(-2);return e},toAscii:function(t){for(var e="",r=2;r<t.length;r+=2)e+=String.fromCharCode(parseInt(t.slice(r,r+2),16));return e},fromString:function(t){for(var e=function(t){var e=t.toString(16);return e.length<2?"0"+e:e},r="0x",n=0;n!=t.length;n++){var i=t.charCodeAt(n);if(i<128)r+=e(i);else{if(i<2048)r+=e(i>>6|192);else{if(i>55295&&i<56320){if(++n==t.length)return null;var o=t.charCodeAt(n);if(o<56320||o>57343)return null;r+=e((i=65536+((1023&i)<<10)+(1023&o))>>18|240),r+=e(i>>12&63|128)}else r+=e(i>>12|224);r+=e(i>>6&63|128)}r+=e(63&i|128)}}return r},toString:function(t){for(var e="",r=0,o=i(t);r<o;){var a=n(t,r++);if(a>127){if(a>191&&a<224){if(r>=o)return null;a=(31&a)<<6|63&n(t,r)}else if(a>223&&a<240){if(r+1>=o)return null;a=(15&a)<<12|(63&n(t,r))<<6|63&n(t,++r)}else{if(!(a>239&&a<248))return null;if(r+2>=o)return null;a=(7&a)<<18|(63&n(t,r))<<12|(63&n(t,++r))<<6|63&n(t,++r)}++r}if(a<=65535)e+=String.fromCharCode(a);else{if(!(a<=1114111))return null;a-=65536,e+=String.fromCharCode(a>>10|55296),e+=String.fromCharCode(1023&a|56320)}}return e},fromNumber:function(t){var e=t.toString(16);return e.length%2==0?"0x"+e:"0x0"+e},toNumber:function(t){return parseInt(t.slice(2),16)},fromNat:function(t){return"0x0"===t?"0x":t.length%2==0?t:"0x0"+t.slice(2)},toNat:function(t){return"0"===t[2]?"0x"+t.slice(3):t},fromArray:a,toArray:o,fromUint8Array:function(t){return a([].slice.call(t,0))},toUint8Array:function(t){return new Uint8Array(o(t))}}},22922:t=>{"use strict";var e="0123456789abcdef".split(""),r=[1,256,65536,16777216],n=[0,8,16,24],i=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],o=function(t){var e,r,n,o,a,s,u,c,l,h,f,d,p,m,g,y,v,b,_,w,x,k,S,E,M,A,T,C,L,P,O,I,D,B,j,N,R,F,Y,U,H,z,V,$,q,G,W,K,X,J,Z,Q,tt,et,rt,nt,it,ot,at,st,ut,ct,lt;for(n=0;n<48;n+=2)o=t[0]^t[10]^t[20]^t[30]^t[40],a=t[1]^t[11]^t[21]^t[31]^t[41],s=t[2]^t[12]^t[22]^t[32]^t[42],u=t[3]^t[13]^t[23]^t[33]^t[43],c=t[4]^t[14]^t[24]^t[34]^t[44],l=t[5]^t[15]^t[25]^t[35]^t[45],h=t[6]^t[16]^t[26]^t[36]^t[46],f=t[7]^t[17]^t[27]^t[37]^t[47],e=(d=t[8]^t[18]^t[28]^t[38]^t[48])^(s<<1|u>>>31),r=(p=t[9]^t[19]^t[29]^t[39]^t[49])^(u<<1|s>>>31),t[0]^=e,t[1]^=r,t[10]^=e,t[11]^=r,t[20]^=e,t[21]^=r,t[30]^=e,t[31]^=r,t[40]^=e,t[41]^=r,e=o^(c<<1|l>>>31),r=a^(l<<1|c>>>31),t[2]^=e,t[3]^=r,t[12]^=e,t[13]^=r,t[22]^=e,t[23]^=r,t[32]^=e,t[33]^=r,t[42]^=e,t[43]^=r,e=s^(h<<1|f>>>31),r=u^(f<<1|h>>>31),t[4]^=e,t[5]^=r,t[14]^=e,t[15]^=r,t[24]^=e,t[25]^=r,t[34]^=e,t[35]^=r,t[44]^=e,t[45]^=r,e=c^(d<<1|p>>>31),r=l^(p<<1|d>>>31),t[6]^=e,t[7]^=r,t[16]^=e,t[17]^=r,t[26]^=e,t[27]^=r,t[36]^=e,t[37]^=r,t[46]^=e,t[47]^=r,e=h^(o<<1|a>>>31),r=f^(a<<1|o>>>31),t[8]^=e,t[9]^=r,t[18]^=e,t[19]^=r,t[28]^=e,t[29]^=r,t[38]^=e,t[39]^=r,t[48]^=e,t[49]^=r,m=t[0],g=t[1],G=t[11]<<4|t[10]>>>28,W=t[10]<<4|t[11]>>>28,C=t[20]<<3|t[21]>>>29,L=t[21]<<3|t[20]>>>29,st=t[31]<<9|t[30]>>>23,ut=t[30]<<9|t[31]>>>23,z=t[40]<<18|t[41]>>>14,V=t[41]<<18|t[40]>>>14,B=t[2]<<1|t[3]>>>31,j=t[3]<<1|t[2]>>>31,y=t[13]<<12|t[12]>>>20,v=t[12]<<12|t[13]>>>20,K=t[22]<<10|t[23]>>>22,X=t[23]<<10|t[22]>>>22,P=t[33]<<13|t[32]>>>19,O=t[32]<<13|t[33]>>>19,ct=t[42]<<2|t[43]>>>30,lt=t[43]<<2|t[42]>>>30,et=t[5]<<30|t[4]>>>2,rt=t[4]<<30|t[5]>>>2,N=t[14]<<6|t[15]>>>26,R=t[15]<<6|t[14]>>>26,b=t[25]<<11|t[24]>>>21,_=t[24]<<11|t[25]>>>21,J=t[34]<<15|t[35]>>>17,Z=t[35]<<15|t[34]>>>17,I=t[45]<<29|t[44]>>>3,D=t[44]<<29|t[45]>>>3,E=t[6]<<28|t[7]>>>4,M=t[7]<<28|t[6]>>>4,nt=t[17]<<23|t[16]>>>9,it=t[16]<<23|t[17]>>>9,F=t[26]<<25|t[27]>>>7,Y=t[27]<<25|t[26]>>>7,w=t[36]<<21|t[37]>>>11,x=t[37]<<21|t[36]>>>11,Q=t[47]<<24|t[46]>>>8,tt=t[46]<<24|t[47]>>>8,$=t[8]<<27|t[9]>>>5,q=t[9]<<27|t[8]>>>5,A=t[18]<<20|t[19]>>>12,T=t[19]<<20|t[18]>>>12,ot=t[29]<<7|t[28]>>>25,at=t[28]<<7|t[29]>>>25,U=t[38]<<8|t[39]>>>24,H=t[39]<<8|t[38]>>>24,k=t[48]<<14|t[49]>>>18,S=t[49]<<14|t[48]>>>18,t[0]=m^~y&b,t[1]=g^~v&_,t[10]=E^~A&C,t[11]=M^~T&L,t[20]=B^~N&F,t[21]=j^~R&Y,t[30]=$^~G&K,t[31]=q^~W&X,t[40]=et^~nt&ot,t[41]=rt^~it&at,t[2]=y^~b&w,t[3]=v^~_&x,t[12]=A^~C&P,t[13]=T^~L&O,t[22]=N^~F&U,t[23]=R^~Y&H,t[32]=G^~K&J,t[33]=W^~X&Z,t[42]=nt^~ot&st,t[43]=it^~at&ut,t[4]=b^~w&k,t[5]=_^~x&S,t[14]=C^~P&I,t[15]=L^~O&D,t[24]=F^~U&z,t[25]=Y^~H&V,t[34]=K^~J&Q,t[35]=X^~Z&tt,t[44]=ot^~st&ct,t[45]=at^~ut&lt,t[6]=w^~k&m,t[7]=x^~S&g,t[16]=P^~I&E,t[17]=O^~D&M,t[26]=U^~z&B,t[27]=H^~V&j,t[36]=J^~Q&$,t[37]=Z^~tt&q,t[46]=st^~ct&et,t[47]=ut^~lt&rt,t[8]=k^~m&y,t[9]=S^~g&v,t[18]=I^~E&A,t[19]=D^~M&T,t[28]=z^~B&N,t[29]=V^~j&R,t[38]=Q^~$&G,t[39]=tt^~q&W,t[48]=ct^~et&nt,t[49]=lt^~rt&it,t[0]^=i[n],t[1]^=i[n+1]},a=function(t){return function(i){var a;if("0x"===i.slice(0,2)){a=[];for(var s=2,u=i.length;s<u;s+=2)a.push(parseInt(i.slice(s,s+2),16))}else a=i;return function(t,i){for(var a,s=i.length,u=t.blocks,c=t.blockCount<<2,l=t.blockCount,h=t.outputBlocks,f=t.s,d=0;d<s;){if(t.reset)for(t.reset=!1,u[0]=t.block,g=1;g<l+1;++g)u[g]=0;if("string"!=typeof i)for(g=t.start;d<s&&g<c;++d)u[g>>2]|=i[d]<<n[3&g++];else for(g=t.start;d<s&&g<c;++d)(a=i.charCodeAt(d))<128?u[g>>2]|=a<<n[3&g++]:a<2048?(u[g>>2]|=(192|a>>6)<<n[3&g++],u[g>>2]|=(128|63&a)<<n[3&g++]):a<55296||a>=57344?(u[g>>2]|=(224|a>>12)<<n[3&g++],u[g>>2]|=(128|a>>6&63)<<n[3&g++],u[g>>2]|=(128|63&a)<<n[3&g++]):(a=65536+((1023&a)<<10|1023&i.charCodeAt(++d)),u[g>>2]|=(240|a>>18)<<n[3&g++],u[g>>2]|=(128|a>>12&63)<<n[3&g++],u[g>>2]|=(128|a>>6&63)<<n[3&g++],u[g>>2]|=(128|63&a)<<n[3&g++]);if(t.lastByteIndex=g,g>=c){for(t.start=g-c,t.block=u[l],g=0;g<l;++g)f[g]^=u[g];o(f),t.reset=!0}else t.start=g}if(u[(g=t.lastByteIndex)>>2]|=r[3&g],t.lastByteIndex===c)for(u[0]=u[l],g=1;g<l+1;++g)u[g]=0;for(u[l-1]|=2147483648,g=0;g<l;++g)f[g]^=u[g];o(f);for(var p,m="",g=0,y=0;y<h;){for(g=0;g<l&&y<h;++g,++y)p=f[g],m+=e[p>>4&15]+e[15&p]+e[p>>12&15]+e[p>>8&15]+e[p>>20&15]+e[p>>16&15]+e[p>>28&15]+e[p>>24&15];y%l==0&&(o(f),g=0)}return"0x"+m}(function(t){return{blocks:[],reset:!0,block:0,start:0,blockCount:1600-(t<<1)>>5,outputBlocks:t>>5,s:(e=[0,0,0,0,0,0,0,0,0,0],[].concat(e,e,e,e,e))};var e}(t),a)}};t.exports={keccak256:a(256),keccak512:a(512),keccak256s:a(256),keccak512s:a(512)}},88645:(t,e,r)=>{"use strict";var n=r(31734),i=r(58320),o=function(t){return new n(t.slice(2),16)},a=function(t){var e="0x"+("0x"===t.slice(0,2)?new n(t.slice(2),16):new n(t,10)).toString("hex");return"0x0"===e?"0x":e},s=function(t){return"string"==typeof t?/^0x/.test(t)?t:"0x"+t:"0x"+new n(t).toString("hex")},u=function(t){return o(t).toNumber()},c=function(t){return function(e,r){return"0x"+o(e)[t](o(r)).toString("hex")}},l=c("add"),h=c("mul"),f=c("div"),d=c("sub");t.exports={toString:function(t){return o(t).toString(10)},fromString:a,toNumber:u,fromNumber:s,toEther:function(t){return u(f(t,a("10000000000")))/1e8},fromEther:function(t){return h(s(Math.floor(1e8*t)),a("10000000000"))},toUint256:function(t){return i.pad(32,t)},add:l,mul:h,div:f,sub:d}},46740:t=>{"use strict";t.exports={encode:function(t){var e=function(t){return(e=t.toString(16)).length%2==0?e:"0"+e;var e},r=function(t,r){return t<56?e(r+t):e(r+e(t).length/2+55)+e(t)};return"0x"+function t(e){if("string"==typeof e){var n=e.slice(2);return(2!=n.length||n>="80"?r(n.length/2,128):"")+n}var i=e.map(t).join("");return r(i.length/2,192)+i}(t)},decode:function(t){var e=2,r=function(){if(e>=t.length)throw"";var r=t.slice(e,e+2);return r<"80"?(e+=2,"0x"+r):r<"c0"?i():o()},n=function(){var r=parseInt(t.slice(e,e+=2),16)%64;return r<56?r:parseInt(t.slice(e,e+=2*(r-55)),16)},i=function(){var r=n();return"0x"+t.slice(e,e+=2*r)},o=function(){for(var t=2*n()+e,i=[];e<t;)i.push(r());return i};try{return r()}catch(t){return[]}}}},19313:(t,e,r)=>{"use strict";var n=r(28847)(r(3355));Object.defineProperty(e,"__esModule",{value:!0});var i=r(78179);function o(t){return!("string"!=typeof t||!/^(0x)?[0-9a-f]{512}$/i.test(t)||!/^(0x)?[0-9a-f]{512}$/.test(t)&&!/^(0x)?[0-9A-F]{512}$/.test(t))}function a(t,e){"object"===(0,n.default)(e)&&e.constructor===Uint8Array&&(e=i.bytesToHex(e));for(var r=i.keccak256(e).replace("0x",""),o=0;o<12;o+=4){var a=(parseInt(r.substr(o,2),16)<<8)+parseInt(r.substr(o+2,2),16)&2047,u=1<<a%4;if((s(t.charCodeAt(t.length-1-Math.floor(a/4)))&u)!==u)return!1}return!0}function s(t){if(t>=48&&t<=57)return t-48;if(t>=65&&t<=70)return t-55;if(t>=97&&t<=102)return t-87;throw new Error("invalid bloom")}function u(t){return!("string"!=typeof t||!/^(0x)?[0-9a-f]{64}$/i.test(t)||!/^(0x)?[0-9a-f]{64}$/.test(t)&&!/^(0x)?[0-9A-F]{64}$/.test(t))}function c(t){return!("string"!=typeof t||!t.match(/^(0x)?[0-9a-fA-F]{40}$/)&&!t.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/))}e.isBloom=o,e.isInBloom=a,e.isUserEthereumAddressInBloom=function(t,e){if(!o(t))throw new Error("Invalid bloom given");if(!c(e))throw new Error('Invalid ethereum address given: "'.concat(e,'"'));return a(t,i.padLeft(e,64))},e.isContractAddressInBloom=function(t,e){if(!o(t))throw new Error("Invalid bloom given");if(!c(e))throw new Error('Invalid contract address given: "'.concat(e,'"'));return a(t,e)},e.isTopicInBloom=function(t,e){if(!o(t))throw new Error("Invalid bloom given");if(!u(e))throw new Error("Invalid topic");return a(t,e)},e.isTopic=u,e.isAddress=c},78179:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(34477);function i(t){if(null==t)throw new Error("cannot convert null value to array");if("string"==typeof t){var e=t.match(/^(0x)?[0-9a-fA-F]*$/);if(!e)throw new Error("invalid hexidecimal string");if("0x"!==e[1])throw new Error("hex string must have 0x prefix");(t=t.substring(2)).length%2&&(t="0"+t);for(var r=[],n=0;n<t.length;n+=2)r.push(parseInt(t.substr(n,2),16));return o(new Uint8Array(r))}if(function(t){if(!t||parseInt(String(t.length))!=t.length||"string"==typeof t)return!1;for(var e=0;e<t.length;e++){var r=t[e];if(r<0||r>=256||parseInt(String(r))!=r)return!1}return!0}(t))return o(new Uint8Array(t));throw new Error("invalid arrayify value")}function o(t){var e=arguments;return void 0!==t.slice||(t.slice=function(){var r=Array.prototype.slice.call(e);return o(new Uint8Array(Array.prototype.slice.apply(t,r)))}),t}e.keccak256=function(t){return"0x"+n.keccak_256(i(t))},e.padLeft=function(t,e){var r=/^0x/i.test(t)||"number"==typeof t,n=e-(t=t.toString().replace(/^0x/i,"")).length+1>=0?e-t.length+1:0;return(r?"0x":"")+new Array(n).join("0")+t},e.bytesToHex=function(t){for(var e=[],r=0;r<t.length;r++)e.push((t[r]>>>4).toString(16)),e.push((15&t[r]).toString(16));return"0x".concat(e.join("").replace(/^0+/,""))},e.toByteArray=i},34477:(t,e,r)=>{"use strict";t=r.nmd(t);var n,i=r(19142),o=r(28847)(r(3355));!function(){var a="input is invalid type",s="object"===("undefined"==typeof window?"undefined":(0,o.default)(window)),u=s?window:{};u.JS_SHA3_NO_WINDOW&&(s=!1);var c=!s&&"object"===("undefined"==typeof self?"undefined":(0,o.default)(self));!u.JS_SHA3_NO_NODE_JS&&"object"===(void 0===i?"undefined":(0,o.default)(i))&&i.versions&&i.versions.node?u=r.g:c&&(u=self);var l=!u.JS_SHA3_NO_COMMON_JS&&"object"===(0,o.default)(t)&&t.exports,h=r.amdO,f=!u.JS_SHA3_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,d="0123456789abcdef".split(""),p=[4,1024,262144,67108864],m=[0,8,16,24],g=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],y=[224,256,384,512],v=[128,256],b=["hex","buffer","arrayBuffer","array","digest"],_={128:168,256:136};!u.JS_SHA3_NO_NODE_JS&&Array.isArray||(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),!f||!u.JS_SHA3_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(t){return"object"===(0,o.default)(t)&&t.buffer&&t.buffer.constructor===ArrayBuffer});for(var w=function(t,e,r){return function(n){return new j(t,e,t).update(n)[r]()}},x=function(t,e,r){return function(n,i){return new j(t,e,i).update(n)[r]()}},k=function(t,e,r){return function(e,n,i,o){return T["cshake"+t].update(e,n,i,o)[r]()}},S=function(t,e,r){return function(e,n,i,o){return T["kmac"+t].update(e,n,i,o)[r]()}},E=function(t,e,r,n){for(var i=0;i<b.length;++i){var o=b[i];t[o]=e(r,n,o)}return t},M=function(t,e){var r=w(t,e,"hex");return r.create=function(){return new j(t,e,t)},r.update=function(t){return r.create().update(t)},E(r,w,t,e)},A=[{name:"keccak",padding:[1,256,65536,16777216],bits:y,createMethod:M},{name:"sha3",padding:[6,1536,393216,100663296],bits:y,createMethod:M},{name:"shake",padding:[31,7936,2031616,520093696],bits:v,createMethod:function(t,e){var r=x(t,e,"hex");return r.create=function(r){return new j(t,e,r)},r.update=function(t,e){return r.create(e).update(t)},E(r,x,t,e)}},{name:"cshake",padding:p,bits:v,createMethod:function(t,e){var r=_[t],n=k(t,0,"hex");return n.create=function(n,i,o){return i||o?new j(t,e,n).bytepad([i,o],r):T["shake"+t].create(n)},n.update=function(t,e,r,i){return n.create(e,r,i).update(t)},E(n,k,t,e)}},{name:"kmac",padding:p,bits:v,createMethod:function(t,e){var r=_[t],n=S(t,0,"hex");return n.create=function(n,i,o){return new N(t,e,i).bytepad(["KMAC",o],r).bytepad([n],r)},n.update=function(t,e,r,i){return n.create(t,r,i).update(e)},E(n,S,t,e)}}],T={},C=[],L=0;L<A.length;++L)for(var P=A[L],O=P.bits,I=0;I<O.length;++I){var D=P.name+"_"+O[I];if(C.push(D),T[D]=P.createMethod(O[I],P.padding),"sha3"!==P.name){var B=P.name+O[I];C.push(B),T[B]=T[D]}}function j(t,e,r){this.blocks=[],this.s=[],this.padding=e,this.outputBits=r,this.reset=!0,this.finalized=!1,this.block=0,this.start=0,this.blockCount=1600-(t<<1)>>5,this.byteCount=this.blockCount<<2,this.outputBlocks=r>>5,this.extraBytes=(31&r)>>3;for(var n=0;n<50;++n)this.s[n]=0}function N(t,e,r){j.call(this,t,e,r)}j.prototype.update=function(t){if(this.finalized)throw new Error("finalize already called");var e,r=(0,o.default)(t);if("string"!==r){if("object"!==r)throw new Error(a);if(null===t)throw new Error(a);if(f&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!(Array.isArray(t)||f&&ArrayBuffer.isView(t)))throw new Error(a);e=!0}for(var n,i,s=this.blocks,u=this.byteCount,c=t.length,l=this.blockCount,h=0,d=this.s;h<c;){if(this.reset)for(this.reset=!1,s[0]=this.block,n=1;n<l+1;++n)s[n]=0;if(e)for(n=this.start;h<c&&n<u;++h)s[n>>2]|=t[h]<<m[3&n++];else for(n=this.start;h<c&&n<u;++h)(i=t.charCodeAt(h))<128?s[n>>2]|=i<<m[3&n++]:i<2048?(s[n>>2]|=(192|i>>6)<<m[3&n++],s[n>>2]|=(128|63&i)<<m[3&n++]):i<55296||i>=57344?(s[n>>2]|=(224|i>>12)<<m[3&n++],s[n>>2]|=(128|i>>6&63)<<m[3&n++],s[n>>2]|=(128|63&i)<<m[3&n++]):(i=65536+((1023&i)<<10|1023&t.charCodeAt(++h)),s[n>>2]|=(240|i>>18)<<m[3&n++],s[n>>2]|=(128|i>>12&63)<<m[3&n++],s[n>>2]|=(128|i>>6&63)<<m[3&n++],s[n>>2]|=(128|63&i)<<m[3&n++]);if(this.lastByteIndex=n,n>=u){for(this.start=n-u,this.block=s[l],n=0;n<l;++n)d[n]^=s[n];R(d),this.reset=!0}else this.start=n}return this},j.prototype.encode=function(t,e){var r=255&t,n=1,i=[r];for(r=255&(t>>=8);r>0;)i.unshift(r),r=255&(t>>=8),++n;return e?i.push(n):i.unshift(n),this.update(i),i.length},j.prototype.encodeString=function(t){var e,r=(0,o.default)(t);if("string"!==r){if("object"!==r)throw new Error(a);if(null===t)throw new Error(a);if(f&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!(Array.isArray(t)||f&&ArrayBuffer.isView(t)))throw new Error(a);e=!0}var n=0,i=t.length;if(e)n=i;else for(var s=0;s<t.length;++s){var u=t.charCodeAt(s);u<128?n+=1:u<2048?n+=2:u<55296||u>=57344?n+=3:(u=65536+((1023&u)<<10|1023&t.charCodeAt(++s)),n+=4)}return n+=this.encode(8*n),this.update(t),n},j.prototype.bytepad=function(t,e){for(var r=this.encode(e),n=0;n<t.length;++n)r+=this.encodeString(t[n]);var i=e-r%e,o=[];return o.length=i,this.update(o),this},j.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var t=this.blocks,e=this.lastByteIndex,r=this.blockCount,n=this.s;if(t[e>>2]|=this.padding[3&e],this.lastByteIndex===this.byteCount)for(t[0]=t[r],e=1;e<r+1;++e)t[e]=0;for(t[r-1]|=2147483648,e=0;e<r;++e)n[e]^=t[e];R(n)}},j.prototype.toString=j.prototype.hex=function(){this.finalize();for(var t,e=this.blockCount,r=this.s,n=this.outputBlocks,i=this.extraBytes,o=0,a=0,s="";a<n;){for(o=0;o<e&&a<n;++o,++a)t=r[o],s+=d[t>>4&15]+d[15&t]+d[t>>12&15]+d[t>>8&15]+d[t>>20&15]+d[t>>16&15]+d[t>>28&15]+d[t>>24&15];a%e==0&&(R(r),o=0)}return i&&(t=r[o],s+=d[t>>4&15]+d[15&t],i>1&&(s+=d[t>>12&15]+d[t>>8&15]),i>2&&(s+=d[t>>20&15]+d[t>>16&15])),s},j.prototype.arrayBuffer=function(){this.finalize();var t,e=this.blockCount,r=this.s,n=this.outputBlocks,i=this.extraBytes,o=0,a=0,s=this.outputBits>>3;t=i?new ArrayBuffer(n+1<<2):new ArrayBuffer(s);for(var u=new Uint32Array(t);a<n;){for(o=0;o<e&&a<n;++o,++a)u[a]=r[o];a%e==0&&R(r)}return i&&(u[o]=r[o],t=t.slice(0,s)),t},j.prototype.buffer=j.prototype.arrayBuffer,j.prototype.digest=j.prototype.array=function(){this.finalize();for(var t,e,r=this.blockCount,n=this.s,i=this.outputBlocks,o=this.extraBytes,a=0,s=0,u=[];s<i;){for(a=0;a<r&&s<i;++a,++s)t=s<<2,e=n[a],u[t]=255&e,u[t+1]=e>>8&255,u[t+2]=e>>16&255,u[t+3]=e>>24&255;s%r==0&&R(n)}return o&&(t=s<<2,e=n[a],u[t]=255&e,o>1&&(u[t+1]=e>>8&255),o>2&&(u[t+2]=e>>16&255)),u},N.prototype=new j,N.prototype.finalize=function(){return this.encode(this.outputBits,!0),j.prototype.finalize.call(this)};var R=function(t){var e,r,n,i,o,a,s,u,c,l,h,f,d,p,m,y,v,b,_,w,x,k,S,E,M,A,T,C,L,P,O,I,D,B,j,N,R,F,Y,U,H,z,V,$,q,G,W,K,X,J,Z,Q,tt,et,rt,nt,it,ot,at,st,ut,ct,lt;for(n=0;n<48;n+=2)i=t[0]^t[10]^t[20]^t[30]^t[40],o=t[1]^t[11]^t[21]^t[31]^t[41],a=t[2]^t[12]^t[22]^t[32]^t[42],s=t[3]^t[13]^t[23]^t[33]^t[43],u=t[4]^t[14]^t[24]^t[34]^t[44],c=t[5]^t[15]^t[25]^t[35]^t[45],l=t[6]^t[16]^t[26]^t[36]^t[46],h=t[7]^t[17]^t[27]^t[37]^t[47],e=(f=t[8]^t[18]^t[28]^t[38]^t[48])^(a<<1|s>>>31),r=(d=t[9]^t[19]^t[29]^t[39]^t[49])^(s<<1|a>>>31),t[0]^=e,t[1]^=r,t[10]^=e,t[11]^=r,t[20]^=e,t[21]^=r,t[30]^=e,t[31]^=r,t[40]^=e,t[41]^=r,e=i^(u<<1|c>>>31),r=o^(c<<1|u>>>31),t[2]^=e,t[3]^=r,t[12]^=e,t[13]^=r,t[22]^=e,t[23]^=r,t[32]^=e,t[33]^=r,t[42]^=e,t[43]^=r,e=a^(l<<1|h>>>31),r=s^(h<<1|l>>>31),t[4]^=e,t[5]^=r,t[14]^=e,t[15]^=r,t[24]^=e,t[25]^=r,t[34]^=e,t[35]^=r,t[44]^=e,t[45]^=r,e=u^(f<<1|d>>>31),r=c^(d<<1|f>>>31),t[6]^=e,t[7]^=r,t[16]^=e,t[17]^=r,t[26]^=e,t[27]^=r,t[36]^=e,t[37]^=r,t[46]^=e,t[47]^=r,e=l^(i<<1|o>>>31),r=h^(o<<1|i>>>31),t[8]^=e,t[9]^=r,t[18]^=e,t[19]^=r,t[28]^=e,t[29]^=r,t[38]^=e,t[39]^=r,t[48]^=e,t[49]^=r,p=t[0],m=t[1],G=t[11]<<4|t[10]>>>28,W=t[10]<<4|t[11]>>>28,C=t[20]<<3|t[21]>>>29,L=t[21]<<3|t[20]>>>29,st=t[31]<<9|t[30]>>>23,ut=t[30]<<9|t[31]>>>23,z=t[40]<<18|t[41]>>>14,V=t[41]<<18|t[40]>>>14,B=t[2]<<1|t[3]>>>31,j=t[3]<<1|t[2]>>>31,y=t[13]<<12|t[12]>>>20,v=t[12]<<12|t[13]>>>20,K=t[22]<<10|t[23]>>>22,X=t[23]<<10|t[22]>>>22,P=t[33]<<13|t[32]>>>19,O=t[32]<<13|t[33]>>>19,ct=t[42]<<2|t[43]>>>30,lt=t[43]<<2|t[42]>>>30,et=t[5]<<30|t[4]>>>2,rt=t[4]<<30|t[5]>>>2,N=t[14]<<6|t[15]>>>26,R=t[15]<<6|t[14]>>>26,b=t[25]<<11|t[24]>>>21,_=t[24]<<11|t[25]>>>21,J=t[34]<<15|t[35]>>>17,Z=t[35]<<15|t[34]>>>17,I=t[45]<<29|t[44]>>>3,D=t[44]<<29|t[45]>>>3,E=t[6]<<28|t[7]>>>4,M=t[7]<<28|t[6]>>>4,nt=t[17]<<23|t[16]>>>9,it=t[16]<<23|t[17]>>>9,F=t[26]<<25|t[27]>>>7,Y=t[27]<<25|t[26]>>>7,w=t[36]<<21|t[37]>>>11,x=t[37]<<21|t[36]>>>11,Q=t[47]<<24|t[46]>>>8,tt=t[46]<<24|t[47]>>>8,$=t[8]<<27|t[9]>>>5,q=t[9]<<27|t[8]>>>5,A=t[18]<<20|t[19]>>>12,T=t[19]<<20|t[18]>>>12,ot=t[29]<<7|t[28]>>>25,at=t[28]<<7|t[29]>>>25,U=t[38]<<8|t[39]>>>24,H=t[39]<<8|t[38]>>>24,k=t[48]<<14|t[49]>>>18,S=t[49]<<14|t[48]>>>18,t[0]=p^~y&b,t[1]=m^~v&_,t[10]=E^~A&C,t[11]=M^~T&L,t[20]=B^~N&F,t[21]=j^~R&Y,t[30]=$^~G&K,t[31]=q^~W&X,t[40]=et^~nt&ot,t[41]=rt^~it&at,t[2]=y^~b&w,t[3]=v^~_&x,t[12]=A^~C&P,t[13]=T^~L&O,t[22]=N^~F&U,t[23]=R^~Y&H,t[32]=G^~K&J,t[33]=W^~X&Z,t[42]=nt^~ot&st,t[43]=it^~at&ut,t[4]=b^~w&k,t[5]=_^~x&S,t[14]=C^~P&I,t[15]=L^~O&D,t[24]=F^~U&z,t[25]=Y^~H&V,t[34]=K^~J&Q,t[35]=X^~Z&tt,t[44]=ot^~st&ct,t[45]=at^~ut&lt,t[6]=w^~k&p,t[7]=x^~S&m,t[16]=P^~I&E,t[17]=O^~D&M,t[26]=U^~z&B,t[27]=H^~V&j,t[36]=J^~Q&$,t[37]=Z^~tt&q,t[46]=st^~ct&et,t[47]=ut^~lt&rt,t[8]=k^~p&y,t[9]=S^~m&v,t[18]=I^~E&A,t[19]=D^~M&T,t[28]=z^~B&N,t[29]=V^~j&R,t[38]=Q^~$&G,t[39]=tt^~q&W,t[48]=ct^~et&nt,t[49]=lt^~rt&it,t[0]^=g[n],t[1]^=g[n+1]};if(l)t.exports=T;else{for(L=0;L<C.length;++L)u[C[L]]=T[C[L]];h&&(void 0===(n=function(){return T}.call(e,r,e,t))||(t.exports=n))}}()},1243:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.keccak512=e.keccak384=e.keccak256=e.keccak224=void 0;var n,i=r(64376),o=r(40890);e.keccak224=(0,o.wrapHash)(i.keccak_224),e.keccak256=((n=(0,o.wrapHash)(i.keccak_256)).create=i.keccak_256.create,n),e.keccak384=(0,o.wrapHash)(i.keccak_384),e.keccak512=(0,o.wrapHash)(i.keccak_512)},86992:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.secp256k1=void 0;var n=r(4158);Object.defineProperty(e,"secp256k1",{enumerable:!0,get:function(){return n.secp256k1}})},40890:(t,e,r)=>{"use strict";t=r.nmd(t);var n=r(28847)(r(3355));Object.defineProperty(e,"__esModule",{value:!0}),e.crypto=e.wrapHash=e.equalsBytes=e.hexToBytes=e.bytesToUtf8=e.utf8ToBytes=e.createView=e.concatBytes=e.toHex=e.bytesToHex=e.assertBytes=e.assertBool=void 0;var i,o=(i=r(96822))&&i.__esModule?i:{default:i},a=r(72434),s=o.default.bool;e.assertBool=s;var u=o.default.bytes;e.assertBytes=u;var c,l,h=r(72434);Object.defineProperty(e,"bytesToHex",{enumerable:!0,get:function(){return h.bytesToHex}}),Object.defineProperty(e,"toHex",{enumerable:!0,get:function(){return h.bytesToHex}}),Object.defineProperty(e,"concatBytes",{enumerable:!0,get:function(){return h.concatBytes}}),Object.defineProperty(e,"createView",{enumerable:!0,get:function(){return h.createView}}),Object.defineProperty(e,"utf8ToBytes",{enumerable:!0,get:function(){return h.utf8ToBytes}}),e.bytesToUtf8=function(t){if(!(t instanceof Uint8Array))throw new TypeError("bytesToUtf8 expected Uint8Array, got ".concat((0,n.default)(t)));return(new TextDecoder).decode(t)},e.hexToBytes=function(t){var e=t.startsWith("0x")?t.substring(2):t;return(0,a.hexToBytes)(e)},e.equalsBytes=function(t,e){if(t.length!==e.length)return!1;for(var r=0;r<t.length;r++)if(t[r]!==e[r])return!1;return!0},e.wrapHash=function(t){return function(e){return o.default.bytes(e),t(e)}},e.crypto=(c="object"===("undefined"==typeof globalThis?"undefined":(0,n.default)(globalThis))&&"crypto"in globalThis?globalThis.crypto:void 0,{node:(l="function"==typeof t.require&&t.require.bind(t))&&!c?l("crypto"):void 0,web:c})},21968:(t,e,r)=>{"use strict";var n=r(29033).Buffer;Object.defineProperty(e,"__esModule",{value:!0}),e.isZeroAddress=e.zeroAddress=e.importPublic=e.privateToAddress=e.privateToPublic=e.publicToAddress=e.pubToAddress=e.isValidPublic=e.isValidPrivate=e.generateAddress2=e.generateAddress=e.isValidChecksumAddress=e.toChecksumAddress=e.isValidAddress=e.Account=void 0;var i,o=(i=r(3894))&&i.__esModule?i:{default:i},a=r(49100),s=r(31439),u=r(23271),c=r(60986),l=r(13464),h=r(39808),f=r(5725),d=r(35513),p=function(){function t(t,e,r,n){void 0===t&&(t=new a.BN(0)),void 0===e&&(e=new a.BN(0)),void 0===r&&(r=c.KECCAK256_RLP),void 0===n&&(n=c.KECCAK256_NULL),this.nonce=t,this.balance=e,this.stateRoot=r,this.codeHash=n,this._validate()}return t.fromAccountData=function(e){var r=e.nonce,n=e.balance,i=e.stateRoot,o=e.codeHash;return new t(r?new a.BN((0,l.toBuffer)(r)):void 0,n?new a.BN((0,l.toBuffer)(n)):void 0,i?(0,l.toBuffer)(i):void 0,o?(0,l.toBuffer)(o):void 0)},t.fromRlpSerializedAccount=function(t){var e=a.rlp.decode(t);if(!Array.isArray(e))throw new Error("Invalid serialized account input. Must be array");return this.fromValuesArray(e)},t.fromValuesArray=function(e){var r=function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a}(e,4),n=r[0],i=r[1],o=r[2],s=r[3];return new t(new a.BN(n),new a.BN(i),o,s)},t.prototype._validate=function(){if(this.nonce.lt(new a.BN(0)))throw new Error("nonce must be greater than zero");if(this.balance.lt(new a.BN(0)))throw new Error("balance must be greater than zero");if(32!==this.stateRoot.length)throw new Error("stateRoot must have a length of 32");if(32!==this.codeHash.length)throw new Error("codeHash must have a length of 32")},t.prototype.raw=function(){return[(0,d.bnToUnpaddedBuffer)(this.nonce),(0,d.bnToUnpaddedBuffer)(this.balance),this.stateRoot,this.codeHash]},t.prototype.serialize=function(){return a.rlp.encode(this.raw())},t.prototype.isContract=function(){return!this.codeHash.equals(c.KECCAK256_NULL)},t.prototype.isEmpty=function(){return this.balance.isZero()&&this.nonce.isZero()&&this.codeHash.equals(c.KECCAK256_NULL)},t}();e.Account=p,e.isValidAddress=function(t){try{(0,f.assertIsString)(t)}catch(t){return!1}return/^0x[0-9a-fA-F]{40}$/.test(t)},e.toChecksumAddress=function(t,e){(0,f.assertIsHexString)(t);var r=(0,u.stripHexPrefix)(t).toLowerCase(),n="";e&&(n=(0,d.toType)(e,d.TypeOutput.BN).toString()+"0x");for(var i=(0,h.keccakFromString)(n+r).toString("hex"),o="0x",a=0;a<r.length;a++)parseInt(i[a],16)>=8?o+=r[a].toUpperCase():o+=r[a];return o},e.isValidChecksumAddress=function(t,r){return(0,e.isValidAddress)(t)&&(0,e.toChecksumAddress)(t,r)===t},e.generateAddress=function(t,e){(0,f.assertIsBuffer)(t),(0,f.assertIsBuffer)(e);var r=new a.BN(e);return r.isZero()?(0,h.rlphash)([t,null]).slice(-20):(0,h.rlphash)([t,n.from(r.toArray())]).slice(-20)},e.generateAddress2=function(t,e,r){return(0,f.assertIsBuffer)(t),(0,f.assertIsBuffer)(e),(0,f.assertIsBuffer)(r),(0,o.default)(20===t.length),(0,o.default)(32===e.length),(0,h.keccak256)(n.concat([n.from("ff","hex"),t,e,(0,h.keccak256)(r)])).slice(-20)},e.isValidPrivate=function(t){return(0,s.privateKeyVerify)(t)},e.isValidPublic=function(t,e){return void 0===e&&(e=!1),(0,f.assertIsBuffer)(t),64===t.length?(0,s.publicKeyVerify)(n.concat([n.from([4]),t])):!!e&&(0,s.publicKeyVerify)(t)},e.pubToAddress=function(t,e){return void 0===e&&(e=!1),(0,f.assertIsBuffer)(t),e&&64!==t.length&&(t=n.from((0,s.publicKeyConvert)(t,!1).slice(1))),(0,o.default)(64===t.length),(0,h.keccak)(t).slice(-20)},e.publicToAddress=e.pubToAddress,e.privateToPublic=function(t){return(0,f.assertIsBuffer)(t),n.from((0,s.publicKeyCreate)(t,!1)).slice(1)},e.privateToAddress=function(t){return(0,e.publicToAddress)((0,e.privateToPublic)(t))},e.importPublic=function(t){return(0,f.assertIsBuffer)(t),64!==t.length&&(t=n.from((0,s.publicKeyConvert)(t,!1).slice(1))),t},e.zeroAddress=function(){var t=(0,l.zeros)(20);return(0,l.bufferToHex)(t)},e.isZeroAddress=function(t){try{(0,f.assertIsString)(t)}catch(t){return!1}return(0,e.zeroAddress)()===t}},41984:(t,e,r)=>{"use strict";var n=r(29033).Buffer;Object.defineProperty(e,"__esModule",{value:!0}),e.Address=void 0;var i,o=(i=r(3894))&&i.__esModule?i:{default:i},a=r(49100),s=r(13464),u=r(21968),c=function(){function t(t){(0,o.default)(20===t.length,"Invalid address length"),this.buf=t}return t.zero=function(){return new t((0,s.zeros)(20))},t.fromString=function(e){return(0,o.default)((0,u.isValidAddress)(e),"Invalid address"),new t((0,s.toBuffer)(e))},t.fromPublicKey=function(e){return(0,o.default)(n.isBuffer(e),"Public key should be Buffer"),new t((0,u.pubToAddress)(e))},t.fromPrivateKey=function(e){return(0,o.default)(n.isBuffer(e),"Private key should be Buffer"),new t((0,u.privateToAddress)(e))},t.generate=function(e,r){return(0,o.default)(a.BN.isBN(r)),new t((0,u.generateAddress)(e.buf,r.toArrayLike(n)))},t.generate2=function(e,r,i){return(0,o.default)(n.isBuffer(r)),(0,o.default)(n.isBuffer(i)),new t((0,u.generateAddress2)(e.buf,r,i))},t.prototype.equals=function(t){return this.buf.equals(t.buf)},t.prototype.isZero=function(){return this.equals(t.zero())},t.prototype.isPrecompileOrSystemAddress=function(){var t=new a.BN(this.buf),e=new a.BN(0),r=new a.BN("ffff","hex");return t.gte(e)&&t.lte(r)},t.prototype.toString=function(){return"0x"+this.buf.toString("hex")},t.prototype.toBuffer=function(){return n.from(this.buf)},t}();e.Address=c},13464:(t,e,r)=>{"use strict";var n=r(29033).Buffer,i=function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a};Object.defineProperty(e,"__esModule",{value:!0}),e.bufArrToArr=e.arrToBufArr=e.validateNoLeadingZeroes=e.baToJSON=e.toUtf8=e.addHexPrefix=e.toUnsigned=e.fromSigned=e.bufferToHex=e.bufferToInt=e.toBuffer=e.unpadHexString=e.unpadArray=e.unpadBuffer=e.setLengthRight=e.setLengthLeft=e.zeros=e.intToBuffer=e.intToHex=void 0;var o=r(49100),a=r(23271),s=r(5725);e.intToHex=function(t){if(!Number.isSafeInteger(t)||t<0)throw new Error("Received an invalid integer type: ".concat(t));return"0x".concat(t.toString(16))},e.intToBuffer=function(t){var r=(0,e.intToHex)(t);return n.from((0,a.padToEven)(r.slice(2)),"hex")},e.zeros=function(t){return n.allocUnsafe(t).fill(0)};var u=function(t,r,n){var i=(0,e.zeros)(r);return n?t.length<r?(t.copy(i),i):t.slice(0,r):t.length<r?(t.copy(i,r-t.length),i):t.slice(-r)};e.setLengthLeft=function(t,e){return(0,s.assertIsBuffer)(t),u(t,e,!1)},e.setLengthRight=function(t,e){return(0,s.assertIsBuffer)(t),u(t,e,!0)};var c=function(t){for(var e=t[0];t.length>0&&"0"===e.toString();)e=(t=t.slice(1))[0];return t};e.unpadBuffer=function(t){return(0,s.assertIsBuffer)(t),c(t)},e.unpadArray=function(t){return(0,s.assertIsArray)(t),c(t)},e.unpadHexString=function(t){return(0,s.assertIsHexString)(t),t=(0,a.stripHexPrefix)(t),c(t)},e.toBuffer=function(t){if(null==t)return n.allocUnsafe(0);if(n.isBuffer(t))return n.from(t);if(Array.isArray(t)||t instanceof Uint8Array)return n.from(t);if("string"==typeof t){if(!(0,a.isHexString)(t))throw new Error("Cannot convert string to buffer. toBuffer only supports 0x-prefixed hex strings and this string was given: ".concat(t));return n.from((0,a.padToEven)((0,a.stripHexPrefix)(t)),"hex")}if("number"==typeof t)return(0,e.intToBuffer)(t);if(o.BN.isBN(t)){if(t.isNeg())throw new Error("Cannot convert negative BN to buffer. Given: ".concat(t));return t.toArrayLike(n)}if(t.toArray)return n.from(t.toArray());if(t.toBuffer)return n.from(t.toBuffer());throw new Error("invalid type")},e.bufferToInt=function(t){return new o.BN((0,e.toBuffer)(t)).toNumber()},e.bufferToHex=function(t){return"0x"+(t=(0,e.toBuffer)(t)).toString("hex")},e.fromSigned=function(t){return new o.BN(t).fromTwos(256)},e.toUnsigned=function(t){return n.from(t.toTwos(256).toArray())},e.addHexPrefix=function(t){return"string"!=typeof t||(0,a.isHexPrefixed)(t)?t:"0x"+t},e.toUtf8=function(t){if((t=(0,a.stripHexPrefix)(t)).length%2!=0)throw new Error("Invalid non-even hex string input for toUtf8() provided");return n.from(t.replace(/^(00)+|(00)+$/g,""),"hex").toString("utf8")},e.baToJSON=function(t){if(n.isBuffer(t))return"0x".concat(t.toString("hex"));if(t instanceof Array){for(var r=[],i=0;i<t.length;i++)r.push((0,e.baToJSON)(t[i]));return r}},e.validateNoLeadingZeroes=function(t){var e,r;try{for(var n=function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(Object.entries(t)),o=n.next();!o.done;o=n.next()){var a=i(o.value,2),s=a[0],u=a[1];if(void 0!==u&&u.length>0&&0===u[0])throw new Error("".concat(s," cannot have leading zeroes, received: ").concat(u.toString("hex")))}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},e.arrToBufArr=function t(e){return Array.isArray(e)?e.map((function(e){return t(e)})):n.from(e)},e.bufArrToArr=function t(e){return Array.isArray(e)?e.map((function(e){return t(e)})):Uint8Array.from(null!=e?e:[])}},60986:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.KECCAK256_RLP=e.KECCAK256_RLP_S=e.KECCAK256_RLP_ARRAY=e.KECCAK256_RLP_ARRAY_S=e.KECCAK256_NULL=e.KECCAK256_NULL_S=e.TWO_POW256=e.MAX_INTEGER=e.MAX_UINT64=void 0;var n=r(29033),i=r(49100);e.MAX_UINT64=new i.BN("ffffffffffffffff",16),e.MAX_INTEGER=new i.BN("ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",16),e.TWO_POW256=new i.BN("10000000000000000000000000000000000000000000000000000000000000000",16),e.KECCAK256_NULL_S="c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",e.KECCAK256_NULL=n.Buffer.from(e.KECCAK256_NULL_S,"hex"),e.KECCAK256_RLP_ARRAY_S="1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",e.KECCAK256_RLP_ARRAY=n.Buffer.from(e.KECCAK256_RLP_ARRAY_S,"hex"),e.KECCAK256_RLP_S="56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",e.KECCAK256_RLP=n.Buffer.from(e.KECCAK256_RLP_S,"hex")},49100:(t,e,r)=>{"use strict";var n=Object.create?function(t,e,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);i&&!("get"in i?!e.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]},i=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e};Object.defineProperty(e,"__esModule",{value:!0}),e.rlp=e.BN=void 0;var o,a=(o=r(31734))&&o.__esModule?o:{default:o};e.BN=a.default;var s=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.prototype.hasOwnProperty.call(t,r)&&n(e,t,r);return i(e,t),e}(r(6905));e.rlp=s},39808:(t,e,r)=>{"use strict";var n=r(29033).Buffer;Object.defineProperty(e,"__esModule",{value:!0}),e.rlphash=e.ripemd160FromArray=e.ripemd160FromString=e.ripemd160=e.sha256FromArray=e.sha256FromString=e.sha256=e.keccakFromArray=e.keccakFromHexString=e.keccakFromString=e.keccak256=e.keccak=void 0;var i=r(8235),o=r(35866),a=r(49100),s=r(13464),u=r(5725);e.keccak=function(t,e){switch(void 0===e&&(e=256),(0,u.assertIsBuffer)(t),e){case 224:return(0,i.keccak224)(t);case 256:return(0,i.keccak256)(t);case 384:return(0,i.keccak384)(t);case 512:return(0,i.keccak512)(t);default:throw new Error("Invald algorithm: keccak".concat(e))}},e.keccak256=function(t){return(0,e.keccak)(t)},e.keccakFromString=function(t,r){void 0===r&&(r=256),(0,u.assertIsString)(t);var i=n.from(t,"utf8");return(0,e.keccak)(i,r)},e.keccakFromHexString=function(t,r){return void 0===r&&(r=256),(0,u.assertIsHexString)(t),(0,e.keccak)((0,s.toBuffer)(t),r)},e.keccakFromArray=function(t,r){return void 0===r&&(r=256),(0,u.assertIsArray)(t),(0,e.keccak)((0,s.toBuffer)(t),r)};var c=function(t){return t=(0,s.toBuffer)(t),o("sha256").update(t).digest()};e.sha256=function(t){return(0,u.assertIsBuffer)(t),c(t)},e.sha256FromString=function(t){return(0,u.assertIsString)(t),c(t)},e.sha256FromArray=function(t){return(0,u.assertIsArray)(t),c(t)};var l=function(t,e){t=(0,s.toBuffer)(t);var r=o("rmd160").update(t).digest();return!0===e?(0,s.setLengthLeft)(r,32):r};e.ripemd160=function(t,e){return(0,u.assertIsBuffer)(t),l(t,e)},e.ripemd160FromString=function(t,e){return(0,u.assertIsString)(t),l(t,e)},e.ripemd160FromArray=function(t,e){return(0,u.assertIsArray)(t),l(t,e)},e.rlphash=function(t){return(0,e.keccak)(a.rlp.encode(t))}},5725:(t,e,r)=>{"use strict";var n=r(29033).Buffer;Object.defineProperty(e,"__esModule",{value:!0}),e.assertIsString=e.assertIsArray=e.assertIsBuffer=e.assertIsHexString=void 0;var i=r(23271);e.assertIsHexString=function(t){if(!(0,i.isHexString)(t)){var e="This method only supports 0x-prefixed hex strings but input was: ".concat(t);throw new Error(e)}},e.assertIsBuffer=function(t){if(!n.isBuffer(t)){var e="This method only supports Buffer but input was: ".concat(t);throw new Error(e)}},e.assertIsArray=function(t){if(!Array.isArray(t)){var e="This method only supports number arrays but input was: ".concat(t);throw new Error(e)}},e.assertIsString=function(t){if("string"!=typeof t){var e="This method only supports strings but input was: ".concat(t);throw new Error(e)}}},33062:(t,e,r)=>{"use strict";var n=Object.create?function(t,e,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);i&&!("get"in i?!e.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]},i=function(t,e){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(e,r)||n(e,t,r)};Object.defineProperty(e,"__esModule",{value:!0}),e.isHexString=e.getKeys=e.fromAscii=e.fromUtf8=e.toAscii=e.arrayContainsArray=e.getBinarySize=e.padToEven=e.stripHexPrefix=e.isHexPrefixed=void 0,i(r(60986),e),i(r(21968),e),i(r(41984),e),i(r(39808),e),i(r(86081),e),i(r(13464),e),i(r(41677),e),i(r(49100),e),i(r(35513),e);var o=r(23271);Object.defineProperty(e,"isHexPrefixed",{enumerable:!0,get:function(){return o.isHexPrefixed}}),Object.defineProperty(e,"stripHexPrefix",{enumerable:!0,get:function(){return o.stripHexPrefix}}),Object.defineProperty(e,"padToEven",{enumerable:!0,get:function(){return o.padToEven}}),Object.defineProperty(e,"getBinarySize",{enumerable:!0,get:function(){return o.getBinarySize}}),Object.defineProperty(e,"arrayContainsArray",{enumerable:!0,get:function(){return o.arrayContainsArray}}),Object.defineProperty(e,"toAscii",{enumerable:!0,get:function(){return o.toAscii}}),Object.defineProperty(e,"fromUtf8",{enumerable:!0,get:function(){return o.fromUtf8}}),Object.defineProperty(e,"fromAscii",{enumerable:!0,get:function(){return o.fromAscii}}),Object.defineProperty(e,"getKeys",{enumerable:!0,get:function(){return o.getKeys}}),Object.defineProperty(e,"isHexString",{enumerable:!0,get:function(){return o.isHexString}})},23271:(t,e,r)=>{"use strict";var n=r(29033).Buffer,i=r(28847)(r(3355));function o(t){if("string"!=typeof t)throw new Error("[isHexPrefixed] input must be type 'string', received type ".concat((0,i.default)(t)));return"0"===t[0]&&"x"===t[1]}function a(t){var e=t;if("string"!=typeof e)throw new Error("[padToEven] value must be type 'string', received ".concat((0,i.default)(e)));return e.length%2&&(e="0".concat(e)),e}Object.defineProperty(e,"__esModule",{value:!0}),e.isHexString=e.getKeys=e.fromAscii=e.fromUtf8=e.toAscii=e.arrayContainsArray=e.getBinarySize=e.padToEven=e.stripHexPrefix=e.isHexPrefixed=void 0,e.isHexPrefixed=o,e.stripHexPrefix=function(t){if("string"!=typeof t)throw new Error("[stripHexPrefix] input must be type 'string', received ".concat((0,i.default)(t)));return o(t)?t.slice(2):t},e.padToEven=a,e.getBinarySize=function(t){if("string"!=typeof t)throw new Error("[getBinarySize] method requires input type 'string', recieved ".concat((0,i.default)(t)));return n.byteLength(t,"utf8")},e.arrayContainsArray=function(t,e,r){if(!0!==Array.isArray(t))throw new Error("[arrayContainsArray] method requires input 'superset' to be an array, got type '".concat((0,i.default)(t),"'"));if(!0!==Array.isArray(e))throw new Error("[arrayContainsArray] method requires input 'subset' to be an array, got type '".concat((0,i.default)(e),"'"));return e[r?"some":"every"]((function(e){return t.indexOf(e)>=0}))},e.toAscii=function(t){var e="",r=0,n=t.length;for("0x"===t.substring(0,2)&&(r=2);r<n;r+=2){var i=parseInt(t.substr(r,2),16);e+=String.fromCharCode(i)}return e},e.fromUtf8=function(t){var e=n.from(t,"utf8");return"0x".concat(a(e.toString("hex")).replace(/^0+|0+$/g,""))},e.fromAscii=function(t){for(var e="",r=0;r<t.length;r++){var n=t.charCodeAt(r).toString(16);e+=n.length<2?"0".concat(n):n}return"0x".concat(e)},e.getKeys=function(t,e,r){if(!Array.isArray(t))throw new Error("[getKeys] method expects input 'params' to be an array, got ".concat((0,i.default)(t)));if("string"!=typeof e)throw new Error("[getKeys] method expects input 'key' to be type 'string', got ".concat((0,i.default)(t)));for(var n=[],o=0;o<t.length;o++){var a=t[o][e];if(r&&!a)a="";else if("string"!=typeof a)throw new Error("invalid abi - expected type 'string', received ".concat((0,i.default)(a)));n.push(a)}return n},e.isHexString=function(t,e){return!("string"!=typeof t||!t.match(/^0x[0-9A-Fa-f]*$/)||e&&t.length!==2+2*e)}},41677:(t,e,r)=>{"use strict";var n=r(29033).Buffer,i=r(28847)(r(3355));Object.defineProperty(e,"__esModule",{value:!0}),e.defineProperties=void 0;var o,a=(o=r(3894))&&o.__esModule?o:{default:o},s=r(23271),u=r(49100),c=r(13464);e.defineProperties=function(t,e,r){if(t.raw=[],t._fields=[],t.toJSON=function(e){if(void 0===e&&(e=!1),e){var r={};return t._fields.forEach((function(e){r[e]="0x".concat(t[e].toString("hex"))})),r}return(0,c.baToJSON)(t.raw)},t.serialize=function(){return u.rlp.encode(t.raw)},e.forEach((function(e,r){function i(){return t.raw[r]}function o(i){"00"!==(i=(0,c.toBuffer)(i)).toString("hex")||e.allowZero||(i=n.allocUnsafe(0)),e.allowLess&&e.length?(i=(0,c.unpadBuffer)(i),(0,a.default)(e.length>=i.length,"The field ".concat(e.name," must not have more ").concat(e.length," bytes"))):e.allowZero&&0===i.length||!e.length||(0,a.default)(e.length===i.length,"The field ".concat(e.name," must have byte length of ").concat(e.length)),t.raw[r]=i}t._fields.push(e.name),Object.defineProperty(t,e.name,{enumerable:!0,configurable:!0,get:i,set:o}),e.default&&(t[e.name]=e.default),e.alias&&Object.defineProperty(t,e.alias,{enumerable:!1,configurable:!0,set:o,get:i})})),r)if("string"==typeof r&&(r=n.from((0,s.stripHexPrefix)(r),"hex")),n.isBuffer(r)&&(r=u.rlp.decode(r)),Array.isArray(r)){if(r.length>t._fields.length)throw new Error("wrong number of fields in data");r.forEach((function(e,r){t[t._fields[r]]=(0,c.toBuffer)(e)}))}else{if("object"!==(0,i.default)(r))throw new Error("invalid data");var o=Object.keys(r);e.forEach((function(e){-1!==o.indexOf(e.name)&&(t[e.name]=r[e.name]),-1!==o.indexOf(e.alias)&&(t[e.alias]=r[e.alias])}))}}},86081:(t,e,r)=>{"use strict";var n=r(29033).Buffer;Object.defineProperty(e,"__esModule",{value:!0}),e.hashPersonalMessage=e.isValidSignature=e.fromRpcSig=e.toCompactSig=e.toRpcSig=e.ecrecover=e.ecsign=void 0;var i=r(31439),o=r(49100),a=r(13464),s=r(39808),u=r(5725),c=r(35513);function l(t,e){var r=(0,c.toType)(t,c.TypeOutput.BN);if(r.eqn(0)||r.eqn(1))return(0,c.toType)(t,c.TypeOutput.BN);if(!e)return r.subn(27);var n=(0,c.toType)(e,c.TypeOutput.BN);return r.sub(n.muln(2).addn(35))}function h(t){var e=new o.BN(t);return e.eqn(0)||e.eqn(1)}e.ecsign=function(t,e,r){var o=(0,i.ecdsaSign)(t,e),a=o.signature,s=o.recid,u=n.from(a.slice(0,32)),l=n.from(a.slice(32,64));if(!r||"number"==typeof r){if(r&&!Number.isSafeInteger(r))throw new Error("The provided number is greater than MAX_SAFE_INTEGER (please use an alternative input type)");return{r:u,s:l,v:r?s+(2*r+35):s+27}}return{r:u,s:l,v:(0,c.toType)(r,c.TypeOutput.BN).muln(2).addn(35).addn(s).toArrayLike(n)}},e.ecrecover=function(t,e,r,o,s){var u=n.concat([(0,a.setLengthLeft)(r,32),(0,a.setLengthLeft)(o,32)],64),c=l(e,s);if(!h(c))throw new Error("Invalid signature v value");var f=(0,i.ecdsaRecover)(u,c.toNumber(),t);return n.from((0,i.publicKeyConvert)(f,!1).slice(1))},e.toRpcSig=function(t,e,r,i){if(!h(l(t,i)))throw new Error("Invalid signature v value");return(0,a.bufferToHex)(n.concat([(0,a.setLengthLeft)(e,32),(0,a.setLengthLeft)(r,32),(0,a.toBuffer)(t)]))},e.toCompactSig=function(t,e,r,i){if(!h(l(t,i)))throw new Error("Invalid signature v value");var o=(0,c.toType)(t,c.TypeOutput.Number),s=r;return(o>28&&o%2==1||1===o||28===o)&&((s=n.from(r))[0]|=128),(0,a.bufferToHex)(n.concat([(0,a.setLengthLeft)(e,32),(0,a.setLengthLeft)(s,32)]))},e.fromRpcSig=function(t){var e,r,n,i=(0,a.toBuffer)(t);if(i.length>=65)e=i.slice(0,32),r=i.slice(32,64),n=(0,a.bufferToInt)(i.slice(64));else{if(64!==i.length)throw new Error("Invalid signature length");e=i.slice(0,32),r=i.slice(32,64),n=(0,a.bufferToInt)(i.slice(32,33))>>7,r[0]&=127}return n<27&&(n+=27),{v:n,r:e,s:r}},e.isValidSignature=function(t,e,r,n,i){void 0===n&&(n=!0);var a=new o.BN("7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0",16),s=new o.BN("fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141",16);if(32!==e.length||32!==r.length)return!1;if(!h(l(t,i)))return!1;var u=new o.BN(e),c=new o.BN(r);return!(u.isZero()||u.gt(s)||c.isZero()||c.gt(s)||n&&1===c.cmp(a))},e.hashPersonalMessage=function(t){(0,u.assertIsBuffer)(t);var e=n.from("Ethereum Signed Message:\n".concat(t.length),"utf-8");return(0,s.keccak)(n.concat([e,t]))}},35513:(t,e,r)=>{"use strict";var n=r(29033).Buffer;Object.defineProperty(e,"__esModule",{value:!0}),e.toType=e.TypeOutput=e.bnToRlp=e.bnToUnpaddedBuffer=e.bnToHex=void 0;var i,o=r(49100),a=r(23271),s=r(13464);function u(t){return(0,s.unpadBuffer)(t.toArrayLike(n))}e.bnToHex=function(t){return"0x".concat(t.toString(16))},e.bnToUnpaddedBuffer=u,e.bnToRlp=function(t){return u(t)},function(t){t[t.Number=0]="Number",t[t.BN=1]="BN",t[t.Buffer=2]="Buffer",t[t.PrefixedHexString=3]="PrefixedHexString"}(i=e.TypeOutput||(e.TypeOutput={})),e.toType=function(t,e){if(null===t)return null;if(void 0!==t){if("string"==typeof t&&!(0,a.isHexString)(t))throw new Error("A string must be provided with a 0x-prefix, given: ".concat(t));if("number"==typeof t&&!Number.isSafeInteger(t))throw new Error("The provided number is greater than MAX_SAFE_INTEGER (please use an alternative input type)");var r=(0,s.toBuffer)(t);if(e===i.Buffer)return r;if(e===i.BN)return new o.BN(r);if(e===i.Number){var n=new o.BN(r),u=new o.BN(Number.MAX_SAFE_INTEGER.toString());if(n.gt(u))throw new Error("The provided number is greater than MAX_SAFE_INTEGER (please use an alternative output type)");return n.toNumber()}return"0x".concat(r.toString("hex"))}}},73303:(t,e,r)=>{"use strict";var n=r(29033).Buffer;Object.defineProperty(e,"__esModule",{value:!0}),e.createHashFunction=function(t){return function(e){var r=t();return r.update(e),n.from(r.digest())}}},8235:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(73303),i=r(93135);e.keccak224=n.createHashFunction((function(){return i("keccak224")})),e.keccak256=n.createHashFunction((function(){return i("keccak256")})),e.keccak384=n.createHashFunction((function(){return i("keccak384")})),e.keccak512=n.createHashFunction((function(){return i("keccak512")}))},40739:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(75010);e.getRandomBytes=function(t){return new Promise((function(e,r){n(t,(function(t,n){t?r(t):e(n)}))}))},e.getRandomBytesSync=function(t){return n(t)}},31439:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(57902),i=r(40739);e.createPrivateKey=function(){return t=this,e=void 0,o=function(){var t;return function(t,e){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(t){o=[6,t],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}(this,(function(e){switch(e.label){case 0:return[4,i.getRandomBytes(32)];case 1:return t=e.sent(),n.privateKeyVerify(t)?[2,t]:[3,0];case 2:return[2]}}))},new((r=void 0)||(r=Promise))((function(n,i){function a(t){try{u(o.next(t))}catch(t){i(t)}}function s(t){try{u(o.throw(t))}catch(t){i(t)}}function u(t){var e;t.done?n(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,s)}u((o=o.apply(t,e||[])).next())}));var t,e,r,o},e.createPrivateKeySync=function(){for(;;){var t=i.getRandomBytesSync(32);if(n.privateKeyVerify(t))return t}},function(t){for(var r in t)e.hasOwnProperty(r)||(e[r]=t[r])}(r(57902))},17130:(t,e,r)=>{"use strict";var n=r(28847)(r(3355)),i=r(31734),o=r(77277),a=new i(0),s=new i(-1),u={noether:"0",wei:"1",kwei:"1000",Kwei:"1000",babbage:"1000",femtoether:"1000",mwei:"1000000",Mwei:"1000000",lovelace:"1000000",picoether:"1000000",gwei:"1000000000",Gwei:"1000000000",shannon:"1000000000",nanoether:"1000000000",nano:"1000000000",szabo:"1000000000000",microether:"1000000000000",micro:"1000000000000",finney:"1000000000000000",milliether:"1000000000000000",milli:"1000000000000000",ether:"1000000000000000000",kether:"1000000000000000000000",grand:"1000000000000000000000",mether:"1000000000000000000000000",gether:"1000000000000000000000000000",tether:"1000000000000000000000000000000"};function c(t){var e=t?t.toLowerCase():"ether",r=u[e];if("string"!=typeof r)throw new Error("[ethjs-unit] the unit provided "+t+" doesn't exists, please use the one of the following units "+JSON.stringify(u,null,2));return new i(r,10)}function l(t){if("string"==typeof t){if(!t.match(/^-?[0-9.]+$/))throw new Error("while converting number to string, invalid number value '"+t+"', should be a number matching (^-?[0-9.]+).");return t}if("number"==typeof t)return String(t);if("object"===(0,n.default)(t)&&t.toString&&(t.toTwos||t.dividedToIntegerBy))return t.toPrecision?String(t.toPrecision()):t.toString(10);throw new Error("while converting number to string, invalid number value '"+t+"' type "+(0,n.default)(t)+".")}t.exports={unitMap:u,numberToString:l,getValueOfUnit:c,fromWei:function(t,e,r){var n=o(t),i=n.lt(a),l=c(e),h=u[e].length-1||1,f=r||{};i&&(n=n.mul(s));for(var d=n.mod(l).toString(10);d.length<h;)d="0"+d;f.pad||(d=d.match(/^([0-9]*[1-9]|0)(0*)/)[1]);var p=n.div(l).toString(10);f.commify&&(p=p.replace(/\B(?=(\d{3})+(?!\d))/g,","));var m=p+("0"==d?"":"."+d);return i&&(m="-"+m),m},toWei:function(t,e){var r=l(t),n=c(e),o=u[e].length-1||1,a="-"===r.substring(0,1);if(a&&(r=r.substring(1)),"."===r)throw new Error("[ethjs-unit] while converting number "+t+" to wei, invalid value");var h=r.split(".");if(h.length>2)throw new Error("[ethjs-unit] while converting number "+t+" to wei,  too many decimal points");var f=h[0],d=h[1];if(f||(f="0"),d||(d="0"),d.length>o)throw new Error("[ethjs-unit] while converting number "+t+" to wei, too many decimal places");for(;d.length<o;)d+="0";f=new i(f),d=new i(d);var p=f.mul(n).add(d);return a&&(p=p.mul(s)),new i(p.toString(10),10)}}},98008:t=>{"use strict";var e=Object.prototype.hasOwnProperty,r="~";function n(){}function i(t,e,r){this.fn=t,this.context=e,this.once=r||!1}function o(t,e,n,o,a){if("function"!=typeof n)throw new TypeError("The listener must be a function");var s=new i(n,o||t,a),u=r?r+e:e;return t._events[u]?t._events[u].fn?t._events[u]=[t._events[u],s]:t._events[u].push(s):(t._events[u]=s,t._eventsCount++),t}function a(t,e){0==--t._eventsCount?t._events=new n:delete t._events[e]}function s(){this._events=new n,this._eventsCount=0}Object.create&&(n.prototype=Object.create(null),(new n).__proto__||(r=!1)),s.prototype.eventNames=function(){var t,n,i=[];if(0===this._eventsCount)return i;for(n in t=this._events)e.call(t,n)&&i.push(r?n.slice(1):n);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(t)):i},s.prototype.listeners=function(t){var e=r?r+t:t,n=this._events[e];if(!n)return[];if(n.fn)return[n.fn];for(var i=0,o=n.length,a=new Array(o);i<o;i++)a[i]=n[i].fn;return a},s.prototype.listenerCount=function(t){var e=r?r+t:t,n=this._events[e];return n?n.fn?1:n.length:0},s.prototype.emit=function(t,e,n,i,o,a){var s=r?r+t:t;if(!this._events[s])return!1;var u,c,l=this._events[s],h=arguments.length;if(l.fn){switch(l.once&&this.removeListener(t,l.fn,void 0,!0),h){case 1:return l.fn.call(l.context),!0;case 2:return l.fn.call(l.context,e),!0;case 3:return l.fn.call(l.context,e,n),!0;case 4:return l.fn.call(l.context,e,n,i),!0;case 5:return l.fn.call(l.context,e,n,i,o),!0;case 6:return l.fn.call(l.context,e,n,i,o,a),!0}for(c=1,u=new Array(h-1);c<h;c++)u[c-1]=arguments[c];l.fn.apply(l.context,u)}else{var f,d=l.length;for(c=0;c<d;c++)switch(l[c].once&&this.removeListener(t,l[c].fn,void 0,!0),h){case 1:l[c].fn.call(l[c].context);break;case 2:l[c].fn.call(l[c].context,e);break;case 3:l[c].fn.call(l[c].context,e,n);break;case 4:l[c].fn.call(l[c].context,e,n,i);break;default:if(!u)for(f=1,u=new Array(h-1);f<h;f++)u[f-1]=arguments[f];l[c].fn.apply(l[c].context,u)}}return!0},s.prototype.on=function(t,e,r){return o(this,t,e,r,!1)},s.prototype.once=function(t,e,r){return o(this,t,e,r,!0)},s.prototype.removeListener=function(t,e,n,i){var o=r?r+t:t;if(!this._events[o])return this;if(!e)return a(this,o),this;var s=this._events[o];if(s.fn)s.fn!==e||i&&!s.once||n&&s.context!==n||a(this,o);else{for(var u=0,c=[],l=s.length;u<l;u++)(s[u].fn!==e||i&&!s[u].once||n&&s[u].context!==n)&&c.push(s[u]);c.length?this._events[o]=1===c.length?c[0]:c:a(this,o)}return this},s.prototype.removeAllListeners=function(t){var e;return t?(e=r?r+t:t,this._events[e]&&a(this,e)):(this._events=new n,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=r,s.EventEmitter=s,t.exports=s},38291:(t,e,r)=>{"use strict";var n=r(28847)(r(3355)),i=Object.create||function(t){var e=function(){};return e.prototype=t,new e},o=Object.keys||function(t){var e=[];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.push(r);return r},a=Function.prototype.bind||function(t){var e=this;return function(){return e.apply(t,arguments)}};function s(){this._events&&Object.prototype.hasOwnProperty.call(this,"_events")||(this._events=i(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0}t.exports=s,s.EventEmitter=s,s.prototype._events=void 0,s.prototype._maxListeners=void 0;var u,c=10;try{var l={};Object.defineProperty&&Object.defineProperty(l,"x",{value:0}),u=0===l.x}catch(t){u=!1}function h(t){return void 0===t._maxListeners?s.defaultMaxListeners:t._maxListeners}function f(t,e,r,o){var a,s,u;if("function"!=typeof r)throw new TypeError('"listener" argument must be a function');if((s=t._events)?(s.newListener&&(t.emit("newListener",e,r.listener?r.listener:r),s=t._events),u=s[e]):(s=t._events=i(null),t._eventsCount=0),u){if("function"==typeof u?u=s[e]=o?[r,u]:[u,r]:o?u.unshift(r):u.push(r),!u.warned&&(a=h(t))&&a>0&&u.length>a){u.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+u.length+' "'+String(e)+'" listeners added. Use emitter.setMaxListeners() to increase limit.');c.name="MaxListenersExceededWarning",c.emitter=t,c.type=e,c.count=u.length,"object"===("undefined"==typeof console?"undefined":(0,n.default)(console))&&console.warn&&console.warn("%s: %s",c.name,c.message)}}else u=s[e]=r,++t._eventsCount;return t}function d(){if(!this.fired)switch(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length){case 0:return this.listener.call(this.target);case 1:return this.listener.call(this.target,arguments[0]);case 2:return this.listener.call(this.target,arguments[0],arguments[1]);case 3:return this.listener.call(this.target,arguments[0],arguments[1],arguments[2]);default:for(var t=new Array(arguments.length),e=0;e<t.length;++e)t[e]=arguments[e];this.listener.apply(this.target,t)}}function p(t,e,r){var n={fired:!1,wrapFn:void 0,target:t,type:e,listener:r},i=a.call(d,n);return i.listener=r,n.wrapFn=i,i}function m(t,e,r){var n=t._events;if(!n)return[];var i=n[e];return i?"function"==typeof i?r?[i.listener||i]:[i]:r?function(t){for(var e=new Array(t.length),r=0;r<e.length;++r)e[r]=t[r].listener||t[r];return e}(i):y(i,i.length):[]}function g(t){var e=this._events;if(e){var r=e[t];if("function"==typeof r)return 1;if(r)return r.length}return 0}function y(t,e){for(var r=new Array(e),n=0;n<e;++n)r[n]=t[n];return r}u?Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return c},set:function(t){if("number"!=typeof t||t<0||t!=t)throw new TypeError('"defaultMaxListeners" must be a positive number');c=t}}):s.defaultMaxListeners=c,s.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||isNaN(t))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=t,this},s.prototype.getMaxListeners=function(){return h(this)},s.prototype.emit=function(t){var e,r,n,i,o,a,s="error"===t;if(a=this._events)s=s&&null==a.error;else if(!s)return!1;if(s){if(arguments.length>1&&(e=arguments[1]),e instanceof Error)throw e;var u=new Error('Unhandled "error" event. ('+e+")");throw u.context=e,u}if(!(r=a[t]))return!1;var c="function"==typeof r;switch(n=arguments.length){case 1:!function(t,e,r){if(e)t.call(r);else for(var n=t.length,i=y(t,n),o=0;o<n;++o)i[o].call(r)}(r,c,this);break;case 2:!function(t,e,r,n){if(e)t.call(r,n);else for(var i=t.length,o=y(t,i),a=0;a<i;++a)o[a].call(r,n)}(r,c,this,arguments[1]);break;case 3:!function(t,e,r,n,i){if(e)t.call(r,n,i);else for(var o=t.length,a=y(t,o),s=0;s<o;++s)a[s].call(r,n,i)}(r,c,this,arguments[1],arguments[2]);break;case 4:!function(t,e,r,n,i,o){if(e)t.call(r,n,i,o);else for(var a=t.length,s=y(t,a),u=0;u<a;++u)s[u].call(r,n,i,o)}(r,c,this,arguments[1],arguments[2],arguments[3]);break;default:for(i=new Array(n-1),o=1;o<n;o++)i[o-1]=arguments[o];!function(t,e,r,n){if(e)t.apply(r,n);else for(var i=t.length,o=y(t,i),a=0;a<i;++a)o[a].apply(r,n)}(r,c,this,i)}return!0},s.prototype.addListener=function(t,e){return f(this,t,e,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(t,e){return f(this,t,e,!0)},s.prototype.once=function(t,e){if("function"!=typeof e)throw new TypeError('"listener" argument must be a function');return this.on(t,p(this,t,e)),this},s.prototype.prependOnceListener=function(t,e){if("function"!=typeof e)throw new TypeError('"listener" argument must be a function');return this.prependListener(t,p(this,t,e)),this},s.prototype.removeListener=function(t,e){var r,n,o,a,s;if("function"!=typeof e)throw new TypeError('"listener" argument must be a function');if(!(n=this._events))return this;if(!(r=n[t]))return this;if(r===e||r.listener===e)0==--this._eventsCount?this._events=i(null):(delete n[t],n.removeListener&&this.emit("removeListener",t,r.listener||e));else if("function"!=typeof r){for(o=-1,a=r.length-1;a>=0;a--)if(r[a]===e||r[a].listener===e){s=r[a].listener,o=a;break}if(o<0)return this;0===o?r.shift():function(t,e){for(var r=e,n=r+1,i=t.length;n<i;r+=1,n+=1)t[r]=t[n];t.pop()}(r,o),1===r.length&&(n[t]=r[0]),n.removeListener&&this.emit("removeListener",t,s||e)}return this},s.prototype.removeAllListeners=function(t){var e,r,n;if(!(r=this._events))return this;if(!r.removeListener)return 0===arguments.length?(this._events=i(null),this._eventsCount=0):r[t]&&(0==--this._eventsCount?this._events=i(null):delete r[t]),this;if(0===arguments.length){var a,s=o(r);for(n=0;n<s.length;++n)"removeListener"!==(a=s[n])&&this.removeAllListeners(a);return this.removeAllListeners("removeListener"),this._events=i(null),this._eventsCount=0,this}if("function"==typeof(e=r[t]))this.removeListener(t,e);else if(e)for(n=e.length-1;n>=0;n--)this.removeListener(t,e[n]);return this},s.prototype.listeners=function(t){return m(this,t,!0)},s.prototype.rawListeners=function(t){return m(this,t,!1)},s.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):g.call(t,e)},s.prototype.listenerCount=g,s.prototype.eventNames=function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]}},27085:(t,e,r)=>{"use strict";var n=r(48850).Buffer,i=r(50807);t.exports=function(t,e,r,o){if(n.isBuffer(t)||(t=n.from(t,"binary")),e&&(n.isBuffer(e)||(e=n.from(e,"binary")),8!==e.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var a=r/8,s=n.alloc(a),u=n.alloc(o||0),c=n.alloc(0);a>0||o>0;){var l=new i;l.update(c),l.update(t),e&&l.update(e),c=l.digest();var h=0;if(a>0){var f=s.length-a;h=Math.min(a,c.length),c.copy(s,f,0,h),a-=h}if(h<c.length&&o>0){var d=u.length-o,p=Math.min(o,c.length-h);c.copy(u,d,h,h+p),o-=p}}return c.fill(0),{key:s,iv:u}}},48184:(t,e,r)=>{"use strict";var n=r(41493),i=Object.prototype.toString,o=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){if(!n(e))throw new TypeError("iterator must be a function");var a;arguments.length>=3&&(a=r),"[object Array]"===i.call(t)?function(t,e,r){for(var n=0,i=t.length;n<i;n++)o.call(t,n)&&(null==r?e(t[n],n,t):e.call(r,t[n],n,t))}(t,e,a):"string"==typeof t?function(t,e,r){for(var n=0,i=t.length;n<i;n++)null==r?e(t.charAt(n),n,t):e.call(r,t.charAt(n),n,t)}(t,e,a):function(t,e,r){for(var n in t)o.call(t,n)&&(null==r?e(t[n],n,t):e.call(r,t[n],n,t))}(t,e,a)}},83161:t=>{"use strict";var e=Object.prototype.toString,r=Math.max,n=function(t,e){for(var r=[],n=0;n<t.length;n+=1)r[n]=t[n];for(var i=0;i<e.length;i+=1)r[i+t.length]=e[i];return r};t.exports=function(t){var i=this;if("function"!=typeof i||"[object Function]"!==e.apply(i))throw new TypeError("Function.prototype.bind called on incompatible "+i);for(var o,a=function(t,e){for(var r=[],n=1,i=0;n<t.length;n+=1,i+=1)r[i]=t[n];return r}(arguments),s=r(0,i.length-a.length),u=[],c=0;c<s;c++)u[c]="$"+c;if(o=Function("binder","return function ("+function(t,e){for(var r="",n=0;n<t.length;n+=1)r+=t[n],n+1<t.length&&(r+=",");return r}(u)+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof o){var e=i.apply(this,n(a,arguments));return Object(e)===e?e:this}return i.apply(t,n(a,arguments))})),i.prototype){var l=function(){};l.prototype=i.prototype,o.prototype=new l,l.prototype=null}return o}},3767:(t,e,r)=>{"use strict";var n=r(83161);t.exports=Function.prototype.bind||n},57701:(t,e,r)=>{"use strict";var n,i=r(28847)(r(3355)),o=SyntaxError,a=Function,s=TypeError,u=function(t){try{return a('"use strict"; return ('+t+").constructor;")()}catch(t){}},c=Object.getOwnPropertyDescriptor;if(c)try{c({},"")}catch(t){c=null}var l=function(){throw new s},h=c?function(){try{return l}catch(t){try{return c(arguments,"callee").get}catch(t){return l}}}():l,f=r(58489)(),d=r(61593)(),p=Object.getPrototypeOf||(d?function(t){return t.__proto__}:null),m={},g="undefined"!=typeof Uint8Array&&p?p(Uint8Array):n,y={"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":f&&p?p([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":m,"%AsyncGenerator%":m,"%AsyncGeneratorFunction%":m,"%AsyncIteratorPrototype%":m,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":a,"%GeneratorFunction%":m,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f&&p?p(p([][Symbol.iterator]())):n,"%JSON%":"object"===("undefined"==typeof JSON?"undefined":(0,i.default)(JSON))?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&f&&p?p((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&f&&p?p((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f&&p?p(""[Symbol.iterator]()):n,"%Symbol%":f?Symbol:n,"%SyntaxError%":o,"%ThrowTypeError%":h,"%TypedArray%":g,"%TypeError%":s,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet};if(p)try{null.error}catch(t){var v=p(p(t));y["%Error.prototype%"]=v}var b=function t(e){var r;if("%AsyncFunction%"===e)r=u("async function () {}");else if("%GeneratorFunction%"===e)r=u("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=u("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var i=t("%AsyncGenerator%");i&&p&&(r=p(i.prototype))}return y[e]=r,r},_={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},w=r(3767),x=r(2383),k=w.call(Function.call,Array.prototype.concat),S=w.call(Function.apply,Array.prototype.splice),E=w.call(Function.call,String.prototype.replace),M=w.call(Function.call,String.prototype.slice),A=w.call(Function.call,RegExp.prototype.exec),T=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,C=/\\(\\)?/g,L=function(t,e){var r,n=t;if(x(_,n)&&(n="%"+(r=_[n])[0]+"%"),x(y,n)){var i=y[n];if(i===m&&(i=b(n)),void 0===i&&!e)throw new s("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new o("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new s('"allowMissing" argument must be a boolean');if(null===A(/^%?[^%]*%?$/,t))throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(t){var e=M(t,0,1),r=M(t,-1);if("%"===e&&"%"!==r)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new o("invalid intrinsic syntax, expected opening `%`");var n=[];return E(t,T,(function(t,e,r,i){n[n.length]=r?E(i,C,"$1"):e||t})),n}(t),n=r.length>0?r[0]:"",i=L("%"+n+"%",e),a=i.name,u=i.value,l=!1,h=i.alias;h&&(n=h[0],S(r,k([0,1],h)));for(var f=1,d=!0;f<r.length;f+=1){var p=r[f],m=M(p,0,1),g=M(p,-1);if(('"'===m||"'"===m||"`"===m||'"'===g||"'"===g||"`"===g)&&m!==g)throw new o("property names with quotes must have matching quotes");if("constructor"!==p&&d||(l=!0),x(y,a="%"+(n+="."+p)+"%"))u=y[a];else if(null!=u){if(!(p in u)){if(!e)throw new s("base intrinsic for "+t+" exists, but the property is not available.");return}if(c&&f+1>=r.length){var v=c(u,p);u=(d=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:u[p]}else d=x(u,p),u=u[p];d&&!l&&(y[a]=u)}}return u}},92948:(t,e,r)=>{"use strict";var n;n="undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:{},t.exports=n},53820:(t,e,r)=>{"use strict";var n=r(57701)("%Object.getOwnPropertyDescriptor%",!0);if(n)try{n([],"length")}catch(t){n=null}t.exports=n},1020:(t,e,r)=>{"use strict";var n=r(57701)("%Object.defineProperty%",!0),i=function(){if(n)try{return n({},"a",{value:1}),!0}catch(t){return!1}return!1};i.hasArrayLengthDefineBug=function(){if(!i())return null;try{return 1!==n([],"length",{value:1}).length}catch(t){return!0}},t.exports=i},61593:t=>{"use strict";var e={foo:{}},r=Object;t.exports=function(){return{__proto__:e}.foo===e.foo&&!({__proto__:null}instanceof r)}},58489:(t,e,r)=>{"use strict";var n=r(28847)(r(3355)),i="undefined"!=typeof Symbol&&Symbol,o=r(47027);t.exports=function(){return"function"==typeof i&&"function"==typeof Symbol&&"symbol"===(0,n.default)(i("foo"))&&"symbol"===(0,n.default)(Symbol("bar"))&&o()}},47027:(t,e,r)=>{"use strict";var n=r(28847)(r(3355));t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===(0,n.default)(Symbol.iterator))return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var i=Object.getOwnPropertySymbols(t);if(1!==i.length||i[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(t,e);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},11191:(t,e,r)=>{"use strict";var n=r(47027);t.exports=function(){return n()&&!!Symbol.toStringTag}},22353:(t,e,r)=>{"use strict";var n=r(48850).Buffer,i=r(86505).Transform;function o(t){i.call(this),this._block=n.allocUnsafe(t),this._blockSize=t,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}r(41736)(o,i),o.prototype._transform=function(t,e,r){var n=null;try{this.update(t,e)}catch(t){n=t}r(n)},o.prototype._flush=function(t){var e=null;try{this.push(this.digest())}catch(t){e=t}t(e)},o.prototype.update=function(t,e){if(function(t,e){if(!n.isBuffer(t)&&"string"!=typeof t)throw new TypeError("Data must be a string or a buffer")}(t),this._finalized)throw new Error("Digest already called");n.isBuffer(t)||(t=n.from(t,e));for(var r=this._block,i=0;this._blockOffset+t.length-i>=this._blockSize;){for(var o=this._blockOffset;o<this._blockSize;)r[o++]=t[i++];this._update(),this._blockOffset=0}for(;i<t.length;)r[this._blockOffset++]=t[i++];for(var a=0,s=8*t.length;s>0;++a)this._length[a]+=s,(s=this._length[a]/4294967296|0)>0&&(this._length[a]-=4294967296*s);return this},o.prototype._update=function(){throw new Error("_update is not implemented")},o.prototype.digest=function(t){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var e=this._digest();void 0!==t&&(e=e.toString(t)),this._block.fill(0),this._blockOffset=0;for(var r=0;r<4;++r)this._length[r]=0;return e},o.prototype._digest=function(){throw new Error("_digest is not implemented")},t.exports=o},37198:(t,e,r)=>{"use strict";var n=e;n.utils=r(84268),n.common=r(64696),n.sha=r(39310),n.ripemd=r(69294),n.hmac=r(53201),n.sha1=n.sha.sha1,n.sha256=n.sha.sha256,n.sha224=n.sha.sha224,n.sha384=n.sha.sha384,n.sha512=n.sha.sha512,n.ripemd160=n.ripemd.ripemd160},64696:(t,e,r)=>{"use strict";var n=r(84268),i=r(94504);function o(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}e.BlockHash=o,o.prototype.update=function(t,e){if(t=n.toArray(t,e),this.pending?this.pending=this.pending.concat(t):this.pending=t,this.pendingTotal+=t.length,this.pending.length>=this._delta8){var r=(t=this.pending).length%this._delta8;this.pending=t.slice(t.length-r,t.length),0===this.pending.length&&(this.pending=null),t=n.join32(t,0,t.length-r,this.endian);for(var i=0;i<t.length;i+=this._delta32)this._update(t,i,i+this._delta32)}return this},o.prototype.digest=function(t){return this.update(this._pad()),i(null===this.pending),this._digest(t)},o.prototype._pad=function(){var t=this.pendingTotal,e=this._delta8,r=e-(t+this.padLength)%e,n=new Array(r+this.padLength);n[0]=128;for(var i=1;i<r;i++)n[i]=0;if(t<<=3,"big"===this.endian){for(var o=8;o<this.padLength;o++)n[i++]=0;n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=t>>>24&255,n[i++]=t>>>16&255,n[i++]=t>>>8&255,n[i++]=255&t}else for(n[i++]=255&t,n[i++]=t>>>8&255,n[i++]=t>>>16&255,n[i++]=t>>>24&255,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,o=8;o<this.padLength;o++)n[i++]=0;return n}},53201:(t,e,r)=>{"use strict";var n=r(84268),i=r(94504);function o(t,e,r){if(!(this instanceof o))return new o(t,e,r);this.Hash=t,this.blockSize=t.blockSize/8,this.outSize=t.outSize/8,this.inner=null,this.outer=null,this._init(n.toArray(e,r))}t.exports=o,o.prototype._init=function(t){t.length>this.blockSize&&(t=(new this.Hash).update(t).digest()),i(t.length<=this.blockSize);for(var e=t.length;e<this.blockSize;e++)t.push(0);for(e=0;e<t.length;e++)t[e]^=54;for(this.inner=(new this.Hash).update(t),e=0;e<t.length;e++)t[e]^=106;this.outer=(new this.Hash).update(t)},o.prototype.update=function(t,e){return this.inner.update(t,e),this},o.prototype.digest=function(t){return this.outer.update(this.inner.digest()),this.outer.digest(t)}},69294:(t,e,r)=>{"use strict";var n=r(84268),i=r(64696),o=n.rotl32,a=n.sum32,s=n.sum32_3,u=n.sum32_4,c=i.BlockHash;function l(){if(!(this instanceof l))return new l;c.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function h(t,e,r,n){return t<=15?e^r^n:t<=31?e&r|~e&n:t<=47?(e|~r)^n:t<=63?e&n|r&~n:e^(r|~n)}function f(t){return t<=15?0:t<=31?1518500249:t<=47?1859775393:t<=63?2400959708:2840853838}function d(t){return t<=15?1352829926:t<=31?1548603684:t<=47?1836072691:t<=63?2053994217:0}n.inherits(l,c),e.ripemd160=l,l.blockSize=512,l.outSize=160,l.hmacStrength=192,l.padLength=64,l.prototype._update=function(t,e){for(var r=this.h[0],n=this.h[1],i=this.h[2],c=this.h[3],l=this.h[4],v=r,b=n,_=i,w=c,x=l,k=0;k<80;k++){var S=a(o(u(r,h(k,n,i,c),t[p[k]+e],f(k)),g[k]),l);r=l,l=c,c=o(i,10),i=n,n=S,S=a(o(u(v,h(79-k,b,_,w),t[m[k]+e],d(k)),y[k]),x),v=x,x=w,w=o(_,10),_=b,b=S}S=s(this.h[1],i,w),this.h[1]=s(this.h[2],c,x),this.h[2]=s(this.h[3],l,v),this.h[3]=s(this.h[4],r,b),this.h[4]=s(this.h[0],n,_),this.h[0]=S},l.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h,"little"):n.split32(this.h,"little")};var p=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],m=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],g=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],y=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},39310:(t,e,r)=>{"use strict";e.sha1=r(38142),e.sha224=r(14909),e.sha256=r(87682),e.sha384=r(74532),e.sha512=r(36515)},38142:(t,e,r)=>{"use strict";var n=r(84268),i=r(64696),o=r(90070),a=n.rotl32,s=n.sum32,u=n.sum32_5,c=o.ft_1,l=i.BlockHash,h=[1518500249,1859775393,2400959708,3395469782];function f(){if(!(this instanceof f))return new f;l.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}n.inherits(f,l),t.exports=f,f.blockSize=512,f.outSize=160,f.hmacStrength=80,f.padLength=64,f.prototype._update=function(t,e){for(var r=this.W,n=0;n<16;n++)r[n]=t[e+n];for(;n<r.length;n++)r[n]=a(r[n-3]^r[n-8]^r[n-14]^r[n-16],1);var i=this.h[0],o=this.h[1],l=this.h[2],f=this.h[3],d=this.h[4];for(n=0;n<r.length;n++){var p=~~(n/20),m=u(a(i,5),c(p,o,l,f),d,r[n],h[p]);d=f,f=l,l=a(o,30),o=i,i=m}this.h[0]=s(this.h[0],i),this.h[1]=s(this.h[1],o),this.h[2]=s(this.h[2],l),this.h[3]=s(this.h[3],f),this.h[4]=s(this.h[4],d)},f.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},14909:(t,e,r)=>{"use strict";var n=r(84268),i=r(87682);function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}n.inherits(o,i),t.exports=o,o.blockSize=512,o.outSize=224,o.hmacStrength=192,o.padLength=64,o.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h.slice(0,7),"big"):n.split32(this.h.slice(0,7),"big")}},87682:(t,e,r)=>{"use strict";var n=r(84268),i=r(64696),o=r(90070),a=r(94504),s=n.sum32,u=n.sum32_4,c=n.sum32_5,l=o.ch32,h=o.maj32,f=o.s0_256,d=o.s1_256,p=o.g0_256,m=o.g1_256,g=i.BlockHash,y=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function v(){if(!(this instanceof v))return new v;g.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=y,this.W=new Array(64)}n.inherits(v,g),t.exports=v,v.blockSize=512,v.outSize=256,v.hmacStrength=192,v.padLength=64,v.prototype._update=function(t,e){for(var r=this.W,n=0;n<16;n++)r[n]=t[e+n];for(;n<r.length;n++)r[n]=u(m(r[n-2]),r[n-7],p(r[n-15]),r[n-16]);var i=this.h[0],o=this.h[1],g=this.h[2],y=this.h[3],v=this.h[4],b=this.h[5],_=this.h[6],w=this.h[7];for(a(this.k.length===r.length),n=0;n<r.length;n++){var x=c(w,d(v),l(v,b,_),this.k[n],r[n]),k=s(f(i),h(i,o,g));w=_,_=b,b=v,v=s(y,x),y=g,g=o,o=i,i=s(x,k)}this.h[0]=s(this.h[0],i),this.h[1]=s(this.h[1],o),this.h[2]=s(this.h[2],g),this.h[3]=s(this.h[3],y),this.h[4]=s(this.h[4],v),this.h[5]=s(this.h[5],b),this.h[6]=s(this.h[6],_),this.h[7]=s(this.h[7],w)},v.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},74532:(t,e,r)=>{"use strict";var n=r(84268),i=r(36515);function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}n.inherits(o,i),t.exports=o,o.blockSize=1024,o.outSize=384,o.hmacStrength=192,o.padLength=128,o.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h.slice(0,12),"big"):n.split32(this.h.slice(0,12),"big")}},36515:(t,e,r)=>{"use strict";var n=r(84268),i=r(64696),o=r(94504),a=n.rotr64_hi,s=n.rotr64_lo,u=n.shr64_hi,c=n.shr64_lo,l=n.sum64,h=n.sum64_hi,f=n.sum64_lo,d=n.sum64_4_hi,p=n.sum64_4_lo,m=n.sum64_5_hi,g=n.sum64_5_lo,y=i.BlockHash,v=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function b(){if(!(this instanceof b))return new b;y.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=v,this.W=new Array(160)}function _(t,e,r,n,i){var o=t&r^~t&i;return o<0&&(o+=4294967296),o}function w(t,e,r,n,i,o){var a=e&n^~e&o;return a<0&&(a+=4294967296),a}function x(t,e,r,n,i){var o=t&r^t&i^r&i;return o<0&&(o+=4294967296),o}function k(t,e,r,n,i,o){var a=e&n^e&o^n&o;return a<0&&(a+=4294967296),a}function S(t,e){var r=a(t,e,28)^a(e,t,2)^a(e,t,7);return r<0&&(r+=4294967296),r}function E(t,e){var r=s(t,e,28)^s(e,t,2)^s(e,t,7);return r<0&&(r+=4294967296),r}function M(t,e){var r=s(t,e,14)^s(t,e,18)^s(e,t,9);return r<0&&(r+=4294967296),r}function A(t,e){var r=a(t,e,1)^a(t,e,8)^u(t,e,7);return r<0&&(r+=4294967296),r}function T(t,e){var r=s(t,e,1)^s(t,e,8)^c(t,e,7);return r<0&&(r+=4294967296),r}function C(t,e){var r=s(t,e,19)^s(e,t,29)^c(t,e,6);return r<0&&(r+=4294967296),r}n.inherits(b,y),t.exports=b,b.blockSize=1024,b.outSize=512,b.hmacStrength=192,b.padLength=128,b.prototype._prepareBlock=function(t,e){for(var r=this.W,n=0;n<32;n++)r[n]=t[e+n];for(;n<r.length;n+=2){var i=(g=r[n-4],y=r[n-3],v=void 0,(v=a(g,y,19)^a(y,g,29)^u(g,y,6))<0&&(v+=4294967296),v),o=C(r[n-4],r[n-3]),s=r[n-14],c=r[n-13],l=A(r[n-30],r[n-29]),h=T(r[n-30],r[n-29]),f=r[n-32],m=r[n-31];r[n]=d(i,o,s,c,l,h,f,m),r[n+1]=p(i,o,s,c,l,h,f,m)}var g,y,v},b.prototype._update=function(t,e){this._prepareBlock(t,e);var r,n,i,s=this.W,u=this.h[0],c=this.h[1],d=this.h[2],p=this.h[3],y=this.h[4],v=this.h[5],b=this.h[6],A=this.h[7],T=this.h[8],C=this.h[9],L=this.h[10],P=this.h[11],O=this.h[12],I=this.h[13],D=this.h[14],B=this.h[15];o(this.k.length===s.length);for(var j=0;j<s.length;j+=2){var N=D,R=B,F=(i=void 0,(i=a(r=T,n=C,14)^a(r,n,18)^a(n,r,9))<0&&(i+=4294967296),i),Y=M(T,C),U=_(T,0,L,0,O),H=w(0,C,0,P,0,I),z=this.k[j],V=this.k[j+1],$=s[j],q=s[j+1],G=m(N,R,F,Y,U,H,z,V,$,q),W=g(N,R,F,Y,U,H,z,V,$,q);N=S(u,c),R=E(u,c),F=x(u,0,d,0,y),Y=k(0,c,0,p,0,v);var K=h(N,R,F,Y),X=f(N,R,F,Y);D=O,B=I,O=L,I=P,L=T,P=C,T=h(b,A,G,W),C=f(A,A,G,W),b=y,A=v,y=d,v=p,d=u,p=c,u=h(G,W,K,X),c=f(G,W,K,X)}l(this.h,0,u,c),l(this.h,2,d,p),l(this.h,4,y,v),l(this.h,6,b,A),l(this.h,8,T,C),l(this.h,10,L,P),l(this.h,12,O,I),l(this.h,14,D,B)},b.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},90070:(t,e,r)=>{"use strict";var n=r(84268).rotr32;function i(t,e,r){return t&e^~t&r}function o(t,e,r){return t&e^t&r^e&r}function a(t,e,r){return t^e^r}e.ft_1=function(t,e,r,n){return 0===t?i(e,r,n):1===t||3===t?a(e,r,n):2===t?o(e,r,n):void 0},e.ch32=i,e.maj32=o,e.p32=a,e.s0_256=function(t){return n(t,2)^n(t,13)^n(t,22)},e.s1_256=function(t){return n(t,6)^n(t,11)^n(t,25)},e.g0_256=function(t){return n(t,7)^n(t,18)^t>>>3},e.g1_256=function(t){return n(t,17)^n(t,19)^t>>>10}},84268:(t,e,r)=>{"use strict";var n=r(94504),i=r(41736);function o(t,e){return 55296==(64512&t.charCodeAt(e))&&!(e<0||e+1>=t.length)&&56320==(64512&t.charCodeAt(e+1))}function a(t){return(t>>>24|t>>>8&65280|t<<8&16711680|(255&t)<<24)>>>0}function s(t){return 1===t.length?"0"+t:t}function u(t){return 7===t.length?"0"+t:6===t.length?"00"+t:5===t.length?"000"+t:4===t.length?"0000"+t:3===t.length?"00000"+t:2===t.length?"000000"+t:1===t.length?"0000000"+t:t}e.inherits=i,e.toArray=function(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var r=[];if("string"==typeof t)if(e){if("hex"===e)for((t=t.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(t="0"+t),i=0;i<t.length;i+=2)r.push(parseInt(t[i]+t[i+1],16))}else for(var n=0,i=0;i<t.length;i++){var a=t.charCodeAt(i);a<128?r[n++]=a:a<2048?(r[n++]=a>>6|192,r[n++]=63&a|128):o(t,i)?(a=65536+((1023&a)<<10)+(1023&t.charCodeAt(++i)),r[n++]=a>>18|240,r[n++]=a>>12&63|128,r[n++]=a>>6&63|128,r[n++]=63&a|128):(r[n++]=a>>12|224,r[n++]=a>>6&63|128,r[n++]=63&a|128)}else for(i=0;i<t.length;i++)r[i]=0|t[i];return r},e.toHex=function(t){for(var e="",r=0;r<t.length;r++)e+=s(t[r].toString(16));return e},e.htonl=a,e.toHex32=function(t,e){for(var r="",n=0;n<t.length;n++){var i=t[n];"little"===e&&(i=a(i)),r+=u(i.toString(16))}return r},e.zero2=s,e.zero8=u,e.join32=function(t,e,r,i){var o=r-e;n(o%4==0);for(var a=new Array(o/4),s=0,u=e;s<a.length;s++,u+=4){var c;c="big"===i?t[u]<<24|t[u+1]<<16|t[u+2]<<8|t[u+3]:t[u+3]<<24|t[u+2]<<16|t[u+1]<<8|t[u],a[s]=c>>>0}return a},e.split32=function(t,e){for(var r=new Array(4*t.length),n=0,i=0;n<t.length;n++,i+=4){var o=t[n];"big"===e?(r[i]=o>>>24,r[i+1]=o>>>16&255,r[i+2]=o>>>8&255,r[i+3]=255&o):(r[i+3]=o>>>24,r[i+2]=o>>>16&255,r[i+1]=o>>>8&255,r[i]=255&o)}return r},e.rotr32=function(t,e){return t>>>e|t<<32-e},e.rotl32=function(t,e){return t<<e|t>>>32-e},e.sum32=function(t,e){return t+e>>>0},e.sum32_3=function(t,e,r){return t+e+r>>>0},e.sum32_4=function(t,e,r,n){return t+e+r+n>>>0},e.sum32_5=function(t,e,r,n,i){return t+e+r+n+i>>>0},e.sum64=function(t,e,r,n){var i=t[e],o=n+t[e+1]>>>0,a=(o<n?1:0)+r+i;t[e]=a>>>0,t[e+1]=o},e.sum64_hi=function(t,e,r,n){return(e+n>>>0<e?1:0)+t+r>>>0},e.sum64_lo=function(t,e,r,n){return e+n>>>0},e.sum64_4_hi=function(t,e,r,n,i,o,a,s){var u=0,c=e;return u+=(c=c+n>>>0)<e?1:0,u+=(c=c+o>>>0)<o?1:0,t+r+i+a+(u+=(c=c+s>>>0)<s?1:0)>>>0},e.sum64_4_lo=function(t,e,r,n,i,o,a,s){return e+n+o+s>>>0},e.sum64_5_hi=function(t,e,r,n,i,o,a,s,u,c){var l=0,h=e;return l+=(h=h+n>>>0)<e?1:0,l+=(h=h+o>>>0)<o?1:0,l+=(h=h+s>>>0)<s?1:0,t+r+i+a+u+(l+=(h=h+c>>>0)<c?1:0)>>>0},e.sum64_5_lo=function(t,e,r,n,i,o,a,s,u,c){return e+n+o+s+c>>>0},e.rotr64_hi=function(t,e,r){return(e<<32-r|t>>>r)>>>0},e.rotr64_lo=function(t,e,r){return(t<<32-r|e>>>r)>>>0},e.shr64_hi=function(t,e,r){return t>>>r},e.shr64_lo=function(t,e,r){return(t<<32-r|e>>>r)>>>0}},2383:(t,e,r)=>{"use strict";var n=Function.prototype.call,i=Object.prototype.hasOwnProperty,o=r(3767);t.exports=o.call(n,i)},29410:(t,e,r)=>{"use strict";var n=r(37198),i=r(96580),o=r(94504);function a(t){if(!(this instanceof a))return new a(t);this.hash=t.hash,this.predResist=!!t.predResist,this.outLen=this.hash.outSize,this.minEntropy=t.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var e=i.toArray(t.entropy,t.entropyEnc||"hex"),r=i.toArray(t.nonce,t.nonceEnc||"hex"),n=i.toArray(t.pers,t.persEnc||"hex");o(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(e,r,n)}t.exports=a,a.prototype._init=function(t,e,r){var n=t.concat(e).concat(r);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i<this.V.length;i++)this.K[i]=0,this.V[i]=1;this._update(n),this._reseed=1,this.reseedInterval=281474976710656},a.prototype._hmac=function(){return new n.hmac(this.hash,this.K)},a.prototype._update=function(t){var e=this._hmac().update(this.V).update([0]);t&&(e=e.update(t)),this.K=e.digest(),this.V=this._hmac().update(this.V).digest(),t&&(this.K=this._hmac().update(this.V).update([1]).update(t).digest(),this.V=this._hmac().update(this.V).digest())},a.prototype.reseed=function(t,e,r,n){"string"!=typeof e&&(n=r,r=e,e=null),t=i.toArray(t,e),r=i.toArray(r,n),o(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(t.concat(r||[])),this._reseed=1},a.prototype.generate=function(t,e,r,n){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof e&&(n=r,r=e,e=null),r&&(r=i.toArray(r,n||"hex"),this._update(r));for(var o=[];o.length<t;)this.V=this._hmac().update(this.V).digest(),o=o.concat(this.V);var a=o.slice(0,t);return this._update(r),this._reseed++,i.encode(a,e)}},90912:(t,e,r)=>{"use strict";var n=r(29519),i=r(51143),o=t.exports;for(var a in n)n.hasOwnProperty(a)&&(o[a]=n[a]);function s(t){if("string"==typeof t&&(t=i.parse(t)),t.protocol||(t.protocol="https:"),"https:"!==t.protocol)throw new Error('Protocol "'+t.protocol+'" not supported. Expected "https:"');return t}o.request=function(t,e){return t=s(t),n.request.call(this,t,e)},o.get=function(t,e){return t=s(t),n.get.call(this,t,e)}},32996:(t,e,r)=>{"use strict";var n;r(28847)(r(3355)),void 0===(n=function(){return t=[new Uint32Array([2157250,2157314,2157378,2157442,2157506,2157570,2157634,0,2157698,2157762,2157826,2157890,2157954,0,2158018,0]),new Uint32Array([2179041,6291456,2179073,6291456,2179105,6291456,2179137,6291456,2179169,6291456,2179201,6291456,2179233,6291456,2179265,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,14680064,14680064,14680064,14680064,14680064]),new Uint32Array([0,2113729,2197345,2197377,2113825,2197409,2197441,2113921,2197473,2114017,2197505,2197537,2197569,2197601,2197633,2197665]),new Uint32Array([6291456,6291456,6291456,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,6291456,23068672,23068672,0,0]),new Uint32Array([6291456,6291456,6291456,6291456,0,0,0,0,23068672,23068672,23068672,0,0,0,0,23068672]),new Uint32Array([14680064,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,14680064,14680064]),new Uint32Array([2196001,2196033,2196065,2196097,2196129,2196161,2196193,2196225,2196257,2196289,2196321,2196353,2196385,2196417,2196449,2196481]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,23068672,6291456,0,0,0,0,0]),new Uint32Array([2097281,2105921,2097729,2106081,0,2097601,2162337,2106017,2133281,2097505,2105889,2097185,2097697,2135777,2097633,2097441]),new Uint32Array([2177025,6291456,2177057,6291456,2177089,6291456,2177121,6291456,2177153,6291456,2177185,6291456,2177217,6291456,2177249,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,0,6291456,6291456,0,0,0,0,0,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,6291456]),new Uint32Array([0,23068672,23068672,23068672,0,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,0,6291456]),new Uint32Array([2134435,2134531,2134627,2134723,2134723,2134819,2134819,2134915,2134915,2135011,2105987,2135107,2135203,2135299,2131587,2135395]),new Uint32Array([0,0,0,0,0,0,0,6291456,2168673,2169249,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2147906,2147970,2148034,2148098,2148162,2148226,2148290,2148354,2147906,2147970,2148034,2148098,2148162,2148226,2148290,2148354]),new Uint32Array([2125219,2125315,2152834,2152898,2125411,2152962,2153026,2125506,2125507,2125603,2153090,2153154,2153218,2153282,2153346,2105348]),new Uint32Array([2203393,6291456,2203425,6291456,2203457,6291456,2203489,6291456,6291456,6291456,6291456,2203521,6291456,2181281,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,23068672,23068672,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([6291456,23068672,6291456,2145538,23068672,23068672,23068672,23068672,23068672,23068672,23068672,0,0,0,0,6291456]),new Uint32Array([2139426,2160834,2160898,2160962,2134242,2161026,2161090,2161154,2161218,2161282,2161346,2161410,2138658,2161474,2161538,2134722]),new Uint32Array([2119939,2124930,2125026,2106658,2125218,2128962,2129058,2129154,2129250,2129346,2129442,2108866,2108770,2150466,2150530,2150594]),new Uint32Array([2201601,6291456,2201633,6291456,2201665,6291456,2201697,6291456,2201729,6291456,2201761,6291456,2201793,6291456,2201825,6291456]),new Uint32Array([2193537,2193569,2193601,2193633,2193665,2193697,2193729,2193761,2193793,2193825,2193857,2193889,2193921,2193953,2193985,2194017]),new Uint32Array([6291456,23068672,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([0,6291456,6291456,0,0,0,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([2190561,6291456,2190593,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2190625,6291456,2190657,6291456,23068672]),new Uint32Array([2215905,2215937,2215969,2216001,2216033,2216065,2216097,2216129,2216161,2216193,2216225,2216257,2105441,2216289,2216321,2216353]),new Uint32Array([23068672,18884130,23068672,23068672,23068672,6291456,23068672,23068672,6291456,6291456,6291456,6291456,6291456,23068672,23068672,23068672]),new Uint32Array([23068672,23068672,0,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([6291456,6291456,23068672,23068672,0,0,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([2191233,2191265,2191297,2191329,2191361,2191393,2191425,2117377,2191457,2191489,2191521,2191553,2191585,2191617,2191649,2117953]),new Uint32Array([2132227,2132323,2132419,2132419,2132515,2132515,2132611,2132707,2132707,2132803,2132899,2132899,2132995,2132995,2133091,2133187]),new Uint32Array([0,0,0,0,0,0,0,0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([23068672,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,23068672,23068672,23068672,6291456,0,0]),new Uint32Array([2112481,2112577,2098177,2098305,2108321,2108289,2100865,2113153,2108481,2113345,2113441,10609889,10610785,10609921,10610817,2222241]),new Uint32Array([6291456,6291456,6291456,23068672,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,23068672,23068672,0,0]),new Uint32Array([2219969,2157121,2157441,2157505,2157889,2157953,2220001,2158465,2158529,10575617,2156994,2157058,2129923,2130019,2157122,2157186]),new Uint32Array([6291456,6291456,6291456,6291456,23068672,23068672,23068672,23068672,23068672,23068672,23068672,0,0,0,0,0]),new Uint32Array([2185249,6291456,2185281,6291456,2185313,6291456,2185345,6291456,2185377,6291456,2185409,6291456,2185441,6291456,2185473,6291456]),new Uint32Array([0,0,0,0,6291456,6291456,6291456,6291456,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([6291456,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,0,0,23068672,23068672,0,0,23068672,23068672,23068672,6291456,0]),new Uint32Array([2183361,6291456,2183393,6291456,2183425,6291456,2183457,6291456,2183489,6291456,2183521,6291456,2183553,6291456,2183585,6291456]),new Uint32Array([2192161,2192193,2192225,2192257,2192289,2192321,2192353,2192385,2192417,2192449,2192481,2192513,2192545,2192577,2192609,2192641]),new Uint32Array([2212001,2212033,2212065,2212097,2212129,2212161,2212193,2212225,2212257,2212289,2212321,2212353,2212385,2212417,2212449,2207265]),new Uint32Array([2249825,2249857,2249889,2249921,2249954,2250018,2250082,2250145,2250177,2250209,2250241,2250274,2250337,2250370,2250433,2250465]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2147905,2147969,2148033,2148097,2148161,2148225,2148289,2148353]),new Uint32Array([10485857,6291456,2197217,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,0,23068672,23068672]),new Uint32Array([0,23068672,23068672,23068672,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,6291456,6291456]),new Uint32Array([2180353,2180385,2144033,2180417,2180449,2180481,2180513,0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2112481,2112577,2098177,2098305,2108321,2108289,2100865,2113153,2108481,2113345,2113441,10610209,10610465,10610241,10610753,10609857]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,23068672,0,0]),new Uint32Array([2223842,2223906,2223970,2224034,2224098,2224162,2224226,2224290,2224354,2224418,2224482,2224546,2224610,2224674,2224738,2224802]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,23068672,23068672,23068672,23068672,6291456,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,6291456]),new Uint32Array([23068672,23068672,23068672,18923650,23068672,23068672,23068672,23068672,0,23068672,23068672,23068672,23068672,18923714,23068672,23068672]),new Uint32Array([2126179,2125538,2126275,2126371,2126467,2125634,2126563,2105603,2105604,2125346,2126659,2126755,2126851,2098179,2098181,2098182]),new Uint32Array([2227426,2227490,2227554,2227618,0,0,0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2192353,2240642,2240642,2240705,2240737,2240737,2240769,2240802,2240866,2240929,2240961,2240993,2241025,2241057,2241089,2241121]),new Uint32Array([6291456,2170881,2170913,2170945,6291456,2170977,6291456,2171009,2171041,6291456,6291456,6291456,2171073,6291456,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([2132226,2132514,2163586,2132610,2160386,2133090,2133186,2160450,2160514,2160578,2133570,2106178,2160642,2133858,2160706,2160770]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,10532162,10532226,10532290,10532354,10532418,10532482,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,6291456,23068672]),new Uint32Array([2098209,2108353,2108193,2108481,2170241,2111713,2105473,2105569,2105601,2112289,2112481,2098305,2108321,0,0,0]),new Uint32Array([2209121,2209153,2209185,2209217,2209249,2209281,2209313,2209345,2209377,2209409,2209441,2209473,2207265,2209505,2209537,2209569]),new Uint32Array([2189025,6291456,2189057,6291456,2189089,6291456,2189121,6291456,2189153,6291456,2189185,6291456,2189217,6291456,2189249,6291456]),new Uint32Array([2173825,2153473,2173857,2173889,2173921,2173953,2173985,2173761,2174017,2174049,2174081,2174113,2174145,2174177,2149057,2233057]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2165764,2140004]),new Uint32Array([2215105,6291456,2215137,6291456,6291456,2215169,2215201,6291456,6291456,6291456,2215233,2215265,2215297,2215329,2215361,2215393]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,0,0,6291456,0,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([23068672,23068672,6291456,6291456,6291456,23068672,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([10505091,10505187,10505283,10505379,10505475,10505571,10505667,10505763,10505859,10505955,10506051,10506147,10506243,10506339,10506435,10506531]),new Uint32Array([2229730,2229794,2229858,2229922,2229986,2230050,2230114,2230178,2230242,2230306,2230370,2230434,2230498,2230562,2230626,2230690]),new Uint32Array([2105505,2098241,2108353,2108417,2105825,0,2100897,2111905,2105473,2105569,2105601,2112289,2108193,2112481,2112577,2098177]),new Uint32Array([6291456,6291456,6291456,6291456,10502115,10502178,10502211,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([0,23068672,23068672,23068672,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,6291456]),new Uint32Array([2190305,6291456,2190337,6291456,2190369,6291456,2190401,6291456,2190433,6291456,2190465,6291456,2190497,6291456,2190529,6291456]),new Uint32Array([2173793,2173985,2174017,6291456,2173761,2173697,6291456,2174689,6291456,2174017,2174721,6291456,6291456,2174753,2174785,2174817]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2099521,2099105,2120705,2098369,2120801,2103361,2097985,2098433,2121377,2121473,2099169,2099873,2098401,2099393,2152609,2100033]),new Uint32Array([2132898,2163842,2163906,2133282,2132034,2131938,2137410,2132802,2132706,2164866,2133282,2160578,2165186,2165186,6291456,6291456]),new Uint32Array([10500003,10500099,10500195,10500291,10500387,10500483,10500579,10500675,10500771,10500867,10500963,10501059,10501155,10501251,10501347,10501443]),new Uint32Array([2163458,2130978,2131074,2131266,2131362,2163522,2160130,2132066,2131010,2131106,2106018,2131618,2131298,2132034,2131938,2137410]),new Uint32Array([2212961,2116993,2212993,2213025,2213057,2213089,2213121,2213153,2213185,2213217,2213249,2209633,2213281,2213313,2213345,2213377]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,23068672,6291456,6291456,6291456,6291456,6291456,6291456,0,6291456,6291456]),new Uint32Array([2113729,2113825,2113921,2114017,2114113,2114209,2114305,2114401,2114497,2114593,2114689,2114785,2114881,2114977,2115073,2115169]),new Uint32Array([2238177,2238209,2238241,2238273,2238305,2238337,2238337,2217537,2238369,2238401,2238433,2238465,2215649,2238497,2238529,2238561]),new Uint32Array([2108289,2100865,2113153,2108481,2113345,2113441,2098209,2111137,2105505,2098241,2108353,2108417,2105825,2111713,2100897,2111905]),new Uint32Array([6291456,6291456,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,6291456,0,0]),new Uint32Array([6291456,0,6291456,2145026,0,6291456,2145090,0,6291456,6291456,0,0,23068672,0,23068672,23068672]),new Uint32Array([2099233,2122017,2200673,2098113,2121537,2103201,2200705,2104033,2121857,2121953,2122401,2099649,2099969,2123009,2100129,2100289]),new Uint32Array([6291456,23068672,6291456,0,0,0,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([6291456,6291456,23068672,23068672,0,0,23068672,23068672,23068672,23068672,23068672,23068672,23068672,0,0,0]),new Uint32Array([2187681,2187713,2187745,2187777,2187809,2187841,2187873,2187905,2187937,2187969,2188001,2188033,2188065,2188097,2188129,2188161]),new Uint32Array([0,10554498,10554562,10554626,10554690,10554754,10554818,10554882,10554946,10555010,10555074,6291456,6291456,0,0,0]),new Uint32Array([2235170,2235234,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,0,0,0,0]),new Uint32Array([2181153,6291456,2188897,6291456,6291456,2188929,6291456,6291456,6291456,6291456,6291456,6291456,2111905,2100865,2188961,2188993]),new Uint32Array([2100833,2100897,0,0,2101569,2101697,2101825,2101953,2102081,2102209,10575617,2187041,10502177,10489601,10489697,2112289]),new Uint32Array([6291456,2172833,6291456,2172865,2172897,2172929,2172961,6291456,2172993,6291456,2173025,6291456,2173057,6291456,2173089,6291456]),new Uint32Array([6291456,0,6291456,6291456,0,6291456,6291456,6291456,6291456,6291456,0,0,23068672,6291456,23068672,23068672]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,0,0,0,0,2190721]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,6291456,6291456,6291456,6291456,23068672,6291456,6291456]),new Uint32Array([2184993,6291456,2185025,6291456,2185057,6291456,2185089,6291456,2185121,6291456,2185153,6291456,2185185,6291456,2185217,6291456]),new Uint32Array([2115265,2115361,2115457,2115553,2115649,2115745,2115841,2115937,2116033,2116129,2116225,2116321,2150658,2150722,2200225,6291456]),new Uint32Array([2168321,6291456,2168353,6291456,2168385,6291456,2168417,6291456,2168449,6291456,2168481,6291456,2168513,6291456,2168545,6291456]),new Uint32Array([23068672,23068672,23068672,6291456,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([6291456,0,6291456,6291456,6291456,6291456,0,0,0,6291456,6291456,0,6291456,0,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,2186625,0,0,6291456,6291456,2186657,2186689,2186721,2173505,0,10496067,10496163,10496259]),new Uint32Array([2178785,6291456,2178817,6291456,2178849,6291456,2178881,6291456,2178913,6291456,2178945,6291456,2178977,6291456,2179009,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,0,0]),new Uint32Array([2097152,0,0,0,2097152,0,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,6291456,6291456]),new Uint32Array([6291456,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([0,0,2197857,2197889,2197921,2197953,2197985,2198017,0,0,2198049,2198081,2198113,2198145,2198177,2198209]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2098209,2167297,2111137,6291456]),new Uint32Array([2171393,6291456,2171425,6291456,2171457,6291456,2171489,6291456,2171521,6291456,2171553,6291456,2171585,6291456,2171617,6291456]),new Uint32Array([2206753,2206785,2195457,2206817,2206849,2206881,2206913,2197153,2197153,2206945,2117857,2206977,2207009,2207041,2207073,2207105]),new Uint32Array([0,0,0,0,0,0,0,23068672,0,0,0,0,2144834,2144898,0,2144962]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,0,0,23068672]),new Uint32Array([2108193,2112481,2112577,2098177,2098305,2108321,2108289,2100865,2113153,2108481,2113345,2113441,2098209,0,2105505,2098241]),new Uint32Array([6291456,6291456,6291456,6291456,0,6291456,6291456,6291456,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([6291456,6291456,2202049,6291456,2202081,6291456,2202113,6291456,2202145,6291456,2202177,6291456,2202209,6291456,2202241,6291456]),new Uint32Array([10501155,10501251,10501347,10501443,10501539,10501635,10501731,10501827,10501923,10502019,2141731,2105505,2098177,2155586,2166530,0]),new Uint32Array([2102081,2102209,2100833,2100737,2098337,2101441,2101569,2101697,2101825,2101953,2102081,2102209,2100833,2100737,2098337,2101441]),new Uint32Array([2146882,2146946,2147010,2147074,2147138,2147202,2147266,2147330,2146882,2146946,2147010,2147074,2147138,2147202,2147266,2147330]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,23068672,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0]),new Uint32Array([10502307,10502403,10502499,10502595,10502691,10502787,10502883,10502979,10503075,10503171,10503267,10503363,10503459,10503555,10503651,10503747]),new Uint32Array([2179937,2179969,2180001,2180033,2156545,2180065,2156577,2180097,2180129,2180161,2180193,2180225,2180257,2180289,2156737,2180321]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,0,6291456,6291456,0,0,0,6291456,0,0,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,0]),new Uint32Array([2227682,2227746,2227810,2227874,2227938,2228002,2228066,2228130,2228194,2228258,2228322,2228386,2228450,2228514,2228578,2228642]),new Uint32Array([2105601,2169121,2108193,2170049,2181025,2181057,2112481,2108321,2108289,2181089,2170497,2100865,2181121,2173601,2173633,2173665]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2180641,6291456,6291456,6291456]),new Uint32Array([0,6291456,6291456,6291456,0,6291456,0,6291456,0,0,6291456,6291456,0,6291456,6291456,6291456]),new Uint32Array([2178273,6291456,2178305,6291456,2178337,6291456,2178369,6291456,2178401,6291456,2178433,6291456,2178465,6291456,2178497,6291456]),new Uint32Array([6291456,6291456,23068672,23068672,23068672,6291456,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,14680064,14680064,14680064,14680064,14680064,14680064]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,6291456]),new Uint32Array([2237377,2237409,2236225,2237441,2237473,2217441,2215521,2215553,2217473,2237505,2237537,2209697,2237569,2215585,2237601,2237633]),new Uint32Array([2221985,2165601,2165601,2165665,2165665,2222017,2222017,2165729,2165729,2158913,2158913,2158913,2158913,2097281,2097281,2105921]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,0,23068672,23068672,23068672,0,23068672,23068672,23068672,23068672,0,0]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2149634,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2176897,6291456,6291456,23068672,23068672,23068672,23068672,23068672,23068672,23068672,2176929,6291456,2176961,6291456,2176993,6291456]),new Uint32Array([2172641,6291456,2172673,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2172705,2172737,6291456,2172769,2172801,6291456]),new Uint32Array([2099173,2104196,2121667,2099395,2121763,2152258,2152322,2098946,2152386,2121859,2121955,2099333,2122051,2104324,2099493,2122147]),new Uint32Array([6291456,6291456,6291456,2145794,6291456,6291456,6291456,6291456,0,6291456,6291456,6291456,6291456,2145858,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,23068672,23068672,23068672,0,0,6291456,0]),new Uint32Array([0,2105921,2097729,0,2097377,0,0,2106017,0,2097505,2105889,2097185,2097697,2135777,2097633,2097441]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([2239074,2239138,2239201,2239233,2239265,2239297,2239329,2239361,0,2239393,2239425,2239425,2239458,2239521,2239553,2209569]),new Uint32Array([14680064,2098209,2111137,2105505,2098241,2108353,2108417,2105825,2111713,2100897,2111905,2105473,2105569,2105601,2112289,2108193]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,23068672,23068672,23068672,23068672,23068672,23068672,23068672,0,6291456,23068672]),new Uint32Array([2108321,2108289,2113153,2098209,2180897,2180929,2180961,2111137,2098241,2108353,2170241,2170273,2180993,2105825,6291456,2105473]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2146114,6291456,6291456,6291456,0,0,0]),new Uint32Array([2105921,2105921,2105921,2222049,2222049,2130977,2130977,2130977,2130977,2160065,2160065,2160065,2160065,2097729,2097729,2097729]),new Uint32Array([2218145,2214785,2207937,2218177,2218209,2192993,2210113,2212769,2218241,2218273,2216129,2218305,2216161,2218337,2218369,2218401]),new Uint32Array([0,0,0,2156546,2156610,2156674,2156738,2156802,0,0,0,0,0,2156866,23068672,2156930]),new Uint32Array([23068672,23068672,23068672,0,0,0,0,23068672,23068672,0,0,23068672,23068672,23068672,0,0]),new Uint32Array([2213409,2213441,2213473,2213505,2213537,2213569,2213601,2213633,2213665,2195681,2213697,2213729,2213761,2213793,2213825,2213857]),new Uint32Array([2100033,2099233,2122017,2200673,2098113,2121537,2103201,2200705,2104033,2121857,2121953,2122401,2099649,2099969,2123009,2100129]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,0,0,0,0,0,0]),new Uint32Array([2201857,6291456,2201889,6291456,2201921,6291456,2201953,6291456,2201985,6291456,2202017,6291456,2176193,2176257,23068672,23068672]),new Uint32Array([6291456,6291456,23068672,23068672,0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2188193,2188225,2188257,2188289,2188321,2188353,2188385,2188417,2188449,2188481,2188513,2188545,2188577,2188609,2188641,0]),new Uint32Array([10554529,2221089,0,10502113,10562017,10537921,10538049,2221121,2221153,0,0,0,0,0,0,0]),new Uint32Array([2213889,2213921,2213953,2213985,2214017,2214049,2214081,2194177,2214113,2214145,2214177,2214209,2214241,2214273,2214305,2214337]),new Uint32Array([2166978,2167042,2099169,0,0,0,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2180545,6291456,6291456,6291456]),new Uint32Array([10518915,10519011,10519107,10519203,2162242,2162306,2159554,2162370,2159362,2159618,2105922,2162434,2159746,2162498,2159810,2159874]),new Uint32Array([2161730,2161794,2135586,2161858,2161922,2137186,2131810,2160290,2135170,2161986,2137954,2162050,2162114,2162178,10518723,10518819]),new Uint32Array([10506627,10506723,10506819,10506915,10507011,10507107,10507203,10507299,10507395,10507491,10507587,10507683,10507779,10507875,10507971,10508067]),new Uint32Array([6291456,23068672,23068672,23068672,0,23068672,23068672,0,0,0,0,0,23068672,23068672,23068672,23068672]),new Uint32Array([23068672,23068672,23068672,23068672,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,0,0]),new Uint32Array([2175873,2175905,2175937,2175969,2176001,2176033,2176065,2176097,2176129,2176161,2176193,2176225,2176257,2176289,2176321,2176353]),new Uint32Array([2140006,2140198,2140390,2140582,2140774,23068672,23068672,23068672,23068672,23068672,6291456,6291456,6291456,23068672,23068672,23068672]),new Uint32Array([2108193,2112481,2112577,2098177,2098305,2108321,2108289,2100865,2113153,2108481,2113345,2113441,2098209,2111137,2105505,2098241]),new Uint32Array([0,23068672,0,0,0,0,0,0,0,2145154,2145218,2145282,6291456,0,2145346,0]),new Uint32Array([0,0,0,0,10531458,10495395,2148545,2143201,2173473,2148865,2173505,0,2173537,0,2173569,2149121]),new Uint32Array([10537282,10495683,2148738,2148802,2148866,0,6291456,2148930,2186593,2173473,2148737,2148865,2148802,10495779,10495875,10495971]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,0,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([2215425,2215457,2215489,2215521,2215553,2215585,2215617,2215649,2215681,2215713,2215745,2215777,2192033,2215809,2215841,2215873]),new Uint32Array([2242049,2242081,2242113,2242145,2242177,2242209,2242241,2242273,2215937,2242305,2242338,2242401,2242433,2242465,2242497,2216001]),new Uint32Array([10554529,2221089,0,0,10562017,10502113,10538049,10537921,2221185,10489601,10489697,10609889,10609921,2141729,2141793,10610273]),new Uint32Array([2141923,2142019,2142115,2142211,2142307,2142403,2142499,2142595,2142691,0,0,0,0,0,0,0]),new Uint32Array([0,2221185,2221217,10609857,10609857,10489601,10489697,10609889,10609921,2141729,2141793,2221345,2221377,2221409,2221441,2187105]),new Uint32Array([6291456,23068672,23068672,23068672,23068672,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,0]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,18923970,23068672,23068672,23068672,0,6291456,6291456]),new Uint32Array([2183105,6291456,2183137,6291456,2183169,6291456,2183201,6291456,2183233,6291456,2183265,6291456,2183297,6291456,2183329,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0]),new Uint32Array([23068672,23068672,23068672,23068672,0,0,0,0,0,0,0,0,6291456,6291456,6291456,6291456]),new Uint32Array([2134434,2134818,2097666,2097186,2097474,2097698,2105986,2131586,2132450,2131874,2131778,2135970,2135778,2161602,2136162,2161666]),new Uint32Array([2236865,2236897,2236930,2236993,2237025,2235681,2237058,2237121,2237153,2237185,2237217,2217281,2237250,2191233,2237313,2237345]),new Uint32Array([2190049,6291456,2190081,6291456,2190113,6291456,2190145,6291456,2190177,6291456,2190209,6291456,2190241,6291456,2190273,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,23068672,23068672,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2101922,2102050,2102178,2102306,10498755,10498851,10498947,10499043,10499139,10499235,10499331,10499427,10499523,10489604,10489732,10489860]),new Uint32Array([2166914,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,0,0,0,0,0]),new Uint32Array([2181601,2170561,2181633,2181665,2170753,2181697,2172897,2170881,2181729,2170913,2172929,2113441,2181761,2181793,2171009,2173761]),new Uint32Array([0,2105921,2097729,2106081,0,2097601,2162337,2106017,2133281,2097505,0,2097185,2097697,2135777,2097633,2097441]),new Uint32Array([6291456,6291456,6291456,23068672,23068672,23068672,23068672,23068672,6291456,6291456,6291456,6291456,0,0,0,0]),new Uint32Array([2248001,2248033,2248066,2248130,2248193,2248226,2248289,2248322,2248385,2248417,2216673,2248450,2248514,2248577,2248610,2248673]),new Uint32Array([6291456,6291456,0,0,0,0,0,0,0,6291456,6291456,6291456,6291456,0,0,0]),new Uint32Array([2169729,6291456,2169761,6291456,2169793,6291456,2169825,6291456,2169857,2169889,6291456,2169921,6291456,2143329,6291456,2098305]),new Uint32Array([2162178,2163202,2163266,2135170,2136226,2161986,2137954,2159426,2159490,2163330,2159554,2163394,2159682,2139522,2136450,2159746]),new Uint32Array([2173953,2173985,0,2174017,2174049,2174081,2174113,2174145,2174177,2149057,2174209,2174241,6291456,6291456,6291456,6291456]),new Uint32Array([6291456,6291456,4271169,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2174273]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([6291456,6291456,0,0,0,0,0,0,0,6291456,0,0,0,0,0,0]),new Uint32Array([6291456,6291456,6291456,2190785,0,0,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([2189793,6291456,2189825,6291456,2189857,6291456,2189889,6291456,2189921,6291456,2189953,6291456,2189985,6291456,2190017,6291456]),new Uint32Array([2105601,2112289,2108193,2112481,2112577,0,2098305,2108321,2108289,2100865,2113153,2108481,2113345,0,2098209,2111137]),new Uint32Array([2172129,6291456,2172161,6291456,2172193,6291456,2172225,6291456,2172257,6291456,2172289,6291456,2172321,6291456,2172353,6291456]),new Uint32Array([2214753,6291456,2214785,6291456,6291456,2214817,2214849,2214881,2214913,2214945,2214977,2215009,2215041,2215073,2194401,6291456]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,6291456,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([0,0,0,0,6291456,6291456,6291456,23068672,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([10610305,10610337,10575617,2221761,10610401,10610433,10502177,0,10610465,10610497,10610529,10610561,0,0,0,0]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,23068672,0,0,0,0,23068672]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2187105,2187137,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2199393,2199425,2199457,2199489,2199521,2199553,2199585,2199617,2199649,2199681,2199713,2199745,2199777,2199809,2199841,0]),new Uint32Array([2217249,2217281,2217313,2217345,2217377,2217409,2217441,2217473,2215617,2217505,2217537,2217569,2214753,2217601,2217633,2217665]),new Uint32Array([2170273,2170305,6291456,2170337,2170369,6291456,2170401,2170433,2170465,6291456,6291456,6291456,2170497,2170529,6291456,2170561]),new Uint32Array([2188673,6291456,2188705,2188737,2188769,6291456,6291456,2188801,6291456,2188833,6291456,2188865,6291456,2180929,2181505,2180897]),new Uint32Array([10489988,10490116,10490244,10490372,10490500,10490628,10490756,10490884,0,0,0,0,0,0,0,0]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2147393,2147457,2147521,2147585,2147649,2147713,2147777,2147841]),new Uint32Array([23068672,23068672,0,23068672,23068672,0,23068672,23068672,23068672,23068672,23068672,0,0,0,0,0]),new Uint32Array([2241153,2241185,2241217,2215809,2241250,2241313,2241345,2241377,2217921,2241377,2241409,2215873,2241441,2241473,2241505,2241537]),new Uint32Array([23068672,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2220417,2220417,2220449,2220449,2220481,2220481,2220513,2220513,2220545,2220545,2220577,2220577,2220609,2220609,2220641,2220641]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,2144002,0,6291456,6291456,0,0,6291456,6291456,6291456]),new Uint32Array([2167105,2167137,2167169,2167201,2167233,2167265,2167297,2167329,2167361,2167393,2167425,2167457,2167489,2167521,2167553,2167585]),new Uint32Array([10575521,2098209,2111137,2105505,2098241,2108353,2108417,2105825,2111713,2100897,2111905,2105473,2105569,2105601,2112289,2108193]),new Uint32Array([2234146,2234210,2234274,2234338,2234402,2234466,2234530,2234594,2234658,2234722,2234786,2234850,2234914,2234978,2235042,2235106]),new Uint32Array([0,0,0,0,0,0,0,2180577,0,0,0,0,0,2180609,0,0]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,23068672,23068672,23068672,23068672,23068672,0,0,6291456,6291456]),new Uint32Array([2098209,2111137,2105505,2098241,2108353,2108417,2105825,2111713,2100897,2111905,2105473,2105569,2105601,2112289,2108193,2112481]),new Uint32Array([23068672,23068672,23068672,23068672,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2242529,2242561,2242593,2242625,2242657,2242689,2242721,2242753,2207937,2218177,2242785,2242817,2242849,2242882,2242945,2242977]),new Uint32Array([2118049,2105345,2118241,2105441,2118433,2118529,2118625,2118721,2118817,2200257,2200289,2191809,2200321,2200353,2200385,2200417]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,23068672,23068672,23068672,6291456,6291456]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,0]),new Uint32Array([2185505,6291456,2185537,6291456,2185569,6291456,2185601,6291456,2185633,6291456,2185665,6291456,2185697,6291456,2185729,6291456]),new Uint32Array([2231970,2232034,2232098,2232162,2232226,2232290,2232354,2232418,2232482,2232546,2232610,2232674,2232738,2232802,2232866,2232930]),new Uint32Array([2218625,2246402,2246466,2246530,2246594,2246657,2246689,2246689,2218657,2219681,2246721,2246753,2246785,2246818,2246881,2208481]),new Uint32Array([2197025,2197057,2197089,2197121,2197153,2197185,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([2219137,2216961,2219169,2219201,2219233,2219265,2219297,2217025,2215041,2219329,2217057,2219361,2217089,2219393,2197153,2219426]),new Uint32Array([23068672,23068672,23068672,0,0,0,23068672,23068672,23068672,0,23068672,23068672,23068672,23068672,0,0]),new Uint32Array([2098305,2108321,2108289,2100865,2113153,2108481,2113345,2113441,2098209,2111137,2105505,2098241,2108353,2108417,2105825,2111713]),new Uint32Array([2243522,2243585,2243617,2243649,2243681,2210113,2243713,2243746,2243810,2243874,2243937,2243970,2244033,2244065,2244097,2244129]),new Uint32Array([2178017,6291456,2178049,6291456,2178081,6291456,2178113,6291456,2178145,6291456,2178177,6291456,2178209,6291456,2178241,6291456]),new Uint32Array([10553858,2165314,10518722,6291456,10518818,0,10518914,2130690,10519010,2130786,10519106,2130882,10519202,2165378,10554050,2165506]),new Uint32Array([0,0,2135491,2135587,2135683,2135779,2135875,2135971,2135971,2136067,2136163,2136259,2136355,2136355,2136451,2136547]),new Uint32Array([23068672,23068672,23068672,6291456,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,6291456,6291456]),new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,6291456,6291456,6291456,6291456]),new Uint32Array([23068672,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([2220033,2220033,2220065,2220065,2220065,2220065,2220097,2220097,2220097,2220097,2220129,2220129,2220129,2220129,2220161,2220161]),new Uint32Array([6291456,6291456,6291456,0,0,0,0,0,0,0,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,0,23068672,0,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([2100897,2100898,2100899,2150018,2100865,2100866,2100867,2100868,2150082,2108481,2109858,2109859,2105569,2105505,2098241,2105601]),new Uint32Array([2097217,2097505,2097505,2097505,2097505,2165570,2165570,2165634,2165634,2165698,2165698,2097858,2097858,0,0,2097152]),new Uint32Array([23068672,6291456,23068672,23068672,23068672,6291456,6291456,23068672,23068672,6291456,6291456,6291456,6291456,6291456,23068672,23068672]),new Uint32Array([23068672,23068672,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0]),new Uint32Array([10503843,10503939,10504035,10504131,10504227,10504323,10504419,10504515,10504611,10504707,10504803,10504899,10504995,10491140,10491268,0]),new Uint32Array([2173697,2173729,2148801,2173761,2143969,2173793,2173825,2153473,2173857,2173889,2173921,2173953,2173985,2173761,2174017,2174049]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,0,23068672,23068672,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([2134145,2097153,2134241,2105953,2132705,2130977,2160065,2131297,2162049,2133089,2160577,2133857,2235297,2220769,2235329,2235361]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,23068672,23068672,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([2222401,2222433,2222465,10531394,2222497,2222529,2222561,0,2222593,2222625,2222657,2222689,2222721,2222753,2222785,0]),new Uint32Array([2184481,6291456,2184513,6291456,2184545,6291456,2184577,6291456,2184609,6291456,2184641,6291456,2184673,6291456,2184705,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,23068672,23068672,23068672,23068672,6291456,6291456,6291456,6291456,23068672,23068672]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,23068672,23068672,0,0,0,0,0,0,0,0,0]),new Uint32Array([2105570,2156034,2126947,2156098,2153666,2127043,2127139,2156162,0,2127235,2156226,2156290,2156354,2156418,2127331,2127427]),new Uint32Array([2215905,2207041,2153185,2241569,2241601,2241633,2241665,2241697,2241730,2241793,2241825,2241857,2241889,2241921,2241954,2242017]),new Uint32Array([2203777,6291456,2203809,6291456,2203841,6291456,2203873,6291456,2203905,6291456,2173121,2180993,2181249,2203937,2181313,0]),new Uint32Array([2168577,6291456,2168609,6291456,2168641,6291456,2168673,6291456,2168705,6291456,2168737,6291456,2168769,6291456,2168801,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,6291456,23068672,23068672,6291456]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,0,23068672,23068672,23068672,0,23068672,23068672,23068672,0,0]),new Uint32Array([2210113,2195521,2210145,2210177,2210209,2210241,2210273,2210305,2210337,2210369,2210401,2210433,2210465,2210497,2210529,2210561]),new Uint32Array([6291456,0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0]),new Uint32Array([2228706,2228770,2228834,2228898,2228962,2229026,2229090,2229154,2229218,2229282,2229346,2229410,2229474,2229538,2229602,2229666]),new Uint32Array([23068672,6291456,6291456,6291456,6291456,0,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([6291456,6291456,6291456,0,0,0,0,0,0,0,0,0,0,0,0,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,0,6291456,6291456,6291456,6291456,18874368,18874368,18874368,0,0]),new Uint32Array([2133089,2133281,2133281,2133281,2133281,2160577,2160577,2160577,2160577,2097441,2097441,2097441,2097441,2133857,2133857,2133857]),new Uint32Array([6291456,0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2173825,2153473,2173857,2173889,2173921,2173953,2173985,2174017,2174017,2174049,2174081,2174113,2174145,2174177,2149057,2233089]),new Uint32Array([2178529,6291456,2178561,6291456,2178593,6291456,2178625,6291456,2178657,6291456,2178689,6291456,2178721,6291456,2178753,6291456]),new Uint32Array([2221025,2221025,2221057,2221057,2159329,2159329,2159329,2159329,2097217,2097217,2158914,2158914,2158978,2158978,2159042,2159042]),new Uint32Array([2208161,2208193,2208225,2208257,2194433,2208289,2208321,2208353,2208385,2208417,2208449,2208481,2208513,2208545,2208577,2208609]),new Uint32Array([2169217,6291456,2169249,6291456,2169281,6291456,2169313,6291456,2169345,6291456,2169377,6291456,2169409,6291456,2169441,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,6291456,6291456,6291456,6291456]),new Uint32Array([2133187,2133283,2133283,2133379,2133475,2133571,2133667,2133667,2133763,2133859,2133955,2134051,2134147,2134147,2134243,2134339]),new Uint32Array([2197697,2114113,2114209,2197729,2197761,2114305,2197793,2114401,2114497,2197825,2114593,2114689,2114785,2114881,2114977,0]),new Uint32Array([2193089,2193121,2193153,2193185,2117665,2117569,2193217,2193249,2193281,2193313,2193345,2193377,2193409,2193441,2193473,2193505]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0]),new Uint32Array([6291456,6291456,6291456,0,0,0,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([6291456,6291456,6291456,0,0,0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2184225,6291456,2184257,6291456,2184289,6291456,2184321,6291456,2184353,6291456,2184385,6291456,2184417,6291456,2184449,6291456]),new Uint32Array([2112577,2098177,2098305,2108321,2108289,2100865,2113153,2108481,2113345,2113441,2100833,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,23068672,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([2098657,2098049,2200737,2123489,2123681,2200769,2098625,2100321,2098145,2100449,2098017,2098753,2200801,2200833,2200865,0]),new Uint32Array([23068672,23068672,23068672,0,0,0,0,0,0,0,0,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,23068672,23068672,23068672,23068672,23068672,0,0,0,0,0]),new Uint32Array([2098305,2108321,2108289,2100865,2113153,2108481,2113345,2113441,2098209,2111137,0,2098241,2108353,2108417,2105825,0]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2181153,2105505,2181185,2167617,2180993]),new Uint32Array([2160002,2160066,2160130,2160194,2160258,2132066,2131010,2131106,2106018,2131618,2160322,2131298,2132034,2131938,2137410,2132226]),new Uint32Array([6291456,6291456,6291456,6291456,0,0,0,0,0,0,0,0,0,0,0,6291456]),new Uint32Array([2183617,6291456,2183649,6291456,2183681,6291456,2183713,6291456,2183745,6291456,2183777,6291456,2183809,6291456,2183841,6291456]),new Uint32Array([0,6291456,6291456,0,6291456,0,0,6291456,6291456,0,6291456,0,0,6291456,0,0]),new Uint32Array([2250977,2251009,2251041,2251073,2195009,2251106,2251169,2251201,2251233,2251265,2251297,2251330,2251394,2251457,2251489,2251521]),new Uint32Array([2205729,2205761,2205793,2205825,2205857,2205889,2205921,2205953,2205985,2206017,2206049,2206081,2206113,2206145,2206177,2206209]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2143170,2168993,6291456,2169025,6291456,2169057,6291456,2169089,6291456,2143234,2169121,6291456,2169153,6291456,2169185,6291456]),new Uint32Array([23068672,23068672,2190689,6291456,0,0,0,0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2248706,2248769,2248801,2248833,2248865,2248897,2248929,2248962,2249026,2249090,2249154,2240705,2249217,2249249,2249281,2249313]),new Uint32Array([10485857,6291456,6291456,6291456,6291456,6291456,6291456,6291456,10495394,6291456,2098209,6291456,6291456,2097152,6291456,10531394]),new Uint32Array([0,6291456,6291456,6291456,6291456,6291456,6291456,0,0,6291456,6291456,6291456,6291456,6291456,6291456,0]),new Uint32Array([14680064,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2173985,2173953,2148481,2173601,2173633,2173665,2173697,2173729,2148801,2173761,2143969,2173793,2173825,2153473,2173857,2173889]),new Uint32Array([6291456,2186977,6291456,6291456,6291456,6291456,6291456,10537858,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2209601,2209633,2209665,2209697,2209729,2209761,2209793,2209825,2209857,2209889,2209921,2209953,2209985,2210017,2210049,2210081]),new Uint32Array([10501539,10501635,10501731,10501827,10501923,10502019,2098209,2111137,2105505,2098241,2108353,2108417,2105825,2111713,2100897,2111905]),new Uint32Array([2173697,2173729,2148801,2173761,2143969,2173793,2173825,2153473,2173857,2173889,2173921,2173953,2173985,2174017,2174017,2174049]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,6291456,6291456,6291456,6291456,0,0]),new Uint32Array([6291456,6291456,23068672,23068672,23068672,0,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([2194561,2194593,2194625,2119777,2119873,2194657,2194689,2194721,2194753,2194785,2194817,2194849,2194881,2194913,2194945,2194977]),new Uint32Array([2113153,2108481,2113345,2113441,2098209,2111137,2105505,2098241,2108353,2108417,2105825,2111713,2100897,2111905,2105473,2105569]),new Uint32Array([2222818,2222882,2222946,2223010,2223074,2223138,2223202,2223266,2223330,2223394,2223458,2223522,2223586,2223650,2223714,2223778]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,23068672]),new Uint32Array([0,2179553,2179585,2179617,2179649,2144001,2179681,2179713,2179745,2179777,2179809,2156705,2179841,2156833,2179873,2179905]),new Uint32Array([6291456,23068672,6291456,2145602,23068672,23068672,23068672,23068672,23068672,23068672,0,23068672,23068672,6291456,0,0]),new Uint32Array([2196513,2196545,2196577,2196609,2196641,2196673,2196705,2196737,2196769,2196801,2196833,2196865,2196897,2196929,2196961,2196993]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2177281,6291456,2177313,6291456,2177345,6291456,2177377,6291456,2177409,6291456,2177441,6291456,2177473,6291456,2177505,6291456]),new Uint32Array([2187137,2221473,2221505,2221537,2221569,6291456,6291456,10610209,10610241,10537986,10537986,10537986,10537986,10609857,10609857,10609857]),new Uint32Array([2243009,2243041,2216033,2243074,2243137,2243169,2243201,2219617,2243233,2243265,2243297,2243329,2243362,2243425,2243457,2243489]),new Uint32Array([10485857,10485857,10485857,10485857,10485857,10485857,10485857,10485857,10485857,10485857,10485857,2097152,4194304,4194304,0,0]),new Uint32Array([2143042,6291456,2143106,2143106,2168833,6291456,2168865,6291456,6291456,2168897,6291456,2168929,6291456,2168961,6291456,2143170]),new Uint32Array([6291456,6291456,23068672,23068672,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2204193,2204225,2204257,2204289,2204321,2204353,2204385,2204417,2204449,2204481,2204513,2204545,2204577,2204609,2204641,2204673]),new Uint32Array([2202753,6291456,2202785,6291456,2202817,6291456,2202849,6291456,2202881,6291456,2202913,6291456,2202945,6291456,2202977,6291456]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,0,0,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([2108353,2108417,2105825,2111713,2100897,2111905,2105473,2105569,2105601,2112289,2108193,2112481,2112577,2098177,2098305,2108321]),new Uint32Array([2147394,2147458,2147522,2147586,2147650,2147714,2147778,2147842,2147394,2147458,2147522,2147586,2147650,2147714,2147778,2147842]),new Uint32Array([2253313,2253346,2253409,2253441,2253473,2253505,2253537,2253569,2253601,2253634,2219393,2253697,2253729,2253761,2253793,2253825]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,23068672,23068672,23068672,23068672,6291456,6291456]),new Uint32Array([2162562,2162626,2131362,2162690,2159938,2160002,2162754,2162818,2160130,2162882,2160194,2160258,2160834,2160898,2161026,2161090]),new Uint32Array([2175361,2175393,2175425,2175457,2175489,2175521,2175553,2175585,2175617,2175649,2175681,2175713,2175745,2175777,2175809,2175841]),new Uint32Array([2253858,2253921,2253954,2254018,2254082,2196737,2254145,2196865,2254177,2254209,2254241,2254273,2197025,2254306,0,0]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2202113,2204129,2188705,2204161]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,6291456,0,6291456,6291456,6291456,6291456,0,0]),new Uint32Array([2173985,2174017,2174017,2174049,2174081,2174113,2174145,2174177,2149057,2233089,2173697,2173761,2173793,2174113,2173985,2173953]),new Uint32Array([2101569,2101697,2101825,2101953,2102081,2102209,2100833,2100737,2098337,2101441,2101569,2101697,2101825,2101953,2102081,2102209]),new Uint32Array([2108289,2100865,2113153,2108481,2113345,2113441,2098209,2111137,2105505,2098241,0,2108417,0,2111713,2100897,2111905]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,0,0,0,0,0,0,0,0]),new Uint32Array([2175425,2175489,2175809,2175905,2175937,2175937,2176193,2176417,2180865,0,0,0,0,0,0,0]),new Uint32Array([6291456,6291456,6291456,6291456,2143298,2143298,2143298,2143362,2143362,2143362,2143426,2143426,2143426,2171105,6291456,2171137]),new Uint32Array([2120162,2120258,2151618,2151682,2151746,2151810,2151874,2151938,2152002,2120035,2120131,2120227,2152066,2120323,2152130,2120419]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,0,0,0,0,0,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2195361,2142433,2236065,2236097,2236129,2236161,2118241,2117473,2236193,2236225,2236257,2236289,0,0,0,0]),new Uint32Array([2189281,6291456,2189313,6291456,2189345,6291456,2189377,6291456,2189409,6291456,2189441,6291456,2189473,6291456,2189505,6291456]),new Uint32Array([6291456,6291456,2145922,6291456,6291456,6291456,6291456,2145986,6291456,6291456,6291456,6291456,2146050,6291456,6291456,6291456]),new Uint32Array([2100833,2100737,2098337,2101441,2101569,2101697,2101825,2101953,2102081,2102209,10502113,10562017,10610401,10502177,10610433,10538049]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,2186401,0,2186433,0,2186465,0,2186497]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,23068672,23068672,23068672]),new Uint32Array([0,0,2198241,2198273,2198305,2198337,2198369,2198401,0,0,2198433,2198465,2198497,0,0,0]),new Uint32Array([6291456,0,6291456,6291456,6291456,6291456,0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,0,6291456,0,23068672,23068672,23068672,23068672,23068672,23068672,0,0]),new Uint32Array([6291456,6291456,6291456,6291456,0,6291456,6291456,6291456,6291456,6291456,0,0,23068672,6291456,23068672,23068672]),new Uint32Array([0,2105921,2097729,0,2097377,0,0,2106017,2133281,2097505,2105889,0,2097697,2135777,2097633,2097441]),new Uint32Array([2197889,2197921,2197953,2197985,2198017,2198049,2198081,2198113,2198145,2198177,2198209,2198241,2198273,2198305,2198337,2198369]),new Uint32Array([2132514,2132610,2160386,2133090,2133186,2160450,2160514,2133282,2160578,2133570,2106178,2160642,2133858,2160706,2160770,2134146]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,23068672,23068672,0,0,0,0,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([6291456,23068672,23068672,6291456,23068672,23068672,6291456,23068672,0,0,0,0,0,0,0,0]),new Uint32Array([2184737,6291456,2184769,6291456,2184801,6291456,2184833,6291456,2184865,6291456,2184897,6291456,2184929,6291456,2184961,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,6291456,0,6291456,6291456,6291456,6291456,0,6291456]),new Uint32Array([6291456,6291456,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([23068672,23068672,23068672,23068672,6291456,23068672,23068672,23068672,6291456,23068672,23068672,23068672,23068672,23068672,0,0]),new Uint32Array([6291456,6291456,6291456,2186753,6291456,6291456,6291456,6291456,2186785,2186817,2186849,2173569,2186881,10496355,10495395,10575521]),new Uint32Array([0,0,2097729,0,0,0,0,2106017,0,2097505,0,2097185,0,2135777,2097633,2097441]),new Uint32Array([2189537,6291456,2189569,6291456,2189601,6291456,2189633,6291456,2189665,6291456,2189697,6291456,2189729,6291456,2189761,6291456]),new Uint32Array([2202497,6291456,2202529,6291456,2202561,6291456,2202593,6291456,2202625,6291456,2202657,6291456,2202689,6291456,2202721,6291456]),new Uint32Array([2245217,2218369,2245249,2245282,2245345,2245377,2245410,2245474,2245537,2245569,2245601,2245633,2245665,2245665,2245697,2245729]),new Uint32Array([6291456,0,23068672,23068672,0,0,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([6291456,0,0,0,0,0,0,23068672,0,0,0,0,0,0,0,0]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,23068672,6291456,23068672,6291456,23068672,6291456,6291456,6291456,6291456,23068672,23068672]),new Uint32Array([0,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,0,0,0,0,0,0]),new Uint32Array([2097281,2105921,2097729,2106081,2097377,2097601,2162337,2106017,2133281,2097505,0,2097185,2097697,2135777,2097633,2097441]),new Uint32Array([2176641,6291456,2176673,6291456,2176705,6291456,2176737,6291456,2176769,6291456,2176801,6291456,2176833,6291456,2176865,6291456]),new Uint32Array([2174145,2174177,2149057,2233089,2173697,2173761,2173793,2174113,2173985,2173953,2174369,2174369,0,0,2100833,2100737]),new Uint32Array([2116513,2190817,2190849,2190881,2190913,2190945,2116609,2190977,2191009,2191041,2191073,2117185,2191105,2191137,2191169,2191201]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,0,0,6291456,6291456,6291456]),new Uint32Array([0,0,0,0,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,6291456]),new Uint32Array([2167617,2167649,2167681,2167713,2167745,2167777,2167809,6291456,2167841,2167873,2167905,2167937,2167969,2168001,2168033,4240130]),new Uint32Array([2165122,2163970,2164034,2164098,2164162,2164226,2164290,2164354,2164418,2164482,2164546,2133122,2134562,2132162,2132834,2136866]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,0,0,2186209,2186241,2186273,2186305,2186337,2186369,0,0]),new Uint32Array([2112481,2112577,2098177,2098305,2108321,2108289,2100865,2113153,2108481,2113345,2113441,14680064,14680064,14680064,14680064,14680064]),new Uint32Array([0,0,23068672,6291456,0,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,6291456,6291456]),new Uint32Array([0,10537921,10610689,10610273,10610497,10610529,10610305,10610721,10489601,10489697,10610337,10575617,10554529,2221761,2197217,10496577]),new Uint32Array([2105473,2105569,2105601,2112289,0,2112481,2112577,2098177,2098305,2108321,2108289,2100865,2113153,2108481,2113345,2113441]),new Uint32Array([2100897,2111905,2105473,2105569,2105601,2112289,2108193,2112481,2112577,2098177,2098305,2108321,2108289,2100865,2113153,2108481]),new Uint32Array([2125346,2153410,2153474,2127394,2153538,2153602,2153666,2153730,2105507,2105476,2153794,2153858,2153922,2153986,2154050,2105794]),new Uint32Array([2200449,2119681,2200481,2153313,2199873,2199905,2199937,2200513,2200545,2200577,2200609,2119105,2119201,2119297,2119393,2119489]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2175777,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2222273,2197217,2221473,2221505,2221089,2222305,2200865,2099681,2104481,2222337,2099905,2120737,2222369,2103713,2100225,2098785]),new Uint32Array([2201377,6291456,2201409,6291456,2201441,6291456,2201473,6291456,2201505,6291456,2201537,6291456,2201569,6291456,6291456,23068672]),new Uint32Array([2174081,2174113,2174145,2174177,2149057,2233057,2148481,2173601,2173633,2173665,2173697,2173729,2148801,2173761,2143969,2173793]),new Uint32Array([2200897,6291456,2200929,6291456,2200961,6291456,2200993,6291456,2201025,6291456,2180865,6291456,2201057,6291456,2201089,6291456]),new Uint32Array([0,0,0,0,0,23068672,23068672,0,6291456,6291456,6291456,0,0,0,0,0]),new Uint32Array([2161154,2161410,2138658,2161474,2161538,2097666,2097186,2097474,2162946,2132450,2163010,2163074,2136162,2163138,2161666,2161730]),new Uint32Array([2148481,2173601,2173633,2173665,2173697,2173729,2148801,2173761,2143969,2173793,2173825,2153473,2173857,2173889,2173921,2173953]),new Uint32Array([0,0,0,0,0,0,23068672,23068672,0,0,0,0,2145410,2145474,0,6291456]),new Uint32Array([2244161,2216065,2212769,2244193,2244225,2244257,2244290,2244353,2244385,2244417,2244449,2218273,2244481,2244514,2244577,2244609]),new Uint32Array([2125730,2125699,2125795,2125891,2125987,2154114,2154178,2154242,2154306,2154370,2154434,2154498,2126082,2126178,2126274,2126083]),new Uint32Array([2237665,2237697,2237697,2237697,2237730,2237793,2237825,2237857,2237890,2237953,2237985,2238017,2238049,2238081,2238113,2238145]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2150146,6291456,6291456,6291456]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,0,0,23068672,23068672,0,0,23068672,23068672,23068672,0,0]),new Uint32Array([2214369,2238593,2238625,2238657,2238689,2238721,2238753,2238785,2238817,2238850,2238913,2238945,2238977,2235457,2239009,2239041]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0]),new Uint32Array([2252066,2252130,2252193,2252225,2252257,2252290,2252353,2252385,2252417,2252449,2252481,2252513,2252545,2252578,2252641,2252673]),new Uint32Array([2197697,2114113,2114209,2197729,2197761,2114305,2197793,2114401,2114497,2197825,2114593,2114689,2114785,2114881,2114977,2197857]),new Uint32Array([2224866,2224930,2224994,2225058,2225122,2225186,2225250,2225314,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2219490,2219554,2219617,2219649,2219681,2219714,2219778,2219842,2219905,2219937,0,0,0,0,0,0]),new Uint32Array([6291456,23068672,23068672,23068672,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,6291456]),new Uint32Array([2113345,2113441,2098209,2111137,2105505,2098241,2108353,2108417,2105825,2111713,2100897,2111905,2105473,2105569,2105601,2112289]),new Uint32Array([2174081,2174113,2174145,2174177,2149057,2233089,2173697,2173761,2173793,2174113,2173985,2173953,2148481,2173601,2173633,2173665]),new Uint32Array([2220161,2220161,2220193,2220193,2220193,2220193,2220225,2220225,2220225,2220225,2220257,2220257,2220257,2220257,2220289,2220289]),new Uint32Array([2192673,2192705,2192737,2192769,2192801,2192833,2192865,2118049,2192897,2117473,2117761,2192929,2192961,2192993,2193025,2193057]),new Uint32Array([2179297,6291456,2179329,6291456,2179361,6291456,2179393,6291456,2179425,6291456,2179457,6291456,2179489,6291456,2179521,6291456]),new Uint32Array([6291456,6291456,6291456,23068672,6291456,6291456,6291456,0,0,0,0,0,0,0,0,0]),new Uint32Array([2235745,2235777,2193633,2235809,2235841,2235873,2235905,2235937,2235969,2116513,2116705,2236001,2200513,2199905,2200545,2236033]),new Uint32Array([2113153,2108481,2113345,2113441,2232993,2233025,0,0,2148481,2173601,2173633,2173665,2173697,2173729,2148801,2173761]),new Uint32Array([2170593,6291456,2170625,6291456,2170657,6291456,2170689,2170721,6291456,2170753,6291456,6291456,2170785,6291456,2170817,2170849]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2166786,2166850,0,0,0,0]),new Uint32Array([23068672,6291456,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,6291456,6291456]),new Uint32Array([2100833,2100737,2098337,2101441,2101569,2101697,2101825,2101953,2102081,2102209,10575617,2187041,10502177,10489601,10489697,0]),new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2134562,2132162,2132834,2136866,2136482,2164610,2164674,2164738,2164802,2132802,2132706,2164866,2132898,2164930,2164994,2165058]),new Uint32Array([6291456,6291456,2098337,2101441,10531458,2153473,6291456,6291456,10531522,2100737,2108193,6291456,2106499,2106595,2106691,6291456]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,23068672,0,0,0,0,0,0,0,0,0]),new Uint32Array([2233122,2233186,2233250,2233314,2233378,2233442,2233506,2233570,2233634,2233698,2233762,2233826,2233890,2233954,2234018,2234082]),new Uint32Array([23068672,6291456,23068672,23068672,23068672,6291456,6291456,23068672,23068672,23068672,23068672,23068672,23068672,23068672,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,0,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,0,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([2205217,2205249,2205281,2205313,2205345,2205377,2205409,2205441,2205473,2205505,2205537,2205569,2205601,2205633,2205665,2205697]),new Uint32Array([6291456,0,6291456,0,0,0,6291456,6291456,6291456,6291456,0,0,23068672,6291456,23068672,23068672]),new Uint32Array([2173601,2173761,2174081,2173569,2174241,2174113,2173953,6291456,2174305,6291456,2174337,6291456,2174369,6291456,2174401,6291456]),new Uint32Array([6291456,23068672,23068672,23068672,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,6291456,6291456]),new Uint32Array([2152450,2152514,2099653,2104452,2099813,2122243,2099973,2152578,2122339,2122435,2122531,2122627,2122723,2104580,2122819,2152642]),new Uint32Array([2236385,2236417,2236449,2236482,2236545,2215425,2236577,2236609,2236641,2236673,2215457,2236705,2236737,2236770,2215489,2236833]),new Uint32Array([2163394,2159746,2163458,2131362,2163522,2160130,2163778,2132226,2163842,2132898,2163906,2161410,2138658,2097666,2136162,2163650]),new Uint32Array([2218721,2246913,2246946,2216385,2247010,2247074,2215009,2247137,2247169,2216481,2247201,2247233,2247266,2247330,2247330,0]),new Uint32Array([2129730,2129762,2129858,2129731,2129827,2156482,2156482,0,0,0,0,0,0,0,0,0]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,6291456,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,0,6291456,0,0,0,0,0,6291456,0,0]),new Uint32Array([2203969,2204001,2181377,2204033,2204065,6291456,2204097,6291456,0,0,0,0,0,0,0,0]),new Uint32Array([2169473,6291456,2169505,6291456,2169537,6291456,2169569,6291456,2169601,6291456,2169633,6291456,2169665,6291456,2169697,6291456]),new Uint32Array([2141542,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2220801,2220801,2220801,2220801,2220833,2220833,2220865,2220865,2220865,2220865,2220897,2220897,2220897,2220897,2139873,2139873]),new Uint32Array([0,0,0,0,0,23068672,23068672,0,0,0,0,0,0,0,6291456,0]),new Uint32Array([2214849,2218433,2218465,2218497,2218529,2218561,2214881,2218593,2218625,2218657,2218689,2218721,2218753,2216545,2218785,2218817]),new Uint32Array([23068672,23068672,23068672,23068672,0,0,0,0,0,0,0,0,0,0,0,6291456]),new Uint32Array([2136482,2164610,2164674,2164738,2164802,2132802,2132706,2164866,2132898,2164930,2164994,2165058,2165122,2132802,2132706,2164866]),new Uint32Array([2207649,2207681,2207713,2207745,2207777,2207809,2207841,2207873,2207905,2207937,2207969,2208001,2208033,2208065,2208097,2208129]),new Uint32Array([2123683,2105092,2152706,2123779,2105220,2152770,2100453,2098755,2123906,2124002,2124098,2124194,2124290,2124386,2124482,2124578]),new Uint32Array([6291456,6291456,6291456,6291456,0,0,0,6291456,0,0,0,0,0,0,0,10485857]),new Uint32Array([6291456,6291456,6291456,6291456,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([10508163,10508259,10508355,10508451,2200129,2200161,2192737,2200193,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2203553,6291456,2203585,6291456,6291456,6291456,2203617,6291456,2203649,6291456,2203681,6291456,2203713,6291456,2203745,6291456]),new Uint32Array([18884449,18884065,23068672,18884417,18884034,18921185,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,18874368]),new Uint32Array([2247393,2247426,2247489,2247521,2247553,2247586,2247649,2247681,2247713,2247745,2247777,2247810,2247873,2247905,2247937,2247969]),new Uint32Array([6291456,6291456,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,6291456,23068672]),new Uint32Array([2134145,2097153,2134241,0,2132705,2130977,2160065,2131297,0,2133089,2160577,2133857,2235297,0,2235329,0]),new Uint32Array([2182593,6291456,2182625,6291456,2182657,6291456,2182689,6291456,2182721,6291456,2182753,6291456,2182785,6291456,2182817,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2102402,2102403,6291456,2110050]),new Uint32Array([2149890,2108323,2149954,6291456,2113441,6291456,2149057,6291456,2113441,6291456,2105473,2167265,2111137,2105505,6291456,2108353]),new Uint32Array([2219105,2219137,2195233,2251554,2251617,2251649,2251681,2251713,2251746,2251810,2251873,2251905,2251937,2251970,2252033,2219169]),new Uint32Array([2203009,6291456,2203041,6291456,2203073,6291456,2203105,6291456,2203137,6291456,2203169,6291456,2203201,6291456,2203233,6291456]),new Uint32Array([2128195,2128291,2128387,2128483,2128579,2128675,2128771,2128867,2128963,2129059,2129155,2129251,2129347,2129443,2129539,2129635]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2140964,2141156,2140966,2141158,2141350]),new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,23068672,6291456,6291456,6291456,6291456,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([2225378,2225442,2225506,2225570,2225634,2225698,2225762,2225826,2225890,2225954,2226018,2226082,2226146,2226210,2226274,2226338]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([23068672,23068672,23068672,23068672,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2112577,2098177,2098305,2108321,2108289,2100865,2113153,2108481,2113345,2113441,2098209,2111137,2105505,2098241,2108353,2108417]),new Uint32Array([2108353,2108417,0,2105601,2108193,2157121,2157313,2157377,2157441,2100897,6291456,2108419,2173953,2173633,2173633,2173953]),new Uint32Array([2111713,2173121,2111905,2098177,2173153,2173185,2173217,2113153,2113345,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,6291456,6291456,6291456,6291456,2190753]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,2197249,6291456,2117377,2197281,2197313,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([6291456,0,0,0,0,0,0,23068672,0,0,0,0,0,6291456,6291456,6291456]),new Uint32Array([2098337,2101441,2101569,2101697,2101825,2101953,2102081,2102209,2100833,2100737,2098337,2101441,2101569,2101697,2101825,2101953]),new Uint32Array([23068672,23068672,23068672,23068672,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0]),new Uint32Array([0,0,0,0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,23068672,23068672,23068672]),new Uint32Array([2173281,6291456,2173313,6291456,2173345,6291456,2173377,6291456,0,0,10532546,6291456,6291456,6291456,10562017,2173441]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,23068672,23068672,0,0]),new Uint32Array([23068672,23068672,23068672,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,23068672,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2159426,2159490,2159554,2159362,2159618,2159682,2139522,2136450,2159746,2159810,2159874,2130978,2131074,2131266,2131362,2159938]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,0,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2203233,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2203265,6291456,2203297,6291456,2203329,2203361,6291456]),new Uint32Array([6291456,6291456,2148418,2148482,2148546,0,6291456,2148610,2186529,2186561,2148417,2148545,2148482,10495778,2143969,10495778]),new Uint32Array([2134146,2139426,2160962,2134242,2161218,2161282,2161346,2161410,2138658,2134722,2134434,2134818,2097666,2097346,2097698,2105986]),new Uint32Array([2198881,2198913,2198945,2198977,2199009,2199041,2199073,2199105,2199137,2199169,2199201,2199233,2199265,2199297,2199329,2199361]),new Uint32Array([0,23068672,23068672,23068672,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,6291456]),new Uint32Array([10610561,2098209,2111137,2105505,2098241,2108353,2108417,2105825,2111713,2100897,2111905,2105473,2105569,2105601,2112289,2108193]),new Uint32Array([2183873,6291456,2183905,6291456,2183937,6291456,2183969,6291456,2184001,6291456,2184033,6291456,2184065,6291456,2184097,6291456]),new Uint32Array([2244642,2244706,2244769,2244801,2218305,2244833,2244865,2244897,2244929,2244961,2244993,2245026,2245089,2245122,2245185,0]),new Uint32Array([6291456,6291456,2116513,2116609,2116705,2116801,2199873,2199905,2199937,2199969,2190913,2200001,2200033,2200065,2200097,2191009]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,0,0,2180673,2180705,2180737,2180769,2180801,2180833,0,0]),new Uint32Array([2098081,2099521,2099105,2120705,2098369,2120801,2103361,2097985,2098433,2121377,2121473,2099169,2099873,2098401,2099393,2152609]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2150402]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,2145666,2145730,6291456,6291456]),new Uint32Array([2173921,2173953,2173985,2173761,2174017,2174049,2174081,2174113,2174145,2174177,2149057,2233057,2148481,2173601,2173633,2173665]),new Uint32Array([2187073,6291456,6291456,6291456,6291456,2098241,2098241,2108353,2100897,2111905,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2102404,6291456,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,2100612,6291456,6291456,6291456,6291456,6291456,6291456,6291456,10485857]),new Uint32Array([2149057,2233057,2148481,2173601,2173633,2173665,2173697,2173729,2148801,2173761,2143969,2173793,2173825,2153473,2173857,2173889]),new Uint32Array([2217697,2217729,2217761,2217793,2217825,2217857,2217889,2217921,2217953,2215873,2217985,2215905,2218017,2218049,2218081,2218113]),new Uint32Array([2211233,2218849,2216673,2218881,2218913,2218945,2218977,2219009,2216833,2219041,2215137,2219073,2216865,2209505,2219105,2216897]),new Uint32Array([2240097,2240129,2240161,2240193,2240225,2240257,2240289,2240321,2240353,2240386,2240449,2240481,2240513,2240545,2207905,2240578]),new Uint32Array([6291456,6291456,2202273,6291456,2202305,6291456,2202337,6291456,2202369,6291456,2202401,6291456,2202433,6291456,2202465,6291456]),new Uint32Array([0,23068672,23068672,18923394,23068672,18923458,18923522,18884099,18923586,18884195,23068672,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([2201121,6291456,2201153,6291456,2201185,6291456,2201217,6291456,2201249,6291456,2201281,6291456,2201313,6291456,2201345,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,6291456,6291456]),new Uint32Array([2211041,2211073,2211105,2211137,2211169,2211201,2211233,2211265,2211297,2211329,2211361,2211393,2211425,2211457,2211489,2211521]),new Uint32Array([2181825,6291456,2181857,6291456,2181889,6291456,2181921,6291456,2181953,6291456,2181985,6291456,2182017,6291456,2182049,6291456]),new Uint32Array([2162337,2097633,2097633,2097633,2097633,2132705,2132705,2132705,2132705,2097153,2097153,2097153,2097153,2133089,2133089,2133089]),new Uint32Array([6291456,6291456,6291456,6291456,0,0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([6291456,2148545,6291456,2173473,6291456,2148865,6291456,2173505,6291456,2173537,6291456,2173569,6291456,2149121,0,0]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,6291456,6291456,0,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,23068672,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,0]),new Uint32Array([2148801,2173761,2143969,2173793,2173825,2153473,2173857,2173889,2173921,2173953,2173985,2174017,2174017,2174049,2174081,2174113]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,23068672,0,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([2207137,2207169,2207201,2207233,2207265,2207297,2207329,2207361,2207393,2207425,2207457,2207489,2207521,2207553,2207585,2207617]),new Uint32Array([6291456,6291456,23068672,23068672,23068672,6291456,6291456,0,23068672,23068672,0,0,0,0,0,0]),new Uint32Array([2198401,2198433,2198465,2198497,0,2198529,2198561,2198593,2198625,2198657,2198689,2198721,2198753,2198785,2198817,2198849]),new Uint32Array([2105505,2098241,2108353,2108417,2105825,2111713,2100897,2111905,2105473,2105569,2105601,2112289,2108193,2112481,2112577,2098177]),new Uint32Array([23068672,23068672,23068672,23068672,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,23068672,0,0]),new Uint32Array([2216385,2118721,2216417,2216449,2216481,2216513,2216545,2211233,2216577,2216609,2216641,2216673,2216705,2216737,2216737,2216769]),new Uint32Array([2216801,2216833,2216865,2216897,2216929,2216961,2216993,2215169,2217025,2217057,2217089,2217121,2217154,2217217,0,0]),new Uint32Array([2210593,2191809,2210625,2210657,2210689,2210721,2210753,2210785,2210817,2210849,2191297,2210881,2210913,2210945,2210977,2211009]),new Uint32Array([0,0,2105825,0,0,2111905,2105473,0,0,2112289,2108193,2112481,2112577,0,2098305,2108321]),new Uint32Array([0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([0,2097153,2134241,0,2132705,0,0,2131297,0,2133089,0,2133857,0,2220769,0,2235361]),new Uint32Array([14680064,14680064,14680064,14680064,14680064,14680064,14680064,14680064,14680064,14680064,14680064,14680064,14680064,6291456,6291456,14680064]),new Uint32Array([23068672,23068672,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,0,0,0,0,0]),new Uint32Array([2171873,6291456,2171905,6291456,2171937,6291456,2171969,6291456,2172001,6291456,2172033,6291456,2172065,6291456,2172097,6291456]),new Uint32Array([2220929,2220929,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2133857,2134145,2134145,2134145,2134145,2134241,2134241,2134241,2134241,2105889,2105889,2105889,2105889,2097185,2097185,2097185]),new Uint32Array([2173697,2173761,2173793,2174113,2173985,2173953,2148481,2173601,2173633,2173665,2173697,2173729,2148801,2173761,2143969,2173793]),new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,10499619,10499715,10499811,10499907]),new Uint32Array([0,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([6291456,0,0,0,0,0,0,0,0,0,0,0,0,0,0,23068672]),new Uint32Array([6291456,6291456,6291456,6291456,0,0,0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,0,0,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,6291456,6291456,0,6291456]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,6291456,6291456,6291456]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,0,23068672,23068672,23068672,0,23068672,23068672,23068672,23068672,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,6291456,23068672,23068672]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,0,0,0,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([6291456,23068672,23068672,23068672,23068672,23068672,23068672,23068672,2144322,2144386,2144450,2144514,2144578,2144642,2144706,2144770]),new Uint32Array([23068672,23068672,23068672,6291456,6291456,23068672,23068672,23068672,23068672,23068672,23068672,23068672,6291456,6291456,6291456,6291456]),new Uint32Array([2113153,2108481,2113345,2113441,2098209,2111137,0,2098241,2108353,2108417,2105825,0,0,2111905,2105473,2105569]),new Uint32Array([2236321,2236353,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([2152194,2121283,2103684,2103812,2097986,2098533,2097990,2098693,2098595,2098853,2099013,2103940,2121379,2121475,2121571,2104068]),new Uint32Array([2206241,2206273,2206305,2206337,2206369,2206401,2206433,2206465,2206497,2206529,2206561,2206593,2206625,2206657,2206689,2206721]),new Uint32Array([6291456,6291456,6291456,6291456,16777216,16777216,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,23068672,23068672,10538818,10538882,6291456,6291456,2150338]),new Uint32Array([6291456,6291456,6291456,0,0,0,0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2214369,2214401,2214433,2214465,2214497,2214529,2214561,2214593,2194977,2214625,2195073,2214657,2214689,2214721,6291456,6291456]),new Uint32Array([2097152,2097152,2097152,2097152,0,0,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([2182081,6291456,2182113,6291456,2182145,6291456,2182177,6291456,2182209,6291456,2182241,6291456,2182273,6291456,2182305,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2146881,2146945,2147009,2147073,2147137,2147201,2147265,2147329]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,6291456,23068672,23068672]),new Uint32Array([0,0,0,0,0,0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2122915,2123011,2123107,2104708,2123203,2123299,2123395,2100133,2104836,2100290,2100293,2104962,2104964,2098052,2123491,2123587]),new Uint32Array([23068672,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,6291456]),new Uint32Array([6291456,2171169,6291456,2171201,6291456,2171233,6291456,2171265,6291456,2171297,6291456,2171329,6291456,6291456,2171361,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([0,0,2148994,2149058,2149122,0,6291456,2149186,2186945,2173537,2148993,2149121,2149058,10531458,10496066,0]),new Uint32Array([2195009,2195041,2195073,2195105,2195137,2195169,2195201,2195233,2195265,2195297,2195329,2195361,2195393,2195425,2195457,2195489]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,6291456,0,0,6291456,6291456]),new Uint32Array([2182849,6291456,2182881,6291456,2182913,6291456,2182945,6291456,2182977,6291456,2183009,6291456,2183041,6291456,2183073,6291456]),new Uint32Array([2211553,2210081,2211585,2211617,2211649,2211681,2211713,2211745,2211777,2211809,2209569,2211841,2211873,2211905,2211937,2211969]),new Uint32Array([2112577,2098177,2098305,2108321,2108289,2100865,2113153,2108481,2113345,2113441,2166594,2127298,2166658,2142978,2141827,2166722]),new Uint32Array([2173985,2173761,2174017,2174049,2174081,2174113,2174145,2174177,2149057,2233057,2148481,2173601,2173633,2173665,2173697,2173729]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,0,0,2185761,2185793,2185825,2185857,2185889,2185921,0,0]),new Uint32Array([6291456,2148481,2173601,2173633,2173665,2173697,2173729,2148801,2173761,2143969,2173793,2173825,2153473,2173857,2173889,2173921]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,0,0,6291456]),new Uint32Array([0,0,0,2220961,2220961,2220961,2220961,2144193,2144193,2159201,2159201,2159265,2159265,2144194,2220993,2220993]),new Uint32Array([2192641,2235393,2235425,2152257,2116609,2235457,2235489,2200065,2235521,2235553,2235585,2212449,2235617,2235649,2235681,2235713]),new Uint32Array([2194049,2194081,2194113,2194145,2194177,2194209,2194241,2194273,2194305,2194337,2194369,2194401,2194433,2194465,2194497,2194529]),new Uint32Array([2196673,2208641,2208673,2208705,2208737,2208769,2208801,2208833,2208865,2208897,2208929,2208961,2208993,2209025,2209057,2209089]),new Uint32Array([2191681,2191713,2191745,2191777,2153281,2191809,2191841,2191873,2191905,2191937,2191969,2192001,2192033,2192065,2192097,2192129]),new Uint32Array([2230946,2231010,2231074,2231138,2231202,2231266,2231330,2231394,2231458,2231522,2231586,2231650,2231714,2231778,2231842,2231906]),new Uint32Array([14680064,14680064,14680064,14680064,14680064,14680064,14680064,14680064,14680064,14680064,14680064,14680064,14680064,14680064,14680064,14680064]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,2185953,2185985,2186017,2186049,2186081,2186113,2186145,2186177]),new Uint32Array([2139811,2139907,2097284,2105860,2105988,2106116,2106244,2097444,2097604,2097155,10485778,10486344,2106372,6291456,0,0]),new Uint32Array([2110051,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([0,0,0,0,0,0,0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2172385,6291456,2172417,6291456,2172449,6291456,2172481,6291456,2172513,6291456,2172545,6291456,2172577,6291456,2172609,6291456]),new Uint32Array([0,0,23068672,23068672,6291456,0,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([2249345,2249377,2249409,2249441,2249473,2249505,2249537,2249570,2210209,2249633,2249665,2249697,2249729,2249761,2249793,2216769]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,23068672,23068672,23068672,23068672]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,0,6291456,6291456,6291456,6291456]),new Uint32Array([2187169,2187201,2187233,2187265,2187297,2187329,2187361,2187393,2187425,2187457,2187489,2187521,2187553,2187585,2187617,2187649]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,23068672,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([0,0,0,6291456,6291456,0,0,0,6291456,6291456,6291456,0,0,0,6291456,6291456]),new Uint32Array([2182337,6291456,2182369,6291456,2182401,6291456,2182433,6291456,2182465,6291456,2182497,6291456,2182529,6291456,2182561,6291456]),new Uint32Array([2138179,2138275,2138371,2138467,2134243,2134435,2138563,2138659,2138755,2138851,2138947,2139043,2138947,2138755,2139139,2139235]),new Uint32Array([23068672,23068672,23068672,23068672,6291456,6291456,6291456,6291456,0,0,0,0,0,0,0,0]),new Uint32Array([0,0,23068672,23068672,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2250498,2250562,2250625,2250657,2208321,2250689,2250721,2250753,2250785,2250817,2250849,2218945,2250881,2250913,2250945,0]),new Uint32Array([2170369,2105569,2098305,2108481,2173249,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([23068672,23068672,23068672,23068672,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,6291456]),new Uint32Array([2100897,2111905,2105473,2105569,2105601,0,2108193,0,0,0,2098305,2108321,2108289,2100865,2113153,2108481]),new Uint32Array([2100897,2100897,2105569,2105569,6291456,2112289,2149826,6291456,6291456,2112481,2112577,2098177,2098177,2098177,6291456,6291456]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,0,0,6291456,6291456,6291456]),new Uint32Array([6291456,2169953,2169985,6291456,2170017,6291456,2170049,2170081,6291456,2170113,2170145,2170177,6291456,6291456,2170209,2170241]),new Uint32Array([6291456,6291456,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([0,0,0,0,0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2220641,2220641,2220673,2220673,2220673,2220673,2220705,2220705,2220705,2220705,2220737,2220737,2220737,2220737,2220769,2220769]),new Uint32Array([2127650,2127746,2127842,2127938,2128034,2128130,2128226,2128322,2128418,2127523,2127619,2127715,2127811,2127907,2128003,2128099]),new Uint32Array([2143969,2173793,2173825,2153473,2173857,2173889,2173921,2173953,2173985,2173761,2174017,2174049,2174081,2174113,2174145,2174177]),new Uint32Array([0,0,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([2204705,2204737,2204769,2204801,2204833,2204865,2204897,2204929,2204961,2204993,2205025,2205057,2205089,2205121,2205153,2205185]),new Uint32Array([2176385,6291456,2176417,6291456,2176449,6291456,2176481,6291456,2176513,6291456,2176545,6291456,2176577,6291456,2176609,6291456]),new Uint32Array([2195521,2195553,2195585,2195617,2195649,2195681,2117857,2195713,2195745,2195777,2195809,2195841,2195873,2195905,2195937,2195969]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,0]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,6291456,6291456,6291456]),new Uint32Array([2173921,2173953,2173985,2174017,2174017,2174049,2174081,2174113,2174145,2174177,2149057,2233089,2173697,2173761,2173793,2174113]),new Uint32Array([2131586,2132450,2135970,2135778,2161602,2136162,2163650,2161794,2135586,2163714,2137186,2131810,2160290,2135170,2097506,2159554]),new Uint32Array([2134145,2097153,2134241,2105953,2132705,2130977,2160065,2131297,2162049,2133089,2160577,2133857,0,0,0,0]),new Uint32Array([2116513,2116609,2116705,2116801,2116897,2116993,2117089,2117185,2117281,2117377,2117473,2117569,2117665,2117761,2117857,2117953]),new Uint32Array([2100737,2098337,2101441,2101569,2101697,2101825,2101953,2102081,2102209,2100802,2101154,2101282,2101410,2101538,2101666,2101794]),new Uint32Array([2100289,2098657,2098049,2200737,2123489,2123681,2200769,2098625,2100321,2098145,2100449,2098017,2098753,2098977,2150241,2150305]),new Uint32Array([6291456,6291456,6291456,0,6291456,6291456,6291456,6291456,6291456,2109955,6291456,6291456,0,0,0,0]),new Uint32Array([18874368,18874368,18874368,18874368,18874368,18874368,18874368,18874368,18874368,18874368,18874368,18874368,18874368,18874368,18874368,18874368]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,6291456,0,6291456,0,0]),new Uint32Array([2130979,2131075,2131075,2131171,2131267,2131363,2131459,2131555,2131651,2131651,2131747,2131843,2131939,2132035,2132131,2132227]),new Uint32Array([0,2177793,6291456,2177825,6291456,2177857,6291456,2177889,6291456,2177921,6291456,2177953,6291456,2177985,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672]),new Uint32Array([6291456,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([2113345,0,2098209,2111137,2105505,2098241,2108353,2108417,2105825,2111713,2100897,2111905,2105473,2105569,2105601,2112289]),new Uint32Array([2136643,2136739,2136835,2136931,2137027,2137123,2137219,2137315,2137411,2137507,2137603,2137699,2137795,2137891,2137987,2138083]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0]),new Uint32Array([2174433,6291456,2174465,6291456,2174497,6291456,2174529,6291456,2174561,6291456,2174593,6291456,2174625,6291456,2174657,6291456]),new Uint32Array([0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2105473,2105569,2105601,2112289,2108193,2112481,2112577,2098177,2098305,2108321,2108289,2100865,2113153,2108481,2113345,2113441]),new Uint32Array([10496547,10496643,2105505,2149698,6291456,10496739,10496835,2170273,6291456,2149762,2105825,2111713,2111713,2111713,2111713,2168673]),new Uint32Array([6291456,2143490,2143490,2143490,2171649,6291456,2171681,2171713,2171745,6291456,2171777,6291456,2171809,6291456,2171841,6291456]),new Uint32Array([2159106,2159106,2159170,2159170,2159234,2159234,2159298,2159298,2159298,2159362,2159362,2159362,2106401,2106401,2106401,2106401]),new Uint32Array([2105601,2112289,2108193,2112481,2112577,2098177,2098305,2108321,2108289,2100865,2113153,2108481,2113345,2113441,2098209,2111137]),new Uint32Array([2108417,2181217,2181249,2181281,2170433,2170401,2181313,2181345,2181377,2181409,2181441,2181473,2181505,2181537,2170529,2181569]),new Uint32Array([2218433,2245761,2245793,2245825,2245857,2245890,2245953,2245986,2209665,2246050,2246113,2246146,2246210,2246274,2246337,2246369]),new Uint32Array([2230754,2230818,2230882,0,0,0,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([6291456,0,6291456,6291456,6291456,6291456,0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([6291456,0,0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2184129,6291456,2184161,6291456,2184193,6291456,6291456,6291456,6291456,6291456,2146818,2183361,6291456,6291456,2142978,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2135170,2097506,2130691,2130787,2130883,2163970,2164034,2164098,2164162,2164226,2164290,2164354,2164418,2164482,2164546,2133122]),new Uint32Array([2108515,2108611,2100740,2108707,2108803,2108899,2108995,2109091,2109187,2109283,2109379,2109475,2109571,2109667,2109763,2100738]),new Uint32Array([2102788,2102916,2103044,2120515,2103172,2120611,2120707,2098373,2103300,2120803,2120899,2120995,2103428,2103556,2121091,2121187]),new Uint32Array([2158082,2158146,0,2158210,2158274,0,2158338,2158402,2158466,2129922,2158530,2158594,2158658,2158722,2158786,2158850]),new Uint32Array([10499619,10499715,10499811,10499907,10500003,10500099,10500195,10500291,10500387,10500483,10500579,10500675,10500771,10500867,10500963,10501059]),new Uint32Array([2239585,2239618,2239681,2239713,0,2191969,2239745,2239777,2192033,2239809,2239841,2239874,2239937,2239970,2240033,2240065]),new Uint32Array([2252705,2252738,2252801,2252833,2252865,2252897,2252930,2252994,2253057,2253089,2253121,2253154,2253217,2253250,2219361,2219361]),new Uint32Array([2105825,2111713,2100897,2111905,2105473,2105569,2105601,2112289,2108193,2112481,2112577,2098177,2098305,2108321,2108289,2100865]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,10538050,10538114,10538178,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([2226402,2226466,2226530,2226594,2226658,2226722,2226786,2226850,2226914,2226978,2227042,2227106,2227170,2227234,2227298,2227362]),new Uint32Array([23068672,6291456,6291456,6291456,6291456,2144066,2144130,2144194,2144258,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,23068672,23068672,23068672,6291456,23068672,23068672]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,0,0,0,0,0]),new Uint32Array([2124674,2124770,2123875,2123971,2124067,2124163,2124259,2124355,2124451,2124547,2124643,2124739,2124835,2124931,2125027,2125123]),new Uint32Array([2168065,6291456,2168097,6291456,2168129,6291456,2168161,6291456,2168193,6291456,2168225,6291456,2168257,6291456,2168289,6291456]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,0,0,0,0]),new Uint32Array([23068672,23068672,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,2100610,2100611,6291456,2107842,2107843,6291456,6291456,6291456,6291456,10537922,6291456,10537986,6291456]),new Uint32Array([2174849,2174881,2174913,2174945,2174977,2175009,2175041,2175073,2175105,2175137,2175169,2175201,2175233,2175265,2175297,2175329]),new Uint32Array([2154562,2154626,2154690,2154754,2141858,2154818,2154882,2127298,2154946,2127298,2155010,2155074,2155138,2155202,2155266,2155202]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,6291456,6291456,6291456,6291456,6291456,6291456,23068672,0]),new Uint32Array([2200641,2150786,2150850,2150914,2150978,2151042,2106562,2151106,2150562,2151170,2151234,2151298,2151362,2151426,2151490,2151554]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,23068672,0,0,0,0,0,0,0,0,6291456,6291456]),new Uint32Array([2220289,2220289,2220321,2220321,2220321,2220321,2220353,2220353,2220353,2220353,2220385,2220385,2220385,2220385,2220417,2220417]),new Uint32Array([2155330,2155394,0,2155458,2155522,2155586,2105732,0,2155650,2155714,2155778,2125314,2155842,2155906,2126274,2155970]),new Uint32Array([23068672,23068672,23068672,23068672,23068672,6291456,6291456,23068672,23068672,6291456,23068672,23068672,23068672,23068672,6291456,6291456]),new Uint32Array([6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,6291456,0,0,0,0,0,0]),new Uint32Array([2097729,2106017,2106017,2106017,2106017,2131297,2131297,2131297,2131297,2106081,2106081,2162049,2162049,2105953,2105953,2162337]),new Uint32Array([2097185,2097697,2097697,2097697,2097697,2135777,2135777,2135777,2135777,2097377,2097377,2097377,2097377,2097601,2097601,2097217]),new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,23068672]),new Uint32Array([2139331,2139427,2139523,2139043,2133571,2132611,2139619,2139715,0,0,0,0,0,0,0,0]),new Uint32Array([2174113,2174145,2100897,2098177,2108289,2100865,2173601,2173633,2173985,2174113,2174145,6291456,6291456,6291456,6291456,6291456]),new Uint32Array([6291456,6291456,23068672,6291456,6291456,6291456,23068672,6291456,6291456,6291456,6291456,23068672,6291456,6291456,6291456,6291456]),new Uint32Array([23068672,23068672,18923778,23068672,23068672,23068672,23068672,18923842,23068672,23068672,23068672,23068672,18923906,23068672,23068672,23068672]),new Uint32Array([2134145,2097153,2134241,0,2132705,2130977,2160065,2131297,0,2133089,0,2133857,0,0,0,0]),new Uint32Array([6291456,6291456,6291456,6291456,0,0,0,0,0,0,0,0,0,0,0,0]),new Uint32Array([2177537,6291456,2177569,6291456,2177601,6291456,2177633,6291456,2177665,6291456,2177697,6291456,2177729,6291456,2177761,6291456]),new Uint32Array([2212481,2212513,2212545,2212577,2197121,2212609,2212641,2212673,2212705,2212737,2212769,2212801,2212833,2212865,2212897,2212929]),new Uint32Array([6291456,6291456,23068672,23068672,23068672,6291456,6291456,0,0,0,0,0,0,0,0,0]),new Uint32Array([2098241,2108353,2170209,2105825,2111713,2100897,2111905,2105473,2105569,2105601,2112289,6291456,2108193,2172417,2112481,2098177]),new Uint32Array([6291456,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,23068672,6291456,6291456])],e=new Uint16Array([616,616,565,147,161,411,330,2,131,131,328,454,241,408,86,86,696,113,285,350,325,301,473,214,639,232,447,64,369,598,124,672,567,223,621,154,107,86,86,86,86,86,86,505,86,68,634,86,218,218,218,218,486,218,218,513,188,608,216,86,217,463,668,85,700,360,184,86,86,86,647,402,153,10,346,718,662,260,145,298,117,1,443,342,138,54,563,86,240,572,218,70,387,86,118,460,641,602,86,86,306,218,86,692,86,86,86,86,86,162,707,86,458,26,86,218,638,86,86,86,86,86,65,449,86,86,306,183,86,58,391,667,86,157,131,131,131,131,86,433,131,406,31,218,247,86,86,693,218,581,351,86,438,295,69,462,45,126,173,650,14,295,69,97,168,187,641,78,523,390,69,108,287,664,173,219,83,295,69,108,431,426,173,694,412,115,628,52,257,398,641,118,501,121,69,579,151,423,173,620,464,121,69,382,151,476,173,27,53,121,86,594,578,226,173,86,632,130,86,96,228,268,641,622,563,86,86,21,148,650,131,131,321,43,144,343,381,531,131,131,178,20,86,399,156,375,164,541,30,60,715,198,92,118,131,131,86,86,306,407,86,280,457,196,488,358,131,131,244,86,86,143,86,86,86,86,86,667,563,86,86,86,86,86,86,86,86,86,86,86,86,86,336,363,86,86,336,86,86,380,678,67,86,86,86,678,86,86,86,512,86,307,86,708,86,86,86,86,86,528,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,563,307,86,86,86,86,86,104,450,337,86,720,86,32,450,397,86,86,86,587,218,558,708,708,293,708,86,86,86,86,86,694,205,86,8,86,86,86,86,549,86,667,697,697,679,86,458,460,86,86,650,86,708,543,86,86,86,245,86,86,86,140,218,127,708,708,458,197,131,131,131,131,500,86,86,483,251,86,306,510,515,86,722,86,86,86,65,201,86,86,483,580,470,86,86,86,368,131,131,131,694,114,110,555,86,86,123,721,163,142,713,418,86,317,675,209,218,218,218,371,545,592,629,490,603,199,46,320,525,680,310,279,388,111,42,252,593,607,235,617,410,377,50,548,135,356,17,520,189,116,392,600,349,332,482,699,690,535,119,106,451,71,152,667,131,218,218,265,671,637,492,504,533,683,269,269,658,86,86,86,86,86,86,86,86,86,491,619,86,86,6,86,86,86,86,86,86,86,86,86,86,86,229,86,86,86,86,86,86,86,86,86,86,86,86,667,86,86,171,131,118,131,656,206,234,571,89,334,670,246,311,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,534,86,86,86,86,86,86,82,86,86,86,86,86,430,86,86,86,86,86,86,86,86,86,599,86,324,86,470,69,640,264,131,626,101,174,86,86,667,233,105,73,374,394,221,204,84,28,326,86,86,471,86,86,86,109,573,86,171,200,200,200,200,218,218,86,86,86,86,460,131,131,131,86,506,86,86,86,86,86,220,404,34,614,47,442,305,25,612,338,601,648,7,344,255,131,131,51,86,312,507,563,86,86,86,86,588,86,86,86,86,86,530,511,86,458,3,435,384,556,522,230,527,86,118,86,86,717,86,137,273,79,181,484,23,93,112,655,249,417,703,370,87,98,313,684,585,155,465,596,481,695,18,416,428,61,701,706,282,643,495,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,549,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,549,131,131,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,307,86,86,86,171,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,650,131,422,542,420,263,24,172,86,86,86,86,86,566,86,86,132,540,395,353,494,519,19,485,284,472,131,131,131,16,714,86,211,708,86,86,86,694,698,86,86,483,704,708,218,272,86,86,120,86,159,478,86,307,247,86,86,663,597,459,627,667,86,86,277,455,39,302,86,250,86,86,86,271,99,452,306,281,329,400,200,86,86,362,549,352,646,461,323,586,86,86,4,708,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,717,86,518,86,86,650,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,125,554,480,300,613,72,333,288,561,544,604,48,719,91,169,176,590,224,76,191,29,559,560,231,537,166,477,538,256,437,131,131,469,167,40,0,685,266,441,705,239,642,475,568,640,610,299,673,517,318,385,22,202,180,179,359,424,215,90,66,521,653,467,682,453,409,479,88,131,661,35,303,15,262,666,630,712,131,131,618,659,175,218,195,347,193,227,261,150,165,709,546,294,569,710,270,413,376,524,55,242,38,419,529,170,657,3,304,122,379,278,131,651,86,67,576,458,458,131,131,86,86,86,86,86,86,86,118,309,86,86,547,86,86,86,86,667,650,664,131,131,86,86,56,131,131,131,131,131,131,131,131,86,307,86,86,86,664,238,650,86,86,717,86,118,86,86,315,86,59,86,86,574,549,131,131,340,57,436,86,86,86,86,86,86,458,708,499,691,62,86,650,86,86,694,86,86,86,319,131,131,131,131,131,131,131,131,131,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,171,86,549,694,131,131,131,131,131,131,131,131,131,77,86,86,139,86,502,86,86,86,667,595,131,131,131,86,12,86,13,86,609,131,131,131,131,86,86,86,625,86,669,86,86,182,129,86,5,694,104,86,86,86,86,131,131,86,86,386,171,86,86,86,345,86,324,86,589,86,213,36,131,131,131,131,131,86,86,86,86,104,131,131,131,141,290,80,677,86,86,86,267,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,86,667,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,515,86,86,33,136,669,86,711,515,86,86,550,640,86,104,708,515,86,159,372,717,86,86,444,515,86,86,663,37,86,563,460,86,390,624,702,131,131,131,131,389,59,708,86,86,341,208,708,635,295,69,108,431,508,100,190,131,131,131,131,131,131,131,131,86,86,86,649,516,660,131,131,86,86,86,218,631,708,131,131,131,131,131,131,131,131,131,131,86,86,341,575,238,514,131,131,86,86,86,218,291,708,307,131,86,86,306,367,708,131,131,131,86,378,697,86,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,615,253,86,86,86,292,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,86,86,86,104,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,69,86,341,553,549,86,307,86,86,645,275,455,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,708,131,131,131,131,131,131,86,86,86,86,86,86,667,460,86,86,86,86,86,86,86,86,86,86,86,86,717,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,667,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,171,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,104,86,667,459,131,131,131,131,131,131,86,458,225,86,86,86,516,549,11,390,405,86,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,86,86,86,86,460,44,218,197,711,515,131,131,131,131,664,131,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,307,131,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,308,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,640,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,86,86,86,86,86,86,118,307,104,286,591,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,549,86,86,681,86,86,75,185,314,582,86,358,496,474,86,104,131,86,86,86,86,146,131,131,131,131,131,131,131,131,131,131,131,86,86,86,86,86,171,86,640,131,131,131,131,131,131,131,131,246,503,689,339,674,81,258,415,439,128,562,366,414,246,503,689,583,222,557,316,636,665,186,355,95,670,246,503,689,339,674,557,258,415,439,186,355,95,670,246,503,689,446,644,536,652,331,532,335,440,274,421,297,570,74,425,364,425,606,552,403,509,134,365,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,218,218,218,498,218,218,577,627,551,497,572,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,553,354,236,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,86,86,86,86,86,86,86,86,86,86,86,86,296,455,131,131,456,243,103,86,41,459,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,9,276,158,716,393,564,383,489,401,654,210,654,131,131,131,640,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,86,86,650,86,86,86,86,86,86,717,667,563,563,563,86,549,102,686,133,246,605,86,448,86,86,207,307,131,131,131,641,86,177,611,445,373,194,584,131,131,131,131,131,131,131,131,131,131,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,308,307,171,86,86,86,86,86,86,86,717,86,86,86,86,86,460,131,131,650,86,86,86,694,708,86,86,694,86,458,131,131,131,131,131,131,667,694,289,650,667,131,131,86,640,131,131,664,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,171,131,131,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,460,86,86,86,86,86,86,86,86,86,86,86,86,86,458,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,86,640,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,466,203,149,429,94,432,160,687,539,63,237,283,192,248,348,259,427,526,396,676,254,468,487,212,327,623,49,633,322,493,434,688,357,361,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131,131]),{mapStr:"صلى الله عليه وسلمجل جلالهキロメートルrad∕s2エスクードキログラムキロワットグラムトンクルゼイロサンチームパーセントピアストルファラッドブッシェルヘクタールマンションミリバールレントゲン′′′′1⁄10viii(10)(11)(12)(13)(14)(15)(16)(17)(18)(19)(20)∫∫∫∫(오전)(오후)アパートアルファアンペアイニングエーカーカラットカロリーキュリーギルダークローネサイクルシリングバーレルフィートポイントマイクロミクロンメガトンリットルルーブル株式会社kcalm∕s2c∕kgاكبرمحمدصلعمرسولریال1⁄41⁄23⁄4 ̈́ྲཱྀླཱྀ ̈͂ ̓̀ ̓́ ̓͂ ̔̀ ̔́ ̔͂ ̈̀‵‵‵a/ca/sc/oc/utelfax1⁄71⁄91⁄32⁄31⁄52⁄53⁄54⁄51⁄65⁄61⁄83⁄85⁄87⁄8xii0⁄3∮∮∮(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)::====(ᄀ)(ᄂ)(ᄃ)(ᄅ)(ᄆ)(ᄇ)(ᄉ)(ᄋ)(ᄌ)(ᄎ)(ᄏ)(ᄐ)(ᄑ)(ᄒ)(가)(나)(다)(라)(마)(바)(사)(아)(자)(차)(카)(타)(파)(하)(주)(一)(二)(三)(四)(五)(六)(七)(八)(九)(十)(月)(火)(水)(木)(金)(土)(日)(株)(有)(社)(名)(特)(財)(祝)(労)(代)(呼)(学)(監)(企)(資)(協)(祭)(休)(自)(至)pte10月11月12月ergltdアールインチウォンオンスオームカイリガロンガンマギニーケースコルナコーポセンチダースノットハイツパーツピクルフランペニヒヘルツペンスページベータボルトポンドホールホーンマイルマッハマルクヤードヤールユアンルピー10点11点12点13点14点15点16点17点18点19点20点21点22点23点24点hpabardm2dm3khzmhzghzthzmm2cm2km2mm3cm3km3kpampagpalogmilmolppmv∕ma∕m10日11日12日13日14日15日16日17日18日19日20日21日22日23日24日25日26日27日28日29日30日31日galffifflשּׁשּׂ ٌّ ٍّ َّ ُّ ِّ ّٰـَّـُّـِّتجمتحجتحمتخمتمجتمحتمخجمححميحمىسحجسجحسجىسمحسمجسممصححصممشحمشجيشمخشممضحىضخمطمحطممطميعجمعممعمىغممغميغمىفخمقمحقمملحملحيلحىلججلخملمحمحجمحيمجحمجممخممجخهمجهممنحمنحىنجمنجىنمينمىيممبخيتجيتجىتخيتخىتميتمىجميجحىجمىسخىصحيشحيضحيلجيلمييحييجييميمميقمينحيعميكمينجحمخيلجمكممجحيحجيمجيفميبحيسخينجيصلےقلے𝅘𝅥𝅮𝅘𝅥𝅯𝅘𝅥𝅰𝅘𝅥𝅱𝅘𝅥𝅲𝆹𝅥𝅮𝆺𝅥𝅮𝆹𝅥𝅯𝆺𝅥𝅯〔s〕ppv〔本〕〔三〕〔二〕〔安〕〔点〕〔打〕〔盗〕〔勝〕〔敗〕 ̄ ́ ̧ssi̇ijl·ʼndžljnjdz ̆ ̇ ̊ ̨ ̃ ̋ ιեւاٴوٴۇٴيٴक़ख़ग़ज़ड़ढ़फ़य़ড়ঢ়য়ਲ਼ਸ਼ਖ਼ਗ਼ਜ਼ਫ਼ଡ଼ଢ଼ําໍາຫນຫມགྷཌྷདྷབྷཛྷཀྵཱཱིུྲྀླྀྒྷྜྷྡྷྦྷྫྷྐྵaʾἀιἁιἂιἃιἄιἅιἆιἇιἠιἡιἢιἣιἤιἥιἦιἧιὠιὡιὢιὣιὤιὥιὦιὧιὰιαιάιᾶι ͂ὴιηιήιῆιὼιωιώιῶι ̳!! ̅???!!?rs°c°fnosmtmivix⫝̸ ゙ ゚よりコト333435참고주의363738394042444546474849503月4月5月6月7月8月9月hgevギガデシドルナノピコビルペソホンリラレムdaauovpciu平成昭和大正明治naμakakbmbgbpfnfμfμgmgμlmldlklfmnmμmpsnsμsmsnvμvkvpwnwμwmwkwkωmωbqcccddbgyhainkkktlnlxphprsrsvwbstմնմեմիվնմխיִײַשׁשׂאַאָאּבּגּדּהּוּזּטּיּךּכּלּמּנּסּףּפּצּקּרּתּוֹבֿכֿפֿאלئائەئوئۇئۆئۈئېئىئجئحئمئيبجبمبىبيتىتيثجثمثىثيخحضجضمطحظمغجفجفحفىفيقحقىقيكاكجكحكخكلكىكينخنىنيهجهىهييىذٰرٰىٰئرئزئنبزبنترتزتنثرثزثنمانرنزننيريزئخئهبهتهصخنههٰثهسهشهطىطيعىعيغىغيسىسيشىشيصىصيضىضيشخشرسرصرضراً ًـًـّ ْـْلآلألإ𝅗𝅥0,1,2,3,4,5,6,7,8,9,wzhvsdwcmcmddjほかココàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþāăąćĉċčďđēĕėęěĝğġģĥħĩīĭįĵķĺļľłńņňŋōŏőœŕŗřśŝşšţťŧũūŭůűųŵŷÿźżɓƃƅɔƈɖɗƌǝəɛƒɠɣɩɨƙɯɲɵơƣƥʀƨʃƭʈưʊʋƴƶʒƹƽǎǐǒǔǖǘǚǜǟǡǣǥǧǩǫǭǯǵƕƿǹǻǽǿȁȃȅȇȉȋȍȏȑȓȕȗșțȝȟƞȣȥȧȩȫȭȯȱȳⱥȼƚⱦɂƀʉʌɇɉɋɍɏɦɹɻʁʕͱͳʹͷ;ϳέίόύβγδεζθκλνξοπρστυφχψϊϋϗϙϛϝϟϡϣϥϧϩϫϭϯϸϻͻͼͽѐёђѓєѕіїјљњћќѝўџабвгдежзийклмнопрстуфхцчшщъыьэюяѡѣѥѧѩѫѭѯѱѳѵѷѹѻѽѿҁҋҍҏґғҕҗҙқҝҟҡңҥҧҩҫҭүұҳҵҷҹһҽҿӂӄӆӈӊӌӎӑӓӕӗәӛӝӟӡӣӥӧөӫӭӯӱӳӵӷӹӻӽӿԁԃԅԇԉԋԍԏԑԓԕԗԙԛԝԟԡԣԥԧԩԫԭԯաբգդզէըթժլծկհձղճյշոչպջռստրցփքօֆ་ⴧⴭნᏰᏱᏲᏳᏴᏵꙋɐɑᴂɜᴖᴗᴝᴥɒɕɟɡɥɪᵻʝɭᶅʟɱɰɳɴɸʂƫᴜʐʑḁḃḅḇḉḋḍḏḑḓḕḗḙḛḝḟḡḣḥḧḩḫḭḯḱḳḵḷḹḻḽḿṁṃṅṇṉṋṍṏṑṓṕṗṙṛṝṟṡṣṥṧṩṫṭṯṱṳṵṷṹṻṽṿẁẃẅẇẉẋẍẏẑẓẕạảấầẩẫậắằẳẵặẹẻẽếềểễệỉịọỏốồổỗộớờởỡợụủứừửữựỳỵỷỹỻỽỿἐἑἒἓἔἕἰἱἲἳἴἵἶἷὀὁὂὃὄὅὑὓὕὗᾰᾱὲΐῐῑὶΰῠῡὺῥ`ὸ‐+−∑〈〉ⰰⰱⰲⰳⰴⰵⰶⰷⰸⰹⰺⰻⰼⰽⰾⰿⱀⱁⱂⱃⱄⱅⱆⱇⱈⱉⱊⱋⱌⱍⱎⱏⱐⱑⱒⱓⱔⱕⱖⱗⱘⱙⱚⱛⱜⱝⱞⱡɫᵽɽⱨⱪⱬⱳⱶȿɀⲁⲃⲅⲇⲉⲋⲍⲏⲑⲓⲕⲗⲙⲛⲝⲟⲡⲣⲥⲧⲩⲫⲭⲯⲱⲳⲵⲷⲹⲻⲽⲿⳁⳃⳅⳇⳉⳋⳍⳏⳑⳓⳕⳗⳙⳛⳝⳟⳡⳣⳬⳮⳳⵡ母龟丨丶丿乙亅亠人儿入冂冖冫几凵刀力勹匕匚匸卜卩厂厶又口囗士夂夊夕女子宀寸小尢尸屮山巛工己巾干幺广廴廾弋弓彐彡彳心戈戶手支攴文斗斤方无曰欠止歹殳毋比毛氏气爪父爻爿片牙牛犬玄玉瓜瓦甘生用田疋疒癶白皮皿目矛矢石示禸禾穴立竹米糸缶网羊羽老而耒耳聿肉臣臼舌舛舟艮色艸虍虫血行衣襾見角言谷豆豕豸貝赤走足身車辛辰辵邑酉釆里長門阜隶隹雨靑非面革韋韭音頁風飛食首香馬骨高髟鬥鬯鬲鬼魚鳥鹵鹿麥麻黃黍黑黹黽鼎鼓鼠鼻齊齒龍龜龠.〒卄卅ᄁᆪᆬᆭᄄᆰᆱᆲᆳᆴᆵᄚᄈᄡᄊ짜ᅢᅣᅤᅥᅦᅧᅨᅩᅪᅫᅬᅭᅮᅯᅰᅱᅲᅳᅴᅵᄔᄕᇇᇈᇌᇎᇓᇗᇙᄜᇝᇟᄝᄞᄠᄢᄣᄧᄩᄫᄬᄭᄮᄯᄲᄶᅀᅇᅌᇱᇲᅗᅘᅙᆄᆅᆈᆑᆒᆔᆞᆡ上中下甲丙丁天地問幼箏우秘男適優印注項写左右医宗夜テヌモヨヰヱヲꙁꙃꙅꙇꙉꙍꙏꙑꙓꙕꙗꙙꙛꙝꙟꙡꙣꙥꙧꙩꙫꙭꚁꚃꚅꚇꚉꚋꚍꚏꚑꚓꚕꚗꚙꚛꜣꜥꜧꜩꜫꜭꜯꜳꜵꜷꜹꜻꜽꜿꝁꝃꝅꝇꝉꝋꝍꝏꝑꝓꝕꝗꝙꝛꝝꝟꝡꝣꝥꝧꝩꝫꝭꝯꝺꝼᵹꝿꞁꞃꞅꞇꞌꞑꞓꞗꞙꞛꞝꞟꞡꞣꞥꞧꞩɬʞʇꭓꞵꞷꬷꭒᎠᎡᎢᎣᎤᎥᎦᎧᎨᎩᎪᎫᎬᎭᎮᎯᎰᎱᎲᎳᎴᎵᎶᎷᎸᎹᎺᎻᎼᎽᎾᎿᏀᏁᏂᏃᏄᏅᏆᏇᏈᏉᏊᏋᏌᏍᏎᏏᏐᏑᏒᏓᏔᏕᏖᏗᏘᏙᏚᏛᏜᏝᏞᏟᏠᏡᏢᏣᏤᏥᏦᏧᏨᏩᏪᏫᏬᏭᏮᏯ豈更賈滑串句契喇奈懶癩羅蘿螺裸邏樂洛烙珞落酪駱亂卵欄爛蘭鸞嵐濫藍襤拉臘蠟廊朗浪狼郎來冷勞擄櫓爐盧蘆虜路露魯鷺碌祿綠菉錄論壟弄籠聾牢磊賂雷壘屢樓淚漏累縷陋勒肋凜凌稜綾菱陵讀拏諾丹寧怒率異北磻便復不泌數索參塞省葉說殺沈拾若掠略亮兩凉梁糧良諒量勵呂廬旅濾礪閭驪麗黎曆歷轢年憐戀撚漣煉璉秊練聯輦蓮連鍊列劣咽烈裂廉念捻殮簾獵令囹嶺怜玲瑩羚聆鈴零靈領例禮醴隸惡了僚寮尿料燎療蓼遼暈阮劉杻柳流溜琉留硫紐類戮陸倫崙淪輪律慄栗隆利吏履易李梨泥理痢罹裏裡離匿溺吝燐璘藺隣鱗麟林淋臨笠粒狀炙識什茶刺切度拓糖宅洞暴輻降廓兀嗀塚晴凞猪益礼神祥福靖精蘒諸逸都飯飼館鶴郞隷侮僧免勉勤卑喝嘆器塀墨層悔慨憎懲敏既暑梅海渚漢煮爫琢碑祉祈祐祖禍禎穀突節縉繁署者臭艹著褐視謁謹賓贈辶難響頻恵𤋮舘並况全侀充冀勇勺啕喙嗢墳奄奔婢嬨廒廙彩徭惘慎愈慠戴揄搜摒敖望杖滛滋瀞瞧爵犯瑱甆画瘝瘟盛直睊着磌窱类絛缾荒華蝹襁覆調請諭變輸遲醙鉶陼韛頋鬒𢡊𢡄𣏕㮝䀘䀹𥉉𥳐𧻓齃龎עםٱٻپڀٺٿٹڤڦڄڃچڇڍڌڎڈژڑکگڳڱںڻۀہھۓڭۋۅۉ、〖〗—–_{}【】《》「」『』[]#&*-<>\\$%@ءؤة\"'^|~⦅⦆・ゥャ¢£¬¦¥₩│←↑→↓■○𐐨𐐩𐐪𐐫𐐬𐐭𐐮𐐯𐐰𐐱𐐲𐐳𐐴𐐵𐐶𐐷𐐸𐐹𐐺𐐻𐐼𐐽𐐾𐐿𐑀𐑁𐑂𐑃𐑄𐑅𐑆𐑇𐑈𐑉𐑊𐑋𐑌𐑍𐑎𐑏𐓘𐓙𐓚𐓛𐓜𐓝𐓞𐓟𐓠𐓡𐓢𐓣𐓤𐓥𐓦𐓧𐓨𐓩𐓪𐓫𐓬𐓭𐓮𐓯𐓰𐓱𐓲𐓳𐓴𐓵𐓶𐓷𐓸𐓹𐓺𐓻𐳀𐳁𐳂𐳃𐳄𐳅𐳆𐳇𐳈𐳉𐳊𐳋𐳌𐳍𐳎𐳏𐳐𐳑𐳒𐳓𐳔𐳕𐳖𐳗𐳘𐳙𐳚𐳛𐳜𐳝𐳞𐳟𐳠𐳡𐳢𐳣𐳤𐳥𐳦𐳧𐳨𐳩𐳪𐳫𐳬𐳭𐳮𐳯𐳰𐳱𐳲𑣀𑣁𑣂𑣃𑣄𑣅𑣆𑣇𑣈𑣉𑣊𑣋𑣌𑣍𑣎𑣏𑣐𑣑𑣒𑣓𑣔𑣕𑣖𑣗𑣘𑣙𑣚𑣛𑣜𑣝𑣞𑣟ıȷ∇∂𞤢𞤣𞤤𞤥𞤦𞤧𞤨𞤩𞤪𞤫𞤬𞤭𞤮𞤯𞤰𞤱𞤲𞤳𞤴𞤵𞤶𞤷𞤸𞤹𞤺𞤻𞤼𞤽𞤾𞤿𞥀𞥁𞥂𞥃ٮڡٯ字双多解交映無前後再新初終販声吹演投捕遊指禁空合満申割営配得可丽丸乁𠄢你侻倂偺備像㒞𠘺兔兤具𠔜㒹內𠕋冗冤仌冬𩇟刃㓟刻剆剷㔕包匆卉博即卽卿𠨬灰及叟𠭣叫叱吆咞吸呈周咢哶唐啓啣善喫喳嗂圖圗噑噴壮城埴堍型堲報墬𡓤売壷夆夢奢𡚨𡛪姬娛娧姘婦㛮嬈嬾𡧈寃寘寳𡬘寿将㞁屠峀岍𡷤嵃𡷦嵮嵫嵼巡巢㠯巽帨帽幩㡢𢆃㡼庰庳庶𪎒𢌱舁弢㣇𣊸𦇚形彫㣣徚忍志忹悁㤺㤜𢛔惇慈慌慺憲憤憯懞戛扝抱拔捐𢬌挽拼捨掃揤𢯱搢揅掩㨮摩摾撝摷㩬敬𣀊旣書晉㬙㬈㫤冒冕最暜肭䏙朡杞杓𣏃㭉柺枅桒𣑭梎栟椔楂榣槪檨𣚣櫛㰘次𣢧歔㱎歲殟殻𣪍𡴋𣫺汎𣲼沿泍汧洖派浩浸涅𣴞洴港湮㴳滇𣻑淹潮𣽞𣾎濆瀹瀛㶖灊災灷炭𠔥煅𤉣熜爨牐𤘈犀犕𤜵𤠔獺王㺬玥㺸瑇瑜璅瓊㼛甤𤰶甾𤲒𢆟瘐𤾡𤾸𥁄㿼䀈𥃳𥃲𥄙𥄳眞真瞋䁆䂖𥐝硎䃣𥘦𥚚𥛅秫䄯穊穏𥥼𥪧䈂𥮫篆築䈧𥲀糒䊠糨糣紀𥾆絣䌁緇縂繅䌴𦈨𦉇䍙𦋙罺𦌾羕翺𦓚𦔣聠𦖨聰𣍟䏕育脃䐋脾媵𦞧𦞵𣎓𣎜舄辞䑫芑芋芝劳花芳芽苦𦬼茝荣莭茣莽菧荓菊菌菜𦰶𦵫𦳕䔫蓱蓳蔖𧏊蕤𦼬䕝䕡𦾱𧃒䕫虐虧虩蚩蚈蜎蛢蜨蝫螆蟡蠁䗹衠𧙧裗裞䘵裺㒻𧢮𧥦䚾䛇誠𧲨貫賁贛起𧼯𠠄跋趼跰𠣞軔𨗒𨗭邔郱鄑𨜮鄛鈸鋗鋘鉼鏹鐕𨯺開䦕閷𨵷䧦雃嶲霣𩅅𩈚䩮䩶韠𩐊䪲𩒖頩𩖶飢䬳餩馧駂駾䯎𩬰鱀鳽䳎䳭鵧𪃎䳸𪄅𪈎𪊑䵖黾鼅鼏鼖𪘀",mapChar:function(r){return r>=196608?r>=917760&&r<=917999?18874368:0:t[e[r>>4]][15&r]}};var t,e}.apply(e,[]))||(t.exports=n)},94489:(t,e,r)=>{"use strict";var n=r(28847)(r(93106));function i(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return o(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return s=t.done,t},e:function(t){u=!0,a=t},f:function(){try{s||null==r.return||r.return()}finally{if(u)throw a}}}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var a=2147483647,s=36,u=/^xn--/,c=/[^\0-\x7E]/,l=/[\x2E\u3002\uFF0E\uFF61]/g,h={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},f=Math.floor,d=String.fromCharCode;function p(t){throw new RangeError(h[t])}function m(t,e){var r=t.split("@"),n="";r.length>1&&(n=r[0]+"@",t=r[1]);var i=function(t,e){for(var r=[],n=t.length;n--;)r[n]=e(t[n]);return r}((t=t.replace(l,".")).split("."),e).join(".");return n+i}function g(t){for(var e=[],r=0,n=t.length;r<n;){var i=t.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){var o=t.charCodeAt(r++);56320==(64512&o)?e.push(((1023&i)<<10)+(1023&o)+65536):(e.push(i),r--)}else e.push(i)}return e}var y=function(t,e){return t+22+75*(t<26)-((0!=e)<<5)},v=function(t,e,r){var n=0;for(t=r?f(t/700):t>>1,t+=f(t/e);t>455;n+=s)t=f(t/35);return f(n+36*t/(t+38))},b=function(t){var e,r=[],n=t.length,i=0,o=128,u=72,c=t.lastIndexOf("-");c<0&&(c=0);for(var l=0;l<c;++l)t.charCodeAt(l)>=128&&p("not-basic"),r.push(t.charCodeAt(l));for(var h=c>0?c+1:0;h<n;){for(var d=i,m=1,g=s;;g+=s){h>=n&&p("invalid-input");var y=(e=t.charCodeAt(h++))-48<10?e-22:e-65<26?e-65:e-97<26?e-97:s;(y>=s||y>f((a-i)/m))&&p("overflow"),i+=y*m;var b=g<=u?1:g>=u+26?26:g-u;if(y<b)break;var _=s-b;m>f(a/_)&&p("overflow"),m*=_}var w=r.length+1;u=v(i-d,w,0==d),f(i/w)>a-o&&p("overflow"),o+=f(i/w),i%=w,r.splice(i++,0,o)}return String.fromCodePoint.apply(String,r)},_=function(t){var e,r=[],n=(t=g(t)).length,o=128,u=0,c=72,l=i(t);try{for(l.s();!(e=l.n()).done;){var h=e.value;h<128&&r.push(d(h))}}catch(t){l.e(t)}finally{l.f()}var m=r.length,b=m;for(m&&r.push("-");b<n;){var _,w=a,x=i(t);try{for(x.s();!(_=x.n()).done;){var k=_.value;k>=o&&k<w&&(w=k)}}catch(t){x.e(t)}finally{x.f()}var S=b+1;w-o>f((a-u)/S)&&p("overflow"),u+=(w-o)*S,o=w;var E,M=i(t);try{for(M.s();!(E=M.n()).done;){var A=E.value;if(A<o&&++u>a&&p("overflow"),A==o){for(var T=u,C=s;;C+=s){var L=C<=c?1:C>=c+26?26:C-c;if(T<L)break;var P=T-L,O=s-L;r.push(d(y(L+P%O,0))),T=f(P/O)}r.push(d(y(T,0))),c=v(u,S,b==m),u=0,++b}}}catch(t){M.e(t)}finally{M.f()}++u,++o}return r.join("")},w={version:"2.1.0",ucs2:{decode:g,encode:function(t){return String.fromCodePoint.apply(String,(0,n.default)(t))}},decode:b,encode:_,toASCII:function(t){return m(t,(function(t){return c.test(t)?"xn--"+_(t):t}))},toUnicode:function(t){return m(t,(function(t){return u.test(t)?b(t.slice(4).toLowerCase()):t}))}};t.exports=w},3956:(t,e,r)=>{"use strict";var n,i;r(28847)(r(3355)),n=[r(94489),r(32996)],void 0===(i=function(t,e){return function(t,e){function r(r,n,i){for(var o=[],a=t.ucs2.decode(r),s=0;s<a.length;s++){var u=a[s],c=t.ucs2.encode([a[s]]),l=e.mapChar(u),h=l>>23,f=l>>21&3,d=l>>5&65535,p=31&l,m=e.mapStr.substr(d,p);if(0===f||n&&1&h)throw new Error("Illegal char "+c);1===f?o.push(m):2===f?o.push(i?m:c):3===f&&o.push(c)}return o.join("").normalize("NFC")}function n(e,n,o){void 0===o&&(o=!1);var a=r(e,o,n).split(".");return(a=a.map((function(e){return e.startsWith("xn--")?i(e=t.decode(e.substring(4)),o,!1):i(e,o,n),e}))).join(".")}function i(t,n,i){if("-"===t[2]&&"-"===t[3])throw new Error("Failed to validate "+t);if(t.startsWith("-")||t.endsWith("-"))throw new Error("Failed to validate "+t);if(t.includes("."))throw new Error("Failed to validate "+t);if(r(t,n,i)!==t)throw new Error("Failed to validate "+t);var o=t.codePointAt(0);if(e.mapChar(o)&2<<23)throw new Error("Label contains illegal character: "+o)}return{toUnicode:function(t,e){return void 0===e&&(e={}),n(t,!1,"useStd3ASCII"in e&&e.useStd3ASCII)},toAscii:function(e,r){void 0===r&&(r={});var i,o=!("transitional"in r)||r.transitional,a="useStd3ASCII"in r&&r.useStd3ASCII,s="verifyDnsLength"in r&&r.verifyDnsLength,u=n(e,o,a).split(".").map(t.toASCII),c=u.join(".");if(s){if(c.length<1||c.length>253)throw new Error("DNS name has wrong length: "+c);for(i=0;i<u.length;i++){var l=u[i];if(l.length<1||l.length>63)throw new Error("DNS label has wrong length: "+l)}}return c}}}(t,e)}.apply(e,n))||(t.exports=i)},83226:(t,e)=>{"use strict";e.read=function(t,e,r,n,i){var o,a,s=8*i-n-1,u=(1<<s)-1,c=u>>1,l=-7,h=r?i-1:0,f=r?-1:1,d=t[e+h];for(h+=f,o=d&(1<<-l)-1,d>>=-l,l+=s;l>0;o=256*o+t[e+h],h+=f,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=n;l>0;a=256*a+t[e+h],h+=f,l-=8);if(0===o)o=1-c;else{if(o===u)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,n),o-=c}return(d?-1:1)*a*Math.pow(2,o-n)},e.write=function(t,e,r,n,i,o){var a,s,u,c=8*o-i-1,l=(1<<c)-1,h=l>>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:o-1,p=n?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=l):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),(e+=a+h>=1?f/u:f*Math.pow(2,1-h))*u>=2&&(a++,u/=2),a+h>=l?(s=0,a=l):a+h>=1?(s=(e*u-1)*Math.pow(2,i),a+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,i),a=0));i>=8;t[r+d]=255&s,d+=p,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;t[r+d]=255&a,d+=p,a/=256,c-=8);t[r+d-p]|=128*m}},41736:t=>{"use strict";"function"==typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}}},69446:(t,e,r)=>{"use strict";var n=r(28847)(r(3355)),i=r(11191)(),o=r(80593)("Object.prototype.toString"),a=function(t){return!(i&&t&&"object"===(0,n.default)(t)&&Symbol.toStringTag in t)&&"[object Arguments]"===o(t)},s=function(t){return!!a(t)||null!==t&&"object"===(0,n.default)(t)&&"number"==typeof t.length&&t.length>=0&&"[object Array]"!==o(t)&&"[object Function]"===o(t.callee)},u=function(){return a(arguments)}();a.isLegacyArguments=s,t.exports=u?a:s},41493:(t,e,r)=>{"use strict";var n,i,o=r(28847)(r(3355)),a=Function.prototype.toString,s="object"===("undefined"==typeof Reflect?"undefined":(0,o.default)(Reflect))&&null!==Reflect&&Reflect.apply;if("function"==typeof s&&"function"==typeof Object.defineProperty)try{n=Object.defineProperty({},"length",{get:function(){throw i}}),i={},s((function(){throw 42}),null,n)}catch(t){t!==i&&(s=null)}else s=null;var u=/^\s*class\b/,c=function(t){try{var e=a.call(t);return u.test(e)}catch(t){return!1}},l=function(t){try{return!c(t)&&(a.call(t),!0)}catch(t){return!1}},h=Object.prototype.toString,f="function"==typeof Symbol&&!!Symbol.toStringTag,d=!(0 in[,]),p=function(){return!1};if("object"===("undefined"==typeof document?"undefined":(0,o.default)(document))){var m=document.all;h.call(m)===h.call(document.all)&&(p=function(t){if((d||!t)&&(void 0===t||"object"===(0,o.default)(t)))try{var e=h.call(t);return("[object HTMLAllCollection]"===e||"[object HTML document.all class]"===e||"[object HTMLCollection]"===e||"[object Object]"===e)&&null==t("")}catch(t){}return!1})}t.exports=s?function(t){if(p(t))return!0;if(!t)return!1;if("function"!=typeof t&&"object"!==(0,o.default)(t))return!1;try{s(t,null,n)}catch(t){if(t!==i)return!1}return!c(t)&&l(t)}:function(t){if(p(t))return!0;if(!t)return!1;if("function"!=typeof t&&"object"!==(0,o.default)(t))return!1;if(f)return l(t);if(c(t))return!1;var e=h.call(t);return!("[object Function]"!==e&&"[object GeneratorFunction]"!==e&&!/^\[object HTML/.test(e))&&l(t)}},27277:t=>{"use strict";t.exports=function(t){if(!t)return!1;var r=e.call(t);return"[object Function]"===r||"function"==typeof t&&"[object RegExp]"!==r||"undefined"!=typeof window&&(t===window.setTimeout||t===window.alert||t===window.confirm||t===window.prompt)};var e=Object.prototype.toString},14477:(t,e,r)=>{"use strict";var n,i=Object.prototype.toString,o=Function.prototype.toString,a=/^\s*(?:function)?\*/,s=r(11191)(),u=Object.getPrototypeOf;t.exports=function(t){if("function"!=typeof t)return!1;if(a.test(o.call(t)))return!0;if(!s)return"[object GeneratorFunction]"===i.call(t);if(!u)return!1;if(void 0===n){var e=function(){if(!s)return!1;try{return Function("return function*() {}")()}catch(t){}}();n=!!e&&u(e)}return u(t)===n}},8619:(t,e,r)=>{"use strict";var n=r(28847)(r(3355));t.exports=function(t){if("string"!=typeof t)throw new Error("[is-hex-prefixed] value must be type 'string', is currently type "+(0,n.default)(t)+", while checking isHexPrefixed.");return"0x"===t.slice(0,2)}},28915:(t,e,r)=>{"use strict";var n=r(72337);t.exports=function(t){return!!n(t)}},39484:t=>{"use strict";var e={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==e.call(t)}},24858:(t,e,r)=>{"use strict";t=r.nmd(t);var n=r(19142),i=r(28847)(r(3355));!function(){var e="object"===("undefined"==typeof window?"undefined":(0,i.default)(window))?window:{};!e.JS_SHA3_NO_NODE_JS&&"object"===(void 0===n?"undefined":(0,i.default)(n))&&n.versions&&n.versions.node&&(e=r.g);for(var o=!e.JS_SHA3_NO_COMMON_JS&&"object"===(0,i.default)(t)&&t.exports,a="0123456789abcdef".split(""),s=[0,8,16,24],u=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],c=[224,256,384,512],l=["hex","buffer","arrayBuffer","array"],h=function(t,e,r){return function(n){return new x(t,e,t).update(n)[r]()}},f=function(t,e,r){return function(n,i){return new x(t,e,i).update(n)[r]()}},d=function(t,e){var r=h(t,e,"hex");r.create=function(){return new x(t,e,t)},r.update=function(t){return r.create().update(t)};for(var n=0;n<l.length;++n){var i=l[n];r[i]=h(t,e,i)}return r},p=[{name:"keccak",padding:[1,256,65536,16777216],bits:c,createMethod:d},{name:"sha3",padding:[6,1536,393216,100663296],bits:c,createMethod:d},{name:"shake",padding:[31,7936,2031616,520093696],bits:[128,256],createMethod:function(t,e){var r=f(t,e,"hex");r.create=function(r){return new x(t,e,r)},r.update=function(t,e){return r.create(e).update(t)};for(var n=0;n<l.length;++n){var i=l[n];r[i]=f(t,e,i)}return r}}],m={},g=[],y=0;y<p.length;++y)for(var v=p[y],b=v.bits,_=0;_<b.length;++_){var w=v.name+"_"+b[_];g.push(w),m[w]=v.createMethod(b[_],v.padding)}function x(t,e,r){this.blocks=[],this.s=[],this.padding=e,this.outputBits=r,this.reset=!0,this.block=0,this.start=0,this.blockCount=1600-(t<<1)>>5,this.byteCount=this.blockCount<<2,this.outputBlocks=r>>5,this.extraBytes=(31&r)>>3;for(var n=0;n<50;++n)this.s[n]=0}x.prototype.update=function(t){var e="string"!=typeof t;e&&t.constructor===ArrayBuffer&&(t=new Uint8Array(t));for(var r,n,i=t.length,o=this.blocks,a=this.byteCount,u=this.blockCount,c=0,l=this.s;c<i;){if(this.reset)for(this.reset=!1,o[0]=this.block,r=1;r<u+1;++r)o[r]=0;if(e)for(r=this.start;c<i&&r<a;++c)o[r>>2]|=t[c]<<s[3&r++];else for(r=this.start;c<i&&r<a;++c)(n=t.charCodeAt(c))<128?o[r>>2]|=n<<s[3&r++]:n<2048?(o[r>>2]|=(192|n>>6)<<s[3&r++],o[r>>2]|=(128|63&n)<<s[3&r++]):n<55296||n>=57344?(o[r>>2]|=(224|n>>12)<<s[3&r++],o[r>>2]|=(128|n>>6&63)<<s[3&r++],o[r>>2]|=(128|63&n)<<s[3&r++]):(n=65536+((1023&n)<<10|1023&t.charCodeAt(++c)),o[r>>2]|=(240|n>>18)<<s[3&r++],o[r>>2]|=(128|n>>12&63)<<s[3&r++],o[r>>2]|=(128|n>>6&63)<<s[3&r++],o[r>>2]|=(128|63&n)<<s[3&r++]);if(this.lastByteIndex=r,r>=a){for(this.start=r-a,this.block=o[u],r=0;r<u;++r)l[r]^=o[r];k(l),this.reset=!0}else this.start=r}return this},x.prototype.finalize=function(){var t=this.blocks,e=this.lastByteIndex,r=this.blockCount,n=this.s;if(t[e>>2]|=this.padding[3&e],this.lastByteIndex===this.byteCount)for(t[0]=t[r],e=1;e<r+1;++e)t[e]=0;for(t[r-1]|=2147483648,e=0;e<r;++e)n[e]^=t[e];k(n)},x.prototype.toString=x.prototype.hex=function(){this.finalize();for(var t,e=this.blockCount,r=this.s,n=this.outputBlocks,i=this.extraBytes,o=0,s=0,u="";s<n;){for(o=0;o<e&&s<n;++o,++s)t=r[o],u+=a[t>>4&15]+a[15&t]+a[t>>12&15]+a[t>>8&15]+a[t>>20&15]+a[t>>16&15]+a[t>>28&15]+a[t>>24&15];s%e==0&&(k(r),o=0)}return i&&(t=r[o],i>0&&(u+=a[t>>4&15]+a[15&t]),i>1&&(u+=a[t>>12&15]+a[t>>8&15]),i>2&&(u+=a[t>>20&15]+a[t>>16&15])),u},x.prototype.arrayBuffer=function(){this.finalize();var t,e=this.blockCount,r=this.s,n=this.outputBlocks,i=this.extraBytes,o=0,a=0,s=this.outputBits>>3;t=i?new ArrayBuffer(n+1<<2):new ArrayBuffer(s);for(var u=new Uint32Array(t);a<n;){for(o=0;o<e&&a<n;++o,++a)u[a]=r[o];a%e==0&&k(r)}return i&&(u[o]=r[o],t=t.slice(0,s)),t},x.prototype.buffer=x.prototype.arrayBuffer,x.prototype.digest=x.prototype.array=function(){this.finalize();for(var t,e,r=this.blockCount,n=this.s,i=this.outputBlocks,o=this.extraBytes,a=0,s=0,u=[];s<i;){for(a=0;a<r&&s<i;++a,++s)t=s<<2,e=n[a],u[t]=255&e,u[t+1]=e>>8&255,u[t+2]=e>>16&255,u[t+3]=e>>24&255;s%r==0&&k(n)}return o&&(t=s<<2,e=n[a],o>0&&(u[t]=255&e),o>1&&(u[t+1]=e>>8&255),o>2&&(u[t+2]=e>>16&255)),u};var k=function(t){var e,r,n,i,o,a,s,c,l,h,f,d,p,m,g,y,v,b,_,w,x,k,S,E,M,A,T,C,L,P,O,I,D,B,j,N,R,F,Y,U,H,z,V,$,q,G,W,K,X,J,Z,Q,tt,et,rt,nt,it,ot,at,st,ut,ct,lt;for(n=0;n<48;n+=2)i=t[0]^t[10]^t[20]^t[30]^t[40],o=t[1]^t[11]^t[21]^t[31]^t[41],a=t[2]^t[12]^t[22]^t[32]^t[42],s=t[3]^t[13]^t[23]^t[33]^t[43],c=t[4]^t[14]^t[24]^t[34]^t[44],l=t[5]^t[15]^t[25]^t[35]^t[45],h=t[6]^t[16]^t[26]^t[36]^t[46],f=t[7]^t[17]^t[27]^t[37]^t[47],e=(d=t[8]^t[18]^t[28]^t[38]^t[48])^(a<<1|s>>>31),r=(p=t[9]^t[19]^t[29]^t[39]^t[49])^(s<<1|a>>>31),t[0]^=e,t[1]^=r,t[10]^=e,t[11]^=r,t[20]^=e,t[21]^=r,t[30]^=e,t[31]^=r,t[40]^=e,t[41]^=r,e=i^(c<<1|l>>>31),r=o^(l<<1|c>>>31),t[2]^=e,t[3]^=r,t[12]^=e,t[13]^=r,t[22]^=e,t[23]^=r,t[32]^=e,t[33]^=r,t[42]^=e,t[43]^=r,e=a^(h<<1|f>>>31),r=s^(f<<1|h>>>31),t[4]^=e,t[5]^=r,t[14]^=e,t[15]^=r,t[24]^=e,t[25]^=r,t[34]^=e,t[35]^=r,t[44]^=e,t[45]^=r,e=c^(d<<1|p>>>31),r=l^(p<<1|d>>>31),t[6]^=e,t[7]^=r,t[16]^=e,t[17]^=r,t[26]^=e,t[27]^=r,t[36]^=e,t[37]^=r,t[46]^=e,t[47]^=r,e=h^(i<<1|o>>>31),r=f^(o<<1|i>>>31),t[8]^=e,t[9]^=r,t[18]^=e,t[19]^=r,t[28]^=e,t[29]^=r,t[38]^=e,t[39]^=r,t[48]^=e,t[49]^=r,m=t[0],g=t[1],G=t[11]<<4|t[10]>>>28,W=t[10]<<4|t[11]>>>28,C=t[20]<<3|t[21]>>>29,L=t[21]<<3|t[20]>>>29,st=t[31]<<9|t[30]>>>23,ut=t[30]<<9|t[31]>>>23,z=t[40]<<18|t[41]>>>14,V=t[41]<<18|t[40]>>>14,B=t[2]<<1|t[3]>>>31,j=t[3]<<1|t[2]>>>31,y=t[13]<<12|t[12]>>>20,v=t[12]<<12|t[13]>>>20,K=t[22]<<10|t[23]>>>22,X=t[23]<<10|t[22]>>>22,P=t[33]<<13|t[32]>>>19,O=t[32]<<13|t[33]>>>19,ct=t[42]<<2|t[43]>>>30,lt=t[43]<<2|t[42]>>>30,et=t[5]<<30|t[4]>>>2,rt=t[4]<<30|t[5]>>>2,N=t[14]<<6|t[15]>>>26,R=t[15]<<6|t[14]>>>26,b=t[25]<<11|t[24]>>>21,_=t[24]<<11|t[25]>>>21,J=t[34]<<15|t[35]>>>17,Z=t[35]<<15|t[34]>>>17,I=t[45]<<29|t[44]>>>3,D=t[44]<<29|t[45]>>>3,E=t[6]<<28|t[7]>>>4,M=t[7]<<28|t[6]>>>4,nt=t[17]<<23|t[16]>>>9,it=t[16]<<23|t[17]>>>9,F=t[26]<<25|t[27]>>>7,Y=t[27]<<25|t[26]>>>7,w=t[36]<<21|t[37]>>>11,x=t[37]<<21|t[36]>>>11,Q=t[47]<<24|t[46]>>>8,tt=t[46]<<24|t[47]>>>8,$=t[8]<<27|t[9]>>>5,q=t[9]<<27|t[8]>>>5,A=t[18]<<20|t[19]>>>12,T=t[19]<<20|t[18]>>>12,ot=t[29]<<7|t[28]>>>25,at=t[28]<<7|t[29]>>>25,U=t[38]<<8|t[39]>>>24,H=t[39]<<8|t[38]>>>24,k=t[48]<<14|t[49]>>>18,S=t[49]<<14|t[48]>>>18,t[0]=m^~y&b,t[1]=g^~v&_,t[10]=E^~A&C,t[11]=M^~T&L,t[20]=B^~N&F,t[21]=j^~R&Y,t[30]=$^~G&K,t[31]=q^~W&X,t[40]=et^~nt&ot,t[41]=rt^~it&at,t[2]=y^~b&w,t[3]=v^~_&x,t[12]=A^~C&P,t[13]=T^~L&O,t[22]=N^~F&U,t[23]=R^~Y&H,t[32]=G^~K&J,t[33]=W^~X&Z,t[42]=nt^~ot&st,t[43]=it^~at&ut,t[4]=b^~w&k,t[5]=_^~x&S,t[14]=C^~P&I,t[15]=L^~O&D,t[24]=F^~U&z,t[25]=Y^~H&V,t[34]=K^~J&Q,t[35]=X^~Z&tt,t[44]=ot^~st&ct,t[45]=at^~ut&lt,t[6]=w^~k&m,t[7]=x^~S&g,t[16]=P^~I&E,t[17]=O^~D&M,t[26]=U^~z&B,t[27]=H^~V&j,t[36]=J^~Q&$,t[37]=Z^~tt&q,t[46]=st^~ct&et,t[47]=ut^~lt&rt,t[8]=k^~m&y,t[9]=S^~g&v,t[18]=I^~E&A,t[19]=D^~M&T,t[28]=z^~B&N,t[29]=V^~j&R,t[38]=Q^~$&G,t[39]=tt^~q&W,t[48]=ct^~et&nt,t[49]=lt^~rt&it,t[0]^=u[n],t[1]^=u[n+1]};if(o)t.exports=m;else for(y=0;y<g.length;++y)e[g[y]]=m[g[y]]}()},93135:(t,e,r)=>{"use strict";t.exports=r(22109)(r(80801))},22109:(t,e,r)=>{"use strict";var n=r(46543),i=r(40274);t.exports=function(t){var e=n(t),r=i(t);return function(t,n){switch("string"==typeof t?t.toLowerCase():t){case"keccak224":return new e(1152,448,null,224,n);case"keccak256":return new e(1088,512,null,256,n);case"keccak384":return new e(832,768,null,384,n);case"keccak512":return new e(576,1024,null,512,n);case"sha3-224":return new e(1152,448,6,224,n);case"sha3-256":return new e(1088,512,6,256,n);case"sha3-384":return new e(832,768,6,384,n);case"sha3-512":return new e(576,1024,6,512,n);case"shake128":return new r(1344,256,31,n);case"shake256":return new r(1088,512,31,n);default:throw new Error("Invald algorithm: "+t)}}}},46543:(t,e,r)=>{"use strict";var n=r(29033).Buffer,i=r(28847),o=i(r(69721)),a=i(r(58985)),s=i(r(15163)),u=i(r(34650)),c=i(r(21949)),l=r(86505).Transform;t.exports=function(t){return function(e){(0,s.default)(h,e);var r,i,l=(r=h,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=(0,c.default)(r);if(i){var n=(0,c.default)(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return(0,u.default)(this,t)});function h(e,r,n,i,a){var s;return(0,o.default)(this,h),(s=l.call(this,a))._rate=e,s._capacity=r,s._delimitedSuffix=n,s._hashBitLength=i,s._options=a,s._state=new t,s._state.initialize(e,r),s._finalized=!1,s}return(0,a.default)(h,[{key:"_transform",value:function(t,e,r){var n=null;try{this.update(t,e)}catch(t){n=t}r(n)}},{key:"_flush",value:function(t){var e=null;try{this.push(this.digest())}catch(t){e=t}t(e)}},{key:"update",value:function(t,e){if(!n.isBuffer(t)&&"string"!=typeof t)throw new TypeError("Data must be a string or a buffer");if(this._finalized)throw new Error("Digest already called");return n.isBuffer(t)||(t=n.from(t,e)),this._state.absorb(t),this}},{key:"digest",value:function(t){if(this._finalized)throw new Error("Digest already called");this._finalized=!0,this._delimitedSuffix&&this._state.absorbLastFewBits(this._delimitedSuffix);var e=this._state.squeeze(this._hashBitLength/8);return void 0!==t&&(e=e.toString(t)),this._resetState(),e}},{key:"_resetState",value:function(){return this._state.initialize(this._rate,this._capacity),this}},{key:"_clone",value:function(){var t=new h(this._rate,this._capacity,this._delimitedSuffix,this._hashBitLength,this._options);return this._state.copy(t._state),t._finalized=this._finalized,t}}]),h}(l)}},40274:(t,e,r)=>{"use strict";var n=r(29033).Buffer,i=r(28847),o=i(r(69721)),a=i(r(58985)),s=i(r(15163)),u=i(r(34650)),c=i(r(21949)),l=r(86505).Transform;t.exports=function(t){return function(e){(0,s.default)(h,e);var r,i,l=(r=h,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=(0,c.default)(r);if(i){var n=(0,c.default)(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return(0,u.default)(this,t)});function h(e,r,n,i){var a;return(0,o.default)(this,h),(a=l.call(this,i))._rate=e,a._capacity=r,a._delimitedSuffix=n,a._options=i,a._state=new t,a._state.initialize(e,r),a._finalized=!1,a}return(0,a.default)(h,[{key:"_transform",value:function(t,e,r){var n=null;try{this.update(t,e)}catch(t){n=t}r(n)}},{key:"_flush",value:function(){}},{key:"_read",value:function(t){this.push(this.squeeze(t))}},{key:"update",value:function(t,e){if(!n.isBuffer(t)&&"string"!=typeof t)throw new TypeError("Data must be a string or a buffer");if(this._finalized)throw new Error("Squeeze already called");return n.isBuffer(t)||(t=n.from(t,e)),this._state.absorb(t),this}},{key:"squeeze",value:function(t,e){this._finalized||(this._finalized=!0,this._state.absorbLastFewBits(this._delimitedSuffix));var r=this._state.squeeze(t);return void 0!==e&&(r=r.toString(e)),r}},{key:"_resetState",value:function(){return this._state.initialize(this._rate,this._capacity),this}},{key:"_clone",value:function(){var t=new h(this._rate,this._capacity,this._delimitedSuffix,this._options);return this._state.copy(t._state),t._finalized=this._finalized,t}}]),h}(l)}},25612:(t,e)=>{"use strict";var r=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648];e.p1600=function(t){for(var e=0;e<24;++e){var n=t[0]^t[10]^t[20]^t[30]^t[40],i=t[1]^t[11]^t[21]^t[31]^t[41],o=t[2]^t[12]^t[22]^t[32]^t[42],a=t[3]^t[13]^t[23]^t[33]^t[43],s=t[4]^t[14]^t[24]^t[34]^t[44],u=t[5]^t[15]^t[25]^t[35]^t[45],c=t[6]^t[16]^t[26]^t[36]^t[46],l=t[7]^t[17]^t[27]^t[37]^t[47],h=t[8]^t[18]^t[28]^t[38]^t[48],f=t[9]^t[19]^t[29]^t[39]^t[49],d=h^(o<<1|a>>>31),p=f^(a<<1|o>>>31),m=t[0]^d,g=t[1]^p,y=t[10]^d,v=t[11]^p,b=t[20]^d,_=t[21]^p,w=t[30]^d,x=t[31]^p,k=t[40]^d,S=t[41]^p;d=n^(s<<1|u>>>31),p=i^(u<<1|s>>>31);var E=t[2]^d,M=t[3]^p,A=t[12]^d,T=t[13]^p,C=t[22]^d,L=t[23]^p,P=t[32]^d,O=t[33]^p,I=t[42]^d,D=t[43]^p;d=o^(c<<1|l>>>31),p=a^(l<<1|c>>>31);var B=t[4]^d,j=t[5]^p,N=t[14]^d,R=t[15]^p,F=t[24]^d,Y=t[25]^p,U=t[34]^d,H=t[35]^p,z=t[44]^d,V=t[45]^p;d=s^(h<<1|f>>>31),p=u^(f<<1|h>>>31);var $=t[6]^d,q=t[7]^p,G=t[16]^d,W=t[17]^p,K=t[26]^d,X=t[27]^p,J=t[36]^d,Z=t[37]^p,Q=t[46]^d,tt=t[47]^p;d=c^(n<<1|i>>>31),p=l^(i<<1|n>>>31);var et=t[8]^d,rt=t[9]^p,nt=t[18]^d,it=t[19]^p,ot=t[28]^d,at=t[29]^p,st=t[38]^d,ut=t[39]^p,ct=t[48]^d,lt=t[49]^p,ht=m,ft=g,dt=v<<4|y>>>28,pt=y<<4|v>>>28,mt=b<<3|_>>>29,gt=_<<3|b>>>29,yt=x<<9|w>>>23,vt=w<<9|x>>>23,bt=k<<18|S>>>14,_t=S<<18|k>>>14,wt=E<<1|M>>>31,xt=M<<1|E>>>31,kt=T<<12|A>>>20,St=A<<12|T>>>20,Et=C<<10|L>>>22,Mt=L<<10|C>>>22,At=O<<13|P>>>19,Tt=P<<13|O>>>19,Ct=I<<2|D>>>30,Lt=D<<2|I>>>30,Pt=j<<30|B>>>2,Ot=B<<30|j>>>2,It=N<<6|R>>>26,Dt=R<<6|N>>>26,Bt=Y<<11|F>>>21,jt=F<<11|Y>>>21,Nt=U<<15|H>>>17,Rt=H<<15|U>>>17,Ft=V<<29|z>>>3,Yt=z<<29|V>>>3,Ut=$<<28|q>>>4,Ht=q<<28|$>>>4,zt=W<<23|G>>>9,Vt=G<<23|W>>>9,$t=K<<25|X>>>7,qt=X<<25|K>>>7,Gt=J<<21|Z>>>11,Wt=Z<<21|J>>>11,Kt=tt<<24|Q>>>8,Xt=Q<<24|tt>>>8,Jt=et<<27|rt>>>5,Zt=rt<<27|et>>>5,Qt=nt<<20|it>>>12,te=it<<20|nt>>>12,ee=at<<7|ot>>>25,re=ot<<7|at>>>25,ne=st<<8|ut>>>24,ie=ut<<8|st>>>24,oe=ct<<14|lt>>>18,ae=lt<<14|ct>>>18;t[0]=ht^~kt&Bt,t[1]=ft^~St&jt,t[10]=Ut^~Qt&mt,t[11]=Ht^~te&gt,t[20]=wt^~It&$t,t[21]=xt^~Dt&qt,t[30]=Jt^~dt&Et,t[31]=Zt^~pt&Mt,t[40]=Pt^~zt&ee,t[41]=Ot^~Vt&re,t[2]=kt^~Bt&Gt,t[3]=St^~jt&Wt,t[12]=Qt^~mt&At,t[13]=te^~gt&Tt,t[22]=It^~$t&ne,t[23]=Dt^~qt&ie,t[32]=dt^~Et&Nt,t[33]=pt^~Mt&Rt,t[42]=zt^~ee&yt,t[43]=Vt^~re&vt,t[4]=Bt^~Gt&oe,t[5]=jt^~Wt&ae,t[14]=mt^~At&Ft,t[15]=gt^~Tt&Yt,t[24]=$t^~ne&bt,t[25]=qt^~ie&_t,t[34]=Et^~Nt&Kt,t[35]=Mt^~Rt&Xt,t[44]=ee^~yt&Ct,t[45]=re^~vt&Lt,t[6]=Gt^~oe&ht,t[7]=Wt^~ae&ft,t[16]=At^~Ft&Ut,t[17]=Tt^~Yt&Ht,t[26]=ne^~bt&wt,t[27]=ie^~_t&xt,t[36]=Nt^~Kt&Jt,t[37]=Rt^~Xt&Zt,t[46]=yt^~Ct&Pt,t[47]=vt^~Lt&Ot,t[8]=oe^~ht&kt,t[9]=ae^~ft&St,t[18]=Ft^~Ut&Qt,t[19]=Yt^~Ht&te,t[28]=bt^~wt&It,t[29]=_t^~xt&Dt,t[38]=Kt^~Jt&dt,t[39]=Xt^~Zt&pt,t[48]=Ct^~Pt&zt,t[49]=Lt^~Ot&Vt,t[0]^=r[2*e],t[1]^=r[2*e+1]}}},80801:(t,e,r)=>{"use strict";var n=r(29033).Buffer,i=r(25612);function o(){this.state=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],this.blockSize=null,this.count=0,this.squeezing=!1}o.prototype.initialize=function(t,e){for(var r=0;r<50;++r)this.state[r]=0;this.blockSize=t/8,this.count=0,this.squeezing=!1},o.prototype.absorb=function(t){for(var e=0;e<t.length;++e)this.state[~~(this.count/4)]^=t[e]<<this.count%4*8,this.count+=1,this.count===this.blockSize&&(i.p1600(this.state),this.count=0)},o.prototype.absorbLastFewBits=function(t){this.state[~~(this.count/4)]^=t<<this.count%4*8,0!=(128&t)&&this.count===this.blockSize-1&&i.p1600(this.state),this.state[~~((this.blockSize-1)/4)]^=128<<(this.blockSize-1)%4*8,i.p1600(this.state),this.count=0,this.squeezing=!0},o.prototype.squeeze=function(t){this.squeezing||this.absorbLastFewBits(1);for(var e=n.alloc(t),r=0;r<t;++r)e[r]=this.state[~~(this.count/4)]>>>this.count%4*8&255,this.count+=1,this.count===this.blockSize&&(i.p1600(this.state),this.count=0);return e},o.prototype.copy=function(t){for(var e=0;e<50;++e)t.state[e]=this.state[e];t.blockSize=this.blockSize,t.count=this.count,t.squeezing=this.squeezing},t.exports=o},50807:(t,e,r)=>{"use strict";var n=r(41736),i=r(22353),o=r(48850).Buffer,a=new Array(16);function s(){i.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function u(t,e){return t<<e|t>>>32-e}function c(t,e,r,n,i,o,a){return u(t+(e&r|~e&n)+i+o|0,a)+e|0}function l(t,e,r,n,i,o,a){return u(t+(e&n|r&~n)+i+o|0,a)+e|0}function h(t,e,r,n,i,o,a){return u(t+(e^r^n)+i+o|0,a)+e|0}function f(t,e,r,n,i,o,a){return u(t+(r^(e|~n))+i+o|0,a)+e|0}n(s,i),s.prototype._update=function(){for(var t=a,e=0;e<16;++e)t[e]=this._block.readInt32LE(4*e);var r=this._a,n=this._b,i=this._c,o=this._d;r=c(r,n,i,o,t[0],3614090360,7),o=c(o,r,n,i,t[1],3905402710,12),i=c(i,o,r,n,t[2],606105819,17),n=c(n,i,o,r,t[3],3250441966,22),r=c(r,n,i,o,t[4],4118548399,7),o=c(o,r,n,i,t[5],1200080426,12),i=c(i,o,r,n,t[6],2821735955,17),n=c(n,i,o,r,t[7],4249261313,22),r=c(r,n,i,o,t[8],1770035416,7),o=c(o,r,n,i,t[9],2336552879,12),i=c(i,o,r,n,t[10],4294925233,17),n=c(n,i,o,r,t[11],2304563134,22),r=c(r,n,i,o,t[12],1804603682,7),o=c(o,r,n,i,t[13],4254626195,12),i=c(i,o,r,n,t[14],2792965006,17),r=l(r,n=c(n,i,o,r,t[15],1236535329,22),i,o,t[1],4129170786,5),o=l(o,r,n,i,t[6],3225465664,9),i=l(i,o,r,n,t[11],643717713,14),n=l(n,i,o,r,t[0],3921069994,20),r=l(r,n,i,o,t[5],3593408605,5),o=l(o,r,n,i,t[10],38016083,9),i=l(i,o,r,n,t[15],3634488961,14),n=l(n,i,o,r,t[4],3889429448,20),r=l(r,n,i,o,t[9],568446438,5),o=l(o,r,n,i,t[14],3275163606,9),i=l(i,o,r,n,t[3],4107603335,14),n=l(n,i,o,r,t[8],1163531501,20),r=l(r,n,i,o,t[13],2850285829,5),o=l(o,r,n,i,t[2],4243563512,9),i=l(i,o,r,n,t[7],1735328473,14),r=h(r,n=l(n,i,o,r,t[12],2368359562,20),i,o,t[5],4294588738,4),o=h(o,r,n,i,t[8],2272392833,11),i=h(i,o,r,n,t[11],1839030562,16),n=h(n,i,o,r,t[14],4259657740,23),r=h(r,n,i,o,t[1],2763975236,4),o=h(o,r,n,i,t[4],1272893353,11),i=h(i,o,r,n,t[7],4139469664,16),n=h(n,i,o,r,t[10],3200236656,23),r=h(r,n,i,o,t[13],681279174,4),o=h(o,r,n,i,t[0],3936430074,11),i=h(i,o,r,n,t[3],3572445317,16),n=h(n,i,o,r,t[6],76029189,23),r=h(r,n,i,o,t[9],3654602809,4),o=h(o,r,n,i,t[12],3873151461,11),i=h(i,o,r,n,t[15],530742520,16),r=f(r,n=h(n,i,o,r,t[2],3299628645,23),i,o,t[0],4096336452,6),o=f(o,r,n,i,t[7],1126891415,10),i=f(i,o,r,n,t[14],2878612391,15),n=f(n,i,o,r,t[5],4237533241,21),r=f(r,n,i,o,t[12],1700485571,6),o=f(o,r,n,i,t[3],2399980690,10),i=f(i,o,r,n,t[10],4293915773,15),n=f(n,i,o,r,t[1],2240044497,21),r=f(r,n,i,o,t[8],1873313359,6),o=f(o,r,n,i,t[15],4264355552,10),i=f(i,o,r,n,t[6],2734768916,15),n=f(n,i,o,r,t[13],1309151649,21),r=f(r,n,i,o,t[4],4149444226,6),o=f(o,r,n,i,t[11],3174756917,10),i=f(i,o,r,n,t[2],718787259,15),n=f(n,i,o,r,t[9],3951481745,21),this._a=this._a+r|0,this._b=this._b+n|0,this._c=this._c+i|0,this._d=this._d+o|0},s.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=o.allocUnsafe(16);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t},t.exports=s},37441:(t,e,r)=>{"use strict";var n=r(29033).Buffer,i=r(19142),o=r(28847),a=o(r(82247)),s=o(r(3355)),u=o(r(94571)),c=o(r(90775)),l=o(r(58985)),h=o(r(69721)),f=o(r(15163)),d=o(r(34650)),p=o(r(21949)),m=o(r(22940));function g(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function y(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?g(Object(r),!0).forEach((function(e){(0,c.default)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function v(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=(0,p.default)(t);if(e){var i=(0,p.default)(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return(0,d.default)(this,r)}}function b(t){var e,r,n,i=2;for("undefined"!=typeof Symbol&&(r=Symbol.asyncIterator,n=Symbol.iterator);i--;){if(r&&null!=(e=t[r]))return e.call(t);if(n&&null!=(e=t[n]))return new _(e.call(t));r="@@asyncIterator",n="@@iterator"}throw new TypeError("Object is not async iterable")}function _(t){function e(t){if(Object(t)!==t)return Promise.reject(new TypeError(t+" is not an object."));var e=t.done;return Promise.resolve(t.value).then((function(t){return{value:t,done:e}}))}return _=function(t){this.s=t,this.n=t.next},_.prototype={s:null,n:null,next:function(){return e(this.n.apply(this.s,arguments))},return:function(t){var r=this.s.return;return void 0===r?Promise.resolve({value:t,done:!0}):e(r.apply(this.s,arguments))},throw:function(t){var r=this.s.return;return void 0===r?Promise.reject(t):e(r.apply(this.s,arguments))}},new _(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.InvalidStatusCodeError=e.InvalidCertError=void 0;var w=Object.freeze({redirect:!0,expectStatusCode:200,headers:{},full:!1,keepAlive:!0,cors:!1,referrer:!1,sslAllowSelfSigned:!1,_redirectCount:0}),x=function(t){(0,f.default)(r,t);var e=v(r);function r(t,n){var i;return(0,h.default)(this,r),(i=e.call(this,t)).fingerprint256=n,i}return(0,l.default)(r)}((0,m.default)(Error));e.InvalidCertError=x;var k=function(t){(0,f.default)(r,t);var e=v(r);function r(t){var n;return(0,h.default)(this,r),(n=e.call(this,"Request Failed. Status Code: ".concat(t))).statusCode=t,n}return(0,l.default)(r)}((0,m.default)(Error));function S(t,e){if(!e||"text"===e||"json"===e)try{var r=new TextDecoder("utf8",{fatal:!0}).decode(t);if("text"===e)return r;try{return JSON.parse(r)}catch(t){if("json"===e)throw t;return r}}catch(t){if("text"===e||"json"===e)throw t}return t}e.InvalidStatusCodeError=k;var E={};function M(t,e){var i=y(y({},w),e),o=r(29519),s=r(90912),c=r(77611),l=r(45058).promisify,h=r(51143).resolve,f=!!/^https/.test(t),d={method:i.method||"GET",headers:{"Accept-Encoding":"gzip, deflate, br"}},p=function(t){return t.replace(/:| /g,"").toLowerCase()};if(i.keepAlive){var m,g=[f,f&&(null===(m=i.sslPinnedCertificates)||void 0===m?void 0:m.map((function(t){return p(t)})).sort())].join();d.agent=E[g]||(E[g]=new(f?s:o).Agent({keepAlive:!0,keepAliveMsecs:3e4,maxFreeSockets:1024,maxCachedSessions:1024}))}"json"===i.type&&(d.headers["Content-Type"]="application/json"),i.data&&(i.method||(d.method="POST"),d.body="json"===i.type?JSON.stringify(i.data):i.data),d.headers=y(y({},d.headers),i.headers),i.sslAllowSelfSigned&&(d.rejectUnauthorized=!1);var v=function(){var e=(0,u.default)(a.default.mark((function e(r){var o,s,u,f,d,p,m,g,y,v,_;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=r.statusCode,!(i.redirect&&300<=o&&o<400&&r.headers.location)){e.next=8;break}if(10!=i._redirectCount){e.next=4;break}throw new Error("Request failed. Too much redirects.");case 4:return i._redirectCount+=1,e.next=7,M(h(t,r.headers.location),i);case 7:return e.abrupt("return",e.sent);case 8:if(!i.expectStatusCode||o===i.expectStatusCode){e.next=11;break}throw r.resume(),new k(o);case 11:s=[],u=!1,f=!1,e.prev=14,p=b(r);case 16:return e.next=18,p.next();case 18:if(!(u=!(m=e.sent).done)){e.next=24;break}g=m.value,s.push(g);case 21:u=!1,e.next=16;break;case 24:e.next=30;break;case 26:e.prev=26,e.t0=e.catch(14),f=!0,d=e.t0;case 30:if(e.prev=30,e.prev=31,!u||null==p.return){e.next=35;break}return e.next=35,p.return();case 35:if(e.prev=35,!f){e.next=38;break}throw d;case 38:return e.finish(35);case 39:return e.finish(30);case 40:if(y=n.concat(s),"br"!==(v=r.headers["content-encoding"])){e.next=46;break}return e.next=45,l(c.brotliDecompress)(y);case 45:y=e.sent;case 46:if("gzip"!==v&&"deflate"!==v){e.next=50;break}return e.next=49,l(c.unzip)(y);case 49:y=e.sent;case 50:if(_=S(y,i.type),!i.full){e.next=53;break}return e.abrupt("return",{headers:r.headers,status:o,body:_});case 53:return e.abrupt("return",_);case 54:case"end":return e.stop()}}),e,null,[[14,26,30,40],[31,,35,39]])})));return function(t){return e.apply(this,arguments)}}();return new Promise((function(e,r){var n,c=function(){var e=(0,u.default)(a.default.mark((function e(n){return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!n||"DEPTH_ZERO_SELF_SIGNED_CERT"!==n.code){e.next=9;break}return e.prev=1,e.next=4,M(t,y(y({},i),{},{sslAllowSelfSigned:!0,sslPinnedCertificates:[]}));case 4:e.next=9;break;case 6:e.prev=6,e.t0=e.catch(1),e.t0&&e.t0.fingerprint256&&(n=new x("Self-signed SSL certificate: ".concat(e.t0.fingerprint256),e.t0.fingerprint256));case 9:r(n);case 10:case"end":return e.stop()}}),e,null,[[1,6]])})));return function(t){return e.apply(this,arguments)}}(),l=(f?s:o).request(t,d,(function(t){t.on("error",c),(0,u.default)(a.default.mark((function n(){return a.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.t0=e,n.next=4,v(t);case 4:n.t1=n.sent,(0,n.t0)(n.t1),n.next=11;break;case 8:n.prev=8,n.t2=n.catch(0),r(n.t2);case 11:case"end":return n.stop()}}),n,null,[[0,8]])})))()}));l.on("error",c);var h=null===(n=i.sslPinnedCertificates)||void 0===n?void 0:n.map((function(t){return p(t)})),m=function(t){var e,r=p((null===(e=t.getPeerCertificate())||void 0===e?void 0:e.fingerprint256)||"");if((r||!t.isSessionReused())&&!h.includes(r))return l.emit("error",new x("Invalid SSL certificate: ".concat(r," Expected: ").concat(h),r)),l.abort()};i.sslPinnedCertificates&&l.on("socket",(function(t){t.listeners("secureConnect").map((function(t){return(t.name||"").replace("bound ","")})).includes("mfetchSecureConnect")||t.on("secureConnect",m.bind(null,t))})),i.keepAlive&&l.setNoDelay(!0),d.body&&l.write(d.body),l.end()}))}var A=new Set(["Accept","Accept-Language","Content-Language","Content-Type"].map((function(t){return t.toLowerCase()}))),T=new Set(["Accept-Charset","Accept-Encoding","Access-Control-Request-Headers","Access-Control-Request-Method","Connection","Content-Length","Cookie","Cookie2","Date","DNT","Expect","Host","Keep-Alive","Origin","Referer","TE","Trailer","Transfer-Encoding","Upgrade","Via"].map((function(t){return t.toLowerCase()})));function C(t,e){return L.apply(this,arguments)}function L(){return(L=(0,u.default)(a.default.mark((function t(e,r){var n,i,o,s,u,c,l,h,f;return a.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:for(u in n=y(y({},w),r),i=new Headers,"json"===n.type&&i.set("Content-Type","application/json"),(o=new URL(e)).username&&(s=btoa("".concat(o.username,":").concat(o.password)),i.set("Authorization","Basic ".concat(s)),o.username="",o.password=""),e=""+o,n.headers)c=u.toLowerCase(),(A.has(c)||n.cors&&!T.has(c))&&i.set(u,n.headers[u]);return l={headers:i,redirect:n.redirect?"follow":"manual"},n.referrer||(l.referrerPolicy="no-referrer"),n.cors&&(l.mode="cors"),n.data&&(n.method||(l.method="POST"),l.body="json"===n.type?JSON.stringify(n.data):n.data),t.next=13,fetch(e,l);case 13:if(h=t.sent,!n.expectStatusCode||h.status===n.expectStatusCode){t.next=16;break}throw new k(h.status);case 16:return t.t0=S,t.t1=Uint8Array,t.next=20,h.arrayBuffer();case 20:if(t.t2=t.sent,t.t3=new t.t1(t.t2),t.t4=n.type,f=(0,t.t0)(t.t3,t.t4),!n.full){t.next=26;break}return t.abrupt("return",{headers:Object.fromEntries(h.headers.entries()),status:h.status,body:f});case 26:return t.abrupt("return",f);case 27:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var P=!!("object"==(void 0===i?"undefined":(0,s.default)(i))&&i.versions&&i.versions.node&&i.versions.v8);e.default=function(t,e){return(P?M:C)(t,e)}},31962:(t,e,r)=>{"use strict";var n=r(31734),i=r(82202);function o(t){this.rand=t||new i.Rand}t.exports=o,o.create=function(t){return new o(t)},o.prototype._randbelow=function(t){var e=t.bitLength(),r=Math.ceil(e/8);do{var i=new n(this.rand.generate(r))}while(i.cmp(t)>=0);return i},o.prototype._randrange=function(t,e){var r=e.sub(t);return t.add(this._randbelow(r))},o.prototype.test=function(t,e,r){var i=t.bitLength(),o=n.mont(t),a=new n(1).toRed(o);e||(e=Math.max(1,i/48|0));for(var s=t.subn(1),u=0;!s.testn(u);u++);for(var c=t.shrn(u),l=s.toRed(o);e>0;e--){var h=this._randrange(new n(2),s);r&&r(h);var f=h.toRed(o).redPow(c);if(0!==f.cmp(a)&&0!==f.cmp(l)){for(var d=1;d<u;d++){if(0===(f=f.redSqr()).cmp(a))return!1;if(0===f.cmp(l))break}if(d===u)return!1}}return!0},o.prototype.getDivisor=function(t,e){var r=t.bitLength(),i=n.mont(t),o=new n(1).toRed(i);e||(e=Math.max(1,r/48|0));for(var a=t.subn(1),s=0;!a.testn(s);s++);for(var u=t.shrn(s),c=a.toRed(i);e>0;e--){var l=this._randrange(new n(2),a),h=t.gcd(l);if(0!==h.cmpn(1))return h;var f=l.toRed(i).redPow(u);if(0!==f.cmp(o)&&0!==f.cmp(c)){for(var d=1;d<s;d++){if(0===(f=f.redSqr()).cmp(o))return f.fromRed().subn(1).gcd(t);if(0===f.cmp(c))break}if(d===s)return(f=f.redSqr()).fromRed().subn(1).gcd(t)}}return!1}},94504:t=>{"use strict";function e(t,e){if(!t)throw new Error(e||"Assertion failed")}t.exports=e,e.equal=function(t,e,r){if(t!=e)throw new Error(r||"Assertion failed: "+t+" != "+e)}},96580:(t,e)=>{"use strict";var r=e;function n(t){return 1===t.length?"0"+t:t}function i(t){for(var e="",r=0;r<t.length;r++)e+=n(t[r].toString(16));return e}r.toArray=function(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var r=[];if("string"!=typeof t){for(var n=0;n<t.length;n++)r[n]=0|t[n];return r}if("hex"===e)for((t=t.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(t="0"+t),n=0;n<t.length;n+=2)r.push(parseInt(t[n]+t[n+1],16));else for(n=0;n<t.length;n++){var i=t.charCodeAt(n),o=i>>8,a=255&i;o?r.push(o,a):r.push(a)}return r},r.zero2=n,r.toHex=i,r.encode=function(t,e){return"hex"===e?i(t):t}},36565:(t,e,r)=>{"use strict";var n=r(28847),i=n(r(69721)),o=n(r(58985)),a=function(){function t(e,r,n,o){(0,i.default)(this,t),this.name=e,this.code=r,this.alphabet=o,n&&o&&(this.engine=n(o))}return(0,o.default)(t,[{key:"encode",value:function(t){return this.engine.encode(t)}},{key:"decode",value:function(t){return this.engine.decode(t)}},{key:"isImplemented",value:function(){return this.engine}}]),t}();t.exports=a},52642:(t,e,r)=>{"use strict";function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var i=r(29033).Buffer;t.exports=function(t){return{encode:function(t){return"string"==typeof t?i.from(t).toString("hex"):t.toString("hex")},decode:function(e){var r,o=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return s=t.done,t},e:function(t){u=!0,a=t},f:function(){try{s||null==r.return||r.return()}finally{if(u)throw a}}}}(e);try{for(o.s();!(r=o.n()).done;){var a=r.value;if(t.indexOf(a)<0)throw new Error("invalid base16 character")}}catch(t){o.e(t)}finally{o.f()}return i.from(e,"hex")}}}},96494:t=>{"use strict";function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}t.exports=function(t){return{encode:function(e){return function(t,e){var r=t.byteLength,n=new Uint8Array(t),i=e.indexOf("=")===e.length-1;i&&(e=e.substring(0,e.length-1));for(var o=0,a=0,s="",u=0;u<r;u++)for(a=a<<8|n[u],o+=8;o>=5;)s+=e[a>>>o-5&31],o-=5;if(o>0&&(s+=e[a<<5-o&31]),i)for(;s.length%8!=0;)s+="=";return s}("string"==typeof e?Uint8Array.from(e):e,t)},decode:function(r){var n,i=function(t,r){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,r){if(t){if("string"==typeof t)return e(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?e(t,r):void 0}}(t))||r&&t&&"number"==typeof t.length){n&&(t=n);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return s=t.done,t},e:function(t){u=!0,a=t},f:function(){try{s||null==n.return||n.return()}finally{if(u)throw a}}}}(r);try{for(i.s();!(n=i.n()).done;){var o=n.value;if(t.indexOf(o)<0)throw new Error("invalid base32 character")}}catch(t){i.e(t)}finally{i.f()}return function(t,e){for(var r=(t=t.replace(new RegExp("=","g"),"")).length,n=0,i=0,o=0,a=new Uint8Array(5*r/8|0),s=0;s<r;s++)i=i<<5|e.indexOf(t[s]),(n+=5)>=8&&(a[o++]=i>>>n-8&255,n-=8);return a.buffer}(r,t)}}}},76627:(t,e,r)=>{"use strict";function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var i=r(29033).Buffer;t.exports=function(t){var e=t.indexOf("=")>-1,r=t.indexOf("-")>-1&&t.indexOf("_")>-1;return{encode:function(t){var n="";n="string"==typeof t?i.from(t).toString("base64"):t.toString("base64"),r&&(n=n.replace(/\+/g,"-").replace(/\//g,"_"));var o=n.indexOf("=");return o>0&&!e&&(n=n.substring(0,o)),n},decode:function(e){var r,o=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return s=t.done,t},e:function(t){u=!0,a=t},f:function(){try{s||null==r.return||r.return()}finally{if(u)throw a}}}}(e);try{for(o.s();!(r=o.n()).done;){var a=r.value;if(t.indexOf(a)<0)throw new Error("invalid base64 character")}}catch(t){o.e(t)}finally{o.f()}return i.from(e,"base64")}}}},7905:(t,e,r)=>{"use strict";var n=r(36565),i=r(27548),o=r(52642),a=r(96494),s=r(76627),u=[["base1","1","","1"],["base2","0",i,"01"],["base8","7",i,"01234567"],["base10","9",i,"0123456789"],["base16","f",o,"0123456789abcdef"],["base32","b",a,"abcdefghijklmnopqrstuvwxyz234567"],["base32pad","c",a,"abcdefghijklmnopqrstuvwxyz234567="],["base32hex","v",a,"0123456789abcdefghijklmnopqrstuv"],["base32hexpad","t",a,"0123456789abcdefghijklmnopqrstuv="],["base32z","h",a,"ybndrfg8ejkmcpqxot1uwisza345h769"],["base58flickr","Z",i,"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"],["base58btc","z",i,"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"],["base64","m",s,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"],["base64pad","M",s,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="],["base64url","u",s,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"],["base64urlpad","U",s,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_="]],c=u.reduce((function(t,e){return t[e[0]]=new n(e[0],e[1],e[2],e[3]),t}),{}),l=u.reduce((function(t,e){return t[e[1]]=c[e[0]],t}),{});t.exports={names:c,codes:l}},6086:(t,e,r)=>{"use strict";var n=r(29033).Buffer,i=r(7905);(e=t.exports=a).encode=function(t,e){var r=s(t);return a(r.name,n.from(r.encode(e)))},e.decode=function(t){n.isBuffer(t)&&(t=t.toString());var e=t.substring(0,1);"string"==typeof(t=t.substring(1,t.length))&&(t=n.from(t));var r=s(e);return n.from(r.decode(t.toString()))},e.isEncoded=function(t){if(n.isBuffer(t)&&(t=t.toString()),"[object String]"!==Object.prototype.toString.call(t))return!1;var e=t.substring(0,1);try{return s(e).name}catch(t){return!1}},e.names=Object.freeze(Object.keys(i.names)),e.codes=Object.freeze(Object.keys(i.codes));var o=new Error("Unsupported encoding");function a(t,e){if(!e)throw new Error("requires an encoded buffer");var r=s(t),i=n.from(r.code);return function(t,e){s(t).decode(e.toString())}(r.name,e),n.concat([i,e])}function s(t){var e;if(i.names[t])e=i.names[t];else{if(!i.codes[t])throw o;e=i.codes[t]}if(!e.isImplemented())throw new Error("Base "+t+" is not implemented yet");return e}},54093:(t,e,r)=>{"use strict";for(var n=r(28847)(r(74519)),i=r(24070),o={},a=0,s=Object.entries(i);a<s.length;a++){var u=(0,n.default)(s[a],2),c=u[0],l=u[1];o[c.toUpperCase().replace(/-/g,"_")]=l}t.exports=Object.freeze(o)},69206:(t,e,r)=>{"use strict";var n=r(29033).Buffer,i=r(26657),o=r(7054),a=r(86002),s=r(55576);(e=t.exports).addPrefix=function(t,e){var r;if(n.isBuffer(t))r=s.varintBufferEncode(t);else{if(!a[t])throw new Error("multicodec not recognized");r=a[t]}return n.concat([r,e])},e.rmPrefix=function(t){return i.decode(t),t.slice(i.decode.bytes)},e.getCodec=function(t){var e=i.decode(t),r=o.get(e);if(void 0===r)throw new Error("Code ".concat(e," not found"));return r},e.getName=function(t){return o.get(t)},e.getNumber=function(t){var e=a[t];if(void 0===e)throw new Error("Codec `"+t+"` not found");return s.varintBufferDecode(e)[0]},e.getCode=function(t){return i.decode(t)},e.getCodeVarint=function(t){var e=a[t];if(void 0===e)throw new Error("Codec `"+t+"` not found");return e},e.getVarint=function(t){return i.encode(t)};var u=r(54093);Object.assign(e,u),e.print=r(11032)},7054:(t,e,r)=>{"use strict";var n=r(24070),i=new Map;for(var o in n){var a=n[o];i.set(a,o)}t.exports=Object.freeze(i)},11032:(t,e,r)=>{"use strict";for(var n=r(28847)(r(74519)),i=r(24070),o={},a=0,s=Object.entries(i);a<s.length;a++){var u=(0,n.default)(s[a],2),c=u[0],l=u[1];void 0===o[l]&&(o[l]=c)}t.exports=Object.freeze(o)},55576:(t,e,r)=>{"use strict";var n=r(29033).Buffer,i=r(26657);function o(t){return parseInt(t.toString("hex"),16)}function a(t){var e=t.toString(16);return e.length%2==1&&(e="0"+e),n.from(e,"hex")}t.exports={numberToBuffer:a,bufferToNumber:o,varintBufferEncode:function(t){return n.from(i.encode(o(t)))},varintBufferDecode:function(t){return a(i.decode(t))},varintEncode:function(t){return n.from(i.encode(t))}}},86002:(t,e,r)=>{"use strict";var n=r(24070),i=r(55576).varintEncode,o={};for(var a in n){var s=n[a];o[a]=i(s)}t.exports=Object.freeze(o)},71786:(t,e,r)=>{"use strict";var n=r(28847),i=n(r(69721)),o=n(r(58985)),a=function(){function t(e,r,n,o){(0,i.default)(this,t),this.name=e,this.code=r,this.alphabet=o,n&&o&&(this.engine=n(o))}return(0,o.default)(t,[{key:"encode",value:function(t){return this.engine.encode(t)}},{key:"decode",value:function(t){return this.engine.decode(t)}},{key:"isImplemented",value:function(){return this.engine}}]),t}();t.exports=a},37739:(t,e,r)=>{"use strict";function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var i=r(29033).Buffer;t.exports=function(t){return{encode:function(t){return"string"==typeof t?i.from(t).toString("hex"):t.toString("hex")},decode:function(e){var r,o=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return s=t.done,t},e:function(t){u=!0,a=t},f:function(){try{s||null==r.return||r.return()}finally{if(u)throw a}}}}(e);try{for(o.s();!(r=o.n()).done;){var a=r.value;if(t.indexOf(a)<0)throw new Error("invalid base16 character")}}catch(t){o.e(t)}finally{o.f()}return i.from(e,"hex")}}}},70976:t=>{"use strict";function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}t.exports=function(t){return{encode:function(e){return function(t,e){var r=t.byteLength,n=new Uint8Array(t),i=e.indexOf("=")===e.length-1;i&&(e=e.substring(0,e.length-1));for(var o=0,a=0,s="",u=0;u<r;u++)for(a=a<<8|n[u],o+=8;o>=5;)s+=e[a>>>o-5&31],o-=5;if(o>0&&(s+=e[a<<5-o&31]),i)for(;s.length%8!=0;)s+="=";return s}("string"==typeof e?Uint8Array.from(e):e,t)},decode:function(r){var n,i=function(t,r){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,r){if(t){if("string"==typeof t)return e(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?e(t,r):void 0}}(t))||r&&t&&"number"==typeof t.length){n&&(t=n);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return s=t.done,t},e:function(t){u=!0,a=t},f:function(){try{s||null==n.return||n.return()}finally{if(u)throw a}}}}(r);try{for(i.s();!(n=i.n()).done;){var o=n.value;if(t.indexOf(o)<0)throw new Error("invalid base32 character")}}catch(t){i.e(t)}finally{i.f()}return function(t,e){for(var r=(t=t.replace(new RegExp("=","g"),"")).length,n=0,i=0,o=0,a=new Uint8Array(5*r/8|0),s=0;s<r;s++)i=i<<5|e.indexOf(t[s]),(n+=5)>=8&&(a[o++]=i>>>n-8&255,n-=8);return a.buffer}(r,t)}}}},88504:(t,e,r)=>{"use strict";function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var i=r(29033).Buffer;t.exports=function(t){var e=t.indexOf("=")>-1,r=t.indexOf("-")>-1&&t.indexOf("_")>-1;return{encode:function(t){var n="";n="string"==typeof t?i.from(t).toString("base64"):t.toString("base64"),r&&(n=n.replace(/\+/g,"-").replace(/\//g,"_"));var o=n.indexOf("=");return o>0&&!e&&(n=n.substring(0,o)),n},decode:function(e){var r,o=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return s=t.done,t},e:function(t){u=!0,a=t},f:function(){try{s||null==r.return||r.return()}finally{if(u)throw a}}}}(e);try{for(o.s();!(r=o.n()).done;){var a=r.value;if(t.indexOf(a)<0)throw new Error("invalid base64 character")}}catch(t){o.e(t)}finally{o.f()}return i.from(e,"base64")}}}},12263:(t,e,r)=>{"use strict";var n=r(71786),i=r(27548),o=r(37739),a=r(70976),s=r(88504),u=[["base1","1","","1"],["base2","0",i,"01"],["base8","7",i,"01234567"],["base10","9",i,"0123456789"],["base16","f",o,"0123456789abcdef"],["base32","b",a,"abcdefghijklmnopqrstuvwxyz234567"],["base32pad","c",a,"abcdefghijklmnopqrstuvwxyz234567="],["base32hex","v",a,"0123456789abcdefghijklmnopqrstuv"],["base32hexpad","t",a,"0123456789abcdefghijklmnopqrstuv="],["base32z","h",a,"ybndrfg8ejkmcpqxot1uwisza345h769"],["base58flickr","Z",i,"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"],["base58btc","z",i,"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"],["base64","m",s,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"],["base64pad","M",s,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="],["base64url","u",s,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"],["base64urlpad","U",s,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_="]],c=u.reduce((function(t,e){return t[e[0]]=new n(e[0],e[1],e[2],e[3]),t}),{}),l=u.reduce((function(t,e){return t[e[1]]=c[e[0]],t}),{});t.exports={names:c,codes:l}},2592:(t,e,r)=>{"use strict";var n=r(29033).Buffer,i=r(12263);function o(t,e){if(!e)throw new Error("requires an encoded buffer");var r=a(t),i=n.from(r.code);return function(t,e){a(t).decode(e.toString())}(r.name,e),n.concat([i,e])}function a(t){var e;if(i.names[t])e=i.names[t];else{if(!i.codes[t])throw new Error("Unsupported encoding");e=i.codes[t]}if(!e.isImplemented())throw new Error("Base "+t+" is not implemented yet");return e}(e=t.exports=o).encode=function(t,e){var r=a(t);return o(r.name,n.from(r.encode(e)))},e.decode=function(t){n.isBuffer(t)&&(t=t.toString());var e=t.substring(0,1);"string"==typeof(t=t.substring(1,t.length))&&(t=n.from(t));var r=a(e);return n.from(r.decode(t.toString()))},e.isEncoded=function(t){if(n.isBuffer(t)&&(t=t.toString()),"[object String]"!==Object.prototype.toString.call(t))return!1;var e=t.substring(0,1);try{return a(e).name}catch(t){return!1}},e.names=Object.freeze(Object.keys(i.names)),e.codes=Object.freeze(Object.keys(i.codes))},81269:(t,e)=>{"use strict";e.names=Object.freeze({identity:0,sha1:17,"sha2-256":18,"sha2-512":19,"dbl-sha2-256":86,"sha3-224":23,"sha3-256":22,"sha3-384":21,"sha3-512":20,"shake-128":24,"shake-256":25,"keccak-224":26,"keccak-256":27,"keccak-384":28,"keccak-512":29,"murmur3-128":34,"murmur3-32":35,md4:212,md5:213,"blake2b-8":45569,"blake2b-16":45570,"blake2b-24":45571,"blake2b-32":45572,"blake2b-40":45573,"blake2b-48":45574,"blake2b-56":45575,"blake2b-64":45576,"blake2b-72":45577,"blake2b-80":45578,"blake2b-88":45579,"blake2b-96":45580,"blake2b-104":45581,"blake2b-112":45582,"blake2b-120":45583,"blake2b-128":45584,"blake2b-136":45585,"blake2b-144":45586,"blake2b-152":45587,"blake2b-160":45588,"blake2b-168":45589,"blake2b-176":45590,"blake2b-184":45591,"blake2b-192":45592,"blake2b-200":45593,"blake2b-208":45594,"blake2b-216":45595,"blake2b-224":45596,"blake2b-232":45597,"blake2b-240":45598,"blake2b-248":45599,"blake2b-256":45600,"blake2b-264":45601,"blake2b-272":45602,"blake2b-280":45603,"blake2b-288":45604,"blake2b-296":45605,"blake2b-304":45606,"blake2b-312":45607,"blake2b-320":45608,"blake2b-328":45609,"blake2b-336":45610,"blake2b-344":45611,"blake2b-352":45612,"blake2b-360":45613,"blake2b-368":45614,"blake2b-376":45615,"blake2b-384":45616,"blake2b-392":45617,"blake2b-400":45618,"blake2b-408":45619,"blake2b-416":45620,"blake2b-424":45621,"blake2b-432":45622,"blake2b-440":45623,"blake2b-448":45624,"blake2b-456":45625,"blake2b-464":45626,"blake2b-472":45627,"blake2b-480":45628,"blake2b-488":45629,"blake2b-496":45630,"blake2b-504":45631,"blake2b-512":45632,"blake2s-8":45633,"blake2s-16":45634,"blake2s-24":45635,"blake2s-32":45636,"blake2s-40":45637,"blake2s-48":45638,"blake2s-56":45639,"blake2s-64":45640,"blake2s-72":45641,"blake2s-80":45642,"blake2s-88":45643,"blake2s-96":45644,"blake2s-104":45645,"blake2s-112":45646,"blake2s-120":45647,"blake2s-128":45648,"blake2s-136":45649,"blake2s-144":45650,"blake2s-152":45651,"blake2s-160":45652,"blake2s-168":45653,"blake2s-176":45654,"blake2s-184":45655,"blake2s-192":45656,"blake2s-200":45657,"blake2s-208":45658,"blake2s-216":45659,"blake2s-224":45660,"blake2s-232":45661,"blake2s-240":45662,"blake2s-248":45663,"blake2s-256":45664,"Skein256-8":45825,"Skein256-16":45826,"Skein256-24":45827,"Skein256-32":45828,"Skein256-40":45829,"Skein256-48":45830,"Skein256-56":45831,"Skein256-64":45832,"Skein256-72":45833,"Skein256-80":45834,"Skein256-88":45835,"Skein256-96":45836,"Skein256-104":45837,"Skein256-112":45838,"Skein256-120":45839,"Skein256-128":45840,"Skein256-136":45841,"Skein256-144":45842,"Skein256-152":45843,"Skein256-160":45844,"Skein256-168":45845,"Skein256-176":45846,"Skein256-184":45847,"Skein256-192":45848,"Skein256-200":45849,"Skein256-208":45850,"Skein256-216":45851,"Skein256-224":45852,"Skein256-232":45853,"Skein256-240":45854,"Skein256-248":45855,"Skein256-256":45856,"Skein512-8":45857,"Skein512-16":45858,"Skein512-24":45859,"Skein512-32":45860,"Skein512-40":45861,"Skein512-48":45862,"Skein512-56":45863,"Skein512-64":45864,"Skein512-72":45865,"Skein512-80":45866,"Skein512-88":45867,"Skein512-96":45868,"Skein512-104":45869,"Skein512-112":45870,"Skein512-120":45871,"Skein512-128":45872,"Skein512-136":45873,"Skein512-144":45874,"Skein512-152":45875,"Skein512-160":45876,"Skein512-168":45877,"Skein512-176":45878,"Skein512-184":45879,"Skein512-192":45880,"Skein512-200":45881,"Skein512-208":45882,"Skein512-216":45883,"Skein512-224":45884,"Skein512-232":45885,"Skein512-240":45886,"Skein512-248":45887,"Skein512-256":45888,"Skein512-264":45889,"Skein512-272":45890,"Skein512-280":45891,"Skein512-288":45892,"Skein512-296":45893,"Skein512-304":45894,"Skein512-312":45895,"Skein512-320":45896,"Skein512-328":45897,"Skein512-336":45898,"Skein512-344":45899,"Skein512-352":45900,"Skein512-360":45901,"Skein512-368":45902,"Skein512-376":45903,"Skein512-384":45904,"Skein512-392":45905,"Skein512-400":45906,"Skein512-408":45907,"Skein512-416":45908,"Skein512-424":45909,"Skein512-432":45910,"Skein512-440":45911,"Skein512-448":45912,"Skein512-456":45913,"Skein512-464":45914,"Skein512-472":45915,"Skein512-480":45916,"Skein512-488":45917,"Skein512-496":45918,"Skein512-504":45919,"Skein512-512":45920,"Skein1024-8":45921,"Skein1024-16":45922,"Skein1024-24":45923,"Skein1024-32":45924,"Skein1024-40":45925,"Skein1024-48":45926,"Skein1024-56":45927,"Skein1024-64":45928,"Skein1024-72":45929,"Skein1024-80":45930,"Skein1024-88":45931,"Skein1024-96":45932,"Skein1024-104":45933,"Skein1024-112":45934,"Skein1024-120":45935,"Skein1024-128":45936,"Skein1024-136":45937,"Skein1024-144":45938,"Skein1024-152":45939,"Skein1024-160":45940,"Skein1024-168":45941,"Skein1024-176":45942,"Skein1024-184":45943,"Skein1024-192":45944,"Skein1024-200":45945,"Skein1024-208":45946,"Skein1024-216":45947,"Skein1024-224":45948,"Skein1024-232":45949,"Skein1024-240":45950,"Skein1024-248":45951,"Skein1024-256":45952,"Skein1024-264":45953,"Skein1024-272":45954,"Skein1024-280":45955,"Skein1024-288":45956,"Skein1024-296":45957,"Skein1024-304":45958,"Skein1024-312":45959,"Skein1024-320":45960,"Skein1024-328":45961,"Skein1024-336":45962,"Skein1024-344":45963,"Skein1024-352":45964,"Skein1024-360":45965,"Skein1024-368":45966,"Skein1024-376":45967,"Skein1024-384":45968,"Skein1024-392":45969,"Skein1024-400":45970,"Skein1024-408":45971,"Skein1024-416":45972,"Skein1024-424":45973,"Skein1024-432":45974,"Skein1024-440":45975,"Skein1024-448":45976,"Skein1024-456":45977,"Skein1024-464":45978,"Skein1024-472":45979,"Skein1024-480":45980,"Skein1024-488":45981,"Skein1024-496":45982,"Skein1024-504":45983,"Skein1024-512":45984,"Skein1024-520":45985,"Skein1024-528":45986,"Skein1024-536":45987,"Skein1024-544":45988,"Skein1024-552":45989,"Skein1024-560":45990,"Skein1024-568":45991,"Skein1024-576":45992,"Skein1024-584":45993,"Skein1024-592":45994,"Skein1024-600":45995,"Skein1024-608":45996,"Skein1024-616":45997,"Skein1024-624":45998,"Skein1024-632":45999,"Skein1024-640":46e3,"Skein1024-648":46001,"Skein1024-656":46002,"Skein1024-664":46003,"Skein1024-672":46004,"Skein1024-680":46005,"Skein1024-688":46006,"Skein1024-696":46007,"Skein1024-704":46008,"Skein1024-712":46009,"Skein1024-720":46010,"Skein1024-728":46011,"Skein1024-736":46012,"Skein1024-744":46013,"Skein1024-752":46014,"Skein1024-760":46015,"Skein1024-768":46016,"Skein1024-776":46017,"Skein1024-784":46018,"Skein1024-792":46019,"Skein1024-800":46020,"Skein1024-808":46021,"Skein1024-816":46022,"Skein1024-824":46023,"Skein1024-832":46024,"Skein1024-840":46025,"Skein1024-848":46026,"Skein1024-856":46027,"Skein1024-864":46028,"Skein1024-872":46029,"Skein1024-880":46030,"Skein1024-888":46031,"Skein1024-896":46032,"Skein1024-904":46033,"Skein1024-912":46034,"Skein1024-920":46035,"Skein1024-928":46036,"Skein1024-936":46037,"Skein1024-944":46038,"Skein1024-952":46039,"Skein1024-960":46040,"Skein1024-968":46041,"Skein1024-976":46042,"Skein1024-984":46043,"Skein1024-992":46044,"Skein1024-1000":46045,"Skein1024-1008":46046,"Skein1024-1016":46047,"Skein1024-1024":46048}),e.codes=Object.freeze({0:"identity",17:"sha1",18:"sha2-256",19:"sha2-512",86:"dbl-sha2-256",23:"sha3-224",22:"sha3-256",21:"sha3-384",20:"sha3-512",24:"shake-128",25:"shake-256",26:"keccak-224",27:"keccak-256",28:"keccak-384",29:"keccak-512",34:"murmur3-128",35:"murmur3-32",212:"md4",213:"md5",45569:"blake2b-8",45570:"blake2b-16",45571:"blake2b-24",45572:"blake2b-32",45573:"blake2b-40",45574:"blake2b-48",45575:"blake2b-56",45576:"blake2b-64",45577:"blake2b-72",45578:"blake2b-80",45579:"blake2b-88",45580:"blake2b-96",45581:"blake2b-104",45582:"blake2b-112",45583:"blake2b-120",45584:"blake2b-128",45585:"blake2b-136",45586:"blake2b-144",45587:"blake2b-152",45588:"blake2b-160",45589:"blake2b-168",45590:"blake2b-176",45591:"blake2b-184",45592:"blake2b-192",45593:"blake2b-200",45594:"blake2b-208",45595:"blake2b-216",45596:"blake2b-224",45597:"blake2b-232",45598:"blake2b-240",45599:"blake2b-248",45600:"blake2b-256",45601:"blake2b-264",45602:"blake2b-272",45603:"blake2b-280",45604:"blake2b-288",45605:"blake2b-296",45606:"blake2b-304",45607:"blake2b-312",45608:"blake2b-320",45609:"blake2b-328",45610:"blake2b-336",45611:"blake2b-344",45612:"blake2b-352",45613:"blake2b-360",45614:"blake2b-368",45615:"blake2b-376",45616:"blake2b-384",45617:"blake2b-392",45618:"blake2b-400",45619:"blake2b-408",45620:"blake2b-416",45621:"blake2b-424",45622:"blake2b-432",45623:"blake2b-440",45624:"blake2b-448",45625:"blake2b-456",45626:"blake2b-464",45627:"blake2b-472",45628:"blake2b-480",45629:"blake2b-488",45630:"blake2b-496",45631:"blake2b-504",45632:"blake2b-512",45633:"blake2s-8",45634:"blake2s-16",45635:"blake2s-24",45636:"blake2s-32",45637:"blake2s-40",45638:"blake2s-48",45639:"blake2s-56",45640:"blake2s-64",45641:"blake2s-72",45642:"blake2s-80",45643:"blake2s-88",45644:"blake2s-96",45645:"blake2s-104",45646:"blake2s-112",45647:"blake2s-120",45648:"blake2s-128",45649:"blake2s-136",45650:"blake2s-144",45651:"blake2s-152",45652:"blake2s-160",45653:"blake2s-168",45654:"blake2s-176",45655:"blake2s-184",45656:"blake2s-192",45657:"blake2s-200",45658:"blake2s-208",45659:"blake2s-216",45660:"blake2s-224",45661:"blake2s-232",45662:"blake2s-240",45663:"blake2s-248",45664:"blake2s-256",45825:"Skein256-8",45826:"Skein256-16",45827:"Skein256-24",45828:"Skein256-32",45829:"Skein256-40",45830:"Skein256-48",45831:"Skein256-56",45832:"Skein256-64",45833:"Skein256-72",45834:"Skein256-80",45835:"Skein256-88",45836:"Skein256-96",45837:"Skein256-104",45838:"Skein256-112",45839:"Skein256-120",45840:"Skein256-128",45841:"Skein256-136",45842:"Skein256-144",45843:"Skein256-152",45844:"Skein256-160",45845:"Skein256-168",45846:"Skein256-176",45847:"Skein256-184",45848:"Skein256-192",45849:"Skein256-200",45850:"Skein256-208",45851:"Skein256-216",45852:"Skein256-224",45853:"Skein256-232",45854:"Skein256-240",45855:"Skein256-248",45856:"Skein256-256",45857:"Skein512-8",45858:"Skein512-16",45859:"Skein512-24",45860:"Skein512-32",45861:"Skein512-40",45862:"Skein512-48",45863:"Skein512-56",45864:"Skein512-64",45865:"Skein512-72",45866:"Skein512-80",45867:"Skein512-88",45868:"Skein512-96",45869:"Skein512-104",45870:"Skein512-112",45871:"Skein512-120",45872:"Skein512-128",45873:"Skein512-136",45874:"Skein512-144",45875:"Skein512-152",45876:"Skein512-160",45877:"Skein512-168",45878:"Skein512-176",45879:"Skein512-184",45880:"Skein512-192",45881:"Skein512-200",45882:"Skein512-208",45883:"Skein512-216",45884:"Skein512-224",45885:"Skein512-232",45886:"Skein512-240",45887:"Skein512-248",45888:"Skein512-256",45889:"Skein512-264",45890:"Skein512-272",45891:"Skein512-280",45892:"Skein512-288",45893:"Skein512-296",45894:"Skein512-304",45895:"Skein512-312",45896:"Skein512-320",45897:"Skein512-328",45898:"Skein512-336",45899:"Skein512-344",45900:"Skein512-352",45901:"Skein512-360",45902:"Skein512-368",45903:"Skein512-376",45904:"Skein512-384",45905:"Skein512-392",45906:"Skein512-400",45907:"Skein512-408",45908:"Skein512-416",45909:"Skein512-424",45910:"Skein512-432",45911:"Skein512-440",45912:"Skein512-448",45913:"Skein512-456",45914:"Skein512-464",45915:"Skein512-472",45916:"Skein512-480",45917:"Skein512-488",45918:"Skein512-496",45919:"Skein512-504",45920:"Skein512-512",45921:"Skein1024-8",45922:"Skein1024-16",45923:"Skein1024-24",45924:"Skein1024-32",45925:"Skein1024-40",45926:"Skein1024-48",45927:"Skein1024-56",45928:"Skein1024-64",45929:"Skein1024-72",45930:"Skein1024-80",45931:"Skein1024-88",45932:"Skein1024-96",45933:"Skein1024-104",45934:"Skein1024-112",45935:"Skein1024-120",45936:"Skein1024-128",45937:"Skein1024-136",45938:"Skein1024-144",45939:"Skein1024-152",45940:"Skein1024-160",45941:"Skein1024-168",45942:"Skein1024-176",45943:"Skein1024-184",45944:"Skein1024-192",45945:"Skein1024-200",45946:"Skein1024-208",45947:"Skein1024-216",45948:"Skein1024-224",45949:"Skein1024-232",45950:"Skein1024-240",45951:"Skein1024-248",45952:"Skein1024-256",45953:"Skein1024-264",45954:"Skein1024-272",45955:"Skein1024-280",45956:"Skein1024-288",45957:"Skein1024-296",45958:"Skein1024-304",45959:"Skein1024-312",45960:"Skein1024-320",45961:"Skein1024-328",45962:"Skein1024-336",45963:"Skein1024-344",45964:"Skein1024-352",45965:"Skein1024-360",45966:"Skein1024-368",45967:"Skein1024-376",45968:"Skein1024-384",45969:"Skein1024-392",45970:"Skein1024-400",45971:"Skein1024-408",45972:"Skein1024-416",45973:"Skein1024-424",45974:"Skein1024-432",45975:"Skein1024-440",45976:"Skein1024-448",45977:"Skein1024-456",45978:"Skein1024-464",45979:"Skein1024-472",45980:"Skein1024-480",45981:"Skein1024-488",45982:"Skein1024-496",45983:"Skein1024-504",45984:"Skein1024-512",45985:"Skein1024-520",45986:"Skein1024-528",45987:"Skein1024-536",45988:"Skein1024-544",45989:"Skein1024-552",45990:"Skein1024-560",45991:"Skein1024-568",45992:"Skein1024-576",45993:"Skein1024-584",45994:"Skein1024-592",45995:"Skein1024-600",45996:"Skein1024-608",45997:"Skein1024-616",45998:"Skein1024-624",45999:"Skein1024-632",46e3:"Skein1024-640",46001:"Skein1024-648",46002:"Skein1024-656",46003:"Skein1024-664",46004:"Skein1024-672",46005:"Skein1024-680",46006:"Skein1024-688",46007:"Skein1024-696",46008:"Skein1024-704",46009:"Skein1024-712",46010:"Skein1024-720",46011:"Skein1024-728",46012:"Skein1024-736",46013:"Skein1024-744",46014:"Skein1024-752",46015:"Skein1024-760",46016:"Skein1024-768",46017:"Skein1024-776",46018:"Skein1024-784",46019:"Skein1024-792",46020:"Skein1024-800",46021:"Skein1024-808",46022:"Skein1024-816",46023:"Skein1024-824",46024:"Skein1024-832",46025:"Skein1024-840",46026:"Skein1024-848",46027:"Skein1024-856",46028:"Skein1024-864",46029:"Skein1024-872",46030:"Skein1024-880",46031:"Skein1024-888",46032:"Skein1024-896",46033:"Skein1024-904",46034:"Skein1024-912",46035:"Skein1024-920",46036:"Skein1024-928",46037:"Skein1024-936",46038:"Skein1024-944",46039:"Skein1024-952",46040:"Skein1024-960",46041:"Skein1024-968",46042:"Skein1024-976",46043:"Skein1024-984",46044:"Skein1024-992",46045:"Skein1024-1000",46046:"Skein1024-1008",46047:"Skein1024-1016",46048:"Skein1024-1024"}),e.defaultLengths=Object.freeze({17:20,18:32,19:64,86:32,23:28,22:32,21:48,20:64,24:32,25:64,26:28,27:32,28:48,29:64,34:32,45569:1,45570:2,45571:3,45572:4,45573:5,45574:6,45575:7,45576:8,45577:9,45578:10,45579:11,45580:12,45581:13,45582:14,45583:15,45584:16,45585:17,45586:18,45587:19,45588:20,45589:21,45590:22,45591:23,45592:24,45593:25,45594:26,45595:27,45596:28,45597:29,45598:30,45599:31,45600:32,45601:33,45602:34,45603:35,45604:36,45605:37,45606:38,45607:39,45608:40,45609:41,45610:42,45611:43,45612:44,45613:45,45614:46,45615:47,45616:48,45617:49,45618:50,45619:51,45620:52,45621:53,45622:54,45623:55,45624:56,45625:57,45626:58,45627:59,45628:60,45629:61,45630:62,45631:63,45632:64,45633:1,45634:2,45635:3,45636:4,45637:5,45638:6,45639:7,45640:8,45641:9,45642:10,45643:11,45644:12,45645:13,45646:14,45647:15,45648:16,45649:17,45650:18,45651:19,45652:20,45653:21,45654:22,45655:23,45656:24,45657:25,45658:26,45659:27,45660:28,45661:29,45662:30,45663:31,45664:32,45825:1,45826:2,45827:3,45828:4,45829:5,45830:6,45831:7,45832:8,45833:9,45834:10,45835:11,45836:12,45837:13,45838:14,45839:15,45840:16,45841:17,45842:18,45843:19,45844:20,45845:21,45846:22,45847:23,45848:24,45849:25,45850:26,45851:27,45852:28,45853:29,45854:30,45855:31,45856:32,45857:1,45858:2,45859:3,45860:4,45861:5,45862:6,45863:7,45864:8,45865:9,45866:10,45867:11,45868:12,45869:13,45870:14,45871:15,45872:16,45873:17,45874:18,45875:19,45876:20,45877:21,45878:22,45879:23,45880:24,45881:25,45882:26,45883:27,45884:28,45885:29,45886:30,45887:31,45888:32,45889:33,45890:34,45891:35,45892:36,45893:37,45894:38,45895:39,45896:40,45897:41,45898:42,45899:43,45900:44,45901:45,45902:46,45903:47,45904:48,45905:49,45906:50,45907:51,45908:52,45909:53,45910:54,45911:55,45912:56,45913:57,45914:58,45915:59,45916:60,45917:61,45918:62,45919:63,45920:64,45921:1,45922:2,45923:3,45924:4,45925:5,45926:6,45927:7,45928:8,45929:9,45930:10,45931:11,45932:12,45933:13,45934:14,45935:15,45936:16,45937:17,45938:18,45939:19,45940:20,45941:21,45942:22,45943:23,45944:24,45945:25,45946:26,45947:27,45948:28,45949:29,45950:30,45951:31,45952:32,45953:33,45954:34,45955:35,45956:36,45957:37,45958:38,45959:39,45960:40,45961:41,45962:42,45963:43,45964:44,45965:45,45966:46,45967:47,45968:48,45969:49,45970:50,45971:51,45972:52,45973:53,45974:54,45975:55,45976:56,45977:57,45978:58,45979:59,45980:60,45981:61,45982:62,45983:63,45984:64,45985:65,45986:66,45987:67,45988:68,45989:69,45990:70,45991:71,45992:72,45993:73,45994:74,45995:75,45996:76,45997:77,45998:78,45999:79,46e3:80,46001:81,46002:82,46003:83,46004:84,46005:85,46006:86,46007:87,46008:88,46009:89,46010:90,46011:91,46012:92,46013:93,46014:94,46015:95,46016:96,46017:97,46018:98,46019:99,46020:100,46021:101,46022:102,46023:103,46024:104,46025:105,46026:106,46027:107,46028:108,46029:109,46030:110,46031:111,46032:112,46033:113,46034:114,46035:115,46036:116,46037:117,46038:118,46039:119,46040:120,46041:121,46042:122,46043:123,46044:124,46045:125,46046:126,46047:127,46048:128})},77748:(t,e,r)=>{"use strict";var n=r(29033).Buffer,i=r(2592),o=r(26657),a=r(81269);function s(t){e.decode(t)}e.names=a.names,e.codes=a.codes,e.defaultLengths=a.defaultLengths,e.toHexString=function(t){if(!n.isBuffer(t))throw new Error("must be passed a buffer");return t.toString("hex")},e.fromHexString=function(t){return n.from(t,"hex")},e.toB58String=function(t){if(!n.isBuffer(t))throw new Error("must be passed a buffer");return i.encode("base58btc",t).toString().slice(1)},e.fromB58String=function(t){var e=t;return n.isBuffer(t)&&(e=t.toString()),i.decode("z"+e)},e.decode=function(t){if(!n.isBuffer(t))throw new Error("multihash must be a Buffer");if(t.length<2)throw new Error("multihash too short. must be > 2 bytes.");var r=o.decode(t);if(!e.isValidCode(r))throw new Error("multihash unknown function code: 0x".concat(r.toString(16)));t=t.slice(o.decode.bytes);var i=o.decode(t);if(i<0)throw new Error("multihash invalid length: ".concat(i));if((t=t.slice(o.decode.bytes)).length!==i)throw new Error("multihash length inconsistent: 0x".concat(t.toString("hex")));return{code:r,name:a.codes[r],length:i,digest:t}},e.encode=function(t,r,i){if(!t||void 0===r)throw new Error("multihash encode requires at least two args: digest, code");var a=e.coerceCode(r);if(!n.isBuffer(t))throw new Error("digest should be a Buffer");if(null==i&&(i=t.length),i&&t.length!==i)throw new Error("digest length should be equal to specified length.");return n.concat([n.from(o.encode(a)),n.from(o.encode(i)),t])},e.coerceCode=function(t){var r=t;if("string"==typeof t){if(void 0===a.names[t])throw new Error("Unrecognized hash function named: ".concat(t));r=a.names[t]}if("number"!=typeof r)throw new Error("Hash function code should be a number. Got: ".concat(r));if(void 0===a.codes[r]&&!e.isAppCode(r))throw new Error("Unrecognized function code: ".concat(r));return r},e.isAppCode=function(t){return t>0&&t<16},e.isValidCode=function(t){return!!e.isAppCode(t)||!!a.codes[t]},e.validate=s,e.prefix=function(t){return s(t),t.slice(0,2)}},77277:(t,e,r)=>{"use strict";var n=r(28847)(r(3355)),i=r(31734),o=r(36931);t.exports=function(t){if("string"==typeof t||"number"==typeof t){var e=new i(1),r=String(t).toLowerCase().trim(),a="0x"===r.substr(0,2)||"-0x"===r.substr(0,3),s=o(r);if("-"===s.substr(0,1)&&(s=o(s.slice(1)),e=new i(-1,10)),!(s=""===s?"0":s).match(/^-?[0-9]+$/)&&s.match(/^[0-9A-Fa-f]+$/)||s.match(/^[a-fA-F]+$/)||!0===a&&s.match(/^[0-9A-Fa-f]+$/))return new i(s,16).mul(e);if((s.match(/^-?[0-9]+$/)||""===s)&&!1===a)return new i(s,10).mul(e)}else if("object"===(0,n.default)(t)&&t.toString&&!t.pop&&!t.push&&t.toString(10).match(/^-?[0-9]+$/)&&(t.mul||t.dividedToIntegerBy))return new i(t.toString(10),10);throw new Error("[number-to-bn] while converting number "+JSON.stringify(t)+" to BN.js instance, error: invalid number value. Value must be an integer, hex string, BN or BigNumber instance. Note, decimals are not supported.")}},33103:t=>{"use strict";var e=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(t){n[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(t){return!1}}()?Object.assign:function(t,i){for(var o,a,s=function(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(t),u=1;u<arguments.length;u++){for(var c in o=Object(arguments[u]))r.call(o,c)&&(s[c]=o[c]);if(e){a=e(o);for(var l=0;l<a.length;l++)n.call(o,a[l])&&(s[a[l]]=o[a[l]])}}return s}},83150:(t,e,r)=>{"use strict";var n,i,o;t=r.nmd(t);var a,s=r(28847)(r(3355));"undefined"!=typeof self&&self,a=function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=7)}([function(t,e,r){r.d(e,"j",(function(){return i})),r.d(e,"d",(function(){return o})),r.d(e,"c",(function(){return a})),r.d(e,"h",(function(){return s})),r.d(e,"b",(function(){return u})),r.d(e,"k",(function(){return c})),r.d(e,"e",(function(){return l})),r.d(e,"g",(function(){return h})),r.d(e,"i",(function(){return f})),r.d(e,"a",(function(){return d})),r.d(e,"f",(function(){return p}));var n=r(1),i=c((function(t,e){var r=e.length;return c((function(n){for(var i=0;i<n.length;i++)e[r+i]=n[i];return e.length=r+n.length,t.apply(this,e)}))}));function o(t,e){return function(){return t.call(this,e.apply(this,arguments))}}function a(t){return function(e){return e[t]}}c((function(t){var e=Object(n.c)(t);function r(t,e){return[u(t,e)]}return c((function(t){return Object(n.f)(r,t,e)[0]}))}));var s=c((function(t){return c((function(e){for(var r,n=0;n<a("length")(t);n++)if(r=u(e,t[n]))return r}))}));function u(t,e){return e.apply(void 0,t)}function c(t){var e=t.length-1,r=Array.prototype.slice;if(0===e)return function(){return t.call(this,r.call(arguments))};if(1===e)return function(){return t.call(this,arguments[0],r.call(arguments,1))};var n=Array(t.length);return function(){for(var i=0;i<e;i++)n[i]=arguments[i];return n[e]=r.call(arguments,e),t.apply(this,n)}}function l(t){return function(e,r){return t(r,e)}}function h(t,e){return function(r){return t(r)&&e(r)}}function f(){}function d(){return!0}function p(t){return function(){return t}}},function(t,e,r){r.d(e,"d",(function(){return i})),r.d(e,"g",(function(){return a})),r.d(e,"l",(function(){return s})),r.d(e,"c",(function(){return u})),r.d(e,"h",(function(){return c})),r.d(e,"i",(function(){return l})),r.d(e,"j",(function(){return h})),r.d(e,"f",(function(){return f})),r.d(e,"m",(function(){return d})),r.d(e,"a",(function(){return p})),r.d(e,"b",(function(){return m})),r.d(e,"k",(function(){return g})),r.d(e,"e",(function(){return y}));var n=r(0);function i(t,e){return[t,e]}var o=null,a=Object(n.c)(0),s=Object(n.c)(1);function u(t){return g(t.reduce(Object(n.e)(i),o))}var c=Object(n.k)(u);function l(t){return f((function(t,e){return t.unshift(e),t}),[],t)}function h(t,e){return e?i(t(a(e)),h(t,s(e))):o}function f(t,e,r){return r?t(f(t,e,s(r)),a(r)):e}function d(t,e,r){return function t(r,n){return r?e(a(r))?(n(a(r)),s(r)):i(a(r),t(s(r),n)):o}(t,r||n.i)}function p(t,e){return!e||t(a(e))&&p(t,s(e))}function m(t,e){t&&(a(t).apply(null,e),m(s(t),e))}function g(t){return function t(e,r){return e?t(s(e),i(a(e),r)):r}(t,o)}function y(t,e){return e&&(t(a(e))?a(e):y(t,s(e)))}},function(t,e,r){r.d(e,"c",(function(){return o})),r.d(e,"e",(function(){return a})),r.d(e,"d",(function(){return s})),r.d(e,"a",(function(){return u})),r.d(e,"b",(function(){return c}));var n=r(1),i=r(0);function o(t,e){return e&&e.constructor===t}var a=Object(i.c)("length"),s=Object(i.j)(o,String);function u(t){return void 0!==t}function c(t,e){return e instanceof Object&&Object(n.a)((function(t){return t in e}),t)}},function(t,e,r){r.d(e,"f",(function(){return i})),r.d(e,"d",(function(){return o})),r.d(e,"g",(function(){return a})),r.d(e,"e",(function(){return s})),r.d(e,"b",(function(){return u})),r.d(e,"h",(function(){return c})),r.d(e,"i",(function(){return l})),r.d(e,"c",(function(){return h})),r.d(e,"m",(function(){return f})),r.d(e,"n",(function(){return d})),r.d(e,"a",(function(){return p})),r.d(e,"j",(function(){return m})),r.d(e,"l",(function(){return g})),r.d(e,"k",(function(){return y})),r.d(e,"o",(function(){return v}));var n=1,i=n++,o=n++,a=n++,s=n++,u="fail",c=n++,l=n++,h="start",f="data",d="end",p=n++,m=n++,g=n++,y=n++;function v(t,e,r){try{var n=JSON.parse(e)}catch(t){}return{statusCode:t,body:e,jsonBody:n,thrown:r}}},function(t,e,r){r.d(e,"b",(function(){return i})),r.d(e,"a",(function(){return o})),r.d(e,"c",(function(){return a}));var n=r(0);function i(t,e){return{key:t,node:e}}var o=Object(n.c)("key"),a=Object(n.c)("node")},function(t,e,r){r.d(e,"a",(function(){return u}));var n=r(1),i=r(0),o=r(2),a=r(8),s=r(9);function u(t){var e=Object(n.h)("resume","pause","pipe"),r=Object(i.j)(o.b,e);return t?r(t)||Object(o.d)(t)?Object(a.a)(s.a,t):Object(a.a)(s.a,t.url,t.method,t.body,t.headers,t.withCredentials,t.cached):Object(s.a)()}u.drop=function(){return u.drop}},function(t,e,r){r.d(e,"b",(function(){return u})),r.d(e,"a",(function(){return s}));var n=r(3),i=r(4),o=r(2),a=r(1),s={};function u(t){var e=t(n.f).emit,r=t(n.d).emit,u=t(n.i).emit,c=t(n.h).emit;function l(t,e,r){Object(i.c)(Object(a.g)(t))[e]=r}function h(t,r,n){t&&l(t,r,n);var o=Object(a.d)(Object(i.b)(r,n),t);return e(o),o}var f={};return f[n.l]=function(t,e){if(!t)return u(e),h(t,s,e);var r=function(t,e){var r=Object(i.c)(Object(a.g)(t));return Object(o.c)(Array,r)?h(t,Object(o.e)(r),e):t}(t,e),n=Object(a.l)(r),c=Object(i.a)(Object(a.g)(r));return l(n,c,e),Object(a.d)(Object(i.b)(c,e),n)},f[n.k]=function(t){return r(t),Object(a.l)(t)||c(Object(i.c)(Object(a.g)(t)))},f[n.j]=h,f}},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0});var n=r(5);e.default=n.a},function(t,e,r){r.d(e,"a",(function(){return i}));var n=r(2);function i(t,e,r,i,o,a,s){return o=o?JSON.parse(JSON.stringify(o)):{},i?(Object(n.d)(i)||(i=JSON.stringify(i),o["Content-Type"]=o["Content-Type"]||"application/json"),o["Content-Length"]=o["Content-Length"]||i.length):i=null,t(r||"GET",function(t,e){return!1===e&&(-1===t.indexOf("?")?t+="?":t+="&",t+="_="+(new Date).getTime()),t}(e,s),i,o,a||!1)}},function(t,e,r){r.d(e,"a",(function(){return h}));var n=r(10),i=r(12),o=r(6),a=r(13),s=r(14),u=r(16),c=r(17),l=r(18);function h(t,e,r,h,f){var d=Object(n.a)();return e&&Object(l.b)(d,Object(l.a)(),t,e,r,h,f),Object(c.a)(d),Object(i.a)(d,Object(o.b)(d)),Object(a.a)(d,s.a),Object(u.a)(d,e)}},function(t,e,r){r.d(e,"a",(function(){return o}));var n=r(11),i=r(0);function o(){var t={},e=o("newListener"),r=o("removeListener");function o(i){return t[i]=Object(n.a)(i,e,r),t[i]}function a(e){return t[e]||o(e)}return["emit","on","un"].forEach((function(t){a[t]=Object(i.k)((function(e,r){Object(i.b)(r,a(e)[t])}))})),a}},function(t,e,r){r.d(e,"a",(function(){return a}));var n=r(1),i=r(2),o=r(0);function a(t,e,r){var a,s;function u(t){return function(e){return e.id===t}}return{on:function(r,i){var o={listener:r,id:i||r};return e&&e.emit(t,r,o.id),a=Object(n.d)(o,a),s=Object(n.d)(r,s),this},emit:function(){Object(n.b)(s,arguments)},un:function(e){var i;a=Object(n.m)(a,u(e),(function(t){i=t})),i&&(s=Object(n.m)(s,(function(t){return t===i.listener})),r&&r.emit(t,i.listener,i.id))},listeners:function(){return s},hasListener:function(t){var e=t?u(t):o.a;return Object(i.a)(Object(n.e)(e,a))}}}},function(t,e,r){r.d(e,"a",(function(){return a}));var n=r(4),i=r(3),o=r(1);function a(t,e){var r,a={};function s(t){return function(e){r=t(r,e)}}for(var u in e)t(u).on(s(e[u]),a);t(i.g).on((function(t){var e=Object(o.g)(r),i=Object(n.a)(e),a=Object(o.l)(r);a&&(Object(n.c)(Object(o.g)(a))[i]=t)})),t(i.e).on((function(){var t=Object(o.g)(r),e=Object(n.a)(t),i=Object(o.l)(r);i&&delete Object(n.c)(Object(o.g)(i))[e]})),t(i.a).on((function(){for(var r in e)t(r).un(a)}))}},function(t,e,r){r.d(e,"a",(function(){return a}));var n=r(3),i=r(1),o=r(4);function a(t,e){var r={node:t(n.d),path:t(n.f)};t("newListener").on((function(n){var a=/(node|path):(.*)/.exec(n);if(a){var s=r[a[1]];s.hasListener(n)||function(e,r,n){var a=t(e).emit;r.on((function(t){var e=n(t);!1!==e&&function(t,e,r){var n=Object(i.k)(r);t(e,Object(i.i)(Object(i.l)(Object(i.j)(o.a,n))),Object(i.i)(Object(i.j)(o.c,n)))}(a,Object(o.c)(e),t)}),e),t("removeListener").on((function(n){n===e&&(t(n).listeners()||r.un(e))}))}(n,s,e(a[2]))}}))}},function(t,e,r){r.d(e,"a",(function(){return c}));var n=r(0),i=r(1),o=r(4),a=r(2),s=r(6),u=r(15),c=Object(u.a)((function(t,e,r,u,c){var l=1,h=Object(n.d)(o.a,i.g),f=Object(n.d)(o.c,i.g);function d(t,e){return e[l]?Object(n.g)(t,i.g):t}function p(t){return t===n.a?n.a:Object(n.g)((function(t){return h(t)!==s.a}),Object(n.d)(t,i.l))}function m(){return function(t){return h(t)===s.a}}function g(t,e,r,n,o){var s=t(r);if(s){var u=function(t,e,r){return Object(i.f)((function(t,e){return e(t,r)}),e,t)}(e,n,s);return o(r.substr(Object(a.e)(s[0])),u)}}function y(t,e){return Object(n.j)(g,t,e)}var v=Object(n.h)(y(t,Object(i.h)(d,(function(t,e){var r=e[3];if(!r)return t;var o=Object(n.j)(a.b,Object(i.c)(r.split(/\W+/))),s=Object(n.d)(o,f);return Object(n.g)(s,t)}),(function(t,e){var r=e[2],i=r&&"*"!==r?function(t){return String(h(t))===r}:n.a;return Object(n.g)(i,t)}),p)),y(e,Object(i.h)((function(t){if(t===n.a)return n.a;var e=m(),r=t,i=p((function(t){return o(t)})),o=Object(n.h)(e,r,i);return o}))),y(r,Object(i.h)()),y(u,Object(i.h)(d,m)),y(c,Object(i.h)((function(t){return function(e){var r=t(e);return!0===r?Object(i.g)(e):r}}))),(function(t){throw Error('"'+t+'" could not be tokenised')}));function b(t,e){return e}function _(t,e){return v(t,e,t?_:b)}return function(t){try{return _(t,n.a)}catch(e){throw Error('Could not compile "'+t+'" because '+e.message)}}}))},function(t,e,r){r.d(e,"a",(function(){return m}));var n,i,o,a,s,u,c,l,h,f,d,p=r(0),m=(n=Object(p.k)((function(t){return t.unshift(/^/),(e=RegExp(t.map(Object(p.c)("source")).join(""))).exec.bind(e);var e})),a=n(i=/(\$?)/,/([\w-_]+|\*)/,o=/(?:{([\w ]*?)})?/),s=n(i,/\["([^"]+)"\]/,o),u=n(i,/\[(\d+|\*)\]/,o),c=n(i,/()/,/{([\w ]*?)}/),l=n(/\.\./),h=n(/\./),f=n(i,/!/),d=n(/$/),function(t){return t(Object(p.h)(a,s,u,c),l,h,f,d)})},function(t,e,r){r.d(e,"a",(function(){return s}));var n=r(3),i=r(0),o=r(2),a=r(5);function s(t,e){var r,s=/^(node|path):./,u=t(n.h),c=t(n.e).emit,l=t(n.g).emit,h=Object(i.k)((function(e,n){if(r[e])Object(i.b)(n,r[e]);else{var o=t(e),a=n[0];s.test(e)?f(o,p(a)):o.on(a)}return r}));function f(t,e,n){n=n||e;var o=d(e);return t.on((function(){var e=!1;r.forget=function(){e=!0},Object(i.b)(arguments,o),delete r.forget,e&&t.un(n)}),n),r}function d(t){return function(){try{return t.apply(r,arguments)}catch(t){setTimeout((function(){throw new Error(t.message)}))}}}function p(t){return function(){var e=t.apply(this,arguments);Object(o.a)(e)&&(e===a.a.drop?c():l(e))}}function m(e,r,n){var i;i="node"===e?p(n):n,f(function(e,r){return t(e+":"+r)}(e,r),i,n)}function g(t,e,n){return Object(o.d)(e)?m(t,e,n):function(t,e){for(var r in e)m(t,r,e[r])}(t,e),r}return t(n.i).on((function(t){r.root=Object(i.f)(t)})),t(n.c).on((function(t,e){r.header=function(t){return t?e[t]:e}})),r={on:h,addListener:h,removeListener:function(e,n,i){if("done"===e)u.un(n);else if("node"===e||"path"===e)t.un(e+":"+n,i);else{var o=n;t(e).un(o)}return r},emit:t.emit,node:Object(i.j)(g,"node"),path:Object(i.j)(g,"path"),done:Object(i.j)(f,u),start:Object(i.j)((function(e,n){return t(e).on(d(n),n),r}),n.c),fail:t(n.b).on,abort:t(n.a).emit,header:i.i,root:i.i,source:e}}},function(t,e,r){r.d(e,"a",(function(){return i}));var n=r(3);function i(t){var e,r,i,o,a=t(n.j).emit,s=t(n.l).emit,u=t(n.k).emit,c=t(n.b).emit,l=65536,h=/[\\"\n]/g,f=0,d=f++,p=f++,m=f++,g=f++,y=f++,v=f++,b=f++,_=f++,w=f++,x=f++,k=f++,S=f++,E=f++,M=f++,A=f++,T=f++,C=f++,L=f++,P=f++,O=f++,I=l,D="",B=!1,j=!1,N=d,R=[],F=null,Y=0,U=0,H=0,z=0,V=1;function $(t){void 0!==o&&(s(o),u(),o=void 0),e=Error(t+"\nLn: "+V+"\nCol: "+z+"\nChr: "+r),c(Object(n.o)(void 0,void 0,e))}function q(t){return"\r"===t||"\n"===t||" "===t||"\t"===t}t(n.m).on((function(t){if(!e){if(j)return $("Cannot write after close");var n,c=0;for(r=t[0];r&&(c>0&&(i=r),r=t[c++]);)switch(H++,"\n"===r?(V++,z=0):z++,N){case d:if("{"===r)N=m;else if("["===r)N=y;else if(!q(r))return $("Non-whitespace before {[.");continue;case _:case m:if(q(r))continue;if(N===_)R.push(w);else{if("}"===r){s({}),u(),N=R.pop()||p;continue}R.push(g)}if('"'!==r)return $('Malformed object key should start with " ');N=b;continue;case w:case g:if(q(r))continue;if(":"===r)N===g?(R.push(g),void 0!==o&&(s({}),a(o),o=void 0),U++):void 0!==o&&(a(o),o=void 0),N=p;else if("}"===r)void 0!==o&&(s(o),u(),o=void 0),u(),U--,N=R.pop()||p;else{if(","!==r)return $("Bad object");N===g&&R.push(g),void 0!==o&&(s(o),u(),o=void 0),N=_}continue;case y:case p:if(q(r))continue;if(N===y){if(s([]),U++,N=p,"]"===r){u(),U--,N=R.pop()||p;continue}R.push(v)}if('"'===r)N=b;else if("{"===r)N=m;else if("["===r)N=y;else if("t"===r)N=x;else if("f"===r)N=E;else if("n"===r)N=C;else if("-"===r)D+=r;else if("0"===r)D+=r,N=20;else{if(-1==="123456789".indexOf(r))return $("Bad value");D+=r,N=20}continue;case v:if(","===r)R.push(v),void 0!==o&&(s(o),u(),o=void 0),N=p;else{if("]"!==r){if(q(r))continue;return $("Bad array")}void 0!==o&&(s(o),u(),o=void 0),u(),U--,N=R.pop()||p}continue;case b:void 0===o&&(o="");var f=c-1;t:for(;;){for(;Y>0;)if(F+=r,r=t.charAt(c++),4===Y?(o+=String.fromCharCode(parseInt(F,16)),Y=0,f=c-1):Y++,!r)break t;if('"'===r&&!B){N=R.pop()||p,o+=t.substring(f,c-1);break}if(!("\\"!==r||B||(B=!0,o+=t.substring(f,c-1),r=t.charAt(c++))))break;if(B){if(B=!1,"n"===r?o+="\n":"r"===r?o+="\r":"t"===r?o+="\t":"f"===r?o+="\f":"b"===r?o+="\b":"u"===r?(Y=1,F=""):o+=r,r=t.charAt(c++),f=c-1,r)continue;break}h.lastIndex=c;var G=h.exec(t);if(!G){c=t.length+1,o+=t.substring(f,c-1);break}if(c=G.index+1,!(r=t.charAt(G.index))){o+=t.substring(f,c-1);break}}continue;case x:if(!r)continue;if("r"!==r)return $("Invalid true started with t"+r);N=k;continue;case k:if(!r)continue;if("u"!==r)return $("Invalid true started with tr"+r);N=S;continue;case S:if(!r)continue;if("e"!==r)return $("Invalid true started with tru"+r);s(!0),u(),N=R.pop()||p;continue;case E:if(!r)continue;if("a"!==r)return $("Invalid false started with f"+r);N=M;continue;case M:if(!r)continue;if("l"!==r)return $("Invalid false started with fa"+r);N=A;continue;case A:if(!r)continue;if("s"!==r)return $("Invalid false started with fal"+r);N=T;continue;case T:if(!r)continue;if("e"!==r)return $("Invalid false started with fals"+r);s(!1),u(),N=R.pop()||p;continue;case C:if(!r)continue;if("u"!==r)return $("Invalid null started with n"+r);N=L;continue;case L:if(!r)continue;if("l"!==r)return $("Invalid null started with nu"+r);N=P;continue;case P:if(!r)continue;if("l"!==r)return $("Invalid null started with nul"+r);s(null),u(),N=R.pop()||p;continue;case O:if("."!==r)return $("Leading zero not followed by .");D+=r,N=20;continue;case 20:if(-1!=="0123456789".indexOf(r))D+=r;else if("."===r){if(-1!==D.indexOf("."))return $("Invalid number has two dots");D+=r}else if("e"===r||"E"===r){if(-1!==D.indexOf("e")||-1!==D.indexOf("E"))return $("Invalid number has two exponential");D+=r}else if("+"===r||"-"===r){if("e"!==i&&"E"!==i)return $("Invalid symbol in number");D+=r}else D&&(s(parseFloat(D)),u(),D=""),c--,N=R.pop()||p;continue;default:return $("Unknown state: "+N)}H>=I&&(n=0,void 0!==o&&o.length>l&&($("Max buffer length exceeded: textNode"),n=Math.max(n,o.length)),D.length>l&&($("Max buffer length exceeded: numberNode"),n=Math.max(n,D.length)),I=l-n+H)}})),t(n.n).on((function(){if(N===d)return s({}),u(),void(j=!0);N===p&&0===U||$("Unexpected end"),void 0!==o&&(s(o),u(),o=void 0),j=!0}))}},function(t,e,r){r.d(e,"a",(function(){return u})),r.d(e,"b",(function(){return c}));var n=r(19),i=r(3),o=r(2),a=r(20),s=r(0);function u(){return new XMLHttpRequest}function c(t,e,r,u,c,l,h){var f=t(i.m).emit,d=t(i.b).emit,p=0,m=!0;function g(){if("2"===String(e.status)[0]){var t=e.responseText,r=(" "+t.substr(p)).substr(1);r&&f(r),p=Object(o.e)(t)}}function y(e){try{m&&t(i.c).emit(e.status,Object(a.a)(e.getAllResponseHeaders())),m=!1}catch(t){}}t(i.a).on((function(){e.onreadystatechange=null,e.abort()})),"onprogress"in e&&(e.onprogress=g),e.onreadystatechange=function(){switch(e.readyState){case 2:case 3:return y(e);case 4:y(e),"2"===String(e.status)[0]?(g(),t(i.n).emit()):d(Object(i.o)(e.status,e.responseText))}};try{for(var v in e.open(r,u,!0),l)e.setRequestHeader(v,l[v]);Object(n.a)(window.location,Object(n.b)(u))||e.setRequestHeader("X-Requested-With","XMLHttpRequest"),e.withCredentials=h,e.send(c)}catch(t){window.setTimeout(Object(s.j)(d,Object(i.o)(void 0,void 0,t)),0)}}},function(t,e,r){function n(t,e){function r(e){return String(e.port||{"http:":80,"https:":443}[e.protocol||t.protocol])}return!!(e.protocol&&e.protocol!==t.protocol||e.host&&e.host!==t.host||e.host&&r(e)!==r(t))}function i(t){var e=/(\w+:)?(?:\/\/)([\w.-]+)?(?::(\d+))?\/?/.exec(t)||[];return{protocol:e[1]||"",host:e[2]||"",port:e[3]||""}}r.d(e,"a",(function(){return n})),r.d(e,"b",(function(){return i}))},function(t,e,r){function n(t){var e={};return t&&t.split("\r\n").forEach((function(t){var r=t.indexOf(": ");e[t.substring(0,r)]=t.substring(r+2)})),e}r.d(e,"a",(function(){return n}))}]).default},"object"===(0,s.default)(e)&&"object"===(0,s.default)(t)?t.exports=a():(i=[],void 0===(o="function"==typeof(n=a)?n.apply(e,i):n)||(t.exports=o))},21307:(t,e,r)=>{"use strict";var n=r(28847)(r(3355)),i="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;function o(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.assign=function(t){for(var e=Array.prototype.slice.call(arguments,1);e.length;){var r=e.shift();if(r){if("object"!==(0,n.default)(r))throw new TypeError(r+"must be non-object");for(var i in r)o(r,i)&&(t[i]=r[i])}}return t},e.shrinkBuf=function(t,e){return t.length===e?t:t.subarray?t.subarray(0,e):(t.length=e,t)};var a={arraySet:function(t,e,r,n,i){if(e.subarray&&t.subarray)t.set(e.subarray(r,r+n),i);else for(var o=0;o<n;o++)t[i+o]=e[r+o]},flattenChunks:function(t){var e,r,n,i,o,a;for(n=0,e=0,r=t.length;e<r;e++)n+=t[e].length;for(a=new Uint8Array(n),i=0,e=0,r=t.length;e<r;e++)o=t[e],a.set(o,i),i+=o.length;return a}},s={arraySet:function(t,e,r,n,i){for(var o=0;o<n;o++)t[i+o]=e[r+o]},flattenChunks:function(t){return[].concat.apply([],t)}};e.setTyped=function(t){t?(e.Buf8=Uint8Array,e.Buf16=Uint16Array,e.Buf32=Int32Array,e.assign(e,a)):(e.Buf8=Array,e.Buf16=Array,e.Buf32=Array,e.assign(e,s))},e.setTyped(i)},57506:t=>{"use strict";t.exports=function(t,e,r,n){for(var i=65535&t|0,o=t>>>16&65535|0,a=0;0!==r;){r-=a=r>2e3?2e3:r;do{o=o+(i=i+e[n++]|0)|0}while(--a);i%=65521,o%=65521}return i|o<<16|0}},29806:t=>{"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}},28548:t=>{"use strict";var e=function(){for(var t,e=[],r=0;r<256;r++){t=r;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[r]=t}return e}();t.exports=function(t,r,n,i){var o=e,a=i+n;t^=-1;for(var s=i;s<a;s++)t=t>>>8^o[255&(t^r[s])];return-1^t}},54151:(t,e,r)=>{"use strict";var n,i=r(21307),o=r(25280),a=r(57506),s=r(28548),u=r(78021),c=0,l=4,h=0,f=-2,d=-1,p=1,m=4,g=2,y=8,v=9,b=286,_=30,w=19,x=2*b+1,k=15,S=3,E=258,M=E+S+1,A=42,T=103,C=113,L=666,P=1,O=2,I=3,D=4;function B(t,e){return t.msg=u[e],e}function j(t){return(t<<1)-(t>4?9:0)}function N(t){for(var e=t.length;--e>=0;)t[e]=0}function R(t){var e=t.state,r=e.pending;r>t.avail_out&&(r=t.avail_out),0!==r&&(i.arraySet(t.output,e.pending_buf,e.pending_out,r,t.next_out),t.next_out+=r,e.pending_out+=r,t.total_out+=r,t.avail_out-=r,e.pending-=r,0===e.pending&&(e.pending_out=0))}function F(t,e){o._tr_flush_block(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,R(t.strm)}function Y(t,e){t.pending_buf[t.pending++]=e}function U(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function H(t,e){var r,n,i=t.max_chain_length,o=t.strstart,a=t.prev_length,s=t.nice_match,u=t.strstart>t.w_size-M?t.strstart-(t.w_size-M):0,c=t.window,l=t.w_mask,h=t.prev,f=t.strstart+E,d=c[o+a-1],p=c[o+a];t.prev_length>=t.good_match&&(i>>=2),s>t.lookahead&&(s=t.lookahead);do{if(c[(r=e)+a]===p&&c[r+a-1]===d&&c[r]===c[o]&&c[++r]===c[o+1]){o+=2,r++;do{}while(c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&c[++o]===c[++r]&&o<f);if(n=E-(f-o),o=f-E,n>a){if(t.match_start=e,a=n,n>=s)break;d=c[o+a-1],p=c[o+a]}}}while((e=h[e&l])>u&&0!=--i);return a<=t.lookahead?a:t.lookahead}function z(t){var e,r,n,o,u,c,l,h,f,d,p=t.w_size;do{if(o=t.window_size-t.lookahead-t.strstart,t.strstart>=p+(p-M)){i.arraySet(t.window,t.window,p,p,0),t.match_start-=p,t.strstart-=p,t.block_start-=p,e=r=t.hash_size;do{n=t.head[--e],t.head[e]=n>=p?n-p:0}while(--r);e=r=p;do{n=t.prev[--e],t.prev[e]=n>=p?n-p:0}while(--r);o+=p}if(0===t.strm.avail_in)break;if(c=t.strm,l=t.window,h=t.strstart+t.lookahead,f=o,d=void 0,(d=c.avail_in)>f&&(d=f),r=0===d?0:(c.avail_in-=d,i.arraySet(l,c.input,c.next_in,d,h),1===c.state.wrap?c.adler=a(c.adler,l,d,h):2===c.state.wrap&&(c.adler=s(c.adler,l,d,h)),c.next_in+=d,c.total_in+=d,d),t.lookahead+=r,t.lookahead+t.insert>=S)for(u=t.strstart-t.insert,t.ins_h=t.window[u],t.ins_h=(t.ins_h<<t.hash_shift^t.window[u+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[u+S-1])&t.hash_mask,t.prev[u&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=u,u++,t.insert--,!(t.lookahead+t.insert<S)););}while(t.lookahead<M&&0!==t.strm.avail_in)}function V(t,e){for(var r,n;;){if(t.lookahead<M){if(z(t),t.lookahead<M&&e===c)return P;if(0===t.lookahead)break}if(r=0,t.lookahead>=S&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+S-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==r&&t.strstart-r<=t.w_size-M&&(t.match_length=H(t,r)),t.match_length>=S)if(n=o._tr_tally(t,t.strstart-t.match_start,t.match_length-S),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=S){t.match_length--;do{t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+S-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else n=o._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(F(t,!1),0===t.strm.avail_out))return P}return t.insert=t.strstart<S-1?t.strstart:S-1,e===l?(F(t,!0),0===t.strm.avail_out?I:D):t.last_lit&&(F(t,!1),0===t.strm.avail_out)?P:O}function $(t,e){for(var r,n,i;;){if(t.lookahead<M){if(z(t),t.lookahead<M&&e===c)return P;if(0===t.lookahead)break}if(r=0,t.lookahead>=S&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+S-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=S-1,0!==r&&t.prev_length<t.max_lazy_match&&t.strstart-r<=t.w_size-M&&(t.match_length=H(t,r),t.match_length<=5&&(t.strategy===p||t.match_length===S&&t.strstart-t.match_start>4096)&&(t.match_length=S-1)),t.prev_length>=S&&t.match_length<=t.prev_length){i=t.strstart+t.lookahead-S,n=o._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-S),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=i&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+S-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=S-1,t.strstart++,n&&(F(t,!1),0===t.strm.avail_out))return P}else if(t.match_available){if((n=o._tr_tally(t,0,t.window[t.strstart-1]))&&F(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return P}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(n=o._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<S-1?t.strstart:S-1,e===l?(F(t,!0),0===t.strm.avail_out?I:D):t.last_lit&&(F(t,!1),0===t.strm.avail_out)?P:O}function q(t,e,r,n,i){this.good_length=t,this.max_lazy=e,this.nice_length=r,this.max_chain=n,this.func=i}function G(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=y,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new i.Buf16(2*x),this.dyn_dtree=new i.Buf16(2*(2*_+1)),this.bl_tree=new i.Buf16(2*(2*w+1)),N(this.dyn_ltree),N(this.dyn_dtree),N(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(k+1),this.heap=new i.Buf16(2*b+1),N(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(2*b+1),N(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function W(t){var e;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=g,(e=t.state).pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?A:C,t.adler=2===e.wrap?0:1,e.last_flush=c,o._tr_init(e),h):B(t,f)}function K(t){var e,r=W(t);return r===h&&((e=t.state).window_size=2*e.w_size,N(e.head),e.max_lazy_match=n[e.level].max_lazy,e.good_match=n[e.level].good_length,e.nice_match=n[e.level].nice_length,e.max_chain_length=n[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=S-1,e.match_available=0,e.ins_h=0),r}function X(t,e,r,n,o,a){if(!t)return f;var s=1;if(e===d&&(e=6),n<0?(s=0,n=-n):n>15&&(s=2,n-=16),o<1||o>v||r!==y||n<8||n>15||e<0||e>9||a<0||a>m)return B(t,f);8===n&&(n=9);var u=new G;return t.state=u,u.strm=t,u.wrap=s,u.gzhead=null,u.w_bits=n,u.w_size=1<<u.w_bits,u.w_mask=u.w_size-1,u.hash_bits=o+7,u.hash_size=1<<u.hash_bits,u.hash_mask=u.hash_size-1,u.hash_shift=~~((u.hash_bits+S-1)/S),u.window=new i.Buf8(2*u.w_size),u.head=new i.Buf16(u.hash_size),u.prev=new i.Buf16(u.w_size),u.lit_bufsize=1<<o+6,u.pending_buf_size=4*u.lit_bufsize,u.pending_buf=new i.Buf8(u.pending_buf_size),u.d_buf=1*u.lit_bufsize,u.l_buf=3*u.lit_bufsize,u.level=e,u.strategy=a,u.method=r,K(t)}n=[new q(0,0,0,0,(function(t,e){var r=65535;for(r>t.pending_buf_size-5&&(r=t.pending_buf_size-5);;){if(t.lookahead<=1){if(z(t),0===t.lookahead&&e===c)return P;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+r;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,F(t,!1),0===t.strm.avail_out))return P;if(t.strstart-t.block_start>=t.w_size-M&&(F(t,!1),0===t.strm.avail_out))return P}return t.insert=0,e===l?(F(t,!0),0===t.strm.avail_out?I:D):(t.strstart>t.block_start&&(F(t,!1),t.strm.avail_out),P)})),new q(4,4,8,4,V),new q(4,5,16,8,V),new q(4,6,32,32,V),new q(4,4,16,16,$),new q(8,16,32,32,$),new q(8,16,128,128,$),new q(8,32,128,256,$),new q(32,128,258,1024,$),new q(32,258,258,4096,$)],e.deflateInit=function(t,e){return X(t,e,y,15,8,0)},e.deflateInit2=X,e.deflateReset=K,e.deflateResetKeep=W,e.deflateSetHeader=function(t,e){return t&&t.state?2!==t.state.wrap?f:(t.state.gzhead=e,h):f},e.deflate=function(t,e){var r,i,a,u;if(!t||!t.state||e>5||e<0)return t?B(t,f):f;if(i=t.state,!t.output||!t.input&&0!==t.avail_in||i.status===L&&e!==l)return B(t,0===t.avail_out?-5:f);if(i.strm=t,r=i.last_flush,i.last_flush=e,i.status===A)if(2===i.wrap)t.adler=0,Y(i,31),Y(i,139),Y(i,8),i.gzhead?(Y(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)),Y(i,255&i.gzhead.time),Y(i,i.gzhead.time>>8&255),Y(i,i.gzhead.time>>16&255),Y(i,i.gzhead.time>>24&255),Y(i,9===i.level?2:i.strategy>=2||i.level<2?4:0),Y(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(Y(i,255&i.gzhead.extra.length),Y(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(t.adler=s(t.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(Y(i,0),Y(i,0),Y(i,0),Y(i,0),Y(i,0),Y(i,9===i.level?2:i.strategy>=2||i.level<2?4:0),Y(i,3),i.status=C);else{var d=y+(i.w_bits-8<<4)<<8;d|=(i.strategy>=2||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(d|=32),d+=31-d%31,i.status=C,U(i,d),0!==i.strstart&&(U(i,t.adler>>>16),U(i,65535&t.adler)),t.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&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),R(t),a=i.pending,i.pending!==i.pending_buf_size));)Y(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.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&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),R(t),a=i.pending,i.pending===i.pending_buf_size)){u=1;break}u=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,Y(i,u)}while(0!==u);i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),0===u&&(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&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),R(t),a=i.pending,i.pending===i.pending_buf_size)){u=1;break}u=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,Y(i,u)}while(0!==u);i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),0===u&&(i.status=T)}else i.status=T;if(i.status===T&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&R(t),i.pending+2<=i.pending_buf_size&&(Y(i,255&t.adler),Y(i,t.adler>>8&255),t.adler=0,i.status=C)):i.status=C),0!==i.pending){if(R(t),0===t.avail_out)return i.last_flush=-1,h}else if(0===t.avail_in&&j(e)<=j(r)&&e!==l)return B(t,-5);if(i.status===L&&0!==t.avail_in)return B(t,-5);if(0!==t.avail_in||0!==i.lookahead||e!==c&&i.status!==L){var p=2===i.strategy?function(t,e){for(var r;;){if(0===t.lookahead&&(z(t),0===t.lookahead)){if(e===c)return P;break}if(t.match_length=0,r=o._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,r&&(F(t,!1),0===t.strm.avail_out))return P}return t.insert=0,e===l?(F(t,!0),0===t.strm.avail_out?I:D):t.last_lit&&(F(t,!1),0===t.strm.avail_out)?P:O}(i,e):3===i.strategy?function(t,e){for(var r,n,i,a,s=t.window;;){if(t.lookahead<=E){if(z(t),t.lookahead<=E&&e===c)return P;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=S&&t.strstart>0&&(n=s[i=t.strstart-1])===s[++i]&&n===s[++i]&&n===s[++i]){a=t.strstart+E;do{}while(n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&i<a);t.match_length=E-(a-i),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=S?(r=o._tr_tally(t,1,t.match_length-S),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(r=o._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),r&&(F(t,!1),0===t.strm.avail_out))return P}return t.insert=0,e===l?(F(t,!0),0===t.strm.avail_out?I:D):t.last_lit&&(F(t,!1),0===t.strm.avail_out)?P:O}(i,e):n[i.level].func(i,e);if(p!==I&&p!==D||(i.status=L),p===P||p===I)return 0===t.avail_out&&(i.last_flush=-1),h;if(p===O&&(1===e?o._tr_align(i):5!==e&&(o._tr_stored_block(i,0,0,!1),3===e&&(N(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),R(t),0===t.avail_out))return i.last_flush=-1,h}return e!==l?h:i.wrap<=0?1:(2===i.wrap?(Y(i,255&t.adler),Y(i,t.adler>>8&255),Y(i,t.adler>>16&255),Y(i,t.adler>>24&255),Y(i,255&t.total_in),Y(i,t.total_in>>8&255),Y(i,t.total_in>>16&255),Y(i,t.total_in>>24&255)):(U(i,t.adler>>>16),U(i,65535&t.adler)),R(t),i.wrap>0&&(i.wrap=-i.wrap),0!==i.pending?h:1)},e.deflateEnd=function(t){var e;return t&&t.state?(e=t.state.status)!==A&&69!==e&&73!==e&&91!==e&&e!==T&&e!==C&&e!==L?B(t,f):(t.state=null,e===C?B(t,-3):h):f},e.deflateSetDictionary=function(t,e){var r,n,o,s,u,c,l,d,p=e.length;if(!t||!t.state)return f;if(2===(s=(r=t.state).wrap)||1===s&&r.status!==A||r.lookahead)return f;for(1===s&&(t.adler=a(t.adler,e,p,0)),r.wrap=0,p>=r.w_size&&(0===s&&(N(r.head),r.strstart=0,r.block_start=0,r.insert=0),d=new i.Buf8(r.w_size),i.arraySet(d,e,p-r.w_size,r.w_size,0),e=d,p=r.w_size),u=t.avail_in,c=t.next_in,l=t.input,t.avail_in=p,t.next_in=0,t.input=e,z(r);r.lookahead>=S;){n=r.strstart,o=r.lookahead-(S-1);do{r.ins_h=(r.ins_h<<r.hash_shift^r.window[n+S-1])&r.hash_mask,r.prev[n&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=n,n++}while(--o);r.strstart=n,r.lookahead=S-1,z(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=S-1,r.match_available=0,t.next_in=c,t.input=l,t.avail_in=u,r.wrap=s,h},e.deflateInfo="pako deflate (from Nodeca project)"},52399:t=>{"use strict";t.exports=function(t,e){var r,n,i,o,a,s,u,c,l,h,f,d,p,m,g,y,v,b,_,w,x,k,S,E,M;r=t.state,n=t.next_in,E=t.input,i=n+(t.avail_in-5),o=t.next_out,M=t.output,a=o-(e-t.avail_out),s=o+(t.avail_out-257),u=r.dmax,c=r.wsize,l=r.whave,h=r.wnext,f=r.window,d=r.hold,p=r.bits,m=r.lencode,g=r.distcode,y=(1<<r.lenbits)-1,v=(1<<r.distbits)-1;t:do{p<15&&(d+=E[n++]<<p,p+=8,d+=E[n++]<<p,p+=8),b=m[d&y];e:for(;;){if(d>>>=_=b>>>24,p-=_,0==(_=b>>>16&255))M[o++]=65535&b;else{if(!(16&_)){if(0==(64&_)){b=m[(65535&b)+(d&(1<<_)-1)];continue e}if(32&_){r.mode=12;break t}t.msg="invalid literal/length code",r.mode=30;break t}w=65535&b,(_&=15)&&(p<_&&(d+=E[n++]<<p,p+=8),w+=d&(1<<_)-1,d>>>=_,p-=_),p<15&&(d+=E[n++]<<p,p+=8,d+=E[n++]<<p,p+=8),b=g[d&v];r:for(;;){if(d>>>=_=b>>>24,p-=_,!(16&(_=b>>>16&255))){if(0==(64&_)){b=g[(65535&b)+(d&(1<<_)-1)];continue r}t.msg="invalid distance code",r.mode=30;break t}if(x=65535&b,p<(_&=15)&&(d+=E[n++]<<p,(p+=8)<_&&(d+=E[n++]<<p,p+=8)),(x+=d&(1<<_)-1)>u){t.msg="invalid distance too far back",r.mode=30;break t}if(d>>>=_,p-=_,x>(_=o-a)){if((_=x-_)>l&&r.sane){t.msg="invalid distance too far back",r.mode=30;break t}if(k=0,S=f,0===h){if(k+=c-_,_<w){w-=_;do{M[o++]=f[k++]}while(--_);k=o-x,S=M}}else if(h<_){if(k+=c+h-_,(_-=h)<w){w-=_;do{M[o++]=f[k++]}while(--_);if(k=0,h<w){w-=_=h;do{M[o++]=f[k++]}while(--_);k=o-x,S=M}}}else if(k+=h-_,_<w){w-=_;do{M[o++]=f[k++]}while(--_);k=o-x,S=M}for(;w>2;)M[o++]=S[k++],M[o++]=S[k++],M[o++]=S[k++],w-=3;w&&(M[o++]=S[k++],w>1&&(M[o++]=S[k++]))}else{k=o-x;do{M[o++]=M[k++],M[o++]=M[k++],M[o++]=M[k++],w-=3}while(w>2);w&&(M[o++]=M[k++],w>1&&(M[o++]=M[k++]))}break}}break}}while(n<i&&o<s);n-=w=p>>3,d&=(1<<(p-=w<<3))-1,t.next_in=n,t.next_out=o,t.avail_in=n<i?i-n+5:5-(n-i),t.avail_out=o<s?s-o+257:257-(o-s),r.hold=d,r.bits=p}},63534:(t,e,r)=>{"use strict";var n=r(21307),i=r(57506),o=r(28548),a=r(52399),s=r(51721),u=1,c=2,l=0,h=-2,f=1,d=12,p=30,m=852,g=592;function y(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function v(){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 b(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=f,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new n.Buf32(m),e.distcode=e.distdyn=new n.Buf32(g),e.sane=1,e.back=-1,l):h}function _(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,b(t)):h}function w(t,e){var r,n;return t&&t.state?(n=t.state,e<0?(r=0,e=-e):(r=1+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?h:(null!==n.window&&n.wbits!==e&&(n.window=null),n.wrap=r,n.wbits=e,_(t))):h}function x(t,e){var r,n;return t?(n=new v,t.state=n,n.window=null,(r=w(t,e))!==l&&(t.state=null),r):h}var k,S,E=!0;function M(t){if(E){var e;for(k=new n.Buf32(512),S=new n.Buf32(32),e=0;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(s(u,t.lens,0,288,k,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;s(c,t.lens,0,32,S,0,t.work,{bits:5}),E=!1}t.lencode=k,t.lenbits=9,t.distcode=S,t.distbits=5}function A(t,e,r,i){var o,a=t.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new n.Buf8(a.wsize)),i>=a.wsize?(n.arraySet(a.window,e,r-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):((o=a.wsize-a.wnext)>i&&(o=i),n.arraySet(a.window,e,r-i,o,a.wnext),(i-=o)?(n.arraySet(a.window,e,r-i,i,0),a.wnext=i,a.whave=a.wsize):(a.wnext+=o,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=o))),0}e.inflateReset=_,e.inflateReset2=w,e.inflateResetKeep=b,e.inflateInit=function(t){return x(t,15)},e.inflateInit2=x,e.inflate=function(t,e){var r,m,g,v,b,_,w,x,k,S,E,T,C,L,P,O,I,D,B,j,N,R,F,Y,U=0,H=new n.Buf8(4),z=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!t||!t.state||!t.output||!t.input&&0!==t.avail_in)return h;(r=t.state).mode===d&&(r.mode=13),b=t.next_out,g=t.output,w=t.avail_out,v=t.next_in,m=t.input,_=t.avail_in,x=r.hold,k=r.bits,S=_,E=w,R=l;t:for(;;)switch(r.mode){case f:if(0===r.wrap){r.mode=13;break}for(;k<16;){if(0===_)break t;_--,x+=m[v++]<<k,k+=8}if(2&r.wrap&&35615===x){r.check=0,H[0]=255&x,H[1]=x>>>8&255,r.check=o(r.check,H,2,0),x=0,k=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&x)<<8)+(x>>8))%31){t.msg="incorrect header check",r.mode=p;break}if(8!=(15&x)){t.msg="unknown compression method",r.mode=p;break}if(k-=4,N=8+(15&(x>>>=4)),0===r.wbits)r.wbits=N;else if(N>r.wbits){t.msg="invalid window size",r.mode=p;break}r.dmax=1<<N,t.adler=r.check=1,r.mode=512&x?10:d,x=0,k=0;break;case 2:for(;k<16;){if(0===_)break t;_--,x+=m[v++]<<k,k+=8}if(r.flags=x,8!=(255&r.flags)){t.msg="unknown compression method",r.mode=p;break}if(57344&r.flags){t.msg="unknown header flags set",r.mode=p;break}r.head&&(r.head.text=x>>8&1),512&r.flags&&(H[0]=255&x,H[1]=x>>>8&255,r.check=o(r.check,H,2,0)),x=0,k=0,r.mode=3;case 3:for(;k<32;){if(0===_)break t;_--,x+=m[v++]<<k,k+=8}r.head&&(r.head.time=x),512&r.flags&&(H[0]=255&x,H[1]=x>>>8&255,H[2]=x>>>16&255,H[3]=x>>>24&255,r.check=o(r.check,H,4,0)),x=0,k=0,r.mode=4;case 4:for(;k<16;){if(0===_)break t;_--,x+=m[v++]<<k,k+=8}r.head&&(r.head.xflags=255&x,r.head.os=x>>8),512&r.flags&&(H[0]=255&x,H[1]=x>>>8&255,r.check=o(r.check,H,2,0)),x=0,k=0,r.mode=5;case 5:if(1024&r.flags){for(;k<16;){if(0===_)break t;_--,x+=m[v++]<<k,k+=8}r.length=x,r.head&&(r.head.extra_len=x),512&r.flags&&(H[0]=255&x,H[1]=x>>>8&255,r.check=o(r.check,H,2,0)),x=0,k=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&((T=r.length)>_&&(T=_),T&&(r.head&&(N=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),n.arraySet(r.head.extra,m,v,T,N)),512&r.flags&&(r.check=o(r.check,m,T,v)),_-=T,v+=T,r.length-=T),r.length))break t;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===_)break t;T=0;do{N=m[v+T++],r.head&&N&&r.length<65536&&(r.head.name+=String.fromCharCode(N))}while(N&&T<_);if(512&r.flags&&(r.check=o(r.check,m,T,v)),_-=T,v+=T,N)break t}else r.head&&(r.head.name=null);r.length=0,r.mode=8;case 8:if(4096&r.flags){if(0===_)break t;T=0;do{N=m[v+T++],r.head&&N&&r.length<65536&&(r.head.comment+=String.fromCharCode(N))}while(N&&T<_);if(512&r.flags&&(r.check=o(r.check,m,T,v)),_-=T,v+=T,N)break t}else r.head&&(r.head.comment=null);r.mode=9;case 9:if(512&r.flags){for(;k<16;){if(0===_)break t;_--,x+=m[v++]<<k,k+=8}if(x!==(65535&r.check)){t.msg="header crc mismatch",r.mode=p;break}x=0,k=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),t.adler=r.check=0,r.mode=d;break;case 10:for(;k<32;){if(0===_)break t;_--,x+=m[v++]<<k,k+=8}t.adler=r.check=y(x),x=0,k=0,r.mode=11;case 11:if(0===r.havedict)return t.next_out=b,t.avail_out=w,t.next_in=v,t.avail_in=_,r.hold=x,r.bits=k,2;t.adler=r.check=1,r.mode=d;case d:if(5===e||6===e)break t;case 13:if(r.last){x>>>=7&k,k-=7&k,r.mode=27;break}for(;k<3;){if(0===_)break t;_--,x+=m[v++]<<k,k+=8}switch(r.last=1&x,k-=1,3&(x>>>=1)){case 0:r.mode=14;break;case 1:if(M(r),r.mode=20,6===e){x>>>=2,k-=2;break t}break;case 2:r.mode=17;break;case 3:t.msg="invalid block type",r.mode=p}x>>>=2,k-=2;break;case 14:for(x>>>=7&k,k-=7&k;k<32;){if(0===_)break t;_--,x+=m[v++]<<k,k+=8}if((65535&x)!=(x>>>16^65535)){t.msg="invalid stored block lengths",r.mode=p;break}if(r.length=65535&x,x=0,k=0,r.mode=15,6===e)break t;case 15:r.mode=16;case 16:if(T=r.length){if(T>_&&(T=_),T>w&&(T=w),0===T)break t;n.arraySet(g,m,v,T,b),_-=T,v+=T,w-=T,b+=T,r.length-=T;break}r.mode=d;break;case 17:for(;k<14;){if(0===_)break t;_--,x+=m[v++]<<k,k+=8}if(r.nlen=257+(31&x),x>>>=5,k-=5,r.ndist=1+(31&x),x>>>=5,k-=5,r.ncode=4+(15&x),x>>>=4,k-=4,r.nlen>286||r.ndist>30){t.msg="too many length or distance symbols",r.mode=p;break}r.have=0,r.mode=18;case 18:for(;r.have<r.ncode;){for(;k<3;){if(0===_)break t;_--,x+=m[v++]<<k,k+=8}r.lens[z[r.have++]]=7&x,x>>>=3,k-=3}for(;r.have<19;)r.lens[z[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,F={bits:r.lenbits},R=s(0,r.lens,0,19,r.lencode,0,r.work,F),r.lenbits=F.bits,R){t.msg="invalid code lengths set",r.mode=p;break}r.have=0,r.mode=19;case 19:for(;r.have<r.nlen+r.ndist;){for(;O=(U=r.lencode[x&(1<<r.lenbits)-1])>>>16&255,I=65535&U,!((P=U>>>24)<=k);){if(0===_)break t;_--,x+=m[v++]<<k,k+=8}if(I<16)x>>>=P,k-=P,r.lens[r.have++]=I;else{if(16===I){for(Y=P+2;k<Y;){if(0===_)break t;_--,x+=m[v++]<<k,k+=8}if(x>>>=P,k-=P,0===r.have){t.msg="invalid bit length repeat",r.mode=p;break}N=r.lens[r.have-1],T=3+(3&x),x>>>=2,k-=2}else if(17===I){for(Y=P+3;k<Y;){if(0===_)break t;_--,x+=m[v++]<<k,k+=8}k-=P,N=0,T=3+(7&(x>>>=P)),x>>>=3,k-=3}else{for(Y=P+7;k<Y;){if(0===_)break t;_--,x+=m[v++]<<k,k+=8}k-=P,N=0,T=11+(127&(x>>>=P)),x>>>=7,k-=7}if(r.have+T>r.nlen+r.ndist){t.msg="invalid bit length repeat",r.mode=p;break}for(;T--;)r.lens[r.have++]=N}}if(r.mode===p)break;if(0===r.lens[256]){t.msg="invalid code -- missing end-of-block",r.mode=p;break}if(r.lenbits=9,F={bits:r.lenbits},R=s(u,r.lens,0,r.nlen,r.lencode,0,r.work,F),r.lenbits=F.bits,R){t.msg="invalid literal/lengths set",r.mode=p;break}if(r.distbits=6,r.distcode=r.distdyn,F={bits:r.distbits},R=s(c,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,F),r.distbits=F.bits,R){t.msg="invalid distances set",r.mode=p;break}if(r.mode=20,6===e)break t;case 20:r.mode=21;case 21:if(_>=6&&w>=258){t.next_out=b,t.avail_out=w,t.next_in=v,t.avail_in=_,r.hold=x,r.bits=k,a(t,E),b=t.next_out,g=t.output,w=t.avail_out,v=t.next_in,m=t.input,_=t.avail_in,x=r.hold,k=r.bits,r.mode===d&&(r.back=-1);break}for(r.back=0;O=(U=r.lencode[x&(1<<r.lenbits)-1])>>>16&255,I=65535&U,!((P=U>>>24)<=k);){if(0===_)break t;_--,x+=m[v++]<<k,k+=8}if(O&&0==(240&O)){for(D=P,B=O,j=I;O=(U=r.lencode[j+((x&(1<<D+B)-1)>>D)])>>>16&255,I=65535&U,!(D+(P=U>>>24)<=k);){if(0===_)break t;_--,x+=m[v++]<<k,k+=8}x>>>=D,k-=D,r.back+=D}if(x>>>=P,k-=P,r.back+=P,r.length=I,0===O){r.mode=26;break}if(32&O){r.back=-1,r.mode=d;break}if(64&O){t.msg="invalid literal/length code",r.mode=p;break}r.extra=15&O,r.mode=22;case 22:if(r.extra){for(Y=r.extra;k<Y;){if(0===_)break t;_--,x+=m[v++]<<k,k+=8}r.length+=x&(1<<r.extra)-1,x>>>=r.extra,k-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;O=(U=r.distcode[x&(1<<r.distbits)-1])>>>16&255,I=65535&U,!((P=U>>>24)<=k);){if(0===_)break t;_--,x+=m[v++]<<k,k+=8}if(0==(240&O)){for(D=P,B=O,j=I;O=(U=r.distcode[j+((x&(1<<D+B)-1)>>D)])>>>16&255,I=65535&U,!(D+(P=U>>>24)<=k);){if(0===_)break t;_--,x+=m[v++]<<k,k+=8}x>>>=D,k-=D,r.back+=D}if(x>>>=P,k-=P,r.back+=P,64&O){t.msg="invalid distance code",r.mode=p;break}r.offset=I,r.extra=15&O,r.mode=24;case 24:if(r.extra){for(Y=r.extra;k<Y;){if(0===_)break t;_--,x+=m[v++]<<k,k+=8}r.offset+=x&(1<<r.extra)-1,x>>>=r.extra,k-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){t.msg="invalid distance too far back",r.mode=p;break}r.mode=25;case 25:if(0===w)break t;if(T=E-w,r.offset>T){if((T=r.offset-T)>r.whave&&r.sane){t.msg="invalid distance too far back",r.mode=p;break}T>r.wnext?(T-=r.wnext,C=r.wsize-T):C=r.wnext-T,T>r.length&&(T=r.length),L=r.window}else L=g,C=b-r.offset,T=r.length;T>w&&(T=w),w-=T,r.length-=T;do{g[b++]=L[C++]}while(--T);0===r.length&&(r.mode=21);break;case 26:if(0===w)break t;g[b++]=r.length,w--,r.mode=21;break;case 27:if(r.wrap){for(;k<32;){if(0===_)break t;_--,x|=m[v++]<<k,k+=8}if(E-=w,t.total_out+=E,r.total+=E,E&&(t.adler=r.check=r.flags?o(r.check,g,E,b-E):i(r.check,g,E,b-E)),E=w,(r.flags?x:y(x))!==r.check){t.msg="incorrect data check",r.mode=p;break}x=0,k=0}r.mode=28;case 28:if(r.wrap&&r.flags){for(;k<32;){if(0===_)break t;_--,x+=m[v++]<<k,k+=8}if(x!==(4294967295&r.total)){t.msg="incorrect length check",r.mode=p;break}x=0,k=0}r.mode=29;case 29:R=1;break t;case p:R=-3;break t;case 31:return-4;default:return h}return t.next_out=b,t.avail_out=w,t.next_in=v,t.avail_in=_,r.hold=x,r.bits=k,(r.wsize||E!==t.avail_out&&r.mode<p&&(r.mode<27||4!==e))&&A(t,t.output,t.next_out,E-t.avail_out)?(r.mode=31,-4):(S-=t.avail_in,E-=t.avail_out,t.total_in+=S,t.total_out+=E,r.total+=E,r.wrap&&E&&(t.adler=r.check=r.flags?o(r.check,g,E,t.next_out-E):i(r.check,g,E,t.next_out-E)),t.data_type=r.bits+(r.last?64:0)+(r.mode===d?128:0)+(20===r.mode||15===r.mode?256:0),(0===S&&0===E||4===e)&&R===l&&(R=-5),R)},e.inflateEnd=function(t){if(!t||!t.state)return h;var e=t.state;return e.window&&(e.window=null),t.state=null,l},e.inflateGetHeader=function(t,e){var r;return t&&t.state?0==(2&(r=t.state).wrap)?h:(r.head=e,e.done=!1,l):h},e.inflateSetDictionary=function(t,e){var r,n=e.length;return t&&t.state?0!==(r=t.state).wrap&&11!==r.mode?h:11===r.mode&&i(1,e,n,0)!==r.check?-3:A(t,e,n,n)?(r.mode=31,-4):(r.havedict=1,l):h},e.inflateInfo="pako inflate (from Nodeca project)"},51721:(t,e,r)=>{"use strict";var n=r(21307),i=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],o=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],a=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],s=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(t,e,r,u,c,l,h,f){var d,p,m,g,y,v,b,_,w,x=f.bits,k=0,S=0,E=0,M=0,A=0,T=0,C=0,L=0,P=0,O=0,I=null,D=0,B=new n.Buf16(16),j=new n.Buf16(16),N=null,R=0;for(k=0;k<=15;k++)B[k]=0;for(S=0;S<u;S++)B[e[r+S]]++;for(A=x,M=15;M>=1&&0===B[M];M--);if(A>M&&(A=M),0===M)return c[l++]=20971520,c[l++]=20971520,f.bits=1,0;for(E=1;E<M&&0===B[E];E++);for(A<E&&(A=E),L=1,k=1;k<=15;k++)if(L<<=1,(L-=B[k])<0)return-1;if(L>0&&(0===t||1!==M))return-1;for(j[1]=0,k=1;k<15;k++)j[k+1]=j[k]+B[k];for(S=0;S<u;S++)0!==e[r+S]&&(h[j[e[r+S]]++]=S);if(0===t?(I=N=h,v=19):1===t?(I=i,D-=257,N=o,R-=257,v=256):(I=a,N=s,v=-1),O=0,S=0,k=E,y=l,T=A,C=0,m=-1,g=(P=1<<A)-1,1===t&&P>852||2===t&&P>592)return 1;for(;;){b=k-C,h[S]<v?(_=0,w=h[S]):h[S]>v?(_=N[R+h[S]],w=I[D+h[S]]):(_=96,w=0),d=1<<k-C,E=p=1<<T;do{c[y+(O>>C)+(p-=d)]=b<<24|_<<16|w|0}while(0!==p);for(d=1<<k-1;O&d;)d>>=1;if(0!==d?(O&=d-1,O+=d):O=0,S++,0==--B[k]){if(k===M)break;k=e[r+h[S]]}if(k>A&&(O&g)!==m){for(0===C&&(C=A),y+=E,L=1<<(T=k-C);T+C<M&&!((L-=B[T+C])<=0);)T++,L<<=1;if(P+=1<<T,1===t&&P>852||2===t&&P>592)return 1;c[m=O&g]=A<<24|T<<16|y-l|0}}return 0!==O&&(c[y+O]=k-C<<24|64<<16|0),f.bits=A,0}},78021:t=>{"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"}},25280:(t,e,r)=>{"use strict";var n=r(21307);function i(t){for(var e=t.length;--e>=0;)t[e]=0}var o=0,a=256,s=a+1+29,u=30,c=19,l=2*s+1,h=15,f=16,d=256,p=16,m=17,g=18,y=[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],v=[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],b=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],_=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],w=new Array(2*(s+2));i(w);var x=new Array(2*u);i(x);var k=new Array(512);i(k);var S=new Array(256);i(S);var E=new Array(29);i(E);var M,A,T,C=new Array(u);function L(t,e,r,n,i){this.static_tree=t,this.extra_bits=e,this.extra_base=r,this.elems=n,this.max_length=i,this.has_stree=t&&t.length}function P(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}function O(t){return t<256?k[t]:k[256+(t>>>7)]}function I(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function D(t,e,r){t.bi_valid>f-r?(t.bi_buf|=e<<t.bi_valid&65535,I(t,t.bi_buf),t.bi_buf=e>>f-t.bi_valid,t.bi_valid+=r-f):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=r)}function B(t,e,r){D(t,r[2*e],r[2*e+1])}function j(t,e){var r=0;do{r|=1&t,t>>>=1,r<<=1}while(--e>0);return r>>>1}function N(t,e,r){var n,i,o=new Array(h+1),a=0;for(n=1;n<=h;n++)o[n]=a=a+r[n-1]<<1;for(i=0;i<=e;i++){var s=t[2*i+1];0!==s&&(t[2*i]=j(o[s]++,s))}}function R(t){var e;for(e=0;e<s;e++)t.dyn_ltree[2*e]=0;for(e=0;e<u;e++)t.dyn_dtree[2*e]=0;for(e=0;e<c;e++)t.bl_tree[2*e]=0;t.dyn_ltree[2*d]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function F(t){t.bi_valid>8?I(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function Y(t,e,r,n){var i=2*e,o=2*r;return t[i]<t[o]||t[i]===t[o]&&n[e]<=n[r]}function U(t,e,r){for(var n=t.heap[r],i=r<<1;i<=t.heap_len&&(i<t.heap_len&&Y(e,t.heap[i+1],t.heap[i],t.depth)&&i++,!Y(e,n,t.heap[i],t.depth));)t.heap[r]=t.heap[i],r=i,i<<=1;t.heap[r]=n}function H(t,e,r){var n,i,o,s,u=0;if(0!==t.last_lit)do{n=t.pending_buf[t.d_buf+2*u]<<8|t.pending_buf[t.d_buf+2*u+1],i=t.pending_buf[t.l_buf+u],u++,0===n?B(t,i,e):(B(t,(o=S[i])+a+1,e),0!==(s=y[o])&&D(t,i-=E[o],s),B(t,o=O(--n),r),0!==(s=v[o])&&D(t,n-=C[o],s))}while(u<t.last_lit);B(t,d,e)}function z(t,e){var r,n,i,o=e.dyn_tree,a=e.stat_desc.static_tree,s=e.stat_desc.has_stree,u=e.stat_desc.elems,c=-1;for(t.heap_len=0,t.heap_max=l,r=0;r<u;r++)0!==o[2*r]?(t.heap[++t.heap_len]=c=r,t.depth[r]=0):o[2*r+1]=0;for(;t.heap_len<2;)o[2*(i=t.heap[++t.heap_len]=c<2?++c:0)]=1,t.depth[i]=0,t.opt_len--,s&&(t.static_len-=a[2*i+1]);for(e.max_code=c,r=t.heap_len>>1;r>=1;r--)U(t,o,r);i=u;do{r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],U(t,o,1),n=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=n,o[2*i]=o[2*r]+o[2*n],t.depth[i]=(t.depth[r]>=t.depth[n]?t.depth[r]:t.depth[n])+1,o[2*r+1]=o[2*n+1]=i,t.heap[1]=i++,U(t,o,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var r,n,i,o,a,s,u=e.dyn_tree,c=e.max_code,f=e.stat_desc.static_tree,d=e.stat_desc.has_stree,p=e.stat_desc.extra_bits,m=e.stat_desc.extra_base,g=e.stat_desc.max_length,y=0;for(o=0;o<=h;o++)t.bl_count[o]=0;for(u[2*t.heap[t.heap_max]+1]=0,r=t.heap_max+1;r<l;r++)(o=u[2*u[2*(n=t.heap[r])+1]+1]+1)>g&&(o=g,y++),u[2*n+1]=o,n>c||(t.bl_count[o]++,a=0,n>=m&&(a=p[n-m]),s=u[2*n],t.opt_len+=s*(o+a),d&&(t.static_len+=s*(f[2*n+1]+a)));if(0!==y){do{for(o=g-1;0===t.bl_count[o];)o--;t.bl_count[o]--,t.bl_count[o+1]+=2,t.bl_count[g]--,y-=2}while(y>0);for(o=g;0!==o;o--)for(n=t.bl_count[o];0!==n;)(i=t.heap[--r])>c||(u[2*i+1]!==o&&(t.opt_len+=(o-u[2*i+1])*u[2*i],u[2*i+1]=o),n--)}}(t,e),N(o,c,t.bl_count)}function V(t,e,r){var n,i,o=-1,a=e[1],s=0,u=7,c=4;for(0===a&&(u=138,c=3),e[2*(r+1)+1]=65535,n=0;n<=r;n++)i=a,a=e[2*(n+1)+1],++s<u&&i===a||(s<c?t.bl_tree[2*i]+=s:0!==i?(i!==o&&t.bl_tree[2*i]++,t.bl_tree[2*p]++):s<=10?t.bl_tree[2*m]++:t.bl_tree[2*g]++,s=0,o=i,0===a?(u=138,c=3):i===a?(u=6,c=3):(u=7,c=4))}function $(t,e,r){var n,i,o=-1,a=e[1],s=0,u=7,c=4;for(0===a&&(u=138,c=3),n=0;n<=r;n++)if(i=a,a=e[2*(n+1)+1],!(++s<u&&i===a)){if(s<c)do{B(t,i,t.bl_tree)}while(0!=--s);else 0!==i?(i!==o&&(B(t,i,t.bl_tree),s--),B(t,p,t.bl_tree),D(t,s-3,2)):s<=10?(B(t,m,t.bl_tree),D(t,s-3,3)):(B(t,g,t.bl_tree),D(t,s-11,7));s=0,o=i,0===a?(u=138,c=3):i===a?(u=6,c=3):(u=7,c=4)}}i(C);var q=!1;function G(t,e,r,i){D(t,(o<<1)+(i?1:0),3),function(t,e,r,i){F(t),I(t,r),I(t,~r),n.arraySet(t.pending_buf,t.window,e,r,t.pending),t.pending+=r}(t,e,r)}e._tr_init=function(t){q||(function(){var t,e,r,n,i,o=new Array(h+1);for(r=0,n=0;n<28;n++)for(E[n]=r,t=0;t<1<<y[n];t++)S[r++]=n;for(S[r-1]=n,i=0,n=0;n<16;n++)for(C[n]=i,t=0;t<1<<v[n];t++)k[i++]=n;for(i>>=7;n<u;n++)for(C[n]=i<<7,t=0;t<1<<v[n]-7;t++)k[256+i++]=n;for(e=0;e<=h;e++)o[e]=0;for(t=0;t<=143;)w[2*t+1]=8,t++,o[8]++;for(;t<=255;)w[2*t+1]=9,t++,o[9]++;for(;t<=279;)w[2*t+1]=7,t++,o[7]++;for(;t<=287;)w[2*t+1]=8,t++,o[8]++;for(N(w,s+1,o),t=0;t<u;t++)x[2*t+1]=5,x[2*t]=j(t,5);M=new L(w,y,a+1,s,h),A=new L(x,v,0,u,h),T=new L(new Array(0),b,0,c,7)}(),q=!0),t.l_desc=new P(t.dyn_ltree,M),t.d_desc=new P(t.dyn_dtree,A),t.bl_desc=new P(t.bl_tree,T),t.bi_buf=0,t.bi_valid=0,R(t)},e._tr_stored_block=G,e._tr_flush_block=function(t,e,r,n){var i,o,s=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,r=4093624447;for(e=0;e<=31;e++,r>>>=1)if(1&r&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<a;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),z(t,t.l_desc),z(t,t.d_desc),s=function(t){var e;for(V(t,t.dyn_ltree,t.l_desc.max_code),V(t,t.dyn_dtree,t.d_desc.max_code),z(t,t.bl_desc),e=c-1;e>=3&&0===t.bl_tree[2*_[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),i=t.opt_len+3+7>>>3,(o=t.static_len+3+7>>>3)<=i&&(i=o)):i=o=r+5,r+4<=i&&-1!==e?G(t,e,r,n):4===t.strategy||o===i?(D(t,2+(n?1:0),3),H(t,w,x)):(D(t,4+(n?1:0),3),function(t,e,r,n){var i;for(D(t,e-257,5),D(t,r-1,5),D(t,n-4,4),i=0;i<n;i++)D(t,t.bl_tree[2*_[i]+1],3);$(t,t.dyn_ltree,e-1),$(t,t.dyn_dtree,r-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,s+1),H(t,t.dyn_ltree,t.dyn_dtree)),R(t),n&&F(t)},e._tr_tally=function(t,e,r){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&r,t.last_lit++,0===e?t.dyn_ltree[2*r]++:(t.matches++,e--,t.dyn_ltree[2*(S[r]+a+1)]++,t.dyn_dtree[2*O(e)]++),t.last_lit===t.lit_bufsize-1},e._tr_align=function(t){D(t,2,3),B(t,d,w),function(t){16===t.bi_valid?(I(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}},47563:t=>{"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}},81823:(t,e,r)=>{"use strict";var n=r(68357);e.certificate=r(41320);var i=n.define("RSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())}));e.RSAPrivateKey=i;var o=n.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}));e.RSAPublicKey=o;var a=n.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(s),this.key("subjectPublicKey").bitstr())}));e.PublicKey=a;var s=n.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())})),u=n.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(s),this.key("subjectPrivateKey").octstr())}));e.PrivateKey=u;var c=n.define("EncryptedPrivateKeyInfo",(function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())}));e.EncryptedPrivateKey=c;var l=n.define("DSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())}));e.DSAPrivateKey=l,e.DSAparam=n.define("DSAparam",(function(){this.int()}));var h=n.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(f),this.key("publicKey").optional().explicit(1).bitstr())}));e.ECPrivateKey=h;var f=n.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})}));e.signature=n.define("signature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())}))},41320:(t,e,r)=>{"use strict";var n=r(68357),i=n.define("Time",(function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})})),o=n.define("AttributeTypeValue",(function(){this.seq().obj(this.key("type").objid(),this.key("value").any())})),a=n.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())})),s=n.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(a),this.key("subjectPublicKey").bitstr())})),u=n.define("RelativeDistinguishedName",(function(){this.setof(o)})),c=n.define("RDNSequence",(function(){this.seqof(u)})),l=n.define("Name",(function(){this.choice({rdnSequence:this.use(c)})})),h=n.define("Validity",(function(){this.seq().obj(this.key("notBefore").use(i),this.key("notAfter").use(i))})),f=n.define("Extension",(function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())})),d=n.define("TBSCertificate",(function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(a),this.key("issuer").use(l),this.key("validity").use(h),this.key("subject").use(l),this.key("subjectPublicKeyInfo").use(s),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(f).optional())})),p=n.define("X509Certificate",(function(){this.seq().obj(this.key("tbsCertificate").use(d),this.key("signatureAlgorithm").use(a),this.key("signatureValue").bitstr())}));t.exports=p},64988:(t,e,r)=>{"use strict";var n=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,i=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,o=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,a=r(27085),s=r(98073),u=r(48850).Buffer;t.exports=function(t,e){var r,c=t.toString(),l=c.match(n);if(l){var h="aes"+l[1],f=u.from(l[2],"hex"),d=u.from(l[3].replace(/[\r\n]/g,""),"base64"),p=a(e,f.slice(0,8),parseInt(l[1],10)).key,m=[],g=s.createDecipheriv(h,p,f);m.push(g.update(d)),m.push(g.final()),r=u.concat(m)}else{var y=c.match(o);r=u.from(y[2].replace(/[\r\n]/g,""),"base64")}return{tag:c.match(i)[1],data:r}}},27552:(t,e,r)=>{"use strict";var n=r(28847)(r(3355)),i=r(81823),o=r(22562),a=r(64988),s=r(98073),u=r(54192),c=r(48850).Buffer;function l(t){var e;"object"!==(0,n.default)(t)||c.isBuffer(t)||(e=t.passphrase,t=t.key),"string"==typeof t&&(t=c.from(t));var r,l,h=a(t,e),f=h.tag,d=h.data;switch(f){case"CERTIFICATE":l=i.certificate.decode(d,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(l||(l=i.PublicKey.decode(d,"der")),r=l.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return i.RSAPublicKey.decode(l.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return l.subjectPrivateKey=l.subjectPublicKey,{type:"ec",data:l};case"1.2.840.10040.4.1":return l.algorithm.params.pub_key=i.DSAparam.decode(l.subjectPublicKey.data,"der"),{type:"dsa",data:l.algorithm.params};default:throw new Error("unknown key id "+r)}case"ENCRYPTED PRIVATE KEY":d=function(t,e){var r=t.algorithm.decrypt.kde.kdeparams.salt,n=parseInt(t.algorithm.decrypt.kde.kdeparams.iters.toString(),10),i=o[t.algorithm.decrypt.cipher.algo.join(".")],a=t.algorithm.decrypt.cipher.iv,l=t.subjectPrivateKey,h=parseInt(i.split("-")[1],10)/8,f=u.pbkdf2Sync(e,r,n,h,"sha1"),d=s.createDecipheriv(i,f,a),p=[];return p.push(d.update(l)),p.push(d.final()),c.concat(p)}(d=i.EncryptedPrivateKey.decode(d,"der"),e);case"PRIVATE KEY":switch(r=(l=i.PrivateKey.decode(d,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return i.RSAPrivateKey.decode(l.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:l.algorithm.curve,privateKey:i.ECPrivateKey.decode(l.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return l.algorithm.params.priv_key=i.DSAparam.decode(l.subjectPrivateKey,"der"),{type:"dsa",params:l.algorithm.params};default:throw new Error("unknown key id "+r)}case"RSA PUBLIC KEY":return i.RSAPublicKey.decode(d,"der");case"RSA PRIVATE KEY":return i.RSAPrivateKey.decode(d,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:i.DSAPrivateKey.decode(d,"der")};case"EC PRIVATE KEY":return{curve:(d=i.ECPrivateKey.decode(d,"der")).parameters.value,privateKey:d.privateKey};default:throw new Error("unknown key type "+f)}}t.exports=l,l.signature=i.signature},48209:t=>{"use strict";var e=function(t){return t.replace(/^\s+|\s+$/g,"")};t.exports=function(t){if(!t)return{};for(var r,n={},i=e(t).split("\n"),o=0;o<i.length;o++){var a=i[o],s=a.indexOf(":"),u=e(a.slice(0,s)).toLowerCase(),c=e(a.slice(s+1));void 0===n[u]?n[u]=c:(r=n[u],"[object Array]"===Object.prototype.toString.call(r)?n[u].push(c):n[u]=[n[u],c])}return n}},54192:(t,e,r)=>{"use strict";e.pbkdf2=r(1882),e.pbkdf2Sync=r(1658)},1882:(t,e,r)=>{"use strict";var n,i,o=r(48850).Buffer,a=r(63127),s=r(77401),u=r(1658),c=r(98398),l=r.g.crypto&&r.g.crypto.subtle,h={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},f=[];function d(){return i||(i=r.g.process&&r.g.process.nextTick?r.g.process.nextTick:r.g.queueMicrotask?r.g.queueMicrotask:r.g.setImmediate?r.g.setImmediate:r.g.setTimeout)}function p(t,e,r,n,i){return l.importKey("raw",t,{name:"PBKDF2"},!1,["deriveBits"]).then((function(t){return l.deriveBits({name:"PBKDF2",salt:e,iterations:r,hash:{name:i}},t,n<<3)})).then((function(t){return o.from(t)}))}t.exports=function(t,e,i,m,g,y){"function"==typeof g&&(y=g,g=void 0);var v=h[(g=g||"sha1").toLowerCase()];if(v&&"function"==typeof r.g.Promise){if(a(i,m),t=c(t,s,"Password"),e=c(e,s,"Salt"),"function"!=typeof y)throw new Error("No callback provided to pbkdf2");!function(t,e){t.then((function(t){d()((function(){e(null,t)}))}),(function(t){d()((function(){e(t)}))}))}(function(t){if(r.g.process&&!r.g.process.browser)return Promise.resolve(!1);if(!l||!l.importKey||!l.deriveBits)return Promise.resolve(!1);if(void 0!==f[t])return f[t];var e=p(n=n||o.alloc(8),n,10,128,t).then((function(){return!0})).catch((function(){return!1}));return f[t]=e,e}(v).then((function(r){return r?p(t,e,i,m,v):u(t,e,i,m,g)})),y)}else d()((function(){var r;try{r=u(t,e,i,m,g)}catch(t){return y(t)}y(null,r)}))}},77401:(t,e,r)=>{"use strict";var n,i=r(19142);n=r.g.process&&r.g.process.browser?"utf-8":r.g.process&&r.g.process.version?parseInt(i.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary":"utf-8",t.exports=n},63127:t=>{"use strict";var e=Math.pow(2,30)-1;t.exports=function(t,r){if("number"!=typeof t)throw new TypeError("Iterations not a number");if(t<0)throw new TypeError("Bad iterations");if("number"!=typeof r)throw new TypeError("Key length not a number");if(r<0||r>e||r!=r)throw new TypeError("Bad key length")}},1658:(t,e,r)=>{"use strict";var n=r(55349),i=r(26707),o=r(51708),a=r(48850).Buffer,s=r(63127),u=r(77401),c=r(98398),l=a.alloc(128),h={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function f(t,e,r){var s=function(t){return"rmd160"===t||"ripemd160"===t?function(t){return(new i).update(t).digest()}:"md5"===t?n:function(e){return o(t).update(e).digest()}}(t),u="sha512"===t||"sha384"===t?128:64;e.length>u?e=s(e):e.length<u&&(e=a.concat([e,l],u));for(var c=a.allocUnsafe(u+h[t]),f=a.allocUnsafe(u+h[t]),d=0;d<u;d++)c[d]=54^e[d],f[d]=92^e[d];var p=a.allocUnsafe(u+r+4);c.copy(p,0,0,u),this.ipad1=p,this.ipad2=c,this.opad=f,this.alg=t,this.blocksize=u,this.hash=s,this.size=h[t]}f.prototype.run=function(t,e){return t.copy(e,this.blocksize),this.hash(e).copy(this.opad,this.blocksize),this.hash(this.opad)},t.exports=function(t,e,r,n,i){s(r,n);var o=new f(i=i||"sha1",t=c(t,u,"Password"),(e=c(e,u,"Salt")).length),l=a.allocUnsafe(n),d=a.allocUnsafe(e.length+4);e.copy(d,0,0,e.length);for(var p=0,m=h[i],g=Math.ceil(n/m),y=1;y<=g;y++){d.writeUInt32BE(y,e.length);for(var v=o.run(d,o.ipad1),b=v,_=1;_<r;_++){b=o.run(b,o.ipad2);for(var w=0;w<m;w++)v[w]^=b[w]}v.copy(l,p),p+=m}return l}},98398:(t,e,r)=>{"use strict";var n=r(48850).Buffer;t.exports=function(t,e,r){if(n.isBuffer(t))return t;if("string"==typeof t)return n.from(t,e);if(ArrayBuffer.isView(t))return n.from(t.buffer);throw new TypeError(r+" must be a string, a Buffer, a typed array or a DataView")}},19142:t=>{"use strict";var e,r,n=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(t){if(e===setTimeout)return setTimeout(t,0);if((e===i||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(r){try{return e.call(null,t,0)}catch(r){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:i}catch(t){e=i}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(t){r=o}}();var s,u=[],c=!1,l=-1;function h(){c&&s&&(c=!1,s.length?u=s.concat(u):l=-1,u.length&&f())}function f(){if(!c){var t=a(h);c=!0;for(var e=u.length;e;){for(s=u,u=[];++l<e;)s&&s[l].run();l=-1,e=u.length}s=null,c=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===o||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function d(t,e){this.fun=t,this.array=e}function p(){}n.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];u.push(new d(t,e)),1!==u.length||c||a(f)},d.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=p,n.addListener=p,n.once=p,n.off=p,n.removeListener=p,n.removeAllListeners=p,n.emit=p,n.prependListener=p,n.prependOnceListener=p,n.listeners=function(t){return[]},n.binding=function(t){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(t){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},86991:(t,e,r)=>{"use strict";e.publicEncrypt=r(82466),e.privateDecrypt=r(53144),e.privateEncrypt=function(t,r){return e.publicEncrypt(t,r,!0)},e.publicDecrypt=function(t,r){return e.privateDecrypt(t,r,!0)}},26873:(t,e,r)=>{"use strict";var n=r(35866),i=r(48850).Buffer;function o(t){var e=i.allocUnsafe(4);return e.writeUInt32BE(t,0),e}t.exports=function(t,e){for(var r,a=i.alloc(0),s=0;a.length<e;)r=o(s++),a=i.concat([a,n("sha1").update(t).update(r).digest()]);return a.slice(0,e)}},53144:(t,e,r)=>{"use strict";var n=r(27552),i=r(26873),o=r(27223),a=r(31734),s=r(99782),u=r(35866),c=r(2561),l=r(48850).Buffer;t.exports=function(t,e,r){var h;h=t.padding?t.padding:r?1:4;var f,d=n(t),p=d.modulus.byteLength();if(e.length>p||new a(e).cmp(d.modulus)>=0)throw new Error("decryption error");f=r?c(new a(e),d):s(e,d);var m=l.alloc(p-f.length);if(f=l.concat([m,f],p),4===h)return function(t,e){var r=t.modulus.byteLength(),n=u("sha1").update(l.alloc(0)).digest(),a=n.length;if(0!==e[0])throw new Error("decryption error");var s=e.slice(1,a+1),c=e.slice(a+1),h=o(s,i(c,a)),f=o(c,i(h,r-a-1));if(function(t,e){t=l.from(t),e=l.from(e);var r=0,n=t.length;t.length!==e.length&&(r++,n=Math.min(t.length,e.length));for(var i=-1;++i<n;)r+=t[i]^e[i];return r}(n,f.slice(0,a)))throw new Error("decryption error");for(var d=a;0===f[d];)d++;if(1!==f[d++])throw new Error("decryption error");return f.slice(d)}(d,f);if(1===h)return function(t,e,r){for(var n=e.slice(0,2),i=2,o=0;0!==e[i++];)if(i>=e.length){o++;break}var a=e.slice(2,i-1);if(("0002"!==n.toString("hex")&&!r||"0001"!==n.toString("hex")&&r)&&o++,a.length<8&&o++,o)throw new Error("decryption error");return e.slice(i)}(0,f,r);if(3===h)return f;throw new Error("unknown padding")}},82466:(t,e,r)=>{"use strict";var n=r(27552),i=r(75010),o=r(35866),a=r(26873),s=r(27223),u=r(31734),c=r(2561),l=r(99782),h=r(48850).Buffer;t.exports=function(t,e,r){var f;f=t.padding?t.padding:r?1:4;var d,p=n(t);if(4===f)d=function(t,e){var r=t.modulus.byteLength(),n=e.length,c=o("sha1").update(h.alloc(0)).digest(),l=c.length,f=2*l;if(n>r-f-2)throw new Error("message too long");var d=h.alloc(r-n-f-2),p=r-l-1,m=i(l),g=s(h.concat([c,d,h.alloc(1,1),e],p),a(m,p)),y=s(m,a(g,l));return new u(h.concat([h.alloc(1),y,g],r))}(p,e);else if(1===f)d=function(t,e,r){var n,o=e.length,a=t.modulus.byteLength();if(o>a-11)throw new Error("message too long");return n=r?h.alloc(a-o-3,255):function(t){for(var e,r=h.allocUnsafe(t),n=0,o=i(2*t),a=0;n<t;)a===o.length&&(o=i(2*t),a=0),(e=o[a++])&&(r[n++]=e);return r}(a-o-3),new u(h.concat([h.from([0,r?1:2]),n,h.alloc(1),e],a))}(p,e,r);else{if(3!==f)throw new Error("unknown padding");if((d=new u(e)).cmp(p.modulus)>=0)throw new Error("data too long for modulus")}return r?l(d,p):c(d,p)}},2561:(t,e,r)=>{"use strict";var n=r(31734),i=r(48850).Buffer;t.exports=function(t,e){return i.from(t.toRed(n.mont(e.modulus)).redPow(new n(e.publicExponent)).fromRed().toArray())}},27223:t=>{"use strict";t.exports=function(t,e){for(var r=t.length,n=-1;++n<r;)t[n]^=e[n];return t}},31296:(t,e,r)=>{"use strict";var n=r(28847)(r(3355)),i=r(22028),o=r(33103),a=r(80034);function s(t,e){return e.encode?e.strict?i(t):encodeURIComponent(t):t}function u(t){return Array.isArray(t)?t.sort():"object"===(0,n.default)(t)?u(Object.keys(t)).sort((function(t,e){return Number(t)-Number(e)})).map((function(e){return t[e]})):t}function c(t){var e=t.indexOf("?");return-1===e?"":t.slice(e+1)}function l(t,e){var r=function(t){var e;switch(t.arrayFormat){case"index":return function(t,r,n){e=/\[(\d*)\]$/.exec(t),t=t.replace(/\[\d*\]$/,""),e?(void 0===n[t]&&(n[t]={}),n[t][e[1]]=r):n[t]=r};case"bracket":return function(t,r,n){e=/(\[\])$/.exec(t),t=t.replace(/\[\]$/,""),e?void 0!==n[t]?n[t]=[].concat(n[t],r):n[t]=[r]:n[t]=r};default:return function(t,e,r){void 0!==r[t]?r[t]=[].concat(r[t],e):r[t]=e}}}(e=o({arrayFormat:"none"},e)),i=Object.create(null);return"string"!=typeof t?i:(t=t.trim().replace(/^[?#&]/,""))?(t.split("&").forEach((function(t){var e=t.replace(/\+/g," ").split("="),n=e.shift(),o=e.length>0?e.join("="):void 0;o=void 0===o?null:a(o),r(a(n),o,i)})),Object.keys(i).sort().reduce((function(t,e){var r=i[e];return Boolean(r)&&"object"===(0,n.default)(r)&&!Array.isArray(r)?t[e]=u(r):t[e]=r,t}),Object.create(null))):i}e.extract=c,e.parse=l,e.stringify=function(t,e){!1===(e=o({encode:!0,strict:!0,arrayFormat:"none"},e)).sort&&(e.sort=function(){});var r=function(t){switch(t.arrayFormat){case"index":return function(e,r,n){return null===r?[s(e,t),"[",n,"]"].join(""):[s(e,t),"[",s(n,t),"]=",s(r,t)].join("")};case"bracket":return function(e,r){return null===r?s(e,t):[s(e,t),"[]=",s(r,t)].join("")};default:return function(e,r){return null===r?s(e,t):[s(e,t),"=",s(r,t)].join("")}}}(e);return t?Object.keys(t).sort(e.sort).map((function(n){var i=t[n];if(void 0===i)return"";if(null===i)return s(n,e);if(Array.isArray(i)){var o=[];return i.slice().forEach((function(t){void 0!==t&&o.push(r(n,t,o.length))})),o.join("&")}return s(n,e)+"="+s(i,e)})).filter((function(t){return t.length>0})).join("&"):""},e.parseUrl=function(t,e){return{url:t.split("?")[0]||"",query:l(c(t),e)}}},75010:(t,e,r)=>{"use strict";var n=r(19142),i=65536,o=r(48850).Buffer,a=r.g.crypto||r.g.msCrypto;a&&a.getRandomValues?t.exports=function(t,e){if(t>4294967295)throw new RangeError("requested too many random bytes");var r=o.allocUnsafe(t);if(t>0)if(t>i)for(var s=0;s<t;s+=i)a.getRandomValues(r.slice(s,s+i));else a.getRandomValues(r);return"function"==typeof e?n.nextTick((function(){e(null,r)})):r}:t.exports=function(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}},36509:(t,e,r)=>{"use strict";var n=r(19142);function i(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var o=r(48850),a=r(75010),s=o.Buffer,u=o.kMaxLength,c=r.g.crypto||r.g.msCrypto,l=Math.pow(2,32)-1;function h(t,e){if("number"!=typeof t||t!=t)throw new TypeError("offset must be a number");if(t>l||t<0)throw new TypeError("offset must be a uint32");if(t>u||t>e)throw new RangeError("offset out of range")}function f(t,e,r){if("number"!=typeof t||t!=t)throw new TypeError("size must be a number");if(t>l||t<0)throw new TypeError("size must be a uint32");if(t+e>r||t>u)throw new RangeError("buffer too small")}function d(t,e,r,i){if(n.browser){var o=t.buffer,s=new Uint8Array(o,e,r);return c.getRandomValues(s),i?void n.nextTick((function(){i(null,t)})):t}if(!i)return a(r).copy(t,e),t;a(r,(function(r,n){if(r)return i(r);n.copy(t,e),i(null,t)}))}c&&c.getRandomValues||!n.browser?(e.randomFill=function(t,e,n,i){if(!(s.isBuffer(t)||t instanceof r.g.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof e)i=e,e=0,n=t.length;else if("function"==typeof n)i=n,n=t.length-e;else if("function"!=typeof i)throw new TypeError('"cb" argument must be a function');return h(e,t.length),f(n,e,t.length),d(t,e,n,i)},e.randomFillSync=function(t,e,n){if(void 0===e&&(e=0),!(s.isBuffer(t)||t instanceof r.g.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return h(e,t.length),void 0===n&&(n=t.length-e),f(n,e,t.length),d(t,e,n)}):(e.randomFill=i,e.randomFillSync=i)},79024:(t,e,r)=>{"use strict";var n=r(28847)(r(3355)),i={};function o(t,e,r){r||(r=Error);var n=function(t){var r,n;function i(r,n,i){return t.call(this,function(t,r,n){return"string"==typeof e?e:e(t,r,n)}(r,n,i))||this}return n=t,(r=i).prototype=Object.create(n.prototype),r.prototype.constructor=r,r.__proto__=n,i}(r);n.prototype.name=r.name,n.prototype.code=t,i[t]=n}function a(t,e){if(Array.isArray(t)){var r=t.length;return t=t.map((function(t){return String(t)})),r>2?"one of ".concat(e," ").concat(t.slice(0,r-1).join(", "),", or ")+t[r-1]:2===r?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}o("ERR_INVALID_OPT_VALUE",(function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'}),TypeError),o("ERR_INVALID_ARG_TYPE",(function(t,e,r){var i,o,s,u,c;if("string"==typeof e&&(o="not ",e.substr(0,o.length)===o)?(i="must not be",e=e.replace(/^not /,"")):i="must be",function(t,e,r){return(void 0===r||r>t.length)&&(r=t.length),t.substring(r-e.length,r)===e}(t," argument"))s="The ".concat(t," ").concat(i," ").concat(a(e,"type"));else{var l=("number"!=typeof c&&(c=0),c+".".length>(u=t).length||-1===u.indexOf(".",c)?"argument":"property");s='The "'.concat(t,'" ').concat(l," ").concat(i," ").concat(a(e,"type"))}return s+". Received type ".concat((0,n.default)(r))}),TypeError),o("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),o("ERR_METHOD_NOT_IMPLEMENTED",(function(t){return"The "+t+" method is not implemented"})),o("ERR_STREAM_PREMATURE_CLOSE","Premature close"),o("ERR_STREAM_DESTROYED",(function(t){return"Cannot call "+t+" after a stream was destroyed"})),o("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),o("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),o("ERR_STREAM_WRITE_AFTER_END","write after end"),o("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),o("ERR_UNKNOWN_ENCODING",(function(t){return"Unknown encoding: "+t}),TypeError),o("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.q=i},76884:(t,e,r)=>{"use strict";var n=r(19142),i=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};t.exports=l;var o=r(6297),a=r(71471);r(41736)(l,o);for(var s=i(a.prototype),u=0;u<s.length;u++){var c=s[u];l.prototype[c]||(l.prototype[c]=a.prototype[c])}function l(t){if(!(this instanceof l))return new l(t);o.call(this,t),a.call(this,t),this.allowHalfOpen=!0,t&&(!1===t.readable&&(this.readable=!1),!1===t.writable&&(this.writable=!1),!1===t.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",h)))}function h(){this._writableState.ended||n.nextTick(f,this)}function f(t){t.end()}Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(l.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(l.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(l.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}})},53582:(t,e,r)=>{"use strict";t.exports=i;var n=r(99154);function i(t){if(!(this instanceof i))return new i(t);n.call(this,t)}r(41736)(i,n),i.prototype._transform=function(t,e,r){r(null,t)}},6297:(t,e,r)=>{"use strict";var n,i=r(19142);t.exports=E,E.ReadableState=S,r(38291).EventEmitter;var o,a=function(t,e){return t.listeners(e).length},s=r(37144),u=r(29033).Buffer,c=(void 0!==r.g?r.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},l=r(94616);o=l&&l.debuglog?l.debuglog("stream"):function(){};var h,f,d,p=r(25392),m=r(57572),g=r(6756).getHighWaterMark,y=r(79024).q,v=y.ERR_INVALID_ARG_TYPE,b=y.ERR_STREAM_PUSH_AFTER_EOF,_=y.ERR_METHOD_NOT_IMPLEMENTED,w=y.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;r(41736)(E,s);var x=m.errorOrDestroy,k=["error","close","destroy","pause","resume"];function S(t,e,i){n=n||r(76884),t=t||{},"boolean"!=typeof i&&(i=e instanceof n),this.objectMode=!!t.objectMode,i&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=g(this,t,"readableHighWaterMark",i),this.buffer=new p,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(h||(h=r(23462).s),this.decoder=new h(t.encoding),this.encoding=t.encoding)}function E(t){if(n=n||r(76884),!(this instanceof E))return new E(t);var e=this instanceof n;this._readableState=new S(t,this,e),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),s.call(this)}function M(t,e,r,n,i){o("readableAddChunk",e);var a,s=t._readableState;if(null===e)s.reading=!1,function(t,e){if(o("onEofChunk"),!e.ended){if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,e.sync?L(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,P(t)))}}(t,s);else if(i||(a=function(t,e){var r,n;return n=e,u.isBuffer(n)||n instanceof c||"string"==typeof e||void 0===e||t.objectMode||(r=new v("chunk",["string","Buffer","Uint8Array"],e)),r}(s,e)),a)x(t,a);else if(s.objectMode||e&&e.length>0)if("string"==typeof e||s.objectMode||Object.getPrototypeOf(e)===u.prototype||(e=function(t){return u.from(t)}(e)),n)s.endEmitted?x(t,new w):A(t,s,e,!0);else if(s.ended)x(t,new b);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!r?(e=s.decoder.write(e),s.objectMode||0!==e.length?A(t,s,e,!1):O(t,s)):A(t,s,e,!1)}else n||(s.reading=!1,O(t,s));return!s.ended&&(s.length<s.highWaterMark||0===s.length)}function A(t,e,r,n){e.flowing&&0===e.length&&!e.sync?(e.awaitDrain=0,t.emit("data",r)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&L(t)),O(t,e)}Object.defineProperty(E.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),E.prototype.destroy=m.destroy,E.prototype._undestroy=m.undestroy,E.prototype._destroy=function(t,e){e(t)},E.prototype.push=function(t,e){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof t&&((e=e||n.defaultEncoding)!==n.encoding&&(t=u.from(t,e),e=""),r=!0),M(this,t,e,!1,r)},E.prototype.unshift=function(t){return M(this,t,null,!0,!1)},E.prototype.isPaused=function(){return!1===this._readableState.flowing},E.prototype.setEncoding=function(t){h||(h=r(23462).s);var e=new h(t);this._readableState.decoder=e,this._readableState.encoding=this._readableState.decoder.encoding;for(var n=this._readableState.buffer.head,i="";null!==n;)i+=e.write(n.data),n=n.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};var T=1073741824;function C(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!=t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=function(t){return t>=T?t=T:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function L(t){var e=t._readableState;o("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(o("emitReadable",e.flowing),e.emittedReadable=!0,i.nextTick(P,t))}function P(t){var e=t._readableState;o("emitReadable_",e.destroyed,e.length,e.ended),e.destroyed||!e.length&&!e.ended||(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,N(t)}function O(t,e){e.readingMore||(e.readingMore=!0,i.nextTick(I,t,e))}function I(t,e){for(;!e.reading&&!e.ended&&(e.length<e.highWaterMark||e.flowing&&0===e.length);){var r=e.length;if(o("maybeReadMore read 0"),t.read(0),r===e.length)break}e.readingMore=!1}function D(t){var e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function B(t){o("readable nexttick read 0"),t.read(0)}function j(t,e){o("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),N(t),e.flowing&&!e.reading&&t.read(0)}function N(t){var e=t._readableState;for(o("flow",e.flowing);e.flowing&&null!==t.read(););}function R(t,e){return 0===e.length?null:(e.objectMode?r=e.buffer.shift():!t||t>=e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.first():e.buffer.concat(e.length),e.buffer.clear()):r=e.buffer.consume(t,e.decoder),r);var r}function F(t){var e=t._readableState;o("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,i.nextTick(Y,e,t))}function Y(t,e){if(o("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var r=e._writableState;(!r||r.autoDestroy&&r.finished)&&e.destroy()}}function U(t,e){for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}E.prototype.read=function(t){o("read",t),t=parseInt(t,10);var e=this._readableState,r=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&((0!==e.highWaterMark?e.length>=e.highWaterMark:e.length>0)||e.ended))return o("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?F(this):L(this),null;if(0===(t=C(t,e))&&e.ended)return 0===e.length&&F(this),null;var n,i=e.needReadable;return o("need readable",i),(0===e.length||e.length-t<e.highWaterMark)&&o("length less than watermark",i=!0),e.ended||e.reading?o("reading or ended",i=!1):i&&(o("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=C(r,e))),null===(n=t>0?R(t,e):null)?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&F(this)),null!==n&&this.emit("data",n),n},E.prototype._read=function(t){x(this,new _("_read()"))},E.prototype.pipe=function(t,e){var r=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=t;break;case 1:n.pipes=[n.pipes,t];break;default:n.pipes.push(t)}n.pipesCount+=1,o("pipe count=%d opts=%j",n.pipesCount,e);var s=e&&!1===e.end||t===i.stdout||t===i.stderr?m:u;function u(){o("onend"),t.end()}n.endEmitted?i.nextTick(s):r.once("end",s),t.on("unpipe",(function e(i,a){o("onunpipe"),i===r&&a&&!1===a.hasUnpiped&&(a.hasUnpiped=!0,o("cleanup"),t.removeListener("close",d),t.removeListener("finish",p),t.removeListener("drain",c),t.removeListener("error",f),t.removeListener("unpipe",e),r.removeListener("end",u),r.removeListener("end",m),r.removeListener("data",h),l=!0,!n.awaitDrain||t._writableState&&!t._writableState.needDrain||c())}));var c=function(t){return function(){var e=t._readableState;o("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&a(t,"data")&&(e.flowing=!0,N(t))}}(r);t.on("drain",c);var l=!1;function h(e){o("ondata");var i=t.write(e);o("dest.write",i),!1===i&&((1===n.pipesCount&&n.pipes===t||n.pipesCount>1&&-1!==U(n.pipes,t))&&!l&&(o("false write response, pause",n.awaitDrain),n.awaitDrain++),r.pause())}function f(e){o("onerror",e),m(),t.removeListener("error",f),0===a(t,"error")&&x(t,e)}function d(){t.removeListener("finish",p),m()}function p(){o("onfinish"),t.removeListener("close",d),m()}function m(){o("unpipe"),r.unpipe(t)}return r.on("data",h),function(t,e,r){if("function"==typeof t.prependListener)return t.prependListener(e,r);t._events&&t._events[e]?Array.isArray(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]:t.on(e,r)}(t,"error",f),t.once("close",d),t.once("finish",p),t.emit("pipe",r),n.flowing||(o("pipe resume"),r.resume()),t},E.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r)),this;if(!t){var n=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o<i;o++)n[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=U(e.pipes,t);return-1===a||(e.pipes.splice(a,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,r)),this},E.prototype.on=function(t,e){var r=s.prototype.on.call(this,t,e),n=this._readableState;return"data"===t?(n.readableListening=this.listenerCount("readable")>0,!1!==n.flowing&&this.resume()):"readable"===t&&(n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,o("on readable",n.length,n.reading),n.length?L(this):n.reading||i.nextTick(B,this))),r},E.prototype.addListener=E.prototype.on,E.prototype.removeListener=function(t,e){var r=s.prototype.removeListener.call(this,t,e);return"readable"===t&&i.nextTick(D,this),r},E.prototype.removeAllListeners=function(t){var e=s.prototype.removeAllListeners.apply(this,arguments);return"readable"!==t&&void 0!==t||i.nextTick(D,this),e},E.prototype.resume=function(){var t=this._readableState;return t.flowing||(o("resume"),t.flowing=!t.readableListening,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,i.nextTick(j,t,e))}(this,t)),t.paused=!1,this},E.prototype.pause=function(){return o("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(o("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},E.prototype.wrap=function(t){var e=this,r=this._readableState,n=!1;for(var i in t.on("end",(function(){if(o("wrapped end"),r.decoder&&!r.ended){var t=r.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(i){o("wrapped data"),r.decoder&&(i=r.decoder.write(i)),r.objectMode&&null==i||(r.objectMode||i&&i.length)&&(e.push(i)||(n=!0,t.pause()))})),t)void 0===this[i]&&"function"==typeof t[i]&&(this[i]=function(e){return function(){return t[e].apply(t,arguments)}}(i));for(var a=0;a<k.length;a++)t.on(k[a],this.emit.bind(this,k[a]));return this._read=function(e){o("wrapped _read",e),n&&(n=!1,t.resume())},this},"function"==typeof Symbol&&(E.prototype[Symbol.asyncIterator]=function(){return void 0===f&&(f=r(32317)),f(this)}),Object.defineProperty(E.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(E.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(E.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}}),E._fromList=R,Object.defineProperty(E.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(E.from=function(t,e){return void 0===d&&(d=r(16218)),d(E,t,e)})},99154:(t,e,r)=>{"use strict";t.exports=l;var n=r(79024).q,i=n.ERR_METHOD_NOT_IMPLEMENTED,o=n.ERR_MULTIPLE_CALLBACK,a=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=n.ERR_TRANSFORM_WITH_LENGTH_0,u=r(76884);function c(t,e){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new o);r.writechunk=null,r.writecb=null,null!=e&&this.push(e),n(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function l(t){if(!(this instanceof l))return new l(t);u.call(this,t),this._transformState={afterTransform:c.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",h)}function h(){var t=this;"function"!=typeof this._flush||this._readableState.destroyed?f(this,null,null):this._flush((function(e,r){f(t,e,r)}))}function f(t,e,r){if(e)return t.emit("error",e);if(null!=r&&t.push(r),t._writableState.length)throw new s;if(t._transformState.transforming)throw new a;return t.push(null)}r(41736)(l,u),l.prototype.push=function(t,e){return this._transformState.needTransform=!1,u.prototype.push.call(this,t,e)},l.prototype._transform=function(t,e,r){r(new i("_transform()"))},l.prototype._write=function(t,e,r){var n=this._transformState;if(n.writecb=r,n.writechunk=t,n.writeencoding=e,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},l.prototype._read=function(t){var e=this._transformState;null===e.writechunk||e.transforming?e.needTransform=!0:(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform))},l.prototype._destroy=function(t,e){u.prototype._destroy.call(this,t,(function(t){e(t)}))}},71471:(t,e,r)=>{"use strict";var n,i=r(19142);function o(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,r){var n=t.entry;for(t.entry=null;n;){var i=n.callback;e.pendingcb--,i(void 0),n=n.next}e.corkedRequestsFree.next=t}(e,t)}}t.exports=E,E.WritableState=S;var a,s={deprecate:r(96219)},u=r(37144),c=r(29033).Buffer,l=(void 0!==r.g?r.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},h=r(57572),f=r(6756).getHighWaterMark,d=r(79024).q,p=d.ERR_INVALID_ARG_TYPE,m=d.ERR_METHOD_NOT_IMPLEMENTED,g=d.ERR_MULTIPLE_CALLBACK,y=d.ERR_STREAM_CANNOT_PIPE,v=d.ERR_STREAM_DESTROYED,b=d.ERR_STREAM_NULL_VALUES,_=d.ERR_STREAM_WRITE_AFTER_END,w=d.ERR_UNKNOWN_ENCODING,x=h.errorOrDestroy;function k(){}function S(t,e,a){n=n||r(76884),t=t||{},"boolean"!=typeof a&&(a=e instanceof n),this.objectMode=!!t.objectMode,a&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=f(this,t,"writableHighWaterMark",a),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===t.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var r=t._writableState,n=r.sync,o=r.writecb;if("function"!=typeof o)throw new g;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(r),e)!function(t,e,r,n,o){--e.pendingcb,r?(i.nextTick(o,n),i.nextTick(P,t,e),t._writableState.errorEmitted=!0,x(t,n)):(o(n),t._writableState.errorEmitted=!0,x(t,n),P(t,e))}(t,r,n,e,o);else{var a=C(r)||t.destroyed;a||r.corked||r.bufferProcessing||!r.bufferedRequest||T(t,r),n?i.nextTick(A,t,r,a,o):A(t,r,a,o)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function E(t){var e=this instanceof(n=n||r(76884));if(!e&&!a.call(E,this))return new E(t);this._writableState=new S(t,this,e),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),u.call(this)}function M(t,e,r,n,i,o,a){e.writelen=n,e.writecb=a,e.writing=!0,e.sync=!0,e.destroyed?e.onwrite(new v("write")):r?t._writev(i,e.onwrite):t._write(i,o,e.onwrite),e.sync=!1}function A(t,e,r,n){r||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,n(),P(t,e)}function T(t,e){e.bufferProcessing=!0;var r=e.bufferedRequest;if(t._writev&&r&&r.next){var n=e.bufferedRequestCount,i=new Array(n),a=e.corkedRequestsFree;a.entry=r;for(var s=0,u=!0;r;)i[s]=r,r.isBuf||(u=!1),r=r.next,s+=1;i.allBuffers=u,M(t,e,!0,e.length,i,"",a.finish),e.pendingcb++,e.lastBufferedRequest=null,a.next?(e.corkedRequestsFree=a.next,a.next=null):e.corkedRequestsFree=new o(e),e.bufferedRequestCount=0}else{for(;r;){var c=r.chunk,l=r.encoding,h=r.callback;if(M(t,e,!1,e.objectMode?1:c.length,c,l,h),r=r.next,e.bufferedRequestCount--,e.writing)break}null===r&&(e.lastBufferedRequest=null)}e.bufferedRequest=r,e.bufferProcessing=!1}function C(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function L(t,e){t._final((function(r){e.pendingcb--,r&&x(t,r),e.prefinished=!0,t.emit("prefinish"),P(t,e)}))}function P(t,e){var r=C(e);if(r&&(function(t,e){e.prefinished||e.finalCalled||("function"!=typeof t._final||e.destroyed?(e.prefinished=!0,t.emit("prefinish")):(e.pendingcb++,e.finalCalled=!0,i.nextTick(L,t,e)))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"),e.autoDestroy))){var n=t._readableState;(!n||n.autoDestroy&&n.endEmitted)&&t.destroy()}return r}r(41736)(E,u),S.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(S.prototype,"buffer",{get:s.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(a=Function.prototype[Symbol.hasInstance],Object.defineProperty(E,Symbol.hasInstance,{value:function(t){return!!a.call(this,t)||this===E&&t&&t._writableState instanceof S}})):a=function(t){return t instanceof this},E.prototype.pipe=function(){x(this,new y)},E.prototype.write=function(t,e,r){var n,o=this._writableState,a=!1,s=!o.objectMode&&(n=t,c.isBuffer(n)||n instanceof l);return s&&!c.isBuffer(t)&&(t=function(t){return c.from(t)}(t)),"function"==typeof e&&(r=e,e=null),s?e="buffer":e||(e=o.defaultEncoding),"function"!=typeof r&&(r=k),o.ending?function(t,e){var r=new _;x(t,r),i.nextTick(e,r)}(this,r):(s||function(t,e,r,n){var o;return null===r?o=new b:"string"==typeof r||e.objectMode||(o=new p("chunk",["string","Buffer"],r)),!o||(x(t,o),i.nextTick(n,o),!1)}(this,o,t,r))&&(o.pendingcb++,a=function(t,e,r,n,i,o){if(!r){var a=function(t,e,r){return t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=c.from(e,r)),e}(e,n,i);n!==a&&(r=!0,i="buffer",n=a)}var s=e.objectMode?1:n.length;e.length+=s;var u=e.length<e.highWaterMark;if(u||(e.needDrain=!0),e.writing||e.corked){var l=e.lastBufferedRequest;e.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:o,next:null},l?l.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else M(t,e,!1,s,n,i,o);return u}(this,o,s,t,e,r)),a},E.prototype.cork=function(){this._writableState.corked++},E.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.bufferProcessing||!t.bufferedRequest||T(this,t))},E.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new w(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(E.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(E.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),E.prototype._write=function(t,e,r){r(new m("_write()"))},E.prototype._writev=null,E.prototype.end=function(t,e,r){var n=this._writableState;return"function"==typeof t?(r=t,t=null,e=null):"function"==typeof e&&(r=e,e=null),null!=t&&this.write(t,e),n.corked&&(n.corked=1,this.uncork()),n.ending||function(t,e,r){e.ending=!0,P(t,e),r&&(e.finished?i.nextTick(r):t.once("finish",r)),e.ended=!0,t.writable=!1}(this,n,r),this},Object.defineProperty(E.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(E.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),E.prototype.destroy=h.destroy,E.prototype._undestroy=h.undestroy,E.prototype._destroy=function(t,e){e(t)}},32317:(t,e,r)=>{"use strict";var n,i=r(19142),o=r(28847)(r(3355));function a(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==(0,o.default)(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==(0,o.default)(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===(0,o.default)(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var s=r(5831),u=Symbol("lastResolve"),c=Symbol("lastReject"),l=Symbol("error"),h=Symbol("ended"),f=Symbol("lastPromise"),d=Symbol("handlePromise"),p=Symbol("stream");function m(t,e){return{value:t,done:e}}function g(t){var e=t[u];if(null!==e){var r=t[p].read();null!==r&&(t[f]=null,t[u]=null,t[c]=null,e(m(r,!1)))}}function y(t){i.nextTick(g,t)}var v=Object.getPrototypeOf((function(){})),b=Object.setPrototypeOf((a(n={get stream(){return this[p]},next:function(){var t=this,e=this[l];if(null!==e)return Promise.reject(e);if(this[h])return Promise.resolve(m(void 0,!0));if(this[p].destroyed)return new Promise((function(e,r){i.nextTick((function(){t[l]?r(t[l]):e(m(void 0,!0))}))}));var r,n=this[f];if(n)r=new Promise(function(t,e){return function(r,n){t.then((function(){e[h]?r(m(void 0,!0)):e[d](r,n)}),n)}}(n,this));else{var o=this[p].read();if(null!==o)return Promise.resolve(m(o,!1));r=new Promise(this[d])}return this[f]=r,r}},Symbol.asyncIterator,(function(){return this})),a(n,"return",(function(){var t=this;return new Promise((function(e,r){t[p].destroy(null,(function(t){t?r(t):e(m(void 0,!0))}))}))})),n),v);t.exports=function(t){var e,r=Object.create(b,(a(e={},p,{value:t,writable:!0}),a(e,u,{value:null,writable:!0}),a(e,c,{value:null,writable:!0}),a(e,l,{value:null,writable:!0}),a(e,h,{value:t._readableState.endEmitted,writable:!0}),a(e,d,{value:function(t,e){var n=r[p].read();n?(r[f]=null,r[u]=null,r[c]=null,t(m(n,!1))):(r[u]=t,r[c]=e)},writable:!0}),e));return r[f]=null,s(t,(function(t){if(t&&"ERR_STREAM_PREMATURE_CLOSE"!==t.code){var e=r[c];return null!==e&&(r[f]=null,r[u]=null,r[c]=null,e(t)),void(r[l]=t)}var n=r[u];null!==n&&(r[f]=null,r[u]=null,r[c]=null,n(m(void 0,!0))),r[h]=!0})),t.on("readable",y.bind(null,r)),r}},25392:(t,e,r)=>{"use strict";var n=r(28847)(r(3355));function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach((function(e){a(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function a(t,e,r){return(e=u(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function s(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,u(n.key),n)}}function u(t){var e=function(t,e){if("object"!==(0,n.default)(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,"string");if("object"!==(0,n.default)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===(0,n.default)(e)?e:String(e)}var c=r(29033).Buffer,l=r(52361).inspect,h=l&&l.custom||"inspect";t.exports=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}var e,r;return e=t,(r=[{key:"push",value:function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length}},{key:"unshift",value:function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length}},{key:"shift",value:function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(t){if(0===this.length)return"";for(var e=this.head,r=""+e.data;e=e.next;)r+=t+e.data;return r}},{key:"concat",value:function(t){if(0===this.length)return c.alloc(0);for(var e,r,n,i=c.allocUnsafe(t>>>0),o=this.head,a=0;o;)e=o.data,r=i,n=a,c.prototype.copy.call(e,r,n),a+=o.data.length,o=o.next;return i}},{key:"consume",value:function(t,e){var r;return t<this.head.data.length?(r=this.head.data.slice(0,t),this.head.data=this.head.data.slice(t)):r=t===this.head.data.length?this.shift():e?this._getString(t):this._getBuffer(t),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(t){var e=this.head,r=1,n=e.data;for(t-=n.length;e=e.next;){var i=e.data,o=t>i.length?i.length:t;if(o===i.length?n+=i:n+=i.slice(0,t),0==(t-=o)){o===i.length?(++r,e.next?this.head=e.next:this.head=this.tail=null):(this.head=e,e.data=i.slice(o));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(t){var e=c.allocUnsafe(t),r=this.head,n=1;for(r.data.copy(e),t-=r.data.length;r=r.next;){var i=r.data,o=t>i.length?i.length:t;if(i.copy(e,e.length-t,0,o),0==(t-=o)){o===i.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=i.slice(o));break}++n}return this.length-=n,e}},{key:h,value:function(t,e){return l(this,o(o({},e),{},{depth:0,customInspect:!1}))}}])&&s(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),t}()},57572:(t,e,r)=>{"use strict";var n=r(19142);function i(t,e){a(t,e),o(t)}function o(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function a(t,e){t.emit("error",e)}t.exports={destroy:function(t,e){var r=this,s=this._readableState&&this._readableState.destroyed,u=this._writableState&&this._writableState.destroyed;return s||u?(e?e(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n.nextTick(a,this,t)):n.nextTick(a,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!e&&t?r._writableState?r._writableState.errorEmitted?n.nextTick(o,r):(r._writableState.errorEmitted=!0,n.nextTick(i,r,t)):n.nextTick(i,r,t):e?(n.nextTick(o,r),e(t)):n.nextTick(o,r)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(t,e){var r=t._readableState,n=t._writableState;r&&r.autoDestroy||n&&n.autoDestroy?t.destroy(e):t.emit("error",e)}}},5831:(t,e,r)=>{"use strict";var n=r(79024).q.ERR_STREAM_PREMATURE_CLOSE;function i(){}t.exports=function t(e,r,o){if("function"==typeof r)return t(e,null,r);r||(r={}),o=function(t){var e=!1;return function(){if(!e){e=!0;for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];t.apply(this,n)}}}(o||i);var a=r.readable||!1!==r.readable&&e.readable,s=r.writable||!1!==r.writable&&e.writable,u=function(){e.writable||l()},c=e._writableState&&e._writableState.finished,l=function(){s=!1,c=!0,a||o.call(e)},h=e._readableState&&e._readableState.endEmitted,f=function(){a=!1,h=!0,s||o.call(e)},d=function(t){o.call(e,t)},p=function(){var t;return a&&!h?(e._readableState&&e._readableState.ended||(t=new n),o.call(e,t)):s&&!c?(e._writableState&&e._writableState.ended||(t=new n),o.call(e,t)):void 0},m=function(){e.req.on("finish",l)};return function(t){return t.setHeader&&"function"==typeof t.abort}(e)?(e.on("complete",l),e.on("abort",p),e.req?m():e.on("request",m)):s&&!e._writableState&&(e.on("end",u),e.on("close",u)),e.on("end",f),e.on("finish",l),!1!==r.error&&e.on("error",d),e.on("close",p),function(){e.removeListener("complete",l),e.removeListener("abort",p),e.removeListener("request",m),e.req&&e.req.removeListener("finish",l),e.removeListener("end",u),e.removeListener("close",u),e.removeListener("finish",l),e.removeListener("end",f),e.removeListener("error",d),e.removeListener("close",p)}}},16218:t=>{"use strict";t.exports=function(){throw new Error("Readable.from is not available in the browser")}},60384:(t,e,r)=>{"use strict";var n,i=r(79024).q,o=i.ERR_MISSING_ARGS,a=i.ERR_STREAM_DESTROYED;function s(t){if(t)throw t}function u(t){t()}function c(t,e){return t.pipe(e)}t.exports=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];var l,h=function(t){return t.length?"function"!=typeof t[t.length-1]?s:t.pop():s}(e);if(Array.isArray(e[0])&&(e=e[0]),e.length<2)throw new o("streams");var f=e.map((function(t,i){var o=i<e.length-1;return function(t,e,i,o){o=function(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}(o);var s=!1;t.on("close",(function(){s=!0})),void 0===n&&(n=r(5831)),n(t,{readable:e,writable:i},(function(t){if(t)return o(t);s=!0,o()}));var u=!1;return function(e){if(!s&&!u)return u=!0,function(t){return t.setHeader&&"function"==typeof t.abort}(t)?t.abort():"function"==typeof t.destroy?t.destroy():void o(e||new a("pipe"))}}(t,o,i>0,(function(t){l||(l=t),t&&f.forEach(u),o||(f.forEach(u),h(l))}))}));return e.reduce(c)}},6756:(t,e,r)=>{"use strict";var n=r(79024).q.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(t,e,r,i){var o=function(t,e,r){return null!=t.highWaterMark?t.highWaterMark:e?t[r]:null}(e,i,r);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new n(i?r:"highWaterMark",o);return Math.floor(o)}return t.objectMode?16:16384}}},37144:(t,e,r)=>{"use strict";t.exports=r(38291).EventEmitter},86505:(t,e,r)=>{"use strict";(e=t.exports=r(6297)).Stream=e,e.Readable=e,e.Writable=r(71471),e.Duplex=r(76884),e.Transform=r(99154),e.PassThrough=r(53582),e.finished=r(5831),e.pipeline=r(60384)},26707:(t,e,r)=>{"use strict";var n=r(29033).Buffer,i=r(41736),o=r(22353),a=new Array(16),s=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],u=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],c=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],l=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],h=[0,1518500249,1859775393,2400959708,2840853838],f=[1352829926,1548603684,1836072691,2053994217,0];function d(){o.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function p(t,e){return t<<e|t>>>32-e}function m(t,e,r,n,i,o,a,s){return p(t+(e^r^n)+o+a|0,s)+i|0}function g(t,e,r,n,i,o,a,s){return p(t+(e&r|~e&n)+o+a|0,s)+i|0}function y(t,e,r,n,i,o,a,s){return p(t+((e|~r)^n)+o+a|0,s)+i|0}function v(t,e,r,n,i,o,a,s){return p(t+(e&n|r&~n)+o+a|0,s)+i|0}function b(t,e,r,n,i,o,a,s){return p(t+(e^(r|~n))+o+a|0,s)+i|0}i(d,o),d.prototype._update=function(){for(var t=a,e=0;e<16;++e)t[e]=this._block.readInt32LE(4*e);for(var r=0|this._a,n=0|this._b,i=0|this._c,o=0|this._d,d=0|this._e,_=0|this._a,w=0|this._b,x=0|this._c,k=0|this._d,S=0|this._e,E=0;E<80;E+=1){var M,A;E<16?(M=m(r,n,i,o,d,t[s[E]],h[0],c[E]),A=b(_,w,x,k,S,t[u[E]],f[0],l[E])):E<32?(M=g(r,n,i,o,d,t[s[E]],h[1],c[E]),A=v(_,w,x,k,S,t[u[E]],f[1],l[E])):E<48?(M=y(r,n,i,o,d,t[s[E]],h[2],c[E]),A=y(_,w,x,k,S,t[u[E]],f[2],l[E])):E<64?(M=v(r,n,i,o,d,t[s[E]],h[3],c[E]),A=g(_,w,x,k,S,t[u[E]],f[3],l[E])):(M=b(r,n,i,o,d,t[s[E]],h[4],c[E]),A=m(_,w,x,k,S,t[u[E]],f[4],l[E])),r=d,d=o,o=p(i,10),i=n,n=M,_=S,S=k,k=p(x,10),x=w,w=A}var T=this._b+i+k|0;this._b=this._c+o+S|0,this._c=this._d+d+_|0,this._d=this._e+r+w|0,this._e=this._a+n+x|0,this._a=T},d.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var t=n.alloc?n.alloc(20):new n(20);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t.writeInt32LE(this._e,16),t},t.exports=d},6905:(t,e,r)=>{"use strict";var n=r(29033).Buffer;Object.defineProperty(e,"__esModule",{value:!0}),e.getLength=e.decode=e.encode=void 0;var i,o=(i=r(31734))&&i.__esModule?i:{default:i};function a(t,e){if("0"===t[0]&&"0"===t[1])throw new Error("invalid RLP: extra zeros");return parseInt(t,e)}function s(t,e){if(t<56)return n.from([t+e]);var r=l(t),i=l(e+55+r.length/2);return n.from(i+r,"hex")}function u(t){var e,r,i,o,s,c=[],l=t[0];if(l<=127)return{data:t.slice(0,1),remainder:t.slice(1)};if(l<=183){if(e=l-127,i=128===l?n.from([]):t.slice(1,e),2===e&&i[0]<128)throw new Error("invalid rlp encoding: byte must be less 0x80");return{data:i,remainder:t.slice(e)}}if(l<=191){if(r=l-182,t.length-1<r)throw new Error("invalid RLP: not enough bytes for string length");if((e=a(t.slice(1,r).toString("hex"),16))<=55)throw new Error("invalid RLP: expected string length to be greater than 55");if((i=t.slice(r,e+r)).length<e)throw new Error("invalid RLP: not enough bytes for string");return{data:i,remainder:t.slice(e+r)}}if(l<=247){for(e=l-191,o=t.slice(1,e);o.length;)s=u(o),c.push(s.data),o=s.remainder;return{data:c,remainder:t.slice(e)}}var h=(r=l-246)+(e=a(t.slice(1,r).toString("hex"),16));if(h>t.length)throw new Error("invalid rlp: total length is larger than the data");if(0===(o=t.slice(r,h)).length)throw new Error("invalid rlp, List has a invalid length");for(;o.length;)s=u(o),c.push(s.data),o=s.remainder;return{data:c,remainder:t.slice(h)}}function c(t){return"0x"===t.slice(0,2)}function l(t){if(t<0)throw new Error("Invalid integer as argument, must be unsigned!");var e=t.toString(16);return e.length%2?"0"+e:e}function h(t){if(!n.isBuffer(t)){if("string"==typeof t)return c(t)?n.from((r="string"!=typeof(i=t)?i:c(i)?i.slice(2):i).length%2?"0"+r:r,"hex"):n.from(t);if("number"==typeof t||"bigint"==typeof t)return t?(e=l(t),n.from(e,"hex")):n.from([]);if(null==t)return n.from([]);if(t instanceof Uint8Array)return n.from(t);if(o.default.isBN(t))return n.from(t.toArray());throw new Error("invalid type")}var e,r,i;return t}e.encode=function t(e){if(Array.isArray(e)){for(var r=[],i=0;i<e.length;i++)r.push(t(e[i]));var o=n.concat(r);return n.concat([s(o.length,192),o])}var a=h(e);return 1===a.length&&a[0]<128?a:n.concat([s(a.length,128),a])},e.decode=function(t,e){if(void 0===e&&(e=!1),!t||0===t.length)return n.from([]);var r=u(h(t));if(e)return r;if(0!==r.remainder.length)throw new Error("invalid remainder");return r.data},e.getLength=function(t){if(!t||0===t.length)return n.from([]);var e=h(t),r=e[0];if(r<=127)return e.length;if(r<=183)return r-127;if(r<=191)return r-182;if(r<=247)return r-191;var i=r-246;return i+a(e.slice(1,i).toString("hex"),16)}},48850:(t,e,r)=>{"use strict";var n=r(29033),i=n.Buffer;function o(t,e){for(var r in t)e[r]=t[r]}function a(t,e,r){return i(t,e,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=n:(o(n,e),e.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(t,e,r){if("number"==typeof t)throw new TypeError("Argument must not be a number");return i(t,e,r)},a.alloc=function(t,e,r){if("number"!=typeof t)throw new TypeError("Argument must be a number");var n=i(t);return void 0!==e?"string"==typeof r?n.fill(e,r):n.fill(e):n.fill(0),n},a.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return i(t)},a.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return n.SlowBuffer(t)}},11755:(t,e,r)=>{"use strict";var n,i=r(19142),o=r(28847)(r(3355)),a=r(29033),s=a.Buffer,u={};for(n in a)a.hasOwnProperty(n)&&"SlowBuffer"!==n&&"Buffer"!==n&&(u[n]=a[n]);var c=u.Buffer={};for(n in s)s.hasOwnProperty(n)&&"allocUnsafe"!==n&&"allocUnsafeSlow"!==n&&(c[n]=s[n]);if(u.Buffer.prototype=s.prototype,c.from&&c.from!==Uint8Array.from||(c.from=function(t,e,r){if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type '+(0,o.default)(t));if(t&&void 0===t.length)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+(0,o.default)(t));return s(t,e,r)}),c.alloc||(c.alloc=function(t,e,r){if("number"!=typeof t)throw new TypeError('The "size" argument must be of type number. Received type '+(0,o.default)(t));if(t<0||t>=2*(1<<30))throw new RangeError('The value "'+t+'" is invalid for option "size"');var n=s(t);return e&&0!==e.length?"string"==typeof r?n.fill(e,r):n.fill(e):n.fill(0),n}),!u.kStringMaxLength)try{u.kStringMaxLength=i.binding("buffer").kStringMaxLength}catch(t){}u.constants||(u.constants={MAX_LENGTH:u.kMaxLength},u.kStringMaxLength&&(u.constants.MAX_STRING_LENGTH=u.kStringMaxLength)),t.exports=u},67799:t=>{"use strict";!function(e){var r=2147483647;function n(t){var e=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),r=1779033703,n=3144134277,i=1013904242,o=2773480762,a=1359893119,s=2600822924,u=528734635,c=1541459225,l=new Uint32Array(64);function h(t){for(var h=0,f=t.length;f>=64;){var d=r,p=n,m=i,g=o,y=a,v=s,b=u,_=c,w=void 0,x=void 0,k=void 0,S=void 0,E=void 0;for(x=0;x<16;x++)k=h+4*x,l[x]=(255&t[k])<<24|(255&t[k+1])<<16|(255&t[k+2])<<8|255&t[k+3];for(x=16;x<64;x++)S=((w=l[x-2])>>>17|w<<15)^(w>>>19|w<<13)^w>>>10,E=((w=l[x-15])>>>7|w<<25)^(w>>>18|w<<14)^w>>>3,l[x]=(S+l[x-7]|0)+(E+l[x-16]|0)|0;for(x=0;x<64;x++)S=(((y>>>6|y<<26)^(y>>>11|y<<21)^(y>>>25|y<<7))+(y&v^~y&b)|0)+(_+(e[x]+l[x]|0)|0)|0,E=((d>>>2|d<<30)^(d>>>13|d<<19)^(d>>>22|d<<10))+(d&p^d&m^p&m)|0,_=b,b=v,v=y,y=g+S|0,g=m,m=p,p=d,d=S+E|0;r=r+d|0,n=n+p|0,i=i+m|0,o=o+g|0,a=a+y|0,s=s+v|0,u=u+b|0,c=c+_|0,h+=64,f-=64}}h(t);var f,d=t.length%64,p=t.length/536870912|0,m=t.length<<3,g=d<56?56:120,y=t.slice(t.length-d,t.length);for(y.push(128),f=d+1;f<g;f++)y.push(0);return y.push(p>>>24&255),y.push(p>>>16&255),y.push(p>>>8&255),y.push(p>>>0&255),y.push(m>>>24&255),y.push(m>>>16&255),y.push(m>>>8&255),y.push(m>>>0&255),h(y),[r>>>24&255,r>>>16&255,r>>>8&255,r>>>0&255,n>>>24&255,n>>>16&255,n>>>8&255,n>>>0&255,i>>>24&255,i>>>16&255,i>>>8&255,i>>>0&255,o>>>24&255,o>>>16&255,o>>>8&255,o>>>0&255,a>>>24&255,a>>>16&255,a>>>8&255,a>>>0&255,s>>>24&255,s>>>16&255,s>>>8&255,s>>>0&255,u>>>24&255,u>>>16&255,u>>>8&255,u>>>0&255,c>>>24&255,c>>>16&255,c>>>8&255,c>>>0&255]}function i(t,e,r){t=t.length<=64?t:n(t);var i,o=64+e.length+4,a=new Array(o),s=new Array(64),u=[];for(i=0;i<64;i++)a[i]=54;for(i=0;i<t.length;i++)a[i]^=t[i];for(i=0;i<e.length;i++)a[64+i]=e[i];for(i=o-4;i<o;i++)a[i]=0;for(i=0;i<64;i++)s[i]=92;for(i=0;i<t.length;i++)s[i]^=t[i];function c(){for(var t=o-1;t>=o-4;t--){if(a[t]++,a[t]<=255)return;a[t]=0}}for(;r>=32;)c(),u=u.concat(n(s.concat(n(a)))),r-=32;return r>0&&(c(),u=u.concat(n(s.concat(n(a))).slice(0,r))),u}function o(t,e,r,n,i){var o;for(c(t,16*(2*r-1),i,0,16),o=0;o<2*r;o++)u(t,16*o,i,16),s(i,n),c(i,0,t,e+16*o,16);for(o=0;o<r;o++)c(t,e+2*o*16,t,16*o,16);for(o=0;o<r;o++)c(t,e+16*(2*o+1),t,16*(o+r),16)}function a(t,e){return t<<e|t>>>32-e}function s(t,e){c(t,0,e,0,16);for(var r=8;r>0;r-=2)e[4]^=a(e[0]+e[12],7),e[8]^=a(e[4]+e[0],9),e[12]^=a(e[8]+e[4],13),e[0]^=a(e[12]+e[8],18),e[9]^=a(e[5]+e[1],7),e[13]^=a(e[9]+e[5],9),e[1]^=a(e[13]+e[9],13),e[5]^=a(e[1]+e[13],18),e[14]^=a(e[10]+e[6],7),e[2]^=a(e[14]+e[10],9),e[6]^=a(e[2]+e[14],13),e[10]^=a(e[6]+e[2],18),e[3]^=a(e[15]+e[11],7),e[7]^=a(e[3]+e[15],9),e[11]^=a(e[7]+e[3],13),e[15]^=a(e[11]+e[7],18),e[1]^=a(e[0]+e[3],7),e[2]^=a(e[1]+e[0],9),e[3]^=a(e[2]+e[1],13),e[0]^=a(e[3]+e[2],18),e[6]^=a(e[5]+e[4],7),e[7]^=a(e[6]+e[5],9),e[4]^=a(e[7]+e[6],13),e[5]^=a(e[4]+e[7],18),e[11]^=a(e[10]+e[9],7),e[8]^=a(e[11]+e[10],9),e[9]^=a(e[8]+e[11],13),e[10]^=a(e[9]+e[8],18),e[12]^=a(e[15]+e[14],7),e[13]^=a(e[12]+e[15],9),e[14]^=a(e[13]+e[12],13),e[15]^=a(e[14]+e[13],18);for(var n=0;n<16;++n)t[n]+=e[n]}function u(t,e,r,n){for(var i=0;i<n;i++)r[i]^=t[e+i]}function c(t,e,r,n,i){for(;i--;)r[n++]=t[e++]}function l(t){if(!t||"number"!=typeof t.length)return!1;for(var e=0;e<t.length;e++){var r=t[e];if("number"!=typeof r||r%1||r<0||r>=256)return!1}return!0}function h(t,e){if("number"!=typeof t||t%1)throw new Error("invalid "+e);return t}function f(t,e,n,a,s,f,d){if(n=h(n,"N"),a=h(a,"r"),s=h(s,"p"),f=h(f,"dkLen"),0===n||0!=(n&n-1))throw new Error("N must be power of 2");if(n>r/128/a)throw new Error("N too large");if(a>r/128/s)throw new Error("r too large");if(!l(t))throw new Error("password must be an array or buffer");if(t=Array.prototype.slice.call(t),!l(e))throw new Error("salt must be an array or buffer");e=Array.prototype.slice.call(e);for(var p=i(t,e,128*s*a),m=new Uint32Array(32*s*a),g=0;g<m.length;g++){var y=4*g;m[g]=(255&p[y+3])<<24|(255&p[y+2])<<16|(255&p[y+1])<<8|(255&p[y+0])<<0}var v,b,_=new Uint32Array(64*a),w=new Uint32Array(32*a*n),x=32*a,k=new Uint32Array(16),S=new Uint32Array(16),E=s*n*2,M=0,A=null,T=!1,C=0,L=0,P=d?parseInt(1e3/a):4294967295,O="undefined"!=typeof setImmediate?setImmediate:setTimeout,I=function e(){if(T)return d(new Error("cancelled"),M/E);var r;switch(C){case 0:c(m,b=32*L*a,_,0,x),C=1,v=0;case 1:(r=n-v)>P&&(r=P);for(var l=0;l<r;l++)c(_,0,w,(v+l)*x,x),o(_,x,a,k,S);if(v+=r,M+=r,d){var h=parseInt(1e3*M/E);if(h!==A){if(T=d(null,M/E))break;A=h}}if(v<n)break;v=0,C=2;case 2:(r=n-v)>P&&(r=P);for(var g=0;g<r;g++){var y=_[16*(2*a-1)]&n-1;u(w,y*x,_,x),o(_,x,a,k,S)}if(v+=r,M+=r,d){var I=parseInt(1e3*M/E);if(I!==A){if(T=d(null,M/E))break;A=I}}if(v<n)break;if(c(_,0,m,b,x),++L<s){C=0;break}p=[];for(var D=0;D<m.length;D++)p.push(m[D]>>0&255),p.push(m[D]>>8&255),p.push(m[D]>>16&255),p.push(m[D]>>24&255);var B=i(t,p,f);return d&&d(null,1,B),B}d&&O(e)};if(!d)for(;;){var D=I();if(null!=D)return D}I()}var d={scrypt:function(t,e,r,n,i,o,a){return new Promise((function(s,u){var c=0;a&&a(0),f(t,e,r,n,i,o,(function(t,e,r){if(t)u(t);else if(r)a&&1!==c&&a(1),s(new Uint8Array(r));else if(a&&e!==c)return c=e,a(e)}))}))},syncScrypt:function(t,e,r,n,i,o){return new Uint8Array(f(t,e,r,n,i,o))}};t.exports=d}()},57902:(t,e,r)=>{"use strict";t.exports=r(36922)(r(38123))},38123:(t,e,r)=>{"use strict";var n=new(0,r(36597).ec)("secp256k1"),i=n.curve,o=i.n.constructor;function a(t){var e=t[0];switch(e){case 2:case 3:return 33!==t.length?null:function(t,e){var r=new o(e);if(r.cmp(i.p)>=0)return null;var a=(r=r.toRed(i.red)).redSqr().redIMul(r).redIAdd(i.b).redSqrt();return 3===t!==a.isOdd()&&(a=a.redNeg()),n.keyPair({pub:{x:r,y:a}})}(e,t.subarray(1,33));case 4:case 6:case 7:return 65!==t.length?null:function(t,e,r){var a=new o(e),s=new o(r);if(a.cmp(i.p)>=0||s.cmp(i.p)>=0)return null;if(a=a.toRed(i.red),s=s.toRed(i.red),(6===t||7===t)&&s.isOdd()!==(7===t))return null;var u=a.redSqr().redIMul(a);return s.redSqr().redISub(u.redIAdd(i.b)).isZero()?n.keyPair({pub:{x:a,y:s}}):null}(e,t.subarray(1,33),t.subarray(33,65));default:return null}}function s(t,e){for(var r=e.encode(null,33===t.length),n=0;n<t.length;++n)t[n]=r[n]}t.exports={contextRandomize:function(){return 0},privateKeyVerify:function(t){var e=new o(t);return e.cmp(i.n)<0&&!e.isZero()?0:1},privateKeyNegate:function(t){var e=new o(t),r=i.n.sub(e).umod(i.n).toArrayLike(Uint8Array,"be",32);return t.set(r),0},privateKeyTweakAdd:function(t,e){var r=new o(e);if(r.cmp(i.n)>=0)return 1;if(r.iadd(new o(t)),r.cmp(i.n)>=0&&r.isub(i.n),r.isZero())return 1;var n=r.toArrayLike(Uint8Array,"be",32);return t.set(n),0},privateKeyTweakMul:function(t,e){var r=new o(e);if(r.cmp(i.n)>=0||r.isZero())return 1;r.imul(new o(t)),r.cmp(i.n)>=0&&(r=r.umod(i.n));var n=r.toArrayLike(Uint8Array,"be",32);return t.set(n),0},publicKeyVerify:function(t){return null===a(t)?1:0},publicKeyCreate:function(t,e){var r=new o(e);return r.cmp(i.n)>=0||r.isZero()?1:(s(t,n.keyFromPrivate(e).getPublic()),0)},publicKeyConvert:function(t,e){var r=a(e);return null===r?1:(s(t,r.getPublic()),0)},publicKeyNegate:function(t,e){var r=a(e);if(null===r)return 1;var n=r.getPublic();return n.y=n.y.redNeg(),s(t,n),0},publicKeyCombine:function(t,e){for(var r=new Array(e.length),n=0;n<e.length;++n)if(r[n]=a(e[n]),null===r[n])return 1;for(var i=r[0].getPublic(),o=1;o<r.length;++o)i=i.add(r[o].pub);return i.isInfinity()?2:(s(t,i),0)},publicKeyTweakAdd:function(t,e,r){var n=a(e);if(null===n)return 1;if((r=new o(r)).cmp(i.n)>=0)return 2;var u=n.getPublic().add(i.g.mul(r));return u.isInfinity()?2:(s(t,u),0)},publicKeyTweakMul:function(t,e,r){var n=a(e);return null===n?1:(r=new o(r)).cmp(i.n)>=0||r.isZero()?2:(s(t,n.getPublic().mul(r)),0)},signatureNormalize:function(t){var e=new o(t.subarray(0,32)),r=new o(t.subarray(32,64));return e.cmp(i.n)>=0||r.cmp(i.n)>=0?1:(1===r.cmp(n.nh)&&t.set(i.n.sub(r).toArrayLike(Uint8Array,"be",32),32),0)},signatureExport:function(t,e){var r=e.subarray(0,32),n=e.subarray(32,64);if(new o(r).cmp(i.n)>=0)return 1;if(new o(n).cmp(i.n)>=0)return 1;var a=t.output,s=a.subarray(4,37);s[0]=0,s.set(r,1);for(var u=33,c=0;u>1&&0===s[c]&&!(128&s[c+1]);--u,++c);if(128&(s=s.subarray(c))[0])return 1;if(u>1&&0===s[0]&&!(128&s[1]))return 1;var l=a.subarray(39,72);l[0]=0,l.set(n,1);for(var h=33,f=0;h>1&&0===l[f]&&!(128&l[f+1]);--h,++f);return 128&(l=l.subarray(f))[0]||h>1&&0===l[0]&&!(128&l[1])?1:(t.outputlen=6+u+h,a[0]=48,a[1]=t.outputlen-2,a[2]=2,a[3]=s.length,a.set(s,4),a[4+u]=2,a[5+u]=l.length,a.set(l,6+u),0)},signatureImport:function(t,e){if(e.length<8)return 1;if(e.length>72)return 1;if(48!==e[0])return 1;if(e[1]!==e.length-2)return 1;if(2!==e[2])return 1;var r=e[3];if(0===r)return 1;if(5+r>=e.length)return 1;if(2!==e[4+r])return 1;var n=e[5+r];if(0===n)return 1;if(6+r+n!==e.length)return 1;if(128&e[4])return 1;if(r>1&&0===e[4]&&!(128&e[5]))return 1;if(128&e[r+6])return 1;if(n>1&&0===e[r+6]&&!(128&e[r+7]))return 1;var a=e.subarray(4,4+r);if(33===a.length&&0===a[0]&&(a=a.subarray(1)),a.length>32)return 1;var s=e.subarray(6+r);if(33===s.length&&0===s[0]&&(s=s.slice(1)),s.length>32)throw new Error("S length is too long");var u=new o(a);u.cmp(i.n)>=0&&(u=new o(0));var c=new o(e.subarray(6+r));return c.cmp(i.n)>=0&&(c=new o(0)),t.set(u.toArrayLike(Uint8Array,"be",32),0),t.set(c.toArrayLike(Uint8Array,"be",32),32),0},ecdsaSign:function(t,e,r,a,s){if(s){var u=s;s=function(t){var n=u(e,r,null,a,t);if(!(n instanceof Uint8Array&&32===n.length))throw new Error("This is the way");return new o(n)}}var c,l=new o(r);if(l.cmp(i.n)>=0||l.isZero())return 1;try{c=n.sign(e,r,{canonical:!0,k:s,pers:a})}catch(t){return 1}return t.signature.set(c.r.toArrayLike(Uint8Array,"be",32),0),t.signature.set(c.s.toArrayLike(Uint8Array,"be",32),32),t.recid=c.recoveryParam,0},ecdsaVerify:function(t,e,r){var s={r:t.subarray(0,32),s:t.subarray(32,64)},u=new o(s.r),c=new o(s.s);if(u.cmp(i.n)>=0||c.cmp(i.n)>=0)return 1;if(1===c.cmp(n.nh)||u.isZero()||c.isZero())return 3;var l=a(r);if(null===l)return 2;var h=l.getPublic();return n.verify(e,s,h)?0:3},ecdsaRecover:function(t,e,r,a){var u,c={r:e.slice(0,32),s:e.slice(32,64)},l=new o(c.r),h=new o(c.s);if(l.cmp(i.n)>=0||h.cmp(i.n)>=0)return 1;if(l.isZero()||h.isZero())return 2;try{u=n.recoverPubKey(a,c,r)}catch(t){return 2}return s(t,u),0},ecdh:function(t,e,r,s,u,c,l){var h=a(e);if(null===h)return 1;var f=new o(r);if(f.cmp(i.n)>=0||f.isZero())return 2;var d=h.getPublic().mul(f);if(void 0===u)for(var p=d.encode(null,!0),m=n.hash().update(p).digest(),g=0;g<32;++g)t[g]=m[g];else{c||(c=new Uint8Array(32));for(var y=d.getX().toArray("be",32),v=0;v<32;++v)c[v]=y[v];l||(l=new Uint8Array(32));for(var b=d.getY().toArray("be",32),_=0;_<32;++_)l[_]=b[_];var w=u(c,l,s);if(!(w instanceof Uint8Array&&w.length===t.length))return 2;t.set(w)}return 0}}},36922:t=>{"use strict";function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var r="Impossible case. Please create issue.",n="The tweak was out of range or the resulted private key is invalid",i="The tweak was out of range or equal to zero",o="Public Key could not be parsed",a="Public Key serialization error",s="Signature could not be parsed";function u(t,e){if(!t)throw new Error(e)}function c(t,e,r){if(u(e instanceof Uint8Array,"Expected ".concat(t," to be an Uint8Array")),void 0!==r)if(Array.isArray(r)){var n=r.join(", "),i="Expected ".concat(t," to be an Uint8Array with length [").concat(n,"]");u(r.includes(e.length),i)}else{var o="Expected ".concat(t," to be an Uint8Array with length ").concat(r);u(e.length===r,o)}}function l(t){u("Boolean"===f(t),"Expected compressed to be a Boolean")}function h(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(t){return new Uint8Array(t)},e=arguments.length>1?arguments[1]:void 0;return"function"==typeof t&&(t=t(e)),c("output",t,e),t}function f(t){return Object.prototype.toString.call(t).slice(8,-1)}t.exports=function(t){return{contextRandomize:function(e){if(u(null===e||e instanceof Uint8Array,"Expected seed to be an Uint8Array or null"),null!==e&&c("seed",e,32),1===t.contextRandomize(e))throw new Error("Unknow error on context randomization")},privateKeyVerify:function(e){return c("private key",e,32),0===t.privateKeyVerify(e)},privateKeyNegate:function(e){switch(c("private key",e,32),t.privateKeyNegate(e)){case 0:return e;case 1:throw new Error(r)}},privateKeyTweakAdd:function(e,r){switch(c("private key",e,32),c("tweak",r,32),t.privateKeyTweakAdd(e,r)){case 0:return e;case 1:throw new Error(n)}},privateKeyTweakMul:function(e,r){switch(c("private key",e,32),c("tweak",r,32),t.privateKeyTweakMul(e,r)){case 0:return e;case 1:throw new Error(i)}},publicKeyVerify:function(e){return c("public key",e,[33,65]),0===t.publicKeyVerify(e)},publicKeyCreate:function(e){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0;switch(c("private key",e,32),l(r),n=h(n,r?33:65),t.publicKeyCreate(n,e)){case 0:return n;case 1:throw new Error("Private Key is invalid");case 2:throw new Error(a)}},publicKeyConvert:function(e){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0;switch(c("public key",e,[33,65]),l(r),n=h(n,r?33:65),t.publicKeyConvert(n,e)){case 0:return n;case 1:throw new Error(o);case 2:throw new Error(a)}},publicKeyNegate:function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=arguments.length>2?arguments[2]:void 0;switch(c("public key",e,[33,65]),l(n),i=h(i,n?33:65),t.publicKeyNegate(i,e)){case 0:return i;case 1:throw new Error(o);case 2:throw new Error(r);case 3:throw new Error(a)}},publicKeyCombine:function(r){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=arguments.length>2?arguments[2]:void 0;u(Array.isArray(r),"Expected public keys to be an Array"),u(r.length>0,"Expected public keys array will have more than zero items");var s,f=function(t,r){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,r){if(t){if("string"==typeof t)return e(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?e(t,r):void 0}}(t))||r&&t&&"number"==typeof t.length){n&&(t=n);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return s=t.done,t},e:function(t){u=!0,a=t},f:function(){try{s||null==n.return||n.return()}finally{if(u)throw a}}}}(r);try{for(f.s();!(s=f.n()).done;)c("public key",s.value,[33,65])}catch(t){f.e(t)}finally{f.f()}switch(l(n),i=h(i,n?33:65),t.publicKeyCombine(i,r)){case 0:return i;case 1:throw new Error(o);case 2:throw new Error("The sum of the public keys is not valid");case 3:throw new Error(a)}},publicKeyTweakAdd:function(e,r){var i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=arguments.length>3?arguments[3]:void 0;switch(c("public key",e,[33,65]),c("tweak",r,32),l(i),a=h(a,i?33:65),t.publicKeyTweakAdd(a,e,r)){case 0:return a;case 1:throw new Error(o);case 2:throw new Error(n)}},publicKeyTweakMul:function(e,r){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=arguments.length>3?arguments[3]:void 0;switch(c("public key",e,[33,65]),c("tweak",r,32),l(n),a=h(a,n?33:65),t.publicKeyTweakMul(a,e,r)){case 0:return a;case 1:throw new Error(o);case 2:throw new Error(i)}},signatureNormalize:function(e){switch(c("signature",e,64),t.signatureNormalize(e)){case 0:return e;case 1:throw new Error(s)}},signatureExport:function(e,n){c("signature",e,64);var i={output:n=h(n,72),outputlen:72};switch(t.signatureExport(i,e)){case 0:return n.slice(0,i.outputlen);case 1:throw new Error(s);case 2:throw new Error(r)}},signatureImport:function(e,n){switch(c("signature",e),n=h(n,64),t.signatureImport(n,e)){case 0:return n;case 1:throw new Error(s);case 2:throw new Error(r)}},ecdsaSign:function(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;c("message",e,32),c("private key",n,32),u("Object"===f(i),"Expected options to be an Object"),void 0!==i.data&&c("options.data",i.data),void 0!==i.noncefn&&u("Function"===f(i.noncefn),"Expected options.noncefn to be a Function");var a={signature:o=h(o,64),recid:null};switch(t.ecdsaSign(a,e,n,i.data,i.noncefn)){case 0:return a;case 1:throw new Error("The nonce generation function failed, or the private key was invalid");case 2:throw new Error(r)}},ecdsaVerify:function(e,r,n){switch(c("signature",e,64),c("message",r,32),c("public key",n,[33,65]),t.ecdsaVerify(e,r,n)){case 0:return!0;case 3:return!1;case 1:throw new Error(s);case 2:throw new Error(o)}},ecdsaRecover:function(e,n,i){var o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=arguments.length>4?arguments[4]:void 0;switch(c("signature",e,64),u("Number"===f(n)&&n>=0&&n<=3,"Expected recovery id to be a Number within interval [0, 3]"),c("message",i,32),l(o),a=h(a,o?33:65),t.ecdsaRecover(a,e,n,i)){case 0:return a;case 1:throw new Error(s);case 2:throw new Error("Public key could not be recover");case 3:throw new Error(r)}},ecdh:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0;switch(c("public key",e,[33,65]),c("private key",r,32),u("Object"===f(n),"Expected options to be an Object"),void 0!==n.data&&c("options.data",n.data),void 0!==n.hashfn?(u("Function"===f(n.hashfn),"Expected options.hashfn to be a Function"),void 0!==n.xbuf&&c("options.xbuf",n.xbuf,32),void 0!==n.ybuf&&c("options.ybuf",n.ybuf,32),c("output",i)):i=h(i,32),t.ecdh(i,e,r,n.data,n.hashfn,n.xbuf,n.ybuf)){case 0:return i;case 1:throw new Error(o);case 2:throw new Error("Scalar was invalid (zero or overflow)")}}}}},77990:(t,e,r)=>{"use strict";var n=r(57701),i=r(94919),o=r(1020)(),a=r(53820),s=n("%TypeError%"),u=n("%Math.floor%");t.exports=function(t,e){if("function"!=typeof t)throw new s("`fn` is not a function");if("number"!=typeof e||e<0||e>4294967295||u(e)!==e)throw new s("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],n=!0,c=!0;if("length"in t&&a){var l=a(t,"length");l&&!l.configurable&&(n=!1),l&&!l.writable&&(c=!1)}return(n||c||!r)&&(o?i(t,"length",e,!0,!0):i(t,"length",e)),t}},76003:(t,e,r)=>{"use strict";var n=r(48850).Buffer;function i(t,e){this._block=n.alloc(t),this._finalSize=e,this._blockSize=t,this._len=0}i.prototype.update=function(t,e){"string"==typeof t&&(e=e||"utf8",t=n.from(t,e));for(var r=this._block,i=this._blockSize,o=t.length,a=this._len,s=0;s<o;){for(var u=a%i,c=Math.min(o-s,i-u),l=0;l<c;l++)r[u+l]=t[s+l];s+=c,(a+=c)%i==0&&this._update(r)}return this._len+=o,this},i.prototype.digest=function(t){var e=this._len%this._blockSize;this._block[e]=128,this._block.fill(0,e+1),e>=this._finalSize&&(this._update(this._block),this._block.fill(0));var r=8*this._len;if(r<=4294967295)this._block.writeUInt32BE(r,this._blockSize-4);else{var n=(4294967295&r)>>>0,i=(r-n)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var o=this._hash();return t?o.toString(t):o},i.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=i},51708:(t,e,r)=>{"use strict";var n=t.exports=function(t){t=t.toLowerCase();var e=n[t];if(!e)throw new Error(t+" is not supported (we accept pull requests)");return new e};n.sha=r(8210),n.sha1=r(10544),n.sha224=r(66288),n.sha256=r(34571),n.sha384=r(46959),n.sha512=r(14515)},8210:(t,e,r)=>{"use strict";var n=r(41736),i=r(76003),o=r(48850).Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function u(){this.init(),this._w=s,i.call(this,64,56)}function c(t){return t<<30|t>>>2}function l(t,e,r,n){return 0===t?e&r|~e&n:2===t?e&r|e&n|r&n:e^r^n}n(u,i),u.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},u.prototype._update=function(t){for(var e,r=this._w,n=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,u=0|this._e,h=0;h<16;++h)r[h]=t.readInt32BE(4*h);for(;h<80;++h)r[h]=r[h-3]^r[h-8]^r[h-14]^r[h-16];for(var f=0;f<80;++f){var d=~~(f/20),p=0|((e=n)<<5|e>>>27)+l(d,i,o,s)+u+r[f]+a[d];u=s,s=o,o=c(i),i=n,n=p}this._a=n+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=u+this._e|0},u.prototype._hash=function(){var t=o.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=u},10544:(t,e,r)=>{"use strict";var n=r(41736),i=r(76003),o=r(48850).Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function u(){this.init(),this._w=s,i.call(this,64,56)}function c(t){return t<<5|t>>>27}function l(t){return t<<30|t>>>2}function h(t,e,r,n){return 0===t?e&r|~e&n:2===t?e&r|e&n|r&n:e^r^n}n(u,i),u.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},u.prototype._update=function(t){for(var e,r=this._w,n=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,u=0|this._e,f=0;f<16;++f)r[f]=t.readInt32BE(4*f);for(;f<80;++f)r[f]=(e=r[f-3]^r[f-8]^r[f-14]^r[f-16])<<1|e>>>31;for(var d=0;d<80;++d){var p=~~(d/20),m=c(n)+h(p,i,o,s)+u+r[d]+a[p]|0;u=s,s=o,o=l(i),i=n,n=m}this._a=n+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=u+this._e|0},u.prototype._hash=function(){var t=o.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=u},66288:(t,e,r)=>{"use strict";var n=r(41736),i=r(34571),o=r(76003),a=r(48850).Buffer,s=new Array(64);function u(){this.init(),this._w=s,o.call(this,64,56)}n(u,i),u.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},u.prototype._hash=function(){var t=a.allocUnsafe(28);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t},t.exports=u},34571:(t,e,r)=>{"use strict";var n=r(41736),i=r(76003),o=r(48850).Buffer,a=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],s=new Array(64);function u(){this.init(),this._w=s,i.call(this,64,56)}function c(t,e,r){return r^t&(e^r)}function l(t,e,r){return t&e|r&(t|e)}function h(t){return(t>>>2|t<<30)^(t>>>13|t<<19)^(t>>>22|t<<10)}function f(t){return(t>>>6|t<<26)^(t>>>11|t<<21)^(t>>>25|t<<7)}function d(t){return(t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3}n(u,i),u.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},u.prototype._update=function(t){for(var e,r=this._w,n=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,u=0|this._e,p=0|this._f,m=0|this._g,g=0|this._h,y=0;y<16;++y)r[y]=t.readInt32BE(4*y);for(;y<64;++y)r[y]=0|(((e=r[y-2])>>>17|e<<15)^(e>>>19|e<<13)^e>>>10)+r[y-7]+d(r[y-15])+r[y-16];for(var v=0;v<64;++v){var b=g+f(u)+c(u,p,m)+a[v]+r[v]|0,_=h(n)+l(n,i,o)|0;g=m,m=p,p=u,u=s+b|0,s=o,o=i,i=n,n=b+_|0}this._a=n+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=u+this._e|0,this._f=p+this._f|0,this._g=m+this._g|0,this._h=g+this._h|0},u.prototype._hash=function(){var t=o.allocUnsafe(32);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t.writeInt32BE(this._h,28),t},t.exports=u},46959:(t,e,r)=>{"use strict";var n=r(41736),i=r(14515),o=r(76003),a=r(48850).Buffer,s=new Array(160);function u(){this.init(),this._w=s,o.call(this,128,112)}n(u,i),u.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},u.prototype._hash=function(){var t=a.allocUnsafe(48);function e(e,r,n){t.writeInt32BE(e,n),t.writeInt32BE(r,n+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),t},t.exports=u},14515:(t,e,r)=>{"use strict";var n=r(41736),i=r(76003),o=r(48850).Buffer,a=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],s=new Array(160);function u(){this.init(),this._w=s,i.call(this,128,112)}function c(t,e,r){return r^t&(e^r)}function l(t,e,r){return t&e|r&(t|e)}function h(t,e){return(t>>>28|e<<4)^(e>>>2|t<<30)^(e>>>7|t<<25)}function f(t,e){return(t>>>14|e<<18)^(t>>>18|e<<14)^(e>>>9|t<<23)}function d(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^t>>>7}function p(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^(t>>>7|e<<25)}function m(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^t>>>6}function g(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^(t>>>6|e<<26)}function y(t,e){return t>>>0<e>>>0?1:0}n(u,i),u.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},u.prototype._update=function(t){for(var e=this._w,r=0|this._ah,n=0|this._bh,i=0|this._ch,o=0|this._dh,s=0|this._eh,u=0|this._fh,v=0|this._gh,b=0|this._hh,_=0|this._al,w=0|this._bl,x=0|this._cl,k=0|this._dl,S=0|this._el,E=0|this._fl,M=0|this._gl,A=0|this._hl,T=0;T<32;T+=2)e[T]=t.readInt32BE(4*T),e[T+1]=t.readInt32BE(4*T+4);for(;T<160;T+=2){var C=e[T-30],L=e[T-30+1],P=d(C,L),O=p(L,C),I=m(C=e[T-4],L=e[T-4+1]),D=g(L,C),B=e[T-14],j=e[T-14+1],N=e[T-32],R=e[T-32+1],F=O+j|0,Y=P+B+y(F,O)|0;Y=(Y=Y+I+y(F=F+D|0,D)|0)+N+y(F=F+R|0,R)|0,e[T]=Y,e[T+1]=F}for(var U=0;U<160;U+=2){Y=e[U],F=e[U+1];var H=l(r,n,i),z=l(_,w,x),V=h(r,_),$=h(_,r),q=f(s,S),G=f(S,s),W=a[U],K=a[U+1],X=c(s,u,v),J=c(S,E,M),Z=A+G|0,Q=b+q+y(Z,A)|0;Q=(Q=(Q=Q+X+y(Z=Z+J|0,J)|0)+W+y(Z=Z+K|0,K)|0)+Y+y(Z=Z+F|0,F)|0;var tt=$+z|0,et=V+H+y(tt,$)|0;b=v,A=M,v=u,M=E,u=s,E=S,s=o+Q+y(S=k+Z|0,k)|0,o=i,k=x,i=n,x=w,n=r,w=_,r=Q+et+y(_=Z+tt|0,Z)|0}this._al=this._al+_|0,this._bl=this._bl+w|0,this._cl=this._cl+x|0,this._dl=this._dl+k|0,this._el=this._el+S|0,this._fl=this._fl+E|0,this._gl=this._gl+M|0,this._hl=this._hl+A|0,this._ah=this._ah+r+y(this._al,_)|0,this._bh=this._bh+n+y(this._bl,w)|0,this._ch=this._ch+i+y(this._cl,x)|0,this._dh=this._dh+o+y(this._dl,k)|0,this._eh=this._eh+s+y(this._el,S)|0,this._fh=this._fh+u+y(this._fl,E)|0,this._gh=this._gh+v+y(this._gl,M)|0,this._hh=this._hh+b+y(this._hl,A)|0},u.prototype._hash=function(){var t=o.allocUnsafe(64);function e(e,r,n){t.writeInt32BE(e,n),t.writeInt32BE(r,n+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),e(this._gh,this._gl,48),e(this._hh,this._hl,56),t},t.exports=u},57245:(t,e,r)=>{"use strict";t.exports=i;var n=r(38291).EventEmitter;function i(){n.call(this)}r(41736)(i,n),i.Readable=r(6297),i.Writable=r(71471),i.Duplex=r(76884),i.Transform=r(99154),i.PassThrough=r(53582),i.finished=r(5831),i.pipeline=r(60384),i.Stream=i,i.prototype.pipe=function(t,e){var r=this;function i(e){t.writable&&!1===t.write(e)&&r.pause&&r.pause()}function o(){r.readable&&r.resume&&r.resume()}r.on("data",i),t.on("drain",o),t._isStdio||e&&!1===e.end||(r.on("end",s),r.on("close",u));var a=!1;function s(){a||(a=!0,t.end())}function u(){a||(a=!0,"function"==typeof t.destroy&&t.destroy())}function c(t){if(l(),0===n.listenerCount(this,"error"))throw t}function l(){r.removeListener("data",i),t.removeListener("drain",o),r.removeListener("end",s),r.removeListener("close",u),r.removeListener("error",c),t.removeListener("error",c),r.removeListener("end",l),r.removeListener("close",l),t.removeListener("close",l)}return r.on("error",c),t.on("error",c),r.on("end",l),r.on("close",l),t.on("close",l),t.emit("pipe",r),t}},29519:(t,e,r)=>{"use strict";var n=r(38844),i=r(53319),o=r(87705),a=r(83675),s=r(51143),u=e;u.request=function(t,e){t="string"==typeof t?s.parse(t):o(t);var i=-1===r.g.location.protocol.search(/^https?:$/)?"http:":"",a=t.protocol||i,u=t.hostname||t.host,c=t.port,l=t.path||"/";u&&-1!==u.indexOf(":")&&(u="["+u+"]"),t.url=(u?a+"//"+u:"")+(c?":"+c:"")+l,t.method=(t.method||"GET").toUpperCase(),t.headers=t.headers||{};var h=new n(t);return e&&h.on("response",e),h},u.get=function(t,e){var r=u.request(t,e);return r.end(),r},u.ClientRequest=n,u.IncomingMessage=i.IncomingMessage,u.Agent=function(){},u.Agent.defaultMaxSockets=4,u.globalAgent=new u.Agent,u.STATUS_CODES=a,u.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]},23928:(t,e,r)=>{"use strict";var n;function i(){if(void 0!==n)return n;if(r.g.XMLHttpRequest){n=new r.g.XMLHttpRequest;try{n.open("GET",r.g.XDomainRequest?"/":"https://example.com")}catch(t){n=null}}else n=null;return n}function o(t){var e=i();if(!e)return!1;try{return e.responseType=t,e.responseType===t}catch(t){}return!1}function a(t){return"function"==typeof t}e.fetch=a(r.g.fetch)&&a(r.g.ReadableStream),e.writableStream=a(r.g.WritableStream),e.abortController=a(r.g.AbortController),e.arraybuffer=e.fetch||o("arraybuffer"),e.msstream=!e.fetch&&o("ms-stream"),e.mozchunkedarraybuffer=!e.fetch&&o("moz-chunked-arraybuffer"),e.overrideMimeType=e.fetch||!!i()&&a(i().overrideMimeType),n=null},38844:(t,e,r)=>{"use strict";var n=r(29033).Buffer,i=r(19142),o=r(23928),a=r(41736),s=r(53319),u=r(86505),c=s.IncomingMessage,l=s.readyStates,h=t.exports=function(t){var e,r=this;u.Writable.call(r),r._opts=t,r._body=[],r._headers={},t.auth&&r.setHeader("Authorization","Basic "+n.from(t.auth).toString("base64")),Object.keys(t.headers).forEach((function(e){r.setHeader(e,t.headers[e])}));var i=!0;if("disable-fetch"===t.mode||"requestTimeout"in t&&!o.abortController)i=!1,e=!0;else if("prefer-streaming"===t.mode)e=!1;else if("allow-wrong-content-type"===t.mode)e=!o.overrideMimeType;else{if(t.mode&&"default"!==t.mode&&"prefer-fast"!==t.mode)throw new Error("Invalid value for opts.mode");e=!0}r._mode=function(t,e){return o.fetch&&e?"fetch":o.mozchunkedarraybuffer?"moz-chunked-arraybuffer":o.msstream?"ms-stream":o.arraybuffer&&t?"arraybuffer":"text"}(e,i),r._fetchTimer=null,r._socketTimeout=null,r._socketTimer=null,r.on("finish",(function(){r._onFinish()}))};a(h,u.Writable),h.prototype.setHeader=function(t,e){var r=t.toLowerCase();-1===f.indexOf(r)&&(this._headers[r]={name:t,value:e})},h.prototype.getHeader=function(t){var e=this._headers[t.toLowerCase()];return e?e.value:null},h.prototype.removeHeader=function(t){delete this._headers[t.toLowerCase()]},h.prototype._onFinish=function(){var t=this;if(!t._destroyed){var e=t._opts;"timeout"in e&&0!==e.timeout&&t.setTimeout(e.timeout);var n=t._headers,a=null;"GET"!==e.method&&"HEAD"!==e.method&&(a=new Blob(t._body,{type:(n["content-type"]||{}).value||""}));var s=[];if(Object.keys(n).forEach((function(t){var e=n[t].name,r=n[t].value;Array.isArray(r)?r.forEach((function(t){s.push([e,t])})):s.push([e,r])})),"fetch"===t._mode){var u=null;if(o.abortController){var c=new AbortController;u=c.signal,t._fetchAbortController=c,"requestTimeout"in e&&0!==e.requestTimeout&&(t._fetchTimer=r.g.setTimeout((function(){t.emit("requestTimeout"),t._fetchAbortController&&t._fetchAbortController.abort()}),e.requestTimeout))}r.g.fetch(t._opts.url,{method:t._opts.method,headers:s,body:a||void 0,mode:"cors",credentials:e.withCredentials?"include":"same-origin",signal:u}).then((function(e){t._fetchResponse=e,t._resetTimers(!1),t._connect()}),(function(e){t._resetTimers(!0),t._destroyed||t.emit("error",e)}))}else{var h=t._xhr=new r.g.XMLHttpRequest;try{h.open(t._opts.method,t._opts.url,!0)}catch(e){return void i.nextTick((function(){t.emit("error",e)}))}"responseType"in h&&(h.responseType=t._mode),"withCredentials"in h&&(h.withCredentials=!!e.withCredentials),"text"===t._mode&&"overrideMimeType"in h&&h.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in e&&(h.timeout=e.requestTimeout,h.ontimeout=function(){t.emit("requestTimeout")}),s.forEach((function(t){h.setRequestHeader(t[0],t[1])})),t._response=null,h.onreadystatechange=function(){switch(h.readyState){case l.LOADING:case l.DONE:t._onXHRProgress()}},"moz-chunked-arraybuffer"===t._mode&&(h.onprogress=function(){t._onXHRProgress()}),h.onerror=function(){t._destroyed||(t._resetTimers(!0),t.emit("error",new Error("XHR error")))};try{h.send(a)}catch(e){return void i.nextTick((function(){t.emit("error",e)}))}}}},h.prototype._onXHRProgress=function(){var t=this;t._resetTimers(!1),function(t){try{var e=t.status;return null!==e&&0!==e}catch(t){return!1}}(t._xhr)&&!t._destroyed&&(t._response||t._connect(),t._response._onXHRProgress(t._resetTimers.bind(t)))},h.prototype._connect=function(){var t=this;t._destroyed||(t._response=new c(t._xhr,t._fetchResponse,t._mode,t._resetTimers.bind(t)),t._response.on("error",(function(e){t.emit("error",e)})),t.emit("response",t._response))},h.prototype._write=function(t,e,r){this._body.push(t),r()},h.prototype._resetTimers=function(t){var e=this;r.g.clearTimeout(e._socketTimer),e._socketTimer=null,t?(r.g.clearTimeout(e._fetchTimer),e._fetchTimer=null):e._socketTimeout&&(e._socketTimer=r.g.setTimeout((function(){e.emit("timeout")}),e._socketTimeout))},h.prototype.abort=h.prototype.destroy=function(t){var e=this;e._destroyed=!0,e._resetTimers(!0),e._response&&(e._response._destroyed=!0),e._xhr?e._xhr.abort():e._fetchAbortController&&e._fetchAbortController.abort(),t&&e.emit("error",t)},h.prototype.end=function(t,e,r){"function"==typeof t&&(r=t,t=void 0),u.Writable.prototype.end.call(this,t,e,r)},h.prototype.setTimeout=function(t,e){var r=this;e&&r.once("timeout",e),r._socketTimeout=t,r._resetTimers(!1)},h.prototype.flushHeaders=function(){},h.prototype.setNoDelay=function(){},h.prototype.setSocketKeepAlive=function(){};var f=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"]},53319:(t,e,r)=>{"use strict";var n=r(19142),i=r(29033).Buffer,o=r(23928),a=r(41736),s=r(86505),u=e.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},c=e.IncomingMessage=function(t,e,r,a){var u=this;if(s.Readable.call(u),u._mode=r,u.headers={},u.rawHeaders=[],u.trailers={},u.rawTrailers=[],u.on("end",(function(){n.nextTick((function(){u.emit("close")}))})),"fetch"===r){if(u._fetchResponse=e,u.url=e.url,u.statusCode=e.status,u.statusMessage=e.statusText,e.headers.forEach((function(t,e){u.headers[e.toLowerCase()]=t,u.rawHeaders.push(e,t)})),o.writableStream){var c=new WritableStream({write:function(t){return a(!1),new Promise((function(e,r){u._destroyed?r():u.push(i.from(t))?e():u._resumeFetch=e}))},close:function(){a(!0),u._destroyed||u.push(null)},abort:function(t){a(!0),u._destroyed||u.emit("error",t)}});try{return void e.body.pipeTo(c).catch((function(t){a(!0),u._destroyed||u.emit("error",t)}))}catch(t){}}var l=e.body.getReader();!function t(){l.read().then((function(e){u._destroyed||(a(e.done),e.done?u.push(null):(u.push(i.from(e.value)),t()))})).catch((function(t){a(!0),u._destroyed||u.emit("error",t)}))}()}else if(u._xhr=t,u._pos=0,u.url=t.responseURL,u.statusCode=t.status,u.statusMessage=t.statusText,t.getAllResponseHeaders().split(/\r?\n/).forEach((function(t){var e=t.match(/^([^:]+):\s*(.*)/);if(e){var r=e[1].toLowerCase();"set-cookie"===r?(void 0===u.headers[r]&&(u.headers[r]=[]),u.headers[r].push(e[2])):void 0!==u.headers[r]?u.headers[r]+=", "+e[2]:u.headers[r]=e[2],u.rawHeaders.push(e[1],e[2])}})),u._charset="x-user-defined",!o.overrideMimeType){var h=u.rawHeaders["mime-type"];if(h){var f=h.match(/;\s*charset=([^;])(;|$)/);f&&(u._charset=f[1].toLowerCase())}u._charset||(u._charset="utf-8")}};a(c,s.Readable),c.prototype._read=function(){var t=this._resumeFetch;t&&(this._resumeFetch=null,t())},c.prototype._onXHRProgress=function(t){var e=this,n=e._xhr,o=null;switch(e._mode){case"text":if((o=n.responseText).length>e._pos){var a=o.substr(e._pos);if("x-user-defined"===e._charset){for(var s=i.alloc(a.length),c=0;c<a.length;c++)s[c]=255&a.charCodeAt(c);e.push(s)}else e.push(a,e._charset);e._pos=o.length}break;case"arraybuffer":if(n.readyState!==u.DONE||!n.response)break;o=n.response,e.push(i.from(new Uint8Array(o)));break;case"moz-chunked-arraybuffer":if(o=n.response,n.readyState!==u.LOADING||!o)break;e.push(i.from(new Uint8Array(o)));break;case"ms-stream":if(o=n.response,n.readyState!==u.LOADING)break;var l=new r.g.MSStreamReader;l.onprogress=function(){l.result.byteLength>e._pos&&(e.push(i.from(new Uint8Array(l.result.slice(e._pos)))),e._pos=l.result.byteLength)},l.onload=function(){t(!0),e.push(null)},l.readAsArrayBuffer(o)}e._xhr.readyState===u.DONE&&"ms-stream"!==e._mode&&(t(!0),e.push(null))}},22028:t=>{"use strict";t.exports=function(t){return encodeURIComponent(t).replace(/[!'()*]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}},23462:(t,e,r)=>{"use strict";var n=r(48850).Buffer,i=n.isEncoding||function(t){switch((t=""+t)&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(t){var e;switch(this.encoding=function(t){var e=function(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}(t);if("string"!=typeof e&&(n.isEncoding===i||!i(t)))throw new Error("Unknown encoding: "+t);return e||t}(t),this.encoding){case"utf16le":this.text=u,this.end=c,e=4;break;case"utf8":this.fillLast=s,e=4;break;case"base64":this.text=l,this.end=h,e=3;break;default:return this.write=f,void(this.end=d)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(e)}function a(t){return t<=127?0:t>>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function s(t){var e=this.lastTotal-this.lastNeed,r=function(t,e,r){if(128!=(192&e[0]))return t.lastNeed=0,"�";if(t.lastNeed>1&&e.length>1){if(128!=(192&e[1]))return t.lastNeed=1,"�";if(t.lastNeed>2&&e.length>2&&128!=(192&e[2]))return t.lastNeed=2,"�"}}(this,t);return void 0!==r?r:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function u(t,e){if((t.length-e)%2==0){var r=t.toString("utf16le",e);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function c(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,r)}return e}function l(t,e){var r=(t.length-e)%3;return 0===r?t.toString("base64",e):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-r))}function h(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function f(t){return t.toString(this.encoding)}function d(t){return t&&t.length?this.write(t):""}e.s=o,o.prototype.write=function(t){if(0===t.length)return"";var e,r;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<t.length?e?e+this.text(t,r):this.text(t,r):e||""},o.prototype.end=function(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"�":e},o.prototype.text=function(t,e){var r=function(t,e,r){var n=e.length-1;if(n<r)return 0;var i=a(e[n]);return i>=0?(i>0&&(t.lastNeed=i-1),i):--n<r||-2===i?0:(i=a(e[n]))>=0?(i>0&&(t.lastNeed=i-2),i):--n<r||-2===i?0:(i=a(e[n]))>=0?(i>0&&(2===i?i=0:t.lastNeed=i-3),i):0}(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=r;var n=t.length-(r-this.lastNeed);return t.copy(this.lastChar,0,n),t.toString("utf8",e,n)},o.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},36931:(t,e,r)=>{"use strict";var n=r(8619);t.exports=function(t){return"string"!=typeof t?t:n(t)?t.slice(2):t}},26427:(t,e,r)=>{"use strict";var n=function(){throw"This swarm.js function isn't available on the browser."},i={readFile:n},o={download:n,safeDownloadArchived:n,directoryTree:n},a={platform:n,arch:n},s={join:n,slice:n},u={spawn:n},c={lookup:n},l=r(31357),h=r(40631),f=r(42733),d=r(52510),p=r(13094);t.exports=p({fs:i,files:o,os:a,path:s,child_process:u,defaultArchives:{},mimetype:c,request:l,downloadUrl:null,bytes:h,hash:f,pick:d})},52510:t=>{"use strict";var e=function(t){return function(){return new Promise((function(e,r){var n,i=function(r){var n={},i=r.target.files.length,o=0;[].map.call(r.target.files,(function(r){var a=new FileReader;a.onload=function(a){var s=new Uint8Array(a.target.result);if("directory"===t){var u=r.webkitRelativePath;n[u.slice(u.indexOf("/")+1)]={type:"text/plain",data:s},++o===i&&e(n)}else if("file"===t){var c=r.webkitRelativePath;e({type:mimetype.lookup(c),data:s})}else e(s)},a.readAsArrayBuffer(r)}))};"directory"===t?((n=document.createElement("input")).addEventListener("change",i),n.type="file",n.webkitdirectory=!0,n.mozdirectory=!0,n.msdirectory=!0,n.odirectory=!0,n.directory=!0):((n=document.createElement("input")).addEventListener("change",i),n.type="file");var o=document.createEvent("MouseEvents");o.initEvent("click",!0,!1),n.dispatchEvent(o)}))}};t.exports={data:e("data"),file:e("file"),directory:e("directory")}},42733:(t,e,r)=>{"use strict";var n=r(49574).keccak256,i=r(40631),o=function(t,e){var r=i.reverse(i.pad(6,i.fromNumber(t))),o=i.flatten([r,"0x0000",e]);return n(o).slice(2)};t.exports=function t(e){"string"==typeof e&&"0x"!==e.slice(0,2)?e=i.fromString(e):"string"!=typeof e&&void 0!==e.length&&(e=i.fromUint8Array(e));var r=i.length(e);if(r<=4096)return o(r,e);for(var n=4096;128*n<r;)n*=128;for(var a=[],s=0;s<r;s+=n){var u=n<r-s?n:r-s;a.push(t(i.slice(e,s,s+u)))}return o(r,i.flatten(a))}},13094:t=>{"use strict";t.exports=function(t){var e=t.fs,r=t.files,n=t.os,i=t.path,o=t.child_process,a=t.mimetype,s=t.defaultArchives,u=t.request,c=t.downloadUrl,l=t.bytes,h=t.hash,f=t.pick,d=function(t){return function(e){for(var r={},n=0,i=t.length;n<i;++n)r[t[n]]=e[n];return r}},p=function(t){return function(e){return"".concat(t,"/bzz-raw:/").concat(e)}},m=function(t){return function(e){return new Promise((function(r,n){u(p(t)(e),{responseType:"arraybuffer"},(function(t,e,i){return t?n(t):i.statusCode>=400?n(new Error("Error ".concat(i.statusCode,"."))):r(new Uint8Array(e))}))}))}},g=function(t){return function(e){return function e(r){return function(n){return function(i){var o=function(t){return void 0===t.path?Promise.resolve():"application/bzz-manifest+json"===t.contentType?e(t.hash)(n+t.path)(i):Promise.resolve((r=n+t.path,function(t){return function(e){return e[r]=t,e}})(function(t){return{type:t.contentType,hash:t.hash}}(t))(i));var r};return m(t)(r).then((function(t){return JSON.parse(j(t)).entries})).then((function(t){return Promise.all(t.map(o))})).then((function(){return i}))}}}(e)("")({})}},y=function(t){return function(e){return g(t)(e).then((function(t){return d(Object.keys(t))(Object.keys(t).map((function(e){return t[e].hash})))}))}},v=function(t){return function(e){return g(t)(e).then((function(e){var r=Object.keys(e),n=r.map((function(t){return e[t].hash})),i=r.map((function(t){return e[t].type})),o=n.map(m(t));return Promise.all(o).then((function(t){return d(r)(function(t){return t.map((function(t,e){return{type:i[e],data:t}}))}(t))}))}))}},b=function(t){return function(e){return function(n){return r.download(p(t)(e))(n)}}},_=function(t){return function(e){return function(r){return y(t)(e).then((function(e){var n=[];for(var o in e)if(o.length>0){var a=i.join(r,o);n.push(b(t)(e[o])(a))}return Promise.all(n).then((function(){return r}))}))}}},w=function(t){return function(e){return new Promise((function(r,n){var i={body:"string"==typeof e?N(e):e,method:"POST"};u("".concat(t,"/bzz-raw:/"),i,(function(t,e){return t?n(t):r(e)}))}))}},x=function(t){return function(e){return function(r){return function(n){return function i(o){var a="/"===r[0]?r:"/"+r,s="".concat(t,"/bzz:/").concat(e).concat(a),c={method:"PUT",headers:{"Content-Type":n.type},body:n.data};return new Promise((function(t,e){u(s,c,(function(r,n){return r?e(r):-1!==n.indexOf("error")?e(n):t(n)}))})).catch((function(t){return o>0&&i(o-1)}))}(3)}}}},k=function(t){return function(e){return E(t)({"":e})}},S=function(t){return function(r){return e.readFile(r).then((function(e){return k(t)({type:a.lookup(r),data:e})}))}},E=function(t){return function(e){return w(t)("{}").then((function(r){return Object.keys(e).reduce((function(r,n){return r.then(function(r){return function(n){return x(t)(n)(r)(e[r])}}(n))}),Promise.resolve(r))}))}},M=function(t){return function(r){return e.readFile(r).then(w(t))}},A=function(t){return function(n){return function(i){return r.directoryTree(i).then((function(t){return Promise.all(t.map((function(t){return e.readFile(t)}))).then((function(e){var r=t.map((function(t){return t.slice(i.length)})),n=t.map((function(t){return a.lookup(t)||"text/plain"}));return d(r)(e.map((function(t,e){return{type:n[e],data:t}})))}))})).then((function(t){return(e=n?{"":t[n]}:{},function(t){var r={};for(var n in e)r[n]=e[n];for(var i in t)r[i]=t[i];return r})(t);var e})).then(E(t))}}},T=function(t){return function(e){if("data"===e.pick)return f.data().then(w(t));if("file"===e.pick)return f.file().then(k(t));if("directory"===e.pick)return f.directory().then(E(t));if(e.path)switch(e.kind){case"data":return M(t)(e.path);case"file":return S(t)(e.path);case"directory":return A(t)(e.defaultFile)(e.path)}else{if(e.length||"string"==typeof e)return w(t)(e);if(e instanceof Object)return E(t)(e)}return Promise.reject(new Error("Bad arguments"))}},C=function(t){return function(e){return function(r){return D(t)(e).then((function(n){return n?r?_(t)(e)(r):v(t)(e):r?b(t)(e)(r):m(t)(e)}))}}},L=function(t,e){var i=n.platform().replace("win32","windows")+"-"+("x64"===n.arch()?"amd64":"386"),o=(e||s)[i],a=c+o.archive+".tar.gz",u=o.archiveMD5,l=o.binaryMD5;return r.safeDownloadArchived(a)(u)(l)(t)},P=function(t){return new Promise((function(e,r){var n=o.spawn,i=function(t){return function(e){return-1!==(""+e).indexOf(t)}},a=t.account,s=t.password,u=t.dataDir,c=t.ensApi,l=t.privateKey,h=0,f=n(t.binPath,["--bzzaccount",a||l,"--datadir",u,"--ens-api",c]),d=function(t){0===h&&i("Passphrase")(t)?setTimeout((function(){h=1,f.stdin.write(s+"\n")}),500):i("Swarm http proxy started")(t)&&(h=2,clearTimeout(p),e(f))};f.stdout.on("data",d),f.stderr.on("data",d);var p=setTimeout((function(){return r(new Error("Couldn't start swarm process."))}),2e4)}))},O=function(t){return new Promise((function(e,r){t.stderr.removeAllListeners("data"),t.stdout.removeAllListeners("data"),t.stdin.removeAllListeners("error"),t.removeAllListeners("error"),t.removeAllListeners("exit"),t.kill("SIGINT");var n=setTimeout((function(){return t.kill("SIGKILL")}),8e3);t.once("close",(function(){clearTimeout(n),e()}))}))},I=function(t){return w(t)("test").then((function(t){return"c9a99c7d326dcc6316f32fe2625b311f6dc49a175e6877681ded93137d3569e7"===t})).catch((function(){return!1}))},D=function(t){return function(e){return m(t)(e).then((function(t){try{return!!JSON.parse(j(t)).entries}catch(t){return!1}}))}},B=function(t){return function(e,r,n,i,o){var a;return void 0!==e&&(a=t(e)),void 0!==r&&(a=t(r)),void 0!==n&&(a=t(n)),void 0!==i&&(a=t(i)),void 0!==o&&(a=t(o)),a}},j=function(t){return l.toString(l.fromUint8Array(t))},N=function(t){return l.toUint8Array(l.fromString(t))},R=function(t){return{download:function(e,r){return C(t)(e)(r)},downloadData:B(m(t)),downloadDataToDisk:B(b(t)),downloadDirectory:B(v(t)),downloadDirectoryToDisk:B(_(t)),downloadEntries:B(g(t)),downloadRoutes:B(y(t)),isAvailable:function(){return I(t)},upload:function(e){return T(t)(e)},uploadData:B(w(t)),uploadFile:B(k(t)),uploadFileFromDisk:B(k(t)),uploadDataFromDisk:B(M(t)),uploadDirectory:B(E(t)),uploadDirectoryFromDisk:B(A(t)),uploadToManifest:B(x(t)),pick:f,hash:h,fromString:N,toString:j}};return{at:R,local:function(t){return function(e){return I("http://localhost:8500").then((function(r){return r?e(R("http://localhost:8500")).then((function(){})):L(t.binPath,t.archives).onData((function(e){return(t.onProgress||function(){})(e.length)})).then((function(){return P(t)})).then((function(t){return e(R("http://localhost:8500")).then((function(){return t}))})).then(O)}))}},download:C,downloadBinary:L,downloadData:m,downloadDataToDisk:b,downloadDirectory:v,downloadDirectoryToDisk:_,downloadEntries:g,downloadRoutes:y,isAvailable:I,startProcess:P,stopProcess:O,upload:T,uploadData:w,uploadDataFromDisk:M,uploadFile:k,uploadFileFromDisk:S,uploadDirectory:E,uploadDirectoryFromDisk:A,uploadToManifest:x,pick:f,hash:h,fromString:N,toString:j}}},16873:t=>{"use strict";var e=function(t,e){for(var r=[],n=0;n<t;++n)r.push(e(n));return r};t.exports={generate:e,replicate:function(t,r){return e(t,(function(){return r}))},concat:function(t,e){return t.concat(e)},flatten:function(t){for(var e=[],r=0,n=t.length;r<n;++r)for(var i=0,o=t[r].length;i<o;++i)e.push(t[r][i]);return e},chunksOf:function(t,e){for(var r=[],n=0,i=e.length;n<i;n+=t)r.push(e.slice(n,n+t));return r}}},40631:(t,e,r)=>{"use strict";r(16873);var n=function(t,e){return parseInt(t.slice(2*e+2,2*e+4),16)},i=function(t){return(t.length-2)/2},o=function(t){for(var e=[],r=2,n=t.length;r<n;r+=2)e.push(parseInt(t.slice(r,r+2),16));return e},a=function(t){for(var e="0x",r=0,n=t.length;r<n;++r){var i=t[r];e+=(i<16?"0":"")+i.toString(16)}return e};t.exports={random:function(t){var e=void 0;e="undefined"!=typeof window&&window.crypto&&window.crypto.getRandomValues?window.crypto.getRandomValues(new Uint8Array(t)):r(24293).randomBytes(t);for(var n="0x",i=0;i<t;++i)n+=("00"+e[i].toString(16)).slice(-2);return n},length:i,concat:function(t,e){return t.concat(e.slice(2))},flatten:function(t){return"0x"+t.reduce((function(t,e){return t+e.slice(2)}),"")},slice:function(t,e,r){return"0x"+r.slice(2*t+2,2*e+2)},reverse:function(t){for(var e="0x",r=0,n=i(t);r<n;++r)e+=t.slice(2*(n-r),2*(n-r+1));return e},pad:function t(e,r){return r.length===2*e+2?r:t(e,"0x0"+r.slice(2))},padRight:function t(e,r){return r.length===2*e+2?r:t(e,r+"0")},fromAscii:function(t){for(var e="0x",r=0;r<t.length;++r)e+=("00"+t.charCodeAt(r).toString(16)).slice(-2);return e},toAscii:function(t){for(var e="",r=2;r<t.length;r+=2)e+=String.fromCharCode(parseInt(t.slice(r,r+2),16));return e},fromString:function(t){for(var e=function(t){var e=t.toString(16);return e.length<2?"0"+e:e},r="0x",n=0;n!=t.length;n++){var i=t.charCodeAt(n);if(i<128)r+=e(i);else{if(i<2048)r+=e(i>>6|192);else{if(i>55295&&i<56320){if(++n==t.length)return null;var o=t.charCodeAt(n);if(o<56320||o>57343)return null;r+=e((i=65536+((1023&i)<<10)+(1023&o))>>18|240),r+=e(i>>12&63|128)}else r+=e(i>>12|224);r+=e(i>>6&63|128)}r+=e(63&i|128)}}return r},toString:function(t){for(var e="",r=0,o=i(t);r<o;){var a=n(t,r++);if(a>127){if(a>191&&a<224){if(r>=o)return null;a=(31&a)<<6|63&n(t,r)}else if(a>223&&a<240){if(r+1>=o)return null;a=(15&a)<<12|(63&n(t,r))<<6|63&n(t,++r)}else{if(!(a>239&&a<248))return null;if(r+2>=o)return null;a=(7&a)<<18|(63&n(t,r))<<12|(63&n(t,++r))<<6|63&n(t,++r)}++r}if(a<=65535)e+=String.fromCharCode(a);else{if(!(a<=1114111))return null;a-=65536,e+=String.fromCharCode(a>>10|55296),e+=String.fromCharCode(1023&a|56320)}}return e},fromNumber:function(t){var e=t.toString(16);return e.length%2==0?"0x"+e:"0x0"+e},toNumber:function(t){return parseInt(t.slice(2),16)},fromNat:function(t){return"0x0"===t?"0x":t.length%2==0?t:"0x0"+t.slice(2)},toNat:function(t){return"0"===t[2]?"0x"+t.slice(3):t},fromArray:a,toArray:o,fromUint8Array:function(t){return a([].slice.call(t,0))},toUint8Array:function(t){return new Uint8Array(o(t))}}},49574:t=>{"use strict";var e="0123456789abcdef".split(""),r=[1,256,65536,16777216],n=[0,8,16,24],i=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],o=function(t){var e,r,n,o,a,s,u,c,l,h,f,d,p,m,g,y,v,b,_,w,x,k,S,E,M,A,T,C,L,P,O,I,D,B,j,N,R,F,Y,U,H,z,V,$,q,G,W,K,X,J,Z,Q,tt,et,rt,nt,it,ot,at,st,ut,ct,lt;for(n=0;n<48;n+=2)o=t[0]^t[10]^t[20]^t[30]^t[40],a=t[1]^t[11]^t[21]^t[31]^t[41],s=t[2]^t[12]^t[22]^t[32]^t[42],u=t[3]^t[13]^t[23]^t[33]^t[43],c=t[4]^t[14]^t[24]^t[34]^t[44],l=t[5]^t[15]^t[25]^t[35]^t[45],h=t[6]^t[16]^t[26]^t[36]^t[46],f=t[7]^t[17]^t[27]^t[37]^t[47],e=(d=t[8]^t[18]^t[28]^t[38]^t[48])^(s<<1|u>>>31),r=(p=t[9]^t[19]^t[29]^t[39]^t[49])^(u<<1|s>>>31),t[0]^=e,t[1]^=r,t[10]^=e,t[11]^=r,t[20]^=e,t[21]^=r,t[30]^=e,t[31]^=r,t[40]^=e,t[41]^=r,e=o^(c<<1|l>>>31),r=a^(l<<1|c>>>31),t[2]^=e,t[3]^=r,t[12]^=e,t[13]^=r,t[22]^=e,t[23]^=r,t[32]^=e,t[33]^=r,t[42]^=e,t[43]^=r,e=s^(h<<1|f>>>31),r=u^(f<<1|h>>>31),t[4]^=e,t[5]^=r,t[14]^=e,t[15]^=r,t[24]^=e,t[25]^=r,t[34]^=e,t[35]^=r,t[44]^=e,t[45]^=r,e=c^(d<<1|p>>>31),r=l^(p<<1|d>>>31),t[6]^=e,t[7]^=r,t[16]^=e,t[17]^=r,t[26]^=e,t[27]^=r,t[36]^=e,t[37]^=r,t[46]^=e,t[47]^=r,e=h^(o<<1|a>>>31),r=f^(a<<1|o>>>31),t[8]^=e,t[9]^=r,t[18]^=e,t[19]^=r,t[28]^=e,t[29]^=r,t[38]^=e,t[39]^=r,t[48]^=e,t[49]^=r,m=t[0],g=t[1],G=t[11]<<4|t[10]>>>28,W=t[10]<<4|t[11]>>>28,C=t[20]<<3|t[21]>>>29,L=t[21]<<3|t[20]>>>29,st=t[31]<<9|t[30]>>>23,ut=t[30]<<9|t[31]>>>23,z=t[40]<<18|t[41]>>>14,V=t[41]<<18|t[40]>>>14,B=t[2]<<1|t[3]>>>31,j=t[3]<<1|t[2]>>>31,y=t[13]<<12|t[12]>>>20,v=t[12]<<12|t[13]>>>20,K=t[22]<<10|t[23]>>>22,X=t[23]<<10|t[22]>>>22,P=t[33]<<13|t[32]>>>19,O=t[32]<<13|t[33]>>>19,ct=t[42]<<2|t[43]>>>30,lt=t[43]<<2|t[42]>>>30,et=t[5]<<30|t[4]>>>2,rt=t[4]<<30|t[5]>>>2,N=t[14]<<6|t[15]>>>26,R=t[15]<<6|t[14]>>>26,b=t[25]<<11|t[24]>>>21,_=t[24]<<11|t[25]>>>21,J=t[34]<<15|t[35]>>>17,Z=t[35]<<15|t[34]>>>17,I=t[45]<<29|t[44]>>>3,D=t[44]<<29|t[45]>>>3,E=t[6]<<28|t[7]>>>4,M=t[7]<<28|t[6]>>>4,nt=t[17]<<23|t[16]>>>9,it=t[16]<<23|t[17]>>>9,F=t[26]<<25|t[27]>>>7,Y=t[27]<<25|t[26]>>>7,w=t[36]<<21|t[37]>>>11,x=t[37]<<21|t[36]>>>11,Q=t[47]<<24|t[46]>>>8,tt=t[46]<<24|t[47]>>>8,$=t[8]<<27|t[9]>>>5,q=t[9]<<27|t[8]>>>5,A=t[18]<<20|t[19]>>>12,T=t[19]<<20|t[18]>>>12,ot=t[29]<<7|t[28]>>>25,at=t[28]<<7|t[29]>>>25,U=t[38]<<8|t[39]>>>24,H=t[39]<<8|t[38]>>>24,k=t[48]<<14|t[49]>>>18,S=t[49]<<14|t[48]>>>18,t[0]=m^~y&b,t[1]=g^~v&_,t[10]=E^~A&C,t[11]=M^~T&L,t[20]=B^~N&F,t[21]=j^~R&Y,t[30]=$^~G&K,t[31]=q^~W&X,t[40]=et^~nt&ot,t[41]=rt^~it&at,t[2]=y^~b&w,t[3]=v^~_&x,t[12]=A^~C&P,t[13]=T^~L&O,t[22]=N^~F&U,t[23]=R^~Y&H,t[32]=G^~K&J,t[33]=W^~X&Z,t[42]=nt^~ot&st,t[43]=it^~at&ut,t[4]=b^~w&k,t[5]=_^~x&S,t[14]=C^~P&I,t[15]=L^~O&D,t[24]=F^~U&z,t[25]=Y^~H&V,t[34]=K^~J&Q,t[35]=X^~Z&tt,t[44]=ot^~st&ct,t[45]=at^~ut&lt,t[6]=w^~k&m,t[7]=x^~S&g,t[16]=P^~I&E,t[17]=O^~D&M,t[26]=U^~z&B,t[27]=H^~V&j,t[36]=J^~Q&$,t[37]=Z^~tt&q,t[46]=st^~ct&et,t[47]=ut^~lt&rt,t[8]=k^~m&y,t[9]=S^~g&v,t[18]=I^~E&A,t[19]=D^~M&T,t[28]=z^~B&N,t[29]=V^~j&R,t[38]=Q^~$&G,t[39]=tt^~q&W,t[48]=ct^~et&nt,t[49]=lt^~rt&it,t[0]^=i[n],t[1]^=i[n+1]},a=function(t){return function(i){var a;if("0x"===i.slice(0,2)){a=[];for(var s=2,u=i.length;s<u;s+=2)a.push(parseInt(i.slice(s,s+2),16))}else a=i;return function(t,i){for(var a,s=i.length,u=t.blocks,c=t.blockCount<<2,l=t.blockCount,h=t.outputBlocks,f=t.s,d=0;d<s;){if(t.reset)for(t.reset=!1,u[0]=t.block,g=1;g<l+1;++g)u[g]=0;if("string"!=typeof i)for(g=t.start;d<s&&g<c;++d)u[g>>2]|=i[d]<<n[3&g++];else for(g=t.start;d<s&&g<c;++d)(a=i.charCodeAt(d))<128?u[g>>2]|=a<<n[3&g++]:a<2048?(u[g>>2]|=(192|a>>6)<<n[3&g++],u[g>>2]|=(128|63&a)<<n[3&g++]):a<55296||a>=57344?(u[g>>2]|=(224|a>>12)<<n[3&g++],u[g>>2]|=(128|a>>6&63)<<n[3&g++],u[g>>2]|=(128|63&a)<<n[3&g++]):(a=65536+((1023&a)<<10|1023&i.charCodeAt(++d)),u[g>>2]|=(240|a>>18)<<n[3&g++],u[g>>2]|=(128|a>>12&63)<<n[3&g++],u[g>>2]|=(128|a>>6&63)<<n[3&g++],u[g>>2]|=(128|63&a)<<n[3&g++]);if(t.lastByteIndex=g,g>=c){for(t.start=g-c,t.block=u[l],g=0;g<l;++g)f[g]^=u[g];o(f),t.reset=!0}else t.start=g}if(u[(g=t.lastByteIndex)>>2]|=r[3&g],t.lastByteIndex===c)for(u[0]=u[l],g=1;g<l+1;++g)u[g]=0;for(u[l-1]|=2147483648,g=0;g<l;++g)f[g]^=u[g];o(f);for(var p,m="",g=0,y=0;y<h;){for(g=0;g<l&&y<h;++g,++y)p=f[g],m+=e[p>>4&15]+e[15&p]+e[p>>12&15]+e[p>>8&15]+e[p>>20&15]+e[p>>16&15]+e[p>>28&15]+e[p>>24&15];y%l==0&&(o(f),g=0)}return"0x"+m}(function(t){return{blocks:[],reset:!0,block:0,start:0,blockCount:1600-(t<<1)>>5,outputBlocks:t>>5,s:(e=[0,0,0,0,0,0,0,0,0,0],[].concat(e,e,e,e,e))};var e}(t),a)}};t.exports={keccak256:a(256),keccak512:a(512),keccak256s:a(256),keccak512s:a(512)}},68419:t=>{"use strict";t.exports=function(t,e){if(e){e=(e=e.trim().replace(/^(\?|#|&)/,""))?"?"+e:e;var r=t.split(/[\?\#]/)[0];e&&/\:\/\/[^\/]*$/.test(r)&&(r+="/");var n=t.match(/(\#.*)$/);t=r+e,n&&(t+=n[0])}return t}},78677:(t,e,r)=>{"use strict";var n;t=r.nmd(t);var i=r(28847)(r(3355));!function(o){var a="object"==(0,i.default)(e)&&e&&!e.nodeType&&e,s="object"==(0,i.default)(t)&&t&&!t.nodeType&&t,u="object"==(void 0===r.g?"undefined":(0,i.default)(r.g))&&r.g;u.global!==u&&u.window!==u&&u.self!==u||(o=u);var c,l,h=2147483647,f=36,d=1,p=26,m=38,g=700,y=72,v=128,b="-",_=/^xn--/,w=/[^\x20-\x7E]/,x=/[\x2E\u3002\uFF0E\uFF61]/g,k={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},S=f-d,E=Math.floor,M=String.fromCharCode;function A(t){throw RangeError(k[t])}function T(t,e){for(var r=t.length,n=[];r--;)n[r]=e(t[r]);return n}function C(t,e){var r=t.split("@"),n="";return r.length>1&&(n=r[0]+"@",t=r[1]),n+T((t=t.replace(x,".")).split("."),e).join(".")}function L(t){for(var e,r,n=[],i=0,o=t.length;i<o;)(e=t.charCodeAt(i++))>=55296&&e<=56319&&i<o?56320==(64512&(r=t.charCodeAt(i++)))?n.push(((1023&e)<<10)+(1023&r)+65536):(n.push(e),i--):n.push(e);return n}function P(t){return T(t,(function(t){var e="";return t>65535&&(e+=M((t-=65536)>>>10&1023|55296),t=56320|1023&t),e+M(t)})).join("")}function O(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function I(t,e,r){var n=0;for(t=r?E(t/g):t>>1,t+=E(t/e);t>S*p>>1;n+=f)t=E(t/S);return E(n+(S+1)*t/(t+m))}function D(t){var e,r,n,i,o,a,s,u,c,l,m,g=[],_=t.length,w=0,x=v,k=y;for((r=t.lastIndexOf(b))<0&&(r=0),n=0;n<r;++n)t.charCodeAt(n)>=128&&A("not-basic"),g.push(t.charCodeAt(n));for(i=r>0?r+1:0;i<_;){for(o=w,a=1,s=f;i>=_&&A("invalid-input"),((u=(m=t.charCodeAt(i++))-48<10?m-22:m-65<26?m-65:m-97<26?m-97:f)>=f||u>E((h-w)/a))&&A("overflow"),w+=u*a,!(u<(c=s<=k?d:s>=k+p?p:s-k));s+=f)a>E(h/(l=f-c))&&A("overflow"),a*=l;k=I(w-o,e=g.length+1,0==o),E(w/e)>h-x&&A("overflow"),x+=E(w/e),w%=e,g.splice(w++,0,x)}return P(g)}function B(t){var e,r,n,i,o,a,s,u,c,l,m,g,_,w,x,k=[];for(g=(t=L(t)).length,e=v,r=0,o=y,a=0;a<g;++a)(m=t[a])<128&&k.push(M(m));for(n=i=k.length,i&&k.push(b);n<g;){for(s=h,a=0;a<g;++a)(m=t[a])>=e&&m<s&&(s=m);for(s-e>E((h-r)/(_=n+1))&&A("overflow"),r+=(s-e)*_,e=s,a=0;a<g;++a)if((m=t[a])<e&&++r>h&&A("overflow"),m==e){for(u=r,c=f;!(u<(l=c<=o?d:c>=o+p?p:c-o));c+=f)x=u-l,w=f-l,k.push(M(O(l+x%w,0))),u=E(x/w);k.push(M(O(u,0))),o=I(r,_,n==i),r=0,++n}++r,++e}return k.join("")}if(c={version:"1.3.2",ucs2:{decode:L,encode:P},decode:D,encode:B,toASCII:function(t){return C(t,(function(t){return w.test(t)?"xn--"+B(t):t}))},toUnicode:function(t){return C(t,(function(t){return _.test(t)?D(t.slice(4).toLowerCase()):t}))}},"object"==(0,i.default)(r.amdO)&&r.amdO)void 0===(n=function(){return c}.call(e,r,e,t))||(t.exports=n);else if(a&&s)if(t.exports==a)s.exports=c;else for(l in c)c.hasOwnProperty(l)&&(a[l]=c[l]);else o.punycode=c}(void 0)},98983:t=>{"use strict";function e(t,e){return Object.prototype.hasOwnProperty.call(t,e)}t.exports=function(t,r,n,i){r=r||"&",n=n||"=";var o={};if("string"!=typeof t||0===t.length)return o;var a=/\+/g;t=t.split(r);var s=1e3;i&&"number"==typeof i.maxKeys&&(s=i.maxKeys);var u=t.length;s>0&&u>s&&(u=s);for(var c=0;c<u;++c){var l,h,f,d,p=t[c].replace(a,"%20"),m=p.indexOf(n);m>=0?(l=p.substr(0,m),h=p.substr(m+1)):(l=p,h=""),f=decodeURIComponent(l),d=decodeURIComponent(h),e(o,f)?Array.isArray(o[f])?o[f].push(d):o[f]=[o[f],d]:o[f]=d}return o}},84031:(t,e,r)=>{"use strict";var n=r(28847)(r(3355)),i=function(t){switch((0,n.default)(t)){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};t.exports=function(t,e,r,o){return e=e||"&",r=r||"=",null===t&&(t=void 0),"object"===(0,n.default)(t)?Object.keys(t).map((function(n){var o=encodeURIComponent(i(n))+r;return Array.isArray(t[n])?t[n].map((function(t){return o+encodeURIComponent(i(t))})).join(e):o+encodeURIComponent(i(t[n]))})).join(e):o?encodeURIComponent(i(o))+r+encodeURIComponent(i(t)):""}},845:(t,e,r)=>{"use strict";e.decode=e.parse=r(98983),e.encode=e.stringify=r(84031)},51143:(t,e,r)=>{"use strict";var n=r(28847)(r(3355)),i=r(78677),o=r(95751);function a(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}e.parse=_,e.resolve=function(t,e){return _(t,!1,!0).resolve(e)},e.resolveObject=function(t,e){return t?_(t,!1,!0).resolveObject(e):e},e.format=function(t){return o.isString(t)&&(t=_(t)),t instanceof a?t.format():a.prototype.format.call(t)},e.Url=a;var s=/^([a-z0-9.+-]+:)/i,u=/:[0-9]*$/,c=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),h=["'"].concat(l),f=["%","/","?",";","#"].concat(h),d=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,m=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,g={javascript:!0,"javascript:":!0},y={javascript:!0,"javascript:":!0},v={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},b=r(845);function _(t,e,r){if(t&&o.isObject(t)&&t instanceof a)return t;var n=new a;return n.parse(t,e,r),n}a.prototype.parse=function(t,e,r){if(!o.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+(0,n.default)(t));var a=t.indexOf("?"),u=-1!==a&&a<t.indexOf("#")?"?":"#",l=t.split(u);l[0]=l[0].replace(/\\/g,"/");var _=t=l.join(u);if(_=_.trim(),!r&&1===t.split("#").length){var w=c.exec(_);if(w)return this.path=_,this.href=_,this.pathname=w[1],w[2]?(this.search=w[2],this.query=e?b.parse(this.search.substr(1)):this.search.substr(1)):e&&(this.search="",this.query={}),this}var x=s.exec(_);if(x){var k=(x=x[0]).toLowerCase();this.protocol=k,_=_.substr(x.length)}if(r||x||_.match(/^\/\/[^@\/]+@[^@\/]+/)){var S="//"===_.substr(0,2);!S||x&&y[x]||(_=_.substr(2),this.slashes=!0)}if(!y[x]&&(S||x&&!v[x])){for(var E,M,A=-1,T=0;T<d.length;T++)-1!==(C=_.indexOf(d[T]))&&(-1===A||C<A)&&(A=C);for(-1!==(M=-1===A?_.lastIndexOf("@"):_.lastIndexOf("@",A))&&(E=_.slice(0,M),_=_.slice(M+1),this.auth=decodeURIComponent(E)),A=-1,T=0;T<f.length;T++){var C;-1!==(C=_.indexOf(f[T]))&&(-1===A||C<A)&&(A=C)}-1===A&&(A=_.length),this.host=_.slice(0,A),_=_.slice(A),this.parseHost(),this.hostname=this.hostname||"";var L="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!L)for(var P=this.hostname.split(/\./),O=(T=0,P.length);T<O;T++){var I=P[T];if(I&&!I.match(p)){for(var D="",B=0,j=I.length;B<j;B++)I.charCodeAt(B)>127?D+="x":D+=I[B];if(!D.match(p)){var N=P.slice(0,T),R=P.slice(T+1),F=I.match(m);F&&(N.push(F[1]),R.unshift(F[2])),R.length&&(_="/"+R.join(".")+_),this.hostname=N.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),L||(this.hostname=i.toASCII(this.hostname));var Y=this.port?":"+this.port:"",U=this.hostname||"";this.host=U+Y,this.href+=this.host,L&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==_[0]&&(_="/"+_))}if(!g[k])for(T=0,O=h.length;T<O;T++){var H=h[T];if(-1!==_.indexOf(H)){var z=encodeURIComponent(H);z===H&&(z=escape(H)),_=_.split(H).join(z)}}var V=_.indexOf("#");-1!==V&&(this.hash=_.substr(V),_=_.slice(0,V));var $=_.indexOf("?");if(-1!==$?(this.search=_.substr($),this.query=_.substr($+1),e&&(this.query=b.parse(this.query)),_=_.slice(0,$)):e&&(this.search="",this.query={}),_&&(this.pathname=_),v[k]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){Y=this.pathname||"";var q=this.search||"";this.path=Y+q}return this.href=this.format(),this},a.prototype.format=function(){var t=this.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":"),t+="@");var e=this.protocol||"",r=this.pathname||"",n=this.hash||"",i=!1,a="";this.host?i=t+this.host:this.hostname&&(i=t+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&o.isObject(this.query)&&Object.keys(this.query).length&&(a=b.stringify(this.query));var s=this.search||a&&"?"+a||"";return e&&":"!==e.substr(-1)&&(e+=":"),this.slashes||(!e||v[e])&&!1!==i?(i="//"+(i||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):i||(i=""),n&&"#"!==n.charAt(0)&&(n="#"+n),s&&"?"!==s.charAt(0)&&(s="?"+s),e+i+(r=r.replace(/[?#]/g,(function(t){return encodeURIComponent(t)})))+(s=s.replace("#","%23"))+n},a.prototype.resolve=function(t){return this.resolveObject(_(t,!1,!0)).format()},a.prototype.resolveObject=function(t){if(o.isString(t)){var e=new a;e.parse(t,!1,!0),t=e}for(var r=new a,n=Object.keys(this),i=0;i<n.length;i++){var s=n[i];r[s]=this[s]}if(r.hash=t.hash,""===t.href)return r.href=r.format(),r;if(t.slashes&&!t.protocol){for(var u=Object.keys(t),c=0;c<u.length;c++){var l=u[c];"protocol"!==l&&(r[l]=t[l])}return v[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}if(t.protocol&&t.protocol!==r.protocol){if(!v[t.protocol]){for(var h=Object.keys(t),f=0;f<h.length;f++){var d=h[f];r[d]=t[d]}return r.href=r.format(),r}if(r.protocol=t.protocol,t.host||y[t.protocol])r.pathname=t.pathname;else{for(var p=(t.pathname||"").split("/");p.length&&!(t.host=p.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),""!==p[0]&&p.unshift(""),p.length<2&&p.unshift(""),r.pathname=p.join("/")}if(r.search=t.search,r.query=t.query,r.host=t.host||"",r.auth=t.auth,r.hostname=t.hostname||t.host,r.port=t.port,r.pathname||r.search){var m=r.pathname||"",g=r.search||"";r.path=m+g}return r.slashes=r.slashes||t.slashes,r.href=r.format(),r}var b=r.pathname&&"/"===r.pathname.charAt(0),_=t.host||t.pathname&&"/"===t.pathname.charAt(0),w=_||b||r.host&&t.pathname,x=w,k=r.pathname&&r.pathname.split("/")||[],S=(p=t.pathname&&t.pathname.split("/")||[],r.protocol&&!v[r.protocol]);if(S&&(r.hostname="",r.port=null,r.host&&(""===k[0]?k[0]=r.host:k.unshift(r.host)),r.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(""===p[0]?p[0]=t.host:p.unshift(t.host)),t.host=null),w=w&&(""===p[0]||""===k[0])),_)r.host=t.host||""===t.host?t.host:r.host,r.hostname=t.hostname||""===t.hostname?t.hostname:r.hostname,r.search=t.search,r.query=t.query,k=p;else if(p.length)k||(k=[]),k.pop(),k=k.concat(p),r.search=t.search,r.query=t.query;else if(!o.isNullOrUndefined(t.search))return S&&(r.hostname=r.host=k.shift(),(C=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=C.shift(),r.host=r.hostname=C.shift())),r.search=t.search,r.query=t.query,o.isNull(r.pathname)&&o.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r;if(!k.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var E=k.slice(-1)[0],M=(r.host||t.host||k.length>1)&&("."===E||".."===E)||""===E,A=0,T=k.length;T>=0;T--)"."===(E=k[T])?k.splice(T,1):".."===E?(k.splice(T,1),A++):A&&(k.splice(T,1),A--);if(!w&&!x)for(;A--;A)k.unshift("..");!w||""===k[0]||k[0]&&"/"===k[0].charAt(0)||k.unshift(""),M&&"/"!==k.join("/").substr(-1)&&k.push("");var C,L=""===k[0]||k[0]&&"/"===k[0].charAt(0);return S&&(r.hostname=r.host=L?"":k.length?k.shift():"",(C=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=C.shift(),r.host=r.hostname=C.shift())),(w=w||r.host&&k.length)&&!L&&k.unshift(""),k.length?r.pathname=k.join("/"):(r.pathname=null,r.path=null),o.isNull(r.pathname)&&o.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=t.auth||r.auth,r.slashes=r.slashes||t.slashes,r.href=r.format(),r},a.prototype.parseHost=function(){var t=this.host,e=u.exec(t);e&&(":"!==(e=e[0])&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)}},95751:(t,e,r)=>{"use strict";var n=r(28847)(r(3355));t.exports={isString:function(t){return"string"==typeof t},isObject:function(t){return"object"===(0,n.default)(t)&&null!==t},isNull:function(t){return null===t},isNullOrUndefined:function(t){return null==t}}},88632:(t,e)=>{"use strict";!function(t){var e,r,n,i=String.fromCharCode;function o(t){for(var e,r,n=[],i=0,o=t.length;i<o;)(e=t.charCodeAt(i++))>=55296&&e<=56319&&i<o?56320==(64512&(r=t.charCodeAt(i++)))?n.push(((1023&e)<<10)+(1023&r)+65536):(n.push(e),i--):n.push(e);return n}function a(t){if(t>=55296&&t<=57343)throw Error("Lone surrogate U+"+t.toString(16).toUpperCase()+" is not a scalar value")}function s(t,e){return i(t>>e&63|128)}function u(t){if(0==(4294967168&t))return i(t);var e="";return 0==(4294965248&t)?e=i(t>>6&31|192):0==(4294901760&t)?(a(t),e=i(t>>12&15|224),e+=s(t,6)):0==(4292870144&t)&&(e=i(t>>18&7|240),e+=s(t,12),e+=s(t,6)),e+i(63&t|128)}function c(){if(n>=r)throw Error("Invalid byte index");var t=255&e[n];if(n++,128==(192&t))return 63&t;throw Error("Invalid continuation byte")}function l(){var t,i;if(n>r)throw Error("Invalid byte index");if(n==r)return!1;if(t=255&e[n],n++,0==(128&t))return t;if(192==(224&t)){if((i=(31&t)<<6|c())>=128)return i;throw Error("Invalid continuation byte")}if(224==(240&t)){if((i=(15&t)<<12|c()<<6|c())>=2048)return a(i),i;throw Error("Invalid continuation byte")}if(240==(248&t)&&(i=(7&t)<<18|c()<<12|c()<<6|c())>=65536&&i<=1114111)return i;throw Error("Invalid UTF-8 detected")}t.version="3.0.0",t.encode=function(t){for(var e=o(t),r=e.length,n=-1,i="";++n<r;)i+=u(e[n]);return i},t.decode=function(t){e=o(t),r=e.length,n=0;for(var a,s=[];!1!==(a=l());)s.push(a);return function(t){for(var e,r=t.length,n=-1,o="";++n<r;)(e=t[n])>65535&&(o+=i((e-=65536)>>>10&1023|55296),e=56320|1023&e),o+=i(e);return o}(s)}}(e)},96219:(t,e,r)=>{"use strict";function n(t){try{if(!r.g.localStorage)return!1}catch(t){return!1}var e=r.g.localStorage[t];return null!=e&&"true"===String(e).toLowerCase()}t.exports=function(t,e){if(n("noDeprecation"))return t;var r=!1;return function(){if(!r){if(n("throwDeprecation"))throw new Error(e);n("traceDeprecation")?console.trace(e):console.warn(e),r=!0}return t.apply(this,arguments)}}},16248:(t,e,r)=>{"use strict";var n=r(28847)(r(3355));t.exports=function(t){return t&&"object"===(0,n.default)(t)&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},17092:(t,e,r)=>{"use strict";var n=r(28847)(r(3355)),i=r(69446),o=r(14477),a=r(72337),s=r(28915);function u(t){return t.call.bind(t)}var c="undefined"!=typeof BigInt,l="undefined"!=typeof Symbol,h=u(Object.prototype.toString),f=u(Number.prototype.valueOf),d=u(String.prototype.valueOf),p=u(Boolean.prototype.valueOf);if(c)var m=u(BigInt.prototype.valueOf);if(l)var g=u(Symbol.prototype.valueOf);function y(t,e){if("object"!==(0,n.default)(t))return!1;try{return e(t),!0}catch(t){return!1}}function v(t){return"[object Map]"===h(t)}function b(t){return"[object Set]"===h(t)}function _(t){return"[object WeakMap]"===h(t)}function w(t){return"[object WeakSet]"===h(t)}function x(t){return"[object ArrayBuffer]"===h(t)}function k(t){return"undefined"!=typeof ArrayBuffer&&(x.working?x(t):t instanceof ArrayBuffer)}function S(t){return"[object DataView]"===h(t)}function E(t){return"undefined"!=typeof DataView&&(S.working?S(t):t instanceof DataView)}e.isArgumentsObject=i,e.isGeneratorFunction=o,e.isTypedArray=s,e.isPromise=function(t){return"undefined"!=typeof Promise&&t instanceof Promise||null!==t&&"object"===(0,n.default)(t)&&"function"==typeof t.then&&"function"==typeof t.catch},e.isArrayBufferView=function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):s(t)||E(t)},e.isUint8Array=function(t){return"Uint8Array"===a(t)},e.isUint8ClampedArray=function(t){return"Uint8ClampedArray"===a(t)},e.isUint16Array=function(t){return"Uint16Array"===a(t)},e.isUint32Array=function(t){return"Uint32Array"===a(t)},e.isInt8Array=function(t){return"Int8Array"===a(t)},e.isInt16Array=function(t){return"Int16Array"===a(t)},e.isInt32Array=function(t){return"Int32Array"===a(t)},e.isFloat32Array=function(t){return"Float32Array"===a(t)},e.isFloat64Array=function(t){return"Float64Array"===a(t)},e.isBigInt64Array=function(t){return"BigInt64Array"===a(t)},e.isBigUint64Array=function(t){return"BigUint64Array"===a(t)},v.working="undefined"!=typeof Map&&v(new Map),e.isMap=function(t){return"undefined"!=typeof Map&&(v.working?v(t):t instanceof Map)},b.working="undefined"!=typeof Set&&b(new Set),e.isSet=function(t){return"undefined"!=typeof Set&&(b.working?b(t):t instanceof Set)},_.working="undefined"!=typeof WeakMap&&_(new WeakMap),e.isWeakMap=function(t){return"undefined"!=typeof WeakMap&&(_.working?_(t):t instanceof WeakMap)},w.working="undefined"!=typeof WeakSet&&w(new WeakSet),e.isWeakSet=function(t){return w(t)},x.working="undefined"!=typeof ArrayBuffer&&x(new ArrayBuffer),e.isArrayBuffer=k,S.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&S(new DataView(new ArrayBuffer(1),0,1)),e.isDataView=E;var M="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function A(t){return"[object SharedArrayBuffer]"===h(t)}function T(t){return void 0!==M&&(void 0===A.working&&(A.working=A(new M)),A.working?A(t):t instanceof M)}function C(t){return y(t,f)}function L(t){return y(t,d)}function P(t){return y(t,p)}function O(t){return c&&y(t,m)}function I(t){return l&&y(t,g)}e.isSharedArrayBuffer=T,e.isAsyncFunction=function(t){return"[object AsyncFunction]"===h(t)},e.isMapIterator=function(t){return"[object Map Iterator]"===h(t)},e.isSetIterator=function(t){return"[object Set Iterator]"===h(t)},e.isGeneratorObject=function(t){return"[object Generator]"===h(t)},e.isWebAssemblyCompiledModule=function(t){return"[object WebAssembly.Module]"===h(t)},e.isNumberObject=C,e.isStringObject=L,e.isBooleanObject=P,e.isBigIntObject=O,e.isSymbolObject=I,e.isBoxedPrimitive=function(t){return C(t)||L(t)||P(t)||O(t)||I(t)},e.isAnyArrayBuffer=function(t){return"undefined"!=typeof Uint8Array&&(k(t)||T(t))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(t){Object.defineProperty(e,t,{enumerable:!1,value:function(){throw new Error(t+" is not supported in userland")}})}))},45058:(t,e,r)=>{"use strict";var n=r(19142),i=r(28847)(r(3355)),o=Object.getOwnPropertyDescriptors||function(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++)r[e[n]]=Object.getOwnPropertyDescriptor(t,e[n]);return r},a=/%[sdj%]/g;e.format=function(t){if(!_(t)){for(var e=[],r=0;r<arguments.length;r++)e.push(l(arguments[r]));return e.join(" ")}r=1;for(var n=arguments,i=n.length,o=String(t).replace(a,(function(t){if("%%"===t)return"%";if(r>=i)return t;switch(t){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(t){return"[Circular]"}default:return t}})),s=n[r];r<i;s=n[++r])v(s)||!k(s)?o+=" "+s:o+=" "+l(s);return o},e.deprecate=function(t,r){if(void 0!==n&&!0===n.noDeprecation)return t;if(void 0===n)return function(){return e.deprecate(t,r).apply(this,arguments)};var i=!1;return function(){if(!i){if(n.throwDeprecation)throw new Error(r);n.traceDeprecation?console.trace(r):console.error(r),i=!0}return t.apply(this,arguments)}};var s={},u=/^$/;if(n.env.NODE_DEBUG){var c=n.env.NODE_DEBUG;c=c.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),u=new RegExp("^"+c+"$","i")}function l(t,r){var n={seen:[],stylize:f};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),y(r)?n.showHidden=r:r&&e._extend(n,r),w(n.showHidden)&&(n.showHidden=!1),w(n.depth)&&(n.depth=2),w(n.colors)&&(n.colors=!1),w(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=h),d(n,t,n.depth)}function h(t,e){var r=l.styles[e];return r?"["+l.colors[r][0]+"m"+t+"["+l.colors[r][1]+"m":t}function f(t,e){return t}function d(t,r,n){if(t.customInspect&&r&&M(r.inspect)&&r.inspect!==e.inspect&&(!r.constructor||r.constructor.prototype!==r)){var i=r.inspect(n,t);return _(i)||(i=d(t,i,n)),i}var o=function(t,e){if(w(e))return t.stylize("undefined","undefined");if(_(e)){var r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(r,"string")}return b(e)?t.stylize(""+e,"number"):y(e)?t.stylize(""+e,"boolean"):v(e)?t.stylize("null","null"):void 0}(t,r);if(o)return o;var a=Object.keys(r),s=function(t){var e={};return t.forEach((function(t,r){e[t]=!0})),e}(a);if(t.showHidden&&(a=Object.getOwnPropertyNames(r)),E(r)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return p(r);if(0===a.length){if(M(r)){var u=r.name?": "+r.name:"";return t.stylize("[Function"+u+"]","special")}if(x(r))return t.stylize(RegExp.prototype.toString.call(r),"regexp");if(S(r))return t.stylize(Date.prototype.toString.call(r),"date");if(E(r))return p(r)}var c,l="",h=!1,f=["{","}"];return g(r)&&(h=!0,f=["[","]"]),M(r)&&(l=" [Function"+(r.name?": "+r.name:"")+"]"),x(r)&&(l=" "+RegExp.prototype.toString.call(r)),S(r)&&(l=" "+Date.prototype.toUTCString.call(r)),E(r)&&(l=" "+p(r)),0!==a.length||h&&0!=r.length?n<0?x(r)?t.stylize(RegExp.prototype.toString.call(r),"regexp"):t.stylize("[Object]","special"):(t.seen.push(r),c=h?function(t,e,r,n,i){for(var o=[],a=0,s=e.length;a<s;++a)L(e,String(a))?o.push(m(t,e,r,n,String(a),!0)):o.push("");return i.forEach((function(i){i.match(/^\d+$/)||o.push(m(t,e,r,n,i,!0))})),o}(t,r,n,s,a):a.map((function(e){return m(t,r,n,s,e,h)})),t.seen.pop(),function(t,e,r){return t.reduce((function(t,e){return e.indexOf("\n"),t+e.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60?r[0]+(""===e?"":e+"\n ")+" "+t.join(",\n  ")+" "+r[1]:r[0]+e+" "+t.join(", ")+" "+r[1]}(c,l,f)):f[0]+l+f[1]}function p(t){return"["+Error.prototype.toString.call(t)+"]"}function m(t,e,r,n,i,o){var a,s,u;if((u=Object.getOwnPropertyDescriptor(e,i)||{value:e[i]}).get?s=u.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):u.set&&(s=t.stylize("[Setter]","special")),L(n,i)||(a="["+i+"]"),s||(t.seen.indexOf(u.value)<0?(s=v(r)?d(t,u.value,null):d(t,u.value,r-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(t){return"  "+t})).join("\n").slice(2):"\n"+s.split("\n").map((function(t){return"   "+t})).join("\n")):s=t.stylize("[Circular]","special")),w(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.slice(1,-1),a=t.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=t.stylize(a,"string"))}return a+": "+s}function g(t){return Array.isArray(t)}function y(t){return"boolean"==typeof t}function v(t){return null===t}function b(t){return"number"==typeof t}function _(t){return"string"==typeof t}function w(t){return void 0===t}function x(t){return k(t)&&"[object RegExp]"===A(t)}function k(t){return"object"===(0,i.default)(t)&&null!==t}function S(t){return k(t)&&"[object Date]"===A(t)}function E(t){return k(t)&&("[object Error]"===A(t)||t instanceof Error)}function M(t){return"function"==typeof t}function A(t){return Object.prototype.toString.call(t)}function T(t){return t<10?"0"+t.toString(10):t.toString(10)}e.debuglog=function(t){if(t=t.toUpperCase(),!s[t])if(u.test(t)){var r=n.pid;s[t]=function(){var n=e.format.apply(e,arguments);console.error("%s %d: %s",t,r,n)}}else s[t]=function(){};return s[t]},e.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.types=r(17092),e.isArray=g,e.isBoolean=y,e.isNull=v,e.isNullOrUndefined=function(t){return null==t},e.isNumber=b,e.isString=_,e.isSymbol=function(t){return"symbol"===(0,i.default)(t)},e.isUndefined=w,e.isRegExp=x,e.types.isRegExp=x,e.isObject=k,e.isDate=S,e.types.isDate=S,e.isError=E,e.types.isNativeError=E,e.isFunction=M,e.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"===(0,i.default)(t)||void 0===t},e.isBuffer=r(16248);var C=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function L(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.log=function(){var t,r;console.log("%s - %s",(r=[T((t=new Date).getHours()),T(t.getMinutes()),T(t.getSeconds())].join(":"),[t.getDate(),C[t.getMonth()],r].join(" ")),e.format.apply(e,arguments))},e.inherits=r(41736),e._extend=function(t,e){if(!e||!k(e))return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t};var P="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function O(t,e){if(!t){var r=new Error("Promise was rejected with a falsy value");r.reason=t,t=r}return e(t)}e.promisify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');if(P&&t[P]){var e;if("function"!=typeof(e=t[P]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,P,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var e,r,n=new Promise((function(t,n){e=t,r=n})),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push((function(t,n){t?r(t):e(n)}));try{t.apply(this,i)}catch(t){r(t)}return n}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),P&&Object.defineProperty(e,P,{value:e,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(e,o(t))},e.promisify.custom=P,e.callbackify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');function e(){for(var e=[],r=0;r<arguments.length;r++)e.push(arguments[r]);var i=e.pop();if("function"!=typeof i)throw new TypeError("The last argument must be of type Function");var o=this,a=function(){return i.apply(o,arguments)};t.apply(this,e).then((function(t){n.nextTick(a.bind(null,null,t))}),(function(t){n.nextTick(O.bind(null,t,a))}))}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),Object.defineProperties(e,o(t)),e}},22679:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"NIL",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"parse",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"v1",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"v3",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"v4",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"v5",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"validate",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"version",{enumerable:!0,get:function(){return u.default}});var n=f(r(55999)),i=f(r(28231)),o=f(r(78647)),a=f(r(65025)),s=f(r(55996)),u=f(r(8928)),c=f(r(76163)),l=f(r(22982)),h=f(r(91729));function f(t){return t&&t.__esModule?t:{default:t}}},86792:(t,e)=>{"use strict";function r(t){return 14+(t+64>>>9<<4)+1}function n(t,e){var r=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(r>>16)<<16|65535&r}function i(t,e,r,i,o,a){return n((s=n(n(e,t),n(i,a)))<<(u=o)|s>>>32-u,r);var s,u}function o(t,e,r,n,o,a,s){return i(e&r|~e&n,t,e,o,a,s)}function a(t,e,r,n,o,a,s){return i(e&n|r&~n,t,e,o,a,s)}function s(t,e,r,n,o,a,s){return i(e^r^n,t,e,o,a,s)}function u(t,e,r,n,o,a,s){return i(r^(e|~n),t,e,o,a,s)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default=function(t){if("string"==typeof t){var e=unescape(encodeURIComponent(t));t=new Uint8Array(e.length);for(var i=0;i<e.length;++i)t[i]=e.charCodeAt(i)}return function(t){for(var e=[],r=32*t.length,n="0123456789abcdef",i=0;i<r;i+=8){var o=t[i>>5]>>>i%32&255,a=parseInt(n.charAt(o>>>4&15)+n.charAt(15&o),16);e.push(a)}return e}(function(t,e){t[e>>5]|=128<<e%32,t[r(e)-1]=e;for(var i=1732584193,c=-271733879,l=-1732584194,h=271733878,f=0;f<t.length;f+=16){var d=i,p=c,m=l,g=h;i=o(i,c,l,h,t[f],7,-680876936),h=o(h,i,c,l,t[f+1],12,-389564586),l=o(l,h,i,c,t[f+2],17,606105819),c=o(c,l,h,i,t[f+3],22,-1044525330),i=o(i,c,l,h,t[f+4],7,-176418897),h=o(h,i,c,l,t[f+5],12,1200080426),l=o(l,h,i,c,t[f+6],17,-1473231341),c=o(c,l,h,i,t[f+7],22,-45705983),i=o(i,c,l,h,t[f+8],7,1770035416),h=o(h,i,c,l,t[f+9],12,-1958414417),l=o(l,h,i,c,t[f+10],17,-42063),c=o(c,l,h,i,t[f+11],22,-1990404162),i=o(i,c,l,h,t[f+12],7,1804603682),h=o(h,i,c,l,t[f+13],12,-40341101),l=o(l,h,i,c,t[f+14],17,-1502002290),i=a(i,c=o(c,l,h,i,t[f+15],22,1236535329),l,h,t[f+1],5,-165796510),h=a(h,i,c,l,t[f+6],9,-1069501632),l=a(l,h,i,c,t[f+11],14,643717713),c=a(c,l,h,i,t[f],20,-373897302),i=a(i,c,l,h,t[f+5],5,-701558691),h=a(h,i,c,l,t[f+10],9,38016083),l=a(l,h,i,c,t[f+15],14,-660478335),c=a(c,l,h,i,t[f+4],20,-405537848),i=a(i,c,l,h,t[f+9],5,568446438),h=a(h,i,c,l,t[f+14],9,-1019803690),l=a(l,h,i,c,t[f+3],14,-187363961),c=a(c,l,h,i,t[f+8],20,1163531501),i=a(i,c,l,h,t[f+13],5,-1444681467),h=a(h,i,c,l,t[f+2],9,-51403784),l=a(l,h,i,c,t[f+7],14,1735328473),i=s(i,c=a(c,l,h,i,t[f+12],20,-1926607734),l,h,t[f+5],4,-378558),h=s(h,i,c,l,t[f+8],11,-2022574463),l=s(l,h,i,c,t[f+11],16,1839030562),c=s(c,l,h,i,t[f+14],23,-35309556),i=s(i,c,l,h,t[f+1],4,-1530992060),h=s(h,i,c,l,t[f+4],11,1272893353),l=s(l,h,i,c,t[f+7],16,-155497632),c=s(c,l,h,i,t[f+10],23,-1094730640),i=s(i,c,l,h,t[f+13],4,681279174),h=s(h,i,c,l,t[f],11,-358537222),l=s(l,h,i,c,t[f+3],16,-722521979),c=s(c,l,h,i,t[f+6],23,76029189),i=s(i,c,l,h,t[f+9],4,-640364487),h=s(h,i,c,l,t[f+12],11,-421815835),l=s(l,h,i,c,t[f+15],16,530742520),i=u(i,c=s(c,l,h,i,t[f+2],23,-995338651),l,h,t[f],6,-198630844),h=u(h,i,c,l,t[f+7],10,1126891415),l=u(l,h,i,c,t[f+14],15,-1416354905),c=u(c,l,h,i,t[f+5],21,-57434055),i=u(i,c,l,h,t[f+12],6,1700485571),h=u(h,i,c,l,t[f+3],10,-1894986606),l=u(l,h,i,c,t[f+10],15,-1051523),c=u(c,l,h,i,t[f+1],21,-2054922799),i=u(i,c,l,h,t[f+8],6,1873313359),h=u(h,i,c,l,t[f+15],10,-30611744),l=u(l,h,i,c,t[f+6],15,-1560198380),c=u(c,l,h,i,t[f+13],21,1309151649),i=u(i,c,l,h,t[f+4],6,-145523070),h=u(h,i,c,l,t[f+11],10,-1120210379),l=u(l,h,i,c,t[f+2],15,718787259),c=u(c,l,h,i,t[f+9],21,-343485551),i=n(i,d),c=n(c,p),l=n(l,m),h=n(h,g)}return[i,c,l,h]}(function(t){if(0===t.length)return[];for(var e=8*t.length,n=new Uint32Array(r(e)),i=0;i<e;i+=8)n[i>>5]|=(255&t[i/8])<<i%32;return n}(t),8*t.length))}},11788:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};e.default=r},55996:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default="00000000-0000-0000-0000-000000000000"},91729:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,i=(n=r(76163))&&n.__esModule?n:{default:n};e.default=function(t){if(!(0,i.default)(t))throw TypeError("Invalid UUID");var e,r=new Uint8Array(16);return r[0]=(e=parseInt(t.slice(0,8),16))>>>24,r[1]=e>>>16&255,r[2]=e>>>8&255,r[3]=255&e,r[4]=(e=parseInt(t.slice(9,13),16))>>>8,r[5]=255&e,r[6]=(e=parseInt(t.slice(14,18),16))>>>8,r[7]=255&e,r[8]=(e=parseInt(t.slice(19,23),16))>>>8,r[9]=255&e,r[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255,r[11]=e/4294967296&255,r[12]=e>>>24&255,r[13]=e>>>16&255,r[14]=e>>>8&255,r[15]=255&e,r}},77300:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i},14402:(t,e)=>{"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){if(!r&&!(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(n)};var n=new Uint8Array(16)},42702:(t,e)=>{"use strict";function r(t,e,r,n){switch(t){case 0:return e&r^~e&n;case 1:case 3:return e^r^n;case 2:return e&r^e&n^r&n}}function n(t,e){return t<<e|t>>>32-e}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default=function(t){var e=[1518500249,1859775393,2400959708,3395469782],i=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof t){var o=unescape(encodeURIComponent(t));t=[];for(var a=0;a<o.length;++a)t.push(o.charCodeAt(a))}else Array.isArray(t)||(t=Array.prototype.slice.call(t));t.push(128);for(var s=t.length/4+2,u=Math.ceil(s/16),c=new Array(u),l=0;l<u;++l){for(var h=new Uint32Array(16),f=0;f<16;++f)h[f]=t[64*l+4*f]<<24|t[64*l+4*f+1]<<16|t[64*l+4*f+2]<<8|t[64*l+4*f+3];c[l]=h}c[u-1][14]=8*(t.length-1)/Math.pow(2,32),c[u-1][14]=Math.floor(c[u-1][14]),c[u-1][15]=8*(t.length-1)&4294967295;for(var d=0;d<u;++d){for(var p=new Uint32Array(80),m=0;m<16;++m)p[m]=c[d][m];for(var g=16;g<80;++g)p[g]=n(p[g-3]^p[g-8]^p[g-14]^p[g-16],1);for(var y=i[0],v=i[1],b=i[2],_=i[3],w=i[4],x=0;x<80;++x){var k=Math.floor(x/20),S=n(y,5)+r(k,v,b,_)+w+e[k]+p[x]>>>0;w=_,_=b,b=n(v,30)>>>0,v=y,y=S}i[0]=i[0]+y>>>0,i[1]=i[1]+v>>>0,i[2]=i[2]+b>>>0,i[3]=i[3]+_>>>0,i[4]=i[4]+w>>>0}return[i[0]>>24&255,i[0]>>16&255,i[0]>>8&255,255&i[0],i[1]>>24&255,i[1]>>16&255,i[1]>>8&255,255&i[1],i[2]>>24&255,i[2]>>16&255,i[2]>>8&255,255&i[2],i[3]>>24&255,i[3]>>16&255,i[3]>>8&255,255&i[3],i[4]>>24&255,i[4]>>16&255,i[4]>>8&255,255&i[4]]}},22982:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.unsafeStringify=s;for(var n,i=(n=r(76163))&&n.__esModule?n:{default:n},o=[],a=0;a<256;++a)o.push((a+256).toString(16).slice(1));function s(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return o[t[e+0]]+o[t[e+1]]+o[t[e+2]]+o[t[e+3]]+"-"+o[t[e+4]]+o[t[e+5]]+"-"+o[t[e+6]]+o[t[e+7]]+"-"+o[t[e+8]]+o[t[e+9]]+"-"+o[t[e+10]]+o[t[e+11]]+o[t[e+12]]+o[t[e+13]]+o[t[e+14]]+o[t[e+15]]}e.default=function(t){var e=s(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0);if(!(0,i.default)(e))throw TypeError("Stringified UUID is invalid");return e}},55999:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,i,o,a=(n=r(14402))&&n.__esModule?n:{default:n},s=r(22982),u=0,c=0;e.default=function(t,e,r){var n=e&&r||0,l=e||new Array(16),h=(t=t||{}).node||i,f=void 0!==t.clockseq?t.clockseq:o;if(null==h||null==f){var d=t.random||(t.rng||a.default)();null==h&&(h=i=[1|d[0],d[1],d[2],d[3],d[4],d[5]]),null==f&&(f=o=16383&(d[6]<<8|d[7]))}var p=void 0!==t.msecs?t.msecs:Date.now(),m=void 0!==t.nsecs?t.nsecs:c+1,g=p-u+(m-c)/1e4;if(g<0&&void 0===t.clockseq&&(f=f+1&16383),(g<0||p>u)&&void 0===t.nsecs&&(m=0),m>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");u=p,c=m,o=f;var y=(1e4*(268435455&(p+=122192928e5))+m)%4294967296;l[n++]=y>>>24&255,l[n++]=y>>>16&255,l[n++]=y>>>8&255,l[n++]=255&y;var v=p/4294967296*1e4&268435455;l[n++]=v>>>8&255,l[n++]=255&v,l[n++]=v>>>24&15|16,l[n++]=v>>>16&255,l[n++]=f>>>8|128,l[n++]=255&f;for(var b=0;b<6;++b)l[n+b]=h[b];return e||(0,s.unsafeStringify)(l)}},28231:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o(r(36125)),i=o(r(86792));function o(t){return t&&t.__esModule?t:{default:t}}var a=(0,n.default)("v3",48,i.default);e.default=a},36125:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.URL=e.DNS=void 0,e.default=function(t,e,r){function n(t,n,a,s){var u;if("string"==typeof t&&(t=function(t){t=unescape(encodeURIComponent(t));for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r));return e}(t)),"string"==typeof n&&(n=(0,o.default)(n)),16!==(null===(u=n)||void 0===u?void 0:u.length))throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var c=new Uint8Array(16+t.length);if(c.set(n),c.set(t,n.length),(c=r(c))[6]=15&c[6]|e,c[8]=63&c[8]|128,a){s=s||0;for(var l=0;l<16;++l)a[s+l]=c[l];return a}return(0,i.unsafeStringify)(c)}try{n.name=t}catch(t){}return n.DNS=a,n.URL=s,n};var n,i=r(22982),o=(n=r(91729))&&n.__esModule?n:{default:n},a="6ba7b810-9dad-11d1-80b4-00c04fd430c8";e.DNS=a;var s="6ba7b811-9dad-11d1-80b4-00c04fd430c8";e.URL=s},78647:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(r(11788)),i=a(r(14402)),o=r(22982);function a(t){return t&&t.__esModule?t:{default:t}}e.default=function(t,e,r){if(n.default.randomUUID&&!e&&!t)return n.default.randomUUID();var a=(t=t||{}).random||(t.rng||i.default)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,e){r=r||0;for(var s=0;s<16;++s)e[r+s]=a[s];return e}return(0,o.unsafeStringify)(a)}},65025:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o(r(36125)),i=o(r(42702));function o(t){return t&&t.__esModule?t:{default:t}}var a=(0,n.default)("v5",80,i.default);e.default=a},76163:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,i=(n=r(77300))&&n.__esModule?n:{default:n};e.default=function(t){return"string"==typeof t&&i.default.test(t)}},8928:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,i=(n=r(76163))&&n.__esModule?n:{default:n};e.default=function(t){if(!(0,i.default)(t))throw TypeError("Invalid UUID");return parseInt(t.slice(14,15),16)}},38325:t=>{"use strict";t.exports=function t(n,i){var o,a=0,s=0,u=i=i||0,c=n.length;do{if(u>=c)throw t.bytes=0,new RangeError("Could not decode varint");o=n[u++],a+=s<28?(o&r)<<s:(o&r)*Math.pow(2,s),s+=7}while(o>=e);return t.bytes=u-i,a};var e=128,r=127},92699:t=>{"use strict";t.exports=function t(i,o,a){o=o||[];for(var s=a=a||0;i>=n;)o[a++]=255&i|e,i/=128;for(;i&r;)o[a++]=255&i|e,i>>>=7;return o[a]=0|i,t.bytes=a-s+1,o};var e=128,r=-128,n=Math.pow(2,31)},26657:(t,e,r)=>{"use strict";t.exports={encode:r(92699),decode:r(38325),encodingLength:r(57490)}},57490:t=>{"use strict";var e=Math.pow(2,7),r=Math.pow(2,14),n=Math.pow(2,21),i=Math.pow(2,28),o=Math.pow(2,35),a=Math.pow(2,42),s=Math.pow(2,49),u=Math.pow(2,56),c=Math.pow(2,63);t.exports=function(t){return t<e?1:t<r?2:t<n?3:t<i?4:t<o?5:t<a?6:t<s?7:t<u?8:t<c?9:10}},1158:(t,e,r)=>{"use strict";var n,i=r(28847)(r(3355));if("object"===("undefined"==typeof globalThis?"undefined":(0,i.default)(globalThis)))n=globalThis;else try{n=r(26464)}catch(t){}finally{if(n||"undefined"==typeof window||(n=window),!n)throw new Error("Could not determine global this")}var o=n.WebSocket||n.MozWebSocket,a=r(75735);function s(t,e){return e?new o(t,e):new o(t)}o&&["CONNECTING","OPEN","CLOSING","CLOSED"].forEach((function(t){Object.defineProperty(s,t,{get:function(){return o[t]}})})),t.exports={w3cwebsocket:o?s:null,version:a}},75735:(t,e,r)=>{"use strict";t.exports=r(19794).version},72337:(t,e,r)=>{"use strict";var n=r(28847)(r(3355)),i=r(48184),o=r(43604),a=r(24373),s=r(80593),u=r(53820),c=s("Object.prototype.toString"),l=r(11191)(),h="undefined"==typeof globalThis?r.g:globalThis,f=o(),d=s("String.prototype.slice"),p=Object.getPrototypeOf,m=s("Array.prototype.indexOf",!0)||function(t,e){for(var r=0;r<t.length;r+=1)if(t[r]===e)return r;return-1},g={__proto__:null};i(f,l&&u&&p?function(t){var e=new h[t];if(Symbol.toStringTag in e){var r=p(e),n=u(r,Symbol.toStringTag);if(!n){var i=p(r);n=u(i,Symbol.toStringTag)}g["$"+t]=a(n.get)}}:function(t){var e=new h[t],r=e.slice||e.set;r&&(g["$"+t]=a(r))}),t.exports=function(t){if(!t||"object"!==(0,n.default)(t))return!1;if(!l){var e=d(c(t),8,-1);return m(f,e)>-1?e:"Object"===e&&function(t){var e=!1;return i(g,(function(r,n){if(!e)try{r(t),e=d(n,1)}catch(t){}})),e}(t)}return u?function(t){var e=!1;return i(g,(function(r,n){if(!e)try{"$"+r(t)===n&&(e=d(n,1))}catch(t){}})),e}(t):null}},31357:(t,e,r)=>{"use strict";var n=r(31296),i=r(68419),o=r(33103),a=r(39122),s=r(17321),u="application/json",c=function(){};t.exports=function(t,e,r){if(!t||"string"!=typeof t)throw new TypeError("must specify a URL");if("function"==typeof e&&(r=e,e={}),r&&"function"!=typeof r)throw new TypeError("expected cb to be undefined or a function");r=r||c;var l=(e=e||{}).json?"json":"text",h=(e=o({responseType:l},e)).headers||{},f=(e.method||"GET").toUpperCase(),d=e.query;return d&&("string"!=typeof d&&(d=n.stringify(d)),t=i(t,d)),"json"===e.responseType&&a(h,"Accept",u),e.json&&"GET"!==f&&"HEAD"!==f&&(a(h,"Content-Type",u),e.body=JSON.stringify(e.body)),e.method=f,e.url=t,e.headers=h,delete e.query,delete e.json,s(e,r)}},39122:t=>{"use strict";t.exports=function(t,e,r){var n=e.toLowerCase();t[e]||t[n]||(t[e]=r)}},49800:t=>{"use strict";t.exports=function(t,e){return e?{statusCode:e.statusCode,headers:e.headers,method:t.method,url:t.url,rawRequest:e.rawRequest?e.rawRequest:e}:null}},17321:(t,e,r)=>{"use strict";var n=r(30346),i=r(49800),o=function(){};t.exports=function(t,e){delete t.uri;var r=!1;"json"===t.responseType&&(t.responseType="text",r=!0);var a=n(t,(function(n,a,s){if(r&&!n)try{var u=a.rawRequest.responseText;s=JSON.parse(u)}catch(t){n=t}a=i(t,a),e(n,n?null:s,a),e=o})),s=a.onabort;return a.onabort=function(){var t=s.apply(a,Array.prototype.slice.call(arguments));return e(new Error("XHR Aborted")),e=o,t},a}},30346:(t,e,r)=>{"use strict";var n=r(92948),i=r(27277),o=r(48209),a=r(87705);function s(t,e,r){var n=t;return i(e)?(r=e,"string"==typeof t&&(n={uri:t})):n=a(e,{uri:t}),n.callback=r,n}function u(t,e,r){return c(e=s(t,e,r))}function c(t){if(void 0===t.callback)throw new Error("callback argument missing");var e=!1,r=function(r,n,i){e||(e=!0,t.callback(r,n,i))};function n(){var t=void 0;if(t=l.response?l.response:l.responseText||function(t){try{if("document"===t.responseType)return t.responseXML;var e=t.responseXML&&"parsererror"===t.responseXML.documentElement.nodeName;if(""===t.responseType&&!e)return t.responseXML}catch(t){}return null}(l),y)try{t=JSON.parse(t)}catch(t){}return t}function i(t){return clearTimeout(h),t instanceof Error||(t=new Error(""+(t||"Unknown XMLHttpRequest Error"))),t.statusCode=0,r(t,v)}function a(){if(!c){var e;clearTimeout(h),e=t.useXDR&&void 0===l.status?200:1223===l.status?204:l.status;var i=v,a=null;return 0!==e?(i={body:n(),statusCode:e,method:d,headers:{},url:f,rawRequest:l},l.getAllResponseHeaders&&(i.headers=o(l.getAllResponseHeaders()))):a=new Error("Internal XMLHttpRequest Error"),r(a,i,i.body)}}var s,c,l=t.xhr||null;l||(l=t.cors||t.useXDR?new u.XDomainRequest:new u.XMLHttpRequest);var h,f=l.url=t.uri||t.url,d=l.method=t.method||"GET",p=t.body||t.data,m=l.headers=t.headers||{},g=!!t.sync,y=!1,v={body:void 0,headers:{},statusCode:0,method:d,url:f,rawRequest:l};if("json"in t&&!1!==t.json&&(y=!0,m.accept||m.Accept||(m.Accept="application/json"),"GET"!==d&&"HEAD"!==d&&(m["content-type"]||m["Content-Type"]||(m["Content-Type"]="application/json"),p=JSON.stringify(!0===t.json?p:t.json))),l.onreadystatechange=function(){4===l.readyState&&setTimeout(a,0)},l.onload=a,l.onerror=i,l.onprogress=function(){},l.onabort=function(){c=!0},l.ontimeout=i,l.open(d,f,!g,t.username,t.password),g||(l.withCredentials=!!t.withCredentials),!g&&t.timeout>0&&(h=setTimeout((function(){if(!c){c=!0,l.abort("timeout");var t=new Error("XMLHttpRequest timeout");t.code="ETIMEDOUT",i(t)}}),t.timeout)),l.setRequestHeader)for(s in m)m.hasOwnProperty(s)&&l.setRequestHeader(s,m[s]);else if(t.headers&&!function(t){for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}(t.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in t&&(l.responseType=t.responseType),"beforeSend"in t&&"function"==typeof t.beforeSend&&t.beforeSend(l),l.send(p||null),l}t.exports=u,t.exports.default=u,u.XMLHttpRequest=n.XMLHttpRequest||function(){},u.XDomainRequest="withCredentials"in new u.XMLHttpRequest?u.XMLHttpRequest:n.XDomainRequest,function(t,e){for(var r=0;r<t.length;r++)e(t[r])}(["get","put","post","patch","head","delete"],(function(t){u["delete"===t?"del":t]=function(e,r,n){return(r=s(e,r,n)).method=t.toUpperCase(),c(r)}}))},87705:t=>{"use strict";t.exports=function(){for(var t={},r=0;r<arguments.length;r++){var n=arguments[r];for(var i in n)e.call(n,i)&&(t[i]=n[i])}return t};var e=Object.prototype.hasOwnProperty},42463:(t,e,r)=>{"use strict";var n=r(28847)(r(3355)),i=r(26427),o=function t(e){this.givenProvider=t.givenProvider,e&&e._requestManager&&(e=e.currentProvider),"undefined"!=typeof document&&(this.pick=i.pick),this.setProvider(e)};o.givenProvider=null,"undefined"!=typeof ethereum&&ethereum.bzz&&(o.givenProvider=ethereum.bzz),o.prototype.setProvider=function(t){if(t&&"object"===(0,n.default)(t)&&"string"==typeof t.bzz&&(t=t.bzz),"string"!=typeof t){this.currentProvider=null;var e=new Error("No provider set, please set one using bzz.setProvider().");return this.download=this.upload=this.isAvailable=function(){throw e},!1}return this.currentProvider=t,this.download=i.at(t).download,this.upload=i.at(t).upload,this.isAvailable=i.at(t).isAvailable,!0},t.exports=o},94246:(t,e,r)=>{"use strict";var n=r(28847)(r(3355));t.exports={ErrorResponse:function(t){var e=t&&t.error&&t.error.message?t.error.message:JSON.stringify(t),r=t.error&&t.error.data?t.error.data:null,n=new Error("Returned error: "+e);return n.data=r,n},InvalidNumberOfParams:function(t,e,r){return new Error('Invalid number of parameters for "'+r+'". Got '+t+" expected "+e+"!")},InvalidConnection:function(t,e){return this.ConnectionError("CONNECTION ERROR: Couldn't connect to node "+t+".",e)},InvalidProvider:function(){return new Error("Provider not set or invalid")},InvalidResponse:function(t){var e=t&&t.error&&t.error.message?t.error.message:"Invalid JSON RPC response: "+JSON.stringify(t);return new Error(e)},ConnectionTimeout:function(t){return new Error("CONNECTION TIMEOUT: timeout of "+t+" ms achived")},ConnectionNotOpenError:function(t){return this.ConnectionError("connection not open on send()",t)},ConnectionCloseError:function(t){return"object"===(0,n.default)(t)&&t.code&&t.reason?this.ConnectionError("CONNECTION ERROR: The connection got closed with the close code `"+t.code+"` and the following reason string `"+t.reason+"`",t):new Error("CONNECTION ERROR: The connection closed unexpectedly")},MaxAttemptsReachedOnReconnectingError:function(){return new Error("Maximum number of reconnect attempts reached!")},PendingRequestsOnReconnectingError:function(){return new Error("CONNECTION ERROR: Provider started to reconnect before the response got received!")},ConnectionError:function(t,e){var r=new Error(t);return e&&(r.code=e.code,r.reason=e.reason,e.description&&(r.description=e.description)),r},RevertInstructionError:function(t,e){var r=new Error("Your request got reverted with the following reason string: "+t);return r.reason=t,r.signature=e,r},TransactionRevertInstructionError:function(t,e,r){var n=new Error("Transaction has been reverted by the EVM:\n"+JSON.stringify(r,null,2));return n.reason=t,n.signature=e,n.receipt=r,n},TransactionError:function(t,e){var r=new Error(t);return r.receipt=e,r},NoContractAddressFoundError:function(t){return this.TransactionError("The transaction receipt didn't contain a contract address.",t)},ContractCodeNotStoredError:function(t){return this.TransactionError("The contract code couldn't be stored, please check your gas limit.",t)},TransactionRevertedWithoutReasonError:function(t){return this.TransactionError("Transaction has been reverted by the EVM:\n"+JSON.stringify(t,null,2),t)},TransactionOutOfGasError:function(t){return this.TransactionError("Transaction ran out of gas. Please provide more gas:\n"+JSON.stringify(t,null,2),t)},ResolverMethodMissingError:function(t,e){return new Error("The resolver at "+t+'does not implement requested method: "'+e+'".')},ContractMissingABIError:function(){return new Error("You must provide the json interface of the contract when instantiating a contract object.")},ContractOnceRequiresCallbackError:function(){return new Error("Once requires a callback as the second parameter.")},ContractEventDoesNotExistError:function(t){return new Error('Event "'+t+"\" doesn't exist in this contract.")},ContractReservedEventError:function(t){return new Error('The event "'+t+"\" is a reserved event name, you can't use it.")},ContractMissingDeployDataError:function(){return new Error('No "data" specified in neither the given options, nor the default options.')},ContractNoAddressDefinedError:function(){return new Error("This contract object doesn't have address set yet, please set an address first.")},ContractNoFromAddressDefinedError:function(){return new Error('No "from" address specified in neither the given options, nor the default options.')}}},32084:(t,e,r)=>{"use strict";var n=r(28847),i=n(r(90775)),o=n(r(3355));function a(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function s(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?a(Object(r),!0).forEach((function(e){(0,i.default)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var u=r(48161),c=r(30006),l=function(t){return u.toBN(t).toString(10)},h=function(t){if(void 0!==t)return function(t){return["latest","pending","earliest","finalized","safe"].includes(t)}(t)?t:"genesis"===t?"0x0":u.isHexStrict(t)?"string"==typeof t?t.toLowerCase():t:u.numberToHex(t)},f=function(t){if(t.to&&(t.to=m(t.to)),t.data&&t.input)throw new Error('You can\'t have "data" and "input" as properties of transactions at the same time, please use either "data" or "input" instead.');if(!t.data&&t.input&&(t.data=t.input,delete t.input),t.data&&!t.data.startsWith("0x")&&(t.data="0x"+t.data),t.data&&!u.isHex(t.data))throw new Error("The data field must be HEX encoded data.");return(t.gas||t.gasLimit)&&(t.gas=t.gas||t.gasLimit),(t.maxPriorityFeePerGas||t.maxFeePerGas)&&delete t.gasPrice,["gasPrice","gas","value","maxPriorityFeePerGas","maxFeePerGas","nonce","type"].filter((function(e){return void 0!==t[e]})).forEach((function(e){t[e]=u.numberToHex(t[e])})),t},d=function(t,e){return e||(null!==t.blockNumber&&(t.blockNumber=u.hexToNumber(t.blockNumber)),null!==t.transactionIndex&&(t.transactionIndex=u.hexToNumber(t.transactionIndex)),t.nonce=u.hexToNumber(t.nonce),t.gas=u.hexToNumber(t.gas),t.type&&(t.type=u.hexToNumber(t.type))),t.gasPrice&&(t.gasPrice=l(t.gasPrice)),t.maxFeePerGas&&(t.maxFeePerGas=l(t.maxFeePerGas)),t.maxPriorityFeePerGas&&(t.maxPriorityFeePerGas=l(t.maxPriorityFeePerGas)),t.value=l(t.value),t.to&&u.isAddress(t.to)?t.to=u.toChecksumAddress(t.to):t.to=null,t.from&&(t.from=u.toChecksumAddress(t.from)),t},p=function(t){if("string"==typeof t.blockHash&&"string"==typeof t.transactionHash&&"string"==typeof t.logIndex){var e=u.sha3(t.blockHash.replace("0x","")+t.transactionHash.replace("0x","")+t.logIndex.replace("0x",""));t.id="log_"+e.replace("0x","").slice(0,8)}else t.id||(t.id=null);return null!==t.blockNumber&&(t.blockNumber=u.hexToNumber(t.blockNumber)),null!==t.transactionIndex&&(t.transactionIndex=u.hexToNumber(t.transactionIndex)),null!==t.logIndex&&(t.logIndex=u.hexToNumber(t.logIndex)),t.address&&(t.address=u.toChecksumAddress(t.address)),t},m=function(t){var e=new c(t);if(e.isValid()&&e.isDirect())return e.toAddress().toLowerCase();if(u.isAddress(t))return"0x"+t.toLowerCase().replace("0x","");throw new Error("Provided address ".concat(t," is invalid, the capitalization checksum test failed, or it's an indirect IBAN address which can't be converted."))};t.exports={inputDefaultBlockNumberFormatter:function(t){return h(this&&null==t?this.defaultBlock:t)},inputBlockNumberFormatter:h,inputCallFormatter:function(t){var e=(t=f(t)).from||(this?this.defaultAccount:null);return e&&(t.from=m(e)),t},inputTransactionFormatter:function(t){if("number"!=typeof(t=f(t)).from&&(!t.from||"object"!==(0,o.default)(t.from))){if(t.from=t.from||(this?this.defaultAccount:null),!t.from&&"number"!=typeof t.from)throw new Error('The send transactions "from" field must be defined!');t.from=m(t.from)}return t},inputAddressFormatter:m,inputPostFormatter:function(t){return t.ttl&&(t.ttl=u.numberToHex(t.ttl)),t.workToProve&&(t.workToProve=u.numberToHex(t.workToProve)),t.priority&&(t.priority=u.numberToHex(t.priority)),Array.isArray(t.topics)||(t.topics=t.topics?[t.topics]:[]),t.topics=t.topics.map((function(t){return 0===t.indexOf("0x")?t:u.fromUtf8(t)})),t},inputLogFormatter:function(t){var e=function(t){return null==t?null:0===(t=String(t)).indexOf("0x")?t:u.fromUtf8(t)};return void 0===t&&(t={}),void 0===t.fromBlock&&(t=s(s({},t),{},{fromBlock:"latest"})),(t.fromBlock||0===t.fromBlock)&&(t.fromBlock=h(t.fromBlock)),(t.toBlock||0===t.toBlock)&&(t.toBlock=h(t.toBlock)),t.topics=t.topics||[],t.topics=t.topics.map((function(t){return Array.isArray(t)?t.map(e):e(t)})),e=null,t.address&&(t.address=Array.isArray(t.address)?t.address.map((function(t){return m(t)})):m(t.address)),t},inputSignFormatter:function(t){return u.isHexStrict(t)?t:u.utf8ToHex(t)},inputStorageKeysFormatter:function(t){return t.map(u.numberToHex)},outputProofFormatter:function(t){return t.address=u.toChecksumAddress(t.address),t.nonce=u.hexToNumberString(t.nonce),t.balance=u.hexToNumberString(t.balance),t},outputBigNumberFormatter:l,outputTransactionFormatter:d,outputTransactionReceiptFormatter:function(t){if("object"!==(0,o.default)(t))throw new Error("Received receipt is invalid: "+t);return this.hexFormat||(null!==t.blockNumber&&(t.blockNumber=u.hexToNumber(t.blockNumber)),null!==t.transactionIndex&&(t.transactionIndex=u.hexToNumber(t.transactionIndex)),t.cumulativeGasUsed=u.hexToNumber(t.cumulativeGasUsed),t.gasUsed=u.hexToNumber(t.gasUsed),t.effectiveGasPrice&&(t.effectiveGasPrice=u.hexToNumber(t.effectiveGasPrice))),Array.isArray(t.logs)&&(t.logs=t.logs.map(p)),t.contractAddress&&(t.contractAddress=u.toChecksumAddress(t.contractAddress)),void 0!==t.status&&null!==t.status&&(t.status=Boolean(parseInt(t.status))),t},outputBlockFormatter:function(t,e){return e||(t.gasLimit=u.hexToNumber(t.gasLimit),t.gasUsed=u.hexToNumber(t.gasUsed),t.size=u.hexToNumber(t.size),t.timestamp=u.hexToNumber(t.timestamp),null!==t.number&&(t.number=u.hexToNumber(t.number))),t.difficulty&&(t.difficulty=l(t.difficulty)),t.totalDifficulty&&(t.totalDifficulty=l(t.totalDifficulty)),Array.isArray(t.transactions)&&t.transactions.forEach((function(t){if("string"!=typeof t)return d(t,e)})),t.miner&&(t.miner=u.toChecksumAddress(t.miner)),t.baseFeePerGas&&(t.baseFeePerGas=u.hexToNumber(t.baseFeePerGas)),t},outputLogFormatter:p,outputPostFormatter:function(t){return t.expiry=u.hexToNumber(t.expiry),t.sent=u.hexToNumber(t.sent),t.ttl=u.hexToNumber(t.ttl),t.workProved=u.hexToNumber(t.workProved),t.topics||(t.topics=[]),t.topics=t.topics.map((function(t){return u.toUtf8(t)})),t},outputSyncingFormatter:function(t){return t.startingBlock=u.hexToNumber(t.startingBlock),t.currentBlock=u.hexToNumber(t.currentBlock),t.highestBlock=u.hexToNumber(t.highestBlock),t.knownStates&&(t.knownStates=u.hexToNumber(t.knownStates),t.pulledStates=u.hexToNumber(t.pulledStates)),t}}},11314:(t,e,r)=>{"use strict";var n=r(94246),i=r(32084);t.exports={errors:n,formatters:i}},53349:(t,e,r)=>{"use strict";var n=r(28847),i=n(r(82247)),o=n(r(74519)),a=n(r(90775)),s=n(r(94571)),u=n(r(3355));function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function l(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach((function(e){(0,a.default)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var h=r(11314).errors,f=r(11314).formatters,d=r(48161),p=r(90282),m=r(34178).subscriptions,g=r(21936),y=function(t){if(!t.call||!t.name)throw new Error('When creating a method you need to provide at least the "name" and "call" property.');this.name=t.name,this.call=t.call,this.params=t.params||0,this.inputFormatter=t.inputFormatter,this.outputFormatter=t.outputFormatter,this.transformPayload=t.transformPayload,this.extraFormatters=t.extraFormatters,this.abiCoder=t.abiCoder,this.requestManager=t.requestManager,this.accounts=t.accounts,this.defaultBlock=t.defaultBlock||"latest",this.defaultAccount=t.defaultAccount||null,this.transactionBlockTimeout=t.transactionBlockTimeout||50,this.transactionConfirmationBlocks=t.transactionConfirmationBlocks||24,this.transactionPollingTimeout=t.transactionPollingTimeout||750,this.transactionPollingInterval=t.transactionPollingInterval||1e3,this.blockHeaderTimeout=t.blockHeaderTimeout||10,this.defaultCommon=t.defaultCommon,this.defaultChain=t.defaultChain,this.defaultHardfork=t.defaultHardfork,this.handleRevert=t.handleRevert};y.prototype.setRequestManager=function(t,e){this.requestManager=t,e&&(this.accounts=e)},y.prototype.createFunction=function(t,e){var r=this.buildCall();return Object.defineProperty(r,"call",{configurable:!0,writable:!0,value:this.call}),this.setRequestManager(t||this.requestManager,e||this.accounts),r},y.prototype.attachToObject=function(t){var e=this.buildCall();Object.defineProperty(e,"call",{configurable:!0,writable:!0,value:this.call});var r=this.name.split(".");r.length>1?(t[r[0]]=t[r[0]]||{},t[r[0]][r[1]]=e):t[r[0]]=e},y.prototype.getCall=function(t){return"function"==typeof this.call?this.call(t):this.call},y.prototype.extractCallback=function(t){if("function"==typeof t[t.length-1])return t.pop()},y.prototype.validateArgs=function(t){if(t.length!==this.params)throw h.InvalidNumberOfParams(t.length,this.params,this.name)},y.prototype.formatInput=function(t){var e=this;return this.inputFormatter?this.inputFormatter.map((function(r,n){return r?r.call(e,t[n]):t[n]})):t},y.prototype.formatOutput=function(t){var e=this;return Array.isArray(t)?t.map((function(t){return e.outputFormatter&&t?e.outputFormatter(t,null==this?void 0:this.hexFormat):t})):this.outputFormatter&&t?this.outputFormatter(t,null==this?void 0:this.hexFormat):t},y.prototype.toPayload=function(t){var e=this.getCall(t),r=this.extractCallback(t),n=this.formatInput(t);this.validateArgs(n);var i={method:e,params:n,callback:r};return this.transformPayload&&(i=this.transformPayload(i)),i},y.prototype._confirmTransaction=function(t,e,r){var n=this,o=!1,a=!0,c=0,l=0,v=null,b=null,_=null,w=r.params[0]&&"object"===(0,u.default)(r.params[0])&&r.params[0].gas?r.params[0].gas:null,x=!!r.params[0]&&"object"===(0,u.default)(r.params[0])&&r.params[0].data&&r.params[0].from&&!r.params[0].to,k=x&&r.params[0].data.length>2,S=[new y({name:"getBlockByNumber",call:"eth_getBlockByNumber",params:2,inputFormatter:[f.inputBlockNumberFormatter,function(t){return!!t}],outputFormatter:f.outputBlockFormatter}),new y({name:"getTransactionReceipt",call:"eth_getTransactionReceipt",params:1,inputFormatter:[null],outputFormatter:f.outputTransactionReceiptFormatter}),new y({name:"getCode",call:"eth_getCode",params:2,inputFormatter:[f.inputAddressFormatter,f.inputDefaultBlockNumberFormatter]}),new y({name:"getTransactionByHash",call:"eth_getTransactionByHash",params:1,inputFormatter:[null],outputFormatter:f.outputTransactionFormatter}),new m({name:"subscribe",type:"eth",subscriptions:{newBlockHeaders:{subscriptionName:"newHeads",params:0,outputFormatter:f.outputBlockFormatter}}})],E={};S.forEach((function(t){t.attachToObject(E),t.requestManager=n.requestManager}));var M=function(u,m,y,S,M){if(!y)return M||(M={unsubscribe:function(){clearInterval(v),clearTimeout(b)}}),(u?p.resolve(u):E.getTransactionReceipt(e)).catch((function(e){M.unsubscribe(),o=!0,d._fireError({message:"Failed to check for transaction receipt:",data:e},t.eventEmitter,t.reject)})).then(function(){var e=(0,s.default)(i.default.mark((function e(r){var o,s,c;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r&&r.blockHash){e.next=2;break}throw new Error("Receipt missing or blockHash null");case 2:if(n.extraFormatters&&n.extraFormatters.receiptFormatter&&(r=n.extraFormatters.receiptFormatter(r)),!(t.eventEmitter.listeners("confirmation").length>0)){e.next=28;break}if(void 0!==u&&0===l){e.next=25;break}return e.next=7,E.getBlockByNumber("latest");case 7:if(s=e.sent,c=s?s.hash:null,!m){e.next=24;break}if(!_){e.next=17;break}return e.next=13,E.getBlockByNumber(_.number+1);case 13:(o=e.sent)&&(_=o,t.eventEmitter.emit("confirmation",l,r,c)),e.next=22;break;case 17:return e.next=19,E.getBlockByNumber(r.blockNumber);case 19:o=e.sent,_=o,t.eventEmitter.emit("confirmation",l,r,c);case 22:e.next=25;break;case 24:t.eventEmitter.emit("confirmation",l,r,c);case 25:(m&&o||!m)&&l++,a=!1,l===n.transactionConfirmationBlocks+1&&(M.unsubscribe(),t.eventEmitter.removeAllListeners());case 28:return e.abrupt("return",r);case 29:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).then(function(){var e=(0,s.default)(i.default.mark((function e(r){var s;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!x||o){e.next=19;break}if(r.contractAddress){e.next=5;break}return a&&(M.unsubscribe(),o=!0),d._fireError(h.NoContractAddressFoundError(r),t.eventEmitter,t.reject,null,r),e.abrupt("return");case 5:return e.prev=5,e.next=8,E.getCode(r.contractAddress);case 8:s=e.sent,e.next=13;break;case 11:e.prev=11,e.t0=e.catch(5);case 13:if(s){e.next=15;break}return e.abrupt("return");case 15:!0===r.status&&k||s.length>2?(t.eventEmitter.emit("receipt",r),n.extraFormatters&&n.extraFormatters.contractDeployFormatter?t.resolve(n.extraFormatters.contractDeployFormatter(r)):t.resolve(r),a&&t.eventEmitter.removeAllListeners()):d._fireError(h.ContractCodeNotStoredError(r),t.eventEmitter,t.reject,null,r),a&&M.unsubscribe(),o=!0;case 19:return e.abrupt("return",r);case 20:case"end":return e.stop()}}),e,null,[[5,11]])})));return function(t){return e.apply(this,arguments)}}()).then(function(){var e=(0,s.default)(i.default.mark((function e(s){var u,c,l,p;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(x||o){e.next=35;break}if(s.outOfGas||w&&w===s.gasUsed||!0!==s.status&&"0x1"!==s.status&&void 0!==s.status){e.next=7;break}t.eventEmitter.emit("receipt",s),t.resolve(s),a&&t.eventEmitter.removeAllListeners(),e.next=33;break;case 7:if(JSON.stringify(s,null,2),!1!==s.status&&"0x0"!==s.status){e.next=32;break}if(e.prev=9,u=null,!n.handleRevert||"eth_sendTransaction"!==n.call&&"eth_sendRawTransaction"!==n.call){e.next=24;break}return c=r.params[0],"eth_sendRawTransaction"===n.call&&(l=r.params[0],p=g.parse(l),c=f.inputTransactionFormatter({data:p.data,to:p.to,from:p.from,gas:p.gasLimit.toHexString(),gasPrice:p.gasPrice?p.gasPrice.toHexString():void 0,value:p.value.toHexString()})),e.next=16,n.getRevertReason(c,s.blockNumber);case 16:if(!(u=e.sent)){e.next=21;break}d._fireError(h.TransactionRevertInstructionError(u.reason,u.signature,s),t.eventEmitter,t.reject,null,s),e.next=22;break;case 21:throw!1;case 22:e.next=25;break;case 24:throw!1;case 25:e.next=30;break;case 27:e.prev=27,e.t0=e.catch(9),d._fireError(h.TransactionRevertedWithoutReasonError(s),t.eventEmitter,t.reject,null,s);case 30:e.next=33;break;case 32:d._fireError(h.TransactionOutOfGasError(s),t.eventEmitter,t.reject,null,s);case 33:a&&M.unsubscribe(),o=!0;case 35:case"end":return e.stop()}}),e,null,[[9,27]])})));return function(t){return e.apply(this,arguments)}}()).catch((function(){c++,m?c-1>=n.transactionPollingTimeout&&(M.unsubscribe(),o=!0,d._fireError(h.TransactionError("Transaction was not mined within "+n.transactionPollingTimeout+" seconds, please make sure your transaction was properly sent. Be aware that it might still be mined!"),t.eventEmitter,t.reject)):c-1>=n.transactionBlockTimeout&&(M.unsubscribe(),o=!0,d._fireError(h.TransactionError("Transaction was not mined within "+n.transactionBlockTimeout+" blocks, please make sure your transaction was properly sent. Be aware that it might still be mined!"),t.eventEmitter,t.reject))}));M.unsubscribe(),o=!0,d._fireError({message:"Failed to subscribe to new newBlockHeaders to confirm the transaction receipts.",data:y},t.eventEmitter,t.reject)},A=function(t){var e=!1,r=function(){v=setInterval(M.bind(null,t,!0),n.transactionPollingInterval)};if(!this.requestManager.provider.on)return r();E.subscribe("newBlockHeaders",(function(n,i,o){if(e=!0,n||!i)return r();M(t,!1,n,0,o)})),b=setTimeout((function(){e||r()}),1e3*this.blockHeaderTimeout)}.bind(this);E.getTransactionReceipt(e).then((function(e){e&&e.blockHash?(t.eventEmitter.listeners("confirmation").length>0&&A(e),M(e,!1)):o||A()})).catch((function(){o||A()}))};var v=function(t,e){return"number"==typeof t?e.wallet[t]:t&&"object"===(0,u.default)(t)&&t.address&&t.privateKey?t:e.wallet[t.toLowerCase()]};y.prototype.buildCall=function(){var t=this,e="eth_sendTransaction"===t.call||"eth_sendRawTransaction"===t.call,r="eth_call"===t.call,n=function(){var n=Array.prototype.slice.call(arguments),i=p(!e),a=t.toPayload(n);t.hexFormat=!1,"eth_getTransactionReceipt"!==t.call&&"eth_getTransactionByHash"!==t.call&&"getBlock"!==t.name||(t.hexFormat=a.params.length<n.length&&"hex"===n[n.length-1]);var s=function(n,o){if(t.handleRevert&&r&&t.abiCoder){var s;if(!n&&t.isRevertReasonString(o))s=o.substring(10);else if(n&&n.data){var c;s="object"===(0,u.default)(n.data)?(null!==(c=n.data.originalError)&&void 0!==c?c:n.data).data.substring(10):n.data.substring(10)}if(s){var l=t.abiCoder.decodeParameter("string","0x"+s),f="Error(String)";return void d._fireError(h.RevertInstructionError(l,f),i.eventEmitter,i.reject,a.callback,{reason:l,signature:f})}}try{o=t.formatOutput(o)}catch(t){n=t}if(o instanceof Error&&(n=o),n)return n.error&&(n=n.error),d._fireError(n,i.eventEmitter,i.reject,a.callback);a.callback&&a.callback(null,o),e?(i.eventEmitter.emit("transactionHash",o),t._confirmTransaction(i,o,a)):n||i.resolve(o)},c=function(e){var r=l(l({},a),{},{method:"eth_sendRawTransaction",params:[e.rawTransaction]});t.requestManager.send(r,s)},f=function(t,e){var r;if(e&&e.accounts&&e.accounts.wallet&&e.accounts.wallet.length)if("eth_sendTransaction"===t.method){var n=t.params[0];if((r=v(n&&"object"===(0,u.default)(n)?n.from:null,e.accounts))&&r.privateKey)return delete(n=JSON.parse(JSON.stringify(n))).from,e.defaultChain&&!n.chain&&(n.chain=e.defaultChain),e.defaultHardfork&&!n.hardfork&&(n.hardfork=e.defaultHardfork),e.defaultCommon&&!n.common&&(n.common=e.defaultCommon),void e.accounts.signTransaction(n,r.privateKey).then(c).catch((function(t){if("function"==typeof i.eventEmitter.listeners&&i.eventEmitter.listeners("error").length){try{i.eventEmitter.emit("error",t)}catch(t){}i.eventEmitter.removeAllListeners(),i.eventEmitter.catch((function(){}))}i.reject(t)}))}else if("eth_sign"===t.method){var o=t.params[1];if((r=v(t.params[0],e.accounts))&&r.privateKey){var a=e.accounts.sign(o,r.privateKey);return t.callback&&t.callback(null,a.signature),void i.resolve(a.signature)}}return e.requestManager.send(t,s)},m=e&&!!a.params[0]&&"object"===(0,u.default)(a.params[0]);return m&&"0x1"===a.params[0].type&&void 0===a.params[0].accessList&&(a.params[0].accessList=[]),!m||void 0!==a.params[0].gasPrice||void 0!==a.params[0].maxPriorityFeePerGas&&void 0!==a.params[0].maxFeePerGas?(e&&setTimeout((function(){i.eventEmitter.emit("sending",a)}),0),f(a,t)):function(t,e){return new Promise((function(r,n){try{var i=new y({name:"getBlockByNumber",call:"eth_getBlockByNumber",params:2,inputFormatter:[function(t){return t?d.toHex(t):"latest"},function(){return!1}]}).createFunction(t.requestManager),a=new y({name:"getGasPrice",call:"eth_gasPrice",params:0}).createFunction(t.requestManager);Promise.all([i(),a()]).then((function(t){var n=(0,o.default)(t,2),i=n[0],a=n[1];if(("0x2"===e.type||void 0===e.type)&&i&&i.baseFeePerGas){var s,u;e.gasPrice?(s=e.gasPrice,u=e.gasPrice,delete e.gasPrice):(s=e.maxPriorityFeePerGas||"0x9502F900",u=e.maxFeePerGas||d.toHex(d.toBN(i.baseFeePerGas).mul(d.toBN(2)).add(d.toBN(s)))),r({maxFeePerGas:u,maxPriorityFeePerGas:s})}else{if(e.maxPriorityFeePerGas||e.maxFeePerGas)throw Error("Network doesn't support eip-1559");r({gasPrice:a})}}))}catch(t){n(t)}}))}(t,a.params[0]).then((function(r){void 0!==r.gasPrice?a.params[0].gasPrice=r.gasPrice:void 0!==r.maxPriorityFeePerGas&&void 0!==r.maxFeePerGas&&(a.params[0].maxPriorityFeePerGas=r.maxPriorityFeePerGas,a.params[0].maxFeePerGas=r.maxFeePerGas),e&&setTimeout((function(){i.eventEmitter.emit("sending",a)}),0),f(a,t)})),e&&setTimeout((function(){i.eventEmitter.emit("sent",a)}),0),i.eventEmitter};return n.method=t,n.request=this.request.bind(this),n},y.prototype.getRevertReason=function(t,e){var r=this;return new Promise((function(n,i){new y({name:"call",call:"eth_call",params:2,abiCoder:r.abiCoder,handleRevert:!0}).createFunction(r.requestManager)(t,d.numberToHex(e)).then((function(){n(!1)})).catch((function(t){t.reason?n({reason:t.reason,signature:t.signature}):i(t)}))}))},y.prototype.isRevertReasonString=function(t){return"string"==typeof t&&(t.length-2)/2%32==4&&"0x08c379a0"===t.substring(0,10)},y.prototype.request=function(){var t=this.toPayload(Array.prototype.slice.call(arguments));return t.format=this.formatOutput.bind(this),t},t.exports=y},90282:(t,e,r)=>{"use strict";var n=r(98008),i=function(t){var e,r,i=new Promise((function(){e=arguments[0],r=arguments[1]}));if(t)return{resolve:e,reject:r,eventEmitter:i};var o=new n;return i._events=o._events,i.emit=o.emit,i.on=o.on,i.once=o.once,i.off=o.off,i.listeners=o.listeners,i.addListener=o.addListener,i.removeListener=o.removeListener,i.removeAllListeners=o.removeAllListeners,{resolve:e,reject:r,eventEmitter:i}};i.resolve=function(t){var e=i(!0);return e.resolve(t),e.eventEmitter},t.exports=i},35229:(t,e,r)=>{"use strict";var n=r(48155),i=r(11314).errors,o=function(t){this.requestManager=t,this.requests=[]};o.prototype.add=function(t){this.requests.push(t)},o.prototype.execute=function(){var t=this.requests,e=this._sortResponses.bind(this);this.requestManager.sendBatch(t,(function(r,o){o=e(o),t.map((function(t,e){return o[e]||{}})).forEach((function(e,r){if(t[r].callback){if(e&&e.error)return t[r].callback(i.ErrorResponse(e));if(!n.isValidResponse(e))return t[r].callback(i.InvalidResponse(e));try{t[r].callback(null,t[r].format?t[r].format(e.result):e.result)}catch(e){t[r].callback(e)}}}))}))},o.prototype._sortResponses=function(t){return(t||[]).sort((function(t,e){return t.id-e.id}))},t.exports=o},99764:(t,e,r)=>{"use strict";var n=r(28847)(r(3355)),i=null,o="object"===("undefined"==typeof globalThis?"undefined":(0,n.default)(globalThis))?globalThis:void 0;if(!o)try{o=Function("return this")()}catch(t){o=self}void 0!==o.ethereum?i=o.ethereum:void 0!==o.web3&&o.web3.currentProvider&&(o.web3.currentProvider.sendAsync&&(o.web3.currentProvider.send=o.web3.currentProvider.sendAsync,delete o.web3.currentProvider.sendAsync),!o.web3.currentProvider.on&&o.web3.currentProvider.connection&&"ipcProviderWrapper"===o.web3.currentProvider.connection.constructor.name&&(o.web3.currentProvider.on=function(t,e){if("function"!=typeof e)throw new Error("The second parameter callback must be a function.");"data"===t?this.connection.on("data",(function(t){var r="";t=t.toString();try{r=JSON.parse(t)}catch(r){return e(new Error("Couldn't parse response data"+t))}r.id||-1===r.method.indexOf("_subscription")||e(null,r)})):this.connection.on(t,e)}),i=o.web3.currentProvider),t.exports=i},92033:(t,e,r)=>{"use strict";var n=r(28847)(r(3355)),i=r(45058).callbackify,o=r(11314).errors,a=r(48155),s=r(35229),u=r(99764),c=function t(e,r){this.provider=null,this.providers=t.providers,this.setProvider(e,r),this.subscriptions=new Map};c.givenProvider=u,c.providers={WebsocketProvider:r(77651),HttpProvider:r(14565),IpcProvider:r(52683)},c.prototype.setProvider=function(t,e){var r=this;if(t&&"string"==typeof t&&this.providers)if(/^http(s)?:\/\//i.test(t))t=new this.providers.HttpProvider(t);else if(/^ws(s)?:\/\//i.test(t))t=new this.providers.WebsocketProvider(t);else if(t&&"object"===(0,n.default)(e)&&"function"==typeof e.connect)t=new this.providers.IpcProvider(t,e);else if(t)throw new Error("Can't autodetect provider for \""+t+'"');this.provider&&this.provider.connected&&this.clearSubscriptions(),this.provider=t||null,this.provider&&this.provider.on&&("function"==typeof t.request?this.provider.on("message",(function(t){if(t&&"eth_subscription"===t.type&&t.data){var e=t.data;e.subscription&&r.subscriptions.has(e.subscription)&&r.subscriptions.get(e.subscription).callback(null,e.result)}})):this.provider.on("data",(function(t,e){(t=t||e).method&&t.params&&t.params.subscription&&r.subscriptions.has(t.params.subscription)&&r.subscriptions.get(t.params.subscription).callback(null,t.params.result)})),this.provider.on("connect",(function(){r.subscriptions.forEach((function(t){t.subscription.resubscribe()}))})),this.provider.on("error",(function(t){r.subscriptions.forEach((function(e){e.callback(t)}))})),this.provider.on("disconnect",(function(t){r._isCleanCloseEvent(t)&&!r._isIpcCloseError(t)||(r.subscriptions.forEach((function(e){e.callback(o.ConnectionCloseError(t)),r.subscriptions.delete(e.subscription.id)})),r.provider&&r.provider.emit&&r.provider.emit("error",o.ConnectionCloseError(t))),r.provider&&r.provider.emit&&r.provider.emit("end",t)})))},c.prototype.send=function(t,e){if(e=e||function(){},!this.provider)return e(o.InvalidProvider());var r=t.method,n=t.params,s=a.toPayload(r,n),u=this._jsonrpcResultCallback(e,s);if(this.provider.request)i(this.provider.request.bind(this.provider))({method:r,params:n},e);else if(this.provider.sendAsync)this.provider.sendAsync(s,u);else{if(!this.provider.send)throw new Error("Provider does not have a request or send method to use.");this.provider.send(s,u)}},c.prototype.sendBatch=function(t,e){if(!this.provider)return e(o.InvalidProvider());var r=a.toBatchPayload(t);this.provider[this.provider.sendAsync?"sendAsync":"send"](r,(function(t,r){return t?e(t):Array.isArray(r)?void e(null,r):e(o.InvalidResponse(r))}))},c.prototype.addSubscription=function(t,e){if(!this.provider.on)throw new Error("The provider doesn't support subscriptions: "+this.provider.constructor.name);this.subscriptions.set(t.id,{callback:e,subscription:t})},c.prototype.removeSubscription=function(t,e){if(this.subscriptions.has(t)){var r=this.subscriptions.get(t).subscription.options.type;return this.subscriptions.delete(t),void this.send({method:r+"_unsubscribe",params:[t]},e)}"function"==typeof e&&e(null)},c.prototype.clearSubscriptions=function(t){try{var e=this;return this.subscriptions.size>0&&this.subscriptions.forEach((function(r,n){t&&"syncing"===r.name||e.removeSubscription(n)})),this.provider.reset&&this.provider.reset(),!0}catch(t){throw new Error("Error while clearing subscriptions: ".concat(t))}},c.prototype._isCleanCloseEvent=function(t){return"object"===(0,n.default)(t)&&([1e3].includes(t.code)||!0===t.wasClean)},c.prototype._isIpcCloseError=function(t){return"boolean"==typeof t&&t},c.prototype._jsonrpcResultCallback=function(t,e){return function(r,n){return n&&n.id&&e.id!==n.id?t(new Error("Wrong response id ".concat(n.id," (expected: ").concat(e.id,") in ").concat(JSON.stringify(e)))):r?t(r):n&&n.error?t(o.ErrorResponse(n)):a.isValidResponse(n)?void t(null,n.result):t(o.InvalidResponse(n))}},t.exports={Manager:c,BatchManager:s}},48155:t=>{"use strict";var e={messageId:Math.floor(Math.random()*Number.MAX_SAFE_INTEGER),toPayload:function(t,r){if(!t)throw new Error('JSONRPC method should be specified for params: "'+JSON.stringify(r)+'"!');return e.messageId===Number.MAX_SAFE_INTEGER?e.messageId=Math.floor(Math.random()*Number.MAX_SAFE_INTEGER):e.messageId++,{jsonrpc:"2.0",id:e.messageId,method:t,params:r||[]}},isValidResponse:function(t){return Array.isArray(t)?t.every(e):e(t);function e(t){return!(!t||t.error||"2.0"!==t.jsonrpc||"number"!=typeof t.id&&"string"!=typeof t.id||void 0===t.result)}},toBatchPayload:function(t){return t.map((function(t){return e.toPayload(t.method,t.params)}))}};t.exports=e},34178:(t,e,r)=>{"use strict";var n=r(42929),i=function(t){this.name=t.name,this.type=t.type,this.subscriptions=t.subscriptions||{},this.requestManager=null};i.prototype.setRequestManager=function(t){this.requestManager=t},i.prototype.attachToObject=function(t){var e=this.buildCall(),r=this.name.split(".");r.length>1?(t[r[0]]=t[r[0]]||{},t[r[0]][r[1]]=e):t[r[0]]=e},i.prototype.buildCall=function(){var t=this;return function(){t.subscriptions[arguments[0]]||console.warn("Subscription "+JSON.stringify(arguments[0])+" doesn't exist. Subscribing anyway.");var e=new n({subscription:t.subscriptions[arguments[0]]||{},requestManager:t.requestManager,type:t.type});return e.subscribe.apply(e,arguments)}},t.exports={subscriptions:i,subscription:n}},42929:(t,e,r)=>{"use strict";var n=r(28847)(r(3355)),i=r(11314).errors,o=r(98008),a=r(11314).formatters;function s(t){return t}function u(t){o.call(this),this.id=null,this.callback=s,this.arguments=null,this.lastBlock=null,this.options={subscription:t.subscription,type:t.type,requestManager:t.requestManager}}u.prototype=Object.create(o.prototype),u.prototype.constructor=u,u.prototype._extractCallback=function(t){if("function"==typeof t[t.length-1])return t.pop()},u.prototype._validateArgs=function(t){var e=this.options.subscription;if(e||(e={}),e.params||(e.params=0),t.length!==e.params)throw i.InvalidNumberOfParams(t.length,e.params,e.subscriptionName)},u.prototype._formatInput=function(t){var e=this.options.subscription;return e&&e.inputFormatter?e.inputFormatter.map((function(e,r){return e?e(t[r]):t[r]})):t},u.prototype._formatOutput=function(t){var e=this.options.subscription;return e&&e.outputFormatter&&t?e.outputFormatter(t):t},u.prototype._toPayload=function(t){var e=[];if(this.callback=this._extractCallback(t)||s,this.subscriptionMethod||(this.subscriptionMethod=t.shift(),this.options.subscription.subscriptionName&&(this.subscriptionMethod=this.options.subscription.subscriptionName)),this.arguments||(this.arguments=this._formatInput(t),this._validateArgs(this.arguments),t=[]),e.push(this.subscriptionMethod),e=e.concat(this.arguments),t.length)throw new Error("Only a callback is allowed as parameter on an already instantiated subscription.");return{method:this.options.type+"_subscribe",params:e}},u.prototype.unsubscribe=function(t){this.options.requestManager.removeSubscription(this.id,t),this.id=null,this.lastBlock=null,this.removeAllListeners()},u.prototype.subscribe=function(){var t=this,e=Array.prototype.slice.call(arguments),r=this._toPayload(e);if(!r)return this;if(!this.options.requestManager.provider)return setTimeout((function(){var e=new Error("No provider set.");t.callback(e,null,t),t.emit("error",e)}),0),this;if(!this.options.requestManager.provider.on)return setTimeout((function(){var e=new Error("The current provider doesn't support subscriptions: "+t.options.requestManager.provider.constructor.name);t.callback(e,null,t),t.emit("error",e)}),0),this;if(this.lastBlock&&this.options.params&&"object"===(0,n.default)(this.options.params)&&(r.params[1]=this.options.params,r.params[1].fromBlock=a.inputBlockNumberFormatter(this.lastBlock+1)),this.id&&this.unsubscribe(),this.options.params=r.params[1],"logs"===r.params[0]&&r.params[1]&&"object"===(0,n.default)(r.params[1])&&r.params[1].hasOwnProperty("fromBlock")&&isFinite(r.params[1].fromBlock)){var i=Object.assign({},r.params[1]);this.options.requestManager.send({method:"eth_getLogs",params:[i]},(function(e,r){e?setTimeout((function(){t.callback(e,null,t),t.emit("error",e)}),0):r.forEach((function(e){var r=t._formatOutput(e);t.callback(null,r,t),t.emit("data",r)}))}))}return"object"===(0,n.default)(r.params[1])&&delete r.params[1].fromBlock,this.options.requestManager.send(r,(function(e,i){!e&&i?(t.id=i,t.method=r.params[0],t.options.requestManager.addSubscription(t,(function(e,r){e?(t.callback(e,!1,t),t.emit("error",e)):(Array.isArray(r)||(r=[r]),r.forEach((function(e){var r=t._formatOutput(e);if(t.lastBlock=r&&"object"===(0,n.default)(r)?r.blockNumber:null,"function"==typeof t.options.subscription.subscriptionHandler)return t.options.subscription.subscriptionHandler.call(t,r);t.emit("data",r),t.callback(null,r,t)})))})),t.emit("connected",i)):setTimeout((function(){t.callback(e,!1,t),t.emit("error",e)}),0)})),this},u.prototype.resubscribe=function(){this.options.requestManager.removeSubscription(this.id),this.id=null,this.subscribe(this.callback)},t.exports=u},1949:(t,e,r)=>{"use strict";var n=r(11314).formatters,i=r(53349),o=r(48161);t.exports=function(t){var e=function(e){var r;return e.property?(t[e.property]||(t[e.property]={}),r=t[e.property]):r=t,e.methods&&e.methods.forEach((function(e){e instanceof i||(e=new i(e)),e.attachToObject(r),e.setRequestManager(t._requestManager)})),t};return e.formatters=n,e.utils=o,e.Method=i,e}},80606:(t,e,r)=>{"use strict";var n=r(92033),i=r(1949);t.exports={packageInit:function(t,e){if(e=Array.prototype.slice.call(e),!t)throw new Error('You need to instantiate using the "new" keyword.');Object.defineProperty(t,"currentProvider",{get:function(){return t._provider},set:function(e){return t.setProvider(e)},enumerable:!0,configurable:!0}),e[0]&&e[0]._requestManager?t._requestManager=e[0]._requestManager:t._requestManager=new n.Manager(e[0],e[1]),t.givenProvider=n.Manager.givenProvider,t.providers=n.Manager.providers,t._provider=t._requestManager.provider,t.setProvider||(t.setProvider=function(e,r){return t._requestManager.setProvider(e,r),t._provider=t._requestManager.provider,!0}),t.setRequestManager=function(e){t._requestManager=e,t._provider=e.provider},t.BatchRequest=n.BatchManager.bind(null,t._requestManager),t.extend=i(t)},addProviders:function(t){t.givenProvider=n.Manager.givenProvider,t.providers=n.Manager.providers}}},79901:(t,e,r)=>{"use strict";var n=r(28847)(r(3355)),i=r(29033).Buffer,o=r(48161),a=r(62914).RQ,s=r(62914)._R,u=new a((function(t,e){return!t.match(/^u?int/)||Array.isArray(e)||e&&"object"===(0,n.default)(e)&&"BN"===e.constructor.name?e:e.toString()}));function c(){}var l=function(){};l.prototype.encodeFunctionSignature=function(t){return("function"==typeof t||"object"===(0,n.default)(t)&&t)&&(t=o._jsonInterfaceMethodToString(t)),o.sha3(t).slice(0,10)},l.prototype.encodeEventSignature=function(t){return("function"==typeof t||"object"===(0,n.default)(t)&&t)&&(t=o._jsonInterfaceMethodToString(t)),o.sha3(t)},l.prototype.encodeParameter=function(t,e){return this.encodeParameters([t],[e])},l.prototype.encodeParameters=function(t,e){var r=this;return t=r.mapTypes(t),e=e.map((function(e,i){var o=t[i];return"object"===(0,n.default)(o)&&o.type&&(o=o.type),e=r.formatParam(o,e),"string"==typeof o&&o.includes("tuple")&&function t(e,n){if("array"===e.name){if(!e.type.match(/\[(\d+)\]/))return n.map((function(r){return t(u._getCoder(s.from(e.type.replace("[]",""))),r)}));var i=parseInt(e.type.match(/\[(\d+)\]/)[1]);if(n.length!==i)throw new Error("Array length does not matches with the given input");return n.map((function(r){return t(u._getCoder(s.from(e.type.replace(/\[\d+\]/,""))),r)}))}e.coders.forEach((function(e,i){"tuple"===e.name?t(e,n[i]):n[i]=r.formatParam(e.name,n[i])}))}(u._getCoder(s.from(o)),e),e})),u.encode(t,e)},l.prototype.mapTypes=function(t){var e=this,r=[];return t.forEach((function(t){if("object"===(0,n.default)(t)&&"function"===t.type&&(t=Object.assign({},t,{type:"bytes24"})),e.isSimplifiedStructFormat(t)){var i=Object.keys(t)[0];r.push(Object.assign(e.mapStructNameAndType(i),{components:e.mapStructToCoderFormat(t[i])}))}else r.push(t)})),r},l.prototype.isSimplifiedStructFormat=function(t){return"object"===(0,n.default)(t)&&void 0===t.components&&void 0===t.name},l.prototype.mapStructNameAndType=function(t){var e="tuple";return t.indexOf("[]")>-1&&(e="tuple[]",t=t.slice(0,-2)),{type:e,name:t}},l.prototype.mapStructToCoderFormat=function(t){var e=this,r=[];return Object.keys(t).forEach((function(i){"object"!==(0,n.default)(t[i])?r.push({name:i,type:t[i]}):r.push(Object.assign(e.mapStructNameAndType(i),{components:e.mapStructToCoderFormat(t[i])}))})),r},l.prototype.formatParam=function(t,e){var r=this,n=new RegExp(/^bytes([0-9]*)$/),a=new RegExp(/^bytes([0-9]*)\[\]$/),s=new RegExp(/^(u?int)([0-9]*)$/),u=new RegExp(/^(u?int)([0-9]*)\[\]$/);if(o.isBN(e)||o.isBigNumber(e))return e.toString(10);if(t.match(a)||t.match(u))return e.map((function(e){return r.formatParam(t.replace("[]",""),e)}));var c=t.match(s);if(c){var l=parseInt(c[2]||"256");l/8<e.length&&(e=e.startsWith("-")?"-".concat(o.leftPad(e.substring(1),l)):o.leftPad(e,l))}if(c=t.match(n)){i.isBuffer(e)&&(e=o.toHex(e));var h=parseInt(c[1]);if(h){var f=2*h;"0x"===e.substring(0,2)&&(f+=2),e.length<f&&(e=o.rightPad(e,2*h))}e.length%2==1&&(e="0x0"+e.substring(2))}return e},l.prototype.encodeFunctionCall=function(t,e){return this.encodeFunctionSignature(t)+this.encodeParameters(t.inputs,e).replace("0x","")},l.prototype.decodeParameter=function(t,e){return this.decodeParameters([t],e)[0]},l.prototype.decodeParameters=function(t,e){return this.decodeParametersWith(t,e,!1)},l.prototype.decodeParametersWith=function(t,e,r){if(t.length>0&&(!e||"0x"===e||"0X"===e))throw new Error("Returned values aren't valid, did it run Out of Gas? You might also see this error if you are not using the correct ABI for the contract you are retrieving data from, requesting data from a block number that does not exist, or querying a node which is not fully synced.");var i=u.decode(this.mapTypes(t),"0x"+e.replace(/0x/i,""),r),o=new c;return o.__length__=0,t.forEach((function(t,e){var r=i[o.__length__],a="object"===(0,n.default)(t)&&t.type&&"string"===t.type;r="0x"!==r||a||"string"==typeof t&&"string"===t?r:null,o[e]=r,("function"==typeof t||t&&"object"===(0,n.default)(t))&&t.name&&(o[t.name]=r),o.__length__++})),o},l.prototype.decodeLog=function(t,e,r){var n=this;r=Array.isArray(r)?r:[r],e=e||"";var i=[],o=[],a=0;t.forEach((function(t,e){t.indexed?(o[e]=["bool","int","uint","address","fixed","ufixed"].find((function(e){return-1!==t.type.indexOf(e)}))?n.decodeParameter(t.type,r[a]):r[a],a++):i[e]=t}));var s=e,u=s?this.decodeParametersWith(i,s,!0):[],l=new c;return l.__length__=0,t.forEach((function(t,e){l[e]="string"===t.type?"":null,void 0!==u[e]&&(l[e]=u[e]),void 0!==o[e]&&(l[e]=o[e]),t.name&&(l[t.name]=l[e]),l.__length__++})),l};var h=new l;t.exports=h},99819:(t,e,r)=>{"use strict";var n=r(29033).Buffer,i=r(28847),o=i(r(93106)),a=i(r(3355)),s=i(r(90775)),u=i(r(74519));function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function l(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach((function(e){(0,s.default)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function h(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var f=r(80606),d=r(53349),p=r(53058),m=r(24293),g=r(67799),y=r(22679),v=r(48161),b=r(11314),_=r(42339).TransactionFactory,w=r(3863).default,x=r(3863).Hardfork,k=r(65907),S=function(t){return null==t},E=function(t){return null!=t},M=function(){var t=this;f.packageInit(this,arguments),delete this.BatchRequest,delete this.extend;var e=[new d({name:"getNetworkId",call:"net_version",params:0,outputFormatter:parseInt}),new d({name:"getChainId",call:"eth_chainId",params:0,outputFormatter:v.hexToNumber}),new d({name:"getGasPrice",call:"eth_gasPrice",params:0}),new d({name:"getTransactionCount",call:"eth_getTransactionCount",params:2,inputFormatter:[function(t){if(v.isAddress(t))return t;throw new Error("Address "+t+' is not a valid address to get the "transactionCount".')},function(){return"latest"}]}),new d({name:"getBlockByNumber",call:"eth_getBlockByNumber",params:2,inputFormatter:[function(t){return t?v.toHex(t):"latest"},function(){return!1}]})];this._ethereumCall={},e.forEach((function(e){e.attachToObject(t._ethereumCall),e.setRequestManager(t._requestManager)})),this.wallet=new T(this)};function A(t,e){return new Promise((function(r,n){try{(void 0===e.type||e.type<"0x2")&&void 0!==e.gasPrice?r({gasPrice:e.gasPrice}):"0x2"===e.type&&e.maxFeePerGas&&e.maxPriorityFeePerGas?r({maxFeePerGas:e.maxFeePerGas,maxPriorityFeePerGas:e.maxPriorityFeePerGas}):Promise.all([t._ethereumCall.getBlockByNumber(),t._ethereumCall.getGasPrice()]).then((function(t){var n=(0,u.default)(t,2),i=n[0],o=n[1];if("0x2"===e.type&&i&&i.baseFeePerGas){var a,s;e.gasPrice?(a=e.gasPrice,s=e.gasPrice,delete e.gasPrice):(a=e.maxPriorityFeePerGas||"0x9502F900",s=e.maxFeePerGas||v.toHex(v.toBN(i.baseFeePerGas).mul(v.toBN(2)).add(v.toBN(a)))),r({maxFeePerGas:s,maxPriorityFeePerGas:a})}else{if(e.maxPriorityFeePerGas||e.maxFeePerGas)throw Error("Network doesn't support eip-1559");r({gasPrice:o})}})).catch((function(t){n(t)}))}catch(t){n(t)}}))}function T(t){this._accounts=t,this.length=0,this.defaultKeyName="web3js_wallet"}M.prototype._addAccountFunctions=function(t){var e=this;return t.signTransaction=function(r,n){return e.signTransaction(r,t.privateKey,n)},t.sign=function(r){return e.sign(r,t.privateKey)},t.encrypt=function(r,n){return e.encrypt(t.privateKey,r,n)},t},M.prototype.create=function(t){return this._addAccountFunctions(p.create(t||v.randomHex(32)))},M.prototype.privateKeyToAccount=function(t,e){if(t.startsWith("0x")||(t="0x"+t),!e&&66!==t.length)throw new Error("Private key must be 32 bytes long");return this._addAccountFunctions(p.fromPrivate(t))},M.prototype.signTransaction=function(t,e,r){var i=this,o=!1,a={},s=!(!t||!(t.chain&&t.hardfork||t.common));if(r=r||function(){},!t)return o=new Error("No transaction object given!"),r(o),Promise.reject(o);if(E(t.common)&&S(t.common.customChain))return o=new Error("If tx.common is provided it must have tx.common.customChain"),r(o),Promise.reject(o);if(E(t.common)&&S(t.common.customChain.chainId))return o=new Error("If tx.common is provided it must have tx.common.customChain and tx.common.customChain.chainId"),r(o),Promise.reject(o);if(E(t.common)&&E(t.common.customChain.chainId)&&E(t.chainId)&&t.chainId!==t.common.customChain.chainId)return o=new Error("Chain Id doesnt match in tx.chainId tx.common.customChain.chainId"),r(o),Promise.reject(o);function c(t){var i=function(t){if(t.common&&t.chain&&t.hardfork)return new Error("Please provide the @ethereumjs/common object or the chain and hardfork property but not all together.");if(t.chain&&!t.hardfork||t.hardfork&&!t.chain)return new Error('When specifying chain and hardfork, both values must be defined. Received "chain": '+t.chain+', "hardfork": '+t.hardfork);if(!(t.gas||t.gasLimit||t.maxPriorityFeePerGas||t.maxFeePerGas))return new Error('"gas" is missing');if(t.gas&&t.gasPrice){if(t.gas<0||t.gasPrice<0)return new Error("Gas or gasPrice is lower than 0")}else if(t.maxPriorityFeePerGas<0||t.maxFeePerGas<0)return new Error("maxPriorityFeePerGas or maxFeePerGas is lower than 0");return t.nonce<0||t.chainId<0?new Error("Nonce or chainId is lower than 0"):void 0}(t);if(i)return r(i),Promise.reject(i);try{var o=b.formatters.inputCallFormatter(Object.assign({},t));o.data=o.data||"0x",o.value=o.value||"0x",o.gasLimit=o.gasLimit||o.gas,"0x1"===o.type&&void 0===o.accessList&&(o.accessList=[]),s?(o.common&&(a.common=w.forCustomChain(o.common.baseChain||"mainnet",{name:o.common.customChain.name||"custom-network",networkId:o.common.customChain.networkId,chainId:o.common.customChain.chainId},o.common.hardfork||x.London),delete o.common),o.chain&&(a.chain=o.chain,delete o.chain),o.hardfork&&(a.hardfork=o.hardfork,delete o.hardfork)):(a.common=w.forCustomChain("mainnet",{name:"custom-network",networkId:o.networkId,chainId:o.chainId},o.hardfork||x.London),delete o.networkId),e.startsWith("0x")&&(e=e.substring(2));var u=_.fromTxData(o,a).sign(n.from(e,"hex")),c=u.validate(!0);if(c.length>0){var l,f="Signer Error: ",d=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return h(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw o}}}}(c);try{for(d.s();!(l=d.n()).done;){var p=l.value;f+="".concat(f," ").concat(p,".")}}catch(t){d.e(t)}finally{d.f()}throw new Error(f)}var m="0x"+u.serialize().toString("hex"),g=v.keccak256(m),y={messageHash:"0x"+n.from(u.getMessageToSign(!0)).toString("hex"),v:"0x"+u.v.toString("hex"),r:"0x"+u.r.toString("hex"),s:"0x"+u.s.toString("hex"),rawTransaction:m,transactionHash:g};return r(null,y),y}catch(t){return r(t),Promise.reject(t)}}return t.type=function(t){var e,r=void 0!==t.maxFeePerGas||void 0!==t.maxPriorityFeePerGas;if(void 0!==t.type?e=v.toHex(t.type):void 0===t.type&&r&&(e="0x2"),void 0!==t.gasPrice&&("0x2"===e||r))throw Error("eip-1559 transactions don't support gasPrice");if(("0x1"===e||"0x0"===e)&&r)throw Error("pre-eip-1559 transaction don't support maxFeePerGas/maxPriorityFeePerGas");return r||t.common&&t.common.hardfork&&t.common.hardfork.toLowerCase()===x.London||t.hardfork&&t.hardfork.toLowerCase()===x.London?e="0x2":(t.accessList||t.common&&t.common.hardfork&&t.common.hardfork.toLowerCase()===x.Berlin||t.hardfork&&t.hardfork.toLowerCase()===x.Berlin)&&(e="0x1"),e}(t),void 0!==t.nonce&&void 0!==t.chainId&&(void 0!==t.gasPrice||void 0!==t.maxFeePerGas&&void 0!==t.maxPriorityFeePerGas)&&s?Promise.resolve(c(t)):Promise.all([S(t.common)||S(t.common.customChain.chainId)?S(t.chainId)?i._ethereumCall.getChainId():t.chainId:void 0,S(t.nonce)?i._ethereumCall.getTransactionCount(i.privateKeyToAccount(e).address):t.nonce,S(s)?i._ethereumCall.getNetworkId():1,A(i,t)]).then((function(e){var r=(0,u.default)(e,4),n=r[0],i=r[1],o=r[2],a=r[3];if(S(n)&&S(t.common)&&S(t.common.customChain.chainId)||S(i)||S(o)||S(a))throw new Error('One of the values "chainId", "networkId", "gasPrice", or "nonce" couldn\'t be fetched: '+JSON.stringify(e));return c(l(l(l({},t),S(t.common)||S(t.common.customChain.chainId)?{chainId:n}:{}),{},{nonce:i,networkId:o},a))}))},M.prototype.recoverTransaction=function(t){var e=n.from(t.slice(2),"hex"),r=_.fromSerializedData(e);return v.toChecksumAddress(r.getSenderAddress().toString("hex"))},M.prototype.hashMessage=function(t){var e=v.isHexStrict(t)?t:v.utf8ToHex(t),r=v.hexToBytes(e),i=n.from(r),o="Ethereum Signed Message:\n"+r.length,a=n.from(o),s=n.concat([a,i]);return k.bufferToHex(v.keccak256(s))},M.prototype.sign=function(t,e){if(e.startsWith("0x")||(e="0x"+e),66!==e.length)throw new Error("Private key must be 32 bytes long");var r=this.hashMessage(t),n=p.sign(r,e),i=p.decodeSignature(n);return{message:t,messageHash:r,v:i[0],r:i[1],s:i[2],signature:n}},M.prototype.recover=function(t,e,r){var n=[].slice.apply(arguments);return t&&"object"===(0,a.default)(t)?this.recover(t.messageHash,p.encodeSignature([t.v,t.r,t.s]),!0):(r||(t=this.hashMessage(t)),n.length>=4?(r="boolean"==typeof(r=n.slice(-1)[0])&&!!r,this.recover(t,p.encodeSignature(n.slice(1,4)),r)):p.recover(t,e))},M.prototype.decrypt=function(t,e,r){if("string"!=typeof e)throw new Error("No password given.");var i,s,u=t&&"object"===(0,a.default)(t)?t:JSON.parse(r?t.toLowerCase():t);if(3!==u.version)throw new Error("Not a valid V3 wallet");if("scrypt"===u.crypto.kdf)s=u.crypto.kdfparams,i=g.syncScrypt(n.from(e),n.from(s.salt,"hex"),s.n,s.r,s.p,s.dklen);else{if("pbkdf2"!==u.crypto.kdf)throw new Error("Unsupported key derivation scheme");if("hmac-sha256"!==(s=u.crypto.kdfparams).prf)throw new Error("Unsupported parameters to PBKDF2");i=m.pbkdf2Sync(n.from(e),n.from(s.salt,"hex"),s.c,s.dklen,"sha256")}var c=n.from(u.crypto.ciphertext,"hex");if(v.sha3(n.from([].concat((0,o.default)(i.slice(16,32)),(0,o.default)(c)))).replace("0x","")!==u.crypto.mac)throw new Error("Key derivation failed - possibly wrong password");var l=m.createDecipheriv(u.crypto.cipher,i.slice(0,16),n.from(u.crypto.cipherparams.iv,"hex")),h="0x"+n.from([].concat((0,o.default)(l.update(c)),(0,o.default)(l.final()))).toString("hex");return this.privateKeyToAccount(h,!0)},M.prototype.encrypt=function(t,e,r){var i,a=this.privateKeyToAccount(t,!0),s=(r=r||{}).salt||m.randomBytes(32),u=r.iv||m.randomBytes(16),c=r.kdf||"scrypt",l={dklen:r.dklen||32,salt:s.toString("hex")};if("pbkdf2"===c)l.c=r.c||262144,l.prf="hmac-sha256",i=m.pbkdf2Sync(n.from(e),n.from(l.salt,"hex"),l.c,l.dklen,"sha256");else{if("scrypt"!==c)throw new Error("Unsupported kdf");l.n=r.n||8192,l.r=r.r||8,l.p=r.p||1,i=g.syncScrypt(n.from(e),n.from(l.salt,"hex"),l.n,l.r,l.p,l.dklen)}var h=m.createCipheriv(r.cipher||"aes-128-ctr",i.slice(0,16),u);if(!h)throw new Error("Unsupported cipher");var f=n.from([].concat((0,o.default)(h.update(n.from(a.privateKey.replace("0x",""),"hex"))),(0,o.default)(h.final()))),d=v.sha3(n.from([].concat((0,o.default)(i.slice(16,32)),(0,o.default)(f)))).replace("0x","");return{version:3,id:y.v4({random:r.uuid||m.randomBytes(16)}),address:a.address.toLowerCase().replace("0x",""),crypto:{ciphertext:f.toString("hex"),cipherparams:{iv:u.toString("hex")},cipher:r.cipher||"aes-128-ctr",kdf:c,kdfparams:l,mac:d.toString("hex")}}},T.prototype._findSafeIndex=function(t){return t=t||0,this.hasOwnProperty(t)?this._findSafeIndex(t+1):t},T.prototype._currentIndexes=function(){return Object.keys(this).map((function(t){return parseInt(t)})).filter((function(t){return t<9e20}))},T.prototype.create=function(t,e){for(var r=0;r<t;++r)this.add(this._accounts.create(e).privateKey);return this},T.prototype.add=function(t){return"string"==typeof t&&(t=this._accounts.privateKeyToAccount(t)),this[t.address]?this[t.address]:((t=this._accounts.privateKeyToAccount(t.privateKey)).index=this._findSafeIndex(),this[t.index]=t,this[t.address]=t,this[t.address.toLowerCase()]=t,this.length++,t)},T.prototype.remove=function(t){var e=this[t];return!(!e||!e.address||(this[e.address].privateKey=null,delete this[e.address],this[e.address.toLowerCase()]&&(this[e.address.toLowerCase()].privateKey=null,delete this[e.address.toLowerCase()]),this[e.index].privateKey=null,delete this[e.index],this.length--,0))},T.prototype.clear=function(){var t=this;return this._currentIndexes().forEach((function(e){t.remove(e)})),this},T.prototype.encrypt=function(t,e){var r=this;return this._currentIndexes().map((function(n){return r[n].encrypt(t,e)}))},T.prototype.decrypt=function(t,e){var r=this;return t.forEach((function(t){var n=r._accounts.decrypt(t,e);if(!n)throw new Error("Couldn't decrypt accounts. Password wrong?");r.add(n)})),this},T.prototype.save=function(t,e){return localStorage.setItem(e||this.defaultKeyName,JSON.stringify(this.encrypt(t))),!0},T.prototype.load=function(t,e){var r=localStorage.getItem(e||this.defaultKeyName);if(r)try{r=JSON.parse(r)}catch(t){}return this.decrypt(r||[],t)},function(t){var e;try{e=self.localStorage;var r="__storage_test__";return e.setItem(r,r),e.removeItem(r),!0}catch(t){return t&&(22===t.code||1014===t.code||"QuotaExceededError"===t.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.name)&&e&&0!==e.length}}()||(delete T.prototype.save,delete T.prototype.load),t.exports=M},58164:(t,e,r)=>{"use strict";var n=r(28847),i=n(r(93106)),o=n(r(90775)),a=n(r(3355));function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function u(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function c(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?u(Object(r),!0).forEach((function(e){(0,o.default)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var l=r(80606),h=r(53349),f=r(48161),d=r(34178).subscription,p=r(11314).formatters,m=r(11314).errors,g=r(90282),y=r(79901),v=function t(e,r,n){var i=this,o=Array.prototype.slice.call(arguments);if(!(this instanceof t))throw new Error('Please use the "new" keyword to instantiate a web3.eth.Contract() object!');if(this.setProvider=function(){l.packageInit(i,arguments),i.clearSubscriptions=i._requestManager.clearSubscriptions},l.packageInit(this,[this.constructor]),this.clearSubscriptions=this._requestManager.clearSubscriptions,!e||!Array.isArray(e))throw m.ContractMissingABIError();this.options={};var s=o[o.length-1];s&&"object"===(0,a.default)(s)&&!Array.isArray(s)&&(n=s,this.options=c(c({},this.options),this._getOrSetDefaultOptions(n)),r&&"object"===(0,a.default)(r)&&(r=null)),Object.defineProperty(this.options,"address",{set:function(t){t&&(i._address=f.toChecksumAddress(p.inputAddressFormatter(t)))},get:function(){return i._address},enumerable:!0}),Object.defineProperty(this.options,"jsonInterface",{set:function(t){return i.methods={},i.events={},i._jsonInterface=t.map((function(t){var e,r;if(t.constant="view"===t.stateMutability||"pure"===t.stateMutability||t.constant,t.payable="payable"===t.stateMutability||t.payable,t.name&&(r=f._jsonInterfaceMethodToString(t)),"function"===t.type){if(t.signature=y.encodeFunctionSignature(r),e=i._createTxObject.bind({method:t,parent:i}),i.methods[t.name]){var n=i._createTxObject.bind({method:t,parent:i,nextMethod:i.methods[t.name]});i.methods[t.name]=n}else i.methods[t.name]=e;i.methods[t.signature]=e,i.methods[r]=e}else if("event"===t.type){t.signature=y.encodeEventSignature(r);var o=i._on.bind(i,t.signature);i.events[t.name]&&"bound "!==i.events[t.name].name||(i.events[t.name]=o),i.events[t.signature]=o,i.events[r]=o}return t})),i.events.allEvents=i._on.bind(i,"allevents"),i._jsonInterface},get:function(){return i._jsonInterface},enumerable:!0});var u=this.constructor.defaultAccount,h=this.constructor.defaultBlock||"latest";Object.defineProperty(this,"handleRevert",{get:function(){return!1===i.options.handleRevert||!0===i.options.handleRevert?i.options.handleRevert:this.constructor.handleRevert},set:function(t){i.options.handleRevert=t},enumerable:!0}),Object.defineProperty(this,"defaultCommon",{get:function(){return i.options.common||this.constructor.defaultCommon},set:function(t){i.options.common=t},enumerable:!0}),Object.defineProperty(this,"defaultHardfork",{get:function(){return i.options.hardfork||this.constructor.defaultHardfork},set:function(t){i.options.hardfork=t},enumerable:!0}),Object.defineProperty(this,"defaultChain",{get:function(){return i.options.chain||this.constructor.defaultChain},set:function(t){i.options.chain=t},enumerable:!0}),Object.defineProperty(this,"transactionPollingTimeout",{get:function(){return 0===i.options.transactionPollingTimeout?i.options.transactionPollingTimeout:i.options.transactionPollingTimeout||this.constructor.transactionPollingTimeout},set:function(t){i.options.transactionPollingTimeout=t},enumerable:!0}),Object.defineProperty(this,"transactionPollingInterval",{get:function(){return 0===i.options.transactionPollingInterval?i.options.transactionPollingInterval:i.options.transactionPollingInterval||this.constructor.transactionPollingInterval},set:function(t){i.options.transactionPollingInterval=t},enumerable:!0}),Object.defineProperty(this,"transactionConfirmationBlocks",{get:function(){return 0===i.options.transactionConfirmationBlocks?i.options.transactionConfirmationBlocks:i.options.transactionConfirmationBlocks||this.constructor.transactionConfirmationBlocks},set:function(t){i.options.transactionConfirmationBlocks=t},enumerable:!0}),Object.defineProperty(this,"transactionBlockTimeout",{get:function(){return 0===i.options.transactionBlockTimeout?i.options.transactionBlockTimeout:i.options.transactionBlockTimeout||this.constructor.transactionBlockTimeout},set:function(t){i.options.transactionBlockTimeout=t},enumerable:!0}),Object.defineProperty(this,"blockHeaderTimeout",{get:function(){return 0===i.options.blockHeaderTimeout?i.options.blockHeaderTimeout:i.options.blockHeaderTimeout||this.constructor.blockHeaderTimeout},set:function(t){i.options.blockHeaderTimeout=t},enumerable:!0}),Object.defineProperty(this,"defaultAccount",{get:function(){return u},set:function(t){return t&&(u=f.toChecksumAddress(p.inputAddressFormatter(t))),t},enumerable:!0}),Object.defineProperty(this,"defaultBlock",{get:function(){return h},set:function(t){return h=t,t},enumerable:!0}),this.methods={},this.events={},this._address=null,this._jsonInterface=[],this.options.address=r,this.options.jsonInterface=e};v.setProvider=function(t,e){l.packageInit(this,[t]),this._ethAccounts=e},v.prototype._getCallback=function(t){if(t&&t[t.length-1]&&"function"==typeof t[t.length-1])return t.pop()},v.prototype._checkListener=function(t,e){if(e===t)throw m.ContractReservedEventError(t)},v.prototype._getOrSetDefaultOptions=function(t){var e=c({},t),r=e.gasPrice?String(e.gasPrice):null,n=e.from?f.toChecksumAddress(p.inputAddressFormatter(e.from)):null;return e.data=e.data||this.options.data,e.from=n||this.options.from,e.gasPrice=r||this.options.gasPrice,e.gas=e.gas||e.gasLimit||this.options.gas,delete e.gasLimit,e},v.prototype._encodeEventABI=function(t,e){var r=(e=e||{}).filter||{},n={};["fromBlock","toBlock"].filter((function(t){return void 0!==e[t]})).forEach((function(t){n[t]=p.inputBlockNumberFormatter(e[t])}));var o=[];if(e.topics&&Array.isArray(e.topics))o=(0,i.default)(e.topics);else if(o=[],t&&!t.anonymous&&"ALLEVENTS"!==t.name&&o.push(t.signature||y.encodeEventSignature(f.jsonInterfaceMethodToString(t))),"ALLEVENTS"!==t.name&&t.inputs){var a,u=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return s(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){u=!0,o=t},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw o}}}}(t.inputs);try{var c=function(){var t=a.value;if(!t.indexed)return"continue";var e=r[t.name];if(!e)return o.push(null),"continue";Array.isArray(e)?o.push(e.map((function(e){return y.encodeParameter(t.type,e)}))):o.push(y.encodeParameter(t.type,e))};for(u.s();!(a=u.n()).done;)c()}catch(t){u.e(t)}finally{u.f()}}return o.length&&(n.topics=o),this.options.address&&(n.address=this.options.address.toLowerCase()),n},v.prototype._decodeEventABI=function(t){var e=this;t.data=t.data||"",t.topics=t.topics||[];var r=p.outputLogFormatter(t);if("ALLEVENTS"===e.name&&(e=e.jsonInterface.find((function(e){return e.signature===t.topics[0]}))||{anonymous:!0}),e.inputs=e.inputs||[],!e.anonymous){var n=0;e.inputs.forEach((function(t){return t.indexed?n++:null})),n>0&&t.topics.length!==n+1&&(e={anonymous:!0,inputs:[]})}var i=e.anonymous?t.topics:t.topics.slice(1);return r.returnValues=y.decodeLog(e.inputs,t.data,i),delete r.returnValues.__length__,r.event=e.name,r.signature=e.anonymous||!t.topics[0]?null:t.topics[0],r.raw={data:r.data,topics:r.topics},delete r.data,delete r.topics,r},v.prototype._encodeMethodABI=function(){var t=this._method.signature,e=this.arguments||[],r=!1,n=this._parent.options.jsonInterface.filter((function(e){return"constructor"===t&&e.type===t||(e.signature===t||e.signature===t.replace("0x","")||e.name===t)&&"function"===e.type})).map((function(t){var n=Array.isArray(t.inputs)?t.inputs.length:0;if(n!==e.length)throw new Error("The number of arguments is not matching the methods required number. You need to pass "+n+" arguments.");return"function"===t.type&&(r=t.signature),Array.isArray(t.inputs)?t.inputs:[]})).map((function(t){return y.encodeParameters(t,e).replace("0x","")}))[0]||"";if("constructor"===t){if(!this._deployData)throw new Error("The contract has no contract data option set. This is necessary to append the constructor parameters.");return this._deployData.startsWith("0x")||(this._deployData="0x"+this._deployData),this._deployData+n}var i=r?r+n:n;if(!i)throw new Error("Couldn't find a matching contract method named \""+this._method.name+'".');return i},v.prototype._decodeMethodReturn=function(t,e){if(!e)return null;e=e.length>=2?e.slice(2):e;var r=y.decodeParameters(t,e);return 1===r.__length__?r[0]:(delete r.__length__,r)},v.prototype.deploy=function(t,e){if((t=t||{}).arguments=t.arguments||[],!(t=this._getOrSetDefaultOptions(t)).data){if("function"==typeof e)return e(m.ContractMissingDeployDataError());throw m.ContractMissingDeployDataError()}var r=this.options.jsonInterface.find((function(t){return"constructor"===t.type}))||{};return r.signature="constructor",this._createTxObject.apply({method:r,parent:this,deployData:t.data,_ethAccounts:this.constructor._ethAccounts},t.arguments)},v.prototype._generateEventOptions=function(){var t=Array.prototype.slice.call(arguments),e=this._getCallback(t),r="object"===(!!t[t.length-1]&&(0,a.default)(t[t.length-1]))?t.pop():{},n="string"==typeof t[0]?t[0]:"allevents",i="allevents"===n.toLowerCase()?{name:"ALLEVENTS",jsonInterface:this.options.jsonInterface}:this.options.jsonInterface.find((function(t){return"event"===t.type&&(t.name===n||t.signature==="0x"+n.replace("0x",""))}));if(!i)throw m.ContractEventDoesNotExistError(n);if(!f.isAddress(this.options.address))throw m.ContractNoAddressDefinedError();return{params:this._encodeEventABI(i,r),event:i,filter:r.filter||{},callback:e}},v.prototype.clone=function(){return new this.constructor(this.options.jsonInterface,this.options.address,this.options)},v.prototype.once=function(t,e,r){var n=Array.prototype.slice.call(arguments);if(!(r=this._getCallback(n)))throw m.ContractOnceRequiresCallbackError();e&&delete e.fromBlock,this._on(t,e,(function(t,e,n){n.unsubscribe(),"function"==typeof r&&r(t,e,n)}))},v.prototype._on=function(){var t=this._generateEventOptions.apply(this,arguments);t.params&&t.params.toBlock&&(delete t.params.toBlock,console.warn("Invalid option: toBlock. Use getPastEvents for specific range.")),this._checkListener("newListener",t.event.name),this._checkListener("removeListener",t.event.name);var e=new d({subscription:{params:1,inputFormatter:[p.inputLogFormatter],outputFormatter:this._decodeEventABI.bind(t.event),subscriptionHandler:function(t){t.removed?this.emit("changed",t):this.emit("data",t),"function"==typeof this.callback&&this.callback(null,t,this)}},type:"eth",requestManager:this._requestManager});return e.subscribe("logs",t.params,t.callback||function(){}),e};var b=function(t,e){if(t.event&&"ALLEVENTS"===t.event.name&&Array.isArray(e)){var r=t.filter||{},n=Object.keys(r);return n.length>0?e.filter((function(t){return"string"==typeof t||n.every((function(e){return Array.isArray(r[e])?r[e].some((function(r){return String(t.returnValues[e]).toUpperCase()===String(r).toUpperCase()})):String(t.returnValues[e]).toUpperCase()===String(r[e]).toUpperCase()}))})):e}return e};v.prototype.getPastEvents=function(){var t=this._generateEventOptions.apply(this,arguments),e=new h({name:"getPastLogs",call:"eth_getLogs",params:1,inputFormatter:[p.inputLogFormatter],outputFormatter:this._decodeEventABI.bind(t.event)});e.setRequestManager(this._requestManager);var r=e.buildCall();return e=null,r(t.params,(function(e,r){"function"==typeof t.callback&&t.callback(e,b(t,r))})).then(b.bind(this,t))},v.prototype._createTxObject=function(){var t=Array.prototype.slice.call(arguments),e={};if("function"===this.method.type&&(e.call=this.parent._executeMethod.bind(e,"call"),e.call.request=this.parent._executeMethod.bind(e,"call",!0)),e.send=this.parent._executeMethod.bind(e,"send"),e.send.request=this.parent._executeMethod.bind(e,"send",!0),e.encodeABI=this.parent._encodeMethodABI.bind(e),e.estimateGas=this.parent._executeMethod.bind(e,"estimate"),e.createAccessList=this.parent._executeMethod.bind(e,"createAccessList"),t&&this.method.inputs&&t.length!==this.method.inputs.length){if(this.nextMethod)return this.nextMethod.apply(null,t);throw m.InvalidNumberOfParams(t.length,this.method.inputs.length,this.method.name)}return e.arguments=t||[],e._method=this.method,e._parent=this.parent,e._ethAccounts=this.parent.constructor._ethAccounts||this._ethAccounts,this.deployData&&(e._deployData=this.deployData),e},v.prototype._processExecuteArguments=function(t,e){var r={};if(r.type=t.shift(),r.callback=this._parent._getCallback(t),"call"!==r.type||!0===t[t.length-1]||"string"!=typeof t[t.length-1]&&!isFinite(t[t.length-1])||(r.defaultBlock=t.pop()),r.options="object"===(!!t[t.length-1]&&(0,a.default)(t[t.length-1]))?t.pop():{},r.generateRequest=!0===t[t.length-1]&&t.pop(),r.options=this._parent._getOrSetDefaultOptions(r.options),r.options.data=this.encodeABI(),!this._deployData&&!f.isAddress(this._parent.options.address))throw m.ContractNoAddressDefinedError();return this._deployData||(r.options.to=this._parent.options.address),r.options.data?r:f._fireError(new Error("Couldn't find a matching contract method, or the number of parameters is wrong."),e.eventEmitter,e.reject,r.callback)},v.prototype._executeMethod=function(){var t=this,e=this._parent._processExecuteArguments.call(this,Array.prototype.slice.call(arguments),r),r=g("send"!==e.type),n=t.constructor._ethAccounts||t._ethAccounts;if(e.generateRequest){var i={params:[p.inputCallFormatter.call(this._parent,e.options)],callback:e.callback};return"call"===e.type?(i.params.push(p.inputDefaultBlockNumberFormatter.call(this._parent,e.defaultBlock)),i.method="eth_call",i.format=this._parent._decodeMethodReturn.bind(null,this._method.outputs)):i.method="eth_sendTransaction",i}switch(e.type){case"createAccessList":return f.isAddress(e.options.from)?new h({name:"createAccessList",call:"eth_createAccessList",params:2,inputFormatter:[p.inputTransactionFormatter,p.inputDefaultBlockNumberFormatter],requestManager:t._parent._requestManager,accounts:n,defaultAccount:t._parent.defaultAccount,defaultBlock:t._parent.defaultBlock}).createFunction()(e.options,e.callback):f._fireError(m.ContractNoFromAddressDefinedError(),r.eventEmitter,r.reject,e.callback);case"estimate":return new h({name:"estimateGas",call:"eth_estimateGas",params:1,inputFormatter:[p.inputCallFormatter],outputFormatter:f.hexToNumber,requestManager:t._parent._requestManager,accounts:n,defaultAccount:t._parent.defaultAccount,defaultBlock:t._parent.defaultBlock}).createFunction()(e.options,e.callback);case"call":return new h({name:"call",call:"eth_call",params:2,inputFormatter:[p.inputCallFormatter,p.inputDefaultBlockNumberFormatter],outputFormatter:function(e){return t._parent._decodeMethodReturn(t._method.outputs,e)},requestManager:t._parent._requestManager,accounts:n,defaultAccount:t._parent.defaultAccount,defaultBlock:t._parent.defaultBlock,handleRevert:t._parent.handleRevert,abiCoder:y}).createFunction()(e.options,e.defaultBlock,e.callback);case"send":if(!f.isAddress(e.options.from))return f._fireError(m.ContractNoFromAddressDefinedError(),r.eventEmitter,r.reject,e.callback);if("boolean"==typeof this._method.payable&&!this._method.payable&&e.options.value&&e.options.value>0)return f._fireError(new Error("Can not send value to non-payable contract method or constructor"),r.eventEmitter,r.reject,e.callback);var o={receiptFormatter:function(e){if(Array.isArray(e.logs)){var r=e.logs.map((function(e){return t._parent._decodeEventABI.call({name:"ALLEVENTS",jsonInterface:t._parent.options.jsonInterface},e)}));e.events={};var n=0;r.forEach((function(t){t.event?e.events[t.event]?Array.isArray(e.events[t.event])?e.events[t.event].push(t):e.events[t.event]=[e.events[t.event],t]:e.events[t.event]=t:(e.events[n]=t,n++)})),delete e.logs}return e},contractDeployFormatter:function(e){var r=t._parent.clone();return r.options.address=e.contractAddress,r}};return new h({name:"sendTransaction",call:"eth_sendTransaction",params:1,inputFormatter:[p.inputTransactionFormatter],requestManager:t._parent._requestManager,accounts:t.constructor._ethAccounts||t._ethAccounts,defaultAccount:t._parent.defaultAccount,defaultBlock:t._parent.defaultBlock,transactionBlockTimeout:t._parent.transactionBlockTimeout,transactionConfirmationBlocks:t._parent.transactionConfirmationBlocks,transactionPollingTimeout:t._parent.transactionPollingTimeout,transactionPollingInterval:t._parent.transactionPollingInterval,defaultCommon:t._parent.defaultCommon,defaultChain:t._parent.defaultChain,defaultHardfork:t._parent.defaultHardfork,handleRevert:t._parent.handleRevert,extraFormatters:o,abiCoder:y}).createFunction()(e.options,e.callback);default:throw new Error('Method "'+e.type+'" not implemented.')}},t.exports=v},46764:(t,e,r)=>{"use strict";var n=r(28847),i=n(r(82247)),o=n(r(94571)),a=r(55160),s=r(11314).formatters,u=r(48161),c=r(11841),l=r(62867),h=r(22689);function f(t){this.eth=t;var e=null;this._detectedAddress=null,this._lastSyncCheck=null,Object.defineProperty(this,"registry",{get:function(){return new c(this)},enumerable:!0}),Object.defineProperty(this,"resolverMethodHandler",{get:function(){return new l(this.registry)},enumerable:!0}),Object.defineProperty(this,"registryAddress",{get:function(){return e},set:function(t){e=null!==t?s.inputAddressFormatter(t):t},enumerable:!0})}f.prototype.supportsInterface=function(t,e,r){return this.getResolver(t).then((function(t){return u.isHexStrict(e)||(e=u.sha3(e).slice(0,10)),t.methods.supportsInterface(e).call(r)})).catch((function(t){if("function"!=typeof r)throw t;r(t,null)}))},f.prototype.resolver=function(t,e){return this.registry.resolver(t,e)},f.prototype.getResolver=function(t,e){return this.registry.getResolver(t,e)},f.prototype.setResolver=function(t,e,r,n){return this.registry.setResolver(t,e,r,n)},f.prototype.setRecord=function(t,e,r,n,i,o){return this.registry.setRecord(t,e,r,n,i,o)},f.prototype.setSubnodeRecord=function(t,e,r,n,i,o,a){return this.registry.setSubnodeRecord(t,e,r,n,i,o,a)},f.prototype.setApprovalForAll=function(t,e,r,n){return this.registry.setApprovalForAll(t,e,r,n)},f.prototype.isApprovedForAll=function(t,e,r){return this.registry.isApprovedForAll(t,e,r)},f.prototype.recordExists=function(t,e){return this.registry.recordExists(t,e)},f.prototype.setSubnodeOwner=function(t,e,r,n,i){return this.registry.setSubnodeOwner(t,e,r,n,i)},f.prototype.getTTL=function(t,e){return this.registry.getTTL(t,e)},f.prototype.setTTL=function(t,e,r,n){return this.registry.setTTL(t,e,r,n)},f.prototype.getOwner=function(t,e){return this.registry.getOwner(t,e)},f.prototype.setOwner=function(t,e,r,n){return this.registry.setOwner(t,e,r,n)},f.prototype.getAddress=function(t,e){return this.resolverMethodHandler.method(t,"addr",[]).call(e)},f.prototype.setAddress=function(t,e,r,n){return this.resolverMethodHandler.method(t,"setAddr",[e]).send(r,n)},f.prototype.getPubkey=function(t,e){return this.resolverMethodHandler.method(t,"pubkey",[],null,e).call(e)},f.prototype.setPubkey=function(t,e,r,n,i){return this.resolverMethodHandler.method(t,"setPubkey",[e,r]).send(n,i)},f.prototype.getContent=function(t,e){return this.resolverMethodHandler.method(t,"content",[]).call(e)},f.prototype.setContent=function(t,e,r,n){return this.resolverMethodHandler.method(t,"setContent",[e]).send(r,n)},f.prototype.getContenthash=function(t,e){return this.resolverMethodHandler.method(t,"contenthash",[],h.decode).call(e)},f.prototype.setContenthash=function(t,e,r,n){var i;try{i=h.encode(e)}catch(t){var o=new Error("Could not encode "+e+". See docs for supported hash protocols.");if("function"==typeof n)return void n(o,null);throw o}return this.resolverMethodHandler.method(t,"setContenthash",[i]).send(r,n)},f.prototype.getMultihash=function(t,e){return this.resolverMethodHandler.method(t,"multihash",[]).call(e)},f.prototype.setMultihash=function(t,e,r,n){return this.resolverMethodHandler.method(t,"multihash",[e]).send(r,n)},f.prototype.checkNetwork=(0,o.default)(i.default.mark((function t(){var e,r,n,o,s;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=new Date/1e3,this._lastSyncCheck&&!(e-this._lastSyncCheck>3600)){t.next=9;break}return t.next=4,this.eth.getBlock("latest");case 4:if(r=t.sent,!((n=e-r.timestamp)>3600)){t.next=8;break}throw new Error("Network not synced; last block was "+n+" seconds ago");case 8:this._lastSyncCheck=e;case 9:if(!this.registryAddress){t.next=11;break}return t.abrupt("return",this.registryAddress);case 11:if(this._detectedAddress){t.next=20;break}return t.next=14,this.eth.net.getNetworkType();case 14:if(o=t.sent,void 0!==(s=a.addresses[o])){t.next=18;break}throw new Error("ENS is not supported on network "+o);case 18:return this._detectedAddress=s,t.abrupt("return",this._detectedAddress);case 20:return t.abrupt("return",this._detectedAddress);case 21:case"end":return t.stop()}}),t,this)}))),t.exports=f},55160:t=>{"use strict";t.exports={addresses:{main:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",ropsten:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",rinkeby:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",goerli:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},interfaceIds:{addr:"0x3b3b57de",setAddr:"0x3b3b57de",pubkey:"0xc8690233",setPubkey:"0xc8690233",contenthash:"0xbc1c58d1",setContenthash:"0xbc1c58d1",content:"0xd8389dc5",setContent:"0xd8389dc5"}}},11841:(t,e,r)=>{"use strict";var n=r(58164),i=r(21006),o=r(90282),a=r(11314).formatters,s=r(48161),u=r(43205),c=r(48384);function l(t){var e=this;this.ens=t,this.contract=t.checkNetwork().then((function(t){var r=new n(u,t);return r.setProvider(e.ens.eth.currentProvider),r}))}l.prototype.owner=function(t,e){return console.warn('Deprecated: Please use the "getOwner" method instead of "owner".'),this.getOwner(t,e)},l.prototype.getOwner=function(t,e){var r=new o(!0);return this.contract.then((function(e){return e.methods.owner(i.hash(t)).call()})).then((function(t){"function"!=typeof e?r.resolve(t):e(t,t)})).catch((function(t){"function"!=typeof e?r.reject(t):e(t,null)})),r.eventEmitter},l.prototype.setOwner=function(t,e,r,n){var s=new o(!0);return this.contract.then((function(n){return n.methods.setOwner(i.hash(t),a.inputAddressFormatter(e)).send(r)})).then((function(t){"function"!=typeof n?s.resolve(t):n(t,t)})).catch((function(t){"function"!=typeof n?s.reject(t):n(t,null)})),s.eventEmitter},l.prototype.getTTL=function(t,e){var r=new o(!0);return this.contract.then((function(e){return e.methods.ttl(i.hash(t)).call()})).then((function(t){"function"!=typeof e?r.resolve(t):e(t,t)})).catch((function(t){"function"!=typeof e?r.reject(t):e(t,null)})),r.eventEmitter},l.prototype.setTTL=function(t,e,r,n){var a=new o(!0);return this.contract.then((function(n){return n.methods.setTTL(i.hash(t),e).send(r)})).then((function(t){"function"!=typeof n?a.resolve(t):n(t,t)})).catch((function(t){"function"!=typeof n?a.reject(t):n(t,null)})),a.eventEmitter},l.prototype.setSubnodeOwner=function(t,e,r,n,u){var c=new o(!0);return s.isHexStrict(e)||(e=s.sha3(e)),this.contract.then((function(o){return o.methods.setSubnodeOwner(i.hash(t),e,a.inputAddressFormatter(r)).send(n)})).then((function(t){"function"!=typeof u?c.resolve(t):u(t,t)})).catch((function(t){"function"!=typeof u?c.reject(t):u(t,null)})),c.eventEmitter},l.prototype.setRecord=function(t,e,r,n,s,u){var c=new o(!0);return this.contract.then((function(o){return o.methods.setRecord(i.hash(t),a.inputAddressFormatter(e),a.inputAddressFormatter(r),n).send(s)})).then((function(t){"function"!=typeof u?c.resolve(t):u(t,t)})).catch((function(t){"function"!=typeof u?c.reject(t):u(t,null)})),c.eventEmitter},l.prototype.setSubnodeRecord=function(t,e,r,n,u,c,l){var h=new o(!0);return s.isHexStrict(e)||(e=s.sha3(e)),this.contract.then((function(o){return o.methods.setSubnodeRecord(i.hash(t),e,a.inputAddressFormatter(r),a.inputAddressFormatter(n),u).send(c)})).then((function(t){"function"!=typeof l?h.resolve(t):l(t,t)})).catch((function(t){"function"!=typeof l?h.reject(t):l(t,null)})),h.eventEmitter},l.prototype.setApprovalForAll=function(t,e,r,n){var i=new o(!0);return this.contract.then((function(n){return n.methods.setApprovalForAll(a.inputAddressFormatter(t),e).send(r)})).then((function(t){"function"!=typeof n?i.resolve(t):n(t,t)})).catch((function(t){"function"!=typeof n?i.reject(t):n(t,null)})),i.eventEmitter},l.prototype.isApprovedForAll=function(t,e,r){var n=new o(!0);return this.contract.then((function(r){return r.methods.isApprovedForAll(a.inputAddressFormatter(t),a.inputAddressFormatter(e)).call()})).then((function(t){"function"!=typeof r?n.resolve(t):r(t,t)})).catch((function(t){"function"!=typeof r?n.reject(t):r(t,null)})),n.eventEmitter},l.prototype.recordExists=function(t,e){var r=new o(!0);return this.contract.then((function(e){return e.methods.recordExists(i.hash(t)).call()})).then((function(t){"function"!=typeof e?r.resolve(t):e(t,t)})).catch((function(t){"function"!=typeof e?r.reject(t):e(t,null)})),r.eventEmitter},l.prototype.resolver=function(t,e){return console.warn('Deprecated: Please use the "getResolver" method instead of "resolver".'),this.getResolver(t,e)},l.prototype.getResolver=function(t,e){var r=this;return this.contract.then((function(e){return e.methods.resolver(i.hash(t)).call()})).then((function(t){var i=new n(c,t);if(i.setProvider(r.ens.eth.currentProvider),"function"!=typeof e)return i;e(i,i)})).catch((function(t){if("function"!=typeof e)throw t;e(t,null)}))},l.prototype.setResolver=function(t,e,r,n){var s=new o(!0);return this.contract.then((function(n){return n.methods.setResolver(i.hash(t),a.inputAddressFormatter(e)).send(r)})).then((function(t){"function"!=typeof n?s.resolve(t):n(t,t)})).catch((function(t){"function"!=typeof n?s.reject(t):n(t,null)})),s.eventEmitter},t.exports=l},30715:(t,e,r)=>{"use strict";var n=r(46764);t.exports=n},62867:(t,e,r)=>{"use strict";var n=r(28847),i=n(r(82247)),o=n(r(94571)),a=r(90282),s=r(21006),u=r(11314).errors,c=r(55160).interfaceIds;function l(t){this.registry=t}l.prototype.method=function(t,e,r,n,i){return{call:this.call.bind({ensName:t,methodName:e,methodArguments:r,callback:i,parent:this,outputFormatter:n}),send:this.send.bind({ensName:t,methodName:e,methodArguments:r,callback:i,parent:this})}},l.prototype.call=function(t){var e=this,r=new a,n=this.parent.prepareArguments(this.ensName,this.methodArguments),s=this.outputFormatter||null;return this.parent.registry.getResolver(this.ensName).then(function(){var a=(0,o.default)(i.default.mark((function o(a){return i.default.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,e.parent.checkInterfaceSupport(a,e.methodName);case 2:e.parent.handleCall(r,a.methods[e.methodName],n,s,t);case 3:case"end":return i.stop()}}),o)})));return function(t){return a.apply(this,arguments)}}()).catch((function(e){"function"!=typeof t?r.reject(e):t(e,null)})),r.eventEmitter},l.prototype.send=function(t,e){var r=this,n=new a,s=this.parent.prepareArguments(this.ensName,this.methodArguments);return this.parent.registry.getResolver(this.ensName).then(function(){var a=(0,o.default)(i.default.mark((function o(a){return i.default.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,r.parent.checkInterfaceSupport(a,r.methodName);case 2:r.parent.handleSend(n,a.methods[r.methodName],s,t,e);case 3:case"end":return i.stop()}}),o)})));return function(t){return a.apply(this,arguments)}}()).catch((function(t){"function"!=typeof e?n.reject(t):e(t,null)})),n.eventEmitter},l.prototype.handleCall=function(t,e,r,n,i){return e.apply(this,r).call().then((function(e){n&&(e=n(e)),"function"!=typeof i?t.resolve(e):i(e,e)})).catch((function(e){"function"!=typeof i?t.reject(e):i(e,null)})),t},l.prototype.handleSend=function(t,e,r,n,i){return e.apply(this,r).send(n).on("sending",(function(){t.eventEmitter.emit("sending")})).on("sent",(function(){t.eventEmitter.emit("sent")})).on("transactionHash",(function(e){t.eventEmitter.emit("transactionHash",e)})).on("confirmation",(function(e,r){t.eventEmitter.emit("confirmation",e,r)})).on("receipt",(function(e){t.eventEmitter.emit("receipt",e),t.resolve(e),"function"==typeof i&&i(e,e)})).on("error",(function(e){t.eventEmitter.emit("error",e),"function"!=typeof i?t.reject(e):i(e,null)})),t},l.prototype.prepareArguments=function(t,e){var r=s.hash(t);return e.length>0?(e.unshift(r),e):[r]},l.prototype.checkInterfaceSupport=function(){var t=(0,o.default)(i.default.mark((function t(e,r){var n;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(c[r]){t.next=2;break}return t.abrupt("return");case 2:return n=!1,t.prev=3,t.next=6,e.methods.supportsInterface(c[r]).call();case 6:n=t.sent,t.next=12;break;case 9:t.prev=9,t.t0=t.catch(3),console.warn('Could not verify interface of resolver contract at "'+e.options.address+'". ');case 12:if(n){t.next=14;break}throw u.ResolverMethodMissingError(e.options.address,r);case 14:case"end":return t.stop()}}),t,null,[[3,9]])})));return function(e,r){return t.apply(this,arguments)}}(),t.exports=l},22689:(t,e,r)=>{"use strict";var n=r(94308);t.exports={decode:function(t){var e=null,r=null,i=null;if(t&&t.error)return{protocolType:null,decoded:t.error};if(t)try{e=n.decode(t);var o=n.getCodec(t);"ipfs-ns"===o?r="ipfs":"swarm-ns"===o?r="bzz":"onion"===o?r="onion":"onion3"===o?r="onion3":e=t}catch(t){i=t.message}return{protocolType:r,decoded:e,error:i}},encode:function(t){var e,r,i=!1;if(t){var o=t.match(/^(ipfs|bzz|onion|onion3):\/\/(.*)/)||t.match(/\/(ipfs)\/(.*)/);o&&(r=o[1],e=o[2]);try{if("ipfs"===r)e.length>=4&&(i="0x"+n.fromIpfs(e));else if("bzz"===r)e.length>=4&&(i="0x"+n.fromSwarm(e));else if("onion"===r)16===e.length&&(i="0x"+n.encode("onion",e));else{if("onion3"!==r)throw new Error("Could not encode content hash: unsupported content type");56===e.length&&(i="0x"+n.encode("onion3",e))}}catch(t){throw t}}return i}}},43205:t=>{"use strict";t.exports=[{constant:!0,inputs:[{name:"node",type:"bytes32"}],name:"resolver",outputs:[{name:"",type:"address"}],payable:!1,type:"function"},{constant:!0,inputs:[{name:"node",type:"bytes32"}],name:"owner",outputs:[{name:"",type:"address"}],payable:!1,type:"function"},{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"label",type:"bytes32"},{name:"owner",type:"address"}],name:"setSubnodeOwner",outputs:[],payable:!1,type:"function"},{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"ttl",type:"uint64"}],name:"setTTL",outputs:[],payable:!1,type:"function"},{constant:!0,inputs:[{name:"node",type:"bytes32"}],name:"ttl",outputs:[{name:"",type:"uint64"}],payable:!1,type:"function"},{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"resolver",type:"address"}],name:"setResolver",outputs:[],payable:!1,type:"function"},{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"owner",type:"address"}],name:"setOwner",outputs:[],payable:!1,type:"function"},{anonymous:!1,inputs:[{indexed:!0,name:"node",type:"bytes32"},{indexed:!1,name:"owner",type:"address"}],name:"Transfer",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"node",type:"bytes32"},{indexed:!0,name:"label",type:"bytes32"},{indexed:!1,name:"owner",type:"address"}],name:"NewOwner",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"node",type:"bytes32"},{indexed:!1,name:"resolver",type:"address"}],name:"NewResolver",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"node",type:"bytes32"},{indexed:!1,name:"ttl",type:"uint64"}],name:"NewTTL",type:"event"},{constant:!1,inputs:[{internalType:"bytes32",name:"node",type:"bytes32"},{internalType:"address",name:"owner",type:"address"},{internalType:"address",name:"resolver",type:"address"},{internalType:"uint64",name:"ttl",type:"uint64"}],name:"setRecord",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!1,inputs:[{internalType:"address",name:"operator",type:"address"},{internalType:"bool",name:"approved",type:"bool"}],name:"setApprovalForAll",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!0,internalType:"address",name:"operator",type:"address"},{indexed:!1,internalType:"bool",name:"approved",type:"bool"}],name:"ApprovalForAll",type:"event"},{constant:!0,inputs:[{internalType:"address",name:"owner",type:"address"},{internalType:"address",name:"operator",type:"address"}],name:"isApprovedForAll",outputs:[{internalType:"bool",name:"",type:"bool"}],payable:!1,stateMutability:"view",type:"function"},{constant:!0,inputs:[{internalType:"bytes32",name:"node",type:"bytes32"}],name:"recordExists",outputs:[{internalType:"bool",name:"",type:"bool"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{internalType:"bytes32",name:"node",type:"bytes32"},{internalType:"bytes32",name:"label",type:"bytes32"},{internalType:"address",name:"owner",type:"address"},{internalType:"address",name:"resolver",type:"address"},{internalType:"uint64",name:"ttl",type:"uint64"}],name:"setSubnodeRecord",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"}]},48384:t=>{"use strict";t.exports=[{constant:!0,inputs:[{name:"interfaceID",type:"bytes4"}],name:"supportsInterface",outputs:[{name:"",type:"bool"}],payable:!1,type:"function"},{constant:!0,inputs:[{name:"node",type:"bytes32"},{name:"contentTypes",type:"uint256"}],name:"ABI",outputs:[{name:"contentType",type:"uint256"},{name:"data",type:"bytes"}],payable:!1,type:"function"},{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"hash",type:"bytes"}],name:"setMultihash",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"},{constant:!0,inputs:[{name:"node",type:"bytes32"}],name:"multihash",outputs:[{name:"",type:"bytes"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"x",type:"bytes32"},{name:"y",type:"bytes32"}],name:"setPubkey",outputs:[],payable:!1,type:"function"},{constant:!0,inputs:[{name:"node",type:"bytes32"}],name:"content",outputs:[{name:"ret",type:"bytes32"}],payable:!1,type:"function"},{constant:!0,inputs:[{name:"node",type:"bytes32"}],name:"addr",outputs:[{name:"ret",type:"address"}],payable:!1,type:"function"},{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"contentType",type:"uint256"},{name:"data",type:"bytes"}],name:"setABI",outputs:[],payable:!1,type:"function"},{constant:!0,inputs:[{name:"node",type:"bytes32"}],name:"name",outputs:[{name:"ret",type:"string"}],payable:!1,type:"function"},{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"name",type:"string"}],name:"setName",outputs:[],payable:!1,type:"function"},{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"hash",type:"bytes32"}],name:"setContent",outputs:[],payable:!1,type:"function"},{constant:!0,inputs:[{name:"node",type:"bytes32"}],name:"pubkey",outputs:[{name:"x",type:"bytes32"},{name:"y",type:"bytes32"}],payable:!1,type:"function"},{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"addr",type:"address"}],name:"setAddr",outputs:[],payable:!1,type:"function"},{inputs:[{name:"ensAddr",type:"address"}],payable:!1,type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,name:"node",type:"bytes32"},{indexed:!1,name:"a",type:"address"}],name:"AddrChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"node",type:"bytes32"},{indexed:!1,name:"hash",type:"bytes32"}],name:"ContentChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"node",type:"bytes32"},{indexed:!1,name:"name",type:"string"}],name:"NameChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"node",type:"bytes32"},{indexed:!0,name:"contentType",type:"uint256"}],name:"ABIChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"node",type:"bytes32"},{indexed:!1,name:"x",type:"bytes32"},{indexed:!1,name:"y",type:"bytes32"}],name:"PubkeyChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"node",type:"bytes32"},{indexed:!1,name:"hash",type:"bytes"}],name:"ContenthashChanged",type:"event"},{constant:!0,inputs:[{name:"node",type:"bytes32"}],name:"contenthash",outputs:[{name:"",type:"bytes"}],payable:!1,stateMutability:"view",type:"function"},{constant:!1,inputs:[{name:"node",type:"bytes32"},{name:"hash",type:"bytes"}],name:"setContenthash",outputs:[],payable:!1,stateMutability:"nonpayable",type:"function"}]},30006:(t,e,r)=>{"use strict";var n=r(28847),i=n(r(69721)),o=n(r(58985)),a=r(48161),s=r(31734),u=function(t){var e="A".charCodeAt(0),r="Z".charCodeAt(0);return(t=(t=t.toUpperCase()).slice(4)+t.slice(0,4)).split("").map((function(t){var n=t.charCodeAt(0);return n>=e&&n<=r?n-e+10:t})).join("")},c=function(t){for(var e,r=t;r.length>2;)e=r.slice(0,9),r=parseInt(e,10)%97+r.slice(e.length);return parseInt(r,10)%97},l=function(){function t(e){(0,i.default)(this,t),this._iban=e}return(0,o.default)(t,[{key:"isValid",value:function(){return/^XE[0-9]{2}(ETH[0-9A-Z]{13}|[0-9A-Z]{30,31})$/.test(this._iban)&&1===c(u(this._iban))}},{key:"isDirect",value:function(){return 34===this._iban.length||35===this._iban.length}},{key:"isIndirect",value:function(){return 20===this._iban.length}},{key:"checksum",value:function(){return this._iban.slice(2,4)}},{key:"institution",value:function(){return this.isIndirect()?this._iban.slice(7,11):""}},{key:"client",value:function(){return this.isIndirect()?this._iban.slice(11):""}},{key:"toAddress",value:function(){if(this.isDirect()){var t=this._iban.slice(4),e=new s(t,36);return a.toChecksumAddress(e.toString(16,20))}return""}},{key:"toString",value:function(){return this._iban}}],[{key:"toAddress",value:function(e){if(!(e=new t(e)).isDirect())throw new Error("IBAN is indirect and can't be converted");return e.toAddress()}},{key:"toIban",value:function(e){return t.fromAddress(e).toString()}},{key:"fromAddress",value:function(e){if(!a.isAddress(e))throw new Error("Provided address is not a valid address: "+e);e=e.replace("0x","").replace("0X","");var r=function(t,e){for(var r=t;r.length<30;)r="0"+r;return r}(new s(e,16).toString(36));return t.fromBban(r.toUpperCase())}},{key:"fromBban",value:function(e){return new t("XE"+("0"+(98-c(u("XE00"+e)))).slice(-2)+e)}},{key:"createIndirect",value:function(e){return t.fromBban("ETH"+e.institution+e.identifier)}},{key:"isValid",value:function(e){return new t(e).isValid()}}]),t}();t.exports=l},96306:(t,e,r)=>{"use strict";var n=r(80606),i=r(53349),o=r(48161),a=r(473),s=r(11314).formatters,u=function(){var t=this;n.packageInit(this,arguments),this.net=new a(this);var e=null,r="latest";Object.defineProperty(this,"defaultAccount",{get:function(){return e},set:function(t){return t&&(e=o.toChecksumAddress(s.inputAddressFormatter(t))),u.forEach((function(t){t.defaultAccount=e})),t},enumerable:!0}),Object.defineProperty(this,"defaultBlock",{get:function(){return r},set:function(t){return r=t,u.forEach((function(t){t.defaultBlock=r})),t},enumerable:!0});var u=[new i({name:"getAccounts",call:"personal_listAccounts",params:0,outputFormatter:o.toChecksumAddress}),new i({name:"newAccount",call:"personal_newAccount",params:1,inputFormatter:[null],outputFormatter:o.toChecksumAddress}),new i({name:"unlockAccount",call:"personal_unlockAccount",params:3,inputFormatter:[s.inputAddressFormatter,null,null]}),new i({name:"lockAccount",call:"personal_lockAccount",params:1,inputFormatter:[s.inputAddressFormatter]}),new i({name:"importRawKey",call:"personal_importRawKey",params:2}),new i({name:"sendTransaction",call:"personal_sendTransaction",params:2,inputFormatter:[s.inputTransactionFormatter,null]}),new i({name:"signTransaction",call:"personal_signTransaction",params:2,inputFormatter:[s.inputTransactionFormatter,null]}),new i({name:"sign",call:"personal_sign",params:3,inputFormatter:[s.inputSignFormatter,s.inputAddressFormatter,null]}),new i({name:"ecRecover",call:"personal_ecRecover",params:2,inputFormatter:[s.inputSignFormatter,null]})];u.forEach((function(e){e.attachToObject(t),e.setRequestManager(t._requestManager),e.defaultBlock=t.defaultBlock,e.defaultAccount=t.defaultAccount}))};n.addProviders(u),t.exports=u},28130:t=>{"use strict";t.exports=function(t){var e,r=this;return this.net.getId().then((function(t){return e=t,r.getBlock(0)})).then((function(r){var n="private";return"0xd4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3"===r.hash&&1===e&&(n="main"),"0x41941023680923e0fe4d74a34bdac8141f2540e3ae90623718e47d66d1ca4a2d"===r.hash&&3===e&&(n="ropsten"),"0x6341fd3daf94b748c72ced5a5b26028f2474f5f00d824504e4fa37a75767e177"===r.hash&&4===e&&(n="rinkeby"),"0xbf7e331f7f7c1dd2e05159666b3bf8bc7a8a3a9eb1d518969eab529dd9b88c1a"===r.hash&&5===e&&(n="goerli"),"0xa3c565fc15c7478862d50ccd6561e3c06b24cc509bf388941c25ea985ce32cb9"===r.hash&&42===e&&(n="kovan"),"function"==typeof t&&t(null,n),n})).catch((function(e){if("function"!=typeof t)throw e;t(e)}))}},66748:(t,e,r)=>{"use strict";var n=r(80606),i=r(11314),o=r(34178).subscriptions,a=r(53349),s=r(48161),u=r(473),c=r(30715),l=r(96306),h=r(58164),f=r(30006),d=r(99819),p=r(79901),m=r(28130),g=i.formatters,y=function(t){return"string"==typeof t[0]&&0===t[0].indexOf("0x")?"eth_getBlockByHash":"eth_getBlockByNumber"},v=function(t){return"string"==typeof t[0]&&0===t[0].indexOf("0x")?"eth_getTransactionByBlockHashAndIndex":"eth_getTransactionByBlockNumberAndIndex"},b=function(t){return"string"==typeof t[0]&&0===t[0].indexOf("0x")?"eth_getUncleByBlockHashAndIndex":"eth_getUncleByBlockNumberAndIndex"},_=function(t){return"string"==typeof t[0]&&0===t[0].indexOf("0x")?"eth_getBlockTransactionCountByHash":"eth_getBlockTransactionCountByNumber"},w=function(t){return"string"==typeof t[0]&&0===t[0].indexOf("0x")?"eth_getUncleCountByBlockHash":"eth_getUncleCountByBlockNumber"},x=function(){var t=this;n.packageInit(this,arguments);var e=this.setRequestManager;this.setRequestManager=function(r){return e(r),t.net.setRequestManager(r),t.personal.setRequestManager(r),t.accounts.setRequestManager(r),t.Contract._requestManager=t._requestManager,t.Contract.currentProvider=t._provider,!0};var r=this.setProvider;this.setProvider=function(){r.apply(t,arguments),t.setRequestManager(t._requestManager),t.ens._detectedAddress=null,t.ens._lastSyncCheck=null};var i,x,k,S=!1,E=null,M="latest",A=50,T=24,C=750,L=1e3,P=10,O=100;Object.defineProperty(this,"handleRevert",{get:function(){return S},set:function(e){S=e,t.Contract.handleRevert=S,B.forEach((function(t){t.handleRevert=S}))},enumerable:!0}),Object.defineProperty(this,"defaultCommon",{get:function(){return k},set:function(e){k=e,t.Contract.defaultCommon=k,B.forEach((function(t){t.defaultCommon=k}))},enumerable:!0}),Object.defineProperty(this,"defaultHardfork",{get:function(){return x},set:function(e){x=e,t.Contract.defaultHardfork=x,B.forEach((function(t){t.defaultHardfork=x}))},enumerable:!0}),Object.defineProperty(this,"defaultChain",{get:function(){return i},set:function(e){i=e,t.Contract.defaultChain=i,B.forEach((function(t){t.defaultChain=i}))},enumerable:!0}),Object.defineProperty(this,"transactionPollingTimeout",{get:function(){return C},set:function(e){C=e,t.Contract.transactionPollingTimeout=C,B.forEach((function(t){t.transactionPollingTimeout=C}))},enumerable:!0}),Object.defineProperty(this,"transactionPollingInterval",{get:function(){return L},set:function(e){L=e,t.Contract.transactionPollingInterval=L,B.forEach((function(t){t.transactionPollingInterval=L}))},enumerable:!0}),Object.defineProperty(this,"transactionConfirmationBlocks",{get:function(){return T},set:function(e){T=e,t.Contract.transactionConfirmationBlocks=T,B.forEach((function(t){t.transactionConfirmationBlocks=T}))},enumerable:!0}),Object.defineProperty(this,"transactionBlockTimeout",{get:function(){return A},set:function(e){A=e,t.Contract.transactionBlockTimeout=A,B.forEach((function(t){t.transactionBlockTimeout=A}))},enumerable:!0}),Object.defineProperty(this,"blockHeaderTimeout",{get:function(){return P},set:function(e){P=e,t.Contract.blockHeaderTimeout=P,B.forEach((function(t){t.blockHeaderTimeout=P}))},enumerable:!0}),Object.defineProperty(this,"defaultAccount",{get:function(){return E},set:function(e){return e&&(E=s.toChecksumAddress(g.inputAddressFormatter(e))),t.Contract.defaultAccount=E,t.personal.defaultAccount=E,B.forEach((function(t){t.defaultAccount=E})),e},enumerable:!0}),Object.defineProperty(this,"defaultBlock",{get:function(){return M},set:function(e){return M=e,t.Contract.defaultBlock=M,t.personal.defaultBlock=M,B.forEach((function(t){t.defaultBlock=M})),e},enumerable:!0}),Object.defineProperty(this,"maxListenersWarningThreshold",{get:function(){return O},set:function(e){t.currentProvider&&t.currentProvider.setMaxListeners&&(O=e,t.currentProvider.setMaxListeners(e))},enumerable:!0}),this.clearSubscriptions=t._requestManager.clearSubscriptions.bind(t._requestManager),this.removeSubscriptionById=t._requestManager.removeSubscription.bind(t._requestManager),this.net=new u(this),this.net.getNetworkType=m.bind(this),this.accounts=new d(this),this.personal=new l(this),this.personal.defaultAccount=this.defaultAccount,this.maxListenersWarningThreshold=O;var I=this,D=function(){h.apply(this,arguments);var t=this,e=I.setProvider;I.setProvider=function(){e.apply(I,arguments),n.packageInit(t,[I])}};D.setProvider=function(){h.setProvider.apply(this,arguments)},(D.prototype=Object.create(h.prototype)).constructor=D,this.Contract=D,this.Contract.defaultAccount=this.defaultAccount,this.Contract.defaultBlock=this.defaultBlock,this.Contract.transactionBlockTimeout=this.transactionBlockTimeout,this.Contract.transactionConfirmationBlocks=this.transactionConfirmationBlocks,this.Contract.transactionPollingTimeout=this.transactionPollingTimeout,this.Contract.transactionPollingInterval=this.transactionPollingInterval,this.Contract.blockHeaderTimeout=this.blockHeaderTimeout,this.Contract.handleRevert=this.handleRevert,this.Contract._requestManager=this._requestManager,this.Contract._ethAccounts=this.accounts,this.Contract.currentProvider=this._requestManager.provider,this.Iban=f,this.abi=p,this.ens=new c(this);var B=[new a({name:"getNodeInfo",call:"web3_clientVersion"}),new a({name:"getProtocolVersion",call:"eth_protocolVersion",params:0}),new a({name:"getCoinbase",call:"eth_coinbase",params:0}),new a({name:"isMining",call:"eth_mining",params:0}),new a({name:"getHashrate",call:"eth_hashrate",params:0,outputFormatter:s.hexToNumber}),new a({name:"isSyncing",call:"eth_syncing",params:0,outputFormatter:g.outputSyncingFormatter}),new a({name:"getGasPrice",call:"eth_gasPrice",params:0,outputFormatter:g.outputBigNumberFormatter}),new a({name:"getFeeHistory",call:"eth_feeHistory",params:3,inputFormatter:[s.numberToHex,g.inputBlockNumberFormatter,null]}),new a({name:"getAccounts",call:"eth_accounts",params:0,outputFormatter:s.toChecksumAddress}),new a({name:"getBlockNumber",call:"eth_blockNumber",params:0,outputFormatter:s.hexToNumber}),new a({name:"getBalance",call:"eth_getBalance",params:2,inputFormatter:[g.inputAddressFormatter,g.inputDefaultBlockNumberFormatter],outputFormatter:g.outputBigNumberFormatter}),new a({name:"getStorageAt",call:"eth_getStorageAt",params:3,inputFormatter:[g.inputAddressFormatter,s.numberToHex,g.inputDefaultBlockNumberFormatter]}),new a({name:"getCode",call:"eth_getCode",params:2,inputFormatter:[g.inputAddressFormatter,g.inputDefaultBlockNumberFormatter]}),new a({name:"getBlock",call:y,params:2,inputFormatter:[g.inputBlockNumberFormatter,function(t){return!!t}],outputFormatter:g.outputBlockFormatter}),new a({name:"getUncle",call:b,params:2,inputFormatter:[g.inputBlockNumberFormatter,s.numberToHex],outputFormatter:g.outputBlockFormatter}),new a({name:"getBlockTransactionCount",call:_,params:1,inputFormatter:[g.inputBlockNumberFormatter],outputFormatter:s.hexToNumber}),new a({name:"getBlockUncleCount",call:w,params:1,inputFormatter:[g.inputBlockNumberFormatter],outputFormatter:s.hexToNumber}),new a({name:"getTransaction",call:"eth_getTransactionByHash",params:1,inputFormatter:[null],outputFormatter:g.outputTransactionFormatter}),new a({name:"getTransactionFromBlock",call:v,params:2,inputFormatter:[g.inputBlockNumberFormatter,s.numberToHex],outputFormatter:g.outputTransactionFormatter}),new a({name:"getTransactionReceipt",call:"eth_getTransactionReceipt",params:1,inputFormatter:[null],outputFormatter:g.outputTransactionReceiptFormatter}),new a({name:"getTransactionCount",call:"eth_getTransactionCount",params:2,inputFormatter:[g.inputAddressFormatter,g.inputDefaultBlockNumberFormatter],outputFormatter:s.hexToNumber}),new a({name:"sendSignedTransaction",call:"eth_sendRawTransaction",params:1,inputFormatter:[null],abiCoder:p}),new a({name:"signTransaction",call:"eth_signTransaction",params:1,inputFormatter:[g.inputTransactionFormatter]}),new a({name:"sendTransaction",call:"eth_sendTransaction",params:1,inputFormatter:[g.inputTransactionFormatter],abiCoder:p}),new a({name:"sign",call:"eth_sign",params:2,inputFormatter:[g.inputSignFormatter,g.inputAddressFormatter],transformPayload:function(t){return t.params.reverse(),t}}),new a({name:"call",call:"eth_call",params:2,inputFormatter:[g.inputCallFormatter,g.inputDefaultBlockNumberFormatter],abiCoder:p}),new a({name:"estimateGas",call:"eth_estimateGas",params:1,inputFormatter:[g.inputCallFormatter],outputFormatter:s.hexToNumber}),new a({name:"submitWork",call:"eth_submitWork",params:3}),new a({name:"getWork",call:"eth_getWork",params:0}),new a({name:"getPastLogs",call:"eth_getLogs",params:1,inputFormatter:[g.inputLogFormatter],outputFormatter:g.outputLogFormatter}),new a({name:"getChainId",call:"eth_chainId",params:0,outputFormatter:s.hexToNumber}),new a({name:"requestAccounts",call:"eth_requestAccounts",params:0,outputFormatter:s.toChecksumAddress}),new a({name:"getProof",call:"eth_getProof",params:3,inputFormatter:[g.inputAddressFormatter,g.inputStorageKeysFormatter,g.inputDefaultBlockNumberFormatter],outputFormatter:g.outputProofFormatter}),new a({name:"getPendingTransactions",call:"eth_pendingTransactions",params:0,outputFormatter:g.outputTransactionFormatter}),new a({name:"createAccessList",call:"eth_createAccessList",params:2,inputFormatter:[g.inputTransactionFormatter,g.inputDefaultBlockNumberFormatter]}),new o({name:"subscribe",type:"eth",subscriptions:{newBlockHeaders:{subscriptionName:"newHeads",params:0,outputFormatter:g.outputBlockFormatter},pendingTransactions:{subscriptionName:"newPendingTransactions",params:0},logs:{params:1,inputFormatter:[g.inputLogFormatter],outputFormatter:g.outputLogFormatter,subscriptionHandler:function(t){t.removed?this.emit("changed",t):this.emit("data",t),"function"==typeof this.callback&&this.callback(null,t,this)}},syncing:{params:0,outputFormatter:g.outputSyncingFormatter,subscriptionHandler:function(t){var e=this;!0!==this._isSyncing?(this._isSyncing=!0,this.emit("changed",e._isSyncing),"function"==typeof this.callback&&this.callback(null,e._isSyncing,this),setTimeout((function(){e.emit("data",t),"function"==typeof e.callback&&e.callback(null,t,e)}),0)):(this.emit("data",t),"function"==typeof e.callback&&this.callback(null,t,this),clearTimeout(this._isSyncingTimeout),this._isSyncingTimeout=setTimeout((function(){t.currentBlock>t.highestBlock-200&&(e._isSyncing=!1,e.emit("changed",e._isSyncing),"function"==typeof e.callback&&e.callback(null,e._isSyncing,e))}),500))}}}})];B.forEach((function(e){e.attachToObject(t),e.setRequestManager(t._requestManager,t.accounts),e.defaultBlock=t.defaultBlock,e.defaultAccount=t.defaultAccount,e.transactionBlockTimeout=t.transactionBlockTimeout,e.transactionConfirmationBlocks=t.transactionConfirmationBlocks,e.transactionPollingTimeout=t.transactionPollingTimeout,e.transactionPollingInterval=t.transactionPollingInterval,e.handleRevert=t.handleRevert}))};n.addProviders(x),t.exports=x},473:(t,e,r)=>{"use strict";var n=r(80606),i=r(53349),o=r(48161),a=function(){var t=this;n.packageInit(this,arguments),[new i({name:"getId",call:"net_version",params:0,outputFormatter:parseInt}),new i({name:"isListening",call:"net_listening",params:0}),new i({name:"getPeerCount",call:"net_peerCount",params:0,outputFormatter:o.hexToNumber})].forEach((function(e){e.attachToObject(t),e.setRequestManager(t._requestManager)}))};n.addProviders(a),t.exports=a},14565:(t,e,r)=>{"use strict";var n=r(11314).errors,i=r(33768),o=r(29519),a=r(90912);r(54258).polyfill(),void 0===r.g||r.g.AbortController||r(53368);var s=function(t,e){e=e||{},this.withCredentials=e.withCredentials,this.timeout=e.timeout||0,this.headers=e.headers,this.agent=e.agent,this.forceGlobalFetch=e.forceGlobalFetch||!1,this.connected=!1;var r=!1!==e.keepAlive;this.host=t||"http://localhost:8545",this.agent||("https"===this.host.substring(0,5)?this.httpsAgent=new a.Agent({keepAlive:r}):this.httpAgent=new o.Agent({keepAlive:r}))};s.prototype.send=function(t,e){var r,o={method:"POST",body:JSON.stringify(t)},a={},s=this.forceGlobalFetch?globalThis.fetch:i;if("undefined"!=typeof AbortController?r=new AbortController:"undefined"!=typeof window&&void 0!==window.AbortController&&(r=new window.AbortController),void 0!==r&&(o.signal=r.signal),"undefined"==typeof XMLHttpRequest){var u={httpsAgent:this.httpsAgent,httpAgent:this.httpAgent};this.agent&&(u.httpsAgent=this.agent.https,u.httpAgent=this.agent.http),"https"===this.host.substring(0,5)?o.agent=u.httpsAgent:o.agent=u.httpAgent}this.headers&&this.headers.forEach((function(t){a[t.name]=t.value})),a["Content-Type"]||(a["Content-Type"]="application/json"),this.withCredentials?o.credentials="include":o.credentials="omit",o.headers=a,this.timeout>0&&void 0!==r&&(this.timeoutId=setTimeout((function(){r.abort()}),this.timeout)),s(this.host,o).then(function(t){void 0!==this.timeoutId&&clearTimeout(this.timeoutId),t.json().then((function(t){e(null,t)}),(function(){t.text().then((function(t){e(n.InvalidResponse(t))}),(function(){e(n.InvalidResponse(""))}))}))}.bind(this),function(t){void 0!==this.timeoutId&&clearTimeout(this.timeoutId),"AbortError"!==t.name?e(n.InvalidConnection(this.host,t)):e(n.ConnectionTimeout(this.timeout))}.bind(this))},s.prototype.disconnect=function(){},s.prototype.supportsSubscriptions=function(){return!1},t.exports=s},52683:(t,e,r)=>{"use strict";var n=r(11314).errors,i=r(83150),o=function(t,e){var r=this;this.responseCallbacks={},this.notificationCallbacks=[],this.path=t,this.connected=!1,this.connection=e.connect({path:this.path}),this.addDefaultEvents();var n=function(t){var e=null;Array.isArray(t)?t.forEach((function(t){r.responseCallbacks[t.id]&&(e=t.id)})):e=t.id,e||-1===t.method.indexOf("_subscription")?r.responseCallbacks[e]&&(r.responseCallbacks[e](null,t),delete r.responseCallbacks[e]):r.notificationCallbacks.forEach((function(e){"function"==typeof e&&e(t)}))};"Socket"===e.constructor.name?i(this.connection).done(n):this.connection.on("data",(function(t){r._parseResponse(t.toString()).forEach(n)}))};o.prototype.addDefaultEvents=function(){var t=this;this.connection.on("connect",(function(){t.connected=!0})),this.connection.on("close",(function(){t.connected=!1})),this.connection.on("error",(function(){t._timeout()})),this.connection.on("end",(function(){t._timeout()})),this.connection.on("timeout",(function(){t._timeout()}))},o.prototype._parseResponse=function(t){var e=this,r=[];return t.replace(/\}[\n\r]?\{/g,"}|--|{").replace(/\}\][\n\r]?\[\{/g,"}]|--|[{").replace(/\}[\n\r]?\[\{/g,"}|--|[{").replace(/\}\][\n\r]?\{/g,"}]|--|{").split("|--|").forEach((function(t){e.lastChunk&&(t=e.lastChunk+t);var i=null;try{i=JSON.parse(t)}catch(r){return e.lastChunk=t,clearTimeout(e.lastChunkTimeout),void(e.lastChunkTimeout=setTimeout((function(){throw e._timeout(),n.InvalidResponse(t)}),15e3))}clearTimeout(e.lastChunkTimeout),e.lastChunk=null,i&&r.push(i)})),r},o.prototype._addResponseCallback=function(t,e){var r=t.id||t[0].id,n=t.method||t[0].method;this.responseCallbacks[r]=e,this.responseCallbacks[r].method=n},o.prototype._timeout=function(){for(var t in this.responseCallbacks)this.responseCallbacks.hasOwnProperty(t)&&(this.responseCallbacks[t](n.InvalidConnection("on IPC")),delete this.responseCallbacks[t])},o.prototype.reconnect=function(){this.connection.connect({path:this.path})},o.prototype.send=function(t,e){this.connection.writable||this.connection.connect({path:this.path}),this.connection.write(JSON.stringify(t)),this._addResponseCallback(t,e)},o.prototype.on=function(t,e){if("function"!=typeof e)throw new Error("The second parameter callback must be a function.");"data"===t?this.notificationCallbacks.push(e):this.connection.on(t,e)},o.prototype.once=function(t,e){if("function"!=typeof e)throw new Error("The second parameter callback must be a function.");this.connection.once(t,e)},o.prototype.removeListener=function(t,e){var r=this;"data"===t?this.notificationCallbacks.forEach((function(t,n){t===e&&r.notificationCallbacks.splice(n,1)})):this.connection.removeListener(t,e)},o.prototype.removeAllListeners=function(t){"data"===t?this.notificationCallbacks=[]:this.connection.removeAllListeners(t)},o.prototype.reset=function(){this._timeout(),this.notificationCallbacks=[],this.connection.removeAllListeners("error"),this.connection.removeAllListeners("end"),this.connection.removeAllListeners("timeout"),this.addDefaultEvents()},o.prototype.supportsSubscriptions=function(){return!0},t.exports=o},40360:(t,e,r)=>{"use strict";var n=r(19142),i=r(29033).Buffer,o=r(28847)(r(3355)),a="[object process]"===Object.prototype.toString.call(void 0!==n?n:0),s="undefined"!=typeof navigator&&"ReactNative"===navigator.product,u=null,c=null;if(a||s){u=function(t){return i.from(t).toString("base64")};var l=r(51143);if(l.URL){var h=l.URL;c=function(t){return new h(t)}}else c=r(51143).parse}else u=btoa.bind("object"===("undefined"==typeof globalThis?"undefined":(0,o.default)(globalThis))?globalThis:self),c=function(t){return new URL(t)};t.exports={parseURL:c,btoa:u}},77651:(t,e,r)=>{"use strict";var n=r(98008),i=r(40360),o=r(11314).errors,a=r(1158).w3cwebsocket,s=function(t,e){n.call(this),e=e||{},this.url=t,this._customTimeout=e.timeout||15e3,this.headers=e.headers||{},this.protocol=e.protocol||void 0,this.reconnectOptions=Object.assign({auto:!1,delay:5e3,maxAttempts:!1,onTimeout:!1},e.reconnect),this.clientConfig=e.clientConfig||void 0,this.requestOptions=e.requestOptions||void 0,this.DATA="data",this.CLOSE="close",this.ERROR="error",this.CONNECT="connect",this.RECONNECT="reconnect",this.connection=null,this.requestQueue=new Map,this.responseQueue=new Map,this.reconnectAttempts=0,this.reconnecting=!1,this.connectFailedDescription=null;var r=i.parseURL(t);r.username&&r.password&&(this.headers.authorization="Basic "+i.btoa(r.username+":"+r.password)),r.auth&&(this.headers.authorization="Basic "+i.btoa(r.auth)),Object.defineProperty(this,"connected",{get:function(){return this.connection&&this.connection.readyState===this.connection.OPEN},enumerable:!0}),this.connect()};(s.prototype=Object.create(n.prototype)).constructor=s,s.prototype.connect=function(){this.connection=new a(this.url,this.protocol,void 0,this.headers,this.requestOptions,this.clientConfig),this._addSocketListeners()},s.prototype._onMessage=function(t){var e=this;this._parseResponse("string"==typeof t.data?t.data:"").forEach((function(t){if(t.method&&-1!==t.method.indexOf("_subscription"))e.emit(e.DATA,t);else{var r=t.id;Array.isArray(t)&&(r=t[0].id),e.responseQueue.has(r)&&(void 0!==e.responseQueue.get(r).callback&&e.responseQueue.get(r).callback(!1,t),e.responseQueue.delete(r))}}))},s.prototype._onConnect=function(){if(this.emit(this.CONNECT),this.reconnectAttempts=0,this.reconnecting=!1,this.requestQueue.size>0){var t=this;this.requestQueue.forEach((function(e,r){t.send(e.payload,e.callback),t.requestQueue.delete(r)}))}},s.prototype._onConnectFailed=function(t){this.connectFailedDescription=t.toString().split("\n")[0];var e=this;this.connectFailedDescription&&(t.description=this.connectFailedDescription,this.connectFailedDescription=null),t.code=1006,t.reason="connection failed",!this.reconnectOptions.auto||[1e3,1001].includes(t.code)&&!1!==t.wasClean?(this.emit(this.ERROR,t),this.requestQueue.size>0&&this.requestQueue.forEach((function(r,n){r.callback(o.ConnectionNotOpenError(t)),e.requestQueue.delete(n)})),this.responseQueue.size>0&&this.responseQueue.forEach((function(r,n){r.callback(o.InvalidConnection("on WS",t)),e.responseQueue.delete(n)})),this.connection._connection&&this.connection._connection.removeAllListeners(),this.connection._client.removeAllListeners(),this.connection._readyState=3,this.emit(this.CLOSE,t)):this.reconnect()},s.prototype._onClose=function(t){var e=this;!this.reconnectOptions.auto||[1e3,1001].includes(t.code)&&!1!==t.wasClean?(this.emit(this.CLOSE,t),this.requestQueue.size>0&&this.requestQueue.forEach((function(r,n){r.callback(o.ConnectionNotOpenError(t)),e.requestQueue.delete(n)})),this.responseQueue.size>0&&this.responseQueue.forEach((function(r,n){r.callback(o.InvalidConnection("on WS",t)),e.responseQueue.delete(n)})),this._removeSocketListeners(),this.removeAllListeners()):this.reconnect()},s.prototype._addSocketListeners=function(){this.connection.addEventListener("message",this._onMessage.bind(this)),this.connection.addEventListener("open",this._onConnect.bind(this)),this.connection.addEventListener("close",this._onClose.bind(this)),this.connection._client&&(this.connection._client.removeAllListeners("connectFailed"),this.connection._client.on("connectFailed",this._onConnectFailed.bind(this)))},s.prototype._removeSocketListeners=function(){this.connection.removeEventListener("message",this._onMessage),this.connection.removeEventListener("open",this._onConnect),this.connection.removeEventListener("close",this._onClose),this.connection._connection&&this.connection._client.removeListener("connectFailed",this._onConnectFailed)},s.prototype._parseResponse=function(t){var e=this,r=[];return t.replace(/\}[\n\r]?\{/g,"}|--|{").replace(/\}\][\n\r]?\[\{/g,"}]|--|[{").replace(/\}[\n\r]?\[\{/g,"}|--|[{").replace(/\}\][\n\r]?\{/g,"}]|--|{").split("|--|").forEach((function(t){e.lastChunk&&(t=e.lastChunk+t);var n=null;try{n=JSON.parse(t)}catch(r){return e.lastChunk=t,clearTimeout(e.lastChunkTimeout),void(e.lastChunkTimeout=setTimeout((function(){e.reconnectOptions.auto&&e.reconnectOptions.onTimeout?e.reconnect():(e.emit(e.ERROR,o.ConnectionTimeout(e._customTimeout)),e.requestQueue.size>0&&e.requestQueue.forEach((function(t,r){t.callback(o.ConnectionTimeout(e._customTimeout)),e.requestQueue.delete(r)})))}),e._customTimeout))}clearTimeout(e.lastChunkTimeout),e.lastChunk=null,n&&r.push(n)})),r},s.prototype.send=function(t,e){var r=t.id,n={payload:t,callback:e};if(Array.isArray(t)&&(r=t[0].id),this.connection.readyState===this.connection.CONNECTING||this.reconnecting)this.requestQueue.set(r,n);else{if(this.connection.readyState!==this.connection.OPEN)return this.requestQueue.delete(r),this.emit(this.ERROR,o.ConnectionNotOpenError()),void n.callback(o.ConnectionNotOpenError());this.responseQueue.set(r,n),this.requestQueue.delete(r);try{this.connection.send(JSON.stringify(n.payload))}catch(t){n.callback(t),this.responseQueue.delete(r)}}},s.prototype.reset=function(){this.responseQueue.clear(),this.requestQueue.clear(),this.removeAllListeners(),this._removeSocketListeners(),this._addSocketListeners()},s.prototype.disconnect=function(t,e){this._removeSocketListeners(),this.connection.close(t||1e3,e)},s.prototype.supportsSubscriptions=function(){return!0},s.prototype.reconnect=function(){var t=this;this.reconnecting=!0,this.responseQueue.size>0&&this.responseQueue.forEach((function(e,r){try{t.responseQueue.delete(r),e.callback(o.PendingRequestsOnReconnectingError())}catch(t){console.error("Error encountered in reconnect: ",t)}})),!this.reconnectOptions.maxAttempts||this.reconnectAttempts<this.reconnectOptions.maxAttempts?setTimeout((function(){t.reconnectAttempts++,t._removeSocketListeners(),t.emit(t.RECONNECT,t.reconnectAttempts),t.connect()}),this.reconnectOptions.delay):(this.emit(this.ERROR,o.MaxAttemptsReachedOnReconnectingError()),this.reconnecting=!1,this.requestQueue.size>0&&this.requestQueue.forEach((function(e,r){e.callback(o.MaxAttemptsReachedOnReconnectingError()),t.requestQueue.delete(r)})))},t.exports=s},92565:(t,e,r)=>{"use strict";var n=r(80606),i=r(34178).subscriptions,o=r(53349),a=r(473),s=function(){var t=this;n.packageInit(this,arguments);var e=this.setRequestManager;this.setRequestManager=function(r){return e(r),t.net.setRequestManager(r),!0};var r=this.setProvider;this.setProvider=function(){r.apply(t,arguments),t.setRequestManager(t._requestManager)},this.net=new a(this),[new i({name:"subscribe",type:"shh",subscriptions:{messages:{params:1}}}),new o({name:"getVersion",call:"shh_version",params:0}),new o({name:"getInfo",call:"shh_info",params:0}),new o({name:"setMaxMessageSize",call:"shh_setMaxMessageSize",params:1}),new o({name:"setMinPoW",call:"shh_setMinPoW",params:1}),new o({name:"markTrustedPeer",call:"shh_markTrustedPeer",params:1}),new o({name:"newKeyPair",call:"shh_newKeyPair",params:0}),new o({name:"addPrivateKey",call:"shh_addPrivateKey",params:1}),new o({name:"deleteKeyPair",call:"shh_deleteKeyPair",params:1}),new o({name:"hasKeyPair",call:"shh_hasKeyPair",params:1}),new o({name:"getPublicKey",call:"shh_getPublicKey",params:1}),new o({name:"getPrivateKey",call:"shh_getPrivateKey",params:1}),new o({name:"newSymKey",call:"shh_newSymKey",params:0}),new o({name:"addSymKey",call:"shh_addSymKey",params:1}),new o({name:"generateSymKeyFromPassword",call:"shh_generateSymKeyFromPassword",params:1}),new o({name:"hasSymKey",call:"shh_hasSymKey",params:1}),new o({name:"getSymKey",call:"shh_getSymKey",params:1}),new o({name:"deleteSymKey",call:"shh_deleteSymKey",params:1}),new o({name:"newMessageFilter",call:"shh_newMessageFilter",params:1}),new o({name:"getFilterMessages",call:"shh_getFilterMessages",params:1}),new o({name:"deleteMessageFilter",call:"shh_deleteMessageFilter",params:1}),new o({name:"post",call:"shh_post",params:1,inputFormatter:[null]}),new o({name:"unsubscribe",call:"shh_unsubscribe",params:1})].forEach((function(e){e.attachToObject(t),e.setRequestManager(t._requestManager)}))};s.prototype.clearSubscriptions=function(){this._requestManager.clearSubscriptions()},n.addProviders(s),t.exports=s},48161:(t,e,r)=>{"use strict";var n=r(28847)(r(3355)),i=r(17130),o=r(90323),a=r(747),s=r(75010),u=r(31734),c=function t(e,r){var i=[];return r.forEach((function(r){if("object"===(0,n.default)(r.components)){if("tuple"!==r.type.substring(0,5))throw new Error("components found but type is not tuple; report on GitHub");var o="",a=r.type.indexOf("[");a>=0&&(o=r.type.substring(a));var s=t(e,r.components);Array.isArray(s)&&e?i.push("tuple("+s.join(",")+")"+o):e?i.push("("+s+")"):i.push("("+s.join(",")+")"+o)}else i.push(r.type)})),i},l=function(t){if(!o.isHexStrict(t))throw new Error("The parameter must be a valid HEX string.");var e="",r=0,n=t.length;for("0x"===t.substring(0,2)&&(r=2);r<n;r+=2){var i=parseInt(t.slice(r,r+2),16);e+=String.fromCharCode(i)}return e},h=function(t){if(!t)return"0x00";for(var e="",r=0;r<t.length;r++){var n=t.charCodeAt(r).toString(16);e+=n.length<2?"0"+n:n}return"0x"+e},f=function(t){if(t=t?t.toLowerCase():"ether",!i.unitMap[t])throw new Error('This unit "'+t+"\" doesn't exist, please use the one of the following units"+JSON.stringify(i.unitMap,null,2));return t};t.exports={_fireError:function(t,e,r,i,o){return!t||"object"!==(0,n.default)(t)||t instanceof Error||!t.data||((t.data&&"object"===(0,n.default)(t.data)||Array.isArray(t.data))&&(t.data=JSON.stringify(t.data,null,2)),t=t.message+"\n"+t.data),"string"==typeof t&&(t=new Error(t)),"function"==typeof i&&i(t,o),"function"==typeof r&&((e&&"function"==typeof e.listeners&&e.listeners("error").length||"function"==typeof i)&&e.catch((function(){})),setTimeout((function(){r(t)}),1)),e&&"function"==typeof e.emit&&setTimeout((function(){e.emit("error",t,o),e.removeAllListeners()}),1),e},_jsonInterfaceMethodToString:function(t){return t&&"object"===(0,n.default)(t)&&t.name&&-1!==t.name.indexOf("(")?t.name:t.name+"("+c(!1,t.inputs).join(",")+")"},_flattenTypes:c,randomHex:function(t){return"0x"+s(t).toString("hex")},BN:o.BN,isBN:o.isBN,isBigNumber:o.isBigNumber,isHex:o.isHex,isHexStrict:o.isHexStrict,sha3:o.sha3,sha3Raw:o.sha3Raw,keccak256:o.sha3,soliditySha3:a.soliditySha3,soliditySha3Raw:a.soliditySha3Raw,encodePacked:a.encodePacked,isAddress:o.isAddress,checkAddressChecksum:o.checkAddressChecksum,toChecksumAddress:function(t){if(void 0===t)return"";if(!/^(0x)?[0-9a-f]{40}$/i.test(t))throw new Error('Given address "'+t+'" is not a valid Ethereum address.');t=t.toLowerCase().replace(/^0x/i,"");for(var e=o.sha3(t).replace(/^0x/i,""),r="0x",n=0;n<t.length;n++)parseInt(e[n],16)>7?r+=t[n].toUpperCase():r+=t[n];return r},toHex:o.toHex,toBN:o.toBN,bytesToHex:o.bytesToHex,hexToBytes:o.hexToBytes,hexToNumberString:o.hexToNumberString,hexToNumber:o.hexToNumber,toDecimal:o.hexToNumber,numberToHex:o.numberToHex,fromDecimal:o.numberToHex,hexToUtf8:o.hexToUtf8,hexToString:o.hexToUtf8,toUtf8:o.hexToUtf8,stripHexPrefix:o.stripHexPrefix,utf8ToHex:o.utf8ToHex,stringToHex:o.utf8ToHex,fromUtf8:o.utf8ToHex,hexToAscii:l,toAscii:l,asciiToHex:h,fromAscii:h,unitMap:i.unitMap,toWei:function(t,e){if(e=f(e),!o.isBN(t)&&"string"!=typeof t)throw new Error("Please pass numbers as strings or BN objects to avoid precision errors.");return o.isBN(t)?i.toWei(t,e):i.toWei(t,e).toString(10)},fromWei:function(t,e){if(e=f(e),!o.isBN(t)&&"string"!=typeof t)throw new Error("Please pass numbers as strings or BN objects to avoid precision errors.");return o.isBN(t)?i.fromWei(t,e):i.fromWei(t,e).toString(10)},padLeft:o.leftPad,leftPad:o.leftPad,padRight:o.rightPad,rightPad:o.rightPad,toTwosComplement:o.toTwosComplement,isBloom:o.isBloom,isUserEthereumAddressInBloom:o.isUserEthereumAddressInBloom,isContractAddressInBloom:o.isContractAddressInBloom,isTopic:o.isTopic,isTopicInBloom:o.isTopicInBloom,isInBloom:o.isInBloom,compareBlockNumbers:function(t,e){if(t===e)return 0;if("genesis"!==t&&"earliest"!==t&&0!==t||"genesis"!==e&&"earliest"!==e&&0!==e){if("genesis"===t||"earliest"===t||0===t)return-1;if("genesis"===e||"earliest"===e||0===e)return 1;if("latest"===t||"finalized"===t)return"pending"===e?-1:1;if("latest"===e||"finalized"===e)return"pending"===t?1:-1;if("pending"===t)return 1;if("pending"===e)return-1;if("safe"===t||"safe"===e)return;var r=new u(t),n=new u(e);return r.lt(n)?-1:r.eq(n)?0:1}return 0},toNumber:o.toNumber}},747:(t,e,r)=>{"use strict";var n=r(28847)(r(3355)),i=r(31734),o=r(90323),a=function(t){var e=(0,n.default)(t);if("string"===e)return o.isHexStrict(t)?new i(t.replace(/0x/i,""),16):new i(t,10);if("number"===e)return new i(t);if(o.isBigNumber(t))return new i(t.toString(10));if(o.isBN(t))return t;throw new Error(t+" is not a number")},s=function(t,e,r){var n,s;if("bytes"===(t=function(t){return t.startsWith("int[")?"int256"+t.slice(3):"int"===t?"int256":t.startsWith("uint[")?"uint256"+t.slice(4):"uint"===t?"uint256":t.startsWith("fixed[")?"fixed128x128"+t.slice(5):"fixed"===t?"fixed128x128":t.startsWith("ufixed[")?"ufixed128x128"+t.slice(6):"ufixed"===t?"ufixed128x128":t}(t))){if(e.replace(/^0x/i,"").length%2!=0)throw new Error("Invalid bytes characters "+e.length);return e}if("string"===t)return o.utf8ToHex(e);if("bool"===t)return e?"01":"00";if(t.startsWith("address")){if(n=r?64:40,!o.isAddress(e))throw new Error(e+" is not a valid address, or the checksum is invalid.");return o.leftPad(e.toLowerCase(),n)}if(n=function(t){var e=/^\D+(\d+).*$/.exec(t);return e?parseInt(e[1],10):null}(t),t.startsWith("bytes")){if(!n)throw new Error("bytes[] not yet supported in solidity");if(r&&(n=32),n<1||n>32||n<e.replace(/^0x/i,"").length/2)throw new Error("Invalid bytes"+n+" for "+e);return o.rightPad(e,2*n)}if(t.startsWith("uint")){if(n%8||n<8||n>256)throw new Error("Invalid uint"+n+" size");if((s=a(e)).bitLength()>n)throw new Error("Supplied uint exceeds width: "+n+" vs "+s.bitLength());if(s.lt(new i(0)))throw new Error("Supplied uint "+s.toString()+" is negative");return n?o.leftPad(s.toString("hex"),n/8*2):s}if(t.startsWith("int")){if(n%8||n<8||n>256)throw new Error("Invalid int"+n+" size");if((s=a(e)).bitLength()>n)throw new Error("Supplied int exceeds width: "+n+" vs "+s.bitLength());return s.lt(new i(0))?s.toTwos(n).toString("hex"):n?o.leftPad(s.toString("hex"),n/8*2):s}throw new Error("Unsupported or invalid type: "+t)},u=function(t){if(Array.isArray(t))throw new Error("Autodetection of array types is not supported.");var e,r,a="";if(t&&"object"===(0,n.default)(t)&&(t.hasOwnProperty("v")||t.hasOwnProperty("t")||t.hasOwnProperty("value")||t.hasOwnProperty("type"))?(e=t.hasOwnProperty("t")?t.t:t.type,a=t.hasOwnProperty("v")?t.v:t.value):(e=o.toHex(t,!0),a=o.toHex(t),e.startsWith("int")||e.startsWith("uint")||(e="bytes")),!e.startsWith("int")&&!e.startsWith("uint")||"string"!=typeof a||/^(-)?0x/i.test(a)||(a=new i(a)),Array.isArray(a)){if(r=function(t){var e=/^\D+\d*\[(\d+)\]$/.exec(t);return e?parseInt(e[1],10):null}(e),r&&a.length!==r)throw new Error(e+" is not matching the given array "+JSON.stringify(a));r=a.length}return Array.isArray(a)?a.map((function(t){return s(e,t,r).toString("hex").replace("0x","")})).join(""):s(e,a,r).toString("hex").replace("0x","")};t.exports={soliditySha3:function(){var t=Array.prototype.slice.call(arguments).map(u);return o.sha3("0x"+t.join(""))},soliditySha3Raw:function(){return o.sha3Raw("0x"+Array.prototype.slice.call(arguments).map(u).join(""))},encodePacked:function(){return"0x"+Array.prototype.slice.call(arguments).map(u).join("").toLowerCase()}}},90323:(t,e,r)=>{"use strict";var n=r(29033).Buffer,i=r(28847),o=i(r(74519)),a=i(r(3355)),s=r(31734),u=r(77277),c=r(88632),l=r(65907),h=r(19313),f=r(1243).keccak256,d=function(t){return s.isBN(t)},p=function(t){return t&&t.constructor&&"BigNumber"===t.constructor.name},m=function(t){try{return u.apply(null,arguments)}catch(e){throw new Error(e+' Given value: "'+t+'"')}},g=function(t){return!!/^(0x)?[0-9a-f]{40}$/i.test(t)&&(!(!/^(0x|0X)?[0-9a-f]{40}$/.test(t)&&!/^(0x|0X)?[0-9A-F]{40}$/.test(t))||y(t))},y=function(t){t=t.replace(/^0x/i,"");for(var e=E(t.toLowerCase()).replace(/^0x/i,""),r=0;r<40;r++)if(parseInt(e[r],16)>7&&t[r].toUpperCase()!==t[r]||parseInt(e[r],16)<=7&&t[r].toLowerCase()!==t[r])return!1;return!0},v=function(t){var e="";t=(t=(t=(t=(t=c.encode(t)).replace(/^(?:\u0000)*/,"")).split("").reverse().join("")).replace(/^(?:\u0000)*/,"")).split("").reverse().join("");for(var r=0;r<t.length;r++){var n=t.charCodeAt(r).toString(16);e+=n.length<2?"0"+n:n}return"0x"+e},b=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!t)return t;if("string"==typeof t&&!x(t))throw new Error('Given value "'+t+'" is not a valid hex string.');var r=m(t);return e&&(r>Number.MAX_SAFE_INTEGER||r<Number.MIN_SAFE_INTEGER)?BigInt(r):r.toNumber()},_=function(t){if(null==t)return t;if(!isFinite(t)&&!x(t))throw new Error('Given input "'+t+'" is not a number.');var e=m(t),r=e.toString(16);return e.lt(new s(0))?"-0x"+r.slice(1):"0x"+r},w=function(t,e){if(g(t))return e?"address":"0x"+t.toLowerCase().replace(/^0x/i,"");if("boolean"==typeof t)return e?"bool":t?"0x01":"0x00";if(n.isBuffer(t))return"0x"+t.toString("hex");if("object"===(0,a.default)(t)&&t&&!p(t)&&!d(t))return e?"string":v(JSON.stringify(t));if("string"==typeof t){if(0===t.indexOf("-0x")||0===t.indexOf("-0X"))return e?"int256":_(t);if(0===t.indexOf("0x")||0===t.indexOf("0X"))return e?"bytes":t;if(!isFinite(t))return e?"string":v(t)}return e?t<0?"int256":"uint256":_(t)},x=function(t){return("string"==typeof t||"number"==typeof t)&&/^(-)?0x[0-9a-f]*$/i.test(t)},k=function(t){return("string"==typeof t||"number"==typeof t)&&/^(-0x|0x)?[0-9a-f]*$/i.test(t)},S="0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",E=function(t){d(t)&&(t=t.toString()),x(t)&&/^0x/i.test(t.toString())?t=l.toBuffer(t):"string"==typeof t&&(t=n.from(t,"utf-8"));var e=l.bufferToHex(f(t));return e===S?null:e};E._Hash=f;var M=function(t){if("string"==typeof t&&t.includes("0x")){var e=t.toLocaleLowerCase().startsWith("-")?["-",t.slice(3)]:["",t.slice(2)],r=(0,o.default)(e,2),n=r[0],i=r[1];return new s(n+i,16)}return new s(t)};Object.setPrototypeOf(M,s),Object.setPrototypeOf(M.prototype,s.prototype),t.exports={BN:M,isBN:d,isBigNumber:p,toBN:m,isAddress:g,isBloom:function(t){return h.isBloom(t)},isUserEthereumAddressInBloom:function(t,e){return h.isUserEthereumAddressInBloom(t,e)},isContractAddressInBloom:function(t,e){return h.isContractAddressInBloom(t,e)},isTopic:function(t){return h.isTopic(t)},isTopicInBloom:function(t,e){return h.isTopicInBloom(t,e)},isInBloom:function(t,e){return h.isInBloom(t,e)},checkAddressChecksum:y,utf8ToHex:v,hexToUtf8:function(t){if(!x(t))throw new Error('The parameter "'+t+'" must be a valid HEX string.');for(var e="",r=0,n=(t=(t=(t=(t=(t=t.replace(/^0x/i,"")).replace(/^(?:00)*/,"")).split("").reverse().join("")).replace(/^(?:00)*/,"")).split("").reverse().join("")).length,i=0;i<n;i+=2)r=parseInt(t.slice(i,i+2),16),e+=String.fromCharCode(r);return c.decode(e)},hexToNumber:b,hexToNumberString:function(t){if(!t)return t;if("string"==typeof t&&!x(t))throw new Error('Given value "'+t+'" is not a valid hex string.');return m(t).toString(10)},numberToHex:_,toHex:w,hexToBytes:function(t){if(t=t.toString(16),!x(t))throw new Error('Given value "'+t+'" is not a valid hex string.');t=t.replace(/^0x/i,"");for(var e=[],r=0;r<t.length;r+=2)e.push(parseInt(t.slice(r,r+2),16));return e},bytesToHex:function(t){for(var e=[],r=0;r<t.length;r++)e.push((t[r]>>>4).toString(16)),e.push((15&t[r]).toString(16));return"0x"+e.join("")},isHex:k,isHexStrict:x,stripHexPrefix:function(t){return 0!==t&&k(t)?t.replace(/^(-)?0x/i,"$1"):t},leftPad:function(t,e,r){var n=/^0x/i.test(t)||"number"==typeof t,i=e-(t=t.toString(16).replace(/^0x/i,"")).length+1>=0?e-t.length+1:0;return(n?"0x":"")+new Array(i).join(r||"0")+t},rightPad:function(t,e,r){var n=/^0x/i.test(t)||"number"==typeof t,i=e-(t=t.toString(16).replace(/^0x/i,"")).length+1>=0?e-t.length+1:0;return(n?"0x":"")+t+new Array(i).join(r||"0")},toTwosComplement:function(t){return"0x"+m(t).toTwos(256).toString(16,64)},sha3:E,sha3Raw:function(t){return null===(t=E(t))?S:t},toNumber:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"number"==typeof t?t:b(w(t),e)}}},17001:(t,e,r)=>{"use strict";var n=r(78920).i8,i=r(80606),o=r(66748),a=r(473),s=r(96306),u=r(92565),c=r(42463),l=r(48161),h=function(){var t=this;i.packageInit(this,arguments),this.version=n,this.utils=l,this.eth=new o(this),this.shh=new u(this),this.bzz=new c(this);var e=this.setProvider;this.setProvider=function(r,n){return e.apply(t,arguments),t.eth.setRequestManager(t._requestManager),t.shh.setRequestManager(t._requestManager),t.bzz.setProvider(r),!0}};h.version=n,h.utils=l,h.modules={Eth:o,Net:a,Personal:s,Shh:u,Bzz:c},i.addProviders(h),t.exports=h},89214:()=>{},52361:()=>{},94616:()=>{},38768:t=>{"use strict";t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n},t.exports.__esModule=!0,t.exports.default=t.exports},12338:t=>{"use strict";t.exports=function(t){if(Array.isArray(t))return t},t.exports.__esModule=!0,t.exports.default=t.exports},77907:(t,e,r)=>{"use strict";var n=r(38768);t.exports=function(t){if(Array.isArray(t))return n(t)},t.exports.__esModule=!0,t.exports.default=t.exports},58975:t=>{"use strict";t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.__esModule=!0,t.exports.default=t.exports},94571:t=>{"use strict";function e(t,e,r,n,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}t.exports=function(t){return function(){var r=this,n=arguments;return new Promise((function(i,o){var a=t.apply(r,n);function s(t){e(a,i,o,s,u,"next",t)}function u(t){e(a,i,o,s,u,"throw",t)}s(void 0)}))}},t.exports.__esModule=!0,t.exports.default=t.exports},69721:t=>{"use strict";t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.__esModule=!0,t.exports.default=t.exports},14727:(t,e,r)=>{"use strict";var n=r(38746),i=r(36923);function o(e,r,a){return i()?(t.exports=o=Reflect.construct.bind(),t.exports.__esModule=!0,t.exports.default=t.exports):(t.exports=o=function(t,e,r){var i=[null];i.push.apply(i,e);var o=new(Function.bind.apply(t,i));return r&&n(o,r.prototype),o},t.exports.__esModule=!0,t.exports.default=t.exports),o.apply(null,arguments)}t.exports=o,t.exports.__esModule=!0,t.exports.default=t.exports},58985:(t,e,r)=>{"use strict";var n=r(32310);function i(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,n(i.key),i)}}t.exports=function(t,e,r){return e&&i(t.prototype,e),r&&i(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t},t.exports.__esModule=!0,t.exports.default=t.exports},90775:(t,e,r)=>{"use strict";var n=r(32310);t.exports=function(t,e,r){return(e=n(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},t.exports.__esModule=!0,t.exports.default=t.exports},119:(t,e,r)=>{"use strict";var n=r(47460);function i(){return"undefined"!=typeof Reflect&&Reflect.get?(t.exports=i=Reflect.get.bind(),t.exports.__esModule=!0,t.exports.default=t.exports):(t.exports=i=function(t,e,r){var i=n(t,e);if(i){var o=Object.getOwnPropertyDescriptor(i,e);return o.get?o.get.call(arguments.length<3?t:r):o.value}},t.exports.__esModule=!0,t.exports.default=t.exports),i.apply(this,arguments)}t.exports=i,t.exports.__esModule=!0,t.exports.default=t.exports},21949:t=>{"use strict";function e(r){return t.exports=e=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},t.exports.__esModule=!0,t.exports.default=t.exports,e(r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},15163:(t,e,r)=>{"use strict";var n=r(38746);t.exports=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&n(t,e)},t.exports.__esModule=!0,t.exports.default=t.exports},28847:t=>{"use strict";t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports.default=t.exports},78958:t=>{"use strict";t.exports=function(t){return-1!==Function.toString.call(t).indexOf("[native code]")},t.exports.__esModule=!0,t.exports.default=t.exports},36923:t=>{"use strict";t.exports=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}},t.exports.__esModule=!0,t.exports.default=t.exports},41642:t=>{"use strict";t.exports=function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},t.exports.__esModule=!0,t.exports.default=t.exports},91436:t=>{"use strict";t.exports=function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,a,s=[],u=!0,c=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=o.call(r)).done)&&(s.push(n.value),s.length!==e);u=!0);}catch(t){c=!0,i=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}},t.exports.__esModule=!0,t.exports.default=t.exports},82966:t=>{"use strict";t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports.default=t.exports},22344:t=>{"use strict";t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports.default=t.exports},34650:(t,e,r)=>{"use strict";var n=r(3355).default,i=r(58975);t.exports=function(t,e){if(e&&("object"===n(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return i(t)},t.exports.__esModule=!0,t.exports.default=t.exports},82028:(t,e,r)=>{"use strict";var n=r(3355).default;function i(){t.exports=i=function(){return e},t.exports.__esModule=!0,t.exports.default=t.exports;var e={},r=Object.prototype,o=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},s="function"==typeof Symbol?Symbol:{},u=s.iterator||"@@iterator",c=s.asyncIterator||"@@asyncIterator",l=s.toStringTag||"@@toStringTag";function h(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{h({},"")}catch(t){h=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var i=e&&e.prototype instanceof m?e:m,o=Object.create(i.prototype),s=new T(n||[]);return a(o,"_invoke",{value:S(t,r,s)}),o}function d(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=f;var p={};function m(){}function g(){}function y(){}var v={};h(v,u,(function(){return this}));var b=Object.getPrototypeOf,_=b&&b(b(C([])));_&&_!==r&&o.call(_,u)&&(v=_);var w=y.prototype=m.prototype=Object.create(v);function x(t){["next","throw","return"].forEach((function(e){h(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(i,a,s,u){var c=d(t[i],t,a);if("throw"!==c.type){var l=c.arg,h=l.value;return h&&"object"==n(h)&&o.call(h,"__await")?e.resolve(h.__await).then((function(t){r("next",t,s,u)}),(function(t){r("throw",t,s,u)})):e.resolve(h).then((function(t){l.value=t,s(l)}),(function(t){return r("throw",t,s,u)}))}u(c.arg)}var i;a(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,i){r(t,n,e,i)}))}return i=i?i.then(o,o):o()}})}function S(t,e,r){var n="suspendedStart";return function(i,o){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===i)throw o;return{value:void 0,done:!0}}for(r.method=i,r.arg=o;;){var a=r.delegate;if(a){var s=E(a,r);if(s){if(s===p)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=d(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===p)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function E(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,E(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),p;var i=d(n,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,p;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,p):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,p)}function M(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(M,this),this.reset(!0)}function C(t){if(t){var e=t[u];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,n=function e(){for(;++r<t.length;)if(o.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return n.next=n}}return{next:L}}function L(){return{value:void 0,done:!0}}return g.prototype=y,a(w,"constructor",{value:y,configurable:!0}),a(y,"constructor",{value:g,configurable:!0}),g.displayName=h(y,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,h(t,l,"GeneratorFunction")),t.prototype=Object.create(w),t},e.awrap=function(t){return{__await:t}},x(k.prototype),h(k.prototype,c,(function(){return this})),e.AsyncIterator=k,e.async=function(t,r,n,i,o){void 0===o&&(o=Promise);var a=new k(f(t,r,n,i),o);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(w),h(w,l,"Generator"),h(w,u,(function(){return this})),h(w,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=C,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(A),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(s&&u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),p},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;A(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:C(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},e}t.exports=i,t.exports.__esModule=!0,t.exports.default=t.exports},38746:t=>{"use strict";function e(r,n){return t.exports=e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},t.exports.__esModule=!0,t.exports.default=t.exports,e(r,n)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},74519:(t,e,r)=>{"use strict";var n=r(12338),i=r(91436),o=r(46906),a=r(82966);t.exports=function(t,e){return n(t)||i(t,e)||o(t,e)||a()},t.exports.__esModule=!0,t.exports.default=t.exports},47460:(t,e,r)=>{"use strict";var n=r(21949);t.exports=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=n(t)););return t},t.exports.__esModule=!0,t.exports.default=t.exports},93106:(t,e,r)=>{"use strict";var n=r(77907),i=r(41642),o=r(46906),a=r(22344);t.exports=function(t){return n(t)||i(t)||o(t)||a()},t.exports.__esModule=!0,t.exports.default=t.exports},79662:(t,e,r)=>{"use strict";var n=r(3355).default;t.exports=function(t,e){if("object"!==n(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!==n(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports},32310:(t,e,r)=>{"use strict";var n=r(3355).default,i=r(79662);t.exports=function(t){var e=i(t,"string");return"symbol"===n(e)?e:String(e)},t.exports.__esModule=!0,t.exports.default=t.exports},3355:t=>{"use strict";function e(r){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},46906:(t,e,r)=>{"use strict";var n=r(38768);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}},t.exports.__esModule=!0,t.exports.default=t.exports},22940:(t,e,r)=>{"use strict";var n=r(21949),i=r(38746),o=r(78958),a=r(14727);function s(e){var r="function"==typeof Map?new Map:void 0;return t.exports=s=function(t){if(null===t||!o(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(t))return r.get(t);r.set(t,e)}function e(){return a(t,arguments,n(this).constructor)}return e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),i(e,t)},t.exports.__esModule=!0,t.exports.default=t.exports,s(e)}t.exports=s,t.exports.__esModule=!0,t.exports.default=t.exports},82247:(t,e,r)=>{"use strict";var n=r(28847)(r(3355)),i=r(82028)();t.exports=i;try{regeneratorRuntime=i}catch(t){"object"===("undefined"==typeof globalThis?"undefined":(0,n.default)(globalThis))?globalThis.regeneratorRuntime=i:Function("r","regeneratorRuntime = r")(i)}},43604:(t,e,r)=>{"use strict";var n=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],i="undefined"==typeof globalThis?r.g:globalThis;t.exports=function(){for(var t=[],e=0;e<n.length;e++)"function"==typeof i[n[e]]&&(t[t.length]=n[e]);return t}},17687:t=>{"use strict";t.exports=JSON.parse('{"name":"goerli","chainId":5,"networkId":5,"defaultHardfork":"istanbul","consensus":{"type":"poa","algorithm":"clique","clique":{"period":15,"epoch":30000}},"comment":"Cross-client PoA test network","url":"https://github.com/goerli/testnet","genesis":{"hash":"0xbf7e331f7f7c1dd2e05159666b3bf8bc7a8a3a9eb1d518969eab529dd9b88c1a","timestamp":"0x5c51a607","gasLimit":10485760,"difficulty":1,"nonce":"0x0000000000000000","extraData":"0x22466c6578692069732061207468696e6722202d204166726900000000000000e0a2bd4258d2768837baa26a28fe71dc079f84c70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","stateRoot":"0x5d6cded585e73c4e322c30c2f782a336316f17dd85a4863b9d838d2d4b8b3008"},"hardforks":[{"name":"chainstart","block":0,"forkHash":"0xa3f5ab08"},{"name":"homestead","block":0,"forkHash":"0xa3f5ab08"},{"name":"tangerineWhistle","block":0,"forkHash":"0xa3f5ab08"},{"name":"spuriousDragon","block":0,"forkHash":"0xa3f5ab08"},{"name":"byzantium","block":0,"forkHash":"0xa3f5ab08"},{"name":"constantinople","block":0,"forkHash":"0xa3f5ab08"},{"name":"petersburg","block":0,"forkHash":"0xa3f5ab08"},{"name":"istanbul","block":1561651,"forkHash":"0xc25efa5c"},{"name":"berlin","block":4460644,"forkHash":"0x757a1c47"},{"name":"london","block":5062605,"forkHash":"0xb8c6299d"},{"name":"merge","block":null,"forkHash":null},{"name":"shanghai","block":null,"forkHash":null}],"bootstrapNodes":[{"ip":"51.141.78.53","port":30303,"id":"011f758e6552d105183b1761c5e2dea0111bc20fd5f6422bc7f91e0fabbec9a6595caf6239b37feb773dddd3f87240d99d859431891e4a642cf2a0a9e6cbb98a","location":"","comment":"Upstream bootnode 1"},{"ip":"13.93.54.137","port":30303,"id":"176b9417f511d05b6b2cf3e34b756cf0a7096b3094572a8f6ef4cdcb9d1f9d00683bf0f83347eebdf3b81c3521c2332086d9592802230bf528eaf606a1d9677b","location":"","comment":"Upstream bootnode 2"},{"ip":"94.237.54.114","port":30313,"id":"46add44b9f13965f7b9875ac6b85f016f341012d84f975377573800a863526f4da19ae2c620ec73d11591fa9510e992ecc03ad0751f53cc02f7c7ed6d55c7291","location":"","comment":"Upstream bootnode 3"},{"ip":"18.218.250.66","port":30313,"id":"b5948a2d3e9d486c4d75bf32713221c2bd6cf86463302339299bd227dc2e276cd5a1c7ca4f43a0e9122fe9af884efed563bd2a1fd28661f3b5f5ad7bf1de5949","location":"","comment":"Upstream bootnode 4"},{"ip":"3.11.147.67","port":30303,"id":"a61215641fb8714a373c80edbfa0ea8878243193f57c96eeb44d0bc019ef295abd4e044fd619bfc4c59731a73fb79afe84e9ab6da0c743ceb479cbb6d263fa91","location":"","comment":"Ethereum Foundation bootnode"},{"ip":"51.15.116.226","port":30303,"id":"a869b02cec167211fb4815a82941db2e7ed2936fd90e78619c53eb17753fcf0207463e3419c264e2a1dd8786de0df7e68cf99571ab8aeb7c4e51367ef186b1dd","location":"","comment":"Goerli Initiative bootnode"},{"ip":"51.15.119.157","port":30303,"id":"807b37ee4816ecf407e9112224494b74dd5933625f655962d892f2f0f02d7fbbb3e2a94cf87a96609526f30c998fd71e93e2f53015c558ffc8b03eceaf30ee33","location":"","comment":"Goerli Initiative bootnode"},{"ip":"51.15.119.157","port":40303,"id":"a59e33ccd2b3e52d578f1fbd70c6f9babda2650f0760d6ff3b37742fdcdfdb3defba5d56d315b40c46b70198c7621e63ffa3f987389c7118634b0fefbbdfa7fd","location":"","comment":"Goerli Initiative bootnode"}],"dnsNetworks":["enrtree://AKA3AM6LPBYEUDMVNU3BSVQJ5AD45Y7YPOHJLEF6W26QOE4VTUDPE@all.goerli.ethdisco.net"]}')},37098:t=>{"use strict";t.exports=JSON.parse('{"name":"kovan","chainId":42,"networkId":42,"defaultHardfork":"istanbul","consensus":{"type":"poa","algorithm":"aura","aura":{}},"comment":"Parity PoA test network","url":"https://kovan-testnet.github.io/website/","genesis":{"hash":"0xa3c565fc15c7478862d50ccd6561e3c06b24cc509bf388941c25ea985ce32cb9","timestamp":null,"gasLimit":6000000,"difficulty":131072,"nonce":"0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","extraData":"0x","stateRoot":"0x2480155b48a1cea17d67dbfdfaafe821c1d19cdd478c5358e8ec56dec24502b2"},"hardforks":[{"name":"chainstart","block":0,"forkHash":"0x010ffe56"},{"name":"homestead","block":0,"forkHash":"0x010ffe56"},{"name":"tangerineWhistle","block":0,"forkHash":"0x010ffe56"},{"name":"spuriousDragon","block":0,"forkHash":"0x010ffe56"},{"name":"byzantium","block":5067000,"forkHash":"0x7f83c620"},{"name":"constantinople","block":9200000,"forkHash":"0xa94e3dc4"},{"name":"petersburg","block":10255201,"forkHash":"0x186874aa"},{"name":"istanbul","block":14111141,"forkHash":"0x7f6599a6"},{"name":"berlin","block":24770900,"forkHash":"0x1a0f10d9"},{"name":"london","block":26741100,"forkHash":"0x1ed20b71"},{"name":"merge","block":null,"forkHash":null},{"name":"shanghai","block":null,"forkHash":null}],"bootstrapNodes":[{"ip":"116.203.116.241","port":30303,"id":"16898006ba2cd4fa8bf9a3dfe32684c178fa861df144bfc21fe800dc4838a03e342056951fa9fd533dcb0be1219e306106442ff2cf1f7e9f8faa5f2fc1a3aa45","location":"","comment":"1"},{"ip":"3.217.96.11","port":30303,"id":"2909846f78c37510cc0e306f185323b83bb2209e5ff4fdd279d93c60e3f365e3c6e62ad1d2133ff11f9fd6d23ad9c3dad73bb974d53a22f7d1ac5b7dea79d0b0","location":"","comment":"2"},{"ip":"108.61.170.124","port":30303,"id":"740e1c8ea64e71762c71a463a04e2046070a0c9394fcab5891d41301dc473c0cff00ebab5a9bc87fbcb610ab98ac18225ff897bc8b7b38def5975d5ceb0a7d7c","location":"","comment":"3"},{"ip":"157.230.31.163","port":30303,"id":"2909846f78c37510cc0e306f185323b83bb2209e5ff4fdd279d93c60e3f365e3c6e62ad1d2133ff11f9fd6d23ad9c3dad73bb974d53a22f7d1ac5b7dea79d0b0","location":"","comment":"4"}]}')},87295:t=>{"use strict";t.exports=JSON.parse('{"name":"mainnet","chainId":1,"networkId":1,"defaultHardfork":"istanbul","consensus":{"type":"pow","algorithm":"ethash","ethash":{}},"comment":"The Ethereum main chain","url":"https://ethstats.net/","genesis":{"hash":"0xd4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3","timestamp":null,"gasLimit":5000,"difficulty":17179869184,"nonce":"0x0000000000000042","extraData":"0x11bbe8db4e347b4e8c937c1c8370e4b5ed33adb3db69cbdb7a38e1e50b1b82fa","stateRoot":"0xd7f8974fb5ac78d9ac099b9ad5018bedc2ce0a72dad1827a1709da30580f0544"},"hardforks":[{"name":"chainstart","block":0,"forkHash":"0xfc64ec04"},{"name":"homestead","block":1150000,"forkHash":"0x97c2c34c"},{"name":"dao","block":1920000,"forkHash":"0x91d1f948"},{"name":"tangerineWhistle","block":2463000,"forkHash":"0x7a64da13"},{"name":"spuriousDragon","block":2675000,"forkHash":"0x3edd5b10"},{"name":"byzantium","block":4370000,"forkHash":"0xa00bc324"},{"name":"constantinople","block":7280000,"forkHash":"0x668db0af"},{"name":"petersburg","block":7280000,"forkHash":"0x668db0af"},{"name":"istanbul","block":9069000,"forkHash":"0x879d6e30"},{"name":"muirGlacier","block":9200000,"forkHash":"0xe029e991"},{"name":"berlin","block":12244000,"forkHash":"0x0eb440f6"},{"name":"london","block":12965000,"forkHash":"0xb715077d"},{"name":"arrowGlacier","block":13773000,"forkHash":"0x20c327fc"},{"name":"grayGlacier","block":15050000,"forkHash":"0xf0afd0e3"},{"name":"mergeForkIdTransition","block":null,"forkHash":null},{"name":"merge","block":null,"forkHash":null},{"name":"shanghai","block":null,"forkHash":null}],"bootstrapNodes":[{"ip":"18.138.108.67","port":30303,"id":"d860a01f9722d78051619d1e2351aba3f43f943f6f00718d1b9baa4101932a1f5011f16bb2b1bb35db20d6fe28fa0bf09636d26a87d31de9ec6203eeedb1f666","location":"ap-southeast-1-001","comment":"bootnode-aws-ap-southeast-1-001"},{"ip":"3.209.45.79","port":30303,"id":"22a8232c3abc76a16ae9d6c3b164f98775fe226f0917b0ca871128a74a8e9630b458460865bab457221f1d448dd9791d24c4e5d88786180ac185df813a68d4de","location":"us-east-1-001","comment":"bootnode-aws-us-east-1-001"},{"ip":"34.255.23.113","port":30303,"id":"ca6de62fce278f96aea6ec5a2daadb877e51651247cb96ee310a318def462913b653963c155a0ef6c7d50048bba6e6cea881130857413d9f50a621546b590758","location":"eu-west-1-001","comment":"bootnode-aws-eu-west-1-001"},{"ip":"35.158.244.151","port":30303,"id":"279944d8dcd428dffaa7436f25ca0ca43ae19e7bcf94a8fb7d1641651f92d121e972ac2e8f381414b80cc8e5555811c2ec6e1a99bb009b3f53c4c69923e11bd8","location":"eu-central-1-001","comment":"bootnode-aws-eu-central-1-001"},{"ip":"52.187.207.27","port":30303,"id":"8499da03c47d637b20eee24eec3c356c9a2e6148d6fe25ca195c7949ab8ec2c03e3556126b0d7ed644675e78c4318b08691b7b57de10e5f0d40d05b09238fa0a","location":"australiaeast-001","comment":"bootnode-azure-australiaeast-001"},{"ip":"191.234.162.198","port":30303,"id":"103858bdb88756c71f15e9b5e09b56dc1be52f0a5021d46301dbbfb7e130029cc9d0d6f73f693bc29b665770fff7da4d34f3c6379fe12721b5d7a0bcb5ca1fc1","location":"brazilsouth-001","comment":"bootnode-azure-brazilsouth-001"},{"ip":"52.231.165.108","port":30303,"id":"715171f50508aba88aecd1250af392a45a330af91d7b90701c436b618c86aaa1589c9184561907bebbb56439b8f8787bc01f49a7c77276c58c1b09822d75e8e8","location":"koreasouth-001","comment":"bootnode-azure-koreasouth-001"},{"ip":"104.42.217.25","port":30303,"id":"5d6d7cd20d6da4bb83a1d28cadb5d409b64edf314c0335df658c1a54e32c7c4a7ab7823d57c39b6a757556e68ff1df17c748b698544a55cb488b52479a92b60f","location":"westus-001","comment":"bootnode-azure-westus-001"}],"dnsNetworks":["enrtree://AKA3AM6LPBYEUDMVNU3BSVQJ5AD45Y7YPOHJLEF6W26QOE4VTUDPE@all.mainnet.ethdisco.net"]}')},40439:t=>{"use strict";t.exports=JSON.parse('{"name":"rinkeby","chainId":4,"networkId":4,"defaultHardfork":"istanbul","consensus":{"type":"poa","algorithm":"clique","clique":{"period":15,"epoch":30000}},"comment":"PoA test network","url":"https://www.rinkeby.io","genesis":{"hash":"0x6341fd3daf94b748c72ced5a5b26028f2474f5f00d824504e4fa37a75767e177","timestamp":"0x58ee40ba","gasLimit":4700000,"difficulty":1,"nonce":"0x0000000000000000","extraData":"0x52657370656374206d7920617574686f7269746168207e452e436172746d616e42eb768f2244c8811c63729a21a3569731535f067ffc57839b00206d1ad20c69a1981b489f772031b279182d99e65703f0076e4812653aab85fca0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","stateRoot":"0x53580584816f617295ea26c0e17641e0120cab2f0a8ffb53a866fd53aa8e8c2d"},"hardforks":[{"name":"chainstart","block":0,"forkHash":"0x3b8e0691"},{"name":"homestead","block":1,"forkHash":"0x60949295"},{"name":"tangerineWhistle","block":2,"forkHash":"0x8bde40dd"},{"name":"spuriousDragon","block":3,"forkHash":"0xcb3a64bb"},{"name":"byzantium","block":1035301,"forkHash":"0x8d748b57"},{"name":"constantinople","block":3660663,"forkHash":"0xe49cab14"},{"name":"petersburg","block":4321234,"forkHash":"0xafec6b27"},{"name":"istanbul","block":5435345,"forkHash":"0xcbdb8838"},{"name":"berlin","block":8290928,"forkHash":"0x6910c8bd"},{"name":"london","block":8897988,"forkHash":"0x8e29f2f3"},{"name":"merge","block":null,"forkHash":null},{"name":"shanghai","block":null,"forkHash":null}],"bootstrapNodes":[{"ip":"52.169.42.101","port":30303,"id":"a24ac7c5484ef4ed0c5eb2d36620ba4e4aa13b8c84684e1b4aab0cebea2ae45cb4d375b77eab56516d34bfbd3c1a833fc51296ff084b770b94fb9028c4d25ccf","location":"","comment":"IE"},{"ip":"52.3.158.184","port":30303,"id":"343149e4feefa15d882d9fe4ac7d88f885bd05ebb735e547f12e12080a9fa07c8014ca6fd7f373123488102fe5e34111f8509cf0b7de3f5b44339c9f25e87cb8","location":"","comment":"INFURA"},{"ip":"159.89.28.211","port":30303,"id":"b6b28890b006743680c52e64e0d16db57f28124885595fa03a562be1d2bf0f3a1da297d56b13da25fb992888fd556d4c1a27b1f39d531bde7de1921c90061cc6","location":"","comment":"AKASHA"}],"dnsNetworks":["enrtree://AKA3AM6LPBYEUDMVNU3BSVQJ5AD45Y7YPOHJLEF6W26QOE4VTUDPE@all.rinkeby.ethdisco.net"]}')},31227:t=>{"use strict";t.exports=JSON.parse('{"name":"ropsten","chainId":3,"networkId":3,"defaultHardfork":"istanbul","consensus":{"type":"pow","algorithm":"ethash","ethash":{}},"comment":"PoW test network","url":"https://github.com/ethereum/ropsten","genesis":{"hash":"0x41941023680923e0fe4d74a34bdac8141f2540e3ae90623718e47d66d1ca4a2d","timestamp":null,"gasLimit":16777216,"difficulty":1048576,"nonce":"0x0000000000000042","extraData":"0x3535353535353535353535353535353535353535353535353535353535353535","stateRoot":"0x217b0bbcfb72e2d57e28f33cb361b9983513177755dc3f33ce3e7022ed62b77b"},"hardforks":[{"name":"chainstart","block":0,"forkHash":"0x30c7ddbc"},{"name":"homestead","block":0,"forkHash":"0x30c7ddbc"},{"name":"tangerineWhistle","block":0,"forkHash":"0x30c7ddbc"},{"name":"spuriousDragon","block":10,"forkHash":"0x63760190"},{"name":"byzantium","block":1700000,"forkHash":"0x3ea159c7"},{"name":"constantinople","block":4230000,"forkHash":"0x97b544f3"},{"name":"petersburg","block":4939394,"forkHash":"0xd6e2149b"},{"name":"istanbul","block":6485846,"forkHash":"0x4bc66396"},{"name":"muirGlacier","block":7117117,"forkHash":"0x6727ef90"},{"name":"berlin","block":9812189,"forkHash":"0xa157d377"},{"name":"london","block":10499401,"forkHash":"0x7119b6b3"},{"name":"merge","block":null,"forkHash":null},{"name":"shanghai","block":null,"forkHash":null}],"bootstrapNodes":[{"ip":"52.176.7.10","port":30303,"id":"30b7ab30a01c124a6cceca36863ece12c4f5fa68e3ba9b0b51407ccc002eeed3b3102d20a88f1c1d3c3154e2449317b8ef95090e77b312d5cc39354f86d5d606","location":"","comment":"US-Azure geth"},{"ip":"52.176.100.77","port":30303,"id":"865a63255b3bb68023b6bffd5095118fcc13e79dcf014fe4e47e065c350c7cc72af2e53eff895f11ba1bbb6a2b33271c1116ee870f266618eadfc2e78aa7349c","location":"","comment":"US-Azure parity"},{"ip":"52.232.243.152","port":30303,"id":"6332792c4a00e3e4ee0926ed89e0d27ef985424d97b6a45bf0f23e51f0dcb5e66b875777506458aea7af6f9e4ffb69f43f3778ee73c81ed9d34c51c4b16b0b0f","location":"","comment":"Parity"},{"ip":"192.81.208.223","port":30303,"id":"94c15d1b9e2fe7ce56e458b9a3b672ef11894ddedd0c6f247e0f1d3487f52b66208fb4aeb8179fce6e3a749ea93ed147c37976d67af557508d199d9594c35f09","location":"","comment":"@gpip"}],"dnsNetworks":["enrtree://AKA3AM6LPBYEUDMVNU3BSVQJ5AD45Y7YPOHJLEF6W26QOE4VTUDPE@all.ropsten.ethdisco.net"]}')},49422:t=>{"use strict";t.exports=JSON.parse('{"name":"sepolia","chainId":11155111,"networkId":11155111,"defaultHardfork":"istanbul","consensus":{"type":"pow","algorithm":"ethash","ethash":{}},"comment":"PoW test network to replace Ropsten","url":"https://github.com/ethereum/go-ethereum/pull/23730","genesis":{"hash":"0x25a5cc106eea7138acab33231d7160d69cb777ee0c2c553fcddf5138993e6dd9","timestamp":"0x6159af19","gasLimit":30000000,"difficulty":131072,"nonce":"0x0000000000000000","extraData":"0x5365706f6c69612c20417468656e732c204174746963612c2047726565636521","stateRoot":"0x5eb6e371a698b8d68f665192350ffcecbbbf322916f4b51bd79bb6887da3f494"},"hardforks":[{"name":"chainstart","block":0,"forkHash":"0xfe3366e7"},{"name":"homestead","block":0,"forkHash":"0xfe3366e7"},{"name":"tangerineWhistle","block":0,"forkHash":"0xfe3366e7"},{"name":"spuriousDragon","block":0,"forkHash":"0xfe3366e7"},{"name":"byzantium","block":0,"forkHash":"0xfe3366e7"},{"name":"constantinople","block":0,"forkHash":"0xfe3366e7"},{"name":"petersburg","block":0,"forkHash":"0xfe3366e7"},{"name":"istanbul","block":0,"forkHash":"0xfe3366e7"},{"name":"muirGlacier","block":0,"forkHash":"0xfe3366e7"},{"name":"berlin","block":0,"forkHash":"0xfe3366e7"},{"name":"london","block":0,"forkHash":"0xfe3366e7"},{"name":"merge","block":null,"forkHash":null},{"name":"shanghai","block":null,"forkHash":null}],"bootstrapNodes":[{"ip":"18.168.182.86","port":30303,"id":"9246d00bc8fd1742e5ad2428b80fc4dc45d786283e05ef6edbd9002cbc335d40998444732fbe921cb88e1d2c73d1b1de53bae6a2237996e9bfe14f871baf7066","location":"","comment":"geth"},{"ip":"52.14.151.177","port":30303,"id":"ec66ddcf1a974950bd4c782789a7e04f8aa7110a72569b6e65fcd51e937e74eed303b1ea734e4d19cfaec9fbff9b6ee65bf31dcb50ba79acce9dd63a6aca61c7","location":"","comment":"besu"}],"dnsNetworks":[]}')},96561:t=>{"use strict";t.exports=JSON.parse('{"name":"EIP-1153","number":1153,"comment":"Transient Storage","url":"https://eips.ethereum.org/EIPS/eip-1153","status":"Review","minimumHardfork":"chainstart","requiredEIPs":[],"gasConfig":{},"gasPrices":{"tstore":{"v":100,"d":"Base fee of the TSTORE opcode"},"tload":{"v":100,"d":"Base fee of the TLOAD opcode"}},"vm":{},"pow":{}}')},77523:t=>{"use strict";t.exports=JSON.parse('{"name":"EIP-1559","number":1559,"comment":"Fee market change for ETH 1.0 chain","url":"https://eips.ethereum.org/EIPS/eip-1559","status":"Final","minimumHardfork":"berlin","requiredEIPs":[2930],"gasConfig":{"baseFeeMaxChangeDenominator":{"v":8,"d":"Maximum base fee change denominator"},"elasticityMultiplier":{"v":2,"d":"Maximum block gas target elasticity"},"initialBaseFee":{"v":1000000000,"d":"Initial base fee on first EIP1559 block"}},"gasPrices":{},"vm":{},"pow":{}}')},83339:t=>{"use strict";t.exports=JSON.parse('{"name":"EIP-2315","number":2315,"comment":"Simple subroutines for the EVM","url":"https://eips.ethereum.org/EIPS/eip-2315","status":"Draft","minimumHardfork":"istanbul","gasConfig":{},"gasPrices":{"beginsub":{"v":2,"d":"Base fee of the BEGINSUB opcode"},"returnsub":{"v":5,"d":"Base fee of the RETURNSUB opcode"},"jumpsub":{"v":10,"d":"Base fee of the JUMPSUB opcode"}},"vm":{},"pow":{}}')},26769:t=>{"use strict";t.exports=JSON.parse('{"name":"EIP-2537","number":2537,"comment":"BLS12-381 precompiles","url":"https://eips.ethereum.org/EIPS/eip-2537","status":"Draft","minimumHardfork":"chainstart","gasConfig":{},"gasPrices":{"Bls12381G1AddGas":{"v":600,"d":"Gas cost of a single BLS12-381 G1 addition precompile-call"},"Bls12381G1MulGas":{"v":12000,"d":"Gas cost of a single BLS12-381 G1 multiplication precompile-call"},"Bls12381G2AddGas":{"v":4500,"d":"Gas cost of a single BLS12-381 G2 addition precompile-call"},"Bls12381G2MulGas":{"v":55000,"d":"Gas cost of a single BLS12-381 G2 multiplication precompile-call"},"Bls12381PairingBaseGas":{"v":115000,"d":"Base gas cost of BLS12-381 pairing check"},"Bls12381PairingPerPairGas":{"v":23000,"d":"Per-pair gas cost of BLS12-381 pairing check"},"Bls12381MapG1Gas":{"v":5500,"d":"Gas cost of BLS12-381 map field element to G1"},"Bls12381MapG2Gas":{"v":110000,"d":"Gas cost of BLS12-381 map field element to G2"},"Bls12381MultiExpGasDiscount":{"v":[[1,1200],[2,888],[3,764],[4,641],[5,594],[6,547],[7,500],[8,453],[9,438],[10,423],[11,408],[12,394],[13,379],[14,364],[15,349],[16,334],[17,330],[18,326],[19,322],[20,318],[21,314],[22,310],[23,306],[24,302],[25,298],[26,294],[27,289],[28,285],[29,281],[30,277],[31,273],[32,269],[33,268],[34,266],[35,265],[36,263],[37,262],[38,260],[39,259],[40,257],[41,256],[42,254],[43,253],[44,251],[45,250],[46,248],[47,247],[48,245],[49,244],[50,242],[51,241],[52,239],[53,238],[54,236],[55,235],[56,233],[57,232],[58,231],[59,229],[60,228],[61,226],[62,225],[63,223],[64,222],[65,221],[66,220],[67,219],[68,219],[69,218],[70,217],[71,216],[72,216],[73,215],[74,214],[75,213],[76,213],[77,212],[78,211],[79,211],[80,210],[81,209],[82,208],[83,208],[84,207],[85,206],[86,205],[87,205],[88,204],[89,203],[90,202],[91,202],[92,201],[93,200],[94,199],[95,199],[96,198],[97,197],[98,196],[99,196],[100,195],[101,194],[102,193],[103,193],[104,192],[105,191],[106,191],[107,190],[108,189],[109,188],[110,188],[111,187],[112,186],[113,185],[114,185],[115,184],[116,183],[117,182],[118,182],[119,181],[120,180],[121,179],[122,179],[123,178],[124,177],[125,176],[126,176],[127,175],[128,174]],"d":"Discount gas costs of calls to the MultiExp precompiles with `k` (point, scalar) pair"}},"vm":{},"pow":{}}')},17897:t=>{"use strict";t.exports=JSON.parse('{"name":"EIP-2565","number":2565,"comment":"ModExp gas cost","url":"https://eips.ethereum.org/EIPS/eip-2565","status":"Final","minimumHardfork":"byzantium","gasConfig":{},"gasPrices":{"modexpGquaddivisor":{"v":3,"d":"Gquaddivisor from modexp precompile for gas calculation"}},"vm":{},"pow":{}}')},62170:t=>{"use strict";t.exports=JSON.parse('{"name":"EIP-2718","comment":"Typed Transaction Envelope","url":"https://eips.ethereum.org/EIPS/eip-2718","status":"Final","minimumHardfork":"chainstart","gasConfig":{},"gasPrices":{},"vm":{},"pow":{}}')},88436:t=>{"use strict";t.exports=JSON.parse('{"name":"EIP-2929","comment":"Gas cost increases for state access opcodes","url":"https://eips.ethereum.org/EIPS/eip-2929","status":"Final","minimumHardfork":"chainstart","gasConfig":{},"gasPrices":{"coldsload":{"v":2100,"d":"Gas cost of the first read of storage from a given location (per transaction)"},"coldaccountaccess":{"v":2600,"d":"Gas cost of the first read of a given address (per transaction)"},"warmstorageread":{"v":100,"d":"Gas cost of reading storage locations which have already loaded \'cold\'"},"sstoreCleanGasEIP2200":{"v":2900,"d":"Once per SSTORE operation from clean non-zero to something else"},"sstoreNoopGasEIP2200":{"v":100,"d":"Once per SSTORE operation if the value doesn\'t change"},"sstoreDirtyGasEIP2200":{"v":100,"d":"Once per SSTORE operation if a dirty value is changed"},"sstoreInitRefundEIP2200":{"v":19900,"d":"Once per SSTORE operation for resetting to the original zero value"},"sstoreCleanRefundEIP2200":{"v":4900,"d":"Once per SSTORE operation for resetting to the original non-zero value"},"call":{"v":0,"d":"Base fee of the CALL opcode"},"callcode":{"v":0,"d":"Base fee of the CALLCODE opcode"},"delegatecall":{"v":0,"d":"Base fee of the DELEGATECALL opcode"},"staticcall":{"v":0,"d":"Base fee of the STATICCALL opcode"},"balance":{"v":0,"d":"Base fee of the BALANCE opcode"},"extcodesize":{"v":0,"d":"Base fee of the EXTCODESIZE opcode"},"extcodecopy":{"v":0,"d":"Base fee of the EXTCODECOPY opcode"},"extcodehash":{"v":0,"d":"Base fee of the EXTCODEHASH opcode"},"sload":{"v":0,"d":"Base fee of the SLOAD opcode"},"sstore":{"v":0,"d":"Base fee of the SSTORE opcode"}},"vm":{},"pow":{}}')},96213:t=>{"use strict";t.exports=JSON.parse('{"name":"EIP-2930","comment":"Optional access lists","url":"https://eips.ethereum.org/EIPS/eip-2930","status":"Final","minimumHardfork":"istanbul","requiredEIPs":[2718,2929],"gasConfig":{},"gasPrices":{"accessListStorageKeyCost":{"v":1900,"d":"Gas cost per storage key in an Access List transaction"},"accessListAddressCost":{"v":2400,"d":"Gas cost per storage key in an Access List transaction"}},"vm":{},"pow":{}}')},25491:t=>{"use strict";t.exports=JSON.parse('{"name":"EIP-3198","number":3198,"comment":"BASEFEE opcode","url":"https://eips.ethereum.org/EIPS/eip-3198","status":"Final","minimumHardfork":"london","gasConfig":{},"gasPrices":{"basefee":{"v":2,"d":"Gas cost of the BASEFEE opcode"}},"vm":{},"pow":{}}')},20070:t=>{"use strict";t.exports=JSON.parse('{"name":"EIP-3529","comment":"Reduction in refunds","url":"https://eips.ethereum.org/EIPS/eip-3529","status":"Final","minimumHardfork":"berlin","requiredEIPs":[2929],"gasConfig":{"maxRefundQuotient":{"v":5,"d":"Maximum refund quotient; max tx refund is min(tx.gasUsed/maxRefundQuotient, tx.gasRefund)"}},"gasPrices":{"selfdestructRefund":{"v":0,"d":"Refunded following a selfdestruct operation"},"sstoreClearRefundEIP2200":{"v":4800,"d":"Once per SSTORE operation for clearing an originally existing storage slot"}},"vm":{},"pow":{}}')},52256:t=>{"use strict";t.exports=JSON.parse('{"name":"EIP-3540","number":3540,"comment":"EVM Object Format (EOF) v1","url":"https://eips.ethereum.org/EIPS/eip-3540","status":"Review","minimumHardfork":"london","requiredEIPs":[3541],"gasConfig":{},"gasPrices":{},"vm":{},"pow":{}}')},21871:t=>{"use strict";t.exports=JSON.parse('{"name":"EIP-3541","comment":"Reject new contracts starting with the 0xEF byte","url":"https://eips.ethereum.org/EIPS/eip-3541","status":"Final","minimumHardfork":"berlin","requiredEIPs":[],"gasConfig":{},"gasPrices":{},"vm":{},"pow":{}}')},47225:t=>{"use strict";t.exports=JSON.parse('{"name":"EIP-3554","comment":"Reduction in refunds","url":"Difficulty Bomb Delay to December 1st 2021","status":"Final","minimumHardfork":"muirGlacier","requiredEIPs":[],"gasConfig":{},"gasPrices":{},"vm":{},"pow":{"difficultyBombDelay":{"v":9500000,"d":"the amount of blocks to delay the difficulty bomb with"}}}')},3968:t=>{"use strict";t.exports=JSON.parse('{"name":"EIP-3607","number":3607,"comment":"Reject transactions from senders with deployed code","url":"https://eips.ethereum.org/EIPS/eip-3607","status":"Final","minimumHardfork":"chainstart","requiredEIPs":[],"gasConfig":{},"gasPrices":{},"vm":{},"pow":{}}')},29496:t=>{"use strict";t.exports=JSON.parse('{"name":"EIP-3651","number":3198,"comment":"Warm COINBASE","url":"https://eips.ethereum.org/EIPS/eip-3651","status":"Review","minimumHardfork":"london","requiredEIPs":[2929],"gasConfig":{},"gasPrices":{},"vm":{},"pow":{}}')},74290:t=>{"use strict";t.exports=JSON.parse('{"name":"EIP-3670","number":3670,"comment":"EOF - Code Validation","url":"https://eips.ethereum.org/EIPS/eip-3670","status":"Review","minimumHardfork":"london","requiredEIPs":[3540],"gasConfig":{},"gasPrices":{},"vm":{},"pow":{}}')},98571:t=>{"use strict";t.exports=JSON.parse('{"name":"EIP-3675","number":3675,"comment":"Upgrade consensus to Proof-of-Stake","url":"https://eips.ethereum.org/EIPS/eip-3675","status":"Review","minimumHardfork":"london","requiredEIPs":[],"gasConfig":{},"gasPrices":{},"vm":{},"pow":{}}')},64551:t=>{"use strict";t.exports=JSON.parse('{"name":"EIP-3855","number":3855,"comment":"PUSH0 instruction","url":"https://eips.ethereum.org/EIPS/eip-3855","status":"Review","minimumHardfork":"chainstart","requiredEIPs":[],"gasConfig":{},"gasPrices":{"push0":{"v":2,"d":"Base fee of the PUSH0 opcode"}},"vm":{},"pow":{}}')},94300:t=>{"use strict";t.exports=JSON.parse('{"name":"EIP-3860","number":3860,"comment":"Limit and meter initcode","url":"https://eips.ethereum.org/EIPS/eip-3860","status":"Review","minimumHardfork":"spuriousDragon","requiredEIPs":[],"gasConfig":{},"gasPrices":{"initCodeWordCost":{"v":2,"d":"Gas to pay for each word (32 bytes) of initcode when creating a contract"}},"vm":{"maxInitCodeSize":{"v":49152,"d":"Maximum length of initialization code when creating a contract"}},"pow":{}}')},74818:t=>{"use strict";t.exports=JSON.parse('{"name":"EIP-4345","number":4345,"comment":"Difficulty Bomb Delay to June 2022","url":"https://eips.ethereum.org/EIPS/eip-4345","status":"Final","minimumHardfork":"london","gasConfig":{},"gasPrices":{},"vm":{},"pow":{"difficultyBombDelay":{"v":10700000,"d":"the amount of blocks to delay the difficulty bomb with"}}}')},68372:t=>{"use strict";t.exports=JSON.parse('{"name":"EIP-4399","number":4399,"comment":"Supplant DIFFICULTY opcode with PREVRANDAO","url":"https://eips.ethereum.org/EIPS/eip-4399","status":"Review","minimumHardfork":"london","requiredEIPs":[],"gasConfig":{},"gasPrices":{},"vm":{},"pow":{}}')},4759:t=>{"use strict";t.exports=JSON.parse('{"name":"EIP-5133","number":5133,"comment":"Delaying Difficulty Bomb to mid-September 2022","url":"https://eips.ethereum.org/EIPS/eip-5133","status":"Draft","minimumHardfork":"grayGlacier","gasConfig":{},"gasPrices":{},"vm":{},"pow":{"difficultyBombDelay":{"v":11400000,"d":"the amount of blocks to delay the difficulty bomb with"}}}')},51971:t=>{"use strict";t.exports=JSON.parse('{"name":"arrowGlacier","comment":"HF to delay the difficulty bomb","url":"https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/arrow-glacier.md","status":"Final","eips":[4345],"gasConfig":{},"gasPrices":{},"vm":{},"pow":{}}')},20015:t=>{"use strict";t.exports=JSON.parse('{"name":"berlin","comment":"HF targeted for July 2020 following the Muir Glacier HF","url":"https://eips.ethereum.org/EIPS/eip-2070","status":"Final","eips":[2565,2929,2718,2930]}')},26985:t=>{"use strict";t.exports=JSON.parse('{"name":"byzantium","comment":"Hardfork with new precompiles, instructions and other protocol changes","url":"https://eips.ethereum.org/EIPS/eip-609","status":"Final","gasConfig":{},"gasPrices":{"modexpGquaddivisor":{"v":20,"d":"Gquaddivisor from modexp precompile for gas calculation"},"ecAdd":{"v":500,"d":"Gas costs for curve addition precompile"},"ecMul":{"v":40000,"d":"Gas costs for curve multiplication precompile"},"ecPairing":{"v":100000,"d":"Base gas costs for curve pairing precompile"},"ecPairingWord":{"v":80000,"d":"Gas costs regarding curve pairing precompile input length"},"revert":{"v":0,"d":"Base fee of the REVERT opcode"},"staticcall":{"v":700,"d":"Base fee of the STATICCALL opcode"},"returndatasize":{"v":2,"d":"Base fee of the RETURNDATASIZE opcode"},"returndatacopy":{"v":3,"d":"Base fee of the RETURNDATACOPY opcode"}},"vm":{},"pow":{"minerReward":{"v":"3000000000000000000","d":"the amount a miner get rewarded for mining a block"},"difficultyBombDelay":{"v":3000000,"d":"the amount of blocks to delay the difficulty bomb with"}}}')},60114:t=>{"use strict";t.exports=JSON.parse('{"name":"chainstart","comment":"Start of the Ethereum main chain","url":"","status":"","gasConfig":{"minGasLimit":{"v":5000,"d":"Minimum the gas limit may ever be"},"gasLimitBoundDivisor":{"v":1024,"d":"The bound divisor of the gas limit, used in update calculations"},"maxRefundQuotient":{"v":2,"d":"Maximum refund quotient; max tx refund is min(tx.gasUsed/maxRefundQuotient, tx.gasRefund)"}},"gasPrices":{"base":{"v":2,"d":"Gas base cost, used e.g. for ChainID opcode (Istanbul)"},"tierStep":{"v":[0,2,3,5,8,10,20],"d":"Once per operation, for a selection of them"},"exp":{"v":10,"d":"Base fee of the EXP opcode"},"expByte":{"v":10,"d":"Times ceil(log256(exponent)) for the EXP instruction"},"sha3":{"v":30,"d":"Base fee of the SHA3 opcode"},"sha3Word":{"v":6,"d":"Once per word of the SHA3 operation\'s data"},"sload":{"v":50,"d":"Base fee of the SLOAD opcode"},"sstoreSet":{"v":20000,"d":"Once per SSTORE operation if the zeroness changes from zero"},"sstoreReset":{"v":5000,"d":"Once per SSTORE operation if the zeroness does not change from zero"},"sstoreRefund":{"v":15000,"d":"Once per SSTORE operation if the zeroness changes to zero"},"jumpdest":{"v":1,"d":"Base fee of the JUMPDEST opcode"},"log":{"v":375,"d":"Base fee of the LOG opcode"},"logData":{"v":8,"d":"Per byte in a LOG* operation\'s data"},"logTopic":{"v":375,"d":"Multiplied by the * of the LOG*, per LOG transaction. e.g. LOG0 incurs 0 * c_txLogTopicGas, LOG4 incurs 4 * c_txLogTopicGas"},"create":{"v":32000,"d":"Base fee of the CREATE opcode"},"call":{"v":40,"d":"Base fee of the CALL opcode"},"callStipend":{"v":2300,"d":"Free gas given at beginning of call"},"callValueTransfer":{"v":9000,"d":"Paid for CALL when the value transfor is non-zero"},"callNewAccount":{"v":25000,"d":"Paid for CALL when the destination address didn\'t exist prior"},"selfdestructRefund":{"v":24000,"d":"Refunded following a selfdestruct operation"},"memory":{"v":3,"d":"Times the address of the (highest referenced byte in memory + 1). NOTE: referencing happens on read, write and in instructions such as RETURN and CALL"},"quadCoeffDiv":{"v":512,"d":"Divisor for the quadratic particle of the memory cost equation"},"createData":{"v":200,"d":""},"tx":{"v":21000,"d":"Per transaction. NOTE: Not payable on data of calls between transactions"},"txCreation":{"v":32000,"d":"The cost of creating a contract via tx"},"txDataZero":{"v":4,"d":"Per byte of data attached to a transaction that equals zero. NOTE: Not payable on data of calls between transactions"},"txDataNonZero":{"v":68,"d":"Per byte of data attached to a transaction that is not equal to zero. NOTE: Not payable on data of calls between transactions"},"copy":{"v":3,"d":"Multiplied by the number of 32-byte words that are copied (round up) for any *COPY operation and added"},"ecRecover":{"v":3000,"d":""},"sha256":{"v":60,"d":""},"sha256Word":{"v":12,"d":""},"ripemd160":{"v":600,"d":""},"ripemd160Word":{"v":120,"d":""},"identity":{"v":15,"d":""},"identityWord":{"v":3,"d":""},"stop":{"v":0,"d":"Base fee of the STOP opcode"},"add":{"v":3,"d":"Base fee of the ADD opcode"},"mul":{"v":5,"d":"Base fee of the MUL opcode"},"sub":{"v":3,"d":"Base fee of the SUB opcode"},"div":{"v":5,"d":"Base fee of the DIV opcode"},"sdiv":{"v":5,"d":"Base fee of the SDIV opcode"},"mod":{"v":5,"d":"Base fee of the MOD opcode"},"smod":{"v":5,"d":"Base fee of the SMOD opcode"},"addmod":{"v":8,"d":"Base fee of the ADDMOD opcode"},"mulmod":{"v":8,"d":"Base fee of the MULMOD opcode"},"signextend":{"v":5,"d":"Base fee of the SIGNEXTEND opcode"},"lt":{"v":3,"d":"Base fee of the LT opcode"},"gt":{"v":3,"d":"Base fee of the GT opcode"},"slt":{"v":3,"d":"Base fee of the SLT opcode"},"sgt":{"v":3,"d":"Base fee of the SGT opcode"},"eq":{"v":3,"d":"Base fee of the EQ opcode"},"iszero":{"v":3,"d":"Base fee of the ISZERO opcode"},"and":{"v":3,"d":"Base fee of the AND opcode"},"or":{"v":3,"d":"Base fee of the OR opcode"},"xor":{"v":3,"d":"Base fee of the XOR opcode"},"not":{"v":3,"d":"Base fee of the NOT opcode"},"byte":{"v":3,"d":"Base fee of the BYTE opcode"},"address":{"v":2,"d":"Base fee of the ADDRESS opcode"},"balance":{"v":20,"d":"Base fee of the BALANCE opcode"},"origin":{"v":2,"d":"Base fee of the ORIGIN opcode"},"caller":{"v":2,"d":"Base fee of the CALLER opcode"},"callvalue":{"v":2,"d":"Base fee of the CALLVALUE opcode"},"calldataload":{"v":3,"d":"Base fee of the CALLDATALOAD opcode"},"calldatasize":{"v":2,"d":"Base fee of the CALLDATASIZE opcode"},"calldatacopy":{"v":3,"d":"Base fee of the CALLDATACOPY opcode"},"codesize":{"v":2,"d":"Base fee of the CODESIZE opcode"},"codecopy":{"v":3,"d":"Base fee of the CODECOPY opcode"},"gasprice":{"v":2,"d":"Base fee of the GASPRICE opcode"},"extcodesize":{"v":20,"d":"Base fee of the EXTCODESIZE opcode"},"extcodecopy":{"v":20,"d":"Base fee of the EXTCODECOPY opcode"},"blockhash":{"v":20,"d":"Base fee of the BLOCKHASH opcode"},"coinbase":{"v":2,"d":"Base fee of the COINBASE opcode"},"timestamp":{"v":2,"d":"Base fee of the TIMESTAMP opcode"},"number":{"v":2,"d":"Base fee of the NUMBER opcode"},"difficulty":{"v":2,"d":"Base fee of the DIFFICULTY opcode"},"gaslimit":{"v":2,"d":"Base fee of the GASLIMIT opcode"},"pop":{"v":2,"d":"Base fee of the POP opcode"},"mload":{"v":3,"d":"Base fee of the MLOAD opcode"},"mstore":{"v":3,"d":"Base fee of the MSTORE opcode"},"mstore8":{"v":3,"d":"Base fee of the MSTORE8 opcode"},"sstore":{"v":0,"d":"Base fee of the SSTORE opcode"},"jump":{"v":8,"d":"Base fee of the JUMP opcode"},"jumpi":{"v":10,"d":"Base fee of the JUMPI opcode"},"pc":{"v":2,"d":"Base fee of the PC opcode"},"msize":{"v":2,"d":"Base fee of the MSIZE opcode"},"gas":{"v":2,"d":"Base fee of the GAS opcode"},"push":{"v":3,"d":"Base fee of the PUSH opcode"},"dup":{"v":3,"d":"Base fee of the DUP opcode"},"swap":{"v":3,"d":"Base fee of the SWAP opcode"},"callcode":{"v":40,"d":"Base fee of the CALLCODE opcode"},"return":{"v":0,"d":"Base fee of the RETURN opcode"},"invalid":{"v":0,"d":"Base fee of the INVALID opcode"},"selfdestruct":{"v":0,"d":"Base fee of the SELFDESTRUCT opcode"}},"vm":{"stackLimit":{"v":1024,"d":"Maximum size of VM stack allowed"},"callCreateDepth":{"v":1024,"d":"Maximum depth of call/create stack"},"maxExtraDataSize":{"v":32,"d":"Maximum size extra data may be after Genesis"}},"pow":{"minimumDifficulty":{"v":131072,"d":"The minimum that the difficulty may ever be"},"difficultyBoundDivisor":{"v":2048,"d":"The bound divisor of the difficulty, used in the update calculations"},"durationLimit":{"v":13,"d":"The decision boundary on the blocktime duration used to determine whether difficulty should go up or not"},"epochDuration":{"v":30000,"d":"Duration between proof-of-work epochs"},"timebombPeriod":{"v":100000,"d":"Exponential difficulty timebomb period"},"minerReward":{"v":"5000000000000000000","d":"the amount a miner get rewarded for mining a block"},"difficultyBombDelay":{"v":0,"d":"the amount of blocks to delay the difficulty bomb with"}}}')},35993:t=>{"use strict";t.exports=JSON.parse('{"name":"constantinople","comment":"Postponed hardfork including EIP-1283 (SSTORE gas metering changes)","url":"https://eips.ethereum.org/EIPS/eip-1013","status":"Final","gasConfig":{},"gasPrices":{"netSstoreNoopGas":{"v":200,"d":"Once per SSTORE operation if the value doesn\'t change"},"netSstoreInitGas":{"v":20000,"d":"Once per SSTORE operation from clean zero"},"netSstoreCleanGas":{"v":5000,"d":"Once per SSTORE operation from clean non-zero"},"netSstoreDirtyGas":{"v":200,"d":"Once per SSTORE operation from dirty"},"netSstoreClearRefund":{"v":15000,"d":"Once per SSTORE operation for clearing an originally existing storage slot"},"netSstoreResetRefund":{"v":4800,"d":"Once per SSTORE operation for resetting to the original non-zero value"},"netSstoreResetClearRefund":{"v":19800,"d":"Once per SSTORE operation for resetting to the original zero value"},"shl":{"v":3,"d":"Base fee of the SHL opcode"},"shr":{"v":3,"d":"Base fee of the SHR opcode"},"sar":{"v":3,"d":"Base fee of the SAR opcode"},"extcodehash":{"v":400,"d":"Base fee of the EXTCODEHASH opcode"},"create2":{"v":32000,"d":"Base fee of the CREATE2 opcode"}},"vm":{},"pow":{"minerReward":{"v":"2000000000000000000","d":"The amount a miner gets rewarded for mining a block"},"difficultyBombDelay":{"v":5000000,"d":"the amount of blocks to delay the difficulty bomb with"}}}')},7197:t=>{"use strict";t.exports=JSON.parse('{"name":"dao","comment":"DAO rescue hardfork","url":"https://eips.ethereum.org/EIPS/eip-779","status":"Final","gasConfig":{},"gasPrices":{},"vm":{},"pow":{}}')},31088:t=>{"use strict";t.exports=JSON.parse('{"name":"grayGlacier","comment":"Delaying the difficulty bomb to Mid September 2022","url":"https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/gray-glacier.md","status":"Draft","eips":[5133],"gasConfig":{},"gasPrices":{},"vm":{},"pow":{}}')},62800:t=>{"use strict";t.exports=JSON.parse('{"name":"homestead","comment":"Homestead hardfork with protocol and network changes","url":"https://eips.ethereum.org/EIPS/eip-606","status":"Final","gasConfig":{},"gasPrices":{"delegatecall":{"v":40,"d":"Base fee of the DELEGATECALL opcode"}},"vm":{},"pow":{}}')},83166:t=>{"use strict";t.exports=JSON.parse('{"name":"istanbul","comment":"HF targeted for December 2019 following the Constantinople/Petersburg HF","url":"https://eips.ethereum.org/EIPS/eip-1679","status":"Final","gasConfig":{},"gasPrices":{"blake2Round":{"v":1,"d":"Gas cost per round for the Blake2 F precompile"},"ecAdd":{"v":150,"d":"Gas costs for curve addition precompile"},"ecMul":{"v":6000,"d":"Gas costs for curve multiplication precompile"},"ecPairing":{"v":45000,"d":"Base gas costs for curve pairing precompile"},"ecPairingWord":{"v":34000,"d":"Gas costs regarding curve pairing precompile input length"},"txDataNonZero":{"v":16,"d":"Per byte of data attached to a transaction that is not equal to zero. NOTE: Not payable on data of calls between transactions"},"sstoreSentryGasEIP2200":{"v":2300,"d":"Minimum gas required to be present for an SSTORE call, not consumed"},"sstoreNoopGasEIP2200":{"v":800,"d":"Once per SSTORE operation if the value doesn\'t change"},"sstoreDirtyGasEIP2200":{"v":800,"d":"Once per SSTORE operation if a dirty value is changed"},"sstoreInitGasEIP2200":{"v":20000,"d":"Once per SSTORE operation from clean zero to non-zero"},"sstoreInitRefundEIP2200":{"v":19200,"d":"Once per SSTORE operation for resetting to the original zero value"},"sstoreCleanGasEIP2200":{"v":5000,"d":"Once per SSTORE operation from clean non-zero to something else"},"sstoreCleanRefundEIP2200":{"v":4200,"d":"Once per SSTORE operation for resetting to the original non-zero value"},"sstoreClearRefundEIP2200":{"v":15000,"d":"Once per SSTORE operation for clearing an originally existing storage slot"},"balance":{"v":700,"d":"Base fee of the BALANCE opcode"},"extcodehash":{"v":700,"d":"Base fee of the EXTCODEHASH opcode"},"chainid":{"v":2,"d":"Base fee of the CHAINID opcode"},"selfbalance":{"v":5,"d":"Base fee of the SELFBALANCE opcode"},"sload":{"v":800,"d":"Base fee of the SLOAD opcode"}},"vm":{},"pow":{}}')},61250:t=>{"use strict";t.exports=JSON.parse('{"name":"london","comment":"HF targeted for July 2021 following the Berlin fork","url":"https://github.com/ethereum/eth1.0-specs/blob/master/network-upgrades/mainnet-upgrades/london.md","status":"Final","eips":[1559,3198,3529,3541]}')},88648:t=>{"use strict";t.exports=JSON.parse('{"name":"merge","comment":"Hardfork to upgrade the consensus mechanism to Proof-of-Stake","url":"https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/merge.md","status":"Draft","consensus":{"type":"pos","algorithm":"casper","casper":{}},"eips":[3675,4399]}')},49347:t=>{"use strict";t.exports=JSON.parse('{"name":"mergeForkIdTransition","comment":"Pre-merge hardfork to fork off non-upgraded clients","url":"https://eips.ethereum.org/EIPS/eip-3675","status":"Draft","eips":[]}')},42946:t=>{"use strict";t.exports=JSON.parse('{"name":"muirGlacier","comment":"HF to delay the difficulty bomb","url":"https://eips.ethereum.org/EIPS/eip-2384","status":"Final","gasConfig":{},"gasPrices":{},"vm":{},"pow":{"difficultyBombDelay":{"v":9000000,"d":"the amount of blocks to delay the difficulty bomb with"}}}')},4064:t=>{"use strict";t.exports=JSON.parse('{"name":"petersburg","comment":"Aka constantinopleFix, removes EIP-1283, activate together with or after constantinople","url":"https://eips.ethereum.org/EIPS/eip-1716","status":"Final","gasConfig":{},"gasPrices":{"netSstoreNoopGas":{"v":null,"d":"Removed along EIP-1283"},"netSstoreInitGas":{"v":null,"d":"Removed along EIP-1283"},"netSstoreCleanGas":{"v":null,"d":"Removed along EIP-1283"},"netSstoreDirtyGas":{"v":null,"d":"Removed along EIP-1283"},"netSstoreClearRefund":{"v":null,"d":"Removed along EIP-1283"},"netSstoreResetRefund":{"v":null,"d":"Removed along EIP-1283"},"netSstoreResetClearRefund":{"v":null,"d":"Removed along EIP-1283"}},"vm":{},"pow":{}}')},5553:t=>{"use strict";t.exports=JSON.parse('{"name":"shanghai","comment":"Next feature hardfork after the merge hardfork","url":"https://github.com/ethereum/pm/issues/356","status":"Pre-Draft","eips":[]}')},90716:t=>{"use strict";t.exports=JSON.parse('{"name":"spuriousDragon","comment":"HF with EIPs for simple replay attack protection, EXP cost increase, state trie clearing, contract code size limit","url":"https://eips.ethereum.org/EIPS/eip-607","status":"Final","gasConfig":{},"gasPrices":{"expByte":{"v":50,"d":"Times ceil(log256(exponent)) for the EXP instruction"}},"vm":{"maxCodeSize":{"v":24576,"d":"Maximum length of contract code"}},"pow":{}}')},22302:t=>{"use strict";t.exports=JSON.parse('{"name":"tangerineWhistle","comment":"Hardfork with gas cost changes for IO-heavy operations","url":"https://eips.ethereum.org/EIPS/eip-608","status":"Final","gasConfig":{},"gasPrices":{"sload":{"v":200,"d":"Once per SLOAD operation"},"call":{"v":700,"d":"Once per CALL operation & message call transaction"},"extcodesize":{"v":700,"d":"Base fee of the EXTCODESIZE opcode"},"extcodecopy":{"v":700,"d":"Base fee of the EXTCODECOPY opcode"},"balance":{"v":400,"d":"Base fee of the BALANCE opcode"},"delegatecall":{"v":700,"d":"Base fee of the DELEGATECALL opcode"},"callcode":{"v":700,"d":"Base fee of the CALLCODE opcode"},"selfdestruct":{"v":5000,"d":"Base fee of the SELFDESTRUCT opcode"}},"vm":{},"pow":{}}')},44946:t=>{"use strict";t.exports=JSON.parse('{"aes-128-ecb":{"cipher":"AES","key":128,"iv":0,"mode":"ECB","type":"block"},"aes-192-ecb":{"cipher":"AES","key":192,"iv":0,"mode":"ECB","type":"block"},"aes-256-ecb":{"cipher":"AES","key":256,"iv":0,"mode":"ECB","type":"block"},"aes-128-cbc":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes-192-cbc":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes-256-cbc":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes128":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes192":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes256":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes-128-cfb":{"cipher":"AES","key":128,"iv":16,"mode":"CFB","type":"stream"},"aes-192-cfb":{"cipher":"AES","key":192,"iv":16,"mode":"CFB","type":"stream"},"aes-256-cfb":{"cipher":"AES","key":256,"iv":16,"mode":"CFB","type":"stream"},"aes-128-cfb8":{"cipher":"AES","key":128,"iv":16,"mode":"CFB8","type":"stream"},"aes-192-cfb8":{"cipher":"AES","key":192,"iv":16,"mode":"CFB8","type":"stream"},"aes-256-cfb8":{"cipher":"AES","key":256,"iv":16,"mode":"CFB8","type":"stream"},"aes-128-cfb1":{"cipher":"AES","key":128,"iv":16,"mode":"CFB1","type":"stream"},"aes-192-cfb1":{"cipher":"AES","key":192,"iv":16,"mode":"CFB1","type":"stream"},"aes-256-cfb1":{"cipher":"AES","key":256,"iv":16,"mode":"CFB1","type":"stream"},"aes-128-ofb":{"cipher":"AES","key":128,"iv":16,"mode":"OFB","type":"stream"},"aes-192-ofb":{"cipher":"AES","key":192,"iv":16,"mode":"OFB","type":"stream"},"aes-256-ofb":{"cipher":"AES","key":256,"iv":16,"mode":"OFB","type":"stream"},"aes-128-ctr":{"cipher":"AES","key":128,"iv":16,"mode":"CTR","type":"stream"},"aes-192-ctr":{"cipher":"AES","key":192,"iv":16,"mode":"CTR","type":"stream"},"aes-256-ctr":{"cipher":"AES","key":256,"iv":16,"mode":"CTR","type":"stream"},"aes-128-gcm":{"cipher":"AES","key":128,"iv":12,"mode":"GCM","type":"auth"},"aes-192-gcm":{"cipher":"AES","key":192,"iv":12,"mode":"GCM","type":"auth"},"aes-256-gcm":{"cipher":"AES","key":256,"iv":12,"mode":"GCM","type":"auth"}}')},75207:t=>{"use strict";t.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},1308:t=>{"use strict";t.exports=JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}')},83630:t=>{"use strict";t.exports=JSON.parse('{"identity":0,"ip4":4,"tcp":6,"sha1":17,"sha2-256":18,"sha2-512":19,"sha3-512":20,"sha3-384":21,"sha3-256":22,"sha3-224":23,"shake-128":24,"shake-256":25,"keccak-224":26,"keccak-256":27,"keccak-384":28,"keccak-512":29,"blake3":30,"dccp":33,"murmur3-128":34,"murmur3-32":35,"ip6":41,"ip6zone":42,"path":47,"multicodec":48,"multihash":49,"multiaddr":50,"multibase":51,"dns":53,"dns4":54,"dns6":55,"dnsaddr":56,"protobuf":80,"cbor":81,"raw":85,"dbl-sha2-256":86,"rlp":96,"bencode":99,"dag-pb":112,"dag-cbor":113,"libp2p-key":114,"git-raw":120,"torrent-info":123,"torrent-file":124,"leofcoin-block":129,"leofcoin-tx":130,"leofcoin-pr":131,"sctp":132,"dag-jose":133,"dag-cose":134,"eth-block":144,"eth-block-list":145,"eth-tx-trie":146,"eth-tx":147,"eth-tx-receipt-trie":148,"eth-tx-receipt":149,"eth-state-trie":150,"eth-account-snapshot":151,"eth-storage-trie":152,"bitcoin-block":176,"bitcoin-tx":177,"bitcoin-witness-commitment":178,"zcash-block":192,"zcash-tx":193,"stellar-block":208,"stellar-tx":209,"md4":212,"md5":213,"bmt":214,"decred-block":224,"decred-tx":225,"ipld-ns":226,"ipfs-ns":227,"swarm-ns":228,"ipns-ns":229,"zeronet":230,"secp256k1-pub":231,"bls12_381-g1-pub":234,"bls12_381-g2-pub":235,"x25519-pub":236,"ed25519-pub":237,"dash-block":240,"dash-tx":241,"swarm-manifest":250,"swarm-feed":251,"udp":273,"p2p-webrtc-star":275,"p2p-webrtc-direct":276,"p2p-stardust":277,"p2p-circuit":290,"dag-json":297,"udt":301,"utp":302,"unix":400,"p2p":421,"ipfs":421,"https":443,"onion":444,"onion3":445,"garlic64":446,"garlic32":447,"tls":448,"quic":460,"ws":477,"wss":478,"p2p-websocket-star":479,"http":480,"json":512,"messagepack":513,"libp2p-peer-record":769,"sha2-256-trunc254-padded":4114,"ripemd-128":4178,"ripemd-160":4179,"ripemd-256":4180,"ripemd-320":4181,"x11":4352,"sm3-256":21325,"blake2b-8":45569,"blake2b-16":45570,"blake2b-24":45571,"blake2b-32":45572,"blake2b-40":45573,"blake2b-48":45574,"blake2b-56":45575,"blake2b-64":45576,"blake2b-72":45577,"blake2b-80":45578,"blake2b-88":45579,"blake2b-96":45580,"blake2b-104":45581,"blake2b-112":45582,"blake2b-120":45583,"blake2b-128":45584,"blake2b-136":45585,"blake2b-144":45586,"blake2b-152":45587,"blake2b-160":45588,"blake2b-168":45589,"blake2b-176":45590,"blake2b-184":45591,"blake2b-192":45592,"blake2b-200":45593,"blake2b-208":45594,"blake2b-216":45595,"blake2b-224":45596,"blake2b-232":45597,"blake2b-240":45598,"blake2b-248":45599,"blake2b-256":45600,"blake2b-264":45601,"blake2b-272":45602,"blake2b-280":45603,"blake2b-288":45604,"blake2b-296":45605,"blake2b-304":45606,"blake2b-312":45607,"blake2b-320":45608,"blake2b-328":45609,"blake2b-336":45610,"blake2b-344":45611,"blake2b-352":45612,"blake2b-360":45613,"blake2b-368":45614,"blake2b-376":45615,"blake2b-384":45616,"blake2b-392":45617,"blake2b-400":45618,"blake2b-408":45619,"blake2b-416":45620,"blake2b-424":45621,"blake2b-432":45622,"blake2b-440":45623,"blake2b-448":45624,"blake2b-456":45625,"blake2b-464":45626,"blake2b-472":45627,"blake2b-480":45628,"blake2b-488":45629,"blake2b-496":45630,"blake2b-504":45631,"blake2b-512":45632,"blake2s-8":45633,"blake2s-16":45634,"blake2s-24":45635,"blake2s-32":45636,"blake2s-40":45637,"blake2s-48":45638,"blake2s-56":45639,"blake2s-64":45640,"blake2s-72":45641,"blake2s-80":45642,"blake2s-88":45643,"blake2s-96":45644,"blake2s-104":45645,"blake2s-112":45646,"blake2s-120":45647,"blake2s-128":45648,"blake2s-136":45649,"blake2s-144":45650,"blake2s-152":45651,"blake2s-160":45652,"blake2s-168":45653,"blake2s-176":45654,"blake2s-184":45655,"blake2s-192":45656,"blake2s-200":45657,"blake2s-208":45658,"blake2s-216":45659,"blake2s-224":45660,"blake2s-232":45661,"blake2s-240":45662,"blake2s-248":45663,"blake2s-256":45664,"skein256-8":45825,"skein256-16":45826,"skein256-24":45827,"skein256-32":45828,"skein256-40":45829,"skein256-48":45830,"skein256-56":45831,"skein256-64":45832,"skein256-72":45833,"skein256-80":45834,"skein256-88":45835,"skein256-96":45836,"skein256-104":45837,"skein256-112":45838,"skein256-120":45839,"skein256-128":45840,"skein256-136":45841,"skein256-144":45842,"skein256-152":45843,"skein256-160":45844,"skein256-168":45845,"skein256-176":45846,"skein256-184":45847,"skein256-192":45848,"skein256-200":45849,"skein256-208":45850,"skein256-216":45851,"skein256-224":45852,"skein256-232":45853,"skein256-240":45854,"skein256-248":45855,"skein256-256":45856,"skein512-8":45857,"skein512-16":45858,"skein512-24":45859,"skein512-32":45860,"skein512-40":45861,"skein512-48":45862,"skein512-56":45863,"skein512-64":45864,"skein512-72":45865,"skein512-80":45866,"skein512-88":45867,"skein512-96":45868,"skein512-104":45869,"skein512-112":45870,"skein512-120":45871,"skein512-128":45872,"skein512-136":45873,"skein512-144":45874,"skein512-152":45875,"skein512-160":45876,"skein512-168":45877,"skein512-176":45878,"skein512-184":45879,"skein512-192":45880,"skein512-200":45881,"skein512-208":45882,"skein512-216":45883,"skein512-224":45884,"skein512-232":45885,"skein512-240":45886,"skein512-248":45887,"skein512-256":45888,"skein512-264":45889,"skein512-272":45890,"skein512-280":45891,"skein512-288":45892,"skein512-296":45893,"skein512-304":45894,"skein512-312":45895,"skein512-320":45896,"skein512-328":45897,"skein512-336":45898,"skein512-344":45899,"skein512-352":45900,"skein512-360":45901,"skein512-368":45902,"skein512-376":45903,"skein512-384":45904,"skein512-392":45905,"skein512-400":45906,"skein512-408":45907,"skein512-416":45908,"skein512-424":45909,"skein512-432":45910,"skein512-440":45911,"skein512-448":45912,"skein512-456":45913,"skein512-464":45914,"skein512-472":45915,"skein512-480":45916,"skein512-488":45917,"skein512-496":45918,"skein512-504":45919,"skein512-512":45920,"skein1024-8":45921,"skein1024-16":45922,"skein1024-24":45923,"skein1024-32":45924,"skein1024-40":45925,"skein1024-48":45926,"skein1024-56":45927,"skein1024-64":45928,"skein1024-72":45929,"skein1024-80":45930,"skein1024-88":45931,"skein1024-96":45932,"skein1024-104":45933,"skein1024-112":45934,"skein1024-120":45935,"skein1024-128":45936,"skein1024-136":45937,"skein1024-144":45938,"skein1024-152":45939,"skein1024-160":45940,"skein1024-168":45941,"skein1024-176":45942,"skein1024-184":45943,"skein1024-192":45944,"skein1024-200":45945,"skein1024-208":45946,"skein1024-216":45947,"skein1024-224":45948,"skein1024-232":45949,"skein1024-240":45950,"skein1024-248":45951,"skein1024-256":45952,"skein1024-264":45953,"skein1024-272":45954,"skein1024-280":45955,"skein1024-288":45956,"skein1024-296":45957,"skein1024-304":45958,"skein1024-312":45959,"skein1024-320":45960,"skein1024-328":45961,"skein1024-336":45962,"skein1024-344":45963,"skein1024-352":45964,"skein1024-360":45965,"skein1024-368":45966,"skein1024-376":45967,"skein1024-384":45968,"skein1024-392":45969,"skein1024-400":45970,"skein1024-408":45971,"skein1024-416":45972,"skein1024-424":45973,"skein1024-432":45974,"skein1024-440":45975,"skein1024-448":45976,"skein1024-456":45977,"skein1024-464":45978,"skein1024-472":45979,"skein1024-480":45980,"skein1024-488":45981,"skein1024-496":45982,"skein1024-504":45983,"skein1024-512":45984,"skein1024-520":45985,"skein1024-528":45986,"skein1024-536":45987,"skein1024-544":45988,"skein1024-552":45989,"skein1024-560":45990,"skein1024-568":45991,"skein1024-576":45992,"skein1024-584":45993,"skein1024-592":45994,"skein1024-600":45995,"skein1024-608":45996,"skein1024-616":45997,"skein1024-624":45998,"skein1024-632":45999,"skein1024-640":46000,"skein1024-648":46001,"skein1024-656":46002,"skein1024-664":46003,"skein1024-672":46004,"skein1024-680":46005,"skein1024-688":46006,"skein1024-696":46007,"skein1024-704":46008,"skein1024-712":46009,"skein1024-720":46010,"skein1024-728":46011,"skein1024-736":46012,"skein1024-744":46013,"skein1024-752":46014,"skein1024-760":46015,"skein1024-768":46016,"skein1024-776":46017,"skein1024-784":46018,"skein1024-792":46019,"skein1024-800":46020,"skein1024-808":46021,"skein1024-816":46022,"skein1024-824":46023,"skein1024-832":46024,"skein1024-840":46025,"skein1024-848":46026,"skein1024-856":46027,"skein1024-864":46028,"skein1024-872":46029,"skein1024-880":46030,"skein1024-888":46031,"skein1024-896":46032,"skein1024-904":46033,"skein1024-912":46034,"skein1024-920":46035,"skein1024-928":46036,"skein1024-936":46037,"skein1024-944":46038,"skein1024-952":46039,"skein1024-960":46040,"skein1024-968":46041,"skein1024-976":46042,"skein1024-984":46043,"skein1024-992":46044,"skein1024-1000":46045,"skein1024-1008":46046,"skein1024-1016":46047,"skein1024-1024":46048,"poseidon-bls12_381-a2-fc1":46081,"poseidon-bls12_381-a2-fc1-sc":46082,"zeroxcert-imprint-256":52753,"fil-commitment-unsealed":61697,"fil-commitment-sealed":61698,"holochain-adr-v0":8417572,"holochain-adr-v1":8483108,"holochain-key-v0":9728292,"holochain-key-v1":9793828,"holochain-sig-v0":10645796,"holochain-sig-v1":10711332}')},29799:t=>{"use strict";t.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},18597:t=>{"use strict";t.exports={i8:"6.5.4"}},24070:t=>{"use strict";t.exports=JSON.parse('{"identity":0,"ip4":4,"tcp":6,"sha1":17,"sha2-256":18,"sha2-512":19,"sha3-512":20,"sha3-384":21,"sha3-256":22,"sha3-224":23,"shake-128":24,"shake-256":25,"keccak-224":26,"keccak-256":27,"keccak-384":28,"keccak-512":29,"dccp":33,"murmur3-128":34,"murmur3-32":35,"ip6":41,"ip6zone":42,"path":47,"multicodec":48,"multihash":49,"multiaddr":50,"multibase":51,"dns":53,"dns4":54,"dns6":55,"dnsaddr":56,"protobuf":80,"cbor":81,"raw":85,"dbl-sha2-256":86,"rlp":96,"bencode":99,"dag-pb":112,"dag-cbor":113,"libp2p-key":114,"git-raw":120,"torrent-info":123,"torrent-file":124,"leofcoin-block":129,"leofcoin-tx":130,"leofcoin-pr":131,"sctp":132,"eth-block":144,"eth-block-list":145,"eth-tx-trie":146,"eth-tx":147,"eth-tx-receipt-trie":148,"eth-tx-receipt":149,"eth-state-trie":150,"eth-account-snapshot":151,"eth-storage-trie":152,"bitcoin-block":176,"bitcoin-tx":177,"zcash-block":192,"zcash-tx":193,"stellar-block":208,"stellar-tx":209,"md4":212,"md5":213,"bmt":214,"decred-block":224,"decred-tx":225,"ipld-ns":226,"ipfs-ns":227,"swarm-ns":228,"ipns-ns":229,"zeronet":230,"ed25519-pub":237,"dash-block":240,"dash-tx":241,"swarm-manifest":250,"swarm-feed":251,"udp":273,"p2p-webrtc-star":275,"p2p-webrtc-direct":276,"p2p-stardust":277,"p2p-circuit":290,"dag-json":297,"udt":301,"utp":302,"unix":400,"p2p":421,"ipfs":421,"https":443,"onion":444,"onion3":445,"garlic64":446,"garlic32":447,"tls":448,"quic":460,"ws":477,"wss":478,"p2p-websocket-star":479,"http":480,"json":512,"messagepack":513,"x11":4352,"blake2b-8":45569,"blake2b-16":45570,"blake2b-24":45571,"blake2b-32":45572,"blake2b-40":45573,"blake2b-48":45574,"blake2b-56":45575,"blake2b-64":45576,"blake2b-72":45577,"blake2b-80":45578,"blake2b-88":45579,"blake2b-96":45580,"blake2b-104":45581,"blake2b-112":45582,"blake2b-120":45583,"blake2b-128":45584,"blake2b-136":45585,"blake2b-144":45586,"blake2b-152":45587,"blake2b-160":45588,"blake2b-168":45589,"blake2b-176":45590,"blake2b-184":45591,"blake2b-192":45592,"blake2b-200":45593,"blake2b-208":45594,"blake2b-216":45595,"blake2b-224":45596,"blake2b-232":45597,"blake2b-240":45598,"blake2b-248":45599,"blake2b-256":45600,"blake2b-264":45601,"blake2b-272":45602,"blake2b-280":45603,"blake2b-288":45604,"blake2b-296":45605,"blake2b-304":45606,"blake2b-312":45607,"blake2b-320":45608,"blake2b-328":45609,"blake2b-336":45610,"blake2b-344":45611,"blake2b-352":45612,"blake2b-360":45613,"blake2b-368":45614,"blake2b-376":45615,"blake2b-384":45616,"blake2b-392":45617,"blake2b-400":45618,"blake2b-408":45619,"blake2b-416":45620,"blake2b-424":45621,"blake2b-432":45622,"blake2b-440":45623,"blake2b-448":45624,"blake2b-456":45625,"blake2b-464":45626,"blake2b-472":45627,"blake2b-480":45628,"blake2b-488":45629,"blake2b-496":45630,"blake2b-504":45631,"blake2b-512":45632,"blake2s-8":45633,"blake2s-16":45634,"blake2s-24":45635,"blake2s-32":45636,"blake2s-40":45637,"blake2s-48":45638,"blake2s-56":45639,"blake2s-64":45640,"blake2s-72":45641,"blake2s-80":45642,"blake2s-88":45643,"blake2s-96":45644,"blake2s-104":45645,"blake2s-112":45646,"blake2s-120":45647,"blake2s-128":45648,"blake2s-136":45649,"blake2s-144":45650,"blake2s-152":45651,"blake2s-160":45652,"blake2s-168":45653,"blake2s-176":45654,"blake2s-184":45655,"blake2s-192":45656,"blake2s-200":45657,"blake2s-208":45658,"blake2s-216":45659,"blake2s-224":45660,"blake2s-232":45661,"blake2s-240":45662,"blake2s-248":45663,"blake2s-256":45664,"skein256-8":45825,"skein256-16":45826,"skein256-24":45827,"skein256-32":45828,"skein256-40":45829,"skein256-48":45830,"skein256-56":45831,"skein256-64":45832,"skein256-72":45833,"skein256-80":45834,"skein256-88":45835,"skein256-96":45836,"skein256-104":45837,"skein256-112":45838,"skein256-120":45839,"skein256-128":45840,"skein256-136":45841,"skein256-144":45842,"skein256-152":45843,"skein256-160":45844,"skein256-168":45845,"skein256-176":45846,"skein256-184":45847,"skein256-192":45848,"skein256-200":45849,"skein256-208":45850,"skein256-216":45851,"skein256-224":45852,"skein256-232":45853,"skein256-240":45854,"skein256-248":45855,"skein256-256":45856,"skein512-8":45857,"skein512-16":45858,"skein512-24":45859,"skein512-32":45860,"skein512-40":45861,"skein512-48":45862,"skein512-56":45863,"skein512-64":45864,"skein512-72":45865,"skein512-80":45866,"skein512-88":45867,"skein512-96":45868,"skein512-104":45869,"skein512-112":45870,"skein512-120":45871,"skein512-128":45872,"skein512-136":45873,"skein512-144":45874,"skein512-152":45875,"skein512-160":45876,"skein512-168":45877,"skein512-176":45878,"skein512-184":45879,"skein512-192":45880,"skein512-200":45881,"skein512-208":45882,"skein512-216":45883,"skein512-224":45884,"skein512-232":45885,"skein512-240":45886,"skein512-248":45887,"skein512-256":45888,"skein512-264":45889,"skein512-272":45890,"skein512-280":45891,"skein512-288":45892,"skein512-296":45893,"skein512-304":45894,"skein512-312":45895,"skein512-320":45896,"skein512-328":45897,"skein512-336":45898,"skein512-344":45899,"skein512-352":45900,"skein512-360":45901,"skein512-368":45902,"skein512-376":45903,"skein512-384":45904,"skein512-392":45905,"skein512-400":45906,"skein512-408":45907,"skein512-416":45908,"skein512-424":45909,"skein512-432":45910,"skein512-440":45911,"skein512-448":45912,"skein512-456":45913,"skein512-464":45914,"skein512-472":45915,"skein512-480":45916,"skein512-488":45917,"skein512-496":45918,"skein512-504":45919,"skein512-512":45920,"skein1024-8":45921,"skein1024-16":45922,"skein1024-24":45923,"skein1024-32":45924,"skein1024-40":45925,"skein1024-48":45926,"skein1024-56":45927,"skein1024-64":45928,"skein1024-72":45929,"skein1024-80":45930,"skein1024-88":45931,"skein1024-96":45932,"skein1024-104":45933,"skein1024-112":45934,"skein1024-120":45935,"skein1024-128":45936,"skein1024-136":45937,"skein1024-144":45938,"skein1024-152":45939,"skein1024-160":45940,"skein1024-168":45941,"skein1024-176":45942,"skein1024-184":45943,"skein1024-192":45944,"skein1024-200":45945,"skein1024-208":45946,"skein1024-216":45947,"skein1024-224":45948,"skein1024-232":45949,"skein1024-240":45950,"skein1024-248":45951,"skein1024-256":45952,"skein1024-264":45953,"skein1024-272":45954,"skein1024-280":45955,"skein1024-288":45956,"skein1024-296":45957,"skein1024-304":45958,"skein1024-312":45959,"skein1024-320":45960,"skein1024-328":45961,"skein1024-336":45962,"skein1024-344":45963,"skein1024-352":45964,"skein1024-360":45965,"skein1024-368":45966,"skein1024-376":45967,"skein1024-384":45968,"skein1024-392":45969,"skein1024-400":45970,"skein1024-408":45971,"skein1024-416":45972,"skein1024-424":45973,"skein1024-432":45974,"skein1024-440":45975,"skein1024-448":45976,"skein1024-456":45977,"skein1024-464":45978,"skein1024-472":45979,"skein1024-480":45980,"skein1024-488":45981,"skein1024-496":45982,"skein1024-504":45983,"skein1024-512":45984,"skein1024-520":45985,"skein1024-528":45986,"skein1024-536":45987,"skein1024-544":45988,"skein1024-552":45989,"skein1024-560":45990,"skein1024-568":45991,"skein1024-576":45992,"skein1024-584":45993,"skein1024-592":45994,"skein1024-600":45995,"skein1024-608":45996,"skein1024-616":45997,"skein1024-624":45998,"skein1024-632":45999,"skein1024-640":46000,"skein1024-648":46001,"skein1024-656":46002,"skein1024-664":46003,"skein1024-672":46004,"skein1024-680":46005,"skein1024-688":46006,"skein1024-696":46007,"skein1024-704":46008,"skein1024-712":46009,"skein1024-720":46010,"skein1024-728":46011,"skein1024-736":46012,"skein1024-744":46013,"skein1024-752":46014,"skein1024-760":46015,"skein1024-768":46016,"skein1024-776":46017,"skein1024-784":46018,"skein1024-792":46019,"skein1024-800":46020,"skein1024-808":46021,"skein1024-816":46022,"skein1024-824":46023,"skein1024-832":46024,"skein1024-840":46025,"skein1024-848":46026,"skein1024-856":46027,"skein1024-864":46028,"skein1024-872":46029,"skein1024-880":46030,"skein1024-888":46031,"skein1024-896":46032,"skein1024-904":46033,"skein1024-912":46034,"skein1024-920":46035,"skein1024-928":46036,"skein1024-936":46037,"skein1024-944":46038,"skein1024-952":46039,"skein1024-960":46040,"skein1024-968":46041,"skein1024-976":46042,"skein1024-984":46043,"skein1024-992":46044,"skein1024-1000":46045,"skein1024-1008":46046,"skein1024-1016":46047,"skein1024-1024":46048,"holochain-adr-v0":8417572,"holochain-adr-v1":8483108,"holochain-key-v0":9728292,"holochain-key-v1":9793828,"holochain-sig-v0":10645796,"holochain-sig-v1":10711332}')},22562:t=>{"use strict";t.exports=JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}')},19794:t=>{"use strict";t.exports={version:"1.0.34"}},78920:t=>{"use strict";t.exports={i8:"1.10.4"}}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={id:n,loaded:!1,exports:{}};return t[n](o,o.exports,r),o.loaded=!0,o.exports}return r.amdO={},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),r(17001)})())},c109:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".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:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}});return e}))},c181:function(t,e,r){"use strict";let n;n=globalThis.AbortController&&globalThis.AbortSignal?globalThis:r("91d3"),t.exports.AbortSignal=n.AbortSignal,t.exports.AbortController=n.AbortController},c1df:function(t,e,r){(function(t){var e;//! moment.js
//! version : 2.30.1
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
//! license : MIT
//! momentjs.com
(function(e,r){t.exports=r()})(0,(function(){"use strict";var n,i;function o(){return n.apply(null,arguments)}function a(t){n=t}function s(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function u(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function c(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function l(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(c(t,e))return!1;return!0}function h(t){return void 0===t}function f(t){return"number"===typeof t||"[object Number]"===Object.prototype.toString.call(t)}function d(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function p(t,e){var r,n=[],i=t.length;for(r=0;r<i;++r)n.push(e(t[r],r));return n}function m(t,e){for(var r in e)c(e,r)&&(t[r]=e[r]);return c(e,"toString")&&(t.toString=e.toString),c(e,"valueOf")&&(t.valueOf=e.valueOf),t}function g(t,e,r,n){return Kr(t,e,r,n,!0).utc()}function y(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function v(t){return null==t._pf&&(t._pf=y()),t._pf}function b(t){var e=null,r=!1,n=t._d&&!isNaN(t._d.getTime());return n&&(e=v(t),r=i.call(e.parsedDateParts,(function(t){return null!=t})),n=e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&r),t._strict&&(n=n&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour)),null!=Object.isFrozen&&Object.isFrozen(t)?n:(t._isValid=n,t._isValid)}function _(t){var e=g(NaN);return null!=t?m(v(e),t):v(e).userInvalidated=!0,e}i=Array.prototype.some?Array.prototype.some:function(t){var e,r=Object(this),n=r.length>>>0;for(e=0;e<n;e++)if(e in r&&t.call(this,r[e],e,r))return!0;return!1};var w=o.momentProperties=[],x=!1;function k(t,e){var r,n,i,o=w.length;if(h(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),h(e._i)||(t._i=e._i),h(e._f)||(t._f=e._f),h(e._l)||(t._l=e._l),h(e._strict)||(t._strict=e._strict),h(e._tzm)||(t._tzm=e._tzm),h(e._isUTC)||(t._isUTC=e._isUTC),h(e._offset)||(t._offset=e._offset),h(e._pf)||(t._pf=v(e)),h(e._locale)||(t._locale=e._locale),o>0)for(r=0;r<o;r++)n=w[r],i=e[n],h(i)||(t[n]=i);return t}function S(t){k(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===x&&(x=!0,o.updateOffset(this),x=!1)}function E(t){return t instanceof S||null!=t&&null!=t._isAMomentObject}function M(t){!1===o.suppressDeprecationWarnings&&"undefined"!==typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function A(t,e){var r=!0;return m((function(){if(null!=o.deprecationHandler&&o.deprecationHandler(null,t),r){var n,i,a,s=[],u=arguments.length;for(i=0;i<u;i++){if(n="","object"===typeof arguments[i]){for(a in n+="\n["+i+"] ",arguments[0])c(arguments[0],a)&&(n+=a+": "+arguments[0][a]+", ");n=n.slice(0,-2)}else n=arguments[i];s.push(n)}M(t+"\nArguments: "+Array.prototype.slice.call(s).join("")+"\n"+(new Error).stack),r=!1}return e.apply(this,arguments)}),e)}var T,C={};function L(t,e){null!=o.deprecationHandler&&o.deprecationHandler(t,e),C[t]||(M(e),C[t]=!0)}function P(t){return"undefined"!==typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function O(t){var e,r;for(r in t)c(t,r)&&(e=t[r],P(e)?this[r]=e:this["_"+r]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function I(t,e){var r,n=m({},t);for(r in e)c(e,r)&&(u(t[r])&&u(e[r])?(n[r]={},m(n[r],t[r]),m(n[r],e[r])):null!=e[r]?n[r]=e[r]:delete n[r]);for(r in t)c(t,r)&&!c(e,r)&&u(t[r])&&(n[r]=m({},n[r]));return n}function D(t){null!=t&&this.set(t)}o.suppressDeprecationWarnings=!1,o.deprecationHandler=null,T=Object.keys?Object.keys:function(t){var e,r=[];for(e in t)c(t,e)&&r.push(e);return r};var B={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function j(t,e,r){var n=this._calendar[t]||this._calendar["sameElse"];return P(n)?n.call(e,r):n}function N(t,e,r){var n=""+Math.abs(t),i=e-n.length,o=t>=0;return(o?r?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+n}var R=/(\[[^\[]*\])|(\\)?([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,F=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Y={},U={};function H(t,e,r,n){var i=n;"string"===typeof n&&(i=function(){return this[n]()}),t&&(U[t]=i),e&&(U[e[0]]=function(){return N(i.apply(this,arguments),e[1],e[2])}),r&&(U[r]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function z(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function V(t){var e,r,n=t.match(R);for(e=0,r=n.length;e<r;e++)U[n[e]]?n[e]=U[n[e]]:n[e]=z(n[e]);return function(e){var i,o="";for(i=0;i<r;i++)o+=P(n[i])?n[i].call(e,t):n[i];return o}}function $(t,e){return t.isValid()?(e=q(e,t.localeData()),Y[e]=Y[e]||V(e),Y[e](t)):t.localeData().invalidDate()}function q(t,e){var r=5;function n(t){return e.longDateFormat(t)||t}F.lastIndex=0;while(r>=0&&F.test(t))t=t.replace(F,n),F.lastIndex=0,r-=1;return t}var G={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"};function W(t){var e=this._longDateFormat[t],r=this._longDateFormat[t.toUpperCase()];return e||!r?e:(this._longDateFormat[t]=r.match(R).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])}var K="Invalid date";function X(){return this._invalidDate}var J="%d",Z=/\d{1,2}/;function Q(t){return this._ordinal.replace("%d",t)}var tt={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"};function et(t,e,r,n){var i=this._relativeTime[r];return P(i)?i(t,e,r,n):i.replace(/%d/i,t)}function rt(t,e){var r=this._relativeTime[t>0?"future":"past"];return P(r)?r(e):r.replace(/%s/i,e)}var nt={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function it(t){return"string"===typeof t?nt[t]||nt[t.toLowerCase()]:void 0}function ot(t){var e,r,n={};for(r in t)c(t,r)&&(e=it(r),e&&(n[e]=t[r]));return n}var at={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function st(t){var e,r=[];for(e in t)c(t,e)&&r.push({unit:e,priority:at[e]});return r.sort((function(t,e){return t.priority-e.priority})),r}var ut,ct=/\d/,lt=/\d\d/,ht=/\d{3}/,ft=/\d{4}/,dt=/[+-]?\d{6}/,pt=/\d\d?/,mt=/\d\d\d\d?/,gt=/\d\d\d\d\d\d?/,yt=/\d{1,3}/,vt=/\d{1,4}/,bt=/[+-]?\d{1,6}/,_t=/\d+/,wt=/[+-]?\d+/,xt=/Z|[+-]\d\d:?\d\d/gi,kt=/Z|[+-]\d\d(?::?\d\d)?/gi,St=/[+-]?\d+(\.\d{1,3})?/,Et=/[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,Mt=/^[1-9]\d?/,At=/^([1-9]\d|\d)/;function Tt(t,e,r){ut[t]=P(e)?e:function(t,n){return t&&r?r:e}}function Ct(t,e){return c(ut,t)?ut[t](e._strict,e._locale):new RegExp(Lt(t))}function Lt(t){return Pt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,e,r,n,i){return e||r||n||i})))}function Pt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Ot(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function It(t){var e=+t,r=0;return 0!==e&&isFinite(e)&&(r=Ot(e)),r}ut={};var Dt={};function Bt(t,e){var r,n,i=e;for("string"===typeof t&&(t=[t]),f(e)&&(i=function(t,r){r[e]=It(t)}),n=t.length,r=0;r<n;r++)Dt[t[r]]=i}function jt(t,e){Bt(t,(function(t,r,n,i){n._w=n._w||{},e(t,n._w,n,i)}))}function Nt(t,e,r){null!=e&&c(Dt,t)&&Dt[t](e,r._a,r,t)}function Rt(t){return t%4===0&&t%100!==0||t%400===0}var Ft=0,Yt=1,Ut=2,Ht=3,zt=4,Vt=5,$t=6,qt=7,Gt=8;function Wt(t){return Rt(t)?366:365}H("Y",0,0,(function(){var t=this.year();return t<=9999?N(t,4):"+"+t})),H(0,["YY",2],0,(function(){return this.year()%100})),H(0,["YYYY",4],0,"year"),H(0,["YYYYY",5],0,"year"),H(0,["YYYYYY",6,!0],0,"year"),Tt("Y",wt),Tt("YY",pt,lt),Tt("YYYY",vt,ft),Tt("YYYYY",bt,dt),Tt("YYYYYY",bt,dt),Bt(["YYYYY","YYYYYY"],Ft),Bt("YYYY",(function(t,e){e[Ft]=2===t.length?o.parseTwoDigitYear(t):It(t)})),Bt("YY",(function(t,e){e[Ft]=o.parseTwoDigitYear(t)})),Bt("Y",(function(t,e){e[Ft]=parseInt(t,10)})),o.parseTwoDigitYear=function(t){return It(t)+(It(t)>68?1900:2e3)};var Kt,Xt=Zt("FullYear",!0);function Jt(){return Rt(this.year())}function Zt(t,e){return function(r){return null!=r?(te(this,t,r),o.updateOffset(this,e),this):Qt(this,t)}}function Qt(t,e){if(!t.isValid())return NaN;var r=t._d,n=t._isUTC;switch(e){case"Milliseconds":return n?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return n?r.getUTCSeconds():r.getSeconds();case"Minutes":return n?r.getUTCMinutes():r.getMinutes();case"Hours":return n?r.getUTCHours():r.getHours();case"Date":return n?r.getUTCDate():r.getDate();case"Day":return n?r.getUTCDay():r.getDay();case"Month":return n?r.getUTCMonth():r.getMonth();case"FullYear":return n?r.getUTCFullYear():r.getFullYear();default:return NaN}}function te(t,e,r){var n,i,o,a,s;if(t.isValid()&&!isNaN(r)){switch(n=t._d,i=t._isUTC,e){case"Milliseconds":return void(i?n.setUTCMilliseconds(r):n.setMilliseconds(r));case"Seconds":return void(i?n.setUTCSeconds(r):n.setSeconds(r));case"Minutes":return void(i?n.setUTCMinutes(r):n.setMinutes(r));case"Hours":return void(i?n.setUTCHours(r):n.setHours(r));case"Date":return void(i?n.setUTCDate(r):n.setDate(r));case"FullYear":break;default:return}o=r,a=t.month(),s=t.date(),s=29!==s||1!==a||Rt(o)?s:28,i?n.setUTCFullYear(o,a,s):n.setFullYear(o,a,s)}}function ee(t){return t=it(t),P(this[t])?this[t]():this}function re(t,e){if("object"===typeof t){t=ot(t);var r,n=st(t),i=n.length;for(r=0;r<i;r++)this[n[r].unit](t[n[r].unit])}else if(t=it(t),P(this[t]))return this[t](e);return this}function ne(t,e){return(t%e+e)%e}function ie(t,e){if(isNaN(t)||isNaN(e))return NaN;var r=ne(e,12);return t+=(e-r)/12,1===r?Rt(t)?29:28:31-r%7%2}Kt=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},H("M",["MM",2],"Mo",(function(){return this.month()+1})),H("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),H("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),Tt("M",pt,Mt),Tt("MM",pt,lt),Tt("MMM",(function(t,e){return e.monthsShortRegex(t)})),Tt("MMMM",(function(t,e){return e.monthsRegex(t)})),Bt(["M","MM"],(function(t,e){e[Yt]=It(t)-1})),Bt(["MMM","MMMM"],(function(t,e,r,n){var i=r._locale.monthsParse(t,n,r._strict);null!=i?e[Yt]=i:v(r).invalidMonth=t}));var oe="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ae="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),se=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,ue=Et,ce=Et;function le(t,e){return t?s(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||se).test(e)?"format":"standalone"][t.month()]:s(this._months)?this._months:this._months["standalone"]}function he(t,e){return t?s(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[se.test(e)?"format":"standalone"][t.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort["standalone"]}function fe(t,e,r){var n,i,o,a=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)o=g([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(o,"").toLocaleLowerCase();return r?"MMM"===e?(i=Kt.call(this._shortMonthsParse,a),-1!==i?i:null):(i=Kt.call(this._longMonthsParse,a),-1!==i?i:null):"MMM"===e?(i=Kt.call(this._shortMonthsParse,a),-1!==i?i:(i=Kt.call(this._longMonthsParse,a),-1!==i?i:null)):(i=Kt.call(this._longMonthsParse,a),-1!==i?i:(i=Kt.call(this._shortMonthsParse,a),-1!==i?i:null))}function de(t,e,r){var n,i,o;if(this._monthsParseExact)return fe.call(this,t,e,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(i=g([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]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[n]=new RegExp(o.replace(".",""),"i")),r&&"MMMM"===e&&this._longMonthsParse[n].test(t))return n;if(r&&"MMM"===e&&this._shortMonthsParse[n].test(t))return n;if(!r&&this._monthsParse[n].test(t))return n}}function pe(t,e){if(!t.isValid())return t;if("string"===typeof e)if(/^\d+$/.test(e))e=It(e);else if(e=t.localeData().monthsParse(e),!f(e))return t;var r=e,n=t.date();return n=n<29?n:Math.min(n,ie(t.year(),r)),t._isUTC?t._d.setUTCMonth(r,n):t._d.setMonth(r,n),t}function me(t){return null!=t?(pe(this,t),o.updateOffset(this,!0),this):Qt(this,"Month")}function ge(){return ie(this.year(),this.month())}function ye(t){return this._monthsParseExact?(c(this,"_monthsRegex")||be.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=ue),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function ve(t){return this._monthsParseExact?(c(this,"_monthsRegex")||be.call(this),t?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=ce),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function be(){function t(t,e){return e.length-t.length}var e,r,n,i,o=[],a=[],s=[];for(e=0;e<12;e++)r=g([2e3,e]),n=Pt(this.monthsShort(r,"")),i=Pt(this.months(r,"")),o.push(n),a.push(i),s.push(i),s.push(n);o.sort(t),a.sort(t),s.sort(t),this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+o.join("|")+")","i")}function _e(t,e,r,n,i,o,a){var s;return t<100&&t>=0?(s=new Date(t+400,e,r,n,i,o,a),isFinite(s.getFullYear())&&s.setFullYear(t)):s=new Date(t,e,r,n,i,o,a),s}function we(t){var e,r;return t<100&&t>=0?(r=Array.prototype.slice.call(arguments),r[0]=t+400,e=new Date(Date.UTC.apply(null,r)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function xe(t,e,r){var n=7+e-r,i=(7+we(t,0,n).getUTCDay()-e)%7;return-i+n-1}function ke(t,e,r,n,i){var o,a,s=(7+r-n)%7,u=xe(t,n,i),c=1+7*(e-1)+s+u;return c<=0?(o=t-1,a=Wt(o)+c):c>Wt(t)?(o=t+1,a=c-Wt(t)):(o=t,a=c),{year:o,dayOfYear:a}}function Se(t,e,r){var n,i,o=xe(t.year(),e,r),a=Math.floor((t.dayOfYear()-o-1)/7)+1;return a<1?(i=t.year()-1,n=a+Ee(i,e,r)):a>Ee(t.year(),e,r)?(n=a-Ee(t.year(),e,r),i=t.year()+1):(i=t.year(),n=a),{week:n,year:i}}function Ee(t,e,r){var n=xe(t,e,r),i=xe(t+1,e,r);return(Wt(t)-n+i)/7}function Me(t){return Se(t,this._week.dow,this._week.doy).week}H("w",["ww",2],"wo","week"),H("W",["WW",2],"Wo","isoWeek"),Tt("w",pt,Mt),Tt("ww",pt,lt),Tt("W",pt,Mt),Tt("WW",pt,lt),jt(["w","ww","W","WW"],(function(t,e,r,n){e[n.substr(0,1)]=It(t)}));var Ae={dow:0,doy:6};function Te(){return this._week.dow}function Ce(){return this._week.doy}function Le(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function Pe(t){var e=Se(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function Oe(t,e){return"string"!==typeof t?t:isNaN(t)?(t=e.weekdaysParse(t),"number"===typeof t?t:null):parseInt(t,10)}function Ie(t,e){return"string"===typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function De(t,e){return t.slice(e,7).concat(t.slice(0,e))}H("d",0,"do","day"),H("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),H("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),H("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),H("e",0,0,"weekday"),H("E",0,0,"isoWeekday"),Tt("d",pt),Tt("e",pt),Tt("E",pt),Tt("dd",(function(t,e){return e.weekdaysMinRegex(t)})),Tt("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),Tt("dddd",(function(t,e){return e.weekdaysRegex(t)})),jt(["dd","ddd","dddd"],(function(t,e,r,n){var i=r._locale.weekdaysParse(t,n,r._strict);null!=i?e.d=i:v(r).invalidWeekday=t})),jt(["d","e","E"],(function(t,e,r,n){e[n]=It(t)}));var Be="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),je="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ne="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Re=Et,Fe=Et,Ye=Et;function Ue(t,e){var r=s(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?De(r,this._week.dow):t?r[t.day()]:r}function He(t){return!0===t?De(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function ze(t){return!0===t?De(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function Ve(t,e,r){var n,i,o,a=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)o=g([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(o,"").toLocaleLowerCase();return r?"dddd"===e?(i=Kt.call(this._weekdaysParse,a),-1!==i?i:null):"ddd"===e?(i=Kt.call(this._shortWeekdaysParse,a),-1!==i?i:null):(i=Kt.call(this._minWeekdaysParse,a),-1!==i?i:null):"dddd"===e?(i=Kt.call(this._weekdaysParse,a),-1!==i?i:(i=Kt.call(this._shortWeekdaysParse,a),-1!==i?i:(i=Kt.call(this._minWeekdaysParse,a),-1!==i?i:null))):"ddd"===e?(i=Kt.call(this._shortWeekdaysParse,a),-1!==i?i:(i=Kt.call(this._weekdaysParse,a),-1!==i?i:(i=Kt.call(this._minWeekdaysParse,a),-1!==i?i:null))):(i=Kt.call(this._minWeekdaysParse,a),-1!==i?i:(i=Kt.call(this._weekdaysParse,a),-1!==i?i:(i=Kt.call(this._shortWeekdaysParse,a),-1!==i?i:null)))}function $e(t,e,r){var n,i,o;if(this._weekdaysParseExact)return Ve.call(this,t,e,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(i=g([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]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[n]=new RegExp(o.replace(".",""),"i")),r&&"dddd"===e&&this._fullWeekdaysParse[n].test(t))return n;if(r&&"ddd"===e&&this._shortWeekdaysParse[n].test(t))return n;if(r&&"dd"===e&&this._minWeekdaysParse[n].test(t))return n;if(!r&&this._weekdaysParse[n].test(t))return n}}function qe(t){if(!this.isValid())return null!=t?this:NaN;var e=Qt(this,"Day");return null!=t?(t=Oe(t,this.localeData()),this.add(t-e,"d")):e}function Ge(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function We(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=Ie(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7}function Ke(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Ze.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=Re),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function Xe(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Ze.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Fe),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Je(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Ze.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ye),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Ze(){function t(t,e){return e.length-t.length}var e,r,n,i,o,a=[],s=[],u=[],c=[];for(e=0;e<7;e++)r=g([2e3,1]).day(e),n=Pt(this.weekdaysMin(r,"")),i=Pt(this.weekdaysShort(r,"")),o=Pt(this.weekdays(r,"")),a.push(n),s.push(i),u.push(o),c.push(n),c.push(i),c.push(o);a.sort(t),s.sort(t),u.sort(t),c.sort(t),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Qe(){return this.hours()%12||12}function tr(){return this.hours()||24}function er(t,e){H(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)}))}function rr(t,e){return e._meridiemParse}function nr(t){return"p"===(t+"").toLowerCase().charAt(0)}H("H",["HH",2],0,"hour"),H("h",["hh",2],0,Qe),H("k",["kk",2],0,tr),H("hmm",0,0,(function(){return""+Qe.apply(this)+N(this.minutes(),2)})),H("hmmss",0,0,(function(){return""+Qe.apply(this)+N(this.minutes(),2)+N(this.seconds(),2)})),H("Hmm",0,0,(function(){return""+this.hours()+N(this.minutes(),2)})),H("Hmmss",0,0,(function(){return""+this.hours()+N(this.minutes(),2)+N(this.seconds(),2)})),er("a",!0),er("A",!1),Tt("a",rr),Tt("A",rr),Tt("H",pt,At),Tt("h",pt,Mt),Tt("k",pt,Mt),Tt("HH",pt,lt),Tt("hh",pt,lt),Tt("kk",pt,lt),Tt("hmm",mt),Tt("hmmss",gt),Tt("Hmm",mt),Tt("Hmmss",gt),Bt(["H","HH"],Ht),Bt(["k","kk"],(function(t,e,r){var n=It(t);e[Ht]=24===n?0:n})),Bt(["a","A"],(function(t,e,r){r._isPm=r._locale.isPM(t),r._meridiem=t})),Bt(["h","hh"],(function(t,e,r){e[Ht]=It(t),v(r).bigHour=!0})),Bt("hmm",(function(t,e,r){var n=t.length-2;e[Ht]=It(t.substr(0,n)),e[zt]=It(t.substr(n)),v(r).bigHour=!0})),Bt("hmmss",(function(t,e,r){var n=t.length-4,i=t.length-2;e[Ht]=It(t.substr(0,n)),e[zt]=It(t.substr(n,2)),e[Vt]=It(t.substr(i)),v(r).bigHour=!0})),Bt("Hmm",(function(t,e,r){var n=t.length-2;e[Ht]=It(t.substr(0,n)),e[zt]=It(t.substr(n))})),Bt("Hmmss",(function(t,e,r){var n=t.length-4,i=t.length-2;e[Ht]=It(t.substr(0,n)),e[zt]=It(t.substr(n,2)),e[Vt]=It(t.substr(i))}));var ir=/[ap]\.?m?\.?/i,or=Zt("Hours",!0);function ar(t,e,r){return t>11?r?"pm":"PM":r?"am":"AM"}var sr,ur={calendar:B,longDateFormat:G,invalidDate:K,ordinal:J,dayOfMonthOrdinalParse:Z,relativeTime:tt,months:oe,monthsShort:ae,week:Ae,weekdays:Be,weekdaysMin:Ne,weekdaysShort:je,meridiemParse:ir},cr={},lr={};function hr(t,e){var r,n=Math.min(t.length,e.length);for(r=0;r<n;r+=1)if(t[r]!==e[r])return r;return n}function fr(t){return t?t.toLowerCase().replace("_","-"):t}function dr(t){var e,r,n,i,o=0;while(o<t.length){i=fr(t[o]).split("-"),e=i.length,r=fr(t[o+1]),r=r?r.split("-"):null;while(e>0){if(n=mr(i.slice(0,e).join("-")),n)return n;if(r&&r.length>=e&&hr(i,r)>=e-1)break;e--}o++}return sr}function pr(t){return!(!t||!t.match("^[^/\\\\]*$"))}function mr(n){var i=null;if(void 0===cr[n]&&"undefined"!==typeof t&&t&&t.exports&&pr(n))try{i=sr._abbr,e,r("4678")("./"+n),gr(i)}catch(o){cr[n]=null}return cr[n]}function gr(t,e){var r;return t&&(r=h(e)?br(t):yr(t,e),r?sr=r:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),sr._abbr}function yr(t,e){if(null!==e){var r,n=ur;if(e.abbr=t,null!=cr[t])L("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=cr[t]._config;else if(null!=e.parentLocale)if(null!=cr[e.parentLocale])n=cr[e.parentLocale]._config;else{if(r=mr(e.parentLocale),null==r)return lr[e.parentLocale]||(lr[e.parentLocale]=[]),lr[e.parentLocale].push({name:t,config:e}),null;n=r._config}return cr[t]=new D(I(n,e)),lr[t]&&lr[t].forEach((function(t){yr(t.name,t.config)})),gr(t),cr[t]}return delete cr[t],null}function vr(t,e){if(null!=e){var r,n,i=ur;null!=cr[t]&&null!=cr[t].parentLocale?cr[t].set(I(cr[t]._config,e)):(n=mr(t),null!=n&&(i=n._config),e=I(i,e),null==n&&(e.abbr=t),r=new D(e),r.parentLocale=cr[t],cr[t]=r),gr(t)}else null!=cr[t]&&(null!=cr[t].parentLocale?(cr[t]=cr[t].parentLocale,t===gr()&&gr(t)):null!=cr[t]&&delete cr[t]);return cr[t]}function br(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return sr;if(!s(t)){if(e=mr(t),e)return e;t=[t]}return dr(t)}function _r(){return T(cr)}function wr(t){var e,r=t._a;return r&&-2===v(t).overflow&&(e=r[Yt]<0||r[Yt]>11?Yt:r[Ut]<1||r[Ut]>ie(r[Ft],r[Yt])?Ut:r[Ht]<0||r[Ht]>24||24===r[Ht]&&(0!==r[zt]||0!==r[Vt]||0!==r[$t])?Ht:r[zt]<0||r[zt]>59?zt:r[Vt]<0||r[Vt]>59?Vt:r[$t]<0||r[$t]>999?$t:-1,v(t)._overflowDayOfYear&&(e<Ft||e>Ut)&&(e=Ut),v(t)._overflowWeeks&&-1===e&&(e=qt),v(t)._overflowWeekday&&-1===e&&(e=Gt),v(t).overflow=e),t}var xr=/^\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)?)?$/,kr=/^\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)?)?$/,Sr=/Z|[+-]\d\d(?::?\d\d)?/,Er=[["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]],Mr=[["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/]],Ar=/^\/?Date\((-?\d+)/i,Tr=/^(?:(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}))$/,Cr={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Lr(t){var e,r,n,i,o,a,s=t._i,u=xr.exec(s)||kr.exec(s),c=Er.length,l=Mr.length;if(u){for(v(t).iso=!0,e=0,r=c;e<r;e++)if(Er[e][1].exec(u[1])){i=Er[e][0],n=!1!==Er[e][2];break}if(null==i)return void(t._isValid=!1);if(u[3]){for(e=0,r=l;e<r;e++)if(Mr[e][1].exec(u[3])){o=(u[2]||" ")+Mr[e][0];break}if(null==o)return void(t._isValid=!1)}if(!n&&null!=o)return void(t._isValid=!1);if(u[4]){if(!Sr.exec(u[4]))return void(t._isValid=!1);a="Z"}t._f=i+(o||"")+(a||""),Hr(t)}else t._isValid=!1}function Pr(t,e,r,n,i,o){var a=[Or(t),ae.indexOf(e),parseInt(r,10),parseInt(n,10),parseInt(i,10)];return o&&a.push(parseInt(o,10)),a}function Or(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function Ir(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Dr(t,e,r){if(t){var n=je.indexOf(t),i=new Date(e[0],e[1],e[2]).getDay();if(n!==i)return v(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function Br(t,e,r){if(t)return Cr[t];if(e)return 0;var n=parseInt(r,10),i=n%100,o=(n-i)/100;return 60*o+i}function jr(t){var e,r=Tr.exec(Ir(t._i));if(r){if(e=Pr(r[4],r[3],r[2],r[5],r[6],r[7]),!Dr(r[1],e,t))return;t._a=e,t._tzm=Br(r[8],r[9],r[10]),t._d=we.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),v(t).rfc2822=!0}else t._isValid=!1}function Nr(t){var e=Ar.exec(t._i);null===e?(Lr(t),!1===t._isValid&&(delete t._isValid,jr(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:o.createFromInputFallback(t)))):t._d=new Date(+e[1])}function Rr(t,e,r){return null!=t?t:null!=e?e:r}function Fr(t){var e=new Date(o.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function Yr(t){var e,r,n,i,o,a=[];if(!t._d){for(n=Fr(t),t._w&&null==t._a[Ut]&&null==t._a[Yt]&&Ur(t),null!=t._dayOfYear&&(o=Rr(t._a[Ft],n[Ft]),(t._dayOfYear>Wt(o)||0===t._dayOfYear)&&(v(t)._overflowDayOfYear=!0),r=we(o,0,t._dayOfYear),t._a[Yt]=r.getUTCMonth(),t._a[Ut]=r.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=a[e]=n[e];for(;e<7;e++)t._a[e]=a[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[Ht]&&0===t._a[zt]&&0===t._a[Vt]&&0===t._a[$t]&&(t._nextDay=!0,t._a[Ht]=0),t._d=(t._useUTC?we:_e).apply(null,a),i=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[Ht]=24),t._w&&"undefined"!==typeof t._w.d&&t._w.d!==i&&(v(t).weekdayMismatch=!0)}}function Ur(t){var e,r,n,i,o,a,s,u,c;e=t._w,null!=e.GG||null!=e.W||null!=e.E?(o=1,a=4,r=Rr(e.GG,t._a[Ft],Se(Xr(),1,4).year),n=Rr(e.W,1),i=Rr(e.E,1),(i<1||i>7)&&(u=!0)):(o=t._locale._week.dow,a=t._locale._week.doy,c=Se(Xr(),o,a),r=Rr(e.gg,t._a[Ft],c.year),n=Rr(e.w,c.week),null!=e.d?(i=e.d,(i<0||i>6)&&(u=!0)):null!=e.e?(i=e.e+o,(e.e<0||e.e>6)&&(u=!0)):i=o),n<1||n>Ee(r,o,a)?v(t)._overflowWeeks=!0:null!=u?v(t)._overflowWeekday=!0:(s=ke(r,n,i,o,a),t._a[Ft]=s.year,t._dayOfYear=s.dayOfYear)}function Hr(t){if(t._f!==o.ISO_8601)if(t._f!==o.RFC_2822){t._a=[],v(t).empty=!0;var e,r,n,i,a,s,u,c=""+t._i,l=c.length,h=0;for(n=q(t._f,t._locale).match(R)||[],u=n.length,e=0;e<u;e++)i=n[e],r=(c.match(Ct(i,t))||[])[0],r&&(a=c.substr(0,c.indexOf(r)),a.length>0&&v(t).unusedInput.push(a),c=c.slice(c.indexOf(r)+r.length),h+=r.length),U[i]?(r?v(t).empty=!1:v(t).unusedTokens.push(i),Nt(i,r,t)):t._strict&&!r&&v(t).unusedTokens.push(i);v(t).charsLeftOver=l-h,c.length>0&&v(t).unusedInput.push(c),t._a[Ht]<=12&&!0===v(t).bigHour&&t._a[Ht]>0&&(v(t).bigHour=void 0),v(t).parsedDateParts=t._a.slice(0),v(t).meridiem=t._meridiem,t._a[Ht]=zr(t._locale,t._a[Ht],t._meridiem),s=v(t).era,null!==s&&(t._a[Ft]=t._locale.erasConvertYear(s,t._a[Ft])),Yr(t),wr(t)}else jr(t);else Lr(t)}function zr(t,e,r){var n;return null==r?e:null!=t.meridiemHour?t.meridiemHour(e,r):null!=t.isPM?(n=t.isPM(r),n&&e<12&&(e+=12),n||12!==e||(e=0),e):e}function Vr(t){var e,r,n,i,o,a,s=!1,u=t._f.length;if(0===u)return v(t).invalidFormat=!0,void(t._d=new Date(NaN));for(i=0;i<u;i++)o=0,a=!1,e=k({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[i],Hr(e),b(e)&&(a=!0),o+=v(e).charsLeftOver,o+=10*v(e).unusedTokens.length,v(e).score=o,s?o<n&&(n=o,r=e):(null==n||o<n||a)&&(n=o,r=e,a&&(s=!0));m(t,r||e)}function $r(t){if(!t._d){var e=ot(t._i),r=void 0===e.day?e.date:e.day;t._a=p([e.year,e.month,r,e.hour,e.minute,e.second,e.millisecond],(function(t){return t&&parseInt(t,10)})),Yr(t)}}function qr(t){var e=new S(wr(Gr(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function Gr(t){var e=t._i,r=t._f;return t._locale=t._locale||br(t._l),null===e||void 0===r&&""===e?_({nullInput:!0}):("string"===typeof e&&(t._i=e=t._locale.preparse(e)),E(e)?new S(wr(e)):(d(e)?t._d=e:s(r)?Vr(t):r?Hr(t):Wr(t),b(t)||(t._d=null),t))}function Wr(t){var e=t._i;h(e)?t._d=new Date(o.now()):d(e)?t._d=new Date(e.valueOf()):"string"===typeof e?Nr(t):s(e)?(t._a=p(e.slice(0),(function(t){return parseInt(t,10)})),Yr(t)):u(e)?$r(t):f(e)?t._d=new Date(e):o.createFromInputFallback(t)}function Kr(t,e,r,n,i){var o={};return!0!==e&&!1!==e||(n=e,e=void 0),!0!==r&&!1!==r||(n=r,r=void 0),(u(t)&&l(t)||s(t)&&0===t.length)&&(t=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=i,o._l=r,o._i=t,o._f=e,o._strict=n,qr(o)}function Xr(t,e,r,n){return Kr(t,e,r,n,!1)}o.createFromInputFallback=A("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))})),o.ISO_8601=function(){},o.RFC_2822=function(){};var Jr=A("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Xr.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:_()})),Zr=A("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Xr.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:_()}));function Qr(t,e){var r,n;if(1===e.length&&s(e[0])&&(e=e[0]),!e.length)return Xr();for(r=e[0],n=1;n<e.length;++n)e[n].isValid()&&!e[n][t](r)||(r=e[n]);return r}function tn(){var t=[].slice.call(arguments,0);return Qr("isBefore",t)}function en(){var t=[].slice.call(arguments,0);return Qr("isAfter",t)}var rn=function(){return Date.now?Date.now():+new Date},nn=["year","quarter","month","week","day","hour","minute","second","millisecond"];function on(t){var e,r,n=!1,i=nn.length;for(e in t)if(c(t,e)&&(-1===Kt.call(nn,e)||null!=t[e]&&isNaN(t[e])))return!1;for(r=0;r<i;++r)if(t[nn[r]]){if(n)return!1;parseFloat(t[nn[r]])!==It(t[nn[r]])&&(n=!0)}return!0}function an(){return this._isValid}function sn(){return Ln(NaN)}function un(t){var e=ot(t),r=e.year||0,n=e.quarter||0,i=e.month||0,o=e.week||e.isoWeek||0,a=e.day||0,s=e.hour||0,u=e.minute||0,c=e.second||0,l=e.millisecond||0;this._isValid=on(e),this._milliseconds=+l+1e3*c+6e4*u+1e3*s*60*60,this._days=+a+7*o,this._months=+i+3*n+12*r,this._data={},this._locale=br(),this._bubble()}function cn(t){return t instanceof un}function ln(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function hn(t,e,r){var n,i=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),a=0;for(n=0;n<i;n++)(r&&t[n]!==e[n]||!r&&It(t[n])!==It(e[n]))&&a++;return a+o}function fn(t,e){H(t,0,0,(function(){var t=this.utcOffset(),r="+";return t<0&&(t=-t,r="-"),r+N(~~(t/60),2)+e+N(~~t%60,2)}))}fn("Z",":"),fn("ZZ",""),Tt("Z",kt),Tt("ZZ",kt),Bt(["Z","ZZ"],(function(t,e,r){r._useUTC=!0,r._tzm=pn(kt,t)}));var dn=/([\+\-]|\d\d)/gi;function pn(t,e){var r,n,i,o=(e||"").match(t);return null===o?null:(r=o[o.length-1]||[],n=(r+"").match(dn)||["-",0,0],i=60*n[1]+It(n[2]),0===i?0:"+"===n[0]?i:-i)}function mn(t,e){var r,n;return e._isUTC?(r=e.clone(),n=(E(t)||d(t)?t.valueOf():Xr(t).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+n),o.updateOffset(r,!1),r):Xr(t).local()}function gn(t){return-Math.round(t._d.getTimezoneOffset())}function yn(t,e,r){var n,i=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"===typeof t){if(t=pn(kt,t),null===t)return this}else Math.abs(t)<16&&!r&&(t*=60);return!this._isUTC&&e&&(n=gn(this)),this._offset=t,this._isUTC=!0,null!=n&&this.add(n,"m"),i!==t&&(!e||this._changeInProgress?Bn(this,Ln(t-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,o.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:gn(this)}function vn(t,e){return null!=t?("string"!==typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function bn(t){return this.utcOffset(0,t)}function _n(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(gn(this),"m")),this}function wn(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"===typeof this._i){var t=pn(xt,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this}function xn(t){return!!this.isValid()&&(t=t?Xr(t).utcOffset():0,(this.utcOffset()-t)%60===0)}function kn(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Sn(){if(!h(this._isDSTShifted))return this._isDSTShifted;var t,e={};return k(e,this),e=Gr(e),e._a?(t=e._isUTC?g(e._a):Xr(e._a),this._isDSTShifted=this.isValid()&&hn(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function En(){return!!this.isValid()&&!this._isUTC}function Mn(){return!!this.isValid()&&this._isUTC}function An(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}o.updateOffset=function(){};var Tn=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Cn=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ln(t,e){var r,n,i,o=t,a=null;return cn(t)?o={ms:t._milliseconds,d:t._days,M:t._months}:f(t)||!isNaN(+t)?(o={},e?o[e]=+t:o.milliseconds=+t):(a=Tn.exec(t))?(r="-"===a[1]?-1:1,o={y:0,d:It(a[Ut])*r,h:It(a[Ht])*r,m:It(a[zt])*r,s:It(a[Vt])*r,ms:It(ln(1e3*a[$t]))*r}):(a=Cn.exec(t))?(r="-"===a[1]?-1:1,o={y:Pn(a[2],r),M:Pn(a[3],r),w:Pn(a[4],r),d:Pn(a[5],r),h:Pn(a[6],r),m:Pn(a[7],r),s:Pn(a[8],r)}):null==o?o={}:"object"===typeof o&&("from"in o||"to"in o)&&(i=In(Xr(o.from),Xr(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),n=new un(o),cn(t)&&c(t,"_locale")&&(n._locale=t._locale),cn(t)&&c(t,"_isValid")&&(n._isValid=t._isValid),n}function Pn(t,e){var r=t&&parseFloat(t.replace(",","."));return(isNaN(r)?0:r)*e}function On(t,e){var r={};return r.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(r.months,"M").isAfter(e)&&--r.months,r.milliseconds=+e-+t.clone().add(r.months,"M"),r}function In(t,e){var r;return t.isValid()&&e.isValid()?(e=mn(e,t),t.isBefore(e)?r=On(t,e):(r=On(e,t),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function Dn(t,e){return function(r,n){var i,o;return null===n||isNaN(+n)||(L(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=r,r=n,n=o),i=Ln(r,n),Bn(this,i,t),this}}function Bn(t,e,r,n){var i=e._milliseconds,a=ln(e._days),s=ln(e._months);t.isValid()&&(n=null==n||n,s&&pe(t,Qt(t,"Month")+s*r),a&&te(t,"Date",Qt(t,"Date")+a*r),i&&t._d.setTime(t._d.valueOf()+i*r),n&&o.updateOffset(t,a||s))}Ln.fn=un.prototype,Ln.invalid=sn;var jn=Dn(1,"add"),Nn=Dn(-1,"subtract");function Rn(t){return"string"===typeof t||t instanceof String}function Fn(t){return E(t)||d(t)||Rn(t)||f(t)||Un(t)||Yn(t)||null===t||void 0===t}function Yn(t){var e,r,n=u(t)&&!l(t),i=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a=o.length;for(e=0;e<a;e+=1)r=o[e],i=i||c(t,r);return n&&i}function Un(t){var e=s(t),r=!1;return e&&(r=0===t.filter((function(e){return!f(e)&&Rn(t)})).length),e&&r}function Hn(t){var e,r,n=u(t)&&!l(t),i=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(e=0;e<o.length;e+=1)r=o[e],i=i||c(t,r);return n&&i}function zn(t,e){var r=t.diff(e,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function Vn(t,e){1===arguments.length&&(arguments[0]?Fn(arguments[0])?(t=arguments[0],e=void 0):Hn(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var r=t||Xr(),n=mn(r,this).startOf("day"),i=o.calendarFormat(this,n)||"sameElse",a=e&&(P(e[i])?e[i].call(this,r):e[i]);return this.format(a||this.localeData().calendar(i,this,Xr(r)))}function $n(){return new S(this)}function qn(t,e){var r=E(t)?t:Xr(t);return!(!this.isValid()||!r.isValid())&&(e=it(e)||"millisecond","millisecond"===e?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(e).valueOf())}function Gn(t,e){var r=E(t)?t:Xr(t);return!(!this.isValid()||!r.isValid())&&(e=it(e)||"millisecond","millisecond"===e?this.valueOf()<r.valueOf():this.clone().endOf(e).valueOf()<r.valueOf())}function Wn(t,e,r,n){var i=E(t)?t:Xr(t),o=E(e)?e:Xr(e);return!!(this.isValid()&&i.isValid()&&o.isValid())&&(n=n||"()",("("===n[0]?this.isAfter(i,r):!this.isBefore(i,r))&&(")"===n[1]?this.isBefore(o,r):!this.isAfter(o,r)))}function Kn(t,e){var r,n=E(t)?t:Xr(t);return!(!this.isValid()||!n.isValid())&&(e=it(e)||"millisecond","millisecond"===e?this.valueOf()===n.valueOf():(r=n.valueOf(),this.clone().startOf(e).valueOf()<=r&&r<=this.clone().endOf(e).valueOf()))}function Xn(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function Jn(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function Zn(t,e,r){var n,i,o;if(!this.isValid())return NaN;if(n=mn(t,this),!n.isValid())return NaN;switch(i=6e4*(n.utcOffset()-this.utcOffset()),e=it(e),e){case"year":o=Qn(this,n)/12;break;case"month":o=Qn(this,n);break;case"quarter":o=Qn(this,n)/3;break;case"second":o=(this-n)/1e3;break;case"minute":o=(this-n)/6e4;break;case"hour":o=(this-n)/36e5;break;case"day":o=(this-n-i)/864e5;break;case"week":o=(this-n-i)/6048e5;break;default:o=this-n}return r?o:Ot(o)}function Qn(t,e){if(t.date()<e.date())return-Qn(e,t);var r,n,i=12*(e.year()-t.year())+(e.month()-t.month()),o=t.clone().add(i,"months");return e-o<0?(r=t.clone().add(i-1,"months"),n=(e-o)/(o-r)):(r=t.clone().add(i+1,"months"),n=(e-o)/(r-o)),-(i+n)||0}function ti(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function ei(t){if(!this.isValid())return null;var e=!0!==t,r=e?this.clone().utc():this;return r.year()<0||r.year()>9999?$(r,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):P(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",$(r,"Z")):$(r,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function ri(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e,r,n,i="moment",o="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",o="Z"),t="["+i+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",r="-MM-DD[T]HH:mm:ss.SSS",n=o+'[")]',this.format(t+e+r+n)}function ni(t){t||(t=this.isUtc()?o.defaultFormatUtc:o.defaultFormat);var e=$(this,t);return this.localeData().postformat(e)}function ii(t,e){return this.isValid()&&(E(t)&&t.isValid()||Xr(t).isValid())?Ln({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function oi(t){return this.from(Xr(),t)}function ai(t,e){return this.isValid()&&(E(t)&&t.isValid()||Xr(t).isValid())?Ln({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function si(t){return this.to(Xr(),t)}function ui(t){var e;return void 0===t?this._locale._abbr:(e=br(t),null!=e&&(this._locale=e),this)}o.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",o.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var ci=A("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(t){return void 0===t?this.localeData():this.locale(t)}));function li(){return this._locale}var hi=1e3,fi=60*hi,di=60*fi,pi=3506328*di;function mi(t,e){return(t%e+e)%e}function gi(t,e,r){return t<100&&t>=0?new Date(t+400,e,r)-pi:new Date(t,e,r).valueOf()}function yi(t,e,r){return t<100&&t>=0?Date.UTC(t+400,e,r)-pi:Date.UTC(t,e,r)}function vi(t){var e,r;if(t=it(t),void 0===t||"millisecond"===t||!this.isValid())return this;switch(r=this._isUTC?yi:gi,t){case"year":e=r(this.year(),0,1);break;case"quarter":e=r(this.year(),this.month()-this.month()%3,1);break;case"month":e=r(this.year(),this.month(),1);break;case"week":e=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=r(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=mi(e+(this._isUTC?0:this.utcOffset()*fi),di);break;case"minute":e=this._d.valueOf(),e-=mi(e,fi);break;case"second":e=this._d.valueOf(),e-=mi(e,hi);break}return this._d.setTime(e),o.updateOffset(this,!0),this}function bi(t){var e,r;if(t=it(t),void 0===t||"millisecond"===t||!this.isValid())return this;switch(r=this._isUTC?yi:gi,t){case"year":e=r(this.year()+1,0,1)-1;break;case"quarter":e=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=r(this.year(),this.month()+1,1)-1;break;case"week":e=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=di-mi(e+(this._isUTC?0:this.utcOffset()*fi),di)-1;break;case"minute":e=this._d.valueOf(),e+=fi-mi(e,fi)-1;break;case"second":e=this._d.valueOf(),e+=hi-mi(e,hi)-1;break}return this._d.setTime(e),o.updateOffset(this,!0),this}function _i(){return this._d.valueOf()-6e4*(this._offset||0)}function wi(){return Math.floor(this.valueOf()/1e3)}function xi(){return new Date(this.valueOf())}function ki(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function Si(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function Ei(){return this.isValid()?this.toISOString():null}function Mi(){return b(this)}function Ai(){return m({},v(this))}function Ti(){return v(this).overflow}function Ci(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Li(t,e){var r,n,i,a=this._eras||br("en")._eras;for(r=0,n=a.length;r<n;++r){switch(typeof a[r].since){case"string":i=o(a[r].since).startOf("day"),a[r].since=i.valueOf();break}switch(typeof a[r].until){case"undefined":a[r].until=1/0;break;case"string":i=o(a[r].until).startOf("day").valueOf(),a[r].until=i.valueOf();break}}return a}function Pi(t,e,r){var n,i,o,a,s,u=this.eras();for(t=t.toUpperCase(),n=0,i=u.length;n<i;++n)if(o=u[n].name.toUpperCase(),a=u[n].abbr.toUpperCase(),s=u[n].narrow.toUpperCase(),r)switch(e){case"N":case"NN":case"NNN":if(a===t)return u[n];break;case"NNNN":if(o===t)return u[n];break;case"NNNNN":if(s===t)return u[n];break}else if([o,a,s].indexOf(t)>=0)return u[n]}function Oi(t,e){var r=t.since<=t.until?1:-1;return void 0===e?o(t.since).year():o(t.since).year()+(e-t.offset)*r}function Ii(){var t,e,r,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t){if(r=this.clone().startOf("day").valueOf(),n[t].since<=r&&r<=n[t].until)return n[t].name;if(n[t].until<=r&&r<=n[t].since)return n[t].name}return""}function Di(){var t,e,r,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t){if(r=this.clone().startOf("day").valueOf(),n[t].since<=r&&r<=n[t].until)return n[t].narrow;if(n[t].until<=r&&r<=n[t].since)return n[t].narrow}return""}function Bi(){var t,e,r,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t){if(r=this.clone().startOf("day").valueOf(),n[t].since<=r&&r<=n[t].until)return n[t].abbr;if(n[t].until<=r&&r<=n[t].since)return n[t].abbr}return""}function ji(){var t,e,r,n,i=this.localeData().eras();for(t=0,e=i.length;t<e;++t)if(r=i[t].since<=i[t].until?1:-1,n=this.clone().startOf("day").valueOf(),i[t].since<=n&&n<=i[t].until||i[t].until<=n&&n<=i[t].since)return(this.year()-o(i[t].since).year())*r+i[t].offset;return this.year()}function Ni(t){return c(this,"_erasNameRegex")||Vi.call(this),t?this._erasNameRegex:this._erasRegex}function Ri(t){return c(this,"_erasAbbrRegex")||Vi.call(this),t?this._erasAbbrRegex:this._erasRegex}function Fi(t){return c(this,"_erasNarrowRegex")||Vi.call(this),t?this._erasNarrowRegex:this._erasRegex}function Yi(t,e){return e.erasAbbrRegex(t)}function Ui(t,e){return e.erasNameRegex(t)}function Hi(t,e){return e.erasNarrowRegex(t)}function zi(t,e){return e._eraYearOrdinalRegex||_t}function Vi(){var t,e,r,n,i,o=[],a=[],s=[],u=[],c=this.eras();for(t=0,e=c.length;t<e;++t)r=Pt(c[t].name),n=Pt(c[t].abbr),i=Pt(c[t].narrow),a.push(r),o.push(n),s.push(i),u.push(r),u.push(n),u.push(i);this._erasRegex=new RegExp("^("+u.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+a.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+s.join("|")+")","i")}function $i(t,e){H(0,[t,t.length],0,e)}function qi(t){return Zi.call(this,t,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Gi(t){return Zi.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function Wi(){return Ee(this.year(),1,4)}function Ki(){return Ee(this.isoWeekYear(),1,4)}function Xi(){var t=this.localeData()._week;return Ee(this.year(),t.dow,t.doy)}function Ji(){var t=this.localeData()._week;return Ee(this.weekYear(),t.dow,t.doy)}function Zi(t,e,r,n,i){var o;return null==t?Se(this,n,i).year:(o=Ee(t,n,i),e>o&&(e=o),Qi.call(this,t,e,r,n,i))}function Qi(t,e,r,n,i){var o=ke(t,e,r,n,i),a=we(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function to(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}H("N",0,0,"eraAbbr"),H("NN",0,0,"eraAbbr"),H("NNN",0,0,"eraAbbr"),H("NNNN",0,0,"eraName"),H("NNNNN",0,0,"eraNarrow"),H("y",["y",1],"yo","eraYear"),H("y",["yy",2],0,"eraYear"),H("y",["yyy",3],0,"eraYear"),H("y",["yyyy",4],0,"eraYear"),Tt("N",Yi),Tt("NN",Yi),Tt("NNN",Yi),Tt("NNNN",Ui),Tt("NNNNN",Hi),Bt(["N","NN","NNN","NNNN","NNNNN"],(function(t,e,r,n){var i=r._locale.erasParse(t,n,r._strict);i?v(r).era=i:v(r).invalidEra=t})),Tt("y",_t),Tt("yy",_t),Tt("yyy",_t),Tt("yyyy",_t),Tt("yo",zi),Bt(["y","yy","yyy","yyyy"],Ft),Bt(["yo"],(function(t,e,r,n){var i;r._locale._eraYearOrdinalRegex&&(i=t.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?e[Ft]=r._locale.eraYearOrdinalParse(t,i):e[Ft]=parseInt(t,10)})),H(0,["gg",2],0,(function(){return this.weekYear()%100})),H(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),$i("gggg","weekYear"),$i("ggggg","weekYear"),$i("GGGG","isoWeekYear"),$i("GGGGG","isoWeekYear"),Tt("G",wt),Tt("g",wt),Tt("GG",pt,lt),Tt("gg",pt,lt),Tt("GGGG",vt,ft),Tt("gggg",vt,ft),Tt("GGGGG",bt,dt),Tt("ggggg",bt,dt),jt(["gggg","ggggg","GGGG","GGGGG"],(function(t,e,r,n){e[n.substr(0,2)]=It(t)})),jt(["gg","GG"],(function(t,e,r,n){e[n]=o.parseTwoDigitYear(t)})),H("Q",0,"Qo","quarter"),Tt("Q",ct),Bt("Q",(function(t,e){e[Yt]=3*(It(t)-1)})),H("D",["DD",2],"Do","date"),Tt("D",pt,Mt),Tt("DD",pt,lt),Tt("Do",(function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient})),Bt(["D","DD"],Ut),Bt("Do",(function(t,e){e[Ut]=It(t.match(pt)[0])}));var eo=Zt("Date",!0);function ro(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}H("DDD",["DDDD",3],"DDDo","dayOfYear"),Tt("DDD",yt),Tt("DDDD",ht),Bt(["DDD","DDDD"],(function(t,e,r){r._dayOfYear=It(t)})),H("m",["mm",2],0,"minute"),Tt("m",pt,At),Tt("mm",pt,lt),Bt(["m","mm"],zt);var no=Zt("Minutes",!1);H("s",["ss",2],0,"second"),Tt("s",pt,At),Tt("ss",pt,lt),Bt(["s","ss"],Vt);var io,oo,ao=Zt("Seconds",!1);for(H("S",0,0,(function(){return~~(this.millisecond()/100)})),H(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),H(0,["SSS",3],0,"millisecond"),H(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),H(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),H(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),H(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),H(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),H(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),Tt("S",yt,ct),Tt("SS",yt,lt),Tt("SSS",yt,ht),io="SSSS";io.length<=9;io+="S")Tt(io,_t);function so(t,e){e[$t]=It(1e3*("0."+t))}for(io="S";io.length<=9;io+="S")Bt(io,so);function uo(){return this._isUTC?"UTC":""}function co(){return this._isUTC?"Coordinated Universal Time":""}oo=Zt("Milliseconds",!1),H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var lo=S.prototype;function ho(t){return Xr(1e3*t)}function fo(){return Xr.apply(null,arguments).parseZone()}function po(t){return t}lo.add=jn,lo.calendar=Vn,lo.clone=$n,lo.diff=Zn,lo.endOf=bi,lo.format=ni,lo.from=ii,lo.fromNow=oi,lo.to=ai,lo.toNow=si,lo.get=ee,lo.invalidAt=Ti,lo.isAfter=qn,lo.isBefore=Gn,lo.isBetween=Wn,lo.isSame=Kn,lo.isSameOrAfter=Xn,lo.isSameOrBefore=Jn,lo.isValid=Mi,lo.lang=ci,lo.locale=ui,lo.localeData=li,lo.max=Zr,lo.min=Jr,lo.parsingFlags=Ai,lo.set=re,lo.startOf=vi,lo.subtract=Nn,lo.toArray=ki,lo.toObject=Si,lo.toDate=xi,lo.toISOString=ei,lo.inspect=ri,"undefined"!==typeof Symbol&&null!=Symbol.for&&(lo[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),lo.toJSON=Ei,lo.toString=ti,lo.unix=wi,lo.valueOf=_i,lo.creationData=Ci,lo.eraName=Ii,lo.eraNarrow=Di,lo.eraAbbr=Bi,lo.eraYear=ji,lo.year=Xt,lo.isLeapYear=Jt,lo.weekYear=qi,lo.isoWeekYear=Gi,lo.quarter=lo.quarters=to,lo.month=me,lo.daysInMonth=ge,lo.week=lo.weeks=Le,lo.isoWeek=lo.isoWeeks=Pe,lo.weeksInYear=Xi,lo.weeksInWeekYear=Ji,lo.isoWeeksInYear=Wi,lo.isoWeeksInISOWeekYear=Ki,lo.date=eo,lo.day=lo.days=qe,lo.weekday=Ge,lo.isoWeekday=We,lo.dayOfYear=ro,lo.hour=lo.hours=or,lo.minute=lo.minutes=no,lo.second=lo.seconds=ao,lo.millisecond=lo.milliseconds=oo,lo.utcOffset=yn,lo.utc=bn,lo.local=_n,lo.parseZone=wn,lo.hasAlignedHourOffset=xn,lo.isDST=kn,lo.isLocal=En,lo.isUtcOffset=Mn,lo.isUtc=An,lo.isUTC=An,lo.zoneAbbr=uo,lo.zoneName=co,lo.dates=A("dates accessor is deprecated. Use date instead.",eo),lo.months=A("months accessor is deprecated. Use month instead",me),lo.years=A("years accessor is deprecated. Use year instead",Xt),lo.zone=A("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",vn),lo.isDSTShifted=A("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Sn);var mo=D.prototype;function go(t,e,r,n){var i=br(),o=g().set(n,e);return i[r](o,t)}function yo(t,e,r){if(f(t)&&(e=t,t=void 0),t=t||"",null!=e)return go(t,e,r,"month");var n,i=[];for(n=0;n<12;n++)i[n]=go(t,n,r,"month");return i}function vo(t,e,r,n){"boolean"===typeof t?(f(e)&&(r=e,e=void 0),e=e||""):(e=t,r=e,t=!1,f(e)&&(r=e,e=void 0),e=e||"");var i,o=br(),a=t?o._week.dow:0,s=[];if(null!=r)return go(e,(r+a)%7,n,"day");for(i=0;i<7;i++)s[i]=go(e,(i+a)%7,n,"day");return s}function bo(t,e){return yo(t,e,"months")}function _o(t,e){return yo(t,e,"monthsShort")}function wo(t,e,r){return vo(t,e,r,"weekdays")}function xo(t,e,r){return vo(t,e,r,"weekdaysShort")}function ko(t,e,r){return vo(t,e,r,"weekdaysMin")}mo.calendar=j,mo.longDateFormat=W,mo.invalidDate=X,mo.ordinal=Q,mo.preparse=po,mo.postformat=po,mo.relativeTime=et,mo.pastFuture=rt,mo.set=O,mo.eras=Li,mo.erasParse=Pi,mo.erasConvertYear=Oi,mo.erasAbbrRegex=Ri,mo.erasNameRegex=Ni,mo.erasNarrowRegex=Fi,mo.months=le,mo.monthsShort=he,mo.monthsParse=de,mo.monthsRegex=ve,mo.monthsShortRegex=ye,mo.week=Me,mo.firstDayOfYear=Ce,mo.firstDayOfWeek=Te,mo.weekdays=Ue,mo.weekdaysMin=ze,mo.weekdaysShort=He,mo.weekdaysParse=$e,mo.weekdaysRegex=Ke,mo.weekdaysShortRegex=Xe,mo.weekdaysMinRegex=Je,mo.isPM=nr,mo.meridiem=ar,gr("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(t){var e=t%10,r=1===It(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+r}}),o.lang=A("moment.lang is deprecated. Use moment.locale instead.",gr),o.langData=A("moment.langData is deprecated. Use moment.localeData instead.",br);var So=Math.abs;function Eo(){var t=this._data;return this._milliseconds=So(this._milliseconds),this._days=So(this._days),this._months=So(this._months),t.milliseconds=So(t.milliseconds),t.seconds=So(t.seconds),t.minutes=So(t.minutes),t.hours=So(t.hours),t.months=So(t.months),t.years=So(t.years),this}function Mo(t,e,r,n){var i=Ln(e,r);return t._milliseconds+=n*i._milliseconds,t._days+=n*i._days,t._months+=n*i._months,t._bubble()}function Ao(t,e){return Mo(this,t,e,1)}function To(t,e){return Mo(this,t,e,-1)}function Co(t){return t<0?Math.floor(t):Math.ceil(t)}function Lo(){var t,e,r,n,i,o=this._milliseconds,a=this._days,s=this._months,u=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*Co(Oo(s)+a),a=0,s=0),u.milliseconds=o%1e3,t=Ot(o/1e3),u.seconds=t%60,e=Ot(t/60),u.minutes=e%60,r=Ot(e/60),u.hours=r%24,a+=Ot(r/24),i=Ot(Po(a)),s+=i,a-=Co(Oo(i)),n=Ot(s/12),s%=12,u.days=a,u.months=s,u.years=n,this}function Po(t){return 4800*t/146097}function Oo(t){return 146097*t/4800}function Io(t){if(!this.isValid())return NaN;var e,r,n=this._milliseconds;if(t=it(t),"month"===t||"quarter"===t||"year"===t)switch(e=this._days+n/864e5,r=this._months+Po(e),t){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(e=this._days+Math.round(Oo(this._months)),t){case"week":return e/7+n/6048e5;case"day":return e+n/864e5;case"hour":return 24*e+n/36e5;case"minute":return 1440*e+n/6e4;case"second":return 86400*e+n/1e3;case"millisecond":return Math.floor(864e5*e)+n;default:throw new Error("Unknown unit "+t)}}function Do(t){return function(){return this.as(t)}}var Bo=Do("ms"),jo=Do("s"),No=Do("m"),Ro=Do("h"),Fo=Do("d"),Yo=Do("w"),Uo=Do("M"),Ho=Do("Q"),zo=Do("y"),Vo=Bo;function $o(){return Ln(this)}function qo(t){return t=it(t),this.isValid()?this[t+"s"]():NaN}function Go(t){return function(){return this.isValid()?this._data[t]:NaN}}var Wo=Go("milliseconds"),Ko=Go("seconds"),Xo=Go("minutes"),Jo=Go("hours"),Zo=Go("days"),Qo=Go("months"),ta=Go("years");function ea(){return Ot(this.days()/7)}var ra=Math.round,na={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ia(t,e,r,n,i){return i.relativeTime(e||1,!!r,t,n)}function oa(t,e,r,n){var i=Ln(t).abs(),o=ra(i.as("s")),a=ra(i.as("m")),s=ra(i.as("h")),u=ra(i.as("d")),c=ra(i.as("M")),l=ra(i.as("w")),h=ra(i.as("y")),f=o<=r.ss&&["s",o]||o<r.s&&["ss",o]||a<=1&&["m"]||a<r.m&&["mm",a]||s<=1&&["h"]||s<r.h&&["hh",s]||u<=1&&["d"]||u<r.d&&["dd",u];return null!=r.w&&(f=f||l<=1&&["w"]||l<r.w&&["ww",l]),f=f||c<=1&&["M"]||c<r.M&&["MM",c]||h<=1&&["y"]||["yy",h],f[2]=e,f[3]=+t>0,f[4]=n,ia.apply(null,f)}function aa(t){return void 0===t?ra:"function"===typeof t&&(ra=t,!0)}function sa(t,e){return void 0!==na[t]&&(void 0===e?na[t]:(na[t]=e,"s"===t&&(na.ss=e-1),!0))}function ua(t,e){if(!this.isValid())return this.localeData().invalidDate();var r,n,i=!1,o=na;return"object"===typeof t&&(e=t,t=!1),"boolean"===typeof t&&(i=t),"object"===typeof e&&(o=Object.assign({},na,e),null!=e.s&&null==e.ss&&(o.ss=e.s-1)),r=this.localeData(),n=oa(this,!i,o,r),i&&(n=r.pastFuture(+this,n)),r.postformat(n)}var ca=Math.abs;function la(t){return(t>0)-(t<0)||+t}function ha(){if(!this.isValid())return this.localeData().invalidDate();var t,e,r,n,i,o,a,s,u=ca(this._milliseconds)/1e3,c=ca(this._days),l=ca(this._months),h=this.asSeconds();return h?(t=Ot(u/60),e=Ot(t/60),u%=60,t%=60,r=Ot(l/12),l%=12,n=u?u.toFixed(3).replace(/\.?0+$/,""):"",i=h<0?"-":"",o=la(this._months)!==la(h)?"-":"",a=la(this._days)!==la(h)?"-":"",s=la(this._milliseconds)!==la(h)?"-":"",i+"P"+(r?o+r+"Y":"")+(l?o+l+"M":"")+(c?a+c+"D":"")+(e||t||u?"T":"")+(e?s+e+"H":"")+(t?s+t+"M":"")+(u?s+n+"S":"")):"P0D"}var fa=un.prototype;return fa.isValid=an,fa.abs=Eo,fa.add=Ao,fa.subtract=To,fa.as=Io,fa.asMilliseconds=Bo,fa.asSeconds=jo,fa.asMinutes=No,fa.asHours=Ro,fa.asDays=Fo,fa.asWeeks=Yo,fa.asMonths=Uo,fa.asQuarters=Ho,fa.asYears=zo,fa.valueOf=Vo,fa._bubble=Lo,fa.clone=$o,fa.get=qo,fa.milliseconds=Wo,fa.seconds=Ko,fa.minutes=Xo,fa.hours=Jo,fa.days=Zo,fa.weeks=ea,fa.months=Qo,fa.years=ta,fa.humanize=ua,fa.toISOString=ha,fa.toString=ha,fa.toJSON=ha,fa.locale=ui,fa.localeData=li,fa.toIsoString=A("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ha),fa.lang=ci,H("X",0,0,"unix"),H("x",0,0,"valueOf"),Tt("x",wt),Tt("X",St),Bt("X",(function(t,e,r){r._d=new Date(1e3*parseFloat(t))})),Bt("x",(function(t,e,r){r._d=new Date(It(t))})),
//! moment.js
o.version="2.30.1",a(Xr),o.fn=lo,o.min=tn,o.max=en,o.now=rn,o.utc=g,o.unix=ho,o.months=bo,o.isDate=d,o.locale=gr,o.invalid=_,o.duration=Ln,o.isMoment=E,o.weekdays=wo,o.parseZone=fo,o.localeData=br,o.isDuration=cn,o.monthsShort=_o,o.weekdaysMin=ko,o.defineLocale=yr,o.updateLocale=vr,o.locales=_r,o.weekdaysShort=xo,o.normalizeUnits=it,o.relativeTimeRounding=aa,o.relativeTimeThreshold=sa,o.calendarFormat=zn,o.prototype=lo,o.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"},o}))}).call(this,r("62e4")(t))},c1e3:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("2054"),i=r("ff0e");function o(t){return t&&"object"===typeof t&&"default"in t?t:{default:t}}var a=o(i);function s(t){try{t=a["default"](new n.Multiaddr(t))}catch(e){}return t=t.toString(),t}e.toUrlString=s},c307:function(t,e,r){},c377:function(t,e,r){"use strict";var n=r("4a1a"),i=r("f41f"),o=r("e4cd"),a=r("7560"),s=r("58df"),u=r("80d2"),c=r("d9bd");e["a"]=Object(s["a"])(o["a"],a["a"]).extend({name:"v-data-iterator",props:{...n["a"].options.props,itemKey:{type:String,default:"id"},value:{type:Array,default:()=>[]},singleSelect:Boolean,expanded:{type:Array,default:()=>[]},mobileBreakpoint:{...o["a"].options.props.mobileBreakpoint,default:600},singleExpand:Boolean,loading:[Boolean,String],noResultsText:{type:String,default:"$vuetify.dataIterator.noResultsText"},noDataText:{type:String,default:"$vuetify.noDataText"},loadingText:{type:String,default:"$vuetify.dataIterator.loadingText"},hideDefaultFooter:Boolean,footerProps:Object,selectableKey:{type:String,default:"isSelectable"}},data:()=>({selection:{},expansion:{},internalCurrentItems:[],shiftKeyDown:!1,lastEntry:-1}),computed:{everyItem(){return!!this.selectableItems.length&&this.selectableItems.every(t=>this.isSelected(t))},someItems(){return this.selectableItems.some(t=>this.isSelected(t))},sanitizedFooterProps(){return Object(u["e"])(this.footerProps)},selectableItems(){return this.internalCurrentItems.filter(t=>this.isSelectable(t))}},watch:{value:{handler(t){this.selection=t.reduce((t,e)=>(t[Object(u["r"])(e,this.itemKey)]=e,t),{})},immediate:!0},selection(t,e){Object(u["m"])(Object.keys(t),Object.keys(e))||this.$emit("input",Object.values(t))},expanded:{handler(t){this.expansion=t.reduce((t,e)=>(t[Object(u["r"])(e,this.itemKey)]=!0,t),{})},immediate:!0},expansion(t,e){if(Object(u["m"])(t,e))return;const r=Object.keys(t).filter(e=>t[e]),n=r.length?this.items.filter(t=>r.includes(String(Object(u["r"])(t,this.itemKey)))):[];this.$emit("update:expanded",n)}},created(){const t=[["disable-initial-sort","sort-by"],["filter","custom-filter"],["pagination","options"],["total-items","server-items-length"],["hide-actions","hide-default-footer"],["rows-per-page-items","footer-props.items-per-page-options"],["rows-per-page-text","footer-props.items-per-page-text"],["prev-icon","footer-props.prev-icon"],["next-icon","footer-props.next-icon"]];t.forEach(([t,e])=>{this.$attrs.hasOwnProperty(t)&&Object(c["a"])(t,e,this)});const e=["expand","content-class","content-props","content-tag"];e.forEach(t=>{this.$attrs.hasOwnProperty(t)&&Object(c["e"])(t)})},mounted(){window.addEventListener("keydown",this.onKeyDown),window.addEventListener("keyup",this.onKeyUp)},beforeDestroy(){window.removeEventListener("keydown",this.onKeyDown),window.removeEventListener("keyup",this.onKeyUp)},methods:{onKeyDown(t){this.shiftKeyDown=t.keyCode===u["A"].shift||t.shiftKey},onKeyUp(t){t.keyCode!==u["A"].shift&&t.shiftKey||(this.shiftKeyDown=!1)},toggleSelectAll(t){const e=Object.assign({},this.selection);for(let r=0;r<this.selectableItems.length;r++){const n=this.selectableItems[r];if(!this.isSelectable(n))continue;const i=Object(u["r"])(n,this.itemKey);t?e[i]=n:delete e[i]}this.selection=e,this.$emit("toggle-select-all",{items:this.internalCurrentItems,value:t})},isSelectable(t){return!1!==Object(u["r"])(t,this.selectableKey)},isSelected(t){return!!this.selection[Object(u["r"])(t,this.itemKey)]||!1},select(t,e=!0,r=!0){if(!this.isSelectable(t))return;const n=this.singleSelect?{}:Object.assign({},this.selection),i=Object(u["r"])(t,this.itemKey);e?n[i]=t:delete n[i];const o=this.selectableItems.findIndex(t=>Object(u["r"])(t,this.itemKey)===i);if(-1===this.lastEntry)this.lastEntry=o;else if(this.shiftKeyDown&&!this.singleSelect&&r){const t=Object(u["r"])(this.selectableItems[this.lastEntry],this.itemKey),e=Object.keys(this.selection).includes(String(t));this.multipleSelect(e,r,n,o)}if(this.lastEntry=o,this.singleSelect&&r){const t=Object.keys(this.selection),e=t.length&&Object(u["r"])(this.selection[t[0]],this.itemKey);e&&e!==i&&this.$emit("item-selected",{item:this.selection[e],value:!1})}this.selection=n,r&&this.$emit("item-selected",{item:t,value:e})},multipleSelect(t=!0,e=!0,r,n){const i=n<this.lastEntry?n:this.lastEntry,o=n<this.lastEntry?this.lastEntry:n;for(let a=i;a<=o;a++){const n=this.selectableItems[a],i=Object(u["r"])(n,this.itemKey);t?r[i]=n:delete r[i],e&&this.$emit("item-selected",{currentItem:n,value:t})}},isExpanded(t){return this.expansion[Object(u["r"])(t,this.itemKey)]||!1},expand(t,e=!0){const r=this.singleExpand?{}:Object.assign({},this.expansion),n=Object(u["r"])(t,this.itemKey);e?r[n]=!0:delete r[n],this.expansion=r,this.$emit("item-expanded",{item:t,value:e})},createItemProps(t,e){return{item:t,index:e,select:e=>this.select(t,e),isSelected:this.isSelected(t),expand:e=>this.expand(t,e),isExpanded:this.isExpanded(t),isMobile:this.isMobile}},genEmptyWrapper(t){return this.$createElement("div",t)},genEmpty(t,e){if(0===t&&this.loading){const t=Object(u["u"])(this,"loading")||this.$vuetify.lang.t(this.loadingText);return this.genEmptyWrapper(t)}if(0===t){const t=Object(u["u"])(this,"noData")||this.$vuetify.lang.t(this.noDataText);return this.genEmptyWrapper(t)}if(0===e){const t=Object(u["u"])(this,"noResults")||this.$vuetify.lang.t(this.noResultsText);return this.genEmptyWrapper(t)}return null},genItems(t){const e=this.genEmpty(t.originalItemsLength,t.pagination.itemsLength);return e?[e]:this.$scopedSlots.default?this.$scopedSlots.default({...t,isSelected:this.isSelected,select:this.select,isExpanded:this.isExpanded,isMobile:this.isMobile,expand:this.expand}):this.$scopedSlots.item?t.items.map((t,e)=>this.$scopedSlots.item(this.createItemProps(t,e))):[]},genFooter(t){if(this.hideDefaultFooter)return null;const e={props:{...this.sanitizedFooterProps,options:t.options,pagination:t.pagination},on:{"update:options":e=>t.updateOptions(e)}},r=Object(u["s"])("footer.",this.$scopedSlots);return this.$createElement(i["a"],{scopedSlots:r,...e})},genDefaultScopedSlot(t){const e={...t,someItems:this.someItems,everyItem:this.everyItem,toggleSelectAll:this.toggleSelectAll};return this.$createElement("div",{staticClass:"v-data-iterator"},[Object(u["u"])(this,"header",e,!0),this.genItems(t),this.genFooter(t),Object(u["u"])(this,"footer",e,!0)])}},render(){return this.$createElement(n["a"],{props:this.$props,on:{"update:options":(t,e)=>!Object(u["m"])(t,e)&&this.$emit("update:options",t),"update:page":t=>this.$emit("update:page",t),"update:items-per-page":t=>this.$emit("update:items-per-page",t),"update:sort-by":t=>this.$emit("update:sort-by",t),"update:sort-desc":t=>this.$emit("update:sort-desc",t),"update:group-by":t=>this.$emit("update:group-by",t),"update:group-desc":t=>this.$emit("update:group-desc",t),pagination:(t,e)=>!Object(u["m"])(t,e)&&this.$emit("pagination",t),"current-items":t=>{this.internalCurrentItems=t,this.$emit("current-items",t)},"page-count":t=>this.$emit("page-count",t)},scopedSlots:{default:this.genDefaultScopedSlot}})}})},c37a:function(t,e,r){"use strict";r.d(e,"a",(function(){return f}));r("d191");var n=r("9d26"),i=r("ba87"),o=r("df8d"),a=r("7e2b"),s=r("38cb"),u=r("80d2"),c=r("d9f7"),l=r("58df");const h=Object(l["a"])(a["a"],s["a"]);var f=h.extend().extend({name:"v-input",inheritAttrs:!1,props:{appendIcon:String,backgroundColor:{type:String,default:""},dense:Boolean,height:[Number,String],hideDetails:[Boolean,String],hideSpinButtons:Boolean,hint:String,id:String,label:String,loading:Boolean,persistentHint:Boolean,prependIcon:String,value:null},data(){return{lazyValue:this.value,hasMouseDown:!1}},computed:{classes(){return{"v-input--has-state":this.hasState,"v-input--hide-details":!this.showDetails,"v-input--is-label-active":this.isLabelActive,"v-input--is-dirty":this.isDirty,"v-input--is-disabled":this.isDisabled,"v-input--is-focused":this.isFocused,"v-input--is-loading":!1!==this.loading&&null!=this.loading,"v-input--is-readonly":this.isReadonly,"v-input--dense":this.dense,"v-input--hide-spin-buttons":this.hideSpinButtons,...this.themeClasses}},computedId(){return this.id||"input-"+this._uid},hasDetails(){return this.messagesToDisplay.length>0},hasHint(){return!this.hasMessages&&!!this.hint&&(this.persistentHint||this.isFocused)},hasLabel(){return!(!this.$slots.label&&!this.label)},internalValue:{get(){return this.lazyValue},set(t){this.lazyValue=t,this.$emit(this.$_modelEvent,t)}},isDirty(){return!!this.lazyValue},isLabelActive(){return this.isDirty},messagesToDisplay(){return this.hasHint?[this.hint]:this.hasMessages?this.validations.map(t=>{if("string"===typeof t)return t;const e=t(this.internalValue);return"string"===typeof e?e:""}).filter(t=>""!==t):[]},showDetails(){return!1===this.hideDetails||"auto"===this.hideDetails&&this.hasDetails}},watch:{value(t){this.lazyValue=t}},beforeCreate(){this.$_modelEvent=this.$options.model&&this.$options.model.event||"input"},methods:{genContent(){return[this.genPrependSlot(),this.genControl(),this.genAppendSlot()]},genControl(){return this.$createElement("div",{staticClass:"v-input__control",attrs:{title:this.attrs$.title}},[this.genInputSlot(),this.genMessages()])},genDefaultSlot(){return[this.genLabel(),Object(u["u"])(this)]},genIcon(t,e,r={}){var i;const o=this[t+"Icon"],a="click:"+Object(u["z"])(t),s=!(!this.listeners$[a]&&!e),l={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendOuter:"appendAction",clear:"clear"}[t],h=s&&l?this.$vuetify.lang.t("$vuetify.input."+l,null!==(i=this.label)&&void 0!==i?i:""):void 0,f=Object(c["a"])({attrs:{"aria-label":h,color:this.validationState,dark:this.dark,disabled:this.isDisabled,light:this.light,tabindex:"clear"===t?-1:void 0},on:s?{click:t=>{t.preventDefault(),t.stopPropagation(),this.$emit(a,t),e&&e(t)},mouseup:t=>{t.preventDefault(),t.stopPropagation()}}:void 0},r);return this.$createElement("div",{staticClass:"v-input__icon",class:t?"v-input__icon--"+Object(u["z"])(t):void 0},[this.$createElement(n["b"],f,o)])},genInputSlot(){return this.$createElement("div",this.setBackgroundColor(this.backgroundColor,{staticClass:"v-input__slot",style:{height:Object(u["i"])(this.height)},on:{click:this.onClick,mousedown:this.onMouseDown,mouseup:this.onMouseUp},ref:"input-slot"}),[this.genDefaultSlot()])},genLabel(){return this.hasLabel?this.$createElement(i["b"],{props:{color:this.validationState,dark:this.dark,disabled:this.isDisabled,focused:this.hasState,for:this.computedId,light:this.light}},Object(u["u"])(this,"label")||this.label):null},genMessages(){return this.showDetails?this.$createElement(o["b"],{props:{color:this.hasHint?"":this.validationState,dark:this.dark,light:this.light,value:this.messagesToDisplay},attrs:{role:this.hasMessages?"alert":null},scopedSlots:{default:t=>Object(u["u"])(this,"message",t)}}):null},genSlot(t,e,r){if(!r.length)return null;const n=`${t}-${e}`;return this.$createElement("div",{staticClass:"v-input__"+n,ref:n},r)},genPrependSlot(){const t=[];return this.$slots.prepend?t.push(this.$slots.prepend):this.prependIcon&&t.push(this.genIcon("prepend")),this.genSlot("prepend","outer",t)},genAppendSlot(){const t=[];return this.$slots.append?t.push(this.$slots.append):this.appendIcon&&t.push(this.genIcon("append")),this.genSlot("append","outer",t)},onClick(t){this.$emit("click",t)},onMouseDown(t){this.hasMouseDown=!0,this.$emit("mousedown",t)},onMouseUp(t){this.hasMouseDown=!1,this.$emit("mouseup",t)}},render(t){return t("div",this.setTextColor(this.validationState,{staticClass:"v-input",class:this.classes}),this.genContent())}});e["b"]=f},c3f0:function(t,e,r){"use strict";r.d(e,"a",(function(){return h}));var n=r("80d2");const i=t=>{const{touchstartX:e,touchendX:r,touchstartY:n,touchendY:i}=t,o=.5,a=16;t.offsetX=r-e,t.offsetY=i-n,Math.abs(t.offsetY)<o*Math.abs(t.offsetX)&&(t.left&&r<e-a&&t.left(t),t.right&&r>e+a&&t.right(t)),Math.abs(t.offsetX)<o*Math.abs(t.offsetY)&&(t.up&&i<n-a&&t.up(t),t.down&&i>n+a&&t.down(t))};function o(t,e){const r=t.changedTouches[0];e.touchstartX=r.clientX,e.touchstartY=r.clientY,e.start&&e.start(Object.assign(t,e))}function a(t,e){const r=t.changedTouches[0];e.touchendX=r.clientX,e.touchendY=r.clientY,e.end&&e.end(Object.assign(t,e)),i(e)}function s(t,e){const r=t.changedTouches[0];e.touchmoveX=r.clientX,e.touchmoveY=r.clientY,e.move&&e.move(Object.assign(t,e))}function u(t){const e={touchstartX:0,touchstartY:0,touchendX:0,touchendY:0,touchmoveX:0,touchmoveY:0,offsetX:0,offsetY:0,left:t.left,right:t.right,up:t.up,down:t.down,start:t.start,move:t.move,end:t.end};return{touchstart:t=>o(t,e),touchend:t=>a(t,e),touchmove:t=>s(t,e)}}function c(t,e,r){const i=e.value,o=i.parent?t.parentElement:t,a=i.options||{passive:!0};if(!o)return;const s=u(e.value);o._touchHandlers=Object(o._touchHandlers),o._touchHandlers[r.context._uid]=s,Object(n["B"])(s).forEach(t=>{o.addEventListener(t,s[t],a)})}function l(t,e,r){const i=e.value.parent?t.parentElement:t;if(!i||!i._touchHandlers)return;const o=i._touchHandlers[r.context._uid];Object(n["B"])(o).forEach(t=>{i.removeEventListener(t,o[t])}),delete i._touchHandlers[r.context._uid]}const h={inserted:c,unbind:l};e["b"]=h},c42d:function(t,e,r){"use strict";var n=r("553a");r.d(e,"a",(function(){return n["a"]}));n["a"]},c4e5:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("dc74");const i=n.baseX({prefix:"9",name:"base10",alphabet:"0123456789"});e.base10=i},c532:function(t,e,r){"use strict";(function(t,n){var i=r("1d2b");const{toString:o}=Object.prototype,{getPrototypeOf:a}=Object,s=(t=>e=>{const r=o.call(e);return t[r]||(t[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),u=t=>(t=t.toLowerCase(),e=>s(e)===t),c=t=>e=>typeof e===t,{isArray:l}=Array,h=c("undefined");function f(t){return null!==t&&!h(t)&&null!==t.constructor&&!h(t.constructor)&&g(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const d=u("ArrayBuffer");function p(t){let e;return e="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&d(t.buffer),e}const m=c("string"),g=c("function"),y=c("number"),v=t=>null!==t&&"object"===typeof t,b=t=>!0===t||!1===t,_=t=>{if("object"!==s(t))return!1;const e=a(t);return(null===e||e===Object.prototype||null===Object.getPrototypeOf(e))&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},w=u("Date"),x=u("File"),k=u("Blob"),S=u("FileList"),E=t=>v(t)&&g(t.pipe),M=t=>{let e;return t&&("function"===typeof FormData&&t instanceof FormData||g(t.append)&&("formdata"===(e=s(t))||"object"===e&&g(t.toString)&&"[object FormData]"===t.toString()))},A=u("URLSearchParams"),[T,C,L,P]=["ReadableStream","Request","Response","Headers"].map(u),O=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function I(t,e,{allOwnKeys:r=!1}={}){if(null===t||"undefined"===typeof t)return;let n,i;if("object"!==typeof t&&(t=[t]),l(t))for(n=0,i=t.length;n<i;n++)e.call(null,t[n],n,t);else{const i=r?Object.getOwnPropertyNames(t):Object.keys(t),o=i.length;let a;for(n=0;n<o;n++)a=i[n],e.call(null,t[a],a,t)}}function D(t,e){e=e.toLowerCase();const r=Object.keys(t);let n,i=r.length;while(i-- >0)if(n=r[i],e===n.toLowerCase())return n;return null}const B=(()=>"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:t)(),j=t=>!h(t)&&t!==B;function N(){const{caseless:t}=j(this)&&this||{},e={},r=(r,n)=>{const i=t&&D(e,n)||n;_(e[i])&&_(r)?e[i]=N(e[i],r):_(r)?e[i]=N({},r):l(r)?e[i]=r.slice():e[i]=r};for(let n=0,i=arguments.length;n<i;n++)arguments[n]&&I(arguments[n],r);return e}const R=(t,e,r,{allOwnKeys:n}={})=>(I(e,(e,n)=>{r&&g(e)?t[n]=Object(i["a"])(e,r):t[n]=e},{allOwnKeys:n}),t),F=t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),Y=(t,e,r,n)=>{t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),r&&Object.assign(t.prototype,r)},U=(t,e,r,n)=>{let i,o,s;const u={};if(e=e||{},null==t)return e;do{i=Object.getOwnPropertyNames(t),o=i.length;while(o-- >0)s=i[o],n&&!n(s,t,e)||u[s]||(e[s]=t[s],u[s]=!0);t=!1!==r&&a(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},H=(t,e,r)=>{t=String(t),(void 0===r||r>t.length)&&(r=t.length),r-=e.length;const n=t.indexOf(e,r);return-1!==n&&n===r},z=t=>{if(!t)return null;if(l(t))return t;let e=t.length;if(!y(e))return null;const r=new Array(e);while(e-- >0)r[e]=t[e];return r},V=(t=>e=>t&&e instanceof t)("undefined"!==typeof Uint8Array&&a(Uint8Array)),$=(t,e)=>{const r=t&&t[Symbol.iterator],n=r.call(t);let i;while((i=n.next())&&!i.done){const r=i.value;e.call(t,r[0],r[1])}},q=(t,e)=>{let r;const n=[];while(null!==(r=t.exec(e)))n.push(r);return n},G=u("HTMLFormElement"),W=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(t,e,r){return e.toUpperCase()+r})),K=(({hasOwnProperty:t})=>(e,r)=>t.call(e,r))(Object.prototype),X=u("RegExp"),J=(t,e)=>{const r=Object.getOwnPropertyDescriptors(t),n={};I(r,(r,i)=>{let o;!1!==(o=e(r,i,t))&&(n[i]=o||r)}),Object.defineProperties(t,n)},Z=t=>{J(t,(e,r)=>{if(g(t)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;const n=t[r];g(n)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")}))})},Q=(t,e)=>{const r={},n=t=>{t.forEach(t=>{r[t]=!0})};return l(t)?n(t):n(String(t).split(e)),r},tt=()=>{},et=(t,e)=>null!=t&&Number.isFinite(t=+t)?t:e,rt="abcdefghijklmnopqrstuvwxyz",nt="0123456789",it={DIGIT:nt,ALPHA:rt,ALPHA_DIGIT:rt+rt.toUpperCase()+nt},ot=(t=16,e=it.ALPHA_DIGIT)=>{let r="";const{length:n}=e;while(t--)r+=e[Math.random()*n|0];return r};function at(t){return!!(t&&g(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])}const st=t=>{const e=new Array(10),r=(t,n)=>{if(v(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[n]=t;const i=l(t)?[]:{};return I(t,(t,e)=>{const o=r(t,n+1);!h(o)&&(i[e]=o)}),e[n]=void 0,i}}return t};return r(t,0)},ut=u("AsyncFunction"),ct=t=>t&&(v(t)||g(t))&&g(t.then)&&g(t.catch),lt=((t,e)=>t?setImmediate:e?((t,e)=>(B.addEventListener("message",({source:r,data:n})=>{r===B&&n===t&&e.length&&e.shift()()},!1),r=>{e.push(r),B.postMessage(t,"*")}))("axios@"+Math.random(),[]):t=>setTimeout(t))("function"===typeof setImmediate,g(B.postMessage)),ht="undefined"!==typeof queueMicrotask?queueMicrotask.bind(B):"undefined"!==typeof n&&n.nextTick||lt;e["a"]={isArray:l,isArrayBuffer:d,isBuffer:f,isFormData:M,isArrayBufferView:p,isString:m,isNumber:y,isBoolean:b,isObject:v,isPlainObject:_,isReadableStream:T,isRequest:C,isResponse:L,isHeaders:P,isUndefined:h,isDate:w,isFile:x,isBlob:k,isRegExp:X,isFunction:g,isStream:E,isURLSearchParams:A,isTypedArray:V,isFileList:S,forEach:I,merge:N,extend:R,trim:O,stripBOM:F,inherits:Y,toFlatObject:U,kindOf:s,kindOfTest:u,endsWith:H,toArray:z,forEachEntry:$,matchAll:q,isHTMLForm:G,hasOwnProperty:K,hasOwnProp:K,reduceDescriptors:J,freezeMethods:Z,toObjectSet:Q,toCamelCase:W,noop:tt,toFiniteNumber:et,findKey:D,global:B,isContextDefined:j,ALPHABET:it,generateString:ot,isSpecCompliantForm:at,toJSONObject:st,isAsyncFn:ut,isThenable:ct,setImmediate:lt,asap:ht}}).call(this,r("c8ba"),r("4362"))},c58d:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("fb86"),i=r("1ec9"),o=r("2a12");const a=i.configure(t=>{async function e(e,r,i={}){const a=Array.isArray(e)?e:[e],s=await t.post("files/cp",{signal:i.signal,searchParams:o.toUrlSearchParams({arg:a.concat(r).map(t=>n.CID.asCID(t)?"/ipfs/"+t:t),...i}),headers:i.headers});await s.text()}return e});e.createCp=a},c671:function(t,e,r){"use strict";var n=r("1e6c");e["a"]=n["a"].extend({name:"v-tab-item",props:{id:String},methods:{genWindowItem(){const t=n["a"].options.methods.genWindowItem.call(this);return t.data.domProps=t.data.domProps||{},t.data.domProps.id=this.id||this.value,t}}})},c6a6:function(t,e,r){"use strict";r("2bfd");var n=r("b974"),i=r("8654"),o=r("d9f7"),a=r("80d2");const s={...n["b"],offsetY:!0,offsetOverflow:!0,transition:!1};e["a"]=n["a"].extend({name:"v-autocomplete",props:{autoSelectFirst:{type:Boolean,default:!1},filter:{type:Function,default:(t,e,r)=>r.toLocaleLowerCase().indexOf(e.toLocaleLowerCase())>-1},hideNoData:Boolean,menuProps:{type:n["a"].options.props.menuProps.type,default:()=>s},noFilter:Boolean,searchInput:{type:String}},data(){return{lazySearch:this.searchInput}},computed:{classes(){return{...n["a"].options.computed.classes.call(this),"v-autocomplete":!0,"v-autocomplete--is-selecting-index":this.selectedIndex>-1}},computedItems(){return this.filteredItems},selectedValues(){return this.selectedItems.map(t=>this.getValue(t))},hasDisplayedItems(){return this.hideSelected?this.filteredItems.some(t=>!this.hasItem(t)):this.filteredItems.length>0},currentRange(){return null==this.selectedItem?0:String(this.getText(this.selectedItem)).length},filteredItems(){return!this.isSearching||this.noFilter||null==this.internalSearch?this.allItems:this.allItems.filter(t=>{const e=Object(a["t"])(t,this.itemText),r=null!=e?String(e):"";return this.filter(t,String(this.internalSearch),r)})},internalSearch:{get(){return this.lazySearch},set(t){this.lazySearch!==t&&(this.lazySearch=t,this.$emit("update:search-input",t))}},isAnyValueAllowed(){return!1},isDirty(){return this.searchIsDirty||this.selectedItems.length>0},isSearching(){return this.multiple&&this.searchIsDirty||this.searchIsDirty&&this.internalSearch!==this.getText(this.selectedItem)},menuCanShow(){return!!this.isFocused&&(this.hasDisplayedItems||!this.hideNoData)},$_menuProps(){const t=n["a"].options.computed.$_menuProps.call(this);return t.contentClass=("v-autocomplete__content "+(t.contentClass||"")).trim(),{...s,...t}},searchIsDirty(){return null!=this.internalSearch&&""!==this.internalSearch},selectedItem(){return this.multiple?null:this.selectedItems.find(t=>this.valueComparator(this.getValue(t),this.getValue(this.internalValue)))},listData(){const t=n["a"].options.computed.listData.call(this);return t.props={...t.props,items:this.virtualizedItems,noFilter:this.noFilter||!this.isSearching||!this.filteredItems.length,searchInput:this.internalSearch},t}},watch:{filteredItems:"onFilteredItemsChanged",internalValue:"setSearch",isFocused(t){t?(document.addEventListener("copy",this.onCopy),this.$refs.input&&this.$refs.input.select()):(document.removeEventListener("copy",this.onCopy),this.blur(),this.updateSelf())},isMenuActive(t){!t&&this.hasSlot&&(this.lazySearch=null)},items(t,e){e&&e.length||!this.hideNoData||!this.isFocused||this.isMenuActive||!t.length||this.activateMenu()},searchInput(t){this.lazySearch=t},internalSearch:"onInternalSearchChanged",itemText:"updateSelf"},created(){this.setSearch()},destroyed(){document.removeEventListener("copy",this.onCopy)},methods:{onFilteredItemsChanged(t,e){if(t!==e){if(!this.autoSelectFirst){const r=e[this.$refs.menu.listIndex];r?this.setMenuIndex(t.findIndex(t=>t===r)):this.setMenuIndex(-1),this.$emit("update:list-index",this.$refs.menu.listIndex)}this.$nextTick(()=>{this.internalSearch&&(1===t.length||this.autoSelectFirst)&&(this.$refs.menu.getTiles(),this.autoSelectFirst&&t.length&&(this.setMenuIndex(0),this.$emit("update:list-index",this.$refs.menu.listIndex)))})}},onInternalSearchChanged(){this.updateMenuDimensions()},updateMenuDimensions(){this.isMenuActive&&this.$refs.menu&&this.$refs.menu.updateDimensions()},changeSelectedIndex(t){this.searchIsDirty||(this.multiple&&t===a["A"].left?-1===this.selectedIndex?this.selectedIndex=this.selectedItems.length-1:this.selectedIndex--:this.multiple&&t===a["A"].right?this.selectedIndex>=this.selectedItems.length-1?this.selectedIndex=-1:this.selectedIndex++:t!==a["A"].backspace&&t!==a["A"].delete||this.deleteCurrentItem())},deleteCurrentItem(){const t=this.selectedIndex,e=this.selectedItems[t];if(!this.isInteractive||this.getDisabled(e))return;const r=this.selectedItems.length-1;if(-1===this.selectedIndex&&0!==r)return void(this.selectedIndex=r);const n=this.selectedItems.length,i=t!==n-1?t:t-1,o=this.selectedItems[i];o?this.selectItem(e):this.setValue(this.multiple?[]:null),this.selectedIndex=i},clearableCallback(){this.internalSearch=null,n["a"].options.methods.clearableCallback.call(this)},genInput(){const t=i["a"].options.methods.genInput.call(this);return t.data=Object(o["a"])(t.data,{attrs:{"aria-activedescendant":Object(a["r"])(this.$refs.menu,"activeTile.id"),autocomplete:Object(a["r"])(t.data,"attrs.autocomplete","off")},domProps:{value:this.internalSearch}}),t},genInputSlot(){const t=n["a"].options.methods.genInputSlot.call(this);return t.data.attrs.role="combobox",t},genSelections(){return this.hasSlot||this.multiple?n["a"].options.methods.genSelections.call(this):[]},onClick(t){this.isInteractive&&(this.selectedIndex>-1?this.selectedIndex=-1:this.onFocus(),this.isAppendInner(t.target)||this.activateMenu())},onInput(t){if(this.selectedIndex>-1||!t.target)return;const e=t.target,r=e.value;e.value&&this.activateMenu(),this.multiple||""!==r||this.deleteCurrentItem(),this.internalSearch=r,this.badInput=e.validity&&e.validity.badInput},onKeyDown(t){const e=t.keyCode;!t.ctrlKey&&[a["A"].home,a["A"].end].includes(e)||n["a"].options.methods.onKeyDown.call(this,t),this.changeSelectedIndex(e)},onSpaceDown(t){},onTabDown(t){n["a"].options.methods.onTabDown.call(this,t),this.updateSelf()},onUpDown(t){t.preventDefault(),this.activateMenu()},selectItem(t){n["a"].options.methods.selectItem.call(this,t),this.setSearch()},setSelectedItems(){n["a"].options.methods.setSelectedItems.call(this),this.isFocused||this.setSearch()},setSearch(){this.$nextTick(()=>{this.multiple&&this.internalSearch&&this.isMenuActive||(this.internalSearch=!this.selectedItems.length||this.multiple||this.hasSlot?null:this.getText(this.selectedItem))})},updateSelf(){(this.searchIsDirty||this.internalValue)&&(this.multiple||this.valueComparator(this.internalSearch,this.getValue(this.internalValue))||this.setSearch())},hasItem(t){return this.selectedValues.indexOf(this.getValue(t))>-1},onCopy(t){var e,r;if(-1===this.selectedIndex)return;const n=this.selectedItems[this.selectedIndex],i=this.getText(n);null===(e=t.clipboardData)||void 0===e||e.setData("text/plain",i),null===(r=t.clipboardData)||void 0===r||r.setData("text/vnd.vuetify.autocomplete.item+plain",i),t.preventDefault()}}})},c6f1:function(t,e,r){"use strict";var n=r("b280"),i=r("67b0");function o(t,e,r,n){return{name:t,prefix:e,encoder:{name:t,prefix:e,encode:r},decoder:{decode:n}}}const a=o("utf8","u",t=>{const e=new TextDecoder("utf8");return"u"+e.decode(t)},t=>{const e=new TextEncoder;return e.encode(t.substring(1))}),s=o("ascii","a",t=>{let e="a";for(let r=0;r<t.length;r++)e+=String.fromCharCode(t[r]);return e},t=>{t=t.substring(1);const e=i.allocUnsafe(t.length);for(let r=0;r<t.length;r++)e[r]=t.charCodeAt(r);return e}),u={utf8:a,"utf-8":a,hex:n.bases.base16,latin1:s,ascii:s,binary:s,...n.bases};t.exports=u},c70a:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=new TextDecoder;function i(t,e){let r=0;for(let n=0;;n+=7){if(n>=64)throw new Error("protobuf: varint overflow");if(e>=t.length)throw new Error("protobuf: unexpected end of data");const i=t[e++];if(r+=n<28?(127&i)<<n:(127&i)*2**n,i<128)break}return[r,e]}function o(t,e){let r;[r,e]=i(t,e);const n=e+r;if(r<0||n<0)throw new Error("protobuf: invalid length");if(n>t.length)throw new Error("protobuf: unexpected end of data");return[t.subarray(e,n),n]}function a(t,e){let r;return[r,e]=i(t,e),[7&r,r>>3,e]}function s(t){const e={},r=t.length;let s=0;while(s<r){let r,u;if([r,u,s]=a(t,s),1===u){if(e.Hash)throw new Error("protobuf: (PBLink) duplicate Hash section");if(2!==r)throw new Error(`protobuf: (PBLink) wrong wireType (${r}) for Hash`);if(void 0!==e.Name)throw new Error("protobuf: (PBLink) invalid order, found Name before Hash");if(void 0!==e.Tsize)throw new Error("protobuf: (PBLink) invalid order, found Tsize before Hash");[e.Hash,s]=o(t,s)}else if(2===u){if(void 0!==e.Name)throw new Error("protobuf: (PBLink) duplicate Name section");if(2!==r)throw new Error(`protobuf: (PBLink) wrong wireType (${r}) for Name`);if(void 0!==e.Tsize)throw new Error("protobuf: (PBLink) invalid order, found Tsize before Name");let i;[i,s]=o(t,s),e.Name=n.decode(i)}else{if(3!==u)throw new Error("protobuf: (PBLink) invalid fieldNumber, expected 1, 2 or 3, got "+u);if(void 0!==e.Tsize)throw new Error("protobuf: (PBLink) duplicate Tsize section");if(0!==r)throw new Error(`protobuf: (PBLink) wrong wireType (${r}) for Tsize`);[e.Tsize,s]=i(t,s)}}if(s>r)throw new Error("protobuf: (PBLink) unexpected end of data");return e}function u(t){const e=t.length;let r,n,i=0,u=!1;while(i<e){let e,c;if([e,c,i]=a(t,i),2!==e)throw new Error("protobuf: (PBNode) invalid wireType, expected 2, got "+e);if(1===c){if(n)throw new Error("protobuf: (PBNode) duplicate Data section");[n,i]=o(t,i),r&&(u=!0)}else{if(2!==c)throw new Error("protobuf: (PBNode) invalid fieldNumber, expected 1 or 2, got "+c);{if(u)throw new Error("protobuf: (PBNode) duplicate Links section");let e;r||(r=[]),[e,i]=o(t,i),r.push(s(e))}}}if(i>e)throw new Error("protobuf: (PBNode) unexpected end of data");const c={};return n&&(c.Data=n),c.Links=r||[],c}e.decodeNode=u},c73b:function(t,e,r){"use strict";r("8cd0");var n=r("f2e7"),i=r("fe6c"),o=r("f40d"),a=r("a293"),s=r("58df"),u=r("80d2");e["a"]=Object(s["a"])(i["a"],n["a"],o["a"]).extend({name:"v-speed-dial",directives:{ClickOutside:a["b"]},props:{direction:{type:String,default:"top",validator:t=>["top","right","bottom","left"].includes(t)},openOnHover:Boolean,transition:{type:String,default:"scale-transition"}},computed:{classes(){return{"v-speed-dial":!0,"v-speed-dial--top":this.top,"v-speed-dial--right":this.right,"v-speed-dial--bottom":this.bottom,"v-speed-dial--left":this.left,"v-speed-dial--absolute":this.absolute,"v-speed-dial--fixed":this.fixed,["v-speed-dial--direction-"+this.direction]:!0,"v-speed-dial--is-active":this.isActive}}},render(t){let e=[];const r={class:this.classes,directives:[{name:"click-outside",value:()=>this.isActive=!1}],on:{click:()=>this.isActive=!this.isActive}};if(this.openOnHover&&(r.on.mouseenter=()=>this.isActive=!0,r.on.mouseleave=()=>this.isActive=!1),this.isActive){let r=0;e=(Object(u["u"])(this)||[]).map((e,n)=>!e.tag||"undefined"===typeof e.componentOptions||"v-btn"!==e.componentOptions.Ctor.options.name&&"v-tooltip"!==e.componentOptions.Ctor.options.name?(e.key=n,e):(r++,t("div",{style:{transitionDelay:.05*r+"s"},key:n},[e])))}const n=t("transition-group",{class:"v-speed-dial__list",props:{name:this.transition,mode:this.mode,origin:this.origin,tag:"div"}},e);return t("div",r,[Object(u["u"])(this,"activator"),n])}})},c73c:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("fb86"),i=r("1169"),o=r("1ec9"),a=r("2a12"),s=r("51f3");const u=o.configure((t,e)=>{const r=async function*(e,r={}){const o=Array.isArray(e)?e:[e],s=await t.post("refs",{signal:r.signal,searchParams:a.toUrlSearchParams({arg:o.map(t=>""+(t instanceof Uint8Array?n.CID.decode(t):t)),...r}),headers:r.headers,transform:i.objectToCamel});yield*s.ndjson()};return Object.assign(r,{local:s.createLocal(e)})});e.createRefs=u},c79c:function(t,e,r){},c7aa:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".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",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(t){return 2===t?"שעתיים":t+" שעות"},d:"יום",dd:function(t){return 2===t?"יומיים":t+" ימים"},M:"חודש",MM:function(t){return 2===t?"חודשיים":t+" חודשים"},y:"שנה",yy:function(t){return 2===t?"שנתיים":t%10===0&&10!==t?t+" שנה":t+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(t){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(t)},meridiem:function(t,e,r){return t<5?"לפנות בוקר":t<10?"בבוקר":t<12?r?'לפנה"צ':"לפני הצהריים":t<18?r?'אחה"צ':"אחרי הצהריים":"בערב"}});return e}))},c81a:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1ad7"),i=r("5144"),o=r("1755");e.encode=n.encode,e.decode=i.decode,e.Token=o.Token,e.Type=o.Type},c865:function(t,e,r){"use strict";var n=r("0789"),i=r("9d26"),o=r("a9ad"),a=r("3206"),s=r("5607"),u=r("80d2"),c=r("58df");const l=Object(c["a"])(o["a"],Object(a["a"])("expansionPanel","v-expansion-panel-header","v-expansion-panel"));e["a"]=l.extend().extend({name:"v-expansion-panel-header",directives:{ripple:s["b"]},props:{disableIconRotate:Boolean,expandIcon:{type:String,default:"$expand"},hideActions:Boolean,ripple:{type:[Boolean,Object],default:!1}},data:()=>({hasMousedown:!1}),computed:{classes(){return{"v-expansion-panel-header--active":this.isActive,"v-expansion-panel-header--mousedown":this.hasMousedown}},isActive(){return this.expansionPanel.isActive},isDisabled(){return this.expansionPanel.isDisabled},isReadonly(){return this.expansionPanel.isReadonly}},created(){this.expansionPanel.registerHeader(this)},beforeDestroy(){this.expansionPanel.unregisterHeader()},methods:{onClick(t){this.$emit("click",t)},genIcon(){const t=Object(u["u"])(this,"actions",{open:this.isActive})||[this.$createElement(i["b"],this.expandIcon)];return this.$createElement(n["i"],[this.$createElement("div",{staticClass:"v-expansion-panel-header__icon",class:{"v-expansion-panel-header__icon--disable-rotate":this.disableIconRotate},directives:[{name:"show",value:!this.isDisabled}]},t)])}},render(t){return t("button",this.setBackgroundColor(this.color,{staticClass:"v-expansion-panel-header",class:this.classes,attrs:{tabindex:this.isDisabled?-1:null,type:"button","aria-expanded":this.isActive},directives:[{name:"ripple",value:this.ripple}],on:{...this.$listeners,click:this.onClick,mousedown:()=>this.hasMousedown=!0,mouseup:()=>this.hasMousedown=!1}}),[Object(u["u"])(this,"default",{open:this.isActive},!0),this.hideActions||this.genIcon()])}})},c8ba:function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(n){"object"===typeof window&&(r=window)}t.exports=r},c8ca:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1ec9"),i=r("2a12");const o=n.configure(t=>{async function e(e,r={}){const n=await t.post("swarm/connect",{signal:r.signal,searchParams:i.toUrlSearchParams({arg:e,...r}),headers:r.headers}),{Strings:o}=await n.json();return o||[]}return e});e.createConnect=o},c8d4:function(t,e,r){"use strict";var n=e;n.length=function(t){for(var e=0,r=0,n=0;n<t.length;++n)r=t.charCodeAt(n),r<128?e+=1:r<2048?e+=2:55296===(64512&r)&&56320===(64512&t.charCodeAt(n+1))?(++n,e+=4):e+=3;return e},n.read=function(t,e,r){var n=r-e;if(n<1)return"";var i,o=null,a=[],s=0;while(e<r)i=t[e++],i<128?a[s++]=i:i>191&&i<224?a[s++]=(31&i)<<6|63&t[e++]:i>239&&i<365?(i=((7&i)<<18|(63&t[e++])<<12|(63&t[e++])<<6|63&t[e++])-65536,a[s++]=55296+(i>>10),a[s++]=56320+(1023&i)):a[s++]=(15&i)<<12|(63&t[e++])<<6|63&t[e++],s>8191&&((o||(o=[])).push(String.fromCharCode.apply(String,a)),s=0);return o?(s&&o.push(String.fromCharCode.apply(String,a.slice(0,s))),o.join("")):String.fromCharCode.apply(String,a.slice(0,s))},n.write=function(t,e,r){for(var n,i,o=r,a=0;a<t.length;++a)n=t.charCodeAt(a),n<128?e[r++]=n:n<2048?(e[r++]=n>>6|192,e[r++]=63&n|128):55296===(64512&n)&&56320===(64512&(i=t.charCodeAt(a+1)))?(n=65536+((1023&n)<<10)+(1023&i),++a,e[r++]=n>>18|240,e[r++]=n>>12&63|128,e[r++]=n>>6&63|128,e[r++]=63&n|128):(e[r++]=n>>12|224,e[r++]=n>>6&63|128,e[r++]=63&n|128);return r-o}},c8f3:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(t){return"M"===t.charAt(0)},meridiem:function(t,e,r){return t<12?"PD":"MD"},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:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return e}))},c964:function(t,e,r){"use strict";var n=r("acd6"),i=r("2487"),o=r("4754"),a=r("daf1"),s=r("80d2"),u=r("50de"),c=r("58df"),l=r("313f");const h=Object(s["j"])(24),f=Object(s["j"])(12),d=f.map(t=>t+12),p=Object(s["j"])(60),m={1:"hour",2:"minute",3:"second"};e["a"]=Object(c["a"])(o["a"],a["a"]).extend({name:"v-time-picker",props:{activePicker:String,allowedHours:[Function,Array],allowedMinutes:[Function,Array],allowedSeconds:[Function,Array],disabled:Boolean,format:{type:String,default:"ampm",validator(t){return["ampm","24hr"].includes(t)}},min:String,max:String,readonly:Boolean,scrollable:Boolean,useSeconds:Boolean,value:null,ampmInTitle:Boolean},data(){return{inputHour:null,inputMinute:null,inputSecond:null,lazyInputHour:null,lazyInputMinute:null,lazyInputSecond:null,period:"am",selecting:l["a"].Hour}},computed:{selectingHour:{get(){return this.selecting===l["a"].Hour},set(t){this.selecting=l["a"].Hour}},selectingMinute:{get(){return this.selecting===l["a"].Minute},set(t){this.selecting=l["a"].Minute}},selectingSecond:{get(){return this.selecting===l["a"].Second},set(t){this.selecting=l["a"].Second}},isAllowedHourCb(){let t;if(t=this.allowedHours instanceof Array?t=>this.allowedHours.includes(t):this.allowedHours,!this.min&&!this.max)return t;const e=this.min?Number(this.min.split(":")[0]):0,r=this.max?Number(this.max.split(":")[0]):23;return n=>n>=1*e&&n<=1*r&&(!t||t(n))},isAllowedMinuteCb(){let t;const e=!this.isAllowedHourCb||null===this.inputHour||this.isAllowedHourCb(this.inputHour);if(t=this.allowedMinutes instanceof Array?t=>this.allowedMinutes.includes(t):this.allowedMinutes,!this.min&&!this.max)return e?t:()=>!1;const[r,n]=this.min?this.min.split(":").map(Number):[0,0],[i,o]=this.max?this.max.split(":").map(Number):[23,59],a=60*r+1*n,s=60*i+1*o;return r=>{const n=60*this.inputHour+r;return n>=a&&n<=s&&e&&(!t||t(r))}},isAllowedSecondCb(){let t;const e=!this.isAllowedHourCb||null===this.inputHour||this.isAllowedHourCb(this.inputHour),r=e&&(!this.isAllowedMinuteCb||null===this.inputMinute||this.isAllowedMinuteCb(this.inputMinute));if(t=this.allowedSeconds instanceof Array?t=>this.allowedSeconds.includes(t):this.allowedSeconds,!this.min&&!this.max)return r?t:()=>!1;const[n,i,o]=this.min?this.min.split(":").map(Number):[0,0,0],[a,s,u]=this.max?this.max.split(":").map(Number):[23,59,59],c=3600*n+60*i+1*(o||0),l=3600*a+60*s+1*(u||0);return e=>{const n=3600*this.inputHour+60*this.inputMinute+e;return n>=c&&n<=l&&r&&(!t||t(e))}},isAmPm(){return"ampm"===this.format}},watch:{activePicker:"setPicker",selecting:"emitPicker",value:"setInputData"},mounted(){this.setInputData(this.value),this.$on("update:period",this.setPeriod)},methods:{genValue(){return null==this.inputHour||null==this.inputMinute||this.useSeconds&&null==this.inputSecond?null:`${Object(u["a"])(this.inputHour)}:${Object(u["a"])(this.inputMinute)}`+(this.useSeconds?":"+Object(u["a"])(this.inputSecond):"")},emitValue(){const t=this.genValue();null!==t&&this.$emit("input",t)},emitPicker(t){let e="HOUR";t===l["a"].Minute?e="MINUTE":t===l["a"].Second&&(e="SECOND"),this.$emit("update:active-picker",e)},setPicker(t){"HOUR"===t?this.selecting=l["a"].Hour:"MINUTE"===t?this.selecting=l["a"].Minute:"SECOND"===t&&this.useSeconds&&(this.selecting=l["a"].Second)},setPeriod(t){if(this.period=t,null!=this.inputHour){const e=this.inputHour+("am"===t?-12:12);this.inputHour=this.firstAllowed("hour",e),this.emitValue()}},setInputData(t){if(null==t||""===t)this.inputHour=null,this.inputMinute=null,this.inputSecond=null;else if(t instanceof Date)this.inputHour=t.getHours(),this.inputMinute=t.getMinutes(),this.inputSecond=t.getSeconds();else{const[,e,r,,n,i]=t.trim().toLowerCase().match(/^(\d+):(\d+)(:(\d+))?([ap]m)?$/)||new Array(6);this.inputHour=i?this.convert12to24(parseInt(e,10),i):parseInt(e,10),this.inputMinute=parseInt(r,10),this.inputSecond=parseInt(n||0,10)}this.period=null==this.inputHour||this.inputHour<12?"am":"pm"},convert24to12(t){return t?(t-1)%12+1:12},convert12to24(t,e){return t%12+("pm"===e?12:0)},onInput(t){this.selecting===l["a"].Hour?this.inputHour=this.isAmPm?this.convert12to24(t,this.period):t:this.selecting===l["a"].Minute?this.inputMinute=t:this.inputSecond=t,this.emitValue()},onChange(t){this.$emit("click:"+m[this.selecting],t);const e=this.selecting===(this.useSeconds?l["a"].Second:l["a"].Minute);if(this.selecting===l["a"].Hour?this.selecting=l["a"].Minute:this.useSeconds&&this.selecting===l["a"].Minute&&(this.selecting=l["a"].Second),this.inputHour===this.lazyInputHour&&this.inputMinute===this.lazyInputMinute&&(!this.useSeconds||this.inputSecond===this.lazyInputSecond))return;const r=this.genValue();null!==r&&(this.lazyInputHour=this.inputHour,this.lazyInputMinute=this.inputMinute,this.useSeconds&&(this.lazyInputSecond=this.inputSecond),e&&this.$emit("change",r))},firstAllowed(t,e){const r="hour"===t?this.isAllowedHourCb:"minute"===t?this.isAllowedMinuteCb:this.isAllowedSecondCb;if(!r)return e;const n="minute"===t||"second"===t?p:this.isAmPm?e<12?f:d:h,i=n.find(t=>r((t+e)%n.length+n[0]));return((i||0)+e)%n.length+n[0]},genClock(){return this.$createElement(i["a"],{props:{allowedValues:this.selecting===l["a"].Hour?this.isAllowedHourCb:this.selecting===l["a"].Minute?this.isAllowedMinuteCb:this.isAllowedSecondCb,color:this.color,dark:this.dark,disabled:this.disabled,double:this.selecting===l["a"].Hour&&!this.isAmPm,format:this.selecting===l["a"].Hour?this.isAmPm?this.convert24to12:t=>t:t=>Object(u["a"])(t,2),light:this.light,max:this.selecting===l["a"].Hour?this.isAmPm&&"am"===this.period?11:23:59,min:this.selecting===l["a"].Hour&&this.isAmPm&&"pm"===this.period?12:0,readonly:this.readonly,scrollable:this.scrollable,size:Number(this.width)-(!this.fullWidth&&this.landscape?80:20),step:this.selecting===l["a"].Hour?1:5,value:this.selecting===l["a"].Hour?this.inputHour:this.selecting===l["a"].Minute?this.inputMinute:this.inputSecond},on:{input:this.onInput,change:this.onChange},ref:"clock"})},genClockAmPm(){return this.$createElement("div",this.setTextColor(this.color||"primary",{staticClass:"v-time-picker-clock__ampm"}),[this.genPickerButton("period","am",this.$vuetify.lang.t("$vuetify.timePicker.am"),this.disabled||this.readonly),this.genPickerButton("period","pm",this.$vuetify.lang.t("$vuetify.timePicker.pm"),this.disabled||this.readonly)])},genPickerBody(){return this.$createElement("div",{staticClass:"v-time-picker-clock__container",key:this.selecting},[!this.ampmInTitle&&this.isAmPm&&this.genClockAmPm(),this.genClock()])},genPickerTitle(){return this.$createElement(n["a"],{props:{ampm:this.isAmPm,ampmReadonly:this.isAmPm&&!this.ampmInTitle,disabled:this.disabled,hour:this.inputHour,minute:this.inputMinute,second:this.inputSecond,period:this.period,readonly:this.readonly,useSeconds:this.useSeconds,selecting:this.selecting},on:{"update:selecting":t=>this.selecting=t,"update:period":t=>this.$emit("update:period",t)},ref:"title",slot:"title"})}},render(){return this.genPicker("v-picker--time")}})},c982:function(t,e,r){},c995:function(t,e,r){"use strict";var n=r("2b0e");e["a"]=n["default"].extend({name:"elevatable",props:{elevation:[Number,String]},computed:{computedElevation(){return this.elevation},elevationClasses(){const t=this.computedElevation;return null==t||isNaN(parseInt(t))?{}:{["elevation-"+this.elevation]:!0}}}})},ca71:function(t,e,r){},cae8:function(t,e,r){(function(e){!function(e,r){t.exports=r()}(0,(function(){"use strict";var t=function(t,e){var r={drag:[],click:[],mousemove:[],mousedown:[],mouseup:[],mouseout:[],keydown:[],keyup:[],touchstart:[],touchmove:[],touchend:[],tap:[]},n={on:function(t,e,n){if(void 0===r[t])throw new Error("Invalid event type: "+t);r[t].push({selector:e,fn:n})},render:function(t){e.store.featureChanged(t)}},i=function(t,i){for(var o=r[t],a=o.length;a--;){var s=o[a];if(s.selector(i)){s.fn.call(n,i)||e.store.render(),e.ui.updateMapClasses();break}}};return t.start.call(n),{render:t.render,stop:function(){t.stop&&t.stop()},trash:function(){t.trash&&(t.trash(),e.store.render())},combineFeatures:function(){t.combineFeatures&&t.combineFeatures()},uncombineFeatures:function(){t.uncombineFeatures&&t.uncombineFeatures()},drag:function(t){i("drag",t)},click:function(t){i("click",t)},mousemove:function(t){i("mousemove",t)},mousedown:function(t){i("mousedown",t)},mouseup:function(t){i("mouseup",t)},mouseout:function(t){i("mouseout",t)},keydown:function(t){i("keydown",t)},keyup:function(t){i("keyup",t)},touchstart:function(t){i("touchstart",t)},touchmove:function(t){i("touchmove",t)},touchend:function(t){i("touchend",t)},tap:function(t){i("tap",t)}}};function r(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function n(t){if(t.__esModule)return t;var e=t.default;if("function"==typeof e){var r=function t(){if(this instanceof t){var r=[null];r.push.apply(r,arguments);var n=Function.bind.apply(e,r);return new n}return e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach((function(e){var n=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(r,e,n.get?n:{enumerable:!0,get:function(){return t[e]}})})),r}var i={},o={RADIUS:6378137,FLATTENING:1/298.257223563,POLAR_RADIUS:6356752.3142},a=o;function s(t){var e=0;if(t&&t.length>0){e+=Math.abs(u(t[0]));for(var r=1;r<t.length;r++)e-=Math.abs(u(t[r]))}return e}function u(t){var e,r,n,i,o,s,u=0,l=t.length;if(l>2){for(s=0;s<l;s++)s===l-2?(n=l-2,i=l-1,o=0):s===l-1?(n=l-1,i=0,o=1):(n=s,i=s+1,o=s+2),e=t[n],r=t[i],u+=(c(t[o][0])-c(e[0]))*Math.sin(c(r[1]));u=u*a.RADIUS*a.RADIUS/2}return u}function c(t){return t*Math.PI/180}i.geometry=function t(e){var r,n=0;switch(e.type){case"Polygon":return s(e.coordinates);case"MultiPolygon":for(r=0;r<e.coordinates.length;r++)n+=s(e.coordinates[r]);return n;case"Point":case"MultiPoint":case"LineString":case"MultiLineString":return 0;case"GeometryCollection":for(r=0;r<e.geometries.length;r++)n+=t(e.geometries[r]);return n}},i.ring=u;var l={CONTROL_BASE:"mapboxgl-ctrl",CONTROL_PREFIX:"mapboxgl-ctrl-",CONTROL_BUTTON:"mapbox-gl-draw_ctrl-draw-btn",CONTROL_BUTTON_LINE:"mapbox-gl-draw_line",CONTROL_BUTTON_POLYGON:"mapbox-gl-draw_polygon",CONTROL_BUTTON_POINT:"mapbox-gl-draw_point",CONTROL_BUTTON_TRASH:"mapbox-gl-draw_trash",CONTROL_BUTTON_COMBINE_FEATURES:"mapbox-gl-draw_combine",CONTROL_BUTTON_UNCOMBINE_FEATURES:"mapbox-gl-draw_uncombine",CONTROL_GROUP:"mapboxgl-ctrl-group",ATTRIBUTION:"mapboxgl-ctrl-attrib",ACTIVE_BUTTON:"active",BOX_SELECT:"mapbox-gl-draw_boxselect"},h={HOT:"mapbox-gl-draw-hot",COLD:"mapbox-gl-draw-cold"},f={ADD:"add",MOVE:"move",DRAG:"drag",POINTER:"pointer",NONE:"none"},d={POLYGON:"polygon",LINE:"line_string",POINT:"point"},p={FEATURE:"Feature",POLYGON:"Polygon",LINE_STRING:"LineString",POINT:"Point",FEATURE_COLLECTION:"FeatureCollection",MULTI_PREFIX:"Multi",MULTI_POINT:"MultiPoint",MULTI_LINE_STRING:"MultiLineString",MULTI_POLYGON:"MultiPolygon"},m={DRAW_LINE_STRING:"draw_line_string",DRAW_POLYGON:"draw_polygon",DRAW_POINT:"draw_point",SIMPLE_SELECT:"simple_select",DIRECT_SELECT:"direct_select",STATIC:"static"},g={CREATE:"draw.create",DELETE:"draw.delete",UPDATE:"draw.update",SELECTION_CHANGE:"draw.selectionchange",MODE_CHANGE:"draw.modechange",ACTIONABLE:"draw.actionable",RENDER:"draw.render",COMBINE_FEATURES:"draw.combine",UNCOMBINE_FEATURES:"draw.uncombine"},y={MOVE:"move",CHANGE_COORDINATES:"change_coordinates"},v={FEATURE:"feature",MIDPOINT:"midpoint",VERTEX:"vertex"},b={ACTIVE:"true",INACTIVE:"false"},_=["scrollZoom","boxZoom","dragRotate","dragPan","keyboard","doubleClickZoom","touchZoomRotate"],w=-85,x=Object.freeze({__proto__:null,classes:l,sources:h,cursors:f,types:d,geojsonTypes:p,modes:m,events:g,updateActions:y,meta:v,activeStates:b,interactions:_,LAT_MIN:-90,LAT_RENDERED_MIN:w,LAT_MAX:90,LAT_RENDERED_MAX:85,LNG_MIN:-270,LNG_MAX:270}),k={Point:0,LineString:1,MultiLineString:1,Polygon:2};function S(t,e){var r=k[t.geometry.type]-k[e.geometry.type];return 0===r&&t.geometry.type===p.POLYGON?t.area-e.area:r}function E(t){return t.map((function(t){return t.geometry.type===p.POLYGON&&(t.area=i.geometry({type:p.FEATURE,property:{},geometry:t.geometry})),t})).sort(S).map((function(t){return delete t.area,t}))}function M(t,e){return void 0===e&&(e=0),[[t.point.x-e,t.point.y-e],[t.point.x+e,t.point.y+e]]}function A(t){if(this._items={},this._nums={},this._length=t?t.length:0,t)for(var e=0,r=t.length;e<r;e++)this.add(t[e]),void 0!==t[e]&&("string"==typeof t[e]?this._items[t[e]]=e:this._nums[t[e]]=e)}A.prototype.add=function(t){return this.has(t)||(this._length++,"string"==typeof t?this._items[t]=this._length:this._nums[t]=this._length),this},A.prototype.delete=function(t){return!1===this.has(t)||(this._length--,delete this._items[t],delete this._nums[t]),this},A.prototype.has=function(t){return("string"==typeof t||"number"==typeof t)&&(void 0!==this._items[t]||void 0!==this._nums[t])},A.prototype.values=function(){var t=this,e=[];return Object.keys(this._items).forEach((function(r){e.push({k:r,v:t._items[r]})})),Object.keys(this._nums).forEach((function(r){e.push({k:JSON.parse(r),v:t._nums[r]})})),e.sort((function(t,e){return t.v-e.v})).map((function(t){return t.k}))},A.prototype.clear=function(){return this._length=0,this._items={},this._nums={},this};var T=[v.FEATURE,v.MIDPOINT,v.VERTEX],C={click:function(t,e,r){return L(t,e,r,r.options.clickBuffer)},touch:function(t,e,r){return L(t,e,r,r.options.touchBuffer)}};function L(t,e,r,n){if(null===r.map)return[];var i=t?M(t,n):e,o={};r.options.styles&&(o.layers=r.options.styles.map((function(t){return t.id})).filter((function(t){return null!=r.map.getLayer(t)})));var a=r.map.queryRenderedFeatures(i,o).filter((function(t){return-1!==T.indexOf(t.properties.meta)})),s=new A,u=[];return a.forEach((function(t){var e=t.properties.id;s.has(e)||(s.add(e),u.push(t))})),E(u)}function P(t,e){var r=C.click(t,null,e),n={mouse:f.NONE};return r[0]&&(n.mouse=r[0].properties.active===b.ACTIVE?f.MOVE:f.POINTER,n.feature=r[0].properties.meta),-1!==e.events.currentModeName().indexOf("draw")&&(n.mouse=f.ADD),e.ui.queueMapClasses(n),e.ui.updateMapClasses(),r[0]}function O(t,e){var r=t.x-e.x,n=t.y-e.y;return Math.sqrt(r*r+n*n)}function I(t,e,r){void 0===r&&(r={});var n=null!=r.fineTolerance?r.fineTolerance:4,i=null!=r.grossTolerance?r.grossTolerance:12,o=null!=r.interval?r.interval:500;t.point=t.point||e.point,t.time=t.time||e.time;var a=O(t.point,e.point);return a<n||a<i&&e.time-t.time<o}function D(t,e,r){void 0===r&&(r={});var n=null!=r.tolerance?r.tolerance:25,i=null!=r.interval?r.interval:250;return t.point=t.point||e.point,t.time=t.time||e.time,O(t.point,e.point)<n&&e.time-t.time<i}var B={exports:{}},j=B.exports=function(t,e){if(e||(e=16),void 0===t&&(t=128),t<=0)return"0";for(var r=Math.log(Math.pow(2,t))/Math.log(e),n=2;r===1/0;n*=2)r=Math.log(Math.pow(2,t/n))/Math.log(e)*n;var i=r-Math.floor(r),o="";for(n=0;n<Math.floor(r);n++)o=Math.floor(Math.random()*e).toString(e)+o;if(i){var a=Math.pow(e,i);o=Math.floor(Math.random()*a).toString(e)+o}var s=parseInt(o,e);return s!==1/0&&s>=Math.pow(2,t)?j(t,e):o};j.rack=function(t,e,r){var n=function(n){var o=0;do{if(o++>10){if(!r)throw new Error("too many ID collisions, use more bits");t+=r}var a=j(t,e)}while(Object.hasOwnProperty.call(i,a));return i[a]=n,a},i=n.hats={};return n.get=function(t){return n.hats[t]},n.set=function(t,e){return n.hats[t]=e,n},n.bits=t||128,n.base=e||16,n};var N=r(B.exports),R=function(t,e){this.ctx=t,this.properties=e.properties||{},this.coordinates=e.geometry.coordinates,this.id=e.id||N(),this.type=e.geometry.type};R.prototype.changed=function(){this.ctx.store.featureChanged(this.id)},R.prototype.incomingCoords=function(t){this.setCoordinates(t)},R.prototype.setCoordinates=function(t){this.coordinates=t,this.changed()},R.prototype.getCoordinates=function(){return JSON.parse(JSON.stringify(this.coordinates))},R.prototype.setProperty=function(t,e){this.properties[t]=e},R.prototype.toGeoJSON=function(){return JSON.parse(JSON.stringify({id:this.id,type:p.FEATURE,properties:this.properties,geometry:{coordinates:this.getCoordinates(),type:this.type}}))},R.prototype.internal=function(t){var e={id:this.id,meta:v.FEATURE,"meta:type":this.type,active:b.INACTIVE,mode:t};if(this.ctx.options.userProperties)for(var r in this.properties)e["user_"+r]=this.properties[r];return{type:p.FEATURE,properties:e,geometry:{coordinates:this.getCoordinates(),type:this.type}}};var F=function(t,e){R.call(this,t,e)};(F.prototype=Object.create(R.prototype)).isValid=function(){return"number"==typeof this.coordinates[0]&&"number"==typeof this.coordinates[1]},F.prototype.updateCoordinate=function(t,e,r){this.coordinates=3===arguments.length?[e,r]:[t,e],this.changed()},F.prototype.getCoordinate=function(){return this.getCoordinates()};var Y=function(t,e){R.call(this,t,e)};(Y.prototype=Object.create(R.prototype)).isValid=function(){return this.coordinates.length>1},Y.prototype.addCoordinate=function(t,e,r){this.changed();var n=parseInt(t,10);this.coordinates.splice(n,0,[e,r])},Y.prototype.getCoordinate=function(t){var e=parseInt(t,10);return JSON.parse(JSON.stringify(this.coordinates[e]))},Y.prototype.removeCoordinate=function(t){this.changed(),this.coordinates.splice(parseInt(t,10),1)},Y.prototype.updateCoordinate=function(t,e,r){var n=parseInt(t,10);this.coordinates[n]=[e,r],this.changed()};var U=function(t,e){R.call(this,t,e),this.coordinates=this.coordinates.map((function(t){return t.slice(0,-1)}))};(U.prototype=Object.create(R.prototype)).isValid=function(){return 0!==this.coordinates.length&&this.coordinates.every((function(t){return t.length>2}))},U.prototype.incomingCoords=function(t){this.coordinates=t.map((function(t){return t.slice(0,-1)})),this.changed()},U.prototype.setCoordinates=function(t){this.coordinates=t,this.changed()},U.prototype.addCoordinate=function(t,e,r){this.changed();var n=t.split(".").map((function(t){return parseInt(t,10)}));this.coordinates[n[0]].splice(n[1],0,[e,r])},U.prototype.removeCoordinate=function(t){this.changed();var e=t.split(".").map((function(t){return parseInt(t,10)})),r=this.coordinates[e[0]];r&&(r.splice(e[1],1),r.length<3&&this.coordinates.splice(e[0],1))},U.prototype.getCoordinate=function(t){var e=t.split(".").map((function(t){return parseInt(t,10)})),r=this.coordinates[e[0]];return JSON.parse(JSON.stringify(r[e[1]]))},U.prototype.getCoordinates=function(){return this.coordinates.map((function(t){return t.concat([t[0]])}))},U.prototype.updateCoordinate=function(t,e,r){this.changed();var n=t.split("."),i=parseInt(n[0],10),o=parseInt(n[1],10);void 0===this.coordinates[i]&&(this.coordinates[i]=[]),this.coordinates[i][o]=[e,r]};var H={MultiPoint:F,MultiLineString:Y,MultiPolygon:U},z=function(t,e,r,n,i){var o=r.split("."),a=parseInt(o[0],10),s=o[1]?o.slice(1).join("."):null;return t[a][e](s,n,i)},V=function(t,e){if(R.call(this,t,e),delete this.coordinates,this.model=H[e.geometry.type],void 0===this.model)throw new TypeError(e.geometry.type+" is not a valid type");this.features=this._coordinatesToFeatures(e.geometry.coordinates)};function $(t){this.map=t.map,this.drawConfig=JSON.parse(JSON.stringify(t.options||{})),this._ctx=t}(V.prototype=Object.create(R.prototype))._coordinatesToFeatures=function(t){var e=this,r=this.model.bind(this);return t.map((function(t){return new r(e.ctx,{id:N(),type:p.FEATURE,properties:{},geometry:{coordinates:t,type:e.type.replace("Multi","")}})}))},V.prototype.isValid=function(){return this.features.every((function(t){return t.isValid()}))},V.prototype.setCoordinates=function(t){this.features=this._coordinatesToFeatures(t),this.changed()},V.prototype.getCoordinate=function(t){return z(this.features,"getCoordinate",t)},V.prototype.getCoordinates=function(){return JSON.parse(JSON.stringify(this.features.map((function(t){return t.type===p.POLYGON?t.getCoordinates():t.coordinates}))))},V.prototype.updateCoordinate=function(t,e,r){z(this.features,"updateCoordinate",t,e,r),this.changed()},V.prototype.addCoordinate=function(t,e,r){z(this.features,"addCoordinate",t,e,r),this.changed()},V.prototype.removeCoordinate=function(t){z(this.features,"removeCoordinate",t),this.changed()},V.prototype.getFeatures=function(){return this.features},$.prototype.setSelected=function(t){return this._ctx.store.setSelected(t)},$.prototype.setSelectedCoordinates=function(t){var e=this;this._ctx.store.setSelectedCoordinates(t),t.reduce((function(t,r){return void 0===t[r.feature_id]&&(t[r.feature_id]=!0,e._ctx.store.get(r.feature_id).changed()),t}),{})},$.prototype.getSelected=function(){return this._ctx.store.getSelected()},$.prototype.getSelectedIds=function(){return this._ctx.store.getSelectedIds()},$.prototype.isSelected=function(t){return this._ctx.store.isSelected(t)},$.prototype.getFeature=function(t){return this._ctx.store.get(t)},$.prototype.select=function(t){return this._ctx.store.select(t)},$.prototype.deselect=function(t){return this._ctx.store.deselect(t)},$.prototype.deleteFeature=function(t,e){return void 0===e&&(e={}),this._ctx.store.delete(t,e)},$.prototype.addFeature=function(t){return this._ctx.store.add(t)},$.prototype.clearSelectedFeatures=function(){return this._ctx.store.clearSelected()},$.prototype.clearSelectedCoordinates=function(){return this._ctx.store.clearSelectedCoordinates()},$.prototype.setActionableState=function(t){void 0===t&&(t={});var e={trash:t.trash||!1,combineFeatures:t.combineFeatures||!1,uncombineFeatures:t.uncombineFeatures||!1};return this._ctx.events.actionable(e)},$.prototype.changeMode=function(t,e,r){return void 0===e&&(e={}),void 0===r&&(r={}),this._ctx.events.changeMode(t,e,r)},$.prototype.updateUIClasses=function(t){return this._ctx.ui.queueMapClasses(t)},$.prototype.activateUIButton=function(t){return this._ctx.ui.setActiveButton(t)},$.prototype.featuresAt=function(t,e,r){if(void 0===r&&(r="click"),"click"!==r&&"touch"!==r)throw new Error("invalid buffer type");return C[r](t,e,this._ctx)},$.prototype.newFeature=function(t){var e=t.geometry.type;return e===p.POINT?new F(this._ctx,t):e===p.LINE_STRING?new Y(this._ctx,t):e===p.POLYGON?new U(this._ctx,t):new V(this._ctx,t)},$.prototype.isInstanceOf=function(t,e){if(t===p.POINT)return e instanceof F;if(t===p.LINE_STRING)return e instanceof Y;if(t===p.POLYGON)return e instanceof U;if("MultiFeature"===t)return e instanceof V;throw new Error("Unknown feature class: "+t)},$.prototype.doRender=function(t){return this._ctx.store.featureChanged(t)},$.prototype.onSetup=function(){},$.prototype.onDrag=function(){},$.prototype.onClick=function(){},$.prototype.onMouseMove=function(){},$.prototype.onMouseDown=function(){},$.prototype.onMouseUp=function(){},$.prototype.onMouseOut=function(){},$.prototype.onKeyUp=function(){},$.prototype.onKeyDown=function(){},$.prototype.onTouchStart=function(){},$.prototype.onTouchMove=function(){},$.prototype.onTouchEnd=function(){},$.prototype.onTap=function(){},$.prototype.onStop=function(){},$.prototype.onTrash=function(){},$.prototype.onCombineFeature=function(){},$.prototype.onUncombineFeature=function(){},$.prototype.toDisplayFeatures=function(){throw new Error("You must overwrite toDisplayFeatures")};var q={drag:"onDrag",click:"onClick",mousemove:"onMouseMove",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseout:"onMouseOut",keyup:"onKeyUp",keydown:"onKeyDown",touchstart:"onTouchStart",touchmove:"onTouchMove",touchend:"onTouchEnd",tap:"onTap"},G=Object.keys(q);function W(t){var e=Object.keys(t);return function(r,n){void 0===n&&(n={});var i={},o=e.reduce((function(e,r){return e[r]=t[r],e}),new $(r));return{start:function(){var e=this;i=o.onSetup(n),G.forEach((function(r){var n,a=q[r],s=function(){return!1};t[a]&&(s=function(){return!0}),e.on(r,s,(n=a,function(t){return o[n](i,t)}))}))},stop:function(){o.onStop(i)},trash:function(){o.onTrash(i)},combineFeatures:function(){o.onCombineFeatures(i)},uncombineFeatures:function(){o.onUncombineFeatures(i)},render:function(t,e){o.toDisplayFeatures(i,t,e)}}}}function K(t){return[].concat(t).filter((function(t){return void 0!==t}))}function X(){var t=this;if(!t.ctx.map||void 0===t.ctx.map.getSource(h.HOT))return u();var e=t.ctx.events.currentModeName();t.ctx.ui.queueMapClasses({mode:e});var r=[],n=[];t.isDirty?n=t.getAllIds():(r=t.getChangedIds().filter((function(e){return void 0!==t.get(e)})),n=t.sources.hot.filter((function(e){return e.properties.id&&-1===r.indexOf(e.properties.id)&&void 0!==t.get(e.properties.id)})).map((function(t){return t.properties.id}))),t.sources.hot=[];var i=t.sources.cold.length;t.sources.cold=t.isDirty?[]:t.sources.cold.filter((function(t){var e=t.properties.id||t.properties.parent;return-1===r.indexOf(e)}));var o=i!==t.sources.cold.length||n.length>0;function a(r,n){var i=t.get(r).internal(e);t.ctx.events.currentModeRender(i,(function(e){t.sources[n].push(e)}))}if(r.forEach((function(t){return a(t,"hot")})),n.forEach((function(t){return a(t,"cold")})),o&&t.ctx.map.getSource(h.COLD).setData({type:p.FEATURE_COLLECTION,features:t.sources.cold}),t.ctx.map.getSource(h.HOT).setData({type:p.FEATURE_COLLECTION,features:t.sources.hot}),t._emitSelectionChange&&(t.ctx.map.fire(g.SELECTION_CHANGE,{features:t.getSelected().map((function(t){return t.toGeoJSON()})),points:t.getSelectedCoordinates().map((function(t){return{type:p.FEATURE,properties:{},geometry:{type:p.POINT,coordinates:t.coordinates}}}))}),t._emitSelectionChange=!1),t._deletedFeaturesToEmit.length){var s=t._deletedFeaturesToEmit.map((function(t){return t.toGeoJSON()}));t._deletedFeaturesToEmit=[],t.ctx.map.fire(g.DELETE,{features:s})}function u(){t.isDirty=!1,t.clearChangedIds()}u(),t.ctx.map.fire(g.RENDER,{})}function J(t){var e,r=this;this._features={},this._featureIds=new A,this._selectedFeatureIds=new A,this._selectedCoordinates=[],this._changedFeatureIds=new A,this._deletedFeaturesToEmit=[],this._emitSelectionChange=!1,this._mapInitialConfig={},this.ctx=t,this.sources={hot:[],cold:[]},this.render=function(){e||(e=requestAnimationFrame((function(){e=null,X.call(r)})))},this.isDirty=!1}function Z(t,e){var r=t._selectedCoordinates.filter((function(e){return t._selectedFeatureIds.has(e.feature_id)}));t._selectedCoordinates.length===r.length||e.silent||(t._emitSelectionChange=!0),t._selectedCoordinates=r}J.prototype.createRenderBatch=function(){var t=this,e=this.render,r=0;return this.render=function(){r++},function(){t.render=e,r>0&&t.render()}},J.prototype.setDirty=function(){return this.isDirty=!0,this},J.prototype.featureChanged=function(t){return this._changedFeatureIds.add(t),this},J.prototype.getChangedIds=function(){return this._changedFeatureIds.values()},J.prototype.clearChangedIds=function(){return this._changedFeatureIds.clear(),this},J.prototype.getAllIds=function(){return this._featureIds.values()},J.prototype.add=function(t){return this.featureChanged(t.id),this._features[t.id]=t,this._featureIds.add(t.id),this},J.prototype.delete=function(t,e){var r=this;return void 0===e&&(e={}),K(t).forEach((function(t){r._featureIds.has(t)&&(r._featureIds.delete(t),r._selectedFeatureIds.delete(t),e.silent||-1===r._deletedFeaturesToEmit.indexOf(r._features[t])&&r._deletedFeaturesToEmit.push(r._features[t]),delete r._features[t],r.isDirty=!0)})),Z(this,e),this},J.prototype.get=function(t){return this._features[t]},J.prototype.getAll=function(){var t=this;return Object.keys(this._features).map((function(e){return t._features[e]}))},J.prototype.select=function(t,e){var r=this;return void 0===e&&(e={}),K(t).forEach((function(t){r._selectedFeatureIds.has(t)||(r._selectedFeatureIds.add(t),r._changedFeatureIds.add(t),e.silent||(r._emitSelectionChange=!0))})),this},J.prototype.deselect=function(t,e){var r=this;return void 0===e&&(e={}),K(t).forEach((function(t){r._selectedFeatureIds.has(t)&&(r._selectedFeatureIds.delete(t),r._changedFeatureIds.add(t),e.silent||(r._emitSelectionChange=!0))})),Z(this,e),this},J.prototype.clearSelected=function(t){return void 0===t&&(t={}),this.deselect(this._selectedFeatureIds.values(),{silent:t.silent}),this},J.prototype.setSelected=function(t,e){var r=this;return void 0===e&&(e={}),t=K(t),this.deselect(this._selectedFeatureIds.values().filter((function(e){return-1===t.indexOf(e)})),{silent:e.silent}),this.select(t.filter((function(t){return!r._selectedFeatureIds.has(t)})),{silent:e.silent}),this},J.prototype.setSelectedCoordinates=function(t){return this._selectedCoordinates=t,this._emitSelectionChange=!0,this},J.prototype.clearSelectedCoordinates=function(){return this._selectedCoordinates=[],this._emitSelectionChange=!0,this},J.prototype.getSelectedIds=function(){return this._selectedFeatureIds.values()},J.prototype.getSelected=function(){var t=this;return this._selectedFeatureIds.values().map((function(e){return t.get(e)}))},J.prototype.getSelectedCoordinates=function(){var t=this;return this._selectedCoordinates.map((function(e){return{coordinates:t.get(e.feature_id).getCoordinate(e.coord_path)}}))},J.prototype.isSelected=function(t){return this._selectedFeatureIds.has(t)},J.prototype.setFeatureProperty=function(t,e,r){this.get(t).setProperty(e,r),this.featureChanged(t)},J.prototype.storeMapConfig=function(){var t=this;_.forEach((function(e){t.ctx.map[e]&&(t._mapInitialConfig[e]=t.ctx.map[e].isEnabled())}))},J.prototype.restoreMapConfig=function(){var t=this;Object.keys(this._mapInitialConfig).forEach((function(e){t._mapInitialConfig[e]?t.ctx.map[e].enable():t.ctx.map[e].disable()}))},J.prototype.getInitialConfigValue=function(t){return void 0===this._mapInitialConfig[t]||this._mapInitialConfig[t]};var Q=function(){for(var t=arguments,e={},r=0;r<arguments.length;r++){var n=t[r];for(var i in n)tt.call(n,i)&&(e[i]=n[i])}return e},tt=Object.prototype.hasOwnProperty,et=r(Q),rt=["mode","feature","mouse"];function nt(e){var r=null,n=null,i={onRemove:function(){return e.map.off("load",i.connect),clearInterval(n),i.removeLayers(),e.store.restoreMapConfig(),e.ui.removeButtons(),e.events.removeEventListeners(),e.ui.clearMapClasses(),e.boxZoomInitial&&e.map.boxZoom.enable(),e.map=null,e.container=null,e.store=null,r&&r.parentNode&&r.parentNode.removeChild(r),r=null,this},connect:function(){e.map.off("load",i.connect),clearInterval(n),i.addLayers(),e.store.storeMapConfig(),e.events.addEventListeners()},onAdd:function(o){var a=o.fire;return o.fire=function(t,e){var r=arguments;return 1===a.length&&1!==arguments.length&&(r=[et({},{type:t},e)]),a.apply(o,r)},e.map=o,e.events=function(e){var r=Object.keys(e.options.modes).reduce((function(t,r){return t[r]=W(e.options.modes[r]),t}),{}),n={},i={},o={},a=null,s=null;o.drag=function(t,r){r({point:t.point,time:(new Date).getTime()})?(e.ui.queueMapClasses({mouse:f.DRAG}),s.drag(t)):t.originalEvent.stopPropagation()},o.mousedrag=function(t){o.drag(t,(function(t){return!I(n,t)}))},o.touchdrag=function(t){o.drag(t,(function(t){return!D(i,t)}))},o.mousemove=function(t){if(1===(void 0!==t.originalEvent.buttons?t.originalEvent.buttons:t.originalEvent.which))return o.mousedrag(t);var r=P(t,e);t.featureTarget=r,s.mousemove(t)},o.mousedown=function(t){n={time:(new Date).getTime(),point:t.point};var r=P(t,e);t.featureTarget=r,s.mousedown(t)},o.mouseup=function(t){var r=P(t,e);t.featureTarget=r,I(n,{point:t.point,time:(new Date).getTime()})?s.click(t):s.mouseup(t)},o.mouseout=function(t){s.mouseout(t)},o.touchstart=function(t){if(e.options.touchEnabled){i={time:(new Date).getTime(),point:t.point};var r=C.touch(t,null,e)[0];t.featureTarget=r,s.touchstart(t)}},o.touchmove=function(t){if(e.options.touchEnabled)return s.touchmove(t),o.touchdrag(t)},o.touchend=function(t){if(t.originalEvent.preventDefault(),e.options.touchEnabled){var r=C.touch(t,null,e)[0];t.featureTarget=r,D(i,{time:(new Date).getTime(),point:t.point})?s.tap(t):s.touchend(t)}};var u=function(t){return!(8===t||46===t||t>=48&&t<=57)};function c(n,i,o){void 0===o&&(o={}),s.stop();var u=r[n];if(void 0===u)throw new Error(n+" is not valid");a=n;var c=u(e,i);s=t(c,e),o.silent||e.map.fire(g.MODE_CHANGE,{mode:n}),e.store.setDirty(),e.store.render()}o.keydown=function(t){(t.srcElement||t.target).classList.contains("mapboxgl-canvas")&&(8!==t.keyCode&&46!==t.keyCode||!e.options.controls.trash?u(t.keyCode)?s.keydown(t):49===t.keyCode&&e.options.controls.point?c(m.DRAW_POINT):50===t.keyCode&&e.options.controls.line_string?c(m.DRAW_LINE_STRING):51===t.keyCode&&e.options.controls.polygon&&c(m.DRAW_POLYGON):(t.preventDefault(),s.trash()))},o.keyup=function(t){u(t.keyCode)&&s.keyup(t)},o.zoomend=function(){e.store.changeZoom()},o.data=function(t){if("style"===t.dataType){var r=e.setup,n=e.map,i=e.options,o=e.store;i.styles.some((function(t){return n.getLayer(t.id)}))||(r.addLayers(),o.setDirty(),o.render())}};var l={trash:!1,combineFeatures:!1,uncombineFeatures:!1};return{start:function(){a=e.options.defaultMode,s=t(r[a](e),e)},changeMode:c,actionable:function(t){var r=!1;Object.keys(t).forEach((function(e){if(void 0===l[e])throw new Error("Invalid action type");l[e]!==t[e]&&(r=!0),l[e]=t[e]})),r&&e.map.fire(g.ACTIONABLE,{actions:l})},currentModeName:function(){return a},currentModeRender:function(t,e){return s.render(t,e)},fire:function(t,e){o[t]&&o[t](e)},addEventListeners:function(){e.map.on("mousemove",o.mousemove),e.map.on("mousedown",o.mousedown),e.map.on("mouseup",o.mouseup),e.map.on("data",o.data),e.map.on("touchmove",o.touchmove),e.map.on("touchstart",o.touchstart),e.map.on("touchend",o.touchend),e.container.addEventListener("mouseout",o.mouseout),e.options.keybindings&&(e.container.addEventListener("keydown",o.keydown),e.container.addEventListener("keyup",o.keyup))},removeEventListeners:function(){e.map.off("mousemove",o.mousemove),e.map.off("mousedown",o.mousedown),e.map.off("mouseup",o.mouseup),e.map.off("data",o.data),e.map.off("touchmove",o.touchmove),e.map.off("touchstart",o.touchstart),e.map.off("touchend",o.touchend),e.container.removeEventListener("mouseout",o.mouseout),e.options.keybindings&&(e.container.removeEventListener("keydown",o.keydown),e.container.removeEventListener("keyup",o.keyup))},trash:function(t){s.trash(t)},combineFeatures:function(){s.combineFeatures()},uncombineFeatures:function(){s.uncombineFeatures()},getMode:function(){return a}}}(e),e.ui=function(t){var e={},r=null,n={mode:null,feature:null,mouse:null},i={mode:null,feature:null,mouse:null};function o(t){i=et(i,t)}function a(){var e,r;if(t.container){var o=[],a=[];rt.forEach((function(t){i[t]!==n[t]&&(o.push(t+"-"+n[t]),null!==i[t]&&a.push(t+"-"+i[t]))})),o.length>0&&(e=t.container.classList).remove.apply(e,o),a.length>0&&(r=t.container.classList).add.apply(r,a),n=et(n,i)}}function s(t,e){void 0===e&&(e={});var n=document.createElement("button");return n.className=l.CONTROL_BUTTON+" "+e.className,n.setAttribute("title",e.title),e.container.appendChild(n),n.addEventListener("click",(function(n){if(n.preventDefault(),n.stopPropagation(),n.target===r)return u(),void e.onDeactivate();c(t),e.onActivate()}),!0),n}function u(){r&&(r.classList.remove(l.ACTIVE_BUTTON),r=null)}function c(t){u();var n=e[t];n&&n&&"trash"!==t&&(n.classList.add(l.ACTIVE_BUTTON),r=n)}return{setActiveButton:c,queueMapClasses:o,updateMapClasses:a,clearMapClasses:function(){o({mode:null,feature:null,mouse:null}),a()},addButtons:function(){var r=t.options.controls,n=document.createElement("div");return n.className=l.CONTROL_GROUP+" "+l.CONTROL_BASE,r?(r[d.LINE]&&(e[d.LINE]=s(d.LINE,{container:n,className:l.CONTROL_BUTTON_LINE,title:"LineString tool "+(t.options.keybindings?"(l)":""),onActivate:function(){return t.events.changeMode(m.DRAW_LINE_STRING)},onDeactivate:function(){return t.events.trash()}})),r[d.POLYGON]&&(e[d.POLYGON]=s(d.POLYGON,{container:n,className:l.CONTROL_BUTTON_POLYGON,title:"Polygon tool "+(t.options.keybindings?"(p)":""),onActivate:function(){return t.events.changeMode(m.DRAW_POLYGON)},onDeactivate:function(){return t.events.trash()}})),r[d.POINT]&&(e[d.POINT]=s(d.POINT,{container:n,className:l.CONTROL_BUTTON_POINT,title:"Marker tool "+(t.options.keybindings?"(m)":""),onActivate:function(){return t.events.changeMode(m.DRAW_POINT)},onDeactivate:function(){return t.events.trash()}})),r.trash&&(e.trash=s("trash",{container:n,className:l.CONTROL_BUTTON_TRASH,title:"Delete",onActivate:function(){t.events.trash()}})),r.combine_features&&(e.combine_features=s("combineFeatures",{container:n,className:l.CONTROL_BUTTON_COMBINE_FEATURES,title:"Combine",onActivate:function(){t.events.combineFeatures()}})),r.uncombine_features&&(e.uncombine_features=s("uncombineFeatures",{container:n,className:l.CONTROL_BUTTON_UNCOMBINE_FEATURES,title:"Uncombine",onActivate:function(){t.events.uncombineFeatures()}})),n):n},removeButtons:function(){Object.keys(e).forEach((function(t){var r=e[t];r.parentNode&&r.parentNode.removeChild(r),delete e[t]}))}}}(e),e.container=o.getContainer(),e.store=new J(e),r=e.ui.addButtons(),e.options.boxSelect&&(e.boxZoomInitial=o.boxZoom.isEnabled(),o.boxZoom.disable(),o.dragPan.disable(),o.dragPan.enable()),o.loaded()?i.connect():(o.on("load",i.connect),n=setInterval((function(){o.loaded()&&i.connect()}),16)),e.events.start(),r},addLayers:function(){e.map.addSource(h.COLD,{data:{type:p.FEATURE_COLLECTION,features:[]},type:"geojson"}),e.map.addSource(h.HOT,{data:{type:p.FEATURE_COLLECTION,features:[]},type:"geojson"}),e.options.styles.forEach((function(t){e.map.addLayer(t)})),e.store.setDirty(!0),e.store.render()},removeLayers:function(){e.options.styles.forEach((function(t){e.map.getLayer(t.id)&&e.map.removeLayer(t.id)})),e.map.getSource(h.COLD)&&e.map.removeSource(h.COLD),e.map.getSource(h.HOT)&&e.map.removeSource(h.HOT)}};return e.setup=i,i}var it=[{id:"gl-draw-polygon-fill-inactive",type:"fill",filter:["all",["==","active","false"],["==","$type","Polygon"],["!=","mode","static"]],paint:{"fill-color":"#3bb2d0","fill-outline-color":"#3bb2d0","fill-opacity":.1}},{id:"gl-draw-polygon-fill-active",type:"fill",filter:["all",["==","active","true"],["==","$type","Polygon"]],paint:{"fill-color":"#fbb03b","fill-outline-color":"#fbb03b","fill-opacity":.1}},{id:"gl-draw-polygon-midpoint",type:"circle",filter:["all",["==","$type","Point"],["==","meta","midpoint"]],paint:{"circle-radius":3,"circle-color":"#fbb03b"}},{id:"gl-draw-polygon-stroke-inactive",type:"line",filter:["all",["==","active","false"],["==","$type","Polygon"],["!=","mode","static"]],layout:{"line-cap":"round","line-join":"round"},paint:{"line-color":"#3bb2d0","line-width":2}},{id:"gl-draw-polygon-stroke-active",type:"line",filter:["all",["==","active","true"],["==","$type","Polygon"]],layout:{"line-cap":"round","line-join":"round"},paint:{"line-color":"#fbb03b","line-dasharray":[.2,2],"line-width":2}},{id:"gl-draw-line-inactive",type:"line",filter:["all",["==","active","false"],["==","$type","LineString"],["!=","mode","static"]],layout:{"line-cap":"round","line-join":"round"},paint:{"line-color":"#3bb2d0","line-width":2}},{id:"gl-draw-line-active",type:"line",filter:["all",["==","$type","LineString"],["==","active","true"]],layout:{"line-cap":"round","line-join":"round"},paint:{"line-color":"#fbb03b","line-dasharray":[.2,2],"line-width":2}},{id:"gl-draw-polygon-and-line-vertex-stroke-inactive",type:"circle",filter:["all",["==","meta","vertex"],["==","$type","Point"],["!=","mode","static"]],paint:{"circle-radius":5,"circle-color":"#fff"}},{id:"gl-draw-polygon-and-line-vertex-inactive",type:"circle",filter:["all",["==","meta","vertex"],["==","$type","Point"],["!=","mode","static"]],paint:{"circle-radius":3,"circle-color":"#fbb03b"}},{id:"gl-draw-point-point-stroke-inactive",type:"circle",filter:["all",["==","active","false"],["==","$type","Point"],["==","meta","feature"],["!=","mode","static"]],paint:{"circle-radius":5,"circle-opacity":1,"circle-color":"#fff"}},{id:"gl-draw-point-inactive",type:"circle",filter:["all",["==","active","false"],["==","$type","Point"],["==","meta","feature"],["!=","mode","static"]],paint:{"circle-radius":3,"circle-color":"#3bb2d0"}},{id:"gl-draw-point-stroke-active",type:"circle",filter:["all",["==","$type","Point"],["==","active","true"],["!=","meta","midpoint"]],paint:{"circle-radius":7,"circle-color":"#fff"}},{id:"gl-draw-point-active",type:"circle",filter:["all",["==","$type","Point"],["!=","meta","midpoint"],["==","active","true"]],paint:{"circle-radius":5,"circle-color":"#fbb03b"}},{id:"gl-draw-polygon-fill-static",type:"fill",filter:["all",["==","mode","static"],["==","$type","Polygon"]],paint:{"fill-color":"#404040","fill-outline-color":"#404040","fill-opacity":.1}},{id:"gl-draw-polygon-stroke-static",type:"line",filter:["all",["==","mode","static"],["==","$type","Polygon"]],layout:{"line-cap":"round","line-join":"round"},paint:{"line-color":"#404040","line-width":2}},{id:"gl-draw-line-static",type:"line",filter:["all",["==","mode","static"],["==","$type","LineString"]],layout:{"line-cap":"round","line-join":"round"},paint:{"line-color":"#404040","line-width":2}},{id:"gl-draw-point-static",type:"circle",filter:["all",["==","mode","static"],["==","$type","Point"]],paint:{"circle-radius":5,"circle-color":"#404040"}}];function ot(t){return function(e){var r=e.featureTarget;return!!r&&!!r.properties&&r.properties.meta===t}}function at(t){return!!t.originalEvent&&!!t.originalEvent.shiftKey&&0===t.originalEvent.button}function st(t){return!!t.featureTarget&&!!t.featureTarget.properties&&t.featureTarget.properties.active===b.ACTIVE&&t.featureTarget.properties.meta===v.FEATURE}function ut(t){return!!t.featureTarget&&!!t.featureTarget.properties&&t.featureTarget.properties.active===b.INACTIVE&&t.featureTarget.properties.meta===v.FEATURE}function ct(t){return void 0===t.featureTarget}function lt(t){return!!t.featureTarget&&!!t.featureTarget.properties&&t.featureTarget.properties.meta===v.FEATURE}function ht(t){var e=t.featureTarget;return!!e&&!!e.properties&&e.properties.meta===v.VERTEX}function ft(t){return!!t.originalEvent&&!0===t.originalEvent.shiftKey}function dt(t){return 27===t.keyCode}function pt(t){return 13===t.keyCode}var mt=Object.freeze({__proto__:null,isOfMetaType:ot,isShiftMousedown:at,isActiveFeature:st,isInactiveFeature:ut,noTarget:ct,isFeature:lt,isVertex:ht,isShiftDown:ft,isEscapeKey:dt,isEnterKey:pt,isTrue:function(){return!0}}),gt=yt;function yt(t,e){this.x=t,this.y=e}yt.prototype={clone:function(){return new yt(this.x,this.y)},add:function(t){return this.clone()._add(t)},sub:function(t){return this.clone()._sub(t)},multByPoint:function(t){return this.clone()._multByPoint(t)},divByPoint:function(t){return this.clone()._divByPoint(t)},mult:function(t){return this.clone()._mult(t)},div:function(t){return this.clone()._div(t)},rotate:function(t){return this.clone()._rotate(t)},rotateAround:function(t,e){return this.clone()._rotateAround(t,e)},matMult:function(t){return this.clone()._matMult(t)},unit:function(){return this.clone()._unit()},perp:function(){return this.clone()._perp()},round:function(){return this.clone()._round()},mag:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},equals:function(t){return this.x===t.x&&this.y===t.y},dist:function(t){return Math.sqrt(this.distSqr(t))},distSqr:function(t){var e=t.x-this.x,r=t.y-this.y;return e*e+r*r},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(t){return Math.atan2(this.y-t.y,this.x-t.x)},angleWith:function(t){return this.angleWithSep(t.x,t.y)},angleWithSep:function(t,e){return Math.atan2(this.x*e-this.y*t,this.x*t+this.y*e)},_matMult:function(t){var e=t[0]*this.x+t[1]*this.y,r=t[2]*this.x+t[3]*this.y;return this.x=e,this.y=r,this},_add:function(t){return this.x+=t.x,this.y+=t.y,this},_sub:function(t){return this.x-=t.x,this.y-=t.y,this},_mult:function(t){return this.x*=t,this.y*=t,this},_div:function(t){return this.x/=t,this.y/=t,this},_multByPoint:function(t){return this.x*=t.x,this.y*=t.y,this},_divByPoint:function(t){return this.x/=t.x,this.y/=t.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var t=this.y;return this.y=this.x,this.x=-t,this},_rotate:function(t){var e=Math.cos(t),r=Math.sin(t),n=e*this.x-r*this.y,i=r*this.x+e*this.y;return this.x=n,this.y=i,this},_rotateAround:function(t,e){var r=Math.cos(t),n=Math.sin(t),i=e.x+r*(this.x-e.x)-n*(this.y-e.y),o=e.y+n*(this.x-e.x)+r*(this.y-e.y);return this.x=i,this.y=o,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},yt.convert=function(t){return t instanceof yt?t:Array.isArray(t)?new yt(t[0],t[1]):t};var vt=r(gt);function bt(t,e){var r=e.getBoundingClientRect();return new vt(t.clientX-r.left-(e.clientLeft||0),t.clientY-r.top-(e.clientTop||0))}function _t(t,e,r,n){return{type:p.FEATURE,properties:{meta:v.VERTEX,parent:t,coord_path:r,active:n?b.ACTIVE:b.INACTIVE},geometry:{type:p.POINT,coordinates:e}}}function wt(t,e,r){var n=e.geometry.coordinates,i=r.geometry.coordinates;if(n[1]>85||n[1]<w||i[1]>85||i[1]<w)return null;var o={lng:(n[0]+i[0])/2,lat:(n[1]+i[1])/2};return{type:p.FEATURE,properties:{meta:v.MIDPOINT,parent:t,lng:o.lng,lat:o.lat,coord_path:r.properties.coord_path},geometry:{type:p.POINT,coordinates:[o.lng,o.lat]}}}function xt(t,e,r){void 0===e&&(e={}),void 0===r&&(r=null);var n,i=t.geometry,o=i.type,a=i.coordinates,s=t.properties&&t.properties.id,u=[];function c(t,r){var n="",i=null;t.forEach((function(t,o){var a=null!=r?r+"."+o:String(o),c=_t(s,t,a,l(a));if(e.midpoints&&i){var h=wt(s,i,c);h&&u.push(h)}i=c;var f=JSON.stringify(t);n!==f&&u.push(c),0===o&&(n=f)}))}function l(t){return!!e.selectedPaths&&-1!==e.selectedPaths.indexOf(t)}return o===p.POINT?u.push(_t(s,a,r,l(r))):o===p.POLYGON?a.forEach((function(t,e){c(t,null!==r?r+"."+e:String(e))})):o===p.LINE_STRING?c(a,r):0===o.indexOf(p.MULTI_PREFIX)&&(n=o.replace(p.MULTI_PREFIX,""),a.forEach((function(r,i){var o={type:p.FEATURE,properties:t.properties,geometry:{type:n,coordinates:r}};u=u.concat(xt(o,e,i))}))),u}var kt={enable:function(t){setTimeout((function(){t.map&&t.map.doubleClickZoom&&t._ctx&&t._ctx.store&&t._ctx.store.getInitialConfigValue&&t._ctx.store.getInitialConfigValue("doubleClickZoom")&&t.map.doubleClickZoom.enable()}),0)},disable:function(t){setTimeout((function(){t.map&&t.map.doubleClickZoom&&t.map.doubleClickZoom.disable()}),0)}},St={exports:{}},Et=function(t){if(!t||!t.type)return null;var e=Mt[t.type];return e?"geometry"===e?{type:"FeatureCollection",features:[{type:"Feature",properties:{},geometry:t}]}:"feature"===e?{type:"FeatureCollection",features:[t]}:"featurecollection"===e?t:void 0:null},Mt={Point:"geometry",MultiPoint:"geometry",LineString:"geometry",MultiLineString:"geometry",Polygon:"geometry",MultiPolygon:"geometry",GeometryCollection:"geometry",Feature:"feature",FeatureCollection:"featurecollection"},At=r(Et),Tt=Object.freeze({__proto__:null,default:function t(e){switch(e&&e.type||null){case"FeatureCollection":return e.features=e.features.reduce((function(e,r){return e.concat(t(r))}),[]),e;case"Feature":return e.geometry?t(e.geometry).map((function(t){var r={type:"Feature",properties:JSON.parse(JSON.stringify(e.properties)),geometry:t};return void 0!==e.id&&(r.id=e.id),r})):[e];case"MultiPoint":return e.coordinates.map((function(t){return{type:"Point",coordinates:t}}));case"MultiPolygon":return e.coordinates.map((function(t){return{type:"Polygon",coordinates:t}}));case"MultiLineString":return e.coordinates.map((function(t){return{type:"LineString",coordinates:t}}));case"GeometryCollection":return e.geometries.map(t).reduce((function(t,e){return t.concat(e)}),[]);case"Point":case"Polygon":case"LineString":return[e]}}}),Ct=Et,Lt=n(Tt),Pt=function(t){return function t(e){return Array.isArray(e)&&e.length&&"number"==typeof e[0]?[e]:e.reduce((function(e,r){return Array.isArray(r)&&Array.isArray(r[0])?e.concat(t(r)):(e.push(r),e)}),[])}(t)};Lt instanceof Function||(Lt=Lt.default);var Ot={exports:{}},It=Ot.exports=function(t){return new Dt(t)};function Dt(t){this.value=t}function Bt(t,e,r){var n=[],i=[],o=!0;return function t(a){var s=r?jt(a):a,u={},c=!0,l={node:s,node_:a,path:[].concat(n),parent:i[i.length-1],parents:i,key:n.slice(-1)[0],isRoot:0===n.length,level:n.length,circular:null,update:function(t,e){l.isRoot||(l.parent.node[l.key]=t),l.node=t,e&&(c=!1)},delete:function(t){delete l.parent.node[l.key],t&&(c=!1)},remove:function(t){Ft(l.parent.node)?l.parent.node.splice(l.key,1):delete l.parent.node[l.key],t&&(c=!1)},keys:null,before:function(t){u.before=t},after:function(t){u.after=t},pre:function(t){u.pre=t},post:function(t){u.post=t},stop:function(){o=!1},block:function(){c=!1}};if(!o)return l;function h(){if("object"==typeof l.node&&null!==l.node){l.keys&&l.node_===l.node||(l.keys=Nt(l.node)),l.isLeaf=0==l.keys.length;for(var t=0;t<i.length;t++)if(i[t].node_===a){l.circular=i[t];break}}else l.isLeaf=!0,l.keys=null;l.notLeaf=!l.isLeaf,l.notRoot=!l.isRoot}h();var f=e.call(l,l.node);return void 0!==f&&l.update&&l.update(f),u.before&&u.before.call(l,l.node),c?("object"!=typeof l.node||null===l.node||l.circular||(i.push(l),h(),Yt(l.keys,(function(e,i){n.push(e),u.pre&&u.pre.call(l,l.node[e],e);var o=t(l.node[e]);r&&Ut.call(l.node,e)&&(l.node[e]=o.node),o.isLast=i==l.keys.length-1,o.isFirst=0==i,u.post&&u.post.call(l,o),n.pop()})),i.pop()),u.after&&u.after.call(l,l.node),l):l}(t).node}function jt(t){if("object"==typeof t&&null!==t){var e;if(Ft(t))e=[];else if("[object Date]"===Rt(t))e=new Date(t.getTime?t.getTime():t);else if(function(t){return"[object RegExp]"===Rt(t)}(t))e=new RegExp(t);else if(function(t){return"[object Error]"===Rt(t)}(t))e={message:t.message};else if(function(t){return"[object Boolean]"===Rt(t)}(t))e=new Boolean(t);else if(function(t){return"[object Number]"===Rt(t)}(t))e=new Number(t);else if(function(t){return"[object String]"===Rt(t)}(t))e=new String(t);else if(Object.create&&Object.getPrototypeOf)e=Object.create(Object.getPrototypeOf(t));else if(t.constructor===Object)e={};else{var r=t.constructor&&t.constructor.prototype||t.__proto__||{},n=function(){};n.prototype=r,e=new n}return Yt(Nt(t),(function(r){e[r]=t[r]})),e}return t}Dt.prototype.get=function(t){for(var e=this.value,r=0;r<t.length;r++){var n=t[r];if(!e||!Ut.call(e,n)){e=void 0;break}e=e[n]}return e},Dt.prototype.has=function(t){for(var e=this.value,r=0;r<t.length;r++){var n=t[r];if(!e||!Ut.call(e,n))return!1;e=e[n]}return!0},Dt.prototype.set=function(t,e){for(var r=this.value,n=0;n<t.length-1;n++){var i=t[n];Ut.call(r,i)||(r[i]={}),r=r[i]}return r[t[n]]=e,e},Dt.prototype.map=function(t){return Bt(this.value,t,!0)},Dt.prototype.forEach=function(t){return this.value=Bt(this.value,t,!1),this.value},Dt.prototype.reduce=function(t,e){var r=1===arguments.length,n=r?this.value:e;return this.forEach((function(e){this.isRoot&&r||(n=t.call(this,n,e))})),n},Dt.prototype.paths=function(){var t=[];return this.forEach((function(e){t.push(this.path)})),t},Dt.prototype.nodes=function(){var t=[];return this.forEach((function(e){t.push(this.node)})),t},Dt.prototype.clone=function(){var t=[],e=[];return function r(n){for(var i=0;i<t.length;i++)if(t[i]===n)return e[i];if("object"==typeof n&&null!==n){var o=jt(n);return t.push(n),e.push(o),Yt(Nt(n),(function(t){o[t]=r(n[t])})),t.pop(),e.pop(),o}return n}(this.value)};var Nt=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};function Rt(t){return Object.prototype.toString.call(t)}var Ft=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},Yt=function(t,e){if(t.forEach)return t.forEach(e);for(var r=0;r<t.length;r++)e(t[r],r,t)};Yt(Nt(Dt.prototype),(function(t){It[t]=function(e){var r=[].slice.call(arguments,1),n=new Dt(e);return n[t].apply(n,r)}}));var Ut=Object.hasOwnProperty||function(t,e){return e in t},Ht=Ot.exports,zt=Vt;function Vt(t){if(!(this instanceof Vt))return new Vt(t);this._bbox=t||[1/0,1/0,-1/0,-1/0],this._valid=!!t}Vt.prototype.include=function(t){return this._valid=!0,this._bbox[0]=Math.min(this._bbox[0],t[0]),this._bbox[1]=Math.min(this._bbox[1],t[1]),this._bbox[2]=Math.max(this._bbox[2],t[0]),this._bbox[3]=Math.max(this._bbox[3],t[1]),this},Vt.prototype.equals=function(t){var e;return e=t instanceof Vt?t.bbox():t,this._bbox[0]==e[0]&&this._bbox[1]==e[1]&&this._bbox[2]==e[2]&&this._bbox[3]==e[3]},Vt.prototype.center=function(t){return this._valid?[(this._bbox[0]+this._bbox[2])/2,(this._bbox[1]+this._bbox[3])/2]:null},Vt.prototype.union=function(t){var e;return this._valid=!0,e=t instanceof Vt?t.bbox():t,this._bbox[0]=Math.min(this._bbox[0],e[0]),this._bbox[1]=Math.min(this._bbox[1],e[1]),this._bbox[2]=Math.max(this._bbox[2],e[2]),this._bbox[3]=Math.max(this._bbox[3],e[3]),this},Vt.prototype.bbox=function(){return this._valid?this._bbox:null},Vt.prototype.contains=function(t){if(!t)return this._fastContains();if(!this._valid)return null;var e=t[0],r=t[1];return this._bbox[0]<=e&&this._bbox[1]<=r&&this._bbox[2]>=e&&this._bbox[3]>=r},Vt.prototype.intersect=function(t){return this._valid?(e=t instanceof Vt?t.bbox():t,!(this._bbox[0]>e[2]||this._bbox[2]<e[0]||this._bbox[3]<e[1]||this._bbox[1]>e[3])):null;var e},Vt.prototype._fastContains=function(){if(!this._valid)return new Function("return null;");var t="return "+this._bbox[0]+"<= ll[0] &&"+this._bbox[1]+"<= ll[1] &&"+this._bbox[2]+">= ll[0] &&"+this._bbox[3]+">= ll[1]";return new Function("ll",t)},Vt.prototype.polygon=function(){return this._valid?{type:"Polygon",coordinates:[[[this._bbox[0],this._bbox[1]],[this._bbox[2],this._bbox[1]],[this._bbox[2],this._bbox[3]],[this._bbox[0],this._bbox[3]],[this._bbox[0],this._bbox[1]]]]}:null};var $t=function(t){if(!t)return[];var e=Lt(Ct(t)),r=[];return e.features.forEach((function(t){t.geometry&&(r=r.concat(Pt(t.geometry.coordinates)))})),r},qt=Ht,Gt=zt,Wt={features:["FeatureCollection"],coordinates:["Point","MultiPoint","LineString","MultiLineString","Polygon","MultiPolygon"],geometry:["Feature"],geometries:["GeometryCollection"]},Kt=Object.keys(Wt);function Xt(t){for(var e=Gt(),r=$t(t),n=0;n<r.length;n++)e.include(r[n]);return e}St.exports=function(t){return Xt(t).bbox()},St.exports.polygon=function(t){return Xt(t).polygon()},St.exports.bboxify=function(t){return qt(t).map((function(t){t&&Kt.some((function(e){return!!t[e]&&-1!==Wt[e].indexOf(t.type)}))&&(t.bbox=Xt(t).bbox(),this.update(t))}))};var Jt=r(St.exports),Zt=-90;function Qt(t,e){var r=Zt,n=90,i=Zt,o=90,a=270,s=-270;t.forEach((function(t){var e=Jt(t),u=e[1],c=e[3],l=e[0],h=e[2];u>r&&(r=u),c<n&&(n=c),c>i&&(i=c),u<o&&(o=u),l<a&&(a=l),h>s&&(s=h)}));var u=e;return r+u.lat>85&&(u.lat=85-r),i+u.lat>90&&(u.lat=90-i),n+u.lat<-85&&(u.lat=-85-n),o+u.lat<Zt&&(u.lat=Zt-o),a+u.lng<=-270&&(u.lng+=360*Math.ceil(Math.abs(u.lng)/360)),s+u.lng>=270&&(u.lng-=360*Math.ceil(Math.abs(u.lng)/360)),u}function te(t,e){var r=Qt(t.map((function(t){return t.toGeoJSON()})),e);t.forEach((function(t){var e,n=t.getCoordinates(),i=function(t){var e={lng:t[0]+r.lng,lat:t[1]+r.lat};return[e.lng,e.lat]},o=function(t){return t.map((function(t){return i(t)}))};t.type===p.POINT?e=i(n):t.type===p.LINE_STRING||t.type===p.MULTI_POINT?e=n.map(i):t.type===p.POLYGON||t.type===p.MULTI_LINE_STRING?e=n.map(o):t.type===p.MULTI_POLYGON&&(e=n.map((function(t){return t.map((function(t){return o(t)}))}))),t.incomingCoords(e)}))}var ee={onSetup:function(t){var e=this,r={dragMoveLocation:null,boxSelectStartLocation:null,boxSelectElement:void 0,boxSelecting:!1,canBoxSelect:!1,dragMoving:!1,canDragMove:!1,initiallySelectedFeatureIds:t.featureIds||[]};return this.setSelected(r.initiallySelectedFeatureIds.filter((function(t){return void 0!==e.getFeature(t)}))),this.fireActionable(),this.setActionableState({combineFeatures:!0,uncombineFeatures:!0,trash:!0}),r},fireUpdate:function(){this.map.fire(g.UPDATE,{action:y.MOVE,features:this.getSelected().map((function(t){return t.toGeoJSON()}))})},fireActionable:function(){var t=this,e=this.getSelected(),r=e.filter((function(e){return t.isInstanceOf("MultiFeature",e)})),n=!1;if(e.length>1){n=!0;var i=e[0].type.replace("Multi","");e.forEach((function(t){t.type.replace("Multi","")!==i&&(n=!1)}))}var o=r.length>0,a=e.length>0;this.setActionableState({combineFeatures:n,uncombineFeatures:o,trash:a})},getUniqueIds:function(t){return t.length?t.map((function(t){return t.properties.id})).filter((function(t){return void 0!==t})).reduce((function(t,e){return t.add(e),t}),new A).values():[]},stopExtendedInteractions:function(t){t.boxSelectElement&&(t.boxSelectElement.parentNode&&t.boxSelectElement.parentNode.removeChild(t.boxSelectElement),t.boxSelectElement=null),this.map.dragPan.enable(),t.boxSelecting=!1,t.canBoxSelect=!1,t.dragMoving=!1,t.canDragMove=!1},onStop:function(){kt.enable(this)},onMouseMove:function(t,e){return lt(e)&&t.dragMoving&&this.fireUpdate(),this.stopExtendedInteractions(t),!0},onMouseOut:function(t){return!t.dragMoving||this.fireUpdate()}};ee.onTap=ee.onClick=function(t,e){return ct(e)?this.clickAnywhere(t,e):ot(v.VERTEX)(e)?this.clickOnVertex(t,e):lt(e)?this.clickOnFeature(t,e):void 0},ee.clickAnywhere=function(t){var e=this,r=this.getSelectedIds();r.length&&(this.clearSelectedFeatures(),r.forEach((function(t){return e.doRender(t)}))),kt.enable(this),this.stopExtendedInteractions(t)},ee.clickOnVertex=function(t,e){this.changeMode(m.DIRECT_SELECT,{featureId:e.featureTarget.properties.parent,coordPath:e.featureTarget.properties.coord_path,startPos:e.lngLat}),this.updateUIClasses({mouse:f.MOVE})},ee.startOnActiveFeature=function(t,e){this.stopExtendedInteractions(t),this.map.dragPan.disable(),this.doRender(e.featureTarget.properties.id),t.canDragMove=!0,t.dragMoveLocation=e.lngLat},ee.clickOnFeature=function(t,e){var r=this;kt.disable(this),this.stopExtendedInteractions(t);var n=ft(e),i=this.getSelectedIds(),o=e.featureTarget.properties.id,a=this.isSelected(o);if(!n&&a&&this.getFeature(o).type!==p.POINT)return this.changeMode(m.DIRECT_SELECT,{featureId:o});a&&n?(this.deselect(o),this.updateUIClasses({mouse:f.POINTER}),1===i.length&&kt.enable(this)):!a&&n?(this.select(o),this.updateUIClasses({mouse:f.MOVE})):a||n||(i.forEach((function(t){return r.doRender(t)})),this.setSelected(o),this.updateUIClasses({mouse:f.MOVE})),this.doRender(o)},ee.onMouseDown=function(t,e){return st(e)?this.startOnActiveFeature(t,e):this.drawConfig.boxSelect&&at(e)?this.startBoxSelect(t,e):void 0},ee.startBoxSelect=function(t,e){this.stopExtendedInteractions(t),this.map.dragPan.disable(),t.boxSelectStartLocation=bt(e.originalEvent,this.map.getContainer()),t.canBoxSelect=!0},ee.onTouchStart=function(t,e){if(st(e))return this.startOnActiveFeature(t,e)},ee.onDrag=function(t,e){return t.canDragMove?this.dragMove(t,e):this.drawConfig.boxSelect&&t.canBoxSelect?this.whileBoxSelect(t,e):void 0},ee.whileBoxSelect=function(t,e){t.boxSelecting=!0,this.updateUIClasses({mouse:f.ADD}),t.boxSelectElement||(t.boxSelectElement=document.createElement("div"),t.boxSelectElement.classList.add(l.BOX_SELECT),this.map.getContainer().appendChild(t.boxSelectElement));var r=bt(e.originalEvent,this.map.getContainer()),n=Math.min(t.boxSelectStartLocation.x,r.x),i=Math.max(t.boxSelectStartLocation.x,r.x),o=Math.min(t.boxSelectStartLocation.y,r.y),a=Math.max(t.boxSelectStartLocation.y,r.y),s="translate("+n+"px, "+o+"px)";t.boxSelectElement.style.transform=s,t.boxSelectElement.style.WebkitTransform=s,t.boxSelectElement.style.width=i-n+"px",t.boxSelectElement.style.height=a-o+"px"},ee.dragMove=function(t,e){t.dragMoving=!0,e.originalEvent.stopPropagation();var r={lng:e.lngLat.lng-t.dragMoveLocation.lng,lat:e.lngLat.lat-t.dragMoveLocation.lat};te(this.getSelected(),r),t.dragMoveLocation=e.lngLat},ee.onTouchEnd=ee.onMouseUp=function(t,e){var r=this;if(t.dragMoving)this.fireUpdate();else if(t.boxSelecting){var n=[t.boxSelectStartLocation,bt(e.originalEvent,this.map.getContainer())],i=this.featuresAt(null,n,"click"),o=this.getUniqueIds(i).filter((function(t){return!r.isSelected(t)}));o.length&&(this.select(o),o.forEach((function(t){return r.doRender(t)})),this.updateUIClasses({mouse:f.MOVE}))}this.stopExtendedInteractions(t)},ee.toDisplayFeatures=function(t,e,r){e.properties.active=this.isSelected(e.properties.id)?b.ACTIVE:b.INACTIVE,r(e),this.fireActionable(),e.properties.active===b.ACTIVE&&e.geometry.type!==p.POINT&&xt(e).forEach(r)},ee.onTrash=function(){this.deleteFeature(this.getSelectedIds()),this.fireActionable()},ee.onCombineFeatures=function(){var t=this.getSelected();if(!(0===t.length||t.length<2)){for(var e=[],r=[],n=t[0].type.replace("Multi",""),i=0;i<t.length;i++){var o=t[i];if(o.type.replace("Multi","")!==n)return;o.type.includes("Multi")?o.getCoordinates().forEach((function(t){e.push(t)})):e.push(o.getCoordinates()),r.push(o.toGeoJSON())}if(r.length>1){var a=this.newFeature({type:p.FEATURE,properties:r[0].properties,geometry:{type:"Multi"+n,coordinates:e}});this.addFeature(a),this.deleteFeature(this.getSelectedIds(),{silent:!0}),this.setSelected([a.id]),this.map.fire(g.COMBINE_FEATURES,{createdFeatures:[a.toGeoJSON()],deletedFeatures:r})}this.fireActionable()}},ee.onUncombineFeatures=function(){var t=this,e=this.getSelected();if(0!==e.length){for(var r=[],n=[],i=function(i){var o=e[i];t.isInstanceOf("MultiFeature",o)&&(o.getFeatures().forEach((function(e){t.addFeature(e),e.properties=o.properties,r.push(e.toGeoJSON()),t.select([e.id])})),t.deleteFeature(o.id,{silent:!0}),n.push(o.toGeoJSON()))},o=0;o<e.length;o++)i(o);r.length>1&&this.map.fire(g.UNCOMBINE_FEATURES,{createdFeatures:r,deletedFeatures:n}),this.fireActionable()}};var re=ot(v.VERTEX),ne=ot(v.MIDPOINT),ie={fireUpdate:function(){this.map.fire(g.UPDATE,{action:y.CHANGE_COORDINATES,features:this.getSelected().map((function(t){return t.toGeoJSON()}))})},fireActionable:function(t){this.setActionableState({combineFeatures:!1,uncombineFeatures:!1,trash:t.selectedCoordPaths.length>0})},startDragging:function(t,e){this.map.dragPan.disable(),t.canDragMove=!0,t.dragMoveLocation=e.lngLat},stopDragging:function(t){this.map.dragPan.enable(),t.dragMoving=!1,t.canDragMove=!1,t.dragMoveLocation=null},onVertex:function(t,e){this.startDragging(t,e);var r=e.featureTarget.properties,n=t.selectedCoordPaths.indexOf(r.coord_path);ft(e)||-1!==n?ft(e)&&-1===n&&t.selectedCoordPaths.push(r.coord_path):t.selectedCoordPaths=[r.coord_path];var i=this.pathsToCoordinates(t.featureId,t.selectedCoordPaths);this.setSelectedCoordinates(i)},onMidpoint:function(t,e){this.startDragging(t,e);var r=e.featureTarget.properties;t.feature.addCoordinate(r.coord_path,r.lng,r.lat),this.fireUpdate(),t.selectedCoordPaths=[r.coord_path]},pathsToCoordinates:function(t,e){return e.map((function(e){return{feature_id:t,coord_path:e}}))},onFeature:function(t,e){0===t.selectedCoordPaths.length?this.startDragging(t,e):this.stopDragging(t)},dragFeature:function(t,e,r){te(this.getSelected(),r),t.dragMoveLocation=e.lngLat},dragVertex:function(t,e,r){for(var n=t.selectedCoordPaths.map((function(e){return t.feature.getCoordinate(e)})),i=Qt(n.map((function(t){return{type:p.FEATURE,properties:{},geometry:{type:p.POINT,coordinates:t}}})),r),o=0;o<n.length;o++){var a=n[o];t.feature.updateCoordinate(t.selectedCoordPaths[o],a[0]+i.lng,a[1]+i.lat)}},clickNoTarget:function(){this.changeMode(m.SIMPLE_SELECT)},clickInactive:function(){this.changeMode(m.SIMPLE_SELECT)},clickActiveFeature:function(t){t.selectedCoordPaths=[],this.clearSelectedCoordinates(),t.feature.changed()},onSetup:function(t){var e=t.featureId,r=this.getFeature(e);if(!r)throw new Error("You must provide a featureId to enter direct_select mode");if(r.type===p.POINT)throw new TypeError("direct_select mode doesn't handle point features");var n={featureId:e,feature:r,dragMoveLocation:t.startPos||null,dragMoving:!1,canDragMove:!1,selectedCoordPaths:t.coordPath?[t.coordPath]:[]};return this.setSelectedCoordinates(this.pathsToCoordinates(e,n.selectedCoordPaths)),this.setSelected(e),kt.disable(this),this.setActionableState({trash:!0}),n},onStop:function(){kt.enable(this),this.clearSelectedCoordinates()},toDisplayFeatures:function(t,e,r){t.featureId===e.properties.id?(e.properties.active=b.ACTIVE,r(e),xt(e,{map:this.map,midpoints:!0,selectedPaths:t.selectedCoordPaths}).forEach(r)):(e.properties.active=b.INACTIVE,r(e)),this.fireActionable(t)},onTrash:function(t){t.selectedCoordPaths.sort((function(t,e){return e.localeCompare(t,"en",{numeric:!0})})).forEach((function(e){return t.feature.removeCoordinate(e)})),this.fireUpdate(),t.selectedCoordPaths=[],this.clearSelectedCoordinates(),this.fireActionable(t),!1===t.feature.isValid()&&(this.deleteFeature([t.featureId]),this.changeMode(m.SIMPLE_SELECT,{}))},onMouseMove:function(t,e){var r=st(e),n=re(e),i=ne(e),o=0===t.selectedCoordPaths.length;return r&&o||n&&!o?this.updateUIClasses({mouse:f.MOVE}):this.updateUIClasses({mouse:f.NONE}),(n||r||i)&&t.dragMoving&&this.fireUpdate(),this.stopDragging(t),!0},onMouseOut:function(t){return t.dragMoving&&this.fireUpdate(),!0}};ie.onTouchStart=ie.onMouseDown=function(t,e){return re(e)?this.onVertex(t,e):st(e)?this.onFeature(t,e):ne(e)?this.onMidpoint(t,e):void 0},ie.onDrag=function(t,e){if(!0===t.canDragMove){t.dragMoving=!0,e.originalEvent.stopPropagation();var r={lng:e.lngLat.lng-t.dragMoveLocation.lng,lat:e.lngLat.lat-t.dragMoveLocation.lat};t.selectedCoordPaths.length>0?this.dragVertex(t,e,r):this.dragFeature(t,e,r),t.dragMoveLocation=e.lngLat}},ie.onClick=function(t,e){return ct(e)?this.clickNoTarget(t,e):st(e)?this.clickActiveFeature(t,e):ut(e)?this.clickInactive(t,e):void this.stopDragging(t)},ie.onTap=function(t,e){return ct(e)?this.clickNoTarget(t,e):st(e)?this.clickActiveFeature(t,e):ut(e)?this.clickInactive(t,e):void 0},ie.onTouchEnd=ie.onMouseUp=function(t){t.dragMoving&&this.fireUpdate(),this.stopDragging(t)};var oe={};function ae(t,e){return!!t.lngLat&&t.lngLat.lng===e[0]&&t.lngLat.lat===e[1]}oe.onSetup=function(){var t=this.newFeature({type:p.FEATURE,properties:{},geometry:{type:p.POINT,coordinates:[]}});return this.addFeature(t),this.clearSelectedFeatures(),this.updateUIClasses({mouse:f.ADD}),this.activateUIButton(d.POINT),this.setActionableState({trash:!0}),{point:t}},oe.stopDrawingAndRemove=function(t){this.deleteFeature([t.point.id],{silent:!0}),this.changeMode(m.SIMPLE_SELECT)},oe.onTap=oe.onClick=function(t,e){this.updateUIClasses({mouse:f.MOVE}),t.point.updateCoordinate("",e.lngLat.lng,e.lngLat.lat),this.map.fire(g.CREATE,{features:[t.point.toGeoJSON()]}),this.changeMode(m.SIMPLE_SELECT,{featureIds:[t.point.id]})},oe.onStop=function(t){this.activateUIButton(),t.point.getCoordinate().length||this.deleteFeature([t.point.id],{silent:!0})},oe.toDisplayFeatures=function(t,e,r){var n=e.properties.id===t.point.id;if(e.properties.active=n?b.ACTIVE:b.INACTIVE,!n)return r(e)},oe.onTrash=oe.stopDrawingAndRemove,oe.onKeyUp=function(t,e){if(dt(e)||pt(e))return this.stopDrawingAndRemove(t,e)};var se={onSetup:function(){var t=this.newFeature({type:p.FEATURE,properties:{},geometry:{type:p.POLYGON,coordinates:[[]]}});return this.addFeature(t),this.clearSelectedFeatures(),kt.disable(this),this.updateUIClasses({mouse:f.ADD}),this.activateUIButton(d.POLYGON),this.setActionableState({trash:!0}),{polygon:t,currentVertexPosition:0}},clickAnywhere:function(t,e){if(t.currentVertexPosition>0&&ae(e,t.polygon.coordinates[0][t.currentVertexPosition-1]))return this.changeMode(m.SIMPLE_SELECT,{featureIds:[t.polygon.id]});this.updateUIClasses({mouse:f.ADD}),t.polygon.updateCoordinate("0."+t.currentVertexPosition,e.lngLat.lng,e.lngLat.lat),t.currentVertexPosition++,t.polygon.updateCoordinate("0."+t.currentVertexPosition,e.lngLat.lng,e.lngLat.lat)},clickOnVertex:function(t){return this.changeMode(m.SIMPLE_SELECT,{featureIds:[t.polygon.id]})},onMouseMove:function(t,e){t.polygon.updateCoordinate("0."+t.currentVertexPosition,e.lngLat.lng,e.lngLat.lat),ht(e)&&this.updateUIClasses({mouse:f.POINTER})}};se.onTap=se.onClick=function(t,e){return ht(e)?this.clickOnVertex(t,e):this.clickAnywhere(t,e)},se.onKeyUp=function(t,e){dt(e)?(this.deleteFeature([t.polygon.id],{silent:!0}),this.changeMode(m.SIMPLE_SELECT)):pt(e)&&this.changeMode(m.SIMPLE_SELECT,{featureIds:[t.polygon.id]})},se.onStop=function(t){this.updateUIClasses({mouse:f.NONE}),kt.enable(this),this.activateUIButton(),void 0!==this.getFeature(t.polygon.id)&&(t.polygon.removeCoordinate("0."+t.currentVertexPosition),t.polygon.isValid()?this.map.fire(g.CREATE,{features:[t.polygon.toGeoJSON()]}):(this.deleteFeature([t.polygon.id],{silent:!0}),this.changeMode(m.SIMPLE_SELECT,{},{silent:!0})))},se.toDisplayFeatures=function(t,e,r){var n=e.properties.id===t.polygon.id;if(e.properties.active=n?b.ACTIVE:b.INACTIVE,!n)return r(e);if(0!==e.geometry.coordinates.length){var i=e.geometry.coordinates[0].length;if(!(i<3)){if(e.properties.meta=v.FEATURE,r(_t(t.polygon.id,e.geometry.coordinates[0][0],"0.0",!1)),i>3){var o=e.geometry.coordinates[0].length-3;r(_t(t.polygon.id,e.geometry.coordinates[0][o],"0."+o,!1))}if(i<=4){var a=[[e.geometry.coordinates[0][0][0],e.geometry.coordinates[0][0][1]],[e.geometry.coordinates[0][1][0],e.geometry.coordinates[0][1][1]]];if(r({type:p.FEATURE,properties:e.properties,geometry:{coordinates:a,type:p.LINE_STRING}}),3===i)return}return r(e)}}},se.onTrash=function(t){this.deleteFeature([t.polygon.id],{silent:!0}),this.changeMode(m.SIMPLE_SELECT)};var ue={onSetup:function(t){var e,r,n=(t=t||{}).featureId,i="forward";if(n){if(!(e=this.getFeature(n)))throw new Error("Could not find a feature with the provided featureId");var o=t.from;if(o&&"Feature"===o.type&&o.geometry&&"Point"===o.geometry.type&&(o=o.geometry),o&&"Point"===o.type&&o.coordinates&&2===o.coordinates.length&&(o=o.coordinates),!o||!Array.isArray(o))throw new Error("Please use the `from` property to indicate which point to continue the line from");var a=e.coordinates.length-1;if(e.coordinates[a][0]===o[0]&&e.coordinates[a][1]===o[1])r=a+1,e.addCoordinate.apply(e,[r].concat(e.coordinates[a]));else{if(e.coordinates[0][0]!==o[0]||e.coordinates[0][1]!==o[1])throw new Error("`from` should match the point at either the start or the end of the provided LineString");i="backwards",r=0,e.addCoordinate.apply(e,[r].concat(e.coordinates[0]))}}else e=this.newFeature({type:p.FEATURE,properties:{},geometry:{type:p.LINE_STRING,coordinates:[]}}),r=0,this.addFeature(e);return this.clearSelectedFeatures(),kt.disable(this),this.updateUIClasses({mouse:f.ADD}),this.activateUIButton(d.LINE),this.setActionableState({trash:!0}),{line:e,currentVertexPosition:r,direction:i}},clickAnywhere:function(t,e){if(t.currentVertexPosition>0&&ae(e,t.line.coordinates[t.currentVertexPosition-1])||"backwards"===t.direction&&ae(e,t.line.coordinates[t.currentVertexPosition+1]))return this.changeMode(m.SIMPLE_SELECT,{featureIds:[t.line.id]});this.updateUIClasses({mouse:f.ADD}),t.line.updateCoordinate(t.currentVertexPosition,e.lngLat.lng,e.lngLat.lat),"forward"===t.direction?(t.currentVertexPosition++,t.line.updateCoordinate(t.currentVertexPosition,e.lngLat.lng,e.lngLat.lat)):t.line.addCoordinate(0,e.lngLat.lng,e.lngLat.lat)},clickOnVertex:function(t){return this.changeMode(m.SIMPLE_SELECT,{featureIds:[t.line.id]})},onMouseMove:function(t,e){t.line.updateCoordinate(t.currentVertexPosition,e.lngLat.lng,e.lngLat.lat),ht(e)&&this.updateUIClasses({mouse:f.POINTER})}};ue.onTap=ue.onClick=function(t,e){if(ht(e))return this.clickOnVertex(t,e);this.clickAnywhere(t,e)},ue.onKeyUp=function(t,e){pt(e)?this.changeMode(m.SIMPLE_SELECT,{featureIds:[t.line.id]}):dt(e)&&(this.deleteFeature([t.line.id],{silent:!0}),this.changeMode(m.SIMPLE_SELECT))},ue.onStop=function(t){kt.enable(this),this.activateUIButton(),void 0!==this.getFeature(t.line.id)&&(t.line.removeCoordinate(""+t.currentVertexPosition),t.line.isValid()?this.map.fire(g.CREATE,{features:[t.line.toGeoJSON()]}):(this.deleteFeature([t.line.id],{silent:!0}),this.changeMode(m.SIMPLE_SELECT,{},{silent:!0})))},ue.onTrash=function(t){this.deleteFeature([t.line.id],{silent:!0}),this.changeMode(m.SIMPLE_SELECT)},ue.toDisplayFeatures=function(t,e,r){var n=e.properties.id===t.line.id;if(e.properties.active=n?b.ACTIVE:b.INACTIVE,!n)return r(e);e.geometry.coordinates.length<2||(e.properties.meta=v.FEATURE,r(_t(t.line.id,e.geometry.coordinates["forward"===t.direction?e.geometry.coordinates.length-2:1],""+("forward"===t.direction?e.geometry.coordinates.length-2:1),!1)),r(e))};var ce={simple_select:ee,direct_select:ie,draw_point:oe,draw_polygon:se,draw_line_string:ue},le={defaultMode:m.SIMPLE_SELECT,keybindings:!0,touchEnabled:!0,clickBuffer:2,touchBuffer:25,boxSelect:!0,displayControlsDefault:!0,styles:it,modes:ce,controls:{},userProperties:!1},he={point:!0,line_string:!0,polygon:!0,trash:!0,combine_features:!0,uncombine_features:!0},fe={point:!1,line_string:!1,polygon:!1,trash:!1,combine_features:!1,uncombine_features:!1};function de(t,e){return t.map((function(t){return t.source?t:et(t,{id:t.id+"."+e,source:"hot"===e?h.HOT:h.COLD})}))}var pe={exports:{}};!function(t,r){var n="__lodash_hash_undefined__",i=9007199254740991,o="[object Arguments]",a="[object Array]",s="[object Boolean]",u="[object Date]",c="[object Error]",l="[object Function]",h="[object Map]",f="[object Number]",d="[object Object]",p="[object Promise]",m="[object RegExp]",g="[object Set]",y="[object String]",v="[object Symbol]",b="[object WeakMap]",_="[object ArrayBuffer]",w="[object DataView]",x=/^\[object .+?Constructor\]$/,k=/^(?:0|[1-9]\d*)$/,S={};S["[object Float32Array]"]=S["[object Float64Array]"]=S["[object Int8Array]"]=S["[object Int16Array]"]=S["[object Int32Array]"]=S["[object Uint8Array]"]=S["[object Uint8ClampedArray]"]=S["[object Uint16Array]"]=S["[object Uint32Array]"]=!0,S[o]=S[a]=S[_]=S[s]=S[w]=S[u]=S[c]=S[l]=S[h]=S[f]=S[d]=S[m]=S[g]=S[y]=S[b]=!1;var E="object"==typeof e&&e&&e.Object===Object&&e,M="object"==typeof self&&self&&self.Object===Object&&self,A=E||M||Function("return this")(),T=r&&!r.nodeType&&r,C=T&&t&&!t.nodeType&&t,L=C&&C.exports===T,P=L&&E.process,O=function(){try{return P&&P.binding&&P.binding("util")}catch(t){}}(),I=O&&O.isTypedArray;function D(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}function B(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r}function j(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r}var N,R,F,Y=Array.prototype,U=Function.prototype,H=Object.prototype,z=A["__core-js_shared__"],V=U.toString,$=H.hasOwnProperty,q=(N=/[^.]+$/.exec(z&&z.keys&&z.keys.IE_PROTO||""))?"Symbol(src)_1."+N:"",G=H.toString,W=RegExp("^"+V.call($).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),K=L?A.Buffer:void 0,X=A.Symbol,J=A.Uint8Array,Z=H.propertyIsEnumerable,Q=Y.splice,tt=X?X.toStringTag:void 0,et=Object.getOwnPropertySymbols,rt=K?K.isBuffer:void 0,nt=(R=Object.keys,F=Object,function(t){return R(F(t))}),it=Ot(A,"DataView"),ot=Ot(A,"Map"),at=Ot(A,"Promise"),st=Ot(A,"Set"),ut=Ot(A,"WeakMap"),ct=Ot(Object,"create"),lt=jt(it),ht=jt(ot),ft=jt(at),dt=jt(st),pt=jt(ut),mt=X?X.prototype:void 0,gt=mt?mt.valueOf:void 0;function yt(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function vt(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function bt(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function _t(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new bt;++e<r;)this.add(t[e])}function wt(t){var e=this.__data__=new vt(t);this.size=e.size}function xt(t,e){var r=Ft(t),n=!r&&Rt(t),i=!r&&!n&&Yt(t),o=!r&&!n&&!i&&$t(t),a=r||n||i||o,s=a?function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}(t.length,String):[],u=s.length;for(var c in t)!e&&!$.call(t,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Bt(c,u))||s.push(c);return s}function kt(t,e){for(var r=t.length;r--;)if(Nt(t[r][0],e))return r;return-1}function St(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":tt&&tt in Object(t)?function(t){var e=$.call(t,tt),r=t[tt];try{t[tt]=void 0;var n=!0}catch(t){}var i=G.call(t);return n&&(e?t[tt]=r:delete t[tt]),i}(t):function(t){return G.call(t)}(t)}function Et(t){return Vt(t)&&St(t)==o}function Mt(t,e,r,n,i){return t===e||(null==t||null==e||!Vt(t)&&!Vt(e)?t!=t&&e!=e:function(t,e,r,n,i,l){var p=Ft(t),b=Ft(e),x=p?a:Dt(t),k=b?a:Dt(e),S=(x=x==o?d:x)==d,E=(k=k==o?d:k)==d,M=x==k;if(M&&Yt(t)){if(!Yt(e))return!1;p=!0,S=!1}if(M&&!S)return l||(l=new wt),p||$t(t)?Ct(t,e,r,n,i,l):function(t,e,r,n,i,o,a){switch(r){case w:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case _:return!(t.byteLength!=e.byteLength||!o(new J(t),new J(e)));case s:case u:case f:return Nt(+t,+e);case c:return t.name==e.name&&t.message==e.message;case m:case y:return t==e+"";case h:var l=B;case g:var d=1&n;if(l||(l=j),t.size!=e.size&&!d)return!1;var p=a.get(t);if(p)return p==e;n|=2,a.set(t,e);var b=Ct(l(t),l(e),n,i,o,a);return a.delete(t),b;case v:if(gt)return gt.call(t)==gt.call(e)}return!1}(t,e,x,r,n,i,l);if(!(1&r)){var A=S&&$.call(t,"__wrapped__"),T=E&&$.call(e,"__wrapped__");if(A||T){var C=A?t.value():t,L=T?e.value():e;return l||(l=new wt),i(C,L,r,n,l)}}return!!M&&(l||(l=new wt),function(t,e,r,n,i,o){var a=1&r,s=Lt(t),u=s.length,c=Lt(e).length;if(u!=c&&!a)return!1;for(var l=u;l--;){var h=s[l];if(!(a?h in e:$.call(e,h)))return!1}var f=o.get(t);if(f&&o.get(e))return f==e;var d=!0;o.set(t,e),o.set(e,t);for(var p=a;++l<u;){var m=t[h=s[l]],g=e[h];if(n)var y=a?n(g,m,h,e,t,o):n(m,g,h,t,e,o);if(!(void 0===y?m===g||i(m,g,r,n,o):y)){d=!1;break}p||(p="constructor"==h)}if(d&&!p){var v=t.constructor,b=e.constructor;v==b||!("constructor"in t)||!("constructor"in e)||"function"==typeof v&&v instanceof v&&"function"==typeof b&&b instanceof b||(d=!1)}return o.delete(t),o.delete(e),d}(t,e,r,n,i,l))}(t,e,r,n,Mt,i))}function At(t){return!(!zt(t)||function(t){return!!q&&q in t}(t))&&(Ut(t)?W:x).test(jt(t))}function Tt(t){if(r=(e=t)&&e.constructor,n="function"==typeof r&&r.prototype||H,e!==n)return nt(t);var e,r,n,i=[];for(var o in Object(t))$.call(t,o)&&"constructor"!=o&&i.push(o);return i}function Ct(t,e,r,n,i,o){var a=1&r,s=t.length,u=e.length;if(s!=u&&!(a&&u>s))return!1;var c=o.get(t);if(c&&o.get(e))return c==e;var l=-1,h=!0,f=2&r?new _t:void 0;for(o.set(t,e),o.set(e,t);++l<s;){var d=t[l],p=e[l];if(n)var m=a?n(p,d,l,e,t,o):n(d,p,l,t,e,o);if(void 0!==m){if(m)continue;h=!1;break}if(f){if(!D(e,(function(t,e){if(a=e,!f.has(a)&&(d===t||i(d,t,r,n,o)))return f.push(e);var a}))){h=!1;break}}else if(d!==p&&!i(d,p,r,n,o)){h=!1;break}}return o.delete(t),o.delete(e),h}function Lt(t){return function(t,e,r){var n=e(t);return Ft(t)?n:function(t,e){for(var r=-1,n=e.length,i=t.length;++r<n;)t[i+r]=e[r];return t}(n,r(t))}(t,qt,It)}function Pt(t,e){var r,n,i=t.__data__;return("string"==(n=typeof(r=e))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?i["string"==typeof e?"string":"hash"]:i.map}function Ot(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return At(r)?r:void 0}yt.prototype.clear=function(){this.__data__=ct?ct(null):{},this.size=0},yt.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},yt.prototype.get=function(t){var e=this.__data__;if(ct){var r=e[t];return r===n?void 0:r}return $.call(e,t)?e[t]:void 0},yt.prototype.has=function(t){var e=this.__data__;return ct?void 0!==e[t]:$.call(e,t)},yt.prototype.set=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=ct&&void 0===e?n:e,this},vt.prototype.clear=function(){this.__data__=[],this.size=0},vt.prototype.delete=function(t){var e=this.__data__,r=kt(e,t);return!(r<0)&&(r==e.length-1?e.pop():Q.call(e,r,1),--this.size,!0)},vt.prototype.get=function(t){var e=this.__data__,r=kt(e,t);return r<0?void 0:e[r][1]},vt.prototype.has=function(t){return kt(this.__data__,t)>-1},vt.prototype.set=function(t,e){var r=this.__data__,n=kt(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this},bt.prototype.clear=function(){this.size=0,this.__data__={hash:new yt,map:new(ot||vt),string:new yt}},bt.prototype.delete=function(t){var e=Pt(this,t).delete(t);return this.size-=e?1:0,e},bt.prototype.get=function(t){return Pt(this,t).get(t)},bt.prototype.has=function(t){return Pt(this,t).has(t)},bt.prototype.set=function(t,e){var r=Pt(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this},_t.prototype.add=_t.prototype.push=function(t){return this.__data__.set(t,n),this},_t.prototype.has=function(t){return this.__data__.has(t)},wt.prototype.clear=function(){this.__data__=new vt,this.size=0},wt.prototype.delete=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r},wt.prototype.get=function(t){return this.__data__.get(t)},wt.prototype.has=function(t){return this.__data__.has(t)},wt.prototype.set=function(t,e){var r=this.__data__;if(r instanceof vt){var n=r.__data__;if(!ot||n.length<199)return n.push([t,e]),this.size=++r.size,this;r=this.__data__=new bt(n)}return r.set(t,e),this.size=r.size,this};var It=et?function(t){return null==t?[]:(t=Object(t),function(t,e){for(var r=-1,n=null==t?0:t.length,i=0,o=[];++r<n;){var a=t[r];e(a,r,t)&&(o[i++]=a)}return o}(et(t),(function(e){return Z.call(t,e)})))}:function(){return[]},Dt=St;function Bt(t,e){return!!(e=null==e?i:e)&&("number"==typeof t||k.test(t))&&t>-1&&t%1==0&&t<e}function jt(t){if(null!=t){try{return V.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Nt(t,e){return t===e||t!=t&&e!=e}(it&&Dt(new it(new ArrayBuffer(1)))!=w||ot&&Dt(new ot)!=h||at&&Dt(at.resolve())!=p||st&&Dt(new st)!=g||ut&&Dt(new ut)!=b)&&(Dt=function(t){var e=St(t),r=e==d?t.constructor:void 0,n=r?jt(r):"";if(n)switch(n){case lt:return w;case ht:return h;case ft:return p;case dt:return g;case pt:return b}return e});var Rt=Et(function(){return arguments}())?Et:function(t){return Vt(t)&&$.call(t,"callee")&&!Z.call(t,"callee")},Ft=Array.isArray,Yt=rt||function(){return!1};function Ut(t){if(!zt(t))return!1;var e=St(t);return e==l||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}function Ht(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=i}function zt(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Vt(t){return null!=t&&"object"==typeof t}var $t=I?function(t){return function(e){return t(e)}}(I):function(t){return Vt(t)&&Ht(t.length)&&!!S[St(t)]};function qt(t){return null!=(e=t)&&Ht(e.length)&&!Ut(e)?xt(t):Tt(t);var e}t.exports=function(t,e){return Mt(t,e)}}(pe,pe.exports);var me=r(pe.exports);function ge(t,e){return t.length===e.length&&JSON.stringify(t.map((function(t){return t})).sort())===JSON.stringify(e.map((function(t){return t})).sort())}var ye={Polygon:U,LineString:Y,Point:F,MultiPolygon:V,MultiLineString:V,MultiPoint:V},ve=Object.freeze({__proto__:null,CommonSelectors:mt,constrainFeatureMovement:Qt,createMidPoint:wt,createSupplementaryPoints:xt,createVertex:_t,doubleClickZoom:kt,euclideanDistance:O,featuresAt:C,getFeatureAtAndSetCursors:P,isClick:I,isEventAtCoordinates:ae,isTap:D,mapEventToBoundingBox:M,ModeHandler:t,moveFeatures:te,sortFeatures:E,stringSetsAreEqual:ge,StringSet:A,theme:it,toDenseArray:K}),be=function(t,e){var r={options:t=function(t){void 0===t&&(t={});var e=et(t);return t.controls||(e.controls={}),!1===t.displayControlsDefault?e.controls=et(fe,t.controls):e.controls=et(he,t.controls),(e=et(le,e)).styles=de(e.styles,"cold").concat(de(e.styles,"hot")),e}(t)};e=function(t,e){return e.modes=m,e.getFeatureIdsAt=function(e){return C.click({point:e},null,t).map((function(t){return t.properties.id}))},e.getSelectedIds=function(){return t.store.getSelectedIds()},e.getSelected=function(){return{type:p.FEATURE_COLLECTION,features:t.store.getSelectedIds().map((function(e){return t.store.get(e)})).map((function(t){return t.toGeoJSON()}))}},e.getSelectedPoints=function(){return{type:p.FEATURE_COLLECTION,features:t.store.getSelectedCoordinates().map((function(t){return{type:p.FEATURE,properties:{},geometry:{type:p.POINT,coordinates:t.coordinates}}}))}},e.set=function(r){if(void 0===r.type||r.type!==p.FEATURE_COLLECTION||!Array.isArray(r.features))throw new Error("Invalid FeatureCollection");var n=t.store.createRenderBatch(),i=t.store.getAllIds().slice(),o=e.add(r),a=new A(o);return(i=i.filter((function(t){return!a.has(t)}))).length&&e.delete(i),n(),o},e.add=function(e){var r=JSON.parse(JSON.stringify(At(e))).features.map((function(e){if(e.id=e.id||N(),null===e.geometry)throw new Error("Invalid geometry: null");if(void 0===t.store.get(e.id)||t.store.get(e.id).type!==e.geometry.type){var r=ye[e.geometry.type];if(void 0===r)throw new Error("Invalid geometry type: "+e.geometry.type+".");var n=new r(t,e);t.store.add(n)}else{var i=t.store.get(e.id);i.properties=e.properties,me(i.properties,e.properties)||t.store.featureChanged(i.id),me(i.getCoordinates(),e.geometry.coordinates)||i.incomingCoords(e.geometry.coordinates)}return e.id}));return t.store.render(),r},e.get=function(e){var r=t.store.get(e);if(r)return r.toGeoJSON()},e.getAll=function(){return{type:p.FEATURE_COLLECTION,features:t.store.getAll().map((function(t){return t.toGeoJSON()}))}},e.delete=function(r){return t.store.delete(r,{silent:!0}),e.getMode()!==m.DIRECT_SELECT||t.store.getSelectedIds().length?t.store.render():t.events.changeMode(m.SIMPLE_SELECT,void 0,{silent:!0}),e},e.deleteAll=function(){return t.store.delete(t.store.getAllIds(),{silent:!0}),e.getMode()===m.DIRECT_SELECT?t.events.changeMode(m.SIMPLE_SELECT,void 0,{silent:!0}):t.store.render(),e},e.changeMode=function(r,n){return void 0===n&&(n={}),r===m.SIMPLE_SELECT&&e.getMode()===m.SIMPLE_SELECT?(ge(n.featureIds||[],t.store.getSelectedIds())||(t.store.setSelected(n.featureIds,{silent:!0}),t.store.render()),e):(r===m.DIRECT_SELECT&&e.getMode()===m.DIRECT_SELECT&&n.featureId===t.store.getSelectedIds()[0]||t.events.changeMode(r,n,{silent:!0}),e)},e.getMode=function(){return t.events.getMode()},e.trash=function(){return t.events.trash({silent:!0}),e},e.combineFeatures=function(){return t.events.combineFeatures({silent:!0}),e},e.uncombineFeatures=function(){return t.events.uncombineFeatures({silent:!0}),e},e.setFeatureProperty=function(r,n,i){return t.store.setFeatureProperty(r,n,i),e},e}(r,e),r.api=e;var n=nt(r);return e.onAdd=n.onAdd,e.onRemove=n.onRemove,e.types=d,e.options=t,e};function _e(t){be(t,this)}return _e.modes=ce,_e.constants=x,_e.lib=ve,_e}))}).call(this,r("c8ba"))},cc20:function(t,e,r){"use strict";r("8adc");var n=r("58df"),i=r("0789"),o=r("9d26"),a=r("a9ad"),s=r("4e82"),u=r("7560"),c=r("f2e7"),l=r("1c87"),h=r("af2b"),f=r("d9bd"),d=r("80d2");e["a"]=Object(n["a"])(a["a"],h["a"],l["a"],u["a"],Object(s["a"])("chipGroup"),Object(c["b"])("inputValue")).extend({name:"v-chip",props:{active:{type:Boolean,default:!0},activeClass:{type:String,default(){return this.chipGroup?this.chipGroup.activeClass:""}},close:Boolean,closeIcon:{type:String,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},disabled:Boolean,draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:Boolean,outlined:Boolean,pill:Boolean,tag:{type:String,default:"span"},textColor:String,value:null},data:()=>({proxyClass:"v-chip--active"}),computed:{classes(){return{"v-chip":!0,...l["a"].options.computed.classes.call(this),"v-chip--clickable":this.isClickable,"v-chip--disabled":this.disabled,"v-chip--draggable":this.draggable,"v-chip--label":this.label,"v-chip--link":this.isLink,"v-chip--no-color":!this.color,"v-chip--outlined":this.outlined,"v-chip--pill":this.pill,"v-chip--removable":this.hasClose,...this.themeClasses,...this.sizeableClasses,...this.groupClasses}},hasClose(){return Boolean(this.close)},isClickable(){return Boolean(l["a"].options.computed.isClickable.call(this)||this.chipGroup)}},created(){const t=[["outline","outlined"],["selected","input-value"],["value","active"],["@input","@active.sync"]];t.forEach(([t,e])=>{this.$attrs.hasOwnProperty(t)&&Object(f["a"])(t,e,this)})},methods:{click(t){this.$emit("click",t),this.chipGroup&&this.toggle()},genFilter(){const t=[];return this.isActive&&t.push(this.$createElement(o["b"],{staticClass:"v-chip__filter",props:{left:!0}},this.filterIcon)),this.$createElement(i["g"],t)},genClose(){return this.$createElement(o["b"],{staticClass:"v-chip__close",props:{right:!0,size:18},attrs:{"aria-label":this.$vuetify.lang.t(this.closeLabel)},on:{click:t=>{t.stopPropagation(),t.preventDefault(),this.$emit("click:close"),this.$emit("update:active",!1)}}},this.closeIcon)},genContent(){return this.$createElement("span",{staticClass:"v-chip__content"},[this.filter&&this.genFilter(),Object(d["u"])(this),this.hasClose&&this.genClose()])}},render(t){const e=[this.genContent()];let{tag:r,data:n}=this.generateRouteLink();n.attrs={...n.attrs,draggable:this.draggable?"true":void 0,tabindex:this.chipGroup&&!this.disabled?0:n.attrs.tabindex},n.directives.push({name:"show",value:this.active}),n=this.setBackgroundColor(this.color,n);const i=this.textColor||this.outlined&&this.color;return t(r,this.setTextColor(i,n),e)}})},cd55:function(t,e,r){"use strict";var n=r("4e82"),i=r("3206"),o=r("80d2"),a=r("58df");e["a"]=Object(a["a"])(Object(n["a"])("expansionPanels","v-expansion-panel","v-expansion-panels"),Object(i["b"])("expansionPanel",!0)).extend({name:"v-expansion-panel",props:{disabled:Boolean,readonly:Boolean},data(){return{content:null,header:null,nextIsActive:!1}},computed:{classes(){return{"v-expansion-panel--active":this.isActive,"v-expansion-panel--next-active":this.nextIsActive,"v-expansion-panel--disabled":this.isDisabled,...this.groupClasses}},isDisabled(){return this.expansionPanels.disabled||this.disabled},isReadonly(){return this.expansionPanels.readonly||this.readonly}},methods:{registerContent(t){this.content=t},unregisterContent(){this.content=null},registerHeader(t){this.header=t,t.$on("click",this.onClick)},unregisterHeader(){this.header=null},onClick(t){t.detail&&this.header.$el.blur(),this.$emit("click",t),this.isReadonly||this.isDisabled||this.toggle()},toggle(){this.$nextTick(()=>this.$emit("change"))}},render(t){return t("div",{staticClass:"v-expansion-panel",class:this.classes,attrs:{"aria-expanded":String(this.isActive)}},Object(o["u"])(this))}})},ce7e:function(t,e,r){"use strict";r("8ce9");var n=r("7560");e["a"]=n["a"].extend({name:"v-divider",props:{inset:Boolean,vertical:Boolean},render(t){let e;return this.$attrs.role&&"separator"!==this.$attrs.role||(e=this.vertical?"vertical":"horizontal"),t("hr",{class:{"v-divider":!0,"v-divider--inset":this.inset,"v-divider--vertical":this.vertical,...this.themeClasses},attrs:{role:"separator","aria-orientation":e,...this.$attrs},on:this.$listeners})}})},ce87:function(t,e,r){"use strict";var n=r("16b7"),i=r("f2e7"),o=r("58df"),a=r("d9bd");e["a"]=Object(o["a"])(n["a"],i["a"]).extend({name:"v-hover",props:{disabled:{type:Boolean,default:!1},value:{type:Boolean,default:void 0}},methods:{onMouseEnter(){this.runDelay("open")},onMouseLeave(){this.runDelay("close")}},render(){if(!this.$scopedSlots.default&&void 0===this.value)return Object(a["c"])("v-hover is missing a default scopedSlot or bound value",this),null;let t;return this.$scopedSlots.default&&(t=this.$scopedSlots.default({hover:this.isActive})),Array.isArray(t)&&1===t.length&&(t=t[0]),t&&!Array.isArray(t)&&t.tag?(this.disabled||(t.data=t.data||{},this._g(t.data,{mouseenter:this.onMouseEnter,mouseleave:this.onMouseLeave})),t):(Object(a["c"])("v-hover should only contain a single element",this),t)}})},ceaf:function(t,e,r){"use strict";var n=r("50de");function i(t,e,r={start:0,length:0}){const i=t=>{const[e,r,i]=t.trim().split(" ")[0].split("-");return[Object(n["a"])(e,4),Object(n["a"])(r||1),Object(n["a"])(i||1)].join("-")};try{const r=new Intl.DateTimeFormat(t||void 0,e);return t=>r.format(new Date(i(t)+"T00:00:00+00:00"))}catch(o){return r.start||r.length?t=>i(t).substr(r.start||0,r.length):void 0}}e["a"]=i},cee4:function(t,e,r){"use strict";var n={};r.r(n),r.d(n,"hasBrowserEnv",(function(){return w})),r.d(n,"hasStandardBrowserWebWorkerEnv",(function(){return S})),r.d(n,"hasStandardBrowserEnv",(function(){return k})),r.d(n,"navigator",(function(){return x})),r.d(n,"origin",(function(){return E}));var i=r("c532"),o=r("1d2b"),a=r("e467");function s(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}function u(t,e){this._pairs=[],t&&Object(a["a"])(t,this,e)}const c=u.prototype;c.append=function(t,e){this._pairs.push([t,e])},c.toString=function(t){const e=t?function(e){return t.call(this,e,s)}:s;return this._pairs.map((function(t){return e(t[0])+"="+e(t[1])}),"").join("&")};var l=u;function h(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function f(t,e,r){if(!e)return t;const n=r&&r.encode||h,o=r&&r.serialize;let a;if(a=o?o(e,r):i["a"].isURLSearchParams(e)?e.toString():new l(e,r).toString(n),a){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+a}return t}class d{constructor(){this.handlers=[]}use(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){i["a"].forEach(this.handlers,(function(e){null!==e&&t(e)}))}}var p=d,m=r("7917"),g={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},y="undefined"!==typeof URLSearchParams?URLSearchParams:l,v="undefined"!==typeof FormData?FormData:null,b="undefined"!==typeof Blob?Blob:null,_={isBrowser:!0,classes:{URLSearchParams:y,FormData:v,Blob:b},protocols:["http","https","file","blob","url","data"]};const w="undefined"!==typeof window&&"undefined"!==typeof document,x="object"===typeof navigator&&navigator||void 0,k=w&&(!x||["ReactNative","NativeScript","NS"].indexOf(x.product)<0),S=(()=>"undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"===typeof self.importScripts)(),E=w&&window.location.href||"http://localhost";var M={...n,..._};function A(t,e){return Object(a["a"])(t,new M.classes.URLSearchParams,Object.assign({visitor:function(t,e,r,n){return M.isNode&&i["a"].isBuffer(t)?(this.append(e,t.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},e))}function T(t){return i["a"].matchAll(/\w+|\[(\w*)]/g,t).map(t=>"[]"===t[0]?"":t[1]||t[0])}function C(t){const e={},r=Object.keys(t);let n;const i=r.length;let o;for(n=0;n<i;n++)o=r[n],e[o]=t[o];return e}function L(t){function e(t,r,n,o){let a=t[o++];if("__proto__"===a)return!0;const s=Number.isFinite(+a),u=o>=t.length;if(a=!a&&i["a"].isArray(n)?n.length:a,u)return i["a"].hasOwnProp(n,a)?n[a]=[n[a],r]:n[a]=r,!s;n[a]&&i["a"].isObject(n[a])||(n[a]=[]);const c=e(t,r,n[a],o);return c&&i["a"].isArray(n[a])&&(n[a]=C(n[a])),!s}if(i["a"].isFormData(t)&&i["a"].isFunction(t.entries)){const r={};return i["a"].forEachEntry(t,(t,n)=>{e(T(t),n,r,0)}),r}return null}var P=L;function O(t,e,r){if(i["a"].isString(t))try{return(e||JSON.parse)(t),i["a"].trim(t)}catch(n){if("SyntaxError"!==n.name)throw n}return(r||JSON.stringify)(t)}const I={transitional:g,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){const r=e.getContentType()||"",n=r.indexOf("application/json")>-1,o=i["a"].isObject(t);o&&i["a"].isHTMLForm(t)&&(t=new FormData(t));const s=i["a"].isFormData(t);if(s)return n?JSON.stringify(P(t)):t;if(i["a"].isArrayBuffer(t)||i["a"].isBuffer(t)||i["a"].isStream(t)||i["a"].isFile(t)||i["a"].isBlob(t)||i["a"].isReadableStream(t))return t;if(i["a"].isArrayBufferView(t))return t.buffer;if(i["a"].isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let u;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return A(t,this.formSerializer).toString();if((u=i["a"].isFileList(t))||r.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return Object(a["a"])(u?{"files[]":t}:t,e&&new e,this.formSerializer)}}return o||n?(e.setContentType("application/json",!1),O(t)):t}],transformResponse:[function(t){const e=this.transitional||I.transitional,r=e&&e.forcedJSONParsing,n="json"===this.responseType;if(i["a"].isResponse(t)||i["a"].isReadableStream(t))return t;if(t&&i["a"].isString(t)&&(r&&!this.responseType||n)){const r=e&&e.silentJSONParsing,i=!r&&n;try{return JSON.parse(t)}catch(o){if(i){if("SyntaxError"===o.name)throw m["a"].from(o,m["a"].ERR_BAD_RESPONSE,this,null,this.response);throw o}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:M.classes.FormData,Blob:M.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};i["a"].forEach(["delete","get","head","post","put","patch"],t=>{I.headers[t]={}});var D=I;const B=i["a"].toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var j=t=>{const e={};let r,n,i;return t&&t.split("\n").forEach((function(t){i=t.indexOf(":"),r=t.substring(0,i).trim().toLowerCase(),n=t.substring(i+1).trim(),!r||e[r]&&B[r]||("set-cookie"===r?e[r]?e[r].push(n):e[r]=[n]:e[r]=e[r]?e[r]+", "+n:n)})),e};const N=Symbol("internals");function R(t){return t&&String(t).trim().toLowerCase()}function F(t){return!1===t||null==t?t:i["a"].isArray(t)?t.map(F):String(t)}function Y(t){const e=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;while(n=r.exec(t))e[n[1]]=n[2];return e}const U=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function H(t,e,r,n,o){return i["a"].isFunction(n)?n.call(this,e,r):(o&&(e=r),i["a"].isString(e)?i["a"].isString(n)?-1!==e.indexOf(n):i["a"].isRegExp(n)?n.test(e):void 0:void 0)}function z(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,e,r)=>e.toUpperCase()+r)}function V(t,e){const r=i["a"].toCamelCase(" "+e);["get","set","has"].forEach(n=>{Object.defineProperty(t,n+r,{value:function(t,r,i){return this[n].call(this,e,t,r,i)},configurable:!0})})}class ${constructor(t){t&&this.set(t)}set(t,e,r){const n=this;function o(t,e,r){const o=R(e);if(!o)throw new Error("header name must be a non-empty string");const a=i["a"].findKey(n,o);(!a||void 0===n[a]||!0===r||void 0===r&&!1!==n[a])&&(n[a||e]=F(t))}const a=(t,e)=>i["a"].forEach(t,(t,r)=>o(t,r,e));if(i["a"].isPlainObject(t)||t instanceof this.constructor)a(t,e);else if(i["a"].isString(t)&&(t=t.trim())&&!U(t))a(j(t),e);else if(i["a"].isHeaders(t))for(const[i,s]of t.entries())o(s,i,r);else null!=t&&o(e,t,r);return this}get(t,e){if(t=R(t),t){const r=i["a"].findKey(this,t);if(r){const t=this[r];if(!e)return t;if(!0===e)return Y(t);if(i["a"].isFunction(e))return e.call(this,t,r);if(i["a"].isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=R(t),t){const r=i["a"].findKey(this,t);return!(!r||void 0===this[r]||e&&!H(this,this[r],r,e))}return!1}delete(t,e){const r=this;let n=!1;function o(t){if(t=R(t),t){const o=i["a"].findKey(r,t);!o||e&&!H(r,r[o],o,e)||(delete r[o],n=!0)}}return i["a"].isArray(t)?t.forEach(o):o(t),n}clear(t){const e=Object.keys(this);let r=e.length,n=!1;while(r--){const i=e[r];t&&!H(this,this[i],i,t,!0)||(delete this[i],n=!0)}return n}normalize(t){const e=this,r={};return i["a"].forEach(this,(n,o)=>{const a=i["a"].findKey(r,o);if(a)return e[a]=F(n),void delete e[o];const s=t?z(o):String(o).trim();s!==o&&delete e[o],e[s]=F(n),r[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const e=Object.create(null);return i["a"].forEach(this,(r,n)=>{null!=r&&!1!==r&&(e[n]=t&&i["a"].isArray(r)?r.join(", "):r)}),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,e])=>t+": "+e).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){const r=new this(t);return e.forEach(t=>r.set(t)),r}static accessor(t){const e=this[N]=this[N]={accessors:{}},r=e.accessors,n=this.prototype;function o(t){const e=R(t);r[e]||(V(n,t),r[e]=!0)}return i["a"].isArray(t)?t.forEach(o):o(t),this}}$.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),i["a"].reduceDescriptors($.prototype,({value:t},e)=>{let r=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(t){this[r]=t}}}),i["a"].freezeMethods($);var q=$;function G(t,e){const r=this||D,n=e||r,o=q.from(n.headers);let a=n.data;return i["a"].forEach(t,(function(t){a=t.call(r,a,o.normalize(),e?e.status:void 0)})),o.normalize(),a}function W(t){return!(!t||!t.__CANCEL__)}function K(t,e,r){m["a"].call(this,null==t?"canceled":t,m["a"].ERR_CANCELED,e,r),this.name="CanceledError"}i["a"].inherits(K,m["a"],{__CANCEL__:!0});var X=K,J=r("4581");function Z(t,e,r){const n=r.config.validateStatus;r.status&&n&&!n(r.status)?e(new m["a"]("Request failed with status code "+r.status,[m["a"].ERR_BAD_REQUEST,m["a"].ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):t(r)}function Q(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function tt(t,e){t=t||10;const r=new Array(t),n=new Array(t);let i,o=0,a=0;return e=void 0!==e?e:1e3,function(s){const u=Date.now(),c=n[a];i||(i=u),r[o]=s,n[o]=u;let l=a,h=0;while(l!==o)h+=r[l++],l%=t;if(o=(o+1)%t,o===a&&(a=(a+1)%t),u-i<e)return;const f=c&&u-c;return f?Math.round(1e3*h/f):void 0}}var et=tt;function rt(t,e){let r,n,i=0,o=1e3/e;const a=(e,o=Date.now())=>{i=o,r=null,n&&(clearTimeout(n),n=null),t.apply(null,e)},s=(...t)=>{const e=Date.now(),s=e-i;s>=o?a(t,e):(r=t,n||(n=setTimeout(()=>{n=null,a(r)},o-s)))},u=()=>r&&a(r);return[s,u]}var nt=rt;const it=(t,e,r=3)=>{let n=0;const i=et(50,250);return nt(r=>{const o=r.loaded,a=r.lengthComputable?r.total:void 0,s=o-n,u=i(s),c=o<=a;n=o;const l={loaded:o,total:a,progress:a?o/a:void 0,bytes:s,rate:u||void 0,estimated:u&&a&&c?(a-o)/u:void 0,event:r,lengthComputable:null!=a,[e?"download":"upload"]:!0};t(l)},r)},ot=(t,e)=>{const r=null!=t;return[n=>e[0]({lengthComputable:r,total:t,loaded:n}),e[1]]},at=t=>(...e)=>i["a"].asap(()=>t(...e));var st=M.hasStandardBrowserEnv?function(){const t=M.navigator&&/(msie|trident)/i.test(M.navigator.userAgent),e=document.createElement("a");let r;function n(r){let n=r;return t&&(e.setAttribute("href",n),n=e.href),e.setAttribute("href",n),{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:"/"===e.pathname.charAt(0)?e.pathname:"/"+e.pathname}}return r=n(window.location.href),function(t){const e=i["a"].isString(t)?n(t):t;return e.protocol===r.protocol&&e.host===r.host}}():function(){return function(){return!0}}(),ut=M.hasStandardBrowserEnv?{write(t,e,r,n,o,a){const s=[t+"="+encodeURIComponent(e)];i["a"].isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),i["a"].isString(n)&&s.push("path="+n),i["a"].isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function ct(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function lt(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function ht(t,e){return t&&!ct(e)?lt(t,e):e}const ft=t=>t instanceof q?{...t}:t;function dt(t,e){e=e||{};const r={};function n(t,e,r){return i["a"].isPlainObject(t)&&i["a"].isPlainObject(e)?i["a"].merge.call({caseless:r},t,e):i["a"].isPlainObject(e)?i["a"].merge({},e):i["a"].isArray(e)?e.slice():e}function o(t,e,r){return i["a"].isUndefined(e)?i["a"].isUndefined(t)?void 0:n(void 0,t,r):n(t,e,r)}function a(t,e){if(!i["a"].isUndefined(e))return n(void 0,e)}function s(t,e){return i["a"].isUndefined(e)?i["a"].isUndefined(t)?void 0:n(void 0,t):n(void 0,e)}function u(r,i,o){return o in e?n(r,i):o in t?n(void 0,r):void 0}const c={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:u,headers:(t,e)=>o(ft(t),ft(e),!0)};return i["a"].forEach(Object.keys(Object.assign({},t,e)),(function(n){const a=c[n]||o,s=a(t[n],e[n],n);i["a"].isUndefined(s)&&a!==u||(r[n]=s)})),r}var pt=t=>{const e=dt({},t);let r,{data:n,withXSRFToken:o,xsrfHeaderName:a,xsrfCookieName:s,headers:u,auth:c}=e;if(e.headers=u=q.from(u),e.url=f(ht(e.baseURL,e.url),t.params,t.paramsSerializer),c&&u.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),i["a"].isFormData(n))if(M.hasStandardBrowserEnv||M.hasStandardBrowserWebWorkerEnv)u.setContentType(void 0);else if(!1!==(r=u.getContentType())){const[t,...e]=r?r.split(";").map(t=>t.trim()).filter(Boolean):[];u.setContentType([t||"multipart/form-data",...e].join("; "))}if(M.hasStandardBrowserEnv&&(o&&i["a"].isFunction(o)&&(o=o(e)),o||!1!==o&&st(e.url))){const t=a&&s&&ut.read(s);t&&u.set(a,t)}return e};const mt="undefined"!==typeof XMLHttpRequest;var gt=mt&&function(t){return new Promise((function(e,r){const n=pt(t);let o=n.data;const a=q.from(n.headers).normalize();let s,u,c,l,h,{responseType:f,onUploadProgress:d,onDownloadProgress:p}=n;function y(){l&&l(),h&&h(),n.cancelToken&&n.cancelToken.unsubscribe(s),n.signal&&n.signal.removeEventListener("abort",s)}let v=new XMLHttpRequest;function b(){if(!v)return;const n=q.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),i=f&&"text"!==f&&"json"!==f?v.response:v.responseText,o={data:i,status:v.status,statusText:v.statusText,headers:n,config:t,request:v};Z((function(t){e(t),y()}),(function(t){r(t),y()}),o),v=null}v.open(n.method.toUpperCase(),n.url,!0),v.timeout=n.timeout,"onloadend"in v?v.onloadend=b:v.onreadystatechange=function(){v&&4===v.readyState&&(0!==v.status||v.responseURL&&0===v.responseURL.indexOf("file:"))&&setTimeout(b)},v.onabort=function(){v&&(r(new m["a"]("Request aborted",m["a"].ECONNABORTED,t,v)),v=null)},v.onerror=function(){r(new m["a"]("Network Error",m["a"].ERR_NETWORK,t,v)),v=null},v.ontimeout=function(){let e=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const i=n.transitional||g;n.timeoutErrorMessage&&(e=n.timeoutErrorMessage),r(new m["a"](e,i.clarifyTimeoutError?m["a"].ETIMEDOUT:m["a"].ECONNABORTED,t,v)),v=null},void 0===o&&a.setContentType(null),"setRequestHeader"in v&&i["a"].forEach(a.toJSON(),(function(t,e){v.setRequestHeader(e,t)})),i["a"].isUndefined(n.withCredentials)||(v.withCredentials=!!n.withCredentials),f&&"json"!==f&&(v.responseType=n.responseType),p&&([c,h]=it(p,!0),v.addEventListener("progress",c)),d&&v.upload&&([u,l]=it(d),v.upload.addEventListener("progress",u),v.upload.addEventListener("loadend",l)),(n.cancelToken||n.signal)&&(s=e=>{v&&(r(!e||e.type?new X(null,t,v):e),v.abort(),v=null)},n.cancelToken&&n.cancelToken.subscribe(s),n.signal&&(n.signal.aborted?s():n.signal.addEventListener("abort",s)));const _=Q(n.url);_&&-1===M.protocols.indexOf(_)?r(new m["a"]("Unsupported protocol "+_+":",m["a"].ERR_BAD_REQUEST,t)):v.send(o||null)}))};const yt=(t,e)=>{const{length:r}=t=t?t.filter(Boolean):[];if(e||r){let r,n=new AbortController;const o=function(t){if(!r){r=!0,s();const e=t instanceof Error?t:this.reason;n.abort(e instanceof m["a"]?e:new X(e instanceof Error?e.message:e))}};let a=e&&setTimeout(()=>{a=null,o(new m["a"](`timeout ${e} of ms exceeded`,m["a"].ETIMEDOUT))},e);const s=()=>{t&&(a&&clearTimeout(a),a=null,t.forEach(t=>{t.unsubscribe?t.unsubscribe(o):t.removeEventListener("abort",o)}),t=null)};t.forEach(t=>t.addEventListener("abort",o));const{signal:u}=n;return u.unsubscribe=()=>i["a"].asap(s),u}};var vt=yt;const bt=function*(t,e){let r=t.byteLength;if(!e||r<e)return void(yield t);let n,i=0;while(i<r)n=i+e,yield t.slice(i,n),i=n},_t=async function*(t,e){for await(const r of wt(t))yield*bt(r,e)},wt=async function*(t){if(t[Symbol.asyncIterator])return void(yield*t);const e=t.getReader();try{for(;;){const{done:t,value:r}=await e.read();if(t)break;yield r}}finally{await e.cancel()}},xt=(t,e,r,n)=>{const i=_t(t,e);let o,a=0,s=t=>{o||(o=!0,n&&n(t))};return new ReadableStream({async pull(t){try{const{done:e,value:n}=await i.next();if(e)return s(),void t.close();let o=n.byteLength;if(r){let t=a+=o;r(t)}t.enqueue(new Uint8Array(n))}catch(e){throw s(e),e}},cancel(t){return s(t),i.return()}},{highWaterMark:2})},kt="function"===typeof fetch&&"function"===typeof Request&&"function"===typeof Response,St=kt&&"function"===typeof ReadableStream,Et=kt&&("function"===typeof TextEncoder?(t=>e=>t.encode(e))(new TextEncoder):async t=>new Uint8Array(await new Response(t).arrayBuffer())),Mt=(t,...e)=>{try{return!!t(...e)}catch(r){return!1}},At=St&&Mt(()=>{let t=!1;const e=new Request(M.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e}),Tt=65536,Ct=St&&Mt(()=>i["a"].isReadableStream(new Response("").body)),Lt={stream:Ct&&(t=>t.body)};kt&&(t=>{["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!Lt[e]&&(Lt[e]=i["a"].isFunction(t[e])?t=>t[e]():(t,r)=>{throw new m["a"](`Response type '${e}' is not supported`,m["a"].ERR_NOT_SUPPORT,r)})})})(new Response);const Pt=async t=>{if(null==t)return 0;if(i["a"].isBlob(t))return t.size;if(i["a"].isSpecCompliantForm(t)){const e=new Request(M.origin,{method:"POST",body:t});return(await e.arrayBuffer()).byteLength}return i["a"].isArrayBufferView(t)||i["a"].isArrayBuffer(t)?t.byteLength:(i["a"].isURLSearchParams(t)&&(t+=""),i["a"].isString(t)?(await Et(t)).byteLength:void 0)},Ot=async(t,e)=>{const r=i["a"].toFiniteNumber(t.getContentLength());return null==r?Pt(e):r};var It=kt&&(async t=>{let{url:e,method:r,data:n,signal:o,cancelToken:a,timeout:s,onDownloadProgress:u,onUploadProgress:c,responseType:l,headers:h,withCredentials:f="same-origin",fetchOptions:d}=pt(t);l=l?(l+"").toLowerCase():"text";let p,g=vt([o,a&&a.toAbortSignal()],s);const y=g&&g.unsubscribe&&(()=>{g.unsubscribe()});let v;try{if(c&&At&&"get"!==r&&"head"!==r&&0!==(v=await Ot(h,n))){let t,r=new Request(e,{method:"POST",body:n,duplex:"half"});if(i["a"].isFormData(n)&&(t=r.headers.get("content-type"))&&h.setContentType(t),r.body){const[t,e]=ot(v,it(at(c)));n=xt(r.body,Tt,t,e)}}i["a"].isString(f)||(f=f?"include":"omit");const o="credentials"in Request.prototype;p=new Request(e,{...d,signal:g,method:r.toUpperCase(),headers:h.normalize().toJSON(),body:n,duplex:"half",credentials:o?f:void 0});let a=await fetch(p);const s=Ct&&("stream"===l||"response"===l);if(Ct&&(u||s&&y)){const t={};["status","statusText","headers"].forEach(e=>{t[e]=a[e]});const e=i["a"].toFiniteNumber(a.headers.get("content-length")),[r,n]=u&&ot(e,it(at(u),!0))||[];a=new Response(xt(a.body,Tt,r,()=>{n&&n(),y&&y()}),t)}l=l||"text";let m=await Lt[i["a"].findKey(Lt,l)||"text"](a,t);return!s&&y&&y(),await new Promise((e,r)=>{Z(e,r,{data:m,headers:q.from(a.headers),status:a.status,statusText:a.statusText,config:t,request:p})})}catch(b){if(y&&y(),b&&"TypeError"===b.name&&/fetch/i.test(b.message))throw Object.assign(new m["a"]("Network Error",m["a"].ERR_NETWORK,t,p),{cause:b.cause||b});throw m["a"].from(b,b&&b.code,t,p)}});const Dt={http:J["a"],xhr:gt,fetch:It};i["a"].forEach(Dt,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(r){}Object.defineProperty(t,"adapterName",{value:e})}});const Bt=t=>"- "+t,jt=t=>i["a"].isFunction(t)||null===t||!1===t;var Nt={getAdapter:t=>{t=i["a"].isArray(t)?t:[t];const{length:e}=t;let r,n;const o={};for(let i=0;i<e;i++){let e;if(r=t[i],n=r,!jt(r)&&(n=Dt[(e=String(r)).toLowerCase()],void 0===n))throw new m["a"](`Unknown adapter '${e}'`);if(n)break;o[e||"#"+i]=n}if(!n){const t=Object.entries(o).map(([t,e])=>`adapter ${t} `+(!1===e?"is not supported by the environment":"is not available in the build"));let r=e?t.length>1?"since :\n"+t.map(Bt).join("\n"):" "+Bt(t[0]):"as no adapter specified";throw new m["a"]("There is no suitable adapter to dispatch the request "+r,"ERR_NOT_SUPPORT")}return n},adapters:Dt};function Rt(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new X(null,t)}function Ft(t){Rt(t),t.headers=q.from(t.headers),t.data=G.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);const e=Nt.getAdapter(t.adapter||D.adapter);return e(t).then((function(e){return Rt(t),e.data=G.call(t,t.transformResponse,e),e.headers=q.from(e.headers),e}),(function(e){return W(e)||(Rt(t),e&&e.response&&(e.response.data=G.call(t,t.transformResponse,e.response),e.response.headers=q.from(e.response.headers))),Promise.reject(e)}))}const Yt="1.7.7",Ut={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Ut[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});const Ht={};function zt(t,e,r){if("object"!==typeof t)throw new m["a"]("options must be an object",m["a"].ERR_BAD_OPTION_VALUE);const n=Object.keys(t);let i=n.length;while(i-- >0){const o=n[i],a=e[o];if(a){const e=t[o],r=void 0===e||a(e,o,t);if(!0!==r)throw new m["a"]("option "+o+" must be "+r,m["a"].ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new m["a"]("Unknown option "+o,m["a"].ERR_BAD_OPTION)}}Ut.transitional=function(t,e,r){function n(t,e){return"[Axios v"+Yt+"] Transitional option '"+t+"'"+e+(r?". "+r:"")}return(r,i,o)=>{if(!1===t)throw new m["a"](n(i," has been removed"+(e?" in "+e:"")),m["a"].ERR_DEPRECATED);return e&&!Ht[i]&&(Ht[i]=!0,console.warn(n(i," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(r,i,o)}};var Vt={assertOptions:zt,validators:Ut};const $t=Vt.validators;class qt{constructor(t){this.defaults=t,this.interceptors={request:new p,response:new p}}async request(t,e){try{return await this._request(t,e)}catch(r){if(r instanceof Error){let t;Error.captureStackTrace?Error.captureStackTrace(t={}):t=new Error;const e=t.stack?t.stack.replace(/^.+\n/,""):"";try{r.stack?e&&!String(r.stack).endsWith(e.replace(/^.+\n.+\n/,""))&&(r.stack+="\n"+e):r.stack=e}catch(n){}}throw r}}_request(t,e){"string"===typeof t?(e=e||{},e.url=t):e=t||{},e=dt(this.defaults,e);const{transitional:r,paramsSerializer:n,headers:o}=e;void 0!==r&&Vt.assertOptions(r,{silentJSONParsing:$t.transitional($t.boolean),forcedJSONParsing:$t.transitional($t.boolean),clarifyTimeoutError:$t.transitional($t.boolean)},!1),null!=n&&(i["a"].isFunction(n)?e.paramsSerializer={serialize:n}:Vt.assertOptions(n,{encode:$t.function,serialize:$t.function},!0)),e.method=(e.method||this.defaults.method||"get").toLowerCase();let a=o&&i["a"].merge(o.common,o[e.method]);o&&i["a"].forEach(["delete","get","head","post","put","patch","common"],t=>{delete o[t]}),e.headers=q.concat(a,o);const s=[];let u=!0;this.interceptors.request.forEach((function(t){"function"===typeof t.runWhen&&!1===t.runWhen(e)||(u=u&&t.synchronous,s.unshift(t.fulfilled,t.rejected))}));const c=[];let l;this.interceptors.response.forEach((function(t){c.push(t.fulfilled,t.rejected)}));let h,f=0;if(!u){const t=[Ft.bind(this),void 0];t.unshift.apply(t,s),t.push.apply(t,c),h=t.length,l=Promise.resolve(e);while(f<h)l=l.then(t[f++],t[f++]);return l}h=s.length;let d=e;f=0;while(f<h){const t=s[f++],e=s[f++];try{d=t(d)}catch(p){e.call(this,p);break}}try{l=Ft.call(this,d)}catch(p){return Promise.reject(p)}f=0,h=c.length;while(f<h)l=l.then(c[f++],c[f++]);return l}getUri(t){t=dt(this.defaults,t);const e=ht(t.baseURL,t.url);return f(e,t.params,t.paramsSerializer)}}i["a"].forEach(["delete","get","head","options"],(function(t){qt.prototype[t]=function(e,r){return this.request(dt(r||{},{method:t,url:e,data:(r||{}).data}))}})),i["a"].forEach(["post","put","patch"],(function(t){function e(e){return function(r,n,i){return this.request(dt(i||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}qt.prototype[t]=e(),qt.prototype[t+"Form"]=e(!0)}));var Gt=qt;class Wt{constructor(t){if("function"!==typeof t)throw new TypeError("executor must be a function.");let e;this.promise=new Promise((function(t){e=t}));const r=this;this.promise.then(t=>{if(!r._listeners)return;let e=r._listeners.length;while(e-- >0)r._listeners[e](t);r._listeners=null}),this.promise.then=t=>{let e;const n=new Promise(t=>{r.subscribe(t),e=t}).then(t);return n.cancel=function(){r.unsubscribe(e)},n},t((function(t,n,i){r.reason||(r.reason=new X(t,n,i),e(r.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}toAbortSignal(){const t=new AbortController,e=e=>{t.abort(e)};return this.subscribe(e),t.signal.unsubscribe=()=>this.unsubscribe(e),t.signal}static source(){let t;const e=new Wt((function(e){t=e}));return{token:e,cancel:t}}}var Kt=Wt;function Xt(t){return function(e){return t.apply(null,e)}}function Jt(t){return i["a"].isObject(t)&&!0===t.isAxiosError}const Zt={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Zt).forEach(([t,e])=>{Zt[e]=t});var Qt=Zt;function te(t){const e=new Gt(t),r=Object(o["a"])(Gt.prototype.request,e);return i["a"].extend(r,Gt.prototype,e,{allOwnKeys:!0}),i["a"].extend(r,e,null,{allOwnKeys:!0}),r.create=function(e){return te(dt(t,e))},r}const ee=te(D);ee.Axios=Gt,ee.CanceledError=X,ee.CancelToken=Kt,ee.isCancel=W,ee.VERSION=Yt,ee.toFormData=a["a"],ee.AxiosError=m["a"],ee.Cancel=ee.CanceledError,ee.all=function(t){return Promise.all(t)},ee.spread=Xt,ee.isAxiosError=Jt,ee.mergeConfig=dt,ee.AxiosHeaders=q,ee.formToJSON=t=>P(i["a"].isHTMLForm(t)?new FormData(t):t),ee.getAdapter=Nt.getAdapter,ee.HttpStatusCode=Qt,ee.default=ee;e["a"]=ee},cf1e:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(t,e){return t%10>=1&&t%10<=4&&(t%100<10||t%100>=20)?t%10===1?e[0]:e[1]:e[2]},translate:function(t,r,n,i){var o,a=e.words[n];return 1===n.length?"y"===n&&r?"jedna godina":i||r?a[0]:a[1]:(o=e.correctGrammaticalCase(t,a),"yy"===n&&r&&"godinu"===o?t+" godina":t+" "+o)}},r=t.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_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_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če u] LT",lastWeek:function(){var t=["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return t[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:e.translate,dd:e.translate,M:e.translate,MM:e.translate,y:e.translate,yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return r}))},cf36:function(t,e,r){},cf51:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(t){return"d'o"===t.toLowerCase()},meridiem:function(t,e,r){return t>11?r?"d'o":"D'O":r?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%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}});function r(t,e,r,n){var i={s:["viensas secunds","'iensas secunds"],ss:[t+" secunds",t+" secunds"],m:["'n míut","'iens míut"],mm:[t+" míuts",t+" míuts"],h:["'n þora","'iensa þora"],hh:[t+" þoras",t+" þoras"],d:["'n ziua","'iensa ziua"],dd:[t+" ziuas",t+" ziuas"],M:["'n mes","'iens mes"],MM:[t+" mesen",t+" mesen"],y:["'n ar","'iens ar"],yy:[t+" ars",t+" ars"]};return n||e?i[r][0]:i[r][1]}return e}))},cf75:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function r(t){var e=t;return e=-1!==t.indexOf("jaj")?e.slice(0,-3)+"leS":-1!==t.indexOf("jar")?e.slice(0,-3)+"waQ":-1!==t.indexOf("DIS")?e.slice(0,-3)+"nem":e+" pIq",e}function n(t){var e=t;return e=-1!==t.indexOf("jaj")?e.slice(0,-3)+"Hu’":-1!==t.indexOf("jar")?e.slice(0,-3)+"wen":-1!==t.indexOf("DIS")?e.slice(0,-3)+"ben":e+" ret",e}function i(t,e,r,n){var i=o(t);switch(r){case"ss":return i+" lup";case"mm":return i+" tup";case"hh":return i+" rep";case"dd":return i+" jaj";case"MM":return i+" jar";case"yy":return i+" DIS"}}function o(t){var r=Math.floor(t%1e3/100),n=Math.floor(t%100/10),i=t%10,o="";return r>0&&(o+=e[r]+"vatlh"),n>0&&(o+=(""!==o?" ":"")+e[n]+"maH"),i>0&&(o+=(""!==o?" ":"")+e[i]),""===o?"pagh":o}var a=t.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".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’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:r,past:n,s:"puS lup",ss:i,m:"wa’ tup",mm:i,h:"wa’ rep",hh:i,d:"wa’ jaj",dd:i,M:"wa’ jar",MM:i,y:"wa’ DIS",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return a}))},d029:function(t,e,r){"use strict";function n(t){return null!=globalThis.Buffer?new Uint8Array(t.buffer,t.byteOffset,t.byteLength):t}Object.defineProperty(e,"__esModule",{value:!0}),e.asUint8Array=n},d0a8:function(t,e,r){"use strict";var n=r("297cd");t.exports=n},d0cd:function(t,e,r){},d10f:function(t,e,r){"use strict";var n=r("2b0e");e["a"]=n["default"].extend({name:"ssr-bootable",data:()=>({isBooted:!1}),mounted(){window.requestAnimationFrame(()=>{this.$el.setAttribute("data-booted","true"),this.isBooted=!0})}})},d13b:function(t,e,r){},d191:function(t,e,r){},d1a8:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("b6aa"),i=r("a127"),o=r("6017"),a=r("41c5"),s=r("2d31");function u(t){return t&&"object"===typeof t&&"default"in t?t:{default:t}}var c=u(n),l=u(i),h=u(o),f=u(a);async function d(t){if(s.isBytes(t))return new Blob([t]);if("string"===typeof t||t instanceof String)return new Blob([t.toString()]);if(s.isBlob(t))return t;if(s.isReadableStream(t)&&(t=h["default"](t)),Symbol.iterator in t||Symbol.asyncIterator in t){const e=l["default"](t),{value:r,done:n}=await e.peek();if(n)return p(e);if(e.push(r),Number.isInteger(r))return new Blob([Uint8Array.from(await f["default"](e))]);if(s.isBytes(r)||"string"===typeof r||r instanceof String)return p(e)}throw c["default"](new Error("Unexpected input: "+t),"ERR_UNEXPECTED_INPUT")}async function p(t){const e=[];for await(const r of t)e.push(r);return new Blob(e)}e.normaliseContent=d},d1d1:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("fb86"),i=r("1ec9"),o=r("2a12");const a=i.configure(t=>{async function*e(e,r={}){const i={arg:""+(e instanceof Uint8Array?n.CID.decode(e):e),...r};i.compressionLevel&&(i["compression-level"]=i.compressionLevel,delete i.compressionLevel);const a=await t.post("get",{signal:r.signal,searchParams:o.toUrlSearchParams(i),headers:r.headers});yield*a.iterator()}return e});e.createGet=a},d26a:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},r={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"},n=t.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12".split("_"),monthsShortRegex:/^(ཟླ་\d{1,2})/,monthsParseExact:!0,weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན".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:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(t){return t.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,(function(t){return r[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(t,e){return 12===t&&(t=0),"མཚན་མོ"===e&&t>=4||"ཉིན་གུང"===e&&t<5||"དགོང་དག"===e?t+12:t},meridiem:function(t,e,r){return t<4?"མཚན་མོ":t<10?"ཞོགས་ཀས":t<17?"ཉིན་གུང":t<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}});return n}))},d2aa:function(t,e,r){"use strict";class n extends Error{constructor(t="Request timed out"){super(t),this.name="TimeoutError"}}e.TimeoutError=n;class i extends Error{constructor(t="The operation was aborted."){super(t),this.name="AbortError"}}e.AbortError=i;class o extends Error{constructor(t){super(t.statusText),this.name="HTTPError",this.response=t}}e.HTTPError=o},d2d4:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.defineLocale("pt-br",{months:"janeiro_fevereiro_março_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ça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"do_2ª_3ª_4ª_5ª_6ª_sá".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 [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %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ês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",invalidDate:"Data inválida"});return e}))},d3f8:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("dc74");const i=n.rfc4648({prefix:"0",name:"base2",alphabet:"01",bitsPerChar:1});e.base2=i},d468:function(module,exports,__webpack_require__){"use strict";function inquire(moduleName){try{var mod=eval("quire".replace(/^/,"re"))(moduleName);if(mod&&(mod.length||Object.keys(mod).length))return mod}catch(e){}return null}module.exports=inquire},d4dd:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("fb86"),i=r("ac1b"),o=r("dd7b"),a=r("9a44"),s=r("29f9");e.CID=n.CID,e.varint=i,e.bytes=o,e.hasher=a,e.digest=s},d59f:function(t,e,r){},d63e:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("b58f"),i=r("6657"),o=r("1ec9"),a=r("842b"),s=r("2a12"),u=r("876b"),c=r("c181");const l=o.configure(t=>{async function e(e,r,o={}){const l=new c.AbortController,h=u.abortSignal(l.signal,o.signal),f=await t.post("files/write",{signal:h,searchParams:s.toUrlSearchParams({arg:e,streamChannels:!0,count:o.length,...o}),...await a.multipartRequest({content:r,path:"arg",mode:n.modeToString(o.mode),mtime:i.parseMtime(o.mtime)},l,o.headers)});await f.text()}return e});e.createWrite=l},d69a:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.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(t){return t},week:{dow:1,doy:4}});return e}))},d6b6:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".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:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(t){return/^(ցերեկվա|երեկոյան)$/.test(t)},meridiem:function(t){return t<4?"գիշերվա":t<12?"առավոտվա":t<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(t,e){switch(e){case"DDD":case"w":case"W":case"DDDo":return 1===t?t+"-ին":t+"-րդ";default:return t}},week:{dow:1,doy:7}});return e}))},d6f8:function(t,e,r){"use strict";r.d(e,"a",(function(){return s}));var n=r("fd3a"),i=r("8c86"),o=r("fe1f"),a=r("beaf");function s(t,e){var r,s,u,c,l,h,f,d;Object(i["a"])(1,arguments);var p=Object(a["a"])(),m=Object(o["a"])(null!==(r=null!==(s=null!==(u=null!==(c=null===e||void 0===e?void 0:e.weekStartsOn)&&void 0!==c?c:null===e||void 0===e||null===(l=e.locale)||void 0===l||null===(h=l.options)||void 0===h?void 0:h.weekStartsOn)&&void 0!==u?u:p.weekStartsOn)&&void 0!==s?s:null===(f=p.locale)||void 0===f||null===(d=f.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==r?r:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var g=Object(n["a"])(t),y=g.getUTCDay(),v=(y<m?7:0)+y-m;return g.setUTCDate(g.getUTCDate()-v),g.setUTCHours(0,0,0,0),g}},d6fc:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1755"),i=r("b92d"),o=r("ac23");function a(t,e,r,i){return new n.Token(n.Type.map,i,r)}function s(t,e,r,n){return a(t,e,1,r)}function u(t,e,r,n){return a(t,e,2,i.readUint8(t,e+1,n))}function c(t,e,r,n){return a(t,e,3,i.readUint16(t,e+1,n))}function l(t,e,r,n){return a(t,e,5,i.readUint32(t,e+1,n))}function h(t,e,r,n){const s=i.readUint64(t,e+1,n);if("bigint"===typeof s)throw new Error(o.decodeErrPrefix+" 64-bit integer map lengths not supported");return a(t,e,9,s)}function f(t,e,r,n){if(!1===n.allowIndefinite)throw new Error(o.decodeErrPrefix+" indefinite length items not allowed");return a(t,e,1,1/0)}function d(t,e){i.encodeUintValue(t,n.Type.map.majorEncoded,e.value)}d.compareTokens=i.encodeUint.compareTokens,d.encodedSize=function(t){return i.encodeUintValue.encodedSize(t.value)},e.decodeMap16=c,e.decodeMap32=l,e.decodeMap64=h,e.decodeMap8=u,e.decodeMapCompact=s,e.decodeMapIndefinite=f,e.encodeMap=d},d716:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_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 les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(t,e){var r=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"è";return"w"!==e&&"W"!==e||(r="a"),t+r},week:{dow:1,doy:4}});return e}))},d7ba:function(t,e,r){"use strict";var n=r("4ca6");r.d(e,"a",(function(){return n["a"]}));n["a"]},d7ec:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("e5c3");function i(t){async function*e({timeout:e,signal:r,headers:i,...o}){const a=await t.post("pin/remote/ls",{timeout:e,signal:r,headers:i,searchParams:n.encodeQuery(o)});for await(const t of a.ndjson())yield n.decodePin(t)}return e}e.createLs=i},d903:function(t,e,r){"use strict";r.d(e,"a",(function(){return s}));r("eeec");var n=r("4e82"),i=r("58df"),o=r("d9bd"),a=r("2b0e");const s=a["default"].extend({props:{activeClass:String,value:{required:!1},disabled:Boolean},data:()=>({isActive:!1}),methods:{toggle(){this.isActive=!this.isActive}},render(){if(!this.$scopedSlots.default)return Object(o["c"])("v-item is missing a default scopedSlot",this),null;let t;return this.$scopedSlots.default&&(t=this.$scopedSlots.default({active:this.isActive,toggle:this.toggle})),Array.isArray(t)&&1===t.length&&(t=t[0]),t&&!Array.isArray(t)&&t.tag?(t.data=this._b(t.data||{},t.tag,{class:{[this.activeClass]:this.isActive,"v-item--disabled":this.disabled}}),this.disabled&&(t.data.attrs={...t.data.attrs,tabindex:-1}),t):(Object(o["c"])("v-item should only contain a single element",this),t)}});e["b"]=Object(i["a"])(s,Object(n["a"])("itemGroup","v-item","v-item-group")).extend({name:"v-item"})},d951:function(t,e,r){},d972:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1ec9"),i=r("2a12");const o=n.configure(t=>{async function e(e,r={}){const n=await t.post("bitswap/unwant",{signal:r.signal,searchParams:i.toUrlSearchParams({arg:e.toString(),...r}),headers:r.headers});return n.json()}return e});e.createUnwant=o},d9bd:function(t,e,r){"use strict";r.d(e,"c",(function(){return o})),r.d(e,"b",(function(){return a})),r.d(e,"d",(function(){return s})),r.d(e,"a",(function(){return u})),r.d(e,"e",(function(){return c}));var n=r("f309");function i(t,e,r){if(!n["a"].config.silent){if(r&&(e={_isVue:!0,$parent:r,$options:e}),e){if(e.$_alreadyWarned=e.$_alreadyWarned||[],e.$_alreadyWarned.includes(t))return;e.$_alreadyWarned.push(t)}return"[Vuetify] "+t+(e?d(e):"")}}function o(t,e,r){const n=i(t,e,r);null!=n&&console.warn(n)}function a(t,e,r){const n=i(t,e,r);null!=n&&console.error(n)}function s(t,e,r,n){o(`[UPGRADE] '${t}' is deprecated, use '${e}' instead.`,r,n)}function u(t,e,r,n){a(`[BREAKING] '${t}' has been removed, use '${e}' instead. For more information, see the upgrade guide https://github.com/vuetifyjs/vuetify/releases/tag/v2.0.0#user-content-upgrade-guide`,r,n)}function c(t,e,r){o(`[REMOVED] '${t}' has been removed. You can safely omit it.`,e,r)}const l=/(?:^|[-_])(\w)/g,h=t=>t.replace(l,t=>t.toUpperCase()).replace(/[-_]/g,"");function f(t,e){if(t.$root===t)return"<Root>";const r="function"===typeof t&&null!=t.cid?t.options:t._isVue?t.$options||t.constructor.options:t||{};let n=r.name||r._componentTag;const i=r.__file;if(!n&&i){const t=i.match(/([^/\\]+)\.vue$/);n=t&&t[1]}return(n?`<${h(n)}>`:"<Anonymous>")+(i&&!1!==e?" at "+i:"")}function d(t){if(t._isVue&&t.$parent){const e=[];let r=0;while(t){if(e.length>0){const n=e[e.length-1];if(n.constructor===t.constructor){r++,t=t.$parent;continue}r>0&&(e[e.length-1]=[n,r],r=0)}e.push(t),t=t.$parent}return"\n\nfound in\n\n"+e.map((t,e)=>`${0===e?"---\x3e ":" ".repeat(5+2*e)}${Array.isArray(t)?`${f(t[0])}... (${t[1]} recursive calls)`:f(t)}`).join("\n")}return`\n\n(found in ${f(t)})`}},d9d5:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("fb86"),i=r("b6aa");function o(t){return t&&"object"===typeof t&&"default"in t?t:{default:t}}var a=o(i);async function*s(t,e,r,i,o){const s=async t=>{const e=await r.getCodec(t.code),n=await i(t,o);return e.decode(n)},u=e.split("/").filter(Boolean);let c=await s(t),l=t;u.length||(yield{value:c,remainderPath:""});while(u.length){const t=u.shift();if(!t)throw a["default"](new Error(`Could not resolve path "${e}"`),"ERR_INVALID_PATH");if(!Object.prototype.hasOwnProperty.call(c,t))throw a["default"](new Error(`no link named "${t}" under ${l}`),"ERR_NO_LINK");c=c[t],yield{value:c,remainderPath:u.join("/")};const r=n.CID.asCID(c);r&&(l=r,c=await s(c))}}e.resolve=s},d9f7:function(t,e,r){"use strict";r.d(e,"a",(function(){return a})),r.d(e,"d",(function(){return s})),r.d(e,"b",(function(){return u})),r.d(e,"c",(function(){return c}));var n=r("80d2");const i={styleList:/;(?![^(]*\))/g,styleProp:/:(.*)/};function o(t){const e={};for(const r of t.split(i.styleList)){let[t,o]=r.split(i.styleProp);t=t.trim(),t&&("string"===typeof o&&(o=o.trim()),e[Object(n["d"])(t)]=o)}return e}function a(){const t={};let e,r=arguments.length;while(r--)for(e of Object.keys(arguments[r]))switch(e){case"class":case"directives":arguments[r][e]&&(t[e]=u(t[e],arguments[r][e]));break;case"style":arguments[r][e]&&(t[e]=s(t[e],arguments[r][e]));break;case"staticClass":if(!arguments[r][e])break;void 0===t[e]&&(t[e]=""),t[e]&&(t[e]+=" "),t[e]+=arguments[r][e].trim();break;case"on":case"nativeOn":arguments[r][e]&&(t[e]=c(t[e],arguments[r][e]));break;case"attrs":case"props":case"domProps":case"scopedSlots":case"staticStyle":case"hook":case"transition":if(!arguments[r][e])break;t[e]||(t[e]={}),t[e]={...arguments[r][e],...t[e]};break;default:t[e]||(t[e]=arguments[r][e])}return t}function s(t,e){return t?e?(t=Object(n["K"])("string"===typeof t?o(t):t),t.concat("string"===typeof e?o(e):e)):t:e}function u(t,e){return e?t&&t?Object(n["K"])(t).concat(e):e:t}function c(...t){if(!t[0])return t[1];if(!t[1])return t[0];const e={};for(let r=2;r--;){const n=t[r];for(const t in n)n[t]&&(e[t]?e[t]=[].concat(n[t],e[t]):e[t]=n[t])}return e}},d9f8:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".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:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] 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(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}}});return e}))},da13:function(t,e,r){"use strict";r("61d2");var n=r("a9ad"),i=r("1c87"),o=r("4e82"),a=r("7560"),s=r("f2e7"),u=r("5607"),c=r("80d2"),l=r("d9bd"),h=r("58df");const f=Object(h["a"])(n["a"],i["a"],a["a"],Object(o["a"])("listItemGroup"),Object(s["b"])("inputValue"));e["a"]=f.extend().extend({name:"v-list-item",directives:{Ripple:u["b"]},inject:{isInGroup:{default:!1},isInList:{default:!1},isInMenu:{default:!1},isInNav:{default:!1}},inheritAttrs:!1,props:{activeClass:{type:String,default(){return this.listItemGroup?this.listItemGroup.activeClass:""}},dense:Boolean,inactive:Boolean,link:Boolean,selectable:{type:Boolean},tag:{type:String,default:"div"},threeLine:Boolean,twoLine:Boolean,value:null},data:()=>({proxyClass:"v-list-item--active"}),computed:{classes(){return{"v-list-item":!0,...i["a"].options.computed.classes.call(this),"v-list-item--dense":this.dense,"v-list-item--disabled":this.disabled,"v-list-item--link":this.isClickable&&!this.inactive,"v-list-item--selectable":this.selectable,"v-list-item--three-line":this.threeLine,"v-list-item--two-line":this.twoLine,...this.themeClasses}},isClickable(){return Boolean(i["a"].options.computed.isClickable.call(this)||this.listItemGroup)}},created(){this.$attrs.hasOwnProperty("avatar")&&Object(l["e"])("avatar",this)},methods:{click(t){t.detail&&this.$el.blur(),this.$emit("click",t),this.to||this.toggle()},genAttrs(){const t={"aria-disabled":!!this.disabled||void 0,tabindex:this.isClickable&&!this.disabled?0:-1,...this.$attrs};return this.$attrs.hasOwnProperty("role")||this.isInNav||(this.isInGroup?(t.role="option",t["aria-selected"]=String(this.isActive)):this.isInMenu?(t.role=this.isClickable?"menuitem":void 0,t.id=t.id||"list-item-"+this._uid):this.isInList&&(t.role="listitem")),t},toggle(){this.to&&void 0===this.inputValue&&(this.isActive=!this.isActive),this.$emit("change")}},render(t){let{tag:e,data:r}=this.generateRouteLink();r.attrs={...r.attrs,...this.genAttrs()},r[this.to?"nativeOn":"on"]={...r[this.to?"nativeOn":"on"],keydown:t=>{this.disabled||(t.keyCode===c["A"].enter&&this.click(t),this.$emit("keydown",t))}},this.inactive&&(e="div"),this.inactive&&this.to&&(r.on=r.nativeOn,delete r.nativeOn);const n=Object(c["u"])(this,"default",{active:this.isActive,toggle:this.toggle});return t(e,this.isActive?this.setTextColor(this.color,r):r,n)}})},daf1:function(t,e,r){"use strict";var n=r("a9ad"),i=r("58df"),o=r("80d2");e["a"]=Object(i["a"])(n["a"]).extend({methods:{genPickerButton(t,e,r,n=!1,i=""){const a=this[t]===e,s=r=>{r.stopPropagation(),this.$emit("update:"+Object(o["z"])(t),e)};return this.$createElement("div",{staticClass:("v-picker__title__btn "+i).trim(),class:{"v-picker__title__btn--active":a,"v-picker__title__btn--readonly":n},on:a||n?void 0:{click:s}},Array.isArray(r)?r:[r])}}})},db11:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("92b8"),i=r("4790"),o=r("88f8"),a=r("1f0e"),s=r("dfe4"),u=r("212d");function c(t){return{addAll:n.createAddAll(t),add:i.createAdd(t),ls:o.createLs(t),rmAll:a.createRmAll(t),rm:s.createRm(t),remote:u.createRemote(t)}}e.createPin=c},db1b:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("5e2f"),i=r("a7ac"),o=r("ee17");function a(t){return{bitswap:n.createStat(t),repo:i.createStat(t),bw:o.createBw(t)}}e.createStats=a},db29:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e="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,o=t.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,n){return t?/-MMM-/.test(n)?r[t.month()]:e[t.month()]:e},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:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}});return o}))},db42:function(t,e,r){},dbe1:function(t,e,r){"use strict";var n=r("608e"),i=r("53a8"),o=r("ba10"),a=r("774a"),s=r("8cb5"),u=1;function c(t,e){if(!t)throw new Error("MapiRequest requires a client");if(!e||!e.path||!e.method)throw new Error("MapiRequest requires an options object with path and method properties");var r={};e.body&&(r["content-type"]="application/json");var n=i(r,e.headers),a=Object.keys(n).reduce((function(t,e){return t[e.toLowerCase()]=n[e],t}),{});this.id=u++,this._options=e,this.emitter=new o,this.client=t,this.response=null,this.error=null,this.sent=!1,this.aborted=!1,this.path=e.path,this.method=e.method,this.origin=e.origin||t.origin,this.query=e.query||{},this.params=e.params||{},this.body=e.body||null,this.file=e.file||null,this.encoding=e.encoding||"utf8",this.sendFileAs=e.sendFileAs||null,this.headers=a}c.prototype.url=function(t){var e=a.prependOrigin(this.path,this.origin);e=a.appendQueryObject(e,this.query);var r=this.params,o=null==t?this.client.accessToken:t;if(o){e=a.appendQueryParam(e,"access_token",o);var s=n(o).user;r=i({ownerId:s},r)}return e=a.interpolateRouteParams(e,r),e},c.prototype.send=function(){var t=this;if(t.sent)throw new Error("This request has already been sent. Check the response and error properties. Create a new request with clone().");return t.sent=!0,t.client.sendRequest(t).then((function(e){return t.response=e,t.emitter.emit(s.EVENT_RESPONSE,e),e}),(function(e){throw t.error=e,t.emitter.emit(s.EVENT_ERROR,e),e}))},c.prototype.abort=function(){this._nextPageRequest&&(this._nextPageRequest.abort(),delete this._nextPageRequest),this.response||this.error||this.aborted||(this.aborted=!0,this.client.abortRequest(this))},c.prototype.eachPage=function(t){var e=this;function r(r){function n(){delete e._nextPageRequest;var t=r.nextPage();t&&(e._nextPageRequest=t,i(t))}t(null,r,n)}function n(e){t(e,null,(function(){}))}function i(t){t.send().then(r,n)}i(this)},c.prototype.clone=function(){return this._extend()},c.prototype._extend=function(t){var e=i(this._options,t);return new c(this.client,e)},t.exports=c},dc22:function(t,e,r){"use strict";function n(t,e,r){const n=e.value,i=e.options||{passive:!0};window.addEventListener("resize",n,i),t._onResize=Object(t._onResize),t._onResize[r.context._uid]={callback:n,options:i},e.modifiers&&e.modifiers.quiet||n()}function i(t,e,r){var n;if(!(null===(n=t._onResize)||void 0===n?void 0:n[r.context._uid]))return;const{callback:i,options:o}=t._onResize[r.context._uid];window.removeEventListener("resize",i,o),delete t._onResize[r.context._uid]}r.d(e,"a",(function(){return o}));const o={inserted:n,unbind:i};e["b"]=o},dc40:function(t,e,r){var n;
/**
 * SVGInjector v1.1.3 - Fast, caching, dynamic inline SVG DOM injection library
 * https://github.com/iconic/SVGInjector
 *
 * Copyright (c) 2014-2015 Waybury <hello@waybury.com>
 * @license MIT
 */(function(i,o){"use strict";var a="file:"===i.location.protocol,s=o.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1");function u(t){t=t.split(" ");var e={},r=t.length,n=[];while(r--)e.hasOwnProperty(t[r])||(e[t[r]]=1,n.unshift(t[r]));return n.join(" ")}var c=Array.prototype.forEach||function(t,e){if(void 0===this||null===this||"function"!==typeof t)throw new TypeError;var r,n=this.length>>>0;for(r=0;r<n;++r)r in this&&t.call(e,this[r],r,this)},l={},h=0,f=[],d=[],p={},m=function(t){return t.cloneNode(!0)},g=function(t,e){d[t]=d[t]||[],d[t].push(e)},y=function(t){for(var e=0,r=d[t].length;e<r;e++)(function(e){setTimeout((function(){d[t][e](m(l[t]))}),0)})(e)},v=function(t,e){if(void 0!==l[t])l[t]instanceof SVGSVGElement?e(m(l[t])):g(t,e);else{if(!i.XMLHttpRequest)return e("Browser does not support XMLHttpRequest"),!1;l[t]={},g(t,e);var r=new XMLHttpRequest;r.onreadystatechange=function(){if(4===r.readyState){if(404===r.status||null===r.responseXML)return e("Unable to load SVG file: "+t),a&&e("Note: SVG injection ajax calls do not work locally without adjusting security setting in your browser. Or consider using a local webserver."),e(),!1;if(!(200===r.status||a&&0===r.status))return e("There was a problem injecting the SVG: "+r.status+" "+r.statusText),!1;if(r.responseXML instanceof Document)l[t]=r.responseXML.documentElement;else if(DOMParser&&DOMParser instanceof Function){var n;try{var i=new DOMParser;n=i.parseFromString(r.responseText,"text/xml")}catch(o){n=void 0}if(!n||n.getElementsByTagName("parsererror").length)return e("Unable to parse SVG file: "+t),!1;l[t]=n.documentElement}y(t)}},r.open("GET",t),r.overrideMimeType&&r.overrideMimeType("text/xml"),r.send()}},b=function(t,e,r,n){var o=t.getAttribute("data-src")||t.getAttribute("src");if(/\.svg/i.test(o))if(s)-1===f.indexOf(t)&&(f.push(t),t.setAttribute("src",""),v(o,(function(r){if("undefined"===typeof r||"string"===typeof r)return n(r),!1;var a=t.getAttribute("id");a&&r.setAttribute("id",a);var s=t.getAttribute("title");s&&r.setAttribute("title",s);var l=[].concat(r.getAttribute("class")||[],"injected-svg",t.getAttribute("class")||[]).join(" ");r.setAttribute("class",u(l));var d=t.getAttribute("style");d&&r.setAttribute("style",d);var m=[].filter.call(t.attributes,(function(t){return/^data-\w[\w\-]*$/.test(t.name)}));c.call(m,(function(t){t.name&&t.value&&r.setAttribute(t.name,t.value)}));var g,y,v,b,_,w={clipPath:["clip-path"],"color-profile":["color-profile"],cursor:["cursor"],filter:["filter"],linearGradient:["fill","stroke"],marker:["marker","marker-start","marker-mid","marker-end"],mask:["mask"],pattern:["fill","stroke"],radialGradient:["fill","stroke"]};Object.keys(w).forEach((function(t){g=t,v=w[t],y=r.querySelectorAll("defs "+g+"[id]");for(var e=0,n=y.length;e<n;e++){var i;b=y[e].id,_=b+"-"+h,c.call(v,(function(t){i=r.querySelectorAll("["+t+'*="'+b+'"]');for(var e=0,n=i.length;e<n;e++)i[e].setAttribute(t,"url(#"+_+")")})),y[e].id=_}})),r.removeAttribute("xmlns:a");for(var x,k,S=r.querySelectorAll("script"),E=[],M=0,A=S.length;M<A;M++)k=S[M].getAttribute("type"),k&&"application/ecmascript"!==k&&"application/javascript"!==k||(x=S[M].innerText||S[M].textContent,E.push(x),r.removeChild(S[M]));if(E.length>0&&("always"===e||"once"===e&&!p[o])){for(var T=0,C=E.length;T<C;T++)new Function(E[T])(i);p[o]=!0}var L=r.querySelectorAll("style");c.call(L,(function(t){t.textContent+=""})),t.parentNode.replaceChild(r,t),delete f[f.indexOf(t)],t=null,h++,n(r)})));else{var a=t.getAttribute("data-fallback")||t.getAttribute("data-png");a?(t.setAttribute("src",a),n(null)):r?(t.setAttribute("src",r+"/"+o.split("/").pop().replace(".svg",".png")),n(null)):n("This browser does not support SVG and no PNG fallback was defined.")}else n("Attempted to inject a file with a non-svg extension: "+o)},_=function(t,e,r){e=e||{};var n=e.evalScripts||"always",i=e.pngFallback||!1,o=e.each;if(void 0!==t.length){var a=0;c.call(t,(function(e){b(e,n,i,(function(e){o&&"function"===typeof o&&o(e),r&&t.length===++a&&r(a)}))}))}else t?b(t,n,i,(function(e){o&&"function"===typeof o&&o(e),r&&r(1),t=null})):r&&r(0)};"object"===typeof t.exports?t.exports=e=_:(n=function(){return _}.call(e,r,e,t),void 0===n||(t.exports=n))})(window,document)},dc4d:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},r={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},n=[/^जन/i,/^फ़र|फर/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सितं|सित/i,/^अक्टू/i,/^नव|नवं/i,/^दिसं|दिस/i],i=[/^जन/i,/^फ़र/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सित/i,/^अक्टू/i,/^नव/i,/^दिस/i],o=t.defineLocale("hi",{months:{format:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),standalone:"जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर".split("_")},monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".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 बजे"},monthsParse:n,longMonthsParse:n,shortMonthsParse:i,monthsRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsShortRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsStrictRegex:/^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,monthsShortStrictRegex:/^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i,calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,(function(t){return r[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(t,e){return 12===t&&(t=0),"रात"===e?t<4?t:t+12:"सुबह"===e?t:"दोपहर"===e?t>=10?t:t+12:"शाम"===e?t+12:void 0},meridiem:function(t,e,r){return t<4?"रात":t<10?"सुबह":t<17?"दोपहर":t<20?"शाम":"रात"},week:{dow:0,doy:6}});return o}))},dc6f:function(t,e,r){"use strict";t.exports=o;var n=r("0c83");(o.prototype=Object.create(n.prototype)).constructor=o;var i=r("e938");function o(){n.call(this)}function a(t,e,r){t.length<40?i.utf8.write(t,e,r):e.utf8Write?e.utf8Write(t,r):e.write(t,r)}o._configure=function(){o.alloc=i._Buffer_allocUnsafe,o.writeBytesBuffer=i.Buffer&&i.Buffer.prototype instanceof Uint8Array&&"set"===i.Buffer.prototype.set.name?function(t,e,r){e.set(t,r)}:function(t,e,r){if(t.copy)t.copy(e,r,0,t.length);else for(var n=0;n<t.length;)e[r++]=t[n++]}},o.prototype.bytes=function(t){i.isString(t)&&(t=i._Buffer_from(t,"base64"));var e=t.length>>>0;return this.uint32(e),e&&this._push(o.writeBytesBuffer,e,t),this},o.prototype.string=function(t){var e=i.Buffer.byteLength(t);return this.uint32(e),e&&this._push(a,e,t),this},o._configure()},dc74:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("6e41"),i=r("dd7b");class o{constructor(t,e,r){this.name=t,this.prefix=e,this.baseEncode=r}encode(t){if(t instanceof Uint8Array)return`${this.prefix}${this.baseEncode(t)}`;throw Error("Unknown type, must be binary type")}}class a{constructor(t,e,r){if(this.name=t,this.prefix=e,void 0===e.codePointAt(0))throw new Error("Invalid prefix character");this.prefixCodePoint=e.codePointAt(0),this.baseDecode=r}decode(t){if("string"===typeof t){if(t.codePointAt(0)!==this.prefixCodePoint)throw Error(`Unable to decode multibase string ${JSON.stringify(t)}, ${this.name} decoder only supports inputs prefixed with ${this.prefix}`);return this.baseDecode(t.slice(this.prefix.length))}throw Error("Can only multibase decode strings")}or(t){return u(this,t)}}class s{constructor(t){this.decoders=t}or(t){return u(this,t)}decode(t){const e=t[0],r=this.decoders[e];if(r)return r.decode(t);throw RangeError(`Unable to decode multibase string ${JSON.stringify(t)}, only inputs prefixed with ${Object.keys(this.decoders)} are supported`)}}const u=(t,e)=>new s({...t.decoders||{[t.prefix]:t},...e.decoders||{[e.prefix]:e}});class c{constructor(t,e,r,n){this.name=t,this.prefix=e,this.baseEncode=r,this.baseDecode=n,this.encoder=new o(t,e,r),this.decoder=new a(t,e,n)}encode(t){return this.encoder.encode(t)}decode(t){return this.decoder.decode(t)}}const l=({name:t,prefix:e,encode:r,decode:n})=>new c(t,e,r,n),h=({prefix:t,name:e,alphabet:r})=>{const{encode:o,decode:a}=n(r,e);return l({prefix:t,name:e,encode:o,decode:t=>i.coerce(a(t))})},f=(t,e,r,n)=>{const i={};for(let l=0;l<e.length;++l)i[e[l]]=l;let o=t.length;while("="===t[o-1])--o;const a=new Uint8Array(o*r/8|0);let s=0,u=0,c=0;for(let l=0;l<o;++l){const e=i[t[l]];if(void 0===e)throw new SyntaxError(`Non-${n} character`);u=u<<r|e,s+=r,s>=8&&(s-=8,a[c++]=255&u>>s)}if(s>=r||255&u<<8-s)throw new SyntaxError("Unexpected end of data");return a},d=(t,e,r)=>{const n="="===e[e.length-1],i=(1<<r)-1;let o="",a=0,s=0;for(let u=0;u<t.length;++u){s=s<<8|t[u],a+=8;while(a>r)a-=r,o+=e[i&s>>a]}if(a&&(o+=e[i&s<<r-a]),n)while(o.length*r&7)o+="=";return o},p=({name:t,prefix:e,bitsPerChar:r,alphabet:n})=>l({prefix:e,name:t,encode(t){return d(t,n,r)},decode(e){return f(e,n,r,t)}});e.Codec=c,e.baseX=h,e.from=l,e.or=u,e.rfc4648=p},dc90:function(t,e,r){function n(t){function e(t){let e=0;for(let r=0;r<t.length;r++)e=(e<<5)-e+t.charCodeAt(r),e|=0;return n.colors[Math.abs(e)%n.colors.length]}function n(t){let e,r,o,a=null;function s(...t){if(!s.enabled)return;const r=s,i=Number(new Date),o=i-(e||i);r.diff=o,r.prev=e,r.curr=i,e=i,t[0]=n.coerce(t[0]),"string"!==typeof t[0]&&t.unshift("%O");let a=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(e,i)=>{if("%%"===e)return"%";a++;const o=n.formatters[i];if("function"===typeof o){const n=t[a];e=o.call(r,n),t.splice(a,1),a--}return e}),n.formatArgs.call(r,t);const u=r.log||n.log;u.apply(r,t)}return s.namespace=t,s.useColors=n.useColors(),s.color=n.selectColor(t),s.extend=i,s.destroy=n.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(r!==n.namespaces&&(r=n.namespaces,o=n.enabled(t)),o),set:t=>{a=t}}),"function"===typeof n.init&&n.init(s),s}function i(t,e){const r=n(this.namespace+("undefined"===typeof e?":":e)+t);return r.log=this.log,r}function o(t){let e;n.save(t),n.namespaces=t,n.names=[],n.skips=[];const r=("string"===typeof t?t:"").split(/[\s,]+/),i=r.length;for(e=0;e<i;e++)r[e]&&(t=r[e].replace(/\*/g,".*?"),"-"===t[0]?n.skips.push(new RegExp("^"+t.slice(1)+"$")):n.names.push(new RegExp("^"+t+"$")))}function a(){const t=[...n.names.map(u),...n.skips.map(u).map(t=>"-"+t)].join(",");return n.enable(""),t}function s(t){if("*"===t[t.length-1])return!0;let e,r;for(e=0,r=n.skips.length;e<r;e++)if(n.skips[e].test(t))return!1;for(e=0,r=n.names.length;e<r;e++)if(n.names[e].test(t))return!0;return!1}function u(t){return t.toString().substring(2,t.toString().length-2).replace(/\.\*\?$/,"*")}function c(t){return t instanceof Error?t.stack||t.message:t}function l(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return n.debug=n,n.default=n,n.coerce=c,n.disable=a,n.enable=o,n.enabled=s,n.humanize=r("1468"),n.destroy=l,Object.keys(t).forEach(e=>{n[e]=t[e]}),n.names=[],n.skips=[],n.formatters={},n.selectColor=e,n.enable(n.load()),n}t.exports=n},dd11:function(t,e,r){"use strict";r.d(e,"a",(function(){return o})),r.d(e,"b",(function(){return a})),r.d(e,"c",(function(){return s}));var n=["D","DD"],i=["YY","YYYY"];function o(t){return-1!==n.indexOf(t)}function a(t){return-1!==i.indexOf(t)}function s(t,e,r){if("YYYY"===t)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===t)throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===t)throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===t)throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}},dd43:function(t,e,r){},dd7b:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=new Uint8Array(0),i=t=>t.reduce((t,e)=>t+e.toString(16).padStart(2,"0"),""),o=t=>{const e=t.match(/../g);return e?new Uint8Array(e.map(t=>parseInt(t,16))):n},a=(t,e)=>{if(t===e)return!0;if(t.byteLength!==e.byteLength)return!1;for(let r=0;r<t.byteLength;r++)if(t[r]!==e[r])return!1;return!0},s=t=>{if(t instanceof Uint8Array&&"Uint8Array"===t.constructor.name)return t;if(t instanceof ArrayBuffer)return new Uint8Array(t);if(ArrayBuffer.isView(t))return new Uint8Array(t.buffer,t.byteOffset,t.byteLength);throw new Error("Unknown type, must be binary type")},u=t=>t instanceof ArrayBuffer||ArrayBuffer.isView(t),c=t=>(new TextEncoder).encode(t),l=t=>(new TextDecoder).decode(t);e.coerce=s,e.empty=n,e.equals=a,e.fromHex=o,e.fromString=c,e.isBinary=u,e.toHex=i,e.toString=l},dd83:function(t,e,r){"use strict";var n=r("4bd4");r.d(e,"a",(function(){return n["a"]}));n["a"]},dd89:function(t,e,r){"use strict";function n(t){if("function"!==typeof t.getRootNode){while(t.parentNode)t=t.parentNode;return t!==document?null:document}const e=t.getRootNode();return e!==document&&e.getRootNode({composed:!0})!==document?null:e}r.d(e,"a",(function(){return n}))},dd9a:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1ec9"),i=r("2a12");const o=n.configure(t=>{async function e(e,r={}){const n=await t.post("pubsub/peers",{signal:r.signal,searchParams:i.toUrlSearchParams({arg:e,...r}),headers:r.headers}),{Strings:o}=await n.json();return o||[]}return e});e.createPeers=o},de24:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("42d3"),i=r("76cd"),o=r("5e2f"),a=r("d972");function s(t){return{wantlist:n.createWantlist(t),wantlistForPeer:i.createWantlistForPeer(t),unwant:a.createUnwant(t),stat:o.createStat(t)}}e.createBitswap=s},de2c:function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));var n=r("90a2"),i=r("d9bd"),o=r("2b0e");function a(t){return o["default"].extend({name:"intersectable",data:()=>({isIntersecting:!1}),mounted(){n["b"].inserted(this.$el,{name:"intersect",value:this.onObserve},this.$vnode)},destroyed(){n["b"].unbind(this.$el,{name:"intersect",value:this.onObserve},this.$vnode)},methods:{onObserve(e,r,n){if(this.isIntersecting=n,n)for(let o=0,a=t.onVisible.length;o<a;o++){const e=this[t.onVisible[o]];"function"!==typeof e?Object(i["c"])(t.onVisible[o]+" method is not available on the instance but referenced in intersectable mixin options"):e()}}}})}},df7c:function(t,e,r){(function(t){function r(t,e){for(var r=0,n=t.length-1;n>=0;n--){var i=t[n];"."===i?t.splice(n,1):".."===i?(t.splice(n,1),r++):r&&(t.splice(n,1),r--)}if(e)for(;r--;r)t.unshift("..");return t}function n(t){"string"!==typeof t&&(t+="");var e,r=0,n=-1,i=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!i){r=e+1;break}}else-1===n&&(i=!1,n=e+1);return-1===n?"":t.slice(r,n)}function i(t,e){if(t.filter)return t.filter(e);for(var r=[],n=0;n<t.length;n++)e(t[n],n,t)&&r.push(t[n]);return r}e.resolve=function(){for(var e="",n=!1,o=arguments.length-1;o>=-1&&!n;o--){var a=o>=0?arguments[o]:t.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(e=a+"/"+e,n="/"===a.charAt(0))}return e=r(i(e.split("/"),(function(t){return!!t})),!n).join("/"),(n?"/":"")+e||"."},e.normalize=function(t){var n=e.isAbsolute(t),a="/"===o(t,-1);return t=r(i(t.split("/"),(function(t){return!!t})),!n).join("/"),t||n||(t="."),t&&a&&(t+="/"),(n?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(i(t,(function(t,e){if("string"!==typeof t)throw new TypeError("Arguments to path.join must be strings");return t})).join("/"))},e.relative=function(t,r){function n(t){for(var e=0;e<t.length;e++)if(""!==t[e])break;for(var r=t.length-1;r>=0;r--)if(""!==t[r])break;return e>r?[]:t.slice(e,r-e+1)}t=e.resolve(t).substr(1),r=e.resolve(r).substr(1);for(var i=n(t.split("/")),o=n(r.split("/")),a=Math.min(i.length,o.length),s=a,u=0;u<a;u++)if(i[u]!==o[u]){s=u;break}var c=[];for(u=s;u<i.length;u++)c.push("..");return c=c.concat(o.slice(s)),c.join("/")},e.sep="/",e.delimiter=":",e.dirname=function(t){if("string"!==typeof t&&(t+=""),0===t.length)return".";for(var e=t.charCodeAt(0),r=47===e,n=-1,i=!0,o=t.length-1;o>=1;--o)if(e=t.charCodeAt(o),47===e){if(!i){n=o;break}}else i=!1;return-1===n?r?"/":".":r&&1===n?"/":t.slice(0,n)},e.basename=function(t,e){var r=n(t);return e&&r.substr(-1*e.length)===e&&(r=r.substr(0,r.length-e.length)),r},e.extname=function(t){"string"!==typeof t&&(t+="");for(var e=-1,r=0,n=-1,i=!0,o=0,a=t.length-1;a>=0;--a){var s=t.charCodeAt(a);if(47!==s)-1===n&&(i=!1,n=a+1),46===s?-1===e?e=a:1!==o&&(o=1):-1!==e&&(o=-1);else if(!i){r=a+1;break}}return-1===e||-1===n||0===o||1===o&&e===n-1&&e===r+1?"":t.slice(e,n)};var o="b"==="ab".substr(-1)?function(t,e,r){return t.substr(e,r)}:function(t,e,r){return e<0&&(e=t.length+e),t.substr(e,r)}}).call(this,r("4362"))},df86:function(t,e,r){},df8d:function(t,e,r){"use strict";r.d(e,"a",(function(){return s}));r("8ff2");var n=r("a9ad"),i=r("7560"),o=r("58df"),a=r("80d2"),s=Object(o["a"])(n["a"],i["a"]).extend({name:"v-messages",props:{value:{type:Array,default:()=>[]}},methods:{genChildren(){return this.$createElement("transition-group",{staticClass:"v-messages__wrapper",attrs:{name:"message-transition",tag:"div"}},this.value.map(this.genMessage))},genMessage(t,e){return this.$createElement("div",{staticClass:"v-messages__message",key:e},Object(a["u"])(this,"default",{message:t,key:e})||[t])}},render(t){return t("div",this.setTextColor(this.color,{staticClass:"v-messages",class:this.themeClasses}),[this.genChildren()])}});e["b"]=s},dfda:function(t,e,r){"use strict";var n=r("2b0e");e["a"]=n["default"].extend({name:"localable",props:{locale:String},computed:{currentLocale(){return this.locale||this.$vuetify.lang.current}}})},dfe4:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1f0e"),i=r("9975"),o=r("1ec9");function a(t){return t&&"object"===typeof t&&"default"in t?t:{default:t}}var s=a(i);const u=t=>{const e=n.createRmAll(t);return o.configure(()=>{async function t(t,r={}){return s["default"](e([{path:t,...r}],r))}return t})(t)};e.createRm=u},e00e:function(t,e,r){"use strict";var n=r("f6c4");r.d(e,"a",(function(){return n["a"]}));n["a"]},e03b:function(t,e,r){"use strict";const n=r("104d"),i=t=>n({exact:!0}).test(t);i.v4=t=>n.v4({exact:!0}).test(t),i.v6=t=>n.v6({exact:!0}).test(t),i.version=t=>i(t)?i.v4(t)?4:6:void 0,t.exports=i},e051:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1ec9"),i=r("2a12"),o=r("2054");const a=n.configure(t=>{async function e(e={}){const r=await t.post("bootstrap/rm",{signal:e.signal,searchParams:i.toUrlSearchParams({...e,all:!0}),headers:e.headers}),{Peers:n}=await r.json();return{Peers:n.map(t=>new o.Multiaddr(t))}}return e});e.createClear=a},e0c5:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},r={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"},n=t.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".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:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પહેલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(t){return t.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,(function(t){return r[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(t,e){return 12===t&&(t=0),"રાત"===e?t<4?t:t+12:"સવાર"===e?t:"બપોર"===e?t>=10?t:t+12:"સાંજ"===e?t+12:void 0},meridiem:function(t,e,r){return t<4?"રાત":t<10?"સવાર":t<17?"બપોર":t<20?"સાંજ":"રાત"},week:{dow:0,doy:6}});return n}))},e0c7:function(t,e,r){"use strict";r("0bc6");var n=r("7560"),i=r("58df"),o=r("80d2");e["a"]=Object(i["a"])(n["a"]).extend({name:"v-subheader",props:{inset:Boolean},render(t){return t("div",{staticClass:"v-subheader",class:{"v-subheader--inset":this.inset,...this.themeClasses},attrs:this.$attrs,on:this.$listeners},Object(o["u"])(this))}})},e1bd:function(t,e,r){var n=self.crypto||self.msCrypto,i="-_",o=36;while(o--)i+=o.toString(36);o=36;while(o---10)i+=o.toString(36).toUpperCase();t.exports=function(t){var e="",r=n.getRandomValues(new Uint8Array(t||21));o=t||21;while(o--)e+=i[63&r[o]];return e}},e1d3:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.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(t){var e=t%10,r=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+r},week:{dow:1,doy:4}});return e}))},e223:function(t,e,r){"use strict";var n=r("288c");r.d(e,"a",(function(){return n["a"]}));n["a"]},e22a:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=new TextEncoder,i=2**32,o=2**31;function a(t,e){let r=e.length;if("number"===typeof t.Tsize){if(t.Tsize<0)throw new Error("Tsize cannot be negative");if(!Number.isSafeInteger(t.Tsize))throw new Error("Tsize too large for encoding");r=l(e,r,t.Tsize)-1,e[r]=24}if("string"===typeof t.Name){const i=n.encode(t.Name);r-=i.length,e.set(i,r),r=l(e,r,i.length)-1,e[r]=18}return t.Hash&&(r-=t.Hash.length,e.set(t.Hash,r),r=l(e,r,t.Hash.length)-1,e[r]=10),e.length-r}function s(t){const e=c(t),r=new Uint8Array(e);let n=e;if(t.Data&&(n-=t.Data.length,r.set(t.Data,n),n=l(r,n,t.Data.length)-1,r[n]=10),t.Links)for(let i=t.Links.length-1;i>=0;i--){const e=a(t.Links[i],r.subarray(0,n));n-=e,n=l(r,n,e)-1,r[n]=18}return r}function u(t){let e=0;if(t.Hash){const r=t.Hash.length;e+=1+r+h(r)}if("string"===typeof t.Name){const r=n.encode(t.Name).length;e+=1+r+h(r)}return"number"===typeof t.Tsize&&(e+=1+h(t.Tsize)),e}function c(t){let e=0;if(t.Data){const r=t.Data.length;e+=1+r+h(r)}if(t.Links)for(const r of t.Links){const t=u(r);e+=1+t+h(t)}return e}function l(t,e,r){e-=h(r);const n=e;while(r>=o)t[e++]=127&r|128,r/=128;while(r>=128)t[e++]=127&r|128,r>>>=7;return t[e]=r,n}function h(t){return t%2===0&&t++,Math.floor((f(t)+6)/7)}function f(t){let e=0;return t>=i&&(t=Math.floor(t/i),e=32),t>=65536&&(t>>>=16,e+=16),t>=256&&(t>>>=8,e+=8),e+d[t]}const d=[0,1,2,2,3,3,3,3,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8];e.encodeNode=s},e390:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("fb86"),i=r("1ec9"),o=r("2a12");const a=i.configure(t=>{async function e(e={}){const r=await t.post("object/new",{signal:e.signal,searchParams:o.toUrlSearchParams({arg:e.template,...e}),headers:e.headers}),{Hash:i}=await r.json();return n.CID.parse(i)}return e});e.createNew=a},e3c5:function(t,e,r){"use strict";var n={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},i=function(t,e,r){var i,o=n[t];return i="string"===typeof o?o:1===e?o.one:o.other.replace("{{count}}",e.toString()),null!==r&&void 0!==r&&r.addSuffix?r.comparison&&r.comparison>0?"in "+i:i+" ago":i},o=i;function a(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.width?String(e.width):t.defaultWidth,n=t.formats[r]||t.formats[t.defaultWidth];return n}}var s={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},u={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},c={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},l={date:a({formats:s,defaultWidth:"full"}),time:a({formats:u,defaultWidth:"full"}),dateTime:a({formats:c,defaultWidth:"full"})},h=l,f={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},d=function(t,e,r,n){return f[t]},p=d;function m(t){return function(e,r){var n,i=null!==r&&void 0!==r&&r.context?String(r.context):"standalone";if("formatting"===i&&t.formattingValues){var o=t.defaultFormattingWidth||t.defaultWidth,a=null!==r&&void 0!==r&&r.width?String(r.width):o;n=t.formattingValues[a]||t.formattingValues[o]}else{var s=t.defaultWidth,u=null!==r&&void 0!==r&&r.width?String(r.width):t.defaultWidth;n=t.values[u]||t.values[s]}var c=t.argumentCallback?t.argumentCallback(e):e;return n[c]}}var g={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},y={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},v={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},b={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},_={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},w={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},x=function(t,e){var r=Number(t),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},k={ordinalNumber:x,era:m({values:g,defaultWidth:"wide"}),quarter:m({values:y,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:m({values:v,defaultWidth:"wide"}),day:m({values:b,defaultWidth:"wide"}),dayPeriod:m({values:_,defaultWidth:"wide",formattingValues:w,defaultFormattingWidth:"wide"})},S=k;function E(t){return function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.width,i=n&&t.matchPatterns[n]||t.matchPatterns[t.defaultMatchWidth],o=e.match(i);if(!o)return null;var a,s=o[0],u=n&&t.parsePatterns[n]||t.parsePatterns[t.defaultParseWidth],c=Array.isArray(u)?A(u,(function(t){return t.test(s)})):M(u,(function(t){return t.test(s)}));a=t.valueCallback?t.valueCallback(c):c,a=r.valueCallback?r.valueCallback(a):a;var l=e.slice(s.length);return{value:a,rest:l}}}function M(t,e){for(var r in t)if(t.hasOwnProperty(r)&&e(t[r]))return r}function A(t,e){for(var r=0;r<t.length;r++)if(e(t[r]))return r}function T(t){return function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.match(t.matchPattern);if(!n)return null;var i=n[0],o=e.match(t.parsePattern);if(!o)return null;var a=t.valueCallback?t.valueCallback(o[0]):o[0];a=r.valueCallback?r.valueCallback(a):a;var s=e.slice(i.length);return{value:a,rest:s}}}var C=/^(\d+)(th|st|nd|rd)?/i,L=/\d+/i,P={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},O={any:[/^b/i,/^(a|c)/i]},I={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},D={any:[/1/i,/2/i,/3/i,/4/i]},B={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},j={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},N={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},R={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},F={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Y={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},U={ordinalNumber:T({matchPattern:C,parsePattern:L,valueCallback:function(t){return parseInt(t,10)}}),era:E({matchPatterns:P,defaultMatchWidth:"wide",parsePatterns:O,defaultParseWidth:"any"}),quarter:E({matchPatterns:I,defaultMatchWidth:"wide",parsePatterns:D,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:E({matchPatterns:B,defaultMatchWidth:"wide",parsePatterns:j,defaultParseWidth:"any"}),day:E({matchPatterns:N,defaultMatchWidth:"wide",parsePatterns:R,defaultParseWidth:"any"}),dayPeriod:E({matchPatterns:F,defaultMatchWidth:"any",parsePatterns:Y,defaultParseWidth:"any"})},H=U,z={code:"en-US",formatDistance:o,formatLong:h,formatRelative:p,localize:S,match:H,options:{weekStartsOn:0,firstWeekContainsDate:1}},V=z;e["a"]=V},e3cf:function(t,e,r){"use strict";function n(t){if(null!=t)return"string"===typeof t?t:t.toString(8).padStart(4,"0")}Object.defineProperty(e,"__esModule",{value:!0}),e.modeToString=n},e3db:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("3ef0");const i=256;class o{constructor(t=i){this.chunkSize=t,this.cursor=0,this.maxCursor=-1,this.chunks=[],this._initReuseChunk=null}reset(){this.cursor=0,this.maxCursor=-1,this.chunks.length&&(this.chunks=[]),null!==this._initReuseChunk&&(this.chunks.push(this._initReuseChunk),this.maxCursor=this._initReuseChunk.length-1)}push(t){let e=this.chunks[this.chunks.length-1];const r=this.cursor+t.length;if(r<=this.maxCursor+1){const r=e.length-(this.maxCursor-this.cursor)-1;e.set(t,r)}else{if(e){const t=e.length-(this.maxCursor-this.cursor)-1;t<e.length&&(this.chunks[this.chunks.length-1]=e.subarray(0,t),this.maxCursor=this.cursor-1)}t.length<64&&t.length<this.chunkSize?(e=n.alloc(this.chunkSize),this.chunks.push(e),this.maxCursor+=e.length,null===this._initReuseChunk&&(this._initReuseChunk=e),e.set(t,0)):(this.chunks.push(t),this.maxCursor+=t.length)}this.cursor+=t.length}toBytes(t=!1){let e;if(1===this.chunks.length){const r=this.chunks[0];t&&this.cursor>r.length/2?(e=this.cursor===r.length?r:r.subarray(0,this.cursor),this._initReuseChunk=null,this.chunks=[]):e=n.slice(r,0,this.cursor)}else e=n.concat(this.chunks,this.cursor);return t&&this.reset(),e}}e.Bl=o},e449:function(t,e,r){"use strict";r("ee6f");var n=r("480e"),i=r("4ad4"),o=r("16b7"),a=r("b848"),s=r("f573"),u=r("e4d3"),c=r("a236"),l=r("7560"),h=r("a293"),f=r("dc22"),d=r("58df"),p=r("d9bd"),m=r("80d2"),g=r("7d8f");const y=Object(d["a"])(a["a"],o["a"],u["a"],c["a"],l["a"],s["a"]);e["a"]=y.extend({name:"v-menu",directives:{ClickOutside:h["b"],Resize:f["b"]},provide(){return{isInMenu:!0,theme:this.theme}},props:{auto:Boolean,closeOnClick:{type:Boolean,default:!0},closeOnContentClick:{type:Boolean,default:!0},disabled:Boolean,disableKeys:Boolean,maxHeight:{type:[Number,String],default:"auto"},offsetX:Boolean,offsetY:Boolean,openOnHover:Boolean,origin:{type:String,default:"top left"},transition:{type:[Boolean,String],default:"v-menu-transition"},contentProps:{type:Object,default:()=>({})}},data(){return{calculatedTopAuto:0,defaultOffset:8,hasJustFocused:!1,listIndex:-1,resizeTimeout:0,selectedIndex:null,tiles:[]}},computed:{activeTile(){return this.tiles[this.listIndex]},calculatedLeft(){const t=Math.max(this.dimensions.content.width,parseFloat(this.calculatedMinWidth));return this.auto?Object(m["i"])(this.calcXOverflow(this.calcLeftAuto(),t))||"0":this.calcLeft(t)||"0"},calculatedMaxHeight(){const t=this.auto?"200px":Object(m["i"])(this.maxHeight);return t||"0"},calculatedMaxWidth(){return Object(m["i"])(this.maxWidth)||"0"},calculatedMinWidth(){if(this.minWidth)return Object(m["i"])(this.minWidth)||"0";const t=Math.min(this.dimensions.activator.width+Number(this.nudgeWidth)+(this.auto?16:0),Math.max(this.pageWidth-24,0)),e=isNaN(parseInt(this.calculatedMaxWidth))?t:parseInt(this.calculatedMaxWidth);return Object(m["i"])(Math.min(e,t))||"0"},calculatedTop(){const t=this.auto?Object(m["i"])(this.calcYOverflow(this.calculatedTopAuto)):this.calcTop();return t||"0"},hasClickableTiles(){return Boolean(this.tiles.find(t=>t.tabIndex>-1))},styles(){return{maxHeight:this.calculatedMaxHeight,minWidth:this.calculatedMinWidth,maxWidth:this.calculatedMaxWidth,top:this.calculatedTop,left:this.calculatedLeft,transformOrigin:this.origin,zIndex:this.zIndex||this.activeZIndex}}},watch:{isActive(t){t||(this.listIndex=-1)},isContentActive(t){this.hasJustFocused=t},listIndex(t,e){if(t in this.tiles){const e=this.tiles[t];e.classList.add("v-list-item--highlighted");const r=this.$refs.content.scrollTop,n=this.$refs.content.clientHeight;r>e.offsetTop-8?Object(g["b"])(e.offsetTop-e.clientHeight,{appOffset:!1,duration:300,container:this.$refs.content}):r+n<e.offsetTop+e.clientHeight+8&&Object(g["b"])(e.offsetTop-n+2*e.clientHeight,{appOffset:!1,duration:300,container:this.$refs.content})}e in this.tiles&&this.tiles[e].classList.remove("v-list-item--highlighted")}},created(){this.$attrs.hasOwnProperty("full-width")&&Object(p["e"])("full-width",this)},mounted(){this.isActive&&this.callActivate()},methods:{activate(){this.updateDimensions(),requestAnimationFrame(()=>{this.startTransition().then(()=>{this.$refs.content&&(this.calculatedTopAuto=this.calcTopAuto(),this.auto&&(this.$refs.content.scrollTop=this.calcScrollPosition()))})})},calcScrollPosition(){const t=this.$refs.content,e=t.querySelector(".v-list-item--active"),r=t.scrollHeight-t.offsetHeight;return e?Math.min(r,Math.max(0,e.offsetTop-t.offsetHeight/2+e.offsetHeight/2)):t.scrollTop},calcLeftAuto(){return parseInt(this.dimensions.activator.left-2*this.defaultOffset)},calcTopAuto(){const t=this.$refs.content,e=t.querySelector(".v-list-item--active");if(e||(this.selectedIndex=null),this.offsetY||!e)return this.computedTop;this.selectedIndex=Array.from(this.tiles).indexOf(e);const r=e.offsetTop-this.calcScrollPosition(),n=t.querySelector(".v-list-item").offsetTop;return this.computedTop-r-n-1},changeListIndex(t){if(this.getTiles(),this.isActive&&this.hasClickableTiles)if(t.keyCode!==m["A"].tab){if(t.keyCode===m["A"].down)this.nextTile();else if(t.keyCode===m["A"].up)this.prevTile();else if(t.keyCode===m["A"].end)this.lastTile();else if(t.keyCode===m["A"].home)this.firstTile();else{if(t.keyCode!==m["A"].enter||-1===this.listIndex)return;this.tiles[this.listIndex].click()}t.preventDefault()}else this.isActive=!1},closeConditional(t){const e=t.target;return this.isActive&&!this._isDestroyed&&this.closeOnClick&&!this.$refs.content.contains(e)},genActivatorAttributes(){const t=i["a"].options.methods.genActivatorAttributes.call(this);return this.activeTile&&this.activeTile.id?{...t,"aria-activedescendant":this.activeTile.id}:t},genActivatorListeners(){const t=s["a"].options.methods.genActivatorListeners.call(this);return this.disableKeys||(t.keydown=this.onKeyDown),t},genTransition(){const t=this.genContent();return this.transition?this.$createElement("transition",{props:{name:this.transition}},[t]):t},genDirectives(){const t=[{name:"show",value:this.isContentActive}];return!this.openOnHover&&this.closeOnClick&&t.push({name:"click-outside",value:{handler:()=>{this.isActive=!1},closeConditional:this.closeConditional,include:()=>[this.$el,...this.getOpenDependentElements()]}}),t},genContent(){const t={attrs:{...this.getScopeIdAttrs(),...this.contentProps,role:"role"in this.$attrs?this.$attrs.role:"menu"},staticClass:"v-menu__content",class:{...this.rootThemeClasses,...this.roundedClasses,"v-menu__content--auto":this.auto,"v-menu__content--fixed":this.activatorFixed,menuable__content__active:this.isActive,[this.contentClass.trim()]:!0},style:this.styles,directives:this.genDirectives(),ref:"content",on:{click:t=>{const e=t.target;e.getAttribute("disabled")||this.closeOnContentClick&&(this.isActive=!1)},keydown:this.onKeyDown}};return this.$listeners.scroll&&(t.on=t.on||{},t.on.scroll=this.$listeners.scroll),!this.disabled&&this.openOnHover&&(t.on=t.on||{},t.on.mouseenter=this.mouseEnterHandler),this.openOnHover&&(t.on=t.on||{},t.on.mouseleave=this.mouseLeaveHandler),this.$createElement("div",t,this.getContentSlot())},getTiles(){this.$refs.content&&(this.tiles=Array.from(this.$refs.content.querySelectorAll(".v-list-item, .v-divider, .v-subheader")))},mouseEnterHandler(){this.runDelay("open",()=>{this.hasJustFocused||(this.hasJustFocused=!0)})},mouseLeaveHandler(t){this.runDelay("close",()=>{var e;(null===(e=this.$refs.content)||void 0===e?void 0:e.contains(t.relatedTarget))||requestAnimationFrame(()=>{this.isActive=!1,this.callDeactivate()})})},nextTile(){const t=this.tiles[this.listIndex+1];if(!t){if(!this.tiles.length)return;return this.listIndex=-1,void this.nextTile()}this.listIndex++,-1===t.tabIndex&&this.nextTile()},prevTile(){const t=this.tiles[this.listIndex-1];if(!t){if(!this.tiles.length)return;return this.listIndex=this.tiles.length,void this.prevTile()}this.listIndex--,-1===t.tabIndex&&this.prevTile()},lastTile(){const t=this.tiles[this.tiles.length-1];t&&(this.listIndex=this.tiles.length-1,-1===t.tabIndex&&this.prevTile())},firstTile(){const t=this.tiles[0];t&&(this.listIndex=0,-1===t.tabIndex&&this.nextTile())},onKeyDown(t){if(!this.disableKeys){if(t.keyCode===m["A"].esc){setTimeout(()=>{this.isActive=!1});const t=this.getActivator();this.$nextTick(()=>t&&t.focus())}else!this.isActive&&[m["A"].up,m["A"].down].includes(t.keyCode)&&(this.isActive=!0);this.$nextTick(()=>this.changeListIndex(t))}},onResize(){this.isActive&&(this.$refs.content.offsetWidth,this.updateDimensions(),clearTimeout(this.resizeTimeout),this.resizeTimeout=window.setTimeout(this.updateDimensions,100))}},render(t){const e={staticClass:"v-menu",class:{"v-menu--attached":""===this.attach||!0===this.attach||"attach"===this.attach},directives:[{arg:"500",name:"resize",value:this.onResize}]};return t("div",e,[!this.activator&&this.genActivator(),this.showLazyContent(()=>[this.$createElement(n["a"],{props:{root:!0,light:this.light,dark:this.dark}},[this.genTransition()])])])}})},e467:function(t,e,r){"use strict";(function(t){var n=r("c532"),i=r("7917"),o=r("4581");function a(t){return n["a"].isPlainObject(t)||n["a"].isArray(t)}function s(t){return n["a"].endsWith(t,"[]")?t.slice(0,-2):t}function u(t,e,r){return t?t.concat(e).map((function(t,e){return t=s(t),!r&&e?"["+t+"]":t})).join(r?".":""):e}function c(t){return n["a"].isArray(t)&&!t.some(a)}const l=n["a"].toFlatObject(n["a"],{},null,(function(t){return/^is[A-Z]/.test(t)}));function h(e,r,h){if(!n["a"].isObject(e))throw new TypeError("target must be an object");r=r||new(o["a"]||FormData),h=n["a"].toFlatObject(h,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(t,e){return!n["a"].isUndefined(e[t])}));const f=h.metaTokens,d=h.visitor||b,p=h.dots,m=h.indexes,g=h.Blob||"undefined"!==typeof Blob&&Blob,y=g&&n["a"].isSpecCompliantForm(r);if(!n["a"].isFunction(d))throw new TypeError("visitor must be a function");function v(e){if(null===e)return"";if(n["a"].isDate(e))return e.toISOString();if(!y&&n["a"].isBlob(e))throw new i["a"]("Blob is not supported. Use a Buffer instead.");return n["a"].isArrayBuffer(e)||n["a"].isTypedArray(e)?y&&"function"===typeof Blob?new Blob([e]):t.from(e):e}function b(t,e,i){let o=t;if(t&&!i&&"object"===typeof t)if(n["a"].endsWith(e,"{}"))e=f?e:e.slice(0,-2),t=JSON.stringify(t);else if(n["a"].isArray(t)&&c(t)||(n["a"].isFileList(t)||n["a"].endsWith(e,"[]"))&&(o=n["a"].toArray(t)))return e=s(e),o.forEach((function(t,i){!n["a"].isUndefined(t)&&null!==t&&r.append(!0===m?u([e],i,p):null===m?e:e+"[]",v(t))})),!1;return!!a(t)||(r.append(u(i,e,p),v(t)),!1)}const _=[],w=Object.assign(l,{defaultVisitor:b,convertValue:v,isVisitable:a});function x(t,e){if(!n["a"].isUndefined(t)){if(-1!==_.indexOf(t))throw Error("Circular reference detected in "+e.join("."));_.push(t),n["a"].forEach(t,(function(t,i){const o=!(n["a"].isUndefined(t)||null===t)&&d.call(r,t,n["a"].isString(i)?i.trim():i,e,w);!0===o&&x(t,e?e.concat(i):[i])})),_.pop()}}if(!n["a"].isObject(e))throw new TypeError("data must be an object");return x(e),r}e["a"]=h}).call(this,r("1c35").Buffer)},e4ae:function(t,e,r){!function(e,r,n){t.exports?t.exports=n():e[r]=n()}(this,"subtag",(function(){var t="",e=/^([a-zA-Z]{2,3})(?:[_-]+([a-zA-Z]{3})(?=$|[_-]+))?(?:[_-]+([a-zA-Z]{4})(?=$|[_-]+))?(?:[_-]+([a-zA-Z]{2}|[0-9]{3})(?=$|[_-]+))?/;function r(t){return t.match(e)||[]}function n(t){return r(t).filter((function(t,e){return t&&e}))}function i(e){return e=r(e),{language:e[1]||t,extlang:e[2]||t,script:e[3]||t,region:e[4]||t}}function o(t,e,r){Object.defineProperty(t,e,{value:r,enumerable:!0})}function a(e,n,a){function s(n){return r(n)[e]||t}o(s,"pattern",n),o(i,a,s)}return a(1,/^[a-zA-Z]{2,3}$/,"language"),a(2,/^[a-zA-Z]{3}$/,"extlang"),a(3,/^[a-zA-Z]{4}$/,"script"),a(4,/^[a-zA-Z]{2}$|^[0-9]{3}$/,"region"),o(i,"split",n),i}))},e4cd:function(t,e,r){"use strict";var n=r("d9bd"),i=r("2b0e");e["a"]=i["default"].extend({name:"mobile",props:{mobileBreakpoint:{type:[Number,String],default(){return this.$vuetify?this.$vuetify.breakpoint.mobileBreakpoint:void 0},validator:t=>!isNaN(Number(t))||["xs","sm","md","lg","xl"].includes(String(t))}},computed:{isMobile(){const{mobile:t,width:e,name:r,mobileBreakpoint:n}=this.$vuetify.breakpoint;if(n===this.mobileBreakpoint)return t;const i=parseInt(this.mobileBreakpoint,10),o=!isNaN(i);return o?e<i:r===this.mobileBreakpoint}},created(){this.$attrs.hasOwnProperty("mobile-break-point")&&Object(n["d"])("mobile-break-point","mobile-breakpoint",this)}})},e4d3:function(t,e,r){"use strict";var n=r("2b0e");e["a"]=n["default"].extend({name:"returnable",props:{returnValue:null},data:()=>({isActive:!1,originalValue:null}),watch:{isActive(t){t?this.originalValue=this.returnValue:this.$emit("update:return-value",this.originalValue)}},methods:{save(t){this.originalValue=t,setTimeout(()=>{this.isActive=!1})}}})},e4de:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("dc74");const i=n.baseX({name:"base58btc",prefix:"z",alphabet:"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"}),o=n.baseX({name:"base58flickr",prefix:"Z",alphabet:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"});e.base58btc=i,e.base58flickr=o},e53c:function(t,e,r){},e5c3:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("fb86"),i=r("2a12");const o=({Name:t,Status:e,Cid:r})=>({cid:n.CID.parse(r),name:t,status:e}),a=t=>{if("string"===typeof t&&""!==t)return t;throw new TypeError("service name must be passed")},s=t=>{if(n.CID.asCID(t))return t.toString();throw new TypeError("CID instance expected instead of "+typeof t)},u=({service:t,cid:e,name:r,status:n,all:o})=>{const u=i.toUrlSearchParams({service:a(t),name:r,force:!!o||void 0});if(e)for(const i of e)u.append("cid",s(i));if(n)for(const i of n)u.append("status",i);return u},c=({cid:t,service:e,background:r,name:n,origins:o})=>{const u=i.toUrlSearchParams({arg:s(t),service:a(e),name:n,background:!!r||void 0});if(o)for(const i of o)u.append("origin",i.toString());return u};e.decodePin=o,e.encodeAddParams=c,e.encodeCID=s,e.encodeQuery=u,e.encodeService=a},e635:function(t,e,r){},e682:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("6ef4"),i=r("6709"),o=r("6f5e");function a(t){return{level:n.createLevel(t),ls:i.createLs(t),tail:o.createTail(t)}}e.createLog=a},e707:function(t,e,r){"use strict";var n=r("1abc"),i=r("80d2"),o=r("2b0e");e["a"]=o["default"].extend().extend({name:"overlayable",props:{hideOverlay:Boolean,overlayColor:String,overlayOpacity:[Number,String]},data(){return{animationFrame:0,overlay:null}},watch:{hideOverlay(t){this.isActive&&(t?this.removeOverlay():this.genOverlay())}},beforeDestroy(){this.removeOverlay()},methods:{createOverlay(){const t=new n["b"]({propsData:{absolute:this.absolute,value:!1,color:this.overlayColor,opacity:this.overlayOpacity}});t.$mount();const e=this.absolute?this.$el.parentNode:document.querySelector("[data-app]");e&&e.insertBefore(t.$el,e.firstChild),this.overlay=t},genOverlay(){if(this.hideScroll(),!this.hideOverlay)return this.overlay||this.createOverlay(),this.animationFrame=requestAnimationFrame(()=>{this.overlay&&(void 0!==this.activeZIndex?this.overlay.zIndex=String(this.activeZIndex-1):this.$el&&(this.overlay.zIndex=Object(i["w"])(this.$el)),this.overlay.value=!0)}),!0},removeOverlay(t=!0){this.overlay&&(Object(i["a"])(this.overlay.$el,"transitionend",()=>{this.overlay&&this.overlay.$el&&this.overlay.$el.parentNode&&!this.overlay.value&&!this.isActive&&(this.overlay.$el.parentNode.removeChild(this.overlay.$el),this.overlay.$destroy(),this.overlay=null)}),cancelAnimationFrame(this.animationFrame),this.overlay.value=!1),t&&this.showScroll()},scrollListener(t){if("key"in t){if(["INPUT","TEXTAREA","SELECT"].includes(t.target.tagName)||t.target.isContentEditable)return;const e=[i["A"].up,i["A"].pageup],r=[i["A"].down,i["A"].pagedown];if(e.includes(t.keyCode))t.deltaY=-1;else{if(!r.includes(t.keyCode))return;t.deltaY=1}}(t.target===this.overlay||"keydown"!==t.type&&t.target===document.body||this.checkPath(t))&&t.preventDefault()},hasScrollbar(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(t);return(["auto","scroll"].includes(e.overflowY)||"SELECT"===t.tagName)&&t.scrollHeight>t.clientHeight||["auto","scroll"].includes(e.overflowX)&&t.scrollWidth>t.clientWidth},shouldScroll(t,e){if(t.hasAttribute("data-app"))return!1;const r=e.shiftKey||e.deltaX?"x":"y",n="y"===r?e.deltaY:e.deltaX||e.deltaY;let i,o;"y"===r?(i=0===t.scrollTop,o=t.scrollTop+t.clientHeight===t.scrollHeight):(i=0===t.scrollLeft,o=t.scrollLeft+t.clientWidth===t.scrollWidth);const a=n<0,s=n>0;return!(i||!a)||(!(o||!s)||!(!i&&!o||!t.parentNode)&&this.shouldScroll(t.parentNode,e))},isInside(t,e){return t===e||null!==t&&t!==document.body&&this.isInside(t.parentNode,e)},checkPath(t){const e=Object(i["h"])(t);if("keydown"===t.type&&e[0]===document.body){const e=this.$refs.dialog,r=window.getSelection().anchorNode;return!(e&&this.hasScrollbar(e)&&this.isInside(r,e))||!this.shouldScroll(e,t)}for(let r=0;r<e.length;r++){const n=e[r];if(n===document)return!0;if(n===document.documentElement)return!0;if(n===this.$refs.content)return!0;if(this.hasScrollbar(n))return!this.shouldScroll(n,t)}return!0},hideScroll(){this.$vuetify.breakpoint.smAndDown?document.documentElement.classList.add("overflow-y-hidden"):(Object(i["b"])(window,"wheel",this.scrollListener,{passive:!1}),window.addEventListener("keydown",this.scrollListener))},showScroll(){document.documentElement.classList.remove("overflow-y-hidden"),window.removeEventListener("wheel",this.scrollListener),window.removeEventListener("keydown",this.scrollListener)}}})},e809:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("c181");class i{constructor(){this._subs=new Map}subscribe(t,e,r){const i=this._subs.get(t)||[];if(i.find(t=>t.handler===e))throw new Error(`Already subscribed to ${t} with this handler`);const o=new n.AbortController;return this._subs.set(t,[{handler:e,controller:o}].concat(i)),r&&r.addEventListener("abort",()=>this.unsubscribe(t,e)),o.signal}unsubscribe(t,e){const r=this._subs.get(t)||[];let n;e?(this._subs.set(t,r.filter(t=>t.handler!==e)),n=r.filter(t=>t.handler===e)):(this._subs.set(t,[]),n=r),(this._subs.get(t)||[]).length||this._subs.delete(t),n.forEach(t=>t.controller.abort())}}e.SubscriptionTracker=i},e80e:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1755"),i=r("b92d"),o=r("ac23");function a(t,e,r,i){return new n.Token(n.Type.array,i,r)}function s(t,e,r,n){return a(t,e,1,r)}function u(t,e,r,n){return a(t,e,2,i.readUint8(t,e+1,n))}function c(t,e,r,n){return a(t,e,3,i.readUint16(t,e+1,n))}function l(t,e,r,n){return a(t,e,5,i.readUint32(t,e+1,n))}function h(t,e,r,n){const s=i.readUint64(t,e+1,n);if("bigint"===typeof s)throw new Error(o.decodeErrPrefix+" 64-bit integer array lengths not supported");return a(t,e,9,s)}function f(t,e,r,n){if(!1===n.allowIndefinite)throw new Error(o.decodeErrPrefix+" indefinite length items not allowed");return a(t,e,1,1/0)}function d(t,e){i.encodeUintValue(t,n.Type.array.majorEncoded,e.value)}d.compareTokens=i.encodeUint.compareTokens,d.encodedSize=function(t){return i.encodeUintValue.encodedSize(t.value)},e.decodeArray16=c,e.decodeArray32=l,e.decodeArray64=h,e.decodeArray8=u,e.decodeArrayCompact=s,e.decodeArrayIndefinite=f,e.encodeArray=d},e81d:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},r={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"},n=t.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".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:/ព្រឹក|ល្ងាច/,isPM:function(t){return"ល្ងាច"===t},meridiem:function(t,e,r){return t<12?"ព្រឹក":"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(t){return t.replace(/[១២៣៤៥៦៧៨៩០]/g,(function(t){return r[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},week:{dow:1,doy:4}});return n}))},e8f2:function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r("2b0e");function i(t){return n["default"].extend({name:"v-"+t,functional:!0,props:{id:String,tag:{type:String,default:"div"}},render(e,{props:r,data:n,children:i}){n.staticClass=`${t} ${n.staticClass||""}`.trim();const{attrs:o}=n;if(o){n.attrs={};const t=Object.keys(o).filter(t=>{if("slot"===t)return!1;const e=o[t];return t.startsWith("data-")?(n.attrs[t]=e,!1):e||"string"===typeof e});t.length&&(n.staticClass+=" "+t.join(" "))}return r.id&&(n.domProps=n.domProps||{},n.domProps.id=r.id),e(r.tag,n,i)}})}},e938:function(t,e,r){"use strict";(function(t){var n=e;function i(t,e,r){for(var n=Object.keys(e),i=0;i<n.length;++i)void 0!==t[n[i]]&&r||(t[n[i]]=e[n[i]]);return t}function o(t){function e(t,r){if(!(this instanceof e))return new e(t,r);Object.defineProperty(this,"message",{get:function(){return t}}),Error.captureStackTrace?Error.captureStackTrace(this,e):Object.defineProperty(this,"stack",{value:(new Error).stack||""}),r&&i(this,r)}return(e.prototype=Object.create(Error.prototype)).constructor=e,Object.defineProperty(e.prototype,"name",{get:function(){return t}}),e.prototype.toString=function(){return this.name+": "+this.message},e}n.asPromise=r("305b"),n.base64=r("6e75"),n.EventEmitter=r("6897"),n.float=r("2b01"),n.inquire=r("d468"),n.utf8=r("c8d4"),n.pool=r("0446"),n.LongBits=r("a384"),n.isNode=Boolean("undefined"!==typeof t&&t&&t.process&&t.process.versions&&t.process.versions.node),n.global=n.isNode&&t||"undefined"!==typeof window&&window||"undefined"!==typeof self&&self||this,n.emptyArray=Object.freeze?Object.freeze([]):[],n.emptyObject=Object.freeze?Object.freeze({}):{},n.isInteger=Number.isInteger||function(t){return"number"===typeof t&&isFinite(t)&&Math.floor(t)===t},n.isString=function(t){return"string"===typeof t||t instanceof String},n.isObject=function(t){return t&&"object"===typeof t},n.isset=n.isSet=function(t,e){var r=t[e];return!(null==r||!t.hasOwnProperty(e))&&("object"!==typeof r||(Array.isArray(r)?r.length:Object.keys(r).length)>0)},n.Buffer=function(){try{var t=n.inquire("buffer").Buffer;return t.prototype.utf8Write?t:null}catch(e){return null}}(),n._Buffer_from=null,n._Buffer_allocUnsafe=null,n.newBuffer=function(t){return"number"===typeof t?n.Buffer?n._Buffer_allocUnsafe(t):new n.Array(t):n.Buffer?n._Buffer_from(t):"undefined"===typeof Uint8Array?t:new Uint8Array(t)},n.Array="undefined"!==typeof Uint8Array?Uint8Array:Array,n.Long=n.global.dcodeIO&&n.global.dcodeIO.Long||n.global.Long||n.inquire("long"),n.key2Re=/^true|false|0|1$/,n.key32Re=/^-?(?:0|[1-9][0-9]*)$/,n.key64Re=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,n.longToHash=function(t){return t?n.LongBits.from(t).toHash():n.LongBits.zeroHash},n.longFromHash=function(t,e){var r=n.LongBits.fromHash(t);return n.Long?n.Long.fromBits(r.lo,r.hi,e):r.toNumber(Boolean(e))},n.merge=i,n.lcFirst=function(t){return t.charAt(0).toLowerCase()+t.substring(1)},n.newError=o,n.ProtocolError=o("ProtocolError"),n.oneOfGetter=function(t){for(var e={},r=0;r<t.length;++r)e[t[r]]=1;return function(){for(var t=Object.keys(this),r=t.length-1;r>-1;--r)if(1===e[t[r]]&&void 0!==this[t[r]]&&null!==this[t[r]])return t[r]}},n.oneOfSetter=function(t){return function(e){for(var r=0;r<t.length;++r)t[r]!==e&&delete this[t[r]]}},n.toJSONOptions={longs:String,enums:String,bytes:String,json:!0},n._configure=function(){var t=n.Buffer;t?(n._Buffer_from=t.from!==Uint8Array.from&&t.from||function(e,r){return new t(e,r)},n._Buffer_allocUnsafe=t.allocUnsafe||function(e){return new t(e)}):n._Buffer_from=n._Buffer_allocUnsafe=null}}).call(this,r("c8ba"))},e9b1:function(t,e,r){},e9b4:function(t,e,r){"use strict";var n=r("23a7");r.d(e,"a",(function(){return n["a"]}));n["a"]},ea4a:function(t,e,r){"use strict";r.d(e,"a",(function(){return c})),r.d(e,"c",(function(){return f})),r.d(e,"b",(function(){return d})),r.d(e,"d",(function(){return g})),r.d(e,"o",(function(){return x})),r.d(e,"m",(function(){return k})),r.d(e,"n",(function(){return S})),r.d(e,"l",(function(){return E})),r.d(e,"E",(function(){return M})),r.d(e,"u",(function(){return A})),r.d(e,"F",(function(){return T})),r.d(e,"v",(function(){return C})),r.d(e,"t",(function(){return L})),r.d(e,"k",(function(){return P})),r.d(e,"p",(function(){return I})),r.d(e,"C",(function(){return D})),r.d(e,"r",(function(){return B})),r.d(e,"A",(function(){return j})),r.d(e,"B",(function(){return N})),r.d(e,"D",(function(){return R})),r.d(e,"z",(function(){return F})),r.d(e,"i",(function(){return U})),r.d(e,"e",(function(){return H})),r.d(e,"s",(function(){return q})),r.d(e,"w",(function(){return G})),r.d(e,"x",(function(){return W})),r.d(e,"j",(function(){return K})),r.d(e,"q",(function(){return J})),r.d(e,"y",(function(){return Z})),r.d(e,"f",(function(){return Q})),r.d(e,"g",(function(){return tt})),r.d(e,"h",(function(){return et}));var n=r("4e81");const i=/^(\d{4})-(\d{1,2})(-(\d{1,2}))?([^\d]+(\d{1,2}))?(:(\d{1,2}))?(:(\d{1,2}))?$/,o=/(\d\d?)(:(\d\d?)|)(:(\d\d?)|)/,a=[0,31,28,31,30,31,30,31,31,30,31,30,31],s=[0,31,29,31,30,31,30,31,31,30,31,30,31],u=28,c=31,l=12,h=1,f=1,d=7,p=60,m=59,g=1440,y=23,v=1e4,b=100,_=100,w=1e4;function x(t,e,r){const n=H(t);return X(n,e[0],G),F(n),r&&D(n,r,n.hasTime),n}function k(t,e,r){const n=H(t);return X(n,e[e.length-1]),F(n),r&&D(n,r,n.hasTime),n}function S(t){const e=H(t);return e.day=f,R(e),F(e),e}function E(t){const e=H(t);return e.day=U(e.year,e.month),R(e),F(e),e}function M(t){return"number"===typeof t&&isFinite(t)||!!o.exec(t)||"object"===typeof t&&isFinite(t.hour)&&isFinite(t.minute)}function A(t){if("number"===typeof t)return t;if("string"===typeof t){const e=o.exec(t);return!!e&&60*parseInt(e[1])+parseInt(e[3]||0)}return"object"===typeof t&&("number"===typeof t.hour&&"number"===typeof t.minute&&60*t.hour+t.minute)}function T(t){return"number"===typeof t&&isFinite(t)||"string"===typeof t&&!!i.exec(t)||t instanceof Date}function C(t,e=!1,r){if("number"===typeof t&&isFinite(t)&&(t=new Date(t)),t instanceof Date){const e=L(t);return r&&D(e,r,e.hasTime),e}if("string"!==typeof t){if(e)throw new Error(t+" is not a valid timestamp. It must be a Date, number of milliseconds since Epoch, or a string in the format of YYYY-MM-DD or YYYY-MM-DD hh:mm. Zero-padding is optional and seconds are ignored.");return null}const n=i.exec(t);if(!n){if(e)throw new Error(t+" is not a valid timestamp. It must be a Date, number of milliseconds since Epoch, or a string in the format of YYYY-MM-DD or YYYY-MM-DD hh:mm. Zero-padding is optional and seconds are ignored.");return null}const o={date:t,time:"",year:parseInt(n[1]),month:parseInt(n[2]),day:parseInt(n[4])||1,hour:parseInt(n[6])||0,minute:parseInt(n[8])||0,weekday:0,hasDay:!!n[4],hasTime:!(!n[6]||!n[8]),past:!1,present:!1,future:!1};return R(o),F(o),r&&D(o,r,o.hasTime),o}function L(t){return F({date:"",time:"",year:t.getFullYear(),month:t.getMonth()+1,day:t.getDate(),weekday:t.getDay(),hour:t.getHours(),minute:t.getMinutes(),hasDay:!0,hasTime:!0,past:!1,present:!0,future:!1})}function P(t){return t.year*v+t.month*b+t.day}function O(t){return t.hour*_+t.minute}function I(t){return P(t)*w+O(t)}function D(t,e,r=!1){let n=P(e),i=P(t),o=n===i;return t.hasTime&&r&&o&&(n=O(e),i=O(t),o=n===i),t.past=i<n,t.present=o,t.future=i>n,t}function B(t){return t instanceof Date||"number"===typeof t&&isFinite(t)}function j(t,e,r){return t.hasTime!==e&&(t.hasTime=e,e||(t.hour=y,t.minute=m,t.time=$(t)),r&&D(t,r,t.hasTime)),t}function N(t,e,r){return t.hasTime=!0,t.hour=Math.floor(e/p),t.minute=e%p,t.time=$(t),r&&D(t,r,!0),t}function R(t){return t.weekday=Y(t),t}function F(t){return t.time=$(t),t.date=V(t),t}function Y(t){if(t.hasDay){const e=Math.floor,r=t.day,n=(t.month+9)%l+1,i=e(t.year/100),o=t.year%100-(t.month<=2?1:0);return((r+e(2.6*n-.2)-2*i+o+e(o/4)+e(i/4))%7+7)%7}return t.weekday}function U(t,e){return Object(n["a"])(t)?s[e]:a[e]}function H(t){const{date:e,time:r,year:n,month:i,day:o,weekday:a,hour:s,minute:u,hasDay:c,hasTime:l,past:h,present:f,future:d}=t;return{date:e,time:r,year:n,month:i,day:o,weekday:a,hour:s,minute:u,hasDay:c,hasTime:l,past:h,present:f,future:d}}function z(t,e){let r=String(t);while(r.length<e)r="0"+r;return r}function V(t){let e=`${z(t.year,4)}-${z(t.month,2)}`;return t.hasDay&&(e+="-"+z(t.day,2)),e}function $(t){return t.hasTime?`${z(t.hour,2)}:${z(t.minute,2)}`:""}function q(t){return t.day++,t.weekday=(t.weekday+1)%d,t.day>u&&t.day>U(t.year,t.month)&&(t.day=f,t.month++,t.month>l&&(t.month=h,t.year++)),t}function G(t){return t.day--,t.weekday=(t.weekday+6)%d,t.day<f&&(t.month--,t.month<h&&(t.year--,t.month=l),t.day=U(t.year,t.month)),t}function W(t,e=q,r=1){while(--r>=0)e(t);return t}function K(t,e){const r=525600*(e.year-t.year),n=43800*(e.month-t.month),i=1440*(e.day-t.day),o=60*(e.hour-t.hour),a=e.minute-t.minute;return r+n+i+o+a}function X(t,e,r=q,n=6){while(t.weekday!==e&&--n>=0)r(t);return t}function J(t){const e=[1,1,1,1,1,1,1],r=[0,0,0,0,0,0,0];for(let n=0;n<t.length;n++)r[t[n]]=1;for(let n=0;n<d;n++){let t=1;for(let e=1;e<d;e++){const i=(n+e)%d;if(r[i])break;t++}e[n]=r[n]*t}return e}function Z(t){const e=`${z(t.hour,2)}:${z(t.minute,2)}`,r=t.date;return new Date(`${r}T${e}:00+00:00`)}function Q(t,e,r,n,i=42,o=0){const a=P(e),s=[];let u=H(t),c=0,l=c===a;if(a<P(t))throw new Error("End date is earlier than start date.");while((!l||s.length<o)&&s.length<i){if(c=P(u),l=l||c===a,0===n[u.weekday]){u=q(u);continue}const t=H(u);F(t),D(t,r),s.push(t),u=W(u,q,n[u.weekday])}if(!s.length)throw new Error("No dates found using specified start date, end date, and weekdays.");return s}function tt(t,e,r,n,i){const o=[];for(let a=0;a<n;a++){const n=e+a*r,s=H(t);o.push(N(s,n,i))}return o}function et(t,e){const r=(t,e)=>"";return"undefined"===typeof Intl||"undefined"===typeof Intl.DateTimeFormat?r:(r,n)=>{try{const i=new Intl.DateTimeFormat(t||void 0,e(r,n));return i.format(Z(r))}catch(i){return""}}}},eaf0:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("c6f1");function i(t,e="utf8"){const r=n[e];if(!r)throw new Error(`Unsupported encoding "${e}"`);return"utf8"!==e&&"utf-8"!==e||null==globalThis.Buffer||null==globalThis.Buffer.from?r.encoder.encode(t).substring(1):globalThis.Buffer.from(t.buffer,t.byteOffset,t.byteLength).toString("utf8")}e.toString=i},ebe4:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.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(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,r){return t<11?"pagi":t<15?"tengahari":t<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}});return e}))},ec18:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
function e(t,e,r,n){var i={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[t+"sekundi",t+"sekundit"],m:["ühe minuti","üks minut"],mm:[t+" minuti",t+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[t+" tunni",t+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[t+" kuu",t+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[t+" aasta",t+" aastat"]};return e?i[r][2]?i[r][2]:i[r][1]:n?i[r][0]:i[r][1]}var r=t.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".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äna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:"%d päeva",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return r}))},ec29:function(t,e,r){},ec2e:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.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(t){var e=t%10,r=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+r},week:{dow:0,doy:6}});return e}))},ed36:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("fb86"),i=r("842b"),o=r("1ec9"),a=r("2a12"),s=r("876b"),u=r("c181");const c=o.configure(t=>{async function e(e,r,o={}){const c=new u.AbortController,l=s.abortSignal(c.signal,o.signal),h=await t.post("object/patch/append-data",{signal:l,searchParams:a.toUrlSearchParams({arg:""+e,...o}),...await i.multipartRequest(r,c,o.headers)}),{Hash:f}=await h.json();return n.CID.parse(f)}return e});e.createAppendData=c},ed75:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("0ec3");const i=t=>{const e=n.createId(t);async function r(t={}){const r=await e(t);return Boolean(r&&r.addresses&&r.addresses.length)}return r};e.createIsOnline=i},eda5:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".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 [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(t){return t+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(t){return"ප.ව."===t||"පස් වරු"===t},meridiem:function(t,e,r){return t>11?r?"ප.ව.":"පස් වරු":r?"පෙ.ව.":"පෙර වරු"}});return e}))},ee17:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1ec9"),i=r("2a12");const o=n.configure(t=>{async function*e(e={}){const r=await t.post("stats/bw",{signal:e.signal,searchParams:i.toUrlSearchParams(e),headers:e.headers,transform:t=>({totalIn:BigInt(t.TotalIn),totalOut:BigInt(t.TotalOut),rateIn:parseFloat(t.RateIn),rateOut:parseFloat(t.RateOut)})});yield*r.ndjson()}return e});e.createBw=o},ee6f:function(t,e,r){},eeec:function(t,e,r){},ef28:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("2054"),i=r("1ec9"),o=r("2a12");const a=i.configure(t=>{async function e(e={}){const r=await t.post("swarm/peers",{signal:e.signal,searchParams:o.toUrlSearchParams(e),headers:e.headers}),{Peers:i}=await r.json();return(i||[]).map(t=>({addr:new n.Multiaddr(t.Addr),peer:t.Peer,muxer:t.Muxer,latency:t.Latency,streams:t.Streams,direction:null==t.Direction?void 0:0===t.Direction?"inbound":"outbound"}))}return e});e.createPeers=a},ef78:function(t,e,r){"use strict";var n=r("8cb5");function i(t){var e,r=t.type||n.ERROR_HTTP;if(t.body)try{e=JSON.parse(t.body)}catch(o){e=t.body}else e=null;var i=t.message||null;i||("string"===typeof e?i=e:e&&"string"===typeof e.message?i=e.message:r===n.ERROR_REQUEST_ABORTED&&(i="Request aborted")),this.message=i,this.type=r,this.statusCode=t.statusCode||null,this.request=t.request,this.body=e}t.exports=i},ef99:function(t,e,r){"use strict";var n=r("2b0e");e["a"]=n["default"].extend({name:"mouse",methods:{getDefaultMouseEventHandlers(t,e,r=!1){const n=Object.keys(this.$listeners).filter(e=>e.endsWith(t)).reduce((e,r)=>(e[r]={event:r.slice(0,-t.length)},e),{});return this.getMouseEventHandlers({...n,["contextmenu"+t]:{event:"contextmenu",prevent:!0,result:!1}},e,r)},getMouseEventHandlers(t,e,r=!1){const n={};for(const i in t){const o=t[i];if(!this.$listeners[i])continue;const a=o.passive?"&":(o.once?"~":"")+(o.capture?"!":""),s=a+o.event,u=t=>{var n,a;const s=t;if(void 0===o.button||s.buttons>0&&s.button===o.button){if(o.prevent&&t.preventDefault(),o.stop&&t.stopPropagation(),t&&"touches"in t){const e=" ",r=null===(n=t.currentTarget)||void 0===n?void 0:n.className.split(e),i=document.elementsFromPoint(t.changedTouches[0].clientX,t.changedTouches[0].clientY),o=i.find(t=>t.className.split(e).some(t=>r.includes(t)));if(o&&!(null===(a=t.target)||void 0===a?void 0:a.isSameNode(o)))return void o.dispatchEvent(new TouchEvent(t.type,{changedTouches:t.changedTouches,targetTouches:t.targetTouches,touches:t.touches}))}r?this.$emit(i,t,e(t)):this.$emit(i,e(t),t)}return o.result};s in n?Array.isArray(n[s])?n[s].push(u):n[s]=[n[s],u]:n[s]=u}return n}}})},ef9a:function(t,e,r){"use strict";r("8f5a");var n=r("7efd"),i=r("a9ad"),o=r("58df");e["a"]=Object(o["a"])(n["a"],i["a"]).extend({name:"v-chip-group",provide(){return{chipGroup:this}},props:{column:Boolean},computed:{classes(){return{...n["a"].options.computed.classes.call(this),"v-chip-group":!0,"v-chip-group--column":this.column}}},watch:{column(t){t&&(this.scrollOffset=0),this.$nextTick(this.onResize)}},methods:{genData(){return this.setTextColor(this.color,{...n["a"].options.methods.genData.call(this)})}}})},f038:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("fb86"),i=r("1ec9"),o=r("2a12");const a=i.configure(t=>{async function e(e,r,i={}){const a=await t.post("object/patch/rm-link",{signal:i.signal,searchParams:o.toUrlSearchParams({arg:[""+e,r.Name||r.name||null],...i}),headers:i.headers}),{Hash:s}=await a.json();return n.CID.parse(s)}return e});e.createRmLink=a},f03e:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1463"),i=r("4b70"),o=r("7314"),a=r("36af"),s=r("8e7c"),u=r("f756");function c(t){return{findPeer:n.createFindPeer(t),findProvs:i.createFindProvs(t),get:o.createGet(t),provide:a.createProvide(t),put:s.createPut(t),query:u.createQuery(t)}}e.createDht=c},f260:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.defineLocale("pt",{months:"janeiro_fevereiro_março_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ça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".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 às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %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ês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return e}))},f2d9:function(t,e,r){"use strict";(function(t){"undefined"!==typeof window?window:"undefined"!==typeof t||"undefined"!==typeof self&&self;function r(t,e){return e={exports:{}},t(e,e.exports),e.exports}var n=r((function(t,e){(function(e,r){t.exports=r()})(0,(function(){return function t(e,r,n){var i,o,a=window,s="application/octet-stream",u=n||s,c=e,l=!r&&!n&&c,h=document.createElement("a"),f=function(t){return String(t)},d=a.Blob||a.MozBlob||a.WebKitBlob||f,p=r||"download";if(d=d.call?d.bind(a):Blob,"true"===String(this)&&(c=[c,u],u=c[0],c=c[1]),l&&l.length<2048&&(p=l.split("/").pop().split("?")[0],h.href=l,-1!==h.href.indexOf(l))){var m=new XMLHttpRequest;return m.open("GET",l,!0),m.responseType="blob",m.onload=function(e){t(e.target.response,p,s)},setTimeout((function(){m.send()}),0),m}if(/^data:([\w+-]+\/[\w+.-]+)?[,;]/.test(c)){if(!(c.length>2096103.424&&d!==f))return navigator.msSaveBlob?navigator.msSaveBlob(b(c),p):_(c);c=b(c),u=c.type||s}else if(/([\x80-\xff])/.test(c)){var g=0,y=new Uint8Array(c.length),v=y.length;for(g;g<v;++g)y[g]=c.charCodeAt(g);c=new d([y],{type:u})}function b(t){var e=t.split(/[:;,]/),r=e[1],n="base64"==e[2]?atob:decodeURIComponent,i=n(e.pop()),o=i.length,a=0,s=new Uint8Array(o);for(a;a<o;++a)s[a]=i.charCodeAt(a);return new d([s],{type:r})}function _(t,e){if("download"in h)return h.href=t,h.setAttribute("download",p),h.className="download-js-link",h.innerHTML="downloading...",h.style.display="none",document.body.appendChild(h),setTimeout((function(){h.click(),document.body.removeChild(h),!0===e&&setTimeout((function(){a.URL.revokeObjectURL(h.href)}),250)}),66),!0;if(/(Version)\/(\d+)\.(\d+)(?:\.(\d+))?.*Safari\//.test(navigator.userAgent))return/^data:/.test(t)&&(t="data:"+t.replace(/^data:([\w\/\-\+]+)/,s)),window.open(t)||confirm("Displaying New Document\n\nUse Save As... to download, then click back to return to this page.")&&(location.href=t),!0;var r=document.createElement("iframe");document.body.appendChild(r),!e&&/^data:/.test(t)&&(t="data:"+t.replace(/^data:([\w\/\-\+]+)/,s)),r.src=t,setTimeout((function(){document.body.removeChild(r)}),333)}if(i=c instanceof d?c:new d([c],{type:u}),navigator.msSaveBlob)return navigator.msSaveBlob(i,p);if(a.URL)_(a.URL.createObjectURL(i),!0);else{if("string"===typeof i||i.constructor===f)try{return _("data:"+u+";base64,"+a.btoa(i))}catch(w){return _("data:"+u+","+encodeURIComponent(i))}o=new FileReader,o.onload=function(t){_(this.result)},o.readAsDataURL(i)}return!0}}))})),i={props:{type:{type:String,default:"xls"},data:{type:Array,required:!1,default:null},fields:{type:Object,required:!1},exportFields:{type:Object,required:!1},defaultValue:{type:String,required:!1,default:""},title:{default:null},footer:{default:null},name:{type:String,default:"data.xls"},fetch:{type:Function},meta:{type:Array,default:()=>[]},worksheet:{type:String,default:"Sheet1"},beforeGenerate:{type:Function},beforeFinish:{type:Function}},computed:{idName(){var t=(new Date).getTime();return"export_"+t},downloadFields(){return void 0!==this.fields?this.fields:void 0!==this.exportFields?this.exportFields:void 0}},methods:{async generate(){"function"===typeof this.beforeGenerate&&await this.beforeGenerate();let t=this.data;if("function"!==typeof this.fetch&&t||(t=await this.fetch()),!t||!t.length)return;let e=this.getProcessedJson(t,this.downloadFields);return"html"===this.type?this.export(this.jsonToXLS(e),this.name.replace(".xls",".html"),"text/html"):"csv"===this.type?this.export(this.jsonToCSV(e),this.name.replace(".xls",".csv"),"application/csv"):this.export(this.jsonToXLS(e),this.name,"application/vnd.ms-excel")},export:async function(t,e,r){let i=this.base64ToBlob(t,r);"function"===typeof this.beforeFinish&&await this.beforeFinish(),n(i,e,r)},jsonToXLS(t){let e='<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40"><head><meta name=ProgId content=Excel.Sheet> <meta name=Generator content="Microsoft Excel 11"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\x3c!--[if gte mso 9]><xml><x:ExcelWorkbook><x:ExcelWorksheets><x:ExcelWorksheet><x:Name>${worksheet}</x:Name><x:WorksheetOptions><x:DisplayGridlines/></x:WorksheetOptions></x:ExcelWorksheet></x:ExcelWorksheets></x:ExcelWorkbook></xml><![endif]--\x3e<style>br {mso-data-placement: same-cell;}</style></head><body><table>${table}</table></body></html>',r="<thead>";const n=Object.keys(t[0]).length;let i=this;null!=this.title&&(r+=this.parseExtraData(this.title,'<tr><th colspan="'+n+'">${data}</th></tr>')),r+="<tr>";for(let o in t[0])r+="<th>"+o+"</th>";return r+="</tr>",r+="</thead>",r+="<tbody>",t.map((function(t,e){r+="<tr>";for(let n in t)r+="<td>"+i.valueReformattedForMultilines(t[n])+"</td>";r+="</tr>"})),r+="</tbody>",null!=this.footer&&(r+="<tfoot>",r+=this.parseExtraData(this.footer,'<tr><td colspan="'+n+'">${data}</td></tr>'),r+="</tfoot>"),e.replace("${table}",r).replace("${worksheet}",this.worksheet)},jsonToCSV(t){var e=[];null!=this.title&&e.push(this.parseExtraData(this.title,"${data}\r\n"));for(let r in t[0])e.push(r),e.push(",");return e.pop(),e.push("\r\n"),t.map((function(t){for(let r in t){let n='="'+t[r]+'"';n.match(/[,"\n]/)&&(n='"'+n.replace(/\"/g,'""')+'"'),e.push(n),e.push(",")}e.pop(),e.push("\r\n")})),null!=this.footer&&e.push(this.parseExtraData(this.footer,"${data}\r\n")),e.join("")},getProcessedJson(t,e){let r=this.getKeys(t,e),n=[],i=this;return t.map((function(t,e){let o={};for(let n in r){let e=r[n];o[n]=i.getValue(e,t)}n.push(o)})),n},getKeys(t,e){if(e)return e;let r={};for(let n in t[0])r[n]=n;return r},parseExtraData(t,e){let r="";if(Array.isArray(t))for(var n=0;n<t.length;n++)r+=e.replace("${data}",t[n]);else r+=e.replace("${data}",t);return r},getValue(t,e){const r="object"!==typeof t?t:t.field;let n="string"!==typeof r?[]:r.split("."),i=this.defaultValue;return i=r?n.length>1?this.getValueFromNestedItem(e,n):this.parseValue(e[r]):e,t.hasOwnProperty("callback")&&(i=this.getValueFromCallback(i,t.callback)),i},valueReformattedForMultilines(t){return"string"==typeof t?t.replace(/\n/gi,"<br/>"):t},getValueFromNestedItem(t,e){let r=t;for(let n of e)r&&(r=r[n]);return this.parseValue(r)},getValueFromCallback(t,e){if("function"!==typeof e)return this.defaultValue;const r=e(t);return this.parseValue(r)},parseValue(t){return t||0===t||"boolean"===typeof t?t:this.defaultValue},base64ToBlob(t,e){let r=window.btoa(window.unescape(encodeURIComponent(t))),n=atob(r),i=n.length,o=new Uint8ClampedArray(i);while(i--)o[i]=n.charCodeAt(i);return new Blob([o],{type:e})}}};function o(t,e,r,n,i,o,a,s,u,c){"boolean"!==typeof a&&(u=s,s=a,a=!1);var l,h="function"===typeof r?r.options:r;if(t&&t.render&&(h.render=t.render,h.staticRenderFns=t.staticRenderFns,h._compiled=!0,i&&(h.functional=!0)),n&&(h._scopeId=n),o?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,u(t)),t&&t._registeredComponents&&t._registeredComponents.add(o)},h._ssrRegister=l):e&&(l=a?function(){e.call(this,c(this.$root.$options.shadowRoot))}:function(t){e.call(this,s(t))}),l)if(h.functional){var f=h.render;h.render=function(t,e){return l.call(e),f(t,e)}}else{var d=h.beforeCreate;h.beforeCreate=d?[].concat(d,l):[l]}return r}var a=o;const s=i;var u=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{attrs:{id:t.idName},on:{click:t.generate}},[t._t("default",[t._v("\n\t\tDownload "+t._s(t.name)+"\n\t")])],2)},c=[];u._withStripped=!0;const l=void 0,h=void 0,f=void 0,d=!1;var p=a({render:u,staticRenderFns:c},l,s,h,d,f,void 0,void 0);e["a"]=p}).call(this,r("c8ba"))},f2e7:function(t,e,r){"use strict";r.d(e,"b",(function(){return i}));var n=r("2b0e");function i(t="value",e="input"){return n["default"].extend({name:"toggleable",model:{prop:t,event:e},props:{[t]:{required:!1}},data(){return{isActive:!!this[t]}},watch:{[t](t){this.isActive=!!t},isActive(r){!!r!==this[t]&&this.$emit(e,r)}}})}const o=i();e["a"]=o},f309:function(t,e,r){"use strict";r.d(e,"a",(function(){return K}));var n=r("2b0e"),i=r("d9bd");function o(t,e={}){if(o.installed)return;o.installed=!0,n["default"]!==t&&Object(i["b"])("Multiple instances of Vue detected\nSee https://github.com/vuetifyjs/vuetify/issues/4068\n\nIf you're seeing \"$attrs is readonly\", it's caused by this");const r=e.components||{},a=e.directives||{};for(const n in a){const e=a[n];t.directive(n,e)}(function e(r){if(r){for(const n in r){const i=r[n];i&&!e(i.$_vuetify_subcomponents)&&t.component(n,i)}return!0}return!1})(r),t.$_vuetify_installed||(t.$_vuetify_installed=!0,t.mixin({beforeCreate(){const e=this.$options;e.vuetify?(e.vuetify.init(this,this.$ssrContext),this.$vuetify=t.observable(e.vuetify.framework)):this.$vuetify=e.parent&&e.parent.$vuetify||this},beforeMount(){this.$options.vuetify&&this.$el&&this.$el.hasAttribute("data-server-rendered")&&(this.$vuetify.isHydrating=!0,this.$vuetify.breakpoint.update(!0))},mounted(){this.$options.vuetify&&this.$vuetify.isHydrating&&(this.$vuetify.isHydrating=!1,this.$vuetify.breakpoint.update())}}))}r("95ed");var a={badge:"Badge",close:"Close",dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},datePicker:{itemsSelected:"{0} selected",nextMonthAriaLabel:"Next month",nextYearAriaLabel:"Next year",prevMonthAriaLabel:"Previous month",prevYearAriaLabel:"Previous year"},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},timePicker:{am:"AM",pm:"PM"},pagination:{ariaLabel:{wrapper:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Goto Page {0}",currentPage:"Current Page, Page {0}"}},rating:{ariaLabel:{icon:"Rating {0} of {1}"}},loading:"Loading..."};const s={breakpoint:{mobileBreakpoint:1264,scrollBarWidth:16,thresholds:{xs:600,sm:960,md:1280,lg:1920}},icons:{iconfont:"mdi",values:{}},lang:{current:"en",locales:{en:a},t:void 0},rtl:!1,theme:{dark:!1,default:"light",disable:!1,options:{cspNonce:void 0,customProperties:void 0,minifyTheme:void 0,themeCache:void 0,variations:!0},themes:{light:{primary:"#1976D2",secondary:"#424242",accent:"#82B1FF",error:"#FF5252",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},dark:{primary:"#2196F3",secondary:"#424242",accent:"#FF4081",error:"#FF5252",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"}}}};var u=r("80d2"),c=r("fff9");class l extends c["a"]{constructor(t,e){super();const r=Object(u["C"])({},s),{userPreset:n}=e,{preset:o={},...a}=n;null!=o.preset&&Object(i["c"])("Global presets do not support the **preset** option, it can be safely omitted"),e.preset=Object(u["C"])(Object(u["C"])(r,o),a)}}l.property="presets";class h extends c["a"]{constructor(){super(...arguments),this.bar=0,this.top=0,this.left=0,this.insetFooter=0,this.right=0,this.bottom=0,this.footer=0,this.application={bar:{},top:{},left:{},insetFooter:{},right:{},bottom:{},footer:{}}}register(t,e,r){this.application[e][t]=r,this.update(e)}unregister(t,e){null!=this.application[e][t]&&(delete this.application[e][t],this.update(e))}update(t){this[t]=Object.values(this.application[t]).reduce((t,e)=>t+e,0)}}h.property="application";class f extends c["a"]{constructor(t){super(),this.xs=!1,this.sm=!1,this.md=!1,this.lg=!1,this.xl=!1,this.xsOnly=!1,this.smOnly=!1,this.smAndDown=!1,this.smAndUp=!1,this.mdOnly=!1,this.mdAndDown=!1,this.mdAndUp=!1,this.lgOnly=!1,this.lgAndDown=!1,this.lgAndUp=!1,this.xlOnly=!1,this.name="xs",this.height=0,this.width=0,this.mobile=!0,this.resizeTimeout=0;const{mobileBreakpoint:e,scrollBarWidth:r,thresholds:n}=t[f.property];this.mobileBreakpoint=e,this.scrollBarWidth=r,this.thresholds=n}init(){this.update(),"undefined"!==typeof window&&window.addEventListener("resize",this.onResize.bind(this),{passive:!0})}update(t=!1){const e=t?0:this.getClientHeight(),r=t?0:this.getClientWidth(),n=r<this.thresholds.xs,i=r<this.thresholds.sm&&!n,o=r<this.thresholds.md-this.scrollBarWidth&&!(i||n),a=r<this.thresholds.lg-this.scrollBarWidth&&!(o||i||n),s=r>=this.thresholds.lg-this.scrollBarWidth;switch(this.height=e,this.width=r,this.xs=n,this.sm=i,this.md=o,this.lg=a,this.xl=s,this.xsOnly=n,this.smOnly=i,this.smAndDown=(n||i)&&!(o||a||s),this.smAndUp=!n&&(i||o||a||s),this.mdOnly=o,this.mdAndDown=(n||i||o)&&!(a||s),this.mdAndUp=!(n||i)&&(o||a||s),this.lgOnly=a,this.lgAndDown=(n||i||o||a)&&!s,this.lgAndUp=!(n||i||o)&&(a||s),this.xlOnly=s,!0){case n:this.name="xs";break;case i:this.name="sm";break;case o:this.name="md";break;case a:this.name="lg";break;default:this.name="xl";break}if("number"===typeof this.mobileBreakpoint)return void(this.mobile=r<parseInt(this.mobileBreakpoint,10));const u={xs:0,sm:1,md:2,lg:3,xl:4},c=u[this.name],l=u[this.mobileBreakpoint];this.mobile=c<=l}onResize(){clearTimeout(this.resizeTimeout),this.resizeTimeout=window.setTimeout(this.update.bind(this),200)}getClientWidth(){return"undefined"===typeof document?0:Math.max(document.documentElement.clientWidth,window.innerWidth||0)}getClientHeight(){return"undefined"===typeof document?0:Math.max(document.documentElement.clientHeight,window.innerHeight||0)}}f.property="breakpoint";var d=r("7d8f");const p={complete:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",cancel:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z",close:"M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z",delete:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z",clear:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z",success:"M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z",info:"M13,9H11V7H13M13,17H11V11H13M12,2C6.48,2 2,6.48 2,12C2,17.52 6.48,22 12,22C17.52,22 22,17.52 22,12C22,6.48 17.52,2 12,2ZM13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",warning:"M13,13H11V7H13M13,17H11V15H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",error:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z",prev:"M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z",next:"M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z",checkboxOn:"M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19C3,20.1 3.9,21 5,21H19C20.1,21 21,20.1 21,19V5C21,3.89 20.1,3 19,3Z",checkboxOff:"M19,3H5C3.89,3 3,3.89 3,5V19C3,20.1 3.9,21 5,21H19C20.1,21 21,20.1 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z",checkboxIndeterminate:"M17,13H7V11H17M19,3H5C3.89,3 3,3.89 3,5V19C3,20.1 3.9,21 5,21H19C20.1,21 21,20.1 21,19V5C21,3.89 20.1,3 19,3Z",delimiter:"M12,2C6.48,2 2,6.48 2,12C2,17.52 6.48,22 12,22C17.52,22 22,17.52 22,12C22,6.48 17.52,2 12,2Z",sort:"M13,20H11V8L5.5,13.5L4.08,12.08L12,4.16L19.92,12.08L18.5,13.5L13,8V20Z",expand:"M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",menu:"M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",subgroup:"M7,10L12,15L17,10H7Z",dropdown:"M7,10L12,15L17,10H7Z",radioOn:"M12,20C7.58,20 4,16.42 4,12C4,7.58 7.58,4 12,4C16.42,4 20,7.58 20,12C20,16.42 16.42,20 12,20M12,2C6.48,2 2,6.48 2,12C2,17.52 6.48,22 12,22C17.52,22 22,17.52 22,12C22,6.48 17.52,2 12,2M12,7C9.24,7 7,9.24 7,12C7,14.76 9.24,17 12,17C14.76,17 17,14.76 17,12C17,9.24 14.76,7 12,7Z",radioOff:"M12,20C7.58,20 4,16.42 4,12C4,7.58 7.58,4 12,4C16.42,4 20,7.58 20,12C20,16.42 16.42,20 12,20M12,2C6.48,2 2,6.48 2,12C2,17.52 6.48,22 12,22C17.52,22 22,17.52 22,12C22,6.48 17.52,2 12,2Z",edit:"M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z",ratingEmpty:"M12,15.39L8.24,17.66L9.23,13.38L5.91,10.5L10.29,10.13L12,6.09L13.71,10.13L18.09,10.5L14.77,13.38L15.76,17.66M22,9.24L14.81,8.63L12,2L9.19,8.63L2,9.24L7.45,13.97L5.82,21L12,17.27L18.18,21L16.54,13.97L22,9.24Z",ratingFull:"M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z",ratingHalf:"M12,15.4V6.1L13.71,10.13L18.09,10.5L14.77,13.39L15.76,17.67M22,9.24L14.81,8.63L12,2L9.19,8.63L2,9.24L7.45,13.97L5.82,21L12,17.27L18.18,21L16.54,13.97L22,9.24Z",loading:"M19,8L15,12H18C18,15.31 15.31,18 12,18C11,18 10.03,17.75 9.2,17.3L7.74,18.76C8.97,19.54 10.43,20 12,20C16.42,20 20,16.42 20,12H23M6,12C6,8.69 8.69,6 12,6C13,6 13.97,6.25 14.8,6.7L16.26,5.24C15.03,4.46 13.57,4 12,4C7.58,4 4,7.58 4,12H1L5,16L9,12",first:"M18.41,16.59L13.82,12L18.41,7.41L17,6L11,12L17,18L18.41,16.59M6,6H8V18H6V6Z",last:"M5.59,7.41L10.18,12L5.59,16.59L7,18L13,12L7,6L5.59,7.41M16,6H18V18H16V6Z",unfold:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z",file:"M16.5,6V17.5C16.5,19.71 14.71,21.5 12.5,21.5C10.29,21.5 8.5,19.71 8.5,17.5V5C8.5,3.62 9.62,2.5 11,2.5C12.38,2.5 13.5,3.62 13.5,5V15.5C13.5,16.05 13.05,16.5 12.5,16.5C11.95,16.5 11.5,16.05 11.5,15.5V6H10V15.5C10,16.88 11.12,18 12.5,18C13.88,18 15,16.88 15,15.5V5C15,2.79 13.21,1 11,1C8.79,1 7,2.79 7,5V17.5C7,20.54 9.46,23 12.5,23C15.54,23 18,20.54 18,17.5V6H16.5Z",plus:"M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z",minus:"M19,13H5V11H19V13Z"};var m=p;const g={complete:"check",cancel:"cancel",close:"close",delete:"cancel",clear:"clear",success:"check_circle",info:"info",warning:"priority_high",error:"warning",prev:"chevron_left",next:"chevron_right",checkboxOn:"check_box",checkboxOff:"check_box_outline_blank",checkboxIndeterminate:"indeterminate_check_box",delimiter:"fiber_manual_record",sort:"arrow_upward",expand:"keyboard_arrow_down",menu:"menu",subgroup:"arrow_drop_down",dropdown:"arrow_drop_down",radioOn:"radio_button_checked",radioOff:"radio_button_unchecked",edit:"edit",ratingEmpty:"star_border",ratingFull:"star",ratingHalf:"star_half",loading:"cached",first:"first_page",last:"last_page",unfold:"unfold_more",file:"attach_file",plus:"add",minus:"remove"};var y=g;const v={complete:"mdi-check",cancel:"mdi-close-circle",close:"mdi-close",delete:"mdi-close-circle",clear:"mdi-close",success:"mdi-check-circle",info:"mdi-information",warning:"mdi-exclamation",error:"mdi-alert",prev:"mdi-chevron-left",next:"mdi-chevron-right",checkboxOn:"mdi-checkbox-marked",checkboxOff:"mdi-checkbox-blank-outline",checkboxIndeterminate:"mdi-minus-box",delimiter:"mdi-circle",sort:"mdi-arrow-up",expand:"mdi-chevron-down",menu:"mdi-menu",subgroup:"mdi-menu-down",dropdown:"mdi-menu-down",radioOn:"mdi-radiobox-marked",radioOff:"mdi-radiobox-blank",edit:"mdi-pencil",ratingEmpty:"mdi-star-outline",ratingFull:"mdi-star",ratingHalf:"mdi-star-half-full",loading:"mdi-cached",first:"mdi-page-first",last:"mdi-page-last",unfold:"mdi-unfold-more-horizontal",file:"mdi-paperclip",plus:"mdi-plus",minus:"mdi-minus"};var b=v;const _={complete:"fas fa-check",cancel:"fas fa-times-circle",close:"fas fa-times",delete:"fas fa-times-circle",clear:"fas fa-times-circle",success:"fas fa-check-circle",info:"fas fa-info-circle",warning:"fas fa-exclamation-circle",error:"fas fa-exclamation-triangle",prev:"fas fa-chevron-left",next:"fas fa-chevron-right",checkboxOn:"fas fa-check-square",checkboxOff:"far fa-square",checkboxIndeterminate:"fas fa-minus-square",delimiter:"fas fa-circle",sort:"fas fa-sort-up",expand:"fas fa-chevron-down",menu:"fas fa-bars",subgroup:"fas fa-caret-down",dropdown:"fas fa-caret-down",radioOn:"far fa-dot-circle",radioOff:"far fa-circle",edit:"fas fa-edit",ratingEmpty:"far fa-star",ratingFull:"fas fa-star",ratingHalf:"fas fa-star-half",loading:"fas fa-sync",first:"fas fa-step-backward",last:"fas fa-step-forward",unfold:"fas fa-arrows-alt-v",file:"fas fa-paperclip",plus:"fas fa-plus",minus:"fas fa-minus"};var w=_;const x={complete:"fa fa-check",cancel:"fa fa-times-circle",close:"fa fa-times",delete:"fa fa-times-circle",clear:"fa fa-times-circle",success:"fa fa-check-circle",info:"fa fa-info-circle",warning:"fa fa-exclamation",error:"fa fa-exclamation-triangle",prev:"fa fa-chevron-left",next:"fa fa-chevron-right",checkboxOn:"fa fa-check-square",checkboxOff:"fa fa-square-o",checkboxIndeterminate:"fa fa-minus-square",delimiter:"fa fa-circle",sort:"fa fa-sort-up",expand:"fa fa-chevron-down",menu:"fa fa-bars",subgroup:"fa fa-caret-down",dropdown:"fa fa-caret-down",radioOn:"fa fa-dot-circle-o",radioOff:"fa fa-circle-o",edit:"fa fa-pencil",ratingEmpty:"fa fa-star-o",ratingFull:"fa fa-star",ratingHalf:"fa fa-star-half-o",loading:"fa fa-refresh",first:"fa fa-step-backward",last:"fa fa-step-forward",unfold:"fa fa-angle-double-down",file:"fa fa-paperclip",plus:"fa fa-plus",minus:"fa fa-minus"};var k=x;function S(t,e){const r={};for(const n in e)r[n]={component:t,props:{icon:e[n].split(" fa-")}};return r}var E=S("font-awesome-icon",w),M=Object.freeze({mdiSvg:m,md:y,mdi:b,fa:w,fa4:k,faSvg:E});class A extends c["a"]{constructor(t){super();const{iconfont:e,values:r,component:n}=t[A.property];this.component=n,this.iconfont=e,this.values=Object(u["C"])(M[e],r)}}A.property="icons";const T="$vuetify.",C=Symbol("Lang fallback");function L(t,e,r=!1,n){const o=e.replace(T,"");let a=Object(u["r"])(t,o,C);return a===C&&(r?(Object(i["b"])(`Translation key "${o}" not found in fallback`),a=e):(Object(i["c"])(`Translation key "${o}" not found, falling back to default`),a=L(n,e,!0,n))),a}class P extends c["a"]{constructor(t){super(),this.defaultLocale="en";const{current:e,locales:r,t:n}=t[P.property];this.current=e,this.locales=r,this.translator=n||this.defaultTranslator}currentLocale(t){const e=this.locales[this.current],r=this.locales[this.defaultLocale];return L(e,t,!1,r)}t(t,...e){return t.startsWith(T)?this.translator(t,...e):this.replace(t,e)}defaultTranslator(t,...e){return this.replace(this.currentLocale(t),e)}replace(t,e){return t.replace(/\{(\d+)\}/g,(t,r)=>String(e[+r]))}}P.property="lang";var O=r("7bc6"),I=r("8da5");const D=.20689655172413793,B=t=>t>D**3?Math.cbrt(t):t/(3*D**2)+4/29,j=t=>t>D?t**3:3*D**2*(t-4/29);function N(t){const e=B,r=e(t[1]);return[116*r-16,500*(e(t[0]/.95047)-r),200*(r-e(t[2]/1.08883))]}function R(t){const e=j,r=(t[0]+16)/116;return[.95047*e(r+t[1]/500),e(r),1.08883*e(r-t[2]/200)]}function F(t,e=!1,r=!0){const{anchor:n,...i}=t,o=Object.keys(i),a={};for(let s=0;s<o.length;++s){const n=o[s],i=t[n];null!=i&&(r?e?("base"===n||n.startsWith("lighten")||n.startsWith("darken"))&&(a[n]=Object(O["j"])(i)):a[n]="object"===typeof i?F(i,!0,r):$(n,Object(O["k"])(i)):a[n]={base:Object(O["m"])(Object(O["k"])(i))})}return e||(a.anchor=n||a.base||a.primary.base),a}const Y=(t,e)=>`\n.v-application .${t} {\n  background-color: ${e} !important;\n  border-color: ${e} !important;\n}\n.v-application .${t}--text {\n  color: ${e} !important;\n  caret-color: ${e} !important;\n}`,U=(t,e,r)=>{const[n,i]=e.split(/(\d)/,2);return`\n.v-application .${t}.${n}-${i} {\n  background-color: ${r} !important;\n  border-color: ${r} !important;\n}\n.v-application .${t}--text.text--${n}-${i} {\n  color: ${r} !important;\n  caret-color: ${r} !important;\n}`},H=(t,e="base")=>`--v-${t}-${e}`,z=(t,e="base")=>`var(${H(t,e)})`;function V(t,e=!1){const{anchor:r,...n}=t,i=Object.keys(n);if(!i.length)return"";let o="",a="";const s=e?z("anchor"):r;a+=`.v-application a { color: ${s}; }`,e&&(o+=`  ${H("anchor")}: ${r};\n`);for(let c=0;c<i.length;++c){const r=i[c],n=t[r];a+=Y(r,e?z(r):n.base),e&&(o+=`  ${H(r)}: ${n.base};\n`);const s=Object(u["B"])(n);for(let t=0;t<s.length;++t){const i=s[t],u=n[i];"base"!==i&&(a+=U(r,i,e?z(r,i):u),e&&(o+=`  ${H(r,i)}: ${u};\n`))}}return e&&(o=`:root {\n${o}}\n\n`),o+a}function $(t,e){const r={base:Object(O["m"])(e)};for(let n=5;n>0;--n)r["lighten"+n]=Object(O["m"])(q(e,n));for(let n=1;n<=4;++n)r["darken"+n]=Object(O["m"])(G(e,n));return r}function q(t,e){const r=N(I["b"](t));return r[0]=r[0]+10*e,I["a"](R(r))}function G(t,e){const r=N(I["b"](t));return r[0]=r[0]-10*e,I["a"](R(r))}class W extends c["a"]{constructor(t){super(),this.disabled=!1,this.isDark=null,this.unwatch=null,this.vueMeta=null;const{dark:e,disable:r,options:n,themes:i}=t[W.property];this.dark=Boolean(e),this.defaults=this.themes=i,this.options=n,r?this.disabled=!0:this.themes={dark:this.fillVariant(i.dark,!0),light:this.fillVariant(i.light,!1)}}set css(t){this.vueMeta?this.isVueMeta23&&this.applyVueMeta23():this.checkOrCreateStyleElement()&&(this.styleEl.innerHTML=t)}set dark(t){const e=this.isDark;this.isDark=t,null!=e&&this.applyTheme()}get dark(){return Boolean(this.isDark)}applyTheme(){if(this.disabled)return this.clearCss();this.css=this.generatedStyles}clearCss(){this.css=""}init(t,e){this.disabled||(t.$meta?this.initVueMeta(t):e&&this.initSSR(e),this.initTheme(t))}setTheme(t,e){this.themes[t]=Object.assign(this.themes[t],e),this.applyTheme()}resetThemes(){this.themes.light=Object.assign({},this.defaults.light),this.themes.dark=Object.assign({},this.defaults.dark),this.applyTheme()}checkOrCreateStyleElement(){return this.styleEl=document.getElementById("vuetify-theme-stylesheet"),!!this.styleEl||(this.genStyleElement(),Boolean(this.styleEl))}fillVariant(t={},e){const r=this.themes[e?"dark":"light"];return Object.assign({},r,t)}genStyleElement(){"undefined"!==typeof document&&(this.styleEl=document.createElement("style"),this.styleEl.type="text/css",this.styleEl.id="vuetify-theme-stylesheet",this.options.cspNonce&&this.styleEl.setAttribute("nonce",this.options.cspNonce),document.head.appendChild(this.styleEl))}initVueMeta(t){if(this.vueMeta=t.$meta(),this.isVueMeta23)return void t.$nextTick(()=>{this.applyVueMeta23()});const e="function"===typeof this.vueMeta.getOptions?this.vueMeta.getOptions().keyName:"metaInfo",r=t.$options[e]||{};t.$options[e]=()=>{r.style=r.style||[];const t=r.style.find(t=>"vuetify-theme-stylesheet"===t.id);return t?t.cssText=this.generatedStyles:r.style.push({cssText:this.generatedStyles,type:"text/css",id:"vuetify-theme-stylesheet",nonce:(this.options||{}).cspNonce}),r}}applyVueMeta23(){const{set:t}=this.vueMeta.addApp("vuetify");t({style:[{cssText:this.generatedStyles,type:"text/css",id:"vuetify-theme-stylesheet",nonce:this.options.cspNonce}]})}initSSR(t){const e=this.options.cspNonce?` nonce="${this.options.cspNonce}"`:"";t.head=t.head||"",t.head+=`<style type="text/css" id="vuetify-theme-stylesheet"${e}>${this.generatedStyles}</style>`}initTheme(t){"undefined"!==typeof document&&(this.unwatch&&(this.unwatch(),this.unwatch=null),t.$once("hook:created",()=>{const e=n["default"].observable({themes:this.themes});this.unwatch=t.$watch(()=>e.themes,()=>this.applyTheme(),{deep:!0})}),this.applyTheme())}get currentTheme(){const t=this.dark?"dark":"light";return this.themes[t]}get generatedStyles(){const t=this.parsedTheme,e=this.options||{};let r;return null!=e.themeCache&&(r=e.themeCache.get(t),null!=r)||(r=V(t,e.customProperties),null!=e.minifyTheme&&(r=e.minifyTheme(r)),null!=e.themeCache&&e.themeCache.set(t,r)),r}get parsedTheme(){return F(this.currentTheme||{},void 0,Object(u["q"])(this.options,["variations"],!0))}get isVueMeta23(){return"function"===typeof this.vueMeta.addApp}}W.property="theme";class K{constructor(t={}){this.framework={isHydrating:!1},this.installed=[],this.preset={},this.userPreset={},this.userPreset=t,this.use(l),this.use(h),this.use(f),this.use(d["a"]),this.use(A),this.use(P),this.use(W)}init(t,e){this.installed.forEach(r=>{const n=this.framework[r];n.framework=this.framework,n.init(t,e)}),this.framework.rtl=Boolean(this.preset.rtl)}use(t){const e=t.property;this.installed.includes(e)||(this.framework[e]=new t(this.preset,this),this.installed.push(e))}}K.install=o,K.installed=!1,K.version="2.7.2",K.config={silent:!1}},f3ff:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},r={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"},n=t.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".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:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(t){return t.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,(function(t){return r[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(t,e){return 12===t&&(t=0),"ਰਾਤ"===e?t<4?t:t+12:"ਸਵੇਰ"===e?t:"ਦੁਪਹਿਰ"===e?t>=10?t:t+12:"ਸ਼ਾਮ"===e?t+12:void 0},meridiem:function(t,e,r){return t<4?"ਰਾਤ":t<10?"ਸਵੇਰ":t<17?"ਦੁਪਹਿਰ":t<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}});return n}))},f40d:function(t,e,r){"use strict";var n=r("2b0e");e["a"]=n["default"].extend({name:"transitionable",props:{mode:String,origin:String,transition:String}})},f41f:function(t,e,r){"use strict";r("495d");var n=r("b974"),i=r("9d26"),o=r("afdd"),a=r("2b0e"),s=r("80d2");e["a"]=a["default"].extend({name:"v-data-footer",props:{options:{type:Object,required:!0},pagination:{type:Object,required:!0},itemsPerPageOptions:{type:Array,default:()=>[5,10,15,-1]},prevIcon:{type:String,default:"$prev"},nextIcon:{type:String,default:"$next"},firstIcon:{type:String,default:"$first"},lastIcon:{type:String,default:"$last"},itemsPerPageText:{type:String,default:"$vuetify.dataFooter.itemsPerPageText"},itemsPerPageAllText:{type:String,default:"$vuetify.dataFooter.itemsPerPageAll"},showFirstLastPage:Boolean,showCurrentPage:Boolean,disablePagination:Boolean,disableItemsPerPage:Boolean,pageText:{type:String,default:"$vuetify.dataFooter.pageText"}},computed:{disableNextPageIcon(){return this.options.itemsPerPage<=0||this.options.page*this.options.itemsPerPage>=this.pagination.itemsLength||this.pagination.pageStop<0},computedDataItemsPerPageOptions(){return this.itemsPerPageOptions.map(t=>"object"===typeof t?t:this.genDataItemsPerPageOption(t))}},methods:{updateOptions(t){this.$emit("update:options",Object.assign({},this.options,t))},onFirstPage(){this.updateOptions({page:1})},onPreviousPage(){this.updateOptions({page:this.options.page-1})},onNextPage(){this.updateOptions({page:this.options.page+1})},onLastPage(){this.updateOptions({page:this.pagination.pageCount})},onChangeItemsPerPage(t){this.updateOptions({itemsPerPage:t,page:1})},genDataItemsPerPageOption(t){return{text:-1===t?this.$vuetify.lang.t(this.itemsPerPageAllText):String(t),value:t}},genItemsPerPageSelect(){let t=this.options.itemsPerPage;const e=this.computedDataItemsPerPageOptions;return e.length<=1?null:(e.find(e=>e.value===t)||(t=e[0]),this.$createElement("div",{staticClass:"v-data-footer__select"},[this.$vuetify.lang.t(this.itemsPerPageText),this.$createElement(n["a"],{attrs:{"aria-label":this.$vuetify.lang.t(this.itemsPerPageText)},props:{disabled:this.disableItemsPerPage,items:e,value:t,hideDetails:!0,auto:!0,minWidth:"75px"},on:{input:this.onChangeItemsPerPage}})]))},genPaginationInfo(){let t=["–"];const e=this.pagination.itemsLength;let r=this.pagination.pageStart,n=this.pagination.pageStop;return this.pagination.itemsLength&&this.pagination.itemsPerPage?(r=this.pagination.pageStart+1,n=e<this.pagination.pageStop||this.pagination.pageStop<0?e:this.pagination.pageStop,t=this.$scopedSlots["page-text"]?[this.$scopedSlots["page-text"]({pageStart:r,pageStop:n,itemsLength:e})]:[this.$vuetify.lang.t(this.pageText,r,n,e)]):this.$scopedSlots["page-text"]&&(t=[this.$scopedSlots["page-text"]({pageStart:r,pageStop:n,itemsLength:e})]),this.$createElement("div",{class:"v-data-footer__pagination"},t)},genIcon(t,e,r,n){return this.$createElement(o["b"],{props:{disabled:e||this.disablePagination,icon:!0,text:!0},on:{click:t},attrs:{"aria-label":r}},[this.$createElement(i["b"],n)])},genIcons(){const t=[],e=[];return t.push(this.genIcon(this.onPreviousPage,1===this.options.page,this.$vuetify.lang.t("$vuetify.dataFooter.prevPage"),this.$vuetify.rtl?this.nextIcon:this.prevIcon)),e.push(this.genIcon(this.onNextPage,this.disableNextPageIcon,this.$vuetify.lang.t("$vuetify.dataFooter.nextPage"),this.$vuetify.rtl?this.prevIcon:this.nextIcon)),this.showFirstLastPage&&(t.unshift(this.genIcon(this.onFirstPage,1===this.options.page,this.$vuetify.lang.t("$vuetify.dataFooter.firstPage"),this.$vuetify.rtl?this.lastIcon:this.firstIcon)),e.push(this.genIcon(this.onLastPage,this.options.page>=this.pagination.pageCount||-1===this.options.itemsPerPage,this.$vuetify.lang.t("$vuetify.dataFooter.lastPage"),this.$vuetify.rtl?this.firstIcon:this.lastIcon))),[this.$createElement("div",{staticClass:"v-data-footer__icons-before"},t),this.showCurrentPage&&this.$createElement("span",[this.options.page.toString()]),this.$createElement("div",{staticClass:"v-data-footer__icons-after"},e)]}},render(){return this.$createElement("div",{staticClass:"v-data-footer"},[Object(s["u"])(this,"prepend"),this.genItemsPerPageSelect(),this.genPaginationInfo(),this.genIcons()])}})},f4b8:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1169"),i=r("1ec9"),o=r("2a12");const a=i.configure(t=>{async function e(e,r,i,a={}){const s=await t.post("key/import",{signal:a.signal,searchParams:o.toUrlSearchParams({arg:e,pem:r,password:i,...a}),headers:a.headers}),u=await s.json();return n.objectToCamel(u)}return e});e.createImport=a},f513:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1ec9"),i=r("2a12");const o=n.configure(t=>{async function*e(e,r={}){const n=await t.post("name/resolve",{signal:r.signal,searchParams:i.toUrlSearchParams({arg:e,stream:!0,...r}),headers:r.headers});for await(const t of n.ndjson())yield t.Path}return e});e.createResolve=o},f573:function(t,e,r){"use strict";var n=r("21be9"),i=r("fe6c"),o=r("4ad4"),a=r("75eb"),s=r("58df"),u=r("80d2");const c=Object(s["a"])(n["a"],Object(i["b"])(["top","right","bottom","left","absolute"]),o["a"],a["a"]);e["a"]=c.extend().extend({name:"menuable",props:{allowOverflow:Boolean,light:Boolean,dark:Boolean,maxWidth:{type:[Number,String],default:"auto"},minWidth:[Number,String],nudgeBottom:{type:[Number,String],default:0},nudgeLeft:{type:[Number,String],default:0},nudgeRight:{type:[Number,String],default:0},nudgeTop:{type:[Number,String],default:0},nudgeWidth:{type:[Number,String],default:0},offsetOverflow:Boolean,positionX:{type:Number,default:null},positionY:{type:Number,default:null},zIndex:{type:[Number,String],default:null}},data:()=>({activatorNode:[],absoluteX:0,absoluteY:0,activatedBy:null,activatorFixed:!1,dimensions:{activator:{top:0,left:0,bottom:0,right:0,width:0,height:0,offsetTop:0,scrollHeight:0,offsetLeft:0},content:{top:0,left:0,bottom:0,right:0,width:0,height:0,offsetTop:0,scrollHeight:0}},relativeYOffset:0,hasJustFocused:!1,hasWindow:!1,inputActivator:!1,isContentActive:!1,pageWidth:0,pageYOffset:0,stackClass:"v-menu__content--active",stackMinZIndex:6}),computed:{computedLeft(){const t=this.dimensions.activator,e=this.dimensions.content,r=(!1!==this.attach?t.offsetLeft:t.left)||0,n=Math.max(t.width,e.width);let i=0;if(i+=r,(this.left||this.$vuetify.rtl&&!this.right)&&(i-=n-t.width),this.offsetX){const e=isNaN(Number(this.maxWidth))?t.width:Math.min(t.width,Number(this.maxWidth));i+=this.left?-e:t.width}return this.nudgeLeft&&(i-=parseInt(this.nudgeLeft)),this.nudgeRight&&(i+=parseInt(this.nudgeRight)),i},computedTop(){const t=this.dimensions.activator,e=this.dimensions.content;let r=0;return this.top&&(r+=t.height-e.height),!1!==this.attach?r+=t.offsetTop:r+=t.top+this.pageYOffset,this.offsetY&&(r+=this.top?-t.height:t.height),this.nudgeTop&&(r-=parseInt(this.nudgeTop)),this.nudgeBottom&&(r+=parseInt(this.nudgeBottom)),r},hasActivator(){return!!this.$slots.activator||!!this.$scopedSlots.activator||!!this.activator||!!this.inputActivator},absoluteYOffset(){return this.pageYOffset-this.relativeYOffset}},watch:{disabled(t){t&&this.callDeactivate()},isActive(t){this.disabled||(t?this.callActivate():this.callDeactivate())},positionX:"updateDimensions",positionY:"updateDimensions"},beforeMount(){this.hasWindow="undefined"!==typeof window,this.hasWindow&&window.addEventListener("resize",this.updateDimensions,!1)},beforeDestroy(){this.hasWindow&&window.removeEventListener("resize",this.updateDimensions,!1)},methods:{absolutePosition(){return{offsetTop:this.positionY||this.absoluteY,offsetLeft:this.positionX||this.absoluteX,scrollHeight:0,top:this.positionY||this.absoluteY,bottom:this.positionY||this.absoluteY,left:this.positionX||this.absoluteX,right:this.positionX||this.absoluteX,height:0,width:0}},activate(){},calcLeft(t){return Object(u["i"])(!1!==this.attach?this.computedLeft:this.calcXOverflow(this.computedLeft,t))},calcTop(){return Object(u["i"])(!1!==this.attach?this.computedTop:this.calcYOverflow(this.computedTop))},calcXOverflow(t,e){const r=t+e-this.pageWidth+12;return t=(!this.left||this.right)&&r>0?Math.max(t-r,0):Math.max(t,12),t+this.getOffsetLeft()},calcYOverflow(t){const e=this.getInnerHeight(),r=this.absoluteYOffset+e,n=this.dimensions.activator,i=this.dimensions.content.height,o=t+i,a=r<o;return a&&this.offsetOverflow&&n.top>i?t=this.pageYOffset+(n.top-i):a&&!this.allowOverflow?t=r-i-12:t<this.absoluteYOffset&&!this.allowOverflow&&(t=this.absoluteYOffset+12),t<12?12:t},callActivate(){this.hasWindow&&this.activate()},callDeactivate(){this.isContentActive=!1,this.deactivate()},checkForPageYOffset(){this.hasWindow&&(this.pageYOffset=this.activatorFixed?0:this.getOffsetTop())},checkActivatorFixed(){if(!1!==this.attach)return void(this.activatorFixed=!1);let t=this.getActivator();while(t){if("fixed"===window.getComputedStyle(t).position)return void(this.activatorFixed=!0);t=t.offsetParent}this.activatorFixed=!1},deactivate(){},genActivatorListeners(){const t=o["a"].options.methods.genActivatorListeners.call(this),e=t.click;return e&&(t.click=t=>{this.openOnClick&&e&&e(t),this.absoluteX=t.clientX,this.absoluteY=t.clientY}),t},getInnerHeight(){return this.hasWindow?window.innerHeight||document.documentElement.clientHeight:0},getOffsetLeft(){return this.hasWindow?window.pageXOffset||document.documentElement.scrollLeft:0},getOffsetTop(){return this.hasWindow?window.pageYOffset||document.documentElement.scrollTop:0},getRoundedBoundedClientRect(t){const e=t.getBoundingClientRect();return{top:Math.round(e.top),left:Math.round(e.left),bottom:Math.round(e.bottom),right:Math.round(e.right),width:Math.round(e.width),height:Math.round(e.height)}},measure(t){if(!t||!this.hasWindow)return null;const e=this.getRoundedBoundedClientRect(t);if(!1!==this.attach){const r=window.getComputedStyle(t);e.left=parseInt(r.marginLeft),e.top=parseInt(r.marginTop)}return e},sneakPeek(t){requestAnimationFrame(()=>{const e=this.$refs.content;e&&"none"===e.style.display?(e.style.display="inline-block",t(),e.style.display="none"):t()})},startTransition(){return new Promise(t=>requestAnimationFrame(()=>{this.isContentActive=this.hasJustFocused=this.isActive,t()}))},updateDimensions(){this.hasWindow="undefined"!==typeof window,this.checkActivatorFixed(),this.checkForPageYOffset(),this.pageWidth=document.documentElement.clientWidth;const t={activator:{...this.dimensions.activator},content:{...this.dimensions.content}};if(!this.hasActivator||this.absolute)t.activator=this.absolutePosition();else{const e=this.getActivator();if(!e)return;t.activator=this.measure(e),t.activator.offsetLeft=e.offsetLeft,!1!==this.attach?t.activator.offsetTop=e.offsetTop:t.activator.offsetTop=0}this.sneakPeek(()=>{if(this.$refs.content){if(this.$refs.content.offsetParent){const e=this.getRoundedBoundedClientRect(this.$refs.content.offsetParent);this.relativeYOffset=window.pageYOffset+e.top,t.activator.top-=this.relativeYOffset,t.activator.left-=window.pageXOffset+e.left}t.content=this.measure(this.$refs.content)}this.dimensions=t})}}})},f592:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("2054"),i=r("2984"),o=r("3cb9"),a=r("34eb"),s=r("670b"),u=r("4fcb"),c=r("c1e3"),l=r("9f8c");function h(t){return t&&"object"===typeof t&&"default"in t?t:{default:t}}var f=h(o),d=h(a),p=h(s),m=h(u),g=h(l);const y=d["default"]("ipfs-http-client:lib:error-handler"),v=m["default"].bind({ignoreUndefined:!0}),b=i.isBrowser||i.isWebWorker?location.protocol:"http",_=i.isBrowser||i.isWebWorker?location.hostname:"localhost",w=i.isBrowser||i.isWebWorker?location.port:"5001",x=(t={})=>{let e,r,o={};if("string"===typeof t||n.Multiaddr.isMultiaddr(t))e=new URL(c.toUrlString(t));else if(t instanceof URL)e=t;else if("string"===typeof t.url||n.Multiaddr.isMultiaddr(t.url))e=new URL(c.toUrlString(t.url)),o=t;else if(t.url instanceof URL)e=t.url,o=t;else{o=t||{};const r=(o.protocol||b).replace(":",""),n=(o.host||_).split(":")[0],i=o.port||w;e=new URL(`${r}://${n}:${i}`)}if(o.apiPath?e.pathname=o.apiPath:"/"!==e.pathname&&void 0!==e.pathname||(e.pathname="api/v0"),i.isNode){const t=g["default"](e);r=o.agent||new t({keepAlive:!0,maxSockets:6})}return{...o,host:e.host,protocol:e.protocol.replace(":",""),port:Number(e.port),apiPath:e.pathname,url:e,agent:r}},k=async t=>{let e;try{if((t.headers.get("Content-Type")||"").startsWith("application/json")){const r=await t.json();y(r),e=r.Message||r.message}else e=await t.text()}catch(n){y("Failed to parse error response",n),e=n.message}let r=new p["default"].HTTPError(t);throw e&&(e.includes("deadline has elapsed")&&(r=new p["default"].TimeoutError),e&&e.includes("context deadline exceeded")&&(r=new p["default"].TimeoutError)),e&&e.includes("request timed out")&&(r=new p["default"].TimeoutError),e&&(r.message=e),r},S=/[A-Z\u00C0-\u00D6\u00D8-\u00DE]/g,E=t=>t.replace(S,(function(t){return"-"+t.toLowerCase()})),M=t=>"string"===typeof t?f["default"](t):t;class A extends p["default"]{constructor(t={}){const e=x(t);super({timeout:M(e.timeout||0)||void 0,headers:e.headers,base:""+e.url,handleError:k,transformSearchParams:t=>{const e=new URLSearchParams;for(const[r,n]of t)"undefined"!==n&&"null"!==n&&"signal"!==r&&e.append(E(r),n),"timeout"!==r||isNaN(n)||e.append(E(r),n);return e},agent:e.agent}),delete this.get,delete this.put,delete this.delete,delete this.options;const r=this.fetch;this.fetch=(t,n={})=>("string"!==typeof t||t.startsWith("/")||(t=`${e.url}/${t}`),r.call(this,t,v(n,{method:"POST"})))}}const T=p["default"].HTTPError;e.Client=A,e.HTTPError=T,e.errorHandler=k},f665:function(t,e,r){"use strict";r("13b3");var n=r("c3f0"),i=r("afdd"),o=r("9d26"),a=r("604c"),s=r("80d2");e["a"]=a["a"].extend({name:"v-window",directives:{Touch:n["b"]},provide(){return{windowGroup:this}},props:{activeClass:{type:String,default:"v-window-item--active"},continuous:Boolean,mandatory:{type:Boolean,default:!0},nextIcon:{type:[Boolean,String],default:"$next"},prevIcon:{type:[Boolean,String],default:"$prev"},reverse:Boolean,showArrows:Boolean,showArrowsOnHover:Boolean,touch:Object,touchless:Boolean,value:{required:!1},vertical:Boolean},data(){return{changedByDelimiters:!1,internalHeight:void 0,transitionHeight:void 0,transitionCount:0,isBooted:!1,isReverse:!1}},computed:{isActive(){return this.transitionCount>0},classes(){return{...a["a"].options.computed.classes.call(this),"v-window--show-arrows-on-hover":this.showArrowsOnHover}},computedTransition(){if(!this.isBooted)return"";const t=this.vertical?"y":"x",e=this.internalReverse?!this.isReverse:this.isReverse,r=e?"-reverse":"";return`v-window-${t}${r}-transition`},hasActiveItems(){return Boolean(this.items.find(t=>!t.disabled))},hasNext(){return this.continuous||this.internalIndex<this.items.length-1},hasPrev(){return this.continuous||this.internalIndex>0},internalIndex(){return this.items.findIndex((t,e)=>this.internalValue===this.getValue(t,e))},internalReverse(){return this.$vuetify.rtl?!this.reverse:this.reverse}},watch:{internalIndex(t,e){this.isReverse=this.updateReverse(t,e)}},mounted(){window.requestAnimationFrame(()=>this.isBooted=!0)},methods:{genDefaultSlot(){return Object(s["u"])(this)},genContainer(){const t=[this.genDefaultSlot()];return this.showArrows&&t.push(this.genControlIcons()),this.$createElement("div",{staticClass:"v-window__container",class:{"v-window__container--is-active":this.isActive},style:{height:this.internalHeight||this.transitionHeight}},t)},genIcon(t,e,r){var n,a,s;const u={click:t=>{t.stopPropagation(),this.changedByDelimiters=!0,r()}},c={"aria-label":this.$vuetify.lang.t("$vuetify.carousel."+t)},l=null!==(s=null===(a=(n=this.$scopedSlots)[t])||void 0===a?void 0:a.call(n,{on:u,attrs:c}))&&void 0!==s?s:[this.$createElement(i["b"],{props:{icon:!0},attrs:c,on:u},[this.$createElement(o["b"],{props:{large:!0}},e)])];return this.$createElement("div",{staticClass:"v-window__"+t},l)},genControlIcons(){const t=[],e=this.$vuetify.rtl?this.nextIcon:this.prevIcon;if(this.hasPrev&&e&&"string"===typeof e){const r=this.genIcon("prev",e,this.prev);r&&t.push(r)}const r=this.$vuetify.rtl?this.prevIcon:this.nextIcon;if(this.hasNext&&r&&"string"===typeof r){const e=this.genIcon("next",r,this.next);e&&t.push(e)}return t},getNextIndex(t){const e=(t+1)%this.items.length,r=this.items[e];return r.disabled?this.getNextIndex(e):e},getPrevIndex(t){const e=(t+this.items.length-1)%this.items.length,r=this.items[e];return r.disabled?this.getPrevIndex(e):e},next(){if(!this.hasActiveItems||!this.hasNext)return;const t=this.getNextIndex(this.internalIndex),e=this.items[t];this.internalValue=this.getValue(e,t)},prev(){if(!this.hasActiveItems||!this.hasPrev)return;const t=this.getPrevIndex(this.internalIndex),e=this.items[t];this.internalValue=this.getValue(e,t)},updateReverse(t,e){const r=this.items.length,n=r-1;return r<=2?t<e:t===n&&0===e||(0!==t||e!==n)&&t<e}},render(t){const e={staticClass:"v-window",class:this.classes,directives:[]};if(!this.touchless){const t=this.touch||{left:()=>{this.$vuetify.rtl?this.prev():this.next()},right:()=>{this.$vuetify.rtl?this.next():this.prev()},end:t=>{t.stopPropagation()},start:t=>{t.stopPropagation()}};e.directives.push({name:"touch",value:t})}return t("div",e,[this.genContainer()])}})},f6b4:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],r=["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],n=["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],i=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],o=["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],a=t.defineLocale("gd",{months:e,monthsShort:r,monthsParseExact:!0,weekdays:n,weekdaysShort:i,weekdaysMin:o,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àireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè 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ìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(t){var e=1===t?"d":t%10===2?"na":"mh";return t+e},week:{dow:1,doy:4}});return a}))},f6c4:function(t,e,r){"use strict";r("bd0c");var n=r("d10f"),i=r("80d2");e["a"]=n["a"].extend({name:"v-main",props:{tag:{type:String,default:"main"}},computed:{styles(){const{bar:t,top:e,right:r,footer:n,insetFooter:i,bottom:o,left:a}=this.$vuetify.application;return{paddingTop:e+t+"px",paddingRight:r+"px",paddingBottom:n+i+o+"px",paddingLeft:a+"px"}}},render(t){const e={staticClass:"v-main",style:this.styles,ref:"main"};return t(this.tag,e,[t("div",{staticClass:"v-main__wrap"},Object(i["u"])(this))])}})},f6ee:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=t=>Promise.reject(new Error(`No codec found for "${t}"`));class i{constructor(t){this._codecsByName={},this._codecsByCode={},this._loadCodec=t.loadCodec||n;for(const e of t.codecs)this.addCodec(e)}addCodec(t){if(this._codecsByName[t.name]||this._codecsByCode[t.code])throw new Error(`Resolver already exists for codec "${t.name}"`);this._codecsByName[t.name]=t,this._codecsByCode[t.code]=t}removeCodec(t){delete this._codecsByName[t.name],delete this._codecsByCode[t.code]}async getCodec(t){const e="string"===typeof t?this._codecsByName:this._codecsByCode;if(e[t])return e[t];const r=await this._loadCodec(t);return null==e[t]&&this.addCodec(r),r}listCodecs(){return Object.values(this._codecsByName)}}e.Multicodecs=i},f756:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("2054"),i=r("1169"),o=r("1ec9"),a=r("2a12");const s=o.configure(t=>{async function*e(e,r={}){const o=await t.post("dht/query",{signal:r.signal,searchParams:a.toUrlSearchParams({arg:e.toString(),...r}),headers:r.headers});for await(let t of o.ndjson())t=i.objectToCamel(t),t.responses=(t.responses||[]).map(({ID:t,Addrs:e})=>({id:t,addrs:(e||[]).map(t=>new n.Multiaddr(t))})),yield t}return e});e.createQuery=s},f774:function(t,e,r){"use strict";r("7958");var n=r("adda"),i=r("3a66"),o=r("a9ad"),a=r("b848"),s=r("e4cd"),u=r("e707"),c=r("d10f"),l=r("7560"),h=r("a293"),f=r("dc22"),d=r("c3f0"),p=r("80d2"),m=r("58df");const g=Object(m["a"])(Object(i["a"])("left",["isActive","isMobile","miniVariant","expandOnHover","permanent","right","temporary","width"]),o["a"],a["a"],s["a"],u["a"],c["a"],l["a"]);e["a"]=g.extend({name:"v-navigation-drawer",directives:{ClickOutside:h["b"],Resize:f["b"],Touch:d["b"]},provide(){return{isInNav:"nav"===this.tag}},props:{bottom:Boolean,clipped:Boolean,disableResizeWatcher:Boolean,disableRouteWatcher:Boolean,expandOnHover:Boolean,floating:Boolean,height:{type:[Number,String],default(){return this.app?"100vh":"100%"}},miniVariant:Boolean,miniVariantWidth:{type:[Number,String],default:56},permanent:Boolean,right:Boolean,src:{type:[String,Object],default:""},stateless:Boolean,tag:{type:String,default(){return this.app?"nav":"aside"}},temporary:Boolean,touchless:Boolean,width:{type:[Number,String],default:256},value:null},data:()=>({isMouseover:!1,touchArea:{left:0,right:0},stackMinZIndex:6}),computed:{applicationProperty(){return this.right?"right":"left"},classes(){return{"v-navigation-drawer":!0,"v-navigation-drawer--absolute":this.absolute,"v-navigation-drawer--bottom":this.bottom,"v-navigation-drawer--clipped":this.clipped,"v-navigation-drawer--close":!this.isActive,"v-navigation-drawer--fixed":!this.absolute&&(this.app||this.fixed),"v-navigation-drawer--floating":this.floating,"v-navigation-drawer--is-mobile":this.isMobile,"v-navigation-drawer--is-mouseover":this.isMouseover,"v-navigation-drawer--mini-variant":this.isMiniVariant,"v-navigation-drawer--custom-mini-variant":56!==Number(this.miniVariantWidth),"v-navigation-drawer--open":this.isActive,"v-navigation-drawer--open-on-hover":this.expandOnHover,"v-navigation-drawer--right":this.right,"v-navigation-drawer--temporary":this.temporary,...this.themeClasses}},computedMaxHeight(){if(!this.hasApp)return null;const t=this.$vuetify.application.bottom+this.$vuetify.application.footer+this.$vuetify.application.bar;return this.clipped?t+this.$vuetify.application.top:t},computedTop(){if(!this.hasApp)return 0;let t=this.$vuetify.application.bar;return t+=this.clipped?this.$vuetify.application.top:0,t},computedTransform(){return this.isActive?0:this.isBottom||this.right?100:-100},computedWidth(){return this.isMiniVariant?this.miniVariantWidth:this.width},hasApp(){return this.app&&!this.isMobile&&!this.temporary},isBottom(){return this.bottom&&this.isMobile},isMiniVariant(){return!this.expandOnHover&&this.miniVariant||this.expandOnHover&&!this.isMouseover},isMobile(){return!this.stateless&&!this.permanent&&s["a"].options.computed.isMobile.call(this)},reactsToClick(){return!this.stateless&&!this.permanent&&(this.isMobile||this.temporary)},reactsToMobile(){return this.app&&!this.disableResizeWatcher&&!this.permanent&&!this.stateless&&!this.temporary},reactsToResize(){return!this.disableResizeWatcher&&!this.stateless},reactsToRoute(){return!this.disableRouteWatcher&&!this.stateless&&(this.temporary||this.isMobile)},showOverlay(){return!this.hideOverlay&&this.isActive&&(this.isMobile||this.temporary)},styles(){const t=this.isBottom?"translateY":"translateX";return{height:Object(p["i"])(this.height),top:this.isBottom?"auto":Object(p["i"])(this.computedTop),maxHeight:null!=this.computedMaxHeight?`calc(100% - ${Object(p["i"])(this.computedMaxHeight)})`:void 0,transform:`${t}(${Object(p["i"])(this.computedTransform,"%")})`,width:Object(p["i"])(this.computedWidth)}}},watch:{$route:"onRouteChange",isActive(t){this.$emit("input",t)},isMobile(t,e){!t&&this.isActive&&!this.temporary&&this.removeOverlay(),null!=e&&this.reactsToResize&&this.reactsToMobile&&(this.isActive=!t)},permanent(t){t&&(this.isActive=!0)},showOverlay(t){t?this.genOverlay():this.removeOverlay()},value(t){this.permanent||(null!=t?t!==this.isActive&&(this.isActive=t):this.init())},expandOnHover:"updateMiniVariant",isMouseover(t){this.updateMiniVariant(!t)}},beforeMount(){this.init()},methods:{calculateTouchArea(){const t=this.$el.parentNode;if(!t)return;const e=t.getBoundingClientRect();this.touchArea={left:e.left+50,right:e.right-50}},closeConditional(){return this.isActive&&!this._isDestroyed&&this.reactsToClick},genAppend(){return this.genPosition("append")},genBackground(){const t={height:"100%",width:"100%",src:this.src},e=this.$scopedSlots.img?this.$scopedSlots.img(t):this.$createElement(n["a"],{props:t});return this.$createElement("div",{staticClass:"v-navigation-drawer__image"},[e])},genDirectives(){const t=[{name:"click-outside",value:{handler:()=>{this.isActive=!1},closeConditional:this.closeConditional,include:this.getOpenDependentElements}}];return this.touchless||this.stateless||t.push({name:"touch",value:{parent:!0,left:this.swipeLeft,right:this.swipeRight}}),t},genListeners(){const t={mouseenter:()=>this.isMouseover=!0,mouseleave:()=>this.isMouseover=!1,transitionend:t=>{if(t.target!==t.currentTarget)return;this.$emit("transitionend",t);const e=document.createEvent("UIEvents");e.initUIEvent("resize",!0,!1,window,0),window.dispatchEvent(e)}};return this.miniVariant&&(t.click=()=>this.$emit("update:mini-variant",!1)),t},genPosition(t){const e=Object(p["u"])(this,t);return e?this.$createElement("div",{staticClass:"v-navigation-drawer__"+t},e):e},genPrepend(){return this.genPosition("prepend")},genContent(){return this.$createElement("div",{staticClass:"v-navigation-drawer__content"},Object(p["u"])(this))},genBorder(){return this.$createElement("div",{staticClass:"v-navigation-drawer__border"})},init(){this.permanent?this.isActive=!0:this.stateless||null!=this.value?this.isActive=this.value:this.temporary||(this.isActive=!this.isMobile)},onRouteChange(){this.reactsToRoute&&this.closeConditional()&&(this.isActive=!1)},swipeLeft(t){this.isActive&&this.right||(this.calculateTouchArea(),Math.abs(t.touchendX-t.touchstartX)<100||(this.right&&t.touchstartX>=this.touchArea.right?this.isActive=!0:!this.right&&this.isActive&&(this.isActive=!1)))},swipeRight(t){this.isActive&&!this.right||(this.calculateTouchArea(),Math.abs(t.touchendX-t.touchstartX)<100||(!this.right&&t.touchstartX<=this.touchArea.left?this.isActive=!0:this.right&&this.isActive&&(this.isActive=!1)))},updateApplication(){if(!this.isActive||this.isMobile||this.temporary||!this.$el)return 0;const t=Number(this.miniVariant?this.miniVariantWidth:this.width);return isNaN(t)?this.$el.clientWidth:t},updateMiniVariant(t){this.expandOnHover&&this.miniVariant!==t&&this.$emit("update:mini-variant",t)}},render(t){const e=[this.genPrepend(),this.genContent(),this.genAppend(),this.genBorder()];return(this.src||Object(p["u"])(this,"img"))&&e.unshift(this.genBackground()),t(this.tag,this.setBackgroundColor(this.color,{class:this.classes,style:this.styles,directives:this.genDirectives(),on:this.genListeners()}),e)}})},f7c2:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1ec9"),i=r("2a12");const o=n.configure(t=>{const e=async(e={})=>{const r=await t.post("commands",{signal:e.signal,searchParams:i.toUrlSearchParams(e),headers:e.headers});return r.json()};return e});e.createCommands=o},f7fe:function(t,e,r){(function(e){var r="Expected a function",n=NaN,i="[object Symbol]",o=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt,l="object"==typeof e&&e&&e.Object===Object&&e,h="object"==typeof self&&self&&self.Object===Object&&self,f=l||h||Function("return this")(),d=Object.prototype,p=d.toString,m=Math.max,g=Math.min,y=function(){return f.Date.now()};function v(t,e,n){var i,o,a,s,u,c,l=0,h=!1,f=!1,d=!0;if("function"!=typeof t)throw new TypeError(r);function p(e){var r=i,n=o;return i=o=void 0,l=e,s=t.apply(n,r),s}function v(t){return l=t,u=setTimeout(k,e),h?p(t):s}function _(t){var r=t-c,n=t-l,i=e-r;return f?g(i,a-n):i}function w(t){var r=t-c,n=t-l;return void 0===c||r>=e||r<0||f&&n>=a}function k(){var t=y();if(w(t))return S(t);u=setTimeout(k,_(t))}function S(t){return u=void 0,d&&i?p(t):(i=o=void 0,s)}function E(){void 0!==u&&clearTimeout(u),l=0,i=c=o=u=void 0}function M(){return void 0===u?s:S(y())}function A(){var t=y(),r=w(t);if(i=arguments,o=this,c=t,r){if(void 0===u)return v(c);if(f)return u=setTimeout(k,e),p(c)}return void 0===u&&(u=setTimeout(k,e)),s}return e=x(e)||0,b(n)&&(h=!!n.leading,f="maxWait"in n,a=f?m(x(n.maxWait)||0,e):a,d="trailing"in n?!!n.trailing:d),A.cancel=E,A.flush=M,A}function b(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function _(t){return!!t&&"object"==typeof t}function w(t){return"symbol"==typeof t||_(t)&&p.call(t)==i}function x(t){if("number"==typeof t)return t;if(w(t))return n;if(b(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=b(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(o,"");var r=s.test(t);return r||u.test(t)?c(t.slice(2),r?2:8):a.test(t)?n:+t}t.exports=v}).call(this,r("c8ba"))},f823:function(t,e,r){},f878:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("e5c3");function i(t){async function e({timeout:e,signal:r,headers:i,...o}){await t.post("pin/remote/rm",{timeout:e,signal:r,headers:i,searchParams:n.encodeQuery({...o,all:!0})})}return e}e.createRmAll=i},f8aa:function(t,e,r){"use strict";(function(t){
/*!
 * vue-qrcode v1.0.0
 * https://xkeshi.github.io/vue-qrcode
 *
 * Copyright 2017-present Chen Fengyuan
 * Released under the MIT license
 *
 * Date: 2018-06-20T03:42:27.281Z
 */
"undefined"!==typeof window?window:"undefined"!==typeof t||"undefined"!==typeof self&&self;function r(t,e){return e={exports:{}},t(e,e.exports),e.exports}var n=r((function(t,e){(function(e,r){t.exports=r()})(0,(function(){var t=function(){},e=Object.prototype.hasOwnProperty,r=Array.prototype.slice;function n(e,r){var n;return"function"===typeof Object.create?n=Object.create(e):(t.prototype=e,n=new t,t.prototype=null),r&&o(!0,n,r),n}function i(t,e,r,i){var a=this;return"string"!==typeof t&&(i=r,r=e,e=t,t=null),"function"!==typeof e&&(i=r,r=e,e=function(){return a.apply(this,arguments)}),o(!1,e,a,i),e.prototype=n(a.prototype,r),e.prototype.constructor=e,e.class_=t||a.class_,e.super_=a,e}function o(t,n,i){var o,a;i=r.call(arguments,2);for(var s=0,u=i.length;s<u;s++)for(o in a=i[s],a)t&&!e.call(a,o)||(n[o]=a[o])}var a=i;function s(){}s.class_="Nevis",s.super_=Object,s.extend=a;var u=s,c=u,l=c.extend((function(t,e,r){this.qrious=t,this.element=e,this.element.qrious=t,this.enabled=Boolean(r)}),{draw:function(t){},getElement:function(){return this.enabled||(this.enabled=!0,this.render()),this.element},getModuleSize:function(t){var e=this.qrious,r=e.padding||0,n=Math.floor((e.size-2*r)/t.width);return Math.max(1,n)},getOffset:function(t){var e=this.qrious,r=e.padding;if(null!=r)return r;var n=this.getModuleSize(t),i=Math.floor((e.size-n*t.width)/2);return Math.max(0,i)},render:function(t){this.enabled&&(this.resize(),this.reset(),this.draw(t))},reset:function(){},resize:function(){}}),h=l,f=h.extend({draw:function(t){var e,r,n=this.qrious,i=this.getModuleSize(t),o=this.getOffset(t),a=this.element.getContext("2d");for(a.fillStyle=n.foreground,a.globalAlpha=n.foregroundAlpha,e=0;e<t.width;e++)for(r=0;r<t.width;r++)t.buffer[r*t.width+e]&&a.fillRect(i*e+o,i*r+o,i,i)},reset:function(){var t=this.qrious,e=this.element.getContext("2d"),r=t.size;e.lineWidth=1,e.clearRect(0,0,r,r),e.fillStyle=t.background,e.globalAlpha=t.backgroundAlpha,e.fillRect(0,0,r,r)},resize:function(){var t=this.element;t.width=t.height=this.qrious.size}}),d=f,p=c.extend(null,{BLOCK:[0,11,15,19,23,27,31,16,18,20,22,24,26,28,20,22,24,24,26,28,28,22,24,24,26,26,28,28,24,24,26,26,26,28,28,24,26,26,26,28,28]}),m=p,g=c.extend(null,{BLOCKS:[1,0,19,7,1,0,16,10,1,0,13,13,1,0,9,17,1,0,34,10,1,0,28,16,1,0,22,22,1,0,16,28,1,0,55,15,1,0,44,26,2,0,17,18,2,0,13,22,1,0,80,20,2,0,32,18,2,0,24,26,4,0,9,16,1,0,108,26,2,0,43,24,2,2,15,18,2,2,11,22,2,0,68,18,4,0,27,16,4,0,19,24,4,0,15,28,2,0,78,20,4,0,31,18,2,4,14,18,4,1,13,26,2,0,97,24,2,2,38,22,4,2,18,22,4,2,14,26,2,0,116,30,3,2,36,22,4,4,16,20,4,4,12,24,2,2,68,18,4,1,43,26,6,2,19,24,6,2,15,28,4,0,81,20,1,4,50,30,4,4,22,28,3,8,12,24,2,2,92,24,6,2,36,22,4,6,20,26,7,4,14,28,4,0,107,26,8,1,37,22,8,4,20,24,12,4,11,22,3,1,115,30,4,5,40,24,11,5,16,20,11,5,12,24,5,1,87,22,5,5,41,24,5,7,24,30,11,7,12,24,5,1,98,24,7,3,45,28,15,2,19,24,3,13,15,30,1,5,107,28,10,1,46,28,1,15,22,28,2,17,14,28,5,1,120,30,9,4,43,26,17,1,22,28,2,19,14,28,3,4,113,28,3,11,44,26,17,4,21,26,9,16,13,26,3,5,107,28,3,13,41,26,15,5,24,30,15,10,15,28,4,4,116,28,17,0,42,26,17,6,22,28,19,6,16,30,2,7,111,28,17,0,46,28,7,16,24,30,34,0,13,24,4,5,121,30,4,14,47,28,11,14,24,30,16,14,15,30,6,4,117,30,6,14,45,28,11,16,24,30,30,2,16,30,8,4,106,26,8,13,47,28,7,22,24,30,22,13,15,30,10,2,114,28,19,4,46,28,28,6,22,28,33,4,16,30,8,4,122,30,22,3,45,28,8,26,23,30,12,28,15,30,3,10,117,30,3,23,45,28,4,31,24,30,11,31,15,30,7,7,116,30,21,7,45,28,1,37,23,30,19,26,15,30,5,10,115,30,19,10,47,28,15,25,24,30,23,25,15,30,13,3,115,30,2,29,46,28,42,1,24,30,23,28,15,30,17,0,115,30,10,23,46,28,10,35,24,30,19,35,15,30,17,1,115,30,14,21,46,28,29,19,24,30,11,46,15,30,13,6,115,30,14,23,46,28,44,7,24,30,59,1,16,30,12,7,121,30,12,26,47,28,39,14,24,30,22,41,15,30,6,14,121,30,6,34,47,28,46,10,24,30,2,64,15,30,17,4,122,30,29,14,46,28,49,10,24,30,24,46,15,30,4,18,122,30,13,32,46,28,48,14,24,30,42,32,15,30,20,4,117,30,40,7,47,28,43,22,24,30,10,67,15,30,19,6,118,30,18,31,47,28,34,34,24,30,20,61,15,30],FINAL_FORMAT:[30660,29427,32170,30877,26159,25368,27713,26998,21522,20773,24188,23371,17913,16590,20375,19104,13663,12392,16177,14854,9396,8579,11994,11245,5769,5054,7399,6608,1890,597,3340,2107],LEVELS:{L:1,M:2,Q:3,H:4}}),y=g,v=c.extend(null,{EXPONENT:[1,2,4,8,16,32,64,128,29,58,116,232,205,135,19,38,76,152,45,90,180,117,234,201,143,3,6,12,24,48,96,192,157,39,78,156,37,74,148,53,106,212,181,119,238,193,159,35,70,140,5,10,20,40,80,160,93,186,105,210,185,111,222,161,95,190,97,194,153,47,94,188,101,202,137,15,30,60,120,240,253,231,211,187,107,214,177,127,254,225,223,163,91,182,113,226,217,175,67,134,17,34,68,136,13,26,52,104,208,189,103,206,129,31,62,124,248,237,199,147,59,118,236,197,151,51,102,204,133,23,46,92,184,109,218,169,79,158,33,66,132,21,42,84,168,77,154,41,82,164,85,170,73,146,57,114,228,213,183,115,230,209,191,99,198,145,63,126,252,229,215,179,123,246,241,255,227,219,171,75,150,49,98,196,149,55,110,220,165,87,174,65,130,25,50,100,200,141,7,14,28,56,112,224,221,167,83,166,81,162,89,178,121,242,249,239,195,155,43,86,172,69,138,9,18,36,72,144,61,122,244,245,247,243,251,235,203,139,11,22,44,88,176,125,250,233,207,131,27,54,108,216,173,71,142,0],LOG:[255,0,1,25,2,50,26,198,3,223,51,238,27,104,199,75,4,100,224,14,52,141,239,129,28,193,105,248,200,8,76,113,5,138,101,47,225,36,15,33,53,147,142,218,240,18,130,69,29,181,194,125,106,39,249,185,201,154,9,120,77,228,114,166,6,191,139,98,102,221,48,253,226,152,37,179,16,145,34,136,54,208,148,206,143,150,219,189,241,210,19,92,131,56,70,64,30,66,182,163,195,72,126,110,107,58,40,84,250,133,186,61,202,94,155,159,10,21,121,43,78,212,229,172,115,243,167,87,7,112,192,247,140,128,99,13,103,74,222,237,49,197,254,24,227,165,153,119,38,184,180,124,17,68,146,217,35,32,137,46,55,63,209,91,149,188,207,205,144,135,151,178,220,252,190,97,242,86,211,171,20,42,93,158,132,60,57,83,71,109,65,162,31,45,67,216,183,123,164,118,196,23,73,236,127,12,111,246,108,161,59,82,41,157,85,170,251,96,134,177,187,204,62,90,203,89,95,176,156,169,160,81,11,245,22,235,122,117,44,215,79,174,213,233,230,231,173,232,116,214,244,234,168,80,88,175]}),b=v,_=c.extend(null,{BLOCK:[3220,1468,2713,1235,3062,1890,2119,1549,2344,2936,1117,2583,1330,2470,1667,2249,2028,3780,481,4011,142,3098,831,3445,592,2517,1776,2234,1951,2827,1070,2660,1345,3177]}),w=_,x=c.extend((function(t){var e,r,n,i,o,a=t.value.length;this._badness=[],this._level=y.LEVELS[t.level],this._polynomial=[],this._value=t.value,this._version=0,this._stringBuffer=[];while(this._version<40)if(this._version++,n=4*(this._level-1)+16*(this._version-1),i=y.BLOCKS[n++],o=y.BLOCKS[n++],e=y.BLOCKS[n++],r=y.BLOCKS[n],n=e*(i+o)+o-3+(this._version<=9),a<=n)break;this._dataBlock=e,this._eccBlock=r,this._neccBlock1=i,this._neccBlock2=o;var s=this.width=17+4*this._version;this.buffer=x._createArray(s*s),this._ecc=x._createArray(e+(e+r)*(i+o)+o),this._mask=x._createArray((s*(s+1)+1)/2),this._insertFinders(),this._insertAlignments(),this.buffer[8+s*(s-8)]=1,this._insertTimingGap(),this._reverseMask(),this._insertTimingRowAndColumn(),this._insertVersion(),this._syncMask(),this._convertBitStream(a),this._calculatePolynomial(),this._appendEccToData(),this._interleaveBlocks(),this._pack(),this._finish()}),{_addAlignment:function(t,e){var r,n=this.buffer,i=this.width;for(n[t+i*e]=1,r=-2;r<2;r++)n[t+r+i*(e-2)]=1,n[t-2+i*(e+r+1)]=1,n[t+2+i*(e+r)]=1,n[t+r+1+i*(e+2)]=1;for(r=0;r<2;r++)this._setMask(t-1,e+r),this._setMask(t+1,e-r),this._setMask(t-r,e-1),this._setMask(t+r,e+1)},_appendData:function(t,e,r,n){var i,o,a,s=this._polynomial,u=this._stringBuffer;for(o=0;o<n;o++)u[r+o]=0;for(o=0;o<e;o++){if(i=b.LOG[u[t+o]^u[r]],255!==i)for(a=1;a<n;a++)u[r+a-1]=u[r+a]^b.EXPONENT[x._modN(i+s[n-a])];else for(a=r;a<r+n;a++)u[a]=u[a+1];u[r+n-1]=255===i?0:b.EXPONENT[x._modN(i+s[0])]}},_appendEccToData:function(){var t,e=0,r=this._dataBlock,n=this._calculateMaxLength(),i=this._eccBlock;for(t=0;t<this._neccBlock1;t++)this._appendData(e,r,n,i),e+=r,n+=i;for(t=0;t<this._neccBlock2;t++)this._appendData(e,r+1,n,i),e+=r+1,n+=i},_applyMask:function(t){var e,r,n,i,o=this.buffer,a=this.width;switch(t){case 0:for(i=0;i<a;i++)for(n=0;n<a;n++)n+i&1||this._isMasked(n,i)||(o[n+i*a]^=1);break;case 1:for(i=0;i<a;i++)for(n=0;n<a;n++)1&i||this._isMasked(n,i)||(o[n+i*a]^=1);break;case 2:for(i=0;i<a;i++)for(e=0,n=0;n<a;n++,e++)3===e&&(e=0),e||this._isMasked(n,i)||(o[n+i*a]^=1);break;case 3:for(r=0,i=0;i<a;i++,r++)for(3===r&&(r=0),e=r,n=0;n<a;n++,e++)3===e&&(e=0),e||this._isMasked(n,i)||(o[n+i*a]^=1);break;case 4:for(i=0;i<a;i++)for(e=0,r=i>>1&1,n=0;n<a;n++,e++)3===e&&(e=0,r=!r),r||this._isMasked(n,i)||(o[n+i*a]^=1);break;case 5:for(r=0,i=0;i<a;i++,r++)for(3===r&&(r=0),e=0,n=0;n<a;n++,e++)3===e&&(e=0),(n&i&1)+!(!e|!r)||this._isMasked(n,i)||(o[n+i*a]^=1);break;case 6:for(r=0,i=0;i<a;i++,r++)for(3===r&&(r=0),e=0,n=0;n<a;n++,e++)3===e&&(e=0),(n&i&1)+(e&&e===r)&1||this._isMasked(n,i)||(o[n+i*a]^=1);break;case 7:for(r=0,i=0;i<a;i++,r++)for(3===r&&(r=0),e=0,n=0;n<a;n++,e++)3===e&&(e=0),(e&&e===r)+(n+i&1)&1||this._isMasked(n,i)||(o[n+i*a]^=1);break}},_calculateMaxLength:function(){return this._dataBlock*(this._neccBlock1+this._neccBlock2)+this._neccBlock2},_calculatePolynomial:function(){var t,e,r=this._eccBlock,n=this._polynomial;for(n[0]=1,t=0;t<r;t++){for(n[t+1]=1,e=t;e>0;e--)n[e]=n[e]?n[e-1]^b.EXPONENT[x._modN(b.LOG[n[e]]+t)]:n[e-1];n[0]=b.EXPONENT[x._modN(b.LOG[n[0]]+t)]}for(t=0;t<=r;t++)n[t]=b.LOG[n[t]]},_checkBadness:function(){var t,e,r,n,i,o=0,a=this._badness,s=this.buffer,u=this.width;for(i=0;i<u-1;i++)for(n=0;n<u-1;n++)(s[n+u*i]&&s[n+1+u*i]&&s[n+u*(i+1)]&&s[n+1+u*(i+1)]||!(s[n+u*i]||s[n+1+u*i]||s[n+u*(i+1)]||s[n+1+u*(i+1)]))&&(o+=x.N2);var c=0;for(i=0;i<u;i++){for(r=0,a[0]=0,t=0,n=0;n<u;n++)e=s[n+u*i],t===e?a[r]++:a[++r]=1,t=e,c+=t?1:-1;o+=this._getBadness(r)}c<0&&(c=-c);var l=0,h=c;h+=h<<2,h<<=1;while(h>u*u)h-=u*u,l++;for(o+=l*x.N4,n=0;n<u;n++){for(r=0,a[0]=0,t=0,i=0;i<u;i++)e=s[n+u*i],t===e?a[r]++:a[++r]=1,t=e;o+=this._getBadness(r)}return o},_convertBitStream:function(t){var e,r,n=this._ecc,i=this._version;for(r=0;r<t;r++)n[r]=this._value.charCodeAt(r);var o=this._stringBuffer=n.slice(),a=this._calculateMaxLength();t>=a-2&&(t=a-2,i>9&&t--);var s=t;if(i>9){o[s+2]=0,o[s+3]=0;while(s--)e=o[s],o[s+3]|=255&e<<4,o[s+2]=e>>4;o[2]|=255&t<<4,o[1]=t>>4,o[0]=64|t>>12}else{o[s+1]=0,o[s+2]=0;while(s--)e=o[s],o[s+2]|=255&e<<4,o[s+1]=e>>4;o[1]|=255&t<<4,o[0]=64|t>>4}s=t+3-(i<10);while(s<a)o[s++]=236,o[s++]=17},_getBadness:function(t){var e,r=0,n=this._badness;for(e=0;e<=t;e++)n[e]>=5&&(r+=x.N1+n[e]-5);for(e=3;e<t-1;e+=2)n[e-2]===n[e+2]&&n[e+2]===n[e-1]&&n[e-1]===n[e+1]&&3*n[e-1]===n[e]&&(0===n[e-3]||e+3>t||3*n[e-3]>=4*n[e]||3*n[e+3]>=4*n[e])&&(r+=x.N3);return r},_finish:function(){var t,e;this._stringBuffer=this.buffer.slice();var r=0,n=3e4;for(e=0;e<8;e++){if(this._applyMask(e),t=this._checkBadness(),t<n&&(n=t,r=e),7===r)break;this.buffer=this._stringBuffer.slice()}r!==e&&this._applyMask(r),n=y.FINAL_FORMAT[r+(this._level-1<<3)];var i=this.buffer,o=this.width;for(e=0;e<8;e++,n>>=1)1&n&&(i[o-1-e+8*o]=1,e<6?i[8+o*e]=1:i[8+o*(e+1)]=1);for(e=0;e<7;e++,n>>=1)1&n&&(i[8+o*(o-7+e)]=1,e?i[6-e+8*o]=1:i[7+8*o]=1)},_interleaveBlocks:function(){var t,e,r=this._dataBlock,n=this._ecc,i=this._eccBlock,o=0,a=this._calculateMaxLength(),s=this._neccBlock1,u=this._neccBlock2,c=this._stringBuffer;for(t=0;t<r;t++){for(e=0;e<s;e++)n[o++]=c[t+e*r];for(e=0;e<u;e++)n[o++]=c[s*r+t+e*(r+1)]}for(e=0;e<u;e++)n[o++]=c[s*r+t+e*(r+1)];for(t=0;t<i;t++)for(e=0;e<s+u;e++)n[o++]=c[a+t+e*i];this._stringBuffer=n},_insertAlignments:function(){var t,e,r,n=this._version,i=this.width;if(n>1)for(t=m.BLOCK[n],r=i-7;;){e=i-7;while(e>t-3){if(this._addAlignment(e,r),e<t)break;e-=t}if(r<=t+9)break;r-=t,this._addAlignment(6,r),this._addAlignment(r,6)}},_insertFinders:function(){var t,e,r,n,i=this.buffer,o=this.width;for(t=0;t<3;t++){for(e=0,n=0,1===t&&(e=o-7),2===t&&(n=o-7),i[n+3+o*(e+3)]=1,r=0;r<6;r++)i[n+r+o*e]=1,i[n+o*(e+r+1)]=1,i[n+6+o*(e+r)]=1,i[n+r+1+o*(e+6)]=1;for(r=1;r<5;r++)this._setMask(n+r,e+1),this._setMask(n+1,e+r+1),this._setMask(n+5,e+r),this._setMask(n+r+1,e+5);for(r=2;r<4;r++)i[n+r+o*(e+2)]=1,i[n+2+o*(e+r+1)]=1,i[n+4+o*(e+r)]=1,i[n+r+1+o*(e+4)]=1}},_insertTimingGap:function(){var t,e,r=this.width;for(e=0;e<7;e++)this._setMask(7,e),this._setMask(r-8,e),this._setMask(7,e+r-7);for(t=0;t<8;t++)this._setMask(t,7),this._setMask(t+r-8,7),this._setMask(t,r-8)},_insertTimingRowAndColumn:function(){var t,e=this.buffer,r=this.width;for(t=0;t<r-14;t++)1&t?(this._setMask(8+t,6),this._setMask(6,8+t)):(e[8+t+6*r]=1,e[6+r*(8+t)]=1)},_insertVersion:function(){var t,e,r,n,i=this.buffer,o=this._version,a=this.width;if(o>6)for(t=w.BLOCK[o-7],e=17,r=0;r<6;r++)for(n=0;n<3;n++,e--)1&(e>11?o>>e-12:t>>e)?(i[5-r+a*(2-n+a-11)]=1,i[2-n+a-11+a*(5-r)]=1):(this._setMask(5-r,2-n+a-11),this._setMask(2-n+a-11,5-r))},_isMasked:function(t,e){var r=x._getMaskBit(t,e);return 1===this._mask[r]},_pack:function(){var t,e,r,n=1,i=1,o=this.width,a=o-1,s=o-1,u=(this._dataBlock+this._eccBlock)*(this._neccBlock1+this._neccBlock2)+this._neccBlock2;for(e=0;e<u;e++)for(t=this._stringBuffer[e],r=0;r<8;r++,t<<=1){128&t&&(this.buffer[a+o*s]=1);do{i?a--:(a++,n?0!==s?s--:(a-=2,n=!n,6===a&&(a--,s=9)):s!==o-1?s++:(a-=2,n=!n,6===a&&(a--,s-=8))),i=!i}while(this._isMasked(a,s))}},_reverseMask:function(){var t,e,r=this.width;for(t=0;t<9;t++)this._setMask(t,8);for(t=0;t<8;t++)this._setMask(t+r-8,8),this._setMask(8,t);for(e=0;e<7;e++)this._setMask(8,e+r-7)},_setMask:function(t,e){var r=x._getMaskBit(t,e);this._mask[r]=1},_syncMask:function(){var t,e,r=this.width;for(e=0;e<r;e++)for(t=0;t<=e;t++)this.buffer[t+r*e]&&this._setMask(t,e)}},{_createArray:function(t){var e,r=[];for(e=0;e<t;e++)r[e]=0;return r},_getMaskBit:function(t,e){var r;return t>e&&(r=t,t=e,e=r),r=e,r+=e*e,r>>=1,r+=t,r},_modN:function(t){while(t>=255)t-=255,t=(t>>8)+(255&t);return t},N1:3,N2:3,N3:40,N4:10}),k=x,S=h.extend({draw:function(){this.element.src=this.qrious.toDataURL()},reset:function(){this.element.src=""},resize:function(){var t=this.element;t.width=t.height=this.qrious.size}}),E=S,M=c.extend((function(t,e,r,n){this.name=t,this.modifiable=Boolean(e),this.defaultValue=r,this._valueTransformer=n}),{transform:function(t){var e=this._valueTransformer;return"function"===typeof e?e(t,this):t}}),A=M,T=c.extend(null,{abs:function(t){return null!=t?Math.abs(t):null},hasOwn:function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},noop:function(){},toUpperCase:function(t){return null!=t?t.toUpperCase():null}}),C=T,L=c.extend((function(t){this.options={},t.forEach((function(t){this.options[t.name]=t}),this)}),{exists:function(t){return null!=this.options[t]},get:function(t,e){return L._get(this.options[t],e)},getAll:function(t){var e,r=this.options,n={};for(e in r)C.hasOwn(r,e)&&(n[e]=L._get(r[e],t));return n},init:function(t,e,r){var n,i;for(n in"function"!==typeof r&&(r=C.noop),this.options)C.hasOwn(this.options,n)&&(i=this.options[n],L._set(i,i.defaultValue,e),L._createAccessor(i,e,r));this._setAll(t,e,!0)},set:function(t,e,r){return this._set(t,e,r)},setAll:function(t,e){return this._setAll(t,e)},_set:function(t,e,r,n){var i=this.options[t];if(!i)throw new Error("Invalid option: "+t);if(!i.modifiable&&!n)throw new Error("Option cannot be modified: "+t);return L._set(i,e,r)},_setAll:function(t,e,r){if(!t)return!1;var n,i=!1;for(n in t)C.hasOwn(t,n)&&this._set(n,t[n],e,r)&&(i=!0);return i}},{_createAccessor:function(t,e,r){var n={get:function(){return L._get(t,e)}};t.modifiable&&(n.set=function(n){L._set(t,n,e)&&r(n,t)}),Object.defineProperty(e,t.name,n)},_get:function(t,e){return e["_"+t.name]},_set:function(t,e,r){var n="_"+t.name,i=r[n],o=t.transform(null!=e?e:t.defaultValue);return r[n]=o,o!==i}}),P=L,O=c.extend((function(){this._services={}}),{getService:function(t){var e=this._services[t];if(!e)throw new Error("Service is not being managed with name: "+t);return e},setService:function(t,e){if(this._services[t])throw new Error("Service is already managed with name: "+t);e&&(this._services[t]=e)}}),I=O,D=new P([new A("background",!0,"white"),new A("backgroundAlpha",!0,1,C.abs),new A("element"),new A("foreground",!0,"black"),new A("foregroundAlpha",!0,1,C.abs),new A("level",!0,"L",C.toUpperCase),new A("mime",!0,"image/png"),new A("padding",!0,null,C.abs),new A("size",!0,100,C.abs),new A("value",!0,"")]),B=new I,j=c.extend((function(t){D.init(t,this,this.update.bind(this));var e=D.get("element",this),r=B.getService("element"),n=e&&r.isCanvas(e)?e:r.createCanvas(),i=e&&r.isImage(e)?e:r.createImage();this._canvasRenderer=new d(this,n,!0),this._imageRenderer=new E(this,i,i===e),this.update()}),{get:function(){return D.getAll(this)},set:function(t){D.setAll(t,this)&&this.update()},toDataURL:function(t){return this.canvas.toDataURL(t||this.mime)},update:function(){var t=new k({level:this.level,value:this.value});this._canvasRenderer.render(t),this._imageRenderer.render(t)}},{use:function(t){B.setService(t.getName(),t)}});Object.defineProperties(j.prototype,{canvas:{get:function(){return this._canvasRenderer.getElement()}},image:{get:function(){return this._imageRenderer.getElement()}}});var N=j,R=N,F=c.extend({getName:function(){}}),Y=F,U=Y.extend({createCanvas:function(){},createImage:function(){},getName:function(){return"element"},isCanvas:function(t){},isImage:function(t){}}),H=U,z=H.extend({createCanvas:function(){return document.createElement("canvas")},createImage:function(){return document.createElement("img")},isCanvas:function(t){return t instanceof HTMLCanvasElement},isImage:function(t){return t instanceof HTMLImageElement}}),V=z;R.use(new V);var $=R;return $}))})),i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},o={name:"qrcode",props:{options:Object,tag:{type:String,default:"canvas"},value:{type:null,default:""}},render:function(t){return t(this.tag,this.$slots.default)},watch:{value:function(){this.generate()},options:function(){this.generate()}},methods:{generate:function(){this.$el&&new n(i({element:this.$el,value:String(this.value)},this.options))}},mounted:function(){this.generate()}};e["a"]=o}).call(this,r("c8ba"))},f977:function(t,e,r){"use strict";function n(t,e,r){const{self:n=!1}=e.modifiers||{},i=e.value,o="object"===typeof i&&i.options||{passive:!0},a="function"===typeof i||"handleEvent"in i?i:i.handler,s=n?t:e.arg?document.querySelector(e.arg):window;s&&(s.addEventListener("scroll",a,o),t._onScroll=Object(t._onScroll),t._onScroll[r.context._uid]={handler:a,options:o,target:n?void 0:s})}function i(t,e,r){var n;if(!(null===(n=t._onScroll)||void 0===n?void 0:n[r.context._uid]))return;const{handler:i,options:o,target:a=t}=t._onScroll[r.context._uid];a.removeEventListener("scroll",i,o),delete t._onScroll[r.context._uid]}r.d(e,"a",(function(){return o}));const o={inserted:n,unbind:i};e["b"]=o},f9f1:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("fb86"),i=r("c70a"),o=r("e22a"),a=r("5409");const s="dag-pb",u=112;function c(t){a.validate(t);const e={};return t.Links&&(e.Links=t.Links.map(t=>{const e={};return t.Hash&&(e.Hash=t.Hash.bytes),void 0!==t.Name&&(e.Name=t.Name),void 0!==t.Tsize&&(e.Tsize=t.Tsize),e})),t.Data&&(e.Data=t.Data),o.encodeNode(e)}function l(t){const e=i.decodeNode(t),r={};return e.Data&&(r.Data=e.Data),e.Links&&(r.Links=e.Links.map(t=>{const e={};try{e.Hash=n.CID.decode(t.Hash)}catch(r){}if(!e.Hash)throw new Error("Invalid Hash field found in link, expected CID");return void 0!==t.Name&&(e.Name=t.Name),void 0!==t.Tsize&&(e.Tsize=t.Tsize),e})),r}e.createLink=a.createLink,e.createNode=a.createNode,e.prepare=a.prepare,e.validate=a.validate,e.code=u,e.decode=l,e.encode=c,e.name=s},fa45:function(t,e){t.exports=i;var r=128,n=127;function i(t,e){var o,a=0,s=(e=e||0,0),u=e,c=t.length;do{if(u>=c||s>49)throw i.bytes=0,new RangeError("Could not decode varint");o=t[u++],a+=s<28?(o&n)<<s:(o&n)*Math.pow(2,s),s+=7}while(o>=r);return i.bytes=u-e,a}},fa9e:function(t,e,r){},faa1:function(t,e,r){"use strict";var n,i="object"===typeof Reflect?Reflect:null,o=i&&"function"===typeof i.apply?i.apply:function(t,e,r){return Function.prototype.apply.call(t,e,r)};function a(t){console&&console.warn&&console.warn(t)}n=i&&"function"===typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var s=Number.isNaN||function(t){return t!==t};function u(){u.init.call(this)}t.exports=u,t.exports.once=_,u.EventEmitter=u,u.prototype._events=void 0,u.prototype._eventsCount=0,u.prototype._maxListeners=void 0;var c=10;function l(t){if("function"!==typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function h(t){return void 0===t._maxListeners?u.defaultMaxListeners:t._maxListeners}function f(t,e,r,n){var i,o,s;if(l(r),o=t._events,void 0===o?(o=t._events=Object.create(null),t._eventsCount=0):(void 0!==o.newListener&&(t.emit("newListener",e,r.listener?r.listener:r),o=t._events),s=o[e]),void 0===s)s=o[e]=r,++t._eventsCount;else if("function"===typeof s?s=o[e]=n?[r,s]:[s,r]:n?s.unshift(r):s.push(r),i=h(t),i>0&&s.length>i&&!s.warned){s.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=t,u.type=e,u.count=s.length,a(u)}return t}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(t,e,r){var n={fired:!1,wrapFn:void 0,target:t,type:e,listener:r},i=d.bind(n);return i.listener=r,n.wrapFn=i,i}function m(t,e,r){var n=t._events;if(void 0===n)return[];var i=n[e];return void 0===i?[]:"function"===typeof i?r?[i.listener||i]:[i]:r?b(i):y(i,i.length)}function g(t){var e=this._events;if(void 0!==e){var r=e[t];if("function"===typeof r)return 1;if(void 0!==r)return r.length}return 0}function y(t,e){for(var r=new Array(e),n=0;n<e;++n)r[n]=t[n];return r}function v(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}function b(t){for(var e=new Array(t.length),r=0;r<e.length;++r)e[r]=t[r].listener||t[r];return e}function _(t,e){return new Promise((function(r,n){function i(r){t.removeListener(e,o),n(r)}function o(){"function"===typeof t.removeListener&&t.removeListener("error",i),r([].slice.call(arguments))}x(t,e,o,{once:!0}),"error"!==e&&w(t,i,{once:!0})}))}function w(t,e,r){"function"===typeof t.on&&x(t,"error",e,r)}function x(t,e,r,n){if("function"===typeof t.on)n.once?t.once(e,r):t.on(e,r);else{if("function"!==typeof t.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof t);t.addEventListener(e,(function i(o){n.once&&t.removeEventListener(e,i),r(o)}))}}Object.defineProperty(u,"defaultMaxListeners",{enumerable:!0,get:function(){return c},set:function(t){if("number"!==typeof t||t<0||s(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");c=t}}),u.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},u.prototype.setMaxListeners=function(t){if("number"!==typeof t||t<0||s(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},u.prototype.getMaxListeners=function(){return h(this)},u.prototype.emit=function(t){for(var e=[],r=1;r<arguments.length;r++)e.push(arguments[r]);var n="error"===t,i=this._events;if(void 0!==i)n=n&&void 0===i.error;else if(!n)return!1;if(n){var a;if(e.length>0&&(a=e[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var u=i[t];if(void 0===u)return!1;if("function"===typeof u)o(u,this,e);else{var c=u.length,l=y(u,c);for(r=0;r<c;++r)o(l[r],this,e)}return!0},u.prototype.addListener=function(t,e){return f(this,t,e,!1)},u.prototype.on=u.prototype.addListener,u.prototype.prependListener=function(t,e){return f(this,t,e,!0)},u.prototype.once=function(t,e){return l(e),this.on(t,p(this,t,e)),this},u.prototype.prependOnceListener=function(t,e){return l(e),this.prependListener(t,p(this,t,e)),this},u.prototype.removeListener=function(t,e){var r,n,i,o,a;if(l(e),n=this._events,void 0===n)return this;if(r=n[t],void 0===r)return this;if(r===e||r.listener===e)0===--this._eventsCount?this._events=Object.create(null):(delete n[t],n.removeListener&&this.emit("removeListener",t,r.listener||e));else if("function"!==typeof r){for(i=-1,o=r.length-1;o>=0;o--)if(r[o]===e||r[o].listener===e){a=r[o].listener,i=o;break}if(i<0)return this;0===i?r.shift():v(r,i),1===r.length&&(n[t]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",t,a||e)}return this},u.prototype.off=u.prototype.removeListener,u.prototype.removeAllListeners=function(t){var e,r,n;if(r=this._events,void 0===r)return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[t]&&(0===--this._eventsCount?this._events=Object.create(null):delete r[t]),this;if(0===arguments.length){var i,o=Object.keys(r);for(n=0;n<o.length;++n)i=o[n],"removeListener"!==i&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(e=r[t],"function"===typeof e)this.removeListener(t,e);else if(void 0!==e)for(n=e.length-1;n>=0;n--)this.removeListener(t,e[n]);return this},u.prototype.listeners=function(t){return m(this,t,!0)},u.prototype.rawListeners=function(t){return m(this,t,!1)},u.listenerCount=function(t,e){return"function"===typeof t.listenerCount?t.listenerCount(e):g.call(t,e)},u.prototype.listenerCount=g,u.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},facd:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e="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,o=t.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,n){return t?/-MMM-/.test(n)?r[t.month()]:e[t.month()]:e},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:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",w:"één week",ww:"%d weken",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}});return o}))},fb08:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("85e7"),i=r("f6ee"),o=r("9430"),a=r("f9f1"),s=r("ff40"),u=r("1fbd"),c=r("b280"),l=r("de24"),h=r("9593"),f=r("5b33"),d=r("37c4"),p=r("5863"),m=r("f03e"),g=r("86db"),y=r("9620"),v=r("36e4"),b=r("e682"),_=r("1442"),w=r("6905"),x=r("db11"),k=r("fd77"),S=r("c73c"),E=r("b73f"),M=r("db1b"),A=r("b8eb"),T=r("093a"),C=r("99c3"),L=r("16ad"),P=r("f7c2"),O=r("b99e"),I=r("6372"),D=r("d1d1"),B=r("0ec3"),j=r("ed75"),N=r("8bae"),R=r("6545"),F=r("1608"),Y=r("ac7f"),U=r("3692"),H=r("04d9"),z=r("613c"),V=r(1),$=r("fb86"),q=r("2054"),G=r("449d");function W(t){return t&&"object"===typeof t&&"default"in t?t:{default:t}}function K(t){if(t&&t.__esModule)return t;var e=Object.create(null);return t&&Object.keys(t).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,n.get?n:{enumerable:!0,get:function(){return t[r]}})}})),e["default"]=t,Object.freeze(e)}var X=K(a),J=K(s),Z=W(V),Q=W(G);function tt(t={}){const e={name:u.identity.name,code:u.identity.code,encode:t=>t,decode:t=>t},r=Object.values(c.bases);(t.ipld&&t.ipld.bases?t.ipld.bases:[]).forEach(t=>r.push(t));const a=new n.Multibases({bases:r,loadBase:t.ipld&&t.ipld.loadBase}),s=Object.values(c.codecs);[X,J,e].concat(t.ipld&&t.ipld.codecs||[]).forEach(t=>s.push(t));const V=new i.Multicodecs({codecs:s,loadCodec:t.ipld&&t.ipld.loadCodec}),$=Object.values(c.hashes);(t.ipld&&t.ipld.hashers?t.ipld.hashers:[]).forEach(t=>$.push(t));const q=new o.Multihashes({hashers:$,loadHasher:t.ipld&&t.ipld.loadHasher}),G={add:T.createAdd(t),addAll:C.createAddAll(t),bitswap:l.createBitswap(t),block:h.createBlock(t),bootstrap:f.createBootstrap(t),cat:L.createCat(t),commands:P.createCommands(t),config:d.createConfig(t),dag:p.createDag(V,t),dht:m.createDht(t),diag:g.createDiag(t),dns:O.createDns(t),files:y.createFiles(t),get:D.createGet(t),getEndpointConfig:I.createGetEndpointConfig(t),id:B.createId(t),isOnline:j.createIsOnline(t),key:v.createKey(t),log:b.createLog(t),ls:N.createLs(t),mount:R.createMount(t),name:_.createName(t),object:w.createObject(V,t),pin:x.createPin(t),ping:F.createPing(t),pubsub:k.createPubsub(t),refs:S.createRefs(t),repo:E.createRepo(t),resolve:Y.createResolve(t),start:U.createStart(t),stats:M.createStats(t),stop:H.createStop(t),swarm:A.createSwarm(t),version:z.createVersion(t),bases:a,codecs:V,hashers:q};return G}const et=Z["default"];Object.defineProperty(e,"CID",{enumerable:!0,get:function(){return $.CID}}),Object.defineProperty(e,"multiaddr",{enumerable:!0,get:function(){return q.Multiaddr}}),Object.defineProperty(e,"urlSource",{enumerable:!0,get:function(){return Q["default"]}}),e.create=tt,e.globSource=et},fb86:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("ac1b"),i=r("29f9"),o=r("e4de"),a=r("17fb"),s=r("dd7b");class u{constructor(t,e,r,n){this.code=e,this.version=t,this.multihash=r,this.bytes=n,this.byteOffset=n.byteOffset,this.byteLength=n.byteLength,this.asCID=this,this._baseCache=new Map,Object.defineProperties(this,{byteOffset:y,byteLength:y,code:g,version:g,multihash:g,bytes:g,_baseCache:y,asCID:y})}toV0(){switch(this.version){case 0:return this;default:{const{code:t,multihash:e}=this;if(t!==f)throw new Error("Cannot convert a non dag-pb CID to CIDv0");if(e.code!==d)throw new Error("Cannot convert non sha2-256 multihash CID to CIDv0");return u.createV0(e)}}}toV1(){switch(this.version){case 0:{const{code:t,digest:e}=this.multihash,r=i.create(t,e);return u.createV1(this.code,r)}case 1:return this;default:throw Error(`Can not convert CID version ${this.version} to version 0. This is a bug please report`)}}equals(t){return t&&this.code===t.code&&this.version===t.version&&i.equals(this.multihash,t.multihash)}toString(t){const{bytes:e,version:r,_baseCache:n}=this;switch(r){case 0:return l(e,n,t||o.base58btc.encoder);default:return h(e,n,t||a.base32.encoder)}}toJSON(){return{code:this.code,version:this.version,hash:this.multihash.bytes}}get[Symbol.toStringTag](){return"CID"}[Symbol.for("nodejs.util.inspect.custom")](){return"CID("+this.toString()+")"}static isCID(t){return b(/^0\.0/,_),!(!t||!t[m]&&t.asCID!==t)}get toBaseEncodedString(){throw new Error("Deprecated, use .toString()")}get codec(){throw new Error('"codec" property is deprecated, use integer "code" property instead')}get buffer(){throw new Error("Deprecated .buffer property, use .bytes to get Uint8Array instead")}get multibaseName(){throw new Error('"multibaseName" property is deprecated')}get prefix(){throw new Error('"prefix" property is deprecated')}static asCID(t){if(t instanceof u)return t;if(null!=t&&t.asCID===t){const{version:e,code:r,multihash:n,bytes:i}=t;return new u(e,r,n,i||p(e,r,n.bytes))}if(null!=t&&!0===t[m]){const{version:e,multihash:r,code:n}=t,o=i.decode(r);return u.create(e,n,o)}return null}static create(t,e,r){if("number"!==typeof e)throw new Error("String codecs are no longer supported");switch(t){case 0:if(e!==f)throw new Error(`Version 0 CID must use dag-pb (code: ${f}) block encoding`);return new u(t,e,r,r.bytes);case 1:{const n=p(t,e,r.bytes);return new u(t,e,r,n)}default:throw new Error("Invalid version")}}static createV0(t){return u.create(0,f,t)}static createV1(t,e){return u.create(1,t,e)}static decode(t){const[e,r]=u.decodeFirst(t);if(r.length)throw new Error("Incorrect length");return e}static decodeFirst(t){const e=u.inspectBytes(t),r=e.size-e.multihashSize,n=s.coerce(t.subarray(r,r+e.multihashSize));if(n.byteLength!==e.multihashSize)throw new Error("Incorrect length");const o=n.subarray(e.multihashSize-e.digestSize),a=new i.Digest(e.multihashCode,e.digestSize,o,n),c=0===e.version?u.createV0(a):u.createV1(e.codec,a);return[c,t.subarray(e.size)]}static inspectBytes(t){let e=0;const r=()=>{const[r,i]=n.decode(t.subarray(e));return e+=i,r};let i=r(),o=f;if(18===i?(i=0,e=0):1===i&&(o=r()),0!==i&&1!==i)throw new RangeError("Invalid CID version "+i);const a=e,s=r(),u=r(),c=e+u,l=c-a;return{version:i,codec:o,multihashCode:s,digestSize:u,multihashSize:l,size:c}}static parse(t,e){const[r,n]=c(t,e),i=u.decode(n);return i._baseCache.set(r,t),i}}const c=(t,e)=>{switch(t[0]){case"Q":{const r=e||o.base58btc;return[o.base58btc.prefix,r.decode(`${o.base58btc.prefix}${t}`)]}case o.base58btc.prefix:{const r=e||o.base58btc;return[o.base58btc.prefix,r.decode(t)]}case a.base32.prefix:{const r=e||a.base32;return[a.base32.prefix,r.decode(t)]}default:if(null==e)throw Error("To parse non base32 or base58btc encoded CID multibase decoder must be provided");return[t[0],e.decode(t)]}},l=(t,e,r)=>{const{prefix:n}=r;if(n!==o.base58btc.prefix)throw Error(`Cannot string encode V0 in ${r.name} encoding`);const i=e.get(n);if(null==i){const i=r.encode(t).slice(1);return e.set(n,i),i}return i},h=(t,e,r)=>{const{prefix:n}=r,i=e.get(n);if(null==i){const i=r.encode(t);return e.set(n,i),i}return i},f=112,d=18,p=(t,e,r)=>{const i=n.encodingLength(t),o=i+n.encodingLength(e),a=new Uint8Array(o+r.byteLength);return n.encodeTo(t,a,0),n.encodeTo(e,a,i),a.set(r,o),a},m=Symbol.for("@ipld/js-cid/CID"),g={writable:!1,configurable:!1,enumerable:!0},y={writable:!1,enumerable:!1,configurable:!1},v="0.0.0-dev",b=(t,e)=>{if(!t.test(v))throw new Error(e);console.warn(e)},_="CID.isCID(v) is deprecated and will be removed in the next major release.\nFollowing code pattern:\n\nif (CID.isCID(value)) {\n  doSomethingWithCID(value)\n}\n\nIs replaced with:\n\nconst cid = CID.asCID(value)\nif (cid) {\n  // Make sure to use cid instead of value\n  doSomethingWithCID(cid)\n}\n";e.CID=u},fc06:function(t,e,r){"use strict";var n=r("0393");r.d(e,"d",(function(){return n["a"]}));var i=r("cd55");r.d(e,"a",(function(){return i["a"]}));var o=r("49e2");r.d(e,"b",(function(){return o["a"]}));var a=r("c865");r.d(e,"c",(function(){return a["a"]}));n["a"],i["a"],a["a"],o["a"]},fc5b:function(t,e,r){"use strict";r("d951");var n=r("9d26"),i=r("daf1"),o=r("58df");e["a"]=Object(o["a"])(i["a"]).extend({name:"v-date-picker-title",props:{date:{type:String,default:""},disabled:Boolean,readonly:Boolean,selectingYear:Boolean,value:{type:String},year:{type:[Number,String],default:""},yearIcon:{type:String}},data:()=>({isReversing:!1}),computed:{computedTransition(){return this.isReversing?"picker-reverse-transition":"picker-transition"}},watch:{value(t,e){this.isReversing=t<e}},methods:{genYearIcon(){return this.$createElement(n["b"],{props:{dark:!0}},this.yearIcon)},getYearBtn(){return this.genPickerButton("selectingYear",!0,[String(this.year),this.yearIcon?this.genYearIcon():null],!1,"v-date-picker-title__year")},genTitleText(){return this.$createElement("transition",{props:{name:this.computedTransition}},[this.$createElement("div",{domProps:{innerHTML:this.date||"&nbsp;"},key:this.value})])},genTitleDate(){return this.genPickerButton("selectingYear",!1,[this.genTitleText()],!1,"v-date-picker-title__date")}},render(t){return t("div",{staticClass:"v-date-picker-title",class:{"v-date-picker-title--disabled":this.disabled}},[this.getYearBtn(),this.genTitleDate()])}})},fcf4:function(t,e,r){"use strict";const n=Object.freeze({base:"#f44336",lighten5:"#ffebee",lighten4:"#ffcdd2",lighten3:"#ef9a9a",lighten2:"#e57373",lighten1:"#ef5350",darken1:"#e53935",darken2:"#d32f2f",darken3:"#c62828",darken4:"#b71c1c",accent1:"#ff8a80",accent2:"#ff5252",accent3:"#ff1744",accent4:"#d50000"}),i=Object.freeze({base:"#e91e63",lighten5:"#fce4ec",lighten4:"#f8bbd0",lighten3:"#f48fb1",lighten2:"#f06292",lighten1:"#ec407a",darken1:"#d81b60",darken2:"#c2185b",darken3:"#ad1457",darken4:"#880e4f",accent1:"#ff80ab",accent2:"#ff4081",accent3:"#f50057",accent4:"#c51162"}),o=Object.freeze({base:"#9c27b0",lighten5:"#f3e5f5",lighten4:"#e1bee7",lighten3:"#ce93d8",lighten2:"#ba68c8",lighten1:"#ab47bc",darken1:"#8e24aa",darken2:"#7b1fa2",darken3:"#6a1b9a",darken4:"#4a148c",accent1:"#ea80fc",accent2:"#e040fb",accent3:"#d500f9",accent4:"#aa00ff"}),a=Object.freeze({base:"#673ab7",lighten5:"#ede7f6",lighten4:"#d1c4e9",lighten3:"#b39ddb",lighten2:"#9575cd",lighten1:"#7e57c2",darken1:"#5e35b1",darken2:"#512da8",darken3:"#4527a0",darken4:"#311b92",accent1:"#b388ff",accent2:"#7c4dff",accent3:"#651fff",accent4:"#6200ea"}),s=Object.freeze({base:"#3f51b5",lighten5:"#e8eaf6",lighten4:"#c5cae9",lighten3:"#9fa8da",lighten2:"#7986cb",lighten1:"#5c6bc0",darken1:"#3949ab",darken2:"#303f9f",darken3:"#283593",darken4:"#1a237e",accent1:"#8c9eff",accent2:"#536dfe",accent3:"#3d5afe",accent4:"#304ffe"}),u=Object.freeze({base:"#2196f3",lighten5:"#e3f2fd",lighten4:"#bbdefb",lighten3:"#90caf9",lighten2:"#64b5f6",lighten1:"#42a5f5",darken1:"#1e88e5",darken2:"#1976d2",darken3:"#1565c0",darken4:"#0d47a1",accent1:"#82b1ff",accent2:"#448aff",accent3:"#2979ff",accent4:"#2962ff"}),c=Object.freeze({base:"#03a9f4",lighten5:"#e1f5fe",lighten4:"#b3e5fc",lighten3:"#81d4fa",lighten2:"#4fc3f7",lighten1:"#29b6f6",darken1:"#039be5",darken2:"#0288d1",darken3:"#0277bd",darken4:"#01579b",accent1:"#80d8ff",accent2:"#40c4ff",accent3:"#00b0ff",accent4:"#0091ea"}),l=Object.freeze({base:"#00bcd4",lighten5:"#e0f7fa",lighten4:"#b2ebf2",lighten3:"#80deea",lighten2:"#4dd0e1",lighten1:"#26c6da",darken1:"#00acc1",darken2:"#0097a7",darken3:"#00838f",darken4:"#006064",accent1:"#84ffff",accent2:"#18ffff",accent3:"#00e5ff",accent4:"#00b8d4"}),h=Object.freeze({base:"#009688",lighten5:"#e0f2f1",lighten4:"#b2dfdb",lighten3:"#80cbc4",lighten2:"#4db6ac",lighten1:"#26a69a",darken1:"#00897b",darken2:"#00796b",darken3:"#00695c",darken4:"#004d40",accent1:"#a7ffeb",accent2:"#64ffda",accent3:"#1de9b6",accent4:"#00bfa5"}),f=Object.freeze({base:"#4caf50",lighten5:"#e8f5e9",lighten4:"#c8e6c9",lighten3:"#a5d6a7",lighten2:"#81c784",lighten1:"#66bb6a",darken1:"#43a047",darken2:"#388e3c",darken3:"#2e7d32",darken4:"#1b5e20",accent1:"#b9f6ca",accent2:"#69f0ae",accent3:"#00e676",accent4:"#00c853"}),d=Object.freeze({base:"#8bc34a",lighten5:"#f1f8e9",lighten4:"#dcedc8",lighten3:"#c5e1a5",lighten2:"#aed581",lighten1:"#9ccc65",darken1:"#7cb342",darken2:"#689f38",darken3:"#558b2f",darken4:"#33691e",accent1:"#ccff90",accent2:"#b2ff59",accent3:"#76ff03",accent4:"#64dd17"}),p=Object.freeze({base:"#cddc39",lighten5:"#f9fbe7",lighten4:"#f0f4c3",lighten3:"#e6ee9c",lighten2:"#dce775",lighten1:"#d4e157",darken1:"#c0ca33",darken2:"#afb42b",darken3:"#9e9d24",darken4:"#827717",accent1:"#f4ff81",accent2:"#eeff41",accent3:"#c6ff00",accent4:"#aeea00"}),m=Object.freeze({base:"#ffeb3b",lighten5:"#fffde7",lighten4:"#fff9c4",lighten3:"#fff59d",lighten2:"#fff176",lighten1:"#ffee58",darken1:"#fdd835",darken2:"#fbc02d",darken3:"#f9a825",darken4:"#f57f17",accent1:"#ffff8d",accent2:"#ffff00",accent3:"#ffea00",accent4:"#ffd600"}),g=Object.freeze({base:"#ffc107",lighten5:"#fff8e1",lighten4:"#ffecb3",lighten3:"#ffe082",lighten2:"#ffd54f",lighten1:"#ffca28",darken1:"#ffb300",darken2:"#ffa000",darken3:"#ff8f00",darken4:"#ff6f00",accent1:"#ffe57f",accent2:"#ffd740",accent3:"#ffc400",accent4:"#ffab00"}),y=Object.freeze({base:"#ff9800",lighten5:"#fff3e0",lighten4:"#ffe0b2",lighten3:"#ffcc80",lighten2:"#ffb74d",lighten1:"#ffa726",darken1:"#fb8c00",darken2:"#f57c00",darken3:"#ef6c00",darken4:"#e65100",accent1:"#ffd180",accent2:"#ffab40",accent3:"#ff9100",accent4:"#ff6d00"}),v=Object.freeze({base:"#ff5722",lighten5:"#fbe9e7",lighten4:"#ffccbc",lighten3:"#ffab91",lighten2:"#ff8a65",lighten1:"#ff7043",darken1:"#f4511e",darken2:"#e64a19",darken3:"#d84315",darken4:"#bf360c",accent1:"#ff9e80",accent2:"#ff6e40",accent3:"#ff3d00",accent4:"#dd2c00"}),b=Object.freeze({base:"#795548",lighten5:"#efebe9",lighten4:"#d7ccc8",lighten3:"#bcaaa4",lighten2:"#a1887f",lighten1:"#8d6e63",darken1:"#6d4c41",darken2:"#5d4037",darken3:"#4e342e",darken4:"#3e2723"}),_=Object.freeze({base:"#607d8b",lighten5:"#eceff1",lighten4:"#cfd8dc",lighten3:"#b0bec5",lighten2:"#90a4ae",lighten1:"#78909c",darken1:"#546e7a",darken2:"#455a64",darken3:"#37474f",darken4:"#263238"}),w=Object.freeze({base:"#9e9e9e",lighten5:"#fafafa",lighten4:"#f5f5f5",lighten3:"#eeeeee",lighten2:"#e0e0e0",lighten1:"#bdbdbd",darken1:"#757575",darken2:"#616161",darken3:"#424242",darken4:"#212121"}),x=Object.freeze({black:"#000000",white:"#ffffff",transparent:"transparent"});e["a"]=Object.freeze({red:n,pink:i,purple:o,deepPurple:a,indigo:s,blue:u,lightBlue:c,cyan:l,teal:h,green:f,lightGreen:d,lime:p,yellow:m,amber:g,orange:y,deepOrange:v,brown:b,blueGrey:_,grey:w,shades:x})},fcf47:function(t,e,r){},fd3a:function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r("53ca"),i=r("8c86");function o(t){Object(i["a"])(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||"object"===Object(n["a"])(t)&&"[object Date]"===e?new Date(t.getTime()):"number"===typeof t||"[object Number]"===e?new Date(t):("string"!==typeof t&&"[object String]"!==e||"undefined"===typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}},fd77:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("3cad"),i=r("dd9a"),o=r("0bef"),a=r("3b34"),s=r("342e"),u=r("e809");function c(t){const e=new u.SubscriptionTracker;return{ls:n.createLs(t),peers:i.createPeers(t),publish:o.createPublish(t),subscribe:a.createSubscribe(t,e),unsubscribe:s.createUnsubscribe(t,e)}}e.createPubsub=c},fd7e:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".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~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,r=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+r},week:{dow:1,doy:4}});return e}))},fe09:function(t,e,r){"use strict";r.d(e,"b",(function(){return s}));var n=r("c37a"),i=r("5311"),o=r("8547"),a=r("58df");function s(t){t.preventDefault()}e["a"]=Object(a["a"])(n["b"],i["a"],o["a"]).extend({name:"selectable",model:{prop:"inputValue",event:"change"},props:{id:String,inputValue:null,falseValue:null,trueValue:null,multiple:{type:Boolean,default:null},label:String},data(){return{hasColor:this.inputValue,lazyValue:this.inputValue}},computed:{computedColor(){if(this.isActive)return this.color?this.color:this.isDark&&!this.appIsDark?"white":"primary"},isMultiple(){return!0===this.multiple||null===this.multiple&&Array.isArray(this.internalValue)},isActive(){const t=this.value,e=this.internalValue;return this.isMultiple?!!Array.isArray(e)&&e.some(e=>this.valueComparator(e,t)):void 0===this.trueValue||void 0===this.falseValue?t?this.valueComparator(t,e):Boolean(e):this.valueComparator(e,this.trueValue)},isDirty(){return this.isActive},rippleState(){return this.isDisabled||this.validationState?this.validationState:void 0}},watch:{inputValue(t){this.lazyValue=t,this.hasColor=t}},methods:{genLabel(){const t=n["b"].options.methods.genLabel.call(this);return t?(t.data.on={click:s},t):t},genInput(t,e){return this.$createElement("input",{attrs:Object.assign({"aria-checked":this.isActive.toString(),disabled:this.isDisabled,id:this.computedId,role:t,type:t},e),domProps:{value:this.value,checked:this.isActive},on:{blur:this.onBlur,change:this.onChange,focus:this.onFocus,keydown:this.onKeydown,click:s},ref:"input"})},onClick(t){this.onChange(),this.$emit("click",t)},onChange(){if(!this.isInteractive)return;const t=this.value;let e=this.internalValue;if(this.isMultiple){Array.isArray(e)||(e=[]);const r=e.length;e=e.filter(e=>!this.valueComparator(e,t)),e.length===r&&e.push(t)}else e=void 0!==this.trueValue&&void 0!==this.falseValue?this.valueComparator(e,this.trueValue)?this.falseValue:this.trueValue:t?this.valueComparator(e,t)?null:t:!e;this.validate(!0,e),this.internalValue=e,this.hasColor=e},onFocus(t){this.isFocused=!0,this.$emit("focus",t)},onBlur(t){this.isFocused=!1,this.$emit("blur",t)},onKeydown(t){}}})},fe1f:function(t,e,r){"use strict";function n(t){if(null===t||!0===t||!1===t)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}r.d(e,"a",(function(){return n}))},fe37:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("1169"),i=r("1ec9"),o=r("2a12");const a=i.configure(t=>{async function e(e,r={}){const i=await t.post("name/publish",{signal:r.signal,searchParams:o.toUrlSearchParams({arg:""+e,...r}),headers:r.headers});return n.objectToCamel(await i.json())}return e});e.createPublish=a},fe57:function(t,e,r){"use strict";r("1bfb");var n=r("7efd"),i=r("7560"),o=r("d10f"),a=r("58df"),s=Object(a["a"])(n["a"],o["a"],i["a"]).extend({name:"v-tabs-bar",provide(){return{tabsBar:this}},computed:{classes(){return{...n["a"].options.computed.classes.call(this),"v-tabs-bar":!0,"v-tabs-bar--is-mobile":this.isMobile,"v-tabs-bar--show-arrows":this.showArrows,...this.themeClasses}}},watch:{items:"callSlider",internalValue:"callSlider",$route:"onRouteChange"},methods:{callSlider(){this.isBooted&&this.$emit("call:slider")},genContent(){const t=n["a"].options.methods.genContent.call(this);return t.data=t.data||{},t.data.staticClass+=" v-tabs-bar__content",t},onRouteChange(t,e){if(this.mandatory)return;const r=this.items,n=t.path,i=e.path;let o=!1,a=!1;for(const s of r)if(s.to===i?a=!0:s.to===n&&(o=!0),o&&a)break;!o&&a&&(this.internalValue=void 0)}},render(t){const e=n["a"].options.render.call(this,t);return e.data.attrs={role:"tablist"},e}}),u=r("aac8"),c=r("9a96"),l=r("a9ad"),h=r("a452"),f=r("dc22"),d=r("80d2");const p=Object(a["a"])(l["a"],h["a"],i["a"]);e["a"]=p.extend().extend({name:"v-tabs",directives:{Resize:f["b"]},props:{activeClass:{type:String,default:""},alignWithTitle:Boolean,backgroundColor:String,centerActive:Boolean,centered:Boolean,fixedTabs:Boolean,grow:Boolean,height:{type:[Number,String],default:void 0},hideSlider:Boolean,iconsAndText:Boolean,mobileBreakpoint:[String,Number],nextIcon:{type:String,default:"$next"},optional:Boolean,prevIcon:{type:String,default:"$prev"},right:Boolean,showArrows:[Boolean,String],sliderColor:String,sliderSize:{type:[Number,String],default:2},vertical:Boolean},data(){return{resizeTimeout:0,slider:{height:null,left:null,right:null,top:null,width:null},transitionTime:300}},computed:{classes(){return{"v-tabs--align-with-title":this.alignWithTitle,"v-tabs--centered":this.centered,"v-tabs--fixed-tabs":this.fixedTabs,"v-tabs--grow":this.grow,"v-tabs--icons-and-text":this.iconsAndText,"v-tabs--right":this.right,"v-tabs--vertical":this.vertical,...this.themeClasses}},isReversed(){return this.$vuetify.rtl&&this.vertical},sliderStyles(){return{height:Object(d["i"])(this.slider.height),left:this.isReversed?void 0:Object(d["i"])(this.slider.left),right:this.isReversed?Object(d["i"])(this.slider.right):void 0,top:this.vertical?Object(d["i"])(this.slider.top):void 0,transition:null!=this.slider.left?null:"none",width:Object(d["i"])(this.slider.width)}},computedColor(){return this.color?this.color:this.isDark&&!this.appIsDark?"white":"primary"}},watch:{alignWithTitle:"callSlider",centered:"callSlider",centerActive:"callSlider",fixedTabs:"callSlider",grow:"callSlider",iconsAndText:"callSlider",right:"callSlider",showArrows:"callSlider",vertical:"callSlider","$vuetify.application.left":"onResize","$vuetify.application.right":"onResize","$vuetify.rtl":"onResize"},mounted(){if("undefined"!==typeof ResizeObserver){const t=new ResizeObserver(()=>{this.onResize()});t.observe(this.$el),this.$on("hook:destroyed",()=>{t.disconnect()})}this.$nextTick(()=>{window.setTimeout(this.callSlider,30)})},methods:{callSlider(){return!this.hideSlider&&this.$refs.items&&this.$refs.items.selectedItems.length?(this.$nextTick(()=>{const t=this.$refs.items.selectedItems[0];if(!t||!t.$el)return this.slider.width=0,void(this.slider.left=0);const e=t.$el;this.slider={height:this.vertical?e.scrollHeight:Number(this.sliderSize),left:this.vertical?0:e.offsetLeft,right:this.vertical?0:e.offsetLeft+e.offsetWidth,top:e.offsetTop,width:this.vertical?Number(this.sliderSize):e.scrollWidth}}),!0):(this.slider.width=0,!1)},genBar(t,e){const r={style:{height:Object(d["i"])(this.height)},props:{activeClass:this.activeClass,centerActive:this.centerActive,dark:this.dark,light:this.light,mandatory:!this.optional,mobileBreakpoint:this.mobileBreakpoint,nextIcon:this.nextIcon,prevIcon:this.prevIcon,showArrows:this.showArrows,value:this.internalValue},on:{"call:slider":this.callSlider,change:t=>{this.internalValue=t}},ref:"items"};return this.setTextColor(this.computedColor,r),this.setBackgroundColor(this.backgroundColor,r),this.$createElement(s,r,[this.genSlider(e),t])},genItems(t,e){return t||(e.length?this.$createElement(u["a"],{props:{value:this.internalValue},on:{change:t=>{this.internalValue=t}}},e):null)},genSlider(t){return this.hideSlider?null:(t||(t=this.$createElement(c["a"],{props:{color:this.sliderColor}})),this.$createElement("div",{staticClass:"v-tabs-slider-wrapper",style:this.sliderStyles},[t]))},onResize(){this._isDestroyed||(clearTimeout(this.resizeTimeout),this.resizeTimeout=window.setTimeout(this.callSlider,0))},parseNodes(){let t=null,e=null;const r=[],n=[],i=Object(d["u"])(this)||[],o=i.length;for(let a=0;a<o;a++){const o=i[a];if(o.componentOptions)switch(o.componentOptions.Ctor.options.name){case"v-tabs-slider":e=o;break;case"v-tabs-items":t=o;break;case"v-tab-item":r.push(o);break;default:n.push(o)}else n.push(o)}return{tab:n,slider:e,items:t,item:r}}},render(t){const{tab:e,slider:r,items:n,item:i}=this.parseNodes();return t("div",{staticClass:"v-tabs",class:this.classes,directives:[{name:"resize",modifiers:{quiet:!0},value:this.onResize}]},[this.genBar(e,r),this.genItems(n,i)])}})},fe6c:function(t,e,r){"use strict";r.d(e,"b",(function(){return a}));var n=r("2b0e"),i=r("80d2");const o={absolute:Boolean,bottom:Boolean,fixed:Boolean,left:Boolean,right:Boolean,top:Boolean};function a(t=[]){return n["default"].extend({name:"positionable",props:t.length?Object(i["p"])(o,t):o})}e["a"]=a()},fe98:function(t,e,r){"use strict";r("31ce");var n=r("9d26"),i=r("fcf4"),o=r("2e05"),a=r("80d2"),s=r("58df"),u=r("7560"),c=r("7bc6");function l(t){return Object.keys(t).map(e=>{const r=t[e];return r.base?[r.base,r.darken4,r.darken3,r.darken2,r.darken1,r.lighten1,r.lighten2,r.lighten3,r.lighten4,r.lighten5]:[r.black,r.white,r.transparent]})}const h=Object(o["d"])("#FFFFFF").rgba,f=Object(o["d"])("#000000").rgba;e["a"]=Object(s["a"])(u["a"]).extend({name:"v-color-picker-swatches",props:{swatches:{type:Array,default:()=>l(i["a"])},disabled:Boolean,color:Object,maxWidth:[Number,String],maxHeight:[Number,String]},methods:{genColor(t){const e=this.$createElement("div",{style:{background:t}},[Object(a["m"])(this.color,Object(o["h"])(t,null))&&this.$createElement(n["b"],{props:{small:!0,dark:Object(c["l"])(this.color.rgba,h)>2&&this.color.alpha>.5,light:Object(c["l"])(this.color.rgba,f)>2&&this.color.alpha>.5}},"$success")]);return this.$createElement("div",{staticClass:"v-color-picker__color",on:{click:()=>this.disabled||this.$emit("update:color",Object(o["d"])("transparent"===t?"#00000000":t))}},[e])},genSwatches(){return this.swatches.map(t=>{const e=t.map(this.genColor);return this.$createElement("div",{staticClass:"v-color-picker__swatch"},e)})}},render(t){return t("div",{staticClass:"v-color-picker__swatches",style:{maxWidth:Object(a["i"])(this.maxWidth),maxHeight:Object(a["i"])(this.maxHeight)}},[this.$createElement("div",this.genSwatches())])}})},ff0e:function(t,e,r){const{Multiaddr:n}=r("2054"),i=(t,e)=>e,o=(t,e,r,n)=>{if(n&&!1===n.assumeHttp)return`tcp://${t}:${e}`;let i="tcp",o=":"+e;const a=r[r.length-1];return"tcp"===a.protocol&&(i="443"===e?"https":"http",o="443"===e||"80"===e?"":o),`${i}://${t}${o}`},a={ip4:i,ip6:(t,e,r,n)=>1===n.length&&"ip6"===n[0].protocol?e:`[${e}]`,tcp:(t,e,r,n,i)=>n.some(t=>["http","https","ws","wss"].includes(t.protocol))?`${t}:${e}`:o(t,e,n,i),udp:(t,e)=>`udp://${t}:${e}`,dnsaddr:i,dns4:i,dns6:i,ipfs:(t,e)=>`${t}/ipfs/${e}`,p2p:(t,e)=>`${t}/p2p/${e}`,http:t=>"http://"+t,https:t=>"https://"+t,ws:t=>"ws://"+t,wss:t=>"wss://"+t,"p2p-websocket-star":t=>t+"/p2p-websocket-star","p2p-webrtc-star":t=>t+"/p2p-webrtc-star","p2p-webrtc-direct":t=>t+"/p2p-webrtc-direct"};t.exports=(t,e)=>{const r=new n(t),i=t.toString().split("/").slice(1);return r.tuples().map(t=>({protocol:i.shift(),content:t[1]?i.shift():null})).reduce((t,r,n,i)=>{const o=a[r.protocol];if(!o)throw new Error("Unsupported protocol "+r.protocol);return o(t,r.content,n,i,e)},"")}},ff40:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("c81a"),i=r("fb86");function o(t){if(t&&t.__esModule)return t;var e=Object.create(null);return t&&Object.keys(t).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,n.get?n:{enumerable:!0,get:function(){return t[r]}})}})),e["default"]=t,Object.freeze(e)}var a=o(n);const s=42;function u(t){if(t.asCID!==t)return null;const e=i.CID.asCID(t);if(!e)return null;const r=new Uint8Array(e.bytes.byteLength+1);return r.set(e.bytes,1),[new a.Token(a.Type.tag,s),new a.Token(a.Type.bytes,r)]}function c(){throw new Error("`undefined` is not supported by the IPLD Data Model and cannot be encoded")}function l(t){if(Number.isNaN(t))throw new Error("`NaN` is not supported by the IPLD Data Model and cannot be encoded");if(t===1/0||t===-1/0)throw new Error("`Infinity` and `-Infinity` is not supported by the IPLD Data Model and cannot be encoded");return null}const h={float64:!0,typeEncoders:{Object:u,undefined:c,number:l}};function f(t){if(0!==t[0])throw new Error("Invalid CID for CBOR tag 42; expected leading 0x00");return i.CID.decode(t.subarray(1))}const d={allowIndefinite:!1,allowUndefined:!1,allowNaN:!1,allowInfinity:!1,allowBigInt:!0,strict:!0,useMaps:!1,tags:[]};d.tags[s]=f;const p="dag-cbor",m=113,g=t=>a.encode(t,h),y=t=>a.decode(t,d);e.code=m,e.decode=y,e.encode=g,e.name=p},ff44:function(t,e,r){},ff9c:function(t,e,r){"use strict";var n={de:"Suche",it:"Ricerca",en:"Search",nl:"Zoeken",fr:"Chercher",ca:"Cerca",he:"לחפש",ja:"サーチ",lv:"Meklēt",pt:"Procurar",sr:"Претрага",zh:"搜索",cs:"Vyhledávání",hu:"Keresés",ka:"ძიება",nb:"Søke",sk:"Vyhľadávanie",th:"ค้นหา",fi:"Hae",is:"Leita",ko:"수색",pl:"Szukaj",sl:"Iskanje",fa:"جستجو",ru:"Поиск"};t.exports={placeholder:n}},ffa5:function(t,e,r){(function(e,n){t.exports=n(r("2b0e"),r("bb716"))})(0,(function(t,e){"use strict";t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t["default"]:t,e=e&&Object.prototype.hasOwnProperty.call(e,"default")?e["default"]:e;var r={props:{x:{type:String,default:"right"},y:{type:String,default:"bottom"},centered:{type:Boolean,default:!1},color:{type:String,default:"info"},icon:{type:String,default:""},iconColor:{type:String,default:""},classes:{type:[String,Object,Array],default:""},message:{type:String,default:""},timeout:{type:Number,default:3e3},dismissable:{type:Boolean,default:!0},multiLine:{type:Boolean,default:!1},vertical:{type:Boolean,default:!1},showClose:{type:Boolean,default:!1},closeText:{type:String,default:""},closeIcon:{type:String,default:"close"},closeColor:{type:String,default:""}},data:function(){return{active:!1}},mounted:function(){var t=this;this.$nextTick((function(){return t.show()}))},watch:{active:function(t,e){this.$emit("statusChange",t,e)}},methods:{show:function(){this.active=!0},close:function(){this.active=!1},dismiss:function(){this.dismissable&&this.close()}}};function n(t,e){void 0===e&&(e={});var r=e.insertAt;if(t&&"undefined"!==typeof document){var n=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===r&&n.firstChild?n.insertBefore(i,n.firstChild):n.appendChild(i),i.styleSheet?i.styleSheet.cssText=t:i.appendChild(document.createTextNode(t))}}var i=".vts{max-width:none!important;width:auto!important}.vts .v-snack__content{justify-content:flex-start}.vts__icon{margin-right:12px}.vts__message{margin-right:auto}.vts__close{margin:0 -8px 0 24px!important;justify-self:flex-end}.vts.v-snack--vertical .vts__icon{margin:0 0 12px!important}.vts.v-snack--vertical .v-snack__content{padding-bottom:16px!important}.vts.v-snack--vertical .vts__message--padded{padding:12px 0 0}.vts.v-snack--vertical .vts__icon+.vts__message{padding-top:0}.vts.v-snack--vertical .vts__close{margin:12px 0 -8px!important}.vts.v-snack--vertical .vts__close--icon{margin:0!important;position:absolute;right:4px;top:4px;transform:scale(.75);padding:4px!important}";function o(t,e,r,n,i,o,a,s,u,c){"boolean"!==typeof a&&(u=s,s=a,a=!1);var l,h="function"===typeof r?r.options:r;if(t&&t.render&&(h.render=t.render,h.staticRenderFns=t.staticRenderFns,h._compiled=!0,i&&(h.functional=!0)),n&&(h._scopeId=n),o?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,u(t)),t&&t._registeredComponents&&t._registeredComponents.add(o)},h._ssrRegister=l):e&&(l=a?function(){e.call(this,c(this.$root.$options.shadowRoot))}:function(t){e.call(this,s(t))}),l)if(h.functional){var f=h.render;h.render=function(t,e){return l.call(e),f(t,e)}}else{var d=h.beforeCreate;h.beforeCreate=d?[].concat(d,l):[l]}return r}n(i);var a=o,s=r,u=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("v-snackbar",{staticClass:"v-application vts",class:t.classes,attrs:{timeout:t.timeout,color:t.color,bottom:"bottom"===t.y,top:"top"===t.y,left:"left"===t.x,right:"right"===t.x,centered:t.centered,"multi-line":t.multiLine,vertical:t.vertical,role:"alert"},on:{click:t.dismiss},scopedSlots:t._u([{key:"action",fn:function(e){var n=e.attrs;return[t.showClose?r("v-btn",t._b({class:{"vts__close--icon":!t.closeText},attrs:{icon:!t.closeText,text:!!t.closeText,color:t.closeColor},on:{click:t.close}},"v-btn",n,!1),[t.closeText?t._e():r("v-icon",[t._v(t._s(t.closeIcon))]),t._v(" "),t.closeText?r("span",[t._v(t._s(t.closeText))]):t._e()],1):t._e()]}}]),model:{value:t.active,callback:function(e){t.active=e},expression:"active"}},[r("div",{staticClass:"vts__message",class:{"vts__message--padded":t.showClose&&!t.closeText}},[t.icon?r("v-icon",{staticClass:"vts__icon",attrs:{dark:"",left:"",color:t.iconColor}},[t._v("\n      "+t._s(t.icon)+"\n    ")]):t._e(),t._v(" "),r("span",{domProps:{innerHTML:t._s(t.message)}}),t._v(" "),t._t("default")],2)])},c=[],l=void 0,h=void 0,f=void 0,d=!1,p=a({render:u,staticRenderFns:c},l,s,h,d,f,void 0,void 0),m=t.extend(p);function g(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,i=[],o=r.property||"$toast";function a(r){var n=new m,i=new e;n.$vuetify=i.framework;var a=Object.assign({},t.prototype[o].globalOptions,r);return a.slot&&(n.$slots["default"]=a.slot,delete a.slot),Object.assign(n,a),document.body.appendChild(n.$mount().$el),n}function s(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(n){var o=void 0!==e.queueable?e.queueable:r.queueable;o?i.push({message:t,options:e}):(n.close(),i.unshift({message:t,options:e}))}else e.message=t,n=a(e),n.$on("statusChange",(function(t,e){e&&!t&&n.$nextTick((function(){if(n.$destroy(),n.$el.parentNode.removeChild(n.$el),n=null,i.length){var t=i.shift();s(t.message,t.options)}}))}))}function u(t){var e=["success","info","error","warning"],r={};if(e.forEach((function(t){r[t]=function(e,r){return s(e,Object.assign({color:t},r))}})),t.shorts){var n=function(e){var n=t.shorts[e];r[e]=function(t,e){return s(t,Object.assign({},n,e))}};for(var i in t.shorts)n(i)}return r}function c(){return n}function l(){return i.splice(0,i.length)}t.prototype[o]=Object.assign(s,Object.assign({globalOptions:r,getCmp:c,clearQueue:l},u(r)))}function y(){}return y.install=g,"undefined"!==typeof window&&window.Vue&&window.Vue.use(y),y}))},fff9:function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));class n{constructor(){this.framework={}}init(t,e){}}},ffff:function(t,e,r){(function(t,e){e(r("c1df"))})(0,(function(t){"use strict";
//! moment.js locale configuration
var e=t.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".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žes",past:"maŋit %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ánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return e}))}}]);
//# sourceMappingURL=chunk-vendors.72572e97.js.map